/* Brand tokens: change these to rebrand. Astra reads --ast-global-color-*. */
:root {
  --brand: #2563eb;
  --brand-hover: #1d4ed8;
  --brand-dark: #1d4ed8;
  --brand-tint: #eff6ff;
  --brand-warm: #2563eb;
  --brand-ink: #0f1628;
  --brand-text: #2a2a3a;
  --brand-muted: #5b6478;
  --brand-sale: #dc2626;
  --brand-soft: #f5f7fb;
  --brand-line: #e3e8f0;
  --brand-radius: 16px;
  --brand-shadow: 0 14px 34px rgba(15, 22, 40, .10);

  --ast-global-color-0: var(--brand);
  --ast-global-color-1: var(--brand-hover);
  --ast-global-color-2: var(--brand-ink);
  --ast-global-color-3: var(--brand-text);
  --ast-global-color-4: var(--brand-soft);
  --ast-global-color-5: #ffffff;
}

body, button, input, select, textarea, .ast-button, .button {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body { background: #fff; color: var(--brand-text); }
h1, h2, h3, h4, .woocommerce-loop-product__title, .product_title { color: var(--brand-ink); letter-spacing: -0.015em; }
a { color: var(--brand); }
svg { stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Announcement bar: one rotating message (store-interactive.js) */
.store-announce { background: var(--brand-ink); color: #e2e8f0; font-size: 13px; font-weight: 500; padding: 9px 16px; text-align: center; }
.store-announce__track { display: grid; }
.store-announce__item { grid-area: 1 / 1; opacity: 0; transform: translateY(6px); transition: opacity .45s ease, transform .45s ease; }
.store-announce__item.is-active { opacity: 1; transform: none; }
.store-announce__item:first-child::before {
  content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; vertical-align: 1px;
  background: var(--brand-warm); animation: store-ping 1.8s ease-out infinite;
}

/* Header + logo mark */
.site-header, .main-header-bar { background: rgba(255,255,255,.96) !important; border-bottom: 1px solid var(--brand-line) !important; }
.site-title { margin: 0; }
.site-title a {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--brand-ink) !important; font-weight: 800; font-size: 22px; letter-spacing: -0.02em;
}
.site-title a::before {
  content: ""; width: 34px; height: 34px; flex: none;
  background: url("assets/favicon.svg?v=hg1") center / contain no-repeat;
  border-radius: 10px;
}
.site-title__accent { color: var(--brand); font-weight: 500; }
.site-description { display: none; }
.main-header-menu .menu-link { font-weight: 600; color: var(--brand-ink) !important; }
.main-header-menu .menu-link:hover, .main-header-menu .current-menu-item > .menu-link { color: var(--brand) !important; }
.ast-site-header-cart .count, .ast-cart-menu-wrap .count { border-color: var(--brand) !important; color: var(--brand) !important; }

/* Control size system: every button 44px tall with 15px text and a pill shape; every input 44px with 12px corners */
:root { --control-h: 44px; --control-font: 15px; --input-radius: 12px; }

/* Buttons */
.woocommerce a.button, .woocommerce button.button, .woocommerce .button, a.button, button.button,
.wp-block-button__link, .ast-button, button.single_add_to_cart_button, .store-form .button, .store-newsletter .button,
.wc-block-components-button:not(.is-link), .store-sticky-cart__btn {
  background: var(--brand) !important; color: #fff !important;
  border: 0 !important; border-radius: 999px !important;
  font-weight: 600 !important; font-size: var(--control-font) !important; line-height: 1.2 !important;
  min-height: var(--control-h); padding: 10px 22px !important;
  display: inline-flex !important; align-items: center; justify-content: center; gap: 8px; text-align: center;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
/* Product cards: one line, slightly slimmer so two-column phone grids stay tidy */
.woocommerce ul.products li.product .button {
  display: flex !important; width: 100%; min-height: 40px; padding: 8px 12px !important; font-size: 14px !important; white-space: nowrap;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .wp-block-button__link:hover,
button.single_add_to_cart_button:hover, .wc-block-components-button:not(.is-link):hover {
  background: var(--brand-hover) !important; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(37,99,235,.25);
}
.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent !important; color: #fff !important; box-shadow: inset 0 0 0 2px rgba(255,255,255,.6);
}
a:focus-visible, button:focus-visible, .button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--brand-warm); outline-offset: 2px;
}

/* Hero */
.store-hero {
  position: relative; overflow: hidden; border-radius: 28px;
  background:
    radial-gradient(520px 320px at 88% 18%, rgba(147,197,253,.30), transparent 70%),
    radial-gradient(700px 420px at 72% 110%, rgba(15,22,40,.35), transparent 70%),
    linear-gradient(135deg, #1d4ed8 0%, #2563eb 55%, #3b82f6 100%) !important;
  padding: clamp(36px, 7vw, 84px) clamp(22px, 6vw, 72px) !important;
}
.store-hero::after {
  content: ""; position: absolute; right: clamp(-60px, 2vw, 40px); bottom: -30px;
  width: clamp(220px, 34vw, 420px); aspect-ratio: 1; pointer-events: none;
  background: url("assets/hero-art.svg") center / contain no-repeat;
}
.store-hero > * { position: relative; z-index: 1; max-width: 560px; }
.store-hero .store-eyebrow {
  display: inline-block; background: rgba(255,255,255,.14); color: #fff !important;
  border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 600; margin-bottom: 14px;
}
.store-hero h1 { color: #fff !important; font-weight: 800; font-size: clamp(34px, 5.4vw, 58px); line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 14px; }
.store-hero p { color: rgba(255,255,255,.85) !important; font-size: clamp(16px, 1.6vw, 19px); }
.store-hero .wp-block-button__link { background: #fff !important; color: var(--brand-ink) !important; }
.store-hero .wp-block-button__link:hover { background: var(--brand-warm) !important; color: var(--brand-ink) !important; }
@media (max-width: 700px) { .store-hero::after { display: none; } }

.store-hero .wp-block-buttons, .store-promo .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.store-hero .wp-block-button__link, .store-promo .wp-block-button__link { display: inline-block; text-decoration: none; }
body, .ast-separate-container, .ast-plain-container { background: #fff !important; }

/* Trust strip */
.store-trust { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 14px !important; margin: 18px 0 0 !important; padding: 0 !important; max-width: none !important; }
.store-trust .wp-block-column { margin: 0 !important; }
@media (max-width: 1000px) { .store-trust { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .store-trust { grid-template-columns: 1fr; } }
.store-trust .wp-block-column {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--brand-soft); border: 1px solid var(--brand-line); border-radius: var(--brand-radius); padding: 18px 20px;
}
.store-trust svg { width: 26px; height: 26px; color: var(--brand); flex: none; margin-top: 2px; }
.store-trust h3 { font-size: 15px; margin: 0 0 2px; }
.store-trust p { margin: 0; font-size: 14px; color: var(--brand-muted); }

.store-section-title { font-weight: 800; font-size: clamp(24px, 3vw, 32px) !important; margin: 56px 0 6px !important; }
.store-section-sub { color: var(--brand-muted); margin-bottom: 22px !important; }

/* Category tiles */
.store-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 800px) { .store-cats { grid-template-columns: repeat(2, 1fr); } }
.store-cat {
  display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
  padding: 22px 12px; border-radius: var(--brand-radius); background: var(--tile, var(--brand-tint));
  color: var(--brand-ink) !important; font-weight: 700; font-size: 15px; text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease;
}
.store-cat:hover { transform: translateY(-3px); box-shadow: var(--brand-shadow); }
.store-cat__icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #fff; color: var(--brand); }
.store-cat__icon svg { width: 28px; height: 28px; }
.store-cat--iphone  { --tile: #e8eefc; }
.store-cat--samsung { --tile: #eff6ff; }
.store-cat--laptops { --tile: #e0f2fe; }
.store-cat--audio   { --tile: #eef2ff; }

/* Footer country / currency selector */
.store-country { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.store-country select {
  -webkit-appearance: none; appearance: none; font-family: inherit; font-size: 14px; font-weight: 500; line-height: 1.2;
  color: #fff; cursor: pointer;
  min-height: 40px; max-width: 100%; padding: 8px 36px 8px 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18); transition: border-color .2s ease, background-color .2s ease;
  background: rgba(255,255,255,.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23cbd5e1' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
}
.store-country select:hover { border-color: rgba(255,255,255,.4); background-color: rgba(255,255,255,.1); }
.store-country select:focus-visible { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(37,99,235,.45); }
.store-country select option { color: var(--brand-ink); background: #fff; }
.store-country form { margin: 0; }

/* Promo band */
.store-promo {
  border-radius: 24px; background: var(--brand-ink) !important; color: #fff;
  padding: clamp(28px, 5vw, 48px) !important; margin-top: 56px !important;
  background-image: radial-gradient(400px 220px at 90% 0%, rgba(96,165,250,.35), transparent 70%) !important;
}
.store-promo h2 { color: #fff !important; font-weight: 800; margin-bottom: 6px; }
.store-promo p { color: #cbd5e1 !important; margin: 0; }
.store-promo .wp-block-button__link { background: var(--brand-warm) !important; color: var(--brand-ink) !important; }

/* Product cards */
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
  background: #fff; border: 1px solid var(--brand-line); border-radius: var(--brand-radius);
  padding: 12px 12px 18px !important; transition: box-shadow .2s ease, transform .2s ease; text-align: left;
}
.woocommerce ul.products li.product:hover { box-shadow: var(--brand-shadow); transform: translateY(-3px); }
.woocommerce ul.products li.product img {
  border-radius: calc(var(--brand-radius) - 6px);
  background: linear-gradient(145deg, #f8fafa, #f1f5f9);
  aspect-ratio: 1; object-fit: contain; padding: 8px; margin-bottom: 12px !important;
}
.woocommerce ul.products li.product .ast-woo-product-category { color: var(--brand-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 15px !important; font-weight: 650; line-height: 1.35; }
.woocommerce ul.products li.product .button { display: block; width: 100%; text-align: center; margin-top: 12px; }
.woocommerce .price, .wc-block-components-product-price { color: var(--brand-ink) !important; font-weight: 800; }
.woocommerce .price del { color: var(--brand-muted) !important; font-weight: 400; opacity: 1; font-size: .85em; }
.woocommerce .price ins { color: var(--brand-sale) !important; text-decoration: none; }
.store-save-badge {
  display: inline-block; background: var(--brand-sale); color: #fff; font-size: 12px; font-weight: 700;
  padding: 3px 9px; border-radius: 999px; vertical-align: middle; margin-left: 6px; letter-spacing: .02em;
}
.single-product .store-save-badge { font-size: 14px; padding: 4px 12px; }
.woocommerce span.onsale, .ast-onsale-card {
  background: var(--brand-sale) !important; color: #fff !important; border-radius: 999px !important;
  min-height: 0 !important; min-width: 0 !important; line-height: 1 !important; padding: 7px 11px !important;
  font-size: 12px !important; font-weight: 700; top: 18px !important; left: 18px !important; right: auto !important; margin: 0 !important;
}
.woocommerce .star-rating span::before { color: var(--brand-warm); }

/* Shop page */
.woocommerce-products-header__title, .woocommerce .page-title { font-weight: 800; }
.woocommerce .woocommerce-ordering select { border-radius: 999px; padding: 8px 14px; border-color: var(--brand-line); }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { border-radius: 10px; }

/* Single product */
.single-product div.product .product_title { font-size: clamp(26px, 3vw, 34px); font-weight: 800; }
.single-product div.product .woocommerce-product-gallery img { border-radius: var(--brand-radius); background: var(--brand-soft); }
.single-product div.product p.price { font-size: 26px; margin: 8px 0 14px; }
.single-product div.product .woocommerce-product-details__short-description { font-size: 16px; }
.single-product form.cart { display: flex; gap: 10px; align-items: stretch; }
/* div.quantity only: the mini-cart's "1 × price" is a span.quantity and must stay plain text. */
.woocommerce div.quantity {
  display: inline-flex !important; align-items: center; border: 1px solid var(--brand-line); border-radius: 999px;
  overflow: hidden; height: 44px; background: #fff; flex-direction: row !important;
}
.woocommerce .quantity .qty {
  width: 36px; text-align: center; border: none !important; background: transparent; font-size: 15px; font-weight: 600;
  color: var(--brand-ink); -moz-appearance: textfield; padding: 0; height: 100%; margin: 0;
}
.woocommerce .quantity .qty::-webkit-inner-spin-button,
.woocommerce .quantity .qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.woocommerce .quantity .store-qty-btn {
  width: 38px; height: 100%; border: none; background: transparent; cursor: pointer;
  font-size: 18px; line-height: 1; color: var(--brand-ink); display: flex; align-items: center; justify-content: center;
  transition: background .15s ease; user-select: none; padding: 0; margin: 0; flex-shrink: 0;
}
.woocommerce .quantity .store-qty-btn:hover { background: var(--brand-tint); }
.woocommerce .quantity .store-qty-btn:active { background: var(--brand-line); }
.single-product form.cart .single_add_to_cart_button { flex: 1; max-width: 360px; }

/* Header mini-cart: item row with room for the remove button, plain quantity line, compact buttons */
.woocommerce-mini-cart-item.mini_cart_item { position: relative; padding-right: 36px !important; }
.woocommerce-mini-cart-item a.remove {
  position: absolute !important; top: 14px !important; right: 4px !important; left: auto !important;
  width: 24px !important; height: 24px !important; line-height: 22px !important; font-size: 16px !important;
  border: 1px solid var(--brand-line) !important; border-radius: 50% !important; color: var(--brand-muted) !important;
  background: #fff !important; text-align: center; transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.woocommerce-mini-cart-item a.remove:hover { color: #fff !important; background: var(--brand-sale) !important; border-color: var(--brand-sale) !important; }
.woocommerce-mini-cart-item span.quantity {
  display: block; margin-top: 4px; padding: 0; border: none; height: auto; background: none;
  font-size: 14px; font-weight: 600; color: var(--brand-muted);
}
.woocommerce-mini-cart__buttons { display: grid !important; gap: 8px; }
.woocommerce-mini-cart__buttons .button {
  margin: 0 !important; min-height: 44px; padding: 10px 16px !important; font-size: 15px !important; line-height: 1.2 !important;
  border-radius: 12px !important; display: flex !important; align-items: center; justify-content: center;
}
.woocommerce-mini-cart__buttons .button:not(.checkout) {
  background: #fff !important; color: var(--brand-ink) !important; box-shadow: inset 0 0 0 1px var(--brand-line) !important;
}
.woocommerce-mini-cart__buttons .button:not(.checkout):hover { box-shadow: inset 0 0 0 1px var(--brand) !important; color: var(--brand) !important; }
.store-assure { list-style: none; margin: 18px 0 0 !important; padding: 16px 18px; background: var(--brand-soft); border-radius: var(--brand-radius); display: grid; gap: 8px; font-size: 14px; }
.store-assure li { display: flex; gap: 10px; align-items: center; margin: 0; }
.store-assure svg { width: 18px; height: 18px; color: var(--brand); flex: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--brand) !important; }
/* Phones: full-width Buy now. Not sticky: the whole options form would slide over the description;
   the separate sticky add-to-cart bar (.store-sticky-cart) covers that job. */
@media (max-width: 768px) {
  .single-product form.cart .single_add_to_cart_button { max-width: none; }
}

/* Checkout */
.wc-block-components-text-input input, .wc-block-components-combobox .components-combobox-control__input,
.wc-blocks-components-select__select, .wc-block-components-textarea { border-radius: 10px !important; }
.wc-block-checkout__sidebar .wc-block-components-order-summary, .wc-block-components-sidebar { background: var(--brand-soft); border-radius: var(--brand-radius); }

/* Footer */
.store-footer { background: var(--brand-ink); color: #cbd5e1; padding: 56px 0 18px; margin-top: 72px; }
.store-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
@media (max-width: 900px) { .store-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .store-footer__grid { grid-template-columns: 1fr; } }
.store-footer__name { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 20px; }
.store-footer__name::before { content: ""; width: 34px; height: 34px; flex: none; background: url("assets/logo-dark.svg?v=hg1") center / contain no-repeat; }
.store-footer__name .site-title__accent { color: #60a5fa; }
.store-footer__brand p { margin: 8px 0 0; color: #94a3b8; font-size: 14px; }
.store-footer__address { font-size: 13px !important; line-height: 1.5; color: #94a3b8 !important; }
.store-footer h2 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 14px; }
.store-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.store-footer a { color: #cbd5e1; font-size: 14px; text-decoration: none; transition: color .15s ease; }
.store-footer a:hover { color: var(--brand-warm); }
.store-footer .store-country { margin-top: 16px; }
.store-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); }
.store-pay { display: flex; gap: 8px; align-items: center; font-size: 13px; color: #94a3b8; margin: 0; }
.store-pay svg { width: 16px; height: 16px; flex: none; }
.store-payments { display: flex !important; flex-wrap: wrap; gap: 8px !important; }
.store-payments li { padding: 5px 10px; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; font-size: 12px; font-weight: 600; color: #e2e8f0; }
.site-footer, .site-below-footer-wrap, .site-footer .ast-builder-grid-row-container { background: var(--brand-ink) !important; border: 0 !important; }
.site-footer, .site-footer .ast-footer-copyright, .site-footer .ast-footer-copyright p { color: #94a3b8 !important; font-size: 13px; }

/* ---- Interactions (store-interactive.js) ---- */
.store-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.store-reveal.is-visible { opacity: 1; transform: none; }
.site-header { transition: box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(15,23,42,.08); }
.woocommerce ul.products li.product a img { transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.woocommerce ul.products li.product:hover a img { transform: scale(1.04); }
.woocommerce ul.products li.product { overflow: hidden; }
.woocommerce a.button:active, .wp-block-button__link:active, button.single_add_to_cart_button:active, .store-swatch:active { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .store-reveal { opacity: 1; transform: none; }
}

.store-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Variation swatches */
.single-product table.variations, .single-product table.variations tbody, .single-product table.variations tr,
.single-product table.variations th, .single-product table.variations td { display: block; border: 0; padding: 0; background: none; }
.single-product table.variations th.label { margin: 14px 0 8px; font-weight: 700; color: var(--brand-ink); }
.store-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.store-swatch {
  display: inline-flex; align-items: center; gap: 8px; min-height: var(--control-h); padding: 8px 18px;
  border: 1.5px solid var(--brand-line); border-radius: 999px; background: #fff; color: var(--brand-ink);
  font-weight: 600; font-size: 14px; cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease, transform .15s ease;
}
.store-swatch:hover { border-color: var(--brand-ink); transform: translateY(-1px); }
.store-swatch__dot { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(15,23,42,.2), 0 0 0 2px #fff; flex-shrink: 0; }
.store-swatches--colour .store-swatch { padding-left: 8px; }
.single-product .reset_variations { display: inline-block; margin-top: 10px; font-size: 13px; }
.single-product form.variations_form { display: block; }                 /* options first, Buy now underneath */
.single-product .woocommerce-variation-add-to-cart { display: flex; gap: 10px; margin-top: 16px; }
.single-product .woocommerce-variation-price .price { font-size: 24px; margin: 14px 0 4px; }

/* How it works */
.store-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: step; }
@media (max-width: 900px) { .store-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .store-steps { grid-template-columns: 1fr; } }
.store-step { position: relative; padding: 22px 20px; border: 1px solid var(--brand-line); border-radius: var(--brand-radius); background: #fff; }
.store-step::before {
  counter-increment: step; content: counter(step); display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 12px;
}
.store-step h3 { font-size: 16px; margin: 0 0 4px; }
.store-step p { margin: 0; font-size: 14px; color: var(--brand-muted); }

/* FAQ */
.store-faq { display: grid; gap: 10px; max-width: 860px; }
.store-faq details { border: 1px solid var(--brand-line); border-radius: var(--brand-radius); background: #fff; padding: 0 20px; transition: box-shadow .2s ease; }
.store-faq details[open] { box-shadow: var(--brand-shadow); }
.store-faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; color: var(--brand-ink); display: flex; justify-content: space-between; gap: 16px; }
.store-faq summary::-webkit-details-marker { display: none; }
.store-faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--brand); transition: transform .2s ease; }
.store-faq details[open] summary::after { transform: rotate(45deg); }
.store-faq details p { margin: 0 0 18px; color: var(--brand-text); }

/* Reviews */
.woocommerce #reviews #comments ol.commentlist li .comment-text { border-radius: var(--brand-radius); border-color: var(--brand-line); }
.woocommerce #reviews #comments ol.commentlist li img.avatar { border-radius: 50%; }
.woocommerce p.stars a { color: var(--brand-warm); }
.woocommerce .woocommerce-verification-required { background: var(--brand-soft); padding: 14px 18px; border-radius: var(--brand-radius); }
.woocommerce #review_form #respond { background: var(--brand-soft); padding: 24px; border-radius: var(--brand-radius); border: 1px solid var(--brand-line); }
.woocommerce #review_form #respond .comment-reply-title { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.woocommerce #review_form #respond .comment-form-rating label { font-weight: 600; }
.woocommerce #review_form #respond textarea { border-radius: 10px; border: 1px solid var(--brand-line); padding: 12px; font-size: 15px; min-height: 100px; }
.woocommerce #review_form #respond input[type="text"],
.woocommerce #review_form #respond input[type="email"] { border-radius: 10px; border: 1px solid var(--brand-line); padding: 10px 12px; font-size: 15px; }
.woocommerce #review_form #respond .form-submit input { background: var(--brand); color: #fff; border: none; border-radius: 10px; padding: 12px 28px; font-size: 15px; font-weight: 600; cursor: pointer; transition: background .2s; }
.woocommerce #review_form #respond .form-submit input:hover { background: var(--brand-dark, #1d4ed8); }
.woocommerce #reviews .store-review-moderation-note { background: rgba(37,99,235,.08); padding: 12px 16px; border-radius: 10px; font-size: 13px; color: var(--brand-muted); margin-bottom: 16px; }
.woocommerce #reviews .store-review-moderation-note strong { color: var(--brand); }
.woocommerce #reviews #comments .woocommerce-noreviews { background: var(--brand-soft); padding: 20px; border-radius: var(--brand-radius); text-align: center; }

/* =====================================================================
   Effects (adapted from twicsy_uk): aurora, mesh, glass + border beam,
   spotlight, tilt, magnet, shine, blur-in words, meteors, marquee.
   ===================================================================== */
@property --beam-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes store-beam { to { --beam-angle: 360deg; } }
@keyframes store-aurora { 0% { transform: translate(0,0) rotate(0) scale(1); } 50% { transform: translate(-4%,3%) rotate(6deg) scale(1.08); } 100% { transform: translate(3%,-4%) rotate(-5deg) scale(1.02); } }
@keyframes store-mesh { 0% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(-3%,2.5%,0) scale(1.06); } 100% { transform: translate3d(2.5%,-3%,0) scale(1.02); } }
@keyframes store-ping { 0% { box-shadow: 0 0 0 0 rgba(96,165,250,.7); } 80%, 100% { box-shadow: 0 0 0 8px rgba(96,165,250,0); } }
@keyframes store-shine { to { transform: translateX(130%) skewX(-20deg); } }
@keyframes store-blur-in { from { opacity: 0; filter: blur(10px); transform: translateY(8px); } to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes store-marquee { to { transform: translateX(-50%); } }
@keyframes store-meteor { 0% { transform: translate(0,0) rotate(38deg); opacity: 0; } 8% { opacity: .9; } 55%, 100% { transform: translate(-260px,440px) rotate(38deg); opacity: 0; } }
@keyframes store-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Page background: a slow mesh of soft blue/navy light with a faint dot grid */
body::before {
  content: ""; position: fixed; inset: -12%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(40% 36% at 10% 15%, rgba(37,99,235,.12), transparent 70%),
    radial-gradient(34% 32% at 90% 20%, rgba(147,197,253,.10), transparent 70%),
    radial-gradient(40% 36% at 18% 88%, rgba(15,22,40,.06), transparent 70%),
    radial-gradient(34% 30% at 86% 86%, rgba(37,99,235,.08), transparent 70%);
  animation: store-mesh 46s ease-in-out infinite alternate; will-change: transform;
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(rgba(15,23,42,.06) .8px, transparent .9px) 0 0 / 22px 22px;
}
body, .ast-separate-container, .ast-plain-container, #page, .site-content { background: transparent !important; }
html { background: #fff; }

/* Hero: aurora blobs drifting behind, floating art */
.store-hero { isolation: isolate; }
.store-hero::before {
  content: ""; position: absolute; inset: -30%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(30% 30% at 25% 30%, rgba(37,99,235,.45), transparent 62%),
    radial-gradient(28% 28% at 78% 20%, rgba(147,197,253,.40), transparent 62%),
    radial-gradient(34% 34% at 60% 85%, rgba(15,22,40,.25), transparent 62%);
  filter: blur(40px); animation: store-aurora 30s ease-in-out infinite alternate;
}
.store-hero::after { animation: store-float 6s ease-in-out infinite; }
.store-blur-word { display: inline-block; animation: store-blur-in .6s ease both; }

/* Glass cards with a light beam that runs around the border on hover, plus a pointer spotlight */
.store-glass, .woocommerce ul.products li.product {
  position: relative; isolation: isolate;
  background: rgba(255,255,255,.78) !important; border: 1px solid rgba(255,255,255,.9) !important;
  box-shadow: 0 1px 0 rgba(15,23,42,.04), 0 18px 40px -24px rgba(15,23,42,.18);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.store-glass::after, .woocommerce ul.products li.product::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; z-index: 3;
  background: conic-gradient(from var(--beam-angle), transparent 0 72%, #93c5fd 86%, var(--brand-warm) 93%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s ease; animation: store-beam 3.2s linear infinite paused;
}
.store-glass:hover::after, .woocommerce ul.products li.product:hover::after { opacity: 1; animation-play-state: running; }
.store-glass::before, .woocommerce ul.products li.product::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; opacity: 0; transition: opacity .4s ease;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(37,99,235,.14), transparent 62%);
}
.store-glass:hover::before, .woocommerce ul.products li.product:hover::before { opacity: 1; }

/* 3D tilt */
.store-tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s ease; transform-style: preserve-3d; }

/* Shine sweep on primary buttons */
.wp-block-button__link, button.single_add_to_cart_button, .store-newsletter .button, .store-form .button { position: relative; overflow: hidden; }
.wp-block-button__link::after, button.single_add_to_cart_button::after, .store-newsletter .button::after, .store-form .button::after {
  content: ""; position: absolute; inset: 0; width: 40%; transform: translateX(-160%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); pointer-events: none;
}
.wp-block-button__link:hover::after, button.single_add_to_cart_button:hover::after, .store-newsletter .button:hover::after, .store-form .button:hover::after { animation: store-shine .8s ease; }
[data-magnet] .wp-block-button__link { transition: transform .2s cubic-bezier(.2,.7,.2,1), background .15s ease !important; }

/* Section heads with a gradient rule */
.store-section-title { position: relative; }
.store-section-title::after { content: ""; display: block; width: 52px; height: 4px; border-radius: 999px; margin-top: 12px; background: linear-gradient(90deg, var(--brand), var(--brand-warm)); }

/* Promo tiles (appleman-style) */
.store-tiles { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 14px; margin-top: 18px; }
@media (max-width: 900px) { .store-tiles { grid-template-columns: 1fr; } }
.store-tile { position: relative; overflow: hidden; display: grid; align-content: start; gap: 6px; min-height: 240px; padding: 24px; border-radius: 22px; color: #fff !important; text-decoration: none !important; background: var(--tile-bg); }
.store-tile img { position: absolute; right: -6%; bottom: -10%; width: 62%; max-width: 280px; transition: transform .5s cubic-bezier(.2,.7,.2,1); border-radius: 0; background: none !important; mix-blend-mode: multiply; }
.store-tile:hover img { transform: translateY(-8px) rotate(-3deg) scale(1.04); }
.store-tile span { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.store-tile strong { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; line-height: 1.1; max-width: 12ch; }
.store-tile em { font-style: normal; font-weight: 600; margin-top: 6px; }
.store-tile--a { --tile-bg: linear-gradient(135deg, #1d4ed8, #2563eb 60%, #3b82f6); }
.store-tile--b { --tile-bg: linear-gradient(135deg, #1e1b4b, #4338ca); }
.store-tile--c { --tile-bg: linear-gradient(135deg, #0c4a6e, #0284c7); }

/* Stats band (count-up) */
.store-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
@media (max-width: 800px) { .store-stats { grid-template-columns: repeat(2, 1fr); } }
.store-stat { padding: 22px; border-radius: var(--brand-radius); text-align: center; }
.store-stat b { display: block; font-size: clamp(30px, 4vw, 44px); font-weight: 800; color: var(--brand-ink); letter-spacing: -.03em; line-height: 1; }
.store-stat span { display: block; margin-top: 8px; font-size: 13px; color: var(--brand-muted); }

/* Brand marquee */
.store-marquee { overflow: hidden; margin-top: 18px; padding: 18px 0; border-block: 1px solid var(--brand-line); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.store-marquee__track { display: flex; gap: 56px; width: max-content; animation: store-marquee 28s linear infinite; }
.store-marquee:hover .store-marquee__track { animation-play-state: paused; }
.store-marquee__track span { font-size: 22px; font-weight: 800; color: #64748b; letter-spacing: -.01em; white-space: nowrap; }

/* Why us (home and product page) */
.store-why { margin-top: 56px; }
.store-why h2 { font-weight: 800; font-size: clamp(22px, 2.6vw, 28px); }
.store-why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 20px; }
@media (max-width: 900px) { .store-why__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .store-why__grid { grid-template-columns: 1fr; } }
.store-why__item {
  padding: 24px; border-radius: 18px; background: linear-gradient(145deg, #fff 60%, var(--brand-tint));
  border: 1px solid var(--brand-line); position: relative; overflow: hidden;
}
.store-why__item::before {
  content: ""; position: absolute; top: -20px; right: -20px; width: 80px; height: 80px;
  border-radius: 50%; background: var(--brand-tint); opacity: .5; pointer-events: none;
}
.store-why__item svg {
  width: 36px; height: 36px; padding: 8px; border-radius: 12px; background: var(--brand-tint);
  color: var(--brand); margin-bottom: 14px; position: relative;
}
.store-why__item h3 { font-size: 16px; font-weight: 700; margin: 0 0 6px; position: relative; }
.store-why__item p { margin: 0; font-size: 14px; color: var(--brand-muted); line-height: 1.5; position: relative; }
.store-product-faq { margin-top: 48px; }
.store-product-faq h2 { font-weight: 800; font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 16px; }
.store-product-faq details {
  border: 1px solid var(--brand-line); border-radius: 14px; padding: 0; margin-bottom: 8px;
  background: #fff; transition: border-color .2s;
}
.store-product-faq details[open] { border-color: var(--brand); background: linear-gradient(135deg, #fff, var(--brand-tint)); }
.store-product-faq summary {
  padding: 16px 20px; font-weight: 600; font-size: 15px; cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between;
}
.store-product-faq summary::-webkit-details-marker { display: none; }
.store-product-faq summary::after {
  content: "+"; font-size: 20px; font-weight: 300; color: var(--brand-muted); transition: transform .2s;
}
.store-product-faq details[open] summary::after { content: "\2212"; color: var(--brand); }
.store-product-faq details p { padding: 0 20px 16px; margin: 0; font-size: 14px; line-height: 1.6; color: var(--brand-text); }

/* Reviews section */
.store-reviews { display: grid; grid-template-columns: minmax(240px, 320px) 1fr; gap: 18px; }
@media (max-width: 800px) { .store-reviews { grid-template-columns: 1fr; } }
.store-reviews--empty { grid-template-columns: 1fr; max-width: 720px; }
.store-reviews__summary { padding: 26px; border-radius: 20px; background: rgba(255,255,255,.8); border: 1px solid var(--brand-line); }
.store-reviews__average { font-size: 52px; font-weight: 800; color: var(--brand-ink); line-height: 1; }
.store-reviews__bars { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; font-size: 13px; }
.store-reviews__bars li { display: grid; grid-template-columns: 28px 1fr 38px; gap: 8px; align-items: center; }
.store-reviews__bar { height: 8px; border-radius: 999px; background: var(--brand-line); overflow: hidden; }
.store-reviews__bar span { display: block; height: 100%; background: var(--brand-warm); border-radius: inherit; }
.store-reviews__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.store-review { padding: 20px; border-radius: var(--brand-radius); background: rgba(255,255,255,.8); border: 1px solid var(--brand-line); display: grid; gap: 10px; align-content: start; }
.store-review p { margin: 0; font-size: 14px; }
.store-review footer { font-size: 13px; color: var(--brand-muted); }
.store-reviews__verified { color: var(--brand); font-weight: 600; margin-left: 4px; }
.store-stars { position: relative; display: inline-block; width: 92px; height: 18px; background: linear-gradient(90deg, #e2e8f0 0 0); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 92 18'%3E%3Cg fill='%23000'%3E%3Cpath id='s' d='M9 0l2.6 5.8 6.4.6-4.8 4.2 1.4 6.3L9 13.6 3.4 16.9l1.4-6.3L0 6.4l6.4-.6z'/%3E%3Cuse href='%23s' x='18.5'/%3E%3Cuse href='%23s' x='37'/%3E%3Cuse href='%23s' x='55.5'/%3E%3Cuse href='%23s' x='74'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 92px 18px; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 92 18'%3E%3Cg fill='%23000'%3E%3Cpath id='s' d='M9 0l2.6 5.8 6.4.6-4.8 4.2 1.4 6.3L9 13.6 3.4 16.9l1.4-6.3L0 6.4l6.4-.6z'/%3E%3Cuse href='%23s' x='18.5'/%3E%3Cuse href='%23s' x='37'/%3E%3Cuse href='%23s' x='55.5'/%3E%3Cuse href='%23s' x='74'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 92px 18px; }
.store-stars span { position: absolute; inset: 0 auto 0 0; background: var(--brand-warm); }

/* Closing call to action with meteors */
.store-cta { position: relative; overflow: hidden; isolation: isolate; margin-top: 64px; padding: clamp(32px, 6vw, 64px); border-radius: 28px; color: #fff; background: linear-gradient(135deg, #1d4ed8, #2563eb 55%, #3b82f6); }
.store-cta h2 { color: #fff !important; font-weight: 800; font-size: clamp(28px, 4vw, 44px); line-height: 1.08; max-width: 16ch; }
.store-cta p { color: rgba(255,255,255,.85); max-width: 46ch; }
.store-cta .wp-block-button__link { background: #fff !important; color: var(--brand-ink) !important; }
.store-meteors { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.store-meteors i { position: absolute; top: -12%; left: calc(6% + var(--i) * 14%); width: 2px; height: 90px; border-radius: 2px; background: linear-gradient(180deg, rgba(255,255,255,.9), transparent); opacity: 0; animation: store-meteor 6.5s linear infinite; animation-delay: calc(var(--i) * .9s); }

/* Newsletter */
.store-newsletter-band { margin-top: 56px; padding: 28px; border-radius: 22px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px; align-items: center; }
@media (max-width: 800px) { .store-newsletter-band { grid-template-columns: 1fr; } }
.store-newsletter-band h2 { font-weight: 800; margin: 0 0 4px; }
.store-newsletter-band p { margin: 0; color: var(--brand-muted); }
.store-newsletter__fields { display: flex; gap: 8px; }
.store-newsletter__fields input { flex: 1; min-width: 0; border-radius: 999px; padding: 12px 18px; border: 1px solid var(--brand-line); }
.store-newsletter__consent { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; font-size: 12px; color: var(--brand-muted); }

/* Forms */
.store-form { display: grid; gap: 4px; max-width: 720px; }
.store-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .store-form__row { grid-template-columns: 1fr; } }
.store-form label { display: block; font-weight: 600; color: var(--brand-ink); margin-bottom: 6px; }
.store-form label span { font-weight: 400; color: var(--brand-muted); }
.store-form input, .store-form textarea { width: 100%; }
/* Inputs and selects: one height, one radius, one focus ring (search and newsletter keep their pill bars) */
.woocommerce form .form-row .input-text, .woocommerce form .form-row select, .woocommerce .coupon .input-text,
.woocommerce-form-track-order .input-text, .woocommerce-form-login .input-text, .store-form input, .store-form textarea,
.woocommerce form .form-row textarea, select.orderby, .comment-form textarea, .comment-form input[type=text], .comment-form input[type=email] {
  border-radius: var(--input-radius) !important; border: 1px solid var(--brand-line) !important; background-color: #fff;
  padding: 10px 14px !important; font-size: 16px; color: var(--brand-ink); box-sizing: border-box;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.woocommerce form .form-row .input-text:not(textarea), .woocommerce .coupon .input-text, .woocommerce-form-track-order .input-text,
.woocommerce-form-login .input-text, .store-form input, select.orderby, .woocommerce form .form-row select { min-height: var(--control-h); }
.woocommerce form .form-row .input-text:focus, .woocommerce .coupon .input-text:focus, select.orderby:focus, .comment-form textarea:focus {
  border-color: var(--brand) !important; box-shadow: 0 0 0 3px var(--brand-tint); outline: none;
}
.select2-container .select2-selection--single { height: var(--control-h) !important; border-radius: var(--input-radius) !important; border-color: var(--brand-line) !important; }
.select2-container .select2-selection--single .select2-selection__rendered { line-height: 42px !important; padding-left: 14px !important; }
.select2-container .select2-selection--single .select2-selection__arrow { height: 42px !important; right: 8px !important; }
.store-form input:focus, .store-form textarea:focus, .store-newsletter input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); outline: none; }
.store-form__trap { position: absolute !important; left: -9999px; }
.store-form-notice { padding: 12px 16px; border-radius: 12px; margin-bottom: 12px; font-weight: 600; }
.store-form-notice--success { background: #ecfdf5; color: #065f46; }
.store-form-notice--error { background: #fef2f2; color: #991b1b; }
.store-contact { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; }
@media (max-width: 800px) { .store-contact { grid-template-columns: 1fr; } }
.store-contact aside { padding: 24px; border-radius: 20px; align-self: start; }
.store-contact aside h3 { margin: 0 0 6px; font-size: 16px; }
.store-contact aside p { margin: 0 0 16px; font-size: 14px; }

/* Blog cards */
.store-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .store-posts { grid-template-columns: 1fr; } }
.store-post-card { display: grid; overflow: hidden; border-radius: 18px; text-decoration: none !important; color: var(--brand-ink) !important; }
.store-post-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: var(--brand-soft); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.store-post-card:hover img { transform: scale(1.05); }
.store-post-card div { padding: 16px 18px 20px; }
.store-post-card time { font-size: 12px; color: var(--brand-muted); text-transform: uppercase; letter-spacing: .06em; }
.store-post-card h3 { font-size: 17px; margin: 6px 0; line-height: 1.3; }
.store-post-card p { font-size: 14px; color: var(--brand-muted); margin: 0; }
.single-post .entry-content h2 { font-weight: 800; margin-top: 32px; }
.single-post .entry-content table { border-radius: 12px; overflow: hidden; }
.store-cat__count { font-size: 12px; font-weight: 500; color: var(--brand-muted); margin-top: -6px; }
.store-cats { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important; }

@media (prefers-reduced-motion: reduce) {
  body::before, .store-hero::before, .store-hero::after, .store-marquee__track, .store-meteors i, .store-announce__item:first-child::before { animation: none !important; }
  .store-tilt { transform: none !important; }
}

/* Hero art as a real element so it can tilt */
.store-hero::after { content: none !important; }
.store-hero__art { position: absolute; right: clamp(-40px, 3vw, 56px); bottom: -10px; width: clamp(220px, 32vw, 420px); z-index: 0; max-width: none !important; }
.store-hero__art img { display: block; width: 100%; height: auto; animation: store-float 6s ease-in-out infinite; mix-blend-mode: multiply; }
@media (max-width: 700px) { .store-hero__art { display: none; } }

/* Checklists, category guides, spec sheets */
.store-checklist { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.store-checklist li { position: relative; padding-left: 28px; }
.store-checklist li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f766e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.store-guide { margin-top: 40px; padding: clamp(22px, 4vw, 36px); border-radius: 22px; }
.store-guide h2 { font-weight: 800; font-size: clamp(20px, 2.4vw, 26px); }
.term-description { font-size: 17px; color: var(--brand-muted); max-width: 70ch; }
.store-description h2 { font-weight: 800; margin-top: 8px; }
.store-description h3 { font-size: 17px; margin-top: 22px; }
.store-specs { display: grid; gap: 10px; margin-top: 12px; }
.store-spec { border: 1px solid var(--brand-line); border-radius: 14px; background: rgba(255,255,255,.8); padding: 0 20px; }
.store-spec summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700; color: var(--brand-ink); display: flex; justify-content: space-between; }
.store-spec summary::-webkit-details-marker { display: none; }
.store-spec summary::after { content: "+"; color: var(--brand); font-size: 20px; line-height: 1; transition: transform .2s ease; }
.store-spec[open] summary::after { transform: rotate(45deg); }
.store-spec ul { margin: 0 0 16px; padding-left: 18px; display: grid; gap: 6px; font-size: 15px; }
.store-specs__note { font-size: 13px; color: var(--brand-muted); margin-top: 10px; }

/* Promo tiles: text always above the product image */
.store-tile > :not(img) { position: relative; z-index: 1; }
.store-tile img { width: 46%; max-width: 220px; right: -2%; bottom: -6%; opacity: .95; }
.store-tile strong { max-width: 11ch; }
@media (max-width: 900px) { .store-tile { min-height: 200px; } .store-tile img { width: 38%; } }

/* =====================================================================
   Typography, wordmark and button system
   ===================================================================== */
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root { --font-display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
h1, h2, h3, h4, .site-title, .store-footer__name, .product_title, .woocommerce-loop-product__title,
.store-stat b, .store-tile strong, .store-reviews__average, .main-header-menu .menu-link, .button, .wp-block-button__link {
  font-family: var(--font-display) !important;
}
h1, h2 { letter-spacing: -0.03em !important; }

/* Wordmark: parcel mark + tight display type */
.site-title a { font-size: 23px !important; font-weight: 800 !important; letter-spacing: -0.035em !important; gap: 11px !important; }
.site-title a::before { width: 38px !important; height: 38px !important; filter: drop-shadow(0 6px 12px rgba(37,99,235,.28)); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.site-title a:hover::before { transform: rotate(-8deg) scale(1.06); }

/* Buttons: gradient, soft inner highlight, lift and glow on hover, clear focus ring */
.woocommerce a.button, .woocommerce button.button, .woocommerce .button, .wp-block-button__link,
button.single_add_to_cart_button, .wc-block-components-button:not(.is-link), .store-form .button, .store-newsletter .button {
  background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 6px 16px -6px rgba(37,99,235,.55) !important;
  letter-spacing: -0.01em; font-weight: 700 !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .wp-block-button__link:hover,
button.single_add_to_cart_button:hover, .wc-block-components-button:not(.is-link):hover, .store-form .button:hover, .store-newsletter .button:hover {
  background: linear-gradient(180deg, #1d4ed8 0%, #1e3a8a 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 14px 28px -10px rgba(37,99,235,.7) !important;
  transform: translateY(-2px);
}
.woocommerce .button:focus-visible, .wp-block-button__link:focus-visible, button.single_add_to_cart_button:focus-visible {
  outline: none !important; box-shadow: 0 0 0 3px #fff, 0 0 0 6px rgba(37,99,235,.6) !important;
}
button.single_add_to_cart_button.disabled { opacity: .45 !important; transform: none !important; box-shadow: none !important; }
.wp-block-button.is-style-outline .wp-block-button__link { background: rgba(255,255,255,.08) !important; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6) !important; backdrop-filter: blur(6px); }
.store-hero .wp-block-button:not(.is-style-outline) .wp-block-button__link,
.store-cta .wp-block-button__link { background: #fff !important; color: var(--brand-ink) !important; box-shadow: 0 10px 30px -10px rgba(0,0,0,.35) !important; }
.store-promo .wp-block-button__link { background: #fff !important; color: var(--brand-ink) !important; }

/* Header search (FiboSearch) */
.dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input { height: var(--control-h) !important; font-size: 15px !important; border-radius: 999px !important; border: 1px solid var(--brand-line) !important; background: rgba(255,255,255,.9) !important; padding-left: 40px !important; }
.dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input:focus { border-color: var(--brand) !important; box-shadow: 0 0 0 3px var(--brand-tint) !important; }
.dgwt-wcas-suggestions-wrapp { border-radius: 16px !important; overflow: hidden; box-shadow: var(--brand-shadow) !important; border: 1px solid var(--brand-line) !important; }

/* Header fit: one-line menu, wordmark never wraps */
.site-title a { white-space: nowrap; }
.main-header-menu .menu-item > .menu-link { padding-left: .7em !important; padding-right: .7em !important; }
@media (min-width: 922px) { .ast-header-html-1 .dgwt-wcas-search-wrapp { min-width: 210px; max-width: 250px; } }  /* phones: icon only */
@media (max-width: 921px) { .site-title a { font-size: 19px !important; } .site-title a::before { width: 32px !important; height: 32px !important; } }

/* Promo tiles: product image as a tilted card on the right, text on the left */
.store-tile { min-height: 230px; padding-right: 44%; }
.store-tile img {
  width: 38% !important; max-width: 190px !important; right: 18px !important; bottom: auto !important; top: 50%;
  transform: translateY(-50%) rotate(-5deg); border-radius: 18px !important; opacity: 1 !important;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,.45);
  /* True product colours: no blending into the tile; the photo sits on its own white card. */
  mix-blend-mode: normal; background: #fff !important; padding: 10px; box-sizing: border-box;
  aspect-ratio: 1; object-fit: contain;
}
.store-tile:hover img { transform: translateY(-54%) rotate(-1deg) scale(1.04); }
.store-tile strong { max-width: none; }

/* =====================================================================
   Spacing system: one scale for every page
   --space-page: gap between header and content (and above the footer)
   --space-section: gap between home/landing sections
   ===================================================================== */
:root { --space-page: clamp(24px, 4vw, 48px); --space-section: clamp(48px, 7vw, 88px); --gutter: clamp(16px, 3vw, 32px); }
.site-content > .ast-container { padding: var(--space-page) var(--gutter) calc(var(--space-page) * 1.5) !important; }
.ast-plain-container.ast-no-sidebar #primary, .ast-separate-container #primary { margin-top: 0 !important; margin-bottom: 0 !important; padding: 0 !important; }
.ast-separate-container .ast-article-single, .ast-separate-container .ast-article-post { padding: 0 !important; background: none !important; }

/* Text pages (about, policies, FAQ, posts): one readable column */
body.page:not(.home) #primary, body.single-post #primary, body.blog #primary .ast-row { max-width: 860px; margin-inline: auto !important; }
body.page:not(.home):has(.store-contact) #primary { max-width: 1100px; }
body.blog #primary .ast-row { max-width: none; }
.entry-header { margin-bottom: clamp(20px, 3vw, 32px) !important; }
.entry-title, .store-page-head h1 { font-size: clamp(30px, 4.4vw, 46px) !important; font-weight: 800 !important; line-height: 1.1; color: var(--brand-ink); }
.page .entry-content > * + *, .single-post .entry-content > * + * { margin-top: 1em; }
.page .entry-content h2, .single-post .entry-content h2 { margin-top: 1.8em !important; font-size: clamp(22px, 2.6vw, 28px); }
.entry-content ul:not(.store-checklist):not(.store-reviews__bars) { padding-left: 1.2em; display: grid; gap: .45em; }

/* Home and landing sections */
.store-section-title { margin: var(--space-section) 0 8px !important; }
.store-section-sub { margin-bottom: 24px !important; }
.store-trust, .store-tiles { margin-top: 16px !important; }
.store-promo, .store-newsletter-band, .store-cta, .store-why { margin-top: var(--space-section) !important; }
.home .entry-content > .woocommerce, .home .entry-content > .store-cats { margin-top: 0; }

/* Blog index header and cards */
.store-page-head { margin-bottom: clamp(24px, 3vw, 36px); }
.store-page-head p { color: var(--brand-muted); font-size: 17px; max-width: 60ch; margin: 8px 0 0; }
body.blog .ast-row { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0 !important; }
@media (max-width: 900px) { body.blog .ast-row { grid-template-columns: 1fr; } }
body.blog .ast-row > article { width: auto !important; padding: 0 !important; margin: 0 !important; }
body.blog .ast-article-inner, body.blog .ast-article-post .post-content { border-radius: 18px; overflow: hidden; background: rgba(255,255,255,.8); border: 1px solid var(--brand-line); height: 100%; }
body.blog .post-thumb-img-content img { border-radius: 0; aspect-ratio: 16/10; object-fit: cover; }
body.blog .entry-header, body.blog .ast-excerpt-container { padding: 0 18px; }
body.blog .entry-title { font-size: 19px !important; line-height: 1.3; }
body.blog .entry-meta, body.single-post .entry-meta { font-size: 13px; color: var(--brand-muted); }

/* Single post */
.single-post .post-thumb img { border-radius: 20px; }
.single-post .entry-content figure.wp-block-table { overflow-x: auto; }

/* Swatches: Astra's button:hover/focus styles turn text white; keep swatch colours fixed in every state */
.store-swatch, .store-swatch:hover, .store-swatch:focus, .store-swatch:active { color: var(--brand-ink) !important; background: #fff !important; }
/* Selected option: solid ink pill, the clearest state on any background */
.store-swatch[aria-checked="true"], .store-swatch[aria-checked="true"]:hover, .store-swatch[aria-checked="true"]:focus {
  color: #fff !important; background: var(--brand-ink) !important; border-color: var(--brand-ink) !important; box-shadow: none !important;
}
.store-swatch:focus-visible { outline: 3px solid var(--brand) !important; outline-offset: 2px; }
/* Blog card images: show the whole product on a soft background instead of cropping it */
body.blog .post-thumb-img-content img, .store-post-card img { object-fit: contain !important; background: linear-gradient(135deg, #f5f7fb, #eff6ff) !important; padding: 12px; }

/* =====================================================================
   Social proof badges on product pages
   ===================================================================== */
.store-social-proof { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 12px; }
.store-proof {
  display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500;
  color: var(--brand-ink); padding: 7px 14px; border-radius: 10px;
  border: 1px solid var(--brand-line); background: #fff;
}
.store-proof svg { width: 16px; height: 16px; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.store-proof b { font-weight: 700; }
.store-proof--sold { border-color: rgba(96,165,250,.25); background: linear-gradient(135deg, #eff6ff, #dbeafe); }
.store-proof--sold svg { stroke: #2563eb; }
.store-proof--view { border-color: rgba(34,197,94,.2); background: linear-gradient(135deg, #f0fdf4, #dcfce7); }
.store-pulse {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34,197,94,.5); animation: store-pulse-ring 2s ease-in-out infinite;
}
@keyframes store-pulse-ring {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,.5); }
  50% { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

/* Duplicate FOMO block removed — canonical styles are below near .store-pulse */

/* =====================================================================
   Sticky add-to-cart bar (single product, desktop)
   ===================================================================== */
.store-sticky-cart { position: fixed; bottom: 0; left: 0; right: 0; z-index: 9980; background: rgba(255,255,255,.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--brand-line); transform: translateY(100%); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.store-sticky-cart.is-visible { transform: translateY(0); }
.store-sticky-cart__inner { max-width: 1240px; margin: 0 auto; padding: 10px var(--gutter); display: flex; align-items: center; gap: 14px; }
.store-sticky-cart__inner img { width: 44px; height: 44px; border-radius: 10px; object-fit: contain; background: var(--brand-tint); flex-shrink: 0; }
.store-sticky-cart__info { flex: 1; min-width: 0; }
.store-sticky-cart__info strong { display: block; font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.store-sticky-cart__info span { font-size: 14px; color: var(--brand-muted); }
.store-sticky-cart__info .store-save-badge { font-size: 11px; }
.store-sticky-cart__btn { flex-shrink: 0; padding: 10px 28px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 700; font-size: 15px; border: none; cursor: pointer; transition: background .2s, transform .15s; }
.store-sticky-cart__btn:hover { background: var(--brand-hover); transform: scale(1.03); }
@media (max-width: 600px) { .store-sticky-cart__inner { gap: 10px; } .store-sticky-cart__btn { padding: 10px 18px; font-size: 14px; } }

/* Dark mode: FOMO, sticky cart, social proof */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .store-fomo__close { background: var(--brand-ink); }
  :root:not([data-theme="light"]) .store-sticky-cart { background: rgba(15,23,42,.92); border-top-color: rgba(255,255,255,.06); color: #fff; }
  :root:not([data-theme="light"]) .store-sticky-cart__info strong { color: #fff; }
  :root:not([data-theme="light"]) .store-sticky-cart__info span { color: rgba(255,255,255,.7); }
  :root:not([data-theme="light"]) .store-proof { background: rgba(255,255,255,.06); }
}
:root[data-theme="dark"] .store-fomo__close { background: var(--brand-ink); }
:root[data-theme="dark"] .store-sticky-cart { background: rgba(15,23,42,.92); border-top-color: rgba(255,255,255,.06); color: #fff; }
:root[data-theme="dark"] .store-sticky-cart__info strong { color: #fff; }
:root[data-theme="dark"] .store-sticky-cart__info span { color: rgba(255,255,255,.7); }
:root[data-theme="dark"] .store-proof { background: rgba(255,255,255,.06); }

/* Reduced motion: disable FOMO and pulse */
@media (prefers-reduced-motion: reduce) {
  .store-pulse { animation: none; }
  .store-fomo { display: none; }
}

/* =====================================================================
   Social proof, FOMO toast, sticky cart, micro-interactions
   ===================================================================== */

/* Social proof badges on product pages */
.store-social-proof { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 12px; }
.store-proof {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px;
  border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--brand-ink);
}
.store-proof--sold { background: #dbeafe; }
.store-proof--sold svg { width: 16px; height: 16px; color: #2563eb; fill: #2563eb; stroke: none; }
.store-proof--sold b { font-weight: 700; color: #1e40af; }
.store-proof--view { background: #ecfdf5; }
.store-proof--view b { font-weight: 700; color: #065f46; }
@keyframes store-pulse-ring { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(2.4); opacity: 0; } }
.store-pulse {
  position: relative; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2563eb;
}
.store-pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: #2563eb;
  animation: store-pulse-ring 1.8s ease-out infinite;
}

/* FOMO toast */
.store-fomo {
  position: fixed; bottom: 24px; left: 24px; z-index: 9990; width: 340px; max-width: calc(100vw - 48px);
  pointer-events: none; opacity: 0; transform: translateY(20px) scale(.96);
  transition: opacity .4s ease, transform .4s ease;
}
.store-fomo.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.store-fomo__close {
  position: absolute; top: -10px; right: -10px; z-index: 1;
  width: 30px; height: 30px; min-width: 30px; min-height: 30px; aspect-ratio: 1;
  border-radius: 50%; border: none; background: var(--brand-ink); color: #fff;
  cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.25);
  display: flex; align-items: center; justify-content: center; padding: 0;
  transition: background .2s ease, transform .15s ease; pointer-events: auto;
}
.store-fomo__close svg { width: 12px; height: 12px; flex-shrink: 0; }
.store-fomo__close:hover { background: #dc2626; transform: scale(1.1); }
.store-fomo__item {
  display: none; gap: 12px; align-items: center; padding: 14px 16px; text-decoration: none !important;
  border-radius: 16px; background: #fff; color: var(--brand-ink) !important;
  box-shadow: 0 12px 40px -8px rgba(15,23,42,.18), 0 0 0 1px rgba(15,23,42,.06);
}
.store-fomo__item.is-active { display: flex; }
.store-fomo__item img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; flex: none; background: var(--brand-soft); }
.store-fomo__item div { min-width: 0; }
.store-fomo__item strong { display: block; font-size: 13px; font-weight: 500; color: var(--brand-muted); }
.store-fomo__item b { font-size: 14px; font-weight: 700; }
.store-fomo__item small { display: block; font-size: 12px; color: var(--brand-muted); margin-top: 2px; }
@media (max-width: 520px) { .store-fomo { bottom: 16px; left: 16px; width: calc(100vw - 32px); } }

/* Sticky add-to-cart bar */
.store-sticky-cart {
  position: fixed; bottom: -80px; left: 0; right: 0; z-index: 9980;
  background: rgba(255,255,255,.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--brand-line); box-shadow: 0 -8px 30px -10px rgba(15,23,42,.12);
  transition: bottom .35s cubic-bezier(.2,.7,.2,1);
}
.store-sticky-cart.is-visible { bottom: 0; }
.store-sticky-cart__inner {
  display: flex; align-items: center; gap: 12px; max-width: 1240px; margin: 0 auto;
  padding: 10px clamp(16px, 3vw, 32px);
}
.store-sticky-cart img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: var(--brand-soft); flex: none; }
.store-sticky-cart__info { flex: 1; min-width: 0; }
.store-sticky-cart__info strong { display: block; font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: inherit; }
.store-sticky-cart__info span { font-size: 15px; font-weight: 800; color: inherit; }
.store-sticky-cart__info .price del { font-size: 12px; }
.store-sticky-cart__btn {
  flex: none; padding: 10px 24px; border: 0; border-radius: 999px; font-weight: 700; font-size: 14px; cursor: pointer;
  background: linear-gradient(180deg, #2563eb, #1d4ed8); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 6px 16px -6px rgba(37,99,235,.55);
  transition: background .15s ease, transform .15s ease;
}
.store-sticky-cart__btn:hover { background: linear-gradient(180deg, #1d4ed8, #1e3a8a); transform: translateY(-1px); }

/* Sale badge pulse */
@keyframes store-badge-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.store-save-badge { animation: store-badge-pulse 2.5s ease-in-out infinite; }
.woocommerce span.onsale { animation: store-badge-pulse 2.5s ease-in-out infinite; }

/* Category tile icon hover */
.store-cat__icon { transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.store-cat:hover .store-cat__icon { transform: scale(1.1) rotate(-6deg); }

/* Trust badge hover */
.store-trust .wp-block-column { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.store-trust .wp-block-column:hover { transform: translateY(-2px); border-color: var(--brand); box-shadow: 0 8px 24px -8px rgba(37,99,235,.15); }
.store-trust svg { transition: color .2s ease; }
.store-trust .wp-block-column:hover svg { color: var(--brand-warm); }

/* Why-us card hover */
.store-why__item { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.store-why__item:hover { transform: translateY(-3px); box-shadow: 0 12px 30px -10px rgba(15,23,42,.12); border-color: var(--brand); }
.store-why__item svg { transition: color .2s ease; }
.store-why__item:hover svg { color: var(--brand-warm); }

/* Step card hover */
.store-step { transition: transform .2s ease, box-shadow .2s ease; }
.store-step:hover { transform: translateY(-2px); box-shadow: var(--brand-shadow); }

/* Product gallery zoom on single product */
.single-product .woocommerce-product-gallery img { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.single-product .woocommerce-product-gallery__image:hover img { transform: scale(1.08); }

/* Smooth scroll for anchor links */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .store-pulse::after, .store-save-badge, .woocommerce span.onsale { animation: none !important; }
}

/* =====================================================================
   Header icons: search (phones), cart and menu share one look: line icons at one stroke weight, ink colour,
   22px glyph in a 44px tap area, tinted hover. The plugins' own glyphs are hidden and redrawn with CSS masks.
   ===================================================================== */
.ast-site-header-cart .cart-container, .menu-toggle.main-header-menu-toggle {
  display: inline-flex !important; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: 12px !important; color: var(--brand-ink) !important; background: transparent !important;
  border: 0 !important; padding: 0 !important; transition: background-color .15s ease, color .15s ease;
}
.ast-site-header-cart .cart-container:hover, .menu-toggle.main-header-menu-toggle:hover,
.ast-site-header-cart .cart-container:focus-visible, .menu-toggle.main-header-menu-toggle:focus-visible {
  background: var(--brand-tint) !important; color: var(--brand) !important;
}
.ast-site-header-cart .ast-cart-menu-wrap, .menu-toggle .mobile-menu-toggle-icon {
  position: relative; display: block !important; width: 22px !important; height: 22px !important; line-height: normal !important; color: inherit !important;
}
.ast-site-header-cart .ast-cart-menu-wrap::before, .menu-toggle .mobile-menu-toggle-icon::before {
  content: ""; position: absolute; inset: 0; background: currentColor;
}
.ast-site-header-cart .ast-cart-menu-wrap::before { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 7.5h13l-1 13h-11z'/%3E%3Cpath d='M9 7.5V6a3 3 0 0 1 6 0v1.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 7.5h13l-1 13h-11z'/%3E%3Cpath d='M9 7.5V6a3 3 0 0 1 6 0v1.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.menu-toggle .mobile-menu-toggle-icon::before { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16'/%3E%3C/svg%3E") center / contain no-repeat; }
.menu-toggle .mobile-menu-toggle-icon .ast-mobile-svg.ast-menu-svg { display: none !important; }
@media (max-width: 921px) {
  .dgwt-wcas-search-icon {
    display: inline-flex !important; align-items: center; justify-content: center; width: 44px; height: 44px;
    border-radius: 12px; color: var(--brand-ink) !important; position: relative; transition: background-color .15s ease, color .15s ease;
  }
  .dgwt-wcas-search-icon:hover, .dgwt-wcas-search-icon:focus-visible { background: var(--brand-tint); color: var(--brand) !important; }
  .dgwt-wcas-search-icon svg { opacity: 0; }
  .dgwt-wcas-search-icon::before { content: ""; position: absolute; left: 11px; top: 11px; width: 22px; height: 22px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M20 20l-4.2-4.2'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M20 20l-4.2-4.2'/%3E%3C/svg%3E") center / contain no-repeat; }
}
/* Item count as a small badge on the bag */
.ast-site-header-cart .ast-cart-menu-wrap .count {
  position: absolute !important; top: -7px; right: -10px; min-width: 18px; height: 18px !important; padding: 0 5px !important;
  border: 2px solid #fff !important; border-radius: 999px !important; background: var(--brand) !important; color: #fff !important;
  font-size: 10.5px !important; font-weight: 700; line-height: 14px !important; text-align: center; box-sizing: border-box;
}
.ast-site-header-cart .ast-cart-menu-wrap .count::after, .ast-site-header-cart .ast-cart-menu-wrap .count::before { display: none !important; }
.ast-site-header-cart .ast-cart-menu-wrap .count.is-empty { display: none !important; }

/* Checkout: country/state dropdowns centre their text like the other fields */
.select2-container .select2-selection--single { padding: 0 !important; display: flex !important; align-items: center; }
.select2-container .select2-selection--single .select2-selection__rendered { padding-top: 0 !important; padding-bottom: 0 !important; line-height: 1.3 !important; }

/* Checkout on desktop: details on the left, order summary beside them (sticky while you fill the form) */
@media (min-width: 922px) {
  form.checkout.woocommerce-checkout {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 400px); grid-template-rows: min-content 1fr;
    column-gap: 40px; align-items: start;
  }
  form.checkout.woocommerce-checkout > * { grid-column: 1; }
  form.checkout.woocommerce-checkout > #customer_details { grid-row: 1 / span 2; }
  form.checkout.woocommerce-checkout > #order_review_heading { grid-column: 2; grid-row: 1; width: auto !important; float: none !important; margin: 0 0 12px !important; }
  form.checkout.woocommerce-checkout > #order_review { grid-column: 2; grid-row: 2; width: auto !important; float: none !important; margin: 0 !important; }
  form.checkout.woocommerce-checkout > #order_review { position: sticky; top: 24px; }
  form.checkout.woocommerce-checkout #customer_details .col-1, form.checkout.woocommerce-checkout #customer_details .col-2 { width: 100% !important; float: none !important; }
}

/* Bank transfer receipt upload */
.store-receipt { margin-top: 24px; padding: 20px; border: 1px solid var(--brand-line); border-radius: var(--brand-radius); background: #fff; }
.store-receipt__title { margin: 0 0 6px; font-size: 18px; }
.store-receipt__help { margin: 0 0 14px; color: var(--brand-muted); font-size: 14px; }
.store-receipt__drop {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 120px; padding: 18px;
  border: 2px dashed var(--brand-line); border-radius: 14px; background: var(--brand-soft); text-align: center; cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.store-receipt__drop:hover, #store-receipt-file:focus-visible + .store-receipt__status, .store-receipt.is-busy .store-receipt__drop { border-color: var(--brand); background: var(--brand-tint); }
#store-receipt-file:focus-visible ~ .store-receipt__drop, .store-receipt__drop:focus-within { outline: 3px solid var(--brand); outline-offset: 2px; }
.store-receipt__cta { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 18px; border-radius: 999px; background: var(--brand-ink); color: #fff; font-weight: 600; font-size: 14px; }
.store-receipt__hint { font-size: 12px; color: var(--brand-muted); }
.store-receipt__preview { max-width: 160px; max-height: 120px; border-radius: 8px; object-fit: contain; box-shadow: var(--brand-shadow); }
.store-receipt__status { margin: 10px 0 0; font-size: 14px; font-weight: 600; min-height: 1.4em; }
.store-receipt__status[data-state="ok"] { color: #15803d; }
.store-receipt__status[data-state="error"] { color: #b91c1c; }
.store-receipt__status[data-state="busy"] { color: var(--brand-muted); }

/* Cookie consent banner */
.store-consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9999; max-width: 560px; margin-left: auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 16px 18px;
  background: var(--brand-ink); color: #e2e8f0; border-radius: var(--brand-radius); box-shadow: 0 18px 40px rgba(15,22,40,.3);
  font-size: 14px; animation: store-consent-in .35s ease both;
}
.store-consent p { margin: 0; flex: 1 1 260px; line-height: 1.5; }
.store-consent a { color: #93c5fd; }
.store-consent__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.store-consent .button.store-consent__essential { background: transparent !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4) !important; }
.store-consent .button.store-consent__essential:hover { background: rgba(255,255,255,.08) !important; }
@keyframes store-consent-in { from { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) { .store-consent { animation: none; } }

/* Contrast (WCAG AA): breadcrumbs in the muted brand grey; links inside running text are underlined, not colour-only */
.woocommerce-breadcrumb, .woocommerce-breadcrumb a { color: var(--brand-muted) !important; }
.woocommerce-privacy-policy-text a, .woocommerce-terms-and-conditions-checkbox-text a, .entry-content p a, .store-consent a { text-decoration: underline !important; text-underline-offset: 2px; }
