/* Emma Theme - Luxury Sleep Brand Redesign */

:root {
    /* Core Palette - Deep Prussian Blue Layers */
    --emma-bg-deep: #070f24;
    /* Main Body Background */
    --emma-bg-surface: #0b142a;
    /* Cards, Sections */
    --emma-bg-soft: #0b162b;
    /* Highlighted Sections */

    /* Accents - Muted Gold & Sand */
    --emma-gold: #b3a572;
    /* Primary Actions, Prices */
    --emma-gold-hover: #d0bf7f;
    /* Interactive States */
    --emma-sand: #e8e6d9;
    /* Light accents, Subtitles */
    --emma-olive: #837b5c;
    /* Metadata, Secondary Info */

    /* Typography */
    --emma-inv-text: #ffffff;
    --emma-text-main: #f0f0f0;
    /* Primary Text */
    --emma-text-body: #d1d5db;
    /* Body Text */
    --emma-text-muted: #94a3b8;
    /* Muted Text */

    /* Functional */
    --emma-success: #5c835c;
    --emma-error: #c94e4e;
    /* Muted Red for errors/sale */
    --emma-border: rgba(255, 255, 255, 0.08);
}

/* -------------------------------------------------------------------------
   Global Styles & Typography
   ------------------------------------------------------------------------- */

body.theme-emma {
    background-color: var(--emma-bg-deep);
    color: var(--emma-text-body);
    font-family: 'Public Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

body.theme-emma .aiz-main-wrapper {
    background-color: var(--emma-bg-deep) !important;
    color: var(--emma-text-body);
}

body.theme-emma h1,
body.theme-emma h2,
body.theme-emma h3,
body.theme-emma h4,
body.theme-emma h5,
body.theme-emma h6 {
    color: var(--emma-text-main);
    font-weight: 600;
    letter-spacing: -0.01em;
}

body.theme-emma a {
    color: var(--emma-text-body);
    transition: color 0.3s ease;
}

body.theme-emma a:hover {
    color: var(--emma-gold-hover);
    text-decoration: none;
}

body.theme-emma .text-muted {
    color: var(--emma-text-muted) !important;
}

/* -------------------------------------------------------------------------
   Header & Navigation
   ------------------------------------------------------------------------- */

body.theme-emma .top-navbar {
    background-color: var(--emma-bg-deep) !important;
    border-bottom: 1px solid var(--emma-border);
}

body.theme-emma .aiz-header {
    background-color: rgba(11, 20, 42, 0.95) !important;
    /* Semi-transparent surface */
    border-bottom: 1px solid var(--emma-border);
    backdrop-filter: blur(10px);
}

/* Search Bar */
body.theme-emma .aiz-header .form-control {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--emma-border);
    color: var(--emma-text-main);
    border-radius: 50px;
    /* More modern pill shape */
}

body.theme-emma .aiz-header .form-control:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--emma-gold);
}

/* -------------------------------------------------------------------------
   Hero Section
   ------------------------------------------------------------------------- */

body.theme-emma .emma-hero-section {
    position: relative;
    background: linear-gradient(180deg, var(--emma-bg-deep) 0%, var(--emma-bg-soft) 100%);
    padding: 0;
}

/* Add a subtle overlay to images if needed for text readability */
body.theme-emma .carousel-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(7, 15, 36, 0.6) 0%, rgba(7, 15, 36, 0.1) 50%);
    pointer-events: none;
}

/* -------------------------------------------------------------------------
   Components: Cards (Products, Categories)
   ------------------------------------------------------------------------- */

body.theme-emma .card,
body.theme-emma .product-box-1 {
    background-color: var(--emma-bg-surface);
    border: 1px solid var(--emma-border);
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}

body.theme-emma .card:hover,
body.theme-emma .product-box-1:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(179, 165, 114, 0.3);
    /* Subtle gold border on hover */
}

/* Product Card Specifics */
body.theme-emma .product-title {
    color: var(--emma-text-main);
    font-size: 1rem;
    font-weight: 500;
}

body.theme-emma .product-price {
    color: var(--emma-gold);
    font-weight: 700;
    font-size: 1.1rem;
}

body.theme-emma .product-meta {
    color: var(--emma-olive);
}

