/* ====================================================
   ROR MASTERPIECES — MAIN STYLESHEET
   Design: Premium Green / Gold / White
   Font: Poppins (body), Cormorant Garamond (display)
   ==================================================== */

/* ── Custom Properties ─────────────────────────────── */
:root {
  --green:      #1a6b3a;
  --green-dark: #0d3d22;
  --green-lt:   #f0fdf4;
  --gold:       #c9a84c;
  --gold-lt:    #fef9e7;
  --white:      #ffffff;
  --dark:       #111827;
  --gray-50:    #f8fafc;
  --gray-100:   #f3f4f6;
  --gray-200:   #e5e7eb;
  --gray-400:   #9ca3af;
  --gray-600:   #4b5563;
  --border:     #e5e7eb;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow:     0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 10px 40px rgba(0,0,0,.14);

  --radius:     10px;
  --radius-sm:  6px;
  --radius-lg:  16px;
}

/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  font-size: 15px; line-height: 1.6; color: var(--dark);
  background: var(--white); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button, input, select, textarea { font-family: inherit; }
ul { list-style: none; }

/* ── Typography ────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 {
  font-weight: 700; line-height: 1.2; color: var(--dark);
}
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }
p  { color: var(--gray-600); line-height: 1.75; }

/* ── Layout ─────────────────────────────────────────── */
.container {
  max-width: 1200px; margin: 0 auto;
  padding-left: 20px; padding-right: 20px;
  width: 100%;
}
.responsive-grid-2 { display: grid; grid-template-columns: 1fr 1fr; }
.cart-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; align-items: start; }
.section    { padding: 72px 0; }
.section-sm { padding: 40px 0; }
.section-alt { background: var(--gray-50); }
.section-dark { background: var(--green-dark); }
.text-center { text-align: center; }
.desktop-only { display: block; }

/* ── Section Headers ────────────────────────────────── */
.section-header {
  text-align: center; margin-bottom: 48px;
}
.section-eyebrow {
  display: block; font-size: .72rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  margin-bottom: 14px;
}
.section-sub {
  max-width: 540px; margin: 0 auto;
  color: var(--gray-400); font-size: .9rem;
}

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 22px; border-radius: var(--radius-sm);
  font-size: .875rem; font-weight: 600; cursor: pointer; border: none;
  font-family: inherit; transition: all .18s ease; white-space: nowrap;
  text-decoration: none; line-height: 1.4;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-green { background: var(--green); color: white; }
