/* ============================================================
   1. LOCAL LAYOUT TOKENS  (no colors, no fonts)
   ============================================================ */

body{
  font-family: "Philosopher", sans-serif;
} 
.home {
  --shell: 1380px;
  --gutter: clamp(16px, 4vw, 32px);

  --gap-xs: 6px;
  --gap-sm: 12px;
  --gap-md: 20px;
  --gap-lg: 32px;

  --section-pad: clamp(56px, 8vw, 104px);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

.home *,
.home *::before,
.home *::after { box-sizing: border-box; }

.home { background: var(--bg); color: var(--text); }

.home-shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.home a { text-decoration: none; color: inherit; }

.home :focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .home *,
  .home *::before,
  .home *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   2. SECTION RHYTHM + SHARED HEADER
   ============================================================ */
.section { padding-block: var(--section-pad); }
.section + .section { padding-top: 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--gap-md);
  margin-bottom: clamp(24px, 4vw, 40px);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}

.section-head p {
  margin: 8px 0 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 52ch;
}

.section-head-actions {
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
  flex-shrink: 0;
}

.link-quiet {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
  transition: color 0.2s ease;
}
.link-quiet:hover { color: var(--gold-hover); }

/* ============================================================
   3. BUTTONS
   ============================================================ */
.btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  border-radius: var(--r-pill);
  background: var(--gold);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--gold);
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.btn-solid:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  color: #fff;
  transform: translateY(-1px);
}

.icon-btn {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--text);
  cursor: pointer;
  padding: 0;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.icon-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.icon-btn:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.icon-btn:active { transform: scale(0.94); }
.icon-btn[disabled] { opacity: 0.35; pointer-events: none; }

/* ============================================================
   4. HERO CAROUSEL (collections)
   ============================================================ */
.hero {
  position: relative;
  width: 90%;
  height: clamp(420px, 72vh, 380px);
  overflow: hidden;
  margin:auto;
  margin-top: 40px;
    border-radius: var(--r-md);

}

.hero .carousel,
.hero .carousel-inner,
.hero .carousel-item { height: 100%; }

.hero-media { position: absolute; inset: 0; z-index: 1; }

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Legibility scrim — without this the caption sits on raw photo */
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(0, 0, 0, 0.22) 45%,
    rgba(0, 0, 0, 0) 75%);
}

.hero-caption {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 0 0 clamp(28px, 6vh, 64px);
  text-align: left;
}

.hero-caption-inner {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--gap-lg);
}

.hero-title {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(2.2rem, 5.2vw, 4.4rem);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: #fff;
}

.hero-controls {
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
  flex-shrink: 0;
}

