/*
 * AURA Product Page Refinement 2.1
 * Additive scope only.
 * Deliberately does NOT change Slick tracks/slides, image dimensions, zoom,
 * lightbox, variation-gallery initialization, thumbnails or mobile dots.
 */

body.single-product.aura-pdp-refined {
    --aura-pdp-paper: #f6f7fb;
    --aura-pdp-paper-warm: #f7f4ee;
    --aura-pdp-ink: #1b1b1b;
    --aura-pdp-muted: #707176;
    --aura-pdp-line: rgba(27, 27, 27, 0.12);
    --aura-pdp-gold: #c99b2f;
    --aura-pdp-gold-soft: #ead49a;
    --aura-pdp-green: #2e7d32;
    --aura-pdp-display: Georgia, "Times New Roman", serif;
}

/* Gallery: visual framing only. No geometry or slider mechanics are changed. */
body.single-product.aura-pdp-refined .nm-product-images-col .woocommerce-product-gallery,
body.single-product.aura-pdp-refined .nm-product-images-col .woo-variation-product-gallery,
body.single-product.aura-pdp-refined .nm-product-images-col .wvg-single-gallery-image-container {
    border-radius: 18px;
    background: linear-gradient(145deg, #ffffff 0%, #f7f5f0 100%);
    box-shadow: 0 24px 65px rgba(17, 17, 17, 0.09);
    outline: 1px solid rgba(17, 17, 17, 0.07);
    outline-offset: -1px;
}

/* Purchase panel */
body.single-product.aura-pdp-refined .nm-single-product-summary-col .summary,
body.single-product.aura-pdp-refined .nm-single-product-summary-col .entry-summary {
    box-sizing: border-box !important;
    border: 1px solid var(--aura-pdp-line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 22px 58px rgba(17, 17, 17, 0.075);
    padding: clamp(26px, 3vw, 44px) !important;
}

body.single-product.aura-pdp-refined .aura-pdp-kicker {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0 0 17px;
    color: #8b6b25;
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.17em;
    line-height: 1.4;
    text-transform: uppercase;
}

body.single-product.aura-pdp-refined .aura-pdp-kicker__divider {
    width: 22px;
    height: 1px;
    background: var(--aura-pdp-gold);
}

body.single-product.aura-pdp-refined .summary .product_title,
body.single-product.aura-pdp-refined .summary h1.product_title {
    max-width: 760px;
    margin-bottom: 16px !important;
    color: var(--aura-pdp-ink) !important;
    font-family: var(--aura-pdp-display) !important;
    font-size: clamp(2.35rem, 4vw, 4.7rem) !important;
    font-weight: 400 !important;
    letter-spacing: -0.045em !important;
    line-height: 0.98 !important;
    text-wrap: balance;
}

body.single-product.aura-pdp-refined .summary > .price,
body.single-product.aura-pdp-refined .summary .woocommerce-variation-price .price {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px 12px;
    margin: 0 0 20px !important;
    color: var(--aura-pdp-ink) !important;
    font-family: var(--aura-pdp-display);
    font-size: clamp(1.35rem, 2vw, 1.85rem) !important;
    font-weight: 400 !important;
    line-height: 1.2;
}

body.single-product.aura-pdp-refined .summary .woocommerce-product-details__short-description {
    max-width: 660px;
    margin: 0 0 25px;
    color: var(--aura-pdp-muted);
    font-size: 0.96rem;
    line-height: 1.75;
}

body.single-product.aura-pdp-refined .summary .woocommerce-product-details__short-description p:last-child {
    margin-bottom: 0;
}

/* Variation introduction */
body.single-product.aura-pdp-refined .aura-pdp-selection-intro {
    margin: 24px 0 18px;
    padding: 20px 0 0;
    border-top: 1px solid var(--aura-pdp-line);
}

body.single-product.aura-pdp-refined .aura-pdp-selection-intro__step {
    margin: 0 0 8px !important;
    color: #8b6b25 !important;
    font-size: 0.64rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.17em;
    line-height: 1.4 !important;
    text-transform: uppercase;
}

body.single-product.aura-pdp-refined .aura-pdp-selection-intro h2 {
    margin: 0 0 8px !important;
    color: var(--aura-pdp-ink) !important;
    font-family: var(--aura-pdp-display) !important;
    font-size: clamp(1.55rem, 2.2vw, 2.15rem) !important;
    font-weight: 400 !important;
    letter-spacing: -0.025em;
    line-height: 1.08 !important;
}

body.single-product.aura-pdp-refined .aura-pdp-selection-intro > p:last-child {
    margin: 0 !important;
    color: var(--aura-pdp-muted) !important;
    font-size: 0.82rem !important;
    line-height: 1.55 !important;
}

/* Existing stable variation structure: appearance only. */
body.single-product.aura-pdp-refined form.variations_form table.variations th.label,
body.single-product.aura-pdp-refined form.variations_form table.variations td.label,
body.single-product.aura-pdp-refined form#nm-variations-form table.variations th.label,
body.single-product.aura-pdp-refined form#nm-variations-form table.variations td.label {
    border: 1px solid rgba(27, 27, 27, 0.09) !important;
    border-radius: 11px !important;
    background: var(--aura-pdp-paper) !important;
    color: var(--aura-pdp-ink) !important;
    box-shadow: inset 3px 0 0 var(--aura-pdp-gold-soft);
    font-size: 0.75rem !important;
    font-weight: 750 !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.single-product.aura-pdp-refined .variations td.value .vi-wpvs-option-wrap,
body.single-product.aura-pdp-refined .variations td.value .variable-item,
body.single-product.aura-pdp-refined .variations td.value .swatch,
body.single-product.aura-pdp-refined .variations td.value .swatch-item {
    border-radius: 10px !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease !important;
}

body.single-product.aura-pdp-refined .variations td.value .vi-wpvs-option-wrap:hover,
body.single-product.aura-pdp-refined .variations td.value .variable-item:hover,
body.single-product.aura-pdp-refined .variations td.value .swatch:hover,
body.single-product.aura-pdp-refined .variations td.value .swatch-item:hover {
    border-color: rgba(201, 155, 47, 0.78) !important;
    box-shadow: 0 5px 17px rgba(17, 17, 17, 0.08) !important;
}

body.single-product.aura-pdp-refined .variations td.value .selected,
body.single-product.aura-pdp-refined .variations td.value .selected-item,
body.single-product.aura-pdp-refined .variations td.value .active,
body.single-product.aura-pdp-refined .variations td.value [aria-checked="true"] {
    border-color: var(--aura-pdp-ink) !important;
    box-shadow: 0 0 0 1px var(--aura-pdp-ink), 0 7px 20px rgba(17, 17, 17, 0.1) !important;
}

/* CTA: state is still controlled entirely by WooCommerce. */
body.single-product.aura-pdp-refined .single_add_to_cart_button,
body.single-product.aura-pdp-refined button.single_add_to_cart_button {
    min-height: 58px !important;
    border: 1px solid #111111 !important;
    border-radius: 12px !important;
    background: #111111 !important;
    color: #ffffff !important;
    box-shadow: 0 12px 28px rgba(17, 17, 17, 0.15);
    font-size: 0.74rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.14em !important;
    line-height: 1.25 !important;
    text-transform: uppercase !important;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease !important;
}

body.single-product.aura-pdp-refined .single_add_to_cart_button:not(.disabled):not(:disabled):hover,
body.single-product.aura-pdp-refined button.single_add_to_cart_button:not(.disabled):not(:disabled):hover {
    border-color: var(--aura-pdp-gold) !important;
    background: var(--aura-pdp-gold) !important;
    color: #111111 !important;
    box-shadow: 0 15px 34px rgba(201, 155, 47, 0.25);
}

body.single-product.aura-pdp-refined .single_add_to_cart_button.disabled,
body.single-product.aura-pdp-refined .single_add_to_cart_button:disabled {
    border-color: #d5d5d5 !important;
    background: #e7e7e7 !important;
    color: #8a8a8a !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
}

body.single-product.aura-pdp-refined .aura-pdp-cta-note {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 13px 0 0;
    color: #626469;
    font-size: 0.73rem;
    line-height: 1.5;
}

body.single-product.aura-pdp-refined .aura-pdp-cta-note__mark {
    flex: 0 0 auto;
    color: var(--aura-pdp-green);
    font-weight: 800;
}

/* Benefits */
body.single-product.aura-pdp-refined .aura-pdp-service-panel {
    margin: 24px 0 0;
    padding: 23px 0 0;
    border-top: 1px solid var(--aura-pdp-line);
}

body.single-product.aura-pdp-refined .aura-pdp-benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

body.single-product.aura-pdp-refined .aura-pdp-benefit {
    min-width: 0;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 14px;
    border: 1px solid rgba(27, 27, 27, 0.09);
    border-radius: 12px;
    background: var(--aura-pdp-paper-warm);
}

body.single-product.aura-pdp-refined .aura-pdp-benefit svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: var(--aura-pdp-gold);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.45;
}

body.single-product.aura-pdp-refined .aura-pdp-benefit strong,
body.single-product.aura-pdp-refined .aura-pdp-benefit span {
    display: block;
}

body.single-product.aura-pdp-refined .aura-pdp-benefit strong {
    margin: 0 0 4px;
    color: var(--aura-pdp-ink);
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    line-height: 1.35;
    text-transform: uppercase;
}

body.single-product.aura-pdp-refined .aura-pdp-benefit span {
    color: var(--aura-pdp-muted);
    font-size: 0.69rem;
    line-height: 1.45;
}

body.single-product.aura-pdp-refined .aura-pdp-service-links {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 18px;
    margin: 18px 0 0;
}

body.single-product.aura-pdp-refined .aura-pdp-service-links a {
    position: relative;
    color: #4d4f54;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
}

body.single-product.aura-pdp-refined .aura-pdp-service-links a::after {
    position: absolute;
    right: 0;
    bottom: -4px;
    left: 0;
    height: 1px;
    background: var(--aura-pdp-gold);
    content: "";
    transform: scaleX(0.35);
    transform-origin: left;
    transition: transform 0.2s ease;
}

body.single-product.aura-pdp-refined .aura-pdp-service-links a:hover::after,
body.single-product.aura-pdp-refined .aura-pdp-service-links a:focus-visible::after {
    transform: scaleX(1);
}

/* De-emphasize technical metadata without hiding it. */
body.single-product.aura-pdp-refined .product_meta,
body.single-product.aura-pdp-refined #nm-product-meta {
    margin-top: 22px !important;
    padding-top: 18px !important;
    border-top: 1px solid var(--aura-pdp-line);
    color: #8a8b8f !important;
    font-size: 0.68rem !important;
    line-height: 1.65 !important;
}

