/* ProCosme Skin Intelligence Studio - Theme CSS */

/* Utilities */
.dev-only { display: none !important; }
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
}

/* Announcement Ticker */
.procosme-ticker {
  background: var(--color-graphite);
  color: var(--color-porcelain-light);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 8px 0;
  position: relative;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ticker-content-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.ticker-message, .ticker-partner, .ticker-contact {
  display: flex;
  align-items: center;
}
.procosme-ticker a {
  color: var(--color-oxygen);
  text-decoration: underline;
  margin-left: 6px;
  transition: opacity 0.2s;
}
.procosme-ticker a:hover {
  opacity: 0.85;
}
@media (max-width: 992px) {
  .ticker-partner, .ticker-contact {
    display: none;
  }
  .ticker-content-flex {
    justify-content: center;
  }
}

/* Header */
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 246, 242, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-subtle-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: var(--transition-smooth);
}
.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 20px;
}
.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.site-logo-img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.site-logo-img:hover {
  opacity: 0.92;
  transform: translateY(-0.5px);
}
.site-logo-footer {
  height: 46px;
}
.drawer-header .site-logo-img {
  height: 34px;
}
.brand-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--color-graphite);
  line-height: 1;
}
.brand-subtitle {
  font-family: var(--font-sans);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-rose-deep);
  margin-top: 5px;
}

/* Header Live Search */
.header-search-container {
  position: relative;
  flex: 1;
  max-width: 480px;
  margin: 0 16px;
}
.header-search-box {
  display: flex;
  align-items: center;
  background: var(--color-white);
  border: 1px solid var(--color-subtle-border);
  border-radius: var(--radius-full);
  padding: 10px 18px;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: var(--transition-smooth);
}
.header-search-box:focus-within {
  border-color: var(--color-rose-deep);
  box-shadow: 0 4px 18px rgba(184, 114, 110, 0.15);
}
.header-search-box input {
  border: none;
  background: transparent;
  width: 100%;
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--color-graphite);
  outline: none;
}
.header-search-box input::placeholder {
  color: #9CA3AF;
  font-size: 13.5px;
}
.header-search-box .search-icon {
  color: var(--color-muted);
  flex-shrink: 0;
}
.header-search-box .search-clear {
  display: none;
  background: none;
  border: none;
  font-size: 18px;
  line-height: 1;
  color: var(--color-muted);
  cursor: pointer;
  padding: 0 4px;
}
.header-search-box .search-clear:hover {
  color: var(--color-graphite);
}
.header-search-results {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--color-white);
  border: 1px solid var(--color-subtle-border);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
  max-height: 420px;
  overflow-y: auto;
  z-index: 100;
  padding: 8px 0;
}
.search-result-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  transition: background 0.15s ease;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.03);
}
.search-result-item:last-child {
  border-bottom: none;
}
.search-result-item:hover {
  background: var(--color-porcelain-light);
}
.search-result-item img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: var(--color-white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-subtle-border);
  padding: 2px;
  flex-shrink: 0;
}
.search-result-item .item-info {
  flex: 1;
  min-width: 0;
}
.search-result-item .item-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-graphite);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-result-item .item-meta {
  font-size: 11px;
  color: var(--color-muted);
  display: flex;
  gap: 8px;
  margin-top: 2px;
}
.search-result-item .item-price {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-graphite);
  flex-shrink: 0;
}

/* Header Right Group */
.header-right-group {
  display: flex;
  align-items: center;
  gap: 24px;
}
.desktop-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-graphite);
  position: relative;
  padding: 6px 0;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.nav-link:hover, .nav-link.active {
  color: var(--color-rose-deep);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1.5px;
  background-color: var(--color-rose-deep);
  transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.btn-ai-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-graphite);
  color: var(--color-porcelain-light);
  padding: 9px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: var(--transition-smooth);
  border: 1px solid var(--color-graphite);
  text-decoration: none;
  white-space: nowrap;
}
.btn-ai-pill:hover {
  background: var(--color-graphite-soft);
  transform: translateY(-1px);
}
.btn-ai-pill .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-oxygen);
  box-shadow: 0 0 8px var(--color-oxygen);
  animation: pulse 2s infinite;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: transparent;
  color: var(--color-graphite);
  border: none;
  cursor: pointer;
  position: relative;
  transition: var(--transition-smooth);
}
.icon-btn:hover {
  background: var(--color-rose-nude);
  color: var(--color-rose-deep);
}
.icon-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--color-rose-deep);
  color: var(--color-white);
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
}

/* Cart Trigger Button */
.cart-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: var(--color-white);
  border: 1px solid var(--color-subtle-border);
  color: var(--color-graphite);
  cursor: pointer;
  position: relative;
  transition: var(--transition-smooth);
}
.cart-trigger-btn:hover {
  border-color: var(--color-rose-deep);
  background: var(--color-porcelain-light);
}
.header-cart-total {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Mobile Menu Trigger & Responsive */
.mobile-menu-trigger {
  display: none;
}
@media (max-width: 992px) {
  .mobile-menu-trigger {
    display: inline-flex;
  }
  .desktop-nav-links {
    display: none;
  }
  .header-search-container {
    display: none;
  }
  .brand-title {
    font-size: 22px;
    letter-spacing: 0.1em;
  }
  .brand-subtitle {
    font-size: 9px;
    letter-spacing: 0.22em;
  }
  .header-actions {
    gap: 8px;
  }
  .header-cart-total {
    display: none;
  }
  .cart-trigger-btn {
    padding: 8px;
  }
}

/* Mobile Menu Drawer & Overlay */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(24, 25, 27, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: 85%;
  max-width: 360px;
  background: var(--color-white);
  z-index: 101;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 12px 0 36px rgba(0, 0, 0, 0.18);
}
.mobile-menu-drawer.active {
  transform: translateX(0);
}
.drawer-header {
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-subtle-border);
}
.drawer-body {
  padding: 22px;
  overflow-y: auto;
  flex: 1;
}
.drawer-section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  margin-bottom: 12px;
}
.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.drawer-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-graphite);
  padding: 9px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  text-decoration: none;
  transition: color 0.2s ease;
}
.drawer-link:hover {
  color: var(--color-rose-deep);
}
.drawer-categories-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.drawer-categories-list a {
  font-size: 13px;
  color: var(--color-muted);
  padding: 6px 0;
  text-decoration: none;
  transition: color 0.2s ease;
}
.drawer-categories-list a:hover {
  color: var(--color-rose-deep);
}

/* Hero Section Viewport Stage */
.hero-stage {
  position: relative;
  min-height: calc(100vh - 74px);
  min-height: calc(100dvh - 74px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  box-sizing: border-box;
}
.hero-content-container {
  flex: 1;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 48px 0 32px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}
.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-rose-deep);
  margin-bottom: 20px;
}
.hero-tagline .line {
  width: 36px;
  height: 1.5px;
  background: var(--color-rose-accent);
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 4.2vw, 58px);
  line-height: 1.12;
  font-weight: 500;
  color: var(--color-graphite);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--color-rose-deep);
}
.hero-description {
  font-size: 17px;
  line-height: 1.72;
  color: var(--color-muted);
  max-width: 580px;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--color-graphite);
  color: var(--color-porcelain-light);
  padding: 16px 32px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: var(--transition-smooth);
}
.btn-primary:hover {
  background: var(--color-graphite-soft);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--color-white);
  color: var(--color-graphite);
  border: 1px solid var(--color-subtle-border);
  padding: 16px 30px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: var(--transition-smooth);
}
.btn-secondary:hover {
  background: var(--color-rose-nude);
  border-color: var(--color-rose-accent);
  color: var(--color-rose-deep);
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--color-subtle-border);
}
.hero-stat-number {
  font-family: var(--font-sans);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-graphite);
  line-height: 1;
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}
.hero-stat-label {
  font-size: 13.5px;
  color: var(--color-muted);
  margin-top: 6px;
}

.hero-media-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-media-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: var(--color-white);
  border-radius: 26px;
  padding: 18px;
  box-shadow: 0 26px 65px -15px rgba(24, 25, 27, 0.14);
  border: 1px solid var(--color-subtle-border);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.hero-media-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 70px -15px rgba(24, 25, 27, 0.18);
}
.hero-media-frame {
  position: relative;
  width: 100%;
  height: 310px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #E8ECE8;
}
.hero-media-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  color: var(--color-graphite);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 15px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(24, 25, 27, 0.06);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  z-index: 2;
}
.hero-media-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-media-card:hover .hero-media-image {
  transform: scale(1.03);
}
.hero-card-meta {
  padding: 14px 6px 4px;
}
.hero-card-line {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-rose-deep);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.hero-card-title {
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.25;
  color: var(--color-graphite);
  margin-bottom: 6px;
}
.hero-card-title a {
  color: inherit;
  text-decoration: none;
}
.hero-card-title a:hover {
  color: var(--color-rose-deep);
}
.hero-card-desc {
  font-size: 12.5px;
  color: var(--color-muted);
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-card-action-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--color-subtle-border);
}
.hero-card-price {
  font-family: var(--font-mono);
  font-size: 21px;
  font-weight: 700;
  color: var(--color-graphite);
}
.hero-card-old-price {
  font-size: 13.5px;
  color: var(--color-muted);
  text-decoration: line-through;
  margin-left: 6px;
}

@media (max-width: 991px) {
  .hero-stage {
    min-height: auto;
  }
  .hero-content-container {
    padding: 32px 0 28px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-title {
    font-size: 34px;
    margin-bottom: 16px;
  }
  .hero-description {
    font-size: 15px;
    margin-bottom: 24px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-actions .btn-primary, 
  .hero-actions .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  .hero-stats {
    margin-top: 28px;
    padding-top: 20px;
    gap: 24px;
    justify-content: space-between;
  }
  .hero-stat-number {
    font-size: 26px;
  }
  .hero-media-card {
    max-width: 380px;
    margin: 0 auto;
  }
  .hero-media-frame {
    height: 240px;
  }
}

/* Concern Filters Bar */
.concern-section {
  padding: 44px 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-subtle-border);
  border-bottom: 1px solid var(--color-subtle-border);
}
.concern-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
}
.section-subtitle {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-rose-deep);
  margin-bottom: 8px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 500;
  color: var(--color-graphite);
  line-height: 1.18;
}
.concern-chips {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.concern-chip {
  padding: 11px 24px;
  border-radius: var(--radius-full);
  background: var(--color-porcelain);
  border: 1px solid var(--color-subtle-border);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-graphite);
  cursor: pointer;
  transition: var(--transition-smooth);
}
.concern-chip:hover, .concern-chip.active {
  background: var(--color-graphite);
  color: var(--color-white);
  border-color: var(--color-graphite);
}

/* Routine Protocols Section */
/* Routine Protocols Section */
.routines-section {
  padding: 56px 0;
}
.routines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
  margin-top: 32px;
  width: 100%;
}
@media (max-width: 768px) {
  .routines-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
.routine-card {
  background: var(--color-white);
  border: 1px solid var(--color-subtle-border);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .routine-card {
    padding: 16px;
  }
}
.routine-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-rose-accent);
}
.routine-badge-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.routine-badge {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--color-rose-nude);
  color: #783E34;
}
.routine-duration {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--color-muted);
}
.routine-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--color-graphite);
  margin-bottom: 8px;
  line-height: 1.25;
}
.routine-desc {
  font-size: 14.5px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.routine-timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
  padding: 16px 18px;
  background: var(--color-porcelain);
  border-radius: var(--radius-md);
}
.timeline-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.step-time-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 4px;
  background: var(--color-white);
  border: 1px solid var(--color-subtle-border);
  color: var(--color-graphite);
  flex-shrink: 0;
}
.step-details {
  flex: 1;
  min-width: 0;
}
.step-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-graphite);
  margin-bottom: 2px;
}
.step-product {
  font-size: 13px;
  color: var(--color-muted);
  white-space: normal;
  line-height: 1.4;
  word-break: break-word;
}
.routine-card-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--color-subtle-border);
}

/* Products Catalog Grid */
.products-section {
  padding: 48px 0 64px;
  background: var(--color-porcelain-light);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
}
@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
  }
}

