/*
 * Kreato shop styles: archive, product cards, single product, ladder.
 */

/* ===================================================== SHOP HEAD */
.shop-head { padding-top: 56px; }
.shop-head__title { font-size: clamp(2rem, 4vw, 2.75rem); margin-top: 14px; }
.shop-head__lead { font-size: 1.09375rem; margin-top: 12px; max-width: 560px; }
.shop-tools { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 36px; flex-wrap: wrap; }
.shop-tools__filters { display: flex; gap: 10px; flex-wrap: wrap; }
.shop-filter {
  font-family: var(--font-display); font-weight: 700; font-size: 0.9375rem; color: var(--navy);
  background: #fff; border: 2px solid var(--hairline-strong); border-radius: var(--radius-pill);
  padding: 8px 20px; cursor: pointer; transition: border-color .15s;
}
.shop-filter:hover { color: var(--navy); border-color: var(--orange); }
.shop-filter.is-active { color: #fff; background: var(--navy); border-color: var(--navy); }
.shop-tools__meta { display: flex; align-items: center; gap: 12px; }
.woocommerce-result-count { font-size: 0.875rem; font-weight: 700; color: var(--text-muted); margin: 0; }
.woocommerce-ordering select {
  font-family: var(--font-sans); font-weight: 700; font-size: 0.90625rem; color: var(--navy);
  padding: 10px 14px; border: 2px solid var(--hairline-strong); border-radius: 12px; background: #fff; outline: none; cursor: pointer;
}
.shop-grid-wrap { padding-top: 36px; }
.shop-empty { text-align: center; padding: 48px 0; color: var(--text-muted); }

/* ===================================================== PRODUCT GRID + CARD */
ul.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.prod-card {
  background: #fff; border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--hairline);
  transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column;
}
.band--white .prod-card { background: var(--cream); }
.prod-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.prod-card__media { position: relative; aspect-ratio: 1 / 1; display: block; }
.prod-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.prod-card__badge { position: absolute; top: 12px; left: 12px; font-size: 0.8125rem; padding: 4px 12px; pointer-events: none; }
.prod-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.prod-card__name { font-family: var(--font-display); font-weight: 700; font-size: 1.1875rem; color: var(--navy); line-height: 1.2; }
.prod-card:hover .prod-card__name { color: var(--orange); transition: color .2s; }
.prod-card__tagline { font-size: var(--fs-note); color: var(--text-muted); }
.prod-card__stars { font-size: 0.8125rem; color: var(--amber); }
.prod-card__stars span { color: var(--text-muted); font-weight: 700; }
.prod-card__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: auto; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--orange); }
.prod-card__price del { font-family: var(--font-sans); font-weight: 400; font-size: var(--fs-note); color: var(--text-subtle); }
.prod-card__price ins { text-decoration: none; }
.prod-card__buy { width: 100%; font-size: 0.96875rem; padding: 11px 0; }
@media (max-width: 960px) { ul.products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { ul.products { grid-template-columns: 1fr; } }

/* ===================================================== SHOP HELP PANEL */
.shop-help-wrap { padding: 72px 0 96px; }
.shop-help { background: var(--teal-tint); border-radius: var(--radius-photo); padding: 36px 48px; display: flex; align-items: center; gap: 32px; flex-wrap: wrap; margin-inline: var(--gutter); max-width: calc(var(--container) - 2 * var(--gutter)); margin-inline: auto; }
.shop-help__copy { flex: 1; min-width: 280px; }
.shop-help__title { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-h3); color: var(--navy); }
.shop-help__text { font-size: 0.96875rem; margin-top: 6px; }
.shop-help__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.shop-help__btn-white { background: #fff; color: var(--navy); }
.shop-help__btn-white:hover { background: var(--cream); color: var(--navy); }

/* ===================================================== SINGLE PRODUCT */
.product-page { padding-top: 40px; }
.product-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; margin-top: 28px; align-items: start; }
.product-gallery__main { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius-photo); overflow: hidden; background: var(--orange-tint); box-shadow: 0 14px 40px rgba(16, 66, 122, .12); }
.product-gallery__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product-gallery__badge { position: absolute; top: 16px; left: 16px; font-size: 0.875rem; padding: 5px 14px; }
.product-gallery__thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.product-gallery__thumb { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius-input); overflow: hidden; background: var(--amber-tint); border: 2px solid var(--hairline); cursor: pointer; padding: 0; }
.product-gallery__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product-gallery__thumb:hover { border-color: var(--teal); }
.product-info__top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.product-info__stars { color: var(--amber); font-size: 0.9375rem; letter-spacing: 1px; }
.product-info__rlink { font-size: var(--fs-note); font-weight: 700; color: var(--text-muted); }
.product-info__rlink:hover { color: var(--orange); }
.product-info__title { font-size: clamp(1.9rem, 3.6vw, 2.5rem); line-height: 1.1; margin-top: 14px; }
.product-info__tagline { font-size: 1rem; font-weight: 700; color: var(--teal); margin-top: 4px; }
.product-info__lead { font-size: 1.03125rem; margin-top: 16px; }
.product-info__price-row { display: flex; align-items: center; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.product-info__price, .product-info__price .woocommerce-Price-amount { font-family: var(--font-display); font-weight: 800; font-size: 2.25rem; color: var(--orange); }
.product-info__price del, .product-info__price del .woocommerce-Price-amount { font-family: var(--font-sans); font-weight: 400; font-size: 1.1875rem; color: var(--text-subtle); }
.product-info__price ins { text-decoration: none; }
.product-info__stock { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 0.875rem; font-weight: 700; color: var(--teal); }
.product-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.product-chips__item { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius-input); padding: 12px 14px; font-size: var(--fs-note); font-weight: 700; color: var(--navy); }

