/* ========================================
   MARLOW — Modern Casual Clothing
   Redesigned: Editorial / Fashion-forward
   ======================================== */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

:root {
  --bg: #FAFAF7;
  --bg2: #F0EDE8;
  --dark: #111110;
  --dark2: #1C1B19;
  --text: #111110;
  --text2: #6E6B63;
  --text3: #A5A19A;
  --accent: #BF6A40;
  --accent-l: #D1875F;
  --sage: #7E917A;
  --white: #fff;
  --border: #E2DED7;
  --radius: 8px;
  --font: "Syne", sans-serif;
  --body: "DM Sans", sans-serif;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

html {
  scroll-behavior: smooth;
  overflow-x: clip
}

body {
  font-family: var(--body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  width: 100%;
  max-width: 100%
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit
}

::selection {
  background: var(--dark);
  color: var(--white)
}

::-webkit-scrollbar {
  width: 6px
}

::-webkit-scrollbar-track {
  background: var(--bg)
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent)
}

/* ========== UTILITY ========== */
.btn-fill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  font-family: var(--font);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--dark);
  color: var(--white);
  border-radius: 0;
  transition: all .3s var(--ease);
}

.btn-fill:hover {
  background: #2a2926;
  letter-spacing: .1em
}

.btn-fill.full {
  width: 100%
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  font-family: var(--font);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 0;
  transition: all .3s var(--ease);
}

.btn-ghost:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white)
}

.big-heading {
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: -.02em;
  line-height: 1.05;
  text-transform: uppercase;
}

.big-heading.center {
  text-align: center
}

.mid-heading {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: -.01em;
  line-height: 1.15;
  text-transform: uppercase;
}

.label-sm {
  display: block;
  font-family: var(--font);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

/* ========== ANIM ========== */
.anim-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s ease, transform .7s ease
}

.anim-up.visible {
  opacity: 1;
  transform: translateY(0)
}

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all .35s var(--ease);
}

.navbar.scrolled {
  background: rgba(250, 250, 247, .92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 var(--border);
}

.navbar.scrolled .nav-logo,
.navbar.scrolled .nav-link {
  color: var(--dark)
}

.navbar.scrolled .nav-cart-btn {
  color: var(--dark)
}

.navbar.scrolled .mobile-toggle span {
  background: var(--dark)
}

.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  position: relative;
}

.nav-logo {
  font-family: var(--font);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--white);
  transition: color .3s;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 28px
}

.nav-link {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
  transition: color .3s;
}

.nav-link:hover {
  color: var(--white)
}

.navbar.scrolled .nav-link:hover {
  color: var(--accent)
}

.nav-cart-btn {
  position: relative;
  color: var(--white);
  transition: color .3s
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  width: 17px;
  height: 17px;
  background: var(--accent);
  color: var(--white);
  font-size: .6rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(.5);
  transition: all .3s;
}

.cart-badge.visible {
  opacity: 1;
  transform: scale(1)
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  padding: 4px 0;
  z-index: 110
}

.mobile-toggle span {
  display: block;
  height: 1.5px;
  background: var(--white);
  border-radius: 1px;
  transition: all .3s
}

.mobile-toggle.open span:first-child {
  transform: rotate(45deg) translate(4px, 4px)
}

.mobile-toggle.open span:last-child {
  transform: rotate(-45deg) translate(4px, -4px)
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 105;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto
}

.mobile-link {
  font-family: var(--font);
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--white);
}

.mobile-cart-btn {
  font-family: var(--font);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 12px 32px;
  border: 1px solid rgba(255, 255, 255, .3);
  color: var(--white);
  margin-top: 12px;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(1.5px) saturate(.6) brightness(.85);
  transform: scale(1.04) translate3d(0,0,0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(28, 27, 25, .45) 0%, rgba(28, 27, 25, .25) 40%, rgba(28, 27, 25, .65) 100%),
    linear-gradient(180deg, rgba(191, 106, 64, .18) 0%, rgba(126, 145, 122, .12) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 0 24px;
  color: var(--white)
}

.hero-tag {
  font-family: var(--font);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .7;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(3rem, 7vw, 5.5rem);
  letter-spacing: -.03em;
  line-height: .95;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1rem;
  font-weight: 300;
  opacity: .75;
  max-width: 380px;
  margin: 0 auto 36px;
  line-height: 1.6;
  letter-spacing: .02em;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.hero-scroll span {
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, .25);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0% {
    top: -100%
  }

  50% {
    top: 100%
  }

  100% {
    top: 100%
  }
}

/* ========== TICKER ========== */
.ticker {
  padding: 16px 0;
  background: var(--dark);
  overflow: hidden;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: slide 25s linear infinite;
}

.ticker-track span {
  font-family: var(--font);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text3);
  white-space: nowrap;
  flex-shrink: 0;
}

