/* =========================================
   RIWAYATI JAGGERY STORE — style.css
   ========================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brown-darkest: #2C1A0E;
  --brown-dark: #5C3317;
  --brown-mid: #8B4513;
  --brown-warm: #A0522D;
  --brown-light: #C4874A;
  --cream-dark: #D4A96A;
  --cream: #F5E6C8;
  --cream-light: #FDF6E9;
  --gold: #C8960C;
  --green-cane: #4A7C2F;
  --text-dark: #1E0F05;
  --text-mid: #4A2C0A;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  background: var(--cream-light);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* =========================================
   NAV
   ========================================= */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(44, 26, 14, 0.96);
  backdrop-filter: blur(8px);
  padding: 0.9rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(196, 135, 74, 0.3);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo img {
  height: 55px;
  width: 55px;
  object-fit: contain;
  border-radius: 50%;
}

.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--cream);
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.nav-logo-text span {
  display: block;
  font-size: 0.7rem;
  font-family: 'Lato', sans-serif;
  color: var(--cream-dark);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 300;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 300;
  opacity: 0.85;
  transition: opacity 0.2s;
  cursor: pointer;
}

.nav-links a:hover { opacity: 1; }

.nav-cta {
  background: var(--brown-mid) !important;
  color: var(--cream) !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: 2px;
  border: 1px solid var(--cream-dark);
  opacity: 1 !important;
}

.nav-cta:hover { background: var(--brown-light) !important; }

.cart-badge {
  background: var(--green-cane);
  color: white;
  border-radius: 50%;
  padding: 1px 6px;
  font-size: 0.7rem;
  font-weight: 700;
  margin-left: 2px;
}

/* =========================================
   HERO
   ========================================= */
.hero {
  min-height: 100vh;
  background: var(--brown-darkest);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(139, 69, 19, 0.25) 0%, transparent 70%);
}

.hero-logo {
  width: 320px;
  height: 320px;
  object-fit: contain;
  margin-bottom: 2rem;
  filter: drop-shadow(0 4px 24px rgba(196, 135, 74, 0.3));
  animation: fadeUp 1s ease both;
  position: relative;
  z-index: 1;
}

.hero-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem auto;
  width: fit-content;
  opacity: 0.6;
  position: relative;
  z-index: 1;
}

.hero-divider::before, .hero-divider::after {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background: var(--cream-dark);
}

.hero-divider span {
  color: var(--cream-dark);
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-family: 'Lato', sans-serif;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  color: var(--cream);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
  animation: fadeUp 1s 0.2s ease both;
  position: relative;
  z-index: 1;
}

.hero h1 em {
  font-style: italic;
  color: var(--cream-dark);
}

.hero-tagline {
  font-size: 1rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--brown-light);
  margin-top: 1.2rem;
  font-weight: 300;
  animation: fadeUp 1s 0.4s ease both;
  position: relative;
  z-index: 1;
}

.hero-tagline strong { color: var(--cream-dark); font-weight: 400; }

.hero-since {
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(196, 135, 74, 0.6);
  margin-top: 0.5rem;
  animation: fadeUp 1s 0.5s ease both;
  position: relative;
  z-index: 1;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2.5rem;
  padding: 1rem 2.2rem;
  background: var(--green-cane);
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,0.15);
  animation: fadeUp 1s 0.6s ease both;
  position: relative;
  z-index: 1;
  transition: background 0.2s, transform 0.15s;
}

.hero-btn:hover { background: #3a6324; transform: translateY(-2px); }

/* =========================================
   SECTIONS SHARED
   ========================================= */
section { padding: 5rem 2rem; }

.section-label {
  font-size: 0.72rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--brown-light);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  text-align: center;
  color: var(--brown-dark);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.section-divider {
  width: 50px;
  height: 2px;
  background: var(--brown-light);
  margin: 1rem auto 3rem;
  border: none;
}

/* =========================================
   ABOUT
   ========================================= */
.about {
  background: var(--brown-darkest);
  color: var(--cream);
}

.about .section-title { color: var(--cream); }
.about .section-label { color: var(--brown-light); }
.about .section-divider { background: var(--brown-light); }

.about-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(245, 230, 200, 0.85);
  margin-bottom: 1.2rem;
  font-weight: 300;
}

.about-stats { display: flex; flex-direction: column; gap: 1.5rem; }

.stat-card {
  border: 1px solid rgba(196, 135, 74, 0.25);
  padding: 1.5rem;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--brown-light);
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--cream-dark);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(196, 135, 74, 0.7);
  font-weight: 300;
}

/* =========================================
   PRODUCTS
   ========================================= */
.products { background: var(--cream-light); }

.products-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.loading-spinner {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--brown-light);
  font-size: 1rem;
  letter-spacing: 2px;
  padding: 3rem;
}

.product-card {
  background: #fff;
  border: 1px solid rgba(139, 69, 19, 0.12);
  border-radius: 2px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(92, 51, 23, 0.12);
}

