/* ==========================================================================
   UNITED SURGICAL — STORE EXTENSION STYLES
   Shop, Product Detail, Cart, Wishlist, Checkout, Login/Register, Account.
   Built on top of the design tokens defined in styles.css (:root).
   ========================================================================== */

/* ---------- toast ---------- */
.us-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 40px) scale(0.96);
  background: #fff;
  color: var(--text-main);
  padding: 14px 16px;
  border-radius: 16px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.22), 0 2px 8px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--border-light);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 9999;
  max-width: min(92vw, 400px);
}
.us-toast.show {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
  pointer-events: auto;
}
.toast-check {
  width: 28px; height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: var(--brand-emerald);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.toast-msg { font-weight: 500; line-height: 1.4; }
.us-fallback-toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  background: #fff;
  color: var(--text-main);
  padding: 14px 20px;
  border-radius: 16px;
  font-size: 0.9rem;
  z-index: 9999;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.22);
  border: 1px solid var(--border-light);
}

/* ==========================================================================
   PRODUCT CARD — complete redesign
   ========================================================================== */
.prod-store-card {
  border-radius: 22px !important;
  border: 1px solid var(--border-light) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18) !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease !important;
  will-change: transform, box-shadow;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  overflow: hidden !important;
  cursor: pointer;
  background: var(--bg-surface) !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}
.prod-store-card:hover {
  transform: translateY(-6px) translateZ(0) !important;
  box-shadow: 0 20px 35px -8px rgba(15, 23, 42, 0.12), 0 8px 16px -4px rgba(15, 23, 42, 0.06) !important;
  border-color: #93C5FD !important;
}

.prod-img-stage {
  background: var(--bg-subtle) !important;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  width: 100%;
  display: block !important;
}
.prod-img-stage img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: transform;
  object-fit: cover;
}
.prod-store-card:hover .prod-img-stage img { transform: scale(1.035) !important; }

/* Pulsing Discount Tag for Hot Deals */
.prod-pulse-discount-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #E11D48;
  color: #FFFFFF;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 6px;
  z-index: 3;
  box-shadow: 0 3px 10px rgba(225, 29, 72, 0.4);
  animation: pulseDiscountTag 2.2s infinite ease-in-out;
  pointer-events: none;
}

@keyframes pulseDiscountTag {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.45); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 7px rgba(225, 29, 72, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(225, 29, 72, 0); }
}

/* wishlist heart — morphing outline-to-fill heart with vibrant crimson fill */
.prod-wishlist-btn {
  position: absolute;
  top: 14px; right: 14px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #FFFFFF !important;
  border: 1.5px solid #E2E8F0 !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12) !important;
  display: flex !important;
  align-items: center; justify-content: center;
  z-index: 3;
  cursor: pointer;
  padding: 0;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.prod-wishlist-btn:hover {
  transform: scale(1.12);
  background: #FFF1F2 !important;
  border-color: #FECDD3 !important;
  box-shadow: 0 6px 18px rgba(225, 29, 72, 0.22) !important;
}
.prod-wishlist-btn svg {
  width: 18px; height: 18px;
  pointer-events: none;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.prod-wishlist-btn svg path,
.prod-wishlist-btn .heart-outline path {
  fill: none;
  stroke: #64748B;
  stroke-width: 2;
  transition: fill 0.2s ease, stroke 0.2s ease;
}
.prod-wishlist-btn:hover svg path {
  stroke: #E11D48;
}
.prod-wishlist-btn.active {
  background: #FFF1F2 !important;
  border-color: #FECDD3 !important;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.25) !important;
}
.prod-wishlist-btn.active svg path,
.prod-wishlist-btn.active .heart-outline path,
.prod-wishlist-btn.active path {
  fill: #E11D48 !important;
  stroke: #E11D48 !important;
  opacity: 1 !important;
}
.prod-wishlist-btn.pulse {
  animation: wishPulse 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes wishPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

.prod-discount-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--brand-rose);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 5px 10px;
  border-radius: 999px;
  z-index: 3;
  box-shadow: 0 4px 10px rgba(225, 29, 72, 0.35);
}
.prod-badge-hot { z-index: 3; }
.prod-img-stage:has(.prod-discount-badge) .prod-badge-hot { top: 50px; }

/* Official United Surgical brand watermark stamp - light, clean, no white gradient hiding products */
.prod-watermark-stamp {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 50%, rgba(255, 255, 255, 0.72) 70%, rgba(255, 255, 255, 0) 88%) !important;
  padding: 12px 10px !important;
  border-radius: 20px !important;
  z-index: 2;
  user-select: none;
  width: 86%;
  max-width: 280px;
  opacity: 1;
}
.prod-watermark-stamp .wm-emblem {
  width: 28px;
  height: 28px;
  object-fit: contain;
  margin-bottom: 3px;
  display: block;
}
.prod-watermark-stamp .wm-sub {
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #E11D48;
  margin-bottom: 2px;
  text-transform: uppercase;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.95), 0 0 12px #FFFFFF;
}
.prod-watermark-stamp .wm-main {
  font-size: 14.5px;
  font-weight: 900;
  letter-spacing: 0.16em;
  color: #0284C7;
  text-transform: uppercase;
  line-height: 1.15;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.95), 0 0 14px #FFFFFF;
}
.prod-watermark-stamp .wm-foot {
  font-size: 6.8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #475569;
  margin-top: 2px;
  text-transform: uppercase;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.95), 0 0 10px #FFFFFF;
}

/* Scaling on PDP individual product detail page */
.pdp-gallery-main .prod-watermark-stamp {
  width: 84% !important;
  max-width: 480px !important;
  padding: 24px 20px !important;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 52%, rgba(255, 255, 255, 0.74) 72%, rgba(255, 255, 255, 0) 88%) !important;
}
.pdp-gallery-main .prod-watermark-stamp .wm-emblem {
  width: 36px !important;
  height: 36px !important;
  margin-bottom: 4px !important;
}
.pdp-gallery-main .prod-watermark-stamp .wm-sub {
  font-size: 10.5px !important;
  letter-spacing: 0.18em !important;
  color: #E11D48 !important;
}
.pdp-gallery-main .prod-watermark-stamp .wm-main {
  font-size: 24px !important;
  letter-spacing: 0.18em !important;
  color: #0284C7 !important;
}
.pdp-gallery-main .prod-watermark-stamp .wm-foot {
  font-size: 8.5px !important;
  letter-spacing: 0.14em !important;
  color: #475569 !important;
}

