:root {
  --ink: #111318;
  --header: #ffffff;
  --brand: #ed7b00;        /* the logo orange: buttons, icons, links */
  --brand-dark: #cf6a00;
  --grad: linear-gradient(90deg, #ec4899, #f59e0b);
  --price: #16a34a;
  --old: #dc2626;
  --muted: #6b7280;
  --line: #eceef2;
  --bg: #f7f7f9;
  --cream: #fff8f1;
  --card: #fff;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(17, 19, 24, .07);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font: 15px/1.55 "Hind Siliguri", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }
.icon { display: inline-block; vertical-align: middle; flex: none; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }

/* ---------- Header ---------- */
.site-header { background: var(--header); color: var(--ink); position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line); }
.site-header .bar { position: relative; display: flex; align-items: center; gap: 20px; height: 76px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 22px; letter-spacing: .2px; white-space: nowrap; }
.logo img { height: 52px; width: auto; max-width: 100%; }
.logo-footer img { height: 54px; }
.logo .mark { width: 38px; height: 38px; border-radius: 10px; background: var(--brand); display: grid; place-items: center; color: #fff; }
.logo b { color: #f59e0b; font-weight: 700; }
.header-search { flex: 1; max-width: 460px; margin: 0 auto; position: relative; }
.header-search input[type=search] { width: 100%; height: 46px; border-radius: 999px; border: 2px solid #e5e7eb; padding: 0 18px 0 46px; font: inherit; background: #fff; color: var(--ink); }
.header-search .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #9ca3af; z-index: 1; }
.header-actions { display: flex; align-items: center; gap: 22px; }
.hdr-link { display: flex; align-items: center; gap: 10px; line-height: 1.2; }
.hdr-link .icon { color: var(--brand); }
.hdr-link strong { display: block; font-size: 15px; }
.hdr-link small { color: var(--muted); font-size: 13px; }
.icon-btn { background: none; border: 0; color: var(--ink); padding: 6px; cursor: pointer; display: flex; position: relative; }
.icon-btn .count { position: absolute; top: -4px; right: -6px; background: #fff; color: var(--brand); border: 2px solid var(--brand); font-size: 11px; font-weight: 700; border-radius: 999px; min-width: 22px; height: 22px; display: grid; place-items: center; padding: 0 4px; }
.only-mobile { display: none !important; }
.catnav { background: #fff; border-bottom: 1px solid var(--line); }
.catnav .container { display: flex; justify-content: center; gap: 34px; padding-top: 11px; padding-bottom: 11px; overflow-x: auto; white-space: nowrap; }
.catnav a { font-weight: 600; color: #374151; }
.catnav a:hover, .catnav a.active { color: var(--brand); }
.mobile-search { display: none; background: var(--header); padding: 0 16px 12px; }
.mobile-search.open { display: block; }
.mobile-search form { position: relative; }
.mobile-search input[type=search] { width: 100%; height: 44px; border-radius: 999px; border: 1.5px solid #e5e7eb; padding: 0 16px 0 44px; font: inherit; }
.mobile-search .icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #9ca3af; z-index: 1; }

/* Drawer (mobile menu) */
.drawer { position: fixed; top: 0; bottom: 0; left: 0; width: 290px; max-width: 86vw; background: #fff; z-index: 60; transform: translateX(-100%); transition: transform .22s ease; overflow-y: auto; }
.drawer-head { background: var(--header); color: var(--ink); border-bottom: 1px solid #ece7df; display: flex; align-items: center; justify-content: space-between; padding: 16px; }
.drawer nav { padding: 8px 0; }
.drawer nav a { display: flex; align-items: center; gap: 12px; padding: 12px 20px; font-weight: 600; border-bottom: 1px solid var(--line); }
.drawer nav a .icon { color: var(--brand); }
.drawer h4 { margin: 14px 20px 4px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 55; }
body.menu-open .drawer { transform: none; }
body.menu-open .overlay { display: block; }

/* ---------- Home ---------- */
.hero { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; padding-top: 12px; }
.slider { position: relative; overflow: hidden; border-radius: 6px; aspect-ratio: 2 / 1; background: #eee; }
.slides { display: flex; height: 100%; transition: transform .5s ease; }
.slides a { flex: 0 0 100%; height: 100%; }
.slides img { width: 100%; height: 100%; object-fit: cover; }
.dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: rgba(255,255,255,.4); padding: 0; cursor: pointer; }
.dots button.on { background: var(--brand); border-color: var(--brand); }
.side-banners { display: grid; grid-template-rows: 1fr 1fr; gap: 12px; }
.side-banners a { border-radius: 6px; overflow: hidden; background: #eee; }
.side-banners img { width: 100%; height: 100%; object-fit: cover; }

.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 22px 0 8px; }
.trust div { display: flex; align-items: center; gap: 12px; background: var(--cream); border-radius: 14px; padding: 14px 16px; }
.trust .icon { color: var(--brand); }
.trust strong { display: block; font-size: 15px; }
.trust small { color: var(--muted); font-size: 13px; }

.section { padding: 36px 0; }
.section.cream { background: var(--cream); }
.section-title { text-align: center; margin-bottom: 24px; }
.pill { display: inline-block; background: var(--grad); color: #fff; font-weight: 700; font-size: 13px; padding: 3px 14px; border-radius: 999px; }
.section-title h2 { margin: 10px 0 6px; font-size: clamp(26px, 4.4vw, 38px); line-height: 1.2; font-weight: 800; }
.section-title h2 span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-title p { margin: 0; color: #4b5563; font-size: 16px; }
.more { text-align: center; margin-top: 26px; }

/* Categories: big white rounded tiles with the name below, in a sliding row with arrows (shop/home). */
.section.cat-section { padding: 26px 0 18px; }
.cat-heading { margin: 0 0 18px; text-align: center; font-size: 28px; font-weight: 500; }
.cat-slider { position: relative; }
.cat-grid { display: flex; justify-content: safe center; gap: 20px; overflow-x: auto; scroll-behavior: smooth; padding: 6px 4px 10px; scrollbar-width: none; }
.cat-grid::-webkit-scrollbar { display: none; }
.cat-grid > * { flex: 0 0 170px; scroll-snap-align: start; }
/* Snapping is switched on when the visitor first touches a row (script in shop/home): Chrome counts
   the snap on page load as a scroll and then stops measuring the page (PageSpeed's "NO_LCP" error). */
.cat-grid.snap, .product-row.snap { scroll-snap-type: x mandatory; }
.cat-card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.cat-card img, .cat-card .ph { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; border-radius: 30px; background: #fff; box-shadow: 0 8px 24px rgba(17, 19, 24, .06); transition: transform .15s; }
.cat-card:hover img { transform: translateY(-3px); }
.cat-card h3 { margin: 12px 0 0; font-size: 18px; font-weight: 500; line-height: 1.3; }
.cat-arrow { position: absolute; top: calc(50% - 26px); z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(237, 123, 0, .35); cursor: pointer; transform: translateY(-50%); }
.cat-arrow[hidden] { display: none; }
.cat-arrow.prev { left: -6px; }
.cat-arrow.next { right: -6px; }

/* ---------- Product cards ---------- */
.grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.grid > * { flex: 0 1 calc((100% - 4 * 16px) / 5); min-width: 0; }
.pcard { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 0 0 16px; overflow: hidden; display: flex; flex-direction: column; text-align: center; }
/* Picture fills the top of the card edge to edge; text and buttons get side padding. */
.pcard > h3, .pcard > a > h3, .pcard .prices, .pcard .buttons { margin-left: 14px; margin-right: 14px; }
.pcard .thumb { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: #f3f4f6; }
.pcard .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.pcard:hover .thumb img { transform: scale(1.04); }
.pcard .badge, .gallery-main .badge { position: absolute; top: 0; left: 0; background: var(--grad); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 0 0 10px 0; }
.pcard .badge.out, .gallery-main .badge.out { background: #6b7280; }
.gallery-main .badge { font-size: 14px; padding: 5px 14px; }
/* The product's own label ("নতুন", "হট সেল"…) sits in the opposite corner. */
.pcard .badge.label, .gallery-main .badge.label { left: auto; right: 0; background: var(--brand); border-radius: 0 0 0 10px; }
.pcard h3 { margin: 14px 0 6px; font-size: 15px; font-weight: 500; line-height: 1.45; min-height: 2.9em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prices { display: flex; justify-content: center; align-items: baseline; gap: 8px; font-weight: 800; font-size: 17px; margin-bottom: 14px; }
.prices del { color: var(--old); font-weight: 700; font-size: 15px; }
.prices .now { color: var(--price); }
.pcard .buttons { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.pcard .buttons form { margin: 0; }
/* Two buttons side by side, each label on ONE line: the row is a size container and the
   font shrinks with the card (14px on desktop, ~12px on small phones) so both labels fit. */
.pcard .buttons.row { flex-direction: row; align-items: stretch; gap: 5px; margin-left: 8px; margin-right: 8px; container-type: inline-size; }
.pcard .buttons.row .grow { flex: 1 1 auto; min-width: 0; display: flex; }
.pcard .buttons.row .btn { white-space: nowrap; font-size: 14px; font-size: clamp(11px, calc(8.8cqw - 2px), 14px); padding: 9px 2px; line-height: 1.25; height: 100%; }

/* ---------- Buttons & forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 2px solid var(--brand); border-radius: 8px; padding: 10px 18px; font-weight: 700; font-size: 16px; cursor: pointer; background: var(--brand); color: #fff; width: auto; }
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn.block { width: 100%; }
/* "কার্টে যোগ করুন": white with a bright orange border (pairs with the gradient order button). */
.btn.outline { background: var(--cart-bg, #fff); color: var(--cart-text, #111318); border: 2px solid var(--cart-border, #ff7a1a); border-radius: 12px; font-weight: 500; }
.btn.outline:hover { filter: brightness(.97); }
.btn.dark { background: var(--ink); border-color: var(--ink); }
.btn.green { background: #16a34a; border-color: #16a34a; }
/* "অর্ডার করুন": orange → red-orange gradient with a soft glow. */
/* Colours come from Settings → Buttons (set as CSS variables in layouts/shop). */
.btn.order { background: linear-gradient(90deg, var(--order-from, #ff8a00), var(--order-to, #ff4d0d)); border: 0; border-radius: 12px; color: var(--order-text, #fff); font-weight: 500; box-shadow: 0 6px 14px color-mix(in srgb, var(--order-to, #ff4d0d) 30%, transparent); }
.btn.order:hover { filter: brightness(.94); }
.btn.whatsapp { background: #22c55e; border-color: #22c55e; }
.btn.ghost { background: #fff; color: var(--ink); border: 1px solid #d1d5db; }
.btn.sm { padding: 6px 10px; font-size: 13px; }
.btn[disabled] { background: #9ca3af; border-color: #9ca3af; cursor: not-allowed; }
label { display: block; font-weight: 600; margin-bottom: 5px; }
.field { margin-bottom: 14px; }
input[type=text], input[type=tel], input[type=email], input[type=number], input[type=search], select, textarea {
  width: 100%; border: 1px solid #d1d5db; border-radius: 10px; padding: 11px 13px; font: inherit; font-size: 16px; background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(237,123,0,.25); border-color: var(--brand); }
.error { color: var(--old); font-size: 13px; margin-top: 4px; }
.alert { padding: 12px 16px; border-radius: 10px; margin: 14px 0; }
.alert.success { background: #ecfdf3; color: #067647; }
.alert.danger { background: #fef3f2; color: #b42318; }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }

main.page { padding: 22px 0 50px; background: var(--bg); min-height: 50vh; }
.page-title { font-size: 26px; margin: 0 0 16px; }

/* Listing */
.listing { display: grid; grid-template-columns: 230px 1fr; gap: 22px; }
.sidebar { padding: 18px; align-self: start; position: sticky; top: 140px; }
.sidebar h3 { margin: 0 0 10px; font-size: 16px; }
.sidebar a { display: block; padding: 7px 0; color: #4b5563; }
.sidebar a.active { color: var(--brand); font-weight: 700; }
.chips { display: none; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 12px; }
.chips a { white-space: nowrap; padding: 7px 14px; background: #fff; border: 1px solid #e5e7eb; border-radius: 999px; font-weight: 600; font-size: 14px; }
.chips a.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar h1 { margin: 0; font-size: 22px; }
.toolbar select { width: auto; }
.listing .grid { justify-content: flex-start; }
.listing .grid > * { flex-basis: calc((100% - 3 * 16px) / 4); }

/* Product page */
.product-page { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 24px; }
.gallery-main { position: relative; aspect-ratio: 1; background: #f3f4f6; border-radius: 12px; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.thumbs button { border: 2px solid var(--line); padding: 0; border-radius: 8px; overflow: hidden; width: 68px; height: 68px; cursor: pointer; background: none; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-page h1 { margin: 6px 0 10px; font-size: 26px; line-height: 1.35; }
.product-page .prices { justify-content: flex-start; font-size: 28px; }
.product-page .prices del { font-size: 20px; }
.crumb { color: var(--brand); font-weight: 600; }
.sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.sizes input { position: absolute; opacity: 0; }
.sizes label { border: 1.5px solid #d1d5db; border-radius: 8px; padding: 7px 16px; cursor: pointer; font-weight: 600; margin: 0; }
.sizes input:checked + label { border-color: var(--brand); background: #fff7ed; color: var(--brand-dark); }
.qty { display: flex; align-items: center; width: max-content; border: 1px solid #d1d5db; border-radius: 10px; overflow: hidden; }
.qty input { width: 60px; text-align: center; border: 0; border-radius: 0; }
.qty button { width: 42px; height: 46px; border: 0; background: #f9fafb; cursor: pointer; font-size: 20px; }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.contact-order { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.actions.single, .contact-order.single { grid-template-columns: 1fr; }
.perks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; color: #374151; }
.perks li { display: flex; gap: 10px; align-items: center; }
.perks .icon { color: var(--brand); }
.description { padding: 24px; margin-top: 20px; }
.description img { height: auto; }

/* Cart / checkout */
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.table th { font-size: 13px; color: var(--muted); font-weight: 600; }
.line-product { display: flex; gap: 10px; align-items: center; }
.line-product img, .line-product .ph { width: 58px; height: 58px; object-fit: cover; border-radius: 8px; background: #f3f4f6; flex: none; }
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; }
.panel { padding: 22px; }
.panel h2 { margin-top: 0; font-size: 19px; }
.summary-row { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; }
.summary-row.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-weight: 800; font-size: 18px; }
.radio-card { display: flex; gap: 10px; align-items: center; border: 1.5px solid #d1d5db; border-radius: 10px; padding: 11px 13px; margin-bottom: 8px; font-weight: 600; cursor: pointer; }
.radio-card:has(input:checked) { border-color: var(--brand); background: #fff7ed; }
.status-pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; background: #eef0f3; }
.status-pending { background: #fff4e5; color: #9a5b00; }
.status-processing, .status-on-hold { background: #e8f1ff; color: #1849a9; }
.status-completed { background: #e7f6ee; color: #075e33; }
.status-cancelled, .status-failed, .status-refunded { background: #fdecea; color: #912018; }
.empty { text-align: center; padding: 48px 20px; }
.success-mark { width: 72px; height: 72px; margin: 0 auto; border-radius: 50%; background: #dcfce7; color: #16a34a; display: grid; place-items: center; }
.contact-line { display: flex; gap: 10px; align-items: center; }
.contact-line .icon { color: var(--brand); }

.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }
.pagination a, .pagination span { padding: 7px 13px; border-radius: 8px; background: #fff; border: 1px solid #e5e7eb; }
.pagination .current { background: var(--brand); color: #fff; border-color: var(--brand); }
.pagination .disabled { color: var(--muted); }
.page-content { padding: 26px; }
.page-content h1 { margin-top: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--header); color: #374151; font-size: 15px; border-top: 1px solid var(--line); }
.site-footer .cols { display: grid; grid-template-columns: 1.35fr 1fr 1.35fr; gap: 40px; padding-top: 40px; padding-bottom: 34px; }
.site-footer .logo { color: var(--ink); }
.site-footer .tagline { margin: 14px 0 18px; color: #4b5563; max-width: 340px; }
.site-footer h4 { color: var(--brand); letter-spacing: .2em; text-transform: uppercase; font-size: 15px; font-weight: 700; margin: 8px 0 18px; }
.site-footer a:hover { color: var(--brand); }
.links a { display: block; padding: 5px 0; }
.contact-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.call-pill { display: inline-flex; align-items: center; gap: 12px; background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 999px; padding: 8px 22px 8px 8px; }
.call-pill .circle { width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; }
.call-pill small { display: block; color: var(--muted); font-size: 12px; line-height: 1.2; }
.call-pill strong { color: var(--ink); font-size: 17px; letter-spacing: .02em; }
.socials { display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; background: #f9fafb; border: 1px solid #e5e7eb; display: grid; place-items: center; color: var(--ink); }
.socials a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.info-line { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.info-line .icon { color: var(--brand); margin-top: 3px; }
.copy { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; padding: 18px 0 22px; }
.copy-row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.copy-row b { color: var(--brand); font-weight: 600; }

/* Floating contact buttons */
.float-btns { position: fixed; right: 16px; bottom: 90px; display: flex; flex-direction: column; gap: 12px; z-index: 40; }
.float-btns a { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.float-btns .wa { background: #22c55e; }
.float-btns .call { background: var(--brand); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .grid > * { flex-basis: calc((100% - 3 * 16px) / 4); }
  .listing .grid > * { flex-basis: calc((100% - 2 * 16px) / 3); }
}
@media (max-width: 860px) {
  .only-desktop { display: none !important; }
  .only-mobile { display: flex !important; }
  .site-header .bar { height: 64px; gap: 8px; justify-content: space-between; }
  .logo { font-size: 18px; }
  .logo .mark { width: 32px; height: 32px; }
  .site-header .logo img { height: 34px; }
  .drawer .logo img { height: 26px; }
  .site-header .bar .logo { position: absolute; left: 50%; transform: translateX(-50%); }
  .header-actions { gap: 6px; }
  .catnav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 10px; }
  .side-banners { grid-template-rows: none; grid-template-columns: 1fr 1fr; gap: 10px; }
  .side-banners a { aspect-ratio: 2 / 1; }
  .trust { grid-template-columns: 1fr 1fr; gap: 10px; }
  .trust div { padding: 12px; }
  .section { padding: 34px 0; }
  .grid { gap: 12px; }
  .grid > *, .listing .grid > * { flex-basis: calc((100% - 12px) / 2); min-width: 0; }
  .cat-grid { gap: 14px; }
  .cat-grid > * { flex-basis: calc((100% - 2 * 14px) / 2.6); } /* two and a half: shows there is more to swipe */
  .cat-card img, .cat-card .ph { border-radius: 24px; }
  .cat-card h3 { font-size: 16px; margin-top: 8px; }
  .section.cat-section { padding: 20px 0 12px; }
  .cat-heading { font-size: 22px; margin-bottom: 12px; }
  .cat-arrow { width: 38px; height: 38px; }
  .cat-arrow.prev { left: -10px; }
  .cat-arrow.next { right: -10px; }
  .pcard { padding: 0 0 12px; }
  .pcard > h3, .pcard > a > h3, .pcard .prices, .pcard .buttons { margin-left: 10px; margin-right: 10px; }
  .pcard h3 { font-size: 14px; }
  .prices { font-size: 16px; }
  .pcard .btn { font-size: 15px; padding: 9px 10px; }
  /* Side-by-side card buttons: smaller padding, font still sized by the card (see above). */
  .pcard .buttons.row .btn { font-size: 12px; font-size: clamp(11px, calc(8.8cqw - 2px), 14px); padding: 8px 2px; }
  .listing, .two-col, .product-page { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .chips { display: flex; }
  .product-page { padding: 14px; gap: 18px; }
  .site-footer .cols { grid-template-columns: 1fr; gap: 28px; padding-bottom: 20px; }
  .logo-footer img { height: 46px; }
  .copy-row { justify-content: center; text-align: center; }
  .copy { padding-bottom: 96px; }
  .float-btns { bottom: 24px; }
  .table.responsive thead { display: none; }
  .table.responsive tr { display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid var(--line); padding: 8px 0; }
  .table.responsive td { border: 0; padding: 4px 8px; }
}
.perks li.free { color: #15803d; font-weight: 600; }
.free-note { display: flex; align-items: center; gap: 8px; background: #ecfdf5; color: #15803d; font-weight: 600; border-radius: 8px; padding: 8px 12px; margin-bottom: 8px; font-size: 14px; }

/* Checkout district list with a search box (see checkout.blade.php). */
.combo { position: relative; }
.combo.ready select { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.combo-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; border: 1px solid #d1d5db; border-radius: 10px; padding: 11px 13px; font: inherit; font-size: 16px; background: #fff; color: var(--ink); cursor: pointer; text-align: left; }
.combo-btn.empty .combo-text { color: #9ca3af; }
.combo-btn svg { flex: none; color: var(--muted); transition: transform .15s; }
.combo.open .combo-btn { border-color: var(--brand); outline: 2px solid rgba(237,123,0,.25); }
.combo.open .combo-btn svg { transform: rotate(180deg); }
.combo-btn:focus-visible { outline: 2px solid rgba(237,123,0,.25); border-color: var(--brand); }
.combo-btn.invalid { border-color: var(--old); }
.combo-panel { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 40; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; box-shadow: 0 12px 32px rgba(17,19,24,.14); padding: 8px; }
.combo-panel[hidden] { display: none; }
.combo-search { width: 100%; border: 1px solid #d1d5db; border-radius: 8px; padding: 9px 12px; font: inherit; font-size: 16px; }
.combo-search:focus { outline: 2px solid rgba(237,123,0,.25); border-color: var(--brand); }
.combo-list { list-style: none; margin: 8px 0 0; padding: 0; max-height: 240px; overflow-y: auto; overscroll-behavior: contain; }
.combo-list li { padding: 9px 12px; border-radius: 8px; cursor: pointer; font-size: 15px; }
.combo-list li[hidden] { display: none; }
.combo-list li[aria-selected="true"] { font-weight: 700; }
.combo-list li.active { background: var(--brand); color: #fff; }
.combo-empty { padding: 10px 12px; color: var(--muted); font-size: 14px; }
.radio-card.cod span { display: flex; flex-direction: column; line-height: 1.35; }
.radio-card.cod small { color: var(--muted); font-size: 13px; font-weight: 400; }

/* Size list that opens over a product card (partials/product-card + script in layouts/shop). */
.pcard { position: relative; }
.size-pick { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; background: #fff; padding: 12px 12px 14px; border-top: 1px solid var(--line); box-shadow: 0 -10px 24px rgba(17, 19, 24, .10); text-align: left; animation: size-pick-up .18s ease-out; }
.size-pick[hidden] { display: none; }
@keyframes size-pick-up { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
.size-pick-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.size-pick-head strong { font-size: 14px; line-height: 1.3; }
.size-pick-close { flex: none; width: 28px; height: 28px; border: 0; border-radius: 50%; background: #f3f4f6; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.size-pick-hint { margin: 2px 0 10px; font-size: 12px; line-height: 1.35; color: var(--muted); }
.size-pick-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(42px, 1fr)); gap: 6px; }
.size-pick-options button { min-height: 38px; padding: 6px 4px; border: 1.5px solid var(--brand); border-radius: 8px; background: #fff; color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.size-pick-options button:hover, .size-pick-options button.chosen { background: var(--brand); color: #fff; }
.size-pick-options button:disabled:not(.chosen) { opacity: .5; }

/* Phones: menu bar fixed at the bottom (layouts/shop). */
.bottom-nav { display: none; }
@media (max-width: 860px) {
  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: 45; background: var(--brand); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgba(17, 19, 24, .12); }
  .bottom-nav a, .bottom-nav button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; border: 0; background: none; color: #fff; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; border-radius: 10px; opacity: .88; }
  .bottom-nav a.active { opacity: 1; background: rgba(255, 255, 255, .16); }
  .bottom-nav span { line-height: 1.1; white-space: nowrap; }
  .bottom-nav .bn-icon { position: relative; display: block; }
  .bottom-nav .bn-icon b { position: absolute; top: -6px; right: -10px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: #111318; color: #fff; font-size: 11px; display: grid; place-items: center; }
  .float-btns { bottom: calc(80px + env(safe-area-inset-bottom)); }
}

/* Offer popup and exit popup (partials/popups). */
body.promo-open { overflow: hidden; }
.promo { position: fixed; inset: 0; z-index: 90; background: rgba(17, 19, 24, .6); display: grid; place-items: center; padding: 20px; animation: promo-fade .2s ease-out; }
.promo[hidden] { display: none; }
@keyframes promo-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes promo-pop { from { transform: scale(.92); opacity: 0; } to { transform: none; opacity: 1; } }
.promo-box { position: relative; width: min(440px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: #fff; border-radius: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); animation: promo-pop .25s ease-out; }
.promo-img { display: block; }
.promo-img img { display: block; width: 100%; height: auto; }
.promo-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(17, 19, 24, .6); color: #fff; display: grid; place-items: center; cursor: pointer; }
.promo-foot { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0; padding: 13px; background: var(--brand); color: #fff; font-size: 17px; font-weight: 600; cursor: pointer; }
.promo-foot input { width: 20px; height: 20px; accent-color: #fff; }
.exit-body { padding: 22px 22px 18px; text-align: center; }
.exit-icon { width: 64px; height: 64px; margin: 4px auto 12px; border-radius: 50%; display: grid; place-items: center; background: #fff4e5; color: var(--brand); }
.exit-body h3 { margin: 0 0 8px; font-size: 21px; line-height: 1.35; }
.exit-body p { margin: 0 0 16px; color: #4b5563; }
.exit-cta { font-size: 18px; padding: 12px; }
.exit-leave { margin-top: 10px; border: 0; background: none; color: var(--muted); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
.track-order { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
/* Bottom menu: no tap flash, no double-tap zoom delay. */
.bottom-nav a, .bottom-nav button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; user-select: none; }

/* Blocked visitor: full-screen message, nothing behind it can be used (layouts/shop). */
body.is-blocked { overflow: hidden; }
.blocked-screen { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(17, 19, 24, .82); backdrop-filter: blur(4px); }
.blocked-box { width: min(420px, 100%); background: #fff; border-radius: 18px; padding: 28px 24px; text-align: center; box-shadow: 0 24px 60px rgba(0, 0, 0, .4); }
.blocked-icon { width: 72px; height: 72px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; background: #fef2f2; color: #dc2626; }
.blocked-box h2 { margin: 0 0 8px; font-size: 24px; }
.blocked-box p { margin: 0; color: #374151; font-size: 16px; line-height: 1.6; }
.blocked-wa { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.blocked-wa span { font-size: 16px; }
.blocked-wa .btn { font-size: 17px; padding: 12px; }

/* Home page lists: name on the left, "View all" on the right. */
.home-list { padding: 30px 0; }
.list-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.list-head .cat-heading { margin: 0; text-align: left; }
.list-head .view-all { flex: none; display: inline-flex; align-items: center; gap: 4px; color: var(--brand); font-weight: 600; font-size: 15px; }
.more { text-align: center; padding: 10px 0 34px; }
@media (max-width: 860px) {
  .home-list { padding: 22px 0; }
  .list-head .view-all { font-size: 14px; }
}
/* One-row list: product cards in a line that slides sideways. */
.hs-slider { position: relative; }
.product-row { display: flex; gap: 16px; overflow-x: auto; scroll-behavior: smooth; padding: 4px 2px 12px; scrollbar-width: none; }
.product-row::-webkit-scrollbar { display: none; }
.product-row > .pcard { flex: 0 0 calc((100% - 4 * 16px) / 5); min-width: 0; scroll-snap-align: start; }
@media (max-width: 1100px) { .product-row > .pcard { flex-basis: calc((100% - 3 * 16px) / 4); } }
@media (max-width: 860px) {
  .product-row { gap: 12px; }
  .product-row > .pcard { flex-basis: calc((100% - 12px) / 2.15); } /* two and a bit: shows there is more */
}
.home-list .grid { justify-content: flex-start; }
/* One-row lists: name in the middle, View all still on the right. */
.list-head.center { position: relative; justify-content: center; }
.list-head.center .cat-heading { text-align: center; }
.list-head.center .view-all { position: absolute; right: 0; }
@media (max-width: 860px) {
  .list-head.center { flex-direction: column; gap: 4px; }
  .list-head.center .view-all { position: static; }
}

/* Speed: lists further down the home page are laid out only when scrolled near. */
.home-list { content-visibility: auto; contain-intrinsic-size: auto 720px; }
/* Readable colours (contrast) and bigger slider dots for fingers. */
.prices .now { color: #15803d; }
.list-head .view-all { color: #b45309; }
.dots { gap: 0; }
/* 24px tap area around each 12px dot (the visible dot is drawn inside by background-clip). */
.dots button { width: 24px; height: 24px; border: 6px solid transparent; background-clip: padding-box; box-shadow: inset 0 0 0 2px #fff; }
.dots button.on { border-color: transparent; }
.site-footer h4, .copy-row b { color: #b45309; }