.btn-green:hover { background: var(--green-dark); }
.btn-gold  { background: var(--gold); color: white; }
.btn-gold:hover { background: #b8943e; }
.btn-outline-green { background: transparent; color: var(--green); border: 2px solid var(--green); }
.btn-outline-green:hover { background: var(--green); color: white; }
.btn-outline-white { background: transparent; color: white; border: 2px solid rgba(255,255,255,.6); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: white; }
.btn-sm  { padding: 6px 14px; font-size: .78rem; }
.btn-lg  { padding: 14px 32px; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }

/* ── Forms ────────────────────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block; font-size: .8rem; font-weight: 600;
  color: var(--dark); margin-bottom: 6px;
}
.form-label .req { color: var(--gold); }
.form-control {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);
  font-size: .875rem; font-family: inherit; color: var(--dark);
  background: white; outline: none; transition: border-color .15s;
}
.form-control:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(26,107,58,.1); }
textarea.form-control { min-height: 100px; resize: vertical; }
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px;
}

/* ── Alerts ───────────────────────────────────────────── */
.alert {
  padding: 12px 16px; border-radius: var(--radius-sm);
  font-size: .875rem; margin-bottom: 16px; border-left: 4px solid;
}
.alert-success { background: #f0fdf4; border-color: #22c55e; color: #166534; }
.alert-error   { background: #fef2f2; border-color: #ef4444; color: #991b1b; }
.alert-warning { background: #fffbeb; border-color: #f59e0b; color: #92400e; }

/* ────────────────────────────────────────────────────────
   HEADER / NAV
────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: white; border-bottom: 1px solid var(--gray-100);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px; gap: 20px;
}
.site-logo {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}
.logo-mark {
  width: 40px; height: 40px; background: var(--green);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-weight: 900; font-size: 1.1rem;
}
.logo-text { font-size: 1.1rem; font-weight: 800; color: var(--dark); line-height: 1.1; }
.logo-text span { display: block; font-size: .6rem; font-weight: 400; color: var(--gray-400); letter-spacing: 1px; text-transform: uppercase; }

/* Main Nav */
.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 6px 12px; border-radius: 6px; font-size: .84rem;
  font-weight: 500; color: var(--gray-600); transition: all .15s; position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--green); }
.nav-link.active::after {
  content: ''; position: absolute; bottom: -2px; left: 12px; right: 12px;
  height: 2px; background: var(--green); border-radius: 2px;
}

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 4px; }
.header-icon-btn {
  width: 40px; height: 40px; display: flex; align-items: center;
  justify-content: center; border-radius: 8px; border: none; background: none;
  cursor: pointer; color: var(--gray-600); transition: all .15s; position: relative;
}
.header-icon-btn:hover { background: var(--gray-100); color: var(--green); }
.header-icon-btn svg { width: 20px; height: 20px; }

.header-cart-btn {
  display: flex; align-items: center; gap: 6px;
  background: var(--green-lt); color: var(--green-dark);
  border: 1px solid rgba(26, 107, 58, 0.2); border-radius: 999px;
  padding: 6px 14px 6px 10px; font-weight: 600; font-size: .875rem;
  cursor: pointer; transition: all .15s; margin-left: 4px;
}
.header-cart-btn:hover { background: var(--green); color: white; border-color: var(--green); }
.header-cart-btn svg { width: 18px; height: 18px; }
.cart-badge { 
  background: var(--gold); color: white; border-radius: 999px; 
  padding: 1px 6px; font-size: .75rem; min-width: 18px; text-align: center; 
}
.header-search-form {
  display: flex; align-items: center; border: 1.5px solid var(--gray-200);
  border-radius: 8px; overflow: hidden; background: var(--gray-50);
  transition: border-color .15s; max-width: 280px;
}
.header-search-form:focus-within { border-color: var(--green); background: white; }
.header-search-form input {
  border: none; background: none; padding: 8px 12px; font-size: .8rem;
  width: 200px; outline: none; color: var(--dark);
}
.header-search-form button {
  width: 36px; height: 36px; border: none; background: none;
  color: var(--gray-400); cursor: pointer; display: flex; align-items: center; justify-content: center;
}

/* Mobile menu toggle */
.mobile-menu-btn {
  display: none; background: none; border: none; cursor: pointer; padding: 6px;
  color: var(--dark);
}

/* ────────────────────────────────────────────────────────
   HERO
────────────────────────────────────────────────────────── */
.hero {
  position: relative; background: var(--green-dark);
  min-height: min(88vh, 700px);
  display: flex; align-items: center;
  overflow: hidden; padding: 80px 0 60px;
}
.hero-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 20% 50%, rgba(26,107,58,.35) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(201,168,76,.08) 0%, transparent 50%);
}
.hero-content { max-width: 560px; position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-block; font-size: .7rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; color: var(--gold);
  background: rgba(201,168,76,.12); border: 1px solid rgba(201,168,76,.25);
  padding: 5px 14px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 { color: white; font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 20px; }
.hero-sub { color: rgba(255,255,255,.75); font-size: 1rem; max-width: 440px; margin-bottom: 36px; line-height: 1.8; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,.4); font-size: .6rem; letter-spacing: 2px; z-index: 2;
}
.hero-scroll-line {
  width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(255,255,255,.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100%{opacity:.4;transform:scaleY(1)} 50%{opacity:1;transform:scaleY(1.2)} }

/* ────────────────────────────────────────────────────────
   TRUST BAR
────────────────────────────────────────────────────────── */
.trust-bar {
  background: var(--green); padding: 14px 0;
}
.trust-bar-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; align-items: center;
}
.trust-item {
  display: flex; align-items: center; gap: 10px; justify-content: center;
  color: rgba(255,255,255,.9); font-size: .78rem; font-weight: 500;
}
.trust-item svg { flex-shrink: 0; color: var(--gold); }