.thumb-wm-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 8px;
  font-weight: 900;
  color: #0284C7;
  background: rgba(255, 255, 255, 0.96);
  padding: 2px 5px;
  border-radius: 4px;
  pointer-events: none;
  letter-spacing: 0.05em;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  border: 1px solid rgba(2, 132, 199, 0.2);
}

.prod-card-details { padding: 16px 18px 18px !important; display: flex !important; flex-direction: column; flex: 1; gap: 0; }
.prod-cat-tag {
  background: var(--brand-primary-light);
  color: var(--brand-primary);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-block;
  width: fit-content;
}
.prod-name {
  margin: 10px 0 6px !important;
  font-family: var(--font-family) !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em;
  line-height: 1.32;
  color: var(--text-main);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.64em;
  transition: color 0.2s ease;
}
.prod-store-card:hover .prod-name { color: var(--brand-primary); }

.prod-rating-strip { display: flex; align-items: center; gap: 6px; margin-bottom: 2px; }
.prod-stars { display: inline-flex; gap: 1px; }
.star-icon { width: 13px; height: 13px; color: #E2A33D; }
.star-icon:not(.filled) { color: #D1D5DB; }
.prod-reviews-txt { font-size: 0.76rem; color: var(--text-light); }

.prod-pricing-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 8px 0 12px !important; }
.prod-current-price { font-size: 1.3rem !important; font-weight: 800 !important; letter-spacing: -0.01em; color: var(--brand-primary); }
.prod-stock-indicator { margin-left: auto; font-size: 0.74rem; }

.prod-actions-row { display: flex; gap: 8px !important; margin-top: auto; min-height: 44px; }
.prod-actions-row button, .prod-actions-row a {
  font-family: var(--font-family) !important;
  border-radius: 11px !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  padding: 11px 12px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease !important;
}
.prod-actions-row button:active { transform: scale(0.95) !important; }
.btn-sm-outline {
  border: 1.5px solid var(--border-color) !important;
  background: var(--bg-surface) !important;
  color: var(--text-body) !important;
}
.btn-sm-outline:hover { border-color: var(--brand-primary) !important; color: var(--brand-primary) !important; background: var(--brand-primary-light) !important; }
.btn-sm-outline.just-added {
  background: var(--brand-emerald) !important;
  border-color: var(--brand-emerald) !important;
  color: #fff !important;
}
.btn-sm-primary {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-hover) 100%) !important;
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(29, 78, 216, 0.3);
}
.btn-sm-primary:hover { box-shadow: 0 10px 22px rgba(29, 78, 216, 0.4); }
.btn-sm-primary svg { transition: transform 0.2s ease; }
.btn-sm-primary:hover svg { transform: translateX(3px); }

