body.turath-amz.figma-heritage-ui .main-navbar {
  position: sticky;
  z-index: 5000 !important;
  overflow: visible !important;
  isolation: isolate;
}

body.turath-amz.figma-heritage-ui .navbar-container,
body.turath-amz.figma-heritage-ui .nav-right,
body.turath-amz.figma-heritage-ui .navbar-actions,
body.turath-amz.figma-heritage-ui .user-dropdown {
  overflow: visible !important;
}

body.turath-amz.figma-heritage-ui .nav-right,
body.turath-amz.figma-heritage-ui .navbar-actions,
body.turath-amz.figma-heritage-ui .user-dropdown {
  position: relative;
  z-index: 5001;
}

body.turath-amz.figma-heritage-ui .dropdown-menu-custom {
  z-index: 5100 !important;
}

body.turath-amz.figma-heritage-ui .categories-bar {
  position: relative;
  z-index: 1000 !important;
}

@media (min-width: 993px) {
  body.turath-amz.figma-heritage-ui .dropdown-menu-custom {
    position: absolute !important;
    top: calc(100% + 10px);
    max-height: min(70vh, 520px);
    overflow-y: auto;
  }
}

html[data-theme='dark'] {
  color-scheme: dark;
  background: #071611 !important;
}

html[data-theme='dark'] body.turath-amz.figma-heritage-ui {
  background:
    radial-gradient(circle at top, rgba(23, 76, 60, 0.18), transparent 38%),
    linear-gradient(180deg, #08140f 0%, #0d1d16 100%);
  color: #ebf5ef;
}

html[data-theme='dark'] body.heritage-redesign-skin,
html[data-theme='dark'] body:has(.heritage-redesign-home),
html[data-theme='dark'] body:has(.heritage-redesign-product) {
  background:
    radial-gradient(circle at top right, rgba(214, 174, 106, 0.08), transparent 30%),
    radial-gradient(circle at top left, rgba(45, 106, 86, 0.14), transparent 30%),
    linear-gradient(180deg, #071611 0%, #0c211a 48%, #071611 100%) !important;
  color: #eaf5ef !important;
}

html[data-theme='dark'].home-loading-story-active,
html[data-theme='dark'] body.home-loading-story-active {
  overflow: auto !important;
}

html[data-theme='dark'] body.figma-heritage-ui > .home-loading-story {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

html[data-theme='dark'] .top-strip,
html[data-theme='dark'] .main-navbar,
html[data-theme='dark'] .categories-bar,
html[data-theme='dark'] .footer-main,
html[data-theme='dark'] .footer-bottom {
  background: rgba(8, 20, 15, 0.94) !important;
  border-color: rgba(180, 209, 195, 0.08) !important;
}

html[data-theme='dark'] .nav-right,
html[data-theme='dark'] .top-strip-links a,
html[data-theme='dark'] .category-item,
html[data-theme='dark'] .navbar-actions .action-btn,
html[data-theme='dark'] .navbar-actions .user-dropdown > .action-btn,
html[data-theme='dark'] .mobile-menu-btn,
html[data-theme='dark'] .search-container,
html[data-theme='dark'] .search-actions,
html[data-theme='dark'] .search-bar,
html[data-theme='dark'] .search-results,
html[data-theme='dark'] .dropdown-menu-custom,
html[data-theme='dark'] .card,
html[data-theme='dark'] .product-tile,
html[data-theme='dark'] .deal-card,
html[data-theme='dark'] .category-tile,
html[data-theme='dark'] .service-card,
html[data-theme='dark'] .stat-card,
html[data-theme='dark'] .quick-view-modal .modal-content,
html[data-theme='dark'] .store-product-card,
html[data-theme='dark'] .store-empty {
  background: rgba(13, 33, 26, 0.92) !important;
  border-color: rgba(180, 209, 195, 0.12) !important;
  box-shadow: 0 24px 50px rgba(3, 10, 7, 0.26);
}

html[data-theme='dark'] .hero-panel-card.has-media,
html[data-theme='dark'] .category-tile.has-image {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

html[data-theme='dark'] .product-title,
html[data-theme='dark'] .product-price .price,
html[data-theme='dark'] .deal-title,
html[data-theme='dark'] .category-meta h4,
html[data-theme='dark'] .service-card h4,
html[data-theme='dark'] .stat-number,
html[data-theme='dark'] .section-link,
html[data-theme='dark'] .footer-main h5,
html[data-theme='dark'] .store-product-title,
html[data-theme='dark'] .store-product-price,
html[data-theme='dark'] .text-dark {
  color: #eef6f0 !important;
}

html[data-theme='dark'] .product-rating .text-muted,
html[data-theme='dark'] .product-price .price-old,
html[data-theme='dark'] .category-meta span,
html[data-theme='dark'] .service-card p,
html[data-theme='dark'] .stat-label,
html[data-theme='dark'] .quick-view-description,
html[data-theme='dark'] .quick-view-cta-text,
html[data-theme='dark'] .deal-cta,
html[data-theme='dark'] .footer-main p,
html[data-theme='dark'] .footer-main a,
html[data-theme='dark'] .footer-bottom,
html[data-theme='dark'] .store-empty p,
html[data-theme='dark'] .store-product-price-old,
html[data-theme='dark'] .text-muted,
html[data-theme='dark'] small {
  color: #b8cbbf !important;
}

html[data-theme='dark'] .hero-panel-card.has-media p,
html[data-theme='dark'] .hero-panel-card.has-media .mini-cats a,
html[data-theme='dark'] .category-tile.has-image .category-meta h4,
html[data-theme='dark'] .category-tile.has-image .category-meta span {
  color: #fff4df !important;
}

html[data-theme='dark'] .search-bar::placeholder {
  color: rgba(219, 236, 227, 0.66);
}

html[data-theme='dark'] .search-actions,
html[data-theme='dark'] .search-btn,
html[data-theme='dark'] .camera-btn,
html[data-theme='dark'] .voice-btn {
  color: #dfeee6 !important;
}

html[data-theme='dark'] body.turath-amz #searchForm,
html[data-theme='dark'] body.turath-amz.figma-heritage-ui #searchForm {
  background:
    linear-gradient(180deg, rgba(13, 33, 26, 0.98), rgba(8, 22, 17, 0.96)) !important;
  border-color: rgba(180, 209, 195, 0.14) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 38px rgba(0, 0, 0, 0.22) !important;
}

html[data-theme='dark'] body.turath-amz .search-container,
html[data-theme='dark'] body.turath-amz.figma-heritage-ui .search-container {
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme='dark'] body.turath-amz .search-bar,
html[data-theme='dark'] body.turath-amz.figma-heritage-ui .search-bar {
  background: transparent !important;
  border-color: transparent !important;
  color: #eef6f0 !important;
}

html[data-theme='dark'] body.turath-amz.figma-heritage-ui .camera-btn,
html[data-theme='dark'] body.turath-amz.figma-heritage-ui .voice-btn {
  background: rgba(255, 255, 255, 0.055) !important;
  border-color: rgba(180, 209, 195, 0.12) !important;
  color: #dfeee6 !important;
}

html[data-theme='dark'] .btn-outline-secondary,
html[data-theme='dark'] .section-link,
html[data-theme='dark'] .btn-ghost {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #eef6f0 !important;
}

html[data-theme='dark'] .footer-main .social-icon,
html[data-theme='dark'] .store-qty-actions .qty-btn {
  box-shadow: 0 14px 28px rgba(3, 10, 7, 0.28);
}

/* User-facing pages: auth, account, orders, and story dark-mode polish */
html[data-theme='dark'] .app-main-shell {
  background: transparent;
  color: #eaf5ef;
  opacity: 1 !important;
  transform: none !important;
}

html[data-theme='dark'] .form-control,
html[data-theme='dark'] .form-select,
html[data-theme='dark'] textarea,
html[data-theme='dark'] input:not([type="checkbox"]):not([type="radio"]):not([type="range"]) {
  background-color: rgba(255, 255, 255, 0.045) !important;
  border-color: rgba(181, 213, 197, 0.16) !important;
  color: #eef7f2 !important;
}

html[data-theme='dark'] .form-control::placeholder,
html[data-theme='dark'] textarea::placeholder,
html[data-theme='dark'] input::placeholder {
  color: rgba(203, 222, 213, 0.62) !important;
}

html[data-theme='dark'] .form-control:focus,
html[data-theme='dark'] .form-select:focus,
html[data-theme='dark'] textarea:focus,
html[data-theme='dark'] input:focus {
  background-color: rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(214, 174, 106, 0.48) !important;
  box-shadow: 0 0 0 0.22rem rgba(214, 174, 106, 0.13) !important;
  color: #f4fbf7 !important;
}

html[data-theme='dark'] .border,
html[data-theme='dark'] .border-top,
html[data-theme='dark'] .border-end,
html[data-theme='dark'] .border-bottom,
html[data-theme='dark'] .border-start {
  border-color: rgba(181, 213, 197, 0.14) !important;
}

html[data-theme='dark'] .badge.bg-light.text-dark,
html[data-theme='dark'] .badge.bg-light,
html[data-theme='dark'] .bg-light.text-dark {
  background: rgba(214, 174, 106, 0.14) !important;
  border-color: rgba(214, 174, 106, 0.28) !important;
  color: #f5e7c7 !important;
}

html[data-theme='dark'] .card .border.rounded-4,
html[data-theme='dark'] .card .border.rounded-3 {
  background: rgba(255, 255, 255, 0.035);
}

html[data-theme='dark'] .btn-outline-primary,
html[data-theme='dark'] .btn-outline-secondary,
html[data-theme='dark'] .btn-outline-warning {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(181, 213, 197, 0.18);
  color: #eef7f2;
}

html[data-theme='dark'] .btn-outline-primary:hover,
html[data-theme='dark'] .btn-outline-secondary:hover,
html[data-theme='dark'] .btn-outline-warning:hover {
  background: rgba(214, 174, 106, 0.16);
  border-color: rgba(214, 174, 106, 0.44);
  color: #fff7e5;
}

/* Public storefront pages */
html[data-theme='dark'] .heritage-redesign-home .deal-card,
html[data-theme='dark'] .heritage-redesign-home .deal-body,
html[data-theme='dark'] .search-page .search-hero,
html[data-theme='dark'] .search-page .search-panel,
html[data-theme='dark'] .search-page .search-card,
html[data-theme='dark'] .search-page .search-stat,
html[data-theme='dark'] .info-experience-page .info-side-panel,
html[data-theme='dark'] .info-experience-page .info-highlight-item,
html[data-theme='dark'] .info-experience-page .info-detail-card,
html[data-theme='dark'] .info-experience-page .info-related-card,
html[data-theme='dark'] .info-experience-page .partners-showcase-block,
html[data-theme='dark'] .info-experience-page .partners-metric-card,
html[data-theme='dark'] .info-experience-page .partner-logo-card,
html[data-theme='dark'] .info-experience-page .partners-empty-state,
html[data-theme='dark'] .info-experience-page .partners-principles-grid article,
html[data-theme='dark'] .info-experience-page .accordion-item,
html[data-theme='dark'] .info-experience-page .accordion-button {
  background:
    radial-gradient(circle at top right, rgba(214, 174, 106, 0.055), transparent 32%),
    linear-gradient(180deg, rgba(16, 39, 32, 0.96), rgba(10, 26, 20, 0.96)) !important;
  border-color: rgba(181, 213, 197, 0.14) !important;
  color: #eaf5ef !important;
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.26) !important;
}

html[data-theme='dark'] .heritage-redesign-home .deal-card img,
html[data-theme='dark'] .search-page .search-card img,
html[data-theme='dark'] .info-experience-page .partner-logo-mark,
html[data-theme='dark'] .info-experience-page .partners-featured-logo,
html[data-theme='dark'] .info-experience-page .info-icon-badge {
  background: rgba(255, 255, 255, 0.055) !important;
  border-color: rgba(181, 213, 197, 0.14) !important;
}

html[data-theme='dark'] .heritage-redesign-home .deal-title,
html[data-theme='dark'] .search-page .search-hero h1,
html[data-theme='dark'] .search-page .search-stat strong,
html[data-theme='dark'] .search-page .search-card h3,
html[data-theme='dark'] .info-experience-page .info-side-panel strong,
html[data-theme='dark'] .info-experience-page .info-detail-card h2,
html[data-theme='dark'] .info-experience-page .info-section-head h2,
html[data-theme='dark'] .info-experience-page .info-related-card strong,
html[data-theme='dark'] .info-experience-page .partners-showcase-head h2,
html[data-theme='dark'] .info-experience-page .partners-metric-card strong,
html[data-theme='dark'] .info-experience-page .partner-logo-copy h3,
html[data-theme='dark'] .info-experience-page .partner-logo-mark b,
html[data-theme='dark'] .info-experience-page .partners-empty-state strong,
html[data-theme='dark'] .info-experience-page .partners-principles-grid h3,
html[data-theme='dark'] .info-experience-page .accordion-button {
  color: #eef7f2 !important;
}

html[data-theme='dark'] .search-page .search-hero p,
html[data-theme='dark'] .search-page .search-card p,
html[data-theme='dark'] .search-page .search-mini,
html[data-theme='dark'] .search-page .search-stat span,
html[data-theme='dark'] .search-page .search-empty,
html[data-theme='dark'] .info-experience-page .info-highlight-item p,
html[data-theme='dark'] .info-experience-page .info-detail-card p,
html[data-theme='dark'] .info-experience-page .info-related-card p,
html[data-theme='dark'] .info-experience-page .partners-showcase-head p,
html[data-theme='dark'] .info-experience-page .partners-metric-card span,
html[data-theme='dark'] .info-experience-page .partners-metric-card p,
html[data-theme='dark'] .info-experience-page .partner-logo-copy p,
html[data-theme='dark'] .info-experience-page .partners-empty-state p,
html[data-theme='dark'] .info-experience-page .partners-principles-grid p,
html[data-theme='dark'] .info-experience-page .accordion-body {
  color: #b7cbc1 !important;
}

html[data-theme='dark'] .heritage-redesign-home .deal-cta,
html[data-theme='dark'] .search-page .search-price,
html[data-theme='dark'] .search-page .search-kicker,
html[data-theme='dark'] .search-page .search-pill,
html[data-theme='dark'] .search-page .search-tabs .nav-link,
html[data-theme='dark'] .info-experience-page .info-kicker,
html[data-theme='dark'] .info-experience-page .info-section-kicker,
html[data-theme='dark'] .info-experience-page .info-visual-label,
html[data-theme='dark'] .info-experience-page .info-secondary-action,
html[data-theme='dark'] .info-experience-page .partners-join-link,
html[data-theme='dark'] .info-experience-page .partner-logo-copy span,
html[data-theme='dark'] .info-experience-page .partner-logo-copy strong,
html[data-theme='dark'] .info-experience-page .partner-logo-copy a,
html[data-theme='dark'] .info-experience-page .info-related-card span {
  background: rgba(214, 174, 106, 0.13) !important;
  border-color: rgba(214, 174, 106, 0.26) !important;
  color: #f2d18b !important;
}

html[data-theme='dark'] .search-page .search-tabs .nav-link.active,
html[data-theme='dark'] .info-experience-page .info-primary-action {
  background: linear-gradient(135deg, #1b5a47, #2b755f) !important;
  border-color: rgba(214, 174, 106, 0.3) !important;
  color: #fff7e5 !important;
}

html[data-theme='dark'] .search-page .search-empty,
html[data-theme='dark'] .info-experience-page {
  background:
    radial-gradient(circle at 18% 0, rgba(214, 174, 106, 0.08), transparent 30%),
    linear-gradient(180deg, #071611 0%, #0c211a 100%) !important;
}

html[data-theme='dark'] .info-experience-page .info-visual-label {
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28) !important;
}

/* Artisan/vendor onboarding */
html[data-theme='dark'] .artisan-join,
html[data-theme='dark'] .vendor-shell {
  background:
    radial-gradient(circle at 18% 0, rgba(214, 174, 106, 0.08), transparent 30%),
    linear-gradient(180deg, #071611 0%, #0c211a 100%) !important;
  color: #eaf5ef !important;
}

html[data-theme='dark'] .artisan-join-hero::after {
  background: linear-gradient(0deg, #071611, rgba(7, 22, 17, 0)) !important;
}

html[data-theme='dark'] .artisan-join-section.is-soft {
  background: rgba(255, 255, 255, 0.025) !important;
}

html[data-theme='dark'] .artisan-benefit-card,
html[data-theme='dark'] .artisan-step-card,
html[data-theme='dark'] .artisan-expectation,
html[data-theme='dark'] .vendor-card,
html[data-theme='dark'] .feature-item {
  background:
    radial-gradient(circle at top right, rgba(214, 174, 106, 0.055), transparent 32%),
    linear-gradient(180deg, rgba(16, 39, 32, 0.96), rgba(10, 26, 20, 0.96)) !important;
  border-color: rgba(181, 213, 197, 0.14) !important;
  color: #eaf5ef !important;
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.26) !important;
}

html[data-theme='dark'] .artisan-join-heading h2,
html[data-theme='dark'] .artisan-benefit-card h3,
html[data-theme='dark'] .artisan-step-card h3,
html[data-theme='dark'] .artisan-expectation h3,
html[data-theme='dark'] .vendor-head h1,
html[data-theme='dark'] .section-title,
html[data-theme='dark'] .vendor-card label,
html[data-theme='dark'] .feature-item {
  color: #eef7f2 !important;
}

html[data-theme='dark'] .artisan-join-heading p,
html[data-theme='dark'] .artisan-benefit-card p,
html[data-theme='dark'] .artisan-step-card p,
html[data-theme='dark'] .artisan-expectation p,
html[data-theme='dark'] .vendor-head p,
html[data-theme='dark'] .vendor-card .text-muted,
html[data-theme='dark'] .vendor-links a {
  color: #b7cbc1 !important;
}

html[data-theme='dark'] .artisan-join-heading .eyebrow,
html[data-theme='dark'] .artisan-step-card::before,
html[data-theme='dark'] .vendor-links a:hover {
  color: #f2d18b !important;
}

/* Homepage category rail and product detail */
html[data-theme='dark'] .heritage-redesign-home,
html[data-theme='dark'] .heritage-redesign-home .section-block,
html[data-theme='dark'] .heritage-redesign-home #categories,
html[data-theme='dark'] .heritage-redesign-home #offers,
html[data-theme='dark'] .heritage-redesign-home .category-showcase-shell,
html[data-theme='dark'] .heritage-redesign-home .section-promo-block,
html[data-theme='dark'] .heritage-redesign-home .section-shell {
  background:
    radial-gradient(circle at top right, rgba(214, 174, 106, 0.05), transparent 34%),
    linear-gradient(180deg, #071611 0%, #0c211a 100%) !important;
  color: #eaf5ef !important;
}

html[data-theme='dark'] .heritage-redesign-home .premium-category-tile,
html[data-theme='dark'] .heritage-redesign-home .premium-category-tile.has-image,
html[data-theme='dark'] .heritage-redesign-home .category-carousel-btn {
  background:
    radial-gradient(circle at top right, rgba(214, 174, 106, 0.055), transparent 32%),
    linear-gradient(180deg, rgba(16, 39, 32, 0.96), rgba(10, 26, 20, 0.96)) !important;
  border-color: rgba(181, 213, 197, 0.14) !important;
  color: #eaf5ef !important;
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.26) !important;
}

html[data-theme='dark'] .heritage-redesign-home .turath-ornament-divider,
html[data-theme='dark'] .heritage-redesign-home .turath-ornament-divider--after-hero,
html[data-theme='dark'] .heritage-redesign-home .turath-ornament-divider--before-identity {
  background: #071611 !important;
  border-color: rgba(181, 213, 197, 0.08) !important;
}

html[data-theme='dark'] .heritage-redesign-home .turath-ornament-divider::before,
html[data-theme='dark'] .heritage-redesign-home .turath-ornament-divider::after {
  background: linear-gradient(90deg, transparent, rgba(214, 174, 106, 0.2), transparent) !important;
}

html[data-theme='dark'] .heritage-redesign-home .turath-ornament-divider img {
  opacity: 0.42 !important;
  filter: sepia(0.45) saturate(0.75) brightness(0.72) !important;
}

html[data-theme='dark'] .heritage-redesign-home .market-cta-band {
  background:
    radial-gradient(circle at 18% 0, rgba(214, 174, 106, 0.06), transparent 30%),
    linear-gradient(180deg, #071611 0%, #0c211a 100%) !important;
}

html[data-theme='dark'] .heritage-redesign-home .market-cta-shell {
  background:
    radial-gradient(circle at top right, rgba(214, 174, 106, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(16, 39, 32, 0.96), rgba(10, 26, 20, 0.96)) !important;
  border-color: rgba(181, 213, 197, 0.14) !important;
  color: #eaf5ef !important;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.28) !important;
}

html[data-theme='dark'] .heritage-redesign-home .market-cta-shell::before,
html[data-theme='dark'] .heritage-redesign-home .market-cta-shell::after {
  opacity: 0.18 !important;
}

html[data-theme='dark'] .heritage-redesign-home .heritage-feature-panel,
html[data-theme='dark'] .heritage-redesign-home .heritage-feature-panel__copy,
html[data-theme='dark'] .heritage-redesign-home .home-value-card,
html[data-theme='dark'] .heritage-redesign-home .hero-stat-card,
html[data-theme='dark'] .heritage-redesign-home .home-final-stats .hero-stat-card,
html[data-theme='dark'] .heritage-redesign-home .home-retail-panel,
html[data-theme='dark'] .heritage-redesign-home .home-retail-row,
html[data-theme='dark'] .heritage-redesign-home .home-ops-link {
  background:
    radial-gradient(circle at top right, rgba(214, 174, 106, 0.055), transparent 32%),
    linear-gradient(180deg, rgba(16, 39, 32, 0.96), rgba(10, 26, 20, 0.96)) !important;
  border-color: rgba(181, 213, 197, 0.14) !important;
  color: #eaf5ef !important;
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.24) !important;
}

html[data-theme='dark'] .heritage-redesign-home .heritage-feature-panel__media,
html[data-theme='dark'] .heritage-redesign-home .home-mini-media {
  background: rgba(255, 255, 255, 0.055) !important;
  border-color: rgba(181, 213, 197, 0.14) !important;
}

html[data-theme='dark'] .heritage-redesign-home .premium-category-tile .category-meta,
html[data-theme='dark'] .heritage-redesign-home .premium-category-tile.has-image .category-meta,
html[data-theme='dark'] .heritage-redesign-product .product-media-card,
html[data-theme='dark'] .heritage-redesign-product .product-buy-panel,
html[data-theme='dark'] .heritage-redesign-product .product-fact-card,
html[data-theme='dark'] .heritage-redesign-product .status-card,
html[data-theme='dark'] .heritage-redesign-product .field-shell,
html[data-theme='dark'] .heritage-redesign-product .quantity-shell,
html[data-theme='dark'] .heritage-redesign-product .feature-note-card,
html[data-theme='dark'] .heritage-redesign-product .seller-stat-card,
html[data-theme='dark'] .heritage-redesign-product .product-link-chip,
html[data-theme='dark'] .heritage-redesign-product .product-inline-message,
html[data-theme='dark'] .heritage-redesign-product .product-detail-card,
html[data-theme='dark'] .heritage-redesign-product .product-story-card,
html[data-theme='dark'] .heritage-redesign-product .product-spec-card,
html[data-theme='dark'] .heritage-redesign-product .product-specs-card,
html[data-theme='dark'] .heritage-redesign-product .product-service-card,
html[data-theme='dark'] .heritage-redesign-product .product-seller-card,
html[data-theme='dark'] .heritage-redesign-product .spec-row,
html[data-theme='dark'] .heritage-redesign-product .review-card {
  background:
    radial-gradient(circle at top right, rgba(214, 174, 106, 0.055), transparent 32%),
    linear-gradient(180deg, rgba(16, 39, 32, 0.96), rgba(10, 26, 20, 0.96)) !important;
  border-color: rgba(181, 213, 197, 0.14) !important;
  color: #eaf5ef !important;
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.26) !important;
}

html[data-theme='dark'] .heritage-redesign-product .product-gallery-stage,
html[data-theme='dark'] .heritage-redesign-product .product-thumb-btn,
html[data-theme='dark'] .heritage-redesign-product .product-thumb,
html[data-theme='dark'] .heritage-redesign-product .product-mobile-bar {
  background:
    radial-gradient(circle at top right, rgba(214, 174, 106, 0.06), transparent 32%),
    rgba(8, 22, 17, 0.94) !important;
  border-color: rgba(181, 213, 197, 0.14) !important;
  color: #eaf5ef !important;
}

html[data-theme='dark'] .heritage-redesign-product .product-zoom-lens {
  background: rgba(214, 174, 106, 0.16) !important;
  border-color: rgba(214, 174, 106, 0.34) !important;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28) !important;
}

html[data-theme='dark'] .heritage-redesign-home .premium-category-tile .category-meta h4,
html[data-theme='dark'] .heritage-redesign-home .premium-category-tile.has-image .category-meta h4,
html[data-theme='dark'] .heritage-redesign-home .market-cta-copy h2,
html[data-theme='dark'] .heritage-redesign-home .heritage-feature-panel__copy h2,
html[data-theme='dark'] .heritage-redesign-home .home-retail-panel h3,
html[data-theme='dark'] .heritage-redesign-home .home-mini-link span,
html[data-theme='dark'] .heritage-redesign-home .home-retail-row span,
html[data-theme='dark'] .heritage-redesign-home .home-ops-link,
html[data-theme='dark'] .heritage-redesign-product .product-buy-head h1,
html[data-theme='dark'] .heritage-redesign-product .product-fact-card strong,
html[data-theme='dark'] .heritage-redesign-product .status-card strong,
html[data-theme='dark'] .heritage-redesign-product .product-control-group label,
html[data-theme='dark'] .heritage-redesign-product .product-rating-line strong,
html[data-theme='dark'] .heritage-redesign-product .field-input,
html[data-theme='dark'] .heritage-redesign-product .field-textarea,
html[data-theme='dark'] .heritage-redesign-product .quantity-input,
html[data-theme='dark'] .heritage-redesign-product .section-heading h2,
html[data-theme='dark'] .heritage-redesign-product .seller-stat-card strong,
html[data-theme='dark'] .heritage-redesign-product .spec-row strong,
html[data-theme='dark'] .heritage-redesign-product .product-link-chip {
  color: #eef7f2 !important;
}

html[data-theme='dark'] .heritage-redesign-home .premium-category-tile .category-meta p,
html[data-theme='dark'] .heritage-redesign-home .premium-category-tile.has-image .category-meta p,
html[data-theme='dark'] .heritage-redesign-home .market-cta-copy p,
html[data-theme='dark'] .heritage-redesign-home .heritage-feature-panel__copy p,
html[data-theme='dark'] .heritage-redesign-product .product-lead,
html[data-theme='dark'] .heritage-redesign-product .product-rating-line,
html[data-theme='dark'] .heritage-redesign-product .product-fact-card small,
html[data-theme='dark'] .heritage-redesign-product .status-card span,
html[data-theme='dark'] .heritage-redesign-product .status-card small,
html[data-theme='dark'] .heritage-redesign-product .seller-stat-card span,
html[data-theme='dark'] .heritage-redesign-product .story-copy p,
html[data-theme='dark'] .heritage-redesign-product .feature-note-card span,
html[data-theme='dark'] .heritage-redesign-product .section-heading.with-action p,
html[data-theme='dark'] .heritage-redesign-product .spec-row span,
html[data-theme='dark'] .heritage-redesign-product .service-callout,
html[data-theme='dark'] .heritage-redesign-product .product-inline-message,
html[data-theme='dark'] .heritage-redesign-product .price-compare {
  color: #b7cbc1 !important;
}

html[data-theme='dark'] .heritage-redesign-home .premium-category-tile .category-count-pill,
html[data-theme='dark'] .heritage-redesign-home .premium-category-tile.has-image .category-count-pill,
html[data-theme='dark'] .heritage-redesign-home .premium-category-tile .category-meta b,
html[data-theme='dark'] .heritage-redesign-home .premium-category-tile.has-image .category-meta b,
html[data-theme='dark'] .heritage-redesign-product .product-kicker,
html[data-theme='dark'] .heritage-redesign-product .context-chip,
html[data-theme='dark'] .heritage-redesign-product .price-benefit,
html[data-theme='dark'] .heritage-redesign-product .product-fact-icon,
html[data-theme='dark'] .heritage-redesign-product .quantity-step {
  background: rgba(214, 174, 106, 0.13) !important;
  border-color: rgba(214, 174, 106, 0.26) !important;
  color: #f2d18b !important;
}

html[data-theme='dark'] .heritage-redesign-product .price-current,
html[data-theme='dark'] .heritage-redesign-product .rating-stars {
  color: #f2d18b !important;
}

html[data-theme='dark'] .product-showcase-page,
html[data-theme='dark'] .heritage-redesign-product {
  background:
    radial-gradient(circle at top right, rgba(214, 174, 106, 0.06), transparent 32%),
    linear-gradient(180deg, #071611 0%, #0c211a 100%) !important;
  color: #eaf5ef !important;
}

html[data-theme='dark'] .heritage-redesign-product .product-shell,
html[data-theme='dark'] .heritage-redesign-product .product-shelf-section {
  background:
    radial-gradient(circle at top right, rgba(214, 174, 106, 0.055), transparent 32%),
    linear-gradient(180deg, rgba(16, 39, 32, 0.96), rgba(10, 26, 20, 0.96)) !important;
  border-color: rgba(181, 213, 197, 0.14) !important;
  color: #eaf5ef !important;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.28) !important;
}

/* Login / register */
html[data-theme='dark'] .auth-page {
  background:
    radial-gradient(circle at 16% 18%, rgba(214, 174, 106, 0.11), transparent 30%),
    radial-gradient(circle at 84% 12%, rgba(45, 106, 86, 0.18), transparent 28%),
    linear-gradient(135deg, #071611 0%, #0c211a 52%, #08140f 100%) !important;
}

html[data-theme='dark'] .auth-stage {
  background: rgba(12, 31, 24, 0.96);
  border-color: rgba(181, 213, 197, 0.15);
  box-shadow: 0 32px 84px rgba(0, 0, 0, 0.36);
}

html[data-theme='dark'] .auth-panel {
  background:
    radial-gradient(circle at 18% 14%, rgba(214, 174, 106, 0.09), transparent 28%),
    linear-gradient(180deg, rgba(15, 39, 31, 0.98), rgba(9, 25, 19, 0.98));
}

html[data-theme='dark'] .auth-panel h2,
html[data-theme='dark'] .auth-form label {
  color: #f1f8f4;
}

html[data-theme='dark'] .auth-subtitle,
html[data-theme='dark'] .auth-help,
html[data-theme='dark'] .auth-form .help-text {
  color: #b7cbc1;
}

html[data-theme='dark'] .auth-brand-mark {
  background: rgba(214, 174, 106, 0.14);
  color: #f2d18b;
  border: 1px solid rgba(214, 174, 106, 0.24);
}

html[data-theme='dark'] .auth-mode-switch {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(181, 213, 197, 0.15);
}

html[data-theme='dark'] .auth-mode-btn {
  color: #d9ebe3;
}

html[data-theme='dark'] .auth-mode-btn.active {
  background: linear-gradient(135deg, #1b5a47, #2b755f);
  color: #fff;
}

html[data-theme='dark'] .auth-mode-btn:not(.active):hover,
html[data-theme='dark'] .auth-side-actions .is-secondary,
html[data-theme='dark'] .auth-links a,
html[data-theme='dark'] .auth-action-row a {
  color: #f2d18b;
}

html[data-theme='dark'] .auth-side-actions .is-secondary {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(214, 174, 106, 0.24);
}

html[data-theme='dark'] .auth-error,
html[data-theme='dark'] .input-error {
  color: #ff9f91;
}

/* Customer account pages */
html[data-theme='dark'] .profile-wrap,
html[data-theme='dark'] .customer-home,
html[data-theme='dark'] .customer-page-shell,
html[data-theme='dark'] .orders-page {
  background: transparent !important;
}

html[data-theme='dark'] .app-main-shell:has(.customer-page-shell),
html[data-theme='dark'] .app-main-shell:has(.customer-home),
html[data-theme='dark'] .app-main-shell:has(.profile-wrap),
html[data-theme='dark'] .app-main-shell:has(.orders-page) {
  opacity: 1 !important;
  transform: none !important;
}

html[data-theme='dark'] .profile-card,
html[data-theme='dark'] .stat-box,
html[data-theme='dark'] .customer-hero-main,
html[data-theme='dark'] .customer-side-panel,
html[data-theme='dark'] .customer-card,
html[data-theme='dark'] .customer-section,
html[data-theme='dark'] .latest-order,
html[data-theme='dark'] .orders-header,
html[data-theme='dark'] .orders-filter,
html[data-theme='dark'] .order-card,
html[data-theme='dark'] .order-products,
html[data-theme='dark'] .meta-box,
html[data-theme='dark'] .empty-box,
html[data-theme='dark'] .customer-hero-card,
html[data-theme='dark'] .saved-product-card,
html[data-theme='dark'] .collection-empty-card,
html[data-theme='dark'] .recommendation-card,
html[data-theme='dark'] .cart-item-card,
html[data-theme='dark'] .cart-summary-card,
html[data-theme='dark'] .cart-progress-card,
html[data-theme='dark'] .orders-filter-card,
html[data-theme='dark'] .order-card-pro,
html[data-theme='dark'] .warranty-card,
html[data-theme='dark'] .order-meta-card,
html[data-theme='dark'] .order-summary-box,
html[data-theme='dark'] .warranty-state {
  background:
    radial-gradient(circle at top right, rgba(214, 174, 106, 0.055), transparent 32%),
    linear-gradient(180deg, rgba(16, 39, 32, 0.96), rgba(10, 26, 20, 0.96)) !important;
  border-color: rgba(181, 213, 197, 0.14) !important;
  color: #eaf5ef !important;
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.26) !important;
}

html[data-theme='dark'] .customer-hero-card {
  background:
    radial-gradient(circle at top right, rgba(214, 174, 106, 0.22), transparent 32%),
    linear-gradient(135deg, #0d3328 0%, #185742 50%, #236b54 100%) !important;
}

html[data-theme='dark'] .profile-name,
html[data-theme='dark'] .info-head h4,
html[data-theme='dark'] .info-row .value,
html[data-theme='dark'] .stat-box .meta strong,
html[data-theme='dark'] .customer-hero h1,
html[data-theme='dark'] .customer-side-panel h2,
html[data-theme='dark'] .customer-section h2,
html[data-theme='dark'] .customer-card strong,
html[data-theme='dark'] .order-title,
html[data-theme='dark'] .shortcut-title,
html[data-theme='dark'] .orders-title,
html[data-theme='dark'] .orders-title h1,
html[data-theme='dark'] .order-number,
html[data-theme='dark'] .meta-value,
html[data-theme='dark'] .customer-section-head h2,
html[data-theme='dark'] .saved-title,
html[data-theme='dark'] .saved-price-row strong,
html[data-theme='dark'] .recommendation-body strong,
html[data-theme='dark'] .collection-empty-card h2,
html[data-theme='dark'] .order-card-pro h2,
html[data-theme='dark'] .order-summary-box strong,
html[data-theme='dark'] .order-meta-card strong,
html[data-theme='dark'] .warranty-card strong {
  color: #eef7f2 !important;
}

html[data-theme='dark'] .profile-role,
html[data-theme='dark'] .info-row .label,
html[data-theme='dark'] .stat-box .meta span,
html[data-theme='dark'] .customer-hero p,
html[data-theme='dark'] .customer-card span,
html[data-theme='dark'] .order-meta,
html[data-theme='dark'] .shortcut-meta,
html[data-theme='dark'] .order-date,
html[data-theme='dark'] .meta-label,
html[data-theme='dark'] .empty-box,
html[data-theme='dark'] .saved-meta-row span,
html[data-theme='dark'] .saved-price-row span,
html[data-theme='dark'] .recommendation-body span,
html[data-theme='dark'] .saved-description,
html[data-theme='dark'] .collection-empty-card p,
html[data-theme='dark'] .order-label,
html[data-theme='dark'] .order-card-head p,
html[data-theme='dark'] .order-summary-box p,
html[data-theme='dark'] .order-meta-card span,
html[data-theme='dark'] .warranty-card span {
  color: #b7cbc1 !important;
}

html[data-theme='dark'] .profile-nav a,
html[data-theme='dark'] .customer-btn,
html[data-theme='dark'] .customer-btn.is-secondary {
  background: rgba(255, 255, 255, 0.045) !important;
  border-color: rgba(181, 213, 197, 0.16) !important;
  color: #eef7f2 !important;
}

html[data-theme='dark'] .profile-nav a:hover,
html[data-theme='dark'] .customer-btn:hover,
html[data-theme='dark'] .customer-btn.is-secondary:hover,
html[data-theme='dark'] .status-pill,
html[data-theme='dark'] .orders-count,
html[data-theme='dark'] .customer-kicker {
  background: rgba(214, 174, 106, 0.14) !important;
  border-color: rgba(214, 174, 106, 0.26) !important;
  color: #f2d18b !important;
}

html[data-theme='dark'] .profile-nav a.is-logout,
html[data-theme='dark'] .profile-nav a.is-logout i {
  color: #ff9f91 !important;
}

html[data-theme='dark'] .saved-media,
html[data-theme='dark'] .recommendation-media,
html[data-theme='dark'] .cart-item-media,
html[data-theme='dark'] .cart-progress-bar {
  background: rgba(255, 255, 255, 0.045) !important;
}

html[data-theme='dark'] .customer-alert {
  background: rgba(45, 106, 86, 0.14) !important;
  border-color: rgba(181, 213, 197, 0.16) !important;
  color: #d9ebe3 !important;
}

/* Cart: keep every editable field and price summary readable in dark mode. */
html[data-theme='dark'] .cart-item-topline h2,
html[data-theme='dark'] .cart-item-price strong,
html[data-theme='dark'] .cart-summary-card h2,
html[data-theme='dark'] .cart-summary-card .summary-row,
html[data-theme='dark'] .cart-summary-card .summary-row strong,
html[data-theme='dark'] .cart-form-grid label,
html[data-theme='dark'] .coupon-card label {
  color: #eef8f3 !important;
}

html[data-theme='dark'] .cart-item-topline p,
html[data-theme='dark'] .cart-item-price span,
html[data-theme='dark'] .cart-item-price del,
html[data-theme='dark'] .cart-field-wide small,
html[data-theme='dark'] .coupon-card small {
  color: #b8ccc2 !important;
}

html[data-theme='dark'] .cart-form-grid input,
html[data-theme='dark'] .cart-form-grid select,
html[data-theme='dark'] .cart-form-grid textarea,
html[data-theme='dark'] .coupon-row input {
  color-scheme: dark;
  background: #102d24 !important;
  border-color: rgba(184, 215, 201, 0.2) !important;
  color: #f2faf6 !important;
  caret-color: #70dbb4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

html[data-theme='dark'] .cart-form-grid input:focus,
html[data-theme='dark'] .cart-form-grid select:focus,
html[data-theme='dark'] .cart-form-grid textarea:focus,
html[data-theme='dark'] .coupon-row input:focus {
  background: #15382d !important;
  border-color: #58c99f !important;
  box-shadow: 0 0 0 3px rgba(88, 201, 159, 0.14) !important;
  outline: 0;
}

html[data-theme='dark'] .cart-form-grid input::placeholder,
html[data-theme='dark'] .cart-form-grid textarea::placeholder,
html[data-theme='dark'] .coupon-row input::placeholder {
  color: #8fa9a0 !important;
  opacity: 1;
}

html[data-theme='dark'] .cart-form-grid select option {
  background: #102d24;
  color: #f2faf6;
}

html[data-theme='dark'] .cart-summary-card .summary-row.is-success,
html[data-theme='dark'] .cart-summary-card .summary-row.is-success strong {
  color: #76ddb5 !important;
}

html[data-theme='dark'] .cart-summary-card .summary-row.is-total,
html[data-theme='dark'] .cart-summary-card .summary-row.is-total strong {
  color: #fff1c8 !important;
}

html[data-theme='dark'] .cart-summary-card .summary-divider {
  background: rgba(184, 215, 201, 0.16) !important;
}

html[data-theme='dark'] .coupon-card {
  background: rgba(255, 255, 255, 0.045) !important;
  border: 1px solid rgba(184, 215, 201, 0.15);
  color: #dcece5 !important;
}

html[data-theme='dark'] .coupon-row button {
  background: linear-gradient(135deg, #1f7c5c, #155b44) !important;
  color: #fff !important;
  box-shadow: 0 9px 20px rgba(0, 0, 0, 0.18);
}

html[data-theme='dark'] .coupon-remove {
  color: #ffaaa7 !important;
}

html[data-theme='dark'] .summary-note {
  background: rgba(205, 161, 83, 0.1) !important;
  border: 1px solid rgba(224, 188, 120, 0.17);
  color: #f0d79f !important;
}

/* Our Story page */
html[data-theme='dark'] .story-root {
  --cream: #071611;
  --sand: #0c211a;
  --ivory: #0f2a21;
  --story-text: #eaf5ef;
  --muted: #b7cbc1;
  --line: rgba(181, 213, 197, 0.16);
  --separator: rgba(181, 213, 197, 0.16);
  background:
    radial-gradient(circle at 18% 0, rgba(214, 174, 106, 0.08), transparent 30%),
    linear-gradient(180deg, #071611 0%, #0c211a 100%) !important;
  color: #eaf5ef;
}

html[data-theme='dark'] .story-root .vision,
html[data-theme='dark'] .story-root .goals,
html[data-theme='dark'] .story-root .impact,
html[data-theme='dark'] .story-root .crafts {
  background:
    linear-gradient(135deg, rgba(214, 174, 106, 0.035) 25%, transparent 25%) 0 0 / 34px 34px,
    #071611 !important;
}

html[data-theme='dark'] .story-root .success-makers {
  background:
    linear-gradient(135deg, rgba(214, 174, 106, 0.04) 25%, transparent 25%) 0 0 / 34px 34px,
    linear-gradient(180deg, #071611 0%, #0c211a 100%) !important;
}

html[data-theme='dark'] .story-root .title-serif,
html[data-theme='dark'] .story-root .eyebrow,
html[data-theme='dark'] .story-root .counter,
html[data-theme='dark'] .story-root .goal-body h3,
html[data-theme='dark'] .story-root .compare-label,
html[data-theme='dark'] .story-root .success-card h3,
html[data-theme='dark'] .story-root .success-maker-name,
html[data-theme='dark'] .story-root .success-empty h3,
html[data-theme='dark'] .story-root .craft-caption h3 {
  color: #eef7f2 !important;
}

html[data-theme='dark'] .story-root .lead,
html[data-theme='dark'] .story-root .goal-body p,
html[data-theme='dark'] .story-root .success-story,
html[data-theme='dark'] .story-root .success-meta span,
html[data-theme='dark'] .story-root .success-empty p {
  color: #b7cbc1 !important;
}

html[data-theme='dark'] .story-root .goal-item.active {
  background: linear-gradient(90deg, rgba(214, 174, 106, 0.09), transparent) !important;
}

html[data-theme='dark'] .story-root .goals-media,
html[data-theme='dark'] .story-root .impact-art,
html[data-theme='dark'] .story-root .craft-card {
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.32);
}

html[data-theme='dark'] .story-root .craft-card {
  border: 1px solid rgba(181, 213, 197, 0.14) !important;
  background: #071611 !important;
}

html[data-theme='dark'] .story-root .craft-card::before {
  background:
    linear-gradient(to top, rgba(4, 14, 10, 0.9) 0%, rgba(4, 14, 10, 0.48) 42%, rgba(4, 14, 10, 0.08) 76%) !important;
}

html[data-theme='dark'] .story-root .craft-card img {
  filter: saturate(0.92) brightness(0.84) contrast(1.04);
}

html[data-theme='dark'] .story-root .craft-card:hover img,
html[data-theme='dark'] .story-root .craft-card:focus-visible img {
  filter: saturate(0.98) brightness(0.9) contrast(1.06);
}

html[data-theme='dark'] .story-root .stack-imgs .img-3 {
  border-color: #071611;
}

html[data-theme='dark'] .story-root .success-card,
html[data-theme='dark'] .story-root .success-card-body,
html[data-theme='dark'] .story-root .success-empty,
html[data-theme='dark'] .story-root .success-swiper-btn {
  background:
    radial-gradient(circle at top right, rgba(214, 174, 106, 0.07), transparent 32%),
    linear-gradient(180deg, rgba(16, 39, 32, 0.96), rgba(10, 26, 20, 0.96)) !important;
  border-color: rgba(181, 213, 197, 0.14) !important;
  color: #eaf5ef !important;
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.26);
}

html[data-theme='dark'] .story-root .craft-caption {
  left: 16px !important;
  right: 16px !important;
  bottom: 18px !important;
  top: auto !important;
  width: auto !important;
  padding: 14px 16px 15px !important;
  border: 1px solid rgba(181, 213, 197, 0.2) !important;
  border-radius: 8px !important;
  background:
    linear-gradient(135deg, rgba(6, 22, 16, 0.84), rgba(20, 68, 52, 0.72)) !important;
  color: #ffffff !important;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.34) !important;
  backdrop-filter: blur(12px) saturate(1.08);
  -webkit-backdrop-filter: blur(12px) saturate(1.08);
  transform: translateY(0) !important;
  transition:
    inset 0.34s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.34s cubic-bezier(0.2, 0.8, 0.2, 1),
    background 0.32s ease,
    border-color 0.32s ease,
    box-shadow 0.32s ease !important;
}

html[data-theme='dark'] .story-root .craft-caption .tag {
  display: inline-flex;
  width: fit-content;
  min-height: 26px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid rgba(240, 207, 132, 0.3);
  border-radius: 999px;
  background: rgba(240, 207, 132, 0.13);
  color: #f0cf84 !important;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0 !important;
}

html[data-theme='dark'] .story-root .craft-caption h3 {
  margin-top: 7px !important;
  color: #ffffff !important;
  font-family: "El Messiri", "Cairo", sans-serif !important;
  font-size: clamp(1.08rem, 1.3vw, 1.32rem) !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

html[data-theme='dark'] .story-root .craft-card:hover .craft-caption,
html[data-theme='dark'] .story-root .craft-card:focus-visible .craft-caption {
  top: 50% !important;
  bottom: auto !important;
  left: clamp(24px, 3vw, 44px) !important;
  right: clamp(24px, 3vw, 44px) !important;
  min-height: clamp(118px, 10vw, 156px) !important;
  display: grid !important;
  place-items: center !important;
  align-content: center !important;
  padding: clamp(18px, 2.2vw, 28px) !important;
  text-align: center !important;
  transform: translateY(-50%) scale(1.02) !important;
  background:
    radial-gradient(circle at 50% 0, rgba(240, 207, 132, 0.18), transparent 46%),
    linear-gradient(135deg, rgba(6, 22, 16, 0.9), rgba(28, 86, 67, 0.84)) !important;
  border-color: rgba(240, 207, 132, 0.34) !important;
  box-shadow:
    0 28px 58px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

html[data-theme='dark'] .story-root .craft-card:hover .craft-caption .tag,
html[data-theme='dark'] .story-root .craft-card:focus-visible .craft-caption .tag {
  margin-inline: auto !important;
  transform: translateY(-2px);
}

html[data-theme='dark'] .story-root .craft-card:hover .craft-caption h3,
html[data-theme='dark'] .story-root .craft-card:focus-visible .craft-caption h3 {
  margin-top: 8px !important;
  font-family: "Aref Ruqaa", "Aref Ruqaa Ink", "Amiri", serif !important;
  font-size: clamp(2.25rem, 3.2vw, 4rem) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  color: #ffffff !important;
  transform-origin: right center;
  animation: storyCraftRuqaaWrite 0.72s cubic-bezier(0.18, 0.86, 0.28, 1) both;
}

@keyframes storyCraftRuqaaWrite {
  0% {
    opacity: 0;
    clip-path: inset(0 0 0 100%);
    filter: blur(4px);
    transform: translateY(12px) scale(0.96);
  }
  58% {
    opacity: 1;
    filter: blur(0);
  }
  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

html[data-theme='dark'] .story-root .success-card-body {
  clip-path: none;
  border-radius: 8px;
}

html[data-theme='dark'] .story-root .success-card-body::before,
html[data-theme='dark'] .story-root .success-card-body::after,
html[data-theme='dark'] .story-root .success-paper-chip,
html[data-theme='dark'] .story-root .success-card::after {
  background: rgba(214, 174, 106, 0.14);
  border-color: rgba(214, 174, 106, 0.24);
}

html[data-theme='dark'] .story-root .success-type,
html[data-theme='dark'] .story-root .success-meta span {
  background: rgba(214, 174, 106, 0.12);
  border-color: rgba(214, 174, 106, 0.22);
  color: #f2d18b;
}

html[data-theme='dark'] .story-root .success-swiper-pagination .swiper-pagination-bullet {
  background: rgba(181, 213, 197, 0.28);
}

html[data-theme='dark'] .story-root .success-swiper-pagination .swiper-pagination-bullet-active,
html[data-theme='dark'] .story-root .success-swiper-btn:hover {
  background: #d6ae6a;
  color: #10241d;
}

html[data-theme='dark'] .story-root .torn path,
html[data-theme='dark'] .story-root .craft-toptorn path,
html[data-theme='dark'] .story-root .card-torn path {
  fill: #071611 !important;
}

html[data-theme='dark'] .story-root .card-torn {
  display: none !important;
}

html[data-theme='dark'] .story-root .sector .lead,
html[data-theme='dark'] .story-root .stat .desc,
html[data-theme='dark'] .story-root .compare-vals .y2023,
html[data-theme='dark'] .story-root .compare-vals .yr {
  color: #c6d8cf !important;
}

html[data-theme='dark'] .story-root .stat .num,
html[data-theme='dark'] .story-root .compare-vals .y2026,
html[data-theme='dark'] .story-root .counter .total,
html[data-theme='dark'] .story-root .counter .sep {
  color: #f2d18b !important;
}

html[data-theme='dark'] .story-root .compare-vals .arrow {
  color: rgba(242, 209, 139, 0.7) !important;
}

html[data-theme='dark'] .story-root .growth-badge {
  background: #d6ae6a;
  color: #10241d;
}
/* ═══════════════════════════════════════════════════════════
   DARK MODE: Inline-style overrides (drawer + misc fixes)
   ─ These target components styled via inline <style> tags
   ════════════════════════════════════════════════════════ */

/* ── Drawer: quick-links panel ── */
html[data-theme='dark'] .turath-drawer-section {
  border-color: rgba(27, 77, 62, 0.14) !important;
  background: rgba(255, 255, 255, 0.74) !important;
}

html[data-theme='dark'] .turath-drawer-section h3 {
  background: rgba(232, 245, 238, 0.92) !important;
  border-color: rgba(27, 77, 62, 0.18) !important;
  color: #12382d !important;
  -webkit-text-fill-color: #12382d !important;
  text-shadow: none !important;
}

html[data-theme='dark'] .turath-drawer-links a,
html[data-theme='dark'] .turath-drawer-link {
  background: rgba(255, 255, 255, 0.54) !important;
  border-color: rgba(27, 77, 62, 0.11) !important;
  color: #12382d !important;
  -webkit-text-fill-color: #12382d !important;
}

html[data-theme='dark'] .turath-drawer-link i,
html[data-theme='dark'] .turath-drawer-link-icon {
  color: #d6ae6a !important;
}

html[data-theme='dark'] .turath-drawer-feature-grid {
  color: #14382d !important;
}

html[data-theme='dark'] .turath-drawer-feature {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.88), rgba(237, 247, 242, 0.78)) !important;
  border-color: rgba(27, 77, 62, 0.15) !important;
  color: #14382d !important;
  -webkit-text-fill-color: #14382d !important;
}

html[data-theme='dark'] .turath-drawer-feature i {
  color: #d6ae6a !important;
}

html[data-theme='dark'] .turath-drawer-category-count {
  background: #e6f2ec !important;
  color: #174c3a !important;
  -webkit-text-fill-color: #174c3a !important;
}

/* ── Category showcase intro text ── */
html[data-theme='dark'] .category-showcase-shell {
  background:
    radial-gradient(circle at 92% 8%, rgba(214, 174, 106, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(14, 36, 29, 0.98), rgba(10, 28, 22, 0.97)) !important;
}

html[data-theme='dark'] .category-showcase-intro {
  color: #a8c4b5 !important;
}

/* ── Top ticker strip stays orange in dark (by design) ── */
html[data-theme='dark'] .top-strip.top-strip-ticker {
  background: linear-gradient(90deg, #b83d0a, #d45410 48%, #b83d0a) !important;
}

/* ── Any residual bg-white / Bootstrap light overrides ── */
html[data-theme='dark'] .bg-white,
html[data-theme='dark'] .bg-light {
  background-color: rgba(13, 33, 26, 0.92) !important;
  color: #eef6f0 !important;
}

html[data-theme='dark'] .text-dark,
html[data-theme='dark'] .text-black {
  color: #eef6f0 !important;
}

/* ═══════════════════════════════════════════════════════════
   DARK MODE: Final public-page visual QA pass
   ════════════════════════════════════════════════════════ */
html[data-theme='dark'] body.turath-amz.figma-heritage-ui {
  --public-dark-bg: #071611;
  --public-dark-surface: #0e241d;
  --public-dark-surface-2: #122f25;
  --public-dark-line: rgba(196, 222, 209, 0.16);
  --public-dark-text: #f1f8f4;
  --public-dark-muted: #c7d8cf;
  --public-dark-soft: #96afa3;
  --public-dark-gold: #f0cf84;
  background:
    radial-gradient(circle at 18% 0, rgba(214, 174, 106, 0.08), transparent 30%),
    radial-gradient(circle at 84% 12%, rgba(45, 106, 86, 0.16), transparent 34%),
    linear-gradient(180deg, #071611 0%, #0b1d17 52%, #071611 100%) !important;
  color: var(--public-dark-text) !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html[data-theme='dark'] body.turath-amz.figma-heritage-ui h1,
html[data-theme='dark'] body.turath-amz.figma-heritage-ui h2,
html[data-theme='dark'] body.turath-amz.figma-heritage-ui h3,
html[data-theme='dark'] body.turath-amz.figma-heritage-ui h4,
html[data-theme='dark'] body.turath-amz.figma-heritage-ui .section-heading-group h2,
html[data-theme='dark'] body.turath-amz.figma-heritage-ui .partners-showcase-head h2,
html[data-theme='dark'] body.turath-amz.figma-heritage-ui .info-detail-card h2,
html[data-theme='dark'] body.turath-amz.figma-heritage-ui .info-related-card strong {
  color: var(--public-dark-text) !important;
  font-family: "El Messiri", "Cairo", sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
}

html[data-theme='dark'] body.turath-amz.figma-heritage-ui p,
html[data-theme='dark'] body.turath-amz.figma-heritage-ui li,
html[data-theme='dark'] body.turath-amz.figma-heritage-ui .card-text,
html[data-theme='dark'] body.turath-amz.figma-heritage-ui .text-muted {
  color: var(--public-dark-muted) !important;
}

html[data-theme='dark'] body.turath-amz.figma-heritage-ui img {
  border-color: rgba(196, 222, 209, 0.14);
}

html[data-theme='dark'] .heritage-redesign-home #categories,
html[data-theme='dark'] .heritage-redesign-home .category-showcase-shell {
  background:
    radial-gradient(circle at 88% 8%, rgba(240, 207, 132, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(11, 29, 23, 0.98), rgba(7, 22, 17, 0.98)) !important;
  border: 1px solid var(--public-dark-line) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 28px 68px rgba(0, 0, 0, 0.34) !important;
}

html[data-theme='dark'] .heritage-redesign-home .category-showcase-shell .section-kicker {
  background: rgba(240, 207, 132, 0.13) !important;
  border-color: rgba(240, 207, 132, 0.28) !important;
  color: var(--public-dark-gold) !important;
}

html[data-theme='dark'] .heritage-redesign-home .category-showcase-shell .section-heading-group h2 {
  color: #fff7e5 !important;
  font-size: clamp(2.15rem, 4.8vw, 4.7rem) !important;
  line-height: 1.12 !important;
}

html[data-theme='dark'] .heritage-redesign-home .category-showcase-intro {
  color: #d6e5dc !important;
  font-size: clamp(1rem, 1.28vw, 1.16rem) !important;
  font-weight: 600 !important;
  line-height: 1.95 !important;
}

html[data-theme='dark'] .heritage-redesign-home .category-carousel-btn,
html[data-theme='dark'] .heritage-redesign-home .category-carousel-btn:hover,
html[data-theme='dark'] .heritage-redesign-home .category-carousel-btn:focus-visible {
  background: rgba(18, 47, 37, 0.98) !important;
  border-color: rgba(196, 222, 209, 0.18) !important;
  color: #fff7e5 !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28) !important;
}

html[data-theme='dark'] .heritage-redesign-home .premium-category-tile,
html[data-theme='dark'] .heritage-redesign-home .premium-category-tile.has-image,
html[data-theme='dark'] .heritage-redesign-home .premium-category-tile:hover,
html[data-theme='dark'] .heritage-redesign-home .premium-category-tile:focus-visible,
html[data-theme='dark'] .heritage-redesign-home .premium-category-tile.has-image:hover,
html[data-theme='dark'] .heritage-redesign-home .premium-category-tile.has-image:focus-visible {
  background:
    radial-gradient(circle at 88% 0, rgba(240, 207, 132, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(17, 45, 36, 0.98), rgba(9, 25, 20, 0.98)) !important;
  border-color: rgba(196, 222, 209, 0.16) !important;
  color: var(--public-dark-text) !important;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.32) !important;
}

html[data-theme='dark'] .heritage-redesign-home .premium-category-tile::before,
html[data-theme='dark'] .heritage-redesign-home .premium-category-tile.has-image::before {
  background:
    linear-gradient(180deg, rgba(7, 22, 17, 0.08), rgba(7, 22, 17, 0.34)),
    var(--category-image, url("../images/heritage-gpt/hero-pottery-copper.png")) center / cover no-repeat !important;
  filter: saturate(0.9) brightness(0.84) contrast(1.04) !important;
}

html[data-theme='dark'] .heritage-redesign-home .premium-category-tile .category-meta,
html[data-theme='dark'] .heritage-redesign-home .premium-category-tile.has-image .category-meta,
html[data-theme='dark'] .heritage-redesign-home .premium-category-tile:hover .category-meta,
html[data-theme='dark'] .heritage-redesign-home .premium-category-tile:focus-visible .category-meta,
html[data-theme='dark'] .heritage-redesign-home .premium-category-tile.has-image:hover .category-meta,
html[data-theme='dark'] .heritage-redesign-home .premium-category-tile.has-image:focus-visible .category-meta {
  background:
    radial-gradient(circle at 95% 8%, rgba(240, 207, 132, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(18, 47, 37, 0.98), rgba(11, 29, 23, 0.98)) !important;
  color: var(--public-dark-text) !important;
  border-top: 1px solid rgba(196, 222, 209, 0.12) !important;
  box-shadow: none !important;
}

html[data-theme='dark'] .heritage-redesign-home .premium-category-tile .category-meta h4,
html[data-theme='dark'] .heritage-redesign-home .premium-category-tile.has-image .category-meta h4,
html[data-theme='dark'] .heritage-redesign-home .premium-category-tile:hover .category-meta h4,
html[data-theme='dark'] .heritage-redesign-home .premium-category-tile:focus-visible .category-meta h4,
html[data-theme='dark'] .heritage-redesign-home .premium-category-tile.has-image:hover .category-meta h4,
html[data-theme='dark'] .heritage-redesign-home .premium-category-tile.has-image:focus-visible .category-meta h4 {
  color: #fff7e5 !important;
  font-weight: 800 !important;
}

html[data-theme='dark'] .heritage-redesign-home .premium-category-tile .category-count-pill,
html[data-theme='dark'] .heritage-redesign-home .premium-category-tile.has-image .category-count-pill,
html[data-theme='dark'] .heritage-redesign-home .premium-category-tile:hover .category-count-pill,
html[data-theme='dark'] .heritage-redesign-home .premium-category-tile:focus-visible .category-count-pill,
html[data-theme='dark'] .heritage-redesign-home .premium-category-tile.has-image:hover .category-count-pill,
html[data-theme='dark'] .heritage-redesign-home .premium-category-tile.has-image:focus-visible .category-count-pill {
  background: rgba(240, 207, 132, 0.13) !important;
  border: 1px solid rgba(240, 207, 132, 0.24) !important;
  color: var(--public-dark-gold) !important;
}

html[data-theme='dark'] .heritage-redesign-home .premium-category-tile .category-meta p,
html[data-theme='dark'] .heritage-redesign-home .premium-category-tile.has-image .category-meta p,
html[data-theme='dark'] .heritage-redesign-home .premium-category-tile:hover .category-meta p,
html[data-theme='dark'] .heritage-redesign-home .premium-category-tile:focus-visible .category-meta p,
html[data-theme='dark'] .heritage-redesign-home .premium-category-tile.has-image:hover .category-meta p,
html[data-theme='dark'] .heritage-redesign-home .premium-category-tile.has-image:focus-visible .category-meta p {
  color: #cbd9d2 !important;
  font-weight: 500 !important;
}

html[data-theme='dark'] .heritage-redesign-home .premium-category-tile .category-meta b,
html[data-theme='dark'] .heritage-redesign-home .premium-category-tile.has-image .category-meta b,
html[data-theme='dark'] .heritage-redesign-home .premium-category-tile:hover .category-meta b,
html[data-theme='dark'] .heritage-redesign-home .premium-category-tile:focus-visible .category-meta b,
html[data-theme='dark'] .heritage-redesign-home .premium-category-tile.has-image:hover .category-meta b,
html[data-theme='dark'] .heritage-redesign-home .premium-category-tile.has-image:focus-visible .category-meta b {
  background: linear-gradient(135deg, #1f6b54, #2c866a) !important;
  color: #fffdf5 !important;
}

html[data-theme='dark'] .info-experience-page .info-hero-section::after {
  background:
    linear-gradient(180deg, rgba(7, 22, 17, 0), var(--public-dark-bg) 78%) !important;
}

html[data-theme='dark'] .info-experience-page .info-content-section,
html[data-theme='dark'] .info-experience-page .partners-showcase-block {
  background: transparent !important;
}

html[data-theme='dark'] .info-experience-page .info-detail-card::after {
  background: rgba(240, 207, 132, 0.12) !important;
  border-color: rgba(240, 207, 132, 0.18) !important;
}

html[data-theme='dark'] .info-experience-page .partners-featured-rail,
html[data-theme='dark'] .info-experience-page .partners-featured-logo,
html[data-theme='dark'] .info-experience-page .partner-logo-mark {
  background: rgba(9, 25, 20, 0.82) !important;
  border-color: rgba(196, 222, 209, 0.14) !important;
}

html[data-theme='dark'] .info-experience-page .partners-featured-logo img,
html[data-theme='dark'] .info-experience-page .partner-logo-mark img {
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.26));
}

html[data-theme='dark'] .auth-page {
  background:
    radial-gradient(circle at 16% 0, rgba(240, 207, 132, 0.08), transparent 30%),
    linear-gradient(180deg, #071611 0%, #0b1d17 100%) !important;
}

html[data-theme='dark'] .auth-stage {
  border-color: rgba(196, 222, 209, 0.15) !important;
  background: rgba(8, 22, 17, 0.94) !important;
  box-shadow: 0 30px 74px rgba(0, 0, 0, 0.34) !important;
}

html[data-theme='dark'] .auth-panel {
  background:
    radial-gradient(circle at 18% 12%, rgba(240, 207, 132, 0.055), transparent 28%),
    linear-gradient(180deg, rgba(14, 36, 29, 0.96), rgba(8, 22, 17, 0.98)) !important;
}

html[data-theme='dark'] .auth-panel h2,
html[data-theme='dark'] .auth-form label {
  color: #f1f8f4 !important;
}

html[data-theme='dark'] .auth-subtitle,
html[data-theme='dark'] .auth-help,
html[data-theme='dark'] .auth-form .help-text {
  color: #c4d8ce !important;
}

html[data-theme='dark'] .auth-mode-switch {
  background: rgba(8, 22, 17, 0.74) !important;
  border-color: rgba(196, 222, 209, 0.14) !important;
}

@media (max-width: 575.98px) {
  html[data-theme='dark'] .heritage-redesign-home .category-showcase-shell .section-heading-group h2 {
    font-size: clamp(2rem, 12vw, 3.25rem) !important;
  }

  html[data-theme='dark'] .heritage-redesign-home .category-showcase-shell {
    padding-inline: 18px !important;
  }
}

html[data-theme='dark'] .story-root .story-hero h1 {
  max-width: min(1120px, calc(100vw - 48px)) !important;
  margin-inline: auto !important;
  color: #f7fbf8 !important;
  font-family: "El Messiri", "Cairo", sans-serif !important;
  font-size: clamp(3rem, 6.45vw, 6.35rem) !important;
  font-weight: 800 !important;
  line-height: 1.16 !important;
  letter-spacing: 0 !important;
  text-shadow: 0 18px 46px rgba(0, 0, 0, 0.38) !important;
}

html[data-theme='dark'] .story-root .story-hero h1 .accent {
  color: #f0cf84 !important;
}

html[data-theme='dark'] .story-root .story-hero-label {
  color: #edf7f2 !important;
  letter-spacing: 0 !important;
  font-family: "Cairo", "Tajawal", sans-serif !important;
  font-weight: 800 !important;
}

@media (max-width: 575.98px) {
  html[data-theme='dark'] .story-root .story-hero h1 {
    max-width: calc(100vw - 44px) !important;
    font-size: clamp(2.05rem, 10.5vw, 3.2rem) !important;
    line-height: 1.16 !important;
  }

  html[data-theme='dark'] .story-root .story-hero-inner {
    padding-inline: 22px !important;
    transform: translateY(-18px);
  }

  html[data-theme='dark'] .story-root .story-hero-cta {
    position: absolute !important;
    left: 50% !important;
    bottom: 5.4rem !important;
    width: min(260px, calc(100vw - 44px)) !important;
    text-align: center !important;
    transform: translateX(-50%) !important;
  }

  html[data-theme='dark'] .story-root .btn-download {
    width: 100% !important;
    justify-content: center !important;
  }

  html[data-theme='dark'] .story-root .scroll-hint {
    bottom: 1.2rem !important;
  }
}

/* DARK MODE: Professional catalogue hub redesign */
html[data-theme='dark'] .heritage-redesign-home .turath-ornament-divider {
  height: clamp(38px, 4vw, 56px) !important;
  padding: 8px clamp(18px, 4vw, 48px) !important;
  background:
    linear-gradient(90deg, transparent, rgba(196, 222, 209, 0.10), transparent) center / 100% 1px no-repeat !important;
  border: 0 !important;
}

html[data-theme='dark'] .heritage-redesign-home .turath-ornament-divider img {
  width: min(118px, 28vw) !important;
  opacity: 0.38 !important;
  filter: sepia(0.28) saturate(0.75) brightness(1.08) !important;
}

html[data-theme='dark'] .heritage-redesign-home #categories.has-thread-bridge::before,
html[data-theme='dark'] .heritage-redesign-home #categories.has-thread-bridge::after {
  display: none !important;
}

html[data-theme='dark'] .heritage-redesign-home #categories {
  scroll-margin-top: calc(var(--turath-fixed-header-height, 0px) + 18px) !important;
  padding: clamp(34px, 4.5vw, 64px) 0 clamp(48px, 5.5vw, 82px) !important;
  background:
    linear-gradient(90deg, rgba(7, 22, 17, 0.98), rgba(9, 28, 22, 0.96) 52%, rgba(13, 39, 30, 0.94)),
    repeating-linear-gradient(135deg, rgba(240, 207, 132, 0.035) 0 1px, transparent 1px 34px),
    #071611 !important;
}

html[data-theme='dark'] .heritage-redesign-home #categories .category-showcase-shell {
  width: min(1500px, calc(100% - 48px)) !important;
  margin-inline: auto !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

html[data-theme='dark'] .heritage-redesign-home #categories .category-showcase-shell::before {
  display: none !important;
}

html[data-theme='dark'] .heritage-redesign-home #categories .category-hub-header {
  display: grid !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.72fr) !important;
  gap: clamp(28px, 5vw, 76px) !important;
  align-items: end !important;
  margin: 0 0 clamp(22px, 3vw, 34px) !important;
}

html[data-theme='dark'] .heritage-redesign-home #categories .category-hub-copy {
  max-width: 720px !important;
}

html[data-theme='dark'] .heritage-redesign-home #categories .section-kicker {
  width: fit-content !important;
  min-height: 32px !important;
  padding: 0 12px !important;
  background: linear-gradient(90deg, rgba(240, 207, 132, 0.2), rgba(240, 207, 132, 0.06)) !important;
  border: 1px solid rgba(240, 207, 132, 0.22) !important;
  border-radius: 999px !important;
  color: #f0cf84 !important;
  font-size: 0.78rem !important;
  font-weight: 900 !important;
}

html[data-theme='dark'] .heritage-redesign-home #categories .category-hub-copy h2 {
  max-width: 11ch !important;
  margin: 14px 0 0 !important;
  color: #f7fbf8 !important;
  font-family: "El Messiri", "Cairo", sans-serif !important;
  font-size: clamp(2.85rem, 4.55vw, 4.95rem) !important;
  font-weight: 800 !important;
  line-height: 1.08 !important;
  letter-spacing: 0 !important;
}

html[data-theme='dark'] .heritage-redesign-home #categories .category-showcase-intro {
  max-width: 46ch !important;
  margin-top: 18px !important;
  color: #d9e7df !important;
  font-size: clamp(1rem, 1.35vw, 1.24rem) !important;
  font-weight: 600 !important;
  line-height: 1.85 !important;
}

html[data-theme='dark'] .heritage-redesign-home #categories .category-hub-panel {
  display: grid !important;
  justify-items: start !important;
  gap: 14px !important;
  min-height: 0 !important;
  padding: 22px !important;
  border-radius: 8px !important;
  border: 1px solid rgba(196, 222, 209, 0.16) !important;
  background:
    linear-gradient(180deg, rgba(20, 49, 39, 0.88), rgba(9, 25, 20, 0.92)) !important;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.28) !important;
  backdrop-filter: blur(16px) saturate(1.08) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.08) !important;
}

html[data-theme='dark'] .heritage-redesign-home #categories .category-hub-panel__eyebrow {
  display: inline-flex !important;
  width: fit-content !important;
  min-height: 30px !important;
  align-items: center !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  background: rgba(240, 207, 132, 0.12) !important;
  border: 1px solid rgba(240, 207, 132, 0.22) !important;
  color: #f0cf84 !important;
  font-size: 0.78rem !important;
  font-weight: 900 !important;
}

html[data-theme='dark'] .heritage-redesign-home #categories .category-hub-panel strong {
  color: #f4faf6 !important;
  font-family: "El Messiri", "Cairo", sans-serif !important;
  font-size: clamp(1.08rem, 1.45vw, 1.32rem) !important;
  line-height: 1.6 !important;
}

html[data-theme='dark'] .heritage-redesign-home #categories .category-hub-panel__chips {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

html[data-theme='dark'] .heritage-redesign-home #categories .category-hub-panel__chips span {
  display: inline-flex !important;
  min-height: 30px !important;
  align-items: center !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.055) !important;
  border: 1px solid rgba(196, 222, 209, 0.12) !important;
  color: #cbdcd3 !important;
  font-size: 0.8rem !important;
  font-weight: 800 !important;
}