/* Sale Badge */
body.theme-emma .badge-danger,
body.theme-emma .product-box-1 .offer-tag {
    background-color: var(--emma-error);
    color: #fff;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.7rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* -------------------------------------------------------------------------
   Buttons & Interactive Elements
   ------------------------------------------------------------------------- */

body.theme-emma .btn {
    border-radius: 50px;
    /* Pill shape for luxury feel */
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    letter-spacing: 0.03em;
    transition: all 0.3s ease;
}

/* Primary Button (Gold) */
body.theme-emma .btn-primary {
    background: linear-gradient(135deg, #d0bf7f, #b3a572);
    border-color: var(--emma-gold);
    color: var(--emma-bg-deep);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(179, 165, 114, 0.3);
}

body.theme-emma .btn-primary:hover,
body.theme-emma .btn-primary:active,
body.theme-emma .btn-primary:focus {
    background: linear-gradient(135deg, #e0cf8f, #c3b582) !important;
    border-color: #e0cf8f !important;
    color: var(--emma-bg-deep) !important;
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(179, 165, 114, 0.5);
}

/* Soft Button (Lightened Gold) */
body.theme-emma .btn-soft-primary {
    background-color: rgba(179, 165, 114, 0.1);
    color: var(--emma-gold);
    border: 1px solid rgba(179, 165, 114, 0.2);
}

body.theme-emma .btn-soft-primary:hover {
    background-color: var(--emma-gold);
    color: var(--emma-bg-deep);
}

/* Outline Buttons */
body.theme-emma .btn-outline {
    border: 1px solid var(--emma-border);
    color: var(--emma-text-main);
    background: transparent;
}

body.theme-emma .btn-outline:hover {
    border-color: var(--emma-gold);
    color: var(--emma-gold);
}

/* -------------------------------------------------------------------------
   Layout Sections (Trust, Reviews, etc.)
   ------------------------------------------------------------------------- */

body.theme-emma .emma-trust-section,
body.theme-emma .emma-benefits-section {
    background-color: var(--emma-bg-soft);
    border-top: 1px solid var(--emma-border);
    border-bottom: 1px solid var(--emma-border);
    color: var(--emma-text-main);
}

body.theme-emma .emma-usp-icon i {
    color: var(--emma-gold);
    font-size: 2rem;
    margin-bottom: 1rem;
}

body.theme-emma .emma-reviews-section {
    background-color: var(--emma-bg-deep);
}

/* Review Stars */
body.theme-emma .rating i,
body.theme-emma .star-rating i {
    color: var(--emma-gold);
}

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */

body.theme-emma .aiz-footer-widget {
    background-color: #050b1a !important;
    /* Almost black navy for depth */
    border-top: 1px solid var(--emma-border);
    color: var(--emma-text-muted);
}

body.theme-emma .footer-bottom {
    background-color: #040914 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

body.theme-emma .aiz-footer-widget h4 {
    color: var(--emma-sand);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

/* -------------------------------------------------------------------------
   Form Elements
   ------------------------------------------------------------------------- */

body.theme-emma .form-control {
    background-color: rgba(22, 40, 80, 0.03) !important;
    border-color: var(--emma-border);
    color: var(--emma-text-main);
}

body.theme-emma .form-control:focus {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--emma-gold);
    box-shadow: 0 0 0 0.2rem rgba(179, 165, 114, 0.15);
}

/* Custom Scrollbar for a polished feel */
body.theme-emma ::-webkit-scrollbar {
    width: 8px;
}

body.theme-emma ::-webkit-scrollbar-track {
    background: var(--emma-bg-deep);
}

body.theme-emma ::-webkit-scrollbar-thumb {
    background: #1e2c4a;
    border-radius: 4px;
}

body.theme-emma ::-webkit-scrollbar-thumb:hover {
    background: var(--emma-gold);
}

/* -------------------------------------------------------------------------
   Newsletter Section
   ------------------------------------------------------------------------- */

body.theme-emma .newsletter-wrapper {
    margin-bottom: 3rem;
}

body.theme-emma .newsletter-card {
    background: linear-gradient(135deg, var(--emma-bg-surface) 0%, var(--emma-bg-soft) 100%);
    border: 1px solid var(--emma-border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    padding: 3rem 2rem;
    border-radius: 24px;
    margin: 0 auto;
}

body.theme-emma .newsletter-heading {
    color: var(--emma-text-main);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

body.theme-emma .newsletter-email-wrapper {
    margin-bottom: 1.5rem;
}

body.theme-emma .newsletter-email-input {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--emma-border);
    color: var(--emma-text-main);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    width: 100%;
    transition: all 0.3s ease;
}

body.theme-emma .newsletter-email-input:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--emma-gold);
    box-shadow: 0 0 0 4px rgba(179, 165, 114, 0.1);
    outline: none;
}

body.theme-emma .newsletter-email-input::placeholder {
    color: var(--emma-text-muted);
}

body.theme-emma .newsletter-submit-btn {
    width: 100%;
    max-width: 320px;
    padding: 0.95rem 2rem;
    background: linear-gradient(135deg, #d0bf7f, #b3a572);
    /* Gold Gradient */
    color: var(--emma-bg-deep);
    /* Dark text for contrast on gold */
    border: none;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Public Sans', sans-serif;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 0.75rem;
}

body.theme-emma .newsletter-submit-btn:hover {
    background: linear-gradient(135deg, #e0cf8f, #c3b582);
    /* Lighter Gold Gradient */
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(179, 165, 114, 0.25);
}

body.theme-emma .newsletter-checkbox-wrapper {
    margin-bottom: 1rem;
    color: var(--emma-text-muted);
    font-size: 0.9rem;
    text-align: left;
    display: flex;
    justify-content: center;
}

body.theme-emma .newsletter-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

body.theme-emma .newsletter-link {
    color: var(--emma-gold);
    text-decoration: underline;
    text-decoration-color: rgba(179, 165, 114, 0.3);
}

body.theme-emma .newsletter-link:hover {
    color: var(--emma-gold-hover);
    text-decoration-color: var(--emma-gold-hover);
}

body.theme-emma .newsletter-privacy-text {
    font-size: 0.8rem;
    color: var(--emma-text-muted);
    opacity: 0.8;
    margin-top: 1.5rem;


}

/* -------------------------------------------------------------------------
   Reviews Section (Carousel & Cards)
   ------------------------------------------------------------------------- */

body.theme-emma .emma-reviews-carousel-container {
    padding: 2rem 0;
    max-width: 1400px;
    margin: 0 auto;
}

body.theme-emma .emma-section-title {
    color: var(--emma-text-main);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

body.theme-emma .emma-overall-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

body.theme-emma .emma-overall-rating i {
    color: var(--emma-gold);
    font-size: 1.25rem;
}

body.theme-emma .emma-reviews-count {
    color: var(--emma-text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Review Cards */
body.theme-emma .emma-review-card {
    background-color: var(--emma-bg-surface) !important;
    /* Ensure surface color vs white */
    border: 1px solid var(--emma-border);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    margin: 10px;
    /* Space for shadow */
    display: flex;
    flex-direction: column;
}

body.theme-emma .emma-review-card:hover {
    transform: translateY(-5px);
    border-color: rgba(179, 165, 114, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

/* Reviewer Info */
body.theme-emma .emma-review-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
    margin-bottom: 1.25rem !important;
}

body.theme-emma .emma-review-name {
    color: var(--emma-text-main);
    font-weight: 700;
    font-size: 1.05rem;
}

body.theme-emma .emma-review-date {
    color: var(--emma-text-muted);
    font-size: 0.85rem;
    font-weight: 400;
}

/* Verified Buyer Badge */
body.theme-emma .emma-verified-buyer {
    color: var(--emma-success);
    /* Use success green or maybe gold? stick to green for trust or gold for luxury? Let's use gold for brand consistency */
    color: var(--emma-gold);
    background: rgba(179, 165, 114, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    margin-left: 0.75rem !important;
}

body.theme-emma .emma-verified-buyer i {
    font-size: 0.9rem;
}

body.theme-emma .emma-verified-text {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-left: 0.35rem;
}

/* Rating Stars in Card */
body.theme-emma .emma-review-rating {
    margin-bottom: 1rem;
}

body.theme-emma .emma-review-rating i {
    color: var(--emma-gold);
    font-size: 1rem;
    margin-right: 2px;
}

body.theme-emma .emma-review-rating i.inactive {
    color: rgba(255, 255, 255, 0.1);
}

/* Content */
body.theme-emma .emma-review-title {
    color: var(--emma-text-main);
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    min-height: 3.2em;
    /* Align cards with different title lengths */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.theme-emma .emma-review-text {
    color: var(--emma-text-body);
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.9;
    flex-grow: 1;
    /* Push footer down if we had one */
}

/* Slick Arrow Customization for this section */
body.theme-emma .emma-reviews-carousel .slick-arrow {
    background-color: var(--emma-bg-soft);
    border: 1px solid var(--emma-border);
    color: var(--emma-text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
}

body.theme-emma .emma-reviews-carousel .slick-arrow:hover {
    background-color: var(--emma-gold);
    color: var(--emma-bg-deep);
    border-color: var(--emma-gold);
    transform: scale(1.1);
}

body.theme-emma .emma-reviews-carousel .slick-prev {
    left: -20px;
}

/* =========================================
   Product Details Page
   ========================================= */

/* Product Hero Section */
.product-hero-section {
    background-color: var(--emma-bg-deep);
    color: var(--emma-text-main);
    padding-top: 2rem;
    padding-bottom: 4rem;
}

/* Breadcrumbs */
.product-breadcrumb-link {
    color: var(--emma-text-sub);
    transition: color 0.3s ease;
}

.product-breadcrumb-link:hover {
    color: var(--emma-gold);
    text-decoration: none;
}

.product-breadcrumb-current {
    color: var(--emma-gold);
}

.product-breadcrumb-separator {
    color: var(--emma-text-sub);
    opacity: 0.5;
    margin: 0 0.5rem;
}

/* Product Gallery (Placeholder for layout, assuming existing structure usually works) */
.product-hero-gallery img {
    border-radius: 8px;
    box-shadow: var(--emma-shadow-card);
}

/* Product Summary Card */
.product-summary-card {
    background-color: transparent;
    /* Or surface if needed, but per design usually blends */
    color: var(--emma-text-main);
}

.product-hero-pill {
    background-color: rgba(226, 213, 196, 0.1);
    /* Low opacity sand */
    color: var(--emma-gold);
    border: 1px solid var(--emma-border);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.product-inquiry-link {
    color: var(--emma-gold) !important;
}

.product-inquiry-link svg path {
    fill: var(--emma-gold) !important;
}

/* Product Quick Links (Wishlist/Compare) */
body.theme-emma .product-quick-links a {
    color: var(--emma-text-sub) !important;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    opacity: 1 !important;
    /* Override inline opacity classes */
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

body.theme-emma .product-quick-links a i {
    color: var(--emma-gold);
    font-size: 1.1rem;
    margin-right: 0.4rem !important;
    /* Ensure spacing */
    transition: transform 0.3s ease;
}

body.theme-emma .product-quick-links a:hover {
    color: var(--emma-gold) !important;
}

body.theme-emma .product-quick-links a:hover i {
    transform: scale(1.1);
}

/* Typography */
.product-title-h1 {
    font-family: 'Playfair Display', serif;
    color: var(--emma-text-light);
    font-size: 2.25rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.product-subtitle {
    color: var(--emma-text-sub) !important;
    font-size: 1rem;
}

.rating-mr-1 .rating-icon {
    color: var(--emma-gold);
}

/* Highlights */
.product-highlight-group {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--emma-bg-surface);
    border: 1px solid var(--emma-border);
    border-radius: 8px;
}

.product-highlight-title {
    color: var(--emma-gold);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid var(--emma-border);
    padding-bottom: 0.5rem;
}

.product-highlight-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: var(--emma-text-sub);
}

.product-highlight-icon {
    color: var(--emma-gold);
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
}

/* Variants & Options */
.product-option-label {
    color: var(--emma-text-main) !important;
}

.aiz-megabox .aiz-megabox-elem {
    border-color: var(--emma-border);
    background-color: var(--emma-bg-deep);
    /* Input bg */
    color: var(--emma-text-sub);
}

.aiz-megabox input:checked~.aiz-megabox-elem {
    border-color: var(--emma-gold);
    background-color: rgba(226, 213, 196, 0.1);
    color: var(--emma-gold);
}

.variant-dropdown-toggle {
    background-color: var(--emma-bg-deep) !important;
    border-color: var(--emma-border) !important;
    color: var(--emma-text-main) !important;
}

.quantity-control .quantity-btn {
    background-color: var(--emma-bg-surface) !important;
    border-color: var(--emma-border) !important;
    color: var(--emma-text-main) !important;
}

.quantity-control .quantity-input {
    background-color: var(--emma-bg-deep) !important;
    border-color: var(--emma-border) !important;
    color: var(--emma-text-main) !important;
}

/* Price */
.product-price strong {
    color: var(--emma-gold) !important;
    /* Override primary text color */
}

/* Buttons */
/* Higher specificity to override custom-style.css */
body.theme-emma .btn-add-to-cart-primary,
body.theme-emma .btn-primary.buy-now,
body.theme-emma .product-purchase-card .btn.buy-now,
body.theme-emma .product-purchase-card .btn.add-to-cart {
    background: linear-gradient(135deg, #d0bf7f, #b3a572) !important;
    border-color: var(--emma-gold) !important;
    color: var(--emma-bg-deep) !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(179, 165, 114, 0.3);
}

body.theme-emma .btn-add-to-cart-primary:hover,
body.theme-emma .btn-primary.buy-now:hover,
body.theme-emma .product-purchase-card .btn.buy-now:hover,
body.theme-emma .product-purchase-card .btn.add-to-cart:hover {
    background: linear-gradient(135deg, #e0cf8f, #c3b582) !important;
    border-color: #e0cf8f !important;
    color: var(--emma-bg-deep) !important;
    box-shadow: 0 6px 20px rgba(179, 165, 114, 0.5);
}

.btn-buy-now-ghost {
    background-color: transparent;
    border: 1px solid var(--emma-gold);
    color: var(--emma-gold);
    transition: all 0.3s ease;
}

.btn-buy-now-ghost:hover {
    background-color: var(--emma-gold);
    color: var(--emma-bg-deep);
}

/* =========================================
   Content Blocks (Dynamic Sections)
   ========================================= */

.product-content-block {
    padding: 4rem 0;
}

/* Default Surface for Content Blocks */
.product-content-block__surface--default {
    /* background-color: var(--emma-bg-surface); */
    padding: 3rem 0;
}

.product-content-block__eyebrow {
    color: var(--emma-gold);
    font-weight: 600;
    letter-spacing: 0.1em;
}

.product-content-block__title {
    color: var(--emma-text-light);
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
}

.product-content-block__body {
    color: var(--emma-text-sub);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Block Buttons */
.btn-content-primary {
    background: linear-gradient(135deg, #d0bf7f, #b3a572);
    color: var(--emma-bg-deep);
    padding: 0.75rem 2rem;
    border-radius: 2px;
    /* Sharper corners for luxury feel */
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
    border: 1px solid var(--emma-gold);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 15px rgba(179, 165, 114, 0.3);
}

.btn-content-primary:hover {
    background-color: transparent;
    color: var(--emma-gold);
}

.btn-content-outline {
    background-color: transparent;
    color: var(--emma-gold);
    padding: 0.75rem 2rem;
    border-radius: 2px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
    border: 1px solid var(--emma-gold);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-content-outline:hover {
    background-color: var(--emma-gold);
    color: var(--emma-bg-deep);
}

/* Media Cards */
.product-content-block__card {
    background-color: var(--emma-bg-deep);
    border: 1px solid var(--emma-border);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-content-block__card:hover {
    transform: translateY(-5px);
    box-shadow: var(--emma-shadow-card);
    border-color: var(--emma-gold);
}

.product-content-block__card-body {
    padding: 1.5rem;
}

.product-content-block__card-title {
    color: var(--emma-text-light);
    font-family: 'Playfair Display', serif;
}

.product-content-block__card-description {
    color: var(--emma-text-sub);
}

.product-content-block__card-cta {
    color: var(--emma-gold);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    transition: color 0.2s ease;
}

.product-content-block__card-cta:hover {
    color: #fff;
    text-decoration: none;
}

/* Accordion */
.product-content-block__accordion .accordion-item {
    background-color: transparent;
    border-bottom: 1px solid var(--emma-border) !important;
}

.product-content-block__accordion .accordion-header {
    color: var(--emma-text-light);
    border-radius: 1rem;
}

.product-content-block__accordion .accordion-title {
    font-size: 1.1rem;
}

.product-content-block__accordion .accordion-arrow {
    color: var(--emma-gold);
}

.product-content-block__accordion .accordion-body {
    color: var(--emma-text-sub);
}

/* Dual Panels Overlay Text */
.product-content-block__panel--overlay {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.product-content-block__overlay-gradient {
    background: linear-gradient(to top, rgba(9, 30, 67, 0.9) 0%, rgba(9, 30, 67, 0.4) 50%, rgba(9, 30, 67, 0) 100%);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.product-content-block__copy--overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    z-index: 2;
}

.product-content-block__title--overlay {
    color: #fff;
    /* Always white on overlay */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.product-content-block__eyebrow--overlay {
    color: var(--emma-gold);
}

.product-content-block__body--overlay {
    color: kubectl(230, 230, 230);
    /* Light grey */
}

body.theme-emma .product-content-block__cta-icon {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #d0bf7f, #b3a572);
    color: var(--emma-bg-deep);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    z-index: 3;
}

.product-content-block__cta-icon:hover {
    transform: scale(1.1);
    color: var(--emma-bg-deep);
    text-decoration: none;
}

/* =========================================
   Sticky Add to Cart Bar
   ========================================= */

.product-sticky-bar {
    position: fixed;
    bottom: -100px;
    /* Start hidden */
    left: 0;
    width: 100%;
    background-color: var(--emma-bg-surface);
    border-top: 1px solid var(--emma-gold);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    padding: 1rem 0;
    z-index: 1000;
    transition: bottom 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-sticky-bar.visible {
    bottom: 0;
}

.product-sticky-bar__img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--emma-border);
}

.product-sticky-bar__title {
    color: var(--emma-text-main);
    font-size: 1rem;
    font-weight: 600;
}

.product-sticky-bar__price {
    color: var(--emma-gold);
}

/* =========================================
   Smart Content Contrast
   ========================================= */

.product-content-block__surface.text-dark-theme {
    color: #333333 !important;
}

.force-dark-text {
    color: #333333 !important;
}

.product-content-block__surface.text-dark-theme .product-content-block__eyebrow {
    color: #8D7B3C;
    /* Darker gold for light backgrounds */
}

/* =========================================
   Refined Quantity Selector & Variants
   ========================================= */

/* Refined Quantity Selector */
body.theme-emma .quantity-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--emma-bg-deep);
    border: 1px solid var(--emma-border);
    padding: 0.25rem 0.5rem;
    border-radius: 50px;
    width: fit-content;
}

body.theme-emma .quantity-control .quantity-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--emma-border);
    color: var(--emma-text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0;
}

body.theme-emma .quantity-control .quantity-btn:hover:not(:disabled) {
    background: var(--emma-gold);
    color: var(--emma-bg-deep);
    border-color: var(--emma-gold);
    transform: scale(1.1);
}

body.theme-emma .quantity-control .quantity-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    border-color: transparent;
}

body.theme-emma .quantity-control .quantity-input {
    background: transparent !important;
    border: none !important;
    color: var(--emma-text-main) !important;
    font-weight: 600;
    font-size: 1.1rem;
    width: 40px;
    text-align: center;
    padding: 0;
    height: auto;
    -moz-appearance: textfield;
    appearance: textfield;
}

body.theme-emma .quantity-control .quantity-input::-webkit-outer-spin-button,
body.theme-emma .quantity-control .quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Variant Tweaks */
.aiz-megabox .aiz-megabox-elem.active .aiz-megabox-elem-text {
    color: var(--emma-gold);
}

/* =========================================
   Luxury Dropdowns (Bootstrap Select)
   ========================================= */

body.theme-emma .bootstrap-select .dropdown-toggle,
body.theme-emma .variant-dropdown-toggle {
    background-color: var(--emma-bg-deep);
    border: 1px solid var(--emma-border);
    color: var(--emma-text-main);
    border-radius: 8px;
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: none;
    outline: none;
    transition: all 0.2s ease;
}

body.theme-emma .bootstrap-select .dropdown-toggle:hover,
body.theme-emma .variant-dropdown-toggle:hover,
body.theme-emma .bootstrap-select .dropdown-toggle:focus,
body.theme-emma .variant-dropdown-toggle:focus {
    border-color: var(--emma-gold);
    background-color: var(--emma-bg-deep);
    color: var(--emma-text-main);
    box-shadow: 0 0 0 1px var(--emma-gold);
}

/* Dropdown Menu Container */
body.theme-emma .bootstrap-select .dropdown-menu {
    background-color: var(--emma-bg-deep);
    border: 1px solid var(--emma-border);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    padding: 0.5rem;
    margin-top: 0.5rem;
}

/* Dropdown Items */
body.theme-emma .bootstrap-select .dropdown-menu li a {
    color: var(--emma-text-sub);
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    background-color: transparent;
}

body.theme-emma .bootstrap-select .dropdown-menu li a:hover,
body.theme-emma .bootstrap-select .dropdown-menu li a:focus {
    background-color: var(--emma-bg-surface);
    color: var(--emma-gold);
    outline: none;
}

body.theme-emma .bootstrap-select .dropdown-menu li.selected a {
    background-color: var(--emma-gold);
    color: var(--emma-bg-deep);
    font-weight: 600;
}

body.theme-emma .bootstrap-select .dropdown-menu li.selected a:hover {
    background-color: var(--emma-gold-hover);
}

/* Inner Text Alignment */
body.theme-emma .filter-option-inner-inner {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
}

/* =========================================
   Product Review Section (Product Page)
   ========================================= */

.product-review-section {
    background-color: var(--emma-bg-deep);
    padding: 4rem 0;
    border-top: 1px solid var(--emma-border);
}

.product-review-section__eyebrow {
    color: var(--emma-gold);
    font-weight: 600;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.5rem;
}

.product-review-section__title {
    color: var(--emma-text-main);
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.product-review-section__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.product-review-section__rating-pill {
    display: flex;
    align-items: center;
    background: var(--emma-bg-surface);
    border: 1px solid var(--emma-border);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    gap: 1rem;
}

.product-review-section__rating-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--emma-text-main);
}

.product-review-section__stars i {
    color: var(--emma-gold);
}

.product-review-section__rating-count {
    color: var(--emma-text-sub);
    border-left: 1px solid var(--emma-border);
    padding-left: 1rem;
}

.product-review-section__see-all {
    color: var(--emma-gold);
    text-decoration: underline;
    text-decoration-color: rgba(179, 165, 114, 0.3);
    transition: all 0.2s ease;
}

.product-review-section__see-all:hover {
    color: var(--emma-gold-hover);
    text-decoration-color: var(--emma-gold-hover);
}

/* Review Cards (Glide) */
.product-review-card {
    background-color: var(--emma-bg-surface);
    border: 1px solid var(--emma-border);
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--emma-shadow-card);
    border-color: rgba(179, 165, 114, 0.3);
}

.product-review-card__head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--emma-border);
}

.product-review-card__rating i {
    color: var(--emma-gold);
    font-size: 0.9rem;
}

.product-review-card__date {
    color: var(--emma-text-muted);
    font-size: 0.8rem;
}

.product-review-card__body {
    flex-grow: 1;
}

.product-review-card__author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.product-review-card__avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--emma-border);
}

.product-review-card__name {
    color: var(--emma-text-main);
    font-weight: 700;
    font-size: 0.95rem;
}

.product-review-card__verified {
    color: var(--emma-gold);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-review-card__title {
    color: var(--emma-text-main);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.product-review-card__excerpt {
    color: var(--emma-text-sub);
    font-size: 0.95rem;
    line-height: 1.6;
}

.product-review-card__footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--emma-border);
}

.product-review-card__product {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.product-review-card__product-image img {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    object-fit: cover;
}

.product-review-card__product-name {
    color: var(--emma-text-main);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Glide Arrows */
.product-review-carousel__arrows .glide__arrow {
    background-color: var(--emma-bg-soft);
    border: 1px solid var(--emma-border);
    color: var(--emma-text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.product-review-carousel__arrows .glide__arrow:hover {
    background-color: var(--emma-gold);
    color: var(--emma-bg-deep);
    border-color: var(--emma-gold);
}

.product-review-carousel__arrows .glide__arrow--left {
    left: -20px;
}


/* =========================================
   Category Listing Page
   ========================================= */

body.theme-emma .category-product-cards {
    background-color: var(--emma-bg-deep);
}

/* Pagination */
body.theme-emma .aiz-pagination .page-item .page-link {
    background-color: transparent;
    border-color: var(--emma-border);
    color: var(--emma-text-sub);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0.25rem;
    transition: all 0.3s ease;
}

body.theme-emma .aiz-pagination .page-item.active .page-link,
body.theme-emma .aiz-pagination .page-item .page-link:hover {
    background-color: var(--emma-gold);
    border-color: var(--emma-gold);
    color: var(--emma-bg-deep);
    box-shadow: 0 4px 10px rgba(179, 165, 114, 0.3);
}

body.theme-emma .aiz-pagination .page-item.disabled .page-link {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.2);
}

/* Category Page Product Grid Alignment */
body.theme-emma .category-products-wrapper .col {
    display: flex;
    align-items: stretch;
}

body.theme-emma .category-products-wrapper .product-box-1 {
    width: 100%;
    display: flex;
    flex-direction: column;
}

body.theme-emma .category-products-wrapper .product-box-1 .p-4 {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

body.theme-emma .category-products-wrapper .product-box-1 .text-left {
    margin-top: auto;
}

/* Filters (if present/future proofing) */
body.theme-emma .filter-section {
    background-color: var(--emma-bg-surface);
    border: 1px solid var(--emma-border);
    border-radius: 12px;
    padding: 1.5rem;
}

body.theme-emma .filter-title {
    color: var(--emma-text-main);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--emma-border);
    padding-bottom: 0.5rem;
}

/* =========================================
   Category Content Overrides (Dynamic Blocks)
   ========================================= */

/* Category Content Blocks - Dark Theme Enforcement */
body.theme-emma .category-content-block__surface--default {
    background-color: var(--emma-bg-surface);
    color: var(--emma-text-main);
}

body.theme-emma .category-content-block__title {
    color: var(--emma-text-light);
    font-family: 'Playfair Display', serif;
}

body.theme-emma .category-content-block__eyebrow {
    color: var(--emma-gold);
    font-weight: 600;
    letter-spacing: 0.1em;
}

body.theme-emma .category-content-block__body {
    color: var(--emma-text-sub);
}

/* Category Media Cards (e.g. Mattress Types) */
body.theme-emma .category-content-block__card {
    background-color: var(--emma-bg-surface);
    border: 1px solid var(--emma-border);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

body.theme-emma .category-content-block__card:hover {
    border-color: var(--emma-gold);
    transform: translateY(-5px);
}

body.theme-emma .category-content-block__card-title {
    color: var(--emma-text-main);
}

body.theme-emma .category-content-block__card-cta {
    color: var(--emma-gold);
    text-decoration: none;
    font-weight: 600;
}

body.theme-emma .category-content-block__card-cta:hover {
    color: var(--emma-gold-hover);
}

/* Category FAQ Groups */
/* Category FAQ Groups (Aligned with Product FAQ) */
body.theme-emma .category-faq-groups {
    background-color: var(--emma-bg-deep);
    /* Section BG */
    padding: 3rem 0;
}

body.theme-emma .category-faq-group__title {
    color: var(--emma-text-main);
    font-family: 'Playfair Display', serif;
}

body.theme-emma .category-faq-group__subtitle {
    color: var(--emma-text-sub) !important;
}

/* List Style Items (Replacing Card Style) */
body.theme-emma .category-faq-item.card {
    background-color: transparent !important;
    border: none !important;
    border-bottom: 1px solid var(--emma-border) !important;
    border-radius: 0 !important;
    margin-bottom: 0 !important;
}

body.theme-emma .category-faq-item:last-child {
    border-bottom: none !important;
}

/* Toggle Button */
body.theme-emma .category-faq-toggle {
    color: var(--emma-text-main);
    background: transparent;
    padding: 1.25rem 0;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none !important;
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    border: none;
    outline: none;
}

body.theme-emma .category-faq-toggle:hover {
    color: var(--emma-gold);
}

body.theme-emma .category-faq-toggle__icon {
    color: var(--emma-gold);
    transition: transform 0.3s ease;
}

body.theme-emma .category-faq-toggle:not(.collapsed) .category-faq-toggle__icon {
    transform: rotate(180deg);
}

/* Answer Body */
body.theme-emma .category-faq-answer {
    color: var(--emma-text-sub);
    padding-bottom: 1.5rem;
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
    border-top: none;
    /* Removed internal border */
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Ensure buttons in content blocks are styled */
body.theme-emma .btn-content-primary {
    background: linear-gradient(135deg, #d0bf7f, #b3a572);
    color: var(--emma-bg-deep);
    border: none;
}

body.theme-emma .btn-content-outline {
    border: 1px solid var(--emma-gold);
    color: var(--emma-gold);
    background: transparent;
}

/* =========================================
   All Categories Page (/categories)
   ========================================= */

.emma-category-card {
    background-color: var(--emma-bg-surface);
    border: 1px solid var(--emma-border);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.emma-category-card:hover {
    border-color: var(--emma-gold);
    transform: translateY(-5px);
}

.emma-category-header {
    background-color: rgba(7, 15, 36, 0.5);
    /* Deep transparent for header */
    border-bottom: 1px solid var(--emma-border);
}

.border-theme {
    border-color: var(--emma-border) !important;
}

.playfair-font {
    font-family: 'Playfair Display', serif;
}

.text-sub {
    color: var(--emma-text-sub);
}

.hov-text-gold:hover {
    color: var(--emma-gold) !important;
    text-decoration: none;
}

.text-gold {
    color: var(--emma-gold) !important;
}

.animate-underline-gold {
    position: relative;
    display: inline-block;
    text-decoration: none !important;
}

.animate-underline-gold:after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--emma-gold);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.animate-underline-gold:hover:after {
    transform: scaleX(1);
    transform-origin: bottom left;
}


/* =========================================
   Product FAQ Section (Accordion)
   ========================================= */

body.theme-emma .product-faq-group {
    background-color: var(--emma-bg-surface);
    border: 1px solid var(--emma-border);
    border-radius: 12px !important;
    padding: 2rem;
    box-shadow: none !important;
    /* Remove heavy shadow */
}

body.theme-emma .product-faq-item {
    background-color: transparent !important;
    border: none !important;
    border-bottom: 1px solid var(--emma-border) !important;
    margin-bottom: 0 !important;
    border-radius: 0 !important;
}

body.theme-emma .product-faq-item:last-child {
    border-bottom: none !important;
}

/* Header & Toggle Button */
body.theme-emma .product-faq-item .card-header {
    background-color: transparent !important;
    padding: 0;
}

body.theme-emma .product-faq-toggle {
    background: transparent;
    color: var(--emma-text-main);
    font-weight: 600;
    padding: 1.25rem 0;
    font-size: 1.1rem;
    text-decoration: none !important;
    border: none;
    outline: none !important;
    box-shadow: none !important;
}

body.theme-emma .product-faq-toggle:hover {
    color: var(--emma-gold);
}

body.theme-emma .product-faq-toggle__label {
    text-align: left;
    margin-right: 1rem;
}

/* Icon Rotation & Color */
body.theme-emma .product-faq-toggle__icon {
    color: var(--emma-gold);
    transition: transform 0.3s ease;
}

body.theme-emma .product-faq-toggle:not(.collapsed) .product-faq-toggle__icon {
    transform: rotate(180deg);
}

/* Answer Content */
body.theme-emma .product-faq-answer {
    color: var(--emma-text-sub);
    padding-bottom: 1.5rem;
    padding-top: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}


/* =========================================
   Mobile Responsiveness & Breakpoints
   ========================================= */

@media (max-width: 991.98px) {
    /* --- Tablet/Mobile Landscape --- */

    /* Typography Scaling */
    body.theme-emma .product-title-h1 {
        font-size: 1.75rem;
    }

    body.theme-emma .emma-section-title {
        font-size: 1.75rem;
    }

    body.theme-emma .product-content-block__title,
    body.theme-emma .category-content-block__title {
        font-size: 1.75rem;
    }

    /* Category Page Content Blocks */
    body.theme-emma .category-content-block__container {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    /* Dual Panels Stacking */
    .category-content-block__panel--overlay {
        min-height: 400px;
        /* Ensure height when stacked */
    }

    /* Product Hero Stacking */
    .align-items-stretch {
        align-items: flex-start !important;
        /* Allow natural stacking height */
    }
}

@media (max-width: 767.98px) {
    /* --- Mobile Portrait --- */

    /* General Container Padding */
    body.theme-emma .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    /* Typography */
    body.theme-emma h1 {
        font-size: 1.75rem;
    }

    body.theme-emma h2 {
        font-size: 1.5rem;
    }

    body.theme-emma h3 {
        font-size: 1.35rem;
    }

    body.theme-emma .product-title-h1 {
        font-size: 1.5rem;
        margin-top: 1rem;
    }

    /* Product Details Page */
    .product-hero-section {
        padding-top: 1rem;
        padding-bottom: 2rem;
    }

    /* Sticky Add to Cart Bar Mobile */
    .product-sticky-bar {
        padding: 0.75rem 0;
        bottom: 0 !important;
        /* Ensure visibility check logic handles this, but default to bottom */
    }

    .product-sticky-bar .d-flex {
        flex-direction: column;
        align-items: stretch !important;
        gap: 0.5rem;
    }

    .product-sticky-bar img,
    .product-sticky-bar__title {
        display: none !important;
        /* Hide image and title to save space */
    }

    .product-sticky-bar__price {
        text-align: center;
        margin-bottom: 0.25rem;
        font-size: 1.25rem;
    }

    .product-sticky-bar .btn-add-to-cart-primary {
        width: 100%;
        padding: 0.75rem;
    }

    /* Category Listing Page */
    body.theme-emma .category-content-block__copy {
        padding-left: 0 !important;
        padding-right: 0 !important;
        text-align: center !important;
        /* Center text on mobile for better flow */
    }

    body.theme-emma .category-content-block__actions.text-left,
    body.theme-emma .category-content-block__actions.text-right {
        text-align: center !important;
        justify-content: center;
        display: flex;
    }

    /* Category Cards */
    body.theme-emma .category-product-cards .col-6 {
        /* If using col-6 for mobile, ensure decent spacing */
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    body.theme-emma .product-box-1 {
        margin-bottom: 1rem;
    }

    /* Reviews Carousel Arrows */
    .product-review-carousel__arrows .glide__arrow {
        width: 32px;
        height: 32px;
    }

    .product-review-carousel__arrows .glide__arrow--left {
        left: -10px;
    }

    .product-review-carousel__arrows .glide__arrow--right {
        right: -10px;
    }



    /* Footer */
    body.theme-emma .aiz-footer-widget {
        margin-bottom: 2rem;
        text-align: center;
    }

    body.theme-emma .newsletter-wrapper {
        margin-bottom: 1rem;
    }

    body.theme-emma .newsletter-card {
        padding: 2rem 1.5rem;
    }

    /* Hide Main Footer on Mobile */
    body.theme-emma .footer-main.text-light {
        display: none !important;
    }
}

body.theme-emma .btn-content-outline:hover {
    background: var(--emma-gold);
    color: var(--emma-bg-deep);
}

/* =========================================
   Animated Placeholder Logo
   ========================================= */

img[src$="reign-logo-crown.png"] {
    object-fit: contain !important;
    padding: 2.5rem !important;
    /* Visual breathing room */
    background-color: var(--emma-bg-surface) !important;
    opacity: 0.8;
    animation: emma-pulse-logo 2.5s infinite ease-in-out;
}

@keyframes emma-pulse-logo {
    0% {
        transform: scale(0.85);
        opacity: 0.6;
        filter: brightness(0.8);
    }

    50% {
        transform: scale(1.0);
        opacity: 1;
        filter: brightness(1);
    }

    100% {
        transform: scale(0.85);
        opacity: 0.6;
        filter: brightness(0.8);
    }
}