/* cart-quantity state inside the card actions row */
.prod-actions-row.in-cart { align-items: stretch; }
.prod-qty-stepper {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--brand-primary);
  border-radius: 11px;
  overflow: hidden;
  flex: 1;
}
.prod-qty-stepper button {
  background: var(--brand-primary-light);
  border: none;
  width: 32px;
  color: var(--brand-primary);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  font-family: var(--font-family);
  flex-shrink: 0;
}
.prod-qty-stepper button:hover { background: var(--brand-primary); color: #fff; }
.prod-qty-stepper span {
  flex: 1;
  text-align: center;
  font-weight: 800;
  color: var(--text-main);
  font-size: 0.9rem;
}
.prod-go-cart-btn {
  display: flex !important;
  align-items: center;
  gap: 5px;
  background: var(--brand-emerald);
  color: #fff !important;
  border-radius: 11px;
  padding: 0 12px !important;
  font-size: 0.78rem !important;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease;
}
.prod-go-cart-btn:hover { background: var(--brand-emerald-hover); }
.prod-go-cart-btn svg { width: 14px; height: 14px; }

/* staggered entrance when a grid re-renders (category switch, sort, filter) */
.shop-product-grid.is-switching, .product-store-grid.is-switching { opacity: 0; }
.prod-store-card.card-enter {
  animation: cardEnter 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes cardEnter {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---------- quick view drawer content ---------- */
.drawer-img-stage {
  background: var(--bg-subtle);
  border-radius: 14px;
  height: 220px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  margin-bottom: 18px;
}
.drawer-img-stage img { width: 100%; height: 100%; object-fit: cover; }
.drawer-item-title { font-size: 1.15rem; font-weight: 800; color: var(--text-main); margin-bottom: 6px; }
.drawer-item-price { font-size: 1.4rem; font-weight: 800; color: var(--brand-primary); margin-bottom: 18px; }
.drawer-spec-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.drawer-spec-list li { font-size: 0.88rem; color: var(--text-body); line-height: 1.5; padding-bottom: 10px; border-bottom: 1px solid var(--border-light); }
.drawer-spec-list li strong { color: var(--text-main); }
.drawer-action-row { display: flex; gap: 10px; }
.drawer-action-row button { flex: 1; justify-content: center; }
.drawer-full-details-link { display: block; text-align: center; margin-top: 16px; color: var(--brand-primary); font-weight: 600; font-size: 0.88rem; text-decoration: none; }

/* ---------- cart / drawer thumbnail: light backdrop, tight crop ---------- */
.cart-line-thumb, .review-line img {
  background: var(--bg-subtle) !important;
}
.cart-line-thumb img {
  object-fit: cover !important;
  padding: 0 !important;
}

/* ---------- add to cart / wishlist micro-interactions ---------- */
.prod-wishlist-btn { transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease, background 0.2s ease, border-color 0.2s ease; }
.prod-wishlist-btn.pulse { animation: wishPulse 0.4s ease; }
@keyframes wishPulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.35); }
  100% { transform: scale(1); }
}
.btn-sm-primary, .btn-sm-outline, .btn-primary, .btn-secondary {
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-sm-primary:active, .btn-primary:active { transform: scale(0.96); }
.btn-added-flash { animation: addedFlash 0.5s ease; }
@keyframes addedFlash {
  0% { background: var(--brand-emerald); border-color: var(--brand-emerald); }
  100% { background: ''; }
}

/* ---------- toast with action button (go to cart) ---------- */
.us-toast > span { display: flex; align-items: center; gap: 14px; }
.us-toast a.toast-action {
  color: #fff;
  background: var(--brand-primary);
  padding: 7px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.78rem;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s ease;
}
.us-toast a.toast-action:hover { background: var(--brand-primary-hover); }
.us-toast .toast-msg { color: var(--text-body); font-size: 0.88rem; }
.us-toast .toast-msg strong { color: var(--text-main); }


/* ---------- price pulse (sale items only, subtle) ---------- */
@keyframes pricePulse {
  0%, 100% { text-shadow: 0 0 0 rgba(29, 78, 216, 0); }
  50% { text-shadow: 0 0 14px rgba(29, 78, 216, 0.35); }
}
.price-pulse { animation: pricePulse 2.4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .price-pulse { animation: none; }
}

/* ---------- larger, clearer header action icons (desktop only) ---------- */
@media (min-width: 1025px) {
  .action-icon-circle {
    width: 46px !important;
    height: 46px !important;
  }
  .action-icon-circle svg {
    width: 21px !important;
    height: 21px !important;
  }
  .action-icon-circle.whatsapp-circle svg {
    width: 24px !important;
    height: 24px !important;
  }
  .header-user-actions { gap: 20px !important; }
}

/* ---------- mobile header: trim to essentials, hamburger always reachable ---------- */
@media (max-width: 768px) {
  .hide-on-mobile { display: none !important; }
  .header-user-actions { gap: 10px !important; }
}
@media (max-width: 480px) {
  .hide-on-small-mobile { display: none !important; }
}
.mobile-only-nav-link { display: none; }
@media (max-width: 768px) {
  .store-nav-bar.mobile-open .mobile-only-nav-link {
    display: block !important;
    padding-top: 14px;
    margin-top: 14px;
    border-top: 1px solid var(--border-light);
    color: var(--brand-primary);
    font-weight: 600;
  }
}

/* ---------- active nav state ---------- */
.store-nav-links a.active {
  color: var(--brand-primary);
  font-weight: 600;
}

/* ---------- interior page hero (warm, authentic surgical craftsmanship) ---------- */
.page-hero-banner {
  position: relative;
  padding: 65px 0 55px;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.45) 50%, rgba(15, 23, 42, 0.60) 100%),
    url('../images/hero_macro_precision.jpg') center 42% / cover no-repeat;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  color: #FFFFFF;
}

.page-hero-banner.hero-shop {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.45) 50%, rgba(15, 23, 42, 0.60) 100%),
    url('../images/hero_bright_instruments.jpg') center 42% / cover no-repeat;
}

.page-hero-banner.hero-sets {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.45) 50%, rgba(15, 23, 42, 0.60) 100%),
    url('../images/mfg_cleaning.jpg') center 45% / cover no-repeat;
}

.page-hero-banner.hero-catalogue {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.45) 50%, rgba(15, 23, 42, 0.60) 100%),
    url('../images/hero_catalogue_modern.jpg') center 35% / cover no-repeat;
}

.page-hero-banner.hero-about {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.45) 50%, rgba(15, 23, 42, 0.60) 100%),
    url('../images/hero_surgical_suite_clean.jpg') center 40% / cover no-repeat;
}

.page-hero-banner.hero-cart {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.45) 50%, rgba(15, 23, 42, 0.60) 100%),
    url('../images/mfg_craftsmanship.jpg') center 40% / cover no-repeat;
}

.page-hero-banner.hero-wishlist {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.45) 50%, rgba(15, 23, 42, 0.60) 100%),
    url('../images/hero_wishlist_clean.jpg') center 40% / cover no-repeat;
}

.page-hero-banner .container { position: relative; z-index: 1; }
.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: #E2E8F0;
  margin-bottom: 12px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}
.page-breadcrumb a { color: #38BDF8; text-decoration: none; font-weight: 600; }
.page-breadcrumb a:hover { color: #7DD3FC; text-decoration: underline; }
.page-hero-title {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  color: #FFFFFF !important;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 10px;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.85);
}
.page-hero-sub {
  color: #F1F5F9 !important;
  font-size: 1.05rem;
  max-width: 720px;
  line-height: 1.65;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
}

/* Contact Hero Centered Banner — Clean, Uncluttered, Inspired by Final CTA */
.contact-hero-banner {
  position: relative;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.35) 50%, rgba(15, 23, 42, 0.55) 100%),
    url('../images/hero_modern_surgical.jpg') center 45% / cover no-repeat;
  text-align: center;
  padding: 85px 0 75px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.contact-hero-centered {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}
.contact-hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.025em;
  color: #FFFFFF !important;
  margin: 0 auto 16px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.85) !important;
}
.contact-hero-sub {
  font-size: 1.10rem;
  color: #F1F5F9 !important;
  line-height: 1.68;
  max-width: 660px;
  margin: 0 auto;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8) !important;
}

.shop-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 999px;
  padding: 6px 6px 6px 20px;
  max-width: 560px;
  margin-top: 24px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}
.shop-search-bar svg { width: 18px; height: 18px; color: var(--text-light); flex-shrink: 0; }
.shop-search-bar input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 0;
  font-family: var(--font-family);
  font-size: 0.92rem;
  color: var(--text-main);
  background: transparent;
  min-width: 0;
}
.shop-search-bar button {
  background: var(--brand-primary);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 11px 22px;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  transition: background 0.2s ease;
  flex-shrink: 0;
}
.shop-search-bar button:hover { background: var(--brand-primary-hover); }

