/* ==========================================
   Design Tokens & Variables
   ========================================== */
:root {
  --font-display: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* HSL Colors for Premium Gradients & Contrasy */
  --color-ink: #0f2421;
  --color-ink-light: #18332f;
  --color-pine: #2e524c;
  --color-pine-light: #446e66;
  --color-coral: #e88d72;
  --color-coral-hover: #db765b;
  --color-mist: #eef4f1;
  --color-paper: #fcfbf9;
  --color-beige: #e5dfd5;
  --color-line: #dbe4e1;

  --shadow-premium: 0 10px 40px -10px rgba(15, 36, 33, 0.06), 0 20px 50px -20px rgba(15, 36, 33, 0.1);
  --shadow-float: 0 30px 60px -15px rgba(15, 36, 33, 0.15), 0 15px 30px -10px rgba(15, 36, 33, 0.1);
  --shadow-glass: 0 8px 32px 0 rgba(15, 36, 33, 0.08);
}

/* ==========================================
   Global Resets & Typography Overrides
   ========================================== */
body {
  font-family: var(--font-body);
  color: var(--color-ink-light);
  background-color: var(--color-paper);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
}

/* ==========================================
   SPA Routing Transitions
   ========================================== */
.view-section {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.view-section.active {
  display: block;
  opacity: 1;
  animation: pgRouteIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.view-section.pg-route-out {
  animation: pgRouteOut 0.2s cubic-bezier(0.7, 0, 0.84, 0) both;
}

.view-section.pg-route-in {
  animation: pgRouteIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes pgRouteOut {
  to {
    opacity: 0;
    transform: translateY(12px) scale(0.99);
    filter: blur(4px);
  }
}

@keyframes pgRouteIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(1.01);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* ==========================================
   Frosted Glass & Premium Elements
   ========================================== */
.glass-header {
  background-color: rgba(252, 251, 249, 0.75) !important;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(15, 36, 33, 0.06);
  box-shadow: var(--shadow-glass);
}

.glass-modal {
  background-color: rgba(252, 251, 249, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-float);
}

.glass-card {
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(15, 36, 33, 0.05);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-6px);
  box-shadow: var(--shadow-premium);
  border-color: var(--color-coral);
}

/* Pill Buttons Styles */
.pill-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: var(--color-coral);
  color: white;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.85rem 2rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 20px -6px rgba(232, 141, 114, 0.4);
  cursor: pointer;
  border: none;
}

.pill-btn-primary:hover {
  background-color: var(--color-coral-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -4px rgba(232, 141, 114, 0.6);
}

.pill-btn-primary:active {
  transform: translateY(0);
}

.pill-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 2px solid rgba(15, 36, 33, 0.15);
  background-color: transparent;
  color: var(--color-ink);
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.85rem 2rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.pill-btn-outline:hover {
  border-color: var(--color-ink);
  background-color: var(--color-ink);
  color: white;
  transform: translateY(-2px);
}

/* ==========================================
   Interactive Hero Slider Zoom & Parallax
   ========================================== */
@keyframes kenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.06); }
}

@keyframes fadeUpReveal {
  from {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.carousel-item {
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: absolute;
  inset: 0;
  z-index: 0;
}

.carousel-item.active {
  opacity: 1;
  z-index: 10;
}

.carousel-item.active .hero-bg {
  animation: kenBurns 12s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

.carousel-item.active .hero-text-1 {
  animation: fadeUpReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}
.carousel-item.active .hero-text-2 {
  animation: fadeUpReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}
.carousel-item.active .hero-text-3 {
  animation: fadeUpReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

.perspective-container {
  perspective: 1000px;
}

.parallax-content {
  transition: transform 0.12s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-style: preserve-3d;
}

/* ==========================================
   Product Comparative Rail
   ========================================== */
.pg-home-rail-shell {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
}

.pg-home-rail-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 4px 20px;
}

.pg-home-rail-hint {
  margin: 0;
  color: var(--color-pine);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.pg-home-product-controls {
  display: flex;
  gap: 12px;
}

.pg-home-rail-control {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--color-line);
  border-radius: 9999px;
  background: white;
  color: var(--color-ink);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(15, 36, 33, 0.04);
}

.pg-home-rail-control:hover {
  border-color: var(--color-pine);
  background-color: var(--color-pine);
  color: white;
  transform: scale(1.05);
}

#home-best-sellers.pg-home-product-rail {
  display: flex !important;
  gap: 24px !important;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 10px 4px 24px !important;
  margin: 0 -4px;
  cursor: grab;
  touch-action: pan-y;
  scrollbar-width: thin;
}

#home-best-sellers.pg-home-product-rail.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

#home-best-sellers.pg-home-product-rail::-webkit-scrollbar {
  height: 6px;
}

#home-best-sellers.pg-home-product-rail::-webkit-scrollbar-track {
  background: var(--color-mist);
  border-radius: 9999px;
}

#home-best-sellers.pg-home-product-rail::-webkit-scrollbar-thumb {
  background: var(--color-line);
  border-radius: 9999px;
}

#home-best-sellers.pg-home-product-rail > div {
  flex: 0 0 min(310px, calc((100% - 48px) / 3));
  min-width: 0;
  scroll-snap-align: start;
}

/* ==========================================
   Catalog Product Cards
   ========================================== */
.pg-catalog-card {
  background: white;
  border: 1px solid var(--color-line);
  border-radius: 16px;
  overflow: hidden;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(15, 36, 33, 0.03);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pg-catalog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
  border-color: var(--color-coral);
}

.pg-catalog-media {
  background-color: var(--color-mist);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 20px;
}

.pg-catalog-media img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.pg-catalog-card:hover .pg-catalog-media img {
  transform: scale(1.08);
}

.pg-card-kicker {
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-coral);
  margin-bottom: 8px;
}

.pg-catalog-card h3 a {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--color-ink);
  text-decoration: none;
  line-height: 1.25;
  transition: color 0.3s;
}

.pg-catalog-card:hover h3 a {
  color: var(--color-coral);
}

/* ==========================================
   Product Detail Gallery, Thumbs, Zoom
   ========================================== */
.pg-product-gallery {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 20px;
  position: sticky;
  top: 120px;
}

.pg-gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pg-gallery-thumb {
  width: 86px;
  height: 86px;
  border-radius: 12px;
  border: 1px solid var(--color-line);
  background: white;
  cursor: pointer;
  overflow: hidden;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 10px rgba(15, 36, 33, 0.02);
}

.pg-gallery-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.pg-gallery-thumb.is-active,
.pg-gallery-thumb:hover {
  border-color: var(--color-coral);
  box-shadow: 0 8px 20px rgba(232, 141, 114, 0.15);
  transform: translateY(-2px);
}

.pg-main-media {
  background-color: var(--color-mist);
  border-radius: 24px;
  border: 1px solid var(--color-line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: zoom-in;
}

.pg-main-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.pg-zoom-lens {
  position: absolute;
  border: 2px solid white;
  background-color: rgba(232, 141, 114, 0.12);
  width: 160px;
  height: 160px;
  border-radius: 9999px;
  box-shadow: 0 10px 30px rgba(15, 36, 33, 0.15);
  pointer-events: none;
  transform: translate(-50%, -50%);
  display: none;
}

.pg-zoom-pane {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 240px;
  height: 240px;
  border-radius: 20px;
  border: 1px solid white;
  background-repeat: no-repeat;
  background-size: 250% 250%;
  box-shadow: var(--shadow-float);
  display: none;
  z-index: 30;
  pointer-events: none;
  background-color: var(--color-mist);
}

.pg-product-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  border-top: 1px solid var(--color-line);
  padding-top: 24px;
  margin-top: 28px;
  color: var(--color-pine);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.pg-product-trust-row span {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================
   Product Detail Premium Tabs
   ========================================== */
.pg-product-premium-details {
  margin-top: 60px;
  border-radius: 24px;
  border: 1px solid var(--color-line);
  background: white;
  box-shadow: var(--shadow-premium);
  overflow: hidden;
}

.pg-premium-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--color-mist);
  border-bottom: 1px solid var(--color-line);
}

.pg-premium-tab {
  padding: 24px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--color-ink-light);
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.3s;
}

.pg-premium-tab span {
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  background: white;
  color: var(--color-pine);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 4px 10px rgba(15, 36, 33, 0.03);
}

.pg-premium-tab.is-active {
  background: white;
  color: var(--color-coral);
  box-shadow: inset 0 -3px 0 var(--color-coral);
}