/* Buy row. */
.product-buy form.cart { display: flex; gap: 14px; margin-top: 24px; align-items: stretch; }
.product-buy .quantity { display: flex; align-items: center; border: 2px solid var(--hairline-strong); border-radius: var(--radius-pill); background: #fff; overflow: hidden; }
.product-buy .quantity input[type="number"] {
  font-family: var(--font-display); font-weight: 800; font-size: 1.125rem; color: var(--navy);
  border: none; outline: none; width: 56px; text-align: center; background: transparent;
  -moz-appearance: textfield; appearance: textfield;
}
.product-buy .quantity input::-webkit-outer-spin-button, .product-buy .quantity input::-webkit-inner-spin-button { -webkit-appearance: none; }
.product-buy .single_add_to_cart_button {
  flex: 1; font-family: var(--font-display); font-weight: 700; font-size: 1.1875rem; color: #fff;
  background: var(--orange); border: none; border-radius: var(--radius-pill); padding: 15px 0; cursor: pointer;
  box-shadow: var(--shadow-cta); transition: background .2s;
}
.product-buy .single_add_to_cart_button:hover { background: var(--orange-deep); }

/* ===================================================== LADDER TABLE */
.ladder { margin-top: 22px; background: var(--amber-tint); border: 2px dashed var(--amber); border-radius: var(--radius-panel); padding: 18px 20px; }
.ladder__title { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--navy); margin-bottom: 10px; }
.ladder__rows { display: flex; flex-direction: column; gap: 10px; }
.ladder__row { display: grid; grid-template-columns: 88px 52px 1fr; align-items: baseline; font-size: 0.9375rem; }
.ladder__qty { font-weight: 800; color: var(--navy); white-space: nowrap; }
.ladder__pct { font-family: var(--font-display); font-weight: 700; color: var(--orange); }
.ladder__unit { justify-self: end; text-align: right; font-weight: 800; color: var(--navy); }
.ladder__unit small { font-weight: 700; color: var(--text-muted); }
.ladder__row--home .ladder__qty::after { content: "🚚"; margin-left: 6px; }
.ladder__note { margin-top: 10px; font-size: var(--fs-note); font-weight: 700; color: var(--navy); }
.ladder__hint { margin-top: 4px; font-size: 0.78125rem; color: var(--text-muted); }