/* ---------- shared section wrapper ---------- */
.store-page-section {
  padding: 48px 0 96px;
  background: var(--bg-page);
}

/* ==========================================================================
   SHOP / CATALOG PAGE
   ========================================================================== */
.shop-layout-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: flex-start;
}
.shop-sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.shop-sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

.shop-sidebar-mobile-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1.5px solid #E2E8F0;
}

.shop-sidebar-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid #CBD5E1;
  background: #F8FAFC;
  color: #0F172A;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.shop-sidebar-close-btn:hover {
  background: #E2E8F0;
}

.shop-sidebar {
  background: #FFFFFF !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 20px !important;
  padding: 24px 20px !important;
  position: sticky;
  top: 96px;
  box-shadow: 0 12px 36px -4px rgba(15, 23, 42, 0.07), 0 0 0 1px rgba(0, 0, 0, 0.02) !important;
}
.shop-filter-block { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1.5px solid #F1F5F9; }
.shop-filter-block:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.shop-filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid #F1F5F9;
}
.shop-filter-header h4 {
  margin: 0;
  font-size: 0.84rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  color: #0F172A !important;
  text-transform: uppercase !important;
}
.shop-sidebar h4 {
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0F172A;
  margin-bottom: 12px;
  font-weight: 800;
}
.shop-filter-list { list-style: none; display: flex; flex-direction: column; gap: 5px !important; padding: 0; margin: 0; }
.shop-filter-list li { margin: 0; padding: 0; }
.shop-filter-list li button,
.shop-filter-list button {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  background: transparent !important;
  border: 1.5px solid transparent !important;
  text-align: left !important;
  padding: 10px 13px !important;
  border-radius: 12px !important;
  font-size: 0.90rem !important;
  color: #1E293B !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  font-family: inherit;
  box-sizing: border-box;
}
.shop-filter-list li button:hover,
.shop-filter-list button:hover {
  background: #F0F9FF !important;
  color: #0284C7 !important;
  border-color: #BAE6FD !important;
  transform: translateX(3px) !important;
}
.shop-filter-list li button .count,
.shop-filter-list button span.count {
  color: #475569 !important;
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  background: #F1F5F9 !important;
  padding: 3px 9px !important;
  border-radius: 999px !important;
  border: 1px solid #E2E8F0 !important;
  min-width: 24px;
  text-align: center;
  letter-spacing: 0.02em;
  transition: all 0.2s ease !important;
}
.shop-filter-list li button:hover .count,
.shop-filter-list button:hover span.count {
  background: #E0F2FE !important;
  color: #0369A1 !important;
  border-color: #BAE6FD !important;
}
.shop-filter-list li button.active,
.shop-filter-list button.active {
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%) !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  border-color: transparent !important;
  box-shadow: 0 6px 18px -2px rgba(2, 132, 199, 0.42) !important;
  transform: translateX(2px) !important;
}
.shop-filter-list li button.active .count,
.shop-filter-list button.active span.count {
  background: rgba(255, 255, 255, 0.25) !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}
.shop-filter-list button.empty { opacity: 0.55; }

.price-filter-row { display: flex; align-items: center; gap: 10px; }
.price-filter-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 0 10px;
  background: var(--bg-page);
  transition: border-color 0.2s ease;
}
.price-filter-field:focus-within { border-color: var(--brand-primary); background: var(--bg-surface); }
.price-filter-field span { color: var(--text-light); font-size: 0.85rem; }
.price-filter-field input {
  width: 100%;
  border: none;
  background: transparent;
  padding: 9px 0;
  font-family: var(--font-family);
  font-size: 0.86rem;
  color: var(--text-main);
  outline: none;
}
.price-filter-field input::-webkit-outer-spin-button, .price-filter-field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.price-filter-sep { color: var(--text-light); }

.shop-price-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.shop-price-hint a { color: var(--brand-primary); font-weight: 600; text-decoration: none; }
.shop-price-hint a:hover { text-decoration: underline; }

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.shop-result-count { color: var(--text-muted); font-size: 0.92rem; }
.shop-result-count strong { color: var(--text-main); }
.shop-toolbar-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-left: auto; }
.grid-view-toggle { display: flex; border: 1px solid var(--border-color); border-radius: 10px; overflow: hidden; }
.grid-view-toggle button {
  width: 40px; height: 40px;
  background: var(--bg-surface);
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.grid-view-toggle button svg { width: 16px; height: 16px; }
.grid-view-toggle button.active { background: var(--brand-primary); color: #fff; }
.shop-sort-select {
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  font-family: var(--font-family);
  font-size: 0.88rem;
  color: var(--text-body);
  cursor: pointer;
}

.shop-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.shop-pagination button {
  min-width: 40px; height: 40px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-body);
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-family);
}
.shop-pagination button.active { background: var(--brand-primary); border-color: var(--brand-primary); color: #fff; }
.shop-pagination button:disabled { opacity: 0.4; cursor: not-allowed; }
.shop-pagination button:not(:disabled):not(.active):hover { border-color: var(--brand-primary); color: var(--brand-primary); }

/* ---------- list view ---------- */
.shop-product-grid.list-view { grid-template-columns: 1fr !important; gap: 18px; }
.shop-product-grid.list-view .prod-store-card { flex-direction: row !important; }
.shop-product-grid.list-view .prod-store-card:hover { transform: translateY(-3px) !important; }
.shop-product-grid.list-view .prod-img-stage { width: 220px; flex-shrink: 0; aspect-ratio: auto; }
.shop-product-grid.list-view .prod-card-details { padding: 20px 24px !important; }
.shop-product-grid.list-view .prod-name { -webkit-line-clamp: 1; min-height: 0; font-size: 1.15rem !important; }
.shop-product-grid.list-view .prod-spec-chips { display: flex; }
.shop-product-grid.list-view .prod-actions-row { max-width: 360px; }
.shop-mobile-filter-btn {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  font-size: 0.88rem;
  cursor: pointer;
  font-family: var(--font-family);
}

.shop-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.shop-empty-state, .cart-empty-state, .wishlist-empty-state {
  text-align: center;
  padding: 70px 20px;
  background: var(--bg-surface);
  border: 1px dashed var(--border-dark);
  border-radius: 20px;
}
.shop-empty-state .empty-icon, .cart-empty-state .empty-icon, .wishlist-empty-state .empty-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg-subtle);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.shop-empty-state .empty-icon svg, .cart-empty-state .empty-icon svg, .wishlist-empty-state .empty-icon svg {
  width: 30px;
  height: 30px;
}
.shop-empty-state h3, .cart-empty-state h3, .wishlist-empty-state h3 {
  font-size: 1.3rem;
  color: var(--text-main);
  margin-bottom: 8px;
}
.shop-empty-state p, .cart-empty-state p, .wishlist-empty-state p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* ==========================================================================
   PRODUCT DETAIL PAGE
   ========================================================================== */