.pg-premium-tab.is-active span {
  background-color: var(--color-pine);
  color: white;
}

.pg-premium-panel {
  display: none;
}

.pg-premium-panel.is-active {
  display: block;
}

.pg-premium-panel-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  padding: 60px;
  align-items: start;
}

.pg-panel-title h2 {
  font-size: 40px;
  font-weight: 900;
  line-height: 1.1;
  color: var(--color-ink);
  margin-bottom: 20px;
}

.pg-panel-title p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-pine);
}

/* How to Use list styling */
.pg-use-list {
  display: grid;
  gap: 16px;
}

.pg-use-list li {
  list-style: none;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 20px;
  align-items: center;
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: 16px;
  padding: 16px 20px;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
}

.pg-use-list li::before {
  counter-increment: steps;
  content: counter(steps);
  width: 46px;
  height: 46px;
  border-radius: 9999px;
  background-color: var(--color-pine);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
}

/* Important Notes Panel */
.pg-note-shell {
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 24px;
}

.pg-note-body {
  font-size: 17px;
  line-height: 1.75;
  color: var(--color-ink-light);
  margin: 0;
}

.pg-note-support {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.pg-note-support span {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 48px;
  background: white;
  border: 1px solid var(--color-line);
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-pine);
}

/* Customer Reviews Panel */
.pg-rating-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.pg-stars {
  color: #fbbf24;
  font-size: 24px;
  letter-spacing: 0.08em;
}

.pg-rating-summary strong {
  font-size: 28px;
  font-weight: 900;
  color: var(--color-ink);
}

.pg-rating-summary span {
  font-size: 14px;
  color: var(--color-pine);
  font-weight: 600;
}

/* ==========================================
   Multi-step Onboarding Brushing Wizard
   ========================================== */
.wizard-progress-track {
  width: 100%;
  height: 8px;
  background-color: var(--color-mist);
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 40px;
  position: relative;
}

.wizard-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--color-pine) 0%, var(--color-coral) 100%);
  width: 33.33%;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 9999px;
}

.wizard-step {
  display: none;
}

.wizard-step.active {
  display: block;
  animation: stepReveal 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes stepReveal {
  from {
    opacity: 0;
    transform: translateX(30px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 30px;
}

.choice-card {
  border: 2px solid var(--color-line);
  border-radius: 20px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: white;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.choice-card:hover {
  border-color: var(--color-pine);
  transform: translateY(-4px);
  box-shadow: var(--shadow-premium);
}

.choice-card.selected {
  border-color: var(--color-coral);
  background-color: rgba(232, 141, 114, 0.04);
  box-shadow: 0 10px 25px rgba(232, 141, 114, 0.08);
}

.choice-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--color-mist);
  color: var(--color-pine);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  transition: all 0.3s;
}

.choice-card.selected .choice-card-icon {
  background-color: var(--color-coral);
  color: white;
}

/* Smartphone Mockup Panel */
.phone-mockup {
  width: 320px;
  height: 520px;
  border: 12px solid #2d3748;
  border-radius: 40px;
  background: #f7fafc;
  box-shadow: var(--shadow-float);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 22px;
  background: #2d3748;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  z-index: 40;
}

.phone-screen {
  flex: 1 1 auto;
  padding: 36px 16px 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.phone-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: #718096;
  letter-spacing: 0.05em;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 8px;
  margin-bottom: 4px;
}

.email-card {
  background: white;
  border-radius: 16px;
  border: 1px solid #edf2f7;
  padding: 18px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.email-header {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #f7fafc;
  padding-bottom: 8px;
}

.email-avatar {
  width: 30px;
  height: 30px;
  border-radius: 9999px;
  background: var(--color-pine);
  color: white;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
}

.email-info {
  display: flex;
  flex-direction: column;
}

.email-sender {
  font-size: 11px;
  font-weight: 800;
  color: var(--color-ink);
}

.email-subject {
  font-size: 10px;
  font-weight: 600;
  color: #718096;
}

.email-body {
  font-size: 12px;
  line-height: 1.5;
  color: #4a5568;
}

.email-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  border-radius: 9999px;
  background-color: var(--color-coral);
  color: white;
  font-weight: 700;
  font-size: 11px;
  text-decoration: none;
  margin-top: 6px;
}

/* ==========================================
   Micro-animations
   ========================================== */
@keyframes bounceBadge {
  0%, 100% { transform: scale(1) translate(30%, -30%); }
  50% { transform: scale(1.3) translate(30%, -30%); }
}

.bounce-badge {
  animation: bounceBadge 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

/* Cart Drawer and overlay overrides */
.overlay {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.overlay.active {
  opacity: 1;
  pointer-events: auto;
}

#cart-drawer {
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

#cart-drawer.open {
  transform: translateX(0);
}

/* Lightboxes */
.pg-gallery-lightbox,
.pg-video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 36, 33, 0.9);
  backdrop-filter: blur(15px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.pg-gallery-lightbox.is-open,
.pg-video-lightbox.is-open {
  display: flex;
}

.pg-lightbox-frame {
  position: relative;
  max-width: 900px;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pg-lightbox-frame img,
.pg-lightbox-frame video {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: var(--shadow-float);
}

.pg-lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  font-size: 36px;
  color: white;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: transform 0.2s;
}

.pg-lightbox-close:hover {
  transform: scale(1.1);
}

.pg-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 24px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.3s;
}

.pg-lightbox-nav:hover {
  background: white;
  color: var(--color-ink);
}

.pg-lightbox-prev { left: -70px; }
.pg-lightbox-next { right: -70px; }

.pg-lightbox-count {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  font-size: 14px;
}

@media(max-width: 1024px) {
  .pg-lightbox-prev { left: 10px; }
  .pg-lightbox-next { right: 10px; }
  .pg-product-gallery {
    grid-template-columns: 1fr;
  }
  .pg-gallery-thumbs {
    order: 2;
    flex-direction: row;
    overflow-x: auto;
  }
  .pg-premium-panel-inner {
    grid-template-columns: 1fr;
    padding: 30px;
    gap: 30px;
  }
}

/* ==========================================
   Blog Editorial Layout
   ========================================== */
.pg-article-card {
  background: white;
  border: 1px solid var(--color-line);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(15, 36, 33, 0.03);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pg-article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-premium);
  border-color: var(--color-coral);
}

.pg-article-card img {
  border-radius: 12px;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.pg-article-card:hover img {
  transform: scale(1.03);
}

.pg-article-card h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 850;
  color: var(--color-ink);
  margin-top: 16px;
  margin-bottom: 10px;
  line-height: 1.3;
}

.pg-article-card p {
  color: var(--color-pine);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
}

.pg-text-link {
  color: var(--color-coral);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s;
}

.pg-article-card:hover .pg-text-link {
  color: var(--color-coral-hover);
  transform: translateX(4px);
}

/* ==========================================
   Editorial Prose Typography
   ========================================== */
.prose {
  max-width: 72ch;
  color: var(--color-ink-light);
  line-height: 1.85;
  font-size: 17px;
}

.prose p {
  margin-bottom: 24px;
}

.prose h1, .prose h2, .prose h3, .prose h4 {
  font-family: var(--font-display);
  color: var(--color-ink);
  font-weight: 850;
  margin-top: 40px;
  margin-bottom: 18px;
  line-height: 1.2;
}

.prose h1 {
  font-size: clamp(32px, 4vw, 48px);
}

.prose h2 {
  font-size: 28px;
  border-bottom: 1px solid var(--color-line);
  padding-bottom: 8px;
}

.prose h3 {
  font-size: 22px;
}

.prose ul, .prose ol {
  margin-left: 24px;
  margin-bottom: 28px;
  list-style-position: outside;
}

.prose ul {
  list-style-type: disc;
}

.prose ol {
  list-style-type: decimal;
}

.prose li {
  margin-bottom: 8px;
  padding-left: 4px;
}

.prose a {
  color: var(--color-coral);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.prose a:hover {
  color: var(--color-coral-hover);
}

/* FAQ Details transitions */
details.group[open] {
  border-color: var(--color-coral);
  box-shadow: 0 8px 24px rgba(15, 36, 33, 0.04);
}

.pg-card-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 800;
  color: var(--color-coral);
  margin-bottom: 8px;
}

/* ==========================================================================
   2026 Maturity Redesign & Visual Polish Overrides (Matching Original Site)
   ========================================================================== */

/* Quiet commerce surfaces, stronger hierarchy, and compact controls */
body {
  background: #f4f7f6 !important;
  color: #1d2927 !important;
}

.pill-btn-primary, .pill-btn-outline, .pg-review-submit, #view-shop .filter-btn, .filter-btn {
  border-radius: 8px !important;
  min-height: 48px;
}

