@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700;800&display=swap');

:root {
  --cs-charcoal: #0a0a0b;
  --cs-charcoal-soft: #1a1a1c;
  --cs-navbar: #000000;
  --cs-white: #ffffff;
  --cs-off-white: #f7f6f4;
  --cs-text-muted: #8a8a92;
  --deck-cream: #fbf8ee;

  /* Brand accents */
  --brand-comfortstar: #d31e2b;
  --brand-comfortstar-yellow: #ffc72c;
  --brand-comfortstar-gold: #ffc72c;
  --brand-bodycushion: #a68a6e;
  --brand-elastofoam: #3b6e91;

  /* Default accent (Shop All / neutral) */
  --brand-accent: var(--brand-comfortstar);

  --font-body: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-headline: var(--font-body);
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--cs-charcoal);
  background-color: var(--cs-white);
}

h1, h2, h3, h4, h5, h6,
.headline {
  font-family: var(--font-headline);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

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

/* ===== Site Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cs-navbar);
  color: var(--cs-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.2s ease, padding 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}

.site-header.is-scrolled .header-inner {
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.site-header--transparent {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 100%);
  border-bottom: none;
  box-shadow: none;
  transition: top 0.35s ease, width 0.35s ease, max-width 0.35s ease,
    background 0.35s ease, border-radius 0.35s ease, box-shadow 0.35s ease;
}

.site-header--transparent.is-scrolled {
  box-shadow: none;
}

.site-header--transparent.is-pill {
  top: 1rem;
  width: calc(100% - 3rem);
  max-width: 960px;
  background: rgba(10, 10, 11, 0.92);
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.site-header--transparent.is-pill .header-inner {
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}

/* Header over a light hero slide (Home carousel, Elastofoam slide) */
.site-header--transparent.on-light:not(.is-pill) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 100%);
}

.site-header--transparent.on-light:not(.is-pill) .brand-switcher a,
.site-header--transparent.on-light:not(.is-pill) .header-actions a {
  color: var(--cs-charcoal);
}

.site-header--transparent.on-light:not(.is-pill) .brand-switcher a:hover {
  border-bottom-color: rgba(10, 10, 11, 0.5);
}

.site-header--transparent.on-light:not(.is-pill) .brand-switcher a.active {
  border-bottom-color: var(--cs-charcoal);
}

.site-header--transparent.on-light:not(.is-pill) .site-logo img {
  filter: brightness(0);
}


.site-header .header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.site-logo img {
  height: 32px;
  width: auto;
  display: block;
}

.brand-switcher {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.brand-switcher a {
  display: inline-block;
  padding: 0.4rem 0.2rem;
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--cs-white);
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.35s ease;
}

