/* ==========================================================================
   SCOTT COUNTRY — Extras
   Layout for product pages, search box, cart lines, breadcrumbs, mobile menu.
   ========================================================================== */

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: var(--fs-xs); color: var(--text-muted); margin-bottom: var(--space-5); }
.breadcrumb a { color: var(--accent); }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Product page layout (1:1 live) ---------- */
.product-main { padding-top: var(--space-5); }
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: start; }

/* Gallery */
.product-media { position: sticky; top: calc(var(--header-h) + 20px); }
.product-media__main { position: relative; aspect-ratio: 1/1; background: var(--bg-muted); border-radius: var(--radius-lg); overflow: hidden; }
.product-media__image { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s ease; }
.product-media__thumbs { display: flex; gap: var(--space-2); margin-top: var(--space-3); flex-wrap: wrap; }
.product-media__thumb { position: relative; width: 72px; height: 72px; border: 2px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-muted); transition: border-color var(--dur-fast) var(--ease); cursor: pointer; }
.product-media__thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-media__thumb.is-active { border-color: var(--accent); }
.product-media__thumb--video .product-media__play {
  position: absolute; inset: 0; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.35); color: #fff;
}
.product-media__thumb--video .product-media__play svg { width: 26px; height: 26px; filter: drop-shadow(0 1px 3px rgba(0,0,0,.5)); }
/* Video slot inside the main media frame */
.product-media__video { position: absolute; inset: 0; }
.product-media__video iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Info */
.product-info h1 { font-family: var(--font-heading); font-size: var(--fs-3xl); line-height: 1.12; margin-bottom: var(--space-3); }
.product-vendor { display: inline-block; margin-bottom: var(--space-3); }
.product-vendor img { height: 36px; width: auto; opacity: .9; }
.product-vendor__name { font-size: var(--fs-sm); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); }
.product-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--space-3); margin-bottom: var(--space-3); }
.product-price .price { font-size: var(--fs-2xl); color: var(--accent); font-weight: var(--fw-body-bold); }
.product-price .price--was { font-size: var(--fs-lg); color: var(--text-muted); text-decoration: line-through; }
.product-price .price--exvat { display: block; width: 100%; font-size: var(--fs-xs); color: var(--text-muted); }
.product-price__save { font-size: var(--fs-sm); font-weight: 700; color: var(--sale); background: rgba(231,76,60,.12); padding: .2rem .6rem; border-radius: var(--radius-sm); }

/* Stock + tax */
.product-stock { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--fs-sm); font-weight: 700; margin-bottom: var(--space-2); }
.product-stock__dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.stock--in { color: var(--new); }
.stock--backorder { color: var(--warning); }
.stock--soldout { color: var(--sale); }
.product-tax { font-size: var(--fs-xs); color: var(--text-muted); margin-bottom: var(--space-3); }
.product-tax a { color: var(--link); text-decoration: underline; }

/* SKU + lead */
.product-sku { display: flex; gap: var(--space-2); font-size: var(--fs-sm); color: var(--text-secondary); margin-bottom: var(--space-3); }
.product-sku dt { font-weight: 700; }
.product-sku dd { color: var(--text-muted); }
.product-lead { font-size: var(--fs-base); line-height: 1.65; color: var(--text-secondary); margin-bottom: var(--space-5); }
.product-lead p { margin-bottom: var(--space-3); }
.product-lead p:first-child { font-weight: 600; color: var(--text-primary); }

/* Rating */
.product-rating { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--fs-sm); }
.product-rating__star { width: 18px; height: 18px; color: #f0b429; }
.product-rating__star--empty { color: rgba(18,18,18,.16); }

/* Buy box */
.product-buy { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-4); flex-wrap: wrap; }
.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius-pill); overflow: hidden; }
.qty-stepper__btn { width: 44px; height: 48px; font-size: 1.25rem; color: var(--text-secondary); display: inline-flex; align-items: center; justify-content: center; transition: background-color var(--dur-fast) var(--ease); }
.qty-stepper__btn:hover { background: var(--bg-muted); }
.qty-stepper__input { width: 52px; text-align: center; border: none; border-inline: 1px solid var(--border); font-weight: 700; -moz-appearance: textfield; }
.qty-stepper__input::-webkit-outer-spin-button, .qty-stepper__input::-webkit-inner-spin-button { -webkit-appearance: none; }
.product-buy__add { flex: 1; min-width: 220px; }

/* Pickup */
.product-pickup { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-4); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-muted); margin-bottom: var(--space-4); }
.product-pickup__icon { width: 26px; height: 26px; flex: none; color: var(--accent); }
.product-pickup p { font-size: var(--fs-sm); line-height: 1.45; }

/* Share */
.product-share { display: flex; align-items: center; gap: var(--space-4); font-size: var(--fs-sm); }
.product-share__label { font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: var(--fs-xs); color: var(--text-muted); }
.product-share__link { color: var(--link); }
.product-share__link:hover { text-decoration: underline; }