/* Glass control buttons sit on imagery, so they need their own treatment */
.glass-btn {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.glass-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.glass-btn:hover { background: rgba(255, 255, 255, 0.26); border-color: #fff; }
.glass-btn:active { transform: scale(0.93); }

.glass-btn--cta { width: 56px; height: 56px; }
.glass-btn--cta:hover { transform: scale(1.06); }

.hero-dots {
  position: absolute;
  z-index: 3;
  left: 0; right: 0; bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 7px;
  margin: 0;
}
.hero-dots [data-bs-target] {
  width: 7px; height: 7px;
  border: 0; padding: 0;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.45);
  transition: width 0.3s var(--ease), background-color 0.3s ease;
  text-indent: -9999px;
  opacity: 1;
}
.hero-dots .active { width: 26px; background: #fff; }

/* ============================================================
   MOBILE REFINEMENT
   Keeps desktop sizing intact while making small screens
   more compact and balanced.
   ============================================================ */

@media (max-width: 576px) {
  /* ---------- General spacing ---------- */

  .home {
    --gutter: 14px;
    --gap-xs: 5px;
    --gap-sm: 9px;
    --gap-md: 14px;
    --gap-lg: 20px;
    --section-pad: 42px;
  }

  

  /* ---------- Section headings ---------- */

  .section-head {
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 10px;
  }

  .section-head h2 {
    font-size: 1.35rem;
    line-height: 1.15;
    letter-spacing: -0.015em;
  }

  .section-head p {
    margin-top: 5px;
    font-size: 0.82rem;
    line-height: 1.4;
  }

  .link-quiet {
    font-size: 0.78rem;
  }

  /* ---------- Small icon buttons ---------- */

  .icon-btn {
    width: 34px;
    height: 34px;
  }

  .icon-btn svg {
    width: 14px;
    height: 14px;
    stroke-width: 1.8;
  }

  .section-head-actions {
    gap: 7px;
  }

  /* ---------- Hero ---------- */

  .hero {
    width: calc(100% - 20px);
    height: 190px;
    margin-top: 20px;
    border-radius: 12px;
  }

  .hero-caption {
    padding-bottom: 26px;
  }

  .hero-caption-inner {
    padding-inline: 14px;
    gap: 12px;
  }

  .hero-title {
    font-size: 1.8rem;
    line-height: 1.05;
    max-width: 13ch;
  }

  .hero-controls {
    gap: 7px;
  }

  .glass-btn {
    width: 36px;
    height: 36px;
  }

  .glass-btn svg {
    width: 15px;
    height: 15px;
  }

  .glass-btn--cta {
    width: 42px;
    height: 42px;
  }

  .glass-btn--cta svg {
    width: 16px;
    height: 16px;
  }

  .hero-dots {
    bottom: 9px;
    gap: 5px;
  }

  .hero-dots [data-bs-target] {
    width: 5px;
    height: 5px;
  }

  .hero-dots .active {
    width: 18px;
  }

  /* ---------- Category cards ---------- */

  .catcard-foot {
    padding: 13px;
  }

  .catcard-go {
    width: 30px;
    height: 30px;
  }

  .catcard-go svg {
    width: 13px;
    height: 13px;
  }

  .catcard {

  }

  /* ---------- Product cards ---------- */

  .pgrid {
    gap: 12px;
  }

  .pcard-body {
    padding-top: 9px;
    gap: 4px;
  }

  .pcard-name {
    font-size: 0.8rem;
    line-height: 1.3;
  }

  .pcard-price {
    font-size: 0.82rem;
    gap: 5px;
  }

  .pcard-price del {
    font-size: 0.7rem;
  }

  .pcard-badge {
    top: 7px;
    left: 7px;
    padding: 4px 7px;
    font-size: 0.6rem;
  }

  /* ---------- Product rails ---------- */

  .rail {
    gap: 10px;
  }

  .rail--products > * {
    flex: 0 0 calc((100% - 10px) / 2);
  }

  /* ---------- New-season banner ---------- */

  .banner {
    gap: 22px;
    padding: 22px 18px;
    border-radius: 16px;
  }

  .banner-title {
    margin-bottom: 10px;
    font-size: 1.55rem;
    line-height: 1.12;
  }

  .banner-text {
    margin-bottom: 18px;
    font-size: 0.84rem;
    line-height: 1.5;
  }

  .btn-solid {
    padding: 10px 19px;
    font-size: 0.78rem;
  }

  .banner-figure {
    max-width: 260px;
  }

  /* ---------- Category count ---------- */

  .count-chip {
    margin-left: 6px;
    padding: 2px 6px;
    font-size: 0.62rem;
  }

  /* ---------- Empty state ---------- */

  .empty {
    padding: 36px 18px;
    font-size: 0.82rem;
  }
}


/* Extra-small phones */
@media (max-width: 380px) {

  .home {
    --gutter: 12px;
    --section-pad: 36px;
  }

  .section-head h2 {
    font-size: 1.22rem;
  }

  .section-head p {
    font-size: 0.78rem;
  }

  .hero {
    width: calc(100% - 16px);
    height: 210px;
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .hero-caption-inner {
    padding-inline: 12px;
  }

  .icon-btn {
    width: 32px;
    height: 32px;
  }

  .icon-btn svg {
    width: 13px;
    height: 13px;
  }


  .catcard-go {
    width: 28px;
    height: 28px;
  }

  .pcard-name {
    font-size: 0.76rem;
  }

  .pcard-price {
    font-size: 0.78rem;
  }

  .banner-title {
    font-size: 1.4rem;
  }

  .banner-text {
    font-size: 0.8rem;
  }
}
/* ============================================================
   5. PRODUCT CARD — one component, used by every product section
   ============================================================ */
.pcard { display: block; height: 100%; }

.pcard-media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.pcard-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.pcard:hover .pcard-media {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card);
}
.pcard:hover .pcard-media img { transform: scale(1.05); }

.pcard-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  background: var(--gold);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.pcard-body {
  padding: 12px 2px 0;
  display: flex;
  flex-direction: column;
  gap: var(--gap-xs);
}

.pcard-name {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pcard-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
}

.pcard-price del {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
}

@media (max-width: 480px) {
  .pcard-name { font-size: 0.85rem; }
  .pcard-price { font-size: 0.88rem; }
}

/* ============================================================
   6. PRODUCT GRID (new arrivals, featured)
   ============================================================ */
.pgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
}

@media (min-width: 768px)  { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .pgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ============================================================
   7. HORIZONTAL RAIL (categories + per-category product sliders)
   ============================================================ */
.rail {
  display: flex;
  gap: clamp(14px, 2vw, 24px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  max-width: 95%;
  margin:auto
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }

/* Product rails: 2 / 3 / 4 visible */
.rail--products > * { flex: 0 0 calc((100% - 14px) / 2); }
@media (min-width: 768px)  { .rail--products > * { flex: 0 0 calc((100% - 48px) / 3); } }
@media (min-width: 1100px) { .rail--products > * { flex: 0 0 calc((100% - 72px) / 4); } }

/* Category rail: wider, editorial cards */
.rail--categories { padding-inline: var(--gutter); }
.rail--categories > * { flex: 0 0 58%; }
@media (min-width: 640px)  { .rail--categories > * { flex: 0 0 36%; } }
@media (min-width: 1100px) { .rail--categories > * { flex: 0 0 20%; } }
@media (min-width: 1400px) { .rail--categories > * { flex: 0 0 23%; } }

/* ============================================================
   8. CATEGORY CARD
   ============================================================ */
.catcard {
  position: relative;
  display: block;
  aspect-ratio: 4/4;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.4s var(--ease);
}

.catcard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.catcard::after {
  content: "";
  position: absolute;
  inset: 0;
  /* background: linear-gradient(to top,
    var(--overlay-start) 0%,
    var(--overlay-mid) 48%,
    var(--overlay-end) 100%); */
  /* opacity: 0.88; */
  transition: opacity 0.3s ease;
}

.catcard-foot {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: clamp(16px, 2.5vw, 24px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--gap-sm);
}

.catcard-name {
  margin: 0;
  font-size: 60px;
  opacity: .7;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  margin: auto;
  font-weight:900;
  text-transform: uppercase;
   font-family: "Shojumaru", system-ui !important;
}

.catcard-go {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease);
}
.catcard-go svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.8; }

/* .catcard:hover {border-color: var(--border-hover); box-shadow: var(--shadow-card); } */
/* .catcard:hover img { transform: scale(1.07); } */
/* .catcard:hover::after { opacity: 0.95; } */
/* .catcard:hover .catcard-go { background: var(--gold); border-color: var(--gold); } */

/* ============================================================
   NEW SEASON EDITORIAL BANNER
   ============================================================ */

.new-season-section {
  padding-top: clamp(40px, 7vw, 80px);
}

.season-banner {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  min-height: 520px;
  overflow: hidden;

  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}

.season-banner-content {
  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: clamp(40px, 6vw, 80px);
  max-width: 650px;
}

.season-eyebrow {
  display: inline-block;
  margin-bottom: 22px;

  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;

  color: var(--gold);
}

.season-title {
  margin: 0;

  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.045em;

  color: var(--text);
}

.season-description {
  max-width: 420px;
  margin: 28px 0 34px;

  font-size: 0.95rem;
  line-height: 1.7;

  color: var(--text-muted);
}

.season-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  width: fit-content;

  padding-bottom: 7px;

  border-bottom: 1px solid var(--text);

  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;

  color: var(--text);

  transition:
    gap 0.3s var(--ease),
    color 0.2s ease,
    border-color 0.2s ease;
}

