/* ============================================================
   SPARK ELETRÔNICA — Design System & Global Styles
   ============================================================ */

:root {
  /* Colors */
  --yellow:       #facc15;
  --yellow-hover: #fde047;
  --yellow-light: #fef9c3;
  --yellow-50:    #fefce8;
  --black:        #000000;
  --bg:           #f9fafb;
  --surface:      #ffffff;
  --text:         #111827;
  --text-sec:     #6b7280;
  --text-muted:   #9ca3af;
  --footer-bg:    #000000;
  --footer-text:  #d1d5db;
  --red:          #ef4444;
  --red-dark:     #dc2626;
  --green:        #16a34a;
  --orange:       #f97316;
  --blue:         #3b82f6;
  --border:       #e5e7eb;
  --border-active:#facc15;

  /* Radii */
  --r-sm:  6px;
  --r-md:  8px;
  --r-lg:  12px;
  --r-xl:  16px;
  --r-2xl: 24px;
  --r-full:9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.05);
  --shadow-lg:  0 10px 15px rgba(0,0,0,.08), 0 4px 6px rgba(0,0,0,.04);
  --shadow-xl:  0 20px 25px rgba(0,0,0,.1),  0 8px 10px rgba(0,0,0,.04);
  --shadow-2xl: 0 25px 50px rgba(0,0,0,.12);
  --shadow-btn: 0 4px 14px rgba(0,0,0,.25);

  /* Z-indices */
  --z-header:  50;
  --z-sidebar: 60;
  --z-overlay: 55;
}

