/* ==========================================================
   TinkerPy Shop — /shop/ pages (list, product, cart, checkout, orders)
   Grid: 4 per row on tablet/desktop, 2 on a phone (portrait), 4 on a phone turned sideways.
   ========================================================== */
.sh { --shop: #E11D48; --shop2: #F97316; --ink: #1E1B4B; --muted: #64748B; --line: #E7E5F5; --sh: 0 10px 30px -14px rgba(49, 46, 129, .3); }
.sh-wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.sh-small { font-size: 12.5px; color: var(--muted); font-weight: 700; }

/* ---------- hero + toolbar ---------- */
.sh-hero { --hc: #E11D48; --hc2: #F97316; background: linear-gradient(135deg, var(--hc), var(--hc2)); color: #fff; border-radius: 0 0 30px 30px; position: relative; overflow: hidden; }
.sh-hero::after { content: ''; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.sh-hero-in { max-width: 1200px; margin: 0 auto; padding: 22px 16px 64px; position: relative; z-index: 1; display: flex; align-items: center; gap: 16px; }
.sh-hero h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.05; margin: 0; color: #fff; }
.sh-hero p { margin: 6px 0 0; font-weight: 700; opacity: .93; max-width: 560px; }
.sh-hart { width: 96px; height: 96px; flex-shrink: 0; margin-left: auto; background: rgba(255, 255, 255, .2); border-radius: 28px; display: grid; place-items: center; }
.sh-hart svg { width: 74px; height: 74px; }
@media (max-width: 599px) { .sh-hart { width: 64px; height: 64px; border-radius: 20px; } .sh-hart svg { width: 50px; height: 50px; } .sh-hero-in { padding: 16px 16px 58px; } .sh-hero p { font-size: 14px; } }

.sh-tools { max-width: 1200px; margin: -40px auto 0; padding: 0 16px; position: relative; z-index: 2; }
.sh-toolbar { background: #fff; border-radius: 22px; box-shadow: var(--sh); padding: 10px; display: flex; gap: 8px; align-items: center; }
.sh-search { flex: 1; display: flex; align-items: center; gap: 8px; background: #F8FAFC; border: 1.5px solid var(--line); border-radius: 14px; padding: 0 12px; min-width: 0; }
.sh-search input { border: 0; background: none; outline: none; font: inherit; font-weight: 700; padding: 11px 0; width: 100%; min-width: 0; color: var(--ink); }
.sh-tbtn { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 14px; border: 0; background: #F1F5F9; font: inherit; font-weight: 900; font-size: 14px; white-space: nowrap; position: relative; color: var(--ink); cursor: pointer; }
.sh-tbtn .sh-badge { top: -6px; right: -6px; }
select.sh-tbtn { appearance: none; -webkit-appearance: none; padding-right: 28px; background: #F1F5F9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23334155' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 10px center; }
.sh-chips { display: flex; gap: 8px; overflow-x: auto; padding: 12px 2px 4px; scrollbar-width: none; }
.sh-chips::-webkit-scrollbar { display: none; }
.sh-chip { flex-shrink: 0; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-weight: 800; font-size: 13.5px; white-space: nowrap; color: var(--ink); text-decoration: none; cursor: pointer; }
.sh-chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.sh-active { display: flex; gap: 6px; flex-wrap: wrap; padding: 6px 2px 0; }
.sh-af { display: inline-flex; align-items: center; gap: 6px; padding: 5px 6px 5px 11px; border-radius: 999px; background: #FFF1F2; color: var(--shop); font: inherit; font-weight: 800; font-size: 12.5px; border: 0; cursor: pointer; }
.sh-af b { width: 18px; height: 18px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 11px; }
.sh-count { color: var(--muted); font-weight: 800; font-size: 13.5px; margin: 14px 2px 10px; }
@media (max-width: 599px) { .sh-tbtn span { display: none; } .sh-tbtn { padding: 10px 12px; } .sh-toolbar { gap: 6px; padding: 8px; } select.sh-tbtn { max-width: 112px; } }

/* ---------- product grid ---------- */
.sh-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 599px) { .sh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
@media (orientation: landscape) and (max-height: 520px) { .sh-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; } }
.sh-card { background: #fff; border-radius: 20px; box-shadow: 0 6px 18px -12px rgba(49, 46, 129, .35); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; position: relative; color: var(--ink); text-decoration: none; }
.sh-card:hover { transform: translateY(-4px); box-shadow: 0 18px 30px -16px rgba(49, 46, 129, .4); }
.sh-pimg { aspect-ratio: 1; position: relative; overflow: hidden; background: #F8FAFC; display: block; }
.sh-pimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sh-noimg { width: 100%; height: 100%; display: grid; place-items: center; font-size: 64px; background: linear-gradient(135deg, color-mix(in srgb, var(--c1) 16%, #fff), color-mix(in srgb, var(--c2) 30%, #fff)); }
.sh-tags { position: absolute; left: 8px; top: 8px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.sh-tag { font-size: 10.5px; font-weight: 900; padding: 3px 8px; border-radius: 999px; color: #fff; letter-spacing: .02em; box-shadow: 0 3px 8px -3px rgba(0, 0, 0, .3); background: var(--c, #6366F1); white-space: nowrap; }
.sh-off { position: absolute; right: 8px; top: 8px; background: #fff; color: var(--shop); font-weight: 900; font-size: 11.5px; padding: 3px 8px; border-radius: 999px; }
.sh-oos { position: absolute; inset: auto 0 0 0; background: rgba(15, 23, 42, .75); color: #fff; text-align: center; font-weight: 900; font-size: 12px; padding: 5px; }
.sh-pbody { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.sh-meta { display: flex; gap: 6px; align-items: center; overflow: hidden; font-size: 11.5px; font-weight: 800; color: var(--muted); }
.sh-age { background: #EEF2FF; color: #4F46E5; padding: 2px 7px; border-radius: 999px; white-space: nowrap; }
.sh-thm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-ptitle { font-weight: 900; font-size: 14.5px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; color: var(--ink); text-decoration: none; }
.sh-rate { display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 800; color: var(--muted); flex-wrap: wrap; }
.sh-st { background: #16A34A; color: #fff; padding: 1px 6px; border-radius: 7px; font-weight: 900; }
.sh-prow { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 4px; }
.sh-price { font-family: var(--tp-head); font-weight: 800; font-size: 19px; color: var(--ink); }
.sh-mrp { color: #94A3B8; text-decoration: line-through; font-weight: 700; font-size: 12.5px; }
.sh-add { margin-left: auto; border: 0; background: var(--shop); color: #fff; font: inherit; font-weight: 900; border-radius: 12px; padding: 7px 12px; font-size: 13px; box-shadow: 0 6px 12px -6px var(--shop); cursor: pointer; }
.sh-add:disabled { background: #CBD5E1; box-shadow: none; cursor: default; }
.sh-qty { margin-left: auto; display: flex; align-items: center; background: #FFF1F2; border-radius: 12px; overflow: hidden; flex-shrink: 0; }
.sh-qty button { border: 0; background: none; width: 30px; height: 32px; font: inherit; font-weight: 900; font-size: 17px; color: var(--shop); cursor: pointer; }
.sh-qty span { min-width: 20px; text-align: center; font-weight: 900; }
@media (max-width: 599px) { .sh-pbody { padding: 8px 9px 10px; } .sh-ptitle { font-size: 13.5px; } .sh-price { font-size: 17px; } .sh-add { padding: 7px 10px; } .sh-grid .sh-mrp, .sh-grid .sh-thm { display: none; } }
.sh-empty { text-align: center; padding: 50px 16px; color: var(--muted); font-weight: 800; }
.sh-empty > b { display: block; font-size: 44px; }

/* ---------- popups (filter, rating) ---------- */
.sh-veil { position: fixed; inset: 0; z-index: 60; background: rgba(15, 23, 42, .45); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; transition: opacity .2s; }
.sh-veil[hidden] { display: none; }
.sh-veil.show { opacity: 1; }
.sh-sheet { width: min(560px, 100%); max-height: 86vh; display: flex; flex-direction: column; background: #fff; border-radius: 28px; box-shadow: 0 30px 70px -20px rgba(30, 27, 75, .45); transform: translateY(16px) scale(.98); transition: transform .25s; }
.sh-veil.show .sh-sheet { transform: none; }
.sh-sheet-h { display: flex; align-items: center; gap: 10px; padding: 18px 20px 10px; border-bottom: 1px solid var(--line); }
.sh-sheet-h h2 { font-size: 22px; flex: 1; margin: 0; }
.sh-x { width: 36px; height: 36px; border-radius: 12px; border: 0; background: #F1F5F9; font-size: 16px; font-weight: 900; cursor: pointer; color: var(--ink); }
.sh-sheet-b { overflow: auto; padding: 6px 20px 10px; }
.sh-fsec { padding: 12px 0; border-bottom: 1px dashed var(--line); }
.sh-fsec:last-child { border: 0; }
.sh-fsec h3 { font-size: 16px; margin: 0 0 8px; }
.sh-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.sh-opt { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-weight: 800; font-size: 13.5px; user-select: none; cursor: pointer; }
.sh-opt input { position: absolute; opacity: 0; pointer-events: none; }
.sh-opt:has(input:checked) { border-color: var(--ink); background: var(--ink); color: #fff; }
.sh-opt:has(input:focus-visible) { outline: 2px solid var(--shop); outline-offset: 2px; }
.sh-agebox { display: flex; align-items: center; gap: 10px; font-weight: 800; flex-wrap: wrap; }
.sh-agebox select { font: inherit; font-weight: 800; padding: 8px 10px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); }
.sh-sheet-f { display: flex; gap: 10px; padding: 12px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.sh-sheet-f button { flex: 1; padding: 13px; border-radius: 14px; border: 0; font: inherit; font-weight: 900; font-size: 15px; cursor: pointer; }
.sh-sheet-f .sh-clr { background: #F1F5F9; flex: 0 0 auto; padding: 13px 18px; color: var(--ink); }
.sh-sheet-f .sh-apply { background: var(--shop); color: #fff; box-shadow: 0 8px 16px -8px var(--shop); }
@media (max-width: 599px) {
  .sh-veil { align-items: flex-end; padding: 0; }
  .sh-sheet { border-radius: 26px 26px 0 0; width: 100%; max-height: 82vh; transform: translateY(100%); }
  .sh-sheet::before { content: ''; display: block; width: 42px; height: 5px; border-radius: 9px; background: #CBD5E1; margin: 10px auto 0; flex-shrink: 0; }
  .sh-sheet-h { padding: 10px 16px; } .sh-sheet-b { padding: 4px 16px 8px; } .sh-sheet-f { padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); }
}
.sh-stars-pick { display: flex; gap: 6px; justify-content: center; margin: 10px 0 14px; }
.sh-stars-pick button { border: 0; background: none; font-size: 40px; line-height: 1; cursor: pointer; filter: grayscale(1) opacity(.35); transition: transform .15s, filter .15s; padding: 0; }
.sh-stars-pick button.on { filter: none; }
.sh-stars-pick button:hover { transform: scale(1.15); }
.sh-textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 14px; padding: 11px 12px; font: inherit; font-weight: 700; resize: vertical; min-height: 90px; }

/* ---------- product page ---------- */
.sh-pp { display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px; padding-top: 18px; }
@media (max-width: 899px) { .sh-pp { grid-template-columns: minmax(0, 1fr); gap: 14px; padding-top: 0; } }
.sh-gal { position: sticky; top: 80px; align-self: start; min-width: 0; }
@media (max-width: 899px) { .sh-gal { position: static; margin: 0 -16px; } }
.sh-slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 26px; scrollbar-width: none; background: #fff; box-shadow: var(--sh); }
.sh-slides::-webkit-scrollbar { display: none; }
.sh-slides > div { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 1; }
.sh-slides img { width: 100%; height: 100%; object-fit: contain; display: block; background: #fff; }
@media (max-width: 899px) { .sh-slides { border-radius: 0; box-shadow: none; } }
.sh-thumbs { display: flex; gap: 10px; margin-top: 12px; justify-content: center; }
.sh-thumbs button { width: 62px; height: 62px; border-radius: 14px; overflow: hidden; border: 2.5px solid transparent; padding: 0; background: #fff; cursor: pointer; }
.sh-thumbs button.on { border-color: var(--shop); }
.sh-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 899px) { .sh-thumbs { gap: 6px; margin-top: -26px; position: relative; } .sh-thumbs button { width: 9px; height: 9px; border-radius: 9px; border: 0; background: #fff; opacity: .7; box-shadow: 0 1px 3px rgba(0, 0, 0, .35); } .sh-thumbs button.on { opacity: 1; width: 22px; background: var(--shop); } .sh-thumbs img { display: none; } }
.sh-info { min-width: 0; }
.sh-info h1 { font-size: clamp(24px, 3vw, 32px); line-height: 1.1; margin: 8px 0; }
.sh-info .sh-tags { position: static; flex-direction: row; flex-wrap: wrap; }
.sh-pchips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.sh-pchip { padding: 5px 10px; border-radius: 999px; background: #F1F5F9; font-weight: 800; font-size: 12.5px; color: #334155; text-decoration: none; }
.sh-pchip.cat { background: #FFF1F2; color: var(--shop); }
.sh-pchip.age { background: #EEF2FF; color: #4F46E5; }
.sh-bigprice { display: flex; align-items: baseline; gap: 10px; margin: 12px 0 4px; flex-wrap: wrap; }
.sh-bigprice .sh-price { font-size: 34px; }
.sh-bigprice .sh-offp { color: #16A34A; font-weight: 900; }
.sh-stock { display: inline-flex; align-items: center; gap: 6px; font-weight: 900; font-size: 13px; color: #16A34A; margin-top: 6px; }
.sh-stock.low { color: #D97706; } .sh-stock.out { color: #E11D48; }
.sh-buy { display: flex; gap: 10px; margin: 16px 0; }
.sh-buy button, .sh-buy a { flex: 1; padding: 14px; border-radius: 16px; border: 0; font: inherit; font-weight: 900; font-size: 16px; text-align: center; text-decoration: none; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; }
.sh-b1 { background: #FFF1F2; color: var(--shop); }
.sh-b2 { background: linear-gradient(135deg, var(--shop), var(--shop2)); color: #fff; box-shadow: 0 10px 20px -10px var(--shop); }
@media (max-width: 899px) {
  .sh-buy { position: fixed; left: 0; right: 0; bottom: calc(70px + env(safe-area-inset-bottom)); margin: 0; padding: 10px 14px; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-top: 1px solid var(--line); z-index: 44; }
  .sh-buy button, .sh-buy a { padding: 12px; font-size: 15px; }
  body.sh-has-buy { padding-bottom: calc(150px + env(safe-area-inset-bottom)); }
}
.sh-box { background: #fff; border-radius: 20px; box-shadow: 0 6px 18px -12px rgba(49, 46, 129, .3); padding: 16px 18px; margin-top: 14px; }
.sh-box h2 { font-size: 19px; margin: 0 0 8px; }
.sh-box p { margin: 0; line-height: 1.55; font-weight: 600; color: #334155; }
.sh-desc { white-space: pre-line; }
.sh-inbox { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; margin: 0; padding: 0; list-style: none; }
.sh-inbox li { display: flex; gap: 8px; font-weight: 700; font-size: 14px; }
.sh-inbox li::before { content: '✓'; color: #16A34A; font-weight: 900; }
@media (max-width: 420px) { .sh-inbox { grid-template-columns: 1fr; } }
.sh-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 10px; }
.sh-specs div { background: #F8FAFC; border-radius: 14px; padding: 10px; text-align: center; }
.sh-specs b { display: block; font-size: 15px; }
.sh-specs small { color: var(--muted); font-weight: 800; font-size: 11.5px; }
.sh-note { background: #FFFBEB; border: 1.5px solid #FDE68A; border-radius: 16px; padding: 12px 14px; font-weight: 700; font-size: 14px; margin-top: 14px; display: flex; gap: 10px; }
.sh-digital { background: linear-gradient(135deg, #EEF2FF, #FDF2F8); border-radius: 20px; padding: 16px 18px; margin-top: 14px; }
.sh-digital h2 { font-size: 19px; margin: 0; }
.sh-dl { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.sh-dl li > * { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 10px 12px; font-weight: 800; font-size: 14px; color: var(--ink); text-decoration: none; }
.sh-dl li em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--muted); white-space: nowrap; }
.sh-dl a:hover { box-shadow: inset 0 0 0 2px #C7D2FE; }
.sh-dl a em { color: #4F46E5; }
.sh-tplink { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 12px 16px; border-radius: 16px; background: linear-gradient(135deg, #EEF2FF, #F5F3FF); color: #4338CA; font-weight: 900; text-decoration: none; }
.sh-rsum { display: flex; gap: 18px; align-items: center; }
.sh-rbig { text-align: center; }
.sh-rbig b { font-family: var(--tp-head); font-size: 42px; line-height: 1; }
.sh-rbars { flex: 1; display: grid; gap: 4px; }
.sh-rbars div { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; color: var(--muted); }
.sh-rbars i { flex: 1; height: 7px; border-radius: 9px; background: #F1F5F9; overflow: hidden; }
.sh-rbars s { display: block; height: 100%; background: #16A34A; border-radius: 9px; }
.sh-rev { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 10px; }
.sh-rev b { font-size: 14px; } .sh-rev p { font-size: 14px; margin-top: 3px; }
.sh-related { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 4); gap: 16px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x mandatory; }
.sh-related .sh-card { scroll-snap-align: start; }
@media (max-width: 599px) { .sh-related { grid-auto-columns: 44%; gap: 10px; } }
.sh-sect-t { font-size: 22px; margin: 26px 0 10px; }

/* ---------- cart / checkout / orders ---------- */
.sh-titleh { display: flex; align-items: center; gap: 10px; margin: 18px 0 8px; flex-wrap: wrap; }
.sh-titleh h1 { font-size: 28px; margin: 0; }
.sh-cartp { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 899px) { .sh-cartp { grid-template-columns: minmax(0, 1fr); gap: 12px; } }
.sh-citem { display: flex; gap: 12px; background: #fff; border-radius: 18px; padding: 10px; box-shadow: 0 6px 18px -12px rgba(49, 46, 129, .3); margin-bottom: 10px; align-items: center; }
.sh-citem .sh-th { width: 84px; height: 84px; border-radius: 14px; overflow: hidden; flex-shrink: 0; display: block; }
.sh-citem .sh-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sh-citem .sh-th .sh-noimg { font-size: 36px; }
.sh-citem .sh-ct { flex: 1; min-width: 0; }
.sh-citem .sh-ct > a { display: block; font-weight: 900; font-size: 14.5px; line-height: 1.25; color: var(--ink); text-decoration: none; }
.sh-rm { border: 0; background: none; color: var(--muted); font: inherit; font-weight: 800; font-size: 12.5px; padding: 4px 0; cursor: pointer; }
.sh-warn { color: #B45309; font-weight: 800; font-size: 12.5px; margin-top: 2px; }
.sh-sum { background: #fff; border-radius: 22px; box-shadow: var(--sh); padding: 18px; position: sticky; top: 84px; }
.sh-sum h2 { font-size: 20px; margin: 0 0 10px; }
.sh-srow { display: flex; justify-content: space-between; gap: 10px; font-weight: 800; padding: 5px 0; color: #334155; }
.sh-srow.tot { border-top: 1.5px dashed var(--line); margin-top: 6px; padding-top: 12px; font-size: 18px; color: var(--ink); }
.sh-srow.g { color: #16A34A; }
.sh-coupon { display: flex; gap: 6px; margin: 10px 0; }
.sh-coupon input { flex: 1; min-width: 0; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; font: inherit; font-weight: 800; text-transform: uppercase; }
.sh-coupon button { border: 0; border-radius: 12px; padding: 0 14px; background: var(--ink); color: #fff; font: inherit; font-weight: 900; cursor: pointer; }
.sh-cmsg { font-size: 12.5px; font-weight: 800; margin: -4px 0 6px; }
.sh-cmsg.bad { color: #B91C1C; } .sh-cmsg.ok { color: #15803D; }
.sh-go { width: 100%; padding: 15px; border-radius: 16px; border: 0; font: inherit; font-weight: 900; font-size: 16px; background: linear-gradient(135deg, var(--shop), var(--shop2)); color: #fff; box-shadow: 0 10px 20px -10px var(--shop); margin-top: 10px; cursor: pointer; display: block; text-align: center; text-decoration: none; }
.sh-go:disabled { opacity: .6; cursor: default; }
.sh-go.inline { display: inline-block; width: auto; padding: 12px 22px; }
.sh-safe { display: flex; gap: 6px; justify-content: center; color: var(--muted); font-weight: 800; font-size: 12px; margin-top: 10px; text-align: center; }
.sh-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sh-form label { display: flex; flex-direction: column; gap: 4px; font-weight: 800; font-size: 13px; color: #334155; }
.sh-form label.full { grid-column: 1 / -1; }
.sh-form input, .sh-form textarea { border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 12px; font: inherit; font-weight: 700; background: #fff; color: var(--ink); min-width: 0; }
.sh-form input:focus, .sh-form textarea:focus { outline: none; border-color: #A5B4FC; box-shadow: 0 0 0 3px #EEF2FF; }
.sh-form .chk { flex-direction: row; align-items: center; gap: 8px; }
.sh-form .chk input { width: 18px; height: 18px; }
@media (max-width: 480px) { .sh-form { grid-template-columns: 1fr; } }
.sh-payopt { display: flex; gap: 10px; align-items: flex-start; border: 2px solid var(--ink); border-radius: 16px; padding: 12px 14px; font-weight: 700; font-size: 14px; }
.sh-payopt.dis { border: 1.5px dashed var(--line); color: #94A3B8; margin-top: 8px; }
.sh-err { background: #FEF2F2; color: #B91C1C; border-radius: 12px; padding: 10px 12px; font-weight: 800; font-size: 13.5px; margin-top: 10px; }
.sh-ok { text-align: center; max-width: 560px; margin: 24px auto; background: #fff; border-radius: 28px; box-shadow: var(--sh); padding: 26px 20px; }
.sh-ok .big { font-size: 56px; }
.sh-ok h1 { font-size: 28px; margin: 6px 0; }
.sh-wa { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 16px; background: #25D366; color: #fff; font-weight: 900; text-decoration: none; border: 0; font-size: 16px; margin-top: 14px; box-shadow: 0 10px 20px -10px #25D366; }
.sh-steps { display: flex; justify-content: space-between; margin: 18px 0 6px; position: relative; text-align: center; }
.sh-steps::before { content: ''; position: absolute; left: 12%; right: 12%; top: 14px; height: 3px; background: #E2E8F0; }
.sh-steps div { position: relative; flex: 1; font-size: 11.5px; font-weight: 800; color: var(--muted); }
.sh-steps div b { display: grid; place-items: center; width: 30px; height: 30px; margin: 0 auto 4px; border-radius: 50%; background: #E2E8F0; font-size: 14px; }
.sh-steps div.on b { background: #16A34A; color: #fff; }
.sh-order { background: #fff; border-radius: 18px; box-shadow: 0 6px 18px -12px rgba(49, 46, 129, .3); padding: 14px 16px; margin-bottom: 12px; display: block; color: var(--ink); text-decoration: none; }
a.sh-order:hover { box-shadow: 0 12px 24px -14px rgba(49, 46, 129, .45); }
.sh-order-h { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-weight: 900; align-items: center; }
.sh-pill { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 900; white-space: nowrap; }
.sh-olines { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.sh-olines li { display: flex; gap: 10px; align-items: center; font-weight: 700; font-size: 14px; }
.sh-olines li span { flex: 1; min-width: 0; }
.sh-olines .sh-ratebtn { border: 0; background: #FEF3C7; color: #92400E; font: inherit; font-weight: 900; font-size: 12.5px; padding: 6px 10px; border-radius: 10px; cursor: pointer; white-space: nowrap; }
.sh-policy { max-width: 760px; }
.sh-policy .sh-box p { white-space: pre-line; }
.sh-foot-links { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 30px 0 10px; font-weight: 800; font-size: 13px; }
.sh-foot-links a { color: var(--muted); text-decoration: none; }
.sh-foot-links a:hover { color: var(--shop); }

/* ---------- floating cart + WhatsApp ---------- */
.sh-fab { position: fixed; bottom: 22px; z-index: 50; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 12px 24px -8px rgba(0, 0, 0, .35); transition: transform .2s; text-decoration: none; }
.sh-fab:hover { transform: scale(1.08); }
.sh-fab svg { width: 28px; height: 28px; }
.sh-fab-cart { left: 22px; background: #1E1B4B; color: #fff; box-shadow: 0 0 0 3px #fff, 0 12px 24px -8px rgba(0, 0, 0, .35); }   /* white ring: stays visible over the dark footer */
.sh-fab-wa { right: 22px; background: #25D366; color: #fff; }
.sh-badge { position: absolute; top: -3px; right: -3px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #E11D48; color: #fff; font-size: 12px; font-weight: 900; display: grid; place-items: center; border: 2.5px solid #fff; font-style: normal; }
.sh-badge[hidden] { display: none; }
.sh-fab-cart.bump { animation: shBump .45s; }
@keyframes shBump { 30% { transform: scale(1.25); } 60% { transform: scale(.92); } }
@media (max-width: 899px) {
  .sh-fab { width: 52px; height: 52px; bottom: calc(88px + env(safe-area-inset-bottom)); }
  .sh-fab-cart { left: 14px; } .sh-fab-wa { right: 14px; }
  body.sh-has-buy .sh-fab-cart { display: none; }
  body.sh-has-buy .sh-fab-wa { bottom: calc(152px + env(safe-area-inset-bottom)); }
}
.sh-toast { position: fixed; left: 50%; bottom: 110px; transform: translateX(-50%) translateY(20px); background: #1E1B4B; color: #fff; padding: 11px 18px; border-radius: 14px; font-weight: 800; font-size: 14px; opacity: 0; transition: .25s; z-index: 70; pointer-events: none; max-width: calc(100% - 32px); text-align: center; }
.sh-toast.show { opacity: 1; transform: translateX(-50%); }
.sh-pad-bottom { height: 90px; }
@media (prefers-reduced-motion: reduce) { .sh-card, .sh-fab, .sh-sheet { transition: none; } .sh-fab-cart.bump { animation: none; } }
.sh .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sh h1, .sh h2, .sh h3 { font-weight: 800; }
/* long tags never run under the "% off" badge */
.sh-pimg .sh-tags { max-width: calc(100% - 78px); }
.sh-pimg .sh-tag { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.sh-funnel { width: 18px; height: 18px; flex: none; }
.sh-sheet-h .sh-funnel { width: 22px; height: 22px; vertical-align: -3px; color: var(--shop); }
#shFBtn:has(.sh-badge:not([hidden])) { background: #FFF1F2; color: var(--shop); }

/* ---------- Reward Kits (products tagged ⚡ Spark / 🚀 Turbo, claimed with a Reward Key) ---------- */
.sh-kn { font-weight: 900; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; white-space: nowrap; }
.sh-kn.sp { background-image: linear-gradient(90deg, #EA580C, #F59E0B); }
.sh-kn.tb { background-image: linear-gradient(90deg, #7C3AED, #DB2777); }
.sh-kn.el { background-image: linear-gradient(90deg, #B45309, #CA8A04); }
.sh-rwallet { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 12px; font-weight: 900; font-size: 18px; text-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.sh-rwallet b { font-size: 25px; color: #FDE047; }
.sh-hero p.sh-rvalid { margin-top: 6px; font-size: 13.5px; font-weight: 800; text-shadow: 0 1px 6px rgba(0, 0, 0, .25); }
.sh-rlogin { border: 0; background: #fff; color: var(--ink); font: inherit; font-weight: 900; padding: 4px 12px; border-radius: 999px; cursor: pointer; }
.sh-chip.sh-chip-new { position: relative; }
.sh-chip.sh-chip-new::after { content: 'NEW'; position: absolute; top: -7px; right: -4px; font-size: 9px; font-weight: 900; background: #EF4444; color: #fff; padding: 1px 5px; border-radius: 6px; }
.sh-le { background: #fff; border: 2px solid #FDE68A; border-radius: 22px; padding: 14px 16px 16px; margin: 6px 0 12px; box-shadow: var(--sh); }
.sh-le h2 { margin: 0 0 10px; font-size: 23px; }
.sh-le-one { display: flex; align-items: center; gap: 12px; background: #F8FAFC; border: 1.5px solid #E2E8F0; border-radius: 16px; padding: 12px 14px; }
.sh-le-one p { margin: 0; flex: 1; font-weight: 900; font-size: 16.5px; line-height: 1.6; }
.sh-le-one .sh-go { flex: none; }
.sh-le-i { width: 46px; height: 46px; border-radius: 14px; background: #FEF3C7; display: grid; place-items: center; font-size: 24px; flex: none; }
.sh-le-t { margin: 14px 0 0 !important; font-size: 23px; } .sh-le-t span { color: #059669; }
.sh-inote { display: flex; gap: 10px; align-items: center; background: #FFFBEB; border: 1.5px solid #FDE68A; color: #92400E; border-radius: 16px; padding: 10px 14px; font-weight: 800; font-size: 14px; margin-bottom: 10px; }
.sh-inote > span:first-child { font-size: 22px; }
.sh-rwb { position: absolute; left: 8px; bottom: 8px; font-size: 10.5px; font-weight: 900; color: #fff; padding: 4px 8px; border-radius: 8px; background: linear-gradient(135deg, #F59E0B, #F97316); box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .4); }
.sh-rwb.tb { background: linear-gradient(135deg, #8B5CF6, #EC4899); }
.sh-dg { font-size: 12.5px; font-weight: 900; color: #4338CA; margin: 2px 0 4px; } .sh-dg small { color: var(--muted); }
.sh-rwl { display: block; width: 100%; margin-top: 7px; border: 0; background: #FEF3C7; color: #92400E; font: inherit; font-weight: 900; font-size: 11.5px; padding: 6px 8px; border-radius: 10px; cursor: pointer; text-align: left; }
.sh-rwl.tb { background: #F3E8FF; color: #6B21A8; }
.sh-rwrow { display: flex; gap: 6px; margin-top: 8px; }
.sh-rwrow > * { flex: 1 1 0; min-width: 0; min-height: 44px; border-radius: 12px; font: inherit; font-weight: 900; font-size: 12.5px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 3px; text-decoration: none; white-space: nowrap; padding: 6px 3px; }
.sh-claim { border: 0; color: #fff; }
.sh-claim.ready, .sh-claim.done { background: linear-gradient(135deg, #10B981, #22C55E); box-shadow: 0 8px 16px -10px #10B981; }
.sh-claim.locked { color: #451A03; background: linear-gradient(135deg, #FDE68A, #FDBA74); }
.sh-claim.locked.tb { color: #3B0764; background: linear-gradient(135deg, #DDD6FE, #F5D0FE); }
.sh-claim .lk { display: inline-block; animation: shWob 2.4s infinite; }
@keyframes shWob { 0%, 80%, 100% { transform: rotate(0); } 86% { transform: rotate(-14deg); } 92% { transform: rotate(12deg); } }
.sh-buyat { border: 2px solid #FDA4AF; background: #fff; color: var(--shop); }
.sh-buyat:disabled { opacity: .55; cursor: default; }
@media (max-width: 599px) {
  .sh-rwrow { gap: 4px; }
  .sh-rwrow > * { flex-direction: column; gap: 0; padding: 4px 2px; border-radius: 10px; line-height: 1.1; }
  .sh-rwrow .l1 { font-size: 10.5px; font-weight: 800; } .sh-rwrow .l2 { font-size: 13px; }
  .sh-le-one { flex-wrap: wrap; } .sh-le-one p { font-size: 15px; flex-basis: calc(100% - 60px); } .sh-le-one .sh-go { width: 100%; text-align: center; }
  .sh-le h2, .sh-le-t { font-size: 20px !important; }
}
.sh-grp { grid-column: 1 / -1; display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 18px; color: #fff; margin-top: 6px; background: linear-gradient(135deg, #F59E0B, #F97316 60%, #EF4444); }
.sh-grp.tb { background: linear-gradient(135deg, #7C3AED, #A855F7 50%, #EC4899); }
.sh-grp .gi { font-size: 30px; } .sh-grp h3 { margin: 0; font-size: 22px; color: #fff; }
.sh-grp p { margin: 2px 0 0; font-weight: 800; font-size: 13.5px; opacity: .95; }
.sh-grp .need { display: block; margin-top: 4px; font-weight: 900; font-size: 13.5px; text-shadow: 0 1px 6px rgba(0, 0, 0, .25); }
/* popup */
.sh-rwsheet { width: min(600px, 100%); }
.sh-rwsub { font-weight: 800; color: var(--muted); margin: 8px 0 10px; line-height: 1.55; }
.sh-rwh { margin: 14px 0 4px; font-size: 18px; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; } .sh-rwh small { font-size: 12px; color: var(--muted); }
.sh-rwnote { margin: 0 0 6px; font-weight: 800; font-size: 13.5px; line-height: 1.7; }
.sh-rwmore { margin: 4px 0 0; font-weight: 800; font-size: 12.5px; color: var(--muted); }
.sh-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sh-steps li { display: flex; gap: 10px; align-items: flex-start; background: #F8FAFC; border: 1.5px solid #E2E8F0; border-radius: 14px; padding: 8px 10px; }
.sh-steps li.ok { background: #ECFDF5; border-color: #A7F3D0; } .sh-steps li.now { background: #FFF7ED; border-color: #FDBA74; }
.sh-steps .n { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #E0E7FF; color: #4338CA; display: grid; place-items: center; font-weight: 900; font-size: 13px; }
.sh-steps li.ok .n { background: #10B981; color: #fff; } .sh-steps li.now .n { background: #F97316; color: #fff; }
.sh-steps li > div { flex: 1; min-width: 0; } .sh-steps b { font-size: 14.5px; } .sh-steps small { display: block; color: var(--muted); font-weight: 700; font-size: 12.5px; margin-top: 2px; }
.sh-bar { height: 9px; background: #E2E8F0; border-radius: 99px; overflow: hidden; margin: 5px 0 3px; }
.sh-bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #F59E0B, #F97316); transition: width .7s; }
.sh-bar i.tb { background: linear-gradient(90deg, #8B5CF6, #EC4899); }
.sh-rwlist { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; } .sh-rwlist li { background: #F8FAFC; border: 1.5px solid #E2E8F0; border-radius: 12px; padding: 7px 10px; font-weight: 800; font-size: 13.5px; }
.sh-proc { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.sh-proc li { background: #F0FDF4; border: 1.5px solid #BBF7D0; border-radius: 12px; padding: 8px 10px; font-weight: 800; font-size: 14px; } .sh-proc small { color: var(--muted); }
.sh-rwexp { margin: 10px 0 0; font-weight: 800; font-size: 13px; color: #92400E; background: #FFFBEB; border: 1.5px solid #FDE68A; border-radius: 12px; padding: 7px 10px; }
.sh-rwgot { background: #EEF2FF; border-radius: 14px; padding: 10px 12px; font-weight: 800; } .sh-rwgot small { color: var(--muted); }
.sh-codes { display: flex; flex-wrap: wrap; gap: 6px; } .sh-codes code { font: 900 15px ui-monospace, monospace; background: #F1F5F9; border: 1.5px dashed #94A3B8; border-radius: 10px; padding: 6px 10px; letter-spacing: .05em; }
.sh-sheet-f a.sh-apply, .sh-sheet-f a.sh-clr { flex: 1; padding: 13px; border-radius: 14px; font-weight: 900; font-size: 15px; text-align: center; text-decoration: none; }
.sh-sheet-f a.sh-apply { background: var(--shop); color: #fff; }
/* key roads */
.sh-kt { text-align: center; margin: 34px 0 14px; } .sh-kt h2 { margin: 6px 0 0; font-size: clamp(24px, 4vw, 32px); }
.sh-kick { display: inline-block; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 99px; background: #EDE9FE; color: #6D28D9; }
.sh-path { background: #fff; border-radius: 22px; padding: 14px 0 6px; margin-bottom: 14px; border: 1.5px solid #E0E7FF; box-shadow: var(--sh); overflow: hidden; }
.sh-path-top { display: flex; align-items: center; gap: 10px; padding: 0 16px; flex-wrap: wrap; }
.sh-path-top h3 { margin: 0; font-size: 21px; flex: 1; } .sh-path-top .nx { font-size: 12.5px; font-weight: 900; background: #F5F3FF; color: #6D28D9; padding: 5px 10px; border-radius: 10px; }
.sh-path-ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; font-size: 22px; background: linear-gradient(135deg, #DBEAFE, #EDE9FE); }
.sh-road-scroll { overflow-x: auto; padding: 4px 16px; -webkit-overflow-scrolling: touch; }
.sh-road { position: relative; height: 200px; min-width: 900px; }
.sh-road svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sh-node { position: absolute; transform: translate(-50%, -50%); width: 104px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.sh-node .dot { position: relative; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; border: 4px solid #fff; box-shadow: 0 8px 18px -8px rgba(30, 27, 75, .5); background: linear-gradient(135deg, #FDE68A, #FB923C); }
.sh-node.tb .dot { width: 64px; height: 64px; background: linear-gradient(135deg, #C4B5FD, #EC4899); }
.sh-node:not(.done):not(.next):not(.start) .dot { filter: grayscale(1); opacity: .55; }
.sh-node.next .dot { outline: 3px dashed #7C3AED; outline-offset: 4px; }
.sh-node.start .dot { background: linear-gradient(135deg, #A7F3D0, #34D399); }
.sh-node .dot i { position: absolute; right: -6px; bottom: -4px; width: 22px; height: 22px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 11px; font-style: normal; box-shadow: 0 3px 8px rgba(0, 0, 0, .2); }
.sh-node.done .dot i { background: #10B981; color: #fff; font-weight: 900; }
.sh-node .lbl { margin-top: 4px; font-weight: 900; font-size: 13px; } .sh-node .tier { font-size: 10px; font-weight: 900; color: #B45309; } .sh-node.tb .tier { color: #7E22CE; }
.sh-node .nxt { position: absolute; top: -24px; font-size: 10px; font-weight: 900; background: #7C3AED; color: #fff; padding: 2px 8px; border-radius: 99px; }
.sh-you { position: absolute; transform: translate(-50%, -260%); font-size: 11px; font-weight: 900; background: var(--ink); color: #fff; padding: 3px 9px; border-radius: 99px; white-space: nowrap; z-index: 2; }
.sh-claimed { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; } .sh-claimed li { background: #F8FAFC; border-radius: 12px; padding: 8px 10px; font-weight: 800; font-size: 13.5px; } .sh-claimed small { color: var(--muted); word-break: break-word; }
/* product page + cart */
.sh-rwbox { margin: 12px 0 4px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; border-radius: 16px; padding: 12px 14px; background: #FFF7ED; border: 2px solid #FDBA74; }
.sh-rwbox.tb { background: #FAF5FF; border-color: #D8B4FE; }
.sh-rwbox > b { font-size: 16px; } .sh-rwbox > span { font-weight: 700; font-size: 13.5px; flex: 1 1 220px; }
.sh-rwbtn { border: 0; border-radius: 12px; padding: 11px 16px; font: inherit; font-weight: 900; color: #fff; background: linear-gradient(135deg, #10B981, #22C55E); cursor: pointer; min-height: 44px; }
.sh-crw { background: linear-gradient(90deg, #FFFBEB, #fff 40%); }
.sh-rwtag { font-weight: 900; color: #B45309; } .sh-rwtag.tb { color: #7E22CE; }
@media (prefers-reduced-motion: reduce) { .sh-claim .lk { animation: none; } }
.sh-rwrow > .sh-claim { flex-grow: 1.25; }