/* ────────────────────────────────────────────────────────
   CATEGORY CARDS
────────────────────────────────────────────────────────── */
.category-card {
  position: relative; display: block; border-radius: var(--radius);
  overflow: hidden; cursor: pointer;
}
.category-card img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s ease;
}
.category-card:hover img { transform: scale(1.04); }
.category-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, rgba(0,0,0,.1) 60%, transparent 100%);
}
.category-card-body {
  position: absolute; inset: 0; padding: 20px;
}
.category-card-name {
  color: white; font-weight: 700; font-size: 1rem; margin: 0 0 2px;
}
.category-card-count {
  color: rgba(255,255,255,.7); font-size: .72rem; margin: 0;
  transition: color .2s;
}
.category-card:hover .category-card-count { color: var(--gold); }

/* ────────────────────────────────────────────────────────
   NEW ARRIVALS GRID (horizontal card layout)
────────────────────────────────────────────────────────── */
.new-arrivals-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.new-arrival-card {
  display: flex;
  flex-direction: row;
  min-height: 160px;
  overflow: hidden;
}
.new-arrival-img-wrap {
  flex-shrink: 0;
  width: 140px;
}
.new-arrival-img-wrap img {
  width: 140px;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
  display: block;
}
.new-arrival-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  min-width: 0; /* prevent text overflow */
}

/* ────────────────────────────────────────────────────────
   PRODUCT CARDS
────────────────────────────────────────────────────────── */

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.product-card {
  background: white; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100);
  overflow: hidden; transition: box-shadow .2s, transform .2s;
  position: relative;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.product-card-image { overflow: hidden; }