/* ─── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
  background: var(--bg);
  background-image:
    radial-gradient(900px 400px at 20% 0%, rgba(250, 204, 21, .14), transparent 60%),
    radial-gradient(700px 350px at 85% 10%, rgba(17, 24, 39, .06), transparent 55%),
    linear-gradient(to bottom, rgba(255,255,255,.55), rgba(255,255,255,0));
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ─── Utilities ─────────────────────────────────────────── */
.container     { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
.sr-only       { position: absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
.skip-link {
  position: absolute;
  left: 1rem;
  top: .75rem;
  background: var(--yellow);
  color: var(--black);
  padding: .65rem 1rem;
  border-radius: var(--r-md);
  font-weight: 800;
  transform: translateY(-140%);
  transition: transform .2s ease;
  z-index: calc(var(--z-header) + 1);
}
.skip-link:focus { transform: translateY(0); }
.flex          { display: flex; }
.flex-col      { flex-direction: column; }
.items-center  { align-items: center; }
.justify-between{ justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2         { gap: .5rem; }
.gap-3         { gap: .75rem; }
.gap-4         { gap: 1rem; }
.gap-6         { gap: 1.5rem; }
.gap-8         { gap: 2rem; }
.w-full        { width: 100%; }
.text-center   { text-align: center; }
.hidden        { display: none !important; }
.overflow-hidden{ overflow: hidden; }
.relative      { position: relative; }
.absolute      { position: absolute; }
.sticky        { position: sticky; }

/* ─── Typography ────────────────────────────────────────── */
.text-xs   { font-size:.75rem;  line-height:1rem; }
.text-sm   { font-size:.875rem; line-height:1.25rem; }
.text-base { font-size:1rem;    line-height:1.5rem; }
.text-lg   { font-size:1.125rem;line-height:1.75rem; }
.text-xl   { font-size:1.25rem; line-height:1.75rem; }
.text-2xl  { font-size:1.5rem;  line-height:2rem; }
.text-3xl  { font-size:1.875rem;line-height:2.25rem; }
.text-4xl  { font-size:2.25rem; line-height:2.5rem; }
.font-medium{ font-weight:500; }
.font-semibold{ font-weight:600; }
.font-bold  { font-weight:700; }
.font-black { font-weight:900; }
.uppercase  { text-transform:uppercase; }
.tracking-widest{ letter-spacing:.1em; }
.leading-tight { line-height:1.25; }
.leading-relaxed{ line-height:1.625; }
.line-clamp-2 { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.truncate   { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.whitespace-pre-wrap { white-space: pre-wrap; }

/* ─── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; padding: .75rem 1.5rem;
  border-radius: var(--r-md); font-weight: 700; font-size: .875rem;
  transition: all .2s ease; cursor: pointer;
}
.btn:hover { transform: scale(1.02); }
.btn-primary {
  background: var(--black); color: var(--yellow);
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover { background: var(--yellow); color: var(--black); box-shadow: 0 14px 36px rgba(0,0,0,.18); }
.btn-yellow {
  background: var(--yellow); color: var(--black);
  box-shadow: var(--shadow-md);
}
.btn-yellow:hover { background: var(--yellow-hover); }
.btn-outline {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--yellow); color: #ca8a04; background: rgba(250, 204, 21, .06); }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: #dc2626; }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; border-radius: var(--r-lg); height: 4rem; }
.btn-sm { padding: .375rem .875rem; font-size: .75rem; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ─── Inputs ────────────────────────────────────────────── */
.input-field {
  width: 100%; padding: .75rem 1rem;
  border: 1.5px solid var(--border); border-radius: var(--r-md);
  background: var(--surface); color: var(--text);
  font-size: .875rem; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.input-field:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 4px rgba(250,204,21,.14), 0 10px 22px rgba(0,0,0,.06);
}
.input-field::placeholder { color: var(--text-muted); }
.input-group {
  position: relative;
}
.input-group .icon-left {
  position: absolute; left: .875rem; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); pointer-events: none;
  display:flex;align-items:center;
}
.input-group input { padding-left: 2.75rem; }
.input-readonly { background: #f9fafb; color: var(--text-muted); cursor: not-allowed; }

/* ─── Cards ─────────────────────────────────────────────── */
.card {
  background: var(--surface); border-radius: var(--r-lg);
  border: 1px solid rgba(229, 231, 235, .95); box-shadow: var(--shadow-sm);
}
.card-xl {
  background: var(--surface); border-radius: var(--r-2xl);
  border: 1px solid var(--border); box-shadow: var(--shadow-lg);
}

/* ─── Badges ────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: .25rem;
  padding: .25rem .625rem; border-radius: var(--r-full);
  font-size: .75rem; font-weight: 700; white-space: nowrap;
}
.badge-yellow { background: var(--yellow); color: var(--black); }
.badge-green  { background: #dcfce7; color: var(--green); }
.badge-red    { background: #fee2e2; color: var(--red); }
.badge-orange { background: #ffedd5; color: var(--orange); }

/* ─── Spinner ───────────────────────────────────────────── */
.spinner {
  display: inline-block;
  width: 2rem; height: 2rem;
  border: 3px solid var(--border);
  border-top-color: var(--yellow);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.spinner-sm { width:1.25rem; height:1.25rem; border-width:2px; }
@keyframes spin { to { transform: rotate(360deg); } }
.spinner-center { display:flex; justify-content:center; align-items:center; min-height:200px; }

/* ─── Section Header ────────────────────────────────────── */
.section-title {
  font-size: 1.25rem; font-weight: 700; color: var(--text);
  border-left: 4px solid var(--yellow); padding-left: .75rem;
}
@media(min-width:640px){ .section-title { font-size: 1.5rem; } }
.section-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 1.5rem;
}
.section-link {
  font-size: .875rem; font-weight: 600; color: #ca8a04;
  transition: color .2s;
}
.section-link:hover { color: #b45309; }

/* ─── Product Grid ──────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media(min-width:768px){ .products-grid { grid-template-columns: repeat(3,1fr); gap:1.5rem; } }
@media(min-width:1024px){ .products-grid { grid-template-columns: repeat(4,1fr); gap:2rem; } }

/* ─── Product Card ──────────────────────────────────────── */
.product-card {
  background: var(--surface); border-radius: var(--r-lg);
  border: 1px solid rgba(229, 231, 235, .9);
  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 10px 28px rgba(0,0,0,.04);
  display: flex; flex-direction: column; height: 100%;
  overflow: hidden; transition: box-shadow .3s, transform .3s;
}
.product-card:hover { box-shadow: 0 18px 40px rgba(0,0,0,.10); transform: translateY(-3px); }
.product-card:focus-within { box-shadow: 0 18px 40px rgba(0,0,0,.10); transform: translateY(-3px); border-color: rgba(250, 204, 21, .65); }

.product-card__img {
  display: block; height: 14rem; background: var(--bg);
  overflow: hidden; position: relative;
}
.product-card__img img {
  width: 100%; height: 100%; object-fit: contain;
  padding: 1rem; transition: transform .3s;
  mix-blend-mode: multiply;
}
.product-card:hover .product-card__img img { transform: scale(1.05); }

.product-card__body {
  padding: 1.25rem; display: flex; flex-direction: column;
  flex: 1; background: linear-gradient(to bottom, rgba(249,250,251,.75), rgba(249,250,251,1));
}
.product-card__name {
  font-size: 1rem; font-weight: 600; color: var(--text);
  margin-bottom: .5rem; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; height: 2.8rem;
  transition: color .2s;
}
.product-card__name:hover { color: #ca8a04; }
.product-card__price {
  font-size: 1.35rem; font-weight: 800; color: #111827;
  margin-bottom: 1rem; flex: 1;
}
.product-card__btn {
  width: 100%;
  background: linear-gradient(180deg, #0b0b0b, #000);
  color: var(--yellow);
  font-weight: 800; padding: .8rem; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  transition: transform .15s, background .2s, color .2s, box-shadow .2s;
  box-shadow: 0 10px 24px rgba(0,0,0,.14);
}
.product-card__btn:hover { background: var(--yellow); color: var(--black); transform: translateY(-1px); box-shadow: 0 14px 34px rgba(0,0,0,.18); }
.product-card__btn:active { transform: translateY(0); box-shadow: 0 8px 18px rgba(0,0,0,.14); }

/* ─── HEADER ────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: var(--surface); height: 6rem;
  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 10px 22px rgba(0,0,0,.03);
  transition: background .3s, box-shadow .3s;
  display: none;
}
@media(min-width:640px){ .site-header { display: block; } }
.site-header.scrolled {
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 14px 36px rgba(0,0,0,.08);
}
.site-header.scrolled::after {
  content:''; display:block; position:absolute; bottom:0; left:0; right:0;
  height:6px;
  background: linear-gradient(to bottom, rgba(0,0,0,.04), transparent);
}
.header-inner {
  max-width:1280px; margin:0 auto; padding:0 1rem;
  height:100%; display:flex; align-items:center; justify-content:space-between;
}
/* Logo zone */
.header-logo-zone { width:160px; flex-shrink:0; position:relative; }
.header-logo {
  position:absolute; top:50%; left:0; transform:translateY(-50%);
  width:260px; height:260px; object-fit:contain;
}
/* Categories zone */
.header-cats { flex:1; max-width:42rem; padding:0 1.5rem; display:flex; align-items:center; gap:1.5rem; }
.cat-dropdown { position:relative; }
.cat-dropdown-btn {
  display:flex; align-items:center; gap:.375rem;
  font-weight:600; font-size:.875rem; color:var(--text-sec);
  transition:color .2s; white-space:nowrap; padding:.5rem 0;
}
.cat-dropdown-btn:hover, .cat-dropdown:hover .cat-dropdown-btn { color:#ca8a04; }
.cat-dropdown-btn.active { color:#ca8a04; }
.cat-dropdown:focus-within .cat-dropdown-btn { color:#ca8a04; }
.cat-dropdown:focus-within .cat-dropdown-panel { display:block; }
.cat-dropdown-panel {
  display:none; position:absolute; top:calc(100% - 8px); left:0;
  width:18rem; background:var(--surface);
  box-shadow:0 10px 20px rgba(0,0,0,.1);
  border:1px solid var(--border); border-top:none;
  border-radius:0 0 var(--r-lg) var(--r-lg);
  overflow-y:auto; max-height:24rem; z-index:100;
}
.cat-dropdown:hover .cat-dropdown-panel { display:block; }
.cat-dropdown-all {
  display:block; padding:.75rem 1rem; font-weight:600; font-size:.875rem;
  border-bottom:1px solid var(--border); color:var(--text);
  transition:background .2s, color .2s;
}
.cat-dropdown-all:hover { background:var(--yellow-50); color:#ca8a04; }
.cat-group-label {
  padding:.75rem 1rem .25rem; font-size:.7rem; font-weight:700;
  color:var(--text-muted); text-transform:uppercase; letter-spacing:.1em;
}
.cat-group-link { color: inherit; }
.cat-group-link:hover { color: #ca8a04; }
.cat-group-item {
  display:block; padding:.5rem 1.5rem; font-size:.875rem; color:var(--text-sec);
  transition:background .2s, color .2s;
}
.cat-group-item:hover { background:var(--yellow-50); color:#ca8a04; }
.header-quick-cats { display:flex; gap:1.5rem; }
.header-quick-cat {
  font-size:.875rem; font-weight:500; color:var(--text-sec);
  white-space:nowrap; transition:color .2s;
}
.header-quick-cat:hover { color:#ca8a04; }
.header-quick-cat.active { color:#ca8a04; font-weight:600; }
.header-quick-cat.active { position:relative; }
.header-quick-cat.active::after {
  content:''; position:absolute; left:0; right:0; bottom:-.35rem;
  height:2px; background:var(--yellow); border-radius:999px;
}
/* Actions zone */
.header-actions { display:flex; align-items:center; gap:1.5rem; }
.header-action-btn {
  display:flex; flex-direction:column; align-items:center; gap:.125rem;
  color:var(--text-sec); transition:color .2s; position:relative;
  padding:.35rem .5rem; border-radius:.9rem;
}
.header-action-btn:hover { color:#b45309; background:rgba(250, 204, 21, .08); }
.header-action-btn.active { color:#ca8a04; background:rgba(250, 204, 21, .10); }
.header-action-btn svg { flex-shrink:0; }
.header-action-label { font-weight:500; font-size:.875rem; }
.header-action-sublabel { font-size:.6rem; color:var(--text-muted); }
.cart-badge {
  position:absolute; top:-8px; right:-12px;
  background:var(--yellow); color:var(--black);
  font-size:.65rem; font-weight:700;
  padding:.1rem .4rem; border-radius:var(--r-full);
  min-width:1.2rem; text-align:center;
  box-shadow:0 1px 4px rgba(0,0,0,.15);
  display:none;
}
.cart-badge.visible { display:block; }

/* ─── MOBILE BOTTOM BAR ─────────────────────────────────── */
.mobile-bar {
  position:fixed; bottom:0; left:0; right:0;
  background:rgba(255,255,255,.92);
  border-top:1px solid rgba(229,231,235,.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index:var(--z-header); display:flex; align-items:center;
  justify-content:space-around; padding:.75rem 1rem;
}
@media(min-width:640px){ .mobile-bar { display:none; } }
.mobile-bar__btn {
  display:flex; flex-direction:column; align-items:center; gap:.25rem;
  color:var(--text-sec); font-size:.6rem; font-weight:500;
  transition:color .2s; position:relative;
  padding:.35rem .65rem; border-radius:.9rem;
}
.mobile-bar__btn:hover,
.mobile-bar__btn.active { color:#ca8a04; }
.mobile-bar__btn:hover,
.mobile-bar__btn.active { background:rgba(250, 204, 21, .10); }
.mobile-bar__btn:active { transform: scale(.98); }
.mobile-cart-badge {
  position:absolute; top:-6px; right:-8px;
  background:var(--red); color:#fff;
  font-size:.55rem; font-weight:700;
  padding:.1rem .3rem; border-radius:var(--r-full);
  min-width:1.1rem; text-align:center;
  border:2px solid var(--surface);
  display:none;
}
.mobile-cart-badge.visible { display:block; }

/* ─── OVERLAY ───────────────────────────────────────────── */
.sidebar-overlay {
  position:fixed; inset:0;
  background:rgba(0,0,0,.52);
  z-index:var(--z-overlay);
  opacity:0; pointer-events:none;
  transition:opacity .3s;
}
.sidebar-overlay.active { opacity:1; pointer-events:all; }

/* ─── SIDEBARS (Cart & Search) ──────────────────────────── */
.sidebar {
  position:fixed; top:0; right:0; bottom:0;
  width:100%; max-width:400px;
  background:var(--surface);
  box-shadow:0 30px 80px rgba(0,0,0,.22);
  z-index:var(--z-sidebar);
  display:flex; flex-direction:column;
  transform:translateX(100%);
  transition:transform .3s ease-in-out;
  border-left:1px solid rgba(229,231,235,.9);
  border-top-left-radius: 1.25rem;
  border-bottom-left-radius: 1.25rem;
}
.sidebar.open { transform:translateX(0); }
.sidebar-header {
  padding:1rem; border-bottom:1px solid var(--border);
  display:flex; align-items:center; justify-content:space-between; flex-shrink:0;
}
.sidebar-title {
  display:flex; align-items:center; gap:.5rem;
  font-size:1.125rem; font-weight:700; color:var(--text);
}
.sidebar-close {
  padding:.5rem; border-radius:var(--r-full);
  transition:background .2s; color:var(--text-sec);
  display:flex; align-items:center; justify-content:center;
}
.sidebar-close:hover { background:var(--bg); }
.sidebar-body { flex:1; overflow-y:auto; padding:1rem; padding-bottom:6rem; }
.sidebar-footer {
  position:absolute; bottom:0; left:0; right:0;
  border-top:1px solid var(--border);
  background:rgba(249,250,251,.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding:1rem;
}

/* Cart items */
.cart-item {
  display:flex; gap:1rem; padding-bottom:1rem;
  border-bottom:1px solid var(--border); margin-bottom:1rem;
}
.cart-item__img {
  width:5rem; height:5rem; border-radius:var(--r-md);
  background:var(--bg); flex-shrink:0; overflow:hidden;
  display:flex; align-items:center; justify-content:center;
}
.cart-item__img img { width:100%; height:100%; object-fit:contain; padding:.375rem; }
.cart-item__info { flex:1; min-width:0; }
.cart-item__name {
  font-size:.875rem; font-weight:500; color:var(--text);
  line-height:1.35; margin-bottom:.375rem;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.cart-item__price { font-size:.875rem; font-weight:700; color:#ca8a04; }
.cart-item__actions { display:flex; align-items:center; gap:.5rem; margin-top:.5rem; }
.qty-control {
  display:flex; align-items:center;
  border:1px solid var(--border); border-radius:var(--r-md); height:2rem;
  overflow:hidden;
}
.qty-btn {
  width:2rem; height:2rem; display:flex; align-items:center; justify-content:center;
  transition:background .2s; color:var(--text-sec); flex-shrink:0;
}
.qty-btn:hover { background:var(--bg); color:var(--text); }
.qty-val {
  width:2.5rem; text-align:center; font-size:.875rem; font-weight:500;
  border:none; outline:none; background:transparent; color:var(--text);
}
.cart-remove { color:var(--text-muted); transition:color .2s; padding:.25rem; }
.cart-remove:hover { color:var(--red); }
.cart-empty {
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  padding:3rem 1rem; gap:1rem; color:var(--text-muted);
}
.cart-empty svg { color:#d1d5db; }
.cart-empty p { font-size:.875rem; }
.cart-empty a { color:#ca8a04; font-weight:600; font-size:.875rem; }
.cart-subtotal {
  display:flex; justify-content:space-between; align-items:center; margin-bottom:.75rem;
}
.cart-subtotal-label { font-size:.875rem; font-weight:500; color:var(--text-sec); }
.cart-subtotal-val { font-size:1.25rem; font-weight:700; color:var(--text); }
.cart-checkout-btn {
  width:100%; background:var(--black); color:#fff;
  font-weight:700; padding:.875rem; border-radius:var(--r-md);
  transition:background .2s, color .2s;
  box-shadow:0 14px 36px rgba(0,0,0,.14);
}

:focus-visible {
  outline: 3px solid rgba(250, 204, 21, .75);
  outline-offset: 3px;
}
.cat-dropdown.open .cat-dropdown-panel { display:block; }
.cart-checkout-btn:hover { background:var(--yellow); color:var(--black); }

/* Search sidebar */
.search-input-row { display:flex; gap:.75rem; padding:1rem 1rem 0; }
.search-input-row .input-field { flex:1; }
.search-submit-btn {
  background:var(--black); color:#fff; font-weight:700;
  padding:.75rem 1.25rem; border-radius:var(--r-md); white-space:nowrap;
  transition:background .2s, color .2s;
}
.search-submit-btn:hover { background:var(--yellow); color:var(--black); }
.search-cats { flex:1; overflow-y:auto; border-top:1px solid var(--border); padding:1rem; }
.search-cats-title {
  font-size:.75rem; font-weight:700; color:var(--text-sec);
  text-transform:uppercase; letter-spacing:.08em; margin-bottom:1rem;
}
.search-cat-item {
  display:flex; align-items:center; justify-content:space-between;
  padding:.75rem; border-radius:var(--r-md); color:var(--text-sec);
  font-size:.875rem; transition:background .2s, color .2s;
}
.search-cat-item:hover { background:var(--bg); color:#ca8a04; }
.search-cat-item:first-child { font-weight:600; }
.skeleton { background:var(--border); border-radius:var(--r-md); animation:pulse 1.5s ease-in-out infinite; }
@keyframes pulse { 0%,100%{ opacity:1; } 50%{ opacity:.45; } }

/* ─── FOOTER ────────────────────────────────────────────── */
.site-footer { background:var(--black); color:var(--footer-text); }
@media(max-width:639px){ .site-footer { padding-bottom:5.25rem; } }
.footer-grid {
  display:grid; grid-template-columns:1fr;
  gap:2rem; padding:4rem 0 1.5rem;
}
@media(min-width:768px){ .footer-grid { grid-template-columns:repeat(2,1fr); } }
@media(min-width:1024px){ .footer-grid { grid-template-columns:repeat(4,1fr); } }
.footer-logo { width:18rem; object-fit:contain; margin-left:-1rem; margin-bottom:1rem; }
.footer-desc { font-size:.875rem; color:#9ca3af; line-height:1.75; }
.footer-col-title { font-size:1.125rem; font-weight:600; margin-bottom:1rem; color:#fff; }
.footer-link {
  display:block; padding:.25rem 0; font-size:.875rem; color:#9ca3af;
  transition:color .3s;
}
.footer-link:hover { color:var(--red); }
.footer-socials { display:flex; gap:1rem; margin-top:.5rem; }
.footer-social {
  width:2.75rem; height:2.75rem; border-radius:50%;
  background:#fff; border:2px solid #fff;
  display:flex; align-items:center; justify-content:center;
  overflow:hidden; position:relative;
  transition:transform .3s;
  cursor:pointer;
}
.footer-social:hover { transform:scale(1.1); }
.footer-social svg {
  position:relative; z-index:1; transition:transform .5s;
}
.footer-social:hover svg { transform:rotate(360deg); }
.footer-social { color: var(--social-icon, #111827); }
.footer-social:hover { color:#fff; }
.footer-social::before {
  content:''; position:absolute; inset:0;
  background:var(--social-color,#ccc);
  transform:translateY(100%); transition:transform .5s ease;
  z-index:0;
}
.footer-social:hover::before { transform:translateY(0); }
.footer-social svg path,
.footer-social svg rect,
.footer-social svg circle,
.footer-social svg line { transition:fill .5s, stroke .5s; }
.footer-social.fb     { --social-color:#3b5999; }
.footer-social.ln     { --social-color:#0077b5; }
.footer-social.ig     { --social-color:#e1306c; }
.footer-social.tt     { --social-color:#010101; }
.footer-social.fb { --social-icon:#1877f2; }
.footer-social.ln { --social-icon:#0077b5; }
.footer-social.ig { --social-icon:#e1306c; }
.footer-social.tt { --social-icon:#111827; }
.footer-bottom {
  border-top:1px solid #1f2937;
  padding:1.25rem 0;
  text-align:center;
  font-size:.75rem; color:#6b7280;
}
.footer-bottom p + p { margin-top:.25rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ─── BANNER CAROUSEL ───────────────────────────────────── */
.banner-carousel {
  position:relative;
  overflow:hidden;
  background:var(--black);
  border-radius:1.5rem;
  margin:1.25rem auto 0;
  max-width:1280px;
  height:clamp(220px, 26vw, 380px);
  box-shadow:0 18px 50px rgba(0,0,0,.22);
}
@media(max-width:639px){ .banner-carousel { display:none !important; } }
.banner-slide {
  position:absolute; inset:0;
  opacity:0; transform:translateX(100%);
  transition:opacity .5s ease, transform .5s ease;
}
.banner-slide.active { opacity:1; transform:translateX(0); }
.banner-slide.prev   { opacity:0; transform:translateX(-100%); }
.banner-slide picture,
.banner-slide img {
  width:100%; height:100%;
  position:absolute; inset:0;
}
.banner-slide img { object-fit:cover; display:block; }
.banner-overlay {
  position:absolute; inset:0;
  background:
    radial-gradient(1200px 500px at 20% 55%, rgba(0,0,0,.55), transparent 60%),
    linear-gradient(to right, rgba(0,0,0,.65) 0%, rgba(0,0,0,.25) 40%, rgba(0,0,0,.05) 70%, transparent 85%),
    linear-gradient(to top, rgba(0,0,0,.35), transparent 40%);
}
.banner-content {
  position:relative; z-index:2;
  padding:2rem; max-width:40rem;
  display:flex; flex-direction:column; gap:.75rem;
  height:100%; justify-content:center;
}
.banner-content { pointer-events:none; }
.banner-content a, .banner-content button { pointer-events:auto; }
.banner-badge, .banner-title, .banner-sub { pointer-events:none; }
.banner-cta { pointer-events:auto; }
.banner-content { padding-left:clamp(1.25rem, 3vw, 2.5rem); padding-right:clamp(1.25rem, 3vw, 2.5rem); }
.banner-badge {
  display:inline-flex; align-items:center;
  background:var(--yellow); color:var(--black);
  font-size:.7rem; font-weight:900; text-transform:uppercase; letter-spacing:.1em;
  padding:.25rem .875rem; border-radius:var(--r-full);
  width:fit-content;
}
.banner-title {
  color:#fff;
  font-size:clamp(1.5rem, 2.3vw, 2.75rem);
  font-weight:900;
  line-height:1.12;
  text-shadow:0 2px 14px rgba(0,0,0,.35);
}
.banner-sub { color:rgba(255,255,255,.82); font-size:clamp(.85rem, 1.2vw, 1rem); font-weight:500; max-width:36rem; }
.banner-cta {
  display:inline-flex; align-items:center; gap:.5rem;
  background:var(--yellow); color:var(--black);
  font-weight:700; font-size:.875rem;
  padding:.75rem 1.5rem; border-radius:var(--r-full);
  width:fit-content; transition:background .2s, transform .2s;
  box-shadow:0 10px 26px rgba(0,0,0,.22);
}
.banner-cta:hover { background:var(--yellow-hover); transform:scale(1.05); }
/* Arrows */
.banner-arrow {
  position:absolute; top:50%; z-index:3;
  transform:translateY(-50%);
  width:2.5rem; height:2.5rem; border-radius:9999px;
  background:rgba(255,255,255,.12); backdrop-filter:blur(6px);
  border:1px solid rgba(255,255,255,.22);
  display:flex; align-items:center; justify-content:center;
  color:#fff; transition:background .2s;
}
.banner-arrow:hover { background:rgba(255,255,255,.25); }
.banner-arrow-prev { left:.875rem; }
.banner-arrow-next { right:.875rem; }
/* Progress bar */
.banner-progress {
  position:absolute; top:0; left:0; right:0;
  height:2px; background:rgba(255,255,255,.1); z-index:3;
}
.banner-progress-bar {
  height:100%; background:var(--yellow);
  width:0; transition:width linear;
}
/* Dots */
.banner-dots {
  position:absolute; bottom:.875rem; left:50%; transform:translateX(-50%);
  display:flex; gap:.5rem; z-index:3;
}
.banner-dot {
  height:8px; border-radius:var(--r-full);
  background:rgba(255,255,255,.4);
  transition:width .3s, background .3s;
  width:8px;
}
.banner-dot.active { width:28px; background:var(--yellow); }

/* ─── CALL TO ACTION STRIP ──────────────────────────────── */
.cta-strip {
  background:#f3f4f6; padding:2.5rem 0;
  text-align:center;
}
.cta-strip-title {
  font-size:1.5rem; font-weight:900; color:var(--text);
  text-transform:uppercase; letter-spacing:.05em;
  margin-bottom:.5rem;
}
@media(min-width:640px){ .cta-strip-title { font-size:2.25rem; } }
.cta-strip-title .accent { color:#ca8a04; }
.cta-strip-sub {
  color:var(--text-sec); font-size:.875rem; font-weight:500;
  max-width:48rem; margin:0 auto;
}
@media(min-width:640px){ .cta-strip-sub { font-size:1.125rem; } }

/* ─── PRODUCTS PAGE ─────────────────────────────────────── */
.page-header { margin-bottom:2rem; }
.page-title {
  font-size:1.5rem; font-weight:700; color:var(--text);
  border-left:4px solid var(--yellow); padding-left:.75rem;
}
@media(min-width:640px){ .page-title { font-size:1.875rem; } }
.page-subtitle { color:var(--text-sec); font-size:.875rem; margin-top:.5rem; padding-left:.875rem; }
.filter-pills { display:flex; flex-wrap:wrap; gap:.5rem; margin-bottom:.75rem; padding-bottom:.25rem; overflow-x:auto; }
.filter-pills::-webkit-scrollbar { height:3px; }
.filter-pills::-webkit-scrollbar-track { background:transparent; }
.filter-pills::-webkit-scrollbar-thumb { background:var(--border); border-radius:2px; }
.pill {
  flex-shrink:0; padding:.375rem 1rem;
  border-radius:var(--r-full); font-size:.875rem; font-weight:600;
  border:1.5px solid var(--border); background:var(--surface);
  color:var(--text-sec); transition:all .2s; white-space:nowrap;
}
.pill:hover { border-color:var(--yellow); color:#ca8a04; }
.pill.active { background:var(--yellow); color:var(--black); border-color:var(--yellow); box-shadow:var(--shadow-sm); }
.filter-sub-row {
  display:flex; flex-wrap:wrap; gap:.5rem;
  padding:.375rem 0 .375rem .75rem;
  border-left:2px solid var(--yellow); overflow-x:auto;
  padding-bottom:.25rem;
}
.pill-sm { font-size:.75rem; padding:.25rem .75rem; }
.filters-container { margin-bottom:2rem; }

/* ─── PRODUCT DETAIL ────────────────────────────────────── */
.product-detail-wrap {
  background:var(--surface); padding:1.5rem;
  border-radius:1.5rem; box-shadow:0 4px 32px rgba(0,0,0,.05);
  border:1px solid var(--border);
}
@media(min-width:640px){ .product-detail-wrap { padding:2rem; } }
.detail-grid {
  display:grid; grid-template-columns:1fr;
  gap:2rem;
}
@media(min-width:1024px){ .detail-grid { grid-template-columns:1fr 1fr; gap:3rem; } }
/* Gallery */
.gallery-main {
  background:var(--bg); border-radius:var(--r-xl);
  aspect-ratio:1/1; overflow:hidden; position:relative;
}
.gallery-main img {
  width:100%; height:100%; object-fit:contain; padding:2rem;
  transition:opacity .3s;
  mix-blend-mode: multiply;
}
.gallery-arrow {
  position:absolute; top:50%; transform:translateY(-50%);
  width:2.25rem; height:2.25rem; border-radius:9999px;
  background:rgba(17,24,39,.45); color:#fff;
  border:1px solid rgba(255,255,255,.35);
  display:flex; align-items:center; justify-content:center;
  transition:background .2s, transform .2s;
  z-index:2;
}
.gallery-arrow:hover { background:rgba(17,24,39,.7); transform:translateY(-50%) scale(1.05); }
.gallery-arrow-prev { left:.75rem; }
.gallery-arrow-next { right:.75rem; }
.gallery-dots {
  display:flex; align-items:center; justify-content:center;
  gap:.375rem; margin-top:.625rem;
}
.gallery-dot {
  width:.5rem; height:.5rem; border-radius:9999px;
  background:#d1d5db; transition:all .2s;
}
.gallery-dot.active { width:1.25rem; background:#facc15; }
.gallery-thumbs { display:grid; grid-template-columns:repeat(4,1fr); gap:.75rem; margin-top:.75rem; }
.gallery-thumb {
  aspect-ratio:1/1; border-radius:var(--r-md);
  border:2px solid var(--border); overflow:hidden;
  background:var(--bg); cursor:pointer; transition:border-color .2s;
}
.gallery-thumb:hover  { border-color:#fde047; }
.gallery-thumb.active { border-color:var(--yellow); box-shadow:var(--shadow-md); }
.gallery-thumb img { width:100%; height:100%; object-fit:contain; padding:.375rem; mix-blend-mode:multiply; }
/* Detail info */
.detail-title { font-size:1.5rem; font-weight:700; color:var(--text); margin-bottom:.75rem; }
@media(min-width:640px){ .detail-title { font-size:2.25rem; } }
.detail-price {
  font-size:1.875rem; font-weight:900; color:#ca8a04; margin-bottom:.375rem;
  display:flex; align-items:baseline; gap:.375rem; flex-wrap:wrap;
}
.detail-price-note { font-size:.875rem; font-weight:400; color:var(--text-sec); }
.detail-stock { font-size:.875rem; font-weight:600; margin-bottom:1rem; }
.detail-stock.available { color:var(--green); }
.detail-stock.unavailable { color:var(--red); }
/* Quantity selector */
.qty-selector {
  display:flex; align-items:center;
  border:1.5px solid var(--border); border-radius:var(--r-lg);
  width:100%; height:3.5rem; overflow:hidden;
  margin-bottom:1rem;
}
@media(min-width:640px){ .qty-selector { width:9rem; height:3rem; border-radius:var(--r-md); } }
.qty-selector .qty-btn { flex:1; height:100%; font-size:1.125rem; }
.qty-selector .qty-val {
  flex:1; text-align:center; font-weight:700; font-size:1.125rem;
  color:var(--text); background:transparent; border:none; outline:none;
}
/* Buy button */
.buy-btn {
  width:100%; background:var(--black); color:#fff;
  height:4rem; border-radius:var(--r-lg);
  font-weight:900; font-size:1.125rem;
  display:flex; align-items:center; justify-content:center; gap:.75rem;
  transition:background .2s, color .2s;
  box-shadow:0 8px 24px rgba(0,0,0,.25);
  margin-bottom:1.5rem;
}
@media(min-width:640px){ .buy-btn { height:3rem; font-size:.875rem; border-radius:var(--r-md); } }
.buy-btn:hover { background:var(--yellow); color:var(--black); }
.buy-btn:disabled { opacity:.5; cursor:not-allowed; }
/* Freight calc */
.freight-section { margin-top:1.25rem; }
.freight-title {
  display:flex; align-items:center; gap:.5rem;
  font-size:1.125rem; font-weight:600; margin-bottom:.25rem;
}
.freight-note { font-size:.75rem; color:var(--text-muted); margin-bottom:.75rem; }
.freight-input-row { display:flex; gap:.5rem; margin-bottom:.75rem; }
.freight-input-row input { flex:1; }
.freight-calc-btn {
  background:var(--yellow); color:var(--black);
  font-weight:600; padding:.75rem 1.25rem; border-radius:var(--r-md);
  white-space:nowrap; transition:background .2s;
}
.freight-calc-btn:hover { background:var(--yellow-hover); }
.freight-calc-btn:disabled { opacity:.5; cursor:not-allowed; }
.freight-result { display:flex; flex-direction:column; gap:.5rem; }
.freight-option {
  display:flex; justify-content:space-between; align-items:center;
  padding:1rem; background:var(--surface); border:1px solid var(--border);
  border-radius:var(--r-md); box-shadow:var(--shadow-sm);
}
.freight-option-name { font-weight:700; font-size:.875rem; color:var(--text); }
.freight-option-days { font-size:.75rem; color:var(--text-sec); }
.freight-option-val { font-weight:700; font-size:1.125rem; }
/* Specs */
.specs-box {
  margin-top:2rem; background:var(--bg); padding:1.25rem; border-radius:var(--r-lg);
}
.specs-title {
  display:flex; align-items:center; gap:.5rem; margin-bottom:.875rem;
  font-size:.875rem; font-weight:700; color:var(--text);
  text-transform:uppercase; letter-spacing:.05em;
}
.spec-item { display:flex; align-items:center; gap:.5rem; margin-bottom:.5rem; }
.spec-item svg { color:#ca8a04; flex-shrink:0; }
.spec-label { font-weight:600; }
/* Description */
.product-description { margin-top:2.5rem; padding-top:2.5rem; border-top:1px solid var(--border); }
.product-description h2 { font-size:1.5rem; font-weight:700; margin-bottom:1.5rem; }
.product-description p { color:var(--text-sec); line-height:1.75; white-space:pre-wrap; }
/* Breadcrumb */
.breadcrumb {
  display:none; align-items:center; gap:.375rem;
  font-size:.875rem; color:var(--text-muted); margin-bottom:2rem;
  flex-wrap:wrap;
}
@media(min-width:640px){ .breadcrumb { display:flex; } }
.breadcrumb a:hover { color:#ca8a04; }
.breadcrumb-sep { color:var(--text-muted); }
.breadcrumb-current { color:var(--text); font-weight:500; max-width:18rem; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }

/* ─── CHECKOUT ──────────────────────────────────────────── */
.checkout-layout { display:flex; flex-direction:column; gap:2rem; }
@media(min-width:1024px){ .checkout-layout { flex-direction:row; } }
.checkout-main { flex:1; }
.checkout-summary { width:100%; flex-shrink:0; }
@media(min-width:1024px){ .checkout-summary { width:20rem; } }
.address-card {
  padding:1.25rem; border-radius:var(--r-lg);
  border:2px solid var(--border); background:var(--surface);
  cursor:pointer; transition:border-color .2s, background .2s;
  margin-bottom:.75rem;
}
.address-card:hover { border-color:#fde047; }
.address-card.selected { border-color:var(--yellow); background:rgba(254,252,232,.4); }
.address-card-header { display:flex; align-items:center; gap:.75rem; margin-bottom:.5rem; }
.address-radio {
  width:1.25rem; height:1.25rem; border-radius:50%;
  border:2px solid var(--border); flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  transition:border-color .2s;
}
.address-card.selected .address-radio { border-color:var(--yellow); }
.address-radio-dot {
  width:.5rem; height:.5rem; border-radius:50%;
  background:var(--yellow); opacity:0; transition:opacity .2s;
}
.address-card.selected .address-radio-dot { opacity:1; }
.add-address-btn {
  width:100%; border:2px dashed var(--border); border-radius:var(--r-lg);
  padding:1rem; display:flex; align-items:center; justify-content:center; gap:.5rem;
  color:var(--text-sec); font-size:.875rem; font-weight:500;
  transition:border-color .2s, color .2s; margin-top:.75rem;
}
.add-address-btn:hover { border-color:var(--yellow); color:#ca8a04; }
.checkout-form { background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:1.5rem; margin-top:.75rem; }
.checkout-form-title { font-size:1.125rem; font-weight:700; margin-bottom:1.25rem; }
.form-grid { display:grid; grid-template-columns:1fr; gap:1rem; }
@media(min-width:640px){ .form-grid { grid-template-columns:1fr 1fr; } }
.form-field { display:flex; flex-direction:column; gap:.375rem; }
.form-label { font-size:.8125rem; font-weight:600; color:var(--text-sec); }
.col-span-2 { grid-column: span 2; }
.summary-card {
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--r-lg); padding:1.5rem;
}
@media(min-width:1024px){ .summary-card { position:sticky; top:7rem; } }
.summary-items { max-height:13rem; overflow-y:auto; margin-bottom:1rem; }
.summary-item { display:flex; justify-content:space-between; align-items:start; padding:.375rem 0; font-size:.875rem; }
.summary-item-name { color:var(--text-sec); flex:1; margin-right:.75rem; }
.summary-item-val { font-weight:500; white-space:nowrap; }
.summary-total { display:flex; justify-content:space-between; align-items:center; border-top:1px solid var(--border); padding-top:.75rem; margin-bottom:1rem; }
.summary-total-label { font-weight:600; }
.summary-total-val { font-size:1.25rem; font-weight:700; color:#ca8a04; }
.summary-address-box {
  background:var(--bg); border-radius:var(--r-md); padding:.75rem;
  border:1px solid var(--border); font-size:.75rem; margin-bottom:1rem;
  display:flex; gap:.5rem;
}
.continue-btn {
  width:100%; background:var(--black); color:#fff;
  font-weight:700; padding:.875rem; border-radius:var(--r-md);
  transition:background .2s, color .2s;
}
.continue-btn:hover { background:var(--yellow); color:var(--black); }
.continue-btn:disabled { opacity:.5; cursor:not-allowed; }

/* ─── LOGIN PAGE ────────────────────────────────────────── */
.auth-page {
  min-height:100vh; background:var(--bg);
  display:flex; align-items:center; justify-content:center; padding:1rem;
}
.auth-card {
  width:100%; max-width:28rem;
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--r-xl); box-shadow:var(--shadow-xl); padding:2rem;
}
.auth-logo { width:7.5rem; height:7.5rem; object-fit:contain; margin:0 auto 1rem; display:block; }
.auth-tabs { display:flex; border-bottom:1px solid var(--border); margin-bottom:1.5rem; position:relative; }
.auth-tab {
  flex:1; padding:.75rem; text-align:center; font-size:.875rem;
  color:var(--text-sec); font-weight:500; cursor:pointer; transition:color .2s;
}
.auth-tab.active { color:var(--text); font-weight:600; }
.auth-tab-indicator {
  position:absolute; bottom:0; left:0; height:2px;
  background:var(--yellow); transition:left .2s ease;
  width:50%;
}
.auth-form { display:none; flex-direction:column; gap:1rem; }
.auth-form.active { display:flex; }
.auth-form-grid { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.auth-error {
  background:#fee2e2; color:var(--red-dark); padding:.75rem 1rem;
  border-radius:var(--r-md); font-size:.875rem; font-weight:500; text-align:center;
}
.auth-success-screen {
  display:none; flex-direction:column; align-items:center; gap:1rem; padding:1.5rem 0;
}
.auth-success-screen.active { display:flex; }
.auth-success-icon {
  width:4rem; height:4rem; background:#fef9c3; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
}
.auth-back-link {
  display:block; text-align:center; margin-top:1rem;
  font-size:.875rem; color:var(--text-sec); font-weight:500;
  transition:color .2s;
}
.auth-back-link:hover { color:#ca8a04; }

/* ─── MY ACCOUNT ────────────────────────────────────────── */
.account-layout { display:flex; flex-direction:column; gap:2rem; }
@media(min-width:768px){ .account-layout { flex-direction:row; align-items:flex-start; } }
.account-sidebar {
  width:100%; background:var(--surface);
  border:1px solid var(--border); border-radius:var(--r-lg);
  overflow:hidden; box-shadow:var(--shadow-sm);
}
@media(min-width:768px){ .account-sidebar { width:16rem; flex-shrink:0; } }
.account-nav-item {
  display:flex; align-items:center; gap:.75rem;
  padding:1rem 1.25rem; font-size:.875rem; color:var(--text-sec);
  transition:background .2s, color .2s; cursor:pointer;
}
.account-nav-item:hover { background:var(--bg); }
.account-nav-item.active { background:var(--yellow-50); color:#92400e; font-weight:600; border-right:3px solid var(--yellow); }
.account-nav-item.danger { color:var(--red); }
.account-nav-item.danger:hover { background:#fee2e2; }
.account-nav-item.admin-link { color:var(--blue); }
.account-nav-item.admin-link:hover { background:#eff6ff; }
.account-main { flex:1; }
.account-section { display:none; }
.account-section.active { display:block; }
.profile-grid { display:grid; grid-template-columns:1fr; gap:.75rem; margin-bottom:1.25rem; }
@media(min-width:640px){ .profile-grid { grid-template-columns:1fr 1fr; } }
.profile-field {
  display:flex; align-items:flex-start; gap:.75rem;
  padding:1rem; background:var(--bg); border-radius:var(--r-lg);
  border:1px solid var(--border);
}
.profile-field-icon { color:#ca8a04; flex-shrink:0; margin-top:.1rem; }
.profile-field-label { font-size:.75rem; color:var(--text-muted); }
.profile-field-val { font-weight:600; color:var(--text); font-size:.875rem; }
/* Address cards in account */
.addr-card {
  padding:1.25rem; border-radius:var(--r-lg);
  border:2px solid var(--border); background:var(--surface);
  margin-bottom:.75rem; position:relative;
  transition:border-color .2s;
}
.addr-card.default { border-color:var(--yellow); background:rgba(254,252,232,.3); }
.addr-card-actions { display:flex; gap:.5rem; }
.addr-action-btn {
  padding:.375rem; border-radius:var(--r-md); color:var(--text-muted);
  transition:background .2s, color .2s;
}
.addr-action-btn.star:hover  { color:#ca8a04; background:var(--yellow-50); }
.addr-action-btn.edit:hover  { color:var(--blue); background:#eff6ff; }
.addr-action-btn.trash:hover { color:var(--red); background:#fee2e2; }
.addr-delete-confirm {
  display:none; border-top:1px solid #fee2e2;
  margin-top:1rem; padding-top:1rem;
}
.addr-delete-confirm.show { display:flex; align-items:center; justify-content:space-between; }
.addr-empty {
  display:flex; flex-direction:column; align-items:center;
  padding:3rem 1rem; color:var(--text-muted); gap:.75rem; text-align:center;
}

/* ─── ADMIN ─────────────────────────────────────────────── */
.admin-layout { display:flex; min-height:100vh; }
.admin-sidebar {
  width:16rem; flex-shrink:0; background:var(--black);
  display:flex; flex-direction:column; padding:1.5rem 0;
}
.admin-logo { padding:0 1.25rem 1.5rem; border-bottom:1px solid #1f2937; }
.admin-logo img { width:10rem; object-fit:contain; }
.admin-nav { flex:1; padding:1rem 0; }
.admin-nav-item {
  display:flex; align-items:center; gap:.75rem;
  padding:.75rem 1.25rem; font-size:.875rem; color:#9ca3af;
  transition:background .2s, color .2s;
}
.admin-nav-item:hover { background:#1f2937; color:#fff; }
.admin-nav-item.active { background:#facc15; color:#000; font-weight:600; }
.admin-content { flex:1; overflow:auto; background:var(--bg); }
.admin-topbar {
  background:var(--surface); border-bottom:1px solid var(--border);
  padding:1rem 1.5rem; display:flex; align-items:center;
  justify-content:space-between;
}
.admin-page-title { font-size:1.25rem; font-weight:700; }
.admin-body { padding:1.5rem; }
.admin-table-wrap { overflow-x:auto; background:var(--surface); border-radius:var(--r-lg); border:1px solid var(--border); }
.admin-table { width:100%; border-collapse:collapse; font-size:.875rem; }
.admin-table thead tr { border-bottom:1px solid var(--border); }
.admin-table th {
  padding:.875rem 1rem; text-align:left; font-weight:600;
  color:var(--text-sec); white-space:nowrap; cursor:pointer;
  user-select:none; transition:color .2s;
}
.admin-table th:hover { color:var(--text); }
.admin-table td { padding:.75rem 1rem; border-bottom:1px solid var(--border); vertical-align:middle; }
.admin-table tbody tr:last-child td { border-bottom:none; }
.admin-table tbody tr:hover { background:var(--bg); }
.admin-search {
  padding:.625rem 1rem; border:1.5px solid var(--border);
  border-radius:var(--r-md); font-size:.875rem; outline:none;
  transition:border-color .2s; width:18rem;
}
.admin-search:focus { border-color:var(--yellow); }
.admin-filter-btn {
  padding:.5rem 1rem; border-radius:var(--r-md);
  font-size:.8125rem; font-weight:600;
  border:1.5px solid var(--border); background:var(--surface);
  color:var(--text-sec); transition:all .2s;
}
.admin-filter-btn.active { background:var(--yellow); color:var(--black); border-color:var(--yellow); }
.admin-filter-btn:hover:not(.active) { border-color:var(--yellow); color:#ca8a04; }
.admin-thumb { width:3rem; height:3rem; object-fit:contain; border-radius:var(--r-md); background:var(--bg); padding:.25rem; }
.admin-edit-input { width:100%; padding:.375rem .625rem; border:1.5px solid var(--yellow); border-radius:var(--r-md); font-size:.8125rem; outline:none; }
.admin-toggle {
  width:2.75rem; height:1.5rem; border-radius:var(--r-full);
  background:var(--border); position:relative; cursor:pointer;
  transition:background .2s; flex-shrink:0;
}
.admin-toggle.on { background:#22c55e; }
.admin-toggle::after {
  content:''; position:absolute; top:3px; left:3px;
  width:1.125rem; height:1.125rem; border-radius:50%;
  background:#fff; transition:left .2s;
  box-shadow:0 1px 3px rgba(0,0,0,.2);
}
.admin-toggle.on::after { left:calc(100% - 1.125rem - 3px); }
.admin-access-denied {
  display:flex; flex-direction:column; align-items:center;
  justify-content:center; min-height:100vh; gap:1rem; color:var(--text-sec);
}
.pagination {
  display:flex; align-items:center; justify-content:center; gap:.5rem;
  padding:1rem;
}
.pagination a {
  width:2rem; height:2rem; border-radius:var(--r-md);
  display:flex; align-items:center; justify-content:center;
  font-size:.875rem; font-weight:500; color:var(--text-sec);
  border:1px solid var(--border); transition:all .2s;
}
.pagination a:hover { border-color:var(--yellow); color:#ca8a04; }
.pagination a.current { background:var(--yellow); color:var(--black); border-color:var(--yellow); font-weight:700; }

/* ─── MOBILE HERO ───────────────────────────────────────── */
.mobile-hero {
  background:var(--black); padding:1.5rem 1rem;
  display:flex; flex-direction:column; align-items:center; text-align:center; gap:1rem;
}
@media(min-width:640px){ .mobile-hero { display:none; } }
.mobile-hero img { width:14rem; height:auto; }
.mobile-hero-title { color:#fff; font-size:1.5rem; font-weight:900; }
.mobile-hero-title span { color:var(--yellow); }
.mobile-hero-cta {
  background:var(--yellow); color:var(--black);
  font-weight:700; padding:.75rem 1.75rem; border-radius:var(--r-full);
  transition:background .2s, transform .2s;
}
.mobile-hero-cta:hover { background:var(--yellow-hover); transform:scale(1.04); }

/* ─── MISC / UTILITY ────────────────────────────────────── */
.section-padding { padding:2.5rem 0; }
@media(min-width:640px){ .section-padding { padding:4rem 0; } }
.no-products {
  text-align:center; padding:4rem 1rem; color:var(--text-sec);
}
.no-products a { color:#ca8a04; font-weight:600; }
.alert { padding:.875rem 1rem; border-radius:var(--r-md); font-size:.875rem; font-weight:500; margin-bottom:1rem; }
.alert-error  { background:#fee2e2; color:#991b1b; border:1px solid #fca5a5; }
.alert-success{ background:#dcfce7; color:#166534; border:1px solid #86efac; }
.alert-info   { background:#dbeafe; color:#1e40af; border:1px solid #93c5fd; }

/* ─── INSTITUCIONAL ─────────────────────────────────────── */
.institutional-wrap { max-width: 1000px; }
.institutional-hero {
  background: linear-gradient(135deg, #0f172a, #1f2937);
  color: #fff;
  padding: 2rem;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  margin-bottom: 1.5rem;
}
.institutional-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-weight: 800;
  font-size: .75rem;
  padding: .25rem .65rem;
  border-radius: var(--r-full);
  margin-bottom: .75rem;
}
.institutional-hero h1 { font-size: 1.75rem; margin-bottom: .75rem; }
.institutional-hero p { color: rgba(255,255,255,.84); max-width: 48rem; }
.institutional-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  margin-bottom: 1rem;
}
.institutional-section h2 {
  font-size: 1.25rem;
  margin-bottom: .75rem;
  border-left: 4px solid var(--yellow);
  padding-left: .65rem;
}
.institutional-section p { color: var(--text-sec); }
.institutional-grid,
.support-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .85rem;
  margin-top: 1rem;
}
@media(min-width:768px){
  .institutional-grid { grid-template-columns: repeat(3, 1fr); }
  .support-grid { grid-template-columns: repeat(2, 1fr); }
}
.institutional-card,
.support-card {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1rem;
  background: #fff;
}
.institutional-card h3,
.support-card h3 {
  font-size: 1rem;
  margin-bottom: .5rem;
}
.institutional-lead { margin-top: .25rem; }
.ticket-box {
  margin-top: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: #f8fafc;
  padding: 1rem;
}
.ticket-box h3 { margin-bottom: .35rem; }
.ticket-box > p { color: var(--text-sec); font-size: .875rem; margin-bottom: .85rem; }
.ticket-form { display: flex; flex-direction: column; gap: .85rem; }
.ticket-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
}
@media(min-width:640px){ .ticket-row { grid-template-columns: repeat(2, 1fr); } }

/* ─── SOBRE NOS ─────────────────────────────────────────── */
.about-wrap { max-width: 1100px; }
.about-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  border-radius: var(--r-2xl);
  overflow: hidden;
  background: linear-gradient(130deg, #0b1220, #1f2937);
  color: #fff;
  box-shadow: var(--shadow-xl);
  margin-bottom: 1.25rem;
}
@media(min-width:900px){ .about-hero { grid-template-columns: 1.05fr .95fr; } }
.about-hero__content { padding: 2rem; }
.about-hero__actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}
.about-btn-light {
  color: #fff;
  border-color: rgba(255,255,255,.35);
}
.about-btn-light:hover {
  color: var(--black);
  border-color: var(--yellow);
  background: var(--yellow);
}
.about-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-size: .75rem;
  font-weight: 800;
  border-radius: var(--r-full);
  padding: .25rem .7rem;
  margin-bottom: .8rem;
}
.about-hero__content h1 { font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.2; margin-bottom: .75rem; }
.about-hero__content p { color: rgba(255,255,255,.85); max-width: 36rem; }
.about-hero__image { min-height: 240px; background: #111827; }
.about-hero__image img { width: 100%; height: 100%; object-fit: cover; }
.about-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .85rem;
  margin-bottom: 1rem;
}
@media(min-width:900px){ .about-metrics { grid-template-columns: repeat(4, 1fr); } }
.about-metric-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.about-metric-card strong {
  font-size: 1.35rem;
  color: #92400e;
}
.about-metric-card span {
  color: var(--text-sec);
  font-size: .85rem;
}
.about-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  margin-bottom: 1rem;
}
.about-section h2 {
  font-size: 1.25rem;
  margin-bottom: .75rem;
  border-left: 4px solid var(--yellow);
  padding-left: .65rem;
}
.about-section p { color: var(--text-sec); line-height: 1.7; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .85rem;
  margin-top: .5rem;
}
@media(min-width:768px){ .about-grid { grid-template-columns: repeat(3, 1fr); } }
.about-card {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1rem;
  background: #fff;
}
.about-card h3 { margin-bottom: .45rem; font-size: 1rem; }
.about-card p { color: var(--text-sec); font-size: .93rem; }
.about-card--highlight {
  border-color: #fcd34d;
  background: linear-gradient(180deg, #fffbeb, #fff);
}
.about-gallery {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
}
.about-gallery h2 {
  font-size: 1.25rem;
  margin-bottom: .85rem;
  border-left: 4px solid var(--yellow);
  padding-left: .65rem;
}
.about-gallery__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .85rem;
}
@media(min-width:768px){ .about-gallery__grid { grid-template-columns: repeat(3, 1fr); } }
.about-gallery__item {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  min-height: 180px;
}
.about-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.about-gallery__item:hover img { transform: scale(1.04); }
.about-cta {
  margin-top: 1rem;
  background: linear-gradient(140deg, #111827, #1f2937);
  color: #fff;
  border-radius: var(--r-xl);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-lg);
}
@media(min-width:900px){
  .about-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1.75rem;
  }
}
.about-cta__content h2 {
  font-size: 1.45rem;
  margin-bottom: .4rem;
}
.about-cta__content p {
  color: rgba(255,255,255,.82);
  max-width: 40rem;
}
.about-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}
.about-cta .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,.35);
}
.about-cta .btn-outline:hover {
  color: var(--black);
  border-color: var(--yellow);
  background: var(--yellow);
}

/* ─── LOAD MORE BUTTON ──────────────────────────────────── */
.btn-load-more {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 2rem;
  background: var(--yellow);
  color: var(--black);
  font-weight: 700;
  font-size: .9375rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
}
.btn-load-more:hover  { opacity: .88; }
.btn-load-more:active { transform: scale(.97); }
.btn-load-more:disabled { opacity: .55; cursor: default; }

/* ─── PAGE WRAPPER ──────────────────────────────────────── */
.page-content {
  min-height: calc(100vh - 6rem - 4rem); /* minus header and approx footer */
  padding-bottom: 5rem; /* mobile bottom bar */
}
@media(min-width:640px){ .page-content { padding-bottom: 0; } }