html[data-theme='dark'] .heritage-redesign-home #categories .category-hub-panel .section-link {
  min-height: 44px !important;
  margin-top: 2px !important;
  padding-inline: 18px !important;
  border-radius: 8px !important;
  background: #f0cf84 !important;
  border-color: rgba(240, 207, 132, 0.5) !important;
  color: #10241d !important;
  font-weight: 900 !important;
}

html[data-theme='dark'] .heritage-redesign-home #categories .category-carousel-shell {
  margin-top: 0 !important;
  padding-inline: 54px !important;
}

html[data-theme='dark'] .heritage-redesign-home #categories .category-carousel-track {
  gap: 18px !important;
  padding-block: 4px 10px !important;
}

html[data-theme='dark'] .heritage-redesign-home #categories .premium-category-tile,
html[data-theme='dark'] .heritage-redesign-home #categories .premium-category-tile.has-image {
  flex: 0 0 clamp(270px, 23vw, 340px) !important;
  height: 376px !important;
  min-height: 376px !important;
  display: grid !important;
  grid-template-rows: 214px 1fr !important;
  align-items: stretch !important;
  padding: 0 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  border: 1px solid rgba(196, 222, 209, 0.15) !important;
  background: #0d241c !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28) !important;
}

html[data-theme='dark'] .heritage-redesign-home #categories .premium-category-tile::before,
html[data-theme='dark'] .heritage-redesign-home #categories .premium-category-tile.has-image::before {
  position: relative !important;
  inset: auto !important;
  z-index: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 214px !important;
  background:
    linear-gradient(180deg, rgba(7, 22, 17, 0.02), rgba(7, 22, 17, 0.24)),
    var(--category-image, url("../images/heritage-gpt/hero-pottery-copper.png")) center / cover no-repeat !important;
  filter: saturate(0.94) brightness(0.88) contrast(1.04) !important;
}