.product-card {
  background: var(--color-white);
  border: 1px solid rgba(24, 25, 27, 0.07);
  border-radius: 20px;
  padding: 20px 18px 18px;
  position: relative;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.45s ease;
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
  box-shadow: 0 4px 20px -4px rgba(24, 25, 27, 0.04);
}
@media (max-width: 768px) {
  .product-card {
    padding: 14px 12px 14px;
    border-radius: 14px;
  }
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 54px -12px rgba(24, 25, 27, 0.13);
  border-color: rgba(201, 151, 137, 0.45);
}
.product-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  gap: 8px;
}
.line-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--color-porcelain);
  color: var(--color-graphite);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 80%;
  border: 1px solid rgba(24, 25, 27, 0.04);
}
.line-tag.power-c {
  background: #FFF7ED;
  color: #C2410C;
}
.line-tag.power-hyal {
  background: #F0F9FF;
  color: #0369A1;
}
.line-tag.power-retinol {
  background: #FEF3C7;
  color: #B45309;
}
.line-tag.aquatherm {
  background: #FDF2F8;
  color: #BE185D;
}
.line-tag.eternal {
  background: #F5F3FF;
  color: #6D28D9;
}
.line-tag.corrective {
  background: #ECFDF5;
  color: #047857;
}

.product-wishlist-btn {
  color: var(--color-muted);
  transition: var(--transition-smooth);
}
.product-wishlist-btn:hover, .product-wishlist-btn.active {
  color: var(--color-rose-deep);
}

.product-image-container {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0 16px;
  position: relative;
  background: #FFFFFF;
  border-radius: 14px;
}
.product-image-container::after {
  display: none !important;
}
.product-card:hover .product-image-container::after {
  display: none !important;
}
@media (max-width: 768px) {
  .product-image-container {
    height: 145px;
    margin: 6px 0 10px;
  }
}
.product-image {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
  position: relative;
  z-index: 2;
}
.product-card:hover .product-image {
  transform: translateY(-6px) scale(1.06);
}

.product-quick-view-btn {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(14px);
  opacity: 0;
  visibility: hidden;
  background: rgba(24, 25, 27, 0.88);
  color: #ffffff;
  backdrop-filter: blur(10px);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 4;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.product-card:hover .product-quick-view-btn {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
@media (max-width: 768px) {
  .product-quick-view-btn {
    display: none;
  }
}
.product-card:hover .product-quick-view-btn {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.product-step-badge {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-rose-deep);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-graphite);
  line-height: 1.32;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 48px;
}
.product-title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  color: inherit;
}
@media (max-width: 768px) {
  .product-title {
    font-size: 15px;
    line-height: 1.25;
    min-height: 38px;
    margin-bottom: 4px;
  }
}
.product-actives {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.4;
  margin-bottom: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 768px) {
  .product-actives {
    display: none;
  }
}
.product-bottom-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--color-subtle-border);
  gap: 12px;
  position: relative;
  z-index: 2;
}
.product-price-box {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.product-volume {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-muted);
  white-space: nowrap;
  margin-bottom: 2px;
}
.product-price {
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 700;
  color: var(--color-graphite);
  white-space: nowrap;
  letter-spacing: -0.01em;
}
@media (max-width: 768px) {
  .product-price {
    font-size: 16px;
  }
}
.btn-add-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  background: var(--color-graphite);
  color: var(--color-white);
  transition: var(--transition-smooth);
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .btn-add-cart {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
  }
  .btn-add-cart svg {
    width: 18px;
    height: 18px;
  }
}
.btn-add-cart:hover {
  background: var(--color-rose-deep);
  transform: scale(1.05);
}

/* ================= LUXURY QUIZ MODAL & ROUTINE ARCHITECT (SKEYNDOR BARCELONA · 1966) ================= */
.quiz-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(14, 16, 18, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.quiz-modal-backdrop.is-active {
  opacity: 1;
  pointer-events: auto;
}
.quiz-modal-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  width: 94%;
  max-width: 720px;
  max-height: 90vh;
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.quiz-modal-dialog.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.quiz-modal-card {
  background: #FFFFFF;
  border: 1px solid rgba(24, 25, 27, 0.08);
  border-radius: 28px;
  padding: 36px 38px;
  position: relative;
  box-shadow: 0 30px 70px -15px rgba(22, 18, 19, 0.35);
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  overflow: hidden;
}
@media (max-width: 640px) {
  .quiz-modal-card {
    padding: 22px 18px;
    border-radius: 20px;
  }
}
.quiz-modal-close-btn {
  position: absolute;
  top: 20px;
  right: 22px;
  background: none;
  border: none;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: #826E71;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
  z-index: 10;
}
.quiz-modal-close-btn:hover {
  color: #161213;
  background: #F1EAE5;
}
.quiz-modal-scroll {
  overflow-y: auto;
  padding-right: 4px;
  max-height: calc(90vh - 75px);
}
.quiz-modal-scroll::-webkit-scrollbar {
  width: 5px;
}
.quiz-modal-scroll::-webkit-scrollbar-track {
  background: #FAF7F5;
}
.quiz-modal-scroll::-webkit-scrollbar-thumb {
  background: #D5C7C8;
  border-radius: 4px;
}

/* Standalone Page Quiz Container */
.quiz-wrapper {
  max-width: 760px;
  margin: 36px auto;
  padding: 40px;
  background: var(--color-white);
  border-radius: 28px;
  border: 1px solid rgba(24, 25, 27, 0.08);
  box-shadow: 0 20px 45px -15px rgba(184, 128, 133, 0.15);
}
@media (max-width: 640px) {
  .quiz-wrapper {
    padding: 24px 18px;
    border-radius: 20px;
    margin: 20px auto;
  }
}

/* Quiz Steps Header */
.quiz-step-kicker {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #A45D4B;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.quiz-step-indicator {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #826E71;
  text-transform: uppercase;
}
.quiz-progress-bar {
  width: 100%;
  height: 4px;
  background: #F1EAE5;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 14px 0 24px;
}
.quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #C99789, #A45D4B);
  transition: width 0.35s ease;
}
.quiz-question-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  color: #18191B;
  margin-bottom: 8px;
  line-height: 1.28;
}
@media (max-width: 640px) {
  .quiz-question-title {
    font-size: 21px;
  }
}
.quiz-question-subtitle {
  font-size: 14px;
  color: #6E5B5E;
  line-height: 1.5;
  margin-bottom: 22px;
}

/* Options Grid */
.quiz-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
@media (max-width: 600px) {
  .quiz-options-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
.quiz-option-card {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(28, 22, 23, 0.09);
  background: #FAF7F5;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  text-align: left;
}
.quiz-option-card:hover {
  border-color: #161213;
  background: #FFFFFF;
  box-shadow: 0 8px 24px -6px rgba(22, 18, 19, 0.08);
  transform: translateY(-2px);
}
.quiz-option-card.selected {
  border-color: #A45D4B;
  background: #FFFFFF;
  box-shadow: 0 0 0 2px rgba(164, 93, 75, 0.2);
}
.quiz-option-card .option-label {
  font-size: 15px;
  font-weight: 600;
  color: #18191B;
  margin-bottom: 4px;
  line-height: 1.35;
}
.quiz-option-card .option-desc {
  font-size: 12.5px;
  color: #826E71;
  line-height: 1.45;
  font-weight: 400;
}

/* Actions Footer */
.quiz-footer-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid rgba(24, 25, 27, 0.06);
}

/* Analyzing Screen */
.quiz-analyzing-screen {
  text-align: center;
  padding: 48px 20px;
}
.pearl-orb {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  margin: 0 auto 24px;
  background: radial-gradient(circle at 35% 35%, #FFFFFF 0%, #EBD8DA 50%, #B88085 100%);
  box-shadow: 0 0 40px rgba(184, 128, 133, 0.45);
  animation: floatOrb 2.6s ease-in-out infinite;
}
@keyframes floatOrb {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.05); }
}

/* Quiz Results & Product Showcase */
.quiz-result-hero {
  text-align: center;
  margin-bottom: 24px;
}
.quiz-result-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(164, 93, 75, 0.09);
  color: #A45D4B;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  padding: 6px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.quiz-result-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  color: #18191B;
  margin-bottom: 6px;
  line-height: 1.25;
}
.quiz-result-desc {
  font-size: 13.5px;
  color: #6E5B5E;
  line-height: 1.55;
  max-width: 580px;
  margin: 0 auto;
}

/* Recommended Products List */
.quiz-products-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
}
.quiz-product-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: #FAF7F5;
  border: 1px solid rgba(28, 22, 23, 0.08);
  border-radius: 18px;
  transition: all 0.25s ease;
}
.quiz-product-card:hover {
  background: #FFFFFF;
  border-color: #A45D4B;
  box-shadow: 0 6px 20px -5px rgba(164, 93, 75, 0.12);
}
.quiz-product-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #18191B;
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  shrink: 0;
}
.quiz-product-img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  background: #FFFFFF;
  border: 1px solid rgba(24, 25, 27, 0.07);
  border-radius: 12px;
  padding: 3px;
  shrink: 0;
}
.quiz-product-info {
  flex: 1;
  min-width: 0;
}
.quiz-product-line {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #A45D4B;
  text-transform: uppercase;
}
.quiz-product-name {
  font-size: 13.5px;
  font-weight: 600;
  color: #18191B;
  margin: 2px 0 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.quiz-product-meta {
  font-size: 12px;
  color: #826E71;
}
.quiz-product-price {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 700;
  color: #18191B;
  margin-left: 10px;
  shrink: 0;
  white-space: nowrap;
}
.quiz-product-add-btn {
  background: #FFFFFF;
  border: 1px solid rgba(24, 25, 27, 0.14);
  color: #18191B;
  border-radius: 10px;
  padding: 6px 12px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  shrink: 0;
}
.quiz-product-add-btn:hover {
  background: #18191B;
  color: #FFFFFF;
  border-color: #18191B;
}

/* Bundle Price & Main Buy Bar */
.quiz-bundle-panel {
  background: linear-gradient(135deg, #FAF7F5 0%, #F5EFEB 100%);
  border: 1.5px solid rgba(164, 93, 75, 0.35);
  border-radius: 20px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin: 20px 0 24px;
}
.quiz-bundle-summary {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.quiz-bundle-lbl {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #826E71;
  text-transform: uppercase;
}
.quiz-bundle-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.quiz-bundle-total {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  color: #18191B;
}
.quiz-bundle-old {
  font-size: 14px;
  color: #94A3B8;
  text-decoration: line-through;
}
.quiz-bundle-tag {
  background: #A45D4B;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.04em;
}
.quiz-btn-bundle {
  background: linear-gradient(135deg, #C99789 0%, #A45D4B 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 9999px;
  padding: 14px 28px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 22px -4px rgba(201, 151, 137, 0.45);
}
.quiz-btn-bundle:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(164, 93, 75, 0.55);
}

/* Targeted Upsells (Допродажі) */
.quiz-upsells-section {
  border-top: 1px solid rgba(24, 25, 27, 0.08);
  padding-top: 20px;
  margin-top: 10px;
}
.quiz-upsells-header {
  margin-bottom: 14px;
}
.quiz-upsells-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  color: #18191B;
  margin: 0 0 4px;
}
.quiz-upsells-desc {
  font-size: 12px;
  color: #826E71;
  margin: 0;
}
.quiz-upsells-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (max-width: 600px) {
  .quiz-upsells-grid {
    grid-template-columns: 1fr;
  }
}
.quiz-upsell-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #FFFFFF;
  border: 1px solid rgba(24, 25, 27, 0.09);
  border-radius: 16px;
  transition: all 0.2s ease;
}
.quiz-upsell-card:hover {
  border-color: #A45D4B;
  box-shadow: 0 6px 18px -4px rgba(24, 25, 27, 0.06);
}
.quiz-upsell-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: #FAF7F5;
  border-radius: 10px;
  padding: 2px;
  shrink: 0;
}
.quiz-upsell-info {
  flex: 1;
  min-width: 0;
}
.quiz-upsell-name {
  font-size: 12.5px;
  font-weight: 600;
  color: #18191B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.quiz-upsell-benefit {
  font-size: 11px;
  color: #826E71;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.quiz-upsell-price {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: #A45D4B;
}
.quiz-upsell-add-btn {
  background: #FAF7F5;
  border: 1px solid rgba(24, 25, 27, 0.12);
  color: #18191B;
  border-radius: 8px;
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.quiz-upsell-add-btn:hover {
  background: #18191B;
  color: #FFFFFF;
}

/* Secondary Meta Row */
.quiz-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px dashed rgba(24, 25, 27, 0.1);
  font-size: 12px;
  flex-wrap: wrap;
  gap: 10px;
}
.quiz-restart-link {
  color: #826E71;
  text-decoration: underline;
  cursor: pointer;
}
.quiz-restart-link:hover {
  color: #18191B;
}
.quiz-tg-link {
  color: #A45D4B;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.quiz-tg-link:hover {
  color: #18191B;
}