@keyframes slide {
  0% {
    transform: translateX(0)
  }

  100% {
    transform: translateX(-50%)
  }
}

/* ========== SHOP ========== */
.section-shop {
  padding: 100px 32px 80px;
  max-width: 1320px;
  margin: 0 auto
}

.shop-header {
  margin-bottom: 40px
}

.shop-header .big-heading {
  margin-bottom: 28px
}

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.filter-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap
}

.pill {
  padding: 8px 20px;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 1.5px solid var(--border);
  color: var(--text2);
  transition: all .25s;
  font-family: var(--font);
  white-space: nowrap;
  flex-shrink: 0;
}

.pill:hover {
  border-color: var(--dark);
  color: var(--dark)
}

.pill.active {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark)
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 12px
}

.size-pills {
  display: flex;
  gap: 4px
}

.size-pill {
  width: 34px;
  height: 34px;
  font-size: .68rem;
  font-weight: 700;
  border: 1px solid var(--border);
  color: var(--text2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s;
  font-family: var(--font);
}

.size-pill:hover {
  border-color: var(--dark);
  color: var(--dark)
}

.size-pill.active {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark)
}

.sort-dropdown {
  padding: 8px 32px 8px 14px;
  font-size: .78rem;
  font-weight: 500;
  border: 1.5px solid var(--border);
  color: var(--text2);
  background: var(--white);
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--body);
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='%236E6B63' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 01.753 1.659l-4.796 5.48a1 1 0 01-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.sort-dropdown:focus {
  outline: none;
  border-color: var(--dark)
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.products-empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 80px 0;
  color: var(--text3);
  font-size: .95rem;
}

/* Product Card */
.p-card {
  cursor: pointer;
  transition: transform .3s var(--ease)
}

.p-card:hover {
  transform: translateY(-3px)
}

.p-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--bg2);
  margin-bottom: 12px;
}

.p-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .5s ease;
}

.p-card-img img:nth-child(2) {
  opacity: 0
}

.p-card:hover .p-card-img img:first-child {
  opacity: 0
}

.p-card:hover .p-card-img img:nth-child(2) {
  opacity: 1
}

.p-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 8px;
  font-family: var(--font);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  z-index: 2;
}

.p-badge.new {
  background: var(--sage);
  color: var(--white)
}

.p-badge.bestseller {
  background: var(--accent);
  color: var(--white)
}

.p-badge.sale {
  background: #C14C4C;
  color: var(--white)
}

.p-qv {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  padding: 9px 22px;
  background: var(--white);
  font-family: var(--font);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: 0;
  transition: all .3s var(--ease);
  z-index: 2;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .1);
}

.p-card:hover .p-qv {
  opacity: 1;
  transform: translateX(-50%) translateY(0)
}

.p-qv:hover {
  background: var(--dark);
  color: var(--white)
}

.p-name {
  font-family: var(--font);
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: .01em
}

.p-price {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px
}

.p-price-now {
  font-size: .82rem;
  font-weight: 500
}

.p-price-now.sale {
  color: #C14C4C
}

.p-price-was {
  font-size: .78rem;
  color: var(--text3);
  text-decoration: line-through
}

.p-colors {
  display: flex;
  gap: 4px
}

.p-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid var(--border)
}

/* ========== COLLECTIONS — Bento ========== */
.section-collections {
  padding: 80px 32px 100px;
  max-width: 1320px;
  margin: 0 auto;
}

.collections-top {
  margin-bottom: 36px
}

