:root {
  --bg: #f8f6f3;
  --panel: #ffffff;
  --card: #ffffff;
  --text: #1a1a2e;
  --muted: #6b7280;
  --gold: #d4860b;
  --gold-light: #f59e0b;
  --danger: #ef4444;
  --ok: #10b981;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,.08);
  --border: #e5e7eb;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  animation: pageEnter .45s ease-out both;
}
a { text-decoration: none; color: var(--gold); }
.wrap { width: min(1200px, 94%); margin: auto; }
.top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
  animation: navDrop .55s ease-out both;
}
.nav { height: 64px; display: flex; align-items: center; justify-content: space-between; }
.brand { font-weight: 900; font-size: 20px; letter-spacing: 0; color: var(--text); }
.brand span { color: var(--gold); }
.nav a { color: var(--muted); font-weight: 600; font-size: 14px; transition: color .2s; }
.nav a:hover { color: var(--gold); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--gold);
  color: #fff;
  padding: 8px 16px;
  font-family: inherit;
  font-weight: 800;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(212,134,11,.22);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, color .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); background: var(--gold-light); box-shadow: 0 10px 24px rgba(212,134,11,.3); }
.btn.secondary { background: var(--panel); color: var(--text); border-color: var(--border); box-shadow: none; }
.btn.secondary:hover { background: #fff; border-color: var(--gold); color: var(--gold); box-shadow: 0 8px 18px rgba(17,24,39,.06); }
.btn.danger { background: var(--danger); box-shadow: 0 4px 12px rgba(239,68,68,.25); }
.btn.small { min-height: 30px; padding: 6px 12px; font-size: 11px; border-radius: 8px; }
.nav-actions { gap: 8px; flex-wrap: nowrap; }
.nav-btn {
  min-width: 74px;
  height: 34px;
  white-space: nowrap;
}

.hero {
  padding: 50px 0 36px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 36px;
  align-items: center;
}
.hero > div:first-child { animation: heroTextIn .75s cubic-bezier(.2,.8,.2,1) .08s both; }
.hero-card { animation: heroMediaIn .85s cubic-bezier(.2,.8,.2,1) .16s both; }
.badge {
  display: inline-flex;
  background: rgba(212,134,11,.1);
  border: 1px solid rgba(212,134,11,.2);
  color: var(--gold);
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
}
.hero h1 {
  font-size: clamp(28px,4vw,48px);
  line-height: 1.05;
  margin: 14px 0;
  font-weight: 900;
  letter-spacing: 0;
}
.hero p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.hero-card {
  background: linear-gradient(135deg,#fdf8f0,#fef3c7);
  border: 1px solid rgba(212,134,11,.15);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow);
}
.mock {
  min-height: 280px;
  border-radius: 16px;
  background: linear-gradient(135deg,#fde68a,#f59e0b);
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
}
.mock strong { font-size: 38px; color: #78350f; }
.mock p { color: #92400e; font-weight: 600; font-size: 14px; }
.hero-image { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; display: block; }

.grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(220px,1fr)); gap: 16px; }
.product {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  transition: all .3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  opacity: 0;
  transform: translateY(18px) scale(.98);
  animation: cardIn .7s cubic-bezier(.2,.8,.2,1) forwards;
}
.product:nth-child(1) { animation-delay: .1s; }
.product:nth-child(2) { animation-delay: .2s; }
.product:nth-child(3) { animation-delay: .3s; }
.product:nth-child(4) { animation-delay: .4s; }
.product:nth-child(5) { animation-delay: .5s; }
.product:nth-child(6) { animation-delay: .6s; }
.product:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.12); border-color: var(--gold); }
.photo {
  height: 160px;
  border-radius: 10px;
  background: linear-gradient(135deg,#fef3c7,#fde68a);
  display: grid;
  place-items: center;
  color: #92400e;
  font-weight: 800;
  font-size: 13px;
  overflow: hidden;
  position: relative;
}
.photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.product h3 { margin: 10px 0 3px; font-size: 14px; font-weight: 800; }
.product .desc {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.price { font-size: 18px; color: var(--gold); font-weight: 900; }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.input, select, textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
  outline: none;
  transition: all .2s ease;
}
.input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,134,11,.1); }
.input-short { max-width: 160px; }
.input-medium { max-width: 320px; }
.input-wide { max-width: 640px; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.section { padding: 32px 0; }
.section h2 { font-size: 24px; margin: 0 0 16px; font-weight: 900; letter-spacing: 0; }

.cart-card { max-width: 980px; }
.cart-line {
  display: grid;
  grid-template-columns: minmax(220px,1fr) auto auto;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 2px solid var(--border);
}
.coupon-apply-box{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;padding:12px;border:1px dashed rgba(212,134,11,.35);border-radius:10px;background:linear-gradient(135deg,#fffaf0,#fff)}
.coupon-form{display:flex;align-items:center;gap:8px;width:min(100%,420px)}
.coupon-form .input{text-transform:uppercase;font-weight:800;letter-spacing:.08em}
.coupon-mini-label{display:block;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.08em}
.coupon-saving{display:block;color:var(--ok);font-size:12px;font-weight:800}
.checkout-total{display:grid;gap:3px;margin:12px 0;padding:12px;border-radius:10px;background:#fffbeb;border:1px solid rgba(212,134,11,.16)}
.coupon-showcase{display:grid;grid-template-columns:minmax(230px,.9fr) minmax(260px,1fr);gap:12px;align-items:center;width:min(860px,calc(100% - 32px));margin:4px auto 10px;padding:12px 14px;border:1px solid rgba(212,134,11,.16);border-radius:16px;background:linear-gradient(135deg,#fff 0%,#fffaf0 62%,#fff4d6 100%);box-shadow:0 10px 30px rgba(120,72,8,.06);position:relative;overflow:hidden}
.coupon-showcase::before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(212,134,11,.045),transparent 38%,rgba(255,255,255,.58));pointer-events:none}
.coupon-showcase::after{content:'';position:absolute;width:96px;height:96px;border-radius:50%;right:-36px;top:-50px;background:rgba(245,158,11,.09);pointer-events:none}
.coupon-showcase .badge{padding:4px 10px;background:#fff8e6;border-color:rgba(212,134,11,.26);box-shadow:0 6px 16px rgba(212,134,11,.08);animation:exclusivePulse 2.4s ease-in-out infinite}
.coupon-showcase__intro{position:relative;z-index:1}
.coupon-showcase__intro h2{font-size:18px;line-height:1.15;margin:7px 0 3px;letter-spacing:-.02em}
.coupon-showcase__intro p{color:var(--muted);font-size:11px;margin:0;max-width:340px}
.coupon-showcase__list{display:grid;grid-template-columns:1fr;gap:8px;position:relative;z-index:1}
.coupon-ticket{display:grid;grid-template-columns:auto 1fr;grid-template-areas:"value code" "value desc" "date date";align-items:center;column-gap:10px;row-gap:2px;min-height:72px;padding:10px 12px;border:1px solid rgba(212,134,11,.18);border-radius:13px;background:rgba(255,255,255,.95);color:var(--text);box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 8px 22px rgba(17,24,39,.045);transition:transform .2s,box-shadow .2s,border-color .2s}
.coupon-ticket:hover{transform:translateY(-1px);border-color:rgba(212,134,11,.45);box-shadow:0 12px 26px rgba(212,134,11,.1)}
.coupon-ticket__value{grid-area:value;align-self:center;padding:7px 9px;border-radius:10px;background:linear-gradient(135deg,#f59e0b,#d4860b);color:#fff;font-size:10px;font-weight:900;white-space:nowrap;box-shadow:0 7px 16px rgba(212,134,11,.22)}
.coupon-ticket strong{grid-area:code;margin:0;color:var(--text);font-size:15px;letter-spacing:.08em;line-height:1.1}
.coupon-ticket small{grid-area:desc;margin:0;color:var(--muted);font-size:10px;line-height:1.35;text-transform:none}
.coupon-ticket em{grid-area:date;margin-top:5px;padding-top:7px;border-top:1px solid rgba(212,134,11,.12);color:var(--gold);font-size:9px;font-style:normal;font-weight:800}
.total { font-size: 20px; font-weight: 900; color: var(--gold); }
.checkout-card { max-width: 920px; }
.checkout-customer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px;
  margin-bottom: 14px;
  border: 1px solid rgba(212,134,11,.18);
  border-radius: 10px;
  background: #fffbeb;
}
.checkout-customer strong, .checkout-customer small { display: block; }
.checkout-customer small { color: var(--muted); font-size: 12px; margin-top: 2px; }
.checkout-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.1fr) minmax(150px, .7fr);
  gap: 10px;
  align-items: end;
}
.checkout-stack { max-width: 760px; }
.settings-card { max-width: 720px; }
.admin-product-grid {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(120px, 180px);
  gap: 16px;
  align-items: end;
}
.admin-image-grid {
  display: grid;
  grid-template-columns: minmax(260px, 420px) auto;
  gap: 16px;
  align-items: end;
}
.variant-row {
  display: grid;
  grid-template-columns: minmax(90px, 120px) minmax(140px, 220px) minmax(90px, 120px) auto;
  gap: 10px;
  margin-bottom: 8px;
  align-items: end;
}

.notice { padding: 8px 12px; border-radius: 8px; margin-bottom: 12px; font-size: 12px; font-weight: 600; }
.notice.ok { background: rgba(16,185,129,.1); color: var(--ok); border: 1px solid rgba(16,185,129,.2); }
.notice.danger { background: rgba(239,68,68,.1); color: var(--danger); border: 1px solid rgba(239,68,68,.2); }
.pixbox textarea { min-height: 80px; }
.footer { padding: 24px 0; color: var(--muted); border-top: 1px solid var(--border); font-size: 12px; text-align: center; }
.features{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:9px;width:min(920px,100%);margin:0 auto}
.features .card{min-height:96px;text-align:center;padding:11px 12px;border-radius:10px;box-shadow:0 1px 6px rgba(0,0,0,.035)}
.features .card h3{font-size:13px;line-height:1.2;margin:0 0 5px}
.features .card p{font-size:11px;line-height:1.35;color:var(--muted);margin:0 auto;max-width:250px}
.whatsapp-btn {
  margin-top: 7px;
  background: #25d366;
  color: #fff;
  border: 1px solid rgba(18,140,126,.15);
  box-shadow: 0 8px 20px rgba(37,211,102,.24);
}
.whatsapp-btn:hover {
  background: #1ebe5d;
  color: #fff;
  border-color: rgba(18,140,126,.25);
  box-shadow: 0 12px 28px rgba(37,211,102,.34);
}
.features .whatsapp-btn{min-height:28px;padding:6px 12px;font-size:10px;border-radius:7px}
.whatsapp-btn svg { width: 14px; height: 14px; fill: currentColor; flex: 0 0 auto; }
.whatsapp-btn[aria-disabled="true"] {
  pointer-events: none;
  opacity: .55;
  filter: grayscale(.15);
}
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.label { display: block; font-size: 11px; color: var(--muted); margin-bottom: 3px; font-weight: 600; }
.form-group { margin-bottom: 10px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.customer-chip {
  cursor: default;
  pointer-events: none;
}
.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: none;
  place-items: center;
  padding: 14px;
  overflow: hidden;
}
.auth-modal.is-open,
.auth-modal.is-closing { display: grid; }
.auth-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17,24,39,.56);
  backdrop-filter: blur(7px);
  animation: authBackdropIn .38s ease both;
}
.auth-modal.is-closing .auth-backdrop { animation: authBackdropOut .2s ease both; }
.auth-panel {
  position: relative;
  width: min(430px, 100%);
  max-height: calc(100svh - 28px);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(0,0,0,.25), 0 0 0 1px rgba(212,134,11,.08), 0 0 34px rgba(212,134,11,.16);
  padding: 20px;
  isolation: isolate;
  transform-origin: center 62%;
  animation: authIn .62s cubic-bezier(.16,1,.3,1) both;
}
.auth-modal.is-closing .auth-panel { animation: authOut .18s ease both; }
.auth-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto auto;
  width: 52%;
  height: 46%;
  background: linear-gradient(135deg, rgba(212,134,11,.18), rgba(251,191,36,.08) 52%, transparent 53%);
  clip-path: polygon(34% 0, 100% 0, 100% 100%);
  pointer-events: none;
  z-index: -1;
  animation: authShardIn .58s cubic-bezier(.18,.9,.22,1) both;
}
.auth-panel::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 0 26%, rgba(255,255,255,.9) 42%, transparent 58% 100%);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  animation: authSweep .72s .08s ease both;
}
.auth-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  z-index: 5;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  transition: border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.auth-close::before {
  content: "";
  position: absolute;
  inset: -8px;
}
.auth-close:hover {
  border-color: rgba(212,134,11,.35);
  color: var(--text);
  box-shadow: 0 8px 18px rgba(15,23,42,.10);
}
.auth-close:active { transform: scale(.96); }
.auth-copy h2 { margin: 10px 0 5px; font-size: 22px; line-height: 1.12; }
.auth-copy p, .auth-hint { color: var(--muted); font-size: 12px; margin: 0 0 12px; }
.auth-copy,
.google-auth-btn,
.auth-tabs {
  animation: authElementIn .48s cubic-bezier(.2,.8,.2,1) both;
}
.auth-tabs { animation-delay: .08s; }
.google-auth-btn { animation-delay: .14s; }
.auth-tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 4px;
  margin: 12px 0;
  background: #f3f4f6;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(15,23,42,.03);
  transition: box-shadow .28s ease, transform .28s ease;
}
.auth-tabs.is-switching {
  transform: translateY(-1px);
  box-shadow: inset 0 0 0 1px rgba(212,134,11,.12), 0 10px 22px rgba(212,134,11,.12);
}
.auth-tabs::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc((100% - 8px) / 3);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15,23,42,.10);
  transform: translateX(0);
  transition: transform .46s cubic-bezier(.16,1,.3,1), box-shadow .28s ease;
}
.auth-tabs.is-switching::before { box-shadow: 0 10px 24px rgba(212,134,11,.18); }
.auth-tabs[data-auth-state="register"]::before { transform: translateX(100%); }
.auth-tabs[data-auth-state="forgot"]::before { transform: translateX(200%); }
.auth-tabs::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 3px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,134,11,.55), transparent);
  opacity: .55;
}
.auth-tabs button {
  position: relative;
  z-index: 1;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  min-height: 32px;
  padding: 7px 5px;
  font-weight: 800;
  font-size: 11px;
  line-height: 1.05;
  cursor: pointer;
  transition: color .22s ease, transform .22s ease;
}
.auth-tabs button:hover { color: var(--text); }
.auth-tabs button.is-active { color: var(--text); transform: translateY(-1px); }
.google-auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  margin-bottom: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  background: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 1px 5px rgba(0,0,0,.05);
}
.google-auth-btn:hover { border-color: #cbd5e1; color: var(--text); box-shadow: 0 6px 16px rgba(15,23,42,.08); }
.google-mark {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #4285f4;
  background: #fff;
  border: 1px solid #e5e7eb;
  font-weight: 900;
}
.auth-forms {
  position: relative;
  min-height: var(--auth-form-height, 142px);
  transition: min-height .36s cubic-bezier(.16,1,.3,1);
}
.auth-form {
  display: none;
  width: 100%;
  transform-origin: center;
}
.auth-form.is-active,
.auth-form.is-leaving {
  display: block;
}
.auth-form.is-entering,
.auth-form.is-leaving {
  position: absolute;
  inset: 0;
}
.auth-form.is-entering {
  z-index: 2;
  animation: authTabIn .36s cubic-bezier(.16,1,.3,1) both;
}
.auth-form.is-leaving {
  z-index: 1;
  pointer-events: none;
  animation: authTabOut .28s cubic-bezier(.4,0,.2,1) both;
}
.auth-form.is-entering[data-auth-motion="forward"] { animation-name: authTabForward; }
.auth-form.is-entering[data-auth-motion="back"] { animation-name: authTabBack; }
.auth-form.is-leaving[data-auth-motion="forward"] { animation-name: authTabOutForward; }
.auth-form.is-leaving[data-auth-motion="back"] { animation-name: authTabOutBack; }
.auth-form.is-active .form-group,
.auth-form.is-active .auth-submit,
.auth-form.is-active .auth-hint {
  animation: authFieldPop .34s cubic-bezier(.16,1,.3,1) both;
}
.auth-form.is-active .form-group:nth-of-type(1) { animation-delay: .06s; }
.auth-form.is-active .form-group:nth-of-type(2) { animation-delay: .1s; }
.auth-form.is-active .form-group:nth-of-type(3) { animation-delay: .14s; }
.auth-form.is-active .form-group:nth-of-type(4) { animation-delay: .18s; }
.auth-form.is-active .auth-submit { animation-delay: .22s; }
.auth-form.is-active .auth-hint { animation-delay: .26s; }
.auth-submit {
  width: min(178px, 100%);
  min-height: 34px;
  margin: 4px auto 0;
  padding: 8px 18px;
  display: flex;
}
.auth-page { min-height: 58vh; display: grid; place-items: center; }
.auth-reset-card { width: min(460px, 100%); }
.auth-reset-card h2 { margin-top: 0; }
.mobile-pagination { display: none; }
.orders-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}
.orders-head h2 { margin: 8px 0 0; }
.tracking-card { margin-bottom: 16px; }
.tracking-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 10px;
  align-items: end;
}
.orders-list { display: grid; gap: 12px; }
.order-card {
  display: grid;
  grid-template-columns: minmax(120px,.7fr) minmax(160px,.9fr) minmax(200px,1.4fr) minmax(90px,.5fr) auto;
  gap: 12px;
  align-items: center;
}
.order-card p { margin: 0; font-size: 13px; color: var(--muted); }
.order-status { color: var(--text) !important; font-weight: 800; }
.empty-orders { text-align: center; padding: 28px; }