.product-card-image img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s ease;
}
.product-card:hover .product-card-image img { transform: scale(1.04); }
.product-card-body { padding: 16px; }
.product-category {
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--gold); margin: 0 0 4px;
}
.product-card-actions {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
}
.product-card-wishlist {
  position: absolute; top: 12px; right: 12px;
}
.product-card-wishlist button {
  width: 34px; height: 34px; border-radius: 50%; background: white;
  border: none; cursor: pointer; display: flex; align-items: center;
  justify-content: center; box-shadow: var(--shadow-sm); color: var(--gray-400);
  transition: all .2s;
}
.product-card-wishlist button:hover { color: #ef4444; transform: scale(1.1); }

/* ────────────────────────────────────────────────────────
   PAGE HERO (inner pages)
────────────────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  padding: 56px 0 48px; text-align: center;
}
.page-hero h1 { color: white; font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 8px; }
.page-hero p  { color: rgba(255,255,255,.75); margin: 0; font-size: .9rem; }

/* ────────────────────────────────────────────────────────
   CART SIDEBAR (slide-in)
────────────────────────────────────────────────────────── */
.cart-sidebar-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.4);
  z-index: 998; opacity: 0; pointer-events: none; transition: opacity .3s;
}
.cart-sidebar-overlay.open { opacity: 1; pointer-events: all; }
.cart-sidebar {
  position: fixed; top: 0; right: -420px; width: 380px; max-width: 100vw;
  height: 100vh; background: white; z-index: 999; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; transition: right .3s cubic-bezier(.4,0,.2,1);
}
.cart-sidebar.open { right: 0; }
.cart-sidebar-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid var(--gray-100);
}
.cart-sidebar-header h3 { font-size: 1rem; margin: 0; }
.cart-sidebar-close { background: none; border: none; cursor: pointer; color: var(--gray-400); font-size: 1.4rem; line-height: 1; }
.cart-sidebar-body { flex: 1; overflow-y: auto; padding: 12px; }
.cart-sidebar-footer { padding: 16px 20px; border-top: 1px solid var(--gray-100); }
.cart-sidebar-item {
  display: flex; gap: 12px; padding: 12px 8px;
  border-bottom: 1px solid var(--gray-100); align-items: flex-start;
}
.cart-sidebar-item img { width: 68px; height: 68px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.cart-sidebar-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-weight: 600; font-size: .82rem; margin: 0 0 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-variant { color: var(--gray-400); font-size: .72rem; margin: 0 0 4px; }
.cart-item-price-row { display: flex; justify-content: space-between; align-items: center; }
.cart-item-price { font-weight: 700; font-size: .85rem; color: var(--green); }
.cart-item-qty   { font-size: .72rem; color: var(--gray-400); }
.cart-item-remove { background: none; border: none; color: var(--gray-400); cursor: pointer; font-size: 1rem; padding: 2px 4px; }
.cart-item-remove:hover { color: #ef4444; }
.cart-empty { text-align: center; padding: 48px 20px; color: var(--gray-400); }
.cart-empty svg { margin: 0 auto 12px; opacity: .4; }
.free-ship-bar { background: var(--gray-100); border-radius: 999px; height: 6px; margin: 12px 0; overflow: hidden; }
.free-ship-progress { background: var(--green); height: 100%; border-radius: 999px; transition: width .4s; }

/* ────────────────────────────────────────────────────────
   NO RESULTS
────────────────────────────────────────────────────────── */
.no-results { text-align: center; padding: 80px 20px; }
.no-results-icon { font-size: 4rem; margin-bottom: 16px; }

/* ────────────────────────────────────────────────────────
   FOOTER
────────────────────────────────────────────────────────── */
.site-footer { background: var(--dark); color: rgba(255,255,255,.7); }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 56px 0 40px; }
.footer-brand p { font-size: .85rem; line-height: 1.75; margin: 14px 0 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6); font-size: .8rem; transition: all .15s;
}
.footer-social a:hover { background: var(--green); color: white; }
.footer-col h5 { color: white; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a { font-size: .84rem; color: rgba(255,255,255,.6); transition: color .15s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0; display: flex;
  justify-content: space-between; align-items: center;
  font-size: .78rem; flex-wrap: wrap; gap: 12px;
}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-logo .logo-mark { width: 36px; height: 36px; }
.footer-logo span { font-size: 1rem; font-weight: 800; color: white; }

/* ────────────────────────────────────────────────────────
   TOAST NOTIFICATIONS
────────────────────────────────────────────────────────── */
#toastContainer {
  position: fixed; bottom: 20px; right: 20px; z-index: 9999;
  display: flex; flex-direction: column; gap: 10px;
}
.toast {
  display: flex; align-items: center; gap: 12px;
  background: white; color: var(--dark); border-radius: 10px;
  padding: 12px 18px; box-shadow: var(--shadow-lg);
  font-size: .85rem; font-weight: 500; min-width: 260px;
  border-left: 4px solid var(--green);
  animation: toastIn .3s ease;
}
.toast.error { border-left-color: #ef4444; }
@keyframes toastIn { from{opacity:0;transform:translateY(12px)} to{opacity:1;transform:translateY(0)} }
@keyframes toastOut{ from{opacity:1;transform:translateY(0)} to{opacity:0;transform:translateY(12px)} }

/* ────────────────────────────────────────────────────────
   SHOP PAGE — FILTERS
────────────────────────────────────────────────────────── */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; }
.shop-filters {
  background: white; border-radius: var(--radius);
  border: 1px solid var(--gray-100); padding: 24px;
  height: fit-content; position: sticky; top: 90px;
}
.shop-filter-toggle {
  display: none; align-items: center; gap: 8px;
  background: white; border: 1px solid var(--gray-200); border-radius: 8px;
  padding: 10px 16px; font-size: .85rem; font-weight: 600; color: var(--dark);
  cursor: pointer; margin-bottom: 16px;
}

/* ────────────────────────────────────────────────────────
   MY ACCOUNT PAGE
────────────────────────────────────────────────────────── */
.account-layout { display: grid; grid-template-columns: 250px 1fr; gap: 40px; }
.filter-group { margin-bottom: 24px; }
.filter-group h5 {
  font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 12px; color: var(--dark);
  padding-bottom: 8px; border-bottom: 1px solid var(--gray-100);
}
.filter-cat-link {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 0; font-size: .85rem; color: var(--gray-600);
  transition: color .15s; cursor: pointer;
}
.filter-cat-link:hover, .filter-cat-link.active { color: var(--green); font-weight: 600; }
.shop-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
}