.collections-sub {
  color: var(--text2);
  font-size: .95rem;
  margin-top: 8px
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 320px 320px;
  gap: 16px;
}

.bento-grid .b-card:first-child {
  grid-row: 1/3
}

/* tall left card */

.b-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.b-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.b-card:hover img {
  transform: scale(1.05)
}

.b-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17, 17, 16, .7) 0%, rgba(17, 17, 16, .05) 60%);
}

.b-card-text {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 28px;
  color: var(--white);
}

.b-card-name {
  font-family: var(--font);
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  margin-bottom: 2px;
}

.b-card-count {
  font-size: .78rem;
  opacity: .65
}

/* ========== BRAND STRIP ========== */
.brand-strip {
  position: relative;
  height: 50vh;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.brand-strip-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover
}

.brand-strip-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 16, .65);
}

.brand-strip-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  padding: 0 32px;
  color: var(--white);
}

.brand-strip-content blockquote {
  font-family: var(--font);
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-weight: 500;
  line-height: 1.55;
  font-style: normal;
  letter-spacing: -.01em;
}

.brand-strip-attr {
  display: block;
  margin-top: 20px;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .5;
}

/* ========== LOOKBOOK — horizontal scroll ========== */
.section-lookbook {
  padding: 100px 0 80px;
  overflow: hidden
}

.lookbook-header {
  max-width: 1320px;
  margin: 0 auto 36px;
  padding: 0 32px
}

.lookbook-sub {
  color: var(--text2);
  font-size: .95rem;
  margin-top: 8px
}

.lookbook-scroll {
  display: flex;
  gap: 16px;
  padding: 0 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.lookbook-scroll::-webkit-scrollbar {
  display: none
}

.lb-item {
  flex: 0 0 340px;
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 2px;
}

.lb-item img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: transform .5s var(--ease);
}

.lb-item:hover img {
  transform: scale(1.04)
}

.lb-item-over {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 16, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s;
}

.lb-item:hover .lb-item-over {
  background: rgba(17, 17, 16, .3)
}

.lb-item-tag {
  font-family: var(--font);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, .4);
  opacity: 0;
  transform: translateY(6px);
  transition: all .3s;
}

.lb-item:hover .lb-item-tag {
  opacity: 1;
  transform: translateY(0)
}

/* ========== SIZE GUIDE (inline) ========== */
.section-sizeguide {
  padding: 80px 32px;
  max-width: 1320px;
  margin: 0 auto;
}

.sizeguide-inner {
  display: grid;
  grid-template-columns: .6fr 1fr;
  gap: 48px;
  align-items: start;
}

.sizeguide-desc {
  color: var(--text2);
  font-size: .92rem;
  margin: 8px 0 20px;
  line-height: 1.7
}

.unit-toggle {
  display: flex;
  gap: 4px
}

.unit-btn {
  width: 40px;
  height: 36px;
  font-family: var(--font);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  border: 1.5px solid var(--border);
  color: var(--text2);
  transition: all .25s;
}

.unit-btn.active {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark)
}

.sizeguide-table-wrap {
  overflow-x: auto
}

.sg-table {
  width: 100%;
  border-collapse: collapse
}

.sg-table th {
  font-family: var(--font);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text2);
  padding: 10px 16px;
  text-align: left;
  border-bottom: 2px solid var(--dark);
}

.sg-table td {
  font-size: .88rem;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.sg-table td:first-child {
  font-family: var(--font);
  font-weight: 700
}

.sg-table tr:hover td {
  background: var(--bg2)
}

/* ========== ABOUT ========== */
.section-about {
  padding: 100px 32px;
  max-width: 1320px;
  margin: 0 auto;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr .85fr;
  gap: 60px;
  align-items: center;
}

.about-col-text .big-heading {
  margin-bottom: 20px
}

.about-col-text p {
  color: var(--text2);
  font-size: .95rem;
  line-height: 1.75;
  margin-bottom: 12px
}

.about-perks {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px
}

.perk {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--text)
}

.perk svg {
  color: var(--accent);
  flex-shrink: 0
}

.about-col-img {
  position: relative
}

.about-col-img img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover
}

/* ========== REVIEWS — card grid ========== */
.section-reviews {
  padding: 100px 32px 80px;
  max-width: 1320px;
  margin: 0 auto
}