/* Lower-page rhythm */
body.single-product.aura-pdp-refined .woocommerce-tabs,
body.single-product.aura-pdp-refined .wc-tabs-wrapper,
body.single-product.aura-pdp-refined #aura-ambient-section,
body.single-product.aura-pdp-refined .aura-related-products-wrapper {
    scroll-margin-top: 130px;
}

body.single-product.aura-pdp-refined .aura-related-products-wrapper > h2,
body.single-product.aura-pdp-refined .aura-related-products-wrapper .section-title,
body.single-product.aura-pdp-refined .nm-related-products-title {
    font-family: var(--aura-pdp-display) !important;
    font-weight: 400 !important;
    letter-spacing: -0.035em !important;
}

body.single-product.aura-pdp-refined a:focus-visible,
body.single-product.aura-pdp-refined button:focus-visible,
body.single-product.aura-pdp-refined input:focus-visible,
body.single-product.aura-pdp-refined select:focus-visible {
    outline: 3px solid var(--aura-pdp-gold) !important;
    outline-offset: 3px !important;
}

@media (max-width: 768px) {
    body.single-product.aura-pdp-refined .nm-product-images-col .woocommerce-product-gallery,
    body.single-product.aura-pdp-refined .nm-product-images-col .woo-variation-product-gallery,
    body.single-product.aura-pdp-refined .nm-product-images-col .wvg-single-gallery-image-container {
        border-radius: 14px;
        box-shadow: 0 14px 38px rgba(17, 17, 17, 0.075);
    }

    body.single-product.aura-pdp-refined .nm-single-product-summary-col .summary,
    body.single-product.aura-pdp-refined .nm-single-product-summary-col .entry-summary {
        margin-top: 12px !important;
        border-radius: 16px;
        padding: 25px 20px 28px !important;
        box-shadow: 0 14px 38px rgba(17, 17, 17, 0.06);
    }

    body.single-product.aura-pdp-refined .summary .product_title,
    body.single-product.aura-pdp-refined .summary h1.product_title {
        font-size: clamp(2.25rem, 12vw, 3.5rem) !important;
    }

    body.single-product.aura-pdp-refined .aura-pdp-benefits {
        grid-template-columns: 1fr;
    }

    body.single-product.aura-pdp-refined .aura-pdp-benefit {
        grid-template-columns: 28px minmax(0, 1fr);
        padding: 13px;
    }
}