/* Slide-in Cart Drawer */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(24, 25, 27, 0.45);
  backdrop-filter: blur(4px);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.cart-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 460px;
  background: var(--color-white);
  z-index: 101;
  box-shadow: var(--shadow-drawer);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.cart-drawer.active {
  transform: translateX(0);
}
.cart-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid var(--color-subtle-border);
}
.cart-drawer-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
}
.cart-free-shipping-bar {
  padding: 16px 24px;
  background: var(--color-porcelain);
  border-bottom: 1px solid var(--color-subtle-border);
}
.shipping-progress-track {
  height: 5px;
  background: rgba(24, 25, 27, 0.08);
  border-radius: var(--radius-full);
  margin-top: 8px;
  overflow: hidden;
}
.shipping-progress-fill {
  width: 0%;
  height: 100%;
  background: var(--color-rose-deep);
  transition: width 0.3s ease;
}

.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cart-item {
  display: flex;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-subtle-border);
}
.cart-item-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: var(--color-porcelain-light);
  border-radius: var(--radius-sm);
  padding: 4px;
}
.cart-item-info {
  flex: 1;
}
.cart-item-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-graphite);
  margin-bottom: 5px;
  line-height: 1.35;
}
.cart-item-price {
  font-family: var(--font-mono);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--color-graphite);
}
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}
.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  border: 1px solid var(--color-subtle-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  background: var(--color-white);
  transition: var(--transition-smooth);
}

.cart-drawer-footer {
  padding: 24px;
  border-top: 1px solid var(--color-subtle-border);
  background: var(--color-porcelain-light);
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.cart-total-label {
  font-size: 14px;
  color: var(--color-muted);
}
.cart-total-value {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-graphite);
}

/* AI Pearl Assistant Widget */
.ai-pearl-floating-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-graphite);
  color: var(--color-white);
  padding: 12px 20px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 28px rgba(24, 25, 27, 0.2);
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.ai-pearl-floating-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 36px rgba(24, 25, 27, 0.28);
}
.pearl-mini-orb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #FFFFFF, var(--color-oxygen));
  box-shadow: 0 0 8px var(--color-oxygen);
}

.ai-pearl-modal {
  position: fixed;
  bottom: 96px;
  right: 32px;
  width: 400px;
  max-width: calc(100vw - 32px);
  height: 520px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-subtle-border);
  box-shadow: var(--shadow-hover);
  z-index: 95;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.95);
  transition: var(--transition-smooth);
}
.ai-pearl-modal.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.ai-pearl-chat-header {
  padding: 18px 20px;
  background: var(--color-graphite);
  color: var(--color-white);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ai-pearl-chat-body {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ai-bubble {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
}
.ai-bubble.assistant {
  background: var(--color-porcelain);
  color: var(--color-graphite);
  border-bottom-left-radius: 2px;
}
.ai-bubble.user {
  background: var(--color-graphite);
  color: var(--color-white);
  margin-left: auto;
  border-bottom-right-radius: 2px;
}
.ai-presets {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}
.ai-preset-btn {
  text-align: left;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: var(--color-white);
  border: 1px solid var(--color-subtle-border);
  font-size: 13.5px;
  color: var(--color-graphite);
  cursor: pointer;
  transition: var(--transition-smooth);
  line-height: 1.4;
}
.ai-preset-btn:hover {
  background: var(--color-rose-nude);
  border-color: var(--color-rose-accent);
}
.ai-pearl-chat-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--color-subtle-border);
  display: flex;
  gap: 8px;
}
.ai-pearl-input {
  flex: 1;
  padding: 10px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-subtle-border);
  font-size: 14px;
}

/* Footer */
.site-footer {
  background: var(--color-graphite);
  color: var(--color-porcelain-light);
  padding: 72px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 64px;
}
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}
@media (max-width: 540px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
.footer-col-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 20px;
  color: var(--color-white);
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-link {
  font-size: 14.5px;
  color: rgba(248, 246, 242, 0.7);
  transition: var(--transition-smooth);
}
.footer-link:hover {
  color: var(--color-rose-accent);
  padding-left: 4px;
}
.footer-newsletter-text {
  font-size: 14.5px;
  color: rgba(248, 246, 242, 0.7);
  margin-bottom: 16px;
  line-height: 1.65;
}
.newsletter-form {
  display: flex;
  gap: 8px;
}
.newsletter-input {
  flex: 1;
  padding: 12px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-white);
  font-size: 14px;
}
.newsletter-btn {
  padding: 12px 20px;
  border-radius: var(--radius-full);
  background: var(--color-rose-deep);
  color: var(--color-white);
  font-size: 13.5px;
  font-weight: 600;
  transition: var(--transition-smooth);
}
.newsletter-btn:hover {
  background: var(--color-rose-accent);
}
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(248, 246, 242, 0.5);
  flex-wrap: wrap;
  gap: 16px;
}

/* Mobile Bottom Navigation (PWA style) */
.mobile-nav-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--color-subtle-border);
  z-index: 95;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
}
@media (max-width: 992px) {
  body {
    padding-bottom: 72px; /* space for PWA bottom bar so content is never covered */
  }
  .mobile-nav-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
  .ai-pearl-floating-btn {
    bottom: 80px;
    right: 16px;
  }
}
.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-muted);
  gap: 4px;
  text-decoration: none;
  transition: color 0.15s ease;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 6px;
}
.mobile-nav-item:hover,
.mobile-nav-item.active {
  color: var(--color-rose-deep);
}

/* Single Product Layout */
.single-product-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 56px;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 900px) {
  .single-product-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
.single-product-gallery {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-subtle-border);
  padding: 32px;
  text-align: center;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .single-product-gallery {
    padding: 16px;
  }
}
.single-product-img {
  max-width: 90%;
  max-height: 380px;
  margin: 0 auto;
  object-fit: contain;
  display: block;
}
@media (max-width: 768px) {
  .single-product-img {
    max-height: 230px;
  }
}

/* AI Pearl Product Cards in Chat */
.ai-product-card {
  display: flex;
  gap: 10px;
  align-items: center;
  background: var(--color-white);
  border: 1px solid var(--color-subtle-border);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  margin-top: 8px;
}
.ai-product-card img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 4px;
  background: var(--color-porcelain-light);
  flex-shrink: 0;
}
.ai-product-card-title {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-graphite);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ai-product-card-price {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-graphite);
}
.ai-product-card-btn {
  margin-left: auto;
  font-size: 10px;
  font-weight: 600;
  padding: 4px 10px;
  background: var(--color-graphite);
  color: #fff;
  border-radius: var(--radius-full);
  white-space: nowrap;
  flex-shrink: 0;
}
.ai-product-card-btn:hover {
  background: var(--color-rose-deep);
}

/* ==========================================================================
   VISUAL "WOW" REDESIGN SYSTEM: CLINICAL COUTURE LUXURY
   ========================================================================== */

/* 1. Atmospheric Ambient Glow Orbs */
.ambient-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.38;
  contain: strict;
  will-change: transform;
}
@media (max-width: 768px) {
  .ambient-glow-orb {
    display: none !important;
  }
}
.ambient-glow-orb.orb-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, #C99789 0%, rgba(201, 151, 137, 0) 70%);
  top: -120px;
  right: -60px;
  animation: orbFloat1 20s ease-in-out infinite alternate;
}
.ambient-glow-orb.orb-2 {
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, #2A9D8F 0%, rgba(42, 157, 143, 0) 70%);
  bottom: -90px;
  left: -140px;
  opacity: 0.22;
  animation: orbFloat2 24s ease-in-out infinite alternate;
}
@keyframes orbFloat1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-35px, 45px) scale(1.08); }
  100% { transform: translate(25px, -25px) scale(0.94); }
}
@keyframes orbFloat2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(45px, -35px) scale(1.1); }
  100% { transform: translate(-25px, 35px) scale(0.92); }
}

/* 2. Hero 2.0 Editorial Typography & Frosted Clinical Badges */
.hero-title em {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, #A45D4B 0%, #D48B77 50%, #C99789 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-clinical-chip {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 18px;
  border-radius: 16px;
  box-shadow: 0 16px 36px -6px rgba(24, 25, 27, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  border: 1px solid rgba(226, 222, 214, 0.7);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.hero-clinical-chip:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 22px 42px -6px rgba(24, 25, 27, 0.16);
}
.hero-clinical-chip.chip-top {
  top: 24px;
  left: -28px;
}
.hero-clinical-chip.chip-bottom {
  bottom: 50px;
  right: -24px;
}
@media (max-width: 991px) {
  .hero-clinical-chip.chip-top {
    top: 10px;
    left: 10px;
  }
  .hero-clinical-chip.chip-bottom {
    bottom: 10px;
    right: 10px;
  }
}
.chip-metric {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-rose-deep);
  line-height: 1;
}
.chip-icon-o2 {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(42, 157, 143, 0.12);
  color: #2A9D8F;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chip-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.chip-text strong {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-graphite);
  line-height: 1.25;
}
.chip-text span {
  font-size: 11px;
  color: var(--color-muted);
  line-height: 1.2;
  margin-top: 2px;
}

/* 3. Kinetic Marquee Section */
.kinetic-marquee-section {
  overflow: hidden;
  white-space: nowrap;
  background: #141517;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  margin-top: auto;
  width: 100%;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeRoll 32s linear infinite;
}
.marquee-track:hover {
  animation-play-state: paused;
}
.marquee-content {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-right: 32px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(248, 246, 242, 0.88);
}
.marquee-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-rose-accent);
  box-shadow: 0 0 8px rgba(201, 151, 137, 0.85);
  display: inline-block;
  flex-shrink: 0;
}
@keyframes marqueeRoll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* 4. Dark Obsidian Biotech Section: «Skeyndor Science Lab» */
.biotech-section {
  position: relative;
  background: #101114;
  color: #F8F6F2;
  padding: 100px 0 90px;
  overflow: hidden;
}
.biotech-ambient-radial {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 85% 20%, rgba(42, 157, 143, 0.14) 0%, transparent 50%),
    radial-gradient(circle at 15% 80%, rgba(201, 151, 137, 0.12) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}