.section-reviews .big-heading {
  margin-bottom: 40px
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px
}

.review-card {
  padding: 28px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: border-color .3s;
}

.review-card:hover {
  border-color: var(--dark)
}

.review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
  color: #D4A93C
}

.review-text {
  font-size: .88rem;
  color: var(--text2);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px
}

.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto
}

.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover
}

.review-info {
  font-size: .78rem
}

.review-name {
  font-weight: 600;
  color: var(--text)
}

.review-loc {
  color: var(--text3)
}

/* ========== NEWSLETTER ========== */
.section-newsletter {
  padding: 80px 32px;
  background: var(--bg2);
  text-align: center;
}

.nl-inner {
  max-width: 440px;
  margin: 0 auto
}

.nl-sub {
  color: var(--text2);
  font-size: .92rem;
  margin: 8px 0 24px
}

.nl-form {
  display: flex;
  gap: 0
}

.nl-form input {
  flex: 1;
  padding: 14px 16px;
  font-size: .88rem;
  font-family: var(--body);
  border: 1.5px solid var(--border);
  border-right: none;
  background: var(--white);
}

.nl-form input:focus {
  outline: none;
  border-color: var(--dark)
}

.nl-form .btn-fill {
  border-radius: 0;
  flex-shrink: 0
}

.nl-fine {
  display: block;
  margin-top: 10px;
  font-size: .72rem;
  color: var(--text3)
}

/* ========== FOOTER ========== */
.footer {
  padding: 60px 32px 0;
  background: var(--dark);
  color: var(--text3)
}

.footer-top {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-logo {
  font-family: var(--font);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--white);
  display: block;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: .82rem;
  line-height: 1.6;
  max-width: 260px;
  margin-bottom: 16px
}

.footer-socials {
  display: flex;
  gap: 10px
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text3);
  transition: all .3s;
}

.footer-socials a:hover {
  border-color: var(--accent);
  color: var(--accent)
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px
}

.footer-col h4 {
  font-family: var(--font);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: .82rem;
  color: rgba(255, 255, 255, .4);
  transition: color .3s
}

.footer-col a:hover {
  color: var(--white)
}

.footer-bottom {
  max-width: 1320px;
  margin: 0 auto;
  padding: 20px 0;
  font-size: .72rem;
  color: rgba(255, 255, 255, .25);
  text-align: center;
}

/* ========== PRODUCT MODAL ========== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(6px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto
}

.product-modal {
  background: var(--white);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  transform: translateY(16px);
  transition: transform .3s;
}

.modal-overlay.open .product-modal {
  transform: translateY(0)
}

.modal-x {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text2);
  transition: color .25s;
}

.modal-x:hover {
  color: var(--text)
}

.modal-img-col {
  padding: 20px;
  background: var(--bg2)
}

.modal-main-wrap {
  aspect-ratio: 3/4;
  overflow: hidden;
  margin-bottom: 10px;
  background: var(--border)
}

.modal-main-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.modal-thumbs {
  display: flex;
  gap: 6px
}

.modal-thumb {
  width: 56px;
  height: 70px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .2s;
  opacity: .6;
  transition: opacity .2s;
}

.modal-thumb.active {
  border-color: var(--dark);
  opacity: 1
}

.modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.modal-info-col {
  padding: 28px 28px 28px 20px;
  display: flex;
  flex-direction: column
}

.modal-info-col h2 {
  font-family: var(--font);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 6px
}

.modal-price {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 4px
}

.modal-price .p-price-was {
  margin-right: 6px
}

.modal-info-col hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 18px 0
}

.modal-badge {
  display: inline-block;
  font-family: var(--font);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 8px;
  margin-bottom: 10px;
  width: fit-content;
}

.modal-badge.new {
  background: var(--sage);
  color: var(--white)
}

.modal-badge.bestseller {
  background: var(--accent);
  color: var(--white)
}

.modal-badge.sale {
  background: #C14C4C;
  color: var(--white)
}

.modal-badge:empty {
  display: none
}

.option-group {
  margin-bottom: 20px
}

.option-label {
  font-size: .78rem;
  color: var(--text2);
  display: block;
  margin-bottom: 8px
}

.option-label strong {
  color: var(--text)
}

.option-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px
}

.sg-link {
  font-size: .72rem;
  color: var(--accent);
  text-decoration: underline;
  cursor: pointer
}

.sg-link:hover {
  color: var(--accent-l)
}

.swatches {
  display: flex;
  gap: 8px
}

.color-swatch {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid var(--border);
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: all .25s;
}

.color-swatch:hover {
  outline-color: var(--text3)
}

.color-swatch.active {
  outline-color: var(--dark)
}

.size-btns {
  display: flex;
  gap: 6px;
  flex-wrap: wrap
}

.size-btn {
  padding: 9px 16px;
  font-family: var(--font);
  font-size: .76rem;
  font-weight: 700;
  border: 1.5px solid var(--border);
  transition: all .25s;
}

.size-btn:hover {
  border-color: var(--dark)
}

.size-btn.active {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark)
}

.modal-desc {
  font-size: .85rem;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 14px
}

.modal-details {
  list-style: none;
  margin-bottom: 20px
}

.modal-details li {
  font-size: .78rem;
  color: var(--text2);
  padding: 3px 0 3px 14px;
  position: relative;
}

.modal-details li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--border);
  transform: translateY(-50%);
}

.modal-atc {
  margin-top: auto;
  width: 100%;
  padding: 16px
}

/* ========== SIZE GUIDE MODAL ========== */
.sg-modal-overlay {
  z-index: 210
}

