/* ==========================================================================
   BeUnik online store – public catalog (mobile first).
   Look of the old BeUnik website (mango + charcoal, Outfit / Plus Jakarta Sans, glass header,
   dark hero, chip filters, condition chips on cards, "Condition Report"), with light + dark mode.
   ========================================================================== */
:root, [data-bs-theme=light] {
  --sh-mango: #FFB703; --sh-mango-400: #FFC837; --sh-mango-ink: #9A5B00; --sh-mango-50: #FFF8E1;
  --sh-ink: #111827; --sh-ink-2: #0B0F19; --sh-ink-3: #1F2937;
  --sh-bg: #F5F5F5; --sh-card: #FFFFFF; --sh-soft: #F3F4F6; --sh-line: #E5E7EB; --sh-line-2: #D1D5DB;
  --sh-text: #111827; --sh-text-2: #374151; --sh-muted: #6B7280;
  --sh-glass: rgba(255, 255, 255, .92); --sh-tile: rgba(255, 255, 255, .85);
  --sh-shadow: 0 1px 2px rgba(17, 24, 39, .05); --sh-shadow-lg: 0 16px 30px -10px rgba(17, 24, 39, .18);
  --t-ok-bg: #ECFDF5; --t-ok-fg: #047857; --t-ok-bd: #A7F3D0; --t-ok-solid: #10B981;
  --t-warn-bg: #FFFBEB; --t-warn-fg: #B45309; --t-warn-bd: #FDE68A; --t-warn-solid: #F59E0B;
  --t-brown-bg: #F6EFE9; --t-brown-fg: #6B4423; --t-brown-bd: #E3D2C3; --t-brown-solid: #8B5E3C;
  --t-bad-bg: #FFF1F2; --t-bad-fg: #BE123C; --t-bad-bd: #FECDD3; --t-bad-solid: #F43F5E;
  --t-blue-bg: #EFF6FF; --t-blue-fg: #1D4ED8; --t-blue-bd: #BFDBFE; --t-blue-solid: #3B82F6;
  --t-slate-bg: #F3F4F6; --t-slate-fg: #374151; --t-slate-bd: #E5E7EB; --t-slate-solid: #9CA3AF;
}
[data-bs-theme=dark] {
  --sh-mango-ink: #FFC837; --sh-mango-50: rgba(255, 183, 3, .1);
  --sh-bg: #0B0F19; --sh-card: #111827; --sh-soft: #1F2937; --sh-line: #1F2937; --sh-line-2: #374151;
  --sh-text: #F3F4F6; --sh-text-2: #D1D5DB; --sh-muted: #9CA3AF;
  --sh-glass: rgba(11, 15, 25, .92); --sh-tile: rgba(31, 41, 55, .55);
  --sh-shadow: none; --sh-shadow-lg: 0 16px 30px -10px rgba(0, 0, 0, .6);
  --t-ok-bg: rgba(6, 78, 59, .4); --t-ok-fg: #6EE7B7; --t-ok-bd: rgba(5, 150, 105, .45);
  --t-warn-bg: rgba(120, 53, 15, .4); --t-warn-fg: #FCD34D; --t-warn-bd: rgba(217, 119, 6, .45);
  --t-brown-bg: rgba(190, 130, 80, .16); --t-brown-fg: #E0BB98; --t-brown-bd: rgba(190, 130, 80, .42);
  --t-bad-bg: rgba(136, 19, 55, .4); --t-bad-fg: #FDA4AF; --t-bad-bd: rgba(225, 29, 72, .45);
  --t-blue-bg: rgba(30, 58, 138, .4); --t-blue-fg: #93C5FD; --t-blue-bd: rgba(37, 99, 235, .45);
  --t-slate-bg: #1F2937; --t-slate-fg: #D1D5DB; --t-slate-bd: #374151;
}
body.shop { background: var(--sh-bg); color: var(--sh-text); font-size: .95rem; font-family: "Plus Jakarta Sans", Inter, "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; overflow-x: hidden; }
body.shop h1, body.shop h2, body.shop h3, body.shop .font-head { font-family: Outfit, Inter, "Segoe UI", system-ui, sans-serif; }
.shop-wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.shop-main { min-height: 60vh; }
.shop a { text-underline-offset: 2px; }

/* tone helpers (chips, pills, tiles) */
.c-ok { background: var(--t-ok-bg); color: var(--t-ok-fg); border-color: var(--t-ok-bd) !important; }
.c-warn { background: var(--t-warn-bg); color: var(--t-warn-fg); border-color: var(--t-warn-bd) !important; }
.c-brown, .c-orange { background: var(--t-brown-bg); color: var(--t-brown-fg); border-color: var(--t-brown-bd) !important; } /* v126: BeUnik brown (there is no orange in the theme); .c-orange = the old name of the same tone */
.c-bad { background: var(--t-bad-bg); color: var(--t-bad-fg); border-color: var(--t-bad-bd) !important; }
.c-blue { background: var(--t-blue-bg); color: var(--t-blue-fg); border-color: var(--t-blue-bd) !important; }
.c-slate { background: var(--t-slate-bg); color: var(--t-slate-fg); border-color: var(--t-slate-bd) !important; }

/* marquee strip */
.shop-marquee { background: #E11D48; color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 6px 0; overflow: hidden; white-space: nowrap; }
.shop-marquee-track { display: inline-flex; gap: 48px; padding-left: 16px; animation: shopmarquee 34s linear infinite; }
.shop-marquee-track span { display: inline-flex; align-items: center; gap: 8px; }
.shop-marquee-track i { font-size: .45rem; opacity: .85; }
@keyframes shopmarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .shop-marquee-track { animation: none; } }

/* header */
.shop-top { position: sticky; top: 0; z-index: 1030; background: var(--sh-glass); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--sh-line); }
.shop-top-inner { display: flex; align-items: center; gap: 14px; height: 70px; }
.shop-logo { flex: 0 0 auto; }
.shop-logo img { height: 40px; width: auto; display: block; transition: transform .2s; }
.shop-logo:hover img { transform: scale(1.04); }
.logo-for-dark, [data-bs-theme=dark] .logo-for-light { display: none !important; }
[data-bs-theme=dark] .logo-for-dark { display: block !important; }
.shop-search { flex: 1; position: relative; max-width: 480px; margin: 0 auto; }
.shop-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--sh-muted); font-size: .85rem; }
.shop-search input { width: 100%; height: 42px; border-radius: 12px; border: 1px solid var(--sh-line); background: var(--sh-soft); color: var(--sh-text); padding: 0 14px 0 38px; font-size: .88rem; font-weight: 500; transition: background .15s, box-shadow .15s; }
.shop-search input:hover, .shop-search input:focus { background: var(--sh-card); }
.shop-search input::placeholder { color: var(--sh-muted); }
.shop-search input:focus { outline: none; border-color: var(--sh-mango); box-shadow: 0 0 0 3px rgba(255, 183, 3, .3); }
.shop-nav { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.shop-nav a, .shop-theme-btn { display: inline-flex; align-items: center; gap: 6px; color: var(--sh-text-2); text-decoration: none; padding: 8px 11px; border-radius: 12px; font-weight: 700; font-size: .84rem; border: 1px solid transparent; background: none; line-height: 1.2; }
.shop-nav a:hover, .shop-theme-btn:hover { background: var(--sh-soft); color: var(--sh-text); }
.shop-nav a.active { color: var(--sh-text); background: var(--sh-mango-50); }
.shop-nav a.active i { color: var(--sh-mango-ink); }
.shop-nav a.shop-wa-btn { background: var(--t-ok-bg); color: var(--t-ok-fg); border-color: var(--t-ok-bd); }
.shop-nav a.shop-call-btn { background: var(--sh-soft); color: var(--sh-text); border-color: var(--sh-line); }
.shop-nav a.shop-login-btn { background: var(--sh-mango); color: var(--sh-ink); }
.shop-nav a.shop-login-btn:hover { background: var(--sh-mango-400); color: var(--sh-ink); }
.shop-theme-btn { width: 38px; justify-content: center; padding: 8px 0; border-color: var(--sh-line); }
.theme-icon-light-off, [data-bs-theme=dark] .theme-icon-dark-off { display: none !important; }
[data-bs-theme=dark] .theme-icon-light-off { display: inline-block !important; color: var(--sh-mango); }
@media (max-width: 1099.98px) { .shop-nav a span { display: none; } .shop-nav a { padding: 9px 11px; } }
@media (max-width: 767.98px) {
  .shop-top-inner { flex-wrap: wrap; height: auto; padding-top: 8px; padding-bottom: 10px; row-gap: 8px; gap: 8px; }
  .shop-logo img { height: 30px; }
  .shop-nav { margin-left: auto; gap: 4px; }
  .shop-nav a, .shop-theme-btn { padding: 7px 9px; font-size: .8rem; }
  .shop-theme-btn { width: 34px; }
  .shop-search { order: 3; flex-basis: 100%; max-width: none; }
  .shop-search input { height: 38px; }
}
.shop-notice { background: var(--sh-mango); color: var(--sh-ink); font-weight: 700; font-size: .86rem; padding: 7px 0; }

/* hero */
.shop-hero { background: linear-gradient(180deg, rgba(255, 183, 3, .1), var(--sh-bg) 70%); padding: 18px 0 6px; }
.hero-card { position: relative; overflow: hidden; background: var(--sh-ink-2); color: #fff; border: 1px solid #1F2937; border-radius: 28px; padding: 44px 44px 36px; box-shadow: 0 20px 40px -18px rgba(11, 15, 25, .55); }
.hero-glow { position: absolute; right: -90px; bottom: -90px; width: 340px; height: 340px; border-radius: 50%; background: var(--sh-mango); filter: blur(110px); opacity: .28; pointer-events: none; }
.hero-in { position: relative; max-width: 760px; }
.hero-pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(17, 24, 39, .9); color: var(--sh-mango-400); border: 1px solid rgba(255, 183, 3, .3); border-radius: 99px; padding: 4px 12px; font-size: .72rem; font-weight: 800; letter-spacing: .06em; }
.hero-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sh-mango); box-shadow: 0 0 0 0 rgba(255, 183, 3, .7); animation: shopping 1.8s infinite; }
@keyframes shopping { 0% { box-shadow: 0 0 0 0 rgba(255, 183, 3, .7); } 80%, 100% { box-shadow: 0 0 0 9px rgba(255, 183, 3, 0); } }
@media (prefers-reduced-motion: reduce) { .hero-dot { animation: none; } }
.hero-h1 { color: #fff; font-size: clamp(1.55rem, 4.6vw, 3.1rem); font-weight: 900; letter-spacing: -.025em; line-height: 1.08; margin: 14px 0 12px; }
.hero-grad { background: linear-gradient(90deg, #FFC837, #FCD34D, #FFB703); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-p { color: #D1D5DB; font-size: 1.02rem; line-height: 1.6; margin-bottom: 6px; }
.hero-p b { color: #fff; }
.hero-tag { color: #9CA3AF; font-size: .88rem; margin-bottom: 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 16px; }
.btn-mango, .btn-ghost { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 12px; font-weight: 800; font-size: .86rem; text-decoration: none; transition: background .15s, transform .15s; }
.btn-mango { background: var(--sh-mango); color: var(--sh-ink); box-shadow: 0 8px 20px -8px rgba(255, 183, 3, .6); }
.btn-mango:hover { background: var(--sh-mango-400); color: var(--sh-ink); transform: translateY(-1px); }
.btn-ghost { background: #111827; color: #fff; border: 1px solid #374151; }
.btn-ghost:hover { background: #000; color: #fff; }
.btn-ghost i { color: #4ADE80; }
.shop-trust { display: flex; flex-wrap: wrap; gap: 8px; }
.shop-trust span { display: inline-flex; align-items: center; gap: 7px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 99px; padding: 6px 12px; font-size: .78rem; font-weight: 600; color: #E5E7EB; }
.shop-trust i { color: var(--sh-mango); }
.shop-cities { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; }
.shop-cities a { color: #fff; font-size: .84rem; text-decoration: none; border-bottom: 1px dashed rgba(255, 255, 255, .4); }
.shop-cities a i { color: var(--sh-mango); margin-right: 5px; }
@media (max-width: 575.98px) {
  .shop-hero { padding-top: 12px; }
  .hero-card { border-radius: 20px; padding: 20px 18px 18px; }
  .hero-p { font-size: .86rem; }
  .hero-tag { display: none; }
  .hero-cta { margin: 14px 0 12px; }
  .btn-mango, .btn-ghost { padding: 9px 16px; }
  .shop-trust span { font-size: .72rem; padding: 5px 10px; }
}

/* filters */
.fpanel { background: var(--sh-card); border: 1px solid var(--sh-line); border-radius: 18px; padding: 14px; box-shadow: var(--sh-shadow); }
@media (min-width: 992px) {
  .offcanvas-lg .offcanvas-body { padding: 0; position: sticky; top: 92px; }
  .fpanel { max-height: calc(100vh - 110px); overflow-y: auto; scrollbar-width: thin; }
}
@media (max-width: 991.98px) { .fpanel { border: 0; box-shadow: none; padding: 0; } }
.fpanel-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1px solid var(--sh-line); }
.fpanel-head span { font-family: Outfit, Inter, sans-serif; font-weight: 800; font-size: 1.02rem; display: inline-flex; gap: 8px; align-items: center; }
.fpanel-head span i { color: var(--sh-mango-ink); }
.fpanel-clear { font-size: .78rem; font-weight: 700; color: var(--sh-muted); text-decoration: none; display: inline-flex; gap: 5px; align-items: center; }
.fpanel-clear:hover { color: var(--sh-mango-ink); }
.fprice { display: grid; grid-template-columns: 1fr 1fr 38px; gap: 8px; align-items: end; margin-bottom: 14px; }
.fprice label span { display: block; font-size: .64rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--sh-muted); margin-bottom: 4px; }
.fprice input { width: 100%; height: 36px; border-radius: 10px; border: 1px solid var(--sh-line); background: var(--sh-soft); color: var(--sh-text); padding: 0 10px; font-size: .84rem; }
.fprice input:focus { outline: none; border-color: var(--sh-mango); box-shadow: 0 0 0 3px rgba(255, 183, 3, .25); }
.fprice-go { height: 36px; border: 0; border-radius: 10px; background: var(--sh-ink); color: var(--sh-mango); }
[data-bs-theme=dark] .fprice-go { background: var(--sh-mango); color: var(--sh-ink); }
.fgroup { margin-bottom: 14px; }
.fgroup-h { font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--sh-muted); margin-bottom: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--sh-line); background: var(--sh-soft); color: var(--sh-text-2); padding: 5px 12px; border-radius: 99px; font-size: .78rem; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s; }
.chip small { color: var(--sh-muted); font-weight: 600; font-size: .7rem; }
.chip:hover { border-color: var(--sh-mango); color: var(--sh-text); }
.chip.on { background: var(--sh-mango); border-color: var(--sh-mango); color: var(--sh-ink); font-weight: 800; }
.chip.on small { color: rgba(17, 24, 39, .7); }
.chip.on::after { content: "\f00d"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .62rem; }

.results-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; background: var(--sh-card); border: 1px solid var(--sh-line); border-radius: 16px; padding: 10px 12px 10px 16px; box-shadow: var(--sh-shadow); }
.results-count { font-size: .92rem; font-weight: 600; color: var(--sh-text-2); }
.results-count b { color: var(--sh-text); font-family: Outfit, Inter, sans-serif; font-size: 1.05rem; }
.results-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.rbtn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 11px; border-radius: 10px; border: 1px solid var(--sh-line); background: var(--sh-soft); color: var(--sh-text-2); font-size: .78rem; font-weight: 700; text-decoration: none; }
.rbtn:hover { color: var(--sh-text); border-color: var(--sh-line-2); }
.rbtn-share { background: #059669; border-color: #059669; color: #fff; }
.rbtn-share:hover { background: #10B981; color: #fff; }
.rsort { height: 32px; border-radius: 10px; font-size: .78rem; font-weight: 600; padding-top: 0; padding-bottom: 0; background-color: var(--sh-soft); border-color: var(--sh-line); color: var(--sh-text); }
.active-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.active-chips a { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; background: var(--sh-mango-50); border: 1px solid rgba(255, 183, 3, .45); color: var(--sh-text); font-size: .78rem; font-weight: 600; text-decoration: none; }
.active-chips a.clear { background: none; border: 1px dashed var(--sh-line-2); color: var(--sh-muted); }

/* product cards */
.pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 768px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 992px) { .pgrid { gap: 18px; } }
@media (min-width: 1200px) { .pgrid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pcard-box { display: flex; flex-direction: column; background: var(--sh-card); border: 1px solid var(--sh-line); border-radius: 18px; overflow: hidden; box-shadow: var(--sh-shadow); transition: transform .25s cubic-bezier(.16, 1, .3, 1), box-shadow .25s, border-color .2s; min-width: 0; }
@media (min-width: 640px) { .pcard-box:hover { transform: translateY(-4px); box-shadow: var(--sh-shadow-lg); border-color: rgba(255, 183, 3, .7); } }
.pcard { display: flex; flex-direction: column; flex: 1; color: var(--sh-text); text-decoration: none; min-width: 0; }
.pcard:hover { color: var(--sh-text); }
.pcard:hover .pcard-title { color: var(--sh-mango-ink); }
.pcard-img { position: relative; aspect-ratio: 1 / 1; background: linear-gradient(135deg, #FFFBEB, rgba(254, 243, 199, .6)); overflow: hidden; }
[data-bs-theme=dark] .pcard-img { background: linear-gradient(135deg, #0B0F19, #111827); }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
@media (min-width: 640px) { .pcard-box:hover .pcard-img img { transform: scale(1.03); } }
.pcard.is-hold .pcard-img img { filter: grayscale(.35); opacity: .85; }
.pcard-badges { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; z-index: 2; }
.tbadge, .bbadge { display: inline-flex; align-items: center; gap: 5px; font-size: .68rem; font-weight: 800; padding: 3px 9px; border-radius: 99px; box-shadow: 0 1px 3px rgba(0, 0, 0, .15); white-space: nowrap; }
.tbadge.t-open { background: #F59E0B; color: #111827; }
.tbadge.t-pre { background: #059669; color: #fff; }
.tbadge.t-new { background: #0B0F19; color: var(--sh-mango-400); }
.bbadge { background: #fff; color: #111827; border: 1px solid #E5E7EB; }
.bbadge i { color: #059669; }
[data-bs-theme=dark] .bbadge { background: #111827; color: #F3F4F6; border-color: #374151; }
.pcard-grade { position: absolute; top: 8px; right: 8px; z-index: 2; }
.pcard-hold { position: absolute; bottom: 8px; left: 8px; background: rgba(17, 24, 39, .88); color: #fff; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; z-index: 2; }
.pcard-body { padding: 11px 13px 12px; display: flex; flex-direction: column; gap: 5px; flex: 1; min-width: 0; }
.pcard-brand { align-self: flex-start; font-size: .62rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--sh-mango-ink); background: var(--sh-mango-50); padding: 1px 7px; border-radius: 5px; }
.pcard-title { font-family: Outfit, Inter, sans-serif; font-weight: 700; font-size: .95rem; line-height: 1.28; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .15s; }
.pcard-specs { font-size: .76rem; color: var(--sh-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.cchip { display: inline-flex; align-items: center; gap: 4px; border: 1px solid; font-size: .66rem; font-weight: 700; padding: 2px 7px; border-radius: 6px; line-height: 1.35; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cchip i { font-size: .62rem; }
.pcard-acc { display: flex; flex-wrap: wrap; gap: 2px 10px; font-size: .7rem; }
.acc-y { color: var(--t-ok-fg); font-weight: 700; display: inline-flex; gap: 3px; align-items: center; }
.acc-y i { font-size: .6rem; }
.acc-n { color: var(--sh-muted); text-decoration: line-through; opacity: .8; }
.acc-only { color: var(--t-warn-fg); font-weight: 700; display: inline-flex; gap: 4px; align-items: center; }
.pcard-foot { margin-top: auto; padding-top: 8px; border-top: 1px dashed var(--sh-line); display: flex; flex-direction: column; gap: 2px; }
.pcard-price { font-family: Outfit, Inter, sans-serif; font-size: 1.32rem; font-weight: 900; letter-spacing: -.01em; color: var(--sh-ink); }
[data-bs-theme=dark] .pcard-price { color: #fff; }
.pcard-store { font-size: .74rem; color: var(--sh-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard-store i, .pcard-qc i { margin-right: 4px; }
.pcard-store i { color: var(--sh-mango-ink); }
.pcard-qc { font-size: .72rem; color: var(--t-ok-fg); font-weight: 700; }
.pcard-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 0 13px 13px; }
.pact { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 6px; border-radius: 12px; font-weight: 800; font-size: .76rem; text-decoration: none; transition: background .15s; }
.pact-enq { background: var(--sh-mango); color: var(--sh-ink); }
.pact-enq:hover { background: var(--sh-mango-400); color: var(--sh-ink); }
.pact-share { background: #059669; color: #fff; }
.pact-share:hover { background: #10B981; color: #fff; }
@media (max-width: 575.98px) {
  .pcard-body { padding: 9px 10px 10px; gap: 4px; }
  .pcard-title { font-size: .8rem; }
  .pcard-price { font-size: 1.08rem; }
  .tbadge, .bbadge { font-size: .6rem; padding: 2px 7px; }
  .cchip { font-size: .58rem; padding: 1px 5px; }
  .pcard-acc { font-size: .62rem; gap: 1px 7px; }
  .pcard-store, .pcard-qc { font-size: .64rem; }
  .pcard-acts { padding: 0 10px 10px; gap: 5px; }
  .pact { font-size: .68rem; padding: 7px 4px; border-radius: 10px; }
  .pcard-grade { top: 6px; right: 6px; }
}

.gbadge { display: inline-flex; align-items: center; font-size: .7rem; font-weight: 800; padding: 3px 9px; border-radius: 99px; background: #fff; color: #111827; box-shadow: 0 1px 3px rgba(0, 0, 0, .15); }
.gbadge.g-like-new { background: #047857; color: #fff; }
.gbadge.g-mint { background: var(--sh-mango); color: #111827; }
.gbadge.g-good { background: #6B4423; color: #fff; }
.gbadge.g-fair { background: #57534E; color: #fff; }
.gbadge.g-new { background: #0B0F19; color: var(--sh-mango-400); }
.gbadge.g-qc { background: var(--t-ok-bg); color: var(--t-ok-fg); box-shadow: none; border: 1px solid var(--t-ok-bd); }

.shop-nophoto { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--sh-muted); font-size: .76rem; text-align: center; padding: 8px; }
.shop-nophoto i { font-size: 2.2rem; opacity: .45; }
.shop-more { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 64px; margin: 18px 0 4px; color: var(--sh-muted); font-size: .9rem; }
.shop-more-spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--sh-line); border-top-color: var(--sh-mango); display: none; animation: shopspin .8s linear infinite; }
.shop-more.is-busy .shop-more-spin { display: inline-block; }
@keyframes shopspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .shop-more-spin { animation-duration: 2.4s; } }
.shop-end { text-align: center; color: var(--sh-muted); font-size: .88rem; margin: 18px 0 6px; }
.shop-pager { display: flex; justify-content: center; align-items: center; gap: 16px; margin: 22px 0 6px; }
.shop-pager a { padding: 8px 14px; border-radius: 99px; border: 1px solid var(--sh-line); background: var(--sh-card); color: var(--sh-text); text-decoration: none; font-weight: 600; }

/* why section */
.shop-why { padding-top: 26px; padding-bottom: 8px; }
.why-card { background: var(--sh-card); border: 1px solid var(--sh-line); border-radius: 28px; padding: 40px 44px; box-shadow: var(--sh-shadow); }
.why-kicker { display: inline-flex; background: var(--t-warn-bg); color: var(--t-warn-fg); border-radius: 99px; padding: 4px 12px; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.why-h { font-size: clamp(1.25rem, 3vw, 2rem); font-weight: 900; letter-spacing: -.02em; margin: 12px 0 12px; }
.why-quote { border-left: 4px solid var(--sh-mango); padding-left: 14px; font-style: italic; color: var(--sh-text-2); font-size: 1rem; line-height: 1.6; margin: 0 0 22px; }
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.why-grid > div { display: flex; flex-direction: column; gap: 3px; background: var(--sh-soft); border-radius: 16px; padding: 14px; }
.why-grid i { color: var(--sh-mango-ink); font-size: 1.15rem; margin-bottom: 4px; }
.why-grid b { font-family: Outfit, Inter, sans-serif; font-size: .95rem; }
.why-grid span { font-size: .8rem; color: var(--sh-muted); }
@media (max-width: 991.98px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .why-card { padding: 20px 18px; border-radius: 20px; } .why-quote { font-size: .86rem; } }

/* product page */
.shop-crumbs { color: var(--sh-muted); margin-bottom: 12px; }
.shop-crumbs a { color: var(--sh-text-2); text-decoration: none; }
.shop-crumbs i { font-size: .6rem; margin: 0 6px; }
@media (min-width: 992px) { .pdetail .gallery { position: sticky; top: 84px; } } /* v61: image stays while the details scroll – no big blank area */
.gallery-main { position: relative; background: linear-gradient(135deg, #FFFBEB, rgba(254, 243, 199, .6)); border: 1px solid var(--sh-line); border-radius: 22px; overflow: hidden; aspect-ratio: 1 / 1; max-height: 540px; margin-inline: auto; display: flex; align-items: center; justify-content: center; }
[data-bs-theme=dark] .gallery-main { background: linear-gradient(135deg, #0B0F19, #111827); }
.gallery-main img, .gallery-main video { width: 100%; height: 100%; object-fit: contain; background: transparent; }
.gallery-main video { background: #000; }
.gallery-main.has-photo { cursor: zoom-in; }
.gallery-main.has-photo img { transition: transform .12s ease-out; will-change: transform; }
.gallery-main.zoomed img { transition: none; } /* JS sets scale + transform-origin to the cursor */
.gallery-real { position: absolute; left: 12px; bottom: 12px; background: rgba(17, 24, 39, .85); color: #fff; font-size: .76rem; font-weight: 600; padding: 4px 10px; border-radius: 99px; pointer-events: none; z-index: 2; }
.gallery-real i { color: var(--sh-mango); margin-right: 4px; }
.gallery-expand { position: absolute; right: 12px; top: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(17, 24, 39, .78); color: #fff; font-size: .9rem; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; transition: opacity .15s, background .15s; }
.gallery-main:hover .gallery-expand, .gallery-expand:focus-visible { opacity: 1; }
.gallery-expand:hover { background: var(--sh-ink); }
@media (hover: none) { .gallery-expand { opacity: 1; } .gallery-main.has-photo { cursor: pointer; } }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.gthumb { flex: 0 0 auto; width: 68px; height: 68px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--sh-soft); cursor: pointer; transition: border-color .12s, transform .12s; }
.gthumb:hover { transform: translateY(-2px); }
.gthumb img { width: 100%; height: 100%; object-fit: cover; }
.gthumb.on { border-color: var(--sh-mango); }
.gthumb-video { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: var(--sh-ink); color: #fff; font-size: .72rem; font-weight: 700; }
.gallery-nophoto { aspect-ratio: 1 / 1; }
.gallery-main.no-media { aspect-ratio: auto; min-height: 240px; max-height: 300px; } /* v61: no photo yet – a compact card, not a big empty square */
.gallery-main.no-media .shop-nophoto { font-size: .9rem; gap: 10px; }
.gallery-main.no-media .shop-nophoto i { font-size: 2.8rem; }

/* v61: full-screen image viewer (keyboard ← / → / Esc, swipe, pinch-free zoom on click) */
.glightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(10, 12, 18, .92); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .18s; }
.glightbox.open { opacity: 1; visibility: visible; }
.glightbox-stage { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.glightbox-stage img, .glightbox-stage video { max-width: 92vw; max-height: 88vh; object-fit: contain; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); user-select: none; -webkit-user-drag: none; }
.glightbox-stage img.zoomable { cursor: zoom-in; transition: transform .18s ease; }
.glightbox-stage img.zoomed { cursor: zoom-out; }
.glb-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.25rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .15s; }
.glb-btn:hover { background: rgba(255, 255, 255, .25); }
.glb-prev { left: 16px; } .glb-next { right: 16px; }
.glb-close { position: absolute; top: 16px; right: 16px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.15rem; cursor: pointer; }
.glb-close:hover { background: rgba(255, 255, 255, .25); }
.glb-count { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); color: #fff; font-size: .85rem; font-weight: 700; letter-spacing: .03em; background: rgba(255, 255, 255, .12); padding: 5px 14px; border-radius: 99px; }
.glb-hint { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, .7); font-size: .74rem; }
.glightbox-thumbs { position: absolute; bottom: 48px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; max-width: 92vw; overflow-x: auto; padding: 4px; }
.glightbox-thumbs button { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; padding: 0; background: #222; cursor: pointer; opacity: .55; transition: opacity .15s, border-color .15s; }
.glightbox-thumbs button.on { opacity: 1; border-color: var(--sh-mango); }
.glightbox-thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 575px) { .glb-btn { width: 44px; height: 44px; } .glb-prev { left: 6px; } .glb-next { right: 6px; } .glightbox-thumbs { display: none; } }
body.glb-open { overflow: hidden; }
.pinfo { background: var(--sh-card); border: 1px solid var(--sh-line); border-radius: 22px; padding: 20px; box-shadow: var(--sh-shadow); }
.pinfo .pcard-brand { font-size: .68rem; margin-bottom: 6px; display: inline-block; }
.pinfo-title { font-size: clamp(1.3rem, 2.6vw, 1.8rem); font-weight: 900; letter-spacing: -.02em; line-height: 1.18; margin-bottom: 10px; }
.pinfo-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 8px; }
.pinfo-badges .tbadge, .pinfo-badges .bbadge { font-size: .72rem; box-shadow: none; }
.pinfo-price { font-family: Outfit, Inter, sans-serif; font-size: 2.3rem; font-weight: 900; letter-spacing: -.02em; color: var(--sh-ink); }
[data-bs-theme=dark] .pinfo-price { color: var(--sh-mango-400); }
.store-badge { display: flex; gap: 12px; padding: 12px 14px; border: 1px solid var(--sh-line); background: var(--sh-soft); border-radius: 14px; }
.store-badge > i { color: var(--sh-mango-ink); font-size: 1.2rem; margin-top: 2px; }
.store-badge-h { font-size: .95rem; }
.pinfo-cta { display: grid; gap: 10px; margin: 16px 0 8px; }
@media (min-width: 576px) { .pinfo-cta { grid-template-columns: 1fr 1fr; } }
.pinfo-cta .btn { font-weight: 800; border-radius: 14px; }
.pinfo-cta .btn-primary { background: var(--sh-mango); border-color: var(--sh-mango); color: var(--sh-ink); }
.pinfo-cta .btn-primary:hover { background: var(--sh-mango-400); border-color: var(--sh-mango-400); color: var(--sh-ink); }
.pinfo-share { display: inline-flex; align-items: center; font-size: .84rem; font-weight: 700; color: #059669; text-decoration: none; margin-bottom: 14px; }
.pinfo-share:hover { color: #10B981; }
.pinfo-trust { list-style: none; padding: 0; margin: 14px 0 0; font-size: .88rem; }
.pinfo-trust li { display: flex; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--sh-line); }
.pinfo-trust i { color: var(--sh-mango-ink); width: 18px; margin-top: 3px; }
.spec-list { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; font-size: .88rem; margin: 0; }
.spec-list dt { color: var(--sh-muted); font-weight: 600; }
.spec-list dd { margin: 0; font-weight: 600; }

/* condition report (from remarks + stock form + diagnostic) */
.cond { background: var(--sh-bg); border: 1px solid var(--sh-line); border-radius: 18px; padding: 14px; margin: 4px 0 6px; }
[data-bs-theme=dark] .cond { background: rgba(11, 15, 25, .6); }
.cond-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; }
.cond-h { font-size: 1rem; font-weight: 800; margin: 0; }
.cond .tbadge { box-shadow: none; }
.ctiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ctile { background: var(--sh-tile); border: 1px solid var(--sh-line); border-radius: 14px; padding: 10px 12px; min-width: 0; }
.ctile.wide { grid-column: span 2; }
.ctile.crow { display: flex; align-items: center; gap: 12px; }
.ctile-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 4px 6px; }
.ctile-top .cpill { white-space: nowrap; }
.clabel { display: inline-flex; align-items: center; gap: 6px; font-size: .64rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--sh-muted); }
.cpill { font-size: .66rem; font-weight: 800; padding: 1px 8px; border-radius: 99px; border: 1px solid; }
.cbig { font-family: Outfit, Inter, sans-serif; font-size: 1.7rem; font-weight: 900; line-height: 1.1; margin-top: 4px; }
.cbig small { font-size: .8rem; font-weight: 700; color: var(--sh-muted); margin-left: 3px; }
.cbar { height: 6px; border-radius: 99px; background: var(--sh-line); overflow: hidden; margin-top: 8px; }
.cbar span { display: block; height: 100%; border-radius: 99px; }
.cbar .c-ok { background: var(--t-ok-solid); } .cbar .c-warn { background: var(--t-warn-solid); } .cbar .c-bad { background: var(--t-bad-solid); }
.ctitle { font-family: Outfit, Inter, sans-serif; font-weight: 800; font-size: .92rem; }
.csub { font-size: .74rem; color: var(--sh-muted); line-height: 1.4; }
.cgrade, .cicon { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-family: Outfit, Inter, sans-serif; font-weight: 900; font-size: 1.1rem; border: 1px solid; }
.cicon { width: 40px; height: 40px; font-size: 1rem; }
.cgrade.g-like-new { background: var(--t-ok-bg); color: var(--t-ok-fg); border-color: var(--t-ok-bd); }
.cgrade.g-mint { background: var(--sh-mango-50); color: var(--sh-mango-ink); border-color: rgba(255, 183, 3, .5); }
.cgrade.g-good { background: var(--t-warn-bg); color: var(--t-warn-fg); border-color: var(--t-warn-bd); }
.cgrade.g-fair { background: var(--t-brown-bg); color: var(--t-brown-fg); border-color: var(--t-brown-bd); }
.cblock { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.cacc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.cacc { display: flex; align-items: center; gap: 8px; border: 1px solid; border-radius: 12px; padding: 7px 10px; font-size: .78rem; font-weight: 700; }
.cacc span i { margin-right: 5px; opacity: .8; }
.cacc.yes { background: var(--t-ok-bg); color: var(--t-ok-fg); border-color: var(--t-ok-bd); }
.cacc.no { background: var(--t-slate-bg); color: var(--t-slate-fg); border-color: var(--t-slate-bd); opacity: .8; }
.cacc.no span { text-decoration: line-through; }
.cacc-only { background: var(--t-warn-bg); color: var(--t-warn-fg); border: 1px solid var(--t-warn-bd); border-radius: 12px; padding: 8px 12px; font-size: .8rem; font-weight: 700; }
.cchips { display: flex; flex-wrap: wrap; gap: 6px; }
.cchips .cchip { font-size: .74rem; padding: 4px 10px; border-radius: 8px; }

.shop-h1 { font-size: 1.6rem; font-weight: 900; }
.shop-h2 { font-size: 1.2rem; font-weight: 800; margin-bottom: 12px; }
.qc-public { background: var(--sh-card); border: 1px solid var(--sh-line); border-radius: 22px; padding: 18px; }
.qc-head { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-bottom: 14px; }
.qc-head > div { display: flex; flex-direction: column; }
.qc-big { font-size: 1.5rem; font-weight: 800; line-height: 1.1; }
.qc-head span:not(.qc-big) { font-size: .8rem; color: var(--sh-muted); }
.qc-checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 6px 18px; font-size: .9rem; }
.qc-checks li { display: flex; gap: 8px; align-items: center; padding: 5px 0; border-bottom: 1px solid var(--sh-line); }
.qc-checks li.ok i { color: var(--t-ok-fg); }
.qc-checks li.bad i { color: var(--t-bad-fg); }
.qc-checks li.bad { font-weight: 600; }
.shop-done { display: flex; gap: 12px; background: var(--t-ok-bg); color: var(--t-ok-fg); border: 1px solid var(--t-ok-bd); border-radius: 14px; padding: 14px 16px; margin-bottom: 16px; }
.shop-done > div:first-child { font-size: 1.4rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.store-card { background: var(--sh-card); border: 1px solid var(--sh-line); border-radius: 18px; padding: 16px; height: 100%; box-shadow: var(--sh-shadow); }
.store-card-h { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 1.02rem; }
.shop .empty-state { background: var(--sh-card); border: 1px solid var(--sh-line); border-radius: 18px; }

/* footer */
.shop-foot { background: var(--sh-ink-2); color: #9CA3AF; border-top: 1px solid #1F2937; padding: 36px 0 70px; margin-top: 36px; }
.shop-foot a { color: #E5E7EB; text-decoration: none; }
.shop-foot a:hover { color: var(--sh-mango-400); }
.shop-foot p { color: #D1D5DB; }
.shop-foot-logo { height: 36px; width: auto; }
.shop-foot-kicker { font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--sh-mango-400); margin: 6px 0 8px; }
.shop-foot-h { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; color: #fff; margin-bottom: 10px; }
.shop-foot li { margin-bottom: 6px; color: #D1D5DB; }
.shop-foot li i { color: var(--sh-mango); }
.shop-foot-bottom { margin-top: 26px; padding-top: 16px; border-top: 1px solid #1F2937; font-size: .74rem; color: #6B7280; text-align: center; line-height: 1.7; }

/* floating buttons */
.shop-fab-wa { position: fixed; right: 16px; bottom: 16px; z-index: 1040; width: 54px; height: 54px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .45); text-decoration: none; transition: transform .2s, background .2s; }
.shop-fab-wa:hover { background: #20BA5A; color: #fff; transform: scale(1.06); }
.shop-totop { position: fixed; right: 22px; bottom: 82px; z-index: 1040; width: 42px; height: 42px; border-radius: 50%; border: 1px solid #374151; background: #111827; color: var(--sh-mango-400); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s, transform .25s; }
.shop-totop.show { opacity: 1; transform: none; pointer-events: auto; }
@media print { .shop-marquee, .shop-top, .shop-fab-wa, .shop-totop, .shop-foot, .pcard-acts { display: none !important; } }
/* v37: the visitor's area store */
.store-card.is-mine { box-shadow: 0 0 0 2px var(--bu-mango, #F6B21B); }