/* ==========================================================================
   LOWER PRODUCT EXPERIENCE
   Styles only existing sections. No movement or gallery reinitialisation.
   ========================================================================== */

body.single-product.aura-pdp-refined .aura-pdp-lower-intro {
    width: min(1380px, calc(100% - 48px));
    margin: clamp(48px, 7vw, 96px) auto 30px;
    padding: clamp(30px, 5vw, 64px);
    border: 1px solid var(--aura-pdp-line);
    border-radius: 24px;
    background:
        radial-gradient(circle at 90% 10%, rgba(201, 155, 47, 0.12), transparent 28%),
        linear-gradient(135deg, #ffffff 0%, #f7f4ee 100%);
}

body.single-product.aura-pdp-refined .aura-pdp-lower-intro__eyebrow {
    margin: 0 0 18px !important;
    color: #8b6b25 !important;
    font-size: 0.66rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.18em;
    line-height: 1.4 !important;
    text-transform: uppercase;
}

body.single-product.aura-pdp-refined .aura-pdp-lower-intro__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
    gap: clamp(28px, 6vw, 90px);
    align-items: end;
}

body.single-product.aura-pdp-refined .aura-pdp-lower-intro h2 {
    margin: 0 !important;
    color: var(--aura-pdp-ink) !important;
    font-family: var(--aura-pdp-display) !important;
    font-size: clamp(2.5rem, 5.5vw, 6rem) !important;
    font-weight: 400 !important;
    letter-spacing: -0.055em;
    line-height: 0.96 !important;
}