.sg-modal {
  background: var(--white);
  max-width: 560px;
  width: 100%;
  padding: 28px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.sg-modal h3 {
  font-family: var(--font);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 16px
}

/* ========== LIGHTBOX ========== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .94);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto
}

.lb-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: rgba(255, 255, 255, .6);
  transition: color .25s;
  z-index: 5;
}

.lb-close:hover {
  color: var(--white)
}

.lb-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  width: 100%
}

.lb-body img {
  max-height: 62vh;
  max-width: 100%;
  object-fit: contain
}

.lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, .5);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .25s;
  z-index: 5;
}

.lb-arrow:hover {
  color: var(--white)
}

.lb-prev {
  left: 20px
}

.lb-next {
  right: 20px
}

.lb-shop {
  margin-top: 20px;
  text-align: center
}

.lb-shop h4 {
  font-family: var(--font);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
  margin-bottom: 12px;
}

.lb-products {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap
}

.lb-product {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 6px;
  background: rgba(255, 255, 255, .07);
  cursor: pointer;
  transition: background .25s;
}

.lb-product:hover {
  background: rgba(255, 255, 255, .14)
}

.lb-product img {
  width: 36px;
  height: 46px;
  object-fit: cover
}

.lb-p-name {
  font-size: .74rem;
  font-weight: 600;
  color: var(--white)
}

.lb-p-price {
  font-size: .68rem;
  color: rgba(255, 255, 255, .45)
}

/* ========== CART SIDEBAR ========== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .4);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: auto
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  height: 100vh;
  background: var(--white);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .4s var(--ease);
  box-shadow: -8px 0 30px rgba(0, 0, 0, .08);
}

.cart-drawer.open {
  transform: translateX(0)
}

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.cart-head h3 {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em
}

.cart-head button {
  color: var(--text2);
  transition: color .25s
}

.cart-head button:hover {
  color: var(--text)
}

.cart-body {
  flex: 1;
  overflow-y: auto
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  gap: 14px;
  text-align: center;
}

.cart-empty p {
  color: var(--text3);
  font-size: .92rem
}

.c-item {
  display: flex;
  gap: 14px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border)
}

.c-item-img {
  width: 72px;
  height: 90px;
  object-fit: cover;
  flex-shrink: 0
}

.c-item-info {
  flex: 1;
  display: flex;
  flex-direction: column
}

.c-item-name {
  font-family: var(--font);
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 3px
}

.c-item-meta {
  font-size: .72rem;
  color: var(--text3);
  margin-bottom: 8px
}

.c-item-meta .c-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 3px;
  border: 1px solid var(--border)
}

.c-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto
}

.c-qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--border)
}

.c-qty button {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .92rem;
  color: var(--text2);
  transition: color .2s
}

.c-qty button:hover {
  color: var(--text)
}

.c-qty span {
  width: 28px;
  text-align: center;
  font-size: .78rem;
  font-weight: 600;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  line-height: 30px
}

.c-item-price {
  font-size: .85rem;
  font-weight: 600
}

.c-item-rm {
  font-size: .68rem;
  color: var(--text3);
  text-decoration: underline;
  margin-top: 3px;
  align-self: flex-start;
  transition: color .2s
}

.c-item-rm:hover {
  color: #C14C4C
}

.cart-foot {
  padding: 22px 24px;
  border-top: 1px solid var(--border);
  flex-shrink: 0
}

.cart-note {
  padding: 8px 12px;
  background: var(--bg2);
  font-size: .74rem;
  color: var(--text2);
  margin-bottom: 14px;
}

.cart-row {
  display: flex;
  justify-content: space-between;
  font-size: .88rem;
  margin-bottom: 14px
}

.cart-foot .btn-fill {
  margin-bottom: 6px
}

.link-btn {
  display: block;
  width: 100%;
  text-align: center;
  font-size: .78rem;
  color: var(--text3);
  text-decoration: underline;
  padding: 6px;
  transition: color .2s
}

.link-btn:hover {
  color: var(--text)
}

/* ========== TOAST ========== */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--dark);
  color: var(--white);
  font-size: .82rem;
  font-weight: 500;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .15);
  opacity: 0;
  pointer-events: none;
  transition: all .3s;
  z-index: 300;
}

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