.pdp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: flex-start;
}
.pdp-gallery-main {
  background: var(--bg-subtle);
  border-radius: 20px;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.pdp-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumbs { display: flex; gap: 12px; margin-top: 14px; }
.pdp-thumb {
  width: 76px; height: 76px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--border-color);
  cursor: pointer;
  background: var(--bg-subtle);
  flex-shrink: 0;
}
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumb.active { border-color: var(--brand-primary); }

.pdp-cat-tag { color: var(--brand-primary); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
.pdp-title { font-size: 1.85rem; font-weight: 800; letter-spacing: -0.02em; color: var(--text-main); margin: 10px 0 12px; line-height: 1.3; }
.pdp-rating-row { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.pdp-stars { color: var(--brand-amber); letter-spacing: 2px; }
.pdp-price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.pdp-price-current { font-size: 2rem; font-weight: 800; color: var(--brand-primary); }
.pdp-price-old { font-size: 1.15rem; color: var(--text-light); text-decoration: line-through; }
.pdp-short-desc { color: var(--text-body); font-size: 1rem; line-height: 1.7; margin-bottom: 20px; }
.pdp-meta-list { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; font-size: 0.92rem; color: var(--text-muted); }
.pdp-meta-list strong { color: var(--text-main); font-weight: 600; }
.pdp-chips-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }

.pdp-buy-row { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.qty-stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
}
.qty-stepper button {
  width: 42px; height: 46px;
  background: var(--bg-subtle);
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--text-main);
}
.qty-stepper button:hover { background: var(--brand-primary-light); color: var(--brand-primary); }
.qty-stepper input {
  width: 48px; height: 46px;
  border: none;
  text-align: center;
  font-size: 1rem;
  font-family: var(--font-family);
  -moz-appearance: textfield;
}
.pdp-action-buttons { display: flex; gap: 12px; flex-wrap: wrap; flex: 1; }
.pdp-action-buttons .btn-primary, .pdp-action-buttons .btn-secondary { flex: 1; min-width: 160px; justify-content: center; }
.pdp-wishlist-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.92rem;
  background: none;
  border: none;
  font-family: var(--font-family);
}
.pdp-wishlist-link:hover, .pdp-wishlist-link.active { color: var(--brand-rose); }

.pdp-trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}
.pdp-trust-item { display: flex; flex-direction: column; gap: 4px; font-size: 0.82rem; color: var(--text-muted); text-align: center; }
.pdp-trust-item strong { color: var(--text-main); font-size: 0.85rem; }

.pdp-tabs-section { margin-top: 64px; }
.pdp-tab-buttons { display: flex; gap: 8px; border-bottom: 1px solid var(--border-color); margin-bottom: 28px; }
.pdp-tab-btn {
  padding: 14px 20px;
  background: none;
  border: none;
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.pdp-tab-btn.active { color: var(--brand-primary); border-color: var(--brand-primary); }
.pdp-tab-panel { display: none; color: var(--text-body); line-height: 1.8; }
.pdp-tab-panel.active { display: block; }

.related-products-row { margin-top: 72px; }

/* ==========================================================================
   CART PAGE
   ========================================================================== */
.cart-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 32px;
  align-items: flex-start;
}
.cart-items-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.cart-items-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  border-bottom: 1px solid var(--border-light);
}
.cart-items-header h3 { font-size: 1.05rem; color: var(--text-main); font-weight: 700; }
.cart-items-header a { font-size: 0.86rem; color: var(--brand-primary); font-weight: 600; text-decoration: none; }
.cart-line-item {
  display: grid;
  grid-template-columns: 118px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 26px 28px;
  border-bottom: 1px solid var(--border-light);
  transition: background 0.2s ease;
}
.cart-line-item:hover { background: var(--bg-card-hover); }
.cart-line-item:last-child { border-bottom: none; }
.cart-line-thumb {
  width: 118px; height: 118px;
  border-radius: 14px;
  background: var(--bg-dark-anchor);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.cart-line-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.cart-line-name { font-weight: 700; font-size: 1.02rem; color: var(--text-main); margin-bottom: 6px; line-height: 1.35; }
.cart-line-name a { color: inherit; text-decoration: none; }
.cart-line-name a:hover { color: var(--brand-primary); }
.cart-line-meta { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 14px; }
.cart-line-controls { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cart-line-remove {
  background: none; border: none; color: var(--text-muted); font-size: 0.82rem; cursor: pointer;
  font-family: var(--font-family); padding: 0; display: inline-flex; align-items: center; gap: 5px;
  transition: color 0.2s ease;
}
.cart-line-remove:hover { color: var(--brand-rose); }
.cart-line-remove svg { width: 14px; height: 14px; }
.cart-line-price { font-weight: 800; font-size: 1.1rem; color: var(--text-main); text-align: right; white-space: nowrap; }
.cart-line-old-price { display: block; font-size: 0.8rem; color: var(--text-light); text-decoration: line-through; font-weight: 400; margin-bottom: 2px; }

.order-summary-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 28px;
  position: sticky;
  top: 100px;
  box-shadow: var(--shadow-sm);
}
.order-summary-card h3 { font-size: 1.2rem; margin-bottom: 20px; color: var(--text-main); }
.order-summary-row { display: flex; justify-content: space-between; padding: 10px 0; color: var(--text-body); font-size: 0.94rem; }
.order-summary-row.total { border-top: 1px solid var(--border-color); margin-top: 8px; padding-top: 16px; font-size: 1.15rem; font-weight: 800; color: var(--text-main); }
.order-summary-row .free-tag { color: var(--brand-emerald); font-weight: 600; }
.coupon-row { display: flex; gap: 8px; margin: 18px 0; }
.coupon-row input {
  flex: 1;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  font-family: var(--font-family);
  font-size: 0.88rem;
}
.coupon-row button {
  padding: 11px 18px;
  border-radius: 10px;
  border: none;
  background: var(--bg-subtle);
  color: var(--text-main);
  font-weight: 600;
  cursor: pointer;
  font-size: 0.86rem;
}
.trust-badges-row { display: flex; gap: 18px; justify-content: center; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border-light); flex-wrap: wrap; }
.trust-badges-row span { font-size: 0.76rem; color: var(--text-muted); display: flex; align-items: center; gap: 6px; font-weight: 500; }
.trust-badges-row svg { width: 15px; height: 15px; color: var(--brand-emerald); flex-shrink: 0; }