body.single-product.aura-pdp-refined .aura-pdp-lower-intro__grid > p {
    margin: 0 !important;
    color: var(--aura-pdp-muted) !important;
    font-size: 0.96rem !important;
    line-height: 1.8 !important;
}

/* Description/tabs */
body.single-product.aura-pdp-refined .woocommerce-tabs,
body.single-product.aura-pdp-refined .wc-tabs-wrapper {
    width: min(1380px, calc(100% - 48px));
    margin: 0 auto clamp(44px, 7vw, 90px) !important;
    padding: clamp(24px, 4vw, 52px) !important;
    border: 1px solid var(--aura-pdp-line);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(17, 17, 17, 0.055);
}

body.single-product.aura-pdp-refined .woocommerce-tabs ul.tabs,
body.single-product.aura-pdp-refined .wc-tabs-wrapper ul.tabs,
body.single-product.aura-pdp-refined .nm-tabs {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px 12px !important;
    margin: 0 0 28px !important;
    padding: 0 0 18px !important;
    border-bottom: 1px solid var(--aura-pdp-line) !important;
}

body.single-product.aura-pdp-refined .woocommerce-tabs ul.tabs li,
body.single-product.aura-pdp-refined .wc-tabs-wrapper ul.tabs li {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

body.single-product.aura-pdp-refined .woocommerce-tabs ul.tabs li a,
body.single-product.aura-pdp-refined .wc-tabs-wrapper ul.tabs li a,
body.single-product.aura-pdp-refined .nm-tabs a {
    display: inline-flex !important;
    min-height: 40px;
    align-items: center;
    padding: 0 16px !important;
    border: 1px solid transparent;
    border-radius: 999px;
    color: #77797e !important;
    font-size: 0.7rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.1em;
    text-decoration: none !important;
    text-transform: uppercase;
}

body.single-product.aura-pdp-refined .woocommerce-tabs ul.tabs li.active a,
body.single-product.aura-pdp-refined .wc-tabs-wrapper ul.tabs li.active a,
body.single-product.aura-pdp-refined .nm-tabs .active a {
    border-color: var(--aura-pdp-ink);
    background: var(--aura-pdp-ink);
    color: #ffffff !important;
}

body.single-product.aura-pdp-refined .woocommerce-Tabs-panel,
body.single-product.aura-pdp-refined .wc-tab,
body.single-product.aura-pdp-refined .nm-tab-content {
    color: #55575c !important;
    font-size: 1rem !important;
    line-height: 1.85 !important;
}

body.single-product.aura-pdp-refined .woocommerce-Tabs-panel h2,
body.single-product.aura-pdp-refined .woocommerce-Tabs-panel h3,
body.single-product.aura-pdp-refined .wc-tab h2,
body.single-product.aura-pdp-refined .wc-tab h3 {
    color: var(--aura-pdp-ink) !important;
    font-family: var(--aura-pdp-display) !important;
    font-weight: 400 !important;
    letter-spacing: -0.035em !important;
}

/* Existing inspiration / styling / ambient section
   The live markup uses more than one wrapper. A light colour scheme is used
   throughout so inherited white theme text can never disappear on white cards. */
body.single-product.aura-pdp-refined #aura-ambient-section,
body.single-product.aura-pdp-refined .aura-ambient-gallery-container,
body.single-product.aura-pdp-refined [class*="aura-inspiration-section"],
body.single-product.aura-pdp-refined [class*="aura-styling-section"] {
    width: min(1380px, calc(100% - 48px));
    margin-right: auto !important;
    margin-left: auto !important;
    color: var(--aura-pdp-ink) !important;
}

body.single-product.aura-pdp-refined #aura-ambient-section,
body.single-product.aura-pdp-refined [class*="aura-inspiration-section"],
body.single-product.aura-pdp-refined [class*="aura-styling-section"] {
    padding: clamp(30px, 5vw, 68px) !important;
    overflow: hidden !important;
    border: 1px solid var(--aura-pdp-line) !important;
    border-radius: 24px !important;
    background:
        radial-gradient(circle at 92% 8%, rgba(201, 155, 47, 0.10), transparent 26%),
        linear-gradient(135deg, #ffffff 0%, #f7f4ee 100%) !important;
    box-shadow: 0 18px 50px rgba(17, 17, 17, 0.05) !important;
    isolation: isolate;
}

/* Headings such as “Inspiration & Styling”. */
body.single-product.aura-pdp-refined #aura-ambient-section :is(h1, h2, h3, h4, h5, h6, .elementor-heading-title),
body.single-product.aura-pdp-refined .aura-ambient-gallery-container :is(h1, h2, h3, h4, h5, h6, .elementor-heading-title),
body.single-product.aura-pdp-refined [class*="aura-inspiration-section"] :is(h1, h2, h3, h4, h5, h6, .elementor-heading-title),
body.single-product.aura-pdp-refined [class*="aura-styling-section"] :is(h1, h2, h3, h4, h5, h6, .elementor-heading-title) {
    color: var(--aura-pdp-ink) !important;
    text-shadow: none !important;
}

/* Main editorial heading. */
body.single-product.aura-pdp-refined #aura-ambient-section :is(h2, h3, .elementor-heading-title),
body.single-product.aura-pdp-refined [class*="aura-inspiration-section"] :is(h2, h3, .elementor-heading-title),
body.single-product.aura-pdp-refined [class*="aura-styling-section"] :is(h2, h3, .elementor-heading-title) {
    font-family: var(--aura-pdp-display) !important;
    font-weight: 400 !important;
    letter-spacing: -0.045em !important;
    line-height: 1.02 !important;
}

/* Introductory paragraph and descriptions. */
body.single-product.aura-pdp-refined #aura-ambient-section :is(p, .elementor-widget-text-editor, [class*="description"], [class*="subtitle"]),
body.single-product.aura-pdp-refined .aura-ambient-gallery-container :is(p, .elementor-widget-text-editor, [class*="description"], [class*="subtitle"]),
body.single-product.aura-pdp-refined [class*="aura-inspiration-section"] :is(p, .elementor-widget-text-editor, [class*="description"], [class*="subtitle"]),
body.single-product.aura-pdp-refined [class*="aura-styling-section"] :is(p, .elementor-widget-text-editor, [class*="description"], [class*="subtitle"]) {
    color: var(--aura-pdp-muted) !important;
    text-shadow: none !important;
    line-height: 1.75 !important;
}

/* Product/artwork titles such as “Leaning Tower of Pisa”. */
body.single-product.aura-pdp-refined #aura-ambient-section :is(
    .woocommerce-loop-product__title,
    .nm-shop-loop-title,
    .product-title,
    [class*="artwork-title"],
    [class*="ambient-title"],
    [class*="inspiration-title"]
),
body.single-product.aura-pdp-refined .aura-ambient-gallery-container :is(
    .woocommerce-loop-product__title,
    .nm-shop-loop-title,
    .product-title,
    [class*="artwork-title"],
    [class*="ambient-title"],
    [class*="inspiration-title"]
),
body.single-product.aura-pdp-refined [class*="aura-inspiration-section"] :is(
    .woocommerce-loop-product__title,
    .nm-shop-loop-title,
    .product-title,
    [class*="artwork-title"],
    [class*="ambient-title"],
    [class*="inspiration-title"]
),
body.single-product.aura-pdp-refined [class*="aura-styling-section"] :is(
    .woocommerce-loop-product__title,
    .nm-shop-loop-title,
    .product-title,
    [class*="artwork-title"],
    [class*="ambient-title"],
    [class*="inspiration-title"]
) {
    color: var(--aura-pdp-ink) !important;
    text-shadow: none !important;
}

/* Make links inside headings inherit the corrected title colour. */
body.single-product.aura-pdp-refined #aura-ambient-section :is(h1, h2, h3, h4, h5, h6, [class*="title"]) a,
body.single-product.aura-pdp-refined .aura-ambient-gallery-container :is(h1, h2, h3, h4, h5, h6, [class*="title"]) a,
body.single-product.aura-pdp-refined [class*="aura-inspiration-section"] :is(h1, h2, h3, h4, h5, h6, [class*="title"]) a,
body.single-product.aura-pdp-refined [class*="aura-styling-section"] :is(h1, h2, h3, h4, h5, h6, [class*="title"]) a {
    color: inherit !important;
    text-shadow: none !important;
}

/* Neutral cards and image treatment. */
body.single-product.aura-pdp-refined #aura-ambient-section :is(
    .product,
    [class*="ambient-card"],
    [class*="inspiration-card"],
    [class*="artwork-card"]
),
body.single-product.aura-pdp-refined .aura-ambient-gallery-container :is(
    .product,
    [class*="ambient-card"],
    [class*="inspiration-card"],
    [class*="artwork-card"]
) {
    color: var(--aura-pdp-ink) !important;
    border-radius: 16px;
    background: #ffffff !important;
}

