/**
 * Root Lifestyle - Core Design System & Theme Styles
 * Luxury Indian Perfumery E-Commerce Design System
 */

:root {
  /* Colors */
  --color-base-background: #ffffff;
  --color-base-text: #171717;
  --color-text-muted: #666666;
  --color-text-light: #8e8e8e;
  --color-highlight: #ffddbf;
  --color-sale: #e11d48;
  --color-sale-bg: #fff1f2;
  --color-rating: #f59e0b;
  --color-dark: #1f1f1f;
  --color-darker: #171717;
  --color-card-bg: #fafafa;
  --color-border: rgba(23, 23, 23, 0.1);
  --color-border-dark: rgba(255, 255, 255, 0.15);
  --color-focus: #0b61cd;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-body-line-height: 1.6;
  --font-heading-line-height: 1.15;

  /* Spacing */
  --container-max-width: 1440px;
  --container-padding: clamp(1rem, 4vw, 3rem);
  --section-spacing: clamp(3rem, 6vw, 6rem);
  --grid-gap: clamp(1.5rem, 3vw, 3rem);

  /* Borders & Radius */
  --radius-pill: 9999px;
  --radius-card: 16px;
  --radius-input: 8px;
  --radius-sm: 6px;

  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.15s ease;
}

/* ==========================================================================
   Accessibility & Skip Links
   ========================================================================== */

.sr-only,
.screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link:focus,
.screen-reader-text:focus {
  position: fixed !important;
  top: 1rem !important;
  left: 1rem !important;
  z-index: 100000 !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  padding: 0.75rem 1.25rem !important;
  margin: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  white-space: normal !important;
  background-color: var(--color-dark) !important;
  color: #ffffff !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  border-radius: var(--radius-sm) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25) !important;
  outline: 2px solid var(--color-highlight) !important;
}

/* ==========================================================================
   Base & Typography
   ========================================================================== */

body {
  font-family: var(--font-family);
  color: var(--color-base-text);
  background-color: var(--color-base-background);
  line-height: var(--font-body-line-height);
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6,
.title-xl, .title-lg, .title-md, .title-sm {
  font-family: var(--font-family);
  font-weight: 700;
  line-height: var(--font-heading-line-height);
  letter-spacing: -0.025em;
  color: inherit;
}

.title-xl {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.title-lg {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
}

.title-md {
  font-size: clamp(1.65rem, 3vw, 2.5rem);
}

.title-sm {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* Highlighted words with hand-drawn SVG scribbles */
.highlight-word {
  position: relative;
  display: inline-block;
  font-style: italic;
  font-weight: 600;
}

.highlight-word .scribble-icon {
  position: absolute;
  left: 0;
  bottom: -0.25em;
  width: 100%;
  height: 0.45em;
  pointer-events: none;
  color: var(--color-highlight);
  z-index: -1;
}

/* Containers */
.site-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.site-container-narrow {
  width: 100%;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.site-container-fluid {
  width: 100%;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-base-text);
  color: #ffffff;
  border-color: var(--color-base-text);
}

.btn-primary:hover {
  background-color: #333333;
  border-color: #333333;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-base-text);
  border-color: var(--color-base-text);
}

.btn-outline:hover {
  background-color: var(--color-base-text);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-white {
  background-color: #ffffff;
  color: var(--color-base-text);
  border-color: #ffffff;
}

.btn-white:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-lg {
  padding: 1.15rem 2.5rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
}

/* ==========================================================================
   Announcement Bar (Continuous News Scrolling Ticker Loop)
   ========================================================================== */

.announcement-bar {
  background-color: var(--color-dark);
  color: #fafafa;
  overflow: hidden;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 101;
  user-select: none;
}

.announcement-ticker-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: announcementTicker 38s linear infinite;
}

.announcement-bar:hover .announcement-ticker-track {
  animation-play-state: paused;
}

.announcement-ticker-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
}

.announcement-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1.25rem;
}

.announcement-ticker-item .announcement-icon {
  display: inline-flex;
  align-items: center;
  color: var(--color-highlight);
  flex-shrink: 0;
}

.announcement-ticker-item .announcement-text {
  white-space: nowrap;
}

.announcement-ticker-item .announcement-dot {
  margin-left: 1.25rem;
  color: var(--color-highlight);
  opacity: 0.75;
  font-size: 0.75rem;
}

@keyframes announcementTicker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .announcement-ticker-track {
    animation: none;
  }
}

@media (max-width: 768px) {
  .announcement-bar {
    padding: 0.5rem 0;
    font-size: 0.75rem;
  }
  .announcement-ticker-item {
    padding: 0 0.85rem;
  }
  .announcement-ticker-item .announcement-dot {
    margin-left: 0.85rem;
  }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.header-group {
  background-color: var(--color-dark);
  position: relative;
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #ffffff;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  padding: 32px 0;
  transition: padding 0.25s ease, border-radius 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  padding: 16px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.header-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 85px;
}

/* Left side navigation */
.header-nav-left {
  display: flex;
  align-items: center;
  justify-self: start;
}

.main-navigation ul {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  white-space: nowrap;
}

.main-navigation a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-base-text);
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.2s ease;
}

.main-navigation a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-base-text);
  transition: width 0.25s ease;
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item > a::after {
  width: 100%;
}

/* Center brand logo */
.header-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
}

.brand-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  text-decoration: none;
}

.brand-logo-svg,
.brand-logo-img,
.custom-logo-link img {
  display: block;
  height: 85px;
  width: 85px;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.brand-logo-link:hover .brand-logo-svg,
.brand-logo-link:hover .brand-logo-img,
.brand-logo-link:hover .custom-logo-link img {
  transform: scale(1.05);
  opacity: 0.92;
}

.brand-logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

/* Right actions */
.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 0.65rem;
}

.header-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--color-base-text);
  transition: var(--transition-fast);
  position: relative;
}

.header-action-btn:hover {
  background-color: rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}

.header-cart-count {
  position: absolute;
  top: 4px;
  right: 4px;
  background-color: var(--color-base-text);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.mobile-menu-toggle {
  display: none;
}

@media (max-width: 991px) {
  .main-navigation {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .site-header {
    padding: 20px 0;
  }
  .header-container {
    min-height: 65px;
    height: auto;
  }
  .brand-logo-svg,
  .brand-logo-img,
  .custom-logo-link img {
    height: 70px;
    width: 70px;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 16px 0;
  }
  .brand-logo-svg,
  .brand-logo-img,
  .custom-logo-link img {
    height: 60px;
    width: 60px;
  }
}

/* ==========================================================================
   Drawers (Cart Drawer & Mobile Nav Drawer)
   ========================================================================== */

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(2px);
}

.drawer-backdrop.is-active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer,
.mobile-menu-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background-color: #ffffff;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer {
  right: 0;
  transform: translateX(100%);
}

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

.mobile-menu-drawer {
  left: 0;
  transform: translateX(-100%);
}

.mobile-menu-drawer.is-open {
  transform: translateX(0);
}

@media (max-width: 768px) {
  .mobile-menu-drawer {
    left: 0;
    right: 0;
    top: 48px;
    bottom: 0;
    max-width: 100%;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    transform: translateY(105%);
    transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .mobile-menu-drawer.is-open {
    transform: translateY(0);
  }
}

/* Cart Drawer Internals */
.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.cart-drawer-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.cart-drawer-count {
  font-weight: 500;
  color: var(--color-text-muted);
}

.cart-drawer-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition-fast);
}

.cart-drawer-close:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Free Shipping Meter */
.free-shipping-bar {
  background-color: #fafafa;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.free-shipping-message {
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--color-base-text);
}

.free-shipping-unlocked {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #15803d;
  font-weight: 600;
}

.progress-track {
  width: 100%;
  height: 6px;
  background-color: #e5e5e5;
  border-radius: 9999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #171717 0%, #444444 100%);
  border-radius: 9999px;
  transition: width 0.4s ease;
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.cart-empty-state {
  text-align: center;
  padding: 3rem 1rem;
}

.cart-empty-text {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cart-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border);
}

.cart-item-image {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: #f5f5f5;
  flex-shrink: 0;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}

.cart-item-title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}

.cart-item-remove {
  color: var(--color-text-light);
  transition: color 0.2s ease;
}

.cart-item-remove:hover {
  color: var(--color-sale);
}

.cart-item-price {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-base-text);
  margin: 0.25rem 0;
}

.cart-item-quantity-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.quantity-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  overflow: hidden;
  height: 32px;
}

.qty-btn {
  width: 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  color: var(--color-base-text);
  transition: background-color 0.15s ease;
}

.qty-btn:hover {
  background-color: #f0f0f0;
}

.qty-input {
  width: 36px;
  height: 100%;
  text-align: center;
  border: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-base-text);
  background: transparent;
  -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cart-drawer-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--color-border);
  background-color: #ffffff;
}

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cart-tax-shipping-notice {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.cart-drawer-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

/* Mobile Nav Drawer Internals (Shopify-Style) */
.mobile-drawer-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem 0.25rem;
}

.mobile-drawer-handle {
  width: 38px;
  height: 4px;
  background-color: #e2e2e2;
  border-radius: 9999px;
}

.mobile-drawer-close-btn {
  position: absolute;
  right: 1.25rem;
  top: 0.75rem;
  background: transparent;
  border: none;
  padding: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666666;
  cursor: pointer;
  border-radius: 50%;
  transition: color 0.2s ease;
}

.mobile-drawer-close-btn:hover {
  color: #111111;
}

.mobile-nav-list {
  padding: 1.5rem 1.75rem;
  flex: 1;
}

.mobile-nav-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.mobile-nav-items li a {
  font-size: 1.45rem;
  font-weight: 800;
  color: #111111;
  letter-spacing: -0.02em;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.2s ease;
}

.mobile-nav-items li a:hover {
  opacity: 0.7;
}

/* Mobile Drawer Footer */
.mobile-drawer-footer {
  margin-top: auto;
  padding: 1.25rem 1.75rem calc(1.25rem + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.drawer-avatar-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #111111;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
}

.drawer-signin-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #111111;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.drawer-signin-link:hover {
  opacity: 0.7;
}

.drawer-signin-link svg {
  width: 18px;
  height: 18px;
}

.drawer-footer-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.drawer-social-icon {
  color: #111111;
  display: inline-flex;
  align-items: center;
  transition: opacity 0.2s ease;
}

.drawer-social-icon:hover {
  opacity: 0.65;
}

/* ==========================================================================
   Homepage Sections
   ========================================================================== */

