/* BDPlas design — additions for the OpenCart theme (bdplas.css is a copy of ui/assets/css/bdplas.css; keep it untouched). */

/* Category images in icon slots */
.header-cats__ic img, .menu-cats__ic img, .catcard__icon img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.catcard__icon:has(img) { background: var(--surface); overflow: hidden; }

/* Header category dropdown also opens on tap */
@media (min-width: 1024px) {
  .header-cats.is-open .header-cats__menu { opacity: 1; visibility: visible; transform: none; }
}

/* Toast action link */
.toast a { color: #5FD3A9; font-weight: 700; font-size: 13.5px; white-space: nowrap; }

/* Loading states */
.is-loading { opacity: .6; pointer-events: none; }
[data-ptabs-grid].is-loading { min-height: 200px; }

/* Store messages (success / error) */
.bd-alert { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 12px 16px; border-radius: var(--r); font-size: 14px; font-weight: 600; }
.bd-alert--success { background: var(--success-50); color: var(--success); }
.bd-alert--error { background: var(--sale-50); color: var(--sale); }
.bd-alert a { text-decoration: underline; }

/* Hero proof without avatars */
.hero__proof:empty { display: none; }

/* ---------- Listing (category / search / offers) ---------- */
.fgroup a.check { color: var(--ink-2); }
.fgroup a.check:hover { color: var(--brand); }
.check__dot { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
.check.is-active { color: var(--brand); font-weight: 700; }
.check.is-active .check__dot { border: 5px solid var(--brand); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.subcat-chips { margin-bottom: 14px; }
@media (min-width: 1024px) { .subcat-chips { display: none; } }
.bd-pagination { margin-top: 28px; display: flex; justify-content: center; }
.bd-pagination .pagination { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.bd-pagination li > a, .bd-pagination li > span { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: 14px; color: var(--ink-2); }
.bd-pagination li > a:hover { border-color: var(--brand); color: var(--brand); }
.bd-pagination li.active > span, .bd-pagination li.active > a { background: var(--ink); border-color: var(--ink); color: #fff; }
.bd-prose { font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.bd-prose h2, .bd-prose h3 { margin: 18px 0 8px; color: var(--ink); }
.bd-prose p { margin: 0 0 12px; }
.bd-prose ul, .bd-prose ol { padding-left: 20px; margin: 0 0 12px; }
.bd-prose a { color: var(--brand); text-decoration: underline; }
.pgrid--shop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .pgrid--shop { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.check .check__dot { flex: none; }

/* ---------- Product states: Call for Price / Upcoming ---------- */
.badge--call { background: var(--ink); color: #fff; }
.badge--upcoming { background: #6D5BD0; color: #fff; }
.stock--call { color: var(--ink); font-weight: 700; }
.stock--pre { color: #6D5BD0; font-weight: 700; }
.pcard__callprice { display: flex; align-items: center; gap: 6px; margin: 2px 0 4px; font-size: 14px; font-weight: 700; color: var(--ink); }
.pcard__callprice--soon { color: #6D5BD0; }
.statebox { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--r-md); background: var(--bg); }
.statebox strong { display: block; font-size: 17px; color: var(--ink); }
.statebox p { margin: 4px 0 0; font-size: 13.5px; color: var(--muted); }
.statebox__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: #fff; }
.statebox--soon .statebox__icon { background: #6D5BD0; }
.account .field { text-align: left; }

/* Checkout */
.choice__body .rec-tag { display: inline-block; color: #fff; font-size: 10.5px; margin-top: 0; }
.co-item__img img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }

/* ---------- Image captcha (contact / login / register) ---------- */
.ntcap { display: grid; gap: 6px; margin: 12px 0; }
.ntcap__label { font-size: 13.5px; font-weight: 700; }
.ntcap__label small { font-weight: 500; color: var(--muted); }
.ntcap__row { display: flex; align-items: center; gap: 8px; }
.ntcap__img { border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.ntcap__re { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: 18px; }
.ntcap__fa4 { display: none; }
.ntcap__input { max-width: 120px; }
.ntcap__error { color: var(--sale); font-size: 12.5px; font-weight: 600; }
.ntcap__error:empty { display: none; }

/* ---------- Information & contact ---------- */
.info-page { display: grid; gap: 20px; padding: 24px 0 48px; }
@media (min-width: 1024px) { .info-page { grid-template-columns: 1fr 300px; align-items: start; } .info-page__aside { position: sticky; top: 140px; } }
.info-page__body { padding: 24px; }
@media (min-width: 768px) { .info-page__body { padding: 32px 36px; } }
.contact-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-bottom: 20px; }
.contact-grid a.trust:hover { border-color: var(--brand-100); box-shadow: var(--shadow); }
.contact-layout { display: grid; gap: 20px; }
@media (min-width: 1024px) { .contact-layout { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.contact-layout .card { padding: 22px; }

/* Wholesale bulk table */
.ws-tiers { display: flex; flex-wrap: wrap; gap: 6px; }
.ws-tiers span { display: grid; padding: 6px 10px; border-radius: 10px; background: var(--brand-50); }
.ws-tiers small { font-size: 11.5px; color: var(--muted); }
.ws-tiers b { font-size: 14px; color: var(--ink); }
.ws-table .pr { display: flex; align-items: center; gap: 10px; }
.ws-table .pr img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; }

/* ---------- Account ---------- */
.acct { padding: 20px 0 48px; display: grid; gap: 16px; }
.acct .card { padding: 22px; }
.acct .field { margin-bottom: 12px; }
.acct-auth { display: grid; gap: 16px; }
@media (min-width: 900px) { .acct-auth { grid-template-columns: 1fr 1fr; align-items: start; } .acct-auth--single { grid-template-columns: minmax(0, 520px); } }
.acct-auth__aside .checklist { margin: 12px 0 18px; }
.acct-form { max-width: 820px; }
.acct-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; }
.acct-heading { font-size: 18px; margin: 8px 0 0; }
.acct-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.acct-grid .trust { align-items: center; }
.acct-grid .trust:hover { border-color: var(--brand-100); box-shadow: var(--shadow); }
.acct-order { display: grid; grid-template-columns: repeat(2, 1fr) auto; gap: 8px 16px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.acct-order:last-child { border-bottom: 0; }
.acct-order:hover { background: var(--bg); }
.acct-order small { display: block; font-size: 12px; color: var(--muted); }
@media (min-width: 768px) { .acct-order { grid-template-columns: 1fr 1.3fr .8fr 1fr auto auto; } }
.bd-prose ul { list-style: disc; }
.bd-prose ol { list-style: decimal; }
.lp-tiers { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 12px; }
.lp-tiers span { display: grid; padding: 6px 10px; border-radius: 10px; background: var(--brand-50); }
.lp-tiers small { font-size: 11.5px; color: var(--muted); }
.lp-tiers b { font-size: 14px; color: var(--ink); }
.order-form .qty { width: fit-content; }

/* Order tracking */
.track { display: grid; gap: 16px; padding: 24px 0 48px; max-width: 900px; }
.track__form { padding: 22px; }
.track__form .btn { margin-top: 6px; }

/* ---------- Product gallery: hover zoom + full-screen lightbox ---------- */
[data-zoom] { cursor: zoom-in; overflow: hidden; }
[data-zoom] img { transition: transform .25s ease; }
[data-zoom].is-zooming img { transform: scale(2.2); transition: transform .12s ease-out; }
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(10, 14, 22, .97); display: flex; flex-direction: column; }
.lightbox[hidden] { display: none; }
.lightbox__track { flex: 1; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; min-height: 0; }
.lightbox__track::-webkit-scrollbar { display: none; }
.lightbox__slide { flex: 0 0 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 56px 16px 12px; scroll-snap-align: start; cursor: zoom-out; }
.lightbox__slide img { max-width: 100%; max-height: calc(100dvh - 160px); object-fit: contain; border-radius: 12px; background: #fff; cursor: default; }
.lightbox__close { position: absolute; top: 10px; right: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 30px; line-height: 1; }
.lightbox__count { position: absolute; top: 20px; left: 18px; z-index: 2; color: #fff; font-weight: 700; font-size: 14px; }
.lightbox__nav { position: absolute; top: 50%; z-index: 2; width: 48px; height: 48px; margin-top: -40px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); font-size: 34px; line-height: 1; display: grid; place-items: center; box-shadow: var(--shadow); }
.lightbox__nav--prev { left: 16px; } .lightbox__nav--next { right: 16px; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--brand); color: #fff; }
.lightbox__thumbs { display: flex; gap: 8px; justify-content: center; padding: 10px 16px 16px; overflow-x: auto; }
.lightbox__thumbs button { flex: none; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; opacity: .6; background: #fff; }
.lightbox__thumbs button.is-active { border-color: var(--accent); opacity: 1; }
.lightbox__thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 639px) { .lightbox__nav { display: none; } .lightbox__thumbs button { width: 52px; height: 52px; } }

/* ---------- Product videos (YouTube / Facebook, click to play) ---------- */
.pv-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 6px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 700; }
.pv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px 16px; align-items: start; }
.pv { margin: 0; min-width: 0; }
.pv__frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: var(--r-md, 14px); overflow: hidden; background: #111 center / cover; cursor: pointer; }
.pv__frame img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: transform .35s ease, opacity .2s; }
.pv__frame:hover img { transform: scale(1.04); opacity: 1; }
.pv__play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--brand); box-shadow: 0 8px 24px rgba(0, 0, 0, .3); transition: transform .2s; }
.pv__play .icon { width: 26px; height: 26px; margin-left: 3px; fill: currentColor; }
.pv__frame:hover .pv__play { transform: scale(1.08); }
.pv__src { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; background: rgba(0, 0, 0, .65); color: #fff; font-size: 12px; font-weight: 600; }
.pv__src--youtube .icon { color: #FF3D3D; }
.pv__src--facebook .icon { color: #5B9BFF; }
.pv__frame iframe, .pv__frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.pv.is-playing .pv__frame { cursor: default; }
.pv figcaption { margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.gallery__video { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(17, 17, 17, .78); color: #fff; font-size: 13px; font-weight: 600; text-decoration: none; }
.gallery__video:hover { background: var(--brand); color: #fff; }
.gallery__video .icon { fill: currentColor; }
@media (max-width: 639px) { .pv-grid { grid-template-columns: 1fr; } }
/* Reels / Shorts: same 16:9 card as the others (poster blurred behind, picture centred); full portrait size only while playing */
.pv--portrait .pv__frame::before { content: ""; position: absolute; inset: -20px; background: inherit; background-image: var(--pv-poster); background-size: cover; background-position: center; filter: blur(18px) brightness(.55); }
.pv--portrait .pv__frame img { position: relative; object-fit: contain; }
.pv--portrait.is-playing .pv__frame { aspect-ratio: 9 / 16; width: auto; height: min(78vh, 620px); max-width: 100%; margin: 0 auto; }
.pv--portrait.is-playing .pv__frame::before { display: none; }
.pv figcaption { text-align: left; }

/* ---------- Search panel: small × close; floating panel (click outside closes) from tablet up ---------- */
.spanel__back { display: none; }
.spanel__close { flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--surface); color: var(--muted); cursor: pointer; transition: background .15s, color .15s; }
.spanel__close:hover { background: var(--line-2); color: var(--ink); }
.spanel__bar { padding-left: 16px; }
@media (min-width: 768px) {
  .layer--search .layer__panel { inset: 24px auto auto 50%; width: min(760px, calc(100% - 48px)); max-height: calc(100vh - 48px); border-radius: var(--r-xl); transform: translate(-50%, -12px); box-shadow: var(--shadow-lg); }
  .layer--search.is-open .layer__panel { transform: translate(-50%, 0); }
}

/* ---------- Listing filter: categories with product counts + sub-categories ---------- */
.fcat__row { display: flex; align-items: center; gap: 4px; }
.fcat__row .check { flex: 1; min-width: 0; }
.fcat__n { flex: none; min-width: 26px; padding: 1px 7px; border-radius: 999px; background: var(--surface); color: var(--muted) !important; font-size: 12px !important; font-weight: 600; text-align: center; line-height: 1.6; }
.check.is-active .fcat__n { background: var(--brand); color: #fff !important; }
.fcat__toggle { flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; }
.fcat__toggle:hover { background: var(--surface); color: var(--ink); }
.fcat__toggle .icon { transition: transform .2s; }
.fcat.is-open .fcat__toggle .icon { transform: rotate(180deg); }
.fcat__subs { display: none; margin: 2px 0 6px 8px; padding-left: 16px; border-left: 2px solid var(--line-2); }
.fcat.is-open .fcat__subs { display: block; }
.check--sub { padding: 5px 0; font-size: 13.5px; }
.check--sub .check__dot { width: 13px; height: 13px; }
.check--sub.is-active .check__dot { border-width: 4px; }
.fcat:not(:has(.fcat__toggle)) .fcat__row { padding-right: 32px; }

/* ---------- Product page: SEO content (Admin > Product > SEO Content) ---------- */
.pdp-seo { margin-top: 4px; padding: 18px 20px; border: 1px solid var(--line-2); border-radius: var(--r-md); background: #fff; color: var(--ink-2); font-size: 14px; }
.pdp-seo h2, .pdp-seo h3 { font-size: 17px; margin: 0 0 8px; color: var(--ink); font-family: inherit !important; }
.pdp-seo p { margin: 0 0 8px; }
.pdp-seo p:last-child { margin-bottom: 0; }
.pdp-seo [style] { font-family: inherit !important; }

/* ---------- Category SEO content: product price table ---------- */
.bd-prose .seo-price-table { width: 100%; max-width: 640px; margin: 4px 0 12px; border-collapse: collapse; font-size: 14px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-md); overflow: hidden; }
.bd-prose .seo-price-table th, .bd-prose .seo-price-table td { padding: 9px 14px; border-bottom: 1px solid var(--line-2); text-align: left; }
.bd-prose .seo-price-table th { background: var(--bg); color: var(--muted); font-weight: 600; }
.bd-prose .seo-price-table td:last-child, .bd-prose .seo-price-table th:last-child { text-align: right; white-space: nowrap; font-weight: 700; color: var(--ink); }
.bd-prose .seo-price-table tr:last-child td { border-bottom: 0; }

/* ---------- Header cart: cart icon + "কার্ট" label on wider screens ---------- */
.header-cart__label { display: none; }
@media (min-width: 1024px) {
  .icon-btn.header-cart { display: inline-flex; align-items: center; width: auto; padding: 0 14px 0 10px; gap: 6px; border-radius: 999px; background: var(--brand-50, #e9f6f0); color: var(--brand); font-weight: 700; font-size: 14px; }
  .icon-btn.header-cart:hover { background: var(--brand); color: #fff; }
  .header-cart__label { display: inline; }
}

/* ---------- Header actions: Running Offers / Account / My Cart (icon + two-line label) ---------- */
.header-actions { gap: 6px; }
.hact { position: relative; display: inline-flex; align-items: center; gap: 9px; padding: 4px 6px; border-radius: 12px; color: var(--ink); text-decoration: none; flex: none; }
.hact:hover { background: var(--surface); color: var(--ink); }
.hact__ico { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--surface); color: var(--ink); flex: none; }
.hact__ico .count-badge { top: -3px; right: -4px; }
.hact__txt { display: none; flex-direction: column; line-height: 1.15; }
.hact__txt small { font-size: 12px; color: var(--muted); }
.hact__txt b { font-size: 14px; font-weight: 700; white-space: nowrap; max-width: 110px; overflow: hidden; text-overflow: ellipsis; }
.hact--offer .hact__ico { background: #FFF1E8; color: var(--accent); }
.hact--offer .hact__txt small { color: var(--accent); }
.hact--cart .hact__ico { background: var(--brand); color: #fff; }
@media (min-width: 1100px) { .hact__txt { display: flex; } .hact { padding-right: 10px; } }
@media (max-width: 1099px) { .hact__ico { width: 40px; height: 40px; background: transparent; } .hact--offer .hact__ico { background: transparent; } .hact--cart .hact__ico { background: transparent; color: var(--ink); } .hact { padding: 0; } }
@media (max-width: 639px) { .hact--offer { display: none; } }

/* ---------- Offers (admin Catalog > Offers) ---------- */
.page-head__sub { margin-top: 6px; color: var(--muted); }
.offers-page { padding-top: 24px; padding-bottom: 48px; }
.offer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.offer-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg, 18px); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.offer-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.offer-card__media { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--surface); }
.offer-card__media img { width: 100%; height: 100%; object-fit: cover; }
.offer-card__ph { display: grid; place-items: center; height: 100%; color: var(--accent); }
.offer-card__ph .icon { width: 48px; height: 48px; }
.offer-card__state { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; }
.offer-card.is-upcoming .offer-card__state, .offer-card__state.is-upcoming { background: #6366F1; }
.offer-card__state--inline { position: static; margin-bottom: 12px; }
.offer-card__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; flex: 1; }
.offer-card__body h2 { font-size: 18px; margin: 0; }
.offer-card__body h2 a { color: var(--ink); }
.offer-card__body p { margin: 0; color: var(--ink-2); font-size: 14px; }
.offer-card__meta { display: flex; align-items: center; gap: 6px; color: var(--accent); font-size: 13px; font-weight: 600; }
.offer-card__meta small { color: var(--muted); font-weight: 400; }
.offer-card__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.offers-page__more { margin-top: 24px; text-align: center; }
.offers-page__more a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.offer-detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; padding-top: 24px; padding-bottom: 40px; align-items: start; }
.offer-detail__main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.offer-detail__img { width: 100%; border-radius: var(--r-lg, 18px); }
.offer-detail__lead { font-size: 17px; font-weight: 600; color: var(--ink); margin: 0; }
.offer-detail__box { display: flex; flex-direction: column; gap: 10px; position: sticky; top: 90px; }
.offer-detail__dates { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.offer-detail__dates div { padding: 10px 12px; border-radius: 12px; background: var(--surface); }
.offer-detail__dates small { display: block; color: var(--muted); font-size: 12px; }
.offer-detail__hurry { margin: 4px 0 0; font-weight: 700; color: var(--accent); }
.offer-detail__share { display: flex; align-items: center; gap: 10px; padding-top: 8px; border-top: 1px solid var(--line-2); color: var(--muted); font-size: 13px; }
.offer-detail__share a { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--surface); color: var(--ink); }
.offer-detail__back { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-weight: 600; }
@media (max-width: 899px) { .offer-detail { grid-template-columns: 1fr; } .offer-detail__box { position: static; } }

/* ---------- Main menu: top categories with sub-category dropdowns, overflow into "More" ---------- */
@media (min-width: 1024px) {
  .header-nav__inner { gap: 16px; }
  .header-nav .nav-main { flex: 1 1 auto; min-width: 0; flex-wrap: nowrap; }
  .header-nav .nav-main > li { position: relative; flex: none; }
  .header-nav .nav-main > li > a { white-space: nowrap; }
  .header-nav .nav-caret { opacity: .55; transition: transform .2s; }
  .header-nav .has-sub:hover > a .nav-caret, .header-nav .has-sub:focus-within > a .nav-caret { transform: rotate(180deg); }
  .header-nav .nav-sub { display: none; position: absolute; top: calc(100% + 6px); left: 0; z-index: 70; min-width: 230px; flex-direction: column; gap: 0; padding: 6px; background: #fff; border: 1px solid var(--line-2); border-radius: 14px; box-shadow: var(--shadow-lg); }
  .header-nav .nav-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
  .header-nav .has-sub:hover > .nav-sub, .header-nav .has-sub:focus-within > .nav-sub { display: flex; }
  .header-nav .nav-sub > li { position: relative; }
  .header-nav .nav-sub a { display: flex; justify-content: space-between; width: 100%; height: auto; padding: 8px 12px; border-radius: 9px; font-weight: 500; white-space: nowrap; }
  .header-nav .nav-sub__n { margin-left: 12px; padding: 0 7px; border-radius: 999px; background: var(--surface); color: var(--muted); font-size: 11.5px; line-height: 20px; }
  .header-nav .nav-sub__all a { color: var(--brand); font-weight: 700; justify-content: flex-start; gap: 6px; border-top: 1px solid var(--line-2); border-radius: 0 0 9px 9px; margin-top: 4px; }
  /* categories moved into "More": their own list opens to the side */
  .header-nav .nav-more .nav-sub .nav-sub { top: -7px; left: 100%; margin-left: 4px; }
  .header-nav .nav-more .nav-sub .nav-caret, .header-nav .nav-more .nav-sub .has-sub:hover > a .nav-caret, .header-nav .nav-more .nav-sub .has-sub:focus-within > a .nav-caret { transform: rotate(-90deg); }
  .header-nav .nav-more { margin-left: 2px; }
  .header-nav .nav-more[hidden] { display: none; }
}

/* ---------- Wholesale form: product picker ---------- */
.ws-picker__search { position: relative; display: flex; align-items: center; }
.ws-picker__search > .icon { position: absolute; left: 12px; color: var(--muted); pointer-events: none; }
.ws-picker__search .input { padding-left: 38px; width: 100%; }
.ws-picker__drop { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; max-height: 340px; overflow-y: auto; padding: 6px; background: #fff; border: 1px solid var(--line-2); border-radius: 14px; box-shadow: var(--shadow-lg); }
.ws-opt { display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 8px; border: 0; border-radius: 10px; background: none; text-align: left; font-size: 14px; color: var(--ink); cursor: pointer; }
.ws-opt:hover { background: var(--surface); }
.ws-opt img { width: 40px; height: 40px; object-fit: cover; border-radius: 8px; flex: none; }
.ws-opt span { flex: 1; min-width: 0; }
.ws-opt b { font-size: 13px; white-space: nowrap; }
.ws-opt i { font-style: normal; font-size: 12px; font-weight: 700; color: var(--brand); white-space: nowrap; }
.ws-opt--none { color: var(--muted); cursor: default; }
.ws-items { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ws-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; }
.ws-item img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; flex: none; }
.ws-item__name { flex: 1; min-width: 0; font-size: 14px; font-weight: 600; }
.ws-item__qty { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; color: var(--muted); }
.ws-item__qty .input { width: 84px; height: 38px; text-align: center; }
.ws-item__rm { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--surface); color: var(--muted); font-size: 18px; cursor: pointer; }
.ws-item__rm:hover { background: #fdecec; color: #b42318; }
.ws-picker__hint { margin: 8px 0 0; font-size: 13px; }
.pdp-wholesale { display: flex; align-items: center; gap: 10px; margin: 14px 0; padding: 12px 14px; border: 1px dashed var(--brand); border-radius: var(--r-md, 14px); background: var(--brand-50, #e9f6f0); color: var(--ink); font-size: 14px; text-decoration: none; }
.pdp-wholesale > .icon:first-child { color: var(--brand); flex: none; }
.pdp-wholesale span { flex: 1; }
.pdp-wholesale b { color: var(--brand); }
.pdp-wholesale:hover { background: var(--brand); color: #fff; }
.pdp-wholesale:hover b, .pdp-wholesale:hover > .icon:first-child { color: #fff; }

/* ---------- Chat widget (Theme Settings > Chat) + back to top ---------- */
.chatw { position: fixed; right: 16px; bottom: calc(var(--bnav-h) + 14px + env(safe-area-inset-bottom)); z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
@media (min-width: 1024px) { .chatw { right: 24px; bottom: 24px; } }
.chatw__launcher { position: relative; display: grid; place-items: center; width: 58px; height: 58px; border: 0; border-radius: 50%; background: var(--accent); color: #fff; cursor: pointer; box-shadow: 0 10px 24px rgba(255, 106, 43, .38); transition: transform .2s; }
.chatw__launcher::before { content: ""; position: absolute; inset: -7px; border-radius: 50%; background: var(--accent); opacity: .18; animation: chatw-pulse 2.4s ease-out infinite; }
.chatw__launcher:hover { transform: scale(1.05); }
.chatw__launcher .icon { width: 26px; height: 26px; position: relative; }
.chatw__ic-close, .chatw.is-open .chatw__ic-open { display: none; }
.chatw.is-open .chatw__ic-close { display: block; }
.chatw.is-open .chatw__launcher::before { animation: none; opacity: 0; }
@keyframes chatw-pulse { 0% { transform: scale(.85); opacity: .35; } 70% { transform: scale(1.25); opacity: 0; } 100% { opacity: 0; } }
.chatw__top { display: grid; place-items: center; width: 42px; height: 42px; margin-right: 8px; border: 1px solid var(--line-2); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; box-shadow: 0 6px 16px rgba(18, 24, 38, .12); }
.chatw__top[hidden] { display: none; }
.chatw__up { transform: rotate(-90deg); }
.chatw__panel { width: min(340px, calc(100vw - 32px)); overflow: hidden; background: #fff; border-radius: 20px; box-shadow: 0 24px 60px rgba(18, 24, 38, .22); transform-origin: bottom right; animation: chatw-in .22s ease-out; }
.chatw__panel[hidden] { display: none; }
@keyframes chatw-in { from { opacity: 0; transform: translateY(10px) scale(.96); } }
.chatw__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--brand); color: #fff; }
.chatw__avatar { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; overflow: hidden; flex: none; color: var(--brand); }
.chatw__avatar img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.chatw__who { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.chatw__who b { font-size: 16px; }
.chatw__who small { font-size: 12.5px; opacity: .85; }
.chatw__close { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; cursor: pointer; }
.chatw__body { padding: 18px 16px; background: var(--bg); }
.chatw__bubble { padding: 12px 14px; border-radius: 4px 16px 16px 16px; background: #fff; box-shadow: 0 1px 2px rgba(18, 24, 38, .06); font-size: 14px; line-height: 1.6; color: var(--ink); }
.chatw__foot { padding: 14px 16px 18px; text-align: center; border-top: 1px solid var(--line-2); }
.chatw__foot p { margin: 0 0 12px; color: var(--muted); font-size: 13px; }
.chatw__btns { display: flex; justify-content: center; gap: 14px; }
.chatw__btn { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; color: #fff; transition: transform .15s, box-shadow .15s; }
.chatw__btn:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 8px 18px rgba(18, 24, 38, .2); }
.chatw__btn svg, .chatw__btn .icon { width: 24px; height: 24px; }
.chatw__btn--wa { background: #25D366; }
.chatw__btn--call { background: #0EA5E9; }
.chatw__btn--msg { background: linear-gradient(135deg, #0A7CFF, #A033FF); }
/* keep toasts clear of the launcher on wide screens */
@media (min-width: 1024px) { .toasts { right: 100px; } }

/* ---------- Offer page v2: hero with big countdown, link chips, product sections ---------- */
.offer-v { padding-top: 18px; padding-bottom: 48px; }
.offer-hero { margin-top: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-xl, 22px); box-shadow: var(--shadow-sm, 0 1px 2px rgba(18,24,38,.05)); }
.offer-hero__img { display: block; width: 100%; max-height: 420px; object-fit: cover; }
.offer-hero__body { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 26px 22px 24px; text-align: center; }
.offer-hero__eyebrow { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: 999px; background: #FFF1E8; color: var(--accent); font-size: 13px; font-weight: 800; }
.offer-hero__eyebrow.is-upcoming { background: #EEF0FF; color: #4338CA; }
.offer-hero__eyebrow.is-ended { background: var(--surface); color: var(--muted); }
.offer-hero h1 { margin: 0; font-size: clamp(22px, 3vw, 32px); line-height: 1.25; }
.offer-hero__lead { max-width: 760px; margin: 0; font-size: 16px; color: var(--ink-2); }
.offer-hero__dates { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: var(--muted); font-size: 13.5px; }
.offer-hero__dates b { color: var(--ink); font-weight: 600; }
.cdbig { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 18px 14px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--bg); }
.cdbig__label { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--muted); }
.cdbig__units { display: flex; gap: 10px; }
.cdbig__unit { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 56px; }
.cdbig__unit b { min-width: 52px; padding: 6px 8px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 26px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.cdbig__unit small { font-size: 12px; color: var(--muted); }
.cdbig.is-over .cdbig__unit b { background: var(--muted); }
.offer-hero__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.offer-chip { padding: 8px 16px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; transition: border-color .15s, color .15s; }
.offer-chip:hover { border-color: var(--brand); color: var(--brand); }
.offer-hero__share { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; padding-top: 6px; }
.offer-hero__sharelbl { margin-left: 6px; color: var(--muted); font-size: 13px; }
.offer-hero__si { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--surface); color: var(--ink); }
.offer-sec { margin-top: 36px; }
.offer-sec__head { position: relative; margin-bottom: 18px; text-align: center; }
.offer-sec__head h2 { margin: 0; font-size: 22px; }
.offer-sec__head p { margin: 6px 0 0; color: var(--muted); }
.offer-sec__all { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 14px; }
.offer-terms { max-width: 900px; margin: 0 auto; }
@media (max-width: 639px) {
  .cdbig__unit { min-width: 0; } .cdbig__unit b { min-width: 44px; font-size: 21px; }
  .offer-sec__all { position: static; transform: none; margin-top: 6px; }
}
.offer-hero__dates { flex-wrap: wrap; justify-content: center; gap: 6px 16px; }
.offer-hero__dates span { white-space: nowrap; }
.offer-sec__grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
@media (min-width: 1024px) { .offer-sec__grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); } }
@media (max-width: 639px) { .offer-sec__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .offer-hero__sharelbl { display: none; } }

/* ---------- Blog ---------- */
.blog-page { padding-top: 24px; padding-bottom: 48px; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.blog-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg, 18px); transition: box-shadow .2s, transform .2s; }
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
@media (min-width: 900px) { .blog-card--lead { grid-column: span 2; flex-direction: row; } .blog-card--lead .blog-card__media { flex: 1.2; aspect-ratio: auto; min-height: 280px; } .blog-card--lead .blog-card__body { flex: 1; justify-content: center; } .blog-card--lead h2 { font-size: 24px; } }
.blog-card__media { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--surface); }
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__ph { display: grid; place-items: center; height: 100%; color: var(--brand); }
.blog-card__ph .icon { width: 44px; height: 44px; }
.blog-card__play { position: absolute; inset: 0; margin: auto; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--brand); box-shadow: 0 8px 22px rgba(0,0,0,.25); }
.blog-card__play .icon { fill: currentColor; margin-left: 3px; }
.blog-card__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; flex: 1; }
.blog-card__date { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 12.5px; }
.blog-card__body h2 { margin: 0; font-size: 18px; line-height: 1.35; }
.blog-card__body h2 a { color: var(--ink); }
.blog-card__body p { margin: 0; color: var(--ink-2); font-size: 14px; }
.blog-card__more { display: inline-flex; align-items: center; gap: 4px; margin-top: auto; padding-top: 4px; font-weight: 700; font-size: 14px; }
.pagination-wrap { margin-top: 28px; display: flex; justify-content: center; }
.article-page { max-width: 860px; padding: 18px 16px 48px; }
.article { margin-top: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-xl, 22px); }
.article__head { padding: 26px 26px 14px; }
.article__head h1 { margin: 0 0 10px; font-size: clamp(24px, 3.2vw, 34px); line-height: 1.25; }
.article__meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: 13.5px; }
.article__meta span { display: inline-flex; align-items: center; gap: 5px; }
.article__media img { display: block; width: 100%; }
.article__media--video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.article__media--video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.article__body { padding: 22px 26px 8px; font-size: 16px; line-height: 1.8; }
.article__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 16px 26px 22px; border-top: 1px solid var(--line-2); color: var(--muted); font-size: 13.5px; }
.article__si { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--surface); color: var(--ink); }
.article__back { margin-left: auto; }
.article__comments, .article__cta { margin-top: 20px; }
.article__comment { padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.article__comment small { color: var(--muted); }
.article__comment p { margin: 4px 0 0; }
@media (max-width: 639px) { .article__head, .article__body, .article__foot { padding-left: 16px; padding-right: 16px; } }

/* Information pages: summary box, FAQ accordion, policy links */
.bd-prose .info-summary { background: var(--bg); border: 1px solid var(--line-2); border-left: 4px solid var(--brand); border-radius: var(--r-md); padding: 14px 18px; margin: 0 0 20px; }
.bd-prose .info-summary p { margin: 0 0 6px; color: var(--ink); }
.bd-prose .info-summary ul { margin: 0; }
.bd-prose h2 { font-size: 19px; padding-top: 6px; }
.bd-prose .faq-item { border: 1px solid var(--line-2); border-radius: var(--r-md); margin: 0 0 10px; background: #fff; }
.bd-prose .faq-item summary { cursor: pointer; padding: 13px 16px; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.bd-prose .faq-item summary::-webkit-details-marker { display: none; }
.bd-prose .faq-item summary::after { content: '+'; font-weight: 700; color: var(--brand); }
.bd-prose .faq-item[open] summary::after { content: '−'; }
.bd-prose .faq-item p { margin: 0; padding: 0 16px 14px; }
.info-links { margin-top: 16px; padding: 16px 18px; }
.info-links strong { display: block; margin-bottom: 8px; color: var(--ink); }
.info-links a { display: block; padding: 6px 0; color: var(--ink-2); border-bottom: 1px solid var(--line-2); font-size: 14px; }
.info-links a:last-child { border-bottom: 0; }
.info-links a:hover, .info-links a[aria-current] { color: var(--brand); }
.bd-prose .info-lead { font-size: 17px; color: var(--ink); }
.bd-prose .info-cards { display: grid; gap: 12px; margin: 4px 0 18px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.bd-prose .info-card { border: 1px solid var(--line-2); border-top: 3px solid var(--brand); border-radius: var(--r-md); padding: 14px 16px; background: #fff; }
.bd-prose .info-card strong { display: block; color: var(--ink); margin-bottom: 4px; }
.bd-prose .info-card p { margin: 0; font-size: 14px; }

/* Brands page */
.brand-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.brand-card { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 14px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg, 14px); text-align: center; transition: border-color .15s, box-shadow .15s; }
.brand-card:hover { border-color: var(--brand); box-shadow: 0 6px 18px rgba(0,0,0,.06); }
.brand-card__logo { height: 64px; display: flex; align-items: center; justify-content: center; }
.brand-card__logo img { max-height: 64px; max-width: 140px; object-fit: contain; }
.brand-card__logo b { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--brand); font-size: 20px; }
.brand-card__name { font-weight: 600; color: var(--ink); }
.brand-card__n { font-size: 13px; color: var(--muted); }