/* ===================================================== ACCORDIONS + VIDEO + RELATED */
.product-accordions { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.product-accordions__item { background: #fff; border-radius: var(--radius-panel); border: 1px solid var(--hairline); padding: 0 22px; }
.product-accordions__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; font-weight: 800; font-size: 0.96875rem; color: var(--navy); }
.product-accordions__item summary::-webkit-details-marker { display: none; }
.product-accordions__body { padding-bottom: 18px; font-size: 0.90625rem; line-height: 1.65; }
.dot-list { margin: 0; padding: 0; list-style: none; }
.dot-list li { padding-left: 18px; position: relative; margin-bottom: 5px; }
.dot-list li::before { content: "•"; position: absolute; left: 2px; color: var(--orange); font-weight: 800; }
.product-video { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.product-video__copy h2 { font-size: 2.125rem; }
.product-video__copy p { margin-top: 16px; }
.product-video__frame { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--radius-photo); overflow: hidden; box-shadow: var(--shadow-photo); background: var(--teal-tint); }
.product-video__frame .play-badge { width: 74px; height: 74px; }
.product-related h2, .related.products > h2 { font-size: 1.875rem; margin-bottom: 28px; }

@media (max-width: 960px) {
  .product-layout, .product-video { grid-template-columns: 1fr; gap: 32px; }
  .shop-help { padding: 28px; }
}

/* ===================================================== FREE SHIPPING PROGRESS */
.ship-progress { background: var(--teal-tint); border-radius: var(--radius-panel); padding: 14px 18px; display: flex; align-items: center; gap: 14px; color: var(--teal); margin-bottom: 16px; }
.ship-progress svg { flex: none; }
.ship-progress__msg { flex: 1; font-size: 0.9375rem; font-weight: 700; color: var(--navy); }
.ship-progress__bar { width: 180px; height: 10px; border-radius: var(--radius-pill); background: #fff; overflow: hidden; flex: none; }
.ship-progress__bar span { display: block; height: 100%; border-radius: var(--radius-pill); background: var(--teal); transition: width .4s; }
@media (max-width: 620px) { .ship-progress { flex-wrap: wrap; } .ship-progress__bar { width: 100%; } }

/* ===================================================== DRAWER MINI CART */
.mini-cart { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.mini-cart__item { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius-panel); padding: 14px; position: relative; }
.mini-cart__thumb { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--orange-tint); flex: none; display: block; }
.mini-cart__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mini-cart__info { flex: 1; min-width: 0; }
.mini-cart__name { display: block; font-family: var(--font-display); font-weight: 700; font-size: 0.96875rem; color: var(--navy); line-height: 1.25; }
.mini-cart__name:hover { color: var(--orange); }
.mini-cart__qty { font-size: 0.78125rem; color: var(--text-muted); }
.mini-cart__price, .mini-cart__price .woocommerce-Price-amount { font-family: var(--font-display); font-weight: 800; font-size: 0.96875rem; color: var(--orange); white-space: nowrap; }
.mini-cart__remove { position: absolute; top: 6px; right: 10px; color: var(--text-subtle); font-size: 1.125rem; font-weight: 800; line-height: 1; }
.mini-cart__remove:hover { color: var(--error); }
.mini-cart__foot { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--hairline); }
.mini-cart__subtotal { display: flex; justify-content: space-between; align-items: baseline; }
.mini-cart__subtotal span:first-child { font-weight: 800; color: var(--navy); font-size: 0.9375rem; }
.mini-cart__subtotal-n, .mini-cart__subtotal-n .woocommerce-Price-amount { font-family: var(--font-display); font-weight: 800; font-size: 1.375rem; color: var(--orange); }
.mini-cart__checkout { display: flex; width: 100%; margin-top: 14px; font-size: 1.0625rem; padding-block: 14px; }
.mini-cart__cart-link { display: block; text-align: center; margin-top: 10px; font-size: 0.84375rem; font-weight: 800; color: var(--text-muted); }
.mini-cart__cart-link:hover { color: var(--orange); }
.mini-cart__empty { text-align: center; padding: 40px 10px; }
.mini-cart__empty-title { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--navy); }
.mini-cart__empty p { font-size: 0.9375rem; color: var(--text-muted); margin: 6px 0 18px; }