body.single-product.aura-pdp-refined #aura-ambient-section img,
body.single-product.aura-pdp-refined .aura-ambient-gallery-container img,
body.single-product.aura-pdp-refined [class*="aura-inspiration-section"] img,
body.single-product.aura-pdp-refined [class*="aura-styling-section"] img {
    border-radius: 16px;
}

/* Safety net for direct text nodes styled white by the theme.
   Buttons are deliberately excluded so their contrast remains intact. */
body.single-product.aura-pdp-refined #aura-ambient-section > :not(.button):not(.elementor-button),
body.single-product.aura-pdp-refined .aura-ambient-gallery-container > :not(.button):not(.elementor-button) {
    text-shadow: none !important;
}

/* Related products */
body.single-product.aura-pdp-refined .aura-related-products-wrapper {
    width: min(1380px, calc(100% - 48px));
    margin: clamp(44px, 7vw, 90px) auto !important;
    padding: clamp(28px, 4vw, 54px);
    border: 1px solid var(--aura-pdp-line);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(17, 17, 17, 0.05);
}

body.single-product.aura-pdp-refined .aura-related-products-wrapper > h2,
body.single-product.aura-pdp-refined .aura-related-products-wrapper .section-title,
body.single-product.aura-pdp-refined .nm-related-products-title {
    margin-bottom: 28px !important;
    color: var(--aura-pdp-ink) !important;
    font-family: var(--aura-pdp-display) !important;
    font-size: clamp(2rem, 4vw, 4.4rem) !important;
    font-weight: 400 !important;
    letter-spacing: -0.045em !important;
    line-height: 1 !important;
}