.pg-content-card, .pg-catalog-card, .pg-article-card, .pg-support-primary, .pg-story-copy, .pg-safety-lead, .pg-faq-layout aside {
  border-radius: 8px !important;
}

.pg-content-card, .pg-catalog-card, .pg-article-card {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease !important;
}

.pg-content-card:hover, .pg-catalog-card:hover, .pg-article-card:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(56, 96, 88, .3) !important;
  box-shadow: 0 18px 42px rgba(24, 52, 47, .1) !important;
}

/* Catalog specific fixes */
.pg-catalog-media {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(145deg, #f2f7f5, #e8f0ed) !important;
  padding: 18px !important;
  border-radius: 8px 8px 0 0 !important;
  min-height: 300px;
  overflow: hidden;
}

.pg-catalog-media img {
  width: 100% !important;
  height: 100% !important;
  max-height: 300px !important;
  object-fit: contain !important;
  mix-blend-mode: multiply !important;
  transition: transform .6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.pg-catalog-card:hover .pg-catalog-media img {
  transform: scale(1.08) !important;
}

.pg-catalog-card > div {
  display: flex !important;
  flex-direction: column !important;
  padding: 22px !important;
  gap: 12px !important;
}

.pg-catalog-card h3 {
  margin: 0 !important;
  color: #173b35 !important;
  font-size: 21px !important;
  line-height: 1.28 !important;
}

.pg-catalog-card h3 a {
  color: inherit !important;
  text-decoration: none !important;
}

.pg-catalog-card p {
  margin: 0 !important;
  color: #5c6d68 !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
}

.pg-catalog-card > div > div:last-child {
  margin-top: auto !important;
  padding-top: 6px !important;
}

.pg-catalog-card .pill-btn-primary {
  min-height: 42px !important;
  padding: 0 15px !important;
  font-size: 13px !important;
  white-space: nowrap !important;
}

/* Nav Link Hover Polish */
.pg-nav-complete .nav-link {
  position: relative;
  white-space: nowrap;
  font-size: clamp(13px, 1vw, 16px);
  padding: .5rem 0;
}

.pg-nav-complete .nav-link:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: .12rem;
  height: 2px;
  border-radius: 999px;
  background: #e88d72;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .28s ease;
}

.pg-nav-complete .nav-link:hover:after,
.pg-nav-complete .nav-link.is-active:after {
  transform: scaleX(1);
}

.pg-nav-complete .nav-link.is-active {
  color: #e88d72 !important;
}

.header-transparent .pg-nav-complete .nav-link.is-active {
  color: #fdfbf7 !important;
}

.header-transparent .pg-nav-complete .nav-link.is-active:after {
  background: #fdfbf7;
}

/* Navigation items dynamically injected (e.g. Free Brushing Plan calendar-heart link) */
.pg-bp-nav-link {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  padding: 0 0 7px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: inherit !important;
  box-shadow: none !important;
  white-space: nowrap;
  position: relative;
}

.pg-bp-nav-link:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(232, 141, 114, .95), rgba(246, 213, 201, .65));
  transform: scaleX(.55);
  transform-origin: center;
  opacity: .72;
  transition: transform .22s ease, opacity .22s ease;
}

.pg-bp-nav-link:hover {
  color: #f6d5c9 !important;
}

.pg-bp-nav-link:hover:after {
  transform: scaleX(1);
  opacity: 1;
}

.pg-bp-nav-link svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.35;
}

.pg-bp-mobile-nav-link {
  display: flex !important;
  align-items: center;
  gap: 11px;
  margin-top: 10px;
  padding: 13px 15px;
  border: 1px solid rgba(56, 96, 88, .14);
  border-radius: 16px;
  background: linear-gradient(135deg, #fdfbf7, #f7eee8);
  color: #12342f !important;
  font-weight: 900;
  text-decoration: none;
}

.pg-bp-mobile-nav-link svg {
  width: 18px;
  height: 18px;
  color: #386058;
}

/* Hero elements matching */
#hero-container {
  height: min(820px, 82vh) !important;
  min-height: 720px !important;
}

@media(max-width: 1023px) {
  #hero-container {
    height: calc(100vh - 56px) !important;
    min-height: 650px !important;
  }
}

.carousel-item .parallax-content {
  max-width: 980px !important;
  padding-inline: 24px;
}

.carousel-item h1.hero-text-1 {
  max-width: 980px;
  font-size: clamp(52px, 5.2vw, 76px) !important;
  line-height: 1.02 !important;
  text-wrap: balance;
}

.carousel-item .hero-text-2 {
  max-width: 680px;
  margin-inline: auto;
  font-size: clamp(17px, 1.5vw, 20px) !important;
  line-height: 1.55 !important;
  text-wrap: pretty;
}

.carousel-item .hero-text-3 {
  gap: 12px !important;
}

.carousel-item .hero-text-3 .pill-btn-primary,
.carousel-item .hero-text-3 .pill-btn-outline {
  min-width: 198px;
  justify-content: center;
}

/* Brushing Plan Hero Card styling */
.pg-bp-hero-card {
  margin: clamp(16px, 1.8vw, 24px) auto 0;
  width: min(640px, calc(100vw - 48px));
  padding: 8px;
  border: 1px solid rgba(253, 251, 247, .3);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(253, 251, 247, .16), rgba(18, 52, 47, .42));
  color: #fff;
  box-shadow: 0 18px 46px rgba(0, 0, 0, .18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translateZ(28px);
}

.pg-bp-hero-ribbon-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  color: #fff !important;
  text-decoration: none !important;
}

.pg-bp-hero-dot {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(253, 251, 247, .14);
  border: 1px solid rgba(253, 251, 247, .26);
  color: #fdfbf7;
  flex: 0 0 auto;
}

.pg-bp-hero-dot svg {
  width: 21px;
  height: 21px;
}

.pg-bp-hero-copy {
  min-width: 0;
  text-align: left;
}

.pg-bp-hero-eyebrow {
  display: block;
  margin-bottom: 2px;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #f6d5c9;
  font-weight: 950;
  line-height: 1.15;
}

.pg-bp-hero-copy strong {
  display: block;
  color: #fff;
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: 0;
}

.pg-bp-hero-copy small {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
  line-height: 1.25;
}

.pg-bp-hero-learn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  background: #e88d72;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
}

.pg-bp-hero-card:hover {
  border-color: rgba(246, 213, 201, .6);
  background: linear-gradient(90deg, rgba(253, 251, 247, .2), rgba(18, 52, 47, .5));
}

.pg-bp-hero-card:hover .pg-bp-hero-learn {
  background: #f19a80;
}

@media(max-width: 980px) {
  .pg-bp-hero-card {
    width: calc(100% - 32px);
    max-width: 560px;
    margin-top: 16px;
    padding: 10px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(18, 52, 47, .86), rgba(56, 96, 88, .7));
  }
  .pg-bp-hero-ribbon-link {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 9px;
  }
  .pg-bp-hero-dot { width: 38px; height: 38px; }
  .pg-bp-hero-learn { min-height: 34px; font-size: 11.5px; }
  .pg-bp-hero-eyebrow { font-size: 9px; }
  .pg-bp-hero-copy strong { font-size: 15.5px; }
  .pg-bp-hero-copy small { font-size: 11.5px; }
}

@media(max-width: 640px) {
  .pg-bp-hero-card {
    width: auto !important;
    max-width: calc(100vw - 40px) !important;
    margin-top: 13px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
  }
  .pg-bp-hero-ribbon-link {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 40px;
    padding: 0 14px !important;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 999px;
    background: rgba(18, 52, 47, .78);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .16);
  }
  .pg-bp-hero-dot, .pg-bp-hero-eyebrow, .pg-bp-hero-copy small, .pg-bp-hero-learn {
    display: none !important;
  }
  .pg-bp-hero-copy strong {
    font-size: 12px !important;
    line-height: 1 !important;
    letter-spacing: .01em;
  }
}

/* Products Slider (Best Sellers) - Horizontal Rail Scroll */
.pg-home-rail-shell {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
}

.pg-home-rail-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 4px 16px;
}

.pg-home-rail-hint {
  margin: 0;
  color: #60706b;
  font-size: 14px;
  font-weight: 750;
}

.pg-home-product-controls {
  display: flex;
  gap: 8px;
}