.brand-switcher a:hover {
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

.brand-switcher a.active {
  color: var(--cs-white);
  border-bottom-color: var(--cs-white);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.85rem;
}

.header-actions a {
  color: var(--cs-white);
  display: inline-flex;
  align-items: center;
}

.header-actions a:hover {
  opacity: 0.75;
}

.cart-icon {
  width: 20px;
  height: 20px;
}

/* ===== Brand Sub-nav ===== */
.brand-subnav {
  background: var(--cs-off-white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.brand-subnav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand-subnav-name {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--brand-accent);
}

.brand-subnav-logo {
  height: 44px;
  width: auto;
  display: block;
}

.brand-subnav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.brand-subnav-links a {
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--cs-charcoal);
  padding-bottom: 0.15rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease;
}

.brand-subnav-links a:hover,
.brand-subnav-links a.active {
  border-color: var(--brand-accent);
}

/* ===== Category chips ===== */
.category-chips {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem 2rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.category-chip {
  display: inline-block;
  padding: 0.5rem 1.1rem;
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  color: var(--cs-charcoal);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.category-chip:hover {
  border-color: var(--brand-accent);
  color: var(--brand-accent);
}

/* ===== Hero ===== */
.hero {
  background: var(--cs-white);
  color: var(--cs-charcoal);
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* ===== Full-bleed photo hero (brand pages with a real hero image) ===== */
.hero-fullbleed {
  position: relative;
  min-height: 60vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  color: var(--cs-white);
  overflow: hidden;
}

.hero-fullbleed::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.15) 45%, rgba(0, 0, 0, 0.05) 100%);
}

.hero-fullbleed-content {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1.5rem 3.5rem;
  width: 100%;
}

.hero-fullbleed .hero-eyebrow {
  color: var(--brand-accent);
}

.hero-fullbleed .hero-headline {
  color: var(--cs-white);
  max-width: 32rem;
}

.hero-fullbleed .hero-subtext {
  color: rgba(255, 255, 255, 0.85);
}

.hero-fullbleed .btn-cs-outline {
  color: var(--cs-white);
  border-color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 900px) {
  .hero-fullbleed {
    min-height: 70vh;
  }
}

/* Light photo hero (Elastofoam): dark text, copy on the clear side of the photo */
.hero-fullbleed--light {
  background-position: 20% center;
  color: var(--cs-charcoal);
}

.hero-fullbleed--light::before {
  background: none;
}

.hero-fullbleed--light .hero-fullbleed-content {
  padding-left: 46%;
}

.hero-fullbleed--light .hero-headline {
  color: var(--cs-charcoal);
}

.hero-fullbleed--light .hero-subtext {
  color: rgba(10, 10, 11, 0.75);
}

.hero-fullbleed--light .btn-cs-outline {
  color: var(--cs-charcoal);
  border-color: rgba(10, 10, 11, 0.5);
}

@media (max-width: 900px) {
  .hero-fullbleed--light {
    min-height: 0;
    background-color: #eeeeec;
    background-repeat: no-repeat;
    background-size: auto 330px;
    background-position: 18% top;
  }

  .hero-fullbleed--light::before {
    background: linear-gradient(180deg, rgba(238, 238, 236, 0) 0, rgba(238, 238, 236, 0) 230px, #eeeeec 330px);
  }

  .hero-fullbleed--light .hero-fullbleed-content {
    padding: 330px 1.5rem 3rem;
  }
}

/* ===== Rotating hero carousel (homepage — cycles through the 3 brands) ===== */
.hero-carousel {
  position: relative;
  min-height: 88vh;
  color: var(--cs-white);
  overflow: hidden;
}

.hero-carousel-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-carousel-slide.is-active {
  opacity: 1;
}

.hero-carousel-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.22) 100%);
}

.hero-carousel-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  min-height: 88vh;
  padding: 7rem 1.5rem 4.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-carousel-content .hero-eyebrow {
  color: var(--cs-white);
  opacity: 0.85;
}

.hero-carousel-content .brands-banner-logos {
  justify-content: center;
  margin-top: 2rem;
}

.hero-carousel-content .hero-headline {
  color: var(--cs-white);
  max-width: 46rem;
  font-size: clamp(2.6rem, 6.2vw, 4.75rem);
  line-height: 1.02;
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.4);
}

.hero-carousel-content .hero-subtext {
  color: rgba(255, 255, 255, 0.85);
}

.hero-carousel-dots {
  position: absolute;
  z-index: 3;
  bottom: 1.75rem;
  right: 1.75rem;
  display: flex;
  gap: 0.5rem;
}

.hero-carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-carousel-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.hero-carousel-dot.is-active {
  background: var(--cs-white);
  transform: scale(1.15);
}

/* Light slide (Elastofoam): no dark overlay, dark copy and logos */
.hero-carousel-slide--light {
  background-position: 0% center;
}

@media (max-width: 700px) {
  .hero-carousel-slide--light {
    background-position: 24% center;
  }
}

.hero-carousel-slide--light::after {
  background: none;
}

.hero-carousel.is-light .hero-carousel-content .hero-eyebrow,
.hero-carousel.is-light .hero-carousel-content .hero-headline {
  color: var(--cs-charcoal);
  text-shadow: none;
}