html[data-theme='dark'] .heritage-redesign-home #categories .premium-category-tile::after,
html[data-theme='dark'] .heritage-redesign-home #categories .premium-category-tile.has-image::after {
  display: none !important;
}

html[data-theme='dark'] .heritage-redesign-home #categories .premium-category-tile .category-meta,
html[data-theme='dark'] .heritage-redesign-home #categories .premium-category-tile.has-image .category-meta {
  display: grid !important;
  align-content: start !important;
  gap: 9px !important;
  height: auto !important;
  min-height: 0 !important;
  width: 100% !important;
  max-width: none !important;
  padding: 18px !important;
  border: 0 !important;
  border-top: 1px solid rgba(196, 222, 209, 0.12) !important;
  border-radius: 0 !important;
  background:
    linear-gradient(180deg, rgba(18, 47, 37, 0.98), rgba(9, 25, 20, 0.98)) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transform: none !important;
}

html[data-theme='dark'] .heritage-redesign-home #categories .premium-category-tile .category-meta h4 {
  color: #fff7e5 !important;
  font-size: 1.32rem !important;
  line-height: 1.28 !important;
  font-weight: 800 !important;
}

html[data-theme='dark'] .heritage-redesign-home #categories .premium-category-tile .category-count-pill {
  width: fit-content !important;
  margin: 0 !important;
  background: rgba(240, 207, 132, 0.12) !important;
  border: 1px solid rgba(240, 207, 132, 0.22) !important;
  color: #f0cf84 !important;
}

