/* tamPrime theme — base styles */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }
body { margin: 0; background: var(--tp-bg); color: var(--tp-ink); font-family: var(--tp-font); font-weight: var(--tp-font-weight);
  font-size: calc(16px * var(--tp-font-scale)); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--tp-brand); text-decoration: none; }
a:hover { color: var(--tp-brand-dark); }
h1, h2, h3, h4, h5 { font-family: var(--tp-heading-font); font-weight: var(--tp-heading-weight); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--tp-ink); }
h1 { font-size: clamp(28px, 3vw, 44px); }
h2 { font-size: clamp(22px, 2.2vw, 32px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #7aa2ff; outline-offset: 2px; }
.tp-vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tp-skip { position: absolute; left: -9999px; top: 8px; z-index: 999; padding: 10px 16px; background: #fff; border-radius: 8px; }
.tp-skip:focus { left: 8px; }
.tp-content:focus { outline: 0; }
.tp-wrap { max-width: var(--tp-page); margin: 0 auto; padding: 0 20px; box-sizing: content-box; }
@media (min-width: 1441px) { .tp-wrap { padding: 0; } }
.tp-section { margin: 40px auto; }
.tp-icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* buttons */
.tp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: var(--tp-btn-radius);
  border: 0; background: var(--tp-brand); color: #fff; font-weight: 700; font-size: 15.5px; text-decoration: none; transition: background .15s, transform .15s; }
.tp-btn:hover { background: var(--tp-brand-dark); color: #fff; }
.tp-btn.is-ghost { background: #fff; color: var(--tp-brand-dark); border: 1.5px solid #c5d2ee; }
.tp-btn.is-ghost:hover { border-color: var(--tp-brand-dark); }
.tp-btn.is-block { width: 100%; }
.tp-btn[disabled] { opacity: .5; cursor: not-allowed; }
.tp-link { font-weight: 700; color: var(--tp-brand); }

/* announcement + header */
.tp-announce { background: var(--tp-soft); color: var(--tp-ink); font-size: 13.5px; }
.tp-announce .tp-wrap { display: flex; gap: 28px; justify-content: center; align-items: center; min-height: 36px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.tp-announce .tp-wrap::-webkit-scrollbar { display: none; }
.tp-announce b { color: var(--tp-brand-dark); }
.tp-announce svg { width: 14px; height: 14px; color: var(--tp-brand); display: inline-block; vertical-align: -2px; margin-right: 6px; }
.tp-header { position: sticky; top: 0; z-index: 100; background: var(--tp-header-bg); color: var(--tp-header-ink); box-shadow: 0 6px 20px rgba(13,47,134,.18); }
.tp-header a { color: inherit; }
.tp-head-row { display: flex; align-items: center; gap: 14px; min-height: 74px; }
.tp-logo { display: flex; align-items: center; flex: none; font-weight: 800; font-size: 25px; letter-spacing: -.03em; color: inherit !important; }
.tp-logo img { height: auto; }
.tp-cat-btn { display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 16px 0 14px; border-radius: 99px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.1); color: #fff; font-weight: 700; font-size: 14.5px; flex: none; transition: background .15s; }
.tp-cat-btn:hover { background: rgba(255,255,255,.2); color: #fff; }
.tp-cat-btn svg { width: 18px; height: 18px; }

/* search */
.tp-search { position: relative; flex: 1; min-width: 0; max-width: 760px; margin: 0 auto; }
.tp-search input { width: 100%; height: 48px; border: 2px solid transparent; border-radius: 14px; padding: 0 92px 0 44px; background: #fff; color: var(--tp-ink); font-size: 15.5px; box-shadow: inset 0 1px 2px rgba(15,28,63,.08); transition: box-shadow .15s, border-color .15s; }
.tp-search input::placeholder { color: #7b86a3; }
.tp-search input::-webkit-search-cancel-button, .tp-search input::-webkit-search-decoration { -webkit-appearance: none; display: none; }
.tp-search input:focus { outline: 0; border-color: #7aa2ff; box-shadow: 0 0 0 4px rgba(122,162,255,.3), 0 14px 34px rgba(15,28,63,.22); }
.tp-search-ico { position: absolute; left: 14px; top: 13px; color: #7b86a3; pointer-events: none; }
.tp-search-ico svg { width: 21px; height: 21px; }
.tp-search-kbd { position: absolute; right: 54px; top: 13px; height: 22px; min-width: 22px; padding: 0 6px; border-radius: 6px; border: 1px solid #d6ddef; background: #f3f6fd; color: #7b86a3; font: 600 12px/20px var(--tp-font); text-align: center; pointer-events: none; }
.tp-search.is-focus .tp-search-kbd, .tp-search input:not(:placeholder-shown) ~ .tp-search-kbd { display: none; }
.tp-search-clear { position: absolute; right: 48px; top: 8px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: #eef2fb; color: var(--tp-sub); display: grid; place-items: center; padding: 0; }
.tp-search-clear[hidden] { display: none; }
.tp-search-clear svg { width: 16px; height: 16px; }
.tp-search-clear:hover { background: #dfe6f7; color: var(--tp-ink); }
.tp-search-go { position: absolute; right: 5px; top: 5px; width: 38px; height: 38px; border: 0; border-radius: 10px; background: var(--tp-brand); color: #fff; display: grid; place-items: center; padding: 0; transition: background .15s; }
.tp-search-go:hover { background: #2f6bff; }
.tp-search-go svg { width: 20px; height: 20px; }
.tp-predict { position: absolute; left: 0; right: 0; top: calc(100% + 10px); background: #fff; color: var(--tp-ink); border-radius: 18px; box-shadow: 0 24px 60px rgba(15,28,63,.28), 0 0 0 1px rgba(15,28,63,.06); padding: 6px; display: none; max-height: min(72vh, 640px); overflow: auto; overscroll-behavior: contain; z-index: 5; }
.tp-predict.is-open { display: block; animation: tp-pop .14s ease-out; }
@keyframes tp-pop { from { opacity: 0; transform: translateY(-4px); } }
.tp-pgroup { padding: 6px 6px 4px; }
.tp-pgroup + .tp-pgroup { border-top: 1px solid var(--tp-line); }
.tp-ptitle { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--tp-sub); padding: 6px 8px 8px; }
.tp-pclear { border: 0; background: none; color: var(--tp-brand); font-weight: 700; font-size: 12.5px; text-transform: none; letter-spacing: 0; padding: 0; }
.tp-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 6px 8px; }
.tp-chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 13px; border-radius: 99px; background: var(--tp-soft); color: var(--tp-ink) !important; font-weight: 600; font-size: 14px; border: 1px solid transparent; }
.tp-chip.is-hot::before { content: "↗"; color: var(--tp-sale); font-weight: 800; }
.tp-chip.is-recent::before { content: "↺"; color: var(--tp-sub); }
.tp-chip.is-col { background: #e8efff; }
.tp-chip em { font-style: normal; color: var(--tp-sub); font-weight: 600; font-size: 12.5px; }
.tp-chip:hover, .tp-chip[aria-selected="true"] { border-color: var(--tp-brand); background: #e8efff; }
.tp-pr { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; color: var(--tp-ink) !important; }
.tp-pr.is-page { grid-template-columns: 1fr; }
.tp-pr:hover, .tp-pr[aria-selected="true"] { background: var(--tp-soft); }
.tp-pr[aria-selected="true"] { box-shadow: inset 0 0 0 2px #7aa2ff; }
.tp-pr img, .tp-pr-noimg { width: 52px; height: 52px; object-fit: contain; border-radius: 10px; background: #fff; border: 1px solid var(--tp-line); }
.tp-pr-main { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tp-pr-main b { font-size: 14.5px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tp-pr-main small { font-size: 12.5px; color: var(--tp-sub); }
.tp-pr mark { background: none; color: var(--tp-brand); font-weight: 800; }
.tp-pr-price { display: flex; flex-direction: column; align-items: flex-end; font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums; }
.tp-pr-price small { font-weight: 600; color: var(--tp-sub); font-size: 11.5px; }
.tp-pr-price s { font-weight: 500; font-size: 12.5px; color: var(--tp-sub); }
.tp-pr-price i { font-style: normal; font-size: 11.5px; color: #fff; background: var(--tp-sale); border-radius: 6px; padding: 1px 6px; margin-top: 2px; }
.tp-pnone { padding: 18px 14px; display: grid; gap: 4px; }
.tp-pnone span { color: var(--tp-sub); font-size: 14px; }
.tp-pfoot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px 8px; border-top: 1px solid var(--tp-line); margin-top: 4px; }
.tp-predict-all { font-weight: 800; color: var(--tp-brand) !important; font-size: 14.5px; padding: 6px 8px; border-radius: 10px; }
.tp-predict-all:hover, .tp-predict-all[aria-selected="true"] { background: var(--tp-soft); }
.tp-pkeys { font-size: 12px; color: var(--tp-sub); white-space: nowrap; }
.tp-pkeys kbd { display: inline-block; min-width: 18px; padding: 0 4px; border-radius: 5px; border: 1px solid #d6ddef; background: #f3f6fd; font: 600 11px/18px var(--tp-font); text-align: center; margin-right: 2px; }

.tp-head-icons { display: flex; align-items: center; gap: 4px; flex: none; }
.tp-head-icons a, .tp-head-icons button { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 10px; border: 0; border-radius: 12px; background: none; color: inherit; font-weight: 600; font-size: 14.5px; }
.tp-head-icons a:hover, .tp-head-icons button:hover { background: rgba(255,255,255,.12); }
.tp-head-icons svg { width: 24px; height: 24px; }
.tp-count { position: absolute; top: 3px; left: 24px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: #ff3d6e; color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--tp-header-bg); }
.tp-count:empty, .tp-count[data-count="0"] { display: none; }
.tp-nav { background: #fff; border-bottom: 1px solid var(--tp-line); color: var(--tp-ink); }
.tp-nav-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.tp-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; align-items: center; }
.tp-nav ul::-webkit-scrollbar { display: none; }
.tp-nav a { display: inline-flex; align-items: center; gap: 6px; padding: 12px 12px; color: var(--tp-ink); font-weight: 600; font-size: 14.5px; white-space: nowrap; border-bottom: 2px solid transparent; }
.tp-nav a:hover, .tp-nav a[aria-current="page"] { border-bottom-color: var(--tp-brand); color: var(--tp-ink); }
.tp-nav a svg { width: 18px; height: 18px; color: var(--tp-brand); }
.tp-nav-right { flex: none; }
.tp-nav-hot { color: var(--tp-sale) !important; font-weight: 800 !important; }
.tp-nav-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tp-sale); box-shadow: 0 0 0 0 rgba(212,32,44,.5); animation: tp-pulse 1.8s infinite; }
@keyframes tp-pulse { 70% { box-shadow: 0 0 0 7px rgba(212,32,44,0); } 100% { box-shadow: 0 0 0 0 rgba(212,32,44,0); } }
.tp-nav-hours { display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; color: var(--tp-sub); font-size: 13.5px; white-space: nowrap; }
.tp-nav-hours svg { width: 16px; height: 16px; }
.tp-menu-btn { display: none !important; }

/* drawer */
.tp-drawer { position: fixed; inset: 0; z-index: 300; visibility: hidden; }
.tp-drawer.is-open { visibility: visible; }
.tp-drawer-bg { position: absolute; inset: 0; background: rgba(10,15,40,.5); opacity: 0; transition: opacity .2s; }
.tp-drawer.is-open .tp-drawer-bg { opacity: 1; }
.tp-drawer-panel { position: absolute; left: 0; top: 0; bottom: 0; width: min(88vw, 380px); background: #fff; color: var(--tp-ink); transform: translateX(-100%); transition: transform .25s; display: flex; flex-direction: column; overflow: auto; }
.tp-drawer.is-open .tp-drawer-panel { transform: none; }
.tp-drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--tp-line); font-weight: 800; font-size: 18px; }
.tp-drawer-head button { width: 40px; height: 40px; border: 0; background: var(--tp-soft); border-radius: 50%; display: grid; place-items: center; }
.tp-drawer ul { list-style: none; margin: 0; padding: 8px 0; }
.tp-drawer li a { display: flex; align-items: center; gap: 8px; padding: 13px 20px; color: var(--tp-ink); font-weight: 600; font-size: 16px; }
.tp-drawer li ul { padding: 0; }
.tp-drawer li ul a { padding-left: 36px; font-weight: 500; font-size: 15px; color: var(--tp-sub); }
.tp-drawer-store { margin: 8px 18px; padding: 14px 16px; border-radius: 14px; background: var(--tp-soft); display: grid; gap: 3px; font-size: 14px; color: var(--tp-sub); }
.tp-drawer-store b { color: var(--tp-ink); }
.tp-drawer-foot { margin-top: auto; padding: 18px; display: grid; gap: 10px; border-top: 1px solid var(--tp-line); }

/* phone bottom bar + back to top */
.tp-mbar { display: none; }
.tp-totop { position: fixed; right: 18px; bottom: 22px; z-index: 90; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--tp-ink); box-shadow: 0 10px 28px rgba(15,28,63,.25), 0 0 0 1px rgba(15,28,63,.06); display: grid; place-items: center; padding: 0; transition: transform .15s; }
.tp-totop:hover { transform: translateY(-2px); }
.tp-totop[hidden] { display: none; }
.tp-totop svg { width: 22px; height: 22px; }

@media (max-width: 1000px) {
  .tp-head-row { flex-wrap: wrap; gap: 10px; min-height: 0; padding: 10px 0; }
  .tp-menu-btn { display: inline-flex !important; }
  .tp-cat-btn, .tp-head-label, .tp-head-track, .tp-search-kbd, .tp-pkeys { display: none !important; }
  .tp-logo { flex: 1; font-size: 22px; }
  .tp-search { order: 5; flex-basis: 100%; max-width: none; }
  .tp-search input { height: 44px; padding-left: 40px; padding-right: 86px; }
  .tp-search-ico { top: 11px; left: 12px; }
  .tp-search-clear { top: 6px; } .tp-search-go { top: 3px; }
  .tp-predict { max-height: 62vh; border-radius: 16px; padding: 4px; }
  .tp-nav { display: none; }
  .tp-mbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--tp-line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .tp-mbar a, .tp-mbar button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 4px 0; border: 0; background: none; color: var(--tp-sub); font-size: 11px; font-weight: 600; border-radius: 10px; }
  .tp-mbar a[aria-current="page"] { color: var(--tp-brand); }
  .tp-mbar svg { width: 24px; height: 24px; }
  .tp-mbar .tp-count { left: calc(50% + 2px); top: 0; box-shadow: 0 0 0 2px #fff; }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .tp-totop { bottom: calc(80px + env(safe-area-inset-bottom)); right: 12px; width: 42px; height: 42px; }
  .tp-toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
}

/* product cards + grids */
.tp-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr)); gap: 26px 18px; }
.tp-row { list-style: none; margin: 0; padding: 4px 2px 10px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--cols, 5) - 1) * 18px) / var(--cols, 5)); gap: 18px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.tp-row::-webkit-scrollbar { display: none; }
.tp-card { display: flex; flex-direction: column; min-width: 0; scroll-snap-align: start; }
.tp-card-img { position: relative; display: block; aspect-ratio: 1; border-radius: var(--tp-radius); overflow: hidden; background: #fff; border: 1px solid var(--tp-line); }
.tp-card-img img { width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: transform .3s; }
.tp-card:hover .tp-card-img img { transform: scale(1.04); }
.tp-card.is-out .tp-card-img img { opacity: .45; }
.tp-off { position: absolute; left: 10px; top: 10px; padding: 4px 8px; border-radius: 8px; background: var(--tp-sale); color: #fff; font-size: 12.5px; font-weight: 800; }
.tp-card-body { display: flex; flex-direction: column; gap: 3px; padding: 12px 2px 0; flex: 1; }
.tp-card-brand { font-size: 12.5px; color: var(--tp-sub); }
.tp-card-name { color: var(--tp-ink) !important; font-size: 14.5px; line-height: 1.35; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.tp-card-name:hover { color: var(--tp-brand) !important; text-decoration: underline; }
.tp-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tp-price-now { font-size: 21px; font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.tp-price-now small { font-size: 13px; font-weight: 600; color: var(--tp-sub); }
.tp-price s { color: var(--tp-sub); font-size: 14px; }
.tp-save { font-size: 13px; font-weight: 700; color: var(--tp-sale); }
.tp-stock { font-size: 13px; color: var(--tp-ok); }
.tp-stock b { color: #b45309; }
.tp-card.is-out .tp-stock { color: var(--tp-sub); }
.tp-card-add { margin-top: auto; position: relative; top: 10px; height: 42px; border-radius: var(--tp-btn-radius); border: 0; background: var(--tp-brand); color: #fff !important; font-weight: 700; font-size: 14.5px; display: flex; align-items: center; justify-content: center; }
.tp-card-add:hover { background: var(--tp-brand-dark); }
.tp-card-add.is-alt { background: #fff; color: var(--tp-brand-dark) !important; border: 1.5px solid #c5d2ee; }
.tp-card-add.is-done { background: var(--tp-ok); }
.tp-card-body { padding-bottom: 10px; }
.tp-head-line { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.tp-head-line h2 { margin: 0; }
@media (max-width: 1000px) {
  .tp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .tp-row { grid-auto-columns: 46%; gap: 12px; }
  .tp-price-now { font-size: 18px; }
}

/* product page */
.tp-pdp { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 44px; align-items: start; margin-top: 24px; }
.tp-gallery { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; position: sticky; top: 140px; }
.tp-gallery.is-single { grid-template-columns: minmax(0, 1fr); }
.tp-thumbs { display: flex; flex-direction: column; gap: 10px; max-height: 620px; overflow: auto; scrollbar-width: none; }
.tp-thumbs button { width: 76px; height: 76px; padding: 4px; border-radius: 12px; border: 1.5px solid var(--tp-line); background: #fff; }
.tp-thumbs button[aria-current="true"] { border-color: var(--tp-brand); }
.tp-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.tp-stage { position: relative; aspect-ratio: 1; border-radius: calc(var(--tp-radius) + 6px); overflow: hidden; background: #fff; border: 1px solid var(--tp-line); }
.tp-stage > * { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .2s; pointer-events: none; }
.tp-stage > .is-on { opacity: 1; pointer-events: auto; }
.tp-stage img { object-fit: contain; padding: 4%; }
.tp-stage video, .tp-stage iframe { object-fit: contain; background: #000; }
.tp-buy { background: var(--tp-soft); border: 1px solid var(--tp-line); border-radius: calc(var(--tp-radius) + 4px); padding: 26px 28px; position: sticky; top: 140px; }
.tp-buy-brand { font-size: 14px; font-weight: 600; color: var(--tp-sub); }
.tp-buy h1 { font-size: clamp(22px, 1.6vw, 28px); line-height: 1.25; margin: 4px 0 12px; }
.tp-buy .tp-price-now { font-size: 34px; }
.tp-buy .tp-price s { font-size: 18px; }
.tp-option { border: 0; margin: 18px 0 0; padding: 0; }
.tp-option legend { font-weight: 700; font-size: 14.5px; margin-bottom: 8px; padding: 0; }
.tp-option legend span { font-weight: 500; color: var(--tp-sub); }
.tp-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.tp-swatches input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tp-swatches label { min-width: 48px; min-height: 42px; padding: 8px 14px; border-radius: 12px; border: 1.5px solid var(--tp-line); background: #fff; font-weight: 600; font-size: 14px; display: grid; place-items: center; cursor: pointer; }
.tp-swatches input:checked + label { border-color: var(--tp-brand); box-shadow: 0 0 0 1px var(--tp-brand); }
.tp-swatches input.is-gone + label { color: var(--tp-sub); text-decoration: line-through; }
.tp-swatches input:focus-visible + label { outline: 3px solid #7aa2ff; outline-offset: 2px; }
.tp-qty-row { display: flex; gap: 10px; margin-top: 20px; }
.tp-qty { display: inline-flex; align-items: center; border: 1.5px solid var(--tp-line); border-radius: var(--tp-btn-radius); background: #fff; height: 54px; flex: none; }
.tp-qty button { width: 44px; height: 50px; border: 0; background: none; font-size: 20px; font-weight: 600; }
.tp-qty input { width: 40px; border: 0; text-align: center; font-weight: 700; background: none; -moz-appearance: textfield; }
.tp-qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.tp-qty-row .tp-btn { flex: 1; min-height: 54px; font-size: 16.5px; }
.tp-dynamic { margin-top: 10px; }
.tp-dynamic .shopify-payment-button__button { border-radius: var(--tp-btn-radius) !important; min-height: 50px; }
.tp-buy-notes { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--tp-line); display: grid; gap: 10px; font-size: 14.5px; }
.tp-buy-notes li { display: flex; gap: 10px; align-items: flex-start; }
.tp-buy-notes svg { width: 20px; height: 20px; color: var(--tp-brand); }
.tp-desc { margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--tp-line); }
.tp-rte { font-size: 16px; line-height: 1.7; }
.tp-rte > * { max-width: 920px; }
.tp-rte.is-wide > * { max-width: none; }
.tp-desc .tp-rte ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; row-gap: 4px; max-width: 1000px; padding-left: 20px; }
.tp-rte img { border-radius: 12px; margin: 10px 0; }
.tp-rte li { margin: 0 0 4px; }
.tp-rte li > p { margin: 0; }
.tp-rte h2, .tp-rte h3, .tp-rte h4 { margin: 1.2em 0 .5em; }
.tp-rte table { border-collapse: collapse; width: 100%; max-width: 920px; }
.tp-rte td, .tp-rte th { border: 1px solid var(--tp-line); padding: 8px 12px; text-align: left; }
@media (max-width: 1000px) {
  .tp-pdp { grid-template-columns: 1fr; gap: 20px; margin-top: 12px; }
  .tp-gallery { position: static; grid-template-columns: 1fr; }
  .tp-thumbs { order: 2; flex-direction: row; max-height: none; overflow-x: auto; }
  .tp-thumbs button { width: 62px; height: 62px; flex: none; }
  .tp-buy { position: static; padding: 20px; }
  .tp-buy .tp-price-now { font-size: 28px; }
  .tp-desc .tp-rte ul { grid-template-columns: 1fr; }
}

/* generic content */
.tp-page { max-width: 920px; }
.tp-breadcrumbs { font-size: 13.5px; color: var(--tp-sub); margin: 18px 0 0; }
.tp-breadcrumbs a { color: var(--tp-sub); }
.tp-banner { position: relative; border-radius: calc(var(--tp-radius) + 8px); overflow: hidden; min-height: 320px; display: grid; align-items: center; color: #fff; isolation: isolate;
  background: radial-gradient(120% 140% at 0 0, var(--tp-brand) 0%, var(--tp-accent) 75%); }
.tp-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.tp-banner::after { content: ""; position: absolute; inset: 0; background: rgba(10,15,50,var(--shade, 0)); z-index: -1; }
.tp-banner-copy { padding: 44px 50px; max-width: 640px; }
.tp-banner h2 { color: inherit; font-size: clamp(30px, 3.4vw, 52px); }
.tp-banner .tp-btn { background: #fff; color: var(--tp-brand) !important; }
.tp-rich { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.tp-usp { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 12px; }
.tp-usp div { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: var(--tp-radius); background: var(--tp-soft); font-size: 14px; color: var(--tp-sub); line-height: 1.4; }
.tp-usp svg { width: 26px; height: 26px; color: var(--tp-brand); }
.tp-usp b { display: block; color: var(--tp-ink); font-size: 15px; }
.tp-collections { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.tp-collections a { display: block; color: var(--tp-ink); font-weight: 700; }
.tp-collections .tp-card-img { margin-bottom: 10px; }
.tp-empty { text-align: center; padding: 60px 20px; color: var(--tp-sub); }
.tp-pagination { display: flex; gap: 6px; justify-content: center; margin: 36px 0; font-weight: 700; }
.tp-pagination a, .tp-pagination span { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; padding: 0 10px; }
.tp-pagination a { background: var(--tp-soft); }
.tp-pagination .current { background: var(--tp-ink); color: #fff; }
.tp-field { display: block; margin-bottom: 12px; }
.tp-field span { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.tp-input, .tp-field input, .tp-field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--tp-line); border-radius: 12px; background: #fff; font-size: 15px; }
.tp-input:focus, .tp-field input:focus, .tp-field textarea:focus { border-color: var(--tp-brand); outline: 0; }
.tp-note-ok { padding: 12px 14px; border-radius: 12px; background: #e3f6ec; color: var(--tp-ok); font-weight: 600; }
.tp-note-err { padding: 12px 14px; border-radius: 12px; background: #fff1f3; color: var(--tp-sale); font-weight: 600; }
.tp-articles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; }
.tp-articles img { border-radius: var(--tp-radius); aspect-ratio: 16/10; object-fit: cover; width: 100%; margin-bottom: 12px; }
.tp-articles h3 a { color: var(--tp-ink); }
@media (max-width: 1000px) {
  .tp-usp { grid-template-columns: 1fr; }
  .tp-articles { grid-template-columns: 1fr; }
  .tp-banner-copy { padding: 28px 22px; }
}

/* section headings shared by the home sections */
.tp-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--tp-brand); margin-bottom: 6px; }
.tp-eyebrow svg { width: 16px; height: 16px; }
.tp-sub { margin: 4px 0 0; color: var(--tp-sub); font-size: 15px; }
.tp-link-arrow { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.tp-link-arrow svg { width: 18px; height: 18px; transition: transform .15s; }
.tp-link-arrow:hover svg { transform: translateX(3px); }
.tp-rowbtn { min-height: 40px; width: 40px; padding: 0; }
.tp-card { transition: transform .18s; }
.tp-card:hover { transform: translateY(-3px); }
@media (max-width: 1000px) { .tp-rowbtn { display: none; } .tp-card:hover { transform: none; } }

/* footer */
.tp-footer { position: relative; background: var(--tp-footer-bg); color: var(--tp-footer-ink); margin-top: 56px; padding: 34px 0 28px; font-size: 14.5px; overflow: hidden; }
.tp-footer::before { content: ""; position: absolute; left: -10%; top: -40%; width: 60%; height: 90%; border-radius: 50%; background: radial-gradient(circle, rgba(106,43,217,.45), transparent 65%); pointer-events: none; }
.tp-footer::after { content: ""; position: absolute; right: -10%; bottom: -50%; width: 55%; height: 100%; border-radius: 50%; background: radial-gradient(circle, rgba(34,211,238,.22), transparent 65%); pointer-events: none; }
.tp-footer .tp-wrap { position: relative; z-index: 1; }
.tp-footer a { color: inherit; opacity: .88; }
.tp-footer a:hover { opacity: 1; text-decoration: underline; }
.tp-footer h2 { color: inherit; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; opacity: .8; }
.tp-foot-news-band { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: center; margin-top: 0; padding: 26px 30px; border-radius: 22px; background: linear-gradient(135deg, #2f6bff, #6a2bd9); box-shadow: 0 20px 44px rgba(10,15,50,.35); }
.tp-foot-news-copy { display: flex; align-items: center; gap: 16px; }
.tp-foot-news-ico { flex: none; width: 52px; height: 52px; border-radius: 16px; background: rgba(255,255,255,.18); display: grid; place-items: center; }
.tp-foot-news-ico svg { width: 26px; height: 26px; color: #ffd23f; }
.tp-foot-news-copy b { display: block; font-size: 20px; letter-spacing: -.02em; }
.tp-foot-news-copy span { opacity: .9; font-size: 14.5px; }
.tp-foot-form small { display: block; margin-top: 8px; font-size: 12.5px; opacity: .8; }
.tp-foot-news { display: flex; gap: 8px; padding: 5px; border-radius: 99px; background: #fff; }
.tp-foot-news input { flex: 1; min-width: 0; height: 44px; border: 0; border-radius: 99px; padding: 0 18px; color: var(--tp-ink); background: transparent; font-size: 15px; }
.tp-foot-news input:focus { outline: 0; }
.tp-foot-news button { height: 44px; padding: 0 22px; border: 0; border-radius: 99px; background: var(--tp-ink); color: #fff; font-weight: 800; white-space: nowrap; }
.tp-foot-news button:hover { background: #2f6bff; }
.tp-foot-grid { display: grid; grid-template-columns: 1.6fr repeat(var(--cols, 3), minmax(0, 1fr)); gap: 36px; padding-top: 44px; }
.tp-foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.tp-foot-logo { display: inline-block; font-weight: 800; font-size: 26px; letter-spacing: -.03em; opacity: 1 !important; text-decoration: none !important; margin-bottom: 12px; }
.tp-foot-text { opacity: .88; max-width: 44ch; line-height: 1.55; }
.tp-foot-badges { margin-top: 16px !important; gap: 7px !important; font-size: 13.5px; }
.tp-foot-badges li { display: flex; align-items: center; gap: 8px; opacity: .9; }
.tp-foot-badges svg { width: 18px; height: 18px; color: #9ec0ff; }
.tp-foot-social { display: flex; gap: 10px; margin-top: 18px; }
.tp-foot-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.12); display: grid; place-items: center; opacity: 1; transition: background .15s; }
.tp-foot-social a:hover { background: rgba(255,255,255,.24); }
.tp-foot-social svg { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.tp-foot-store li { display: flex; gap: 9px; align-items: flex-start; line-height: 1.4; }
.tp-foot-store svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: #9ec0ff; }
.tp-foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.16); font-size: 13px; }
.tp-foot-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
.tp-foot-policies { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.tp-foot-policies a { opacity: .75; }
.tp-foot-secure { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tp-foot-secure > span { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; opacity: .9; }
.tp-foot-secure svg.tp-icon { width: 16px; height: 16px; color: #7ee2a8; }
.tp-pay { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tp-pay svg { width: 38px; height: 24px; border-radius: 4px; }
@media (max-width: 1000px) {
  .tp-footer { margin-top: 36px; padding-top: 24px; }
  .tp-foot-news-band { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
  .tp-foot-grid { grid-template-columns: 1fr 1fr; gap: 26px 18px; padding-top: 32px; }
  .tp-foot-grid > :first-child { grid-column: 1 / -1; }
  .tp-foot-bottom { flex-direction: column; align-items: flex-start; }
}

/* toast */
.tp-toast { position: fixed; left: 50%; bottom: 24px; z-index: 400; transform: translate(-50%, calc(100% + 48px)); visibility: hidden; padding: 12px 18px; border-radius: 14px; background: var(--tp-ink); color: #fff; font-weight: 600; box-shadow: 0 10px 30px rgba(15,28,63,.3); transition: transform .25s, visibility .25s; max-width: calc(100vw - 32px); }
.tp-toast.is-on { transform: translate(-50%, 0); visibility: visible; }
.tp-toast a { color: #9ec0ff; margin-left: 10px; }

/* password + gift card */
.tp-password-body { min-height: 100vh; display: grid; place-items: center; background: radial-gradient(120% 140% at 0 0, var(--tp-brand) 0%, var(--tp-accent) 80%); }
.tp-lock { background: #fff; border-radius: 26px; padding: 40px; max-width: 460px; width: calc(100% - 32px); text-align: center; box-shadow: 0 30px 60px rgba(0,0,0,.25); }
.tp-gift { max-width: 520px; margin: 40px auto; text-align: center; background: #fff; border: 1px solid var(--tp-line); border-radius: 26px; padding: 34px; }
.tp-gift-code { font-size: 26px; font-weight: 800; letter-spacing: .08em; padding: 14px; border: 2px dashed var(--tp-line); border-radius: 14px; margin: 16px 0; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
@media print { .tp-header, .tp-footer, .tp-announce { display: none; } }

/* ---- tamPrime+ band (home) ---- */
.tp-plusband-in { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.1fr) auto auto; gap: 28px; align-items: center; padding: clamp(24px, 3.5vw, 40px); border-radius: var(--tp-radius, 22px); color: #fff;
  background: radial-gradient(700px 320px at 90% -40%, #2b4fd9 0, transparent 60%), linear-gradient(135deg, #0d2f86, #1127ad); }
.tp-plusband-badge { display: inline-flex; align-items: baseline; gap: 2px; font-weight: 900; font-size: 22px; letter-spacing: -.03em; background: #ffffff1a; padding: 4px 12px; border-radius: 99px; margin-bottom: 10px; }
.tp-plusband-badge sup { color: #f5b921; font-size: .7em; }
.tp-plusband-copy h2 { color: #fff; margin: 0 0 8px; font-size: clamp(24px, 3vw, 34px); line-height: 1.05; letter-spacing: -.02em; }
.tp-plusband-copy p { margin: 0; color: #dbe4ff; font-size: 15.5px; max-width: 520px; }
.tp-plusband-perks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, auto); gap: 10px; }
.tp-plusband-perks li { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 10px 14px; border-radius: 14px; background: #ffffff14; min-width: 130px; }
.tp-plusband-perks svg { grid-row: 1 / 3; width: 22px; height: 22px; color: #f5b921; }
.tp-plusband-perks b { font-size: 15px; } .tp-plusband-perks span { font-size: 12px; color: #dbe4ff; }
.tp-plusband-cta { display: grid; gap: 8px; justify-items: center; }
.tp-btn-gold { background: #f5b921; color: #0d2f86; font-weight: 800; } .tp-btn-gold:hover { background: #ffd04d; color: #0d2f86; }
.tp-plusband-more { color: #fff; font-size: 13.5px; font-weight: 700; text-decoration: underline; } .tp-plusband-more:hover { color: #f5b921; }
@media (max-width: 1000px) { .tp-plusband-in { grid-template-columns: 1fr; } .tp-plusband-perks { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); } .tp-plusband-cta { justify-items: start; } }

/* ---------- customer reviews ---------- */
.tp-stars { position: relative; display: inline-block; width: max-content; justify-self: start; flex: none; font-size: 15px; line-height: 1; letter-spacing: 1px; color: #d5dbe8; vertical-align: -1px; }
.tp-stars::before { content: "★★★★★"; }
.tp-stars::after { content: "★★★★★"; position: absolute; left: 0; top: 0; width: var(--pct, 0%); overflow: hidden; white-space: nowrap; color: #f5b921; }
.tp-stars.is-big { font-size: 22px; }
.tp-rate-link { display: inline-flex; align-items: center; gap: 6px; margin: 4px 0 2px; font-size: 14px; color: var(--tp-sub) !important; }
.tp-rate-link b { color: var(--tp-ink); }
.tp-rate-link:hover span:last-child { text-decoration: underline; color: var(--tp-brand); }
.tp-card-rating { display: flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--tp-sub); margin: -2px 0 2px; }
.tp-card-rating .tp-stars { font-size: 13px; }
.tp-reviews { margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--tp-line); scroll-margin-top: 110px; }
.tp-rv-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.tp-rv-head h2 { margin: 0; }
.tp-rv-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 36px; align-items: start; }
@media (max-width: 860px) { .tp-rv-grid { grid-template-columns: 1fr; gap: 22px; } }
.tp-rv-sum { background: var(--tp-soft); border-radius: 18px; padding: 18px; }
.tp-rv-avg { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; }
.tp-rv-avg b { font-size: 44px; line-height: 1; font-weight: 800; grid-row: span 2; color: var(--tp-ink); }
.tp-rv-avg small { color: var(--tp-sub); font-size: 13px; }
.tp-rv-bars { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 6px; }
.tp-rv-bars li { display: grid; grid-template-columns: 44px 1fr 28px; gap: 8px; align-items: center; font-size: 13px; color: var(--tp-sub); }
.tp-rv-bars button { border: 0; background: none; padding: 2px 0; font: inherit; color: var(--tp-brand); font-weight: 700; cursor: pointer; text-align: left; }
.tp-rv-bars button[aria-pressed="true"] { text-decoration: underline; }
.tp-rv-bar { height: 9px; border-radius: 9px; background: #e3e9f6; overflow: hidden; }
.tp-rv-bar i { display: block; height: 100%; background: #f5b921; border-radius: 9px; }
.tp-rv-note { font-size: 12.5px; color: var(--tp-sub); margin: 14px 0 0; }
.tp-rv-tools { display: flex; justify-content: flex-end; margin-bottom: 6px; font-size: 13.5px; color: var(--tp-sub); }
.tp-rv-tools select { margin-left: 6px; min-height: 36px; border: 1.5px solid var(--tp-line); border-radius: 10px; padding: 0 8px; font: inherit; background: #fff; }
.tp-rv-list { list-style: none; margin: 0; padding: 0; }
.tp-rv { padding: 18px 0; border-bottom: 1px solid var(--tp-line); }
.tp-rv-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tp-rv-top b { font-size: 15.5px; color: var(--tp-ink); }
.tp-rv-by { font-size: 13px; color: var(--tp-sub); margin: 4px 0 8px; }
.tp-rv-ver { color: var(--tp-ok, #13804a); font-weight: 700; }
.tp-rv p { margin: 0; white-space: normal; line-height: 1.55; }
.tp-rv-reply { margin-top: 10px; padding: 10px 14px; border-left: 3px solid var(--tp-brand); background: var(--tp-soft); border-radius: 0 12px 12px 0; font-size: 14px; }
.tp-rv-reply b { font-size: 13px; color: var(--tp-brand); }
.tp-rv-help { margin-top: 10px; border: 1.5px solid var(--tp-line); background: #fff; border-radius: 99px; padding: 5px 12px; font: inherit; font-size: 13px; cursor: pointer; color: var(--tp-ink); }
.tp-rv-help:disabled { color: var(--tp-sub); cursor: default; }
.tp-rv-empty { padding: 18px; background: var(--tp-soft); border-radius: 14px; color: var(--tp-sub); }
.tp-rv-more { margin-top: 16px; }
.tp-rv-form { background: #fff; border: 1.5px solid var(--tp-line); border-radius: 18px; padding: 18px; margin-bottom: 18px; }
.tp-rv-form h3 { margin: 0 0 8px; }
.tp-rv-form label { display: block; font-weight: 700; font-size: 14px; margin: 12px 0 0; }
.tp-rv-form input[type=text], .tp-rv-form textarea { display: block; width: 100%; box-sizing: border-box; margin-top: 6px; border: 1.5px solid var(--tp-line); border-radius: 12px; padding: 11px 13px; font: inherit; font-size: 16px; font-weight: 400; background: #fff; color: inherit; }
.tp-rv-form input:focus, .tp-rv-form textarea:focus { outline: none; border-color: var(--tp-brand); box-shadow: 0 0 0 3px #1127ad22; }
.tp-rv-pick { border: 0; padding: 0; margin: 4px 0 0; display: flex; }
.tp-rv-pick legend { font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.tp-rv-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tp-rv-pick label { margin: 0; font-size: 34px; line-height: 1; color: #d5dbe8; cursor: pointer; padding: 0 2px; }
.tp-rv-pick label.on { color: #f5b921; }
.tp-rv-pick input:focus-visible + label { outline: 2px solid var(--tp-brand); border-radius: 6px; }
.tp-rv-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 14px; }
.tp-rv-del { border: 0; background: none; color: #b3122f; font: inherit; font-weight: 700; cursor: pointer; margin-left: auto; }
.tp-rv-err { color: #b3122f; font-weight: 700; margin: 12px 0 0; }
.tp-rv-pend { background: #fff4d6; color: #8a5a00; padding: 8px 12px; border-radius: 10px; font-size: 13.5px; }
.tp-rv-thanks { margin: 0; }