body.single-product.aura-pdp-refined .aura-related-products-wrapper li.product {
    border-radius: 14px;
    background: #ffffff;
}

body.single-product.aura-pdp-refined .aura-related-products-wrapper li.product img {
    border-radius: 11px;
}

/* Reduce expensive mobile paint operations. */
@media (max-width: 768px) {
    body.single-product.aura-pdp-refined .nm-product-images-col .woocommerce-product-gallery,
    body.single-product.aura-pdp-refined .nm-product-images-col .woo-variation-product-gallery,
    body.single-product.aura-pdp-refined .nm-product-images-col .wvg-single-gallery-image-container,
    body.single-product.aura-pdp-refined .nm-single-product-summary-col .summary,
    body.single-product.aura-pdp-refined .nm-single-product-summary-col .entry-summary {
        background: #ffffff;
        box-shadow: 0 5px 16px rgba(17, 17, 17, 0.045);
        outline: 0;
    }

    body.single-product.aura-pdp-refined .aura-pdp-lower-intro,
    body.single-product.aura-pdp-refined .woocommerce-tabs,
    body.single-product.aura-pdp-refined .wc-tabs-wrapper,
    body.single-product.aura-pdp-refined #aura-ambient-section,
    body.single-product.aura-pdp-refined .aura-ambient-gallery-container,
    body.single-product.aura-pdp-refined .aura-related-products-wrapper {
        width: calc(100% - 24px);
    }

    body.single-product.aura-pdp-refined .aura-pdp-lower-intro {
        margin-top: 42px;
        padding: 28px 20px;
        border-radius: 17px;
        background: #f7f4ee;
    }

    body.single-product.aura-pdp-refined .aura-pdp-lower-intro__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    body.single-product.aura-pdp-refined .aura-pdp-lower-intro h2 {
        font-size: clamp(2.35rem, 13vw, 4rem) !important;
    }

    body.single-product.aura-pdp-refined .woocommerce-tabs,
    body.single-product.aura-pdp-refined .wc-tabs-wrapper,
    body.single-product.aura-pdp-refined #aura-ambient-section,
    body.single-product.aura-pdp-refined .aura-related-products-wrapper {
        padding: 24px 18px !important;
        border-radius: 17px;
        box-shadow: none;
    }

    body.single-product.aura-pdp-refined .woocommerce-tabs ul.tabs,
    body.single-product.aura-pdp-refined .wc-tabs-wrapper ul.tabs,
    body.single-product.aura-pdp-refined .nm-tabs {
        gap: 7px !important;
    }

    body.single-product.aura-pdp-refined .woocommerce-tabs ul.tabs li a,
    body.single-product.aura-pdp-refined .wc-tabs-wrapper ul.tabs li a,
    body.single-product.aura-pdp-refined .nm-tabs a {
        min-height: 38px;
        padding: 0 13px !important;
        font-size: 0.62rem !important;
    }

    body.single-product.aura-pdp-refined #aura-ambient-section img,
    body.single-product.aura-pdp-refined .aura-ambient-gallery-container img {
        border-radius: 10px;
    }
}