html[data-theme='dark'] .heritage-redesign-home #categories .premium-category-tile .category-meta p {
  max-height: none !important;
  opacity: 1 !important;
  overflow: visible !important;
  color: #c7d8cf !important;
  font-size: 0.9rem !important;
  line-height: 1.7 !important;
  font-weight: 500 !important;
}

html[data-theme='dark'] .heritage-redesign-home #categories .premium-category-tile .category-meta b {
  width: fit-content !important;
  min-height: 34px !important;
  max-height: none !important;
  margin-top: auto !important;
  padding: 0 14px !important;
  opacity: 1 !important;
  border-radius: 8px !important;
  background: linear-gradient(135deg, #1f6b54, #2d8a6d) !important;
  color: #fffdf5 !important;
  font-size: 0.86rem !important;
}

html[data-theme='dark'] .heritage-redesign-home #categories .category-carousel-btn {
  width: 42px !important;
  height: 42px !important;
  background: rgba(18, 47, 37, 0.92) !important;
  border-color: rgba(196, 222, 209, 0.18) !important;
  color: #f4faf6 !important;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28) !important;
}

html[data-theme='dark'] .heritage-redesign-home #categories .heritage-feature-panel {
  width: min(1280px, 100%) !important;
  margin: clamp(28px, 4vw, 42px) auto 0 !important;
  border-radius: 8px !important;
  border-color: rgba(196, 222, 209, 0.15) !important;
  background:
    linear-gradient(90deg, rgba(13, 36, 28, 0.98), rgba(13, 36, 28, 0.86)),
    #0d241c !important;
}

