/* ==========================================================================
   White Apple Institute — Shop (store, product, cart, checkout, order result)
   ========================================================================== */
.st-shop, .st-pdp, .st-cartpage, .st-checkout { --st-r: 14px; }
.st-shop .wh-wrap, .st-cartpage .wh-wrap, .st-checkout .wh-wrap { min-width: 0; }
.st-shop { padding-top: 64px; }

/* ---------- Badges / price ---------- */
.st-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.st-badge { display: inline-block; padding: 6px 10px; border-radius: 999px; font: 700 11px/1 var(--wa-head); letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--wa-navy); }
.st-badge--sale { background: var(--wa-red); }
.st-badge--feat { background: #fff; color: var(--wa-navy); box-shadow: 0 2px 8px rgba(0,30,70,.15); }
.st-badge--sold { background: #4b5566; }
.st-price { display: inline-flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font: 800 18px/1.1 var(--wa-head); color: var(--wa-navy); }
.st-price small { font: 600 12px/1 var(--wa-head); color: var(--wa-muted); text-transform: uppercase; letter-spacing: .06em; }
.st-price s { font-size: .78em; font-weight: 600; color: var(--wa-muted); }
.st-price--lg { font-size: 26px; }
.st-price--xl { font-size: 32px; margin: 0 0 18px; }
.st-muted { color: var(--wa-muted); font-weight: 500 !important; }

/* ---------- Filters ---------- */
.st-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 30px; }
.st-filters__sep { width: 1px; height: 24px; background: var(--wa-line); margin: 0 4px; }
.st-chip { display: inline-flex; align-items: center; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--wa-line); background: #fff;
  font: 700 13px/1 var(--wa-head); color: var(--wa-navy) !important; text-decoration: none !important; transition: border-color .15s, background .15s, color .15s; }
.st-chip:hover { border-color: var(--wa-navy); }
.st-chip.is-on { background: var(--wa-navy); border-color: var(--wa-navy); color: #fff !important; }
.st-chip--cat { font-weight: 600; }

/* ---------- Grid + cards ---------- */
.st-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 26px; }
.st-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.st-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--wa-line); border-radius: var(--st-r, 14px); overflow: hidden;
  color: inherit; text-decoration: none !important; box-shadow: 0 4px 18px rgba(0,49,97,.06); transition: transform .2s, box-shadow .2s; min-width: 0; }
.st-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0,49,97,.14); }
.st-card:focus-visible { outline: 3px solid var(--wa-sky); outline-offset: 2px; }
.st-card__media { position: relative; display: block; aspect-ratio: 1 / 1; background: #eef3f9; overflow: hidden; }
.st-card__media img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; transition: transform .5s; }
.st-card:hover .st-card__media img { transform: scale(1.04); }
.st-card.is-sold .st-card__media img { filter: grayscale(.6); opacity: .75; }
.st-card__ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--wa-navy);
  background: radial-gradient(circle at 30% 20%, #ffffff 0%, #e4ecf6 70%); }
.st-card__ph .wai-i { width: 64px; height: 64px; opacity: .35; stroke-width: 1.4; }
.st-card__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.st-card__type { display: inline-flex; align-items: center; gap: 6px; font: 700 11px/1.2 var(--wa-head); letter-spacing: .12em; text-transform: uppercase; color: var(--wa-red); }
.st-card__type .wai-i { width: 14px; height: 14px; }
.st-card__name { font: 800 18px/1.3 var(--wa-head); color: var(--wa-navy); }
.st-card__sum { font-size: 14.5px; line-height: 1.55; color: var(--wa-body); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.st-card__meta { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--wa-body); font-weight: 600; }
.st-card__meta .wai-i { color: var(--wa-red); }
.st-card__foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.st-card__go { display: inline-flex; width: 38px; height: 38px; border-radius: 50%; align-items: center; justify-content: center; background: var(--wa-soft); color: var(--wa-navy); transition: background .2s, color .2s; flex: 0 0 auto; }
.st-card:hover .st-card__go { background: var(--wa-red); color: #fff; }

/* ---------- Featured ---------- */
.st-feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: #fff; border-radius: 18px; overflow: hidden; margin: 0 0 40px;
  border: 1px solid var(--wa-line); box-shadow: 0 14px 40px rgba(0,49,97,.10); color: inherit; text-decoration: none !important; }
.st-feature__media { position: relative; min-height: 340px; background: #eef3f9; overflow: hidden; }
.st-feature__media img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; transition: transform .6s; }
.st-feature:hover .st-feature__media img { transform: scale(1.03); }
.st-feature__body { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 44px 46px; border-left: 5px solid var(--wa-red); }
.st-feature__body .wh-eyebrow { margin: 0; }
.st-feature__title { font: 800 clamp(26px, 2.6vw, 34px)/1.15 var(--wa-head); color: var(--wa-navy); }
.st-feature__sum { font-size: 17px; line-height: 1.65; color: var(--wa-body); }
.st-feature__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 8px; }