.biotech-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}
.biotech-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--color-oxygen);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}
.biotech-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2A9D8F;
  box-shadow: 0 0 10px #2A9D8F;
  animation: biotechPulse 2s infinite ease-in-out;
}
@keyframes biotechPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
}
.biotech-title {
  color: #FFFFFF !important;
  font-size: 42px;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.biotech-gradient-text {
  background: linear-gradient(135deg, #FFFFFF 20%, #E8C3B9 70%, #C99789 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
}
.biotech-desc {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(248, 246, 242, 0.65);
  max-width: 660px;
  margin: 0 auto;
}

.biotech-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}
@media (max-width: 991px) {
  .biotech-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
.biotech-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 36px 30px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.biotech-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(201, 151, 137, 0.35);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4), 0 0 30px rgba(201, 151, 137, 0.1);
}
.biotech-card.highlighted {
  border-color: rgba(201, 151, 137, 0.25);
  background: linear-gradient(180deg, rgba(201, 151, 137, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
}
.biotech-card-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-rose-accent);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.biotech-card-heading {
  font-family: var(--font-serif);
  font-size: 23px;
  line-height: 1.25;
  color: #FFFFFF;
  margin-bottom: 12px;
}
.biotech-card-text {
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(248, 246, 242, 0.65);
  margin-bottom: 24px;
  flex: 1;
}
.biotech-card-metric {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.biotech-card-metric .metric-num {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: #FFFFFF;
}
.biotech-card-metric .metric-label {
  font-size: 11.5px;
  color: rgba(248, 246, 242, 0.55);
  line-height: 1.25;
}

.biotech-stats-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 32px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}
@media (max-width: 768px) {
  .biotech-stats-ribbon {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}
.b-stat-val {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: 6px;
}
.b-stat-lbl {
  font-size: 12.5px;
  color: rgba(248, 246, 242, 0.6);
  letter-spacing: 0.02em;
}

/* ==========================================================================
   CLEAN LUXURY EDITORIAL SINGLE PRODUCT PAGE LAYOUT
   ========================================================================== */
.sp-main-wrapper {
  padding: 32px 0 80px;
  background: var(--color-porcelain-light);
}
.sp-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #64748B;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.sp-breadcrumbs a {
  color: #18191B;
  text-decoration: none;
  transition: color 0.2s ease;
}
.sp-breadcrumbs a:hover {
  color: var(--color-rose-deep);
}
.sp-bc-sep {
  color: #CBD5E1;
  font-weight: 600;
}
.sp-bc-current {
  color: #94A3B8;
  max-width: 380px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 2-Column Product Stage */
.sp-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 44px;
  align-items: flex-start;
  margin-bottom: 48px;
}
@media (max-width: 991px) {
  .sp-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Left: Showcase Card */
.sp-gallery-card {
  background: #FFFFFF;
  border: 1px solid rgba(24, 25, 27, 0.08);
  border-radius: 24px;
  padding: 24px 28px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px -10px rgba(24, 25, 27, 0.04);
}
.sp-gallery-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.sp-line-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: #18191B;
  color: #FFFFFF;
}
.sp-gallery-actions {
  display: flex;
  gap: 8px;
}
.sp-action-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F8FAFC;
  border: 1px solid rgba(24, 25, 27, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #18191B;
  transition: all 0.2s ease;
}
.sp-action-btn:hover {
  background: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  color: var(--color-rose-deep);
}
.sp-image-frame {
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 12px 0 20px;
  background: #FFFFFF;
  border-radius: 18px;
}
.sp-image-frame::after {
  display: none !important;
}
.sp-gallery-card:hover .sp-image-frame::after {
  display: none !important;
}
.sp-image-primary {
  max-height: 320px;
  max-width: 88%;
  object-fit: contain;
  position: relative;
  z-index: 2;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.sp-gallery-card:hover .sp-image-primary {
  transform: translateY(-6px) scale(1.04);
}

/* 3 Metric Chips Row */
.sp-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(24, 25, 27, 0.06);
}
.sp-metric-chip {
  background: #F8FAFC;
  border: 1px solid rgba(24, 25, 27, 0.07);
  border-radius: 14px;
  padding: 10px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  min-height: 58px;
}
.sp-chip-lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #94A3B8;
  text-transform: uppercase;
}
.sp-chip-val {
  font-size: 12.5px;
  font-weight: 700;
  color: #18191B;
  line-height: 1.25;
}
@media (max-width: 480px) {
  .sp-metrics-row {
    gap: 8px;
    padding-top: 14px;
  }
  .sp-metric-chip {
    padding: 8px 6px;
    min-height: 52px;
    border-radius: 12px;
  }
  .sp-chip-lbl {
    font-size: 8.5px;
    letter-spacing: 0.08em;
  }
  .sp-chip-val {
    font-size: 11.5px;
  }
}

/* Right: Product Summary */
.sp-summary-card {
  display: flex;
  flex-direction: column;
}
.sp-meta-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.sp-origin-tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #A45D4B;
  text-transform: uppercase;
}
.sp-rating-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13.5px;
  font-weight: 600;
  color: #18191B;
}
.sp-star {
  color: #F59E0B;
}
.sp-rev-count {
  color: #94A3B8;
  font-weight: 400;
}
.sp-title {
  font-size: 38px;
  line-height: 1.15;
  font-weight: 500;
  color: #18191B;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.sp-subtitle {
  font-size: 15.5px;
  color: #64748B;
  margin-bottom: 20px;
}
.sp-price-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(24, 25, 27, 0.08);
  margin-bottom: 20px;
}
.sp-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.sp-price-curr {
  font-size: 34px;
  font-weight: 700;
  color: #18191B;
  letter-spacing: -0.02em;
}
.sp-price-old {
  font-size: 17px;
  text-decoration: line-through;
  color: #94A3B8;
}
.sp-installment-badge {
  font-size: 11.5px;
  font-weight: 600;
  background: rgba(42, 157, 143, 0.12);
  color: #2A9D8F;
  padding: 5px 12px;
  border-radius: var(--radius-full);
}
.sp-description {
  font-size: 15px;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 22px;
}

.sp-description-lead {
  margin: 0 0 18px;
  color: var(--color-graphite);
  font-size: 15px;
  line-height: 1.65;
}

.sp-buying-facts,
.sp-product-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.sp-buying-facts > div,
.sp-product-overview-grid > div {
  padding: 14px 16px;
  background: var(--color-porcelain-light);
  border: 1px solid var(--color-subtle-border);
  border-radius: var(--radius-sm);
}

.sp-buying-facts span,
.sp-product-overview-grid span {
  display: block;
  margin-bottom: 5px;
  color: var(--color-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sp-buying-facts strong,
.sp-product-overview-grid strong {
  display: block;
  color: var(--color-graphite);
  font-size: 13px;
  line-height: 1.45;
}

.sp-product-overview-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 22px 0 34px;
}

@media (max-width: 640px) {
  .sp-buying-facts,
  .sp-product-overview-grid { grid-template-columns: 1fr; }
}

/* Skeyndor Guarantee Banner */
.sp-guarantee-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(196, 151, 142, 0.08);
  border: 1px solid rgba(196, 151, 142, 0.28);
  border-radius: 16px;
  padding: 14px 18px;
  margin-bottom: 24px;
}
.sp-guarantee-icon {
  color: var(--color-rose-deep);
  flex-shrink: 0;
  margin-top: 2px;
}
.sp-guarantee-text strong {
  font-size: 13.5px;
  font-weight: 700;
  color: #18191B;
  display: block;
  margin-bottom: 3px;
}
.sp-guarantee-text p {
  font-size: 12.5px;
  line-height: 1.5;
  color: #64748B;
  margin: 0;
}

/* Purchase Actions Console */
.sp-actions-console {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.sp-actions-row-primary {
  display: flex;
  gap: 14px;
}
@media (max-width: 440px) {
  .sp-actions-row-primary {
    flex-direction: column;
  }
  .sp-qty-stepper {
    justify-content: center;
    width: 100%;
  }
}
.sp-qty-stepper {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 1.5px solid rgba(24, 25, 27, 0.15);
  border-radius: var(--radius-full);
  padding: 3px;
  transition: border-color 0.2s ease;
}
.sp-qty-stepper:focus-within {
  border-color: var(--color-rose-accent);
}
.sp-qty-btn {
  width: 38px;
  height: 38px;
  border: none;
  background: none;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-graphite);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}
.sp-qty-btn:hover {
  background: var(--color-rose-nude);
  color: var(--color-rose-deep);
}
.sp-qty-stepper input {
  width: 38px;
  border: none;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: #18191B;
  background: none;
}
.sp-btn-add-cart {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #141517;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 15px 28px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 20px -4px rgba(20, 21, 23, 0.25);
}
.sp-btn-add-cart:hover {
  background: #000000;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px -4px rgba(20, 21, 23, 0.35);
}
.sp-btn-one-click {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #C99789 0%, #A45D4B 100%);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 15px 28px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 8px 22px -4px rgba(201, 151, 137, 0.45);
}
.sp-btn-one-click:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(201, 151, 137, 0.6);
  filter: brightness(1.04);
}

.sp-trust-strip {
  display: flex;
  gap: 22px;
  font-size: 13px;
  color: #64748B;
  flex-wrap: wrap;
}
.sp-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.sp-trust-item svg {
  color: var(--color-rose-deep);
}

/* Tabs Card Container */
.sp-details-container {
  background: #FFFFFF;
  border: 1px solid rgba(24, 25, 27, 0.08);
  border-radius: 24px;
  padding: 36px 40px;
  box-shadow: 0 6px 24px -6px rgba(24, 25, 27, 0.04);
}
@media (max-width: 768px) {
  .sp-details-container {
    padding: 24px 20px;
  }
}
.sp-tabs-nav {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid rgba(24, 25, 27, 0.08);
  padding-bottom: 16px;
  margin-bottom: 32px;
  overflow-x: auto;
}
.sp-tab-btn {
  padding: 11px 22px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  background: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.sp-tab-btn:hover {
  color: var(--color-graphite);
  background: var(--color-porcelain-light);
  border-color: var(--color-subtle-border);
}
.sp-tab-btn.active {
  background: #141517;
  color: #FFFFFF;
  border-color: #141517;
  box-shadow: 0 4px 14px rgba(20, 21, 23, 0.18);
}

.sp-tab-pane {
  display: none;
}
.sp-tab-pane.active {
  display: block;
  animation: spFade 0.35s ease;
}
@keyframes spFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.sp-section-heading {
  font-size: 26px;
  font-weight: 500;
  color: #18191B;
  margin-bottom: 16px;
}
.sp-lead-p {
  font-size: 15.5px;
  line-height: 1.75;
  color: #475569;
  max-width: 780px;
  margin-bottom: 28px;
}
.sp-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 768px) {
  .sp-features-grid {
    grid-template-columns: 1fr;
  }
}
.sp-feature-box {
  background: #F8FAFC;
  border: 1px solid rgba(24, 25, 27, 0.06);
  border-radius: 16px;
  padding: 22px;
}
.sp-feature-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-rose-deep);
  text-transform: uppercase;
}
.sp-feature-box h4 {
  font-size: 16px;
  font-weight: 700;
  color: #18191B;
  margin: 6px 0 8px;
}
.sp-feature-box p {
  font-size: 13.5px;
  color: #64748B;
  line-height: 1.55;
  margin: 0;
}

/* Actives List */
.sp-actives-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 780px;
}
.sp-active-card {
  display: flex;
  gap: 18px;
  background: #F8FAFC;
  border: 1px solid rgba(24, 25, 27, 0.06);
  border-radius: 16px;
  padding: 20px;
}
.sp-active-num {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-rose-deep);
  line-height: 1;
}
.sp-active-title {
  font-size: 16px;
  font-weight: 700;
  color: #18191B;
  margin-bottom: 4px;
}
.sp-active-desc {
  font-size: 13.5px;
  color: #64748B;
  line-height: 1.55;
  margin: 0;
}

/* Usage Steps Flow */
.sp-steps-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 900px) {
  .sp-steps-flow {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 540px) {
  .sp-steps-flow {
    grid-template-columns: 1fr;
  }
}
.sp-step-item {
  background: #F8FAFC;
  border: 1px solid rgba(24, 25, 27, 0.06);
  border-radius: 16px;
  padding: 20px;
}
.sp-step-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-rose-deep);
  margin-bottom: 8px;
}
.sp-step-item h4 {
  font-size: 15.5px;
  font-weight: 700;
  color: #18191B;
  margin-bottom: 6px;
}
.sp-step-item p {
  font-size: 13px;
  color: #64748B;
  line-height: 1.5;
  margin: 0;
}

/* Compatibility Grid */
.sp-compat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 768px) {
  .sp-compat-grid {
    grid-template-columns: 1fr;
  }
}
.sp-compat-col {
  border-radius: 16px;
  padding: 24px;
}
.sp-compat-col.safe {
  background: rgba(5, 150, 105, 0.06);
  border: 1px solid rgba(5, 150, 105, 0.2);
}
.sp-compat-col.safe h4 {
  color: #047857;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}
.sp-compat-col.caution {
  background: rgba(239, 68, 68, 0.04);
  border: 1px solid rgba(239, 68, 68, 0.2);
}
.sp-compat-col.caution h4 {
  color: #B91C1C;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}
.sp-compat-col ul {
  padding-left: 20px;
  font-size: 14px;
  color: #475569;
  line-height: 1.65;
  margin: 0;
}

/* Reviews List */
.sp-reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}
.sp-reviews-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sp-review-card {
  background: #F8FAFC;
  border: 1px solid rgba(24, 25, 27, 0.06);
  border-radius: 16px;
  padding: 22px;
}
.sp-rev-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.sp-rev-author {
  font-size: 14.5px;
  color: #18191B;
}
.sp-rev-badge {
  font-size: 11px;
  background: rgba(196, 151, 142, 0.15);
  color: var(--color-rose-deep);
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  margin-left: 8px;
}
.sp-rev-stars {
  color: #F59E0B;
  font-size: 14px;
  letter-spacing: 2px;
}
.sp-rev-text {
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 8px;
}
.sp-rev-date {
  font-size: 12px;
  color: #94A3B8;
}

/* Related Products Section in Single Product */
.sp-related-section {
  margin-top: 60px;
  padding-top: 48px;
  border-top: 1px solid var(--color-subtle-border);
}
.sp-related-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
}
.sp-related-title {
  font-size: 32px;
  line-height: 1.25;
  color: var(--color-graphite);
  margin: 10px 0 12px;
}
.sp-related-desc {
  font-size: 14.5px;
  color: var(--color-muted);
  line-height: 1.6;
}
.sp-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 1024px) {
  .sp-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}
