:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f7f7f7;
  --line: #e6e6e6;
  --line-strong: #d8d8d8;
  --text: #111111;
  --muted: #666666;
  --muted-strong: #444444;
  --black: #000000;
  --white: #ffffff;
  --max: 1180px;
  --radius: 0px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.no-scroll {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

.section-tight {
  padding-top: 48px;
}

.section-border {
  border-top: 1px solid var(--line);
}

.notice {
  padding: 10px 16px;
  text-align: center;
  font-size: 13px;
  color: var(--muted-strong);
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(100% - 32px, var(--max));
  min-height: 66px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  font-size: 14px;
  color: var(--muted-strong);
}

.primary-nav > a,
.nav-dropdown-toggle {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--muted-strong);
  border: 0;
  background: transparent;
  padding: 0;
}

.primary-nav > a:hover,
.nav-dropdown-toggle:hover,
.primary-nav > a:focus-visible,
.nav-dropdown-toggle:focus-visible {
  color: var(--text);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  gap: 6px;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 260px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 8px;
  display: none;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  display: flex;
  gap: 16px;
  padding: 11px 12px;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid transparent;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  background: var(--surface-soft);
}

.nav-dropdown-menu span {
  color: var(--muted);
  font-size: 12px;
}

.mobile-menu-button {
  display: none;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text);
  min-height: 40px;
  padding: 0 14px;
}

.hero {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.hero-layout {
  min-height: 380px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 64px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.96;
  letter-spacing: -0.055em;
  font-weight: 700;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 700;
}

h3 {
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.018em;
}

.hero-text {
  max-width: 620px;
  color: var(--muted-strong);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border: 1px solid var(--black);
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button-dark {
  color: var(--white);
  background: var(--black);
}

.button-dark:hover,
.button-dark:focus-visible {
  background: #2a2a2a;
  border-color: #2a2a2a;
}

.button-light {
  color: var(--text);
  background: var(--white);
}

.button-light:hover,
.button-light:focus-visible {
  background: var(--surface-soft);
}

.button-full {
  width: 100%;
}

.button[disabled],
.button-disabled {
  border-color: var(--line-strong);
  background: #f2f2f2;
  color: #777777;
  cursor: not-allowed;
}

.hero-panel {
  border: 1px solid var(--line);
  background: var(--surface-soft);
  padding: 28px;
  display: grid;
  gap: 18px;
}

.hero-panel > div {
  display: grid;
  gap: 6px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-strong);
}

.hero-panel > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.panel-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.panel-label {
  color: var(--muted);
  font-size: 13px;
  text-align: left;
}

.section-heading,
.catalog-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.text-link {
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1px solid currentColor;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--muted);
}

.muted {
  margin: 8px 0 0;
  color: var(--muted);
}

.toolbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.select-label {
  color: var(--muted);
  font-size: 13px;
}

select {
  height: 42px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--text);
  padding: 0 36px 0 12px;
}

.active-filter {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  font-size: 14px;
}