/* ==========================================================================
   FINAL CONTRAST SAFETY — V2.1
   Only content areas known to have inherited white text are targeted.
   ========================================================================== */
body.single-product.aura-pdp-refined :is(
    #aura-ambient-section,
    .aura-ambient-gallery-container,
    [class*="aura-inspiration-section"],
    [class*="aura-styling-section"]
) :is(
    h1, h2, h3, h4, h5, h6,
    .elementor-heading-title,
    .woocommerce-loop-product__title,
    .nm-shop-loop-title,
    .product-title,
    [class*="artwork-title"],
    [class*="ambient-title"],
    [class*="inspiration-title"]
) {
    color: #1b1b1b !important;
    -webkit-text-fill-color: #1b1b1b !important;
    opacity: 1 !important;
    visibility: visible !important;
}

body.single-product.aura-pdp-refined :is(
    #aura-ambient-section,
    .aura-ambient-gallery-container,
    [class*="aura-inspiration-section"],
    [class*="aura-styling-section"]
) :is(
    p,
    .elementor-widget-text-editor,
    [class*="description"],
    [class*="subtitle"]
) {
    color: #707176 !important;
    -webkit-text-fill-color: #707176 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

@media (max-width: 768px) {
    body.single-product.aura-pdp-refined #aura-ambient-section,
    body.single-product.aura-pdp-refined [class*="aura-inspiration-section"],
    body.single-product.aura-pdp-refined [class*="aura-styling-section"] {
        background: #f7f4ee !important;
        box-shadow: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.single-product.aura-pdp-refined *,
    body.single-product.aura-pdp-refined *::before,
    body.single-product.aura-pdp-refined *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