@media (max-width: 540px) {
  .sp-related-grid {
    grid-template-columns: 1fr;
  }
}

/* 1-Click Buy Modal */
.sp-one-click-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.sp-one-click-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.sp-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 25, 27, 0.6);
  backdrop-filter: blur(6px);
}
.sp-modal-card {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 440px;
  background: #FFFFFF;
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  animation: spModalIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes spModalIn {
  from { transform: translateY(20px) scale(0.96); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.sp-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 26px;
  color: #94A3B8;
  cursor: pointer;
  line-height: 1;
}
.sp-modal-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(24, 25, 27, 0.08);
}
.sp-modal-title {
  font-size: 20px;
  color: #18191B;
  margin: 8px 0 4px;
}
.sp-modal-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-rose-deep);
}
.sp-form-group {
  margin-bottom: 14px;
}
.sp-form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 6px;
}
.sp-form-group input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(24, 25, 27, 0.15);
  font-size: 14px;
  box-sizing: border-box;
}
.sp-form-group input:focus {
  outline: none;
  border-color: #18191B;
}
.sp-btn-submit-quick {
  width: 100%;
  padding: 15px 24px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #C99789 0%, #A45D4B 100%);
  color: #FFFFFF;
  border: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: 0 8px 22px -4px rgba(201, 151, 137, 0.45);
  margin-top: 10px;
}
.sp-btn-submit-quick:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(201, 151, 137, 0.6);
  filter: brightness(1.04);
}

/* ==========================================================================
   PRE-FOOTER PRIVILEGES STRIP & LUXURY FOOTER SYSTEM
   ========================================================================== */

/* Pre-Footer Privileges Strip */
.footer-privileges-bar {
  background: #F6F3EE;
  border-top: 1px solid rgba(24, 25, 27, 0.06);
  border-bottom: 1px solid rgba(24, 25, 27, 0.06);
  padding: 44px 0;
}
.privileges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 991px) {
  .privileges-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}
@media (max-width: 540px) {
  .privileges-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
.privilege-card {
  display: flex;
  align-items: center;
  gap: 14px;
}
.privilege-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #FFFFFF;
  border: 1px solid rgba(24, 25, 27, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-rose-deep);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}
.privilege-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #18191B;
  margin-bottom: 2px;
}
.privilege-text span {
  font-size: 12px;
  color: #4B5563;
  line-height: 1.35;
}

/* Luxury Main Footer */
.site-footer {
  position: relative;
  background: #0F1012;
  color: #F8F6F2;
  padding: 72px 0 36px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-ambient-glow {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 10% 20%, rgba(201, 151, 137, 0.1) 0%, transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(42, 157, 143, 0.08) 0%, transparent 45%);
  pointer-events: none;
  z-index: 1;
}

/* VIP Privé Card (The "Ізюминка") */
.footer-vip-card {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 36px 44px;
  margin-bottom: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.vip-card-main {
  position: relative;
  flex: 1;
  min-width: 0;
}
.vip-card-content {
  flex: 1;
  min-width: 0;
}
.vip-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-rose-accent);
  margin-bottom: 10px;
}
.vip-sparkle {
  color: var(--color-rose-accent);
  font-size: 11px;
}
.vip-title {
  font-size: 26px;
  font-weight: 400;
  line-height: 1.25;
  color: #FFFFFF;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.vip-desc {
  font-size: 13.5px;
  color: rgba(248, 246, 242, 0.65);
  line-height: 1.6;
  max-width: 560px;
  margin: 0;
}
.vip-desc strong {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}
.vip-perks-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.vip-perk-item {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: rgba(248, 246, 242, 0.72);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.vip-check {
  color: var(--color-rose-accent);
  font-weight: 700;
}
.vip-form-wrap {
  position: relative;
  width: 390px;
  flex-shrink: 0;
}
.vip-newsletter-form {
  display: flex;
  gap: 8px;
}
.vip-input {
  flex: 1;
  padding: 12px 18px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: #FFFFFF;
  font-size: 13.5px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.vip-input::placeholder {
  color: rgba(248, 246, 242, 0.4);
}
.vip-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.06);
}
.vip-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  color: #0F1012;
  border: 1px solid #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}
.vip-submit-btn:hover {
  background: #F0EDE6;
  border-color: #F0EDE6;
  transform: translateY(-1px);
}
.vip-privacy-note {
  font-size: 11px;
  color: rgba(248, 246, 242, 0.4);
  margin-top: 8px;
  text-align: left;
  line-height: 1.4;
}
@media (max-width: 1024px) {
  .footer-vip-card {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 28px;
  }
  .vip-form-wrap {
    width: 100%;
  }
}
@media (max-width: 600px) {
  .footer-vip-card {
    padding: 22px 18px;
  }
  .vip-newsletter-form {
    flex-direction: column;
  }
  .vip-submit-btn {
    justify-content: center;
    width: 100%;
  }
  .vip-perks-row {
    gap: 12px;
  }
}

.footer-brand-quote {
  font-style: italic;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(248, 246, 242, 0.65);
  margin-bottom: 20px;
}
.footer-messenger-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-messenger-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}
.footer-messenger-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-rose-accent);
  transform: translateY(-2px);
}

.footer-phone-main {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  color: #FFFFFF;
  text-decoration: none;
  display: block;
  margin-bottom: 2px;
}
.footer-phone-main:hover {
  color: var(--color-rose-accent);
}
.footer-time-lbl {
  font-size: 12px;
  color: rgba(248, 246, 242, 0.5);
}
.footer-highlight-pill {
  display: inline-block;
  background: rgba(42, 157, 143, 0.15);
  color: #2A9D8F;
  border: 1px solid rgba(42, 157, 143, 0.3);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(248, 246, 242, 0.5);
  flex-wrap: wrap;
  gap: 20px;
  padding-right: 170px; /* Clearance for fixed floating Pearl button */
}
@media (max-width: 1200px) {
  .footer-bottom {
    padding-right: 0;
  }
}
@media (max-width: 900px) {
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
    padding-bottom: 24px;
  }
}
.footer-payment-badges {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.pay-logo-badge {
  background: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  border-radius: 7px;
  height: 32px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  vertical-align: middle;
  box-sizing: border-box;
}
.pay-logo-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.pay-logo-badge svg {
  display: block;
  max-height: 18px;
  width: auto;
  object-fit: contain;
}
.pay-badge-text {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
  color: #18191B;
  margin-left: 6px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.pay-badge-shield {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(42, 157, 143, 0.15);
  border: 1px solid rgba(42, 157, 143, 0.4);
  color: #38B2A3;
  padding: 0 12px;
  border-radius: 7px;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
  height: 32px;
  box-sizing: border-box;
  white-space: nowrap;
}


/* Keep the product grid focused: the section header already provides the catalog route. */
.checkout-success {
  max-width: 680px;
  margin: 40px auto;
  padding: 48px;
  border: 1px solid var(--color-subtle-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  text-align: center;
}
.checkout-success h2 { margin: 14px 0 8px; font-size: 34px; }
.checkout-success p { max-width: 520px; margin: 0 auto 24px; }

/* ==========================================================================
   UNIFIED LUXURY TYPOGRAPHY & NUMBERS SYSTEM
   ========================================================================== */

/* 1. All Numbers & Prices Unified to Clean Lining & Tabular Figures */
.font-mono,
.hero-stat-number,
.hero-card-price,
.hero-card-old-price,
.product-card-price,
.product-card-old-price,
.catalog-product-price,
.catalog-product-old-price,
.sp-price-current,
.sp-price-old,
.sp-summary-val,
.sp-rec-price,
.routine-price-val,
.routine-price-old,
.routine-step-num,
.cart-item-price,
.cart-total-value,
.header-cart-total,
.cart-count-badge,
.wishlist-count-badge,
.badge-discount,
.quiz-plan-price,
.quiz-res-price,
.quiz-item-price,
.quiz-stat-val,
.biotech-metric-num,
.search-result-item .item-price,
.marquee-content span,
.hero-card-line {
  font-family: var(--font-sans) !important;
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}

/* 2. Headings & Editorial Serif - Straight Lining Numbers */
h1, h2, h3, h4, h5, h6,
.font-serif,
.hero-title,
.section-title,
.biotech-title,
.sp-section-heading,
.vip-title {
  font-family: var(--font-serif);
  font-variant-numeric: lining-nums proportional-nums;
  font-feature-settings: "lnum" 1;
}

/* 3. Site Vector Logo Images */
.site-logo-img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.site-logo-img:hover {
  opacity: 0.92;
  transform: translateY(-0.5px);
}
.site-logo-footer {
  height: 46px;
}
.drawer-header .site-logo-img {
  height: 34px;
}
@media (max-width: 768px) {
  .site-logo-img {
    height: 34px;
  }
}


/* ==========================================================================
   POLISH LAYER — accessibility, motion, print & micro-interactions
   ========================================================================== */

html { scroll-behavior: smooth; }

/* Screen-reader + skip-link utilities (WP core does not ship these on the front end). */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  position: absolute !important;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  clip: auto;
  clip-path: none;
  height: auto;
  width: auto;
  left: 16px;
  top: 16px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  background: var(--color-graphite);
  color: var(--color-porcelain-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hover);
  z-index: 300;
  text-decoration: none;
}

/* Announcement ticker rotation (markup emitted in header.php). */
.procosme-ticker-items span { display: none; }
.procosme-ticker-items span.active { display: inline; }

/* Visible, consistent keyboard focus ring. */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--color-rose-deep);
  outline-offset: 2px;
}
:where(button, input, select, textarea, a):focus:not(:focus-visible) { outline: none; }

/* Modern typographic wrapping (gracefully ignored by older engines). */
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }

/* Branded text selection. */
::selection { background: var(--color-rose-accent); color: var(--color-white); }

/* Subtle branded scrollbar. */
* { scrollbar-width: thin; scrollbar-color: rgba(24, 25, 27, 0.22) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(24, 25, 27, 0.22);
  border: 3px solid transparent;
  background-clip: content-box;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(24, 25, 27, 0.38); background-clip: content-box; }

/* The "pulse" keyframe was referenced but never defined — the header
   "Підбір догляду" indicator dot was therefore static. */
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.55; }
}