.pg-home-rail-control {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #c6d8d2;
  border-radius: 8px;
  background: #fff;
  color: #173b35;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.pg-home-rail-control:hover {
  border-color: #386058;
  background: #386058;
  color: #fff;
}

.pg-home-rail-control svg {
  width: 20px;
  height: 20px;
}

#home-best-sellers.pg-home-product-rail {
  display: flex !important;
  gap: 18px !important;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 4px 20px !important;
  margin: 0 -4px;
  cursor: grab;
  touch-action: pan-y;
  scrollbar-color: #94afa7 #e8f0ed;
  scrollbar-width: thin;
}

#home-best-sellers.pg-home-product-rail.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

#home-best-sellers.pg-home-product-rail::-webkit-scrollbar {
  height: 8px;
}

#home-best-sellers.pg-home-product-rail::-webkit-scrollbar-track {
  background: #e8f0ed;
  border-radius: 999px;
}

#home-best-sellers.pg-home-product-rail::-webkit-scrollbar-thumb {
  background: #94afa7;
  border-radius: 999px;
}

#home-best-sellers.pg-home-product-rail > article,
#home-best-sellers.pg-home-product-rail > div {
  flex: 0 0 min(328px, calc((100% - 36px) / 3));
  min-width: 0;
  scroll-snap-align: start;
  border-radius: 8px !important;
  border-color: #dce7e3 !important;
  box-shadow: 0 12px 30px rgba(23, 59, 53, .07) !important;
  background: #fff;
  border: 1px solid #dce7e3;
}

#home-best-sellers.pg-home-product-rail > article:hover,
#home-best-sellers.pg-home-product-rail > div:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 42px rgba(23, 59, 53, .13) !important;
}

#home-best-sellers.pg-home-product-rail > article > div:first-child,
#home-best-sellers.pg-home-product-rail > div > div:first-child {
  height: 250px !important;
  background: #eef4f1 !important;
}

#home-best-sellers.pg-home-product-rail > article > div:first-child img,
#home-best-sellers.pg-home-product-rail > div > div:first-child img {
  padding: 18px;
  object-fit: contain !important;
}

#home-best-sellers.pg-home-product-rail > article > div:last-child,
#home-best-sellers.pg-home-product-rail > div > div:last-child {
  padding: 24px !important;
}

#home-best-sellers .pg-home-product-media {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

#home-best-sellers .pg-home-product-media > div {
  height: 100%;
}

#home-best-sellers .pg-home-product-title {
  color: #173b35;
  text-decoration: none;
}

#home-best-sellers .pg-home-product-title:hover {
  color: #386058;
}

.pg-home-product-footer {
  display: grid !important;
  grid-template-columns: 1fr auto auto !important;
  align-items: center !important;
  gap: 10px !important;
}

.pg-home-product-link {
  color: #386058;
  font-size: 13px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
  white-space: nowrap;
}

.pg-home-product-footer button {
  min-height: 42px !important;
  padding: 0 13px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
}

@media(max-width: 760px) {
  #home-best-sellers.pg-home-product-rail {
    gap: 14px !important;
    padding-bottom: 16px !important;
  }
  #home-best-sellers.pg-home-product-rail > article,
  #home-best-sellers.pg-home-product-rail > div {
    flex-basis: calc(100% - 42px);
  }
  #home-best-sellers.pg-home-product-rail > article > div:first-child,
  #home-best-sellers.pg-home-product-rail > div > div:first-child {
    height: 224px !important;
  }
  #home-best-sellers.pg-home-product-rail > article > div:last-child,
  #home-best-sellers.pg-home-product-rail > div > div:last-child {
    padding: 21px !important;
  }
  .pg-home-product-footer {
    grid-template-columns: 1fr auto !important;
  }
  .pg-home-product-link {
    grid-column: 1 / -1;
    order: 3;
  }
  .pg-home-product-footer button {
    min-width: 108px;
  }
}

/* Free Brushing Plan In-Page Section */
.pg-bp-home-plan {
  margin: 0;
  background: #fdfbf7;
  color: #163a34;
  padding: clamp(68px, 9vw, 110px) 20px;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 120px;
}

.pg-bp-home-plan:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(56, 96, 88, .08), transparent 35%, rgba(232, 141, 114, .09));
  pointer-events: none;
}

.pg-bp-home-inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.pg-bp-home-plan h2 {
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1;
  margin: 0 0 18px;
  font-weight: 950;
  color: #12342f;
}

.pg-bp-home-plan p {
  font-size: 18px;
  line-height: 1.7;
  color: #60706b;
}

.pg-bp-home-steps {
  display: grid;
  gap: 14px;
}

.pg-bp-home-step {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  align-items: start;
  background: #fff;
  border: 1px solid #eadfd1;
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 14px 34px rgba(56, 96, 88, .07);
}

.pg-bp-home-step b {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: #386058;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.pg-bp-home-step h3 {
  margin: 0 0 5px;
  font-size: 18px;
  color: #12342f;
  font-weight: 950;
}

.pg-bp-home-plan .pg-bp-home-intro-link {
  display: inline-flex;
  margin-top: 16px;
  border-radius: 999px;
  background: #386058;
  color: #fff;
  text-decoration: none;
  font-weight: 950;
  padding: 14px 20px;
}

@media(max-width: 760px) {
  .pg-bp-home-inner {
    grid-template-columns: 1fr;
  }
  .pg-bp-home-plan {
    text-align: left;
  }
}

/* Product Detail Premium Tabs */
.pg-product-premium-details {
  margin-top: clamp(28px, 4vw, 54px);
  border-top: 1px solid #eadfd1;
  border-bottom: 1px solid #eadfd1;
  background: linear-gradient(180deg, rgba(253, 251, 247, .86), rgba(255, 255, 255, .98));
  box-shadow: 0 26px 70px rgba(56, 96, 88, .08);
  position: relative;
  overflow: hidden;
}

.pg-product-premium-details:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(56, 96, 88, .06), transparent 28%, transparent 72%, rgba(232, 141, 114, .07));
  pointer-events: none;
}

.pg-premium-tabs {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid #eadfd1;
  background: rgba(253, 251, 247, .92);
  backdrop-filter: blur(12px);
}

.pg-premium-tab {
  min-height: 72px;
  border: 0;
  border-right: 1px solid #eadfd1;
  background: transparent;
  color: #253b37;
  font-weight: 950;
  font-size: 16px;
  letter-spacing: .01em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: background .22s ease, color .22s ease, box-shadow .22s ease;
}

.pg-premium-tab:last-child {
  border-right: 0;
}

.pg-premium-tab span {
  display: inline-flex;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: #f2ece2;
  color: #386058;
  font-size: 12px;
  font-weight: 950;
  transition: background .22s ease, color .22s ease;
}

.pg-premium-tab:hover {
  background: #fff;
  color: #386058;
}

.pg-premium-tab.is-active {
  background: #fff;
  color: #e88d72;
  box-shadow: inset 0 -3px 0 #e88d72;
}

.pg-premium-tab.is-active span {
  background: #386058;
  color: #fff;
}

.pg-premium-panels {
  position: relative;
  z-index: 1;
}

.pg-premium-panel {
  display: none;
}

.pg-premium-panel.is-active {
  display: block;
}