.hero-carousel.is-light .brands-banner-parent-logo,
.hero-carousel.is-light .brands-banner-sub-logos img {
  filter: brightness(0);
}

.hero-carousel.is-light .brands-banner-divider {
  background: rgba(10, 10, 11, 0.45);
}

.hero-carousel.is-light .hero-carousel-dot {
  background: rgba(10, 10, 11, 0.3);
}

.hero-carousel.is-light .hero-carousel-dot.is-active {
  background: var(--cs-charcoal);
}


@media (max-width: 900px) {
  .hero-carousel,
  .hero-carousel-content {
    min-height: 88vh;
  }
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 3rem 1.25rem;
    text-align: center;
  }
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: 1rem;
}

.hero-headline {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  margin: 0 0 1.25rem;
}

.hero-subtext {
  font-family: var(--font-body);
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  font-size: 1.1rem;
  color: var(--cs-text-muted);
  max-width: 34rem;
  margin: 0 0 2rem;
}

@media (max-width: 900px) {
  .hero-subtext {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-cta {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .hero-cta {
    justify-content: center;
  }
}

.btn-cs {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 2px;
  transition: opacity 0.15s ease;
}

.btn-cs:hover {
  opacity: 0.85;
}

.btn-cs-primary {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: transparent;
  color: var(--brand-accent);
  border: 2px solid var(--brand-accent);
  transition: color 0.25s ease;
}

.btn-cs-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--brand-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.btn-cs-primary:hover {
  opacity: 1;
  color: var(--brand-accent-ink, var(--cs-white));
}

.btn-cs-primary:hover::before {
  transform: scaleX(1);
}

.btn-cs-outline {
  background: transparent;
  color: var(--cs-charcoal);
  border: 1px solid rgba(0, 0, 0, 0.25);
}

.hero-visual {
  aspect-ratio: 4 / 3;
  background: var(--cs-off-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--cs-text-muted);
  font-family: var(--font-headline);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 1rem;
}

.hero-visual-graphic {
  background: radial-gradient(circle at 30% 25%, var(--cs-off-white), #efece6 70%);
  border: none;
  padding: 0;
  position: relative;
}

.hero-visual-graphic::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 0, 0, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.5;
}

.hero-visual-graphic svg {
  width: 78%;
  height: 78%;
  position: relative;
}

.blob {
  filter: blur(1px);
}

.blob-1 { animation: float-a 9s ease-in-out infinite; transform-origin: center; }
.blob-2 { animation: float-b 11s ease-in-out infinite; transform-origin: center; }
.blob-3 { animation: float-c 10s ease-in-out infinite; transform-origin: center; }

@keyframes float-a {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-8px, 10px); }
}

@keyframes float-b {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(10px, -12px); }
}

@keyframes float-c {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-6px, -8px); }
}

@media (prefers-reduced-motion: reduce) {
  .blob-1, .blob-2, .blob-3 { animation: none; }
}


/* ===== Brand section wrapper (for decoration positioning) ===== */
.brand-section {
  position: relative;
  overflow: hidden;
}

/* ===== Brand logo row (reused for hero + elsewhere, Deckers "Our Brands" style) ===== */
.brands-banner-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.brands-banner-parent-logo {
  height: 32px;
  width: auto;
}

.brands-banner-divider {
  width: 2px;
  height: 44px;
  background: rgba(255, 255, 255, 0.55);
}