/* 1. Hero Slideshow Section */
.hero-section {
  position: relative;
  width: calc(100% - (var(--container-padding) * 2));
  margin: 0 auto clamp(2rem, 4vw, 3.5rem) auto;
  border-radius: 24px;
  min-height: clamp(540px, 78vh, 780px);
  display: flex;
  align-items: flex-end;
  background-color: #171717;
  color: #ffffff;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}

.hero-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 23, 23, 0.1) 0%, rgba(23, 23, 23, 0.6) 100%);
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  padding-bottom: clamp(2rem, 4.5vw, 3.5rem);
  padding-top: 2rem;
}

.hero-title {
  color: #ffffff;
  font-size: clamp(2.2rem, 4.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.hero-cta-wrap {
  flex-shrink: 0;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background-color: #ffffff;
  color: #171717;
  padding: 0.9rem 2rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.btn-hero:hover {
  background-color: #f5f5f5;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.28);
}

.btn-hero .btn-icon {
  transition: transform 0.2s ease;
}

.btn-hero:hover .btn-icon {
  transform: translateX(3px);
}

@media (max-width: 767px) {
  .hero-section {
    width: calc(100% - 1.5rem);
    margin: 0 auto 1.5rem auto;
    border-radius: 16px;
    min-height: 480px;
  }
  .hero-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    padding-bottom: 2rem;
  }
}

/* 2. Rich Text Intro Section */
.rich-text-section {
  padding: clamp(3.5rem, 6.5vw, 6rem) 0;
  background-color: #ffffff;
}

.rich-text-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.25fr;
  gap: clamp(2.5rem, 5vw, 5.5rem);
  align-items: flex-start;
}

.rich-text-col-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.rich-text-heading {
  font-size: clamp(2.2rem, 3.8vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #171717;
  margin: 0 0 clamp(1.75rem, 3vw, 2.5rem) 0;
}

.rich-text-accent {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.rich-text-squiggle {
  position: absolute;
  left: 0;
  bottom: -0.32em;
  width: 106%;
  height: 0.42em;
  pointer-events: none;
  z-index: 1;
}

.rich-text-cta {
  margin: 0;
}

.btn-story {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1.85rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #171717;
  background-color: transparent;
  border: 1.5px solid #171717;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-story:hover {
  background-color: #171717;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.btn-story .btn-icon {
  transition: transform 0.2s ease;
}

.btn-story:hover .btn-icon {
  transform: translateX(3px);
}

.rich-text-col-body {
  padding-top: 0.35rem;
}

.rich-text-body {
  font-size: clamp(1rem, 1.35vw, 1.175rem);
  line-height: 1.75;
  color: #2b2b2b;
  margin: 0;
}

.quality-accent {
  position: relative;
  display: inline-block;
  font-weight: 700;
  color: #171717;
  white-space: nowrap;
}

.quality-underline {
  position: absolute;
  left: 0;
  bottom: -0.22em;
  width: 100%;
  height: 0.32em;
  pointer-events: none;
}

@media (max-width: 991px) {
  .rich-text-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .rich-text-col-body {
    padding-top: 0;
  }
}

/* 3. Video Banner Section (Autoplay HTML5 Video ad.mp4 / ad.mov) */
.video-banner-section,
.video-overlay-section {
  position: relative;
  width: calc(100% - (var(--container-padding) * 2));
  margin: clamp(2rem, 4vw, 3.5rem) auto 0 auto;
  border-top-left-radius: clamp(24px, 3.5vw, 32px);
  border-top-right-radius: clamp(24px, 3.5vw, 32px);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  overflow: hidden;
  background-color: #000000;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}

.video-banner-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 480px;
  max-height: 680px;
  overflow: hidden;
  background-color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-banner-player,
.video-overlay-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-overlay-shade {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.6) 100%),
              rgba(0, 0, 0, 0.2);
  pointer-events: none;
  z-index: 1;
}

.video-overlay-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 840px;
  padding: 2rem clamp(1.5rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: auto;
}

.video-overlay-title {
  color: #ffffff;
  font-size: 1.5em;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 0 0 1rem 0;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

.video-overlay-desc {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 1.75rem 0;
  max-width: 720px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
  font-weight: 400;
}

.video-accent-word {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.video-squiggle {
  position: absolute;
  left: 0;
  bottom: -0.32em;
  width: 104%;
  height: 0.42em;
  pointer-events: none;
  z-index: 1;
}

.video-overlay-cta {
  display: flex;
  justify-content: center;
}

.btn-video-overlay {
  background-color: #ffffff;
  color: #171717;
  border-radius: var(--radius-pill);
  padding: 0.85rem 1.85rem;
  font-size: 0.95rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.btn-video-overlay:hover {
  background-color: #f5f5f5;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.btn-video-overlay .btn-icon {
  transition: transform 0.2s ease;
}

.btn-video-overlay:hover .btn-icon {
  transform: translateX(3px);
}

.video-toggle-btn {
  position: absolute;
  bottom: clamp(3.75rem, 5.5vw, 4.5rem);
  right: 1.5rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.video-toggle-btn:hover {
  background-color: rgba(0, 0, 0, 0.9);
  transform: scale(1.08);
}

@media (max-width: 767px) {
  .hero-section,
  .video-banner-section,
  .video-overlay-section,
  .featured-product-section,
  .testimonials-section {
    border-radius: 16px;
    width: calc(100% - 1.5rem);
  }
  .video-banner-section,
  .video-overlay-section {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin-bottom: 0;
  }
  .featured-product-section {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin-top: -24px;
    padding-top: 2.75rem;
  }
  .testimonials-section {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin: 1.5rem auto 0 auto;
  }
  .video-banner-inner {
    min-height: 420px;
    aspect-ratio: 4 / 5;
  }
  .video-toggle-btn {
    bottom: 3.25rem;
  }
  .video-overlay-desc br {
    display: none;
  }
}

/* 4. Featured Product Showcase Section */
.featured-product-section {
  position: relative;
  z-index: 2;
  width: calc(100% - (var(--container-padding) * 2));
  margin: clamp(-2.5rem, -4vw, -2rem) auto 0 auto;
  border-top-left-radius: clamp(24px, 3.5vw, 32px);
  border-top-right-radius: clamp(24px, 3.5vw, 32px);
  background-color: #ffffff;
  padding-top: clamp(3.5rem, 5.5vw, 5rem);
  padding-bottom: var(--section-spacing);
  box-shadow: 0 -12px 36px rgba(0, 0, 0, 0.08);
}

.single-product-hero {
  margin-top: 0 !important;
  box-shadow: none !important;
}

.featured-product-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: var(--grid-gap);
  align-items: start;
}

/* Left: Gallery with Thumbnails beside main image */
.product-gallery-wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1.25rem;
  position: sticky;
  top: 90px;
}

.product-gallery-thumbnails {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 76px;
  flex-shrink: 0;
  order: 1;
}

.gallery-thumbnail-item {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: var(--color-card-bg);
  border: 1.5px solid var(--color-border);
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.gallery-thumbnail-item.is-active,
.gallery-thumbnail-item:hover {
  border-color: var(--color-base-text);
  box-shadow: 0 0 0 1px var(--color-base-text);
}

.gallery-thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery-main {
  flex: 1;
  order: 2;
  border-radius: var(--radius-card);
  overflow: hidden;
  background-color: var(--color-card-bg);
  aspect-ratio: 1 / 1;
  position: relative;
  margin-bottom: 0;
}

.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Right: Product summary */
.product-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.product-vendor-badge {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

.product-main-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
}

.product-rating-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.stars-rating {
  display: inline-flex;
  color: var(--color-rating);
  gap: 2px;
}

.product-price-wrapper {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin: 0.25rem 0;
}

.current-price {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--color-base-text);
}

.compare-price {
  font-size: 1.25rem;
  color: var(--color-text-light);
  text-decoration: line-through;
}

.badge-discount {
  background-color: var(--color-sale-bg);
  color: var(--color-sale);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
}

.product-short-description {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* Stock status & countdown */
.stock-inventory-box {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #15803d;
  background-color: #f0fdf4;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  width: fit-content;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  animation: pulseAnimation 2s infinite;
}

@keyframes pulseAnimation {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Purchase controls */
.product-add-to-cart-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 0.75rem;
}

.product-quantity-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-quantity-label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text-main);
  letter-spacing: 0.02em;
}

.product-qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-pill);
  height: 48px;
  width: fit-content;
  padding: 0 0.5rem;
  background-color: var(--color-bg);
}

.product-qty-stepper .qty-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--color-text-main);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.product-qty-stepper .qty-btn:hover {
  background-color: var(--color-bg-alt);
}

.product-qty-stepper .qty-input {
  width: 48px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
}

.product-add-to-cart-row {
  display: flex;
  width: 100%;
}

.product-add-to-cart-form .btn-add-to-cart {
  width: 100%;
  height: 52px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.product-add-to-cart-form .btn-add-to-cart.is-loading {
  opacity: 0.75;
  pointer-events: none;
  cursor: wait;
}

/* Trust guarantees under CTA */
.product-guarantees-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
  margin-top: 1rem;
}

.guarantee-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.guarantee-item .icon {
  color: var(--color-base-text);
}

@media (max-width: 991px) {
  .featured-product-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .product-gallery-wrapper {
    position: static;
  }
}

@media (max-width: 768px) {
  .product-gallery-wrapper {
    flex-direction: column;
  }
  .product-gallery-main {
    order: 1;
    width: 100%;
  }
  .product-gallery-thumbnails {
    order: 2;
    flex-direction: row;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }
  .video-banner-section,
  .video-overlay-section {
    width: calc(100% - 2rem);
    margin: 1.5rem auto;
  }
  .video-banner-inner {
    aspect-ratio: 4 / 3;
  }
}

/* 5. Testimonials Banner Section */
.testimonials-section {
  position: relative;
  width: calc(100% - (var(--container-padding) * 2));
  margin: clamp(2rem, 4vw, 3.5rem) auto 0 auto;
  min-height: clamp(480px, 60vh, 580px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  background-color: #171717;
  padding: clamp(4rem, 7vw, 6rem) 0;
  border-top-left-radius: clamp(24px, 3.5vw, 36px);
  border-top-right-radius: clamp(24px, 3.5vw, 36px);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}

.testimonials-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.testimonials-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.65) 100%),
              rgba(0, 0, 0, 0.2);
}

.testimonials-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.quote-icon-box {
  width: 44px;
  height: 44px;
  margin: 0 auto 1.25rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.95;
}

.quote-icon-box svg {
  width: 36px;
  height: 36px;
  fill: currentColor;
}

.testimonials-slider {
  position: relative;
}

.testimonial-slide {
  display: none;
  animation: fadeIn 0.5s ease;
}

.testimonial-slide.is-active {
  display: block;
}

.testimonial-quote {
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
  margin: 0 auto;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
  letter-spacing: -0.015em;
  max-width: 780px;
}

.testimonial-author {
  display: none;
}

.testimonials-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.75rem;
}