.pg-premium-panel-inner {
  display: grid;
  grid-template-columns: minmax(240px, .72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  padding: clamp(34px, 5vw, 72px) clamp(28px, 6vw, 86px);
}

.pg-panel-title {
  max-width: 340px;
}

.pg-panel-title .pg-detail-kicker,
.pg-panel-title .pg-review-kicker {
  margin: 0 0 12px;
  color: #4a7c73;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 950;
}

.pg-panel-title h2 {
  font-size: clamp(34px, 4vw, 58px);
  line-height: .98;
  color: #12342f;
  font-weight: 950;
  margin: 0;
}

.pg-panel-title p {
  margin: 18px 0 0;
  color: #60706b;
  line-height: 1.7;
  font-size: 16px;
}

.pg-product-premium-details .pg-detail-card,
.pg-product-premium-details .pg-review-section {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
}

.pg-product-premium-details .pg-detail-card > .pg-detail-kicker,
.pg-product-premium-details .pg-detail-card > h2,
.pg-product-premium-details .pg-review-section > .pg-review-header {
  display: none !important;
}

.pg-product-premium-details .pg-use-list {
  display: grid;
  gap: 14px;
}

.pg-product-premium-details .pg-use-list li {
  list-style: none;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  color: #263936;
  font-size: 17px;
  line-height: 1.65;
  background: #fff;
  border: 1px solid #eee6d8;
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 12px 28px rgba(56, 96, 88, .055);
}

.pg-product-premium-details .pg-use-list li:before {
  counter-increment: steps;
  content: counter(steps);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #386058;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 950;
  font-size: 14px;
  box-shadow: 0 10px 22px rgba(56, 96, 88, .18);
}

.pg-note-shell {
  background: #fff;
  border: 1px solid #eee6d8;
  border-radius: 24px;
  padding: clamp(26px, 4vw, 42px);
  box-shadow: 0 18px 44px rgba(56, 96, 88, .065);
}

.pg-product-premium-details .pg-note-body {
  margin: 0;
  color: #263936;
  font-size: 18px;
  line-height: 1.85;
}

.pg-note-support {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.pg-note-support span {
  border: 1px solid #eee6d8;
  background: #fdfbf7;
  border-radius: 999px;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #4a7c73;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.pg-product-premium-details .pg-review-section {
  width: 100%;
}

.pg-product-premium-details .pg-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 28px;
}

.pg-product-premium-details .pg-review-card {
  min-height: 190px;
  border: 1px solid #eee6d8;
  border-radius: 22px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 14px 34px rgba(56, 96, 88, .065);
}

.pg-product-premium-details .pg-review-form {
  border-top: 1px solid #eadfd1;
  padding-top: 26px;
}

.pg-product-premium-details .pg-review-fields {
  grid-template-columns: 1fr 1fr;
}

.pg-product-premium-details .pg-review-form textarea {
  grid-column: 1 / -1;
}

.pg-mobile-review-title {
  display: none;
}

.pg-reviews-panel .pg-panel-title {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pg-reviews-panel .pg-rating-summary {
  justify-items: start;
}

.pg-reviews-panel .pg-stars {
  font-size: 20px;
}

.pg-premium-panel[data-panel="notes"] .pg-premium-panel-inner {
  grid-template-columns: minmax(260px, .58fr) minmax(0, 1.42fr);
  align-items: center;
  padding-top: clamp(38px, 4.2vw, 58px);
  padding-bottom: clamp(38px, 4.2vw, 58px);
}

.pg-premium-panel[data-panel="notes"] .pg-panel-title h2 {
  font-size: clamp(32px, 3.15vw, 46px);
  line-height: 1.04;
  max-width: 420px;
}

.pg-premium-panel[data-panel="notes"] .pg-panel-title p {
  max-width: 430px;
  font-size: 15px;
}

.pg-premium-panel[data-panel="notes"] .pg-panel-content {
  display: grid;
  gap: 16px;
}

.pg-note-shell {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(135deg, #ffffff 0%, #fffaf6 100%);
  border: 1px solid rgba(232, 141, 114, .22);
  box-shadow: 0 22px 54px rgba(56, 96, 88, .09);
}

.pg-note-shell:after {
  content: "";
  position: absolute;
  right: -80px;
  top: -90px;
  width: 210px;
  height: 210px;
  border-radius: 999px;
  background: rgba(232, 141, 114, .09);
  pointer-events: none;
}

.pg-note-shell .pg-detail-card {
  position: relative;
  display: grid !important;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: start;
  padding: clamp(26px, 3.4vw, 42px) !important;
  z-index: 1;
}

.pg-note-shell .pg-detail-card:before {
  content: "!";
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: #386058;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 950;
  font-size: 24px;
  box-shadow: 0 14px 28px rgba(56, 96, 88, .18);
}

.pg-note-shell .pg-detail-card > .pg-note-body {
  display: block !important;
  margin: 0 !important;
  color: #233b37;
  font-size: clamp(17px, 1.25vw, 19px);
  line-height: 1.82;
  max-width: 72ch;
}

.pg-note-support {
  margin-top: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.pg-note-support span {
  background: #fff !important;
  border-color: rgba(56, 96, 88, .14) !important;
  color: #386058 !important;
  box-shadow: 0 10px 22px rgba(56, 96, 88, .05);
}

@media (max-width: 1023px) {
  .pg-product-premium-details {
    margin-top: 32px;
    border-radius: 0;
  }
  .pg-premium-tabs {
    grid-template-columns: 1fr;
    position: relative;
  }
  .pg-premium-tab {
    min-height: 56px;
    justify-content: flex-start;
    padding: 0 22px;
    border-right: 0;
    border-bottom: 1px solid #eadfd1;
  }
  .pg-premium-tab.is-active {
    box-shadow: inset 4px 0 0 #e88d72;
  }
  .pg-premium-panel-inner {
    grid-template-columns: 1fr;
    padding: 28px 20px;
    gap: 24px;
  }
  .pg-panel-title {
    max-width: none;
  }
  .pg-panel-title h2 {
    font-size: 34px;
  }
  .pg-product-premium-details .pg-use-list li {
    grid-template-columns: 38px 1fr;
    font-size: 15px;
    padding: 14px;
  }
  .pg-product-premium-details .pg-use-list li:before {
    width: 38px;
    height: 38px;
  }
  .pg-note-support {
    grid-template-columns: 1fr;
  }
  .pg-product-premium-details .pg-reviews-grid {
    grid-template-columns: 1fr;
  }
  .pg-product-premium-details .pg-review-fields {
    grid-template-columns: 1fr;
  }
  .pg-product-premium-details .pg-review-card {
    min-height: auto;
  }
  .pg-product-premium-details .pg-note-body {
    font-size: 16px;
  }
  .pg-mobile-review-title {
    display: block;
    margin: 0 0 16px;
    color: #12342f;
    font-size: 28px;
    font-weight: 950;
  }
  .pg-premium-panel[data-panel="notes"] .pg-premium-panel-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .pg-note-shell .pg-detail-card {
    grid-template-columns: 44px 1fr;
  }
  .pg-note-shell .pg-detail-card:before {
    width: 44px;
    height: 44px;
    border-radius: 15px;
    font-size: 20px;
  }
  .pg-note-support {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 540px) {
  .pg-product-premium-details {
    margin-left: -16px;
    margin-right: -16px;
  }
  .pg-premium-panel-inner {
    padding: 24px 16px;
  }
  .pg-premium-tab {
    font-size: 15px;
  }
  .pg-panel-title h2 {
    font-size: 30px;
  }
  .pg-panel-title p {
    font-size: 14px;
  }
  .pg-product-premium-details .pg-use-list li {
    border-radius: 16px;
  }
  .pg-note-shell {
    border-radius: 20px;
  }
  .pg-note-shell .pg-detail-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px !important;
  }
  .pg-note-shell .pg-detail-card:before {
    width: 42px;
    height: 42px;
  }
  .pg-note-shell .pg-detail-card > .pg-note-body {
    font-size: 15px;
    line-height: 1.72;
  }
  .pg-premium-panel[data-panel="notes"] .pg-panel-title h2 {
    font-size: 28px;
  }
}

/* Mobile Buy Bar */
.pg-mobile-buybar {
  position: fixed;
  z-index: 110;
  left: 0;
  right: 0;
  bottom: 0;
  display: none; /* Injected and shown dynamically on product view */
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97);
  border-top: 1px solid #dbe5e2;
  box-shadow: 0 -12px 32px rgba(23, 59, 53, .14);
  backdrop-filter: blur(14px);
}

.pg-mobile-buybar strong {
  display: block;
  color: #173b35;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pg-mobile-buybar span {
  display: block;
  color: #386058;
  font-weight: 900;
}

.pg-mobile-buybar button {
  min-width: 132px;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: #e2765b;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

@media(max-width: 640px) {
  body {
    padding-bottom: 86px !important;
  }
  .pg-mobile-buybar {
    grid-template-columns: minmax(0, 1fr) 136px !important;
    min-height: 72px !important;
    gap: 10px !important;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)) !important;
  }
  .pg-mobile-buybar strong {
    font-size: 0 !important;
    overflow: visible !important;
  }
  .pg-mobile-buybar strong:after {
    content: 'In stock';
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #386058;
    font-weight: 950;
  }
  .pg-mobile-buybar span {
    font-size: 17px !important;
    line-height: 1.15 !important;
  }
  .pg-mobile-buybar button {
    min-width: 136px !important;
    min-height: 50px !important;
    font-size: 15px !important;
  }
}

/* FAQ Layout Side Menu & Polish */
.pg-faq-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.pg-faq-layout aside {
  position: sticky;
  top: 116px;
  padding: 26px;
  background: #e8f0ee;
  border: 1px solid #cfddd9;
  border-radius: 8px;
}

.pg-faq-layout aside h2 {
  font-size: 24px;
  line-height: 1.25;
  margin: 0 0 22px;
  color: #173b35;
}

.pg-faq-layout aside a {
  display: block;
  padding: 12px 0;
  color: #386058;
  font-weight: 800;
  border-top: 1px solid #c6d7d2;
  text-decoration: none;
}

.pg-faq-layout aside a:hover {
  color: var(--color-coral);
}

.pg-faq-list {
  display: grid;
  gap: 14px;
}

@media(max-width: 1023px) {
  .pg-faq-layout {
    grid-template-columns: 1fr;
  }
  .pg-faq-layout aside {
    position: relative;
    top: auto;
  }
}

/* About (Our Story) Layout */
.pg-story-layout {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: 28px;
  align-items: start;
}

.pg-story-copy {
  position: sticky;
  top: 116px;
  padding: 34px;
  background: #173b35;
  color: #fff;
  border-left: 5px solid #e88d72;
  border-radius: 8px;
}

.pg-story-copy h2 {
  font-size: 38px;
  line-height: 1.08;
  margin: 0 0 20px;
  color: #fff;
}

.pg-story-copy p {
  line-height: 1.75;
  color: #e9f0ee;
  margin: 0 0 20px;
}

@media(max-width: 1023px) {
  .pg-story-layout {
    grid-template-columns: 1fr;
  }
  .pg-story-copy {
    position: relative;
    top: auto;
  }
}

@media(max-width: 640px) {
  .pg-story-copy {
    margin-left: -16px;
    margin-right: -16px;
    padding: 28px 20px;
    border-radius: 0 !important;
  }
  .pg-story-copy h2 {
    font-size: 32px;
  }
}

/* Contact / Support Layout */
.pg-support-layout {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: 28px;
  align-items: start;
}

.pg-support-primary {
  position: sticky;
  top: 116px;
  padding: 34px;
  background: #173b35;
  color: #fff;
  border-left: 5px solid #e88d72;
  border-radius: 8px;
}

.pg-support-primary h2 {
  font-size: 38px;
  line-height: 1.08;
  margin: 0 0 20px;
  color: #fff;
}

.pg-support-primary p {
  line-height: 1.75;
  color: #e9f0ee;
  margin: 0 0 20px;
}

.pg-support-primary a {
  color: #fff;
  text-decoration: underline;
}

.pg-support-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.pg-support-band {
  margin-top: 54px;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-left: 5px solid #e88d72;
  background: #173b35;
  color: #fff;
  border-radius: 8px;
}

.pg-support-band h2 {
  font-size: 30px;
  line-height: 1.15;
  margin: 0;
  max-width: 660px;
  color: #fff;
}

.pg-support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pg-support-band .pill-btn-outline {
  background: #fff;
  color: #173b35;
  border-color: #fff;
}

@media(max-width: 1023px) {
  .pg-support-layout {
    grid-template-columns: 1fr;
  }
  .pg-support-primary {
    position: relative;
    top: auto;
  }
  .pg-support-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media(max-width: 640px) {
  .pg-support-options {
    grid-template-columns: 1fr;
  }
  .pg-support-primary {
    margin-left: -16px;
    margin-right: -16px;
    padding: 28px 20px;
    border-radius: 0 !important;
  }
  .pg-support-primary h2 {
    font-size: 32px;
  }
  .pg-support-band {
    margin-left: -16px;
    margin-right: -16px;
    padding: 24px 20px;
    border-radius: 0 !important;
  }
  .pg-support-band h2 {
    font-size: 26px;
  }
}

/* Policy Page Layout */
.pg-policy-copy {
  border-radius: 8px !important;
}

.pg-policy-section {
  padding: 0 0 24px;
  margin: 0 0 24px;
  border-bottom: 1px solid #dfe7e4;
}

.pg-policy-section:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}

.pg-policy-section h2 {
  margin: 0 0 10px;
  color: #173b35;
  font-size: 24px;
  line-height: 1.25;
}

.pg-policy-section p {
  margin: 0;
  color: #53635f;
  font-size: 17px;
  line-height: 1.75;
}

.pg-policy-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  padding: 20px;
  background: #e8f0ee;
  border-left: 4px solid #e88d72;
  border-radius: 8px;
}

.pg-policy-contact a {
  color: #386058;
  font-weight: 900;
  text-decoration: none;
}

.pg-policy-updated {
  margin-top: 16px;
  color: #66756f;
  font-size: 14px;
  font-weight: 800;
}

/* Blog Layout Overrides */
.pg-topic-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 34px;
}