/* ========== RESPONSIVE 1024 ========== */
@media(max-width:1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr)
  }

  .reviews-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .about-inner {
    gap: 40px
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px
  }

  .lb-prev {
    left: 8px
  }

  .lb-next {
    right: 8px
  }
}

/* ========== RESPONSIVE 768 ========== */
@media(max-width:768px) {
  .nav-inner {
    gap: 0;
    padding: 0 20px;
    height: 60px
  }

  .nav-left {
    display: none
  }

  .nav-right .nav-link {
    display: none
  }

  .nav-right {
    gap: 0
  }

  .nav-right .nav-cart-btn {
    display: flex;
    padding: 8px
  }

  .nav-logo {
    font-size: 1.15rem;
    letter-spacing: .14em;
    margin-right: auto
  }

  .mobile-toggle {
    display: flex;
    margin-left: 18px;
    padding: 8px 0
  }

  .mobile-menu {
    display: flex
  }

  .hero-title {
    font-size: clamp(2.6rem, 10vw, 4rem)
  }

  .hero-sub {
    font-size: .88rem
  }

  .section-shop,
  .section-collections,
  .section-lookbook,
  .section-sizeguide,
  .section-about,
  .section-reviews {
    padding-left: 16px;
    padding-right: 16px
  }

  .section-shop,
  .section-about,
  .section-reviews,
  .section-newsletter {
    padding-top: 60px;
    padding-bottom: 60px
  }

  .shop-toolbar {
    flex-direction: column;
    align-items: stretch
  }

  .filter-row {
    flex-wrap: wrap;
    gap: 6px
  }

  .toolbar-right {
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 8px;
    min-width: 0
  }

  .size-pills {
    display: none
  }

  .sort-dropdown {
    width: 100%;
    min-width: 0
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px
  }

  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto
  }

  .bento-grid .b-card:first-child {
    grid-row: auto
  }

  .bento-grid .b-card {
    aspect-ratio: 16/10
  }

  .lookbook-scroll {
    padding: 0 16px
  }

  .lb-item {
    flex: 0 0 260px
  }

  .sizeguide-inner {
    grid-template-columns: 1fr;
    gap: 28px
  }

  .sg-table th {
    padding: 8px 10px;
    font-size: .62rem
  }

  .sg-table td {
    padding: 10px 10px;
    font-size: .82rem
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 32px
  }

  .about-col-img img {
    aspect-ratio: 16/10
  }

  .reviews-grid {
    grid-template-columns: 1fr
  }

  .nl-form {
    flex-direction: column
  }

  .nl-form input {
    border-right: 1.5px solid var(--border);
    border-bottom: none
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px
  }

  .footer-brand p {
    max-width: 100%
  }

  /* Product modal — full-screen on mobile */
  .modal-overlay {
    padding: 0;
    align-items: stretch
  }

  .product-modal {
    grid-template-columns: 1fr;
    max-width: 100%;
    max-height: 100vh;
    max-height: 100dvh;
    border-radius: 0
  }

  .modal-img-col {
    padding: 12px
  }

  .modal-main-wrap {
    aspect-ratio: 4/3
  }

  .modal-thumbs {
    gap: 4px
  }

  .modal-thumb {
    width: 48px;
    height: 60px
  }

  .modal-info-col {
    padding: 16px 16px 20px
  }

  .modal-info-col h2 {
    font-size: 1.2rem
  }

  .modal-x {
    top: 8px;
    right: 8px
  }

  /* Size guide modal — full-width on mobile */
  .sg-modal {
    max-width: 100%;
    margin: 0 12px;
    padding: 20px 16px
  }

  /* Lightbox — full mobile treatment */
  .lightbox .lb-body {
    padding: 0 12px
  }

  .lightbox .lb-body img {
    max-height: 50vh
  }

  .lb-shop {
    padding: 0 8px
  }

  .lb-products {
    gap: 6px
  }

  .lb-product {
    padding: 5px 10px 5px 5px
  }

  .lb-product img {
    width: 30px;
    height: 38px
  }

  .lb-p-name {
    font-size: .68rem
  }

  .lb-arrow {
    display: none
  }

  /* Cart drawer — full-width */
  .cart-drawer {
    width: 100%
  }

  .cart-head {
    padding: 18px 16px
  }

  .cart-foot {
    padding: 18px 16px
  }

  .c-item {
    padding: 14px 16px
  }

  .brand-strip {
    height: 40vh;
    min-height: 280px
  }

  .brand-strip-content {
    padding: 0 20px
  }

  .brand-strip-content blockquote {
    font-size: clamp(1rem, 4vw, 1.4rem)
  }

  /* Toast — constrain width */
  .toast {
    max-width: calc(100vw - 32px);
    font-size: .78rem;
    padding: 10px 18px
  }

  /* Ticker — prevent overflow */
  .ticker {
    overflow: hidden;
    width: 100%
  }

  /* Hero buttons stack on very small */
  .hero-actions {
    flex-direction: column;
    gap: 10px;
    align-items: center
  }

  .hero-actions .btn-fill,
  .hero-actions .btn-ghost {
    width: 200px;
    text-align: center
  }
}