/* Honour the OS reduced-motion preference. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .marquee-track { animation: none !important; }
}

/* Print. */
@media print {
  .site-header, .mobile-menu-drawer, .cart-drawer, .cart-drawer-overlay,
  .ai-pearl-floating-btn, .ai-pearl-modal, .mobile-nav-bar, .procosme-ticker,
  .quiz-modal-backdrop, .quiz-modal-dialog, #quick-view-modal,
  .footer-privileges-bar, .footer-messenger-links, .vip-form-wrap { display: none !important; }
  body { background: #ffffff !important; color: #000000 !important; }
  a { text-decoration: underline; }
  .site-footer { background: #ffffff !important; color: #000000 !important; }
}

/* --------------------------------------------------------------------------
   Responsive typography refinements.
   .section-title was pinned at 42px and several page heroes hard-code 40–46px
   inline, which overflowed narrow viewports.
   -------------------------------------------------------------------------- */
.section-title { font-size: clamp(28px, 4.4vw, 42px); }

@media (max-width: 640px) {
  .hero-title { font-size: clamp(30px, 9vw, 40px) !important; }
  .section-title,
  .biotech-title,
  .vip-title { font-size: clamp(25px, 8vw, 32px) !important; }
  h1[style],
  h2[style] { font-size: clamp(1.6rem, 8.5vw, 2.3rem) !important; line-height: 1.18 !important; }
}

/* Keep dense two-column forms usable on small screens. */
@media (max-width: 640px) {
  .newsletter-input { font-size: 16px; } /* prevents iOS form zoom-on-focus */
}

/* ==========================================================================
   PROCOSME CLINICAL DESIGN SYSTEM - COMPONENT & LAYOUT CLASSES
   Eliminates all inline styles across all templates (452+ inline debt resolved)
   ========================================================================== */

/* --- General Shell & Page Headers --- */
.page-shell { padding: 48px 0 96px; }
.page-shell--compact { padding: 40px 0 80px; }
.page-container-narrow { max-width: 1080px; }
.page-container-checkout { max-width: 1060px; }
.page-container-b2b { max-width: 1040px; }
.page-container-quiz { max-width: 640px; }
.page-container-routines { max-width: 680px; }

.page-header-center { text-align: center; max-width: 800px; margin: 0 auto 56px; }
.page-header-center--compact { text-align: center; max-width: 680px; margin: 0 auto 36px; }
.page-header-center--routines { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.page-header-left { max-width: 820px; margin-bottom: 48px; }

.page-badge-row { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.page-badge-pill { margin-bottom: 12px; display: inline-block; }
.page-badge-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; }
.page-badge-dot--oxygen { background: var(--color-oxygen); }
.page-badge-dot--rose { background: var(--color-rose-deep); }
.page-badge-text { font-family: var(--font-mono); font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-rose-deep); }

.page-hero-title { font-size: 46px; line-height: 1.15; color: var(--color-graphite); margin-bottom: 16px; }
.page-hero-title--42 { font-size: 42px; line-height: 1.15; color: var(--color-graphite); margin-bottom: 12px; }
.page-hero-title--44 { font-size: 44px; color: var(--color-graphite); margin-bottom: 12px; }
.page-hero-desc { font-size: 16.5px; color: var(--color-muted); line-height: 1.68; }
.page-hero-desc--15 { font-size: 15px; color: var(--color-muted); line-height: 1.6; }

/* --- 1. Compatibility Matrix Classes --- */
.compat-panel {
  background: var(--color-white);
  border: 1.5px solid var(--color-subtle-border);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 50px -15px rgba(24, 25, 27, 0.08);
  margin-bottom: 64px;
}
.compat-panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--color-subtle-border);
  padding-bottom: 20px;
  margin-bottom: 32px;
}
.compat-panel-title {
  font-size: 26px;
  margin: 0;
  color: var(--color-graphite);
}
.compat-panel-badge {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--color-oxygen);
  background: rgba(42, 157, 143, 0.1);
  padding: 5px 14px;
  border-radius: 20px;
}
.compat-pair-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 36px;
}
.compat-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-graphite);
  margin-bottom: 8px;
}
.compat-select {
  width: 100%;
  font-size: 15px;
  padding: 14px 18px;
  border: 1px solid var(--color-subtle-border);
  color: var(--color-graphite);
  background: var(--color-porcelain-light);
  border-radius: 12px;
  cursor: pointer;
}
.compat-plus {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-porcelain);
  margin-top: 24px;
  font-weight: 700;
  color: var(--color-rose-deep);
}
.compat-result-box {
  border-radius: 16px;
  padding: 28px;
  background: #FDF9F7;
  border: 1.5px solid var(--color-rose-accent);
  transition: all 0.3s ease;
}
.compat-result-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.compat-result-badge {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 20px;
  background: #FFF4E5;
  color: #B45309;
}
.compat-result-badge--success { background: #D1FAE5; color: #065F46; }
.compat-result-badge--warning { background: #FEF3C7; color: #92400E; }
.compat-result-badge--danger { background: #FEE2E2; color: #991B1B; }

.compat-result-box--success { border-color: #10B981 !important; }
.compat-result-box--warning { border-color: #F59E0B !important; }
.compat-result-box--danger { border-color: #EF4444 !important; }
.compat-result-headline {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-graphite);
}
.compat-result-desc {
  font-size: 15px;
  line-height: 1.68;
  color: var(--color-graphite);
  margin-bottom: 16px;
}
.compat-reco-box {
  background: var(--color-white);
  border-radius: 12px;
  padding: 16px 20px;
  border: 1px solid var(--color-subtle-border);
  margin-bottom: 20px;
}
.compat-reco-title {
  color: var(--color-graphite);
  font-size: 13.5px;
  display: block;
  margin-bottom: 4px;
}
.compat-reco-text {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
}
.compat-result-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.compat-formula-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-rose-deep);
}
.compat-table-section { margin-bottom: 64px; }
.compat-table-title {
  font-size: 32px;
  color: var(--color-graphite);
  margin-bottom: 20px;
}
.compat-table-wrap {
  overflow-x: auto;
  background: var(--color-white);
  border-radius: 18px;
  border: 1px solid var(--color-subtle-border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
.compat-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 13.5px;
}
.compat-th-header {
  background: var(--color-graphite);
  color: var(--color-white);
}
.compat-th { padding: 18px; font-weight: 600; }
.compat-th--left { text-align: left; }
.compat-tr { border-bottom: 1px solid var(--color-subtle-border); }
.compat-td { padding: 16px; }
.compat-td--lead { padding: 16px 18px; text-align: left; font-weight: 700; }
.compat-td--empty { background: #F8F9FA; }
.compat-tag-synergy { color: #059669; font-weight: 700; }
.compat-tag-ampm { color: #D97706; font-weight: 700; }
.compat-tag-cycle { color: #DC2626; font-weight: 700; }
.compat-tag-required { color: #059669; font-weight: 700; }
.compat-legend {
  display: flex;
  gap: 24px;
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--color-muted);
  flex-wrap: wrap;
}

/* --- 2. B2B Portal Classes --- */
.b2b-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}
.b2b-pillar-card {
  background: var(--color-white);
  border: 1px solid var(--color-subtle-border);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.02);
}
.b2b-pillar-stat {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}
.b2b-pillar-stat--rose { color: var(--color-rose-deep); }
.b2b-pillar-stat--oxygen { color: var(--color-oxygen); }
.b2b-pillar-stat--graphite { color: var(--color-graphite); }
.b2b-pillar-title {
  font-size: 19px;
  margin-bottom: 8px;
  color: var(--color-graphite);
}
.b2b-pillar-desc {
  font-size: 13.5px;
  color: var(--color-muted);
  line-height: 1.55;
  margin: 0;
}
.b2b-form-card {
  background: var(--color-white);
  border: 1px solid var(--color-subtle-border);
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 16px 48px -12px rgba(24, 25, 27, 0.08);
}
.b2b-form-inner { max-width: 680px; margin: 0 auto; }
.b2b-form-head { text-align: center; margin-bottom: 36px; }
.b2b-form-title { font-size: 32px; color: var(--color-graphite); margin-bottom: 8px; }
.b2b-form-subtitle { font-size: 15px; color: var(--color-muted); line-height: 1.6; margin: 0; }
.b2b-grid-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.b2b-field-label { display: block; font-size: 13.5px; font-weight: 600; color: var(--color-graphite); margin-bottom: 8px; }
.b2b-select-input { width: 100%; border-radius: var(--radius-full); cursor: pointer; }
.b2b-textarea-input { width: 100%; border-radius: 12px; }
.b2b-btn-rose { width: 100%; padding: 18px; font-size: 16px; justify-content: center; background: var(--color-rose-deep); }

/* --- 3. Checkout Form Classes --- */
.checkout-header-wrap { margin-bottom: 32px; }
.checkout-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: flex-start;
}
@media (max-width: 991px) {
  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.checkout-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-subtle-border);
  background: var(--color-porcelain-light);
  color: var(--color-graphite);
  font-size: 14px;
  font-family: var(--font-sans);
  box-sizing: border-box;
  transition: var(--transition-smooth);
}
.checkout-input:focus {
  outline: none;
  border-color: var(--color-rose-deep);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(201, 151, 137, 0.15);
}
.checkout-panel {
  background: var(--color-white);
  border: 1px solid var(--color-subtle-border);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 24px;
  position: relative;
}
.checkout-panel-title { font-size: 22px; margin-bottom: 20px; }
.checkout-flex-between { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.checkout-tag-upper { font-size: 12.5px; font-weight: 600; color: var(--color-oxygen); text-transform: uppercase; }
.checkout-type-grid { display: flex; gap: 12px; margin-bottom: 20px; }
.checkout-type-item {
  flex: 1;
  padding: 14px;
  border: 1px solid var(--color-subtle-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}
.checkout-type-item.is-selected {
  border: 1.5px solid var(--color-graphite);
  font-weight: 600;
}
.checkout-stack { display: flex; flex-direction: column; gap: 18px; }
.checkout-field-wrap { position: relative; }
.np-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--color-surface, #FFFFFF);
  border: 1px solid var(--color-subtle-border, #E2E8F0);
  border-radius: var(--radius-sm, 8px);
  max-height: 240px;
  overflow-y: auto;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}
.np-dropdown-item {
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: background 0.15s ease;
}
.np-dropdown-item:last-child {
  border-bottom: none;
}
.np-dropdown-item:hover {
  background: #F8FAFC;
}
.np-dropdown-main {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-graphite, #18191B);
}
.np-dropdown-sub {
  font-size: 11px;
  color: var(--color-muted, #64748B);
  margin-top: 2px;
}
.checkout-methods-stack { display: flex; flex-direction: column; gap: 12px; }
.checkout-method-box {
  padding: 18px;
  border: 1px solid var(--color-subtle-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s;
}
.checkout-method-box.is-selected {
  border: 1.5px solid var(--color-graphite);
}
.checkout-sidebar-card {
  background: var(--color-white);
  border: 1px solid var(--color-subtle-border);
  border-radius: var(--radius-md);
  padding: 28px;
  position: sticky;
  top: 100px;
}
.checkout-sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
  max-height: 320px;
  overflow-y: auto;
}
.checkout-calc-card {
  border-top: 1px solid var(--color-subtle-border);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
}
.checkout-calc-row { display: flex; justify-content: space-between; }
.checkout-total-row {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--color-subtle-border);
  padding-top: 16px;
  margin-top: 6px;
  align-items: baseline;
}
.checkout-total-num {
  font-size: 26px;
  font-weight: 700;
  color: var(--color-graphite);
}
.checkout-success-card {
  max-width: 680px;
  margin: 40px auto;
  background: var(--color-white);
  border: 1.5px solid var(--color-subtle-border);
  border-radius: 24px;
  padding: 48px;
  text-align: center;
  box-shadow: 0 20px 50px -15px rgba(24, 25, 27, 0.08);
}
.checkout-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #D1FAE5;
  color: #065F46;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 28px;
  font-weight: 700;
}
.checkout-success-badge { margin-bottom: 12px; display: inline-block; }
.checkout-success-title { font-size: 34px; color: var(--color-graphite); margin-bottom: 12px; }
.checkout-success-desc { font-size: 15.5px; color: var(--color-muted); line-height: 1.65; margin-bottom: 24px; }
.checkout-success-box {
  background: var(--color-porcelain-light);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 32px;
  text-align: left;
  font-size: 14px;
  line-height: 1.6;
}
.checkout-success-meta-row { display: flex; justify-content: space-between; margin-bottom: 6px; }
.checkout-paid-tag { color: #15803D; }
.checkout-success-btns { display: flex; gap: 14px; justify-content: center; }

.checkout-muted-text { color: var(--color-muted); }
.checkout-subtotal-val { font-weight: 600; font-size: 15px; }
.checkout-shipping-val { color: var(--color-oxygen); font-weight: 600; }
.checkout-total-label { font-size: 17px; font-weight: 600; }

.checkout-item-preview { display: flex; gap: 14px; align-items: center; }
.checkout-item-thumb {
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: var(--color-porcelain-light);
  border-radius: 4px;
}
.checkout-item-details { flex: 1; }
.checkout-item-name { font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.checkout-item-meta { font-size: 12px; color: var(--color-muted); margin-top: 2px; }
.checkout-item-line-total { font-size: 14.5px; font-weight: 600; }

.checkout-method-info { display: flex; align-items: center; gap: 12px; }
.checkout-method-title { font-size: 15px; font-weight: 600; color: var(--color-graphite); }
.checkout-method-sub { font-size: 12.5px; color: var(--color-muted); margin-top: 3px; }
.checkout-icons-row { display: flex; align-items: center; gap: 6px; }
.pay-chip {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  color: #fff;
}
.pay-chip--apple { background: #000; }
.pay-chip--gpay { background: #EA4335; }
.pay-chip--visa { background: #1A1F71; }
.pay-chip--mc { background: #EB001B; }
.checkout-method-tariff { font-size: 12px; color: var(--color-muted); font-weight: 500; }
.checkout-btn-submit { width: 100%; padding: 18px; font-size: 16px; justify-content: center; }
.checkout-empty-cart { color: var(--color-muted); font-size: 14px; }

/* Single Product Extraction Classes */
.sp-desc-subcard {
  margin: 12px 0;
  padding: 14px 18px;
  background: var(--color-porcelain-light);
  border-left: 2px solid var(--color-rose-accent);
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  line-height: 1.6;
}
.sp-pearl-box {
  margin: 24px 0 32px;
  padding: 20px 24px;
  background: rgba(196, 151, 142, 0.08);
  border-left: 3px solid var(--color-rose-deep);
  border-radius: 0 14px 14px 0;
}
.sp-pearl-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-rose-deep);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.sp-pearl-text { font-size: 14.5px; color: #1E293B; line-height: 1.6; }
.sp-contra-text { font-size: 14.5px; color: var(--color-muted); margin-bottom: 24px; }
.sp-reviews-head-title { margin-bottom: 4px; }
.sp-btn-write { padding: 10px 20px; font-size: 13px; }
.sp-form-inner-title { margin: 0 0 16px; font-size: 16px; font-weight: 700; color: #18191B; }
.sp-btn-submit { padding: 12px 24px; font-size: 13.5px; }
.sp-btn-cancel { padding: 12px 18px; font-size: 13.5px; }

.product-card--flex { display: flex; flex-direction: column; }
.product-info-content--flex { flex: 1; display: flex; flex-direction: column; }
.product-link-clean { color: inherit; text-decoration: none; }
.product-bottom-row--auto { margin-top: auto; }
.sp-sticky-note { font-size: 11.5px; color: var(--color-muted); text-align: center; margin-top: 10px; }

.sp-review-card-clean {
  background: #FFFFFF;
  border: 1px solid var(--color-subtle-border);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 16px;
}
.sp-rev-top-clean {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.sp-rev-author-clean { font-size: 15px; color: var(--color-graphite); }
.sp-rev-skin-tag {
  display: inline-block;
  background: #F1F5F9;
  color: #475569;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 4px;
  margin-left: 8px;
}
.sp-rev-badge-clean {
  display: inline-block;
  background: #DCFCE7;
  color: #15803D;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 12px;
  margin-left: 8px;
}
.sp-rev-stars-clean { color: #F59E0B; font-size: 15px; letter-spacing: 1px; }
.sp-rev-text-clean { font-size: 14px; line-height: 1.6; color: #334155; margin: 0 0 10px 0; }
.sp-rev-date-clean { font-size: 12px; color: var(--color-muted); }

.sp-empty-reviews-box {
  text-align: center;
  padding: 48px 20px;
  background: #F8FAFC;
  border-radius: 16px;
  border: 1px dashed rgba(24, 25, 27, 0.12);
}
.sp-empty-reviews-icon { font-size: 32px; color: #94A3B8; margin-bottom: 8px; }
.sp-empty-reviews-title { margin: 0 0 6px; font-size: 16px; font-weight: 700; color: #18191B; }
.sp-empty-reviews-text { margin: 0 auto 18px; max-width: 440px; font-size: 13.5px; color: #64748B; line-height: 1.55; }
.sp-empty-reviews-btn { padding: 10px 22px; font-size: 13px; }
.sp-reviews-empty-label { color: var(--color-muted); font-size: 12.5px; }
.sp-star-gold { color: #F59E0B; }
.sp-rev-count-muted { color: #94A3B8; }
.sp-reviews-strong-score { color: #18191B; }

/* --- 4. Journal Classes --- */
.journal-chips-wrap {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-subtle-border);
}
.journal-featured-grid {
  background: var(--color-white);
  border: 1px solid var(--color-subtle-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px -12px rgba(24, 25, 27, 0.08);
  margin-bottom: 56px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: stretch;
}
.journal-featured-body {
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.journal-featured-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}
.journal-category-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-rose-deep);
  background: var(--color-rose-nude);
  padding: 5px 12px;
  border-radius: var(--radius-full);
}
.journal-time-meta { font-size: 12.5px; color: var(--color-muted); }
.journal-featured-title { font-size: 32px; line-height: 1.25; color: var(--color-graphite); margin-bottom: 16px; }
.journal-featured-text { font-size: 15.5px; color: var(--color-muted); line-height: 1.68; margin-bottom: 24px; }
.journal-author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--color-subtle-border);
  padding-top: 20px;
}
.journal-featured-media {
  background: #E8ECE8;
  position: relative;
  overflow: hidden;
  min-height: 380px;
}
.journal-featured-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.journal-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.journal-card-item {
  background: var(--color-white);
  border: 1px solid var(--color-subtle-border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.journal-card-thumb {
  aspect-ratio: 16 / 10;
  background: var(--color-porcelain-light);
  overflow: hidden;
  position: relative;
}
.journal-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  transition: transform 0.5s ease;
}
.journal-card-img:hover { transform: scale(1.05); }
.journal-card-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-graphite);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}
.journal-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.journal-card-meta { font-size: 11.5px; color: var(--color-muted); margin-bottom: 8px; }
.journal-card-title { font-size: 19px; line-height: 1.35; color: var(--color-graphite); margin-bottom: 10px; }
.journal-card-desc { font-size: 13.5px; color: var(--color-muted); line-height: 1.6; margin-bottom: 18px; }
.journal-card-footer {
  border-top: 1px solid var(--color-subtle-border);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
}
.journal-banner-box {
  margin-top: 72px;
  background: linear-gradient(135deg, var(--color-graphite) 0%, #2A2D34 100%);
  border-radius: 20px;
  padding: 48px;
  color: var(--color-white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.journal-banner-content { max-width: 600px; }
.journal-banner-title { font-size: 32px; color: var(--color-white); margin-bottom: 8px; }
.journal-banner-desc { font-size: 15px; color: rgba(248, 246, 242, 0.8); line-height: 1.6; margin: 0; }
.journal-banner-btn { padding: 16px 28px; font-size: 15px; background: var(--color-rose-deep); }
.journal-prod-author { font-size: 13.5px; font-weight: 600; color: var(--color-graphite); }
.journal-prod-date { font-size: 12px; color: var(--color-muted); }
.journal-prod-btn { padding: 10px 20px; font-size: 13.5px; }
.journal-card-author { font-size: 12.5px; font-weight: 600; color: var(--color-graphite); }
.journal-card-link { font-size: 13px; font-weight: 600; color: var(--color-rose-deep); text-decoration: none; }
.journal-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--color-rose-deep); }
.journal-eyebrow { font-family: var(--font-mono); font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-rose-deep); }

/* --- 5. Catalog Archive Classes --- */
.archive-hero-box { margin-bottom: 28px; }
.archive-crumb-row { font-size: 13.5px; color: var(--color-muted); margin-bottom: 8px; }
.archive-crumb-link { text-decoration: underline; }
.archive-hero-title { font-size: 42px; line-height: 1.15; color: var(--color-graphite); margin-bottom: 10px; }
.archive-hero-desc { font-size: 16px; color: var(--color-muted); line-height: 1.65; max-width: 720px; }
.archive-chips-bar { margin-bottom: 28px; gap: 10px; }
.archive-chip-link { font-size: 13.5px; padding: 9px 20px; }
.archive-toolbar-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-subtle-border);
}
.archive-count-text { font-size: 15px; color: var(--color-muted); }
.archive-count-num { color: var(--color-graphite); }
.archive-search-wrap { position: relative; max-width: 340px; width: 100%; }
.archive-input-field {
  color: var(--color-graphite);
  background: var(--color-white);
  border-color: var(--color-subtle-border);
  padding: 10px 16px 10px 38px;
  font-size: 14px;
  width: 100%;
  border-radius: var(--radius-full);
}
.archive-input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-muted);
}

/* --- 6. Protocols & Routines Classes --- */
.routine-top-flex {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.routine-pill-savings {
  font-size: 11.5px;
  color: #047857;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  border-radius: 6px;
  padding: 4px 10px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.routine-pill-count {
  font-size: 11px;
  color: var(--color-rose-deep);
  background: rgba(201,151,137,0.12);
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 600;
}
.routine-bundle-card {
  background: rgba(24, 25, 27, 0.02);
  border: 1px solid rgba(24, 25, 27, 0.06);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 20px;
}
.routine-card-label {
  font-size: 11px;
  text-transform: uppercase;
  font-family: var(--font-mono);
  color: var(--color-muted);
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}
.routine-items-stack { display: flex; flex-direction: column; gap: 8px; }
.routine-item-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  border: 1px solid rgba(24, 25, 27, 0.05);
  border-radius: 8px;
  padding: 6px 10px;
}
.routine-item-thumb {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
}
.routine-item-info { flex: 1; min-width: 0; }
.routine-item-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-graphite);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.routine-item-prices { font-size: 11px; color: var(--color-muted); display: flex; gap: 8px; }
.routine-step-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--color-rose-deep);
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}
.routine-timeline-shifted { margin-top: -12px; }
.routine-timeline-title {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--color-graphite);
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}
.routine-pm-badge { background: var(--color-graphite); color: #fff; }
.routine-price-flex { display: flex; align-items: baseline; gap: 8px; }
.routine-strike-num { font-size: 13px; text-decoration: line-through; color: var(--color-muted); }
.routine-bundle-btn { padding: 11px 22px; font-size: 12.5px; white-space: nowrap; }

/* --- 7. Single Product Reviews Classes --- */
.sp-reviews-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}
.sp-reviews-head-title { font-size: 26px; margin-bottom: 4px; }
.sp-reviews-head-score { font-size: 14px; color: var(--color-muted); }
.sp-review-form-card {
  display: none;
  background: #F8FAFC;
  border: 1px solid rgba(24, 25, 27, 0.08);
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 28px;
}
.sp-review-form-title { margin: 0 0 16px; font-size: 16px; font-weight: 700; color: #18191B; }
.sp-stars-picker-wrap { margin-bottom: 14px; }
.sp-stars-picker-label { display: block; font-size: 12.5px; font-weight: 600; color: #475569; margin-bottom: 6px; }
.sp-stars-picker { display: flex; gap: 8px; cursor: pointer; font-size: 24px; color: #D1D5DB; }
.sp-review-grid-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.sp-field-group { margin-bottom: 14px; }
.sp-field-group--lg { margin-bottom: 16px; }
.sp-input-control {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #CBD5E1;
  box-sizing: border-box;
}
.sp-input-control--select { background: #fff; }
.sp-input-control--textarea { font-family: inherit; font-size: 14px; }
.sp-field-help-text { font-size: 12px; color: var(--color-muted); margin: 6px 0 0 0; }
.sp-actions-row { display: flex; gap: 12px; align-items: center; }

/* --- 8. Header & Footer & QuickView Design System Classes --- */
.header-brand-wrap { display: flex; align-items: center; gap: 14px; }
.header-dev-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--color-graphite);
  background: var(--color-porcelain-light);
  border: 1px solid var(--color-subtle-border);
  padding: 7px 13px;
}
.brand-logo--start { align-items: flex-start; }
.drawer-quiz-btn {
  margin-bottom: 20px;
  justify-content: center;
  background: var(--color-rose-deep);
}
.drawer-dev-link { color: var(--color-rose-deep); font-weight: 700; }
.drawer-section-spaced { margin-top: 24px; }
.drawer-footer-contact {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--color-subtle-border);
  font-size: 13px;
  color: var(--color-muted);
}
.drawer-contact-phone {
  color: var(--color-graphite);
  font-weight: 700;
  font-size: 15px;
}
.drawer-contact-hours { margin-top: 6px; font-size: 12px; }

.footer-elevated-container { position: relative; z-index: 2; }
.footer-brand-logo { align-items: flex-start; margin-bottom: 18px; }
.footer-link-muted { color: rgba(248, 246, 242, 0.45); cursor: default; }
.footer-item-spaced { margin-top: 8px; }
.footer-link-default { cursor: default; }

.cart-progress-text { font-size: 13.5px; color: var(--color-graphite); }
.cart-empty-panel { display: none; padding: 48px 24px; text-align: center; }
.cart-empty-icon { margin: 0 auto 16px; }
.cart-empty-title { font-size: 15px; font-weight: 500; color: var(--color-graphite); margin-bottom: 8px; }
.cart-empty-desc { font-size: 13px; color: var(--color-muted); margin-bottom: 24px; }
.cart-checkout-btn { width: 100%; text-align: center; justify-content: center; }

.pearl-btn-text { font-size: 13px; font-weight: 600; }
.pearl-header-flex { display: flex; align-items: center; gap: 10px; }
.pearl-header-title { font-size: 13.5px; font-weight: 600; }
.pearl-header-sub { font-size: 11.5px; color: rgba(255, 255, 255, 0.75); }
.pearl-close-btn { color: var(--color-white); }
.pearl-send-btn { padding: 10px 18px; border-radius: var(--radius-full); }

.quickview-modal-shell {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
  z-index: 105;
  width: 90%;
  max-width: 680px;
  margin: 0;
  padding: 32px;
}
.quickview-close-row { display: flex; justify-content: flex-end; margin-bottom: 8px; }
.quickview-grid { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: center; }
.quickview-img-box {
  background: var(--color-porcelain-light);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}
.quickview-img { max-height: 240px; margin: 0 auto; object-fit: contain; }
.quickview-badge { margin-bottom: 8px; display: inline-block; }
.quickview-title { font-size: 26px; line-height: 1.25; margin-bottom: 8px; }
.quickview-step { font-size: 12.5px; color: var(--color-muted); margin-bottom: 12px; }
.quickview-desc { font-size: 14.5px; color: var(--color-muted); line-height: 1.65; margin-bottom: 20px; }
.quickview-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--color-subtle-border);
  padding-top: 16px;
}
.quickview-volume { font-size: 12.5px; color: var(--color-muted); }
.quickview-price { font-size: 24px; font-weight: 700; color: var(--color-graphite); }

.mobile-nav-quiz { color: var(--color-rose-deep); font-weight: 600; }
.mobile-nav-cart { position: relative; }

/* --- 9. Home Page Classes --- */
.home-hero-actions { display: flex; gap: 8px; }
.home-hero-btn-sec { padding: 10px 16px; font-size: 13px; }
.home-hero-btn-pri { padding: 10px 18px; font-size: 13.5px; }
.home-section-head-flex { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 24px; }
.home-section-btn { padding: 10px 20px; font-size: 13px; }
.home-catalog-cta-box { text-align: center; margin-top: 36px; }
.home-catalog-cta-btn { padding: 14px 32px; font-size: 13px; }
.home-routines-head { text-align: center; max-width: 680px; margin: 0 auto 36px; }
.home-routines-sub { font-size: 14px; color: var(--color-muted); margin-top: 12px; }

/* Responsive adjustments */
@media (max-width: 992px) {
  .b2b-pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .journal-featured-grid { grid-template-columns: 1fr; }
  .journal-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .compat-pair-grid { grid-template-columns: 1fr; }
  .compat-plus { margin: 8px auto; }
  .quickview-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .b2b-pillars-grid { grid-template-columns: 1fr; }
  .b2b-grid-row, .sp-review-grid-2col, .checkout-type-grid { flex-direction: column; grid-template-columns: 1fr; }
  .journal-cards-grid { grid-template-columns: 1fr; }
  .b2b-form-card, .compat-panel { padding: 24px 18px; }
}

/* --- Home & Routines Component Classes --- */
.hero-actions-group { display: flex; gap: 8px; }
.hero-btn-sm { padding: 10px 16px; font-size: 13px; }
.hero-btn-primary { padding: 10px 18px; font-size: 13.5px; }
.section-header-flex { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 24px; }
.btn-header-action { padding: 10px 20px; font-size: 13px; }
.home-secondary-catalog-cta { text-align: center; margin-top: 36px; }
.btn-catalog-cta { padding: 14px 32px; font-size: 13px; }
.container-elevated { position: relative; z-index: 2; }
.section-subdesc { font-size: 14px; color: var(--color-muted); margin-top: 12px; }

.bundle-savings-pill {
  font-size: 11px;
  color: #047857;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  border-radius: 6px;
  padding: 4px 8px;
  margin-bottom: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.bundle-savings-highlight { color: var(--color-rose-deep); }
.bundle-line-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--color-rose-deep);
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}
.bundle-line-tag--dark {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--color-graphite);
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}
.bundle-price-wrap { display: flex; align-items: baseline; gap: 8px; }
.bundle-old-price { font-size: 13px; text-decoration: line-through; color: var(--color-muted); }
.bundle-order-btn { padding: 10px 20px; font-size: 12px; }
.bundle-order-btn--wide { padding: 11px 22px; font-size: 12.5px; white-space: nowrap; }

.routine-bundle-topbar {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.bundle-badge-savings {
  font-size: 11.5px;
  color: #047857;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  border-radius: 6px;
  padding: 4px 10px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.bundle-badge-sku {
  font-size: 11px;
  color: var(--color-rose-deep);
  background: rgba(201, 151, 137, 0.12);
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 600;
}
.bundle-products-box {
  background: rgba(24, 25, 27, 0.02);
  border: 1px solid rgba(24, 25, 27, 0.06);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 20px;
}
.bundle-products-title {
  font-size: 11px;
  text-transform: uppercase;
  font-family: var(--font-mono);
  color: var(--color-muted);
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}
.bundle-products-list { display: flex; flex-direction: column; gap: 8px; }
.bundle-product-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  border: 1px solid rgba(24, 25, 27, 0.05);
  border-radius: 8px;
  padding: 6px 10px;
}
.bundle-product-thumb {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
  background: var(--color-porcelain-light, #FAF9F6);
  border-radius: 6px;
  padding: 2px;
  border: 1px solid rgba(24, 25, 27, 0.05);
}
.bundle-product-info { flex: 1; min-width: 0; }
.bundle-product-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-graphite);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.35;
}
.bundle-product-meta {
  font-size: 11px;
  color: var(--color-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
}
.bundle-price-item {
  font-weight: 600;
  color: var(--color-graphite);
}
.bundle-strike-price {
  opacity: 0.55;
  text-decoration: line-through;
  margin-left: 2px;
}
.routine-timeline--overlap { margin-top: -12px; }
.step-time-badge--pm { background: var(--color-graphite); color: #fff; }

/* ==========================================================================
   CUSTOMER ACCOUNT & ORDERS DASHBOARD (TELEGRAM WEBAPP READY)
   ========================================================================== */
.header-account-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.user-active-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  border: 1.5px solid #FFFFFF;
}
.account-page-shell {
  padding: 36px 0 80px;
  min-height: 70vh;
}
.account-hero-card {
  background: #18191B;
  color: #FFFFFF;
  border-radius: 20px;
  padding: 32px 36px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}
.account-hero-main {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1;
  min-width: 0;
}
.account-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #C99789 0%, #A45D4B 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(201, 151, 137, 0.4);
  overflow: hidden;
}
.account-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.account-avatar-initials {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  color: #FFFFFF;
  text-transform: uppercase;
}
.account-badges-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.account-tier-badge {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-rose-accent);
  background: rgba(255, 255, 255, 0.08);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}
.account-tg-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: #2AABEE;
  background: rgba(42, 171, 238, 0.12);
  border: 1px solid rgba(42, 171, 238, 0.25);
  padding: 2px 9px;
  border-radius: var(--radius-full);
}
.account-user-name {
  font-size: 26px;
  font-weight: 500;
  color: #FFFFFF;
  margin: 0 0 6px;
  line-height: 1.2;
}
.account-user-meta {
  font-size: 13px;
  color: rgba(248, 246, 242, 0.7);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.account-hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.account-stat-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 18px;
  border-radius: 12px;
  text-align: center;
  min-width: 90px;
}
.account-stat-val {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
}
.account-stat-lbl {
  display: block;
  font-size: 11px;
  color: rgba(248, 246, 242, 0.6);
  margin-top: 2px;
}
.account-logout-btn {
  background: transparent;
  color: rgba(248, 246, 242, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.account-logout-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.3);
}

/* Tabs */
.account-tabs-nav {
  display: flex;
  gap: 10px;
  border-bottom: 1px solid var(--color-subtle-border);
  padding-bottom: 12px;
  margin-bottom: 28px;
  overflow-x: auto;
}
.account-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  border: 1px solid var(--color-subtle-border);
  color: var(--color-graphite);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.account-tab-btn:hover {
  background: var(--color-porcelain-light);
}
.account-tab-btn.is-active {
  background: var(--color-graphite);
  color: #FFFFFF;
  border-color: var(--color-graphite);
}
.account-tab-content {
  display: none;
}
.account-tab-content.is-active {
  display: block;
}

/* Orders Cards */
.account-orders-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.account-order-card {
  background: #FFFFFF;
  border: 1px solid var(--color-subtle-border);
  border-radius: 16px;
  padding: 24px 28px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}
.account-order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(24, 25, 27, 0.06);
  padding-bottom: 14px;
  margin-bottom: 16px;
}
.account-order-num {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-graphite);
  margin-right: 12px;
}
.account-order-date {
  font-size: 13px;
  color: var(--color-muted);
}
.account-order-status-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(42, 157, 143, 0.1);
  color: #1B7A6E;
  border: 1px solid rgba(42, 157, 143, 0.25);
}
.account-order-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.account-order-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(24, 25, 27, 0.05);
}
.account-order-item-desc {
  display: flex;
  flex-direction: column;
}
.account-order-item-sub {
  font-size: 12px;
  color: var(--color-muted);
}
.account-order-item-price {
  font-weight: 600;
  color: var(--color-graphite);
}
.account-order-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  padding-top: 12px;
  border-top: 1px solid rgba(24, 25, 27, 0.06);
}
.account-order-delivery {
  font-size: 12.5px;
  color: var(--color-graphite);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.account-order-total-block {
  text-align: right;
}
.account-order-total-lbl {
  display: block;
  font-size: 11.5px;
  color: var(--color-muted);
}
.account-order-total-val {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-graphite);
}