@media (min-width: 1200px) {
  html[data-theme='dark'] .heritage-redesign-home #categories .category-carousel-shell {
    padding-inline: 0 !important;
  }

  html[data-theme='dark'] .heritage-redesign-home #categories .category-swiper {
    overflow: visible !important;
  }

  html[data-theme='dark'] .heritage-redesign-home #categories .category-carousel-track {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
    direction: rtl !important;
    transform: none !important;
  }

  html[data-theme='dark'] .heritage-redesign-home #categories .premium-category-tile,
  html[data-theme='dark'] .heritage-redesign-home #categories .premium-category-tile.has-image {
    width: 100% !important;
    min-width: 0 !important;
    flex: none !important;
  }

  html[data-theme='dark'] .heritage-redesign-home #categories .premium-category-tile:nth-child(n+5) {
    display: none !important;
  }

  html[data-theme='dark'] .heritage-redesign-home #categories .category-carousel-btn {
    display: none !important;
  }
}

@media (max-width: 991.98px) {
  html[data-theme='dark'] .heritage-redesign-home #categories .category-hub-header {
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
  }

  html[data-theme='dark'] .heritage-redesign-home #categories .category-hub-copy h2 {
    max-width: none !important;
  }
}

@media (max-width: 575.98px) {
  html[data-theme='dark'] .heritage-redesign-home #categories {
    padding-block: 28px 44px !important;
  }

  html[data-theme='dark'] .heritage-redesign-home #categories .category-showcase-shell {
    width: min(100% - 20px, 1500px) !important;
  }

  html[data-theme='dark'] .heritage-redesign-home #categories .category-hub-copy h2 {
    font-size: clamp(2.45rem, 13vw, 3.65rem) !important;
  }

  html[data-theme='dark'] .heritage-redesign-home #categories .category-carousel-shell {
    padding-inline: 0 !important;
  }

  html[data-theme='dark'] .heritage-redesign-home #categories .premium-category-tile,
  html[data-theme='dark'] .heritage-redesign-home #categories .premium-category-tile.has-image {
    flex-basis: min(82vw, 320px) !important;
    height: 364px !important;
    min-height: 364px !important;
  }
}