/* ────────────────────────────────────────────────────────
   SEARCH PAGE
────────────────────────────────────────────────────────── */
.search-form input { padding: 12px 16px; border-radius: 8px 0 0 8px; }
.search-form .btn  { border-radius: 0 8px 8px 0; }

/* ────────────────────────────────────────────────────────
   CHECKOUT
────────────────────────────────────────────────────────── */
.checkout-grid { display: grid; grid-template-columns: 1fr 400px; gap: 32px; align-items: start; }
.checkout-section { background: white; border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 28px; margin-bottom: 20px; border: 1px solid var(--gray-100); }
.checkout-section h3 { font-size: 1rem; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--gray-100); }

/* ────────────────────────────────────────────────────────
   CONTACT / ABOUT
────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }

/* ────────────────────────────────────────────────────────
   RESPONSIVE — TABLET
────────────────────────────────────────────────────────── */
/* ────────────────────────────────────────────────────────
   GLOBAL OVERFLOW FIX — prevents horizontal scroll on mobile
────────────────────────────────────────────────────────── */
html { overflow-x: hidden; }
body { overflow-x: hidden; max-width: 100vw; }
* { min-width: 0; }

/* ────────────────────────────────────────────────────────
   RESPONSIVE — TABLET (≤ 1024px)
────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .trust-bar-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .footer-main    { grid-template-columns: 1fr 1fr; gap: 32px; }
  .shop-layout    { grid-template-columns: 1fr; }
  .shop-filters   { position: static; display: none; }
  .shop-filters.mobile-open { display: block; }
  .shop-filter-toggle { display: inline-flex; }
  .checkout-grid  { grid-template-columns: 1fr; }
  .contact-grid   { grid-template-columns: 1fr; gap: 32px; }
  .hero-content   { max-width: 100%; }
  .account-layout { grid-template-columns: 1fr; gap: 24px; }
}

/* ────────────────────────────────────────────────────────
   RESPONSIVE — MOBILE (≤ 768px)
────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Layout */
  .section    { padding: 44px 0; }
  .section-sm { padding: 28px 0; }
  .section-header { margin-bottom: 28px; }
  .container  { padding-left: 16px; padding-right: 16px; }
  .responsive-grid-2 { grid-template-columns: 1fr !important; }
  .cart-grid { grid-template-columns: 1fr !important; }

  /* Header */
  .main-nav           { display: none; }
  .header-search-form { display: none; }
  .mobile-menu-btn    { display: flex; align-items: center; justify-content: center; }
  .desktop-only       { display: none !important; }
  .header-inner       { height: 60px; gap: 8px; }
  .header-icon-btn    { width: 44px; height: 44px; }
  .site-logo img      { height: 42px !important; width: auto !important; }

  /* Hero */
  .hero             { padding: 48px 0 40px; min-height: auto; }
  .hero-content     { max-width: 100%; }
  .hero h1          { font-size: clamp(1.5rem, 6vw, 2rem); margin-bottom: 14px; }
  .hero-sub         { font-size: .875rem; margin-bottom: 24px; max-width: 100%; }
  .hero-eyebrow     { font-size: .65rem; }
  .hero-actions     { gap: 10px; flex-wrap: wrap; }
  .hero-scroll      { display: none; }

  /* Trust bar */
  .trust-bar-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .trust-item     { font-size: .72rem; gap: 6px; }
  .trust-item svg { width: 16px; height: 16px; flex-shrink: 0; }

  /* Products grid */
  .products-grid  { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-card-body { padding: 12px; }
  .product-card-actions { flex-direction: column; align-items: flex-start; gap: 6px; }
  .product-card-actions .btn { width: 100%; justify-content: center; }

  /* New Arrivals — single col, vertical stack on mobile portrait */
  .new-arrivals-grid { grid-template-columns: 1fr; gap: 12px; }
  .new-arrival-card  { flex-direction: column; min-height: unset; }
  .new-arrival-img-wrap { width: 100%; }
  .new-arrival-img-wrap img { width: 100%; height: 200px; min-height: unset; }
  .new-arrival-body { padding: 12px; }


  /* Shop layout */
  .shop-layout  { gap: 20px; }
  .shop-header  { flex-direction: column; align-items: flex-start; gap: 10px; }

  /* Checkout */
  .checkout-grid    { grid-template-columns: 1fr; gap: 20px; }
  .checkout-section { padding: 20px; }

  /* Cart sidebar — full width on mobile */
  .cart-sidebar { width: 100%; right: -100%; max-width: 100vw; }

  /* Footer */
  .footer-main   { grid-template-columns: 1fr; gap: 24px; padding: 40px 0 28px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 10px; }
  .footer-col h5 { margin-bottom: 10px; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }

  /* Page hero (inner pages) */
  .page-hero    { padding: 36px 0 28px; }
  .page-hero h1 { font-size: clamp(1.3rem, 5vw, 1.75rem); }

  /* Toast */
  #toastContainer { right: 10px; left: 10px; bottom: 16px; }
  .toast { min-width: unset; width: 100%; }

  /* Prevent children from causing overflow */
  .section > .container { overflow-x: hidden; }

  /* Tables inside pages scroll horizontally */
  table { min-width: 0; width: 100%; }
}