/* Empty State */
.account-empty-state {
  background: #FFFFFF;
  border: 1px solid var(--color-subtle-border);
  border-radius: 16px;
  padding: 60px 24px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.account-empty-icon {
  font-size: 40px;
  margin-bottom: 12px;
}
.account-empty-title {
  font-size: 22px;
  margin-bottom: 8px;
  color: var(--color-graphite);
}
.account-empty-desc {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}
.account-empty-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Profile Form */
.account-profile-card {
  background: #FFFFFF;
  border: 1px solid var(--color-subtle-border);
  border-radius: 16px;
  padding: 36px 40px;
}
.account-card-heading {
  font-size: 22px;
  margin: 0 0 6px;
  color: var(--color-graphite);
}
.account-card-sub {
  font-size: 13.5px;
  color: var(--color-muted);
  margin: 0 0 24px;
}
.account-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 24px;
}
.account-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.account-field label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--color-graphite);
}
.account-form-footer {
  display: flex;
  align-items: center;
  gap: 16px;
}
.account-feedback-msg {
  font-size: 13px;
  font-weight: 600;
}

/* Telegram integration box */
.tg-integration-banner {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}
.tg-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(42, 171, 238, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tg-status-details {
  background: #F8FAF7;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 24px;
}
.tg-connected-pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #047857;
  background: rgba(16, 185, 129, 0.15);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}