/* DARK MODE: Catalogue pages final contrast pass */
html[data-theme='dark'] .category-showcase-page {
  background:
    linear-gradient(180deg, rgba(6, 19, 14, 0.98), rgba(9, 27, 21, 0.98) 44%, #071611 100%) !important;
  color: #eaf5ef !important;
}

html[data-theme='dark'] .category-showcase-page::before,
html[data-theme='dark'] .category-showcase-page::after {
  opacity: 0.08 !important;
  filter: sepia(0.2) saturate(0.75) brightness(1.15) !important;
}

html[data-theme='dark'] .category-showcase-page .catalog-breadcrumbs,
html[data-theme='dark'] .category-showcase-page .catalog-sort-form label,
html[data-theme='dark'] .category-showcase-page .catalog-toolbar-copy span,
html[data-theme='dark'] .category-showcase-page .filter-panel-head span,
html[data-theme='dark'] .category-showcase-page .catalog-pagination-summary span,
html[data-theme='dark'] .category-showcase-page .field-hint {
  color: #bfd4ca !important;
}

html[data-theme='dark'] .category-showcase-page .catalog-breadcrumbs a,
html[data-theme='dark'] .category-showcase-page .catalog-breadcrumbs span,
html[data-theme='dark'] .category-showcase-page .active-filter-clear,
html[data-theme='dark'] .category-showcase-page .active-filter-chip a {
  color: #f0cf84 !important;
}

html[data-theme='dark'] .category-showcase-page .category-hero-copy,
html[data-theme='dark'] .category-showcase-page .catalog-toolbar,
html[data-theme='dark'] .category-showcase-page .filter-panel-block,
html[data-theme='dark'] .category-showcase-page .catalog-pagination,
html[data-theme='dark'] .category-showcase-page .catalog-empty-state,
html[data-theme='dark'] .category-showcase-page .catalog-filters-drawer .offcanvas-header,
html[data-theme='dark'] .category-showcase-page .catalog-filters-drawer .offcanvas-body {
  background:
    linear-gradient(180deg, rgba(17, 45, 36, 0.96), rgba(9, 27, 21, 0.98)) !important;
  border-color: rgba(196, 222, 209, 0.15) !important;
  color: #f1f8f4 !important;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.28) !important;
}

html[data-theme='dark'] .category-showcase-page .category-hero-copy h1,
html[data-theme='dark'] .category-showcase-page .catalog-toolbar-copy strong,
html[data-theme='dark'] .category-showcase-page .filter-panel-head h3,
html[data-theme='dark'] .category-showcase-page .catalog-pagination-summary,
html[data-theme='dark'] .category-showcase-page .catalog-empty-state h3,
html[data-theme='dark'] .category-showcase-page .catalog-filters-drawer .offcanvas-title {
  color: #f7fbf8 !important;
  text-shadow: none !important;
}

html[data-theme='dark'] .category-showcase-page .category-hero-copy > p,
html[data-theme='dark'] .category-showcase-page .catalog-empty-state p {
  color: #d4e4dc !important;
}

html[data-theme='dark'] .category-showcase-page .catalog-kicker,
html[data-theme='dark'] .category-showcase-page .active-filter-chip {
  background: rgba(240, 207, 132, 0.12) !important;
  border: 1px solid rgba(240, 207, 132, 0.24) !important;
  color: #f0cf84 !important;
}

html[data-theme='dark'] .category-showcase-page .catalog-stat-card {
  background:
    linear-gradient(180deg, rgba(18, 50, 39, 0.98), rgba(10, 29, 22, 0.98)) !important;
  border-color: rgba(196, 222, 209, 0.16) !important;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24) !important;
}