.brands-banner-sub-logos {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.brands-banner-sub-logos img {
  height: 24px;
  width: auto;
  filter: brightness(0) invert(1);
}

.brands-banner-sub-logos img[alt="Comfort Star"],
.brands-banner-sub-logos img[alt="Body Cushion"] {
  height: 50px;
}

.brands-banner-sub-logos img[alt="Elastofoam"] {
  height: 25px;
}

@media (max-width: 700px) {
  .brands-banner-logos {
    flex-direction: column;
    gap: 1.25rem;
  }
  .brands-banner-divider {
    width: 40px;
    height: 2px;
  }
  .brands-banner-sub-logos {
    gap: 1rem;
  }
  .brands-banner-sub-logos img[alt="Comfort Star"],
  .brands-banner-sub-logos img[alt="Body Cushion"] {
    height: 32px;
  }
  .brands-banner-sub-logos img[alt="Elastofoam"] {
    height: 16px;
  }
}

/* ===== Brand list (Deckers-style photo + paragraph rows) ===== */
.deck-cream {
  background: var(--deck-cream);
}

.brand-list {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5rem;
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
}

.brand-list-row {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 3rem;
  align-items: center;
}

.brand-list-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 26px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.brand-list-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.brand-list-logo {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.brand-list-logo img {
  max-width: 60%;
  max-height: 40%;
  width: auto;
  height: auto;
  filter: brightness(0) invert(1);
}

.brand-list-image--light {
  background-position: 26% center;
}

.brand-list-image--light::after {
  background: none;
}

.brand-list-image--light .brand-list-logo {
  align-items: flex-end;
  padding-bottom: 1.5rem;
}

.brand-list-image--light .brand-list-logo img {
  max-height: 22%;
  filter: brightness(0);
}


.brand-list-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.brand-list-eyebrow {
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.brand-list-row[data-brand="comfortstar"] .brand-list-eyebrow { color: var(--brand-comfortstar-gold); }
.brand-list-row[data-brand="bodycushion"] .brand-list-eyebrow { color: var(--brand-bodycushion); }
.brand-list-row[data-brand="elastofoam"] .brand-list-eyebrow { color: var(--brand-elastofoam); }

.brand-list-heading {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin: 0 0 1rem;
}

.brand-list-copy {
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--cs-charcoal);
  margin: 0 0 2rem;
  max-width: 520px;
}

.deck-btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.3rem;
  border-radius: 6px;
  background: var(--cs-charcoal-soft);
  color: var(--deck-cream);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}

.deck-btn:hover {
  background: var(--deck-hover, var(--cs-charcoal));
  color: var(--deck-hover-ink, var(--cs-white));
}

.deck-btn-arrow {
  width: 26px;
  height: 13px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.deck-btn:hover .deck-btn-arrow {
  transform: translateX(4px);
}

@media (max-width: 820px) {
  .brand-list-row {
    grid-template-columns: 1fr;
  }
  .brand-list-image {
    max-width: 340px;
    margin: 0 auto;
  }
  .brand-list-text {
    align-items: center;
    text-align: center;
  }
}

/* ===== Reusable line decoration ===== */
.line-decoration {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  color: rgba(0, 0, 0, 0.15);
}

.line-decoration svg {
  width: 100%;
  height: 100%;
  display: block;
}

.line-decoration--bottom-right {
  right: -2rem;
  bottom: -3rem;
  width: 340px;
  height: 460px;
}

.line-decoration--top-left {
  left: -2rem;
  top: -2rem;
  width: 340px;
  height: 460px;
  transform: rotate(180deg);
}

/* ===== Shop layout with filter sidebar ===== */
.shop-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .shop-layout {
    grid-template-columns: 1fr;
  }
}

.shop-filters {
  position: sticky;
  top: 90px;
}

.shop-filter-search {
  display: flex;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.shop-filter-search input {
  flex: 1;
  border: none;
  padding: 0.6rem 0.75rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
}

.shop-filter-search button {
  border: none;
  background: var(--cs-off-white);
  padding: 0 0.9rem;
  cursor: pointer;
  color: var(--cs-text-muted);
}

.shop-filter-group {
  margin-bottom: 2rem;
}

.shop-filter-title {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.9rem;
}

.size-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}

.size-box {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 0.4rem;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.size-box:hover {
  border-color: var(--brand-accent);
  color: var(--brand-accent);
}

.size-box.is-active {
  background: var(--brand-accent);
  border-color: var(--brand-accent);
  color: var(--cs-white);
}

.checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  cursor: pointer;
}

.checkbox-item input {
  width: 16px;
  height: 16px;
  accent-color: var(--brand-accent);
}

.filter-accordion {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.filter-accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.filter-accordion-icon {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--cs-text-muted);
}

.filter-accordion-body {
  margin-top: 0.9rem;
  font-size: 0.85rem;
  color: var(--cs-text-muted);
}

.filter-accordion:not(.is-open) .filter-accordion-body {
  display: none;
}

.shop-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.9rem;
  color: var(--cs-text-muted);
}