.product-img-placeholder {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, var(--cream) 0%, #e8d5a8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  color: rgba(139, 69, 19, 0.2);
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--brown-dark);
  color: var(--cream);
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 1px;
}

.product-body { padding: 1.5rem; }

.product-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--brown-dark);
  margin-bottom: 0.5rem;
}

.product-desc {
  font-size: 0.9rem;
  color: #6b4c2a;
  line-height: 1.7;
  margin-bottom: 1.2rem;
  font-weight: 300;
}

.product-variants {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.variant-pill {
  font-size: 0.75rem;
  padding: 0.3rem 0.75rem;
  border: 1px solid rgba(139, 69, 19, 0.25);
  border-radius: 20px;
  color: var(--brown-warm);
  font-weight: 400;
  cursor: pointer;
  transition: background 0.15s;
  background: none;
}

.variant-pill:hover,
.variant-pill.active {
  background: var(--brown-mid);
  color: var(--cream);
  border-color: var(--brown-mid);
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(139, 69, 19, 0.1);
  padding-top: 1rem;
}

.product-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--brown-dark);
}

.product-price span {
  font-size: 0.75rem;
  font-family: 'Lato', sans-serif;
  color: #888;
  font-weight: 300;
  margin-left: 0.3rem;
}

.add-to-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--brown-mid);
  color: var(--cream);
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.55rem 1rem;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  font-family: 'Lato', sans-serif;
}

.add-to-cart-btn:hover { background: var(--brown-dark); }

/* =========================================
   HOW TO ORDER
   ========================================= */
.how-to-order {
  background: var(--cream);
  border-top: 1px solid rgba(139, 69, 19, 0.1);
  border-bottom: 1px solid rgba(139, 69, 19, 0.1);
}

.steps {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: 16.67%;
  right: 16.67%;
  height: 1px;
  background: rgba(139, 69, 19, 0.2);
}

.step { text-align: center; padding: 1rem; }

.step-num {
  width: 50px;
  height: 50px;
  background: var(--brown-dark);
  color: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin: 0 auto 1.2rem;
  position: relative;
  z-index: 1;
}

.step-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--brown-dark);
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.65;
  font-weight: 300;
}

/* =========================================
   CONTACT
   ========================================= */
.contact { background: var(--brown-darkest); color: var(--cream); }
.contact .section-title { color: var(--cream); }
.contact .section-label { color: var(--brown-light); }
.contact .section-divider { background: var(--brown-light); }

.contact-grid {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-card {
  border: 1px solid rgba(196, 135, 74, 0.2);
  padding: 2rem;
  border-radius: 2px;
}

.contact-card-label {
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brown-light);
  margin-bottom: 0.8rem;
}

.contact-card-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--cream);
  line-height: 1.4;
}

.contact-card-sub {
  font-size: 0.82rem;
  color: rgba(196, 135, 74, 0.7);
  margin-top: 0.4rem;
  font-weight: 300;
}

/* =========================================
   FOOTER
   ========================================= */
footer {
  background: #160B04;
  color: rgba(245, 230, 200, 0.5);
  padding: 2.5rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(196, 135, 74, 0.15);
}

footer img {
  height: 50px;
  width: 50px;
  object-fit: contain;
  opacity: 0.7;
  margin-bottom: 1rem;
}

footer p {
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  margin-bottom: 0.4rem;
}

.footer-copy {
  font-size: 0.7rem;
  opacity: 0.5;
  margin-top: 1rem;
}

/* =========================================
   CART SIDEBAR
   ========================================= */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.cart-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.cart-sidebar {
  position: fixed;
  top: 0; right: -420px;
  width: 400px;
  height: 100vh;
  background: var(--cream-light);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
  box-shadow: -4px 0 30px rgba(0,0,0,0.15);
}

.cart-sidebar.open { right: 0; }

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(139, 69, 19, 0.15);
  background: var(--brown-darkest);
  color: var(--cream);
}

.cart-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
}

.cart-header button {
  background: none;
  border: none;
  color: var(--cream);
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.cart-header button:hover { opacity: 1; }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

.cart-empty {
  text-align: center;
  color: var(--brown-light);
  font-size: 0.9rem;
  margin-top: 3rem;
  font-weight: 300;
  letter-spacing: 1px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(139, 69, 19, 0.1);
}

.cart-item-info { flex: 1; }

.cart-item-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--brown-dark);
}

.cart-item-size {
  font-size: 0.78rem;
  color: var(--brown-light);
  margin-top: 2px;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qty-btn {
  width: 28px;
  height: 28px;
  background: var(--brown-mid);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.qty-btn:hover { background: var(--brown-dark); }

.cart-item-qty {
  font-weight: 700;
  min-width: 20px;
  text-align: center;
  color: var(--brown-dark);
}

.cart-item-price {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--brown-dark);
  margin-left: 1rem;
  min-width: 50px;
  text-align: right;
}

.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid rgba(139, 69, 19, 0.15);
  background: white;
}

