/*
Theme Name: BULA247
Theme URI: https://bula247.com
Author: BULA247
Author URI: https://bula247.com
Description: Premium men's footwear storefront theme for BULA247 — deep emerald + white editorial aesthetic with Sora display and Inter body type. Replicates the original React storefront: hero, BULA247 Edit, Find Your Pair, Featured This Week, What's Your Move, Most Wanted, craft story and closing CTA sections, plus a shop collection grid.
Version: 1.0.0
Requires at least: 5.5
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bula247
Tags: e-commerce, fashion, two-columns, custom-menu, featured-images, translation-ready
*/

/* ------------------------------------------------------------------
   BULA247 — WordPress theme styles
   Plain CSS port of the original Tailwind-based React storefront.
   ------------------------------------------------------------------ */

:root {
  --forest: #063b28;
  --emerald: #0b5d3b;
  --fresh: #1b7a4b;
  --mist: #f2f8f4;
  --gold: #c7a75b;
  --charcoal: #171717;
  --border: #d9e3dc;
  --muted: #6b7a72;
  --radius: 0.25rem;
  --maxw: 72rem;
  --maxw-wide: 80rem;
  --maxw-narrow: 56rem;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  background: #ffffff;
  color: var(--charcoal);
  line-height: 1.6;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }

.font-display { font-family: "Sora", ui-sans-serif, system-ui, sans-serif; }

/* Layout helpers */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
.container-wide { max-width: var(--maxw-wide); }
.container-narrow { max-width: var(--maxw-narrow); }
@media (min-width: 768px) { .container, .container-wide, .container-narrow { padding: 0 2rem; } }

.eyebrow {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.4em; color: var(--gold); margin: 0;
}
.section { padding: 5rem 0; }
@media (min-width: 768px) { .section { padding: 7rem 0; } }