.shop-empty-state {
  font-family: var(--font-body);
  color: var(--cs-text-muted);
  padding: 2rem 0;
}

.shop-sort {
  font-family: var(--font-body);
  font-size: 0.85rem;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  padding: 0.45rem 0.75rem;
  background: var(--cs-white);
  color: var(--cs-charcoal);
}

.shop-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 700px) {
  .shop-photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.shop-photo-slot {
  aspect-ratio: 1 / 1;
  background: var(--cs-off-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cs-text-muted);
  font-family: var(--font-headline);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  padding: 1rem;
}

/* ===== Featured Products ===== */
.product-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.product-card {
  display: block;
}

.product-card[hidden] {
  display: none;
}

.product-card-image {
  aspect-ratio: 1 / 1;
  background: var(--cs-off-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cs-text-muted);
  font-size: 0.8rem;
  text-align: center;
  padding: 1rem;
  margin-bottom: 0.85rem;
  transition: transform 0.3s ease;
  overflow: hidden;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-card:hover .product-card-image {
  transform: scale(1.02);
}

.product-card-media {
  position: relative;
  width: 100%;
  height: 100%;
}

.product-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.product-card-media .product-card-img-hover {
  opacity: 0;
}

.product-card:hover .product-card-media .product-card-img-front {
  opacity: 0;
}

.product-card:hover .product-card-media .product-card-img-hover {
  opacity: 1;
}

.product-card-brand {
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-accent);
  margin-bottom: 0.25rem;
}

.product-card-name {
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: normal;
  font-weight: 600;
  font-size: 1rem;
  margin: 0 0 0.25rem;
}

.product-card-sizes {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--cs-text-muted);
  margin-bottom: 0.35rem;
}

.product-card-price {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--cs-text-muted);
}

/* ===== Promo Banner ===== */
.promo-banner {
  background: var(--cs-charcoal);
  color: var(--cs-white);
  text-align: center;
  padding: 3.5rem 1.5rem;
}

.promo-banner-text {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  margin: 0 0 1.5rem;
}

.promo-banner-text .accent {
  color: var(--brand-comfortstar);
}

/* ===== Deckers-style statement band (dark, textured, wavy edge) ===== */
.deck-intro {
  position: relative;
  color: var(--deck-cream);
  background-color: #17181b;
  background-image:
    radial-gradient(ellipse 380px 220px at 12% 18%, rgba(255, 255, 255, 0.05), transparent 70%),
    radial-gradient(ellipse 520px 260px at 70% 12%, rgba(255, 255, 255, 0.04), transparent 70%),
    radial-gradient(ellipse 300px 300px at 88% 62%, rgba(255, 255, 255, 0.05), transparent 70%),
    radial-gradient(ellipse 460px 240px at 30% 78%, rgba(255, 255, 255, 0.035), transparent 70%),
    radial-gradient(ellipse 240px 160px at 52% 48%, rgba(0, 0, 0, 0.35), transparent 70%),
    radial-gradient(ellipse 280px 180px at 6% 70%, rgba(0, 0, 0, 0.3), transparent 70%);
  padding: 5rem 1.5rem 9rem;
}

.deck-intro-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.deck-intro-statement {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.1vw, 2.6rem);
  line-height: 1.28;
  margin: 0;
  max-width: 980px;
}

.deck-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 4rem;
  margin-top: 3.5rem;
}

.deck-stat-number {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--brand-comfortstar);
  line-height: 1;
}