.cart-total {
  font-size: 1.1rem;
  color: var(--brown-dark);
  margin-bottom: 1rem;
  text-align: right;
}

.cart-total strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
}

.cart-checkout-btn {
  width: 100%;
  padding: 1rem;
  background: #25D366;
  color: white;
  border: none;
  border-radius: 2px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
  transition: background 0.2s;
}

.cart-checkout-btn:hover { background: #1ebe5d; }

/* =========================================
   MODALS
   ========================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.active { display: flex; }

.modal {
  background: var(--cream-light);
  border-radius: 4px;
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-wide { max-width: 640px; }

.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--brown-warm);
  opacity: 0.7;
  transition: opacity 0.2s;
}

.modal-close:hover { opacity: 1; }

.modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--brown-dark);
  margin-bottom: 0.3rem;
}

.modal-subtitle {
  font-size: 0.85rem;
  color: var(--brown-light);
  letter-spacing: 1px;
  margin-bottom: 2rem;
  font-weight: 300;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brown-warm);
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.form-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(139, 69, 19, 0.25);
  border-radius: 2px;
  font-size: 0.95rem;
  font-family: 'Lato', sans-serif;
  background: white;
  color: var(--text-dark);
  transition: border-color 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--brown-mid);
}

.auth-error {
  color: #c0392b;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  min-height: 1.2rem;
}

.btn-primary {
  width: 100%;
  padding: 1rem;
  background: var(--brown-mid);
  color: var(--cream);
  border: none;
  border-radius: 2px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
  transition: background 0.2s;
  margin-top: 0.5rem;
}

.btn-primary:hover { background: var(--brown-dark); }

.btn-whatsapp {
  width: 100%;
  padding: 1rem;
  background: #25D366;
  color: white;
  border: none;
  border-radius: 2px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
  transition: background 0.2s;
  margin-top: 1rem;
}

.btn-whatsapp:hover { background: #1ebe5d; }

/* =========================================
   ADMIN PANEL
   ========================================= */
.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.3rem;
}

.btn-logout {
  background: none;
  border: 1px solid rgba(139, 69, 19, 0.3);
  color: var(--brown-warm);
  padding: 0.4rem 1rem;
  border-radius: 2px;
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
  transition: background 0.2s;
}

.btn-logout:hover {
  background: rgba(139, 69, 19, 0.1);
}

.admin-product {
  background: white;
  border: 1px solid rgba(139, 69, 19, 0.15);
  border-radius: 2px;
  padding: 1.2rem;
  margin-bottom: 1rem;
}

.admin-product-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--brown-dark);
  margin-bottom: 0.8rem;
}

.admin-variant-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.5rem;
}

.admin-variant-row input {
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(139, 69, 19, 0.2);
  border-radius: 2px;
  font-size: 0.88rem;
  font-family: 'Lato', sans-serif;
  color: var(--text-dark);
}

.admin-variant-row input:focus {
  outline: none;
  border-color: var(--brown-mid);
}

.admin-variant-label {
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--brown-light);
  margin-bottom: 0.3rem;
}

.save-status {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--green-cane);
  min-height: 1.2rem;
  letter-spacing: 1px;
}

/* =========================================
   ORDER SUMMARY
   ========================================= */
.order-summary {
  background: white;
  border: 1px solid rgba(139, 69, 19, 0.15);
  border-radius: 2px;
  padding: 1rem;
  margin: 1.2rem 0;
}

.order-summary-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  padding: 0.3rem 0;
  color: var(--text-mid);
  border-bottom: 1px solid rgba(139, 69, 19, 0.07);
}

.order-summary-item:last-child { border-bottom: none; }

.order-summary-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1rem;
  padding-top: 0.5rem;
  margin-top: 0.5rem;
  border-top: 1px solid rgba(139, 69, 19, 0.15);
  color: var(--brown-dark);
}

/* =========================================
   FLOATING WA BUTTON
   ========================================= */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 200;
  transition: transform 0.2s;
}

.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 28px; height: 28px; }

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =========================================
   MOBILE
   ========================================= */
@media (max-width: 700px) {
  .nav-links { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .cart-sidebar { width: 100%; right: -100%; }
}

.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid rgba(139, 69, 19, 0.15);
}

.auth-tab {
  flex: 1;
  padding: 0.6rem;
  background: none;
  border: none;
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--brown-light);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
}

.auth-tab.active {
  color: var(--brown-dark);
  border-bottom-color: var(--brown-mid);
  font-weight: 700;
}

/* ---- Hamburger ---- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
  z-index: 101;

}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: all 0.3s;
  pointer-events: none;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 700px) {
  .hamburger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(44, 26, 14, 0.98);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(196, 135, 74, 0.2);
  }

  .nav-links.open { display: flex; }

  .nav-links li a {
    display: block;
    padding: 0.9rem 2rem;
    border-bottom: 1px solid rgba(196, 135, 74, 0.08);
  }
}