@keyframes pageEnter { from { opacity: 0; } to { opacity: 1; } }
@keyframes navDrop { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroTextIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroMediaIn { from { opacity: 0; transform: translateY(16px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes cardIn { to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes exclusivePulse { 0%,100% { transform: scale(1); box-shadow: 0 6px 16px rgba(212,134,11,.08); } 50% { transform: scale(1.035); box-shadow: 0 8px 20px rgba(212,134,11,.18); } }
@keyframes authBackdropIn { from { opacity: 0; backdrop-filter: blur(0); } to { opacity: 1; backdrop-filter: blur(7px); } }
@keyframes authBackdropOut { from { opacity: 1; backdrop-filter: blur(7px); } to { opacity: 0; backdrop-filter: blur(0); } }
@keyframes authIn {
  0% { opacity: 0; transform: translateY(28px) scale(.94) rotateX(8deg); filter: blur(4px); }
  62% { opacity: 1; transform: translateY(-3px) scale(1.012) rotateX(0); filter: blur(0); }
  100% { opacity: 1; transform: translateY(0) scale(1) rotateX(0); filter: blur(0); }
}
@keyframes authOut { from { opacity: 1; transform: translateY(0) scale(1); } to { opacity: 0; transform: translateY(10px) scale(.985); } }
@keyframes authShardIn { from { opacity: 0; transform: translate(24px,-18px) scale(.9); } to { opacity: 1; transform: translate(0,0) scale(1); } }
@keyframes authSweep { 0% { opacity: 0; transform: translateX(-90%); } 28% { opacity: .48; } 100% { opacity: 0; transform: translateX(90%); } }
@keyframes authElementIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes authTabIn { from { opacity: 0; transform: translateY(10px) scale(.985); filter: blur(2px); clip-path: inset(0 0 14% 0); } to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); clip-path: inset(0); } }
@keyframes authTabForward { from { opacity: 0; transform: translateX(28px) scale(.985); filter: blur(2px); clip-path: inset(0 0 0 12%); } to { opacity: 1; transform: translateX(0) scale(1); filter: blur(0); clip-path: inset(0); } }
@keyframes authTabBack { from { opacity: 0; transform: translateX(-28px) scale(.985); filter: blur(2px); clip-path: inset(0 12% 0 0); } to { opacity: 1; transform: translateX(0) scale(1); filter: blur(0); clip-path: inset(0); } }
@keyframes authTabOut { from { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); } to { opacity: 0; transform: translateY(-8px) scale(.985); filter: blur(2px); } }
@keyframes authTabOutForward { from { opacity: 1; transform: translateX(0) scale(1); filter: blur(0); } to { opacity: 0; transform: translateX(-22px) scale(.985); filter: blur(2px); } }
@keyframes authTabOutBack { from { opacity: 1; transform: translateX(0) scale(1); filter: blur(0); } to { opacity: 0; transform: translateX(22px) scale(.985); filter: blur(2px); } }
@keyframes authFieldPop { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
.animate-fade { animation: fadeIn .8s ease; }
.animate-slide-left { animation: slideInLeft .6s ease; }
.animate-slide-right { animation: slideInRight .6s ease; }
.animate-pulse { animation: pulse 2s ease infinite; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr; padding: 32px 0 20px; }
  .grid { grid-template-columns: repeat(auto-fill,minmax(180px,1fr)); }
  .features { grid-template-columns: 1fr; width: min(360px, 100%); }
  .features .card { min-height: auto; padding: 10px 11px; }
  .cart-line { grid-template-columns: 1fr; }
  .cart-total-row { align-items: flex-start; flex-direction: column; }
  .nav { height: auto; padding: 10px 0; }
  .nav-actions { gap: 6px; }
  .nav-btn { min-width: 68px; padding-left: 10px; padding-right: 10px; }
  .mock { min-height: 200px; }
  .form-row, .checkout-grid, .admin-product-grid, .admin-image-grid, .variant-row { grid-template-columns: 1fr; }
  .input-short, .input-medium, .input-wide { max-width: none; }
  .photo { height: auto; aspect-ratio: 4 / 5; }
  .photo img { object-fit: contain; background: #fff; padding: 4px; }
  .hero-image { object-fit: contain; background: #fff; }
  .checkout-customer { align-items: flex-start; flex-direction: column; }
  .auth-modal { padding: 10px; align-items: center; }
  .auth-panel { width: min(410px, 100%); max-height: calc(100svh - 20px); padding: 16px; }
  .auth-copy h2 { font-size: 20px; }
  .auth-copy p, .auth-hint { font-size: 11px; }
  .auth-tabs { margin: 10px 0; }
  .auth-tabs button { min-height: 30px; padding: 6px 4px; font-size: 10px; }
  .google-auth-btn { min-height: 34px; margin-bottom: 8px; font-size: 12px; }
  .form-group { margin-bottom: 8px; }
  .label { font-size: 10px; }
  .input, select, textarea { padding: 7px 9px; font-size: 12px; }
  .auth-submit { margin-top: 0; }
  .btn { min-height: 34px; padding: 7px 13px; }
  .nav-actions { overflow-x: auto; max-width: 100%; padding-bottom: 2px; }
  .nav-actions::-webkit-scrollbar { display: none; }
  .products-grid.is-mobile-paged .product { display: none; }
  .products-grid.is-mobile-paged .product.is-page-visible { display: block; }
  .mobile-pagination.is-visible {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
  }
  .mobile-pagination button {
    width: 34px;
    height: 34px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    color: var(--muted);
    font-weight: 800;
  }
  .mobile-pagination button.is-active {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
  }
  .tracking-grid, .order-card { grid-template-columns: 1fr; }
  .orders-head { align-items: flex-start; flex-direction: column; }
  .coupon-showcase { grid-template-columns: 1fr; width: min(420px, calc(100% - 24px)); gap: 10px; padding: 12px; }
  .coupon-showcase__intro h2 { font-size: 17px; }
  .coupon-showcase__list { grid-template-columns: 1fr; }
  .coupon-ticket { min-height: 70px; padding: 10px 11px; }
  .coupon-apply-box, .coupon-form { align-items: stretch; flex-direction: column; }
}