.deck-stat-label {
  font-size: 0.95rem;
  margin-top: 0.4rem;
  color: rgba(255, 251, 235, 0.8);
}

.deck-wave {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: clamp(50px, 7vw, 90px);
  color: var(--deck-cream);
  display: block;
}

/* ===== Section title ===== */
.section-title {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  font-size: 1.8rem;
}

/* ===== Marketplace section ===== */
.marketplace-section {
  background: var(--deck-cream);
  padding: 2rem 1.5rem 4.5rem;
  text-align: center;
}

.marketplace-marquee {
  width: 100%;
  max-width: 1280px;
  margin: 2rem auto 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.marketplace-track {
  display: flex;
  width: max-content;
  animation: marketplace-scroll 26s linear infinite;
}

.marketplace-marquee:hover .marketplace-track {
  animation-play-state: paused;
}

.marketplace-track-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 3.5rem;
  padding-right: 3.5rem;
}

.marketplace-logo {
  height: 44px;
  width: auto;
  display: block;
  opacity: 0.9;
}

@keyframes marketplace-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marketplace-track {
    animation: none;
  }
}

.marketplace-caption {
  display: block;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--cs-text-muted);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--cs-charcoal);
  color: rgba(255, 255, 255, 0.6);
  padding: 2.5rem 1.5rem 1.5rem;
}

.site-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

.site-footer a:hover {
  color: var(--cs-white);
}

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== Comfort Star — líneas (Snackish-inspired: flat color blocks, product-forward) ===== */
.cs-lines {
  padding: 4.5rem 0;
}

.cs-lines-header,
.cs-lines-footer {
  padding: 0 1.5rem;
}

.cs-lines-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.cs-lines-eyebrow {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-comfortstar-gold);
  display: block;
  margin-bottom: 0.5rem;
}

.cs-lines-heading {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin: 0;
}

.cs-lines-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.cs-line-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  text-decoration: none;
  color: var(--cs-white);
  background: var(--cs-charcoal);
}

.cs-line-card-photo {
  position: absolute;
  inset: 0;
}

.cs-line-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.cs-line-card:hover .cs-line-card-photo img {
  transform: scale(1.04);
}

.cs-line-card-scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

.cs-line-card-body {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
}

.cs-line-card-body h3 {
  font-family: var(--font-headline);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.05;
  margin: 0 0 1.1rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.cs-line-card-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  color: var(--cs-white);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 6px;
  padding: 0.6rem 1.3rem;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.cs-line-card:hover .cs-line-card-tag {
  background: var(--cs-white);
  border-color: var(--cs-white);
  color: var(--cs-charcoal);
}

.cs-lines-footer {
  text-align: center;
  margin-top: 2.5rem;
}

.cs-lines-cta {
  position: relative;
  z-index: 1;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--brand-comfortstar-yellow);
  background: transparent;
  border: 2px solid var(--brand-comfortstar-yellow);
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  transition: color 0.25s ease, transform 0.15s ease;
}

.cs-lines-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--brand-comfortstar-yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.cs-lines-cta:hover {
  color: var(--cs-charcoal);
  transform: translateY(-2px);
}

.cs-lines-cta:hover::before {
  transform: scaleX(1);
}

@media (max-width: 900px) {
  .cs-lines-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .cs-lines-grid {
    grid-template-columns: 1fr;
  }

  .cs-line-card {
    aspect-ratio: 4 / 3;
  }
}

/* ===== Comfort Star — featured products strip ===== */
.cs-featured {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 1rem;
}

/* ===== Comfort Star — flat-color hero product band ===== */
.cs-hero-band {
  background: var(--brand-comfortstar-yellow);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  min-height: 340px;
  padding: 3rem clamp(1.5rem, 6vw, 5rem) 0;
  overflow: hidden;
}

.cs-hero-band-text {
  padding-bottom: 3rem;
  max-width: 420px;
}

.cs-hero-band-text h2 {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  color: var(--cs-charcoal);
  margin: 0 0 1.5rem;
}