.testimonial-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: var(--transition-fast);
  box-sizing: border-box;
}

.testimonial-dot.is-active {
  width: 7px;
  height: 7px;
  background-color: transparent;
  border: 1.5px solid #ffffff;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 6. Scrolling Brand Ticker Section */
.scrolling-ticker-section {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
  background-color: #ffffff;
  overflow: hidden;
  user-select: none;
  border: none;
}

.scrolling-ticker-track {
  display: flex;
  width: max-content;
  overflow: visible;
  will-change: transform;
}

.ticker-content {
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-right: clamp(2rem, 4vw, 3.5rem);
}

.ticker-text {
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.5px #171717;
  font-family: var(--font-body);
}

.ticker-circle {
  width: clamp(12px, 1.4vw, 18px);
  height: clamp(12px, 1.4vw, 18px);
  border: 1.5px solid #171717;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .scrolling-ticker-section {
    padding: 1.75rem 0;
  }
  .ticker-text {
    -webkit-text-stroke: 1.2px #171717;
  }
}

/* 7. Blog / Journal Stories Editorial Grid */
.blog-collage-section {
  margin-top: 0;
  padding-top: 0;
  padding-bottom: clamp(3.5rem, 6vw, 6rem);
  background-color: #ffffff;
}

.blog-header-row {
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
}

.blog-main-heading {
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #171717;
  margin: 0;
}

.blog-heading-accent {
  position: relative;
  display: inline-block;
}

.blog-heading-squiggle {
  position: absolute;
  left: -2%;
  bottom: -0.28em;
  width: 104%;
  height: 0.35em;
  pointer-events: none;
  z-index: 1;
}

.blog-editorial-grid {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: clamp(2.25rem, 3.5vw, 3.75rem);
  align-items: stretch;
}

.blog-featured-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 580px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-color: #111111;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.07);
}

.blog-featured-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-featured-card:hover .blog-featured-bg-img {
  transform: scale(1.035);
}

.blog-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.12) 32%,
    rgba(0, 0, 0, 0.65) 62%,
    rgba(0, 0, 0, 0.94) 95%
  );
  z-index: 1;
  pointer-events: none;
}

.blog-featured-content {
  position: relative;
  z-index: 2;
  padding: clamp(1.75rem, 3.2vw, 2.75rem);
}

.blog-featured-title {
  font-size: clamp(1.45rem, 2.2vw, 2.05rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.015em;
  margin: 0 0 0.85rem 0;
  color: #ffffff;
}

.blog-featured-title a {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.blog-featured-title a:hover {
  opacity: 0.88;
}

.blog-featured-excerpt {
  font-size: clamp(0.88rem, 1vw, 0.95rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  max-width: 96%;
}

.blog-featured-excerpt strong {
  font-weight: 700;
  color: #ffffff;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #555555;
  margin-bottom: 0.85rem;
}

.blog-card-meta.is-light {
  color: rgba(255, 255, 255, 0.82);
}

.blog-card-meta .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.blog-card-meta .meta-item svg {
  flex-shrink: 0;
  opacity: 0.85;
}

.blog-card-meta .meta-divider {
  opacity: 0.45;
  font-size: 0.75rem;
  user-select: none;
}

.blog-side-stack {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.blog-horizontal-card {
  display: grid;
  grid-template-columns: clamp(170px, 18vw, 220px) 1fr;
  gap: clamp(1.25rem, 2.2vw, 2rem);
  align-items: flex-start;
}

.blog-horizontal-thumb-wrap {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.25;
  border-radius: 20px;
  overflow: hidden;
  background-color: #f3f3f3;
  flex-shrink: 0;
}

.blog-horizontal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
  display: block;
}

.blog-horizontal-card:hover .blog-horizontal-img {
  transform: scale(1.05);
}

.blog-horizontal-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 0.15rem;
}

.blog-horizontal-title {
  font-size: clamp(1.15rem, 1.4vw, 1.35rem);
  font-weight: 700;
  line-height: 1.3;
  color: #171717;
  letter-spacing: -0.015em;
  margin: 0 0 0.75rem 0;
}

.blog-horizontal-title a {
  color: #171717;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-horizontal-title a:hover {
  color: #555555;
}

.blog-horizontal-excerpt {
  font-size: clamp(0.875rem, 0.95vw, 0.9375rem);
  line-height: 1.6;
  color: #4a4a4a;
  margin: 0 0 1.15rem 0;
}

.blog-read-more-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #171717;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

.blog-read-more-link:hover {
  opacity: 0.7;
}

.blog-side-divider {
  border: none;
  border-top: 1px solid #eaeaea;
  margin: 0;
  width: 100%;
}

@media (max-width: 991px) {
  .blog-editorial-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .blog-featured-card {
    min-height: 460px;
  }
}

@media (max-width: 576px) {
  .blog-horizontal-card {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .blog-horizontal-thumb-wrap {
    max-width: 100%;
    aspect-ratio: 16 / 10;
  }
}

/* ==========================================================================
   Single Product Detailed Modules
   ========================================================================== */

/* The Fragrance Journey (3 Notes Cards) */
.fragrance-journey-section {
  padding: var(--section-spacing) 0;
  background-color: #fafafa;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
  margin-top: 2.5rem;
}

.journey-card {
  background-color: #ffffff;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.journey-card:hover {
  transform: translateY(-4px);
}

.journey-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.journey-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.journey-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

@media (max-width: 767px) {
  .journey-grid {
    grid-template-columns: 1fr;
  }
}

/* Image with text story block */
.story-block-section {
  padding: var(--section-spacing) 0;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--grid-gap);
  align-items: center;
}

.story-grid.reversed {
  direction: rtl;
}

.story-grid.reversed > * {
  direction: ltr;
}

.story-image {
  border-radius: var(--radius-card);
  overflow: hidden;
}

.story-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.story-content {
  padding: 1rem;
}

.story-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.25;
}

.story-body {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

@media (max-width: 767px) {
  .story-grid {
    grid-template-columns: 1fr;
  }
  .story-grid.reversed {
    direction: ltr;
  }
}

/* Product Accordions */
.product-accordions-section {
  padding: var(--section-spacing) 0;
  background-color: #ffffff;
}

.accordion-group {
  border-top: 1px solid var(--color-border);
}

.accordion-item {
  border-bottom: 1px solid var(--color-border);
}

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-base-text);
  text-align: left;
}

.accordion-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.25s ease;
}

.accordion-item.is-open .accordion-icon {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.accordion-body-inner {
  padding-bottom: 1.5rem;
}

/* Product Dark FAQ Section */
.faq-dark-section {
  padding: var(--section-spacing) 0;
  background-color: var(--color-dark);
  color: #ffffff;
}

.faq-dark-section .title-lg {
  color: #ffffff;
  margin-bottom: 2.5rem;
  text-align: center;
}

.faq-dark-section .accordion-group {
  border-top-color: var(--color-border-dark);
}

.faq-dark-section .accordion-item {
  border-bottom-color: var(--color-border-dark);
}

.faq-dark-section .accordion-header {
  color: #ffffff;
}

.faq-dark-section .accordion-body {
  color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   Trust Bar & Pre-Footer
   ========================================================================== */

/* ==========================================================================
   Trust Bar & Pre-Footer
   ========================================================================== */

.trust-bar-section {
  padding: clamp(3rem, 5vw, 4.25rem) 0;
  background-color: #ffffff;
}

.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: flex-start;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  padding: 0.25rem clamp(1rem, 2vw, 2.25rem);
  border-right: 1px solid #e6e6e6;
}

.trust-item:first-child {
  padding-left: 0;
}

.trust-item:last-child {
  border-right: none;
  padding-right: 0;
}

.trust-item-icon {
  width: auto;
  height: auto;
  background: transparent;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #171717;
  padding-top: 0.15rem;
}

.trust-item-icon svg {
  stroke-width: 1.65;
}

.trust-item-content {
  display: flex;
  flex-direction: column;
}

.trust-item-title {
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  font-weight: 700;
  color: #171717;
  margin: 0 0 0.35rem 0;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.trust-item-desc {
  font-size: clamp(0.78rem, 0.86vw, 0.835rem);
  color: #555555;
  line-height: 1.48;
  margin: 0;
}

@media (max-width: 991px) {
  .trust-bar-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.25rem 2rem;
  }
  .trust-item {
    border-right: none;
    padding: 0;
  }
}

@media (max-width: 575px) {
  .trust-bar-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background-color: #1c1c1c;
  color: #ffffff;
  border-top-left-radius: 36px;
  border-top-right-radius: 36px;
  padding-top: clamp(3.5rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 3.5vw, 3.5rem);
  padding-bottom: clamp(3rem, 5vw, 4.25rem);
  align-items: flex-start;
}

.footer-col-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.75rem;
}

.footer-logo-link {
  display: inline-block;
  line-height: 0;
  transition: opacity 0.25s ease;
}

.footer-logo-link:hover {
  opacity: 0.88;
}