.pg-topic-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid #ccd8d4;
  border-radius: 8px;
  background: #fff;
  color: #244d46;
  font-weight: 800;
  text-decoration: none;
}

.pg-topic-nav a:hover,
.pg-topic-nav a.active {
  border-color: #386058;
  background: #386058;
  color: #fff;
}

.pg-article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pg-article-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 26px;
  background: #fff;
  border: 1px solid #dfe7e4;
}

.pg-article-card h2 {
  font-size: 22px;
  line-height: 1.25;
  color: #173b35;
  margin: 0 0 14px;
}

.pg-article-card p:not(.pg-card-kicker) {
  color: #5a6a66;
  line-height: 1.65;
  margin: 0;
}

.pg-article-card .pg-text-link {
  margin-top: auto;
  padding-top: 22px;
  color: #386058;
  font-weight: 900;
  text-decoration: underline;
}

@media(max-width: 1023px) {
  .pg-article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media(max-width: 640px) {
  .pg-article-grid {
    grid-template-columns: 1fr;
  }
  .pg-article-card {
    min-height: 0;
    padding: 20px;
  }
  .pg-topic-nav {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }
  .pg-topic-nav a {
    white-space: nowrap;
  }
}

/* Footer link height */
footer a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}

/* Mobile responsive adjustments */
@media(max-width: 640px) {
  .pt-32 {
    padding-top: 6.5rem !important;
  }
  .text-5xl, .md\:text-6xl {
    font-size: 34px !important;
    line-height: 1.08 !important;
  }
  .text-xl {
    font-size: 17px !important;
  }
}

/* Symptom Bottom Sheet on Mobile */
.pg-symptom-sheet {
  position: fixed;
  z-index: 160;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(14, 42, 36, .72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.pg-symptom-dialog {
  position: relative;
  width: min(600px, 100%);
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 8px;
  background: #fdfbf7;
  color: #173b35;
  box-shadow: 0 28px 90px rgba(0,0,0,.28);
}

.pg-symptom-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #d5e2de;
  border-radius: 8px;
  background: #fff;
  color: #173b35;
  cursor: pointer;
}

.pg-symptom-close svg {
  width: 20px;
  height: 20px;
}

.pg-symptom-kicker {
  margin: 0 0 12px;
  color: #c45f49;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.pg-symptom-dialog h2 {
  max-width: 470px;
  margin: 0 0 16px;
  color: #173b35;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
}

.pg-symptom-dialog p:not(.pg-symptom-kicker) {
  max-width: 55ch;
  margin: 0;
  color: #53635f;
  font-size: 17px;
  line-height: 1.72;
}

.pg-symptom-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.pg-symptom-actions a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
}

.pg-symptom-actions a:first-child {
  background: #e88d72;
  color: #fff;
}

.pg-symptom-actions a:last-child {
  border: 1px solid #bcd0ca;
  background: #fff;
  color: #173b35;
}

@media(max-width: 760px) {
  .pg-symptom-sheet {
    align-items: end;
    padding: 0;
  }
  .pg-symptom-dialog {
    width: 100%;
    border-radius: 18px 18px 0 0;
    border-bottom: 0;
    padding: 30px 20px calc(30px + env(safe-area-inset-bottom));
  }
  .pg-symptom-dialog h2 {
    font-size: 31px;
  }
  .pg-symptom-dialog p:not(.pg-symptom-kicker) {
    font-size: 16px;
  }
  .pg-symptom-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .pg-symptom-actions a {
    width: 100%;
  }
}

/* ==========================================================================
   2026 UI Polish Wave 2: Collision Fixes, Safe Spacing & Luxury Search
   ========================================================================== */

/* 1. Counter Reset for OL steps */
.pg-use-list {
  counter-reset: steps !important;
}

/* 2. Page Space Protection (Prevent Fixed Header Collision) */
.pg-route-shell, 
.view-section:not(#view-home) {
  padding-top: 140px !important;
}

