/* Rag Store — storefront styles. Layout follows the owner's theme, colours follow the logo. */
:root {
  --red: #fa0118;
  --red-600: #d10014;
  --red-300: #ff6b77;
  --red-50: #fff0f1;
  --dark: #0f0a0c;
  --dark-2: #1b1013;
  --dark-3: #2a161b;
  --bg: #f7f4f5;
  --card: #ffffff;
  --ink: #18121a;
  --muted: #6d6469;
  --line: #ece6e8;
  --star: #ffb020;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(40, 8, 14, .08);
  --shadow-lg: 0 20px 50px rgba(40, 8, 14, .16);
  --wrap: 1240px;
  --font: "Cairo", system-ui, "Segoe UI", Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(15, 10, 12, .96); backdrop-filter: blur(10px); color: #fff; border-bottom: 1px solid rgba(255,255,255,.06); }
.header-top { display: flex; align-items: center; gap: 14px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.brand-name { font-weight: 800; font-size: 1.2rem; letter-spacing: .14em; direction: ltr; }
.brand-name b { color: var(--red); font-weight: 800; }
.search { flex: 1; display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 0 16px; height: 44px; max-width: 560px; margin-inline: auto; }
.search svg { flex-shrink: 0; opacity: .8; }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: #fff; font-size: .95rem; }
.search input::placeholder { color: rgba(255,255,255,.55); }
.header-icons { display: flex; align-items: center; gap: 6px; }
.icon-btn { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: none; border: 0; color: #fff; transition: background .2s; }
.icon-btn:hover { background: rgba(255,255,255,.08); }
.cart-count { position: absolute; top: 2px; inset-inline-end: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--red); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.cart-count:empty, .cart-count[data-n="0"] { display: none; }
.nav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 10px; }
.nav::-webkit-scrollbar { display: none; }
.nav a { flex-shrink: 0; padding: 7px 14px; border-radius: 10px; font-size: .92rem; font-weight: 600; color: rgba(255,255,255,.82); position: relative; }
.nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav a.active { color: #fff; background: rgba(255,255,255,.08); }
.nav a.active::after { content: ""; position: absolute; inset-inline: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--red); }

@media (max-width: 720px) {
  .header-top { flex-wrap: wrap; gap: 10px; }
  .search { order: 3; flex-basis: 100%; max-width: none; height: 42px; }
  .header-icons { margin-inline-start: auto; }
  .brand-name { font-size: 1.05rem; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 26px; border-radius: 999px; border: 0; font-weight: 700; font-size: .98rem; transition: transform .15s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-red { background: linear-gradient(135deg, #ff2a3d, var(--red-600)); color: #fff; box-shadow: 0 10px 24px rgba(250, 1, 24, .35); }
.btn-red:hover { box-shadow: 0 14px 30px rgba(250, 1, 24, .45); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.2); }
.btn-light { background: var(--card); color: var(--ink); border: 1px solid var(--line); }
.btn-wa { background: #25d366; color: #fff; box-shadow: 0 10px 24px rgba(37, 211, 102, .3); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.btn svg { width: 18px; height: 18px; }
[dir="rtl"] .flip { transform: scaleX(-1); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background:
  radial-gradient(60% 70% at 25% 40%, rgba(250, 1, 24, .35), transparent 70%),
  radial-gradient(40% 50% at 85% 20%, rgba(255, 70, 90, .22), transparent 70%),
  radial-gradient(50% 60% at 60% 100%, rgba(140, 0, 20, .5), transparent 70%),
  linear-gradient(180deg, #120a0d, #1a0b10 60%, #22090f);
  padding-bottom: 90px; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 46px 46px; mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent); pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 24px; padding-top: 40px; }
.hero h1 { font-size: clamp(2.1rem, 5.4vw, 3.8rem); font-weight: 900; line-height: 1.15; }
.grad-text { background: linear-gradient(90deg, var(--red) 0%, #ff4d5e 45%, #ffb3ba 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { margin-top: 16px; font-size: 1.05rem; color: rgba(255,255,255,.78); max-width: 440px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-feats { display: flex; gap: 22px; margin-top: 30px; flex-wrap: wrap; }
.hero-feat { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .78rem; color: rgba(255,255,255,.8); text-align: center; width: 66px; }
.hero-feat i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); font-style: normal; }
.hero-feat svg { width: 20px; height: 20px; color: var(--red-300); }

/* Hero visual: glowing stage + floating glass cards (stands in for the theme's 3D scene) */
.stage { position: relative; aspect-ratio: 1 / .92; max-width: 600px; margin-inline: auto; width: 100%; }
.stage-ring { position: absolute; inset-inline: 12%; bottom: 4%; height: 22%; border-radius: 50%; background: radial-gradient(closest-side, rgba(250,1,24,.55), rgba(250,1,24,.08) 70%, transparent); }
.stage-ring::before, .stage-ring::after { content: ""; position: absolute; inset: 10% 8%; border-radius: 50%; border: 2px solid rgba(255, 90, 105, .75); box-shadow: 0 0 30px rgba(250,1,24,.8), inset 0 0 24px rgba(250,1,24,.6); }
.stage-ring::after { inset: 28% 22%; border-color: rgba(255,255,255,.5); }
.stage-beam { position: absolute; inset-inline: 28%; top: 6%; bottom: 14%; border-radius: 40% 40% 50% 50% / 10% 10% 20% 20%; background: linear-gradient(180deg, rgba(255,80,95,.05), rgba(250,1,24,.22)); border: 1px solid rgba(255,120,130,.35); box-shadow: inset 0 0 60px rgba(250,1,24,.25); }
.stage-logo { position: absolute; left: 50%; top: 44%; width: 34%; transform: translate(-50%, -50%); filter: drop-shadow(0 0 22px rgba(250,1,24,.9)) drop-shadow(0 0 4px rgba(255,255,255,.6)); animation: float 6s ease-in-out infinite; }
.glass { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 14px; min-width: 96px; border-radius: 16px; background: linear-gradient(160deg, rgba(255,255,255,.18), rgba(255,255,255,.05)); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(8px); box-shadow: 0 10px 30px rgba(0,0,0,.35), 0 0 18px rgba(250,1,24,.25); font-size: .78rem; font-weight: 700; animation: float 7s ease-in-out infinite; }
.glass span { font-size: 1.9rem; line-height: 1; }
.glass:nth-of-type(1) { top: 6%; inset-inline-start: 2%; animation-delay: -1s; }
.glass:nth-of-type(2) { top: 0; inset-inline-end: 6%; animation-delay: -3s; }
.glass:nth-of-type(3) { top: 40%; inset-inline-start: -2%; animation-delay: -2s; }
.glass:nth-of-type(4) { top: 36%; inset-inline-end: -1%; animation-delay: -4s; }
.glass:nth-of-type(5) { bottom: 22%; inset-inline-start: 14%; animation-delay: -5s; }
.glass:nth-of-type(6) { bottom: 26%; inset-inline-end: 12%; animation-delay: -.5s; }
.bubble { position: absolute; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(250,1,24,.85); box-shadow: 0 0 18px rgba(250,1,24,.7); font-size: 1rem; animation: float 5s ease-in-out infinite; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 26px; text-align: start; }
  .stage { max-width: 420px; }
  .glass { min-width: 78px; padding: 9px 10px; font-size: .7rem; }
  .glass span { font-size: 1.5rem; }
  .hero { padding-bottom: 70px; }
}

/* ---------- Category strip (overlaps hero) ---------- */
.cat-strip { position: relative; z-index: 2; margin-top: -58px; background: var(--card); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 16px 10px; display: flex; justify-content: space-around; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.cat-strip::-webkit-scrollbar { display: none; }
.cat-pill { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 84px; padding: 4px 6px; font-size: .85rem; font-weight: 600; color: var(--ink); }
.cat-pill i { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; font-style: normal; font-size: 1.7rem; background: radial-gradient(circle at 30% 25%, #fff, var(--red-50)); border: 1px solid #ffd9dd; box-shadow: 0 6px 16px rgba(250,1,24,.12); transition: transform .2s, box-shadow .2s; }
.cat-pill:hover i { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(250,1,24,.22); }
.cat-pill.more i { background: var(--red-50); color: var(--red); }

/* ---------- Sections ---------- */
.section { padding-top: 34px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-head h2 { font-size: 1.3rem; font-weight: 800; }
.see-all { color: var(--red); font-weight: 700; font-size: .9rem; }

/* Collections */
.collections { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.collection { position: relative; overflow: hidden; min-height: 170px; border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; isolation: isolate; }
.collection:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.collection h3 { font-size: 1.05rem; font-weight: 800; }
.collection p { font-size: .82rem; opacity: .75; }
.collection .big-ico { position: absolute; inset-inline-start: 12px; bottom: 6px; font-size: 4.6rem; line-height: 1; z-index: -1; filter: drop-shadow(0 12px 18px rgba(0,0,0,.18)); }
.collection .go { align-self: flex-end; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.85); box-shadow: 0 4px 12px rgba(0,0,0,.1); color: var(--ink); }
.collection:nth-child(4n+1) { background: linear-gradient(150deg, #ffe3e6, #ffc2c8); }
.collection:nth-child(4n+2) { background: linear-gradient(150deg, #fff1f2, #ffd6d0); }
.collection:nth-child(4n+3) { background: linear-gradient(150deg, #f6eef0, #e9d5da); }
.collection:nth-child(4n+4) { background: linear-gradient(150deg, #2a1218, #5c0d18); color: #fff; }
@media (max-width: 860px) { .collections { grid-template-columns: repeat(2, 1fr); gap: 12px; } .collection { min-height: 140px; } .collection .big-ico { font-size: 3.6rem; } }

/* Product cards */
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 14px) / 6); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 10px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-btn { position: absolute; top: 40%; z-index: 3; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); }
.rail-btn.prev { inset-inline-start: -14px; }
.rail-btn.next { inset-inline-end: -14px; }
@media (max-width: 1100px) { .rail { grid-auto-columns: calc((100% - 3 * 14px) / 4); } }
@media (max-width: 720px) { .rail { grid-auto-columns: 46%; gap: 12px; } .rail-btn { display: none; } }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
@media (max-width: 520px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

.card { position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-img { position: relative; aspect-ratio: 1; background: linear-gradient(160deg, #fff, #f5eef0); display: grid; place-items: center; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-badge { position: absolute; top: 10px; inset-inline-start: 10px; background: var(--red); color: #fff; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.card-body { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px 12px; flex: 1; }
.card-title { font-size: .9rem; font-weight: 700; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.card-cat { font-size: .74rem; color: var(--muted); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 6px; }
.price { font-weight: 800; font-size: 1.02rem; direction: ltr; }
.price-old { color: var(--muted); text-decoration: line-through; font-size: .82rem; font-weight: 600; direction: ltr; margin-inline-start: 6px; }
.price-lbp { font-size: .74rem; color: var(--muted); }
.add-btn { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--red); color: #fff; box-shadow: 0 6px 14px rgba(250,1,24,.3); flex-shrink: 0; }
.add-btn:active { transform: scale(.92); }

/* Placeholder art when a product has no image yet */
.ph { width: 100%; height: 100%; display: grid; place-items: center; align-content: center; gap: 6px; padding: 12px; text-align: center; background: radial-gradient(80% 80% at 50% 30%, #ffe1e4, #fff 70%); }
.ph span { font-size: 3rem; line-height: 1; filter: drop-shadow(0 8px 12px rgba(250,1,24,.2)); }
.ph b { font-size: .78rem; color: var(--muted); font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Trending / promo / deal row */
.promo-row { display: grid; grid-template-columns: 1fr 1.7fr 1.1fr; gap: 16px; }
.panel { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; }
.panel h3 { font-size: 1.05rem; font-weight: 800; }
.trend-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.trend-list li a { display: grid; grid-template-columns: 18px 52px 1fr; align-items: center; gap: 10px; }
.trend-list .n { font-weight: 800; color: var(--muted); }
.trend-list .thumb { width: 52px; height: 52px; border-radius: 12px; overflow: hidden; background: var(--red-50); display: grid; place-items: center; font-size: 1.5rem; }
.trend-list .thumb img { width: 100%; height: 100%; object-fit: cover; }
.trend-list .t { font-size: .84rem; font-weight: 700; line-height: 1.3; }
.trend-list .p { font-size: .8rem; color: var(--red); font-weight: 800; direction: ltr; text-align: end; }
.promo { position: relative; overflow: hidden; border-radius: var(--radius); color: #fff; padding: 28px; display: flex; flex-direction: column; justify-content: center; gap: 12px; min-height: 230px; background:
  radial-gradient(60% 80% at 15% 85%, rgba(255,255,255,.18), transparent 60%),
  linear-gradient(130deg, #2a0710, #8a0012 50%, var(--red) 100%); box-shadow: var(--shadow-lg); isolation: isolate; }
.promo::after { content: ""; position: absolute; inset-block: 14%; inset-inline-end: 6%; width: 38%; border-radius: 20px; border: 2px solid rgba(255,140,150,.9); box-shadow: 0 0 26px rgba(255,60,80,.9), inset 0 0 26px rgba(255,60,80,.5); z-index: -1; }
.promo h3 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 900; line-height: 1.15; max-width: 60%; }
.promo p { color: rgba(255,255,255,.85); max-width: 52%; }
.promo .btn { align-self: flex-start; height: 42px; padding: 0 20px; background: #fff; color: var(--red-600); box-shadow: none; }
.promo .promo-mark { position: absolute; inset-inline-end: 12%; top: 50%; width: 22%; transform: translateY(-50%); filter: drop-shadow(0 0 18px rgba(255,255,255,.6)); z-index: -1; }
.deal { display: flex; flex-direction: column; gap: 10px; }
.deal-off { align-self: flex-start; background: var(--red-50); color: var(--red-600); font-weight: 800; font-size: .78rem; border-radius: 999px; padding: 3px 10px; }
.deal-body { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: center; }
.deal-img { aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--red-50); }
.deal-img img { width: 100%; height: 100%; object-fit: cover; }
.deal .t { font-weight: 700; font-size: .92rem; }
.deal .price { font-size: 1.35rem; }
@media (max-width: 980px) { .promo-row { grid-template-columns: 1fr 1fr; } .promo { grid-column: 1 / -1; order: -1; } }
@media (max-width: 620px) { .promo-row { grid-template-columns: 1fr; } .promo h3, .promo p { max-width: 70%; } }

/* Benefits band */
.band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; border-radius: var(--radius); padding: 18px; color: #fff; background:
  radial-gradient(50% 120% at 0% 50%, rgba(250,1,24,.35), transparent 60%),
  radial-gradient(50% 120% at 100% 50%, rgba(250,1,24,.25), transparent 60%),
  linear-gradient(90deg, #1c0b10, #2b0c13); box-shadow: var(--shadow-lg); }
.band-item { display: flex; align-items: center; gap: 12px; padding: 8px 12px; }
.band-item + .band-item { border-inline-start: 1px solid rgba(255,255,255,.12); }
.band-item i { flex-shrink: 0; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; font-style: normal; font-size: 1.4rem; background: radial-gradient(circle at 30% 30%, #ff5a68, var(--red-600)); box-shadow: 0 0 0 4px rgba(250,1,24,.2), 0 0 20px rgba(250,1,24,.5); }
.band-item b { display: block; font-size: .95rem; }
.band-item small { display: block; color: rgba(255,255,255,.72); font-size: .78rem; line-height: 1.4; }
@media (max-width: 900px) { .band { grid-template-columns: repeat(2, 1fr); } .band-item + .band-item { border: 0; } }
@media (max-width: 480px) { .band { grid-template-columns: 1fr; } }

/* How to order */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; display: flex; gap: 14px; align-items: flex-start; }
.step-n { flex-shrink: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--red-50); color: var(--red); font-weight: 900; font-size: 1.2rem; }
.step b { display: block; margin-bottom: 2px; }
.step p { color: var(--muted); font-size: .88rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 10px; } }

/* Stay in touch bar */
.touch { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 20px; }
.touch-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--red-50); color: var(--red); flex-shrink: 0; }
.touch-text { flex: 1; min-width: 200px; }
.touch-text b { display: block; }
.touch-text small { color: var(--muted); }
.socials { display: flex; gap: 8px; align-items: center; }
.socials a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); transition: background .2s, color .2s; }
.socials a:hover { background: var(--red); color: #fff; border-color: var(--red); }
.socials svg { width: 18px; height: 18px; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 48px; color: rgba(255,255,255,.8); background: radial-gradient(40% 80% at 90% 0%, rgba(250,1,24,.22), transparent 70%), var(--dark); padding-top: 36px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 24px; }
.site-footer .brand { margin-bottom: 10px; color: #fff; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .88rem; }
.site-footer a:hover { color: #fff; }
.pay-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.pay-chips span { font-size: .78rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.05); }
.footer-bottom { margin-top: 30px; padding-block: 16px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: .8rem; color: rgba(255,255,255,.55); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; bottom: 18px; inset-inline-start: 18px; z-index: 60; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 10px 26px rgba(37,211,102,.45); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Shop page ---------- */
.page-hero { color: #fff; padding: 28px 0 30px; background: radial-gradient(50% 120% at 80% 0%, rgba(250,1,24,.35), transparent 70%), linear-gradient(180deg, #120a0d, #1d0a10); }
.page-hero h1 { font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 900; }
.page-hero p { color: rgba(255,255,255,.7); margin-top: 4px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 16px 0 6px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 700; font-size: .88rem; }
.chip.active { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 6px 14px rgba(250,1,24,.3); }
.empty { text-align: center; padding: 50px 16px; color: var(--muted); }
.empty span { display: block; font-size: 3rem; margin-bottom: 8px; }

/* ---------- Product page ---------- */
.pd { display: grid; grid-template-columns: minmax(0, 400px) 1fr; gap: 36px; padding-top: 24px; align-items: start; }
.pd-img { border-radius: 24px; overflow: hidden; background: var(--card); box-shadow: var(--shadow); aspect-ratio: 1; }
.pd-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-img .ph span { font-size: 6rem; }
.pd-info { display: flex; flex-direction: column; gap: 14px; }
.crumbs { font-size: .85rem; color: var(--muted); }
.crumbs a { color: var(--red); font-weight: 600; }
.pd-info h1 { font-size: clamp(1.4rem, 3.5vw, 2rem); font-weight: 900; }
.pd-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pd-price .price { font-size: 1.9rem; color: var(--red); }
.pd-desc { color: #3e353a; white-space: pre-line; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--card); overflow: hidden; }
.qty button { width: 42px; height: 46px; border: 0; background: none; font-size: 1.2rem; font-weight: 700; }
.qty input { width: 42px; text-align: center; border: 0; outline: 0; background: none; font-weight: 800; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pd-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.pd-actions .btn { flex: 1; min-width: 160px; }
.perks { display: grid; gap: 8px; margin-top: 4px; padding: 14px; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line); font-size: .88rem; }
.perks div { display: flex; gap: 8px; align-items: center; }
@media (max-width: 760px) { .pd { grid-template-columns: 1fr; gap: 18px; padding-top: 14px; } .pd-img { width: min(100%, 280px); margin-inline: auto; } }

/* ---------- Cart & checkout ---------- */
.checkout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; align-items: start; padding-top: 22px; }
.cart-list { display: grid; gap: 10px; }
.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px; }
.cart-item .thumb { width: 72px; height: 72px; border-radius: 12px; overflow: hidden; background: var(--red-50); display: grid; place-items: center; font-size: 1.8rem; }
.cart-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item .t { font-weight: 700; font-size: .92rem; line-height: 1.35; }
.cart-item .qty button { width: 32px; height: 34px; }
.cart-item .qty input { width: 30px; }
.cart-item .end { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.link-btn { background: none; border: 0; color: var(--muted); font-size: .8rem; text-decoration: underline; padding: 0; }
.summary { position: sticky; top: 130px; }
.summary-row { display: flex; justify-content: space-between; padding: 6px 0; }
.summary-row.total { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 12px; font-weight: 900; font-size: 1.15rem; }
.form { display: grid; gap: 12px; margin-top: 14px; }
.field label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 5px; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; padding: 11px 14px; outline: 0; font-size: 16px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--red-300); box-shadow: 0 0 0 3px rgba(250,1,24,.12); }
.field small { color: var(--muted); font-size: .78rem; }
.pay-opts { display: grid; gap: 8px; }
.pay-opt { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; cursor: pointer; }
.pay-opt:has(input:checked) { border-color: var(--red); background: var(--red-50); }
.pay-opt input { accent-color: var(--red); width: 18px; height: 18px; }
.pay-opt b { display: block; font-size: .92rem; }
.pay-opt small { color: var(--muted); font-size: .78rem; }
.alert { padding: 12px 14px; border-radius: var(--radius-sm); background: var(--red-50); color: var(--red-600); font-weight: 600; font-size: .9rem; }
.done { max-width: 560px; margin: 30px auto 0; text-align: center; }
.done .check { width: 76px; height: 76px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 30% 30%, #ff5a68, var(--red-600)); color: #fff; font-size: 2.2rem; box-shadow: 0 0 0 8px rgba(250,1,24,.12); }
.done h1 { font-size: 1.6rem; font-weight: 900; }
.done .panel { text-align: start; margin-top: 18px; }
.pay-box { margin-top: 10px; padding: 12px; border-radius: var(--radius-sm); background: var(--bg); font-size: .92rem; }
@media (max-width: 860px) { .checkout { grid-template-columns: 1fr; } .summary { position: static; } }

/* Toast */
.toast { position: fixed; bottom: 90px; left: 50%; transform: translate(-50%, 20px); opacity: 0; z-index: 80; background: var(--dark); color: #fff; padding: 11px 20px; border-radius: 999px; font-weight: 700; font-size: .9rem; box-shadow: var(--shadow-lg); transition: opacity .25s, transform .25s; pointer-events: none; white-space: nowrap; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.skeleton { background: linear-gradient(90deg, #eee8ea 25%, #f7f2f3 50%, #eee8ea 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: var(--radius); min-height: 240px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.site-footer .socials a { color: #fff; border-color: rgba(255,255,255,.2); }
@media (max-width: 860px) { .glass:nth-of-type(5), .glass:nth-of-type(6) { display: none; } }
.lang-btn { height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); color: #fff; font-weight: 700; font-size: .85rem; transition: background .2s, border-color .2s; }
.lang-btn:hover { background: var(--red); border-color: var(--red); }