/* ────────────────────────────────────────────────────────
   RESPONSIVE — SMALL MOBILE (≤ 480px)
────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .container { padding-left: 12px; padding-right: 12px; }

  /* Hero */
  .hero h1  { font-size: 1.4rem; }
  .hero-sub { font-size: .82rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* Trust: single col */
  .trust-bar-grid { grid-template-columns: 1fr; gap: 8px; }

  /* Products */
  .products-grid  { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .product-card-body { padding: 8px; }
  .product-card-body h4 { font-size: .82rem; }
  .product-category { font-size: .62rem; }

  /* Cart sidebar full width */
  .cart-sidebar { width: 100vw; right: -100vw; }

  /* Buttons */
  .btn-lg { padding: 12px 22px; font-size: .9rem; }
  .btn-sm { padding: 5px 10px; font-size: .72rem; }

  /* Footer logo */
  .footer-logo img { height: 40px !important; }

  /* Section header */
  .section-header  { margin-bottom: 22px; }
  .section-eyebrow { font-size: .65rem; letter-spacing: 1.5px; }
}

/* ────────────────────────────────────────────────────────
   RESPONSIVE — EXTRA SMALL (≤ 360px)
────────────────────────────────────────────────────────── */
@media (max-width: 360px) {
  .products-grid  { grid-template-columns: 1fr 1fr; gap: 6px; }
  .product-card-body { padding: 6px 8px; }
  .product-card-body h4 { font-size: .76rem; }
  .hero h1 { font-size: 1.25rem; }
  .header-inner { height: 56px; }
  .site-logo img { height: 36px !important; }
}

/* Mobile nav drawer */
.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 1000;
}
.mobile-nav.open { display: block; }
.mobile-nav-backdrop {
  position: absolute; inset: 0; background: rgba(0,0,0,.5);
}
.mobile-nav-drawer {
  position: absolute; top: 0; left: 0; bottom: 0; width: min(300px, 85vw);
  background: white; overflow-y: auto; overflow-x: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg);
  transform: translateX(-100%); transition: transform .3s ease;
}
.mobile-nav.open .mobile-nav-drawer { transform: translateX(0); }
.mobile-nav-header {
  padding: 20px; border-bottom: 1px solid var(--gray-100);
  display: flex; justify-content: space-between; align-items: center;
}
.mobile-nav-close {
  background: none; border: none; cursor: pointer;
  font-size: 1.4rem; color: var(--gray-400);
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
}
.mobile-nav-links { padding: 12px; }
.mobile-nav-link {
  display: flex; align-items: center; padding: 12px 14px;
  font-size: .9rem; font-weight: 500; color: var(--dark);
  border-radius: 8px; transition: all .15s; width: 100%;
}
.mobile-nav-link:hover { background: var(--green-lt); color: var(--green); }
.mobile-nav-link.active { background: var(--green-lt); color: var(--green); font-weight: 700; }

/* ── Utilities ──────────────────────────────────────── */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; width: 100%; }