@media (max-width: 640px) {
  .pg-route-shell, 
  .view-section:not(#view-home) {
    padding-top: 116px !important;
  }
  body {
    padding-bottom: 86px !important;
  }
}

/* 3. Navigation Bar Collision & 1280px Breakpoint Expansion */
@media (max-width: 1279px) {
  .pg-nav-complete {
    display: none !important;
  }
  #mobile-menu-btn {
    display: block !important;
  }
  #mobile-menu:not(.hidden) {
    display: block !important;
  }
}

/* 4. Immersive Glassmorphism Search Panel Overhaul */
.pg-search-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 150 !important;
  background: rgba(15, 36, 33, 0.96) !important;
  backdrop-filter: blur(28px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(160%) !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
  overflow-y: auto !important;
  padding: 60px 24px !important;
}

.pg-search-overlay.is-open {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.pg-search-card {
  width: 100% !important;
  max-width: 960px !important;
  margin-top: 5vh !important;
  position: relative !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
}

.pg-search-close {
  position: absolute !important;
  top: -45px !important;
  right: 0 !important;
  font-size: 20px !important;
  background: rgba(253, 251, 247, 0.08) !important;
  border: 1px solid rgba(253, 251, 247, 0.18) !important;
  color: #fff !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 999px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  outline: none !important;
}

.pg-search-close:hover {
  background: #e88d72 !important;
  border-color: #e88d72 !important;
  transform: rotate(90deg) !important;
}

.pg-search-kicker {
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.22em !important;
  color: #e88d72 !important;
  font-weight: 900 !important;
  margin-bottom: 8px !important;
}

.pg-search-card h2 {
  font-size: clamp(28px, 4vw, 44px) !important;
  line-height: 1.1 !important;
  font-weight: 950 !important;
  color: #fff !important;
  margin-bottom: 24px !important;
  font-family: var(--font-display) !important;
  letter-spacing: -0.02em !important;
}

.pg-search-input-wrapper {
  position: relative !important;
  border-bottom: 2px solid rgba(253, 251, 247, 0.2) !important;
  transition: border-color 0.3s !important;
  margin-bottom: 16px !important;
}

.pg-search-input-wrapper:focus-within {
  border-color: #e88d72 !important;
}

#pg-search-input {
  width: 100% !important;
  background: transparent !important;
  border: 0 !important;
  font-size: clamp(18px, 2.5vw, 24px) !important;
  font-weight: 700 !important;
  color: #fff !important;
  padding: 14px 48px 14px 0 !important;
  outline: none !important;
  box-shadow: none !important;
}

.pg-search-input-icon {
  position: absolute !important;
  right: 8px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: rgba(253, 251, 247, 0.4) !important;
  width: 22px !important;
  height: 22px !important;
}

.pg-search-popular {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: 13px !important;
  color: rgba(253, 251, 247, 0.5) !important;
  margin-bottom: 30px !important;
}

.pg-search-popular button {
  background: rgba(253, 251, 247, 0.08) !important;
  border: 1px solid rgba(253, 251, 247, 0.12) !important;
  color: #fff !important;
  padding: 6px 14px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
}

.pg-search-popular button:hover {
  background: #fff !important;
  color: #173b35 !important;
  border-color: #fff !important;
}

.pg-search-results {
  margin-top: 24px !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 20px !important;
  max-height: 50vh !important;
  overflow-y: auto !important;
  padding-right: 6px !important;
}

.pg-search-results::-webkit-scrollbar {
  width: 6px !important;
}

.pg-search-results::-webkit-scrollbar-track {
  background: rgba(253, 251, 247, 0.05) !important;
  border-radius: 999px !important;
}

.pg-search-results::-webkit-scrollbar-thumb {
  background: rgba(253, 251, 247, 0.2) !important;
  border-radius: 999px !important;
}

.pg-search-result {
  background: rgba(253, 251, 247, 0.03) !important;
  border: 1px solid rgba(253, 251, 247, 0.08) !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  text-decoration: none !important;
  color: #fff !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
}

.pg-search-result:hover {
  background: rgba(253, 251, 247, 0.08) !important;
  border-color: rgba(232, 141, 114, 0.5) !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3) !important;
}

.pg-search-result-media {
  aspect-ratio: 16/10 !important;
  background: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px !important;
  overflow: hidden !important;
}

.pg-search-result-media img {
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  mix-blend-mode: multiply !important;
}

.pg-search-result-info {
  padding: 16px !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
}

.pg-search-result-info strong {
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #fff !important;
  line-height: 1.35 !important;
  font-family: var(--font-display) !important;
}

.pg-search-result-price {
  margin-top: 10px !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #e88d72 !important;
}

.pg-search-empty {
  grid-column: 1 / -1 !important;
  text-align: center !important;
  padding: 50px 0 !important;
  color: rgba(253, 251, 247, 0.4) !important;
  font-size: 15px !important;
}

@media (max-width: 900px) {
  .pg-search-results {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 600px) {
  .pg-search-results {
    grid-template-columns: 1fr !important;
  }
  .pg-search-card {
    margin-top: 10px !important;
  }
  .pg-search-close {
    top: -5px !important;
    right: -5px !important;
    width: 38px !important;
    height: 38px !important;
    font-size: 16px !important;
  }
}

/* ==========================================================================
   2026 UI Polish Wave 3: Luxury B2C Conversions & Trust Badges
   ========================================================================== */

/* 1. Image Flip on Hover for Catalog Cards */
.pg-catalog-media {
  position: relative !important;
  overflow: hidden !important;
}

.pg-catalog-img-primary {
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
  opacity: 1;
  z-index: 2;
}

.pg-catalog-img-secondary {
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
  opacity: 0;
  z-index: 1;
}

.pg-catalog-card:hover .pg-catalog-img-primary {
  opacity: 0 !important;
}

.pg-catalog-card:hover .pg-catalog-img-secondary {
  opacity: 1 !important;
  z-index: 3;
}

/* 2. Commerce Conversion Badges */
.pg-badge-hot {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #e88d72;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(232, 141, 114, 0.3);
}

.pg-badge-sale {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #173b35;
  color: #fdfbf7;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 10;
}

.pg-product-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 750;
  color: #386058;
}

.pg-product-rating-stars {
  color: #f59e0b; /* Yellow stars */
  letter-spacing: 0.05em;
  font-weight: 900;
}

/* 3. Immersive Buy Panel & Adding State Animation */
.pg-static-product-buy {
  background: #ffffff !important;
  border: 1px solid rgba(56, 96, 88, 0.14) !important;
  border-radius: 8px !important;
  padding: 30px !important;
  box-shadow: 0 20px 50px rgba(56, 96, 88, 0.065) !important;
}

.pill-btn-primary.btn-adding {
  background-color: #386058 !important;
  pointer-events: none;
}

.pill-btn-primary.btn-success {
  background-color: #10b981 !important;
  pointer-events: none;
}

/* Button Shimmer Effect */
@keyframes pgShimmer {
  0% { transform: translateX(-100%) rotate(45deg); }
  80% { transform: translateX(100%) rotate(45deg); }
  100% { transform: translateX(100%) rotate(45deg); }
}

.pill-btn-primary {
  position: relative;
  overflow: hidden;
}

.pill-btn-primary:after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 30%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: rotate(45deg);
  animation: pgShimmer 4s infinite linear;
}

/* 4. Tab How to Use & Notes upgrades */
.pg-product-premium-details .pg-use-list li {
  background: rgba(253, 251, 247, 0.5) !important;
  border: 1px solid rgba(56, 96, 88, 0.08) !important;
  box-shadow: 0 10px 30px rgba(56, 96, 88, 0.03) !important;
  transition: transform 0.3s, background-color 0.3s;
}

.pg-product-premium-details .pg-use-list li:hover {
  transform: translateY(-2px);
  background: #ffffff !important;
  border-color: rgba(56, 96, 88, 0.18) !important;
  box-shadow: 0 14px 34px rgba(56, 96, 88, 0.06) !important;
}

/* Veterinarian Trust Banner */
.pg-vet-alert {
  background: #fffaf0 !important;
  border: 1px solid rgba(245, 158, 11, 0.25) !important;
  border-radius: 8px !important;
  padding: 24px !important;
  display: flex !important;
  gap: 16px !important;
  align-items: flex-start !important;
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.04) !important;
  margin-bottom: 24px !important;
}

.pg-vet-alert-icon {
  width: 44px;
  height: 44px;
  background: #f59e0b;
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
  box-shadow: 0 6px 14px rgba(245, 158, 11, 0.2);
}