.footer-logo-svg,
.footer-logo-img {
  display: block;
  width: clamp(190px, 20vw, 230px);
  max-width: 100%;
  height: auto;
  aspect-ratio: 1748 / 584;
  object-fit: contain;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.footer-social-links a {
  width: auto;
  height: auto;
  background: transparent;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-social-links a:hover {
  opacity: 0.75;
  transform: translateY(-2px);
  background: transparent;
  color: #ffffff;
}

.footer-col-title {
  font-size: clamp(1.05rem, 1.25vw, 1.2rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.footer-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-menu a {
  font-size: clamp(0.9rem, 1vw, 0.975rem);
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-menu a:hover {
  color: #ffffff;
}

.footer-col-contact {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding-right: 1.5rem;
}

.footer-reach-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}

.footer-reach-item {
  font-size: clamp(1.05rem, 1.25vw, 1.2rem);
  font-weight: 500;
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: opacity 0.2s ease;
  line-height: 1.4;
}

.footer-reach-item:hover {
  opacity: 0.8;
}

.footer-bottom-row {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.75rem 0 2rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.footer-copyright {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-copyright p {
  margin: 0;
}

.designed-by-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.designed-by-link:hover {
  color: #ffffff;
}

@media (max-width: 991px) {
  .footer-main-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .footer-col-contact {
    border-right: none;
  }
  .footer-logo-svg,
  .footer-logo-img {
    width: 180px;
  }
}

@media (max-width: 575px) {
  .site-footer {
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
  }
  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .footer-logo-svg,
  .footer-logo-img {
    width: 160px;
  }
  .footer-bottom-row {
    flex-direction: column;
    gap: 0.75rem;
    text-align: left;
    align-items: flex-start;
  }
}

/* ==========================================================================
   Mobile Sticky Bottom Dock (< 768px)
   ========================================================================== */

.mobile-bottom-dock {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background-color: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  z-index: 95;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.05);
}

.dock-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 4px;
}

.dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 0.625rem;
  font-weight: 500;
  color: #171717;
  position: relative;
  flex: 1;
  height: 100%;
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.15s ease;
}

.dock-item svg {
  width: 20px;
  height: 20px;
  color: #171717;
}

.dock-item span {
  line-height: 1;
}

.dock-cart-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dock-cart-icon-wrap .header-cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background-color: #e11d48;
  color: #ffffff;
  font-size: 0.625rem;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.dock-item-avatar .dock-avatar-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: #000000;
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

@media (max-width: 767px) {
  .mobile-bottom-dock {
    display: block;
  }
  body {
    padding-bottom: 60px; /* Space for dock */
  }
}

/* ==========================================================================
   Cart & Checkout Pages
   ========================================================================== */

.page-header-banner {
  padding: 3.5rem 0 2rem;
  text-align: center;
  background-color: #fafafa;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 3rem;
}

.cart-page-grid,
.checkout-page-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: var(--grid-gap);
  align-items: start;
  margin-bottom: 4rem;
}

.cart-table-card,
.checkout-form-card,
.order-summary-card {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 2rem;
}

@media (max-width: 991px) {
  .cart-page-grid,
  .checkout-page-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Shopify Collection All / Shop Page Styles
   ========================================================================== */

.shop-collection-page {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* Collection Header */
.collection-header {
  margin-bottom: 1.5rem;
}

.collection-title {
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 800;
  color: #111111;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
}

/* Collection Controls Toolbar */
.collection-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0;
  margin-bottom: 2.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.15rem;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #171717;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-filter-toggle:hover {
  background: #f7f7f7;
  border-color: #111111;
}

.btn-filter-toggle .filter-toggle-icon {
  display: flex;
  align-items: center;
  color: #171717;
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.collection-sort-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.collection-sort-form .sort-label {
  font-size: 0.875rem;
  color: #555555;
  font-weight: 400;
  margin: 0;
}

.sort-select-wrapper {
  position: relative;
  display: inline-block;
}

.sort-select {
  appearance: none;
  -webkit-appearance: none;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 9999px;
  padding: 0.45rem 2.25rem 0.45rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #171717;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.sort-select:focus {
  outline: none;
  border-color: #111111;
}

.sort-select-arrow {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
  align-items: center;
  color: #666666;
}

.collection-count {
  font-size: 0.875rem;
  color: #666666;
  white-space: nowrap;
}

/* Expandable Filters Panel */
.collection-filters-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease, margin 0.3s ease;
  opacity: 0;
  margin-bottom: 0;
}

.collection-filters-panel.is-open {
  max-height: 400px;
  opacity: 1;
  margin-bottom: 2rem;
}

.filters-panel-inner {
  background: #fafafa;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 1.5rem;
}

.filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.filters-panel-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0;
  color: #171717;
}

.btn-filters-close {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  color: #666666;
  transition: color 0.2s ease;
}

.btn-filters-close:hover {
  color: #111111;
}

.filters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.filter-group-title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #171717;
  margin-bottom: 0.75rem;
}

.filter-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: #444444;
  cursor: pointer;
}

.filter-checkbox-label input {
  accent-color: #171717;
}

.filter-cat-link {
  display: inline-block;
  font-size: 0.875rem;
  color: #444444;
  padding: 0.25rem 0.6rem;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 9999px;
  margin-right: 0.4rem;
  margin-bottom: 0.4rem;
  transition: all 0.2s ease;
}

.filter-cat-link:hover {
  background: #171717;
  color: #ffffff;
  border-color: #171717;
}

.btn-clear-filters {
  display: inline-block;
  font-size: 0.8125rem;
  color: #666666;
  text-decoration: underline;
  cursor: pointer;
}

.btn-clear-filters:hover {
  color: #111111;
}

/* Product Catalog Grid */
.collection-products-grid,
.recently-viewed-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem 1.5rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 1100px) {
  .collection-products-grid,
  .recently-viewed-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .collection-products-grid,
  .recently-viewed-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 0.85rem;
  }
}

@media (max-width: 480px) {
  .collection-products-grid,
  .recently-viewed-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 0.65rem;
  }
}

/* Shopify Product Card */
.shopify-product-card {
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease;
}

.product-card-media-wrap {
  position: relative;
  background: #f5f5f7;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

/* Badges */
.product-card-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 3;
  pointer-events: none;
}

.card-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.35rem 0.65rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.badge-discount {
  background-color: #e11d48;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(225, 29, 72, 0.25);
  letter-spacing: 0.02em;
}

.badge-rating {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #171717;
  font-weight: 600;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.badge-rating .star-icon {
  color: #f59e0b;
  font-size: 0.75rem;
}

/* Images & Hover Zoom Effect */
.product-card-images {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.card-img-primary,
.card-img-hover {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-img-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
}

.shopify-product-card:hover .card-img-primary {
  transform: scale(1.05);
}

.shopify-product-card:hover .card-img-hover {
  opacity: 1;
  transform: scale(1.05);
}

/* Quick Add Button */
.product-card-action {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  z-index: 4;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.shopify-product-card:hover .product-card-action {
  opacity: 1;
  transform: translateY(0);
}

.btn-quick-add {
  width: 100%;
  padding: 0.65rem 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #171717;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-quick-add:hover {
  background: #171717;
  color: #ffffff;
  border-color: #171717;
}

.btn-quick-add.is-loading .btn-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Product Card Details */
.product-card-details {
  padding: 0.85rem 0.2rem 0;
  display: flex;
  flex-direction: column;
}

.product-card-tag {
  margin-bottom: 0.35rem;
}

.product-card-tag span {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #666666;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.product-card-title {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 0.4rem 0;
  color: #171717;
}

.product-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.product-card-title a:hover {
  color: #000000;
  text-decoration: underline;
}

.product-card-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.9375rem;
}

.product-card-price .price-sale {
  color: #e11d48;
  font-weight: 700;
}

.product-card-price .price-regular {
  color: #888888;
  font-weight: 400;
  text-decoration: line-through;
  font-size: 0.875rem;
}

.product-card-price .price-regular-only {
  color: #171717;
  font-weight: 700;
}

/* ==========================================================================
   Heritage Story Promo Banner (3-Column Scrolling Logos)
   ========================================================================== */
.collection-heritage-banner-section {
  margin: 4.5rem 0 3.5rem;
}

.collection-heritage-banner {
  background-color: #141414;
  border-radius: 28px;
  min-height: 440px;
  padding: clamp(3rem, 5vw, 4.5rem) clamp(2rem, 5vw, 4.5rem);
  position: relative;
  overflow: hidden;
  color: #ffffff;
  display: flex;
  align-items: center;
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.35);
}

.heritage-banner-content {
  max-width: 440px;
  position: relative;
  z-index: 5;
}

.heritage-banner-content::before {
  content: "";
  position: absolute;
  top: -60px;
  bottom: -60px;
  left: -80px;
  right: -100px;
  background: radial-gradient(ellipse at center left, rgba(20, 20, 20, 0.96) 0%, rgba(20, 20, 20, 0.88) 55%, transparent 100%);
  z-index: -1;
  pointer-events: none;
}

.heritage-banner-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #cda869;
  margin-bottom: 1.25rem;
}

.heritage-banner-title {
  font-size: clamp(2.1rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  color: #ffffff;
  margin: 0 0 1.5rem 0;
  letter-spacing: -0.03em;
}

.heritage-banner-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  font-weight: 400;
}

/* 3-Column Scrolling Logos Viewport */
.heritage-logos-viewport {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 62%;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 1) 12%, rgba(0, 0, 0, 1) 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 1) 12%, rgba(0, 0, 0, 1) 88%, transparent 100%);
}

.heritage-logos-columns {
  display: flex;
  gap: 1.75rem;
  justify-content: flex-end;
  align-items: center;
  position: absolute;
  top: -35%;
  bottom: -35%;
  right: -10%;
  width: 100%;
  transform: rotate(-22deg);
  transform-origin: center center;
  pointer-events: none;
}

.heritage-col {
  flex: 0 0 250px;
  width: 250px;
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.heritage-col-middle {
  margin-top: -100px;
}

.heritage-col-track {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex-shrink: 0;
}

.heritage-logo-item {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.35;
  flex-shrink: 0;
  filter: contrast(1.1) brightness(0.92);
}

.heritage-logo-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media (max-width: 1100px) {
  .heritage-logos-viewport {
    width: 66%;
  }
  .heritage-logos-columns {
    transform: rotate(-22deg);
    top: -30%;
    bottom: -30%;
    right: -12%;
    gap: 1.25rem;
  }
  .heritage-col {
    flex: 0 0 200px;
    width: 200px;
  }
  .heritage-logo-item {
    width: 200px;
    height: 200px;
  }
  .heritage-col-track {
    gap: 1.25rem;
  }
  .heritage-col-middle {
    margin-top: -80px;
  }
}

@media (max-width: 768px) {
  .collection-heritage-banner-section {
    margin: 2rem 0;
    padding: 0 8px;
  }
  .collection-heritage-banner {
    border-radius: 24px;
    padding: 3.75rem 1.65rem 3.5rem;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .heritage-banner-content {
    max-width: 340px;
  }
  .heritage-banner-tag {
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    margin-bottom: 1rem;
  }
  .heritage-banner-title {
    font-size: clamp(2rem, 7vw, 2.45rem);
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
  }
  .desktop-br {
    display: none;
  }
  .heritage-banner-desc {
    font-size: 0.875rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.78);
  }
  .heritage-logos-viewport {
    width: 100%;
    opacity: 0.35;
    right: 0;
  }
  .heritage-logos-columns {
    transform: rotate(-22deg);
    width: 145%;
    right: -25%;
    top: -20%;
    bottom: -20%;
    gap: 1.5rem;
  }
  .heritage-col {
    flex: 0 0 190px;
    width: 190px;
  }
  .heritage-logo-item {
    width: 190px;
    height: 190px;
  }
  .heritage-col-track {
    gap: 1.5rem;
  }
  .heritage-col-middle {
    margin-top: -90px;
  }
}

/* ==========================================================================
   Recently Viewed Products Section
   ========================================================================== */
.recently-viewed-section {
  margin: 2.5rem 0 4rem;
}

.recently-viewed-header {
  margin-bottom: 1.75rem;
}

.recently-viewed-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111111;
  margin: 0;
}

/* Empty State */
.collection-empty-state {
  text-align: center;
  padding: 4rem 1rem;
  background: #fafafa;
  border-radius: 16px;
  margin-bottom: 3rem;
}

.collection-empty-text {
  font-size: 1.125rem;
  color: #666666;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   User Sign In, Signup, Lost Password & Profile Pages
   ========================================================================== */

.root-auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: clamp(1rem, 3vw, 3rem) 0.5rem;
}