/* Edge label */
.edge-label {
  writing-mode: vertical-rl; letter-spacing: 0.35em;
  font-size: 0.625rem; font-weight: 600; text-transform: uppercase;
  color: rgba(27,122,75,0.5);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  height: 3rem; padding: 0 2rem; font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.22em; transition: all 0.2s ease;
  border-radius: var(--radius);
}
.btn-primary { background: var(--emerald); color: #fff; }
.btn-primary:hover { background: var(--forest); }
.btn-outline { border: 1px solid rgba(255,255,255,0.4); color: #fff; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
.btn-light { background: #fff; color: var(--forest); }
.btn-light:hover { background: var(--gold); }
.btn:active { transform: scale(0.98); }

/* ---------- Header ---------- */
.site-header { position: relative; }
.announce {
  background: var(--forest); color: #fff; text-align: center;
  font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.25em;
  padding: 0.5rem 1.25rem;
}
.nav-wrap {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 80rem; margin: 0 auto; padding: 0 1.25rem;
  height: 4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
@media (min-width: 768px) { .nav-inner { padding: 0 2rem; } }
.logo {
  font-family: "Sora", sans-serif; font-size: 1.5rem; font-weight: 800;
  letter-spacing: 0.16em; color: var(--forest);
}
.logo span { color: var(--fresh); }
.nav-desktop { display: none; gap: 1.25rem; }
.nav-desktop a {
  font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--charcoal); transition: color 0.2s;
}
.nav-desktop a:hover { color: var(--fresh); }
@media (min-width: 1280px) { .nav-desktop { display: flex; } }
.nav-actions { display: flex; align-items: center; gap: 0.25rem; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; color: var(--charcoal); transition: color 0.2s;
}
.icon-btn:hover { color: var(--fresh); }
.icon-btn svg { width: 1.25rem; height: 1.25rem; }
.cart-count {
  position: absolute; top: 0.125rem; right: 0.125rem;
  background: var(--emerald); color: #fff; font-size: 0.5625rem; font-weight: 700;
  min-width: 1rem; height: 1rem; border-radius: 999px; padding: 0 0.25rem;
  display: flex; align-items: center; justify-content: center;
}
.menu-toggle { display: inline-flex; }
@media (min-width: 1280px) { .menu-toggle { display: none; } }

/* Mobile menu */
.mobile-menu { display: none; border-bottom: 1px solid var(--border); background: #fff; padding: 1rem 1.25rem; }
.mobile-menu.open { display: block; }
@media (min-width: 1280px) { .mobile-menu { display: none !important; } }
.mobile-menu .menu-label { font-size: 0.625rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3em; color: var(--gold); }
.mobile-menu ul.divide > li { border-top: 1px solid var(--border); }
.mobile-menu ul.divide > li:first-child { border-top: 0; }
.mobile-menu ul.divide a, .mobile-menu ul.divide button {
  display: block; width: 100%; text-align: left; padding: 0.75rem 0;
  font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: var(--charcoal);
}
.mobile-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-top: 0.75rem; }
.mobile-cats a {
  background: var(--mist); padding: 0.625rem 0.75rem;
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; color: var(--forest);
}

/* ---------- Hero ---------- */
.hero {
  position: relative; display: flex; flex-direction: column;
  min-height: 92dvh; overflow: hidden; background: var(--forest); color: #fff;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, var(--forest), rgba(6,59,40,0.4) 45%, rgba(6,59,40,0.2)); }
.hero-content {
  position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto;
  flex: 1; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 8rem 1.25rem 4rem; width: 100%;
}
@media (min-width: 768px) { .hero-content { padding: 8rem 2rem 4rem; } }
.hero h1 {
  font-family: "Sora", sans-serif; font-weight: 800; line-height: 0.92; letter-spacing: -0.02em;
  font-size: 3rem; margin: 1.25rem 0 0; max-width: 32rem;
}
@media (min-width: 768px) { .hero h1 { font-size: 4.5rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 5.5rem; } }
.hero p.lead { margin: 1.5rem 0 0; max-width: 28rem; color: rgba(255,255,255,0.8); }
.hero-ctas { margin-top: 2.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .hero-ctas { flex-direction: row; } }

/* ---------- BULA247 Edit ---------- */
.edit-head { max-width: 42rem; }
.edit-head h2, .find-head h2, .featured-head h2, .wanted-head h2, .craft-title, .closing h2 {
  font-family: "Sora", sans-serif; font-weight: 800; line-height: 1.05;
  color: var(--forest); font-size: 2.25rem; margin: 1rem 0 0;
}
@media (min-width: 768px) { .edit-head h2, .find-head h2, .featured-head h2, .wanted-head h2, .craft-title, .closing h2 { font-size: 3rem; } }
.edit-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 3rem; }
@media (min-width: 640px) { .edit-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .edit-grid { grid-template-columns: repeat(4, 1fr); } }
.edit-card { position: relative; overflow: hidden; background: var(--mist); }
.edit-card .img-wrap { position: relative; aspect-ratio: 3/4; overflow: hidden; }
.edit-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.edit-card:hover img { transform: scale(1.05); }
.edit-card .grad { position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,59,40,0.85), rgba(6,59,40,0.1), transparent); }
.edit-card .copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.25rem; color: #fff; }
.edit-card .copy h3 { font-family: "Sora", sans-serif; font-size: 1.25rem; font-weight: 700; margin: 0; }
.edit-card .copy p { margin: 0.375rem 0 0; font-size: 0.875rem; color: rgba(255,255,255,0.8); }
.edit-card .copy a { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1rem; font-size: 0.625rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.22em; color: #fff; }
.edit-card .copy a:hover { color: var(--gold); }

/* ---------- Find Your Pair ---------- */
.find-section { background: var(--mist); }
.find-head { text-align: center; }
.find-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3rem; }
@media (min-width: 640px) { .find-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .find-grid { grid-template-columns: repeat(5, 1fr); } }
.cat-card { position: relative; display: block; overflow: hidden; background: #fff; }
.cat-card .img-wrap { position: relative; aspect-ratio: 1/1; overflow: hidden; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.cat-card:hover img { transform: scale(1.07); }
.cat-card .grad { position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,59,40,0.7), transparent); opacity: 0.8; transition: opacity 0.3s; }
.cat-card:hover .grad { opacity: 1; }
.cat-card .copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem; color: #fff; display: flex; align-items: flex-end; justify-content: space-between; }
.cat-card .copy h3 { font-family: "Sora", sans-serif; font-size: 0.875rem; font-weight: 700; text-transform: uppercase; margin: 0; }
@media (min-width: 768px) { .cat-card .copy h3 { font-size: 1rem; } }
.cat-card .copy .shop-now { font-size: 0.625rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; color: var(--gold); margin-top: 0.25rem; }
.cat-card .copy svg { width: 1rem; height: 1rem; transition: transform 0.3s; }
.cat-card:hover .copy svg { transform: translateX(0.25rem); }

/* ---------- Featured / Product grid ---------- */
.featured-head { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 768px) { .featured-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.view-all { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.22em; color: var(--emerald); }
.view-all:hover { color: var(--forest); }
.tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; border-bottom: 1px solid var(--border); margin-top: 2rem; }
.tab {
  position: relative; padding: 0.75rem 1rem; font-size: 0.6875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted); transition: color 0.2s;
}
.tab:hover { color: var(--charcoal); }
.tab.active { color: var(--forest); }
.tab.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--emerald); }

