@import url("fonts-face.css");

:root {
  --olive: #6e7051;
  --olive-dark: #5b5d43;
  --gold: #f6aa28;
  --ink: #262b2c;
  --muted: #979a9b;
  --text: #6e6e6e;
  --wash: #f1f1ef;
  --line: #e4e6e7;
  --white: #ffffff;
  --black: #000000;
  --max: 1200px;
  --header-h: 84px;
  --bar-h: 42px;
  --font-body: "Inter", system-ui, sans-serif;
  --font-head: "Poppins", system-ui, sans-serif;
  --font-script: "Marck Script", cursive;
  --radius: 2px;
  --ease: .2s ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 112.5%; scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--olive); text-decoration: none; transition: color var(--ease), background-color var(--ease), border-color var(--ease); }
a:hover { color: var(--ink); }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 .45em;
}
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.222rem); }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.25rem; }
h6 { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
ul { margin: 0; padding: 0; list-style: none; }
.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--olive); color: #fff; padding: 8px 16px; z-index: 10000; }
.skip-link:focus { left: 8px; }
.muted { color: var(--muted); }
.kicker { font-family: var(--font-head); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; font-weight: 500; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer;
  background: var(--olive); color: var(--white);
  font-family: var(--font-head); font-weight: 500; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 14px 32px; border-radius: var(--radius); line-height: 1;
  transition: background-color var(--ease), color var(--ease), border-color var(--ease);
}
.btn:hover, .btn:focus-visible { background: var(--olive-dark); color: #fff; }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--gold); color: var(--ink); }
.btn-outline { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1px var(--white); }
.btn-outline:hover { background: var(--white); color: var(--ink); }
.btn-outline-dark { background: transparent; color: var(--olive); box-shadow: inset 0 0 0 1px var(--olive); }
.btn-outline-dark:hover { background: var(--olive); color: #fff; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.icon-btn { background: none; border: 0; cursor: pointer; color: inherit; padding: 6px; font-size: 1.2rem; line-height: 1; }

/* Top bar + header */
.announce {
  background: var(--olive); color: #fff; text-align: center;
  font-size: .78rem; letter-spacing: .04em; padding: 10px 16px; min-height: var(--bar-h);
}
.site-header {
  position: sticky; top: 0; z-index: 800;
  background: var(--white); color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; height: var(--header-h); gap: 16px;
}
.logo { color: var(--ink); display: inline-flex; align-items: center; }
.logo:hover { color: var(--olive); }
.logo svg, .logo img { width: 132px; height: 22px; }
.logo-text {
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
  letter-spacing: .22em; color: inherit; line-height: 1;
}
.nav-toggle { display: none; background: none; border: 0; color: inherit; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: currentColor; margin: 5px 0; }
.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-menu a {
  color: var(--ink); font-family: var(--font-head); font-weight: 500;
  font-size: .83rem; letter-spacing: .04em;
}
.nav-menu a:hover, .nav-menu a[aria-current="page"] { color: var(--olive); }
.nav-menu a.sale { color: var(--gold); }
.header-tools { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.header-tools a, .header-tools button {
  color: var(--ink); background: none; border: 0; cursor: pointer; padding: 4px; position: relative;
  width: 32px; height: 32px; display: grid; place-items: center; flex-shrink: 0;
}
.header-tools svg { width: 20px; height: 20px; display: block; }
.cart-count {
  position: absolute; top: -6px; right: -8px;
  background: var(--olive); color: #fff; border-radius: 99px;
  font-size: 10px; min-width: 16px; height: 16px; display: grid; place-items: center;
  font-weight: 600;
}
.cart-count[hidden] { display: none; }

/* Search */
.search-panel {
  display: none; position: fixed; inset: 0; z-index: 1200;
  background: rgba(38,43,44,.55); align-items: flex-start; justify-content: center; padding-top: 12vh;
}
body.search-open .search-panel { display: flex; }
.search-panel form {
  background: #fff; width: min(640px, 92%); padding: 20px; display: flex; gap: 8px;
}
.search-panel input { flex: 1; border: 1px solid var(--line); padding: 12px 14px; }

/* Mini cart */
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 92vw);
  background: #fff; z-index: 1300; transform: translateX(100%);
  transition: transform .28s ease; display: flex; flex-direction: column;
  box-shadow: -8px 0 30px rgba(0,0,0,.08);
}
body.cart-open .cart-drawer { transform: none; }
.cart-backdrop, .filters-backdrop, .qv-backdrop {
  display: none; position: fixed; inset: 0; background: rgba(38,43,44,.45); z-index: 1250;
}
body.cart-open .cart-backdrop,
body.filters-open .filters-backdrop,
body.qv-open .qv-backdrop { display: block; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; font-size: 1.1rem; }
.mini-cart { padding: 16px 20px; overflow: auto; flex: 1; }
.mini-row { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: start; }
.mini-row img { width: 64px; height: 64px; object-fit: cover; background: var(--wash); }
.mini-sub { display: flex; justify-content: space-between; margin: 16px 0; font-size: 1rem; color: var(--ink); }
.empty-note { color: var(--muted); }

/* Hero */
.hero {
  position: relative; min-height: min(86vh, 760px);
  background: #1c1f20 center/cover no-repeat;
  display: flex; align-items: center; color: #fff;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,22,22,.55) 0%, rgba(20,22,22,.18) 48%, rgba(20,22,22,.08) 100%);
}
.hero .container { position: relative; z-index: 1; padding: 80px 0; }
.hero h1 { color: #fff; margin: 0 0 .2em; font-weight: 500; line-height: 1.05; }
.hero h1 em {
  font-family: var(--font-script); font-style: normal; font-weight: 400;
  font-size: 1.05em; display: block;
}
.hero p { max-width: 420px; color: rgba(255,255,255,.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Press */
.press { padding: 28px 0; border-bottom: 1px solid var(--line); }
.press-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.press-row .kicker { margin: 0; }
.press-logos { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: flex-end; color: #b0b3b4; }
.press-logos svg { height: 22px; width: auto; opacity: .85; }

/* Sections */
.section { padding: 88px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head a { font-family: var(--font-head); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--olive); border-bottom: 1px solid var(--olive); padding-bottom: 2px; }
.section-head a:hover { color: var(--ink); border-color: var(--ink); }

.about-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center;
}
.about-grid img { width: 100%; object-fit: cover; }
.about-copy { max-width: 460px; }

.made {
  background: var(--olive); color: #e8e9e0; text-align: center;
}
.made h2, .made h4 { color: #fff; }
.made .lead { max-width: 640px; margin: 0 auto 40px; }
.made-layout {
  display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 28px; align-items: center; text-align: left;
}
.made-layout img { width: 100%; mix-blend-mode: multiply; }
.made-item { padding: 8px 0 20px; }
.made-item h6 { color: var(--gold); margin-bottom: 6px; }
.made-item h4 { margin-bottom: 8px; }
.made-item p { margin: 0; font-size: .95rem; }

.cat-banners { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cat-card {
  position: relative; min-height: 340px; overflow: hidden;
  display: flex; align-items: flex-end; color: #fff;
  background: #222 center/cover no-repeat;
}
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(0,0,0,.45)); }
.cat-card .inner { position: relative; z-index: 1; padding: 36px; }
.cat-card h2 { color: #fff; margin: 0 0 14px; }

.trust {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center;
}
.trust-icons { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.trust-icon { display: flex; gap: 14px; align-items: flex-start; }
.trust-icon svg { width: 36px; height: 36px; color: var(--olive); flex-shrink: 0; }
.recycle-photo {
  width: min(280px, 100%); aspect-ratio: 1; border-radius: 50%;
  object-fit: cover; margin-inline: auto; outline: 10px solid var(--wash);
}

.reviews { text-align: center; background: var(--wash); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; text-align: left; margin-top: 36px; }
.review {
  background: #fff; padding: 28px; box-shadow: 0 8px 30px rgba(0,0,0,.04);
}
.stars { color: var(--gold); letter-spacing: 2px; font-size: .9rem; margin-bottom: 10px; }
.review p { color: var(--ink); font-size: .95rem; }
.who { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.who strong { color: var(--ink); font-weight: 500; display: block; }
.avg { margin-top: 28px; color: var(--muted); }

.cta-band {
  min-height: 420px; background: #222 center/cover no-repeat;
  display: flex; align-items: center; text-align: center; color: #fff; position: relative;
}
.cta-band::after { content: ""; position: absolute; inset: 0; background: rgba(20,22,22,.38); }
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 520px; margin: 0 auto 24px; }

/* Product grid */
.product-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 22px;
}
.product-card .thumb {
  position: relative; display: block; background: var(--wash); overflow: hidden; margin-bottom: 12px;
}
.product-card img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .35s ease; }
.product-card:hover img { transform: scale(1.04); }
.badge-sale {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--gold); color: var(--ink);
  font-family: var(--font-head); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 10px; font-weight: 600;
}
.quick-view {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: var(--olive); color: #fff; text-align: center;
  padding: 12px; font-family: var(--font-head); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
  transform: translateY(100%); transition: transform var(--ease);
}
.product-card:hover .quick-view { transform: none; }
.product-card .title { display: block; color: var(--ink); font-family: var(--font-head); font-weight: 500; font-size: 1rem; }
.product-card .title:hover { color: var(--olive); }
.product-card .price { margin-top: 4px; color: var(--olive); font-weight: 500; }
.product-card .price del { color: var(--muted); margin-right: 8px; font-weight: 400; }
.product-card .price ins { text-decoration: none; color: var(--olive); }

/* Shop layout */
.page-hero { padding: 48px 0 12px; text-align: center; }
.crumb { font-size: .85rem; color: var(--muted); margin-bottom: 8px; }
.crumb a { color: var(--muted); }
.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 40px; padding-bottom: 80px; }
.filters .drawer-head .icon-btn { display: none; }
.filters h3 { font-size: 1.05rem; margin: 0 0 12px; }
.filter-block { margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.filter-block a, .filter-block label { display: block; padding: 5px 0; color: var(--ink); }
.filter-block a.is-active { color: var(--olive); font-weight: 600; }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; gap: 12px; flex-wrap: wrap; }
.shop-toolbar select { border: 1px solid var(--line); padding: 8px 10px; background: #fff; }
.filter-toggle { display: none; }

/* Product page */
.product-layout {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; padding: 40px 0 80px;
}
.product-gallery { background: var(--wash); }
.product-gallery img { width: 100%; }
.product-info .price { font-size: 1.3rem; color: var(--olive); margin: 10px 0 16px; }
.product-info .price del { color: var(--muted); font-size: 1rem; margin-right: 8px; }
.buy-row { display: flex; gap: 10px; align-items: center; margin: 18px 0; flex-wrap: wrap; }
.qty, select.qty, [data-size] {
  width: 84px; border: 1px solid var(--line); padding: 12px; background: #fff;
}
[data-size] { width: 120px; }
.meta-line { font-size: .9rem; margin-top: 18px; color: var(--muted); }

/* Cart / checkout */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line); padding: 10px 8px; }
.cart-table td { border-bottom: 1px solid var(--line); padding: 16px 8px; vertical-align: middle; }
.cart-prod { display: flex; gap: 12px; align-items: center; }
.cart-prod img { width: 72px; height: 72px; object-fit: cover; background: var(--wash); }
.two-col { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; }
.totals, .order-box { background: var(--wash); padding: 24px; }
.totals h3, .order-box h3 { margin-top: 0; }
.order-row, .total-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
label span, .field-label { display: block; font-size: .85rem; color: var(--ink); margin-bottom: 6px; }
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], textarea, select {
  width: 100%; border: 1px solid var(--line); padding: 12px 14px; background: #fff; color: var(--ink);
}
textarea { min-height: 140px; resize: vertical; }
.note { background: var(--wash); padding: 16px 18px; margin: 16px 0; }