html[data-theme='dark'] .category-showcase-page .catalog-stat-card strong {
  color: #f0cf84 !important;
  text-shadow: 0 1px 16px rgba(240, 207, 132, 0.16) !important;
}

html[data-theme='dark'] .category-showcase-page .catalog-stat-card span,
html[data-theme='dark'] .category-showcase-page .filter-link,
html[data-theme='dark'] .category-showcase-page .brand-filter-option,
html[data-theme='dark'] .category-showcase-page .catalog-toggle,
html[data-theme='dark'] .category-showcase-page .catalog-page-link {
  color: #f4faf6 !important;
}

html[data-theme='dark'] .category-showcase-page .catalog-stat-card small,
html[data-theme='dark'] .category-showcase-page .catalog-price-grid label span {
  color: #c5d8ce !important;
}

html[data-theme='dark'] .category-showcase-page .catalog-chip-link,
html[data-theme='dark'] .category-showcase-page .filter-link,
html[data-theme='dark'] .category-showcase-page .brand-filter-option,
html[data-theme='dark'] .category-showcase-page .catalog-search-field input,
html[data-theme='dark'] .category-showcase-page .catalog-price-grid input,
html[data-theme='dark'] .category-showcase-page .catalog-page-link,
html[data-theme='dark'] .category-showcase-page .catalog-reset-btn,
html[data-theme='dark'] .category-showcase-page .catalog-filter-trigger {
  background: rgba(255, 255, 255, 0.055) !important;
  border-color: rgba(196, 222, 209, 0.16) !important;
  color: #edf8f2 !important;
}