.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.25rem; margin-top: 2.5rem; }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(4, 1fr); gap: 2.5rem 1.25rem; } }
.shop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1.5rem; margin-top: 3.5rem; }
@media (min-width: 1024px) { .shop-grid { grid-template-columns: repeat(3, 1fr); gap: 3rem 1.5rem; } }

/* Product card */
.product-card { position: relative; display: flex; flex-direction: column; }
.product-card .media { position: relative; overflow: hidden; background: var(--mist); }
.product-card .media a { display: block; }
.product-card .media img.main { aspect-ratio: 4/5; width: 100%; object-fit: cover; transition: transform 0.7s ease; }
.product-card:hover .media img.main { transform: scale(1.06); }
.product-card .badges { position: absolute; left: 0.75rem; top: 0.75rem; display: flex; flex-direction: column; gap: 0.5rem; pointer-events: none; }
.badge { padding: 0.25rem 0.625rem; font-size: 0.625rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; color: #fff; }
.badge-forest { background: var(--forest); }
.badge-sale { background: var(--emerald); font-weight: 700; letter-spacing: 0.15em; }
.badge-sold { background: #fff; color: var(--charcoal); }
.wish-btn {
  position: absolute; right: 0.75rem; top: 0.75rem; width: 2.25rem; height: 2.25rem;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(4px); color: var(--charcoal); transition: background 0.2s;
}
.wish-btn:hover { background: #fff; }
.wish-btn svg { width: 1rem; height: 1rem; }
.product-card .info { margin-top: 1rem; display: flex; flex-1; flex-direction: column; }
.product-card .num { font-size: 0.625rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3em; color: var(--gold); }
.product-card .sub { margin-top: 0.25rem; font-size: 0.625rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.22em; color: var(--muted); }
.product-card h3 { font-family: "Sora", sans-serif; font-size: 1.125rem; font-weight: 700; line-height: 1.2; margin: 0.25rem 0 0; }
.product-card h3 a:hover { color: var(--fresh); }
.product-card .price { margin-top: 0.5rem; display: flex; align-items: baseline; gap: 0.5rem; }
.product-card .price .now { font-size: 0.875rem; font-weight: 700; color: var(--forest); }
.product-card .price .was { font-size: 0.75rem; color: var(--muted); text-decoration: line-through; }
.product-card .sizes { margin-top: 0.75rem; display: flex; flex-wrap: wrap; gap: 0.375rem; }
.size-chip { display: inline-flex; align-items: center; justify-content: center; min-width: 1.75rem; height: 1.75rem; padding: 0 0.375rem; border: 1px solid var(--border); font-size: 0.625rem; font-weight: 600; color: var(--muted); }

/* ---------- What's Your Move ---------- */
.move-section { background: var(--forest); color: #fff; }
.move-head { text-align: center; }
.move-head h2 { color: #fff; }
.move-head p { max-width: 36rem; margin: 1rem auto 0; color: rgba(255,255,255,0.75); }
.move-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 3rem; }
@media (min-width: 640px) { .move-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .move-grid { grid-template-columns: repeat(4, 1fr); } }
.move-card {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  min-height: 13.75rem; padding: 1.5rem; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.05); transition: all 0.2s;
}
.move-card:hover { border-color: var(--gold); background: rgba(255,255,255,0.1); }
.move-card .top { display: flex; align-items: flex-start; justify-content: space-between; }
.move-card h3 { font-family: "Sora", sans-serif; font-size: 1.5rem; font-weight: 700; margin: 0; }
.move-card p { margin: 1rem 0 0; font-size: 0.875rem; color: rgba(255,255,255,0.7); }
.move-card .find { margin-top: 1.5rem; font-size: 0.625rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.22em; color: var(--gold); }
.move-card svg { width: 1.25rem; height: 1.25rem; color: var(--gold); transition: transform 0.3s; }
.move-card:hover svg { transform: translateX(0.25rem); }

/* ---------- Most Wanted ---------- */
.wanted-section { background: var(--mist); }
.wanted-head { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 768px) { .wanted-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.wanted-head p { max-width: 28rem; color: rgba(23,23,23,0.7); margin: 0.75rem 0 0; }

/* ---------- Craft story ---------- */
.story-section { position: relative; background: var(--mist); padding: 6rem 0; }
.story-inner { max-width: 56rem; margin: 0 auto; text-align: center; padding: 0 1.25rem; }
@media (min-width: 768px) { .story-inner { padding: 0 2rem; } }
.story-quote { font-family: "Sora", sans-serif; font-weight: 500; line-height: 1.3; color: var(--forest); font-size: 2.25rem; margin: 2rem 0 0; }
@media (min-width: 768px) { .story-quote { font-size: 3rem; } }
.story-body { max-width: 36rem; margin: 2rem auto 0; color: rgba(23,23,23,0.7); }

.craft-section { position: relative; background: #fff; padding: 6rem 0; }
.craft-grid { max-width: var(--maxw); margin: 0 auto; display: grid; gap: 2.5rem; padding: 0 1.25rem; }
@media (min-width: 768px) { .craft-grid { grid-template-columns: 1fr 1fr; padding: 0 2rem; } }
.craft-grid figure { margin: 0; }
.craft-grid figure img { aspect-ratio: 3/4; width: 100%; object-fit: cover; }
.craft-grid figure.wide img { aspect-ratio: 4/3; }
.craft-grid figcaption { margin-top: 0.75rem; font-size: 0.625rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3em; color: var(--muted); }
.craft-title { margin-top: 2.5rem; }
.craft-body { max-width: 28rem; margin: 1.5rem 0 0; color: rgba(23,23,23,0.7); }
.values { max-width: var(--maxw); margin: 5rem auto 0; display: grid; border-top: 1px solid var(--border); padding: 0 1.25rem; }
@media (min-width: 768px) { .values { grid-template-columns: repeat(3, 1fr); padding: 0 2rem; } }
.value { display: flex; gap: 1rem; padding: 2rem 0; }
@media (min-width: 768px) { .value { padding: 2.5rem 2rem; border-left: 1px solid var(--border); } }
@media (min-width: 768px) { .value:first-child { border-left: 0; padding-left: 0; } }
.value svg { width: 1.25rem; height: 1.25rem; color: var(--fresh); flex-shrink: 0; margin-top: 0.25rem; }
.value h3 { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; color: var(--forest); margin: 0; }
.value p { margin: 0.5rem 0 0; font-size: 0.875rem; color: var(--muted); }

/* ---------- Closing CTA ---------- */
.closing { background: var(--emerald); color: #fff; text-align: center; padding: 6rem 0; }
.closing .inner { max-width: 48rem; margin: 0 auto; padding: 0 1.25rem; }
.closing h2 { color: #fff; font-size: 3rem; }
@media (min-width: 768px) { .closing h2 { font-size: 3.75rem; } }
.closing p { max-width: 28rem; margin: 1.5rem auto 0; color: rgba(255,255,255,0.75); }
.closing .btn { margin-top: 2.5rem; }

/* ---------- Shop page ---------- */
.shop-hero { text-align: center; }
.shop-hero h1 { font-family: "Sora", sans-serif; font-size: 3rem; font-weight: 600; color: var(--forest); margin: 1rem 0 0; }
@media (min-width: 768px) { .shop-hero h1 { font-size: 3.75rem; } }
.shop-hero .count { margin-top: 1rem; font-size: 0.875rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest); color: #fff; }
.footer-grid { max-width: var(--maxw); margin: 0 auto; display: grid; gap: 3rem; padding: 4rem 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; padding: 4rem 2rem; } }
.footer-brand { font-family: "Sora", sans-serif; font-size: 1.875rem; font-weight: 700; letter-spacing: 0.18em; }
.footer-brand span { color: var(--gold); }
.footer-tag { max-width: 24rem; margin-top: 1rem; font-size: 0.875rem; color: rgba(255,255,255,0.7); }
.footer-col h4 { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.25em; color: var(--gold); margin: 0; }
.footer-col ul { margin-top: 1rem; }
.footer-col li { margin-bottom: 0.75rem; }
.footer-col a, .footer-col li { font-size: 0.875rem; color: rgba(255,255,255,0.8); }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom-inner { max-width: var(--maxw); margin: 0 auto; display: flex; flex-direction: column; gap: 0.5rem; padding: 1.5rem 1.25rem; font-size: 0.75rem; color: rgba(255,255,255,0.5); }
@media (min-width: 768px) { .footer-bottom-inner { flex-direction: row; align-items: center; justify-content: space-between; padding: 1.5rem 2rem; } }
.footer-bottom .tag { text-transform: uppercase; letter-spacing: 0.2em; }

/* ---------- WhatsApp button ---------- */
.wa-button {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 50;
  display: inline-flex; align-items: center; justify-content: center;
  width: 3.5rem; height: 3.5rem; border-radius: 999px; background: #25d366; color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18); transition: transform 0.2s;
}
.wa-button:hover { transform: scale(1.05); }
.wa-button svg { width: 1.75rem; height: 1.75rem; }
.wa-dot { position: absolute; top: 0.25rem; right: 0.25rem; width: 0.625rem; height: 0.625rem; background: #ff3b30; border-radius: 999px; border: 2px solid #fff; }

/* ---------- Cart page ---------- */
.cart-page { padding: 4rem 0; }
.cart-head { text-align: center; }
.cart-head h1 { font-family: "Sora", sans-serif; font-size: 3rem; font-weight: 600; color: var(--forest); margin: 1rem 0 0; }
.cart-empty { margin-top: 4rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; }
.cart-empty svg { width: 2.5rem; height: 2.5rem; color: var(--fresh); }
.cart-empty .big { font-family: "Sora", sans-serif; font-size: 1.5rem; color: var(--forest); }
.cart-empty .small { max-width: 24rem; font-size: 0.875rem; color: var(--muted); }
.cart-layout { max-width: 64rem; margin: 3rem auto 0; display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .cart-layout { grid-template-columns: 2fr 1fr; } }
.cart-lines { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cart-line { display: flex; gap: 1.25rem; padding: 1.5rem 0; border-top: 1px solid var(--border); }
.cart-line:first-child { border-top: 0; }
.cart-line .thumb { width: 6rem; height: 7rem; flex-shrink: 0; overflow: hidden; background: var(--mist); }
.cart-line .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-summary { background: var(--mist); padding: 1.5rem; height: fit-content; }
.cart-summary h2 { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.25em; color: var(--forest); margin: 0; }
.cart-summary .row { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border); margin-top: 1rem; padding-top: 1rem; }
.cart-summary .total { font-family: "Sora", sans-serif; font-size: 1.5rem; font-weight: 600; color: var(--forest); }
.cart-summary .note { font-size: 0.75rem; color: var(--muted); margin-top: 0.25rem; }
.cart-summary .btn { width: 100%; margin-top: 1.5rem; }

/* ---------- Checkout return pages ---------- */
.return-page { text-align: center; padding: 6rem 0; }
.return-page h1 { font-family: "Sora", sans-serif; font-size: 2.5rem; font-weight: 600; color: var(--forest); margin: 1rem 0 0; }
.return-page p { max-width: 32rem; margin: 1rem auto 0; color: var(--muted); }
.return-page .btn { margin-top: 2rem; }

/* ---------- Responsive nav search ---------- */
.search-panel { display: none; border-top: 1px solid var(--border); background: #fff; padding: 1rem 1.25rem; }
.search-panel.open { display: block; }
@media (min-width: 768px) { .search-panel { padding: 1rem 2rem; } }
.search-inner { max-width: 80rem; margin: 0 auto; display: flex; align-items: center; gap: 0.75rem; }
.search-inner input { flex: 1; height: 2.5rem; background: transparent; border: 0; outline: none; font-size: 0.875rem; color: var(--charcoal); }
.search-inner input::placeholder { color: var(--muted); }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
