/* 24sitedeal demo styles */
:root {
  --red: #e40046;
  --red-dark: #b8003a;
  --ink: #212121;
  --muted: #6b6b6b;
  --line: #e6e6e6;
  --bg: #f1f1f2;
  --green: #12a150;
  --dark: #1c1c1c;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Manrope", Arial, sans-serif; color: var(--ink); background: var(--bg); font-size: 15px; line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.green { color: var(--green); }
[hidden] { display: none !important; }

/* ---------- Buttons (colours forced) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; border: 0; border-radius: 4px; padding: 10px 16px; font-weight: 600; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,.15); }
.btn-add { background: #333333 !important; color: #ffffff !important; }
.btn-add:hover, .btn-add.added { background: #000000 !important; }
.btn-add.added { background: var(--green) !important; }
.btn-buy { background: var(--red) !important; color: #ffffff !important; }
.btn-buy:hover { background: var(--red-dark) !important; }
.btn-outline { background: #ffffff !important; color: var(--red) !important; border: 1px solid var(--red) !important; }
.btn-search { background: #333333 !important; color: #ffffff !important; }
.btn.big { padding: 13px 26px; font-size: 16px; }
.btn.block { width: 100%; }
.link-btn { background: none !important; border: 0; color: var(--ink) !important; font-weight: 600; font-size: 13px; text-transform: uppercase; cursor: pointer; padding: 4px 0; }
.link-btn:hover { color: var(--red) !important; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--red-dark); color: #fff; font-size: 12.5px; }
.topbar-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 30px; }
.tb-links { display: flex; gap: 18px; }
.tb-links a:hover { text-decoration: underline; }
.header { background: var(--red); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.head-row { display: flex; align-items: center; gap: 18px; min-height: 66px; }
.logo { display: flex; align-items: center; gap: 6px; color: #fff; flex-shrink: 0; }
.logo-badge { background: #ffffff; color: var(--red); font-weight: 800; font-size: 18px; width: 38px; height: 38px; border-radius: 10px 2px 10px 2px; display: grid; place-items: center; transform: rotate(-6deg); box-shadow: 2px 2px 0 #000; }
.logo-text { font-size: 25px; font-weight: 700; letter-spacing: -.5px; font-style: italic; }
.logo-text b { font-weight: 800; }
.search { flex: 1; display: flex; max-width: 640px; }
.search input { flex: 1; min-width: 0; border: 0; padding: 0 14px; height: 42px; border-radius: 3px 0 0 3px; font-size: 14.5px; outline: none; }
.search .btn-search { border: 0; padding: 0 22px; border-radius: 0 3px 3px 0; font-weight: 600; cursor: pointer; }
.head-actions { display: flex; gap: 6px; margin-left: auto; }
.head-link { position: relative; display: flex; align-items: center; gap: 8px; color: #fff; padding: 6px 10px; border-radius: 4px; font-weight: 500; }
.head-link:hover { background: rgba(0,0,0,.12); }
.badge { position: absolute; top: 0; left: 30px; background: #ffd400; color: #000; font-size: 11px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }

/* Icons built from plain spans: solid black on white circles */
.ico-cart, .ico-user, .ico-heart { width: 34px; height: 34px; border-radius: 50%; background: #ffffff; position: relative; display: inline-block; flex-shrink: 0; }
.ico-heart { color: #000; font-size: 20px; line-height: 34px; text-align: center; }
.ico-cart .c-handle { position: absolute; left: 6px; top: 9px; width: 6px; height: 3px; background: #000; }
.ico-cart .c-body { position: absolute; left: 10px; top: 11px; width: 15px; height: 9px; background: #000; border-radius: 0 0 3px 3px; clip-path: polygon(0 0, 100% 0, 88% 100%, 12% 100%); }
.ico-cart .c-wheel { position: absolute; top: 22px; width: 5px; height: 5px; background: #000; border-radius: 50%; }
.ico-cart .c-w1 { left: 12px; } .ico-cart .c-w2 { left: 19px; }
.ico-user .u-head { position: absolute; left: 12px; top: 6px; width: 10px; height: 10px; background: #000; border-radius: 50%; }
.ico-user .u-body { position: absolute; left: 8px; top: 18px; width: 18px; height: 9px; background: #000; border-radius: 9px 9px 2px 2px; }
.menu-btn { display: none; width: 40px; height: 40px; border: 0; border-radius: 6px; background: #ffffff !important; cursor: pointer; padding: 10px 9px; flex-direction: column; justify-content: space-between; flex-shrink: 0; }
.menu-btn span { display: block; height: 3px; background: #000; border-radius: 2px; }

.catnav { background: #ffffff; border-bottom: 1px solid var(--line); }
.catnav-row { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.catnav-row::-webkit-scrollbar { display: none; }
.catnav a { white-space: nowrap; padding: 11px 14px; font-size: 14px; font-weight: 500; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.catnav a:hover { color: var(--red); border-color: var(--red); }
.catnav a.hot { color: var(--red); font-weight: 700; }

/* Drawer (mobile menu) */
.drawer { position: fixed; top: 0; left: 0; bottom: 0; width: 290px; max-width: 85vw; background: #fff; z-index: 120; transform: translateX(-100%); transition: transform .3s ease; overflow-y: auto; }
.drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 110; opacity: 0; pointer-events: none; transition: opacity .3s; }
body.drawer-open .drawer { transform: none; }
body.drawer-open .drawer-overlay { opacity: 1; pointer-events: auto; }
.drawer-head { background: var(--red); color: #fff; display: flex; justify-content: space-between; align-items: center; padding: 16px; font-weight: 700; }
.drawer-close { background: none !important; border: 0; color: #fff !important; font-size: 28px; line-height: 1; cursor: pointer; }
.drawer-links a { display: block; padding: 12px 18px; border-bottom: 1px solid #f2f2f2; font-weight: 500; }
.drawer-links a:hover { color: var(--red); background: #fff5f8; }
.drawer-links hr { border: 0; height: 8px; background: var(--bg); margin: 0; }

/* ---------- Home hero ---------- */
.hero { display: grid; grid-template-columns: 240px 1fr; gap: 14px; margin-top: 14px; }
.side-cats { background: #fff; border-radius: 6px; padding: 8px 0; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.side-cats h3 { margin: 4px 16px 6px; font-size: 13px; text-transform: uppercase; color: var(--muted); letter-spacing: .5px; }
.side-cats a { display: flex; align-items: center; gap: 10px; padding: 8px 16px; font-size: 14px; transition: background .2s, color .2s, padding .2s; }
.side-cats a img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.side-cats a:hover { background: #fff0f4; color: var(--red); padding-left: 22px; }
.slider { position: relative; border-radius: 6px; overflow: hidden; min-height: 360px; background: #222; }
.slide { position: absolute; inset: 0; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.slide.active { opacity: 1; visibility: visible; }
.slide .s-text { padding: 30px 40px; color: #fff; z-index: 2; }
.slide .s-text small { display: inline-block; background: #ffd400; color: #000; font-weight: 700; padding: 3px 10px; border-radius: 3px; font-size: 12px; letter-spacing: .5px; }
.slide h2 { font-size: 40px; line-height: 1.1; margin: 12px 0 8px; }
.slide p { margin: 0 0 18px; font-size: 17px; opacity: .95; }
.slide .s-img { height: 100%; position: relative; }
.slide .s-img img { width: 100%; height: 100%; object-fit: cover; }
.slide.active .s-text > * { animation: slideUp .7s both; }
.slide.active .s-text > *:nth-child(2) { animation-delay: .1s; }
.slide.active .s-text > *:nth-child(3) { animation-delay: .2s; }
.slide.active .s-text > *:nth-child(4) { animation-delay: .3s; }
.slide.active .s-img img { animation: kenburns 6s ease both; }
.s1 { background: linear-gradient(110deg, #e40046 0%, #8a0030 100%); }
.s2 { background: linear-gradient(110deg, #ff6a00 0%, #c4002f 100%); }
.s3 { background: linear-gradient(110deg, #5b2bd6 0%, #e40046 100%); }
.slide .s-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.35), transparent 40%); z-index: 1; }
.sl-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 54px; border: 0; background: rgba(255,255,255,.9) !important; color: #000 !important; font-size: 24px; cursor: pointer; z-index: 5; }
.sl-prev { left: 0; border-radius: 0 4px 4px 0; } .sl-next { right: 0; border-radius: 4px 0 0 4px; }
.slider-dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 5; }
.slider-dots button { width: 10px; height: 10px; border-radius: 5px; border: 0; background: rgba(255,255,255,.55) !important; cursor: pointer; transition: width .3s; padding: 0; }
.slider-dots button.active { width: 28px; background: #ffffff !important; }

.promo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.promo { border-radius: 6px; padding: 18px 20px; color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 10px; overflow: hidden; position: relative; }
.promo b { display: block; font-size: 19px; }
.promo span { font-size: 13px; opacity: .9; }
.promo .p-big { font-size: 34px; font-weight: 800; line-height: 1; }
.promo:nth-child(1) { background: linear-gradient(120deg, #1d976c, #0f6b48); }
.promo:nth-child(2) { background: linear-gradient(120deg, #f7971e, #e2580c); }
.promo:nth-child(3) { background: linear-gradient(120deg, #2b5876, #4e4376); }

/* ---------- Sections ---------- */
.section { background: #fff; border-radius: 6px; margin-top: 14px; padding: 18px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.sec-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.sec-head h2 { margin: 0; font-size: 21px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sec-head a.view-all { color: var(--red); font-weight: 600; font-size: 14px; }
.countdown { font-size: 14px; font-weight: 500; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.countdown span { background: var(--ink); color: #fff; padding: 2px 7px; border-radius: 3px; font-weight: 700; font-variant-numeric: tabular-nums; }

.grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.card:hover { box-shadow: 0 10px 26px rgba(0,0,0,.12); transform: translateY(-3px); }
.card-img { position: relative; aspect-ratio: 1; background: #f7f7f7; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.07); }
.off-tag { position: absolute; left: 0; top: 10px; background: var(--red); color: #fff; font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 0 3px 3px 0; }
.card-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-title { font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 38px; }
.card-title:hover { color: var(--red); }
.rating { display: flex; align-items: center; gap: 6px; font-size: 12.5px; }
.rate-pill { background: var(--green); color: #fff; font-weight: 700; padding: 1px 7px; border-radius: 3px; font-size: 12px; }
.rev { color: var(--muted); }
.price-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price-row b { font-size: 17px; }
.price-row s { color: var(--muted); font-size: 13px; }
.off-green { color: var(--green); font-weight: 600; font-size: 13px; }
.card .btn-add { margin-top: auto; width: 100%; padding: 9px; font-size: 14px; }
.wish-btn { position: absolute; top: 8px; right: 8px; z-index: 3; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #ffffff !important; color: #bdbdbd !important; font-size: 18px; cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,.15); transition: transform .2s, color .2s; }
.wish-btn:hover { transform: scale(1.12); }
.wish-btn.on { color: var(--red) !important; animation: pop .35s; }
.wish-btn.inline { position: static; width: 48px; height: 48px; font-size: 22px; flex-shrink: 0; border: 1px solid var(--line); }

.cat-tiles { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
.cat-tile { text-align: center; font-weight: 500; font-size: 14px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ct-img { width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--line); transition: box-shadow .25s; }
.ct-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cat-tile:hover .ct-img { box-shadow: 0 0 0 2px var(--red); }
.cat-tile:hover .ct-img img { transform: scale(1.1); }
.cat-tile:hover { color: var(--red); }

.banner-wide { margin-top: 14px; border-radius: 6px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; background: linear-gradient(110deg, #1c1c1c, #3a0016); color: #fff; min-height: 220px; }
.banner-wide .bw-text { padding: 30px 36px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; }
.banner-wide h2 { margin: 0; font-size: 30px; line-height: 1.15; }
.banner-wide p { margin: 0; opacity: .85; }
.banner-wide img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Features & footer ---------- */
.features { background: #fff; margin-top: 24px; border-top: 1px solid var(--line); }
.features-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding-top: 22px; padding-bottom: 22px; }
.feature { display: flex; gap: 12px; align-items: center; }
.f-ico { width: 48px; height: 48px; border-radius: 50%; background: #fff0f4; display: grid; place-items: center; font-size: 22px; flex-shrink: 0; }
.feature b { display: block; font-size: 15px; } .feature small { color: var(--muted); }
.footer { background: var(--dark); color: #cfcfcf; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 28px; padding-top: 36px; padding-bottom: 30px; }
.footer h4 { color: #fff; margin: 0 0 12px; font-size: 15px; text-transform: uppercase; letter-spacing: .5px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 8px; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer p { margin: 12px 0 0; line-height: 1.6; }
.contact-list li { line-height: 1.55; }
.footer-bottom { border-top: 1px solid #333; padding: 14px 0; font-size: 13px; }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }

.wa-float { position: fixed; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; z-index: 90; box-shadow: 0 6px 18px rgba(0,0,0,.25); animation: waPulse 2.2s infinite; }
.wa-ico { width: 32px; height: 32px; background: #ffffff; -webkit-mask: url("../images/whatsapp.svg") center / contain no-repeat; mask: url("../images/whatsapp.svg") center / contain no-repeat; }
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 30px); background: #222; color: #fff; padding: 11px 22px; border-radius: 6px; font-weight: 500; opacity: 0; pointer-events: none; transition: all .3s; z-index: 200; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Slide-in cart sidebar ---------- */
.mc-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); backdrop-filter: blur(2px); z-index: 140; opacity: 0; pointer-events: none; transition: opacity .35s ease; }
.mini-cart { position: fixed; top: 0; right: 0; bottom: 0; width: 400px; max-width: 92vw; background: #fff; z-index: 145; display: flex; flex-direction: column; transform: translateX(105%); transition: transform .45s cubic-bezier(.22,1,.36,1); box-shadow: -10px 0 40px rgba(0,0,0,.18); }
body.mc-open { overflow: hidden; }
body.mc-open .mc-overlay { opacity: 1; pointer-events: auto; }
body.mc-open .mini-cart { transform: none; }
.mc-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; background: var(--red); color: #fff; }
.mc-head h3 { margin: 0; font-size: 18px; }
.mc-head h3 span { font-weight: 500; opacity: .9; }
.mc-close { width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18) !important; color: #fff !important; font-size: 24px; line-height: 1; cursor: pointer; transition: transform .25s, background .2s; }
.mc-close:hover { transform: rotate(90deg); background: rgba(255,255,255,.3) !important; }
.mc-added { display: none; align-items: center; gap: 12px; padding: 12px 18px; background: #eafaf1; border-bottom: 1px solid #c9eed9; }
.mc-added.show { display: flex; animation: mcDrop .5s cubic-bezier(.22,1,.36,1) both; }
.mc-added img { width: 46px; height: 46px; object-fit: cover; border-radius: 6px; }
.mc-added b { display: block; color: var(--green); font-size: 14px; }
.mc-added small { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; color: var(--ink); font-size: 13px; }
.mc-tick { width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 800; flex-shrink: 0; animation: pop .5s .15s both; }
.mc-ship { padding: 12px 18px; font-size: 13.5px; border-bottom: 1px solid var(--line); }
.mc-bar { display: block; height: 6px; background: #f0f0f0; border-radius: 3px; margin-top: 8px; overflow: hidden; }
.mc-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--red), #ff7a45); border-radius: 3px; transition: width .6s ease; }
.mc-lines { flex: 1; overflow-y: auto; padding: 4px 18px; }
.mc-line { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mc-line img { width: 72px; height: 72px; object-fit: cover; border-radius: 6px; }
.mc-line.flash { animation: mcFlash 1.4s ease; }
body.mc-open .mc-line { animation: mcIn .45s both; }
body.mc-open .mc-line:nth-child(2) { animation-delay: .05s; }
body.mc-open .mc-line:nth-child(3) { animation-delay: .1s; }
body.mc-open .mc-line:nth-child(4) { animation-delay: .15s; }
body.mc-open .mc-line.flash { animation: mcIn .45s both, mcFlash 1.4s .3s ease; }
.mc-name { font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mc-name:hover { color: var(--red); }
.mc-info .price-row b { font-size: 15px; }
.mc-row { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.qty-box.sm { margin: 0; }
.qty-box.sm button { width: 28px; height: 28px; font-size: 16px; }
.qty-box.sm span { min-width: 30px; font-size: 14px; }
.mc-remove { background: none !important; border: 0; color: var(--muted) !important; font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: underline; }
.mc-remove:hover { color: var(--red) !important; }
.mc-empty { text-align: center; padding: 50px 10px; color: var(--muted); }
.mc-empty .ico-cart { background: #f1f1f2; transform: scale(1.8); margin: 10px auto 26px; display: block; }
.mc-empty b { display: block; color: var(--ink); font-size: 17px; }
.mc-foot { padding: 14px 18px 18px; border-top: 1px solid var(--line); box-shadow: 0 -6px 16px rgba(0,0,0,.05); }
.mc-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; }
.mc-total b { font-size: 20px; }
.mc-save { color: var(--green); font-weight: 600; font-size: 13px; margin: 2px 0 0; }
.mc-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.mc-btns .btn { padding: 12px; }
@keyframes mcDrop { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@keyframes mcIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
@keyframes mcFlash { 0%, 100% { background: transparent; } 30% { background: #fff3f7; } }

/* ---------- Inner pages ---------- */
.crumbs { font-size: 13px; color: var(--muted); padding: 12px 0 0; }
.crumbs a:hover { color: var(--red); }
.crumbs span + span::before { content: "›"; margin: 0 6px; }
.page-title { font-size: 24px; margin: 8px 0 0; }

.cat-layout { display: grid; grid-template-columns: 250px 1fr; gap: 14px; margin-top: 12px; align-items: start; }
.filters { background: #fff; border-radius: 6px; padding: 16px; position: sticky; top: 82px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.filters h3 { margin: 0 0 6px; font-size: 16px; display: flex; justify-content: space-between; align-items: center; }
.filters h4 { margin: 16px 0 8px; font-size: 13px; text-transform: uppercase; color: var(--muted); letter-spacing: .4px; }
.filters label { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 14px; cursor: pointer; }
.filters input { accent-color: var(--red); }
.filter-close { display: none; background: none !important; border: 0; font-size: 26px; cursor: pointer; color: var(--ink) !important; }
.cat-top { background: #fff; border-radius: 6px; padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.cat-top h1 { margin: 0; font-size: 20px; }
.cat-top small { color: var(--muted); }
.cat-tools { display: flex; gap: 10px; align-items: center; }
.filter-toggle { display: none; }
.empty-note { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px 0; }

/* Select fields: never cut the placeholder text */
select { appearance: none; -webkit-appearance: none; min-height: 44px; min-width: 170px; padding: 10px 38px 10px 12px; line-height: 1.35; border: 1px solid #cfcfcf; border-radius: 4px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23333' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center; color: var(--ink); cursor: pointer; white-space: normal; text-overflow: clip; }
.pd-row select { min-width: 90px; }

/* Product page */
.product { display: grid; grid-template-columns: 1fr 1.1fr; gap: 30px; background: #fff; border-radius: 6px; padding: 24px; margin-top: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.pd-gallery { display: grid; grid-template-columns: 70px 1fr; gap: 12px; align-self: start; position: sticky; top: 82px; }
.pd-thumbs { display: flex; flex-direction: column; gap: 10px; }
.pd-thumbs button { border: 2px solid var(--line); border-radius: 4px; padding: 0; background: #fff; cursor: pointer; overflow: hidden; aspect-ratio: 1; }
.pd-thumbs button.active { border-color: var(--red); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-main { position: relative; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; aspect-ratio: 1; cursor: zoom-in; }
.pd-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.pd-main img.zoom { transform: scale(1.8); }
.pd-cat a { color: var(--red); font-weight: 600; font-size: 13px; text-transform: uppercase; }
.pd-info h1 { font-size: 24px; margin: 4px 0 10px; line-height: 1.3; }
.pd-price { display: flex; align-items: baseline; gap: 12px; margin: 16px 0 4px; flex-wrap: wrap; }
.pd-price b { font-size: 30px; }
.pd-price s { color: var(--muted); }
.pd-off { color: var(--green); font-weight: 700; font-size: 17px; }
.pd-save { color: var(--muted); font-size: 13px; margin: 0 0 14px; }
.pd-offers { list-style: none; padding: 12px 14px; margin: 0 0 16px; background: #fff7fa; border: 1px dashed #f3a3bd; border-radius: 6px; font-size: 14px; }
.pd-offers li { padding: 3px 0 3px 22px; position: relative; }
.pd-offers li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.pd-row { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; flex-wrap: wrap; }
.pd-row label { width: 80px; font-weight: 600; color: var(--muted); }
.pd-row.pin input { height: 44px; border: 1px solid #cfcfcf; border-radius: 4px; padding: 0 12px; width: 170px; }
.pin-msg { font-size: 13px; margin: -4px 0 12px 94px; min-height: 1px; }
.pin-msg.ok { color: var(--green); } .pin-msg.err { color: var(--red); }
.pd-actions { display: flex; gap: 12px; align-items: center; margin: 18px 0; }
.pd-actions .btn { flex: 1; }
.pd-desc { border-top: 1px solid var(--line); padding-top: 14px; }
.pd-desc h3 { margin: 0 0 6px; }
.pd-desc ul { padding-left: 18px; color: var(--muted); }

/* Cart */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 14px; margin-top: 12px; align-items: start; }
.cart-lines { background: #fff; border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.box-title { margin: 0; padding: 14px 18px; font-size: 18px; border-bottom: 1px solid var(--line); }
.cart-line { display: grid; grid-template-columns: 110px 1fr auto; gap: 16px; padding: 16px 18px; border-bottom: 1px solid var(--line); align-items: start; }
.cart-line img { width: 110px; height: 110px; object-fit: cover; border-radius: 4px; }
.cl-name { font-weight: 500; display: block; margin-bottom: 4px; }
.cl-name:hover { color: var(--red); }
.cl-total { font-weight: 700; font-size: 17px; }
.qty-box { display: inline-flex; align-items: center; border: 1px solid #cfcfcf; border-radius: 4px; margin: 8px 0; }
.qty-box button { width: 34px; height: 32px; border: 0; background: #f5f5f5 !important; color: #000 !important; font-size: 18px; cursor: pointer; }
.qty-box span { min-width: 38px; text-align: center; font-weight: 600; }
.cl-actions { display: flex; gap: 18px; }
.summary { background: #fff; border-radius: 6px; padding: 16px 18px; position: sticky; top: 82px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.summary h3 { margin: 0 0 12px; font-size: 14px; text-transform: uppercase; color: var(--muted); letter-spacing: .5px; }
.sum-row { display: flex; justify-content: space-between; padding: 6px 0; }
.sum-row.green span:last-child { color: var(--green); }
.sum-row em { font-style: normal; font-weight: 600; }
.sum-row.total { border-top: 1px dashed #cfcfcf; margin-top: 8px; padding-top: 12px; font-weight: 700; font-size: 17px; }
.sum-save { color: var(--green); font-weight: 600; font-size: 14px; margin: 8px 0 14px; }
.empty { background: #fff; border-radius: 6px; text-align: center; padding: 50px 20px; margin-top: 12px; }
.empty.full { grid-column: 1 / -1; }
.empty h2 { margin: 16px 0 6px; } .empty p { color: var(--muted); margin: 0 0 20px; }
.empty-cart { display: inline-block; transform: scale(2.4); margin: 20px; }
.empty-cart .ico-cart { background: #f1f1f2; }
.empty-heart { font-size: 64px; color: var(--red); line-height: 1; }

/* Forms */
.form-card { background: #fff; border-radius: 6px; padding: 20px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.form-card h2 { margin: 0 0 14px; font-size: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 5px; }
.field input, .field textarea, .field select { width: 100%; min-height: 44px; border: 1px solid #cfcfcf; border-radius: 4px; padding: 10px 12px; outline: none; transition: border-color .2s, box-shadow .2s; }
.field select { padding-right: 38px; }
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(228,0,70,.12); }
.pay-opts { display: grid; gap: 10px; margin-top: 18px; }
.pay-opt { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; cursor: pointer; transition: border-color .2s, background .2s; }
.pay-opt:has(input:checked) { border-color: var(--red); background: #fff7fa; }
.pay-opt input { accent-color: var(--red); width: 18px; height: 18px; }
.pay-opt small { display: block; color: var(--muted); }
.form-error { background: #ffecef; color: var(--red-dark); border-radius: 4px; padding: 10px 12px; margin: 14px 0 0; font-weight: 500; }
.test-note { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.mini-lines { border-bottom: 1px solid var(--line); margin-bottom: 10px; padding-bottom: 6px; }
.mini-line { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; padding: 6px 0; font-size: 13.5px; }
.mini-line img { width: 52px; height: 52px; object-fit: cover; border-radius: 4px; }
.mini-line small { display: block; color: var(--muted); }

/* Demo payment window */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 150; display: grid; place-items: center; padding: 16px; }
.modal-box { background: #fff; border-radius: 10px; width: 100%; max-width: 380px; overflow: hidden; animation: zoomIn .3s both; }
.modal-head { background: #0d2366; color: #fff; padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; }
.modal-head b { display: block; } .modal-head small { opacity: .8; }
.modal-head button { background: none !important; border: 0; color: #fff !important; font-size: 26px; cursor: pointer; line-height: 1; }
.modal-body { padding: 20px 18px; text-align: center; }
.modal-body .amt { font-size: 30px; font-weight: 800; margin: 4px 0 14px; }
.modal-body .btn { width: 100%; margin-top: 10px; }
.btn-success { background: var(--green) !important; color: #fff !important; }
.btn-fail { background: #ffffff !important; color: #b00020 !important; border: 1px solid #b00020 !important; }

/* Success */
.success-box { background: #fff; border-radius: 6px; padding: 30px; text-align: center; margin-top: 14px; max-width: 760px; margin-left: auto; margin-right: auto; }
.tick { width: 84px; height: 84px; border-radius: 50%; background: var(--green); color: #fff; font-size: 46px; display: grid; place-items: center; margin: 0 auto 10px; animation: pop .6s both; }
.success-box h1 { margin: 8px 0; }
.o-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; text-align: left; background: #fafafa; border-radius: 6px; padding: 16px; margin: 18px 0; font-size: 14px; }
.o-meta span { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; }
.o-meta .full { grid-column: 1 / -1; }
#o-items { text-align: left; margin-bottom: 18px; }

/* Auth */
.auth-wrap { max-width: 860px; margin: 18px auto 0; display: grid; grid-template-columns: 1fr 1.1fr; background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.auth-side { background: linear-gradient(150deg, var(--red), #7a0028); color: #fff; padding: 36px 30px; }
.auth-side h2 { margin: 0 0 10px; font-size: 26px; }
.auth-side li { margin-bottom: 8px; }
.auth-main { padding: 28px; }
.auth-tabs { display: flex; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.auth-tab { flex: 1; background: none !important; border: 0; border-bottom: 3px solid transparent; padding: 10px; font-weight: 600; cursor: pointer; color: var(--muted) !important; }
.auth-tab.active { color: var(--red) !important; border-color: var(--red); }
.auth-form .field { margin-bottom: 14px; }
.account { background: #fff; border-radius: 6px; padding: 26px; max-width: 760px; margin: 18px auto 0; }
.account h1 { margin: 0; }
.order-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; margin-bottom: 10px; }
.order-row small { display: block; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 14px; margin-top: 12px; }
.c-card { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.c-card:last-child { border-bottom: 0; }
.c-card .f-ico { width: 44px; height: 44px; }
.c-card b { display: block; }
.c-card a:hover { color: var(--red); }

/* ---------- Coupons, tax, stock, OTP ---------- */
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
.tb-admin { background: #ffd400; color: #000 !important; padding: 1px 9px; border-radius: 3px; font-weight: 700; }
.coupon-box { border: 1px dashed #f3a3bd; background: #fff7fa; border-radius: 6px; padding: 12px; margin-bottom: 16px; }
.coupon-box label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.coupon-row { display: flex; gap: 8px; }
.coupon-row input { flex: 1; min-width: 0; height: 40px; border: 1px solid #cfcfcf; border-radius: 4px; padding: 0 10px; text-transform: uppercase; outline: none; }
.coupon-row input:focus { border-color: var(--red); }
.coupon-row .btn { padding: 0 16px; height: 40px; }
.coupon-msg { font-size: 13px; margin: 6px 0 0; min-height: 0; }
.coupon-msg.err { color: var(--red); }
.coupon-msg:empty { display: none; }
.coupon-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip { border: 1px dashed var(--red); background: #fff !important; color: var(--red) !important; font-weight: 700; font-size: 12px; padding: 4px 10px; border-radius: 20px; cursor: pointer; letter-spacing: .4px; }
.chip:hover { background: var(--red) !important; color: #fff !important; }
.coupon-box.applied { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: #eafaf1; border-color: #8fd9b0; color: #0d7a3c; font-size: 14px; }
.tax-note { font-size: 12.5px; color: var(--muted); margin: 4px 0 0; }
.stock-msg { color: #d35400; font-weight: 700; font-size: 14px; margin: 0 0 12px; }
.stock-msg.out { color: var(--red); }
.status-pill { font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 10px; background: #eef2ff; color: #3949ab; margin-left: 6px; vertical-align: middle; }
.status-pill.s-packed { background: #fff4e0; color: #b26a00; }
.status-pill.s-shipped { background: #e3f2fd; color: #1565c0; }
.status-pill.s-delivered { background: #eafaf1; color: #0d7a3c; }
.status-pill.s-cancelled { background: #ffecef; color: #b00020; }
.new-tag { font-style: normal; font-size: 10.5px; background: #ffd400; color: #000; padding: 1px 6px; border-radius: 3px; margin-left: 6px; vertical-align: middle; }
.mobile-row { display: flex; }
.mobile-row .cc { display: grid; place-items: center; padding: 0 12px; border: 1px solid #cfcfcf; border-right: 0; border-radius: 4px 0 0 4px; background: #f7f7f7; font-weight: 700; }
.mobile-row input { border-radius: 0 4px 4px 0 !important; }
.otp-sent { display: flex; gap: 10px; align-items: flex-start; background: #eafaf1; border: 1px solid #c9eed9; border-radius: 6px; padding: 12px; margin-bottom: 16px; font-size: 14px; animation: mcDrop .5s both; }
.otp-sent small { display: block; color: var(--muted); margin-top: 2px; }
.otp-sent small b { color: var(--red); font-size: 15px; letter-spacing: 2px; }
.otp-boxes { display: flex; gap: 10px; }
.otp-boxes input { width: 52px !important; height: 52px; text-align: center; font-size: 22px; font-weight: 800; }
.otp-links { display: flex; justify-content: space-between; margin-top: 12px; }
.otp-links .link-btn:disabled { color: var(--muted) !important; cursor: default; }

/* ---------- Mobile bottom navigation ---------- */
.bottom-nav { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .bottom-nav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; background: rgba(255,255,255,.97); backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -4px 18px rgba(0,0,0,.08); padding-bottom: env(safe-area-inset-bottom); animation: bnUp .5s cubic-bezier(.22,1,.36,1) both; }
  .bn-item { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 64px; font-size: 11.5px; font-weight: 700; color: #555; -webkit-tap-highlight-color: transparent; }
  .bn-item::before { content: ""; position: absolute; top: 0; left: 28%; right: 28%; height: 3px; border-radius: 0 0 3px 3px; background: var(--red); transform: scaleX(0); transition: transform .3s ease; }
  .bn-item.active { color: var(--red); }
  .bn-item.active::before { transform: scaleX(1); }
  .bn-item:active .bn-ico { transform: scale(.88); }
  .bn-ico { position: relative; width: 30px; height: 30px; display: grid; place-items: center; font-style: normal; transition: transform .15s; }
  .bn-item.active .bn-ico { animation: pop .4s both; }
  /* Home: black house from spans */
  .bn-home b { position: absolute; left: 7px; top: 13px; width: 16px; height: 12px; background: #000; border-radius: 0 0 2px 2px; }
  .bn-home::before { content: ""; position: absolute; left: 4px; top: 3px; border-left: 11px solid transparent; border-right: 11px solid transparent; border-bottom: 10px solid #000; }
  .bn-home::after { content: ""; position: absolute; left: 13px; top: 18px; width: 4px; height: 7px; background: #fff; border-radius: 2px 2px 0 0; }
  /* Categories: 2x2 black squares */
  .bn-grid { grid-template-columns: 10px 10px; grid-template-rows: 10px 10px; gap: 3px; place-content: center; place-items: stretch; }
  .bn-grid b { background: #000; border-radius: 3px; }
  .bn-grid b:nth-child(2) { border-radius: 50%; }
  /* Deals: black tag with % */
  .bn-deal { width: 26px; height: 26px; margin: 2px; background: #000; color: #fff; border-radius: 7px; font-weight: 800; font-size: 15px; transform: rotate(-8deg); }
  .bn-item.active .bn-deal { background: var(--red); }
  /* Cart & account reuse the header icons without the white circle */
  .bn-ico .ico-cart, .bn-ico .ico-user { background: transparent; transform: scale(.95); }
  .bn-badge { position: absolute; top: -3px; right: -8px; background: var(--red); color: #fff; font-style: normal; font-size: 10px; font-weight: 800; min-width: 17px; height: 17px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; border: 2px solid #fff; }
  /* Keep floating things above the bar */
  body .wa-float { bottom: calc(76px + env(safe-area-inset-bottom)); }
  body .toast { bottom: calc(80px + env(safe-area-inset-bottom)); }
  body .pd-actions { bottom: calc(64px + env(safe-area-inset-bottom)); }
  body .product { grid-template-columns: minmax(0, 1fr); }
  .product > *, .cart-layout > *, .cat-layout > * { min-width: 0; }
}
@keyframes bnUp { from { transform: translateY(100%); } to { transform: none; } }

/* ---------- Animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.zoom-in { transform: scale(.92); }
.reveal.zoom-in.in { transform: none; }
@keyframes slideUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes pop { 0% { transform: scale(.4); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } * { animation: none !important; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
  .cat-tiles { grid-template-columns: repeat(4, 1fr); }
  .head-link .lbl { display: none; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .side-cats { display: none; }
  .grid, .grid.cols-4 { grid-template-columns: repeat(3, 1fr); }
  .cat-layout { grid-template-columns: 1fr; }
  .filters { position: fixed; top: 0; left: 0; bottom: 0; width: 290px; max-width: 85vw; z-index: 130; transform: translateX(-105%); transition: transform .3s; overflow-y: auto; border-radius: 0; box-shadow: none; }
  .filters.open { transform: none; box-shadow: 4px 0 20px rgba(0,0,0,.2); }
  .filter-close { display: block; }
  .filter-toggle { display: inline-flex; }
  .product { grid-template-columns: 1fr; padding: 16px; }
  .pd-gallery { position: static; }
  .cart-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .features-row { grid-template-columns: 1fr 1fr; }
  .contact-grid, .auth-wrap { grid-template-columns: 1fr; }
  .promo-strip { grid-template-columns: 1fr; }
  .promo-strip .promo:nth-child(n+2) { display: none; }
  .banner-wide { grid-template-columns: 1fr; }
  .banner-wide img { max-height: 200px; }
}
@media (max-width: 760px) {
  .topbar .tb-msg { display: none; }
  .topbar-row { justify-content: center; }
  .tb-links { width: 100%; justify-content: space-between; align-items: center; gap: 10px; }
  .tb-links a { white-space: nowrap; }
  .tb-links a:nth-child(2), .tb-links a:nth-child(3) { display: none; }
  .menu-btn { display: flex; }
  .head-row { flex-wrap: wrap; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .logo-text { font-size: 21px; }
  .logo-badge { width: 32px; height: 32px; font-size: 15px; }
  .search { order: 5; flex-basis: 100%; max-width: none; }
  .head-link { padding: 4px; }
  .head-actions a:first-child { display: none; }
  .catnav { display: none; }
  .slider { min-height: 320px; }
  .slide { grid-template-columns: 1fr; }
  .slide .s-img { position: absolute; inset: 0; }
  .slide .s-img::before { background: linear-gradient(90deg, rgba(0,0,0,.75), rgba(0,0,0,.35)); }
  .slide .s-text { padding: 24px 24px 44px; }
  .sl-arrow { display: none; }
  .slide h2 { font-size: 28px; }
  .slide p { font-size: 15px; }
  .grid, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cat-tiles { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .cat-tile { font-size: 12px; }
  .section { padding: 14px 12px; }
  .sec-head h2 { font-size: 18px; }
  .card-body { padding: 8px 10px 10px; }
  .price-row b { font-size: 15px; }
  .form-grid { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 80px 1fr; }
  .cart-line img { width: 80px; height: 80px; }
  .cl-total { grid-column: 2; }
  .pd-gallery { grid-template-columns: 1fr; }
  .pd-thumbs { flex-direction: row; order: 2; }
  .pd-thumbs button { width: 64px; }
  .pd-info h1 { font-size: 20px; }
  .pd-actions { position: sticky; bottom: 0; background: #fff; padding: 10px 0; margin: 10px 0; z-index: 5; }
  .pin-msg { margin-left: 0; }
  .pd-row { flex-wrap: nowrap; gap: 10px; }
  .pd-row label { width: 70px; flex-shrink: 0; }
  .pd-row.pin input { flex: 1; min-width: 0; width: auto; }
  .pd-actions .btn.big { padding: 13px 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .features-row { grid-template-columns: 1fr; }
  .footer-bottom .wrap { flex-direction: column; text-align: center; }
  .o-meta { grid-template-columns: 1fr; }
  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
  .banner-wide h2 { font-size: 24px; }
  .banner-wide .bw-text { padding: 22px; }
}