/* ==========================================================================
   CHECKOUT PAGE
   All checkout layout and payment-method styling lives in styles.css under
   the CHECKOUT PAGE section. It used to be duplicated here; because this
   file loads after styles.css it silently overrode the newer rules.
   ========================================================================== */

.checkout-success-panel {
  text-align: center;
  padding: 70px 24px;
  background: var(--bg-surface);
  border-radius: 20px;
  border: 1px solid var(--border-color);
}
.checkout-success-icon {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--brand-emerald-light);
  color: var(--brand-emerald);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
  font-size: 2.4rem;
}

/* ==========================================================================
   WISHLIST PAGE
   ========================================================================== */
.wishlist-header-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; flex-wrap: wrap; gap: 12px; }

/* ==========================================================================
   LOGIN / REGISTER
   ========================================================================== */
.auth-page-section {
  min-height: calc(100vh - 250px);
  display: flex;
  align-items: center;
  padding: 56px 0;
  background: var(--bg-page);
}
.auth-split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 980px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--bg-surface);
}
.auth-visual-panel {
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.72) 100%),
    url('../images/auth_surgical_premium.jpg') center 30% / cover no-repeat;
  padding: 48px 40px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.auth-visual-panel > * { position: relative; z-index: 1; }
.auth-visual-panel h2 { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
.auth-visual-panel p { color: rgba(255,255,255,0.75); margin-bottom: 24px; line-height: 1.7; }
.auth-visual-features { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.auth-visual-features li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: rgba(255,255,255,0.9); }

.auth-form-panel { padding: 48px 40px; }
.auth-form-panel h2 { font-size: 1.5rem; color: var(--text-main); margin-bottom: 6px; }
.auth-form-panel .auth-sub { color: var(--text-muted); margin-bottom: 28px; font-size: 0.92rem; }
.auth-form-panel .form-group { margin-bottom: 18px; }
.auth-switch-link { text-align: center; margin-top: 20px; font-size: 0.9rem; color: var(--text-muted); }
.auth-switch-link a { color: var(--brand-primary); font-weight: 600; text-decoration: none; }
.auth-account-card { text-align: center; padding: 40px; }
.auth-account-avatar {
  width: 76px; height: 76px; border-radius: 50%;
  background: var(--brand-primary-light); color: var(--brand-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; font-weight: 800; margin: 0 auto 18px;
}

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 80px;
}
.about-story-text p { color: var(--text-body); line-height: 1.8; margin-top: 16px; }
.about-story-image { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); height: 420px; }
.about-story-image img { width: 100%; height: 100%; object-fit: cover; }

.about-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 80px;
}
.about-stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.3s ease;
}
.about-stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
  border-color: var(--brand-primary-border);
}
.about-stat-card strong { display: block; font-size: 2rem; font-weight: 800; color: var(--brand-primary); letter-spacing: -0.02em; }
.about-stat-card span { color: var(--text-muted); font-size: 0.88rem; }

.about-gallery-section { margin-bottom: 80px; }
.about-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 32px; }
.about-gallery-grid figure { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md); position: relative; margin: 0; height: 260px; }
.about-gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.about-gallery-grid figure:hover img { transform: scale(1.06); }
.about-gallery-grid figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 18px;
  background: linear-gradient(0deg, rgba(15,23,42,0.85), transparent);
  color: #fff; font-weight: 600; font-size: 0.9rem;
}

.about-cert-section { margin-bottom: 64px; }
.about-cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 32px; }
.about-cert-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--brand-primary);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}
.about-cert-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.12);
}
.about-cert-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--brand-primary-light);
  color: var(--brand-primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, color 0.3s ease;
}
.about-cert-icon svg { width: 22px; height: 22px; }
.about-cert-card:hover .about-cert-icon {
  transform: scale(1.12) rotate(-6deg);
  background: var(--brand-primary);
  color: #fff;
}
.about-cert-card h4 { font-size: 1.02rem; color: var(--text-main); margin-bottom: 8px; }
.about-cert-card p { font-size: 0.86rem; color: var(--text-muted); line-height: 1.6; }

.about-cta-banner, .sets-intro-row + .about-cta-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: var(--bg-dark-anchor);
  border-radius: 20px;
  padding: 40px 44px;
  color: #fff;
}
.about-cta-banner h3 { font-size: 1.4rem; margin-bottom: 6px; }
.about-cta-banner p { color: rgba(255,255,255,0.7); }
.about-cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

/* ==========================================================================
   ABOUT US: 3 CORE PILLARS
   ========================================================================== */
.about-pillars-section {
  margin: 54px 0 60px;
}
.about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.about-pillar-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
  padding: 34px 28px;
  position: relative;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}