/* Tabs */
.product-tabs { margin-top: var(--space-8); border-top: 2px solid var(--border); }
.product-tab { border-bottom: 1px solid var(--border); }
.product-tab__summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-5) 0; font-family: var(--font-heading); font-weight: 600; font-size: var(--fs-lg); color: var(--text-primary); }
.product-tab__summary::-webkit-details-marker { display: none; }
.product-tab__summary::after { content: '+'; font-size: 1.6rem; font-weight: 400; color: var(--accent); transition: transform var(--dur) var(--ease); }
.product-tab[open] .product-tab__summary::after { transform: rotate(45deg); }
.product-tab__panel { padding-bottom: var(--space-6); max-width: 74ch; }
.product-tab__panel.rte p, .product-tab__panel.rte ul, .product-tab__panel.rte ol { margin-bottom: var(--space-3); line-height: 1.7; }
.product-tab__panel.rte h1, .product-tab__panel.rte h2, .product-tab__panel.rte h3, .product-tab__panel.rte h4 { font-family: var(--font-heading); margin: var(--space-5) 0 var(--space-3); font-weight: 600; }
.product-tab__panel.rte img { max-width: 100%; border-radius: var(--radius-md); margin: var(--space-4) 0; }
.product-tab__panel.rte ul, .product-tab__panel.rte ol { padding-left: 1.4rem; }
.collection-page__seo, .content-page__seo { max-width: 72ch; margin: var(--space-5) 0 var(--space-6); color: var(--text-secondary); line-height: 1.7; }
.collection-page__seo p, .content-page__seo p { margin: 0 0 var(--space-3); }

/* Reviews in tab */
.product-reviews__score { display: flex; align-items: center; gap: var(--space-4); margin-bottom: var(--space-4); flex-wrap: wrap; }
.product-reviews__score p { font-size: var(--fs-sm); color: var(--text-muted); max-width: 40ch; }

/* Related */
.product-related { margin-top: var(--space-8); }

/* ---------- Cart lines ---------- */
.cart-line { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); padding: .85rem 0; border-bottom: 1px solid var(--border); font-size: var(--fs-sm); }
.cart-line__price { color: var(--accent); font-weight: 700; margin-top: 2px; }
.cart-line__remove { font-size: var(--fs-xs); color: var(--text-muted); text-decoration: underline; }

/* ---------- Search box (modal-style — opens from header search button) ---------- */
.search-box { position: absolute; left: 0; right: 0; top: 100%; display: none; background: var(--bg-dark); border-bottom: 1px solid var(--border-on-dark); padding: var(--space-4) 0; z-index: calc(var(--z-header) + 1); box-shadow: 0 12px 30px rgba(0,0,0,.3); }
.search-box.open { display: block; animation: searchIn .18s var(--ease) both; }
@keyframes searchIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.search-box input { width: 100%; padding: .65rem 1.1rem; border-radius: var(--radius-pill); border: 1px solid var(--border-on-dark); background: rgba(255,255,255,.06); color: var(--text-on-dark); font-size: var(--fs-sm); }
.search-box input::placeholder { color: var(--text-on-dark); opacity: .6; }
#search-results { position: absolute; top: calc(100% + 4px); left: 0; right: 0; width: 100%; max-width: 680px; background: var(--bg-surface); color: var(--text-primary); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-drop); padding: .5rem; display: none; z-index: calc(var(--z-header) + 2); }
.search-box.open #search-results { display: block; }
#search-results a { display: block; padding: .5rem .75rem; font-size: var(--fs-sm); border-radius: var(--radius-sm); }
#search-results a:hover { background: var(--bg-muted); }
.search-none { padding: .5rem .75rem; font-size: var(--fs-sm); color: var(--text-muted); }

/* ---------- Article ---------- */
.article__hero { width: 100%; border-radius: var(--radius-lg); margin: var(--space-5) 0; }
.article__date { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-bottom: var(--space-5); }
.article h1 { font-family: var(--font-heading); font-size: var(--fs-4xl); line-height: 1.15; margin-bottom: var(--space-2); }
.article .rte { font-size: var(--fs-base); line-height: 1.7; }
.article .rte img { max-width: 100%; border-radius: var(--radius-lg); margin: var(--space-4) 0; }
.article .rte h2, .article .rte h3 { font-family: var(--font-heading); margin: var(--space-6) 0 var(--space-3); }

/* ---------- Mobile menu drawer ----------
   (mobile-drawer styles live in components.css — Dawn-style, black, 40rem) */

/* ---------- Checkout page ---------- */
.checkout__intro { color: var(--text-muted); margin-bottom: var(--space-6); }
.checkout__footer { margin-top: var(--space-6); border-top: 1px solid var(--border); padding-top: var(--space-5); }
.checkout__subtotal { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: var(--space-4); font-size: var(--fs-lg); }
.checkout__footer[hidden] { display: none; }
.checkout__note { font-size: var(--fs-xs); color: var(--text-muted); margin-top: var(--space-3); }

/* ---------- Newsletter success ---------- */
.newsletter__success { font-weight: 600; color: var(--text-on-dark); }

/* ---------- Footer socials ---------- */
.footer__socials { display: flex; gap: var(--space-2); margin-top: var(--space-3); }
.footer__socials a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid var(--border-on-dark); border-radius: 50%; font-size: var(--fs-xs); color: var(--text-on-dark); }
.footer__socials a:hover { color: var(--accent-on-dark); border-color: var(--accent-on-dark); }