.root-auth-card {
  width: 100%;
  max-width: 520px;
  background-color: #ffffff;
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 24px;
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}

.root-auth-card--narrow {
  max-width: 480px;
}

.root-auth-card--centered {
  text-align: center;
}

.root-auth-header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.root-auth-brand-logo {
  display: inline-block;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.root-auth-brand-logo:hover {
  transform: scale(1.05);
}

.root-auth-logo-img {
  width: 68px;
  height: 68px;
  margin: 0 auto;
  object-fit: contain;
}

.root-auth-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: #f4f4f4;
  color: var(--color-base-text);
  margin: 0 auto 1.25rem;
}

.root-auth-icon-badge--success {
  background-color: var(--color-highlight, #ffddbf);
  color: var(--color-base-text);
}

.root-auth-title {
  font-family: var(--font-family);
  font-size: clamp(1.6rem, 2.75vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-base-text);
  margin-bottom: 0.5rem;
}

.root-auth-subtitle {
  font-size: 0.925rem;
  line-height: 1.55;
  color: var(--color-text-muted);
  max-width: 380px;
  margin: 0 auto;
}

/* Auth Tabs Switcher */
.root-auth-tabs {
  display: flex;
  background-color: #f2f2f2;
  border-radius: var(--radius-pill);
  padding: 4px;
  margin-bottom: 1.75rem;
  gap: 4px;
}

.root-auth-tab-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.root-auth-tab-btn:hover {
  color: var(--color-base-text);
}

.root-auth-tab-btn.is-active {
  background-color: var(--color-base-text);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.root-auth-panel {
  display: none;
}

.root-auth-panel.is-active {
  display: block;
  animation: rootAuthFadeIn 0.3s ease-out;
}

@keyframes rootAuthFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fields & Inputs */
.root-auth-form {
  margin: 0;
}

.root-field-group {
  margin-bottom: 1.25rem;
  text-align: left;
}

.root-field-header-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.45rem;
}

.root-field-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #222222;
  margin-bottom: 0.45rem;
}

.root-field-label .required {
  color: var(--color-sale, #e11d48);
  font-weight: bold;
}

.root-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.root-input-icon {
  position: absolute;
  left: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #888888;
  pointer-events: none;
  z-index: 1;
}

.root-input,
.root-auth-container input.woocommerce-Input--text,
.root-auth-container input.woocommerce-Input--email,
.root-auth-container input.woocommerce-Input--password,
.root-profile-form input.woocommerce-Input {
  width: 100% !important;
  height: 50px !important;
  padding: 0 16px !important;
  font-size: 0.95rem !important;
  color: var(--color-base-text) !important;
  background-color: #fafafa !important;
  border: 1.5px solid rgba(23, 23, 23, 0.12) !important;
  border-radius: 12px !important;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease !important;
  outline: none !important;
  box-sizing: border-box !important;
}

.root-input-wrap:has(.root-input-icon) .root-input,
.root-input-wrap:has(.root-input-icon) input.woocommerce-Input {
  padding-left: 45px !important;
}

.root-input-wrap:has(.root-pwd-toggle) .root-input,
.root-input-wrap:has(.root-pwd-toggle) input.woocommerce-Input {
  padding-right: 48px !important;
}

/* Fallback padding when :has is not evaluated */
.root-input-icon + .root-input,
.root-input-icon + input.woocommerce-Input {
  padding-left: 45px !important;
}

.root-input:focus,
.root-auth-container input.woocommerce-Input:focus,
.root-profile-form input.woocommerce-Input:focus {
  background-color: #ffffff !important;
  border-color: var(--color-base-text) !important;
  box-shadow: 0 0 0 4px rgba(23, 23, 23, 0.08) !important;
}

.root-input::placeholder {
  color: #aaaaaa;
  font-size: 0.9rem;
}

.root-pwd-toggle {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  padding: 6px;
  color: #888888;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: color 0.2s ease;
  z-index: 2;
}

.root-pwd-toggle:hover {
  color: var(--color-base-text);
}

/* Checkbox */
.root-auth-options-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.root-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  cursor: pointer;
  user-select: none;
}

.root-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
}

.root-checkbox-custom {
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(23, 23, 23, 0.3);
  border-radius: 5px;
  background-color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.root-checkbox:checked + .root-checkbox-custom {
  background-color: var(--color-base-text);
  border-color: var(--color-base-text);
}

.root-checkbox:checked + .root-checkbox-custom::after {
  content: "";
  display: block;
  width: 5px;
  height: 9px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}

.root-checkbox-label:hover .root-checkbox-custom {
  border-color: var(--color-base-text);
}

.root-forgot-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.root-forgot-link:hover {
  color: var(--color-base-text);
}

.root-form-submit-row {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.root-submit-btn {
  height: 52px;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.root-auth-disclaimer {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #888888;
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 0;
}

.root-auth-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(23, 23, 23, 0.08);
}

.root-auth-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.25rem;
}

.root-auth-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #666666;
}

.root-auth-badge-item svg {
  color: var(--color-base-text);
}

.root-back-to-login {
  text-align: center;
  margin-top: 1.25rem;
}

.root-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-base-text);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  transition: background-color 0.2s ease;
}

.root-back-link:hover {
  background-color: #f2f2f2;
}

.root-info-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background-color: #f7f7f7;
  border-radius: 12px;
  border-left: 3px solid var(--color-base-text);
  margin-bottom: 1.25rem;
}

.root-info-icon {
  color: var(--color-base-text);
  flex-shrink: 0;
  margin-top: 2px;
}

.root-info-text {
  font-size: 0.875rem;
  line-height: 1.5;
  color: #444444;
  margin: 0;
}

.root-confirmation-body {
  padding-top: 0.5rem;
}

.root-confirmation-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.root-confirmation-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ==========================================================================
   Logged-in Account Dashboard & Navigation
   ========================================================================== */

/* 1. Global Reset of WooCommerce Account Layout Defaults (Maximum Specificity) */
html body.woocommerce-account .woocommerce-MyAccount-navigation,
html body.woocommerce-page .woocommerce-MyAccount-navigation,
html body .woocommerce-MyAccount-navigation,
nav.woocommerce-MyAccount-navigation.root-account-sidebar {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  clear: both !important;
}

html body.woocommerce-account .woocommerce-MyAccount-content,
html body.woocommerce-page .woocommerce-MyAccount-content,
html body .woocommerce-MyAccount-content,
.woocommerce-MyAccount-content.root-account-content-card {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  clear: both !important;
}