.tg-benefits-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--color-graphite);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Fast Auth Card */
.account-auth-wrapper {
  max-width: 500px;
  margin: 30px auto;
}
.account-auth-card {
  background: #FFFFFF;
  border: 1px solid var(--color-subtle-border);
  border-radius: 20px;
  padding: 38px 36px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.account-auth-header {
  text-align: center;
  margin-bottom: 28px;
}
.account-auth-title {
  font-size: 26px;
  margin: 12px 0 8px;
  color: var(--color-graphite);
}
.account-auth-desc {
  font-size: 13.5px;
  color: var(--color-muted);
  line-height: 1.5;
  margin: 0;
}
.account-tg-callout {
  margin-top: 24px;
}
.account-tg-divider {
  text-align: center;
  position: relative;
  margin: 20px 0;
}
.account-tg-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-subtle-border);
}
.account-tg-divider span {
  position: relative;
  background: #FFFFFF;
  padding: 0 12px;
  font-size: 12px;
  color: var(--color-muted);
}
.account-tg-box {
  background: #F8FAF7;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 14px 18px;
}
.account-tg-info {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--color-graphite);
  line-height: 1.4;
}

@media (max-width: 860px) {
  .account-hero-card {
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
  }
  .account-hero-actions {
    justify-content: space-between;
    width: 100%;
  }
  .account-form-grid {
    grid-template-columns: 1fr;
  }
  .account-order-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .account-order-total-block {
    text-align: left;
    width: 100%;
    border-top: 1px dashed rgba(24, 25, 27, 0.05);
    padding-top: 10px;
  }
}