.active-filter a {
  font-weight: 700;
  border-bottom: 1px solid currentColor;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.product-grid-featured {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.featured-carousel {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 14px;
  align-items: center;
}

.featured-viewport {
  overflow: hidden;
}

.featured-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.featured-track::-webkit-scrollbar {
  display: none;
}

.featured-track .product-card {
  flex: 0 0 calc((100% - 72px) / 4);
  scroll-snap-align: start;
}

.carousel-button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--text);
  font-size: 28px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.carousel-button:hover,
.carousel-button:focus-visible {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color 160ms ease, transform 160ms ease;
}

.product-card:hover {
  border-color: #c9c9c9;
  transform: translateY(-2px);
}

.product-media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  background: var(--surface-soft);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  max-width: calc(100% - 24px);
  padding: 6px 8px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card-selected {
  border-color: #111111;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.product-card-selected:hover {
  border-color: #111111;
}

.selected-promo {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}

.selected-best,
.selected-discount {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
}

.selected-best {
  background: var(--black);
  color: var(--white);
}

.selected-discount {
  background: #d71920;
  color: var(--white);
}

.category-highlight-section {
  padding-top: 56px;
  padding-bottom: 56px;
  background: #fafafa;
}

.category-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.category-tile {
  display: grid;
  gap: 8px;
  min-height: 118px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--white);
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.category-tile:hover,
.category-tile:focus-visible {
  border-color: var(--black);
  transform: translateY(-2px);
  background: #ffffff;
}

.category-tile span {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.category-tile small {
  color: var(--muted-strong);
  font-size: 14px;
  line-height: 1.35;
}

.product-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.product-meta {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-card h3 {
  margin-bottom: 8px;
  min-height: 46px;
}

.product-card h3 a:hover,
.product-card h3 a:focus-visible {
  text-decoration: underline;
}

.product-short {
  margin-bottom: 14px;
  color: var(--muted-strong);
  font-size: 14px;
}

.product-card-footer {
  margin-top: auto;
  display: grid;
  gap: 12px;
}

.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.price {
  font-size: 17px;
  font-weight: 700;
}

.compare-price {
  color: var(--muted);
  font-size: 13px;
  text-decoration: line-through;
}

.rating-line {
  min-height: 18px;
  color: var(--muted);
  font-size: 13px;
}

.stars {
  color: var(--text);
  letter-spacing: 0.08em;
  font-size: 12px;
}

.review-list {
  display: grid;
  gap: 14px;
}

.review-card {
  border: 1px solid var(--line);
  padding: 16px;
  background: var(--surface);
}

.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.review-name {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.review-text {
  margin: 0;
  color: var(--muted-strong);
  font-size: 14px;
}

.info-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
}

.info-grid p,
.info-list p {
  color: var(--muted-strong);
}

.info-list {
  display: grid;
  gap: 24px;
}

.info-list > div {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.info-list > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner p {
  margin: 0;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumbs a {
  color: var(--text);
  border-bottom: 1px solid transparent;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
  border-bottom-color: currentColor;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.78fr);
  gap: 64px;
  align-items: start;
}

.product-gallery {
  border: 1px solid var(--line);
  background: var(--surface-soft);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.product-gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}


.product-gallery-wrap {
  display: grid;
  gap: 12px;
}

.product-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.product-thumbnail {
  border: 1px solid var(--line);
  background: var(--surface);
  aspect-ratio: 1 / 1;
  padding: 8px;
  cursor: pointer;
}

.product-thumbnail.is-active,
.product-thumbnail:hover,
.product-thumbnail:focus-visible {
  border-color: var(--text);
}

.product-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.product-summary {
  position: sticky;
  top: 110px;
}

.product-summary .product-meta {
  margin-bottom: 14px;
}

.product-title {
  margin-bottom: 16px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.product-lead {
  color: var(--muted-strong);
  font-size: 17px;
}

.product-price-large {
  margin: 22px 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.product-price-large .price {
  font-size: 24px;
}

.checkout-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.product-blocks {
  margin-top: 32px;
  border-top: 1px solid var(--line);
}

.product-block {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.product-block h2 {
  margin-bottom: 12px;
  font-size: 22px;
  letter-spacing: -0.025em;
}

.product-block p {
  color: var(--muted-strong);
}

.clean-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.clean-list li {
  padding-left: 18px;
  position: relative;
  color: var(--muted-strong);
}

.clean-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  background: var(--text);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag {
  border: 1px solid var(--line-strong);
  padding: 6px 9px;
  font-size: 12px;
  color: var(--muted-strong);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 80;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  pointer-events: none;
  background: var(--black);
  color: var(--white);
  padding: 12px 16px;
  font-size: 14px;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.empty-state {
  border: 1px solid var(--line);
  padding: 32px;
  background: var(--surface-soft);
}

.empty-state p {
  color: var(--muted-strong);
}



/* Homepage promotional banner carousel */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-banner-section {
  padding: 22px 0 34px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.hero-banner-section .container {
  width: 100%;
  max-width: none;
  margin: 0;
}

.hero-carousel {
  width: 100%;
  overflow: hidden;
}

.hero-banner-viewport {
  width: 100%;
  overflow: hidden;
}

.hero-banner-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0 22px;
  -webkit-overflow-scrolling: touch;
}

.hero-banner-track::-webkit-scrollbar {
  display: none;
}

.hero-banner-slide {
  flex: 0 0 clamp(260px, 28vw, 410px);
  aspect-ratio: 4 / 5;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  scroll-snap-align: start;
  background: var(--surface-soft);
  border: 0;
  transform: translateZ(0);
}

.hero-banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.hero-banner-slide:hover img,
.hero-banner-slide:focus-visible img {
  transform: scale(1.012);
}

.hero-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.hero-carousel-button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-carousel-button:hover,
.hero-carousel-button:focus-visible {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.hero-carousel-dots {
  min-width: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.hero-carousel-dot {
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 999px;
  background: #c9c9c9;
  padding: 0;
}

.hero-carousel-dot.is-active {
  background: var(--black);
}

@media (min-width: 1440px) {
  .hero-banner-track {
    padding-left: 54px;
    padding-right: 54px;
  }
}

@media (max-width: 1024px) {
  .hero-banner-slide {
    flex-basis: clamp(250px, 36vw, 350px);
  }
}

@media (max-width: 760px) {
  .hero-banner-section {
    padding: 18px 0 34px;
  }

  .hero-banner-track {
    gap: 14px;
    padding: 0 16px;
  }

  .hero-banner-slide {
    flex-basis: 76vw;
    border-radius: 14px;
  }
}

@media (max-width: 440px) {
  .hero-banner-slide {
    flex-basis: 84vw;
  }
}

@media (max-width: 1024px) {
  .product-grid,
  .product-grid-featured {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .featured-track .product-card {
    flex-basis: calc((100% - 48px) / 3);
  }

  .hero-layout,
  .product-detail,
  .info-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-layout {
    min-height: auto;
  }

  .product-summary {
    position: static;
  }
}

@media (max-width: 760px) {
  .category-highlight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-tile {
    min-height: 104px;
    padding: 18px;
  }
}

@media (max-width: 760px) {
  .notice {
    font-size: 12px;
  }

  .header-inner {
    min-height: 58px;
  }

  .mobile-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .primary-nav {
    position: fixed;
    inset: 104px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - 104px);
    overflow: auto;
    padding: 8px 16px 24px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav > a,
  .nav-dropdown-toggle {
    width: 100%;
    min-height: 50px;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
  }

  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    width: 100%;
    border: 0;
    box-shadow: none;
    padding: 4px 0 8px;
    background: var(--white);
  }

  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    display: none;
  }

  .nav-dropdown.is-open .nav-dropdown-menu {
    display: block;
  }

  .nav-dropdown-menu a {
    padding: 12px 10px;
  }

  .section {
    padding: 48px 0;
  }

  h1 {
    font-size: clamp(38px, 13vw, 56px);
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-panel {
    padding: 20px;
  }

  .section-heading,
  .catalog-toolbar {
    display: grid;
    align-items: start;
    gap: 18px;
  }

  .toolbar-actions {
    justify-content: space-between;
  }

  select {
    width: 100%;
  }

  .product-grid,
  .product-grid-featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .featured-carousel {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 8px;
  }

  .carousel-button {
    width: 38px;
    height: 38px;
    font-size: 24px;
  }

  .featured-track {
    gap: 14px;
  }

  .featured-track .product-card {
    flex-basis: calc((100% - 14px) / 2);
  }

  .product-card-body {
    padding: 14px;
  }

  .product-card h3 {
    min-height: 0;
    font-size: 16px;
  }

  .product-short {
    display: none;
  }

  .button {
    min-height: 44px;
    padding: 0 14px;
  }

  .product-gallery {
    padding: 20px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 440px) {
  .category-highlight-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 440px) {
  .container,
  .header-inner {
    width: min(100% - 24px, var(--max));
  }

  .product-grid,
  .product-grid-featured {
    grid-template-columns: 1fr;
  }

  .featured-track .product-card {
    flex-basis: 100%;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }
}