/* Clear WooCommerce core col2-set floats inside account content */
.woocommerce-account .woocommerce .col2-set .col-1,
.woocommerce-account .woocommerce .col2-set .col-2,
.woocommerce-account .col2-set .col-1,
.woocommerce-account .col2-set .col-2 {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce-account .woocommerce::after,
.woocommerce-account .woocommerce::before,
.woocommerce-account .woocommerce-MyAccount-content::after,
.woocommerce-account .woocommerce-MyAccount-content::before {
  content: normal !important;
  display: block !important;
  clear: both !important;
}

.root-account-wrapper {
  width: 100%;
  margin: 1.5rem 0 4.5rem;
}

.root-account-layout {
  display: grid !important;
  grid-template-columns: 290px minmax(0, 1fr) !important;
  gap: 2.25rem !important;
  align-items: start !important;
}

@media (max-width: 1024px) {
  .root-account-layout {
    grid-template-columns: 260px minmax(0, 1fr) !important;
    gap: 1.5rem !important;
  }
}

@media (max-width: 860px) {
  .root-account-layout {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
}

/* 2. Account Sidebar Container */
.root-account-sidebar,
nav.woocommerce-MyAccount-navigation.root-account-sidebar {
  display: block !important;
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  background-color: #ffffff !important;
  border: 1px solid rgba(23, 23, 23, 0.08) !important;
  border-radius: 20px !important;
  padding: 1.75rem 1.25rem !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;
  box-sizing: border-box !important;
  position: sticky !important;
  top: 96px !important;
}

/* 3. Account User Card Mini */
.root-account-user-card {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  padding: 0.25rem 0.5rem 1.5rem !important;
  margin-bottom: 1.25rem !important;
  border-bottom: 1px solid rgba(23, 23, 23, 0.08) !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.root-user-avatar {
  width: 52px !important;
  height: 52px !important;
  border-radius: 50% !important;
  background: var(--color-highlight, #ffddbf) !important;
  color: #171717 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 800 !important;
  font-size: 1.35rem !important;
  flex-shrink: 0 !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06) !important;
}

.root-user-meta {
  flex: 1 !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

.root-user-greeting {
  display: block !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: #888888 !important;
  margin-bottom: 2px !important;
}

.root-user-name {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: var(--color-base-text, #171717) !important;
  margin: 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.25 !important;
}

.root-user-email {
  display: block !important;
  font-size: 0.8rem !important;
  color: var(--color-text-muted, #666666) !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  margin-top: 3px !important;
}

/* 4. Account Navigation List */
.root-account-nav-list,
.woocommerce-MyAccount-navigation ul {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.35rem !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.root-account-nav-item,
.woocommerce-MyAccount-navigation li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  display: block !important;
  box-sizing: border-box !important;
}

/* Remove any WooCommerce default pseudo-elements */
.root-account-nav-item::before,
.root-account-nav-item::after,
.root-account-nav-link::before,
.root-account-nav-link::after,
.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation li::before,
.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation li::after,
.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation li a::before,
.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation li a::after,
.woocommerce-MyAccount-navigation li::before,
.woocommerce-MyAccount-navigation li::after,
.woocommerce-MyAccount-navigation li a::before,
.woocommerce-MyAccount-navigation li a::after {
  content: none !important;
  display: none !important;
}

.root-account-nav-link,
.woocommerce-MyAccount-navigation li a {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  padding: 0.85rem 1.15rem !important;
  border-radius: 12px !important;
  color: #333333 !important;
  font-size: 0.935rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  background-color: transparent !important;
  white-space: nowrap !important;
}

.root-nav-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 20px !important;
  min-width: 20px !important;
  height: 20px !important;
  flex-shrink: 0 !important;
  margin-right: 0.85rem !important;
  color: #666666 !important;
  transition: color 0.2s ease !important;
}

.root-nav-icon svg {
  width: 18px !important;
  height: 18px !important;
  display: block !important;
  flex-shrink: 0 !important;
}

.root-nav-label {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  white-space: nowrap !important;
  overflow: visible !important;
  line-height: 1.3 !important;
  text-align: left !important;
  text-transform: capitalize !important;
}

.root-nav-arrow {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  width: 14px !important;
  height: 14px !important;
  color: #aaaaaa !important;
  margin-left: auto !important;
  opacity: 0.35 !important;
  transition: all 0.2s ease !important;
}

.root-nav-arrow svg {
  width: 14px !important;
  height: 14px !important;
  display: block !important;
}

/* Hover State */
.root-account-nav-link:hover,
.woocommerce-MyAccount-navigation li a:hover {
  background-color: #f5f5f5 !important;
  color: var(--color-base-text, #171717) !important;
}

.root-account-nav-link:hover .root-nav-icon {
  color: var(--color-base-text, #171717) !important;
}

.root-account-nav-link:hover .root-nav-arrow {
  opacity: 1 !important;
  transform: translateX(3px) !important;
  color: var(--color-base-text, #171717) !important;
}

/* Active State */
.root-account-nav-link.is-active,
.root-account-nav-item.is-active .root-account-nav-link,
.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation li.is-active a {
  background-color: var(--color-base-text, #171717) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14) !important;
}

.root-account-nav-link.is-active .root-nav-icon,
.root-account-nav-item.is-active .root-account-nav-link .root-nav-icon,
.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation li.is-active a .root-nav-icon,
.woocommerce-MyAccount-navigation li.is-active a .root-nav-icon {
  color: #ffffff !important;
}

.root-account-nav-link.is-active .root-nav-label,
.root-account-nav-item.is-active .root-account-nav-link .root-nav-label,
.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation li.is-active a .root-nav-label,
.woocommerce-MyAccount-navigation li.is-active a .root-nav-label {
  color: #ffffff !important;
}

.root-account-nav-link.is-active .root-nav-arrow,
.root-account-nav-item.is-active .root-account-nav-link .root-nav-arrow,
.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation li.is-active a .root-nav-arrow,
.woocommerce-MyAccount-navigation li.is-active a .root-nav-arrow {
  opacity: 1 !important;
  color: #ffffff !important;
  transform: translateX(2px) !important;
}

/* Logout link special styling */
.woocommerce-MyAccount-navigation-link--customer-logout .root-account-nav-link:hover,
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
  background-color: #fff1f2 !important;
  color: #e11d48 !important;
}

.woocommerce-MyAccount-navigation-link--customer-logout .root-account-nav-link:hover .root-nav-icon,
.woocommerce-MyAccount-navigation-link--customer-logout .root-account-nav-link:hover .root-nav-arrow {
  color: #e11d48 !important;
}

/* Mobile Responsive Navigation (Scrollable horizontal pills) */
@media (max-width: 860px) {
  .root-account-sidebar,
  nav.woocommerce-MyAccount-navigation.root-account-sidebar {
    padding: 1.25rem 1rem !important;
    border-radius: 16px !important;
  }

  .root-account-user-card {
    padding-bottom: 1rem !important;
    margin-bottom: 1rem !important;
  }

  .root-account-nav-list,
  .woocommerce-MyAccount-navigation ul {
    flex-direction: row !important;
    overflow-x: auto !important;
    padding-bottom: 0.5rem !important;
    gap: 0.5rem !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .root-account-nav-list::-webkit-scrollbar,
  .woocommerce-MyAccount-navigation ul::-webkit-scrollbar {
    display: none !important;
  }

  .root-account-nav-item,
  .woocommerce-MyAccount-navigation li {
    width: auto !important;
    flex-shrink: 0 !important;
  }

  .root-account-nav-link,
  .woocommerce-MyAccount-navigation li a {
    padding: 0.65rem 1.15rem !important;
    border-radius: var(--radius-pill) !important;
    background-color: #f5f5f5 !important;
    font-size: 0.875rem !important;
  }

  .root-nav-arrow {
    display: none !important;
  }
}

/* Main Content Card */
.root-account-content-card,
.woocommerce-account .woocommerce-MyAccount-content.root-account-content-card {
  float: none !important;
  width: 100% !important;
  background-color: #ffffff !important;
  border: 1px solid rgba(23, 23, 23, 0.08) !important;
  border-radius: 20px !important;
  padding: clamp(1.75rem, 4vw, 2.75rem) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;
  box-sizing: border-box !important;
}

/* Dashboard Banner & Quick Action Cards */
.root-dashboard-welcome {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  background: linear-gradient(135deg, #fafafa 0%, #f4f4f4 100%);
  border: 1px solid rgba(23, 23, 23, 0.06);
  border-radius: 16px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .root-dashboard-welcome {
    flex-direction: column;
  }
}

.root-dashboard-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  background-color: var(--color-highlight, #ffddbf);
  color: var(--color-base-text);
  border-radius: var(--radius-pill);
  margin-bottom: 0.75rem;
}

.root-dashboard-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--color-base-text);
  margin-bottom: 0.5rem;
}

.root-dashboard-subtitle {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0;
}

.root-dashboard-logout-wrap {
  flex-shrink: 0;
}

.root-dashboard-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.root-dashboard-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background-color: #ffffff;
  border: 1px solid rgba(23, 23, 23, 0.1);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

.root-dashboard-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-base-text);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.07);
}

.root-card-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: #f5f5f5;
  color: var(--color-base-text);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all 0.2s ease;
}

.root-dashboard-card:hover .root-card-icon-wrap {
  background-color: var(--color-base-text);
  color: #ffffff;
}

.root-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-base-text);
  margin-bottom: 0.4rem;
}

.root-card-desc {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  flex: 1;
}

.root-card-stat {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #888888;
}

.root-card-arrow {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: #aaaaaa;
  transition: all 0.2s ease;
}

.root-dashboard-card:hover .root-card-arrow {
  color: var(--color-base-text);
  transform: translateX(4px);
}

/* ==========================================================================
   Profile (Edit Account) Page
   ========================================================================== */

.root-profile-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
}

.root-profile-title {
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--color-base-text);
  margin-bottom: 0.4rem;
}

.root-profile-subtitle {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin: 0;
}

.root-form-section {
  background-color: #fafafa;
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 16px;
  padding: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 2rem;
}

.root-form-section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(23, 23, 23, 0.06);
}

.root-section-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background-color: #ffffff;
  border: 1px solid rgba(23, 23, 23, 0.08);
  color: var(--color-base-text);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.root-section-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-base-text);
  margin: 0;
}

.root-section-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: 0.2rem 0 0;
}

.root-form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 640px) {
  .root-form-grid-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.root-field-hint {
  display: block;
  font-size: 0.8125rem;
  color: #888888;
  margin-top: 0.35rem;
}

.root-form-actions-bar {
  display: flex;
  justify-content: flex-start;
  padding-top: 0.5rem;
}

.root-save-profile-btn {
  padding: 0.95rem 2.25rem;
  font-size: 1rem;
}

/* ==========================================================================
   WooCommerce Notices & Table Overrides
   ========================================================================== */

.woocommerce-notices-wrapper {
  width: 100%;
  margin-bottom: 1.5rem;
}

.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
  position: relative;
  display: flex !important;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem !important;
  border-radius: 12px !important;
  font-size: 0.925rem !important;
  line-height: 1.5 !important;
  margin-bottom: 1.5rem !important;
  list-style: none !important;
  border: 1px solid !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.woocommerce-message::before,
.woocommerce-error::before,
.woocommerce-info::before {
  display: none !important;
}

.woocommerce-message {
  background-color: #f0fdf4 !important;
  border-color: #bbf7d0 !important;
  color: #166534 !important;
}

.woocommerce-error {
  background-color: #fff1f2 !important;
  border-color: #fecdd3 !important;
  color: #9f1239 !important;
  flex-direction: column;
  align-items: flex-start;
}

.woocommerce-error li {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.woocommerce-info {
  background-color: #f8fafc !important;
  border-color: #e2e8f0 !important;
  color: #334155 !important;
}

.woocommerce-message .button,
.woocommerce-info .button {
  margin-left: auto;
  border-radius: var(--radius-pill);
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  background-color: var(--color-base-text);
  color: #ffffff;
  border: none;
}

/* ==========================================================================
   Account Sub-pages: Common Headers & Navigation
   ========================================================================== */

.root-account-subpage {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.root-subpage-back-wrap {
  margin-bottom: 1.25rem;
}

.root-subpage-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #666666;
  text-decoration: none;
  transition: all 0.2s ease;
}

.root-subpage-back-link:hover {
  color: var(--color-base-text, #171717);
  transform: translateX(-3px);
}

.root-account-page-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
}

.root-account-page-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.75rem;
  background-color: var(--color-highlight, #ffddbf);
  color: var(--color-base-text, #171717);
  border-radius: var(--radius-pill);
  margin-bottom: 0.6rem;
}

.root-account-page-title {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--color-base-text, #171717);
  margin: 0 0 0.35rem;
}

.root-account-page-subtitle {
  font-size: 0.925rem;
  line-height: 1.55;
  color: var(--color-text-muted, #666666);
  margin: 0;
  max-width: 640px;
}

/* ==========================================================================
   Addresses Overview Sub-page (.root-addresses-subpage)
   ========================================================================== */

.root-addresses-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1.5rem !important;
  width: 100% !important;
}

@media (max-width: 768px) {
  .root-addresses-grid {
    grid-template-columns: 1fr !important;
  }
}

.root-address-card {
  display: flex;
  flex-direction: column;
  background-color: #fafafa;
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 18px;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  transition: var(--transition-smooth);
  box-sizing: border-box;
}

.root-address-card:hover {
  background-color: #ffffff;
  border-color: rgba(23, 23, 23, 0.16);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.root-address-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(23, 23, 23, 0.06);
}

.root-address-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: #ffffff;
  border: 1px solid rgba(23, 23, 23, 0.08);
  color: var(--color-base-text, #171717);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.root-address-header-meta {
  flex: 1;
  min-width: 0;
}

.root-address-type-badge {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #888888;
  margin-bottom: 2px;
}

.root-address-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-base-text, #171717);
  margin: 0;
}

.root-address-card-body {
  flex: 1;
  margin-bottom: 1.5rem;
}

.root-address-formatted {
  font-style: normal;
  font-size: 0.925rem;
  line-height: 1.7;
  color: #333333;
}

.root-address-empty-state {
  padding: 0.75rem 0;
}

.root-address-empty-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: #444444;
  margin: 0 0 0.35rem;
}

.root-address-empty-hint {
  display: block;
  font-size: 0.85rem;
  color: #888888;
  line-height: 1.5;
}

.root-address-card-footer {
  padding-top: 1rem;
  border-top: 1px solid rgba(23, 23, 23, 0.06);
}

.root-address-btn {
  width: 100%;
  justify-content: center;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
}

/* ==========================================================================
   Edit Address Form Sub-page (.root-edit-address-subpage)
   ========================================================================== */

.root-edit-address-form {
  width: 100%;
}

.root-address-fields-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1.25rem !important;
  margin-bottom: 2rem !important;
}