/* Lookbook / collection */
.look-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.look-card { position: relative; min-height: 360px; overflow: hidden; display: flex; align-items: flex-end; background: #222 center/cover no-repeat; color: #fff; }
.look-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent, rgba(0,0,0,.5)); }
.look-card .inner { position: relative; z-index: 1; padding: 28px; }
.look-card h2 { color: #fff; }

/* Story */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.value { background: var(--wash); padding: 28px; }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; }
.info-block { margin-bottom: 28px; }
.accordion .item { border-bottom: 1px solid var(--line); }
.accordion button { width: 100%; text-align: left; background: none; border: 0; padding: 16px 0; cursor: pointer; font-family: var(--font-head); font-size: 1rem; color: var(--ink); display: flex; justify-content: space-between; }
.accordion .panel { display: none; padding: 0 0 16px; }
.accordion .item.is-open .panel { display: block; }

/* Footer */
.site-footer { background: var(--white); border-top: 1px solid var(--line); padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { font-size: 1rem; margin-bottom: 16px; }
.footer-grid a { display: block; color: var(--muted); padding: 4px 0; }
.footer-grid a:hover { color: var(--olive); }
.legal { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.social { display: flex; gap: 12px; margin-top: 12px; }
.social a { color: var(--ink); }
.social svg { width: 18px; height: 18px; }

/* Quick view */
.qv {
  display: none; position: fixed; inset: 0; z-index: 1400; place-items: center; padding: 20px;
}
body.qv-open .qv { display: grid; }
.qv-card {
  background: #fff; width: min(860px, 96%); display: grid; grid-template-columns: 1fr 1fr;
  max-height: 90vh; overflow: auto; position: relative; z-index: 2;
}
.qv-card img { width: 100%; height: 100%; object-fit: cover; background: var(--wash); }
.qv-body { padding: 28px; }
.qv-close { position: absolute; top: 8px; right: 10px; z-index: 3; background: #fff; }

/* 404 */
.not-found { text-align: center; padding: 80px 0; }
.not-found h1 { font-size: clamp(4rem, 10vw, 8rem); margin: 0; color: var(--olive); }

@media (max-width: 992px) {
  .header-inner {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 80px;
    align-items: center;
    position: relative;
  }
  .logo { position: static; transform: none; margin: 0; justify-self: center; grid-column: 2; }
  nav { grid-column: 1; grid-row: 1; }
  .header-tools { grid-column: 3; grid-row: 1; justify-self: end; gap: 6px; }
  .header-tools a[href="account.html"] { display: none; }
  .nav-toggle { display: block; }
  .nav-menu {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; flex-direction: column; align-items: flex-start;
    padding: 16px 24px 24px; gap: 14px; border-bottom: 1px solid var(--line);
    z-index: 20;
  }
  .site-header { position: sticky; }
  body.nav-open .nav-menu { display: flex; }
  .about-grid, .made-layout, .trust, .shop-layout, .product-layout, .two-col, .contact-grid, .mv, .qv-card {
    grid-template-columns: 1fr;
  }
  .made-layout { text-align: center; }
  .product-grid, .review-grid, .values { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .filter-toggle { display: inline-flex; }
  .filters {
    position: fixed; left: 0; top: 0; bottom: 0; width: min(320px, 88vw);
    background: #fff; z-index: 1300; padding: 20px; overflow: auto;
    transform: translateX(-100%); transition: transform .28s ease;
  }
  body.filters-open .filters { transform: none; }
  .filters .drawer-head .icon-btn { display: inline-flex; }
}
@media (max-width: 640px) {
  .cat-banners, .look-grid, .review-grid, .values, .form-grid, .footer-grid, .trust-icons {
    grid-template-columns: 1fr;
  }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }
  .hero { min-height: 72vh; align-items: flex-end; }
  .hero .container { padding: 40px 0 48px; }
  .section { padding: 56px 0; }
  .header-inner { height: 70px; }
  .logo-text { font-size: .92rem; letter-spacing: .16em; }
  .header-tools { gap: 8px; }
  .announce { font-size: .72rem; }
  .press-row { justify-content: center; }
  .press-logos { justify-content: center; }
  .shop-toolbar { flex-direction: column; align-items: stretch; }
  .container { width: min(100% - 28px, var(--max)); }
}