/* ===================================================== CART PAGE */
.cart-page { padding-block: 56px 96px; }
.cart-page__title { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 20px; }
.cart-page__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .9fr); gap: 40px; margin-top: 28px; align-items: start; }
.cart-page__items { display: flex; flex-direction: column; gap: 16px; }
.cart-item { background: #fff; border-radius: var(--radius-card); border: 1px solid var(--hairline); padding: 20px; display: flex; gap: 20px; align-items: center; }
.cart-item__thumb { width: 110px; height: 110px; border-radius: var(--radius-input); overflow: hidden; background: var(--orange-tint); flex: none; display: block; }
.cart-item__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-item__info { flex: 1; min-width: 0; }
.cart-item__name { font-family: var(--font-display); font-weight: 700; font-size: 1.1875rem; color: var(--navy); }
.cart-item__name:hover { color: var(--orange); }
.cart-item__type { font-size: var(--fs-note); color: var(--text-muted); margin-top: 2px; }
.cart-item__price, .cart-item__price .woocommerce-Price-amount { font-family: var(--font-display); font-weight: 800; font-size: 1.125rem; color: var(--orange); margin-top: 8px; }
.cart-item__info dl.variation, .cart-item__info .wc-item-meta { font-size: 0.8125rem; color: var(--teal-deep); margin: 4px 0 0; }
.cart-item__info dl.variation dt, .cart-item__info dl.variation dd { display: inline; margin: 0; }
.cart-item__qty .quantity { display: flex; align-items: center; border: 2px solid var(--hairline-strong); border-radius: var(--radius-pill); background: #fff; overflow: hidden; }
.cart-item__qty input[type="number"] { font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--navy); border: none; outline: none; width: 52px; height: 40px; text-align: center; background: transparent; -moz-appearance: textfield; appearance: textfield; }
.cart-item__qty input::-webkit-outer-spin-button, .cart-item__qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.cart-item__total, .cart-item__total .woocommerce-Price-amount { font-family: var(--font-display); font-weight: 800; font-size: 1.1875rem; color: var(--navy); min-width: 100px; text-align: right; flex: none; }
.cart-item__remove { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text-subtle); flex: none; }
.cart-item__remove:hover { background: var(--error-tint); color: var(--error); }
.cart-page__actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.cart-summary { padding: 28px; position: sticky; top: 120px; }
.cart-summary__title { font-family: var(--font-display); font-weight: 800; font-size: 1.375rem; color: var(--navy); }
.cart-summary__coupon { display: flex; gap: 8px; margin-top: 16px; }
.cart-summary__coupon input { font-family: ui-monospace, monospace; font-weight: 700; font-size: 0.875rem; color: var(--navy); letter-spacing: .05em; padding: 11px 14px; border: 2px solid var(--hairline-strong); border-radius: 12px; outline: none; flex: 1; min-width: 0; background: var(--cream-input); }
.cart-summary__coupon input:focus { border-color: var(--teal); }
.cart-summary__totals { margin-top: 20px; }
.cart-summary__totals h2 { display: none; }
.cart-summary__totals table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.cart-summary__totals th { text-align: left; font-weight: 400; color: var(--text); padding: 6px 0; }
.cart-summary__totals td { text-align: right; font-weight: 800; color: var(--navy); padding: 6px 0; }
.cart-summary__totals tr.order-total th { font-weight: 800; color: var(--navy); }
.cart-summary__totals tr.order-total { border-top: 2px solid var(--navy); }
.cart-summary__totals tr.order-total td, .cart-summary__totals tr.order-total .woocommerce-Price-amount { font-family: var(--font-display); font-size: 1.5rem; color: var(--orange); }
.cart-summary__totals .woocommerce-shipping-destination, .cart-summary__totals .woocommerce-shipping-calculator { font-size: 0.8125rem; color: var(--text-muted); }
.wc-proceed-to-checkout { margin-top: 20px; }
.wc-proceed-to-checkout a.checkout-button { display: flex; align-items: center; justify-content: center; width: 100%; font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; color: #fff; background: var(--orange); border-radius: var(--radius-pill); padding: 15px 0; box-shadow: var(--shadow-cta); }
.wc-proceed-to-checkout a.checkout-button:hover { background: var(--orange-deep); color: #fff; }
.cart-summary__trust { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: 0.78125rem; font-weight: 700; color: var(--text-muted); }
.cart-empty-state { background: #fff; border-radius: var(--radius-card); border: 1px solid var(--hairline); padding: 56px; text-align: center; }
@media (max-width: 960px) {
  .cart-page__grid { grid-template-columns: 1fr; }
  .cart-item { flex-wrap: wrap; }
  .cart-summary { position: static; }
}

/* Quantity stepper buttons (injected by main.js). */
.qty-btn {
  font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; color: var(--navy);
  background: none; border: none; width: 38px; height: 40px; cursor: pointer; flex: none;
}
.qty-btn:hover { color: var(--orange); }
.product-buy .qty-btn { width: 44px; height: 100%; font-size: 1.25rem; }
/* The screen-reader label Woo adds above qty inputs. */
.quantity label.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* ===================================================== CHECKOUT */
.checkout-bar { background: var(--navy); color: #fff; }
.checkout-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 16px; }
.checkout-bar__logo span { background: #fff; border-radius: 10px; padding: 6px 12px; display: inline-block; }
.checkout-bar__img { height: 30px; width: auto; display: block; }
.checkout-bar__secure { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; font-weight: 700; color: var(--text-on-dark); }
.checkout-bar__secure svg { color: var(--teal-light); }
.checkout-bar__back { font-size: 0.875rem; font-weight: 800; color: var(--teal-light); }
.checkout-bar__back:hover { color: #fff; }

.kcheckout { padding-block: 48px 96px; }
.kcheckout__title { font-size: clamp(2rem, 3.8vw, 2.5rem); }
.kcheckout__lead { font-size: 1rem; color: var(--text-muted); margin-top: 8px; }
.kcheckout__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; margin-top: 32px; align-items: start; }
.kcheckout__steps { display: flex; flex-direction: column; gap: 24px; min-width: 0; }

.kstep { padding: 28px 30px; border: 1px solid var(--hairline); box-shadow: none; }
.kstep__head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.kstep__n { width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 0.9375rem; display: flex; align-items: center; justify-content: center; flex: none; }
.kstep__title { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--navy); }
.kstep__fields--two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.kstep__full { grid-column: 1 / -1; }
.kstep__note { font-size: 0.8125rem; color: var(--text-muted); margin-top: 10px; }
.kstep__info { font-size: 0.84375rem; font-weight: 700; color: var(--navy); background: var(--teal-tint); border-radius: var(--radius-input); padding: 11px 14px; margin-top: 12px; }

/* Woo form-row inside step cards. */
.kstep .form-row { margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.kstep .form-row label { font-weight: 800; font-size: 0.84375rem; color: var(--navy); }
.kstep .form-row .required { color: var(--orange); text-decoration: none; }
.kstep .form-row .input-text, .kstep .form-row select {
  font-family: var(--font-sans); font-size: 0.96875rem; color: var(--text); width: 100%;
  padding: 13px 16px; border: 2px solid var(--hairline-strong); border-radius: var(--radius-input);
  background: var(--cream-input); outline: none; transition: border-color .15s, box-shadow .15s;
  appearance: none; -webkit-appearance: none;
}
.kstep .form-row select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2310427A' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.kstep .form-row .input-text:focus, .kstep .form-row select:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(56, 191, 172, .15); }
.kstep .form-row.woocommerce-invalid .input-text { border-color: var(--error); background: var(--error-tint); }
.kstep #billing_country_field strong { font-weight: 700; font-size: 0.875rem; color: var(--text-muted); }

/* Option cards (shipping + payment radios). */
.opt-list { display: flex; flex-direction: column; gap: 10px; list-style: none; margin: 0; padding: 0; }
.opt-card { display: flex; align-items: center; gap: 12px; border: 2px solid var(--hairline-strong); background: #fff; border-radius: var(--radius-input); padding: 14px 16px; cursor: pointer; transition: border-color .15s, background .15s; }
.opt-card:hover { border-color: var(--teal); }
.opt-card input { position: absolute; opacity: 0; pointer-events: none; }
.opt-card__dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #C6CFDB; background: #fff; box-sizing: border-box; flex: none; transition: border .15s; }
.opt-card:has(input:checked) { border-color: var(--teal); background: var(--teal-tint); }
.opt-card:has(input:checked) .opt-card__dot { border: 7px solid var(--teal); }
.opt-card__icon { font-size: 1.375rem; flex: none; }
.opt-card__body { flex: 1; min-width: 0; }
.opt-card__name { display: block; font-weight: 800; color: var(--navy); font-size: 0.96875rem; }
.opt-card__desc { display: block; font-size: 0.8125rem; color: var(--text-muted); }
.opt-card__price { font-weight: 800; color: var(--navy); white-space: nowrap; }
.opt-card__price.is-free, .opt-card__price .is-free { color: var(--teal); }
.payment_box { font-size: 0.875rem; color: var(--text-muted); background: var(--teal-tint); border-radius: var(--radius-input); padding: 12px 16px; margin-top: 8px; }
.payment_box p { margin: 0; }
.bank-box__rows { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.bank-box__row { display: flex; justify-content: space-between; gap: 12px; }
.bank-box__row strong { color: var(--navy); text-align: right; }
.payment_box .bank-box__note { font-size: 0.875rem; line-height: 1.6; font-weight: 700; color: var(--navy); background: #fff; border-radius: var(--radius-input); padding: 12px 16px; }

/* Terms row. */
.woocommerce-terms-and-conditions-wrapper { margin-top: 20px; font-size: 0.875rem; line-height: 1.5; }
.woocommerce-terms-and-conditions-wrapper a { font-weight: 800; }
.woocommerce-terms-and-conditions-wrapper input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--teal); margin-right: 8px; vertical-align: -4px; }
.form-row.place-order { margin: 0; }

/* Summary aside. */
.ksummary { padding: 28px; position: sticky; top: 24px; }
.ksummary__title { font-family: var(--font-display); font-weight: 800; font-size: 1.375rem; color: var(--navy); margin-bottom: 18px; }
.ksummary__items { display: flex; flex-direction: column; gap: 14px; }
.ksummary__item { display: flex; justify-content: space-between; gap: 12px; font-size: 0.90625rem; }
.ksummary__item-name { font-weight: 700; color: var(--navy); }
.ksummary__item-qty { color: var(--text-muted); font-weight: 800; }
.ksummary__item-total { font-weight: 800; color: var(--navy); white-space: nowrap; }
.ksummary__rows { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--hairline); font-size: 0.9375rem; }
.ksummary__row { display: flex; justify-content: space-between; gap: 12px; }
.ksummary__strong, .ksummary__row .woocommerce-Price-amount { font-weight: 800; color: var(--navy); }
.ksummary__row--coupon, .ksummary__row--coupon .woocommerce-Price-amount { color: var(--teal); font-weight: 700; }
.ksummary__row--coupon .woocommerce-remove-coupon { font-size: 0.78125rem; margin-left: 6px; }
.ksummary__ship { font-weight: 800; color: var(--teal); }
.ksummary__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; padding-top: 16px; border-top: 2px solid var(--navy); }
.ksummary__total > span:first-child { font-weight: 800; color: var(--navy); font-size: 1rem; }
.ksummary__total-n .woocommerce-Price-amount { font-family: var(--font-display); font-weight: 800; font-size: 1.625rem; color: var(--orange); }
.ksummary__submit { display: flex; width: 100%; margin-top: 20px; font-size: 1.125rem; padding-block: 15px; }
.ksummary__submit:disabled { opacity: .6; }
.ksummary__legal { font-size: 0.78125rem; color: var(--text-muted); text-align: center; margin-top: 10px; }
.ksummary__trust { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--hairline); font-size: 0.8125rem; font-weight: 700; color: var(--text-muted); }
.ksummary__trust span { display: flex; align-items: center; gap: 8px; }
.ksummary__trust svg { color: var(--teal); flex: none; }
.kcheckout .blockUI.blockOverlay { border-radius: var(--radius-card); }

@media (max-width: 960px) {
  .kcheckout__grid { grid-template-columns: minmax(0, 1fr); }
  .ksummary { position: static; }
  .kstep__fields--two { grid-template-columns: minmax(0, 1fr); }
  .kstep { padding: 22px 20px; }
  .ksummary { padding: 22px 20px; }
  .checkout-bar__inner { flex-wrap: wrap; gap: 10px 24px; }
}

/* Drawer variant of the free-shipping banner: message on top, bar below. */
.cart-drawer .ship-progress { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px 12px; }
.cart-drawer .ship-progress__bar { grid-column: 1 / -1; width: 100%; }

/* Checkout summary coupon. */
.ksummary__coupon { display: flex; gap: 8px; margin-bottom: 16px; }
.ksummary__coupon input { font-family: ui-monospace, monospace; font-weight: 700; font-size: 0.875rem; color: var(--navy); letter-spacing: .05em; padding: 11px 14px; border: 2px solid var(--hairline-strong); border-radius: 12px; outline: none; flex: 1; min-width: 0; background: var(--cream-input); }
.ksummary__coupon input:focus { border-color: var(--teal); }
.ksummary__coupon-msg { font-size: 0.8125rem; font-weight: 700; color: var(--teal); margin: -6px 0 12px; }
.ksummary__coupon-msg.is-error { color: var(--error); }
.ksummary__coupon-msg .woocommerce-error, .ksummary__coupon-msg .woocommerce-message { background: none; padding: 0; margin: 0; list-style: none; color: inherit; font-size: inherit; }

/* Desktop: the gallery follows the reader along the product info. */
@media (min-width: 961px) {
  .product-gallery { position: sticky; top: 96px; }
}

/* Quantity stepper pills in the drawer and checkout summary. */
.kqty { display: inline-flex; align-items: center; gap: 2px; border: 2px solid var(--hairline-strong); border-radius: var(--radius-pill); background: #fff; vertical-align: middle; }
.kqty__btn { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--navy); background: none; border: none; width: 28px; height: 28px; cursor: pointer; line-height: 1; border-radius: 50%; }
.kqty__btn:hover { color: var(--orange); }
.kqty__n { font-family: var(--font-display); font-weight: 800; font-size: 0.875rem; color: var(--navy); min-width: 18px; text-align: center; }
.kqty.is-busy { opacity: .5; pointer-events: none; }
.kqty--sm { margin-left: 8px; }
.kqty--sm .kqty__btn { width: 24px; height: 24px; font-size: 0.9375rem; }
.mini-cart__item .kqty { margin-top: 4px; }

/* Single product: breathing room at the very bottom. */
.product-related { padding-bottom: 96px; }
.product-related:last-child { padding-bottom: 96px; }

/* Drawer item: active quantity-discount note. */
.mini-cart__disc { display: block; font-size: 0.71875rem; font-weight: 800; color: var(--teal); margin-top: 3px; }

/* Terms block in the summary: privacy note, then the checkbox, clearly separated. */
.ksummary__terms { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--hairline); }
.ksummary__terms .woocommerce-privacy-policy-text p { font-size: 0.78125rem; color: var(--text-muted); line-height: 1.55; margin: 0 0 12px; }
.ksummary__terms .woocommerce-terms-and-conditions-wrapper { margin: 0; font-size: 0.84375rem; line-height: 1.5; }
.ksummary__terms .woocommerce-terms-and-conditions-checkbox-text { color: var(--navy); font-weight: 700; }

/* Containment: no card may force horizontal scroll. */
.kstep, .ksummary, .kcheckout__steps { min-width: 0; }
.kstep .form-row .input-text { min-width: 0; }

/* Checkout bar on phones: logo + trust only. */
@media (max-width: 620px) { .checkout-bar__back { display: none; } }

/* Summary item thumbnails. */
.ksummary__item { align-items: center; }
.ksummary__thumb { width: 48px; height: 48px; border-radius: 10px; overflow: hidden; background: var(--orange-tint); flex: none; display: block; }
.ksummary__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ksummary__item-name { flex: 1; min-width: 0; }

/* The whole card is the product link; only the buy button acts differently. */
.prod-card { position: relative; }
.prod-card__name::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.prod-card__buy { position: relative; z-index: 2; }

/* Woo's JS appends a "view cart" link after AJAX adds; the drawer already
   opens, so the link is noise. */
a.added_to_cart.wc-forward { display: none; }

/* Add-to-cart button states: busy while adding, teal "in the cart" after. */
.prod-card__buy.loading { pointer-events: none; opacity: .75; }
.prod-card__buy.added { background: var(--teal); font-size: 0; }
.prod-card__buy.added:hover { background: var(--teal-deep); }
.prod-card__buy.added::after { content: "✓ A kosárban!"; font-size: 0.96875rem; }

/* Tax note under the total, small and quiet. */
.ksummary__total { flex-wrap: wrap; }
.ksummary__total-n { text-align: right; }
.ksummary__total-n .includes_tax { display: block; font-family: var(--font-sans); font-size: 0.75rem; font-weight: 700; color: var(--text-muted); margin-top: 2px; }
.ksummary__total-n .includes_tax .woocommerce-Price-amount { font-family: inherit; font-size: inherit; color: inherit; }

/* Pickup-point picker below the shipping cards. */
.kpont { margin-top: 12px; }
.kpont__pick { width: 100%; }
.kpont__selected { display: flex; align-items: center; gap: 12px; background: var(--teal-tint); border-radius: var(--radius-input); padding: 12px 16px; }
.kpont__info { font-size: 0.875rem; color: var(--navy); line-height: 1.5; }
.kpont__info strong { font-weight: 800; }
.kpont__selected i[class*="vp-woo-pont-provider-icon"] { flex: none; }
.kpont__modify { font-weight: 800; font-size: 0.8125rem; margin-left: 6px; }

/* Optional address line 2, revealed on demand. */
.kaddr2__toggle { background: none; border: none; padding: 0; font-family: var(--font-sans); font-weight: 800; font-size: 0.84375rem; color: var(--teal); cursor: pointer; }
.kaddr2__toggle:hover { color: var(--teal-deep); }
.kaddr2__field { display: none; margin-top: 10px; }
.kaddr2.is-open .kaddr2__toggle { display: none; }
.kaddr2.is-open .kaddr2__field { display: block; }

/* Fine print rows in spec lists (manufacturer, origin, disclaimers). */
.dot-list li.fine { font-size: 0.75rem; color: var(--text-subtle); }
.dot-list li.fine::before { color: var(--text-subtle); }

/* Drawer upsell strip. */
.mini-upsell { margin-top: 18px; padding: 14px; background: var(--amber-tint); border-radius: var(--radius-panel); }
.mini-upsell__title { font-family: var(--font-display); font-weight: 700; font-size: 0.90625rem; color: var(--navy); margin-bottom: 10px; }
.mini-upsell__item { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.mini-upsell__thumb { width: 40px; height: 40px; border-radius: 8px; overflow: hidden; background: #fff; flex: none; display: block; }
.mini-upsell__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mini-upsell__info { flex: 1; min-width: 0; }
.mini-upsell__name { display: block; font-weight: 800; font-size: 0.78125rem; color: var(--navy); line-height: 1.3; }
.mini-upsell__name:hover { color: var(--orange); }
.mini-upsell__price, .mini-upsell__price .woocommerce-Price-amount { font-size: 0.78125rem; font-weight: 800; color: var(--orange); }
.mini-upsell__add { width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; font-size: 1.125rem; display: flex; align-items: center; justify-content: center; flex: none; line-height: 1; }
.mini-upsell__add:hover { background: var(--orange-deep); color: #fff; }

/* Upsell grid on product pages. */
.up-sells h2 { font-size: 1.875rem; margin-bottom: 28px; }
.up-sells { margin-bottom: 48px; }

/* Accessories section on the shop page. */
.shop-accessories { padding-top: 72px; }
.shop-accessories .sec-head { margin-bottom: 28px; }

/* Recommendation rows: 4-up, swipeable pages when there are more. */
.product-related ul.products {
  display: flex; grid-template-columns: none; overflow-x: auto; gap: 22px;
  scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
  padding: 12px 12px 36px; margin: -12px -12px -32px; scroll-padding-left: 12px;
}
.product-related ul.products::-webkit-scrollbar { display: none; }
.product-related ul.products > li { flex: 0 0 calc(25% - 17px); scroll-snap-align: start; min-width: 0; }
@media (max-width: 960px) { .product-related ul.products > li { flex-basis: calc(50% - 11px); } }
@media (max-width: 560px) { .product-related ul.products > li { flex-basis: 82%; } }
.krec-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 18px 0 6px; }
.krec-arrow {
  width: 40px; height: 40px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--teal-tint); color: var(--navy); font-size: 1.125rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.krec-arrow:hover { background: var(--teal-tint-deep); }
.krec-arrow:disabled { opacity: .35; cursor: default; }
.krec-dots { display: flex; gap: 8px; }
.krec-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--hairline-strong); border: none; padding: 0; cursor: pointer; transition: background .2s, transform .2s; }
.krec-dot.is-active { background: var(--orange); transform: scale(1.25); }

/* Forint savings in the ladder and cart rows. */
.ladder__save { display: block; font-size: 0.71875rem; font-weight: 800; color: var(--teal-deep); }
.mini-cart__price del, .ksummary__item-total del,
.mini-cart__price del .woocommerce-Price-amount, .ksummary__item-total del .woocommerce-Price-amount { display: block; font-family: var(--font-sans); font-weight: 400; font-size: 0.78125rem; color: var(--text-subtle); }
.mini-cart__savings { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.mini-cart__savings span:first-child { font-weight: 800; color: var(--teal); font-size: 0.875rem; }
.mini-cart__savings span:last-child, .mini-cart__savings .woocommerce-Price-amount { font-weight: 800; color: var(--teal); font-size: 0.9375rem; }
.ksummary__row--savings, .ksummary__row--savings .woocommerce-Price-amount { color: var(--teal); font-weight: 800; }
.ksummary__savings-note, .ksummary__savings-note .woocommerce-Price-amount { font-size: 0.78125rem; font-weight: 700; color: var(--text-muted); text-align: right; margin-top: -8px; }
.mini-cart__savings-note, .mini-cart__savings-note .woocommerce-Price-amount { font-size: 0.78125rem; font-weight: 700; color: var(--text-muted); text-align: right; margin: -4px 0 8px; }
.mini-cart__price, .ksummary__item-total { text-align: right; }

/* Checkout + global Woo notices in the design language. */
.woocommerce-NoticeGroup, .woocommerce-notices-wrapper { grid-column: 1 / -1; min-width: 0; }
ul.woocommerce-error { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
ul.woocommerce-error li {
  background: var(--error-tint); border: 2px solid #F3D2CE; border-radius: var(--radius-input);
  padding: 13px 18px; font-size: 0.9375rem; font-weight: 700; color: var(--error);
}
ul.woocommerce-error li a { color: inherit; text-decoration: underline; }
.checkout-inline-error-message {
  background: var(--error-tint); border: 2px solid #F3D2CE; border-radius: var(--radius-input);
  padding: 10px 14px; font-size: 0.8125rem; font-weight: 700; color: var(--error); margin-top: 8px;
}
.woocommerce-message, .woocommerce-info {
  background: var(--teal-tint); border-radius: var(--radius-input); padding: 13px 18px;
  font-size: 0.9375rem; font-weight: 700; color: var(--navy); margin: 0 0 8px; list-style: none;
}
.woocommerce-message a, .woocommerce-info a { font-weight: 800; }

/* ===================================================== THANK YOU */
.kthanks { max-width: 820px; padding-block: 72px 96px; text-align: center; }
@keyframes kpop { 0% { transform: scale(0); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }
.kthanks__icon { width: 96px; height: 96px; border-radius: 50%; background: var(--teal-tint); color: var(--teal); display: inline-flex; align-items: center; justify-content: center; animation: kpop .5s var(--ease-pop) both; }
.kthanks__icon--fail { background: var(--error-tint); color: var(--error); font-size: 2rem; font-weight: 800; }
.kthanks__title { font-size: clamp(2rem, 4vw, 2.75rem); margin-top: 24px; }
.kthanks__lead { font-size: 1.09375rem; margin-top: 14px; }
.kthanks__lead strong { color: var(--navy); }
.kthanks__card { border: 1px solid var(--hairline); box-shadow: none; padding: 28px 32px; margin-top: 36px; text-align: left; }
.kthanks__card-title { font-family: var(--font-display); font-weight: 700; font-size: 1.1875rem; color: var(--navy); }
.kthanks__rows { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; font-size: 0.90625rem; }
.kthanks__row { display: flex; justify-content: space-between; gap: 12px; }
.kthanks__row-name { font-weight: 700; color: var(--navy); }
.kthanks__row-val, .kthanks__row-val .woocommerce-Price-amount { font-weight: 800; color: var(--navy); }
.kthanks__row--teal, .kthanks__row--teal .woocommerce-Price-amount { color: var(--teal); font-weight: 800; }
.kthanks__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; padding-top: 14px; border-top: 2px solid var(--navy); }
.kthanks__total > span:first-child { font-weight: 800; color: var(--navy); font-size: 0.9375rem; }
.kthanks__total-n .woocommerce-Price-amount { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--orange); }
.kthanks__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 36px; text-align: left; }
.kthanks__step:nth-child(3n+1):last-child { grid-column: 1 / -1; }
.kthanks__step { background: #fff; border-radius: var(--radius-panel); border: 1px solid var(--hairline); padding: 20px 22px; }
.kthanks__step-icon { font-size: 1.625rem; }
.kthanks__step-title { font-weight: 800; color: var(--navy); font-size: 0.9375rem; margin-top: 8px; }
.kthanks__step-text { font-size: var(--fs-note); line-height: 1.55; color: var(--text-muted); margin-top: 4px; }
.kthanks__ctas { display: flex; gap: 16px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
@media (max-width: 720px) { .kthanks__steps { grid-template-columns: 1fr; } }

.kthanks__pay { margin-top: 18px; }
.kthanks__pay-text, .kthanks__pay p { font-size: 0.90625rem; line-height: 1.6; color: var(--text-muted); margin-top: 8px; }
.kthanks__pay .kthanks__row > span:first-child { color: var(--text-muted); }
.kthanks__pay h2, .kthanks__pay h3 { font-family: var(--font-display); font-size: 1.0625rem; color: var(--navy); margin-top: 12px; }
.kthanks__pay ul { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 0.90625rem; }
.kthanks__pay li strong { color: var(--navy); }