.root-address-fields-grid .form-row {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  float: none !important;
}

.root-address-fields-grid .form-row-wide,
.root-address-fields-grid .form-row[id*="street"],
.root-address-fields-grid .form-row[id*="address"],
.root-address-fields-grid .form-row[id*="country"],
.root-address-fields-grid .form-row[id*="company"] {
  grid-column: 1 / -1 !important;
}

@media (max-width: 640px) {
  .root-address-fields-grid {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }
  .root-address-fields-grid .form-row {
    grid-column: 1 / -1 !important;
  }
}

.root-address-fields-grid .form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-base-text, #171717);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.root-address-fields-grid .form-row .required {
  color: #e11d48;
  font-weight: 700;
  text-decoration: none;
  visibility: visible !important;
  margin-left: 2px;
}

.root-address-fields-grid .form-row .input-text,
.root-address-fields-grid .form-row select,
.root-address-fields-grid .form-row textarea {
  width: 100% !important;
  padding: 0.8rem 1.1rem !important;
  font-size: 0.935rem !important;
  border: 1px solid rgba(23, 23, 23, 0.14) !important;
  border-radius: 12px !important;
  background-color: #fafafa !important;
  color: var(--color-base-text, #171717) !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
}

.root-address-fields-grid .form-row .input-text:focus,
.root-address-fields-grid .form-row select:focus,
.root-address-fields-grid .form-row textarea:focus {
  background-color: #ffffff !important;
  border-color: var(--color-base-text, #171717) !important;
  box-shadow: 0 0 0 3px rgba(23, 23, 23, 0.08) !important;
  outline: none !important;
}

.root-form-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(23, 23, 23, 0.08);
}

.root-address-save-btn {
  padding: 0.9rem 2.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.root-address-cancel-btn {
  padding: 0.9rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
}

/* ==========================================================================
   Orders Sub-page (.root-orders-subpage)
   ========================================================================== */

.root-orders-table-card {
  background-color: #ffffff;
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.root-table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.root-orders-table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 0 !important;
  text-align: left !important;
}

.root-orders-table th {
  background-color: #fafafa !important;
  padding: 1.1rem 1.25rem !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  color: #666666 !important;
  border-bottom: 1px solid rgba(23, 23, 23, 0.08) !important;
  border-top: none !important;
  white-space: nowrap !important;
}

.root-orders-table td {
  padding: 1.2rem 1.25rem !important;
  font-size: 0.925rem !important;
  color: var(--color-base-text, #171717) !important;
  border-bottom: 1px solid rgba(23, 23, 23, 0.06) !important;
  border-top: none !important;
  vertical-align: middle !important;
}

.root-orders-table tr:last-child td {
  border-bottom: none !important;
}

.root-orders-table tr:hover td {
  background-color: #fafafa !important;
}

.root-order-link {
  font-weight: 700;
  color: var(--color-base-text, #171717);
  text-decoration: underline;
  text-underline-offset: 3px;
  display: inline-flex;
  align-items: center;
}

.root-order-hash {
  color: #999999;
  font-weight: 500;
}

.root-order-date {
  color: #666666;
  font-size: 0.875rem;
  white-space: nowrap;
}

.root-order-total-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.root-order-amount {
  font-weight: 700;
  color: var(--color-base-text, #171717);
}

.root-order-items-count {
  font-size: 0.775rem;
  color: #888888;
}

/* Status Badges */
.root-order-status {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: capitalize;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.root-status--completed {
  background-color: #dcfce7;
  color: #15803d;
}

.root-status--processing {
  background-color: #fef3c7;
  color: #b45309;
}

.root-status--on-hold {
  background-color: #e0f2fe;
  color: #0369a1;
}

.root-status--cancelled,
.root-status--failed {
  background-color: #fee2e2;
  color: #b91c1c;
}

.root-status--pending {
  background-color: #f3f4f6;
  color: #4b5563;
}

.root-order-action-btn {
  padding: 0.45rem 1.1rem;
  font-size: 0.825rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

/* Account Pagination */
.root-account-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.root-pagination-info {
  font-size: 0.875rem;
  font-weight: 600;
  color: #666666;
}

/* ==========================================================================
   Empty State Cards (.root-empty-state-card)
   ========================================================================== */

.root-empty-state-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(3rem, 6vw, 4.5rem) 1.5rem;
  background-color: #fafafa;
  border: 1px dashed rgba(23, 23, 23, 0.14);
  border-radius: 20px;
}

.root-empty-icon-wrap {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid rgba(23, 23, 23, 0.08);
  color: #888888;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
}

.root-empty-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-base-text, #171717);
  margin: 0 0 0.5rem;
}

.root-empty-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-muted, #666666);
  max-width: 440px;
  margin: 0 0 1.75rem;
}

.root-empty-btn {
  padding: 0.85rem 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
}

/* ==========================================================================
   View Single Order Sub-page (.root-view-order-subpage)
   ========================================================================== */

.root-view-order-header {
  background: linear-gradient(135deg, #fafafa 0%, #f4f4f4 100%);
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 16px;
  padding: 1.75rem;
  margin-bottom: 2rem;
}

.root-view-order-title {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--color-base-text, #171717);
  margin: 0.6rem 0 0.35rem;
}

.root-view-order-subtitle {
  font-size: 0.925rem;
  color: var(--color-text-muted, #666666);
  margin: 0;
}

.root-order-updates-card {
  background-color: #fafafa;
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 16px;
  padding: 1.75rem;
  margin-bottom: 2rem;
}

.root-order-section-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-base-text, #171717);
  margin: 0 0 1rem;
}

.root-order-updates-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.root-order-update-item {
  padding: 1rem;
  background-color: #ffffff;
  border: 1px solid rgba(23, 23, 23, 0.06);
  border-radius: 12px;
}

.root-update-date {
  font-size: 0.8rem;
  font-weight: 600;
  color: #888888;
  margin-bottom: 0.35rem;
}

.root-update-content {
  font-size: 0.925rem;
  line-height: 1.5;
  color: #333333;
}

.root-order-details-card table.shop_table {
  width: 100% !important;
  border-collapse: collapse !important;
  border: 1px solid rgba(23, 23, 23, 0.08) !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  margin-bottom: 2rem !important;
}

.root-order-details-card table.shop_table th {
  background-color: #fafafa !important;
  padding: 1rem 1.25rem !important;
  font-size: 0.825rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  color: #555555 !important;
  border-bottom: 1px solid rgba(23, 23, 23, 0.08) !important;
  border-top: none !important;
}

.root-order-details-card table.shop_table td {
  padding: 1rem 1.25rem !important;
  border-bottom: 1px solid rgba(23, 23, 23, 0.06) !important;
  border-top: none !important;
}

.root-order-details-card table.shop_table tfoot th {
  text-align: right !important;
  background: transparent !important;
  border-bottom: 1px solid rgba(23, 23, 23, 0.06) !important;
}

.root-order-details-card table.shop_table tfoot tr:last-child th,
.root-order-details-card table.shop_table tfoot tr:last-child td {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  border-bottom: none !important;
}

.root-order-details-card .woocommerce-customer-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.root-order-details-card .woocommerce-customer-details address {
  background-color: #fafafa;
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 14px;
  padding: 1.5rem;
  font-style: normal;
  line-height: 1.7;
}

/* ==========================================================================
   Legacy WooCommerce Addresses / Tables Fallback
   ========================================================================== */

.woocommerce-Addresses {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 1.5rem !important;
  margin-top: 1.5rem !important;
  float: none !important;
  width: 100% !important;
}

.woocommerce-Address {
  background-color: #fafafa !important;
  border: 1px solid rgba(23, 23, 23, 0.08) !important;
  border-radius: 16px !important;
  padding: 1.5rem !important;
  float: none !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.woocommerce-Address-title {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 1rem !important;
  padding-bottom: 0.75rem !important;
  border-bottom: 1px solid rgba(23, 23, 23, 0.06) !important;
}

.woocommerce-Address-title h2,
.woocommerce-Address-title h3 {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  margin: 0 !important;
  color: var(--color-base-text, #171717) !important;
}

.woocommerce-Address-title .edit {
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  color: var(--color-base-text, #171717) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

.woocommerce-Address address {
  font-style: normal !important;
  line-height: 1.7 !important;
  color: var(--color-text-muted, #666666) !important;
  font-size: 0.925rem !important;
}

/* ==========================================================================
   About Us Page Styling (.root-about-page)
   ========================================================================== */

.root-about-page {
  width: 100%;
  padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(4.5rem, 8vw, 7rem);
  background-color: #ffffff;
}

.root-about-container {
  max-width: 820px;
  margin: 0 auto;
}

.root-about-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.25rem);
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
}

.root-about-title {
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-base-text, #171717);
  margin: 0;
}

.root-about-content {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: #333333;
}

.root-about-content h1,
.root-about-content h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--color-base-text, #171717);
  margin: 2.75rem 0 1.25rem;
}

.root-about-content h1:first-child,
.root-about-content h2:first-child {
  margin-top: 0;
}

.root-about-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-base-text, #171717);
  margin: 2rem 0 1rem;
}

.root-about-content p {
  margin: 0 0 1.5rem;
  color: #444444;
}

.root-about-content p:last-child {
  margin-bottom: 0;
}

.root-about-content hr,
.root-about-content .wp-block-separator {
  border: none;
  border-top: 1px solid rgba(23, 23, 23, 0.1);
  margin: clamp(2.5rem, 5vw, 3.5rem) 0;
}


/* ==========================================================================
   Journal / Blog Archive Template (.root-journal-page)
   ========================================================================== */

.root-journal-page {
  width: 100%;
  background-color: #ffffff;
}

/* Journal Header */
.root-journal-header {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
  background: linear-gradient(180deg, #fcfbf9 0%, #ffffff 100%);
}

.root-journal-header-content {
  max-width: 760px;
  margin: 0 auto;
}

.root-journal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background-color: var(--color-highlight, #ffddbf);
  color: var(--color-base-text, #171717);
  margin-bottom: 1.25rem;
}

.root-journal-title {
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-base-text, #171717);
  margin: 0 0 1rem;
  line-height: 1.15;
}

.root-journal-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.65;
  color: var(--color-text-muted, #666666);
  margin: 0 auto;
}

/* Journal Feed Section */
.root-journal-feed-section {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 7vw, 6rem);
}

.root-journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 3.5vw, 2.75rem);
}

@media (max-width: 991px) {
  .root-journal-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .root-journal-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
}

/* Journal Card */
.root-journal-card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.root-journal-card:hover {
  transform: translateY(-4px);
}

.root-journal-thumb-link {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border-radius: 18px;
  background-color: #f7f6f4;
  border: 1px solid rgba(23, 23, 23, 0.07);
  margin-bottom: 1.35rem;
}

.root-journal-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.root-journal-card:hover .root-journal-thumb-img {
  transform: scale(1.04);
}

.root-journal-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.root-journal-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: #777777;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.root-journal-cat {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-base-text, #171717);
}

.root-journal-meta-sep {
  color: #cccccc;
  font-size: 0.65rem;
}

.root-journal-card-title {
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.015em;
  margin: 0 0 0.85rem;
}

.root-journal-card-title a {
  color: var(--color-base-text, #171717);
  text-decoration: none;
  transition: color 0.2s ease;
}

.root-journal-card-title a:hover {
  color: #8c5d2e;
}

.root-journal-card-excerpt {
  font-size: 0.925rem;
  line-height: 1.65;
  color: #555555;
  margin-bottom: 1.25rem;
  flex: 1;
}

.root-journal-card-footer {
  margin-top: auto;
  padding-top: 0.5rem;
}

.root-journal-read-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-base-text, #171717);
  text-decoration: none;
  transition: gap 0.25s ease, color 0.2s ease;
}

.root-journal-read-link:hover {
  gap: 0.7rem;
  color: #8c5d2e;
}

/* Journal Pagination */
.root-journal-pagination {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  display: flex;
  justify-content: center;
}

.root-journal-pagination .nav-links {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.root-journal-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 42px;
  height: 42px;
  padding: 0 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-base-text, #171717);
  text-decoration: none;
  border: 1px solid rgba(23, 23, 23, 0.1);
  background-color: #ffffff;
  transition: all 0.2s ease;
}

.root-journal-pagination .page-numbers:hover {
  border-color: #171717;
  background-color: #fafafa;
}

.root-journal-pagination .page-numbers.current {
  background-color: #171717;
  color: #ffffff;
  border-color: #171717;
}

.root-journal-empty {
  text-align: center;
  padding: 5rem 0;
  color: #777777;
}

/* ==========================================================================
   Single Article / Story Template (.root-single-article-page)
   ========================================================================== */

.root-single-article-page {
  width: 100%;
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(4rem, 8vw, 6.5rem);
  background-color: #ffffff;
}

.root-article-container {
  max-width: 820px;
  margin: 0 auto;
}

/* Back Link */
.root-article-top-nav {
  margin-bottom: 2rem;
}

.root-article-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #666666;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.root-article-back-link:hover {
  color: var(--color-base-text, #171717);
  transform: translateX(-3px);
}

/* Header */
.root-article-header {
  margin-bottom: 2.25rem;
}

.root-article-meta-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  color: #777777;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.root-article-title {
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--color-base-text, #171717);
  margin: 0;
}

/* Featured Image */
.root-article-featured-image {
  margin-bottom: 2.75rem;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(23, 23, 23, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.root-featured-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Article Content */
.root-article-content {
  font-size: 1.0625rem;
  line-height: 1.9;
  color: #333333;
}

.root-article-content h1,
.root-article-content h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--color-base-text, #171717);
  margin: 2.75rem 0 1.25rem;
}

.root-article-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-base-text, #171717);
  margin: 2rem 0 1rem;
}

.root-article-content p {
  margin: 0 0 1.5rem;
  color: #444444;
}

.root-article-content p:last-child {
  margin-bottom: 0;
}

.root-article-content hr,
.root-article-content .wp-block-separator {
  border: none;
  border-top: 1px solid rgba(23, 23, 23, 0.1);
  margin: clamp(2.5rem, 5vw, 3.5rem) 0;
}

.root-article-content blockquote {
  border-left: 3px solid #171717;
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  font-size: 1.15rem;
  color: #222222;
}

.root-article-content ul,
.root-article-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.root-article-content li {
  margin-bottom: 0.5rem;
  line-height: 1.75;
}

/* Footer */
.root-article-footer {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(23, 23, 23, 0.09);
}

.root-article-tags {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.root-tags-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #777777;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.root-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.root-tag-pill {
  font-size: 0.8rem;
  font-weight: 600;
  color: #555555;
  background-color: #f5f5f5;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all 0.2s ease;
}

.root-tag-pill:hover {
  background-color: #171717;
  color: #ffffff;
}

/* Next / Prev Navigation Grid */
.root-article-nav {
  margin-bottom: 3rem;
}

.root-article-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 600px) {
  .root-article-nav-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.root-nav-story-card {
  display: flex;
  flex-direction: column;
  padding: 1.35rem 1.5rem;
  border-radius: 16px;
  background-color: #fafafa;
  border: 1px solid rgba(23, 23, 23, 0.07);
  text-decoration: none;
  transition: all 0.2s ease;
}

.root-nav-story-card:hover {
  background-color: #ffffff;
  border-color: rgba(23, 23, 23, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.root-nav-story-next {
  text-align: right;
  align-items: flex-end;
}

.root-nav-story-dir {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #888888;
  margin-bottom: 0.5rem;
}

.root-nav-story-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-base-text, #171717);
  line-height: 1.4;
}

.root-article-return {
  text-align: center;
  padding-top: 1rem;
}

.root-return-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
}


/* ==========================================================================
   Legal Document Template (.root-legal-page)
   ========================================================================== */

.root-legal-page {
  width: 100%;
  background-color: #fbfbfb;
  min-height: 80vh;
}

/* 1. Legal Hero */
.root-legal-hero {
  padding: clamp(2.5rem, 5vw, 4rem) 0 2.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
}

.root-legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background-color: var(--color-highlight, #ffddbf);
  color: var(--color-base-text, #171717);
  margin-bottom: 1rem;
}

.root-legal-hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-base-text, #171717);
  margin: 0 0 1rem;
  line-height: 1.15;
}

.root-legal-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.875rem;
  color: #666666;
  margin-top: 0.5rem;
}

.root-legal-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #666666;
}

.root-meta-divider {
  color: #cccccc;
  font-weight: 700;
}

.root-legal-actions {
  margin-left: auto;
}

@media (max-width: 768px) {
  .root-legal-actions {
    margin-left: 0;
    width: 100%;
    margin-top: 0.5rem;
  }
}

.root-print-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: 0.825rem;
  font-weight: 600;
}