.cs-hero-band-cta {
  position: relative;
  z-index: 1;
  overflow: hidden;
  display: inline-block;
  background: transparent;
  color: var(--cs-charcoal);
  border: 2px solid var(--cs-charcoal);
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  font-family: var(--font-headline);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.25s ease;
}

.cs-hero-band-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--cs-charcoal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.cs-hero-band-cta:hover {
  color: var(--cs-white);
}

.cs-hero-band-cta:hover::before {
  transform: scaleX(1);
}

.cs-hero-band-image {
  flex: 0 0 auto;
  align-self: flex-end;
  max-width: 300px;
}

.cs-hero-band-image img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 700px) {
  .cs-hero-band {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 2.5rem;
  }

  .cs-hero-band-text {
    max-width: 100%;
    padding-bottom: 0;
  }

  .cs-hero-band-image {
    max-width: 220px;
  }
}

/* ===== Comfort Star — "find us in" logo band ===== */
.cs-brands {
  background: #f2f2f4;
  padding: 5.5rem 0 8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cs-brands .cs-showcase-rule {
  margin-bottom: 2.5rem;
}

.cs-brands .marketplace-marquee {
  max-width: none;
  margin: 0;
}

.cs-brands .marketplace-track {
  animation-duration: 70s;
}

.cs-brands .marketplace-logo {
  height: 68px;
}

/* ===== Comfort Star — lifestyle + product showcase ===== */
.cs-showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
  background: #f7f7f8;
}

.cs-showcase-row:nth-child(even) {
  background: #efeff2;
}

.cs-showcase-row:nth-child(even) .cs-showcase-info {
  order: 2;
}

.cs-showcase-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
}

.cs-showcase-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #222;
  margin: 0;
}

.cs-showcase-rule {
  display: block;
  width: 42px;
  height: 3px;
  background: #c9c9cd;
  margin: 0.9rem 0 2.25rem;
}

.cs-showcase-card {
  display: block;
  width: min(300px, 100%);
  background: var(--cs-white);
  padding: 1.5rem 1.5rem 1.4rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}

.cs-showcase-card:hover {
  transform: translateY(-4px);
}

.cs-showcase-card-image {
  aspect-ratio: 10 / 11;
  background: #f4f4f5;
  margin-bottom: 1.1rem;
}

.cs-showcase-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.cs-showcase-card-name {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.cs-showcase-card-price {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--cs-text-muted);
}

.cs-showcase-photo {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
}

.cs-showcase-photo img {
  max-height: 520px;
  height: auto;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: top center;
}

@media (max-width: 800px) {
  .cs-showcase-row {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .cs-showcase-row:nth-child(even) .cs-showcase-info {
    order: 0;
  }

  .cs-showcase-photo img {
    max-height: 380px;
  }
}

/* ===== Comfort Star — sole trail ===== */
.cs-sole-path {
  max-width: 1280px;
  margin: 0 auto 4.5rem;
  padding: 3.5rem 1.5rem 2rem;
}

.cs-sole-path-track {
  position: relative;
  height: 300px;
}

.cs-sole-path-item {
  position: absolute;
  width: 100px;
  height: auto;
  transform: translate(-50%, -50%) rotate(var(--r));
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.16));
  transition: transform 0.25s ease;
}

.cs-sole-path-item:hover {
  transform: translate(-50%, -50%) rotate(var(--r)) scale(1.1);
}

@media (max-width: 700px) {
  .cs-sole-path-track {
    height: 210px;
  }
  .cs-sole-path-item {
    width: 35px;
  }
}

.cs-closing {
  max-width: 1280px;
  margin: 1rem auto 4.5rem;
  padding: 3rem 1.5rem;
  background: var(--cs-charcoal);
  border-radius: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 2rem;
}

.cs-closing-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  min-width: 140px;
}

.cs-closing-number {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 2rem;
  color: var(--brand-comfortstar-yellow);
}

.cs-closing-label {
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--cs-white);
}