.about-pillar-card:hover {
  transform: translateY(-5px);
  border-color: #0284C7;
  box-shadow: 0 16px 36px rgba(2, 132, 199, 0.12);
}
.pillar-number {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: 'Cinzel', serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #E2E8F0;
  line-height: 1;
  pointer-events: none;
}
.pillar-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #F0F9FF;
  border: 1.5px solid #BAE6FD;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.about-pillar-card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 12px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.about-pillar-card p {
  font-size: 0.90rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}
.pillar-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid #F1F5F9;
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pillar-list li {
  font-size: 0.84rem;
  font-weight: 600;
  color: #1E293B;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pillar-list li::before {
  content: '✓';
  color: #0284C7;
  font-weight: 800;
}
@media (max-width: 991px) {
  .about-pillars-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact-info-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 48px; }
.contact-info-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 28px 22px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.contact-info-card:hover {
  transform: translateY(-4px);
  border-color: #0284C7;
  box-shadow: 0 12px 28px rgba(2, 132, 199, 0.12);
}
.contact-info-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: #F0F9FF;
  border: 1.5px solid #BAE6FD;
  color: #0284C7;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.contact-info-icon svg { width: 24px; height: 24px; }
.contact-info-card h4 { font-size: 1.05rem; font-weight: 700; color: #0F172A; margin-bottom: 8px; letter-spacing: -0.01em; }
.contact-info-card p { font-size: 0.92rem; font-weight: 600; color: #334155; line-height: 1.5; }

.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: stretch; }
.contact-map-card { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); min-height: 400px; }
.contact-map-card iframe { display: block; }

/* Site-wide promotion pill, shown beside the struck-through former price.
   Driven by product.discountPct - see GLOBAL_DISCOUNT_PCT in products-data.js. */
.prod-save-tag {
  display: inline-flex;
  align-items: center;
  background: #DC2626;
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  padding: 4px 7px;
  border-radius: 5px;
  white-space: nowrap;
  text-transform: uppercase;
}

/* Honeypot — off-screen rather than display:none, since some bots skip
   hidden inputs. Never focusable, never announced. */
.contact-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.55;
}
.contact-form-status.is-ok {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
}
.contact-form-status.is-err {
  background: #FFF7ED;
  border: 1px solid #FED7AA;
  color: #9A3412;
}

#contactSubmit[disabled] { opacity: 0.65; cursor: wait; }

/* ==========================================================================
   INSTRUMENT SETS PAGE
   ========================================================================== */
.sets-intro-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 56px; }
.sets-intro-card {
  background: var(--brand-primary-light);
  border: 1px solid var(--brand-primary-border);
  border-radius: 16px;
  padding: 26px 24px;
}
.sets-intro-card h4 { color: var(--brand-primary); font-size: 1rem; margin-bottom: 8px; }
.sets-intro-card p { font-size: 0.88rem; color: var(--text-body); line-height: 1.6; }

/* ==========================================================================
   CATALOGUE PAGE
   ========================================================================== */
.catalogue-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 20px 26px;
  margin-bottom: 40px;
}
.catalogue-toolbar p { color: var(--text-muted); font-size: 0.94rem; }
.catalogue-category-block { margin-bottom: 48px; }
.catalogue-category-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.catalogue-category-head h2 { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.01em; color: var(--text-main); }
.catalogue-category-head a { font-size: 0.86rem; color: var(--brand-primary); font-weight: 600; text-decoration: none; }
.catalogue-table {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.catalogue-row {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1.4fr 0.8fr;
  gap: 16px;
  align-items: center;
  padding: 14px 22px;
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
  color: var(--text-body);
  font-size: 0.88rem;
  transition: background 0.15s ease;
}
.catalogue-row:last-child { border-bottom: none; }
.catalogue-row:not(.catalogue-row-head):hover { background: var(--bg-card-hover); }
.catalogue-row-head {
  background: var(--bg-subtle);
  font-weight: 700;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}
.catalogue-row-name { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--text-main); }
.catalogue-row-name img { width: 40px; height: 40px; border-radius: 8px; background: var(--bg-dark-anchor); object-fit: contain; padding: 4px; flex-shrink: 0; }
.catalogue-row-price { font-weight: 700; color: var(--brand-primary); }

/* ---------- final CTA banner, reused on interior pages with authentic warmth ---------- */
.final-cta-section.cta-about {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.46) 0%, rgba(15, 23, 42, 0.36) 50%, rgba(15, 23, 42, 0.50) 100%), url('../images/contact_export_desk_warm.jpg') center 45% / cover no-repeat;
}
.final-cta-section.cta-contact {
  position: relative;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.44) 0%, rgba(15, 23, 42, 0.35) 50%, rgba(15, 23, 42, 0.48) 100%),
    url('../images/contact_export_desk_warm.jpg') center 45% / cover no-repeat;
  padding: 85px 0 80px;
  text-align: center;
  color: #FFFFFF;
}
.final-cta-section.cta-contact .final-cta-title {
  color: #FFFFFF !important;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.8) !important;
}
.final-cta-section.cta-contact .final-cta-desc {
  color: #F1F5F9 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75) !important;
}
.final-cta-section.cta-contact .final-cta-content {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}
.final-cta-section.cta-sets {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.50) 0%, rgba(15, 23, 42, 0.40) 50%, rgba(15, 23, 42, 0.54) 100%), url('../images/mfg_cleaning.jpg') center center / cover no-repeat;
}

/* ==========================================================================
   POLICIES PAGE
   ========================================================================== */
.policies-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: flex-start; }
.policies-nav { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 4px; }
.policies-nav a {
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--text-body);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}
.policies-nav a:hover { background: var(--bg-subtle); }
.policies-nav a.active { background: var(--brand-primary-light); color: var(--brand-primary); font-weight: 700; }
.policy-block {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 36px 40px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 100px;
}
.policy-block h2 { font-size: 1.4rem; font-weight: 800; color: var(--text-main); margin-bottom: 16px; }
.policy-block p { color: var(--text-body); line-height: 1.8; margin-bottom: 14px; }
.policy-block p:last-child { margin-bottom: 0; }