/* 2. Legal Body Section & 2-Column Grid */
.root-legal-body-section {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 6rem;
}

.root-legal-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 2.75rem;
  align-items: start;
}

@media (max-width: 980px) {
  .root-legal-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Left Sticky Sidebar */
.root-legal-sidebar-sticky {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.root-legal-card {
  background-color: #ffffff;
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.02);
}

.root-sidebar-card-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888888;
  margin-bottom: 0.85rem;
  display: block;
}

/* Policy Switcher Links */
.root-policy-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.root-policy-nav-item {
  list-style: none;
  margin: 0;
  padding: 0;
}

.root-policy-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #444444;
  text-decoration: none;
  transition: all 0.2s ease;
}

.root-policy-nav-link:hover {
  background-color: #f5f5f5;
  color: var(--color-base-text, #171717);
}

.root-policy-nav-link.is-active {
  background-color: var(--color-base-text, #171717) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.root-policy-nav-link .root-nav-label {
  flex: 1;
}

.root-policy-nav-link.is-active .root-nav-icon,
.root-policy-nav-link.is-active .root-nav-arrow {
  color: #ffffff;
}

.root-policy-nav-link.is-active .root-nav-arrow {
  opacity: 0.75;
}

.root-policy-nav-link:hover .root-nav-arrow {
  transform: translateX(2px);
}

/* On-Page Table of Contents */
.root-toc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.root-toc-header .root-sidebar-card-label {
  margin-bottom: 0;
}

.root-toc-count {
  font-size: 0.72rem;
  color: #999999;
  font-weight: 600;
}

.root-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  max-height: 290px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.root-toc-item {
  list-style: none;
  margin: 0;
  padding: 0;
}

.root-toc-link {
  display: block;
  font-size: 0.85rem;
  line-height: 1.45;
  color: #666666;
  text-decoration: none;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  border-left: 2px solid transparent;
}

.root-toc-link:hover {
  color: var(--color-base-text, #171717);
  background-color: #fafafa;
  border-left-color: var(--color-base-text, #171717);
  font-weight: 600;
}

/* Concierge Card */
.root-concierge-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: #fafafa;
  border: 1px solid rgba(23, 23, 23, 0.08);
  color: var(--color-base-text, #171717);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.root-concierge-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-base-text, #171717);
  margin: 0 0 0.4rem;
}

.root-concierge-desc {
  font-size: 0.825rem;
  line-height: 1.55;
  color: #666666;
  margin: 0 0 1rem;
}

.root-concierge-btn {
  width: 100%;
  justify-content: center;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

/* Right Content Column */
.root-legal-content-card {
  background-color: #ffffff;
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 24px;
  padding: clamp(2rem, 5vw, 3.75rem);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.02);
  box-sizing: border-box;
}

.root-legal-content {
  font-size: 1rem;
  line-height: 1.85;
  color: #333333;
}

.root-legal-content h1,
.root-legal-content h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-base-text, #171717);
  margin: 2.75rem 0 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(23, 23, 23, 0.08);
  scroll-margin-top: 120px;
}

.root-legal-content h1:first-of-type,
.root-legal-content h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.root-legal-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-base-text, #171717);
  margin: 1.75rem 0 0.75rem;
  scroll-margin-top: 120px;
}

.root-legal-content p {
  margin-bottom: 1.25rem;
}

.root-legal-content ul,
.root-legal-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.root-legal-content li {
  margin-bottom: 0.5rem;
  line-height: 1.75;
}

.root-legal-content strong {
  font-weight: 700;
  color: var(--color-base-text, #171717);
}

.root-legal-content hr.wp-block-separator {
  border: none;
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
  margin: 2.5rem 0;
}

.root-legal-content blockquote {
  background-color: #fafafa;
  border-left: 3px solid var(--color-base-text, #171717);
  border-radius: 0 12px 12px 0;
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
  font-style: normal;
  font-size: 0.95rem;
}

.root-legal-doc-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  margin-top: 3.5rem;
  border-top: 1px solid rgba(23, 23, 23, 0.08);
  font-size: 0.85rem;
  color: #888888;
}

.root-back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: var(--radius-pill);
}

.icon-rotate-up {
  transform: rotate(90deg);
}

/* Print Stylesheet for Legal Pages */
@media print {
  header.site-header,
  footer.site-footer,
  .root-legal-sidebar,
  .root-legal-actions,
  .root-legal-doc-footer-actions,
  .mobile-bottom-dock {
    display: none !important;
  }

  .root-legal-page,
  .root-legal-hero,
  .root-legal-body-section {
    padding: 0 !important;
    background: transparent !important;
  }

  .root-legal-layout {
    grid-template-columns: 1fr !important;
  }

  .root-legal-content-card {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
}