html[data-theme='dark'] .category-showcase-page .catalog-chip-link span:last-child,
html[data-theme='dark'] .category-showcase-page .filter-link small,
html[data-theme='dark'] .category-showcase-page .brand-filter-option small {
  color: #f0cf84 !important;
}

html[data-theme='dark'] .category-showcase-page .catalog-search-field i {
  color: #d3e4dc !important;
}

html[data-theme='dark'] .category-showcase-page .catalog-sort-form .form-select,
html[data-theme='dark'] .category-showcase-page .catalog-search-field input,
html[data-theme='dark'] .category-showcase-page .catalog-price-grid input {
  background-color: rgba(6, 18, 14, 0.78) !important;
}

html[data-theme='dark'] .category-showcase-page .catalog-apply-btn,
html[data-theme='dark'] .category-showcase-page .catalog-page-link.is-current,
html[data-theme='dark'] .category-showcase-page .catalog-page-link:hover,
html[data-theme='dark'] .category-showcase-page .catalog-page-link:focus-visible,
html[data-theme='dark'] .category-showcase-page .catalog-empty-actions a:first-child {
  background: linear-gradient(135deg, #1f6b54, #2d8a6d) !important;
  border-color: rgba(63, 177, 139, 0.46) !important;
  color: #fffdf5 !important;
}

html[data-theme='dark'] .category-showcase-page .catalog-page-link.is-disabled,
html[data-theme='dark'] .category-showcase-page .catalog-page-link.is-ellipsis {
  background: rgba(255, 255, 255, 0.035) !important;
  color: #8fa79b !important;
}

html[data-theme='dark'] .category-showcase-page .category-hero-visual {
  border: 1px solid rgba(196, 222, 209, 0.14) !important;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.28) !important;
}

html[data-theme='dark'] .category-showcase-page .hero-price-callout,
html[data-theme='dark'] .category-showcase-page .spotlight-badge {
  background: #f0cf84 !important;
  color: #10241d !important;
}

html[data-theme='dark'] .category-showcase-page .hero-visual-copy {
  background: rgba(7, 22, 17, 0.72) !important;
  border-color: rgba(196, 222, 209, 0.14) !important;
}

html[data-theme='dark'] .category-showcase-page .catalog-spotlight-card {
  border-color: rgba(196, 222, 209, 0.14) !important;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28) !important;
}

html[data-theme='dark'] .product-tile .qty-btn,
html[data-theme='dark'] .quick-view-modal .qty-btn,
html[data-theme='dark'] .quick-view-modal .modal-qty-btn {
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(196, 222, 209, 0.18) !important;
  color: #f3faf6 !important;
  opacity: 1 !important;
  box-shadow: none !important;
}

html[data-theme='dark'] .product-tile .qty-btn .qty-price,
html[data-theme='dark'] .quick-view-inline-offers .qty-btn .qty-price,
html[data-theme='dark'] .quick-view-modal .qty-btn .qty-price {
  color: #f6d890 !important;
}

html[data-theme='dark'] .product-tile .qty-btn .qty-shipping,
html[data-theme='dark'] .quick-view-inline-offers .qty-btn .qty-shipping,
html[data-theme='dark'] .quick-view-modal .qty-btn .qty-shipping {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #d9e9e1 !important;
}

html[data-theme='dark'] .product-tile .qty-btn.hot,
html[data-theme='dark'] .quick-view-modal .qty-btn.hot,
html[data-theme='dark'] .quick-view-modal .modal-qty-btn.hot {
  background: linear-gradient(135deg, #1f6b54, #2d8a6d) !important;
  border-color: rgba(240, 207, 132, 0.55) !important;
  color: #fffdf5 !important;
}

html[data-theme='dark'] .product-tile .qty-btn.selected,
html[data-theme='dark'] .quick-view-inline-offers .qty-btn.selected,
html[data-theme='dark'] .quick-view-modal .qty-btn.selected,
html[data-theme='dark'] .quick-view-modal .modal-qty-btn.selected {
  background: linear-gradient(135deg, #d99a34, #b66b1d) !important;
  border-color: rgba(240, 207, 132, 0.72) !important;
  color: #ffffff !important;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28), inset 0 0 0 1px rgba(255, 236, 184, 0.28) !important;
}

html[data-theme='dark'] .product-tile .qty-btn.selected .qty-price,
html[data-theme='dark'] .product-tile .qty-btn.selected .qty-shipping,
html[data-theme='dark'] .quick-view-inline-offers .qty-btn.selected .qty-price,
html[data-theme='dark'] .quick-view-inline-offers .qty-btn.selected .qty-shipping,
html[data-theme='dark'] .quick-view-modal .qty-btn.selected .qty-price,
html[data-theme='dark'] .quick-view-modal .qty-btn.selected .qty-shipping {
  color: #ffffff !important;
}

html[data-theme='dark'] .product-tile .qty-btn.selected .qty-shipping,
html[data-theme='dark'] .quick-view-inline-offers .qty-btn.selected .qty-shipping,
html[data-theme='dark'] .quick-view-modal .qty-btn.selected .qty-shipping {
  background: rgba(255, 255, 255, 0.16) !important;
}

html[data-theme='dark'] .product-tile .qty-btn:disabled,
html[data-theme='dark'] .quick-view-modal .qty-btn:disabled,
html[data-theme='dark'] .quick-view-modal .modal-qty-btn:disabled {
  background: rgba(255, 255, 255, 0.045) !important;
  border-color: rgba(196, 222, 209, 0.12) !important;
  color: #aebfb6 !important;
  opacity: 1 !important;
}

html[data-theme='dark'] .product-tile .qty-btn:disabled.hot,
html[data-theme='dark'] .quick-view-modal .qty-btn:disabled.hot,
html[data-theme='dark'] .quick-view-modal .modal-qty-btn:disabled.hot {
  color: #d8bd78 !important;
  border-color: rgba(240, 207, 132, 0.28) !important;
}