/* ==========================================================================
   PAYMENT / TRUST BADGES (FOOTER)
   ========================================================================== */
.footer-payment-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.footer-payment-badge {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #cbd5e1;
  letter-spacing: 0.02em;
}
.footer-social-row { display: flex; gap: 10px; margin-top: 18px; }
.footer-social-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: #cbd5e1;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.footer-social-btn svg { width: 16px; height: 16px; }

/* Brand colours in the footer too. On the dark ground the glyph carries the
   brand tint at rest and the tile fills with it on hover. The --soc-* values
   come from the shared .soc-* classes in styles.css. */
.footer-social-btn.soc-instagram,
.footer-social-btn.soc-tiktok,
.footer-social-btn.soc-linkedin,
.footer-social-btn.soc-whatsapp { color: #E2E8F0; }

.footer-social-btn.soc-instagram:hover,
.footer-social-btn.soc-instagram:focus-visible {
  background: linear-gradient(45deg, #F9CE34 0%, #EE2A7B 50%, #6228D7 100%);
  border-color: transparent; color: #fff;
}
.footer-social-btn.soc-tiktok:hover,
.footer-social-btn.soc-tiktok:focus-visible {
  background: #010101; border-color: rgba(255,255,255,0.35); color: #fff;
}
.footer-social-btn.soc-linkedin:hover,
.footer-social-btn.soc-linkedin:focus-visible {
  background: #0A66C2; border-color: #0A66C2; color: #fff;
}
.footer-social-btn.soc-whatsapp:hover,
.footer-social-btn.soc-whatsapp:focus-visible {
  background: #25D366; border-color: #25D366; color: #fff;
}

.footer-social-btn:hover { background: var(--brand-primary); color: #fff; border-color: var(--brand-primary); }

/* ---------- social share (product page) ---------- */
.pdp-share-row { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.pdp-share-row span { font-size: 0.82rem; color: var(--text-muted); font-weight: 600; }
.pdp-share-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--bg-subtle);
  color: var(--text-body);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.pdp-share-btn:hover { background: var(--brand-primary); color: #fff; }
.pdp-share-btn svg { width: 15px; height: 15px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .shop-product-grid { grid-template-columns: repeat(2, 1fr); }
  .pdp-grid { grid-template-columns: 1fr; gap: 32px; }
  .cart-page-grid, .checkout-grid { grid-template-columns: 1fr; }
  .order-summary-card, .order-review-card { position: static; }
  .auth-split-layout { grid-template-columns: 1fr; }
  .auth-visual-panel { padding: 30px 24px; min-height: 200px; border-radius: 16px 16px 0 0; }
  .about-story-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-stats-row { grid-template-columns: repeat(2, 1fr); }
  .about-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .about-cert-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-info-row { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .sets-intro-row { grid-template-columns: 1fr; }
  .policies-layout { grid-template-columns: 1fr; }
  .policies-nav { position: static; flex-direction: row; overflow-x: auto; }
  .policy-block { padding: 26px 22px; }
  .catalogue-row { grid-template-columns: 2fr 1fr 1fr; }
  .catalogue-row span:nth-child(3), .catalogue-row-head span:nth-child(3) { display: none; }
}

@media (max-width: 768px) {
  .shop-layout-grid { grid-template-columns: 1fr; }
  .shop-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 86%;
    max-width: 340px;
    z-index: 9999;
    border-radius: 0 !important;
    overflow-y: auto;
    background: #FFFFFF !important;
    box-shadow: -8px 0 32px rgba(15, 23, 42, 0.25);
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 20px 18px !important;
  }
  .shop-sidebar.mobile-open { right: 0; }
  .shop-sidebar-mobile-header { display: flex; }
  .shop-mobile-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #EFF6FF;
    border: 1.5px solid #BFDBFE;
    color: #1D4ED8;
    font-weight: 700;
    padding: 9px 16px;
    border-radius: 8px;
    font-size: 0.88rem;
    cursor: pointer;
  }
  .page-hero-banner {
    padding: 42px 0 36px;
  }
  .page-hero-title {
    font-size: clamp(1.6rem, 5.5vw, 2.2rem) !important;
    line-height: 1.25;
    margin-bottom: 8px;
  }
  .page-hero-sub {
    font-size: 0.92rem !important;
    line-height: 1.6;
  }
  .contact-hero-banner {
    padding: 48px 0 42px;
  }
  .contact-hero-title {
    font-size: clamp(1.7rem, 6vw, 2.3rem) !important;
    line-height: 1.25;
  }
  .contact-hero-sub {
    font-size: 0.94rem !important;
    line-height: 1.6;
  }
  .shop-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .shop-product-grid.list-view .prod-store-card { flex-direction: column !important; }
  .shop-product-grid.list-view .prod-img-stage { width: 100%; aspect-ratio: 1/1; }
  .shop-toolbar-right { width: 100%; justify-content: flex-start; }
  .cart-line-item { grid-template-columns: 84px 1fr; grid-template-areas: "thumb name" "price price"; row-gap: 14px; padding: 20px; }
  .cart-line-thumb { width: 84px; height: 84px; grid-area: thumb; }
  .cart-line-info { grid-area: name; }
  .cart-line-price { grid-area: price; text-align: left; padding-top: 14px; border-top: 1px solid var(--border-light); }
  .about-stats-row, .about-gallery-grid, .about-cert-grid, .contact-info-row { grid-template-columns: 1fr; }
  .about-cta-banner { flex-direction: column; align-items: flex-start; text-align: left; }
  .catalogue-row { grid-template-columns: 2fr 1fr; }
  .catalogue-row span:nth-child(2), .catalogue-row-head span:nth-child(2) { display: none; }
}

@media (max-width: 680px) {
  .shop-product-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) { .shop-toolbar { flex-direction: column; align-items: flex-start; } .shop-toolbar-right { width: 100%; justify-content: space-between; } .shop-sort-select { max-width: 140px; } }