/* ---------- Perks ---------- */
.st-perks { list-style: none; margin: 56px 0 0; padding: 26px 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
  background: #fff; border: 1px solid var(--wa-line); border-radius: var(--st-r, 14px); }
.st-perks li { display: flex; gap: 14px; align-items: flex-start; font-size: 14.5px; line-height: 1.55; color: var(--wa-body); }
.st-perks li > .wai-i { flex: 0 0 auto; width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: #fdf0f1; color: var(--wa-red); }
.st-perks strong { display: block; font: 800 15px/1.3 var(--wa-head); color: var(--wa-navy); margin-bottom: 2px; }

/* ---------- Empty state ---------- */
.st-empty { max-width: 560px; margin: 0 auto; text-align: center; padding: 56px 32px; background: #fff; border: 1px solid var(--wa-line); border-radius: 18px; }
.st-empty__icon { display: inline-flex; width: 76px; height: 76px; border-radius: 50%; background: var(--wa-soft); color: var(--wa-navy); align-items: center; justify-content: center; margin-bottom: 18px; }
.st-empty__icon .wai-i { width: 34px; height: 34px; stroke-width: 1.6; }
.st-empty h2 { margin: 0 0 10px; font: 800 26px/1.2 var(--wa-head); color: var(--wa-navy); }
.st-empty p { margin: 0 0 24px; color: var(--wa-body); font-size: 16px; line-height: 1.6; }

/* ---------- Product page ---------- */
.st-pdp { padding-top: 40px; }
.st-crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 0 0 26px; font-size: 14px; color: var(--wa-muted); }
.st-crumbs a { color: var(--wa-navy); font-weight: 600; text-decoration: none; }
.st-crumbs a:hover { color: var(--wa-red); }
.st-crumbs .wai-i { width: 13px; height: 13px; opacity: .6; }
.st-crumbs span { color: var(--wa-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }
.st-pdp__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.st-gallery { position: sticky; top: 24px; min-width: 0; }
.st-gallery__main { position: relative; aspect-ratio: 1 / 1; border-radius: 18px; overflow: hidden; background: #eef3f9; border: 1px solid var(--wa-line); }
.st-gallery__main img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; }
.st-gallery__main .st-badge { position: absolute; top: 16px; left: 16px; }
.st-gallery__main .st-card__ph .wai-i { width: 110px; height: 110px; }
.st-gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.st-thumb { flex: 0 0 76px; width: 76px; height: 76px; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: #eef3f9; cursor: pointer; opacity: .7; transition: opacity .15s, border-color .15s; }
.st-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-thumb:hover, .st-thumb.is-on { opacity: 1; }
.st-thumb.is-on { border-color: var(--wa-red); }
.st-info { min-width: 0; }
.st-info__type { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 12px; font: 700 12px/1 var(--wa-head); letter-spacing: .14em; text-transform: uppercase; color: var(--wa-red); }
.st-info__title { margin: 0 0 14px; font: 800 clamp(28px, 3vw, 40px)/1.15 var(--wa-head); color: var(--wa-navy); letter-spacing: -.01em; }
.st-info__sum { margin: 0 0 20px; font-size: 17px; line-height: 1.7; color: var(--wa-body); }
.st-facts { list-style: none; margin: 0 0 22px; padding: 16px 18px; display: grid; gap: 12px; background: var(--wa-soft); border-radius: 12px; }
.st-facts li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--wa-ink); font-weight: 600; }
.st-facts .wai-i { flex: 0 0 auto; width: 20px; height: 20px; color: var(--wa-red); margin-top: 1px; }
.st-buy { margin: 0; padding: 22px 0 0; border-top: 1px solid var(--wa-line); }
.st-opts { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.st-opts legend { padding: 0; margin: 0 0 10px; font: 700 13px/1 var(--wa-head); letter-spacing: .08em; text-transform: uppercase; color: var(--wa-navy); }
.st-opts legend span { text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--wa-body); }
.st-opts__list { display: flex; flex-wrap: wrap; gap: 8px; }
.st-opt { position: relative; margin: 0; cursor: pointer; }
.st-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.st-opt span { display: inline-flex; align-items: center; justify-content: center; min-width: 52px; min-height: 46px; padding: 10px 16px; border: 2px solid var(--wa-line); border-radius: 10px; background: #fff;
  font: 700 14px/1 var(--wa-head); color: var(--wa-navy); transition: border-color .15s, background .15s, color .15s; }
.st-opt:hover span { border-color: var(--wa-navy); }
.st-opt input:checked + span { border-color: var(--wa-navy); background: var(--wa-navy); color: #fff; }
.st-opt input:focus-visible + span { outline: 3px solid var(--wa-sky); outline-offset: 2px; }
.st-opt.is-out { cursor: not-allowed; }
.st-opt.is-out span { color: #9aa6b8; background: repeating-linear-gradient(135deg, #fff, #fff 6px, #f3f5f8 6px, #f3f5f8 12px); text-decoration: line-through; border-color: var(--wa-line) !important; }
.st-opts.is-missing .st-opt span { border-color: var(--wa-red); animation: st-shake .4s; }
@keyframes st-shake { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
.st-buy__row { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; }
.st-qty { display: inline-flex; align-items: stretch; height: 54px; border: 2px solid var(--wa-line); border-radius: 10px; background: #fff; overflow: hidden; flex: 0 0 auto; }
.st-qty button { width: 44px; border: 0; background: none; color: var(--wa-navy); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .15s; }
.st-qty button:hover { background: var(--wa-soft); }
.st-qty input { width: 52px; border: 0 !important; text-align: center; font: 700 16px/1 var(--wa-head); color: var(--wa-navy); background: none; -moz-appearance: textfield; padding: 0 !important; box-shadow: none !important; height: auto !important; margin: 0 !important; }
.st-qty input::-webkit-outer-spin-button, .st-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.st-qty--sm { height: 40px; }
.st-qty--sm button { width: 34px; }
.st-qty--sm input { width: 40px; font-size: 15px; }
.st-buy__btn { flex: 1 1 150px; min-height: 54px; font-size: 15px; }
.st-buy__btn .wai-i { width: 20px; height: 20px; }
.wa-btn.is-busy { opacity: .7; pointer-events: none; }
.st-stock { margin: 10px 0 0; min-height: 1px; font-size: 14px; font-weight: 700; color: var(--wa-red); }
.st-stock:empty { margin: 0; }
.st-note { margin: 8px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--wa-muted); }
.st-note--lg { display: flex; gap: 8px; align-items: center; font-size: 15px; color: var(--wa-ink); margin: 0 0 14px; }
.st-note--lg .wai-i { color: #1a8a4a; }
.st-center { text-align: center; }
.st-soldout { padding: 20px; border-radius: 12px; background: #f6f7f9; border: 1px dashed #c6cfdb; }
.st-soldout p { margin: 0 0 14px; font-weight: 600; color: var(--wa-ink); }
.st-assure { list-style: none; margin: 26px 0 0; padding: 18px 0 0; border-top: 1px solid var(--wa-line); display: flex; flex-wrap: wrap; gap: 10px 22px; }
.st-assure li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--wa-body); font-weight: 600; }
.st-assure .wai-i { color: var(--wa-navy); }
.st-desc { max-width: 860px; margin: 64px 0 0; padding-top: 40px; border-top: 1px solid var(--wa-line); }
.st-desc__title { margin: 0 0 18px; font: 800 26px/1.2 var(--wa-head); color: var(--wa-navy); }
.st-desc__body { font-size: 17px; line-height: 1.75; color: var(--wa-body); }
.st-desc__body > :first-child { margin-top: 0; }
.st-desc__body h2, .st-desc__body h3 { font-family: var(--wa-head); color: var(--wa-navy); margin: 1.4em 0 .5em; line-height: 1.25; }
.st-desc__body ul, .st-desc__body ol { padding-left: 1.3em; }
.st-desc__body a { color: var(--wa-red); }
.st-desc__body img { max-width: 100%; height: auto; border-radius: 10px; }

/* Toast */
.st-toast { position: fixed; z-index: 1200; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 14px; padding: 14px 14px 14px 18px; max-width: calc(100vw - 32px);
  background: #fff; border-radius: 14px; border: 1px solid var(--wa-line); box-shadow: 0 18px 50px rgba(0,30,70,.25);
  transform: translateY(20px); opacity: 0; transition: transform .25s, opacity .25s; }
.st-toast.is-in { transform: none; opacity: 1; }
.st-toast[hidden] { display: none; }
.st-toast__icon { display: inline-flex; width: 32px; height: 32px; border-radius: 50%; align-items: center; justify-content: center; background: #e7f5ec; color: #1a8a4a; flex: 0 0 auto; }
.st-toast__text { font-weight: 700; color: var(--wa-ink); font-size: 15px; }
.st-toast .wa-btn { padding: 10px 16px; font-size: 12px; }

/* ---------- Cart + checkout shared ---------- */
.st-cartpage, .st-checkout { padding-top: 48px; }
.st-pagehead { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 0 0 26px; }
.st-pagehead__title { display: inline-flex; align-items: center; gap: 12px; margin: 0; font: 800 clamp(28px, 3vw, 38px)/1.1 var(--wa-head); color: var(--wa-navy); }
.st-pagehead__title .wai-i { width: 30px; height: 30px; color: var(--wa-red); }
.st-back { display: inline-flex; align-items: center; gap: 8px; font: 700 14px/1 var(--wa-head); color: var(--wa-navy) !important; text-decoration: none !important; }
.st-back:hover { color: var(--wa-red) !important; }
.st-alert { margin: 0 0 18px; padding: 14px 18px; border-radius: 10px; background: #fdecee; color: #8a1020; border: 1px solid #f3c1c8; font-size: 15px; line-height: 1.5; }
.st-alert ul { margin: 6px 0 0; padding-left: 18px; }
.st-alert--info { background: #eef4fb; color: var(--wa-navy); border-color: #cddcf0; }
.st-cart, .st-co { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.st-cart.is-busy { opacity: .6; pointer-events: none; }

.st-lines { background: #fff; border: 1px solid var(--wa-line); border-radius: 16px; overflow: hidden; }
.st-line { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto 96px 40px; gap: 18px; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--wa-line); }
.st-line__img { width: 88px; height: 88px; border-radius: 12px; overflow: hidden; background: #eef3f9; display: flex; align-items: center; justify-content: center; color: var(--wa-navy); }
.st-line__img img { width: 100%; height: 100%; object-fit: cover; }
.st-line__img .wai-i { width: 32px; height: 32px; opacity: .35; }
.st-line__info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.st-line__name { font: 800 17px/1.3 var(--wa-head); color: var(--wa-navy) !important; text-decoration: none !important; }
.st-line__name:hover { color: var(--wa-red) !important; }
.st-line__meta { font-size: 13.5px; color: var(--wa-muted); }
.st-line__unit { font-size: 14px; color: var(--wa-body); }
.st-line__total { text-align: right; font: 800 17px/1 var(--wa-head); color: var(--wa-navy); }
.st-line__rm { width: 40px; height: 40px; border-radius: 50%; border: 0; background: none; color: var(--wa-muted); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .15s, color .15s; }
.st-line__rm:hover { background: #fdecee; color: var(--wa-red); }
.st-lines__foot { padding: 14px 22px; text-align: right; }
.st-lines__foot [hidden] { display: none; }
.st-lines__foot:has(> [hidden]:only-child) { display: none; }
.st-line:last-of-type { border-bottom: 0; }
.st-link { border: 0; background: none; padding: 0; font: 700 14px/1 var(--wa-head); color: var(--wa-navy); text-decoration: underline; cursor: pointer; }

.st-summary { background: #fff; border: 1px solid var(--wa-line); border-radius: 16px; padding: 26px; box-shadow: 0 10px 30px rgba(0,49,97,.07); }
.st-summary--sticky { position: sticky; top: 24px; }
.st-summary__title { margin: 0 0 18px; font: 800 20px/1.2 var(--wa-head); color: var(--wa-navy); }
.st-sum { margin: 0 0 18px; }
.st-sum[hidden] { display: none; }
.st-sum > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: 15px; color: var(--wa-body); }
.st-sum dt { font-weight: 500; }
.st-sum dd { margin: 0; font-weight: 700; color: var(--wa-ink); text-align: right; }
.st-sum__total { margin-top: 8px; padding-top: 16px !important; border-top: 2px solid var(--wa-line); }
.st-sum__total dt, .st-sum__total dd { font: 800 20px/1.1 var(--wa-head) !important; color: var(--wa-navy) !important; }
.st-summary__go { width: 100%; min-height: 54px; font-size: 15px; }
.st-freeship { margin: 0 0 18px; padding: 12px 14px; background: var(--wa-soft); border-radius: 10px; font-size: 14px; color: var(--wa-ink); }
.st-freeship p { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; }
.st-freeship .wai-i { color: var(--wa-red); flex: 0 0 auto; }
.st-freeship__bar { display: block; height: 6px; border-radius: 6px; background: #dde6f1; overflow: hidden; }
.st-freeship__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--wa-red), #e0525a); border-radius: 6px; }
.st-freeship--ok { display: flex; align-items: center; gap: 8px; color: #155c2e; background: #e7f5ec; font-weight: 700; }
.st-freeship--ok .wai-i { color: #1a8a4a; }

/* Checkout form */
.st-co__main { display: grid; gap: 22px; min-width: 0; }
.st-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.st-box { margin: 0; min-width: 0; background: #fff; border: 1px solid var(--wa-line); border-radius: 16px; padding: 24px 26px 26px; }
.st-box__title { float: left; width: 100%; display: flex; align-items: center; gap: 12px; margin: 0 0 18px; padding: 0; font: 800 19px/1.2 var(--wa-head); color: var(--wa-navy); }
.st-box__title + * { clear: both; }
.st-box__title span { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; align-items: center; justify-content: center; background: var(--wa-navy); color: #fff; font-size: 14px; }
.st-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; clear: both; }
.st-fields[hidden] { display: none; }
.st-address { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--wa-line); }
.st-field { display: flex; flex-direction: column; gap: 6px; margin: 0; min-width: 0; }
.st-field--full { grid-column: 1 / -1; }
.st-field--note { margin-top: 18px; clear: both; }
.st-field > span { font: 700 13px/1.2 var(--wa-head); color: var(--wa-navy); }
.st-field em { font-style: normal; font-weight: 500; color: var(--wa-muted); }
.st-field small { font-size: 12.5px; color: var(--wa-muted); }
.st-field input, .st-field select, .st-field textarea { width: 100%; min-height: 48px; margin: 0 !important; padding: 11px 14px !important; border: 1.5px solid #cdd7e4 !important; border-radius: 9px !important;
  background: #fff !important; font: 400 16px/1.4 inherit; color: var(--wa-ink) !important; box-shadow: none !important; transition: border-color .15s, box-shadow .15s; }
.st-field textarea { min-height: 72px; resize: vertical; }
.st-field input:focus, .st-field select:focus, .st-field textarea:focus { outline: none; border-color: var(--wa-navy) !important; box-shadow: 0 0 0 3px rgba(0,49,97,.12) !important; }
.st-field.is-bad input, .st-field.is-bad select { border-color: var(--wa-red) !important; box-shadow: 0 0 0 3px rgba(181,18,27,.12) !important; }
.st-field-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.st-choices { display: grid; gap: 10px; clear: both; }
.st-choice { position: relative; margin: 0; cursor: pointer; display: block; }
.st-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.st-choice__body { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 2px solid var(--wa-line); border-radius: 12px; transition: border-color .15s, background .15s; }
.st-choice:hover .st-choice__body { border-color: #b7c5d8; }
.st-choice input:checked + .st-choice__body { border-color: var(--wa-navy); background: #f3f7fc; box-shadow: inset 0 0 0 1px var(--wa-navy); }
.st-choice input:focus-visible + .st-choice__body { outline: 3px solid var(--wa-sky); outline-offset: 2px; }
.st-choice__icon { flex: 0 0 auto; display: inline-flex; width: 40px; height: 40px; border-radius: 50%; align-items: center; justify-content: center; background: var(--wa-soft); color: var(--wa-navy); }
.st-choice input:checked + .st-choice__body .st-choice__icon { background: var(--wa-navy); color: #fff; }
.st-choice__text { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.st-choice__text strong { font: 800 15.5px/1.2 var(--wa-head); color: var(--wa-navy); }
.st-choice__text small { font-size: 13.5px; line-height: 1.4; color: var(--wa-muted); }
.st-choice__price { font: 800 15px/1 var(--wa-head); color: var(--wa-navy); white-space: nowrap; }

.st-mini { list-style: none; margin: 0 0 16px; padding: 0 0 6px; border-bottom: 1px solid var(--wa-line); max-height: 320px; overflow-y: auto; }
.st-mini li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 0 0 12px; }
.st-mini__img { position: relative; width: 56px; height: 56px; border-radius: 10px; background: #eef3f9; display: flex; align-items: center; justify-content: center; color: var(--wa-navy); }
.st-mini__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.st-mini__img .wai-i { opacity: .35; width: 22px; height: 22px; }
.st-mini__img b { position: absolute; top: -7px; right: -7px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--wa-navy); color: #fff; font: 700 12px/22px var(--wa-head); text-align: center; }
.st-mini__name { font: 700 14.5px/1.3 var(--wa-head); color: var(--wa-navy); }
.st-mini__name small { display: block; font: 500 13px/1.3 inherit; color: var(--wa-muted); margin-top: 2px; }
.st-mini__price { font: 700 14.5px/1 var(--wa-head); color: var(--wa-ink); }

/* ---------- Payment result (order confirmation) ---------- */
.st-result { margin: 20px 0; padding: 18px 20px; background: #fff; border: 1px solid var(--wa-line); border-radius: 12px; text-align: left; color: var(--wa-ink); }
.st-result__head { margin: 0 0 10px !important; font: 800 16px/1.2 var(--wa-head); color: var(--wa-navy); }
.st-result ul { list-style: none; margin: 0; padding: 0; }
.st-result li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; padding: 10px 0; border-top: 1px solid var(--wa-line); font-weight: 600; }
.st-result li small { flex-basis: 100%; font-weight: 400; color: var(--wa-muted); }
.st-result__dl { padding: 9px 16px !important; font-size: 12px !important; }
.st-result__note { margin: 12px 0 0 !important; font-size: 14px; color: var(--wa-body); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .st-cart, .st-co { grid-template-columns: minmax(0, 1fr); }
  .st-summary--sticky { position: static; }
  .st-pdp__grid { gap: 36px; }
}
@media (max-width: 900px) {
  .st-feature { grid-template-columns: minmax(0, 1fr); }
  .st-feature__media { min-height: 0; aspect-ratio: 16 / 10; }
  .st-feature__body { border-left: 0; border-top: 5px solid var(--wa-red); padding: 28px 26px; }
  .st-perks { grid-template-columns: minmax(0, 1fr); }
  .st-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-pdp__grid { grid-template-columns: minmax(0, 1fr); }
  .st-gallery { position: static; }
}
@media (max-width: 640px) {
  .st-shop { padding-top: 40px; }
  .st-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .st-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-card__body { padding: 14px 14px 16px; gap: 6px; }
  .st-card__name { font-size: 15.5px; }
  .st-card__sum { display: none; }
  .st-card__go { display: none; }
  .st-price { font-size: 16px; }
  .st-filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 -22px 22px; padding: 0 22px 6px; scrollbar-width: none; }
  .st-filters::-webkit-scrollbar { display: none; }
  .st-chip { flex: 0 0 auto; }
  .st-line { grid-template-columns: 72px minmax(0, 1fr) auto; grid-template-areas: "img info rm" "img qty total"; gap: 10px 14px; padding: 16px; }
  .st-line__img { grid-area: img; width: 72px; height: 72px; align-self: start; }
  .st-line__info { grid-area: info; }
  .st-line .st-qty { grid-area: qty; justify-self: start; }
  .st-line__total { grid-area: total; justify-self: end; }
  .st-line__rm { grid-area: rm; width: 36px; height: 36px; align-self: start; justify-self: end; }
  .st-box { padding: 20px 18px 22px; }
  .st-fields { grid-template-columns: minmax(0, 1fr); }
  .st-summary { padding: 22px 18px; }
  .st-price--xl { font-size: 28px; }
  .st-toast { left: 16px; right: 16px; bottom: 16px; }
  .st-toast__text { flex: 1; }
}