.pg-vet-alert-info h4 {
  font-size: 16px;
  font-weight: 800;
  color: #78350f;
  margin: 0 0 4px 0;
}

.pg-vet-alert-info p {
  font-size: 14px;
  color: #92400e;
  line-height: 1.6;
  margin: 0;
}

/* Homepage steps transition */
.pg-bp-home-step {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.pg-bp-home-step:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(232, 141, 114, 0.4) !important;
  box-shadow: 0 20px 40px rgba(56, 96, 88, 0.12) !important;
}

/* Trust Row style for Hero */
.pg-hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  backdrop-filter: blur(8px);
}

/* ==========================================================================
   2026 UI Polish Wave 4: Interactive Components & Layout Variety
   ========================================================================== */

/* 1. 3D Flip Cards for ingredients-safety */
.pg-flip-card-container {
  perspective: 1000px;
  min-height: 340px;
  cursor: pointer;
}

.pg-flip-card {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
}

.pg-flip-card-container:hover .pg-flip-card,
.pg-flip-card-container.is-flipped .pg-flip-card {
  transform: rotateY(180deg);
}

.pg-flip-card-front, .pg-flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 12px;
  padding: 30px;
  border: 1px solid rgba(56, 96, 88, 0.1);
  box-shadow: 0 10px 30px rgba(56, 96, 88, 0.03);
}

.pg-flip-card-front {
  background: #ffffff;
  display: flex;
  flex-direction: column;
  z-index: 2;
}

.pg-flip-card-back {
  background: #173b35;
  color: #fdfbf7;
  transform: rotateY(180deg);
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 2. Process Stepper for how-it-works */
.pg-timeline-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pg-timeline-btn {
  width: 100%;
  text-align: left;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid rgba(56, 96, 88, 0.08);
  background: rgba(253, 251, 247, 0.5);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}

.pg-timeline-btn.active {
  background: #ffffff;
  border-color: #e88d72;
  box-shadow: 0 12px 28px rgba(232, 141, 114, 0.08);
  transform: translateX(4px);
}

.pg-timeline-num {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(56, 96, 88, 0.08);
  color: #386058;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 14px;
  transition: all 0.3s;
}

.pg-timeline-btn.active .pg-timeline-num {
  background: #e88d72;
  color: #fff;
}

.pg-timeline-showcase {
  background: #ffffff;
  border: 1px solid rgba(56, 96, 88, 0.12);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(56, 96, 88, 0.04);
  transition: opacity 0.3s, transform 0.3s;
}

/* 3. Estimator calculator for shipping-returns */
.pg-shipping-estimator {
  background: #fffdf9 !important;
  border: 2px dashed rgba(56, 96, 88, 0.18) !important;
  border-radius: 8px !important;
  padding: 28px !important;
}

/* 4. Standalone reviews graph & drawer */
.pg-reviews-graph {
  background: #ffffff;
  border: 1px solid rgba(56, 96, 88, 0.1);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(56, 96, 88, 0.03);
}

.pg-reviews-bar-track {
  width: 100%;
  height: 8px;
  background: #f3f4f6;
  border-radius: 999px;
  overflow: hidden;
}

.pg-reviews-bar-fill {
  height: 100%;
  background: #f59e0b;
  border-radius: 999px;
}

.pg-reviews-filter-btn {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.pg-reviews-filter-btn.active {
  background: #386058;
  color: #ffffff;
  border-color: #386058;
}

/* Simulated Write Review Slide-in Drawer */
.pg-review-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 500px;
  height: 100%;
  background: #ffffff;
  box-shadow: -10px 0 50px rgba(0, 0, 0, 0.15);
  z-index: 160;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.pg-review-drawer.open {
  transform: translateX(0);
}

/* 5. Policy Chapter Sidebar Layout */
.pg-policy-sidebar-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
}

.pg-policy-nav-sticky {
  position: sticky;
  top: 160px;
  background: rgba(253, 251, 247, 0.6);
  border: 1px solid rgba(56, 96, 88, 0.08);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pg-policy-nav-link {
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #386058;
  text-decoration: none;
  transition: all 0.2s;
}

.pg-policy-nav-link.active,
.pg-policy-nav-link:hover {
  background: #386058;
  color: #fdfbf7;
}

/* 6. Medical warning notice board style */
.pg-vet-disclaimer-board {
  border: 2px solid #ef4444 !important;
  background: #fef2f2 !important;
  border-radius: 8px !important;
  padding: 30px !important;
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.04) !important;
}

/* 7. Refund checker choice cards */
.pg-refund-checker-card {
  border: 1px solid rgba(56, 96, 88, 0.12);
  border-radius: 8px;
  background: #ffffff;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
}

.pg-refund-checker-card:hover,
.pg-refund-checker-card.selected {
  border-color: #e88d72;
  box-shadow: 0 10px 24px rgba(232, 141, 114, 0.08);
  transform: translateY(-2px);
}

@media (max-width: 800px) {
  .pg-policy-sidebar-layout {
    grid-template-columns: 1fr;
  }
  .pg-policy-nav-sticky {
    position: relative;
    top: 0;
    margin-bottom: 24px;
  }
}



/* Content and trust improvements for the existing single-page storefront */
.pg-section-kicker,
.pg-detail-kicker {
  margin: 0 0 .65rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.pg-choice-card {
  display: flex;
  min-height: 142px;
  flex-direction: column;
  justify-content: space-between;
  gap: .75rem;
  border: 1px solid rgba(253, 251, 247, .28);
  border-radius: 1rem;
  padding: 1.25rem;
  color: #fdfbf7;
  background: rgba(255, 255, 255, .08);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.pg-choice-card:hover,
.pg-choice-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(232, 141, 114, .8);
  background: rgba(255, 255, 255, .14);
  outline: none;
}

.pg-choice-card span,
.pg-choice-card small {
  color: rgba(253, 251, 247, .72);
}

.pg-choice-card strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  font-size: 1.05rem;
}

.pg-choice-card i {
  width: 1rem;
  height: 1rem;
}

.pg-education-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: 2rem;
  align-items: stretch;
  border: 1px solid var(--brand-beige, #eadfce);
  border-radius: 1.25rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: linear-gradient(135deg, #fff 0%, #f8f1e7 100%);
}

.pg-education-intro h2,
.pg-care-boundary h2 {
  margin: 0 0 .8rem;
  color: var(--brand-teal-dark, #234c4a);
  font-family: var(--font-heading, Georgia, serif);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.1;
}

.pg-education-intro p,
.pg-care-boundary p {
  color: var(--brand-muted-text, #66736f);
  line-height: 1.75;
}

.pg-sign-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}

.pg-sign-grid span {
  display: flex;
  min-height: 78px;
  align-items: center;
  border: 1px solid rgba(232, 141, 114, .3);
  border-radius: .9rem;
  padding: 1rem;
  color: var(--brand-teal-dark, #234c4a);
  background: rgba(255, 255, 255, .74);
  font-weight: 700;
}

.pg-care-boundary {
  border: 1px solid rgba(232, 141, 114, .45);
  border-radius: 1rem;
  padding: 1.5rem 1.75rem;
  background: #fff2ec;
}

.pg-plan-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.pg-plan-benefits > div {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  border: 1px solid var(--brand-beige, #eadfce);
  border-radius: .9rem;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, .72);
}

.pg-plan-benefits strong {
  color: var(--brand-teal-dark, #234c4a);
}

.pg-plan-benefits span {
  color: var(--brand-muted-text, #66736f);
  font-size: .95rem;
  line-height: 1.55;
}

.pg-detail-card-wide {
  grid-column: 1 / -1;
}

.pg-product-fit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.pg-product-fit-grid > div {
  display: flex;
  min-height: 116px;
  flex-direction: column;
  gap: .45rem;
  border: 1px solid #ece8e1;
  border-radius: .85rem;
  padding: 1rem;
  background: #fff;
}

.pg-product-fit-grid strong {
  color: var(--brand-teal-dark, #234c4a);
}

.pg-product-fit-grid span {
  color: var(--brand-muted-text, #66736f);
  font-size: .95rem;
  line-height: 1.5;
}

@media (max-width: 820px) {
  .pg-education-intro,
  .pg-plan-benefits {
    grid-template-columns: 1fr;
  }

  .pg-product-fit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .pg-sign-grid,
  .pg-product-fit-grid {
    grid-template-columns: 1fr;
  }

  .pg-choice-card {
    min-height: 120px;
  }
}