@media(max-width:480px) {
  .products-grid {
    gap: 8px
  }

  .p-name {
    font-size: .74rem
  }

  .p-price {
    font-size: .72rem
  }

  .p-qv {
    display: none
  }

  .p-dot {
    width: 10px;
    height: 10px
  }

  .lookbook-header,
  .collections-top {
    padding-left: 16px;
    padding-right: 16px
  }

  .lb-item {
    flex: 0 0 220px
  }

  .big-heading {
    font-size: clamp(1.8rem, 6vw, 2.6rem)
  }

  .mid-heading {
    font-size: clamp(1.2rem, 4vw, 1.6rem)
  }

  .pill {
    padding: 6px 14px;
    font-size: .7rem
  }

  /* Modal further tightening */
  .modal-info-col {
    padding: 14px 14px 18px
  }

  .swatches {
    gap: 6px
  }

  .color-swatch {
    width: 26px;
    height: 26px
  }

  .size-btn {
    padding: 8px 12px;
    font-size: .7rem
  }

  .modal-desc {
    font-size: .8rem
  }

  .modal-details li {
    font-size: .74rem
  }

  .modal-atc {
    padding: 14px
  }

  .nav-inner {
    padding: 0 16px
  }

  .nav-logo {
    font-size: 1.05rem;
    letter-spacing: .1em
  }

  .mobile-toggle {
    margin-left: 16px
  }

  .section-newsletter {
    padding: 60px 16px
  }

  .nl-inner {
    max-width: 100%
  }

  .about-perks {
    gap: 10px
  }

  .perk {
    font-size: .8rem
  }

  .review-card {
    padding: 20px
  }

  .review-text {
    font-size: .82rem
  }
}