/* ============================================================
   MYROTT — Tienda de Tabaco para Pipa
   Estilo: Clásico / Elegante
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ──────────────────────────────────────────────────────────── */
/* VARIABLES                                                     */
/* ──────────────────────────────────────────────────────────── */
:root {
  --bg-primary:      #0c0804;
  --bg-secondary:    #160e07;
  --bg-card:         #1e1409;
  --bg-card-hover:   #261a0c;
  --bg-header:       #0c0804ee;
  --bg-input:        #1a1008;

  --accent:          #c9a84c;
  --accent-light:    #e2c270;
  --accent-dark:     #9a7a30;
  --accent-muted:    rgba(201, 168, 76, 0.15);
  --accent-border:   rgba(201, 168, 76, 0.25);

  --text-primary:    #f0ebe0;
  --text-secondary:  #b8a890;
  --text-muted:      #6e5e4a;

  --border:          #2c1e0e;
  --border-light:    #3a2a15;

  --danger:          #c0392b;
  --success:         #2ecc71;

  --font-heading:    'Playfair Display', Georgia, serif;
  --font-body:       'Inter', 'Segoe UI', sans-serif;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  --shadow-sm:   0 2px 8px rgba(0,0,0,0.4);
  --shadow-md:   0 4px 20px rgba(0,0,0,0.5);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.6);
  --shadow-gold: 0 0 30px rgba(201, 168, 76, 0.12);

  --transition: 0.25s ease;
  --container:  1200px;
}

/* ──────────────────────────────────────────────────────────── */
/* RESET                                                         */
/* ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }
input, textarea, select { font-family: var(--font-body); }

/* ──────────────────────────────────────────────────────────── */
/* UTILIDADES                                                    */
/* ──────────────────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  clip: rect(0,0,0,0);
  overflow: hidden;
}

.gold-line {
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 0 auto;
}

/* ──────────────────────────────────────────────────────────── */
/* HEADER                                                        */
/* ──────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-header);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
}
.logo-name {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.12em;
}
.logo-tagline {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 2px;
}

/* Nav */
.main-nav { display: flex; gap: 28px; }
.main-nav a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.main-nav a:hover,
.main-nav a.active { color: var(--accent); }

/* Cart button */
.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 500;
  transition: background var(--transition), border-color var(--transition);
}
.cart-btn:hover {
  background: var(--accent-muted);
  border-color: var(--accent);
}
.cart-btn svg { width: 18px; height: 18px; stroke: var(--accent); }
.cart-badge {
  position: absolute;
  top: -6px; right: -6px;
  width: 20px; height: 20px;
  background: var(--accent);
  color: var(--bg-primary);
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ──────────────────────────────────────────────────────────── */
/* HERO                                                          */
/* ──────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 60% 50%, #2a1808 0%, #0c0804 70%);
  border-bottom: 1px solid var(--border);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(201,168,76,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(201,168,76,0.03) 0%, transparent 50%);
  pointer-events: none;
}

.hero-ornament {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 420px;
  height: 420px;
  opacity: 0.06;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 580px;
}

.hero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text-primary);
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 440px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ──────────────────────────────────────────────────────────── */
/* BOTONES                                                       */
/* ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg-primary);
  border: 1px solid var(--accent);
}
.btn-primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  box-shadow: 0 4px 20px rgba(201,168,76,0.35);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent-border);
}
.btn-outline:hover {
  background: var(--accent-muted);
  border-color: var(--accent);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
  padding: 10px 20px;
  font-size: 0.8rem;
}
.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--text-muted);
}

.btn-danger {
  background: transparent;
  color: var(--danger);
  border: 1px solid rgba(192,57,43,0.3);
}
.btn-danger:hover {
  background: rgba(192,57,43,0.1);
  border-color: var(--danger);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  border: 1px solid #25D366;
  font-size: 1rem;
  padding: 16px 36px;
}
.btn-whatsapp:hover {
  background: #1ebe5a;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transform: translateY(-1px);
}
.btn-whatsapp svg { width: 22px; height: 22px; fill: #fff; }

.btn-lg { padding: 16px 36px; font-size: 0.9rem; }

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* ──────────────────────────────────────────────────────────── */
/* SECCIÓN CATÁLOGO                                             */
/* ──────────────────────────────────────────────────────────── */
.catalog-section { padding: 64px 0 80px; }

.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  margin-bottom: 12px;
}
.section-header p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-top: 8px;
}

/* Filtros de categoría */
.category-filter {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.filter-btn {
  padding: 9px 22px;
  border-radius: 50px;
  border: 1px solid var(--border-light);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  background: transparent;
  transition: all var(--transition);
  text-transform: uppercase;
}
.filter-btn:hover {
  border-color: var(--accent-border);
  color: var(--text-primary);
}
.filter-btn.active {
  background: var(--accent-muted);
  border-color: var(--accent);
  color: var(--accent);
}

/* Grid de productos */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

/* ──────────────────────────────────────────────────────────── */
/* CARD DE PRODUCTO                                             */
/* ──────────────────────────────────────────────────────────── */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-border);
  box-shadow: var(--shadow-gold);
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--bg-secondary);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1208 0%, #0c0804 100%);
}

.product-img-placeholder svg {
  width: 80px;
  height: 80px;
  opacity: 0.35;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-img { transform: scale(1.04); }

.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 10px;
  background: var(--accent);
  color: var(--bg-primary);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
}

.product-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.product-category {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

.product-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
}

.product-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  gap: 10px;
}

.product-price-wrap {}
.product-price {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
}
.product-unit {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 1px;
}

.btn-add {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: var(--accent-muted);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-md);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-add:hover {
  background: var(--accent);
  color: var(--bg-primary);
  border-color: var(--accent);
}
.btn-add svg { width: 15px; height: 15px; }

.btn-add.added {
  background: var(--accent);
  color: var(--bg-primary);
  border-color: var(--accent);
}

/* ──────────────────────────────────────────────────────────── */
/* TOAST NOTIFICATION                                           */
/* ──────────────────────────────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  font-size: 0.85rem;
  color: var(--text-primary);
  max-width: 300px;
  animation: toastIn 0.3s ease;
}

.toast.toast-success { border-color: rgba(46,204,113,0.4); }
.toast.toast-success svg { stroke: var(--success); }
.toast svg { width: 18px; height: 18px; stroke: var(--accent); flex-shrink: 0; }

@keyframes toastIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes toastOut {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(20px); }
}
.toast.removing { animation: toastOut 0.25s ease forwards; }

/* ──────────────────────────────────────────────────────────── */
/* PAGE HEADER (cart / checkout)                                */
/* ──────────────────────────────────────────────────────────── */
.page-header {
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--text-secondary); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--text-muted); }

.page-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
}
.page-header p { color: var(--text-secondary); margin-top: 8px; font-size: 0.95rem; }

/* ──────────────────────────────────────────────────────────── */
/* CART PAGE                                                    */
/* ──────────────────────────────────────────────────────────── */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  padding-bottom: 80px;
}

/* Cart items */
.cart-items-section {}
.cart-section-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item:last-child { border-bottom: none; }

.cart-item-img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cart-item-img svg { width: 36px; height: 36px; opacity: 0.4; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }

.cart-item-info {}
.cart-item-category {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 4px;
}
.cart-item-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.cart-item-unit {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.cart-item-price-unit {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 6px;
}

.cart-item-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.qty-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 1rem;
  transition: all var(--transition);
}
.qty-btn:hover { background: var(--accent-muted); color: var(--accent); }
.qty-display {
  width: 36px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--bg-secondary);
  padding: 0 4px;
  height: 32px;
  line-height: 32px;
}
.cart-item-subtotal {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
}
.btn-remove {
  font-size: 0.72rem;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition);
  padding: 0;
}
.btn-remove:hover { color: var(--danger); }

/* Empty cart */
.cart-empty {
  text-align: center;
  padding: 80px 24px;
}
.cart-empty svg {
  width: 64px;
  height: 64px;
  stroke: var(--text-muted);
  margin: 0 auto 20px;
}
.cart-empty h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.cart-empty p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

/* Order summary sidebar */
.order-summary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky;
  top: 96px;
  height: fit-content;
}
.summary-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.summary-row.total {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
}
.summary-row.total .summary-value {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 700;
}
.summary-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 6px;
}
.summary-actions { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.summary-actions .btn { width: 100%; }

/* ──────────────────────────────────────────────────────────── */
/* CHECKOUT PAGE                                                */
/* ──────────────────────────────────────────────────────────── */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  padding-bottom: 80px;
}

/* Form */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.form-card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-card-title svg { width: 18px; height: 18px; stroke: var(--accent); }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.form-group label span { color: var(--accent); }

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 0.92rem;
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group textarea { resize: vertical; min-height: 90px; }

.form-hint {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Checkout summary */
.checkout-summary {
  position: sticky;
  top: 96px;
  height: fit-content;
}

.checkout-summary-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 16px;
}
.checkout-summary-card .summary-title {
  margin-bottom: 20px;
}

.checkout-item-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}
.checkout-item-row:last-child { border-bottom: none; }
.checkout-item-qty {
  width: 22px;
  height: 22px;
  background: var(--accent-muted);
  border: 1px solid var(--accent-border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}
.checkout-item-name { flex: 1; color: var(--text-secondary); }
.checkout-item-price {
  font-weight: 600;
  color: var(--text-primary);
  font-family: var(--font-heading);
}

.whatsapp-info {
  background: rgba(37,211,102,0.06);
  border: 1px solid rgba(37,211,102,0.2);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
}
.whatsapp-info svg { width: 18px; height: 18px; fill: #25D366; flex-shrink: 0; margin-top: 1px; }

.checkout-actions { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.checkout-actions .btn { width: 100%; }

/* ──────────────────────────────────────────────────────────── */
/* FEATURES STRIP                                               */
/* ──────────────────────────────────────────────────────────── */
.features-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
  background: var(--bg-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.feature-item {}
.feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  background: var(--accent-muted);
  border: 1px solid var(--accent-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-icon svg { width: 22px; height: 22px; stroke: var(--accent); }
.feature-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.feature-desc { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.5; }

/* ──────────────────────────────────────────────────────────── */
/* FOOTER                                                        */
/* ──────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.7; max-width: 260px; }

.footer-col h4 {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--accent); }

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
}
.footer-contact-item svg { width: 15px; height: 15px; stroke: var(--accent); flex-shrink: 0; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-muted);
}
.footer-bottom a { color: var(--text-muted); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--accent); }

/* ──────────────────────────────────────────────────────────── */
/* RESPONSIVE                                                   */
/* ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .cart-layout,
  .checkout-layout { grid-template-columns: 1fr; }
  .order-summary,
  .checkout-summary { position: static; }
  .features-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-ornament { display: none; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .main-nav { display: none; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--bg-header);
    backdrop-filter: blur(12px);
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    gap: 18px;
  }
  .hamburger { display: flex; }
  .hero { min-height: 400px; }
  .cart-item { grid-template-columns: 60px 1fr; }
  .cart-item-controls { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