/* ---------- WhatsApp float (icon-only, animated) ---------- */
.whatsapp-float {
  position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: var(--z-drawer, 1000);
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25d366; color: #fff; text-decoration: none;
  box-shadow: 0 6px 20px rgba(37,211,102,.35);
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease;
}
.whatsapp-float:hover { color: #fff; transform: translateY(-3px) scale(1.08); box-shadow: 0 12px 30px rgba(37,211,102,.45); }
.whatsapp-float:active { transform: scale(.95); }
.whatsapp-float svg { width: 26px; height: 26px; flex: none; }
/* subtle breathing ring animation */
.whatsapp-float::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(37,211,102,.5); animation: waPulse 2.4s ease-out infinite;
}
@keyframes waPulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.55); opacity: 0; } }
.whatsapp-float__label { display: none; }
/* Live chat float (icon-only, animated) */
.live-chat-float {
  position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: calc(84px + env(safe-area-inset-bottom, 0px)); z-index: var(--z-drawer, 1000);
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--accent); color: #fff; cursor: pointer;
  box-shadow: 0 6px 20px rgba(21,71,52,.32);
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease;
}
.live-chat-float:hover { color: #fff; transform: translateY(-3px) scale(1.08); box-shadow: 0 12px 30px rgba(21,71,52,.4); }
.live-chat-float:active { transform: scale(.95); }
.live-chat-float svg { width: 24px; height: 24px; flex: none; }
.live-chat-float span { display: none; }
.live-chat-float.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float, .live-chat-float { transition: none; }
  .whatsapp-float::before { animation: none; display: none; }
}
@media (max-width: 640px) { .whatsapp-float, .live-chat-float { width: 48px; height: 48px; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .product-layout { grid-template-columns: 1fr; }
  .product-media { position: static; }
  .search-box { display: none; }
  .search-box.open { display: block; }
}
@media (max-width: 640px) {
  .product-info h1 { font-size: var(--fs-2xl); }
  .article h1 { font-size: var(--fs-3xl); }
  .product-buy { flex-direction: column; align-items: stretch; }
  .product-buy .qty-stepper { align-self: flex-start; }
  .product-media__thumb { width: 60px; height: 60px; }
  .product-tab__summary { font-size: var(--fs-base); }
  .hero-slide__box--centered .hero-slide__title { font-size: 2rem; }
}

/* ---------- Centered Hero & White Pill CTA ---------- */
.hero-slide__inner {
  justify-content: center;
  text-align: center;
}

.hero-slide__box--centered {
  max-width: 840px;
  width: 100%;
  padding: 0;
  margin: 0 auto;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-slide__box--centered .hero-slide__title {
  font-size: 3.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 12px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}

.hero-slide__subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 28px;
  line-height: 1.4;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.btn--white-pill {
  background-color: #ffffff !important;
  color: #000000 !important;
  border-radius: 9999px !important;
  padding: 12px 38px !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  text-transform: none !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease !important;
  margin-top: 8px !important;
}

.btn--white-pill:hover {
  background-color: #f2f2f2 !important;
  color: #000000 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* ---------- Salesfire Lead Capture Overlay ---------- */
.digi-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 1rem;
}

.digi-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.digi-overlay__container {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: #181818;
  color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: digiPopIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes digiPopIn {
  from { opacity: 0; transform: scale(0.92) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.digi-overlay__logo {
  padding: 16px 20px;
  background: #111111;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.digi-overlay__logo-img {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.digi-overlay__close-btn {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
  z-index: 2;
}

.digi-overlay__close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.digi-overlay__close svg {
  width: 20px;
  height: 20px;
}

.digi-message--overlay {
  display: flex;
  flex-direction: column;
}

.block-banner__title {
  padding: 32px 24px;
  background-size: cover;
  background-position: center;
  color: #ffffff;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.block-banner__title::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 100%);
  pointer-events: none;
}

.block-banner__title p {
  position: relative;
  z-index: 1;
  margin: 0;
  line-height: 1.2;
}

.block-text-block {
  padding: 20px 24px 12px;
  color: #dddddd;
  font-size: 14px;
  line-height: 1.5;
}

.block-text-block p {
  margin: 0;
}

.block-voucher-code {
  padding: 12px 24px 24px;
}

.block-voucher-code__reveal {
  width: 100%;
  padding: 14px 20px;
  background: #ffffff;
  color: #111111;
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
  user-select: none;
}

.block-voucher-code__reveal:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.block-voucher-code__reveal.is-revealed {
  background: #2e7d32;
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.05em;
}

/* ---------- Salesfire digi-overlay block form (shared styles) ---------- */
.block-input-submit { padding: 8px 24px 16px; }
.block-input-submit__row { display: flex; gap: 10px; }
.block-input-submit__row + .block-input-submit__row { margin-top: 10px; }
.block-form-input { flex: 1; min-width: 0; padding: 12px 14px; border-radius: 8px; border: 1px solid rgba(255,255,255,.18); background: #232323; color: #fff; font-size: 14px; }
.block-form-input::placeholder { color: rgba(255,255,255,.45); }
.block-form-input:focus { outline: none; border-color: var(--accent-on-dark); }
.block-input-submit__submit { align-items: stretch; }
.block-input-submit__button { width: 46px; flex: none; display: inline-flex; align-items: center; justify-content: center; background: #000; color: #fff; border-radius: 8px; cursor: pointer; transition: background .2s ease; }
.block-input-submit__button:hover { background: var(--accent); }
.block-smallprint { padding: 4px 24px 20px; font-size: 12px; color: #7f7f7f; line-height: 1.5; }
.block-smallprint a { color: #7f7f7f; text-decoration: underline; }

/* ---------- Chat panel (Storekick-style) ---------- */
.chat-panel { position: fixed; right: 20px; bottom: 126px; width: 380px; max-width: calc(100vw - 32px); height: 520px; max-height: calc(100vh - 160px); background: #fff; color: var(--text-primary); border-radius: 14px; box-shadow: 0 16px 50px rgba(0,0,0,.35); display: flex; flex-direction: column; overflow: hidden; z-index: 10005; transform: translateY(16px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s ease, transform .25s ease, visibility .25s ease; border: 1px solid rgba(18,18,18,.12); }
.chat-panel.is-open { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
.chat-panel__header { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; background: var(--bg-dark); color: #fff; }
.chat-panel__title { display: flex; align-items: center; gap: 10px; }
.chat-panel__avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.chat-panel__name { font-weight: 600; font-size: 14px; }
.chat-panel__actions { display: flex; gap: 2px; }
.chat-panel__action { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; color: rgba(255,255,255,.8); transition: background .15s ease; }
.chat-panel__action:hover { background: rgba(255,255,255,.15); }
.chat-panel__body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: #fafafa; }
.chat-msg { max-width: 82%; padding: 10px 14px; border-radius: 14px; font-size: 14px; line-height: 1.5; }
.chat-msg--bot { background: #fff; border: 1px solid var(--border); border-bottom-left-radius: 4px; align-self: flex-start; }
.chat-msg--user { background: var(--accent); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-quick { display: flex; flex-direction: column; gap: 8px; margin-top: 2px; }
.chat-quick__btn { align-self: flex-start; padding: 8px 14px; border-radius: 18px; border: 1px solid var(--accent); color: var(--accent); font-size: 13px; font-weight: 600; background: #fff; cursor: pointer; transition: background .15s ease, color .15s ease; }
.chat-quick__btn:hover { background: var(--accent); color: #fff; }
.chat-panel__input { display: flex; align-items: center; gap: 8px; padding: 12px; border-top: 1px solid var(--border); background: #fff; }
.chat-panel__input input { flex: 1; min-width: 0; padding: 10px 14px; border-radius: 20px; border: 1px solid var(--border); font-size: 14px; }
.chat-panel__input input:focus { outline: none; border-color: var(--accent); }
.chat-panel__send { width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; transition: background .15s ease; }
.chat-panel__send:hover { background: var(--accent-hover); }
.chat-panel.is-expanded { width: 520px; height: 640px; }

/* Note: .live-chat-float is defined once, above (near .whatsapp-float) — a
   second, stale pill-shaped definition used to live here and would override
   the circular button's position/z-index/background from later in the
   cascade (same class, later wins), producing a visually broken button.
   Removed; see the definition near .whatsapp-float instead. */

/* ==========================================================================
   Checkout — 4-step 3D flow (review → payment → confirm → WhatsApp)
   ========================================================================== */
.checkout__head { text-align: center; max-width: 640px; margin: 0 auto var(--space-6); }
.checkout__head h1 { font-size: var(--fs-4xl); }
.checkout__intro { color: var(--text-secondary); margin-top: var(--space-3); }

/* Progress steps */
.checkout-steps { display: flex; justify-content: center; gap: var(--space-2); margin-bottom: var(--space-7); list-style: none; padding: 0; }
.checkout-step { display: flex; align-items: center; gap: var(--space-2); color: var(--text-muted); }
.checkout-step__num {
  width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--border-light);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: var(--fs-sm);
  transition: all .25s ease;
}
.checkout-step__label { font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.checkout-step + .checkout-step::before { content: ''; width: 24px; height: 2px; background: var(--border-light); margin: 0 var(--space-2); }
.checkout-step.is-active { color: var(--text-primary); }
.checkout-step.is-active .checkout-step__num { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(21,71,52,.35); transform: scale(1.08); }

/* 3D card */
.checkout-card {
  perspective: 1400px; max-width: 760px; margin: 0 auto;
}
.checkout-panel {
  position: relative; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--space-6);
  box-shadow: 0 20px 50px -20px rgba(18,18,18,.25), 0 6px 18px rgba(18,18,18,.06);
  transform-style: preserve-3d; display: none;
  transition: transform .35s var(--ease-out), opacity .3s ease, box-shadow .3s ease;
}
.checkout-panel.is-active { display: block; animation: checkoutIn .4s var(--ease-out) both; }
.checkout-panel:hover { box-shadow: 0 26px 60px -22px rgba(18,18,18,.3), 0 10px 24px rgba(18,18,18,.08); }
@keyframes checkoutIn { from { opacity: 0; transform: translateY(16px) rotateX(3deg); } to { opacity: 1; transform: none; } }
.checkout-panel__title { font-size: var(--fs-2xl); margin-bottom: var(--space-2); }
.checkout-panel__note { color: var(--text-secondary); font-size: var(--fs-sm); margin-bottom: var(--space-5); }

/* Order lines */
.checkout-cart { margin-bottom: var(--space-5); }
.cart-line { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); padding: .85rem 0; border-bottom: 1px solid var(--border); font-size: var(--fs-sm); }
.cart-line__price { color: var(--accent); font-weight: 700; margin-top: 2px; }
.cart-line__remove { font-size: var(--fs-xs); color: var(--text-muted); text-decoration: underline; }

/* Payment method cards */
.checkout-pay__grid { display: grid; gap: var(--space-3); margin-bottom: var(--space-5); }
.checkout-pay {
  display: flex; align-items: center; gap: var(--space-4); width: 100%; text-align: left;
  padding: var(--space-4); border: 2px solid var(--border); border-radius: var(--radius-md);
  background: var(--bg-surface); cursor: pointer; position: relative; overflow: hidden;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.checkout-pay:hover { border-color: var(--border-light); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(18,18,18,.08); }
.checkout-pay.is-selected { border-color: var(--accent); background: linear-gradient(135deg, rgba(21,71,52,.06), rgba(21,71,52,.02)); box-shadow: 0 10px 26px rgba(21,71,52,.16); }
.checkout-pay__icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--bg-muted);
  display: inline-flex; align-items: center; justify-content: center; flex: none; color: var(--accent);
}
.checkout-pay__icon svg { width: 24px; height: 24px; }
.checkout-pay.is-selected .checkout-pay__icon { background: var(--accent); color: #fff; }
.checkout-pay__meta { display: flex; flex-direction: column; }
.checkout-pay__label { font-weight: 700; font-size: var(--fs-base); }
.checkout-pay__sub { font-size: var(--fs-xs); color: var(--text-muted); margin-top: 2px; }
.checkout-pay__check {
  margin-left: auto; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--border-light);
  display: inline-flex; align-items: center; justify-content: center; font-size: var(--fs-xs); color: transparent; flex: none;
}
.checkout-pay.is-selected .checkout-pay__check { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Summary + total */
.checkout-summary { margin-bottom: var(--space-4); }
.checkout-pay-chosen { font-size: var(--fs-sm); color: var(--text-secondary); margin-bottom: var(--space-3); font-weight: 600; }
.checkout-total {
  display: flex; justify-content: space-between; align-items: baseline; font-size: var(--fs-xl);
  padding: var(--space-4) 0; border-top: 2px solid var(--border); margin-bottom: var(--space-4);
}
.checkout-total strong { font-size: var(--fs-2xl); color: var(--accent); }
.checkout-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.checkout-actions .btn { flex: 1; min-width: 160px; }
.checkout-note { font-size: var(--fs-xs); color: var(--text-muted); margin-top: var(--space-4); }

/* Channel selector (WhatsApp / Email) */
.checkout-channel { margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px solid var(--border); }
.checkout-channel__title { font-size: var(--fs-md); font-weight: 700; margin-bottom: var(--space-3); }
.checkout-channel__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
.checkout-channel__option {
  display: flex; align-items: center; gap: var(--space-3); padding: var(--space-4);
  border: 2px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-surface);
  cursor: pointer; text-align: left; transition: border-color .2s ease, background .2s ease;
}
.checkout-channel__option:hover { border-color: var(--accent); }
.checkout-channel__option.is-selected { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, #fff); }
.checkout-channel__icon {
  flex: none; width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center;
  justify-content: center; font-size: 1.4rem; background: var(--bg-muted); color: var(--text-primary);
}
.checkout-channel__option.is-selected .checkout-channel__icon { background: var(--accent); color: #fff; }
.checkout-channel__meta { display: flex; flex-direction: column; }
.checkout-channel__label { font-weight: 700; color: var(--text-primary); }
.checkout-channel__sub { font-size: var(--fs-xs); color: var(--text-muted); }
.checkout-channel__email { margin-top: var(--space-4); }
.checkout-channel__email-label { display: block; font-size: var(--fs-sm); font-weight: 600; margin-bottom: var(--space-2); }
.checkout-channel__email-input {
  width: 100%; padding: var(--space-3) var(--space-4); border: 1px solid var(--border);
  border-radius: var(--radius-md); font: inherit; font-size: var(--fs-md);
}
.checkout-channel__email-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(21,71,52,.15); }
.checkout-channel__email-error { color: #c0392b; font-size: var(--fs-xs); margin-top: var(--space-2); }
@media (max-width: 480px) { .checkout-channel__grid { grid-template-columns: 1fr; } }

/* WhatsApp button */
.btn--whatsapp { background: #25d366; color: #fff; }
.btn--whatsapp:hover { background: #1ebe5b; color: #fff; transform: translateY(-1px); }
.wa-glyph { margin-right: 6px; }

/* Done state */
.checkout-panel--done .checkout-done { text-align: center; padding: var(--space-6) 0; }
.checkout-done__check {
  width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 2rem; margin-bottom: var(--space-4);
  box-shadow: 0 12px 30px rgba(21,71,52,.35); animation: popIn .5s var(--ease-out) both;
}
@keyframes popIn { from { transform: scale(0); } to { transform: scale(1); } }
.checkout-done h2 { font-size: var(--fs-3xl); margin-bottom: var(--space-3); }
.checkout-done p { color: var(--text-secondary); margin-bottom: var(--space-5); }
.checkout-done .btn { margin-bottom: var(--space-4); }
.checkout-done__back { color: var(--link); font-weight: 600; font-size: var(--fs-sm); }

.checkout-empty { color: var(--text-muted); padding: var(--space-4) 0; }

@media (max-width: 640px) {
  .checkout-panel { padding: var(--space-5); }
  .checkout-actions .btn { flex: 1 1 100%; }
  .checkout-step__label { display: none; }
  .checkout-step + .checkout-step::before { width: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .checkout-panel, .checkout-done__check { animation: none; }
  .checkout-panel, .checkout-pay { transition: none; }
}

/* ==========================================================================
   Contact page — modern redesign
   ========================================================================== */
.contact-hero { background: linear-gradient(160deg, #000 0%, #0d1f17 60%, #154734 130%); color: #fff; padding: var(--space-8) 0 var(--space-7); text-align: center; }
.contact-hero .eyebrow { color: var(--accent-on-dark); }
.contact-hero h1 { color: #fff; font-size: var(--fs-4xl); margin-bottom: var(--space-3); }
.contact-hero__intro { color: rgba(255,255,255,.85); max-width: 640px; margin: 0 auto; }

.contact-main { background: var(--bg-muted); }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--space-6); align-items: start; }
.contact-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: 0 16px 40px -22px rgba(18,18,18,.2); }
.contact-card__title { font-size: var(--fs-2xl); margin-bottom: var(--space-2); }
.contact-card__sub { color: var(--text-secondary); font-size: var(--fs-sm); margin-bottom: var(--space-5); }
.contact-form { display: flex; flex-direction: column; gap: var(--space-4); }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.contact-form__field { display: flex; flex-direction: column; gap: 6px; }
.contact-form__field label { font-size: var(--fs-sm); font-weight: 600; }
.contact-form__opt { color: var(--text-muted); font-weight: 400; }
.contact-form__field input, .contact-form__field select, .contact-form__field textarea {
  font: inherit; padding: .7rem .9rem; border: 1px solid var(--border-light); border-radius: var(--radius-sm); background: var(--bg-surface); color: var(--text-primary);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form__field input:focus, .contact-form__field select:focus, .contact-form__field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(21,71,52,.12);
}
.contact-form__field textarea { resize: vertical; }
.contact-form__error { color: var(--sale); font-size: var(--fs-sm); font-weight: 600; }
.contact-form__submit { position: relative; }
.contact-form__spinner { display: none; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.contact-form.is-loading .contact-form__submit-text { opacity: .6; }
.contact-form.is-loading .contact-form__spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.contact-form__success { color: var(--new); font-weight: 600; font-size: var(--fs-sm); }

.contact-side { display: flex; flex-direction: column; gap: var(--space-5); }
.contact-channels { display: flex; flex-direction: column; gap: var(--space-3); }
.contact-channel {
  display: flex; align-items: center; gap: var(--space-3); padding: var(--space-4); background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius-md); text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.contact-channel:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(18,18,18,.1); border-color: var(--border-light); }
.contact-channel--wa { background: linear-gradient(135deg, #25d36614, #25d36604); }
.contact-channel__icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--bg-muted); display: inline-flex; align-items: center; justify-content: center; font-size: 1.25rem; flex: none;
}
.contact-channel--wa .contact-channel__icon { background: #25d366; color: #fff; }
.contact-channel__meta { display: flex; flex-direction: column; }
.contact-channel__label { font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }
.contact-channel__value { font-weight: 700; font-size: var(--fs-base); }
.contact-channel__hint { font-size: var(--fs-xs); color: #1e7a3c; font-weight: 600; }

.contact-hours, .contact-faq { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-5); }
.contact-hours__title, .contact-faq__title { font-size: var(--fs-lg); margin-bottom: var(--space-3); }
.contact-hours__list { list-style: none; padding: 0; margin: 0; }
.contact-hours__list li { display: flex; justify-content: space-between; padding: .45rem 0; font-size: var(--fs-sm); border-bottom: 1px solid var(--border); }
.contact-hours__note { font-size: var(--fs-xs); color: var(--text-muted); margin-top: var(--space-3); }
.contact-faq__item { border-top: 1px solid var(--border); padding: .7rem 0; }
.contact-faq__item summary { cursor: pointer; font-weight: 600; font-size: var(--fs-sm); }
.contact-faq__item p { font-size: var(--fs-sm); color: var(--text-secondary); margin-top: var(--space-2); }

.contact-cta { background: #000; color: #fff; text-align: center; padding: var(--space-8) 0; }
.contact-cta h2 { color: #fff; font-size: var(--fs-3xl); margin-bottom: var(--space-3); }
.contact-cta p { color: rgba(255,255,255,.85); margin-bottom: var(--space-5); }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form__row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-channel, .contact-form__spinner { animation: none; transition: none; }
}

/* Chatbot escalation form */
.chat-escalate { padding: 12px; border-top: 1px solid var(--border); background: var(--bg-muted); }
.chat-escalate__head { font-weight: 700; font-size: var(--fs-sm); margin-bottom: 10px; }
.chat-escalate__form { display: flex; flex-direction: column; gap: 8px; }
.chat-escalate__form input, .chat-escalate__form textarea {
  font: inherit; padding: .6rem .8rem; border: 1px solid var(--border-light); border-radius: var(--radius-sm);
  background: var(--bg-surface); color: var(--text-primary); width: 100%;
}
.chat-escalate__consent { display: flex; align-items: flex-start; gap: 8px; font-size: var(--fs-xs); color: var(--text-secondary); }
.chat-escalate__consent input { width: auto; }
.chat-escalate__error { color: var(--sale); font-size: var(--fs-xs); font-weight: 600; }
.chat-escalate__actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.chat-escalate__submit { min-height: 40px; font-size: var(--fs-sm); padding: .5rem 1rem; }
.chat-escalate__wa { font-size: var(--fs-xs); font-weight: 700; color: #1e7a3c; text-decoration: underline; }
.chat-escalate__ok { color: var(--new); font-size: var(--fs-xs); font-weight: 600; }
.chat-msg--link a { color: var(--link); text-decoration: underline; font-size: var(--fs-xs); }

/* Consent banner */
.consent-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 300;
  background: #000; color: #fff; border-top: 1px solid rgba(255,255,255,.15);
  padding: var(--space-4) var(--space-5);
}
.consent-banner__inner { max-width: var(--container); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; }
.consent-banner__text { font-size: var(--fs-sm); color: rgba(255,255,255,.85); flex: 1; min-width: 240px; }
.consent-banner__text a { color: var(--accent-on-dark); text-decoration: underline; }
.consent-banner__actions { display: flex; gap: var(--space-3); }
.consent-banner__btn {
  padding: .6rem 1.4rem; border-radius: var(--radius-pill); font-weight: 700; font-size: var(--fs-sm);
  background: var(--accent); color: #fff; border: 1px solid var(--accent);
}
.consent-banner__btn:hover { background: var(--accent-hover); }
.consent-banner__btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.consent-banner__btn--ghost:hover { background: rgba(255,255,255,.1); }
@media (max-width: 640px) {
  .consent-banner__inner { flex-direction: column; align-items: stretch; }
  .consent-banner__actions .consent-banner__btn { flex: 1; }
}

/* Customer account: focused, calm forms that remain comfortable on mobile. */
.page-account { background: var(--bg-muted); }
.account-shell { display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; padding-block: clamp(3rem, 7vw, 7rem); }
.account-intro { padding-top: 1rem; }
.account-intro h1 { max-width: 12ch; font-size: clamp(2.2rem, 5vw, 4.5rem); line-height: 1.04; margin: .6rem 0 1.25rem; }
.account-intro > p:not(.eyebrow) { max-width: 34rem; color: var(--text-secondary); font-size: 1.05rem; line-height: 1.7; }
.account-intro__note { margin-top: 1.5rem; font-size: var(--fs-sm) !important; }
.account-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: 0 24px 60px -36px rgba(0,0,0,.35); overflow: hidden; }
.account-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--border); }
.account-tab { min-height: 58px; padding: .85rem 1rem; background: transparent; color: var(--text-secondary); font: inherit; font-weight: 700; border: 0; border-bottom: 3px solid transparent; cursor: pointer; }
.account-tab.is-active { color: var(--accent); border-bottom-color: var(--accent); }
.account-status { margin: 1.25rem 1.5rem 0; padding: .85rem 1rem; border-radius: var(--radius-sm); background: var(--bg-muted); color: var(--text-secondary); font-size: var(--fs-sm); line-height: 1.5; }
.account-status[data-kind="error"] { background: #fff1f1; color: #8b1e1e; }
.account-status[data-kind="success"] { background: #edf8f1; color: #146b3a; }
.account-panel { padding: clamp(1.25rem, 4vw, 2rem); }
.account-panel h2 { margin: 0 0 .5rem; }
.account-panel p { color: var(--text-secondary); line-height: 1.6; }
.account-form { display: grid; gap: 1rem; }
.account-form__field { display: grid; gap: .4rem; }
.account-form__field label { font-size: var(--fs-sm); font-weight: 700; }
.account-form__field input { width: 100%; min-height: 48px; padding: .75rem .85rem; border: 1px solid var(--border-light); border-radius: var(--radius-sm); background: var(--bg-surface); color: var(--text-primary); font: inherit; }
.account-form__field input:focus { outline: 3px solid rgba(21,71,52,.16); border-color: var(--accent); }
.account-form__field small { color: var(--text-muted); font-size: var(--fs-xs); }
.account-submit { width: 100%; margin-top: .5rem; }
.account-link { justify-self: start; padding: 0; border: 0; background: transparent; color: var(--link); font: inherit; font-size: var(--fs-sm); text-decoration: underline; cursor: pointer; }
.account-spinner { display: none; width: 1rem; height: 1rem; margin-left: .5rem; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: account-spin .7s linear infinite; }
.account-form.is-loading .account-spinner { display: inline-block; }
.account-session__actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }
@keyframes account-spin { to { transform: rotate(360deg); } }
@media (max-width: 760px) {
  .account-shell { display: block; padding-block: 2.5rem; }
  .account-intro { margin-bottom: 1.75rem; }
  .account-intro h1 { max-width: 15ch; font-size: clamp(2.2rem, 11vw, 3.3rem); }
  .account-card { border-radius: var(--radius-md); }
}
@media (prefers-reduced-motion: reduce) { .account-spinner { animation: none; } }


/* News index — image-led, dark presentation matched to the live News hub. */
.page-news { background: #000; }
.page-news #main { background: #000; color: #fff; }
.page-news .footer, .page-news .footer-trust { background: #000; }
.news-hero { position: relative; min-height: clamp(340px, 39vw, 565px); overflow: hidden; display: grid; place-items: center; isolation: isolate; }
.news-hero__backdrop { position: absolute; inset: 0; background-position: center; background-size: cover; transform: scale(1.01); z-index: -2; }
.news-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.3), rgba(0,0,0,.04) 58%, rgba(0,0,0,.25)), linear-gradient(0deg, rgba(0,0,0,.32), transparent 42%); }
.news-hero__content { text-align: center; }
.news-hero h1 { color: #fff; margin: 0; font-size: clamp(3rem, 6.2vw, 6.1rem); letter-spacing: -.045em; text-shadow: 0 3px 24px rgba(0,0,0,.45); }
.news-index { padding: clamp(2.5rem, 6vw, 5.25rem) 0 clamp(3rem, 7vw, 6rem); background: #000; }
.news-tools { display: grid; grid-template-columns: minmax(200px, 250px) minmax(280px, 360px); justify-content: space-between; gap: 1rem; align-items: center; margin: 0 0 3.5rem; }
.news-tools select, .news-tools input, .news-tools button { font: inherit; }
.news-tools__category { min-height: 42px; padding: .65rem 2.25rem .65rem .9rem; color: #1a2330; background: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; cursor: pointer; }
.news-tools__search { display: grid; grid-template-columns: 1fr auto; min-height: 42px; overflow: hidden; background: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; }
.news-tools__search input { min-width: 0; padding: .65rem 1rem; color: #1a2330; border: 0; outline: none; background: transparent; }
.news-tools__search button { margin: 3px; padding: .45rem 1rem; color: #fff; background: #31363d; border: 0; border-radius: 999px; font-size: .8rem; font-weight: 700; cursor: pointer; }
.news-tools__search button:hover { background: #154734; }
.news-results-summary { min-height: 1.3rem; margin: -2.25rem 0 1.15rem; color: rgba(255,255,255,.7); font-size: .875rem; }
.news-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.75rem, 1.3vw, 1.3rem); }
.news-card { min-width: 0; }
.news-card[hidden] { display: none !important; }
.news-card__link { position: relative; display: block; min-height: clamp(270px, 28vw, 420px); overflow: hidden; color: #fff; border-radius: 16px; background: #121212; text-decoration: none; isolation: isolate; }
.news-card__link img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.news-card__link:hover img, .news-card__link:focus-visible img { transform: scale(1.045); }
.news-card__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.06) 31%, rgba(0,0,0,.86) 100%); z-index: 1; }
.news-card__meta { position: absolute; left: 1rem; top: 1rem; z-index: 2; color: #fff; font-size: .65rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.news-card h2 { position: absolute; right: 1rem; bottom: 1rem; left: 1rem; z-index: 2; margin: 0; color: #fff; font-size: clamp(.8rem, 1.05vw, 1.02rem); font-weight: 800; line-height: 1.2; text-transform: uppercase; text-shadow: 0 1px 5px rgba(0,0,0,.6); }
.news-card__link:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.news-empty { margin: 2rem 0; color: #fff; text-align: center; }
.news-pagination { display: flex; align-items: center; justify-content: center; gap: .85rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.news-pagination a { min-width: 2rem; padding: .35rem; color: rgba(255,255,255,.75); text-align: center; font-size: .875rem; text-decoration: none; }
.news-pagination a:hover, .news-pagination a[aria-current="page"] { color: #fff; text-decoration: underline; text-underline-offset: .45rem; }
.news-search-modal[hidden] { display: none; }
.news-search-modal { position: fixed; inset: 0; z-index: 600; display: grid; place-items: center; padding: 1.25rem; }
.news-search-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.72); backdrop-filter: blur(3px); }
.news-search-modal__panel { position: relative; width: min(100%, 520px); padding: clamp(1.5rem, 4vw, 2.5rem); color: #111; background: #fff; border-radius: 18px; box-shadow: 0 25px 80px rgba(0,0,0,.45); }
.news-search-modal__panel h2 { margin: .25rem 0 .7rem; }
.news-search-modal__panel p:not(.eyebrow) { color: #48505a; line-height: 1.55; }
.news-search-modal__close { position: absolute; top: .7rem; right: .9rem; width: 2.25rem; height: 2.25rem; color: #111; background: transparent; border: 0; font-size: 1.8rem; cursor: pointer; }
@media (max-width: 920px) { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .news-card__link { min-height: clamp(260px, 52vw, 390px); } }
@media (max-width: 680px) { .news-hero { min-height: 360px; } .news-tools { grid-template-columns: 1fr; margin-bottom: 2.75rem; } .news-tools__search { max-width: none; } }
@media (max-width: 420px) { .news-grid { grid-template-columns: 1fr; } .news-card__link { min-height: 380px; } }
@media (prefers-reduced-motion: reduce) { .news-card__link img { transition: none; } }

/* Product media controls: clear, touch-friendly navigation over the imagery. */
.product-media__nav { position: absolute; z-index: 3; inset: 50% .85rem auto; display: flex; justify-content: space-between; pointer-events: none; transform: translateY(-50%); }
.product-media__nav-btn { display: inline-grid; width: 48px; height: 48px; place-items: center; color: #fff; background: rgba(15,15,15,.52); border: 1px solid rgba(255,255,255,.55); border-radius: 50%; box-shadow: 0 6px 18px rgba(0,0,0,.24); font-size: 2rem; line-height: 1; cursor: pointer; pointer-events: auto; transition: transform .2s ease, background .2s ease; }
.product-media__nav-btn:hover, .product-media__nav-btn:focus-visible { background: #154734; transform: scale(1.06); outline: 3px solid rgba(255,255,255,.7); outline-offset: 2px; }
@media (max-width: 640px) { .product-media__nav { inset-inline: .6rem; } .product-media__nav-btn { width: 42px; height: 42px; font-size: 1.75rem; } }
@media (prefers-reduced-motion: reduce) { .product-media__nav-btn { transition: none; } }