/* ============================================
   MOS MOODY — shared brand stylesheet v3
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,700;0,9..144,900;1,9..144,500&family=Work+Sans:wght@400;500;600;700&display=swap');

:root{
  --olive: #728063;
  --olive-deep: #5C6850;
  --stone: #D9D1C3;
  --stone-soft: #E4DECF;
  --charcoal: #363435;
  --ink: #2A2724;
  --white: #FBF9F4;

  --font-display: 'Fraunces', serif;
  --font-body: 'Work Sans', sans-serif;

  --max-width: 1240px;
}

*{ box-sizing: border-box; margin:0; padding:0; }
body{ font-family: var(--font-body); color: var(--ink); background: var(--white); line-height: 1.5; }
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
.wrap{ max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }

/* ---------- Announcement bar ---------- */
.announce{ background: var(--ink); color: var(--stone-soft); text-align: center; font-size: 13px; font-weight: 600; letter-spacing: 0.5px; padding: 10px 16px; }

/* ---------- Header / Nav ---------- */
.site-header{ position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid rgba(42,39,36,0.08); }
.nav{ max-width: var(--max-width); margin: 0 auto; padding: 18px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav .logo-link{ display: flex; align-items: center; gap: 10px; }
.nav .logo-link img{ height: 36px; width: auto; }
.nav .logo-link span{ font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: 1px; }
.nav-links{ display: flex; gap: 30px; list-style: none; font-size: 13px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; flex: 1; justify-content: center; }
.nav-links a{ padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color 0.2s; }
.nav-links a:hover, .nav-links a.active{ border-color: var(--olive); }
.nav-icons{ display: flex; align-items: center; gap: 18px; }
.nav-icons a{ display: flex; align-items: center; justify-content: center; color: var(--ink); position: relative; }
.nav-icons svg{ width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.cart-count{
  position: absolute; top: -8px; right: -10px;
  background: var(--olive); color: var(--white);
  font-size: 10px; font-weight: 700;
  width: 16px; height: 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.nav-toggle{ display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span{ width: 22px; height: 2px; background: var(--ink); }

@media (max-width: 800px){
  .nav-toggle{ display: flex; }
  .nav-links{ position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; gap: 0; padding: 0; max-height: 0; overflow: hidden; transition: max-height 0.25s ease; border-bottom: 1px solid rgba(42,39,36,0.08); }
  .nav-links.open{ max-height: 300px; }
  .nav-links li{ width: 100%; }
  .nav-links a{ display: block; padding: 16px 32px; border-bottom: 1px solid rgba(42,39,36,0.06); }
}

/* ---------- Buttons ---------- */
.btn{ display: inline-block; font-family: var(--font-body); font-weight: 600; font-size: 13px; letter-spacing: 0.5px; text-transform: uppercase; padding: 15px 32px; cursor: pointer; border: 1.5px solid var(--ink); background: var(--ink); color: var(--white); transition: transform 0.15s ease, opacity 0.15s ease; }
.btn:hover{ opacity: 0.85; }
.btn-outline{ background: transparent; color: var(--ink); }
.btn-light{ background: var(--white); border-color: var(--white); color: var(--ink); }
.btn-block{ width: 100%; text-align: center; }
.btn-sm{ padding: 10px 18px; font-size: 12px; }
.btn:disabled{ opacity: 0.5; cursor: not-allowed; }

/* ---------- Section basics ---------- */
section{ padding: 84px 0; }
.section-head{ display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; gap: 24px; }
.section-head-center{ text-align: center; display: block; }
.eyebrow{ font-size: 12px; letter-spacing: 4px; text-transform: uppercase; color: var(--olive-deep); font-weight: 700; margin-bottom: 12px; }
h1, h2, h3{ font-family: var(--font-display); font-weight: 700; letter-spacing: -0.5px; color: var(--ink); }
h2{ font-size: 34px; }
.section-sub{ max-width: 480px; color: rgba(42,39,36,0.72); font-size: 16px; }
.section-head-center .section-sub{ margin: 0 auto; }
.shop-all-link{ font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 1.5px solid var(--ink); white-space: nowrap; padding-bottom: 2px; }

/* ---------- Hero (home) ---------- */
.hero{ position: relative; height: 78vh; min-height: 560px; max-height: 780px; background-size: cover; background-position: center; display: flex; align-items: flex-end; }
.hero::after{ content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(42,39,36,0.65) 0%, rgba(42,39,36,0.05) 55%, rgba(42,39,36,0.25) 100%); }
.hero-content{ position: relative; z-index: 2; color: var(--white); max-width: 640px; padding: 0 32px 72px; margin: 0 auto; width: 100%; text-align: center; }
.hero-content .eyebrow{ color: var(--stone-soft); }
.hero-content h1{ color: var(--white); font-size: 64px; line-height: 1.02; margin-bottom: 20px; }
.hero-content h1 em{ font-style: italic; font-weight: 500; color: var(--stone); }
.hero-content p{ font-size: 18px; margin-bottom: 30px; color: rgba(251,249,244,0.92); }
.hero .btn{ background: var(--stone-soft); border-color: var(--stone-soft); color: var(--ink); }

/* ---------- Category tiles (2-up, apparel/accessories) ---------- */
.category-grid-2{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 700px){ .category-grid-2{ grid-template-columns: 1fr; } }
.category-tile{ position: relative; aspect-ratio: 16/10; overflow: hidden; display: block; }
.category-tile img{ width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.category-tile:hover img{ transform: scale(1.05); }
.category-tile::after{ content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(42,39,36,0.7) 0%, rgba(42,39,36,0.05) 45%); }
.category-tile .tile-text{ position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 2; display: flex; flex-direction: column; gap: 6px; }
.category-tile .label{ color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 26px; }
.category-tile .sub-label{ color: rgba(251,249,244,0.85); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }

/* ---------- Product grid ---------- */
.product-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 24px; }
@media (max-width: 1000px){ .product-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .product-grid{ grid-template-columns: 1fr; } }
.product-card{ background: var(--white); display: flex; flex-direction: column; height: 100%; }
.product-card .thumb{ aspect-ratio: 1 / 1; overflow: hidden; background: var(--stone-soft); }
.product-card .thumb img{ width: 100%; height: 100%; object-fit: cover; }
.product-info{ padding: 14px 2px 0; display: flex; flex-direction: column; flex: 1; }
.product-info .name{ font-family: var(--font-display); font-weight: 700; font-size: 16px; margin-bottom: 3px; }
.product-info .colorway{ font-size: 12px; color: rgba(42,39,36,0.55); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }

/* Swatches */
.swatches{ display: flex; gap: 8px; margin-bottom: 12px; }
.swatch{
  width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid rgba(42,39,36,0.15);
  cursor: pointer;
  padding: 0;
  position: relative;
}
.swatch.active{ border-color: var(--ink); box-shadow: 0 0 0 2px var(--white), 0 0 0 3px var(--ink); }
.swatch[data-color="olive"]{ background: #728063; }
.swatch[data-color="stone"]{ background: #D9D1C3; }
.swatch[data-color="charcoal"]{ background: #363435; }
.swatch[data-color="black"]{ background: #111111; }
.swatch[data-color="navy"]{ background: #1D242D; }

.product-info .price-row{ display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; }
.product-info .price{ font-weight: 700; font-size: 15px; }
.add-cart-btn{
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
  padding: 9px 14px; border: 1.5px solid var(--ink); background: var(--ink); color: var(--white);
  cursor: pointer; white-space: nowrap; transition: opacity 0.15s ease;
}
.add-cart-btn:hover{ opacity: 0.85; }
.add-cart-btn.added{ background: var(--olive); border-color: var(--olive); }

/* ---------- Promo banner ---------- */
.promo{ position: relative; min-height: 420px; background-size: cover; background-position: center; display: flex; align-items: center; }
.promo::after{ content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(42,39,36,0.6) 0%, rgba(42,39,36,0.15) 55%, transparent 100%); }
.promo-content{ position: relative; z-index: 2; max-width: var(--max-width); margin: 0 auto; width: 100%; padding: 0 32px; color: var(--white); }
.promo-content .eyebrow{ color: var(--stone-soft); }
.promo-content h2{ color: var(--white); font-size: 38px; max-width: 380px; margin-bottom: 20px; }

/* ---------- Marquee ---------- */
.marquee-section{ padding: 0; overflow: hidden; background: var(--stone-soft); }
.marquee{ display: flex; width: max-content; animation: scroll-left 32s linear infinite; }
.marquee img{ height: 220px; width: 220px; object-fit: cover; margin-right: 4px; }
@keyframes scroll-left{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }

/* ---------- Instagram grid ---------- */
.insta-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
@media (max-width: 700px){ .insta-grid{ grid-template-columns: repeat(2, 1fr); } }
.insta-grid a{ position: relative; aspect-ratio: 1/1; overflow: hidden; display: block; }
.insta-grid img{ width: 100%; height: 100%; object-fit: cover; }
.insta-grid .overlay{ position: absolute; inset: 0; background: rgba(42,39,36,0.35); opacity: 0; transition: opacity 0.2s; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 20px; }
.insta-grid a:hover .overlay{ opacity: 1; }

/* ---------- Reviews ---------- */
.review-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 900px){ .review-grid{ grid-template-columns: 1fr; } }
.review-card{ background: var(--stone-soft); padding: 30px; }
.review-card .stars{ color: var(--olive-deep); letter-spacing: 2px; margin-bottom: 14px; font-size: 15px; }
.review-card p{ font-size: 15px; color: rgba(42,39,36,0.85); margin-bottom: 18px; }
.review-card .name{ font-weight: 700; font-size: 13px; }

/* ---------- Review submission form ---------- */
.review-form-box{
  max-width: 560px;
  margin: 56px auto 0;
  text-align: center;
  background: var(--white);
  padding: 40px;
  border: 1px solid rgba(42,39,36,0.1);
}
.review-form-box h3{ font-size: 22px; margin-bottom: 6px; }
.review-form-row{ display: flex; gap: 12px; margin-bottom: 12px; }
.review-form-row input, .review-form-row select{
  flex: 1;
  padding: 12px 14px;
  border: 1px solid rgba(42,39,36,0.2);
  font-family: var(--font-body);
  font-size: 14px;
  background: var(--white);
}
#review-text{
  width: 100%;
  min-height: 90px;
  padding: 12px 14px;
  margin-bottom: 16px;
  border: 1px solid rgba(42,39,36,0.2);
  font-family: var(--font-body);
  font-size: 14px;
  resize: vertical;
  background: var(--white);
}
@media (max-width: 560px){ .review-form-row{ flex-direction: column; } }

/* ---------- Newsletter ---------- */
.newsletter{ background: var(--charcoal); color: var(--stone-soft); text-align: center; }
.newsletter h2{ color: var(--white); }
.newsletter .section-sub{ color: rgba(228,222,207,0.75); margin: 0 auto; }
.newsletter-form{ display: flex; max-width: 420px; margin: 28px auto 0; gap: 0; }
.newsletter-form input{ flex: 1; padding: 14px 16px; border: 1.5px solid rgba(228,222,207,0.3); background: transparent; color: var(--white); font-family: var(--font-body); font-size: 14px; }
.newsletter-form input::placeholder{ color: rgba(228,222,207,0.5); }
.newsletter-form button{ border: 1.5px solid var(--stone-soft); background: var(--stone-soft); color: var(--ink); }
.newsletter-note{ font-size: 12px; color: rgba(228,222,207,0.55); margin-top: 14px; }

/* ---------- Trust strip ---------- */
.trust-strip{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; border-top: 1px solid rgba(42,39,36,0.1); border-bottom: 1px solid rgba(42,39,36,0.1); padding: 28px 0; }
@media (max-width: 700px){ .trust-strip{ grid-template-columns: 1fr; } }
.trust-strip div{ text-align: center; }
.trust-strip h4{ font-family: var(--font-display); font-size: 16px; margin-bottom: 6px; }
.trust-strip p{ font-size: 13px; color: rgba(42,39,36,0.65); }

/* ---------- Footer ---------- */
footer{ background: var(--olive); color: var(--stone-soft); padding: 56px 0 28px; }
.footer-grid{ display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 800px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
.footer-grid h4{ font-family: var(--font-body); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; color: var(--white); }
.footer-grid ul{ list-style: none; }
.footer-grid li{ margin-bottom: 8px; font-size: 14px; }
.footer-brand .logo-link{ margin-bottom: 14px; }
.footer-brand img{ height: 32px; }
.footer-brand p{ font-size: 14px; max-width: 300px; color: rgba(251,249,244,0.85); }
.footer-bottom{ border-top: 1px solid rgba(251,249,244,0.25); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12px; letter-spacing: 0.5px; color: rgba(251,249,244,0.7); }

/* ---------- Page header ---------- */
.page-header{ background: var(--stone-soft); text-align: center; padding: 60px 0 52px; }
.page-header h1{ font-size: 40px; }

/* ---------- About page ---------- */
.about-split{ display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 800px){ .about-split{ grid-template-columns: 1fr; } }
.about-split img{ width: 100%; height: auto; }
.about-split h2{ margin-bottom: 20px; }
.about-split p{ margin-bottom: 16px; color: rgba(42,39,36,0.85); font-size: 16px; }
.about-split p em{ color: var(--olive-deep); font-style: italic; }

/* ---------- Checkout ---------- */
.checkout-layout{ display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px){ .checkout-layout{ grid-template-columns: 1fr; } }
.order-list{ border: 1px solid rgba(42,39,36,0.12); }
.order-item{ display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-bottom: 1px solid rgba(42,39,36,0.1); }
.order-item:last-child{ border-bottom: none; }
.order-item img{ width: 56px; height: 56px; object-fit: cover; flex-shrink: 0; }
.order-item .oi-name{ font-weight: 600; font-size: 15px; }
.order-item .oi-color{ font-size: 12px; color: rgba(42,39,36,0.6); text-transform: uppercase; letter-spacing: 0.5px; }
.order-item .oi-price{ font-weight: 700; font-size: 14px; margin-left: auto; white-space: nowrap; }
.order-item .oi-qty{ width: 48px; padding: 6px; border: 1px solid rgba(42,39,36,0.2); text-align: center; font-family: var(--font-body); }
.order-item .oi-remove{ font-size: 12px; color: rgba(42,39,36,0.5); text-decoration: underline; cursor: pointer; white-space: nowrap; }
.empty-cart{ padding: 48px 24px; text-align: center; color: rgba(42,39,36,0.7); }
.empty-cart .btn{ margin-top: 18px; }
.summary-row{ display: flex; justify-content: space-between; padding: 10px 20px; font-size: 14px; color: rgba(42,39,36,0.75); }
.order-total{ display: flex; justify-content: space-between; align-items: center; padding: 20px; background: var(--stone-soft); font-weight: 700; font-size: 18px; }
.delivery-note{ font-size: 12.5px; color: var(--olive-deep); padding: 0 20px 16px; }
.form-box, .payment-box{ border: 1px solid rgba(42,39,36,0.12); padding: 28px; margin-bottom: 28px; }
.form-box h3, .payment-box h3{ margin-bottom: 18px; font-size: 20px; }
.field{ margin-bottom: 16px; }
.field label{ display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; letter-spacing: 0.3px; }
.field input, .field textarea{ width: 100%; padding: 12px 14px; border: 1px solid rgba(42,39,36,0.2); font-family: var(--font-body); font-size: 14px; background: var(--white); }
.field textarea{ resize: vertical; min-height: 80px; }
.payment-box .bank-row{ display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed rgba(42,39,36,0.15); font-size: 14px; }
.payment-box .bank-row:last-child{ border-bottom: none; }
.payment-box .bank-row span:first-child{ color: rgba(42,39,36,0.6); }
.payment-box .bank-row span:last-child{ font-weight: 600; }
.payment-note{ font-size: 13px; color: rgba(42,39,36,0.7); margin-top: 16px; line-height: 1.6; }
.edit-flag{ background: #F3E4C8; color: #7A5A17; font-size: 11px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; padding: 2px 6px; margin-left: 6px; }
