/* MAPPLE IT SOLUTIONS — storefront */
:root {
  --brand: #0b5cff;
  --brand-dark: #0b3d91;
  --brand-ink: #0a1f44;
  --accent: #ff7a1a;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e6ebf2;
  --soft: #f5f8fc;
  --card: #ffffff;
  --ok: #16a34a;
  --danger: #e11d48;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
  --shadow-lg: 0 18px 40px rgba(15, 23, 42, .12);
  --bs-primary: #0b5cff;
  --bs-primary-rgb: 11, 92, 255;
  --bs-body-font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --bs-body-color: #0f172a;
  --bs-link-color: #0b5cff;
  --bs-link-color-rgb: 11, 92, 255;
}
body { font-family: var(--bs-body-font-family); color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; }
img { max-width: 100%; }
.btn { border-radius: 10px; font-weight: 600; }
.btn-primary { --bs-btn-bg: var(--brand); --bs-btn-border-color: var(--brand); --bs-btn-hover-bg: #0047d6; --bs-btn-hover-border-color: #0047d6; --bs-btn-active-bg: #003fc0; --bs-btn-disabled-bg: #7aa3ff; --bs-btn-disabled-border-color: #7aa3ff; }
.btn-outline-primary { --bs-btn-color: var(--brand); --bs-btn-border-color: var(--brand); --bs-btn-hover-bg: var(--brand); --bs-btn-hover-border-color: var(--brand); --bs-btn-active-bg: var(--brand); }
.btn-warning { --bs-btn-bg: var(--accent); --bs-btn-border-color: var(--accent); --bs-btn-color: #fff; --bs-btn-hover-bg: #f06a0a; --bs-btn-hover-border-color: #f06a0a; --bs-btn-hover-color: #fff; --bs-btn-active-bg: #e05f05; --bs-btn-active-color: #fff; }
.form-control, .form-select { border-radius: 10px; border-color: #d8e0ea; }
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 .2rem rgba(11, 92, 255, .12); }
.text-primary { color: var(--brand) !important; }
.bg-soft { background: var(--soft); }

/* ---------- header */
.announce { background: var(--brand-ink); color: #cfe0ff; font-size: .8rem; text-align: center; padding: 6px 0; }
.site-header { background: #fff; box-shadow: 0 1px 0 var(--line); z-index: 1030; }
.header-main { display: flex; align-items: center; gap: 18px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); flex-shrink: 0; }
.brand-mark { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; font-weight: 800; font-size: 1.25rem; box-shadow: 0 6px 14px rgba(11, 92, 255, .35); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-size: 1.2rem; letter-spacing: .04em; }
.brand-text small { font-size: .62rem; letter-spacing: .22em; color: var(--muted); font-weight: 700; margin-top: 3px; }
.brand-light { color: #fff; }
.brand-light small { color: #9fb6e0; }
.header-search { flex: 1; position: relative; display: flex; align-items: center; background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 4px 4px 4px 14px; max-width: 680px; }
.header-search > i { color: var(--muted); }
.header-search input { border: 0; background: transparent; flex: 1; padding: 8px 10px; outline: none; min-width: 0; }
.header-search .btn { padding: 7px 18px; }
.header-search:focus-within { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 .2rem rgba(11, 92, 255, .1); }
.search-dropdown { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 8px; z-index: 50; max-height: 70vh; overflow: auto; }
.sd-title { font-size: .7rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; padding: 8px 8px 4px; }
.sd-item { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 8px; color: var(--ink); }
.sd-item:hover, .sd-item.active { background: var(--soft); }
.sd-item img { width: 42px; height: 42px; object-fit: cover; border-radius: 8px; }
.sd-item .sd-price { margin-left: auto; font-weight: 700; color: var(--brand); white-space: nowrap; }
.sd-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 8px 8px; }
.header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.header-actions .action { position: relative; display: flex; align-items: center; gap: 6px; color: var(--ink); padding: 8px 10px; border-radius: 10px; font-weight: 600; font-size: .9rem; }
.header-actions .action:hover { background: var(--soft); color: var(--brand); }
.header-actions .action i { font-size: 1.3rem; }
.badge-count { position: absolute; top: 2px; left: 24px; background: var(--accent); color: #fff; border-radius: 999px; font-size: .65rem; font-weight: 700; padding: 1px 6px; min-width: 18px; text-align: center; }
.btn-icon { font-size: 1.6rem; padding: 0 6px; border: 0; }
.header-nav { border-top: 1px solid var(--line); }
.btn-cat { background: var(--brand); color: #fff; border-radius: 0; padding: 11px 18px; }
.btn-cat:hover, .btn-cat.show { background: var(--brand-dark); color: #fff; }
.main-nav { gap: 2px; margin-left: 10px; }
.main-nav a { display: block; padding: 11px 12px; color: var(--ink); font-weight: 600; font-size: .9rem; }
.main-nav a:hover { color: var(--brand); }
.nav-phone { color: var(--brand-dark); font-weight: 700; font-size: .9rem; }
.mega { position: static; }
.mega-menu { width: min(1100px, 96vw); padding: 24px; border: 0; border-radius: 0 0 16px 16px; box-shadow: var(--shadow-lg); margin-top: 0 !important; }
.mega-title { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.mega-title i { color: var(--brand); }
.mega-link { display: block; color: var(--muted); font-size: .9rem; padding: 3px 0 3px 26px; }
.mega-link:hover { color: var(--brand); }
.preview-bar { background: #fff4e5; color: #92400e; text-align: center; padding: 8px; font-size: .9rem; font-weight: 600; }

/* ---------- hero */
.hero { position: relative; }
.hero .carousel-item { height: clamp(320px, 38vw, 540px); background: var(--brand-ink); }
.hero .carousel-item img { width: 100%; height: 100%; object-fit: cover; }
.hero-caption { position: absolute; inset: 0; display: flex; align-items: center; background: linear-gradient(90deg, rgba(5, 15, 40, .55), rgba(5, 15, 40, .05) 65%); }
.hero-text { max-width: 560px; color: #fff; }
.hero-text h1 { font-size: clamp(1.7rem, 3.6vw, 3.2rem); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; margin-bottom: 14px; }
.hero-text p { font-size: clamp(.95rem, 1.3vw, 1.15rem); opacity: .9; margin-bottom: 22px; }
.hero .carousel-indicators [data-bs-target] { width: 26px; height: 4px; border-radius: 4px; }

/* ---------- sections */
.home-section { padding: 48px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-head h2 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); font-weight: 800; letter-spacing: -.02em; margin: 0; }
.section-head p { color: var(--muted); margin: 4px 0 0; }
.section-link { font-weight: 700; white-space: nowrap; }
.benefit { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: var(--radius); background: var(--soft); height: 100%; }
.benefit i { font-size: 1.7rem; color: var(--brand); }
.benefit h3 { font-size: .95rem; font-weight: 700; margin: 0; }
.benefit p { font-size: .8rem; color: var(--muted); margin: 0; }
.why-card { background: #fff; border-radius: var(--radius); padding: 24px; height: 100%; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.why-card i { font-size: 1.8rem; color: var(--accent); }
.why-card h3 { font-size: 1.05rem; font-weight: 700; margin: 0; }
.why-card p { color: var(--muted); margin: 0; font-size: .9rem; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 16px; }
.cat-tile { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--ink); text-align: center; }
.ct-img { position: relative; width: 100%; aspect-ratio: 1; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); transition: transform .25s; }
.ct-img img { width: 100%; height: 100%; object-fit: cover; }
.ct-img i { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.6rem; color: #fff; text-shadow: 0 4px 16px rgba(0, 0, 0, .25); }
.cat-tile:hover .ct-img { transform: translateY(-4px); }
.ct-name { font-weight: 700; font-size: .9rem; }

/* ---------- product cards */
.product-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s, border-color .25s; }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.pc-media { position: relative; background: var(--soft); }
.pc-img { display: block; aspect-ratio: 1; overflow: hidden; }
.pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .pc-img img { transform: scale(1.05); }
.pc-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.pc-badge { font-size: .7rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; color: #fff; }
.pc-badge.sale { background: var(--danger); }
.pc-badge.sale.big { position: absolute; top: 14px; left: 14px; font-size: .85rem; }
.pc-badge.new { background: var(--ok); }
.pc-badge.flash { background: var(--accent); }
.pc-badge.svc { background: #7c3aed; }
.pc-wish { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--shadow); color: var(--ink); display: grid; place-items: center; transition: transform .2s; }
.pc-wish:hover { transform: scale(1.1); }
.pc-wish.active, .pc-wish-lg.active { color: var(--danger); }
.pc-quick { position: absolute; left: 50%; bottom: 10px; transform: translate(-50%, 10px); opacity: 0; border: 0; background: rgba(15, 23, 42, .85); color: #fff; font-size: .78rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; transition: .25s; white-space: nowrap; }
.product-card:hover .pc-quick { opacity: 1; transform: translate(-50%, 0); }
.pc-body { padding: 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pc-brand { font-size: .7rem; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .08em; }
.pc-title { color: var(--ink); font-weight: 600; font-size: .92rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.pc-title:hover { color: var(--brand); }
.pc-rating { min-height: 18px; font-size: .75rem; color: var(--muted); display: flex; gap: 4px; align-items: center; }
.stars { color: #f59e0b; letter-spacing: 1px; }
.stars-sm { font-size: .72rem; }
.pc-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pc-price strong { font-size: 1.08rem; font-weight: 800; }
.pc-price del { color: var(--muted); font-size: .82rem; }
.pc-stockbar { height: 6px; background: #fde7d6; border-radius: 6px; overflow: hidden; margin-top: 4px; }
.pc-stockbar div { height: 100%; background: linear-gradient(90deg, var(--accent), var(--danger)); }
.pc-stocktext { font-size: .72rem; color: var(--muted); font-weight: 600; }
.pc-actions { margin-top: auto; padding-top: 10px; }

.hscroll-wrap { position: relative; }
.hscroll { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px; scrollbar-width: none; }
.hscroll::-webkit-scrollbar { display: none; }
.hs-item { flex: 0 0 calc((100% - 48px) / 4); scroll-snap-align: start; }
.hs-item.wide { flex-basis: calc((100% - 32px) / 3); }
.hs-btn { position: absolute; top: 40%; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; }
.hs-btn.prev { left: -16px; } .hs-btn.next { right: -16px; }
@media (max-width: 991px) { .hs-item { flex-basis: calc((100% - 16px) / 2.3); } .hs-item.wide { flex-basis: 85%; } .hs-btn { display: none; } }

/* flash / deal */
.flash-box { background: linear-gradient(135deg, #ff7a1a, #e11d48); border-radius: 20px; padding: 24px; color: #fff; }
.flash-box .product-card { color: var(--ink); }
.flash-head { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; justify-content: space-between; margin-bottom: 20px; }
.flash-head h2 { font-weight: 800; margin: 0; font-size: 1.6rem; }
.flash-head p { margin: 0; opacity: .9; }
.countdown { display: flex; gap: 8px; }
.countdown span { background: rgba(255, 255, 255, .18); border-radius: 10px; padding: 6px 10px; text-align: center; font-size: .65rem; text-transform: uppercase; letter-spacing: .06em; min-width: 56px; }
.countdown b { display: block; font-size: 1.3rem; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.countdown.dark span { background: var(--brand-ink); color: #fff; }
.countdown.inline { display: inline; }
.countdown.inline b { display: inline; font-size: inherit; }
.deal-box { background: linear-gradient(135deg, #eef4ff, #fff); border: 1px solid #dbe6ff; border-radius: 24px; padding: 28px; }
.deal-img { display: block; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); }
.deal-tag { display: inline-flex; gap: 6px; align-items: center; background: #ffe9d9; color: #c2410c; font-weight: 700; font-size: .8rem; padding: 5px 12px; border-radius: 999px; }
.deal-tag.light { background: rgba(255, 255, 255, .15); color: #fff; }
.deal-box h2 { font-weight: 800; margin: 12px 0 8px; font-size: clamp(1.3rem, 2.4vw, 2rem); }
.deal-box h2 a { color: var(--ink); }
.deal-price { display: flex; gap: 12px; align-items: baseline; margin-bottom: 16px; }
.deal-price strong { font-size: 2rem; font-weight: 800; color: var(--brand); }
.deal-price del { color: var(--muted); }

.services-band { background: var(--brand-ink); }
.services-band .section-head h2 { color: #fff; }
.services-band .section-head p { color: #a9bde3; }
.services-band .section-link { color: #ffb37a; }
.service-card { display: flex; flex-direction: column; gap: 8px; height: 100%; background: #fff; border-radius: var(--radius); padding: 22px; color: var(--ink); border: 2px solid transparent; transition: .25s; cursor: pointer; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card.selectable { border-color: var(--line); }
.service-card.active { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(11, 92, 255, .1); }
.sc-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: #eef4ff; color: var(--brand); font-size: 1.4rem; }
.service-card h3 { font-size: 1.02rem; font-weight: 700; margin: 4px 0 0; }
.service-card p { color: var(--muted); font-size: .88rem; margin: 0; }
.sc-link { margin-top: auto; color: var(--brand); font-weight: 700; font-size: .88rem; }
.promo-banner { display: flex; align-items: center; min-height: 240px; border-radius: 24px; background-size: cover; background-position: center; padding: 40px; color: #fff; margin-bottom: 16px; }
.pb-text { max-width: 520px; }
.pb-text h2 { font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 2.2rem); }
.offer-banner { display: flex; align-items: center; min-height: 170px; border-radius: 18px; background-size: cover; background-position: center; color: #fff; padding: 26px; }
.offer-banner h3 { font-weight: 800; margin: 0; }
.offer-banner p { opacity: .9; margin: 4px 0 12px; }
.coupon-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-bottom: 22px; }
.coupon { display: flex; align-items: center; gap: 12px; border: 2px dashed #c7d6ff; border-radius: 14px; padding: 12px 14px; background: #f7faff; }
.cp-code { font-weight: 800; color: var(--brand); letter-spacing: .06em; }
.cp-desc { flex: 1; font-size: .82rem; color: var(--muted); }
.topcat { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: var(--radius); border: 1px solid var(--line); color: var(--ink); background: #fff; height: 100%; }
.topcat img { border-radius: 10px; aspect-ratio: 1; object-fit: cover; }
.topcat small { color: var(--muted); }
.tc-rank { position: absolute; top: 18px; left: 18px; background: var(--ink); color: #fff; font-size: .72rem; font-weight: 800; padding: 2px 8px; border-radius: 6px; }
.brand-row { display: flex; flex-wrap: wrap; gap: 12px; }
.brand-chip { flex: 1 1 140px; display: grid; place-items: center; height: 72px; border: 1px solid var(--line); border-radius: 14px; font-weight: 800; color: #334155; font-size: 1.05rem; letter-spacing: .02em; transition: .2s; background: #fff; }
.brand-chip:hover { border-color: var(--brand); color: var(--brand); box-shadow: var(--shadow); }
.brand-chip img { max-height: 40px; max-width: 70%; }
.testimonial { background: #fff; border-radius: var(--radius); padding: 22px; height: 100%; box-shadow: var(--shadow); margin: 0; }
.testimonial blockquote { margin: 12px 0 16px; font-size: .95rem; }
.testimonial figcaption { display: flex; gap: 10px; align-items: center; }
.testimonial figcaption small { display: block; color: var(--muted); }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), #7c3aed); color: #fff; display: grid; place-items: center; font-weight: 700; flex-shrink: 0; }
.avatar.lg { width: 52px; height: 52px; font-size: 1.3rem; }
.mini-product { display: flex; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: #fff; }
.mini-product img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.mini-product div { display: flex; flex-direction: column; gap: 2px; font-size: .88rem; }
.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.insta { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; }
.insta img { width: 100%; height: 100%; object-fit: cover; }
.insta i { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 1.8rem; background: rgba(0, 0, 0, .35); opacity: 0; transition: .2s; }
.insta:hover i { opacity: 1; }
@media (max-width: 767px) { .insta-grid { grid-template-columns: repeat(3, 1fr); } }
.newsletter-box { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; background: linear-gradient(135deg, var(--brand-dark), var(--brand)); color: #fff; border-radius: 24px; padding: 36px; }
.newsletter-box h2 { font-weight: 800; margin: 0; }
.newsletter-box p { margin: 6px 0 0; opacity: .85; }
.newsletter-form { display: flex; gap: 8px; flex: 1; max-width: 480px; }

/* ---------- listing */
.cat-banner { background-size: cover; background-position: center; color: #fff; padding: 56px 0; }
.cat-banner h1 { font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.cat-banner p { max-width: 620px; opacity: .9; margin: 0; }
.crumbs .breadcrumb { font-size: .82rem; margin-bottom: 12px; }
.crumbs a { color: var(--muted); }
.listing-head { margin-bottom: 20px; }
.listing-head h1 { font-weight: 800; font-size: clamp(1.4rem, 2.5vw, 2rem); margin-bottom: 4px; }
.subcat-nav { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 20px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); background: #fff; font-size: .85rem; font-weight: 600; white-space: nowrap; }
.chip:hover, .chip.active { border-color: var(--brand); color: var(--brand); background: #f2f6ff; }
.chip-sm { padding: 3px 10px; font-size: .75rem; }
.filters { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; position: sticky; top: 140px; }
.filter-block { border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 14px; }
.filter-block h6 { font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.filter-link { display: block; color: var(--muted); font-size: .9rem; padding: 3px 0; }
.filter-link:hover { color: var(--brand); }
.filter-scroll { max-height: 200px; overflow: auto; }
.price-presets { display: flex; flex-wrap: wrap; gap: 6px; }
.listing-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; gap: 10px; }
.listing-toolbar .form-select { width: auto; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state > i { font-size: 3rem; color: #c5d0e0; display: block; margin-bottom: 10px; }
.pagination .page-link { border-radius: 8px !important; margin: 0 3px; border: 1px solid var(--line); color: var(--ink); }
.pagination .active .page-link { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- product page */
.gallery-main { position: relative; border-radius: 20px; overflow: hidden; background: var(--soft); aspect-ratio: 1; cursor: zoom-in; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease-out; }
.gallery-main.zooming img { transform: scale(2); }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumb { width: 76px; height: 76px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--soft); }
.thumb.active { border-color: var(--brand); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-title { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 800; letter-spacing: -.02em; margin: 6px 0 10px; }
.pd-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: .88rem; margin-bottom: 14px; }
.pd-price { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.pd-price strong { font-size: 2rem; font-weight: 800; }
.pd-price del { color: var(--muted); font-size: 1.05rem; }
.pd-flash { background: #fff1e7; color: #c2410c; border-radius: 10px; padding: 10px 14px; font-weight: 600; font-size: .9rem; margin: 10px 0; }
.pd-short { color: #475569; }
.variant-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.vopt { border: 1.5px solid #d8e0ea; background: #fff; border-radius: 10px; padding: 8px 14px; font-weight: 600; font-size: .88rem; }
.vopt.active { border-color: var(--brand); background: #f2f6ff; color: var(--brand); }
.vopt.disabled { opacity: .4; text-decoration: line-through; }
.pd-stock { margin: 12px 0; font-weight: 600; font-size: .92rem; }
.pd-buy { display: flex; gap: 10px; flex-wrap: wrap; }
.qty-box { display: inline-flex; align-items: center; border: 1.5px solid #d8e0ea; border-radius: 12px; overflow: hidden; height: 48px; }
.qty-box button { width: 40px; height: 100%; border: 0; background: var(--soft); font-size: 1.2rem; }
.qty-box input { width: 50px; border: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; height: 100%; }
.qty-box input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-box.sm { height: 38px; }
.qty-box.sm button { width: 32px; }
.qty-box.sm input { width: 40px; }
.pincode-check { background: var(--soft); border-radius: 12px; padding: 14px; margin-top: 18px; max-width: 420px; }
.pd-assure { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: .86rem; color: #475569; }
.pd-assure i { color: var(--brand); margin-right: 6px; }
.pd-tabs .nav-tabs { border-bottom: 2px solid var(--line); gap: 6px; }
.pd-tabs .nav-link { border: 0; color: var(--muted); font-weight: 700; padding: 12px 16px; }
.pd-tabs .nav-link.active { color: var(--brand); border-bottom: 3px solid var(--brand); background: transparent; }
.pd-tabs .tab-content { padding: 24px 0; }
.spec-table th { width: 35%; background: var(--soft); font-weight: 600; }
.rich { line-height: 1.75; color: #334155; }
.rich h2, .rich h3 { color: var(--ink); font-weight: 800; margin-top: 1.2em; }
.rating-summary { background: var(--soft); border-radius: 14px; padding: 20px; text-align: center; }
.rating-summary .big { font-size: 3rem; font-weight: 800; line-height: 1; }
.rbar { display: flex; align-items: center; gap: 8px; font-size: .8rem; margin-top: 6px; }
.rbar div { flex: 1; height: 7px; background: #e2e8f0; border-radius: 6px; overflow: hidden; }
.rbar i { display: block; height: 100%; background: #f59e0b; }
.review { border-bottom: 1px solid var(--line); padding: 16px 0; }
.review-img { width: 70px; height: 70px; border-radius: 8px; object-fit: cover; }
.star-input { display: inline-flex; flex-direction: row-reverse; }
.star-input input { display: none; }
.star-input label { font-size: 1.4rem; color: #cbd5e1; cursor: pointer; padding: 0 2px; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: #f59e0b; }
.fbt-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: var(--soft); border-radius: 18px; padding: 18px; }
.fbt-item { display: flex; flex-direction: column; gap: 4px; width: 160px; font-size: .82rem; background: #fff; border-radius: 12px; padding: 10px; position: relative; cursor: pointer; }
.fbt-item img { border-radius: 8px; aspect-ratio: 1; object-fit: cover; }
.fbt-item input { position: absolute; top: 14px; left: 14px; }
.fbt-plus { font-size: 1.6rem; color: var(--muted); }
.fbt-total { margin-left: auto; display: flex; flex-direction: column; gap: 6px; }
.fbt-total strong { font-size: 1.5rem; }

/* ---------- cart / checkout */
.cart-line { display: grid; grid-template-columns: 88px 1fr auto auto auto; gap: 16px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; background: #fff; }
.cl-img img { width: 88px; height: 88px; border-radius: 12px; object-fit: cover; }
.cl-name { color: var(--ink); font-weight: 700; }
.cl-price { text-align: right; display: flex; flex-direction: column; }
.cl-price del { color: var(--muted); font-size: .8rem; }
.cl-remove { border: 0; background: none; color: var(--muted); font-size: 1.1rem; }
.cl-remove:hover { color: var(--danger); }
@media (max-width: 767px) { .cart-line { grid-template-columns: 70px 1fr; } .cl-img img { width: 70px; height: 70px; } .cl-qty, .cl-price { grid-column: 2; } .cl-price { text-align: left; } .cl-remove { position: absolute; right: 24px; } .cart-line { position: relative; } }
.summary-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); }
.summary-card h5 { font-weight: 800; margin-bottom: 16px; }
.totals { margin: 16px 0 0; }
.totals > div { display: flex; justify-content: space-between; padding: 6px 0; font-size: .92rem; }
.totals dt { font-weight: 500; }
.totals dd { margin: 0; font-weight: 600; }
.totals .grand { border-top: 1px dashed #cbd5e1; margin-top: 8px; padding-top: 12px; font-size: 1.15rem; }
.totals .grand dd, .totals .grand dt { font-weight: 800; }
.savings { background: #ecfdf3; color: #15803d; border-radius: 10px; padding: 8px 12px; font-weight: 700; font-size: .85rem; margin-top: 10px; }
.secure-note { font-size: .78rem; color: var(--muted); text-align: center; margin-top: 12px; }
.applied-coupon { display: flex; justify-content: space-between; align-items: center; background: #ecfdf3; border: 1px dashed #86efac; border-radius: 10px; padding: 8px 12px; color: #15803d; }
.ship-progress { background: #f2f6ff; border-radius: 12px; padding: 12px 16px; font-size: .9rem; }
.ship-progress .bar { height: 6px; background: #dbe6ff; border-radius: 6px; margin-top: 8px; overflow: hidden; }
.ship-progress .bar div { height: 100%; background: var(--brand); transition: width .4s; }
.checkout-steps { display: flex; gap: 6px; margin-bottom: 24px; counter-reset: s; }
.checkout-steps span { flex: 1; text-align: center; font-size: .8rem; font-weight: 700; color: var(--muted); padding-top: 10px; border-top: 4px solid var(--line); }
.checkout-steps .done { border-color: #86efac; color: var(--ok); }
.checkout-steps .active { border-color: var(--brand); color: var(--brand); }
.co-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; margin-bottom: 16px; }
.co-card h5 { font-weight: 800; display: flex; gap: 10px; align-items: center; margin-bottom: 16px; }
.co-card .num { width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: .85rem; }
.addr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.addr-opt, .pay-opt { display: flex; gap: 10px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; margin-bottom: 8px; }
.addr-opt:has(input:checked), .pay-opt:has(input:checked) { border-color: var(--brand); background: #f7faff; }
.addr-opt small, .pay-opt small { display: block; color: var(--muted); font-size: .8rem; }
.addr-opt input, .pay-opt input { margin-top: 4px; }
.co-items { max-height: 300px; overflow: auto; }
.co-item { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-size: .88rem; border-bottom: 1px solid var(--line); }
.co-item > div { flex: 1; }
.ci-img { position: relative; flex-shrink: 0; }
.ci-img img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.ci-img b { position: absolute; top: -6px; right: -6px; background: var(--ink); color: #fff; font-size: .7rem; border-radius: 999px; padding: 1px 7px; }
.success-hero { text-align: center; margin-bottom: 24px; }
.success-hero .tick { width: 76px; height: 76px; border-radius: 50%; background: #dcfce7; color: var(--ok); display: grid; place-items: center; font-size: 2.6rem; margin: 0 auto 14px; animation: pop .4s ease-out; }
.success-hero h1 { font-weight: 800; font-size: 1.8rem; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* track */
.track-steps { display: flex; justify-content: space-between; position: relative; margin: 10px 0; }
.track-steps::before { content: ''; position: absolute; top: 14px; left: 8%; right: 8%; height: 3px; background: var(--line); }
.ts { position: relative; text-align: center; flex: 1; font-size: .8rem; }
.ts .dot { width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 3px solid var(--line); display: grid; place-items: center; margin: 0 auto 6px; color: transparent; position: relative; }
.ts.done .dot { background: var(--ok); border-color: var(--ok); color: #fff; }
.ts small { display: block; color: var(--muted); }
.ship-info { background: var(--soft); border-radius: 10px; padding: 10px 14px; font-size: .9rem; }
.activity { list-style: none; padding: 0; margin: 0; font-size: .85rem; }
.activity li { border-left: 2px solid var(--line); padding: 0 0 12px 14px; position: relative; }
.activity li::before { content: ''; position: absolute; left: -6px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.activity small { display: block; color: var(--muted); }

/* account */
.account-nav { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 10px; }
.an-user { display: flex; gap: 12px; align-items: center; padding: 12px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.an-user small { display: block; color: var(--muted); font-size: .78rem; word-break: break-all; }
.account-nav a { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: .92rem; }
.account-nav a:hover, .account-nav a.active { background: #f2f6ff; color: var(--brand); }
.stat-tile { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.stat-tile i { font-size: 1.6rem; color: var(--brand); background: #eef4ff; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; }
.stat-tile strong { display: block; font-size: 1.3rem; }
.stat-tile span { color: var(--muted); font-size: .82rem; }
.addr-card { border: 1px solid var(--line); border-radius: 14px; padding: 16px; height: 100%; }
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; max-width: 960px; margin: 0 auto; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); }
.auth-side { background: linear-gradient(160deg, var(--brand-dark), var(--brand)); color: #fff; padding: 40px; align-items: center; }
.auth-side h2 { font-weight: 800; }
.auth-side ul { list-style: none; padding: 0; margin-top: 20px; }
.auth-side li { padding: 6px 0; }
.auth-card { background: #fff; padding: 40px; }
@media (max-width: 767px) { .auth-wrap { grid-template-columns: 1fr; } .auth-card { padding: 24px; } }

/* services / contact */
.svc-hero { background: linear-gradient(135deg, var(--brand-ink), var(--brand-dark)); color: #fff; padding: 56px 0; }
.svc-hero h1 { font-weight: 800; font-size: clamp(1.6rem, 3.2vw, 2.6rem); margin: 14px 0; }
.svc-hero p { opacity: .85; }
.steps-list { padding-left: 18px; font-size: .9rem; color: #475569; }
.steps-list li { margin-bottom: 8px; }
.contact-card { display: flex; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; }
.contact-card > i { font-size: 1.4rem; color: var(--brand); }
.contact-card p { margin: 0; color: #475569; }

/* badges */
.badge-soft-success { background: #dcfce7; color: #15803d; }
.badge-soft-warning { background: #fef3c7; color: #b45309; }
.badge-soft-info { background: #e0f2fe; color: #0369a1; }
.badge-soft-primary { background: #e0e7ff; color: #3730a3; }
.badge-soft-indigo { background: #ede9fe; color: #6d28d9; }
.badge-soft-danger { background: #ffe4e6; color: #be123c; }
.badge-soft-secondary { background: #f1f5f9; color: #475569; }
.badge-soft-dark { background: #e2e8f0; color: #0f172a; }
[class*="badge-soft-"] { font-weight: 700; }

/* footer */
.site-footer { background: #071735; color: #cbd5e1; padding: 56px 0 0; margin-top: 56px; }
.site-footer h6 { color: #fff; font-weight: 700; margin-bottom: 14px; }
.footer-links li { margin-bottom: 8px; }
.footer-links a, .footer-contact a { color: #9fb0cc; font-size: .9rem; }
.footer-links a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 8px; color: #9fb0cc; }
.social { display: flex; gap: 8px; }
.social a { width: 36px; height: 36px; border-radius: 10px; background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; }
.social a:hover { background: var(--brand); }
.pay-icons { display: flex; flex-wrap: wrap; gap: 6px; }
.pay-icons span { font-size: .68rem; font-weight: 800; background: #fff; color: var(--brand-ink); padding: 3px 7px; border-radius: 5px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 40px; padding: 18px 0; font-size: .8rem; color: #7d8fae; }
.wa-float { position: fixed; bottom: 20px; right: 20px; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.7rem; box-shadow: 0 10px 24px rgba(37, 211, 102, .4); z-index: 1040; }
.wa-float:hover { color: #fff; transform: scale(1.06); }
.toast { border: 0; box-shadow: var(--shadow-lg); border-radius: 12px; }

@media (max-width: 991px) {
  .header-main { flex-wrap: wrap; gap: 10px; }
  .header-search { order: 5; flex-basis: 100%; max-width: none; }
  .header-search .btn { display: none; }
  .home-section { padding: 32px 0; }
  .filters { position: static; }
}
@media (max-width: 575px) {
  .pc-body { padding: 10px; }
  .pc-price strong { font-size: .98rem; }
  .pd-assure { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .promo-banner { padding: 24px; min-height: 200px; }
  .countdown span { min-width: 46px; padding: 4px 6px; }
}
