/* ============ ELITEPEPPERS THEME ============ */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-body, sans-serif);
  font-size: var(--base-font-size, 18px);
  line-height: 1.65;
  color: var(--color-text, #111);
  background: var(--color-bg, #fff);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1,h2,h3,h4 { font-family: var(--font-heading); line-height: 1.15; margin: 0 0 0.5em; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
.page-width { max-width: var(--page-width, 1300px); margin: 0 auto; padding: 0 24px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 999; background: #fff; padding: 10px 16px; clip: auto; width: auto; height: auto; }

/* Buttons */
.btn {
  display: inline-block; padding: 16px 36px; font-size: 1.05rem; font-weight: 700;
  background: var(--color-accent, #111); color: var(--color-accent-text, #fff);
  border: 2px solid var(--color-accent, #111); border-radius: 8px; cursor: pointer;
  text-decoration: none; transition: all .2s ease; text-align: center;
}
.btn:hover { background: transparent; color: var(--color-accent, #111); }
.btn--secondary { background: transparent; color: var(--color-accent, #111); }
.btn--secondary:hover { background: var(--color-accent, #111); color: var(--color-accent-text, #fff); }
.btn--full { width: 100%; }
.btn[disabled] { opacity: .4; cursor: not-allowed; }

/* Announcement bar */
.announcement-bar { background: #111; color: #fff; text-align: center; padding: 10px 16px; font-size: 0.95rem; font-weight: 600; letter-spacing: .02em; }
.announcement-bar a { color: #fff; }

/* Header */
.site-header { border-bottom: 1px solid var(--color-border); background: #fff; position: sticky; top: 0; z-index: 50; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 24px; max-width: var(--page-width); margin: 0 auto; }
.site-header__logo { font-size: 1.6rem; font-weight: 800; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; }
.site-header__logo img { width: var(--logo-width, 160px); }
.site-nav { display: flex; gap: 32px; }
.site-nav a { text-decoration: none; font-weight: 600; font-size: 1.02rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { border-bottom-color: var(--color-accent); }
.header-actions { display: flex; align-items: center; gap: 20px; }
.header-actions a { text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.cart-count-bubble { background: var(--color-accent); color: var(--color-accent-text); border-radius: 999px; font-size: .75rem; min-width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; font-weight: 700; }
.menu-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; }
@media (max-width: 860px) {
  .site-nav { display: none; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--color-border); padding: 12px 24px; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--color-border); }
  .menu-toggle { display: block; }
}

/* Hero */
.hero { padding: 96px 24px 72px; text-align: center; background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%); border-bottom: 1px solid var(--color-border); }
.hero__inner { max-width: 900px; margin: 0 auto; }
.hero h1 span.accent { display: inline; border-bottom: 6px solid #111; }
.hero p { font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--color-muted); max-width: 720px; margin: 24px auto 40px; }
.hero__buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Trust badges */
.trust-badges { padding: 56px 24px; border-bottom: 1px solid var(--color-border); }
.trust-badges__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 32px; max-width: var(--page-width); margin: 0 auto; text-align: center; }
.trust-badge__icon { font-size: 2rem; margin-bottom: 10px; }
.trust-badge__title { font-weight: 800; font-size: 1.15rem; }
.trust-badge__sub { color: var(--color-muted); font-size: .98rem; }

/* Section generic */
.section { padding: 88px 24px; }
.section--alt { background: #fafafa; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.section__header { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section__header p { color: var(--color-muted); font-size: 1.15rem; }

/* Product grid */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px; max-width: var(--page-width); margin: 0 auto; }
.product-card { border: 1px solid var(--color-border); border-radius: 14px; overflow: hidden; background: #fff; transition: box-shadow .2s ease, transform .2s ease; display: flex; flex-direction: column; }
.product-card:hover { box-shadow: 0 12px 32px rgba(0,0,0,.10); transform: translateY(-3px); }
.product-card__image { aspect-ratio: 1; background: #f4f4f4; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-card__image img { width: 100%; height: 100%; object-fit: cover; }
.product-card__placeholder { font-size: 3rem; color: #ccc; }
.product-card__info { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card__tag { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--color-muted); }
.product-card__title { font-size: 1.25rem; font-weight: 800; text-decoration: none; }
.product-card__title:hover { text-decoration: underline; }
.product-card__price { font-size: 1.1rem; font-weight: 700; margin-top: auto; }
.preorder-card-badge { display: inline-flex; align-items: center; width: fit-content; margin-top: 6px; padding: 4px 8px; border: 1px solid #111; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #111; background: #fff; }

/* Feature cards */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; max-width: var(--page-width); margin: 0 auto; }
.feature-card { border: 1px solid var(--color-border); border-radius: 14px; padding: 32px; background: #fff; }
.feature-card__icon { font-size: 2.2rem; margin-bottom: 14px; }
.feature-card p { color: var(--color-muted); margin: 0; font-size: 1.02rem; }

/* Stats */
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; max-width: 1000px; margin: 56px auto 0; text-align: center; }
.stat__value { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; }
.stat__label { color: var(--color-muted); font-weight: 600; }

/* CTA */
.cta { text-align: center; padding: 96px 24px; background: #111; color: #fff; }
.cta p { color: #bbb; font-size: 1.15rem; max-width: 640px; margin: 16px auto 36px; }
.cta .btn { background: #fff; color: #111; border-color: #fff; }
.cta .btn:hover { background: transparent; color: #fff; }

/* Product page */
.product-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr); gap: 48px; max-width: var(--page-width); margin: 0 auto; padding: 56px 24px; }
@media (max-width: 860px) { .product-page { grid-template-columns: 1fr; gap: 26px; padding: 28px 18px 110px; } }
.product-page__media { border: 1px solid var(--color-border); border-radius: 14px; overflow: hidden; background: #f4f4f4; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.product-page__media img { width: 100%; height: 100%; object-fit: cover; }
.product-page__title { font-size: clamp(2rem, 4vw, 2.8rem); margin: 8px 0 0; }
.product-page__price { font-size: 1.6rem; font-weight: 800; margin: 10px 0 12px; }
.preorder-badge { display: inline-flex; align-items: center; width: fit-content; margin-top: 14px; padding: 6px 10px; border: 1px solid #111; border-radius: 999px; font-size: .78rem; font-weight: 800; letter-spacing: .04em; color: #111; background: #fff; }
.preorder-badge:empty { display: none !important; }
.preorder-price__compare { margin-right: 10px; color: var(--color-muted); text-decoration: line-through; font-weight: 600; }
.preorder-price__now { color: #111; font-weight: 900; }
.preorder-note { margin: 12px 0 0; padding: 12px 14px; border: 1px solid var(--color-border); border-radius: 8px; background: #fafafa; color: #111; font-size: .95rem; line-height: 1.45; }
.product-page__desc { color: var(--color-muted); font-size: 1.05rem; }
.product-form__qty { display: flex; align-items: center; gap: 14px; margin: 16px 0; }
.product-form__qty input { width: 90px; padding: 12px; font-size: 1rem; border: 1px solid var(--color-border); border-radius: 8px; text-align: center; }
.research-disclaimer { margin-top: 32px; padding: 20px 24px; border: 2px solid #111; border-radius: 10px; font-size: .95rem; background: #fafafa; }
.research-disclaimer strong { display: block; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.variant-selects select { width: 100%; padding: 14px; font-size: 1rem; border: 1px solid var(--color-border); border-radius: 8px; margin-bottom: 16px; }
.variant-selects select[hidden] { display: none !important; }
.variant-button-group { border: 0; margin: 0 0 14px; min-width: 0; padding: 0; }
.variant-button-group__label { display: block; margin: 0 0 8px; color: var(--color-muted); font-size: .9rem; font-weight: 700; }
.variant-button-group__values { display: flex; flex-wrap: wrap; gap: 10px; }
.variant-option-button { min-width: 76px; min-height: 44px; padding: 11px 16px; border: 1px solid var(--color-border); border-radius: 8px; background: #fff; color: #111; cursor: pointer; font: inherit; font-weight: 700; line-height: 1.2; text-align: center; transition: background .15s ease, border-color .15s ease, color .15s ease; }
.variant-option-button:hover { border-color: #111; }
.variant-option-button:focus-visible { outline: 2px solid #111; outline-offset: 2px; }
.variant-option-button.is-selected { border-color: #111; background: #111; color: #fff; }

/* Collection */
.collection-header { text-align: center; padding: 64px 24px 8px; }
.collection-header p { color: var(--color-muted); }
.collection-grid-wrap { padding: 48px 24px 88px; }

/* Cart */
.cart-page { max-width: 1000px; margin: 0 auto; padding: 64px 24px; }
.cart-item { display: grid; grid-template-columns: 100px 1fr auto auto; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--color-border); }
@media (max-width: 700px) { .cart-item { grid-template-columns: 80px 1fr; } }
.cart-item__image { width: 100px; border-radius: 10px; background: #f4f4f4; }
.cart-item__title { font-weight: 700; text-decoration: none; font-size: 1.1rem; }
.cart-item__qty input { width: 72px; padding: 10px; border: 1px solid var(--color-border); border-radius: 8px; text-align: center; }
.cart-footer { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; padding-top: 32px; }
.cart-subtotal { font-size: 1.4rem; font-weight: 800; }
.cart-note { width: 100%; margin-top: 24px; }
.cart-note textarea { width: 100%; min-height: 90px; padding: 14px; border: 1px solid var(--color-border); border-radius: 10px; font-family: inherit; font-size: 1rem; }

/* Footer */
.site-footer { background: #111; color: #ddd; padding: 72px 24px 32px; margin-top: 0; }
.site-footer a { color: #ddd; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; max-width: var(--page-width); margin: 0 auto 48px; }
.site-footer h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer__bottom { border-top: 1px solid #333; padding-top: 28px; text-align: center; color: #888; font-size: .92rem; max-width: var(--page-width); margin: 0 auto; }
.site-footer__disclaimer { color: #888; font-size: .88rem; max-width: 900px; margin: 0 auto 20px; text-align: center; }

/* Forms / account */
.form-page { max-width: 520px; margin: 0 auto; padding: 72px 24px; }
.form-page--wide { max-width: 900px; }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-weight: 700; margin-bottom: 8px; }
.form-field input, .form-field textarea { width: 100%; padding: 14px; font-size: 1rem; border: 1px solid var(--color-border); border-radius: 8px; font-family: inherit; }
.errors { background: #fff3f3; border: 1px solid #e3b1b1; border-radius: 8px; padding: 14px 18px; margin-bottom: 20px; color: #8f2f2f; }
.form-success { background: #f0faf2; border: 1px solid #a9d8b4; border-radius: 8px; padding: 14px 18px; margin-bottom: 20px; color: #205b2e; }

/* Search */
.search-page { max-width: 1000px; margin: 0 auto; padding: 64px 24px; }
.search-bar { display: flex; gap: 12px; margin: 32px 0 48px; }
.search-bar input { flex: 1; padding: 16px; font-size: 1.05rem; border: 1px solid var(--color-border); border-radius: 8px; }

/* Pagination */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 56px; }
.pagination a, .pagination span { padding: 10px 16px; border: 1px solid var(--color-border); border-radius: 8px; text-decoration: none; font-weight: 600; }
.pagination span.current { background: var(--color-accent); color: var(--color-accent-text); border-color: var(--color-accent); }

/* Page template */
.rte-page { max-width: 820px; margin: 0 auto; padding: 64px 24px; }
.rte-page h1 { margin-bottom: 32px; }
.rte { font-size: 1.05rem; }
.rte p { margin: 0 0 1.2em; }

/* 404 */
.template-404 .form-page { text-align: center; }

/* Product page extras */
.product-page__left { display: flex; flex-direction: column; gap: 16px; }
.quick-links, .doc-links { display: flex; flex-direction: column; gap: 10px; }
.doc-links { margin-top: 24px; }
.quick-link { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border: 1px solid var(--color-border); border-radius: 10px; text-decoration: none; font-weight: 700; font-size: 1rem; transition: all .15s ease; background: #fff; }
.quick-link:hover { border-color: var(--color-accent); background: #fafafa; }
.quick-link svg { flex-shrink: 0; }

/* Spec table */
.product-specs { padding-top: 40px; }
.spec-table { max-width: 900px; margin: 0 auto; border: 1px solid var(--color-border); border-radius: 14px; overflow: hidden; }
.spec-row { display: grid; grid-template-columns: 240px 1fr; border-bottom: 1px solid var(--color-border); }
.spec-row:last-child { border-bottom: 0; }
.spec-row:nth-child(odd) { background: #fafafa; }
.spec-label { padding: 16px 22px; font-weight: 700; }
.spec-value { padding: 16px 22px; color: var(--color-muted); }
@media (max-width: 640px) { .spec-row { grid-template-columns: 1fr; } .spec-label { padding-bottom: 0; } }

/* Product card extras */
.product-card__excerpt { color: var(--color-muted); font-size: .92rem; margin: 0; }
.product-card__actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }

/* Cart toast */
.cart-toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px); background: #111; color: #fff; padding: 16px 24px; border-radius: 12px; font-weight: 700; font-size: 1rem; display: flex; gap: 16px; align-items: center; opacity: 0; pointer-events: none; transition: all .25s ease; z-index: 200; box-shadow: 0 12px 32px rgba(0,0,0,.25); max-width: calc(100vw - 48px); }
.cart-toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.cart-toast a { color: #fff; text-decoration: underline; white-space: nowrap; }
.cart-toast--error { background: #8f2f2f; }

/* ===== Cart drawer ===== */
.cart-drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); opacity: 0; transition: opacity .25s ease; z-index: 2147483200; }
.cart-drawer-overlay.is-open { opacity: 1; }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 420px; max-width: 92vw; background: #fff; z-index: 2147483300; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .28s ease; box-shadow: -12px 0 40px rgba(0,0,0,.18); }
.cart-drawer.is-open { transform: translateX(0); }
.cart-drawer__header { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--color-border); font-size: 1.15rem; }
.cart-drawer__close { background: none; border: 0; font-size: 1.8rem; line-height: 1; cursor: pointer; padding: 4px 8px; }
.cart-drawer__shipbar { padding: 14px 20px; background: #fafafa; border-bottom: 1px solid var(--color-border); }
.cart-drawer__shipbar-text { font-size: .95rem; margin-bottom: 8px; }
.cart-drawer__shipbar-track { height: 6px; background: #e5e5e5; border-radius: 999px; overflow: hidden; }
.cart-drawer__shipbar-fill { height: 100%; background: #111; border-radius: 999px; width: 0; transition: width .3s ease; }
.cart-drawer__shipbar-note { font-size: .8rem; color: var(--color-muted); margin-top: 8px; }
.cart-drawer__items { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--color-border); align-items: flex-start; }
.drawer-item__img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; background: #f4f4f4; flex-shrink: 0; }
.drawer-item__info { flex: 1; min-width: 0; }
.drawer-item__title { font-weight: 700; text-decoration: none; font-size: .98rem; display: block; }
.drawer-item__price { color: var(--color-muted); font-size: .88rem; margin: 2px 0 8px; }
.preorder-cart-notice { margin: 10px 0 14px; padding: 12px 14px; border: 1px solid var(--color-border); border-radius: 8px; background: #fafafa; color: #111; font-size: .9rem; line-height: 1.45; }
.preorder-cart-notice p { margin: 0; }
.preorder-cart-notice p + p { margin-top: 6px; }
.preorder-cart-line { margin-top: 4px; color: var(--color-muted); font-size: .82rem; line-height: 1.35; }
.drawer-item__qty { display: inline-flex; align-items: center; gap: 0; border: 1px solid var(--color-border); border-radius: 8px; overflow: hidden; }
.drawer-item__qty button { width: 32px; height: 30px; background: none; border: 0; cursor: pointer; font-size: 1.05rem; }
.drawer-item__qty span { min-width: 28px; text-align: center; font-weight: 700; font-size: .92rem; }
.drawer-item__right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.drawer-item__remove { background: none; border: 0; font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--color-muted); padding: 0 2px; }
.drawer-item__remove:hover { color: #8f2f2f; }
.drawer-item__total { font-weight: 800; font-size: .95rem; }
.cart-drawer__footer { padding: 16px 20px 20px; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 10px; }
.cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 1.1rem; }
.cart-drawer__empty { padding: 40px 20px; text-align: center; }

/* ===== Compact cart page (mobile-first) ===== */
.cart-page { padding: 40px 20px 64px; }
.cart-page h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); margin-bottom: 20px; }
.cart-item { grid-template-columns: 72px 1fr auto; gap: 14px; padding: 14px 0; align-items: start; }
.cart-item__image { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; }
.cart-item__title { font-size: 1rem; }
.cart-item__unit { color: var(--color-muted); font-size: .9rem; margin-top: 2px; }
.cart-item__remove { font-size: .85rem; color: var(--color-muted); }
.cart-item__qty input { width: 60px; padding: 8px; }
.cart-item__total { font-weight: 800; font-size: .98rem; grid-column: 3; text-align: right; }
@media (max-width: 700px) {
  .cart-item { grid-template-columns: 64px 1fr auto; }
  .cart-item__image { width: 64px; height: 64px; }
}
.cart-footer { padding-top: 20px; gap: 8px; }
.cart-footer__buttons { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 520px) {
  .cart-footer__buttons { width: 100%; }
  .cart-footer__buttons .btn { flex: 1; padding: 14px 10px; }
}
.cart-subtotal { font-size: 1.25rem; }

/* Shipping rates box */
.shipping-rates { margin-top: 20px; padding: 16px 18px; border: 1px solid var(--color-border); border-radius: 10px; background: #fafafa; font-size: .92rem; }
.shipping-rates ul { margin: 8px 0 0; padding-left: 18px; }
.shipping-rates li { margin-bottom: 4px; }

/* Gift item + shipbar milestones */
.drawer-item--gift { background: #fafafa; border-radius: 10px; padding: 12px; border: 1px dashed #bbb; }
.drawer-item__gift-badge { display: inline-block; background: #111; color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .08em; padding: 3px 8px; border-radius: 999px; margin-top: 4px; }
.cart-drawer__shipbar-track { position: relative; }
.shipbar-milestone { position: absolute; top: 50%; transform: translate(-50%, -50%); width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2px solid #111; z-index: 1; }
.cart-drawer__shipbar-labels { display: flex; justify-content: space-between; font-size: .78rem; color: var(--color-muted); margin-top: 8px; }

/* ===== Mobile: product sliders + compact grids ===== */
@media (max-width: 760px) {
  /* Featured / Related / homepage sections -> horizontal swipe slider */
  .section .product-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding: 4px 16px 18px;
    margin: 0 -24px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .section .product-grid::-webkit-scrollbar { display: none; }
  .section .product-grid .product-card {
    flex: 0 0 62%;
    max-width: 62%;
    scroll-snap-align: center;
  }
  .section .product-grid .product-card__info { padding: 14px; gap: 5px; }
  .section .product-grid .product-card__title { font-size: 1.05rem; }
  .section .product-grid .product-card__tag { font-size: .68rem; }
  .section .product-grid .product-card__price { font-size: .98rem; }
  .section .product-grid .product-card__excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: .82rem;
  }
  .section .product-grid .product-card__actions { gap: 6px; margin-top: 10px; }
  .section .product-grid .product-card__actions .btn { padding: 8px 12px !important; font-size: .82rem !important; }

  /* Collection page (catalog) + search -> compact 2-column grid */
  .collection-grid-wrap .product-grid,
  .search-page .product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .collection-grid-wrap .product-card__info,
  .search-page .product-card__info { padding: 12px; gap: 4px; }
  .collection-grid-wrap .product-card__title,
  .search-page .product-card__title { font-size: .98rem; }
  .collection-grid-wrap .product-card__tag,
  .search-page .product-card__tag { font-size: .65rem; }
  .collection-grid-wrap .product-card__price,
  .search-page .product-card__price { font-size: .92rem; }
  .collection-grid-wrap .product-card__excerpt,
  .search-page .product-card__excerpt { display: none; }

  /* tighter section paddings on mobile so footer is reachable */
  .section { padding: 48px 24px; }
  .section__header { margin-bottom: 28px; }
}

.form-field select { width: 100%; padding: 14px; font-size: 1rem; border: 1px solid var(--color-border); border-radius: 8px; background: #fff; font-family: inherit; }

/* ===== Quantity stepper ===== */
.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--color-border); border-radius: 10px; overflow: hidden; }
.qty-stepper__btn { width: 46px; height: 48px; background: #fff; border: 0; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--color-text); transition: background .15s ease; }
.qty-stepper__btn:hover { background: #f4f4f4; }
.qty-stepper input { width: 60px; height: 48px; border: 0; border-left: 1px solid var(--color-border); border-right: 1px solid var(--color-border); text-align: center; font-size: 1.05rem; font-weight: 700; -moz-appearance: textfield; }
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ===== Green shipping note (product page) ===== */
.ship-note { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 12px 16px; background: #ecfdf3; border: 1px solid #abe5c2; border-radius: 10px; color: #166534; font-size: .95rem; }
.ship-note[hidden], .preorder-note[hidden], .preorder-badge[hidden], [data-preorder-properties][hidden] { display: none !important; }
.ship-note svg { flex-shrink: 0; color: #16a34a; }
.ship-note strong { font-weight: 800; }

.stock-status { display: inline-flex; align-items: center; width: fit-content; margin: 0 0 12px; padding: 7px 11px; border-radius: 999px; font-size: .84rem; font-weight: 800; line-height: 1.2; }
.stock-status--available { background: #ecfdf3; border: 1px solid #abe5c2; color: #166534; }
.stock-status--preorder { background: #f0f6ff; border: 1px solid #cfe0fb; color: #1d4ed8; }
.stock-status--unavailable { background: #f6f6f6; border: 1px solid var(--color-border); color: var(--color-muted); }

.accessory-cross-sell { margin-top: 14px; padding: 16px; border: 1px solid var(--color-border); border-radius: 12px; background: #fff; }
.accessory-cross-sell__title { margin: 0 0 12px; font-size: 1rem; letter-spacing: 0; }
.accessory-cross-sell__items { display: flex; flex-direction: column; gap: 10px; }
.accessory-card { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 12px; align-items: center; margin: 0; padding: 10px; border: 1px solid #eee; border-radius: 10px; background: #fafafa; }
.accessory-card__media { display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 8px; overflow: hidden; background: #f0f0f0; }
.accessory-card__media img { width: 100%; height: 100%; object-fit: cover; }
.accessory-card__placeholder { width: 18px; height: 18px; border: 2px solid #111; border-radius: 4px; transform: rotate(45deg); opacity: .25; }
.accessory-card__body { min-width: 0; }
.accessory-card__title { display: block; color: var(--color-text); font-size: .95rem; font-weight: 800; line-height: 1.2; text-decoration: none; }
.accessory-card__price { margin-top: 4px; color: var(--color-muted); font-size: .9rem; font-weight: 700; }
.accessory-card__select { width: 100%; max-width: 220px; margin-top: 6px; padding: 8px 10px; border: 1px solid var(--color-border); border-radius: 8px; background: #fff; font: inherit; font-size: .88rem; }
.accessory-card__button { min-width: 72px; padding: 10px 14px; font-size: .9rem; }

.sticky-atc { position: fixed; left: 0; right: 0; bottom: var(--sticky-atc-bottom-offset, 0px); z-index: 2147483100; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--color-border); background: rgba(255,255,255,.96); box-shadow: 0 -10px 30px rgba(0,0,0,.08); backdrop-filter: blur(12px); transform: translateY(110%); transition: transform .2s ease; }
.sticky-atc[hidden] { display: none !important; }
.sticky-atc.is-visible { transform: translateY(0); }
.sticky-atc__info { min-width: 0; }
.sticky-atc__variant { overflow: hidden; color: var(--color-muted); font-size: .8rem; font-weight: 700; line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; }
.sticky-atc__price { color: var(--color-text); font-size: 1rem; font-weight: 900; line-height: 1.2; }
.sticky-atc__qty { display: inline-flex; align-items: center; border: 1px solid var(--color-border); border-radius: 9px; overflow: hidden; background: #fff; }
.sticky-atc__qty button { width: 34px; height: 38px; border: 0; background: #fff; color: #111; cursor: pointer; font-size: 1.1rem; font-weight: 800; }
.sticky-atc__qty input { width: 42px; height: 38px; border: 0; border-left: 1px solid var(--color-border); border-right: 1px solid var(--color-border); font-weight: 800; text-align: center; -moz-appearance: textfield; }
.sticky-atc__qty input::-webkit-outer-spin-button, .sticky-atc__qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.sticky-atc__button { min-height: 42px; padding: 11px 14px; white-space: nowrap; }
body.has-sticky-atc { padding-bottom: calc(82px + var(--sticky-atc-bottom-offset, 0px)); }
@media (min-width: 761px) {
  .sticky-atc { display: none !important; }
  body.has-sticky-atc { padding-bottom: 0; }
}
@media (max-width: 420px) {
  .sticky-atc { grid-template-columns: minmax(0, 1fr) auto; }
  .sticky-atc__qty { display: none; }
  .sticky-atc__button { padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 520px) {
  .accessory-card { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 10px; padding: 9px; }
  .accessory-card__media { width: 52px; height: 52px; }
  .accessory-card__button { min-width: 62px; padding: 9px 12px; }
}

/* ===== Green BAC gift item in drawer ===== */
.drawer-item--gift { background: #ecfdf3; border: 1px dashed #16a34a; border-radius: 10px; padding: 12px; }
.drawer-item--gift .drawer-item__gift-badge { background: #16a34a; }
.drawer-item--gift .drawer-item__total { color: #166534; }

/* ===== Footer polish ===== */
.site-footer__brand p { color: #aaa; font-size: .95rem; }
.site-footer__contact a { color: #fff; font-weight: 600; }

/* ===== Volume discount box (product page) ===== */
.bulk-discounts { margin-top: 18px; padding: 16px 18px; background: #ecfdf3; border: 1px solid #abe5c2; border-radius: 12px; }
.bulk-discounts__title { display: flex; align-items: center; gap: 8px; font-weight: 800; color: #166534; margin-bottom: 12px; }
.bulk-discounts__title svg { color: #16a34a; }
.bulk-discounts__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.bulk-discounts__list li { display: flex; justify-content: space-between; padding: 8px 12px; border-radius: 8px; font-size: .95rem; color: #166534; background: rgba(255,255,255,.5); border: 1px solid transparent; transition: all .15s ease; }
.bulk-discounts__list li.is-active { background: #16a34a; color: #fff; font-weight: 800; border-color: #16a34a; }
.bulk-discounts__pct { font-weight: 800; }
.bulk-discounts__active { margin-top: 12px; padding-top: 12px; border-top: 1px dashed #abe5c2; color: #166534; font-size: .98rem; }
.bulk-discounts__active .bulk-strike { text-decoration: line-through; color: #999; margin-right: 6px; }
.bulk-discounts__active .bulk-now { font-weight: 800; color: #166534; }
.bulk-discounts__active .bulk-unit { font-size: .85rem; color: #4b7d5c; margin-top: 2px; }

/* ===== Strikethrough in cart drawer ===== */
.drawer-item__total .bulk-strike { display: block; text-decoration: line-through; color: #999; font-size: .82rem; font-weight: 500; }
.drawer-item__total .bulk-now { display: block; color: #166534; font-weight: 800; }
.drawer-item__total .bulk-tag { display: inline-block; background: #16a34a; color: #fff; font-size: .65rem; font-weight: 800; padding: 1px 6px; border-radius: 999px; margin-top: 2px; }

/* ===== Volume pricing panel ===== */
.vol-pricing { margin-top: 20px; display: flex; flex-direction: column; gap: 14px; }
.vol-summary { background: #f7f8fa; border-radius: 12px; padding: 18px 20px; }
.vol-summary__row { display: flex; justify-content: space-between; align-items: center; font-size: 1rem; color: var(--color-muted); }
.vol-summary__divider { height: 1px; background: var(--color-border); margin: 12px 0; }
.vol-summary__row--total { color: var(--color-text); font-size: 1.05rem; }
.vol-summary__total { font-size: 1.7rem; font-weight: 800; }
.vol-savings { display: inline-block; background: #ecfdf3; color: #166534; border: 1px solid #abe5c2; font-size: .78rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; margin-left: 6px; vertical-align: middle; }

.vol-next { background: #f0f6ff; border: 1px solid #cfe0fb; border-radius: 12px; padding: 14px 18px; }
.vol-next__head { display: flex; align-items: center; gap: 8px; font-weight: 800; color: #1d4ed8; font-size: .98rem; }
.vol-next__head svg { color: #2563eb; }
.vol-next__sub { color: var(--color-muted); font-size: .85rem; margin: 4px 0 10px 26px; }
.vol-next__track { height: 6px; background: #d7e3f8; border-radius: 999px; overflow: hidden; }
.vol-next__fill { height: 100%; background: #2563eb; border-radius: 999px; width: 0; transition: width .3s ease; }

.vol-tiers { list-style: none; margin: 0; padding: 0; border: 1px solid var(--color-border); border-radius: 12px; overflow: hidden; }
.vol-tiers li { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; font-size: .98rem; border-bottom: 1px solid var(--color-border); cursor: pointer; transition: background .15s ease; }
.vol-tiers li:last-child { border-bottom: 0; }
.vol-tiers li:hover { background: #f8fbff; }
.vol-tiers li:focus-visible { outline: 2px solid #2563eb; outline-offset: -2px; }
.vol-tier__label { display: flex; align-items: center; gap: 10px; color: var(--color-text); }
.vol-tier__label svg { color: var(--color-muted); }
.vol-tier__right { display: flex; align-items: center; gap: 10px; }
.vol-tier__price { font-weight: 600; }
.vol-tier__pct { color: #16a34a; font-weight: 800; font-size: .9rem; }
.vol-tiers li.is-active { background: #eef4ff; font-weight: 700; position: relative; }
.vol-tiers li.is-active .vol-tier__label svg { color: #2563eb; }
.vol-tiers li.is-active::before { content: '\2713'; position: absolute; left: 4px; color: #2563eb; font-weight: 800; font-size: .8rem; }
.vol-tiers li.is-active .vol-tier__label { padding-left: 14px; }

.powder-notice { margin: 14px 0 18px; padding: 12px 14px; border: 1px solid var(--color-border); border-radius: 8px; background: #fafafa; color: #111; font-size: .94rem; font-weight: 700; line-height: 1.45; }