.season-link svg {
  width: 15px;
  height: 15px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.season-link:hover {
  gap: 17px;
  color: var(--gold);
  border-color: var(--gold);
}


/* ---------- Image ---------- */

.season-image {
  position: relative;

  min-height: 520px;
  overflow: hidden;

  background: var(--bg-elevated);
}

.season-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  transition: transform 0.8s var(--ease);
}

.season-image:hover img {
  transform: scale(1.035);
}


/* ---------- Image label ---------- */

.season-image-label {
  position: absolute;
  left: 22px;
  bottom: 22px;

  padding: 7px 11px;

  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;

  color: #fff;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 879px) {



  .season-banner {
    grid-template-columns: 1fr 0.85fr;
    min-height: 440px;
  }



  .season-banner-content {
    padding: 38px;
  }

  .season-title {
    font-size: clamp(2.1rem, 5vw, 3.2rem);
  }

  .season-description {
    font-size: 0.88rem;
    margin: 22px 0 28px;
  }

  .season-image {
    min-height: 440px;
  }


  /* ====================== */
  /* category section */
  .catcard-name{
    font-size: 30px;
  }
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 576px) {
    .catcard-name{
    font-size: 23px;
  }

  .new-season-section {
    padding-top: 34px;
  }

  .season-banner {
    display: grid;
    grid-template-columns: 1fr;

    min-height: auto;

    border-radius: 14px;
  }

  .season-banner-content {
    padding: 30px 22px 26px;
  }

  .season-eyebrow {
    margin-bottom: 14px;
    font-size: 0.58rem;
    letter-spacing: 0.14em;
  }

  .season-title {
    font-size: 2rem;
    line-height: 1;
    letter-spacing: -0.035em;
  }

  .season-description {
    max-width: 100%;
    margin: 17px 0 22px;

    font-size: 0.8rem;
    line-height: 1.55;
  }

  .season-link {
    gap: 9px;
    font-size: 0.72rem;
    padding-bottom: 5px;
  }

  .season-link svg {
    width: 13px;
    height: 13px;
  }

  .season-image {
    min-height: 300px;
    height: 300px;
  }

  .season-image-label {
    left: 14px;
    bottom: 14px;

    padding: 6px 8px;
    font-size: 0.55rem;
  }
}


/* ============================================================
   EXTRA SMALL PHONES
   ============================================================ */

@media (max-width: 380px) {

  .season-banner-content {
    padding: 26px 18px 22px;
  }

  .season-title {
    font-size: 1.75rem;
  }

  .season-description {
    font-size: 0.76rem;
  }

  .season-image {
    height: 260px;
    min-height: 260px;
  }
}

/* ============================================================
   10. CATEGORY GROUPS
   ============================================================ */
.catgroup + .catgroup { margin-top: clamp(48px, 7vw, 80px); }

.count-chip {
  display: inline-block;
  margin-left: 10px;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  vertical-align: middle;
}

/* ============================================================
   11. EMPTY STATE
   ============================================================ */
.empty {
  padding: 48px 24px;
  text-align: center;
  border: 1px dashed var(--border);
  border-radius: var(--r-md);
  color: var(--text-muted);
  font-size: 0.95rem;
}
