/*
Theme Name: ADOMAC Beddings
Theme URI: https://beddings.adomacglobal.com
Author: ADOMAC Global
Description: Premium WooCommerce storefront for ADOMAC Beddings.
Version: 0.9.9
Text Domain: adomac-beddings
*/

/* ==========================================================
   ADOMAC BEDDINGS — GLOBAL DESIGN FOUNDATION
   ========================================================== */

:root {
    --adb-navy: #0B1F33;
    --adb-navy-deep: #071827;
    --adb-gold: #C6A15B;
    --adb-gold-soft: #E7D7B7;
    --adb-ivory: #F7F3EA;
    --adb-soft: #FBF9F5;
    --adb-white: #FFFFFF;
    --adb-charcoal: #242424;
    --adb-muted: #6B6B6B;
    --adb-border: #E6E0D7;

    --adb-font-display:
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif;

    --adb-font-body:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--adb-gold); outline-offset: 4px; }
.adb-site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    color: var(--adb-navy);
    background: var(--adb-white);
    border-top: 4px solid var(--adb-navy);
}
.adb-header-main { display: grid; grid-template-columns: 220px minmax(180px, 1fr) auto; align-items: center; gap: 32px; padding-block: 24px; }
.adb-brand { display: flex; flex-direction: column; align-items: center; text-decoration: none; }
.adb-brand img { display: block; width: 220px; height: auto; }
.adb-brand-unit { font-size: 12px; letter-spacing: .32em; margin-top: 4px; }
.adb-product-search { display: flex; min-width: 0; border: 1px solid var(--adb-border); border-radius: 4px; background: var(--adb-soft); }
.adb-product-search input { min-width: 0; width: 100%; border: 0; padding: 12px; background: transparent; color: var(--adb-navy); font: inherit; font-size: 16px; }
.adb-product-search button, .adb-menu-toggle { border: 1px solid var(--adb-navy); border-radius: 3px; background: var(--adb-navy); color: var(--adb-white); padding: 10px 16px; min-height: 44px; font: inherit; cursor: pointer; }
.adb-product-search button { background: var(--adb-gold); border-color: var(--adb-gold); color: var(--adb-navy); }
.adb-menu-toggle:hover { background: var(--adb-navy-deep); }
.adb-product-search button:hover,
.adb-product-search button:focus-visible {
    background: var(--adb-navy);
    border-color: var(--adb-navy);
    color: var(--adb-white);
}
.adb-utilities { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.adb-utilities a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; text-decoration: none; font-size: 14px; font-weight: 600; }
.adb-utilities a:hover { text-decoration: underline; text-underline-offset: 5px; }
.adb-utilities .adb-utility-stacked { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; line-height: 1.5; }
.adb-utility-caption { color: var(--adb-muted); font-size: 12px; font-weight: 400; letter-spacing: .03em; }
.adb-utility-stacked strong, .adb-utilities .adb-bag { font-size: 15px; font-weight: 700; letter-spacing: .03em; }
.adb-bag-count { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; min-height: 28px; padding: 2px 6px; border-radius: 50%; background: var(--adb-navy); color: var(--adb-white); font-weight: 400; letter-spacing: 0; }
.adb-menu-toggle { display: none; }
.adb-navigation-bar { background: var(--adb-navy); color: var(--adb-white); border-bottom: 2px solid var(--adb-gold); }
.adb-menu, .adb-menu .sub-menu { list-style: none; margin: 0; padding: 0; }
.adb-menu { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; padding-block: 8px; }
.adb-menu > li > a { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.adb-menu a { display: block; padding: 10px 4px; min-height: 44px; text-decoration: none; overflow-wrap: anywhere; }
.adb-menu a:hover, .adb-menu .current-menu-item > a { text-decoration: underline; text-decoration-color: var(--adb-gold); text-underline-offset: 6px; }
/* Assigned submenus stay usable with keyboard, touch and JavaScript disabled. */
.adb-menu .sub-menu { padding-left: 16px; border-left: 1px solid var(--adb-gold-soft); font-size: 14px; }
.adb-menu li { position: relative; }
.adb-menu > li:has(> .adb-category-disclosure) > a { padding-right: 44px; }
.adb-category-disclosure > summary { position: absolute; top: 0; right: 0; width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; list-style: none; }
.adb-category-disclosure > summary::-webkit-details-marker { display: none; }
.adb-category-disclosure > summary::after { content: ''; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin-top: -4px; }
.adb-category-disclosure[open] > summary::after { transform: rotate(225deg); margin-top: 4px; }
.adb-category-disclosure > .sub-menu { position: absolute; z-index: 20; top: 100%; left: 0; width: 280px; max-width: calc(100vw - 32px); padding: 12px 16px; background: var(--adb-navy); border: 1px solid var(--adb-gold-soft); box-shadow: 0 8px 20px #0b1f3326; }
.adb-category-disclosure .sub-menu a { padding-right: 44px; }
.adb-category-disclosure .adb-category-disclosure > .sub-menu { position: static; width: auto; border: 0; border-left: 1px solid var(--adb-gold-soft); box-shadow: none; }
.adb-site-footer { border-top: 1px solid var(--adb-border); background: var(--adb-ivory); padding-block: 24px; font-size: 14px; }
#main-content { min-height: 35vh; padding-block: 32px; }
#main-content.adb-homepage { padding-block: 0; }
.adb-home-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; background: var(--adb-ivory); }
.adb-home-hero-copy { display: flex; flex-direction: column; justify-content: center; max-width: 680px; padding-block: 72px; }
.adb-home-hero > img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; }
.adb-eyebrow { margin: 0 0 10px; color: var(--adb-muted); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.adb-home-hero h1 { max-width: 620px; margin: 0; color: var(--adb-navy); font-family: var(--adb-font-display); font-size: clamp(42px, 6vw, 76px); font-weight: 500; line-height: 1.05; }
.adb-home-placeholder { max-width: 560px; margin: 20px 0 28px; color: var(--adb-muted); font-size: 18px; }
.adb-primary-button { display: inline-block; padding: 13px 20px; background: var(--adb-navy); color: var(--adb-white); text-decoration: none; font-weight: 700; }
.adb-primary-button:hover { background: var(--adb-navy-deep); }
.adb-value-strip { border-block: 1px solid var(--adb-border); background: var(--adb-white); }
.adb-value-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.adb-value-grid > div { display: grid; gap: 6px; padding: 28px 24px; border-right: 1px solid var(--adb-border); }
.adb-value-grid > div:last-child { border-right: 0; }
.adb-value-grid span, .adb-section-intro, .adb-feature-copy > p:not(.adb-eyebrow) { color: var(--adb-muted); }
.adb-home-section { padding-block: 88px; }
.adb-home-section h2, .adb-feature-copy h2, .adb-home-closing h2 { margin: 0; color: var(--adb-navy); font-family: var(--adb-font-display); font-size: clamp(38px, 5vw, 64px); font-weight: 500; line-height: 1.05; }
.adb-section-intro { max-width: 680px; margin: 16px 0 28px; font-size: 17px; }
.adb-department-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.adb-department-card { position: relative; min-height: 360px; overflow: hidden; color: var(--adb-white); text-decoration: none; background: var(--adb-navy); }
.adb-department-card img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; transition: transform .25s ease; }
.adb-department-card:hover img { transform: scale(1.03); }
.adb-department-card-copy { position: absolute; right: 0; bottom: 0; left: 0; display: grid; gap: 4px; padding: 24px; background: linear-gradient(transparent, #071827e8); }
.adb-department-card-copy strong { font-family: var(--adb-font-display); font-size: 30px; }
.adb-department-card-copy small { color: var(--adb-white); }
.adb-section-heading-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.adb-text-link { display: inline-block; color: var(--adb-navy); font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: .08em; border-bottom: 1px solid var(--adb-gold); padding-bottom: 8px; }
.adb-product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; }
.adb-product-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--adb-soft); }
.adb-product-card h3 { margin: 14px 0 4px; font-size: 16px; line-height: 1.35; }
.adb-product-card h3 a { color: var(--adb-navy); text-decoration: none; }
.adb-product-price { margin: 0; font-weight: 700; }
.adb-empty-state { margin-top: 32px; padding: 24px; background: var(--adb-soft); color: var(--adb-muted); }
.adb-feature-split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; background: var(--adb-soft); }
.adb-feature-split > img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.adb-feature-copy { display: flex; flex-direction: column; justify-content: center; padding: 64px; }
.adb-feature-copy .adb-text-link { align-self: flex-start; margin-top: 18px; }
.adb-feature-split-reverse { margin-top: 24px; }
.adb-home-closing { margin-top: 88px; padding-block: 96px; background: var(--adb-navy); color: var(--adb-white); text-align: center; border-bottom: 2px solid var(--adb-gold); }
.adb-home-closing h2 { color: var(--adb-white); }
.adb-home-closing p:not(.adb-eyebrow) { max-width: 680px; margin: 20px auto 28px; color: var(--adb-white); }
.adb-button-light { background: var(--adb-gold); color: var(--adb-navy); }
.adb-department-card:hover { border-color: var(--adb-gold); }
.adb-home-placeholder-panel { margin-bottom: 64px; padding: 40px; background: var(--adb-soft); border: 1px dashed var(--adb-gold); }
.adb-home-placeholder-panel p:last-child { max-width: 620px; margin-bottom: 0; color: var(--adb-muted); }
.adb-site-footer { background: var(--adb-navy); color: var(--adb-white); padding-top: 64px; }
.adb-footer-main { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 36px; padding-bottom: 56px; }
.adb-footer-logo { display: inline-flex; flex-direction: column; align-items: flex-start; color: var(--adb-white); text-decoration: none; }
.adb-footer-logo img { width: 240px; height: auto; background: var(--adb-ivory); }
.adb-footer-logo span { margin: 6px 0 0 28px; font-size: 11px; letter-spacing: .3em; }
.adb-footer-intro > p:not(.adb-footer-brand) { color: var(--adb-white); }
.adb-footer-parent { display: inline-block; margin-top: 18px; color: var(--adb-gold-soft); text-decoration: none; }
.adb-footer-parent:hover { text-decoration: underline; }
.adb-footer-column { display: grid; align-content: start; gap: 10px; }
.adb-footer-column h2 { margin: 0 0 8px; color: var(--adb-gold); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; }
.adb-footer-column a, .adb-footer-column span { color: var(--adb-white); text-decoration: none; }
.adb-footer-column a:hover { text-decoration: underline; }
.adb-footer-column em { display: inline-block; margin-left: 5px; color: var(--adb-gold-soft); font-size: 10px; font-style: normal; text-transform: uppercase; }
.adb-footer-contact-label { margin: 12px 0 0; color: var(--adb-gold-soft); font-size: 11px; letter-spacing: .12em; }
.adb-footer-social-icons { display: flex; flex-wrap: wrap; gap: 10px; }
.adb-footer-social-icons span { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid #ffffff66; border-radius: 50%; color: var(--adb-white); font-size: 13px; }
.adb-footer-connected { padding-block: 48px; background: var(--adb-ivory); color: var(--adb-navy); }
.adb-footer-connected-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.adb-footer-connected h2 { margin: 0; font-family: var(--adb-font-display); font-size: 44px; font-weight: 500; }
.adb-footer-connected p:not(.adb-eyebrow) { max-width: 420px; margin-bottom: 0; }
.adb-social-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.adb-social-grid span { display: flex; align-items: center; justify-content: space-between; padding: 17px; border: 1px solid var(--adb-border); background: var(--adb-white); }
.adb-social-grid em { margin-left: auto; margin-right: 10px; color: var(--adb-muted); font-size: 10px; font-style: normal; text-transform: uppercase; }
.adb-social-grid b { color: var(--adb-gold); font-size: 18px; font-weight: 400; }
.adb-footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #ffffff40; padding-block: 20px; color: var(--adb-white); font-size: 13px; }
.adb-footer-bottom p { margin: 0; }

@media (max-width: 1000px) {
    .adb-header-main { grid-template-columns: 190px 1fr; gap: 16px 24px; }
    .adb-brand img { width: 190px; }
    .adb-utilities { justify-content: flex-end; }
    .adb-product-search { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 640px) {
    .adb-header-main { grid-template-columns: 1fr auto; padding-block: 16px; gap: 16px; }
    .adb-brand { align-items: flex-start; }
    .adb-brand img { width: 170px; }
    .adb-brand-unit { margin-left: 30px; font-size: 11px; }
    .adb-menu-toggle:not([hidden]) { display: block; grid-column: 2; grid-row: 1; }
    .adb-utilities { grid-column: 1 / -1; justify-content: flex-start; gap: 24px; }
    .adb-product-search { grid-row: 3; }
    .adb-menu { flex-direction: column; align-items: stretch; gap: 0; padding-block: 12px; }
    .adb-menu a { padding-inline: 8px; }
    .adb-category-disclosure > .sub-menu { position: static; width: auto; box-shadow: none; }
    .adb-home-hero, .adb-feature-split { grid-template-columns: 1fr; }
    .adb-home-hero-copy { padding-block: 48px; }
    .adb-home-hero > img, .adb-feature-split > img { min-height: 320px; }
    .adb-value-grid, .adb-department-grid, .adb-product-grid { grid-template-columns: 1fr; }
    .adb-value-grid > div { border-right: 0; border-bottom: 1px solid var(--adb-border); }
    .adb-value-grid > div:last-child { border-bottom: 0; }
    .adb-section-heading-row { display: block; }
    .adb-section-heading-row .adb-text-link { margin-top: 18px; }
    .adb-feature-copy { padding: 40px 24px; }
    .adb-footer-main { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
    .adb-footer-connected-inner { grid-template-columns: 1fr; gap: 24px; }
    .adb-footer-connected h2 { font-size: 38px; }
    .adb-footer-bottom { display: block; }
    .adb-footer-bottom span { display: block; margin-top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

body {
    margin: 0;
    background: var(--adb-white);
    color: var(--adb-charcoal);
    font-family: var(--adb-font-body);
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

.adb-container {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
}

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

.screen-reader-text:focus {
    width: auto;
    height: auto;
    margin: 0;
    padding: 12px 16px;
    clip: auto;
    overflow: visible;
    background: var(--adb-white);
    color: var(--adb-navy);
    z-index: 100000;
}


/* ==========================================================
   INCREMENT 8A — STOREFRONT HOMEPAGE FOUNDATION
   ========================================================== */
.adb-product-card { display:flex; flex-direction:column; min-width:0; border:1px solid var(--adb-border); background:var(--adb-white); }
.adb-product-card-image { display:block; overflow:hidden; background:var(--adb-soft); }
.adb-product-card-image img { display:block; width:100%; aspect-ratio:1 / 1; object-fit:cover; transition:transform .25s ease; }
.adb-product-card:hover .adb-product-card-image img { transform:scale(1.02); }
.adb-product-card-body { display:flex; flex:1; flex-direction:column; align-items:flex-start; padding:18px; }
.adb-product-card-body h3 { width:100%; margin-top:0; }
.adb-product-card-link { display:inline-block; margin-top:auto; padding-top:14px; color:var(--adb-navy); font-size:13px; font-weight:700; letter-spacing:.06em; text-decoration:underline; text-decoration-color:var(--adb-gold); text-underline-offset:5px; text-transform:uppercase; }
.adb-footer-note { max-width:280px; margin-top:14px; color:var(--adb-gold-soft); font-size:12px; line-height:1.5; }
.adb-content-main { min-height:50vh; padding-block:56px 80px; }
.adb-content-shell { max-width:900px; }
.adb-content-entry + .adb-content-entry { margin-top:48px; padding-top:48px; border-top:1px solid var(--adb-border); }
.adb-content-entry-header h1, .adb-content-entry-header h2 { margin-top:0; color:var(--adb-navy); font-family:var(--adb-font-display); font-size:clamp(34px,5vw,54px); font-weight:500; line-height:1.1; }
.adb-content-entry-header a { text-decoration:none; }
@media (max-width:1000px) and (min-width:641px) { .adb-product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:640px) { .adb-home-section { padding-block:64px; } .adb-home-hero h1 { font-size:clamp(40px,14vw,58px); } .adb-product-card-body { padding:16px; } .adb-home-closing { margin-top:64px; padding-block:72px; } .adb-footer-main { grid-template-columns:1fr; } }
@media (prefers-reduced-motion:reduce) { .adb-product-card-image img, .adb-department-card img { transition:none; } }


/* ==========================================================
   INCREMENT 8B — CATALOGUE + CATEGORY STOREFRONT
   ========================================================== */

.adb-commerce-main {
    min-height: 55vh;
    padding-block: 40px 88px;
}

.adb-commerce-shell {
    min-width: 0;
}

.adb-commerce-main .woocommerce-breadcrumb {
    margin: 0 0 28px;
    color: var(--adb-muted);
    font-size: 13px;
}

.adb-commerce-main .woocommerce-breadcrumb a {
    color: var(--adb-navy);
    text-decoration-color: var(--adb-gold);
    text-underline-offset: 4px;
}

.adb-commerce-main .woocommerce-products-header {
    max-width: 820px;
    margin-bottom: 42px;
}

.adb-commerce-main
.woocommerce-products-header__title.page-title {
    margin: 0;
    color: var(--adb-navy);
    font-family: var(--adb-font-display);
    font-size: clamp(42px, 6vw, 68px);
    font-weight: 500;
    line-height: 1.05;
}

.adb-commerce-main
.term-description {
    max-width: 720px;
    margin-top: 16px;
    color: var(--adb-muted);
    font-size: 17px;
}

.adb-catalogue-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 30px;
    padding: 16px 0;
    border-block: 1px solid var(--adb-border);
}

.adb-commerce-main
.woocommerce-result-count,
.adb-commerce-main
.woocommerce-ordering {
    float: none;
    margin: 0;
}

.adb-commerce-main
.woocommerce-result-count {
    color: var(--adb-muted);
    font-size: 14px;
}

.adb-commerce-main
.woocommerce-ordering select {
    min-height: 44px;
    max-width: 100%;
    border: 1px solid var(--adb-border);
    border-radius: 3px;
    background: var(--adb-white);
    color: var(--adb-charcoal);
    padding: 8px 38px 8px 12px;
    font: inherit;
}

.adb-commerce-main
ul.products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px 20px;
    clear: both;
    margin: 0;
    padding: 0;
}

.adb-commerce-main
ul.products::before,
.adb-commerce-main
ul.products::after {
    display: none;
}

.adb-commerce-main
ul.products
li.product {
    display: flex;
    float: none;
    flex-direction: column;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0 0 18px;
    border: 1px solid var(--adb-border);
    background: var(--adb-white);
}

.adb-commerce-main
ul.products
li.product
.woocommerce-LoopProduct-link {
    display: block;
    text-decoration: none;
}

.adb-commerce-main
ul.products
li.product
img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    margin: 0;
    object-fit: cover;
    background: var(--adb-soft);
}

.adb-commerce-main
ul.products
li.product
.woocommerce-loop-product__title {
    margin: 0;
    padding: 18px 18px 6px;
    color: var(--adb-navy);
    font-family: var(--adb-font-body);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.adb-commerce-main
ul.products
li.product
.price {
    margin: 0;
    padding: 0 18px;
    color: var(--adb-charcoal);
    font-size: 15px;
    font-weight: 700;
}

.adb-catalogue-availability {
    margin: 8px 18px 0;
    font-size: 13px;
    font-weight: 600;
}

.adb-catalogue-availability.is-available {
    color: var(--adb-navy);
}

.adb-catalogue-availability.is-unavailable {
    color: var(--adb-muted);
}

.adb-commerce-main
ul.products
li.product
.button {
    align-self: flex-start;
    margin: 16px 18px 0;
    border: 1px solid var(--adb-navy);
    border-radius: 0;
    background: var(--adb-navy);
    color: var(--adb-white);
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
}

.adb-commerce-main
ul.products
li.product
.button:hover {
    background: var(--adb-navy-deep);
    color: var(--adb-white);
}

.adb-commerce-main
ul.products
li.product
.onsale {
    top: 12px;
    right: 12px;
    left: auto;
    min-width: 0;
    min-height: 0;
    margin: 0;
    border-radius: 0;
    background: var(--adb-gold);
    color: var(--adb-navy);
    padding: 7px 10px;
    font-size: 11px;
    line-height: 1;
    text-transform: uppercase;
}

.adb-commerce-main
nav.woocommerce-pagination {
    margin-top: 48px;
}

.adb-commerce-main
nav.woocommerce-pagination
ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    border: 0;
}

.adb-commerce-main
nav.woocommerce-pagination
ul
li {
    border: 0;
}

.adb-commerce-main
nav.woocommerce-pagination
ul
li
a,
.adb-commerce-main
nav.woocommerce-pagination
ul
li
span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    border: 1px solid var(--adb-border);
    color: var(--adb-navy);
    padding: 8px;
}

.adb-commerce-main
nav.woocommerce-pagination
ul
li
span.current {
    border-color: var(--adb-navy);
    background: var(--adb-navy);
    color: var(--adb-white);
}

.adb-catalogue-empty {
    max-width: 760px;
    margin: 24px 0 32px;
    padding: 48px;
    border: 1px solid var(--adb-border);
    background: var(--adb-soft);
}

.adb-catalogue-empty h2 {
    margin: 0;
    color: var(--adb-navy);
    font-family: var(--adb-font-display);
    font-size: clamp(34px, 5vw, 52px);
    font-weight: 500;
    line-height: 1.08;
}

.adb-catalogue-empty p:last-child {
    max-width: 560px;
    margin-bottom: 0;
    color: var(--adb-muted);
}

@media (max-width: 1000px) {
    .adb-commerce-main
    ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .adb-commerce-main {
        padding-block: 28px 64px;
    }

    .adb-catalogue-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .adb-commerce-main
    .woocommerce-ordering,
    .adb-commerce-main
    .woocommerce-ordering select {
        width: 100%;
    }

    .adb-commerce-main
    ul.products {
        grid-template-columns: 1fr;
    }

    .adb-catalogue-empty {
        padding: 32px 24px;
    }
}


/* ==========================================================
   INCREMENT 8C — REAL CATALOGUE FILTERS
   ========================================================== */

.adb-catalogue-filters {
    margin: 0 0 30px;
    padding: 28px;
    border: 1px solid var(--adb-border);
    background: var(--adb-soft);
}

.adb-catalogue-filter-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.adb-catalogue-filter-heading h2 {
    margin: 0;
    color: var(--adb-navy);
    font-family: var(--adb-font-display);
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 500;
    line-height: 1.05;
}

.adb-filter-clear {
    color: var(--adb-navy);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .05em;
    text-decoration-color: var(--adb-gold);
    text-underline-offset: 5px;
    text-transform: uppercase;
}

.adb-filter-form {
    display: grid;
    grid-template-columns:
        minmax(180px, 1.3fr)
        minmax(130px, .7fr)
        minmax(130px, .7fr)
        minmax(210px, 1fr)
        auto;
    gap: 18px;
    align-items: end;
}

.adb-filter-field {
    display: grid;
    gap: 7px;
}

.adb-filter-field label,
.adb-filter-checks legend {
    color: var(--adb-navy);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.adb-filter-field input,
.adb-filter-field select {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--adb-border);
    border-radius: 3px;
    background: var(--adb-white);
    color: var(--adb-charcoal);
    padding: 9px 11px;
    font: inherit;
}

.adb-filter-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    min-width: 0;
    margin: 0;
    border: 0;
    padding: 0;
}

.adb-filter-checks legend {
    width: 100%;
    margin-bottom: 7px;
}

.adb-filter-checks label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    cursor: pointer;
}

.adb-filter-checks input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--adb-navy);
}

.adb-filter-submit {
    min-height: 44px;
    border: 1px solid var(--adb-navy);
    border-radius: 0;
    background: var(--adb-navy);
    color: var(--adb-white);
    padding: 11px 18px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.adb-filter-submit:hover {
    background: var(--adb-navy-deep);
}

@media (max-width: 1000px) {
    .adb-filter-form {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .adb-filter-actions {
        align-self: end;
    }
}

@media (max-width: 640px) {
    .adb-catalogue-filters {
        padding: 24px 18px;
    }

    .adb-catalogue-filter-heading {
        display: block;
    }

    .adb-filter-clear {
        display: inline-block;
        margin-top: 14px;
    }

    .adb-filter-form {
        grid-template-columns: 1fr;
    }

    .adb-filter-submit {
        width: 100%;
    }
}


/* ==========================================================
   INCREMENT 8D — PRODUCT DETAIL PAGE FOUNDATION
   ========================================================== */

.adb-product-detail .adb-commerce-main {
    padding-block: 32px 96px;
}

.adb-product-detail
.adb-commerce-shell
> .product {
    position: relative;
    display: grid;
    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(320px, .92fr);
    gap: 56px;
    align-items: start;
}

.adb-product-detail
div.product
.woocommerce-product-gallery {
    float: none;
    width: auto;
    margin: 0;
}

.adb-product-detail
div.product
.summary {
    float: none;
    width: auto;
    margin: 0;
    min-width: 0;
}

.adb-product-detail
div.product
.woocommerce-product-gallery__wrapper {
    margin: 0;
}

.adb-product-detail
div.product
.woocommerce-product-gallery__image {
    overflow: hidden;
    background: var(--adb-soft);
}

.adb-product-detail
div.product
.woocommerce-product-gallery__image
img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.adb-product-detail
div.product
.flex-control-thumbs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
    padding: 0;
}

.adb-product-detail
div.product
.flex-control-thumbs
li {
    float: none;
    width: auto;
    margin: 0;
}

.adb-product-detail
div.product
.flex-control-thumbs
img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 1px solid transparent;
    opacity: .72;
}

.adb-product-detail
div.product
.flex-control-thumbs
img.flex-active {
    border-color: var(--adb-gold);
    opacity: 1;
}

.adb-product-detail
div.product
.woocommerce-product-gallery__trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    top: 14px;
    right: 14px;
    border: 1px solid var(--adb-border);
    background: var(--adb-white);
}

.adb-product-detail
.adb-product-detail-eyebrow {
    margin-bottom: 12px;
}

.adb-product-detail
.product_title {
    margin: 0;
    color: var(--adb-navy);
    font-family: var(--adb-font-display);
    font-size: clamp(38px, 4.8vw, 58px);
    font-weight: 500;
    line-height: 1.04;
}

.adb-product-detail
.summary
.price {
    margin: 18px 0;
    color: var(--adb-charcoal);
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 700;
}

.adb-product-detail
.summary
.price
del {
    color: var(--adb-muted);
    font-weight: 400;
    opacity: .8;
}

.adb-product-detail
.summary
.price
ins {
    color: var(--adb-navy);
    text-decoration: none;
}

.adb-product-detail
.woocommerce-product-details__short-description {
    margin: 0 0 24px;
    color: var(--adb-muted);
    font-size: 17px;
}

.adb-product-selection-note {
    display: grid;
    gap: 5px;
    margin: 0 0 24px;
    padding: 16px 18px;
    border-left: 3px solid var(--adb-gold);
    background: var(--adb-soft);
}

.adb-product-selection-note strong {
    color: var(--adb-navy);
}

.adb-product-selection-note span {
    color: var(--adb-muted);
    font-size: 14px;
}

.adb-product-selection-note
.is-available {
    color: var(--adb-navy);
}

.adb-product-selection-note
.is-unavailable {
    color: var(--adb-muted);
}

.adb-product-detail
form.cart {
    margin: 0 0 24px;
}

.adb-product-detail
form.variations_form
.variations {
    width: 100%;
    margin: 0 0 18px;
    border-collapse: collapse;
}

.adb-product-detail
form.variations_form
.variations
tr {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--adb-border);
}

.adb-product-detail
form.variations_form
.variations
th,
.adb-product-detail
form.variations_form
.variations
td {
    display: block;
    padding: 0;
    border: 0;
    text-align: left;
}

.adb-product-detail
form.variations_form
.variations
label {
    color: var(--adb-navy);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.adb-product-detail
form.variations_form
.variations
select {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--adb-border);
    border-radius: 3px;
    background: var(--adb-white);
    color: var(--adb-charcoal);
    padding: 9px 38px 9px 12px;
    font: inherit;
}

.adb-product-detail
.reset_variations {
    display: inline-block;
    margin-top: 8px;
    color: var(--adb-navy);
    font-size: 13px;
    text-decoration-color: var(--adb-gold);
    text-underline-offset: 4px;
}

.adb-product-detail
.single_variation_wrap {
    margin-top: 20px;
}

.adb-product-detail
.woocommerce-variation-price
.price {
    margin: 0 0 10px;
    font-size: 22px;
}

.adb-product-detail
.stock {
    margin: 8px 0;
    font-weight: 700;
}

.adb-product-detail
.stock.in-stock {
    color: var(--adb-navy);
}

.adb-product-detail
.stock.out-of-stock {
    color: var(--adb-muted);
}

.adb-product-detail
.woocommerce-variation-add-to-cart,
.adb-product-detail
form.cart:not(.variations_form) {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: stretch;
}

.adb-product-detail
.quantity
.qty {
    width: 84px;
    min-height: 48px;
    border: 1px solid var(--adb-border);
    background: var(--adb-white);
    padding: 8px;
    color: var(--adb-charcoal);
    font: inherit;
    text-align: center;
}

.adb-product-detail
.single_add_to_cart_button {
    min-height: 48px;
    border: 1px solid var(--adb-navy);
    border-radius: 0;
    background: var(--adb-navy);
    color: var(--adb-white);
    padding: 12px 24px;
    font: inherit;
    font-weight: 700;
    letter-spacing: .03em;
    cursor: pointer;
}

.adb-product-detail
.single_add_to_cart_button:hover {
    background: var(--adb-navy-deep);
}

.adb-product-detail
.single_add_to_cart_button.disabled,
.adb-product-detail
.single_add_to_cart_button:disabled {
    cursor: not-allowed;
    opacity: .45;
}

.adb-product-context-meta {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--adb-border);
    color: var(--adb-muted);
    font-size: 14px;
}

.adb-product-context-meta
> span {
    color: var(--adb-navy);
    font-weight: 700;
}

.adb-product-context-meta a {
    color: var(--adb-navy);
    text-decoration-color: var(--adb-gold);
    text-underline-offset: 4px;
}

.adb-product-detail
.woocommerce-tabs,
.adb-product-detail
.related,
.adb-product-detail
.up-sells {
    grid-column: 1 / -1;
}

.adb-product-detail
.woocommerce-tabs {
    margin-top: 28px;
    padding-top: 42px;
    border-top: 1px solid var(--adb-border);
}

.adb-product-detail
.woocommerce-tabs
ul.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
    margin: 0 0 28px;
    border-bottom: 1px solid var(--adb-border);
    padding: 0;
}

.adb-product-detail
.woocommerce-tabs
ul.tabs::before {
    display: none;
}

.adb-product-detail
.woocommerce-tabs
ul.tabs
li {
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
}

.adb-product-detail
.woocommerce-tabs
ul.tabs
li::before,
.adb-product-detail
.woocommerce-tabs
ul.tabs
li::after {
    display: none;
}

.adb-product-detail
.woocommerce-tabs
ul.tabs
li
a {
    display: block;
    padding: 13px 0;
    color: var(--adb-muted);
    font-weight: 700;
    text-decoration: none;
}

.adb-product-detail
.woocommerce-tabs
ul.tabs
li.active
a {
    color: var(--adb-navy);
    box-shadow: inset 0 -2px 0 var(--adb-gold);
}

.adb-product-detail
.woocommerce-tabs
.panel {
    max-width: 900px;
    margin: 0;
    color: var(--adb-charcoal);
}

.adb-product-detail
.woocommerce-tabs
.panel
h2 {
    margin-top: 0;
    color: var(--adb-navy);
    font-family: var(--adb-font-display);
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 500;
}

.adb-product-detail
.shop_attributes {
    width: 100%;
    border-collapse: collapse;
}

.adb-product-detail
.shop_attributes
tr {
    border-bottom: 1px solid var(--adb-border);
}

.adb-product-detail
.shop_attributes
th,
.adb-product-detail
.shop_attributes
td {
    padding: 14px 12px;
    border: 0;
    text-align: left;
    vertical-align: top;
}

.adb-product-detail
.shop_attributes
th {
    width: 220px;
    color: var(--adb-navy);
}

.adb-product-detail
.related,
.adb-product-detail
.up-sells {
    margin-top: 48px;
}

.adb-product-detail
.related
> h2,
.adb-product-detail
.up-sells
> h2 {
    margin-bottom: 24px;
    color: var(--adb-navy);
    font-family: var(--adb-font-display);
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 500;
}

@media (max-width: 900px) {
    .adb-product-detail
    .adb-commerce-shell
    > .product {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .adb-product-detail
    .woocommerce-tabs,
    .adb-product-detail
    .related,
    .adb-product-detail
    .up-sells {
        grid-column: 1;
    }
}

@media (max-width: 640px) {
    .adb-product-detail
    .adb-commerce-main {
        padding-block: 24px 64px;
    }

    .adb-product-detail
    div.product
    .flex-control-thumbs {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));
    }

    .adb-product-detail
    form.variations_form
    .variations
    tr {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .adb-product-detail
    .woocommerce-variation-add-to-cart,
    .adb-product-detail
    form.cart:not(.variations_form) {
        align-items: stretch;
        flex-direction: column;
    }

    .adb-product-detail
    .quantity,
    .adb-product-detail
    .quantity
    .qty,
    .adb-product-detail
    .single_add_to_cart_button {
        width: 100%;
    }

    .adb-product-detail
    .adb-product-context-meta {
        flex-direction: column;
        gap: 4px;
    }

    .adb-product-detail
    .woocommerce-tabs
    ul.tabs {
        gap: 8px 20px;
    }

    .adb-product-detail
    .shop_attributes
    th,
    .adb-product-detail
    .shop_attributes
    td {
        display: block;
        width: 100%;
        padding-inline: 0;
    }

    .adb-product-detail
    .shop_attributes
    td {
        padding-top: 0;
    }
}


/* ==========================================================
   INCREMENT 8D UAT REPAIR — PREMIUM PDP
   ========================================================== */

.adb-product-detail
.adb-commerce-shell
> .product {
    grid-template-columns:
        minmax(0, 1.18fr)
        minmax(360px, .82fr);
    gap: 48px;
}

.adb-product-detail
div.product
.woocommerce-product-gallery {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    grid-template-rows: auto;
    gap: 16px;
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
}

.adb-product-detail
div.product
.woocommerce-product-gallery
.flex-viewport {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    min-width: 0;
}

.adb-product-detail
div.product
.woocommerce-product-gallery__wrapper {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
}

.adb-product-detail
div.product
.woocommerce-product-gallery__image
a {
    display: block;
    width: 100%;
}

.adb-product-detail
div.product
.woocommerce-product-gallery__image
img {
    width: 100% !important;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.adb-product-detail
div.product
.flex-control-thumbs {
    grid-column: 1;
    grid-row: 1;
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    width: 82px;
    margin: 0 !important;
    padding: 0 !important;
    align-self: start;
}

.adb-product-detail
div.product
.flex-control-thumbs
li {
    float: none !important;
    width: 82px !important;
    height: 82px;
    margin: 0 !important;
}

.adb-product-detail
div.product
.flex-control-thumbs
img {
    width: 82px !important;
    height: 82px !important;
    object-fit: cover;
    border: 1px solid var(--adb-border);
    background: var(--adb-white);
    opacity: .78;
    cursor: pointer;
}

.adb-product-detail
div.product
.flex-control-thumbs
img:hover,
.adb-product-detail
div.product
.flex-control-thumbs
img.flex-active {
    border: 2px solid var(--adb-gold);
    opacity: 1;
}

.adb-product-detail
.product_title {
    max-width: 700px;
    font-size: clamp(34px, 3.25vw, 48px);
    line-height: 1.08;
}

.adb-product-price-prompt {
    display: grid;
    gap: 4px;
    margin: 18px 0 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--adb-border);
}

.adb-product-price-prompt
span {
    color: var(--adb-muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.adb-product-price-prompt
strong {
    color: var(--adb-navy);
    font-size: 20px;
    font-weight: 700;
}

.adb-product-detail
.woocommerce-variation-price
.price {
    display: block;
    margin: 0 0 12px;
    color: var(--adb-navy);
    font-size: 28px;
    font-weight: 700;
}

.adb-product-detail
.woocommerce-tabs {
    display: none;
}

.adb-pdp-section {
    grid-column: 1 / -1;
    padding: 48px 0;
    border-top: 1px solid var(--adb-border);
}

.adb-pdp-section-inner {
    max-width: 1050px;
}

.adb-pdp-section
h2 {
    margin: 5px 0 24px;
    color: var(--adb-navy);
    font-family: var(--adb-font-display);
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 500;
}

.adb-pdp-rich-content {
    max-width: 900px;
    color: var(--adb-charcoal);
    font-size: 17px;
    line-height: 1.75;
}

.adb-pdp-rich-content
p {
    margin: 0 0 18px;
}

.adb-pdp-details
.shop_attributes {
    max-width: 900px;
    border-collapse: collapse;
}

.adb-pdp-details
.shop_attributes
tr {
    border-bottom: 1px solid var(--adb-border);
}

.adb-pdp-details
.shop_attributes
th,
.adb-pdp-details
.shop_attributes
td {
    padding: 16px 14px;
    border: 0;
    text-align: left;
    vertical-align: top;
}

.adb-pdp-details
.shop_attributes
th {
    width: 240px;
    color: var(--adb-navy);
    font-weight: 700;
}

.adb-product-detail
.related,
.adb-product-detail
.up-sells {
    padding-top: 48px;
    border-top: 1px solid var(--adb-border);
}

@media (max-width: 900px) {
    .adb-product-detail
    .adb-commerce-shell
    > .product {
        grid-template-columns: 1fr;
    }

    .adb-product-detail
    div.product
    .woocommerce-product-gallery {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .adb-product-detail
    div.product
    .flex-control-thumbs,
    .adb-product-detail
    div.product
    .flex-control-thumbs
    li,
    .adb-product-detail
    div.product
    .flex-control-thumbs
    img {
        width: 72px !important;
    }

    .adb-product-detail
    div.product
    .flex-control-thumbs
    li,
    .adb-product-detail
    div.product
    .flex-control-thumbs
    img {
        height: 72px !important;
    }
}

@media (max-width: 640px) {
    .adb-product-detail
    div.product
    .woocommerce-product-gallery {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .adb-product-detail
    div.product
    .woocommerce-product-gallery
    .flex-viewport,
    .adb-product-detail
    div.product
    .woocommerce-product-gallery__wrapper {
        grid-column: 1;
        grid-row: 1;
    }

    .adb-product-detail
    div.product
    .flex-control-thumbs {
        grid-column: 1;
        grid-row: 2;
        display: grid !important;
        grid-template-columns:
            repeat(5, minmax(0, 1fr));
        width: 100% !important;
        gap: 8px;
    }

    .adb-product-detail
    div.product
    .flex-control-thumbs
    li,
    .adb-product-detail
    div.product
    .flex-control-thumbs
    img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1;
    }

    .adb-product-detail
    .product_title {
        font-size: clamp(32px, 11vw, 42px);
    }

    .adb-pdp-section {
        padding: 36px 0;
    }

    .adb-pdp-details
    .shop_attributes
    th,
    .adb-pdp-details
    .shop_attributes
    td {
        display: block;
        width: 100%;
        padding-inline: 0;
    }

    .adb-pdp-details
    .shop_attributes
    td {
        padding-top: 0;
    }
}


/* ==========================================================
   INCREMENT 8D — PDP INFORMATION DENSITY REPAIR
   ========================================================== */

/*
 * Desktop PDP proportions:
 * keep a substantial gallery while giving the commerce
 * information enough room to remain visible above the fold.
 */
.adb-product-detail
.adb-commerce-shell
> .product {
    grid-template-columns:
        minmax(0, .96fr)
        minmax(460px, 1.04fr);
    gap: 36px;
}

/*
 * Retail-style gallery:
 * compact thumbnail rail + complete uncropped primary image.
 */
.adb-product-detail
div.product
.woocommerce-product-gallery {
    grid-template-columns:
        72px minmax(0, 1fr);
    gap: 14px;
}

.adb-product-detail
div.product
.flex-control-thumbs {
    width: 72px;
    gap: 9px;
}

.adb-product-detail
div.product
.flex-control-thumbs
li {
    width: 72px !important;
    height: 72px;
}

.adb-product-detail
div.product
.flex-control-thumbs
img {
    width: 72px !important;
    height: 72px !important;
    object-fit: contain;
    background: var(--adb-white);
}

/*
 * Do not crop approved informational or lifestyle product imagery.
 */
.adb-product-detail
div.product
.woocommerce-product-gallery__image {
    background: var(--adb-white);
}

.adb-product-detail
div.product
.woocommerce-product-gallery__image
img {
    width: 100% !important;
    height: auto;
    max-height: 610px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: var(--adb-white);
}

/*
 * Sale badge belongs with the primary image rather than
 * visually covering the thumbnail rail.
 */
.adb-product-detail
span.onsale {
    top: 12px;
    left: 86px;
    z-index: 5;
    min-width: 48px;
    min-height: 48px;
    line-height: 48px;
}

/*
 * Compact product information hierarchy.
 */
.adb-product-detail
.summary {
    padding-top: 2px;
}

.adb-product-detail
.adb-product-detail-eyebrow {
    margin: 0 0 8px;
    font-size: 11px;
    letter-spacing: .18em;
}

.adb-product-detail
.product_title {
    max-width: 760px;
    margin: 0;
    font-size: clamp(30px, 2.5vw, 38px);
    line-height: 1.12;
}

.adb-product-price-prompt {
    gap: 3px;
    margin: 14px 0 16px;
    padding-bottom: 14px;
}

.adb-product-price-prompt
strong {
    font-size: 18px;
}

.adb-product-detail
.woocommerce-product-details__short-description {
    max-width: 650px;
    margin: 0 0 16px;
    font-size: 15.5px;
    line-height: 1.55;
}

.adb-product-selection-note {
    gap: 3px;
    margin: 0 0 16px;
    padding: 11px 14px;
}

.adb-product-selection-note
strong {
    font-size: 14px;
}

.adb-product-selection-note
span {
    font-size: 13px;
    line-height: 1.45;
}

/*
 * Keep variation controls visible without excessive vertical space.
 */
.adb-product-detail
form.variations_form
.variations {
    margin-bottom: 12px;
}

.adb-product-detail
form.variations_form
.variations
tr {
    grid-template-columns:
        112px minmax(0, 1fr);
    gap: 12px;
    padding: 8px 0;
}

.adb-product-detail
form.variations_form
.variations
label {
    font-size: 12px;
}

.adb-product-detail
form.variations_form
.variations
select {
    min-height: 42px;
    padding-block: 7px;
}

.adb-product-detail
.reset_variations {
    margin-top: 6px;
}

.adb-product-detail
.single_variation_wrap {
    margin-top: 14px;
}

.adb-product-detail
.woocommerce-variation-price
.price {
    margin-bottom: 8px;
    font-size: 24px;
}

.adb-product-detail
.quantity
.qty,
.adb-product-detail
.single_add_to_cart_button {
    min-height: 44px;
}

.adb-product-detail
.adb-product-context-meta {
    margin-top: 18px;
    padding-top: 14px;
}

/*
 * Keep the richer below-the-fold information broad and readable.
 */
.adb-pdp-section {
    padding: 42px 0;
}

.adb-pdp-section-inner {
    max-width: 1120px;
}

.adb-pdp-section
h2 {
    margin-bottom: 20px;
    font-size: clamp(30px, 3.2vw, 40px);
}

.adb-pdp-rich-content {
    max-width: 980px;
    font-size: 16px;
    line-height: 1.7;
}

@media (max-width: 1050px) {
    .adb-product-detail
    .adb-commerce-shell
    > .product {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(390px, .9fr);
        gap: 30px;
    }

    .adb-product-detail
    .product_title {
        font-size: clamp(29px, 3.4vw, 36px);
    }
}

@media (max-width: 900px) {
    .adb-product-detail
    .adb-commerce-shell
    > .product {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .adb-product-detail
    .summary {
        max-width: 720px;
    }

    .adb-product-detail
    span.onsale {
        left: 86px;
    }
}

@media (max-width: 640px) {
    .adb-product-detail
    div.product
    .woocommerce-product-gallery {
        grid-template-columns: 1fr;
    }

    /*
     * On mobile the thumbnail rail becomes a horizontally
     * scrollable image strip rather than tiny multi-row tiles.
     */
    .adb-product-detail
    div.product
    .flex-control-thumbs {
        display: flex !important;
        flex-direction: row;
        width: 100% !important;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 4px !important;
        scrollbar-width: thin;
    }

    .adb-product-detail
    div.product
    .flex-control-thumbs
    li {
        flex: 0 0 64px;
        width: 64px !important;
        height: 64px;
    }

    .adb-product-detail
    div.product
    .flex-control-thumbs
    img {
        width: 64px !important;
        height: 64px !important;
    }

    .adb-product-detail
    span.onsale {
        left: 12px;
        top: 12px;
    }

    .adb-product-detail
    .product_title {
        font-size: clamp(28px, 8.5vw, 36px);
    }

    .adb-product-detail
    form.variations_form
    .variations
    tr {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .adb-pdp-section {
        padding: 32px 0;
    }
}


/* ==========================================================
   INCREMENT 8D — THREE-PART PDP + PURCHASE PANEL
   ========================================================== */

/*
 * Gallery + broad commerce area.
 */
.adb-product-detail
.adb-commerce-shell
> .product {
    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(0, .85fr);
    gap: 38px;
}

/*
 * The Woo summary becomes an information + purchase-panel grid.
 */
.adb-product-detail
div.product
.summary {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 340px);
    column-gap: 28px;
    row-gap: 0;
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    align-content: start;
}

/*
 * Editorial/product-information column.
 */
.adb-product-detail
.summary
> .adb-product-detail-eyebrow,
.adb-product-detail
.summary
> .product_title,
.adb-product-detail
.summary
> .adb-product-price-prompt,
.adb-product-detail
.summary
> .woocommerce-product-details__short-description {
    grid-column: 1;
}

/*
 * Purchase column.
 */
.adb-product-detail
.summary
> .adb-purchase-panel {
    grid-column: 2;
    grid-row: 1 / span 8;
}

/*
 * Structured-data scripts/elements must not disturb the visual grid.
 */
.adb-product-detail
.summary
> script {
    display: none;
}

.adb-purchase-panel {
    align-self: start;
    width: 100%;
    border: 1px solid var(--adb-border);
    background: var(--adb-white);
    padding: 22px;
    box-shadow: 0 10px 28px rgba(8, 35, 58, .07);
}

.adb-purchase-panel-heading {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--adb-border);
}

.adb-purchase-panel-heading
.adb-eyebrow {
    margin: 0 0 5px;
    font-size: 10px;
    letter-spacing: .16em;
}

.adb-purchase-panel-heading
h2 {
    margin: 0;
    color: var(--adb-navy);
    font-family: var(--adb-font-display);
    font-size: 25px;
    font-weight: 500;
    line-height: 1.12;
}

/*
 * The old guidance block is now part of the purchase card.
 */
.adb-purchase-panel
.adb-product-selection-note {
    margin: 0 0 14px;
    padding: 10px 12px;
}

/*
 * Full-width option controls within the purchase card.
 */
.adb-purchase-panel
form.variations_form
.variations
tr {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 8px 0;
}

.adb-purchase-panel
form.variations_form
.variations
select {
    width: 100%;
}

/*
 * Keep quantity and the two purchase actions clear and deliberate.
 */
.adb-purchase-panel
.woocommerce-variation-add-to-cart,
.adb-purchase-panel
form.cart:not(.variations_form) {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 10px;
    align-items: stretch;
}

.adb-purchase-panel
.quantity,
.adb-purchase-panel
.quantity
.qty {
    width: 100%;
}

.adb-purchase-panel
.single_add_to_cart_button,
.adb-purchase-panel
.adb-buy-now-button {
    width: 100%;
    min-height: 46px;
    margin: 0;
    border-radius: 0;
    padding: 11px 16px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.adb-purchase-panel
.single_add_to_cart_button {
    grid-column: 2;
    border: 1px solid var(--adb-navy);
    background: var(--adb-navy);
    color: var(--adb-white);
}

.adb-purchase-panel
.adb-buy-now-button {
    grid-column: 1 / -1;
    border: 1px solid var(--adb-gold);
    background: var(--adb-white);
    color: var(--adb-navy);
}

.adb-purchase-panel
.adb-buy-now-button:hover {
    background: var(--adb-soft);
}

.adb-purchase-panel
.single_add_to_cart_button.disabled,
.adb-purchase-panel
.single_add_to_cart_button:disabled,
.adb-purchase-panel
.adb-buy-now-button.disabled,
.adb-purchase-panel
.adb-buy-now-button:disabled {
    cursor: not-allowed;
    opacity: .45;
}

/*
 * Category remains inside the purchase context rather than floating below it.
 */
.adb-purchase-panel
.adb-product-context-meta {
    margin-top: 18px;
    padding-top: 14px;
}

/*
 * Slightly smaller title now that the PDP has three functional zones.
 */
.adb-product-detail
.product_title {
    font-size: clamp(28px, 2.15vw, 35px);
    line-height: 1.1;
}

/*
 * Let information text use its full assigned column.
 */
.adb-product-detail
.woocommerce-product-details__short-description {
    max-width: none;
}

@media (max-width: 1250px) {
    .adb-product-detail
    .adb-commerce-shell
    > .product {
        grid-template-columns:
            minmax(440px, 1fr)
            minmax(0, 1fr);
        gap: 30px;
    }

    .adb-product-detail
    div.product
    .summary {
        grid-template-columns: 1fr;
    }

    .adb-product-detail
    .summary
    > .adb-product-detail-eyebrow,
    .adb-product-detail
    .summary
    > .product_title,
    .adb-product-detail
    .summary
    > .adb-product-price-prompt,
    .adb-product-detail
    .summary
    > .woocommerce-product-details__short-description,
    .adb-product-detail
    .summary
    > .adb-purchase-panel {
        grid-column: 1;
    }

    .adb-product-detail
    .summary
    > .adb-purchase-panel {
        grid-row: auto;
        margin-top: 18px;
    }
}

@media (max-width: 900px) {
    .adb-product-detail
    .adb-commerce-shell
    > .product {
        grid-template-columns: 1fr;
    }

    .adb-purchase-panel {
        max-width: 680px;
    }
}

@media (max-width: 640px) {
    .adb-purchase-panel {
        padding: 18px;
    }

    .adb-purchase-panel
    .woocommerce-variation-add-to-cart,
    .adb-purchase-panel
    form.cart:not(.variations_form) {
        grid-template-columns: 1fr;
    }

    .adb-purchase-panel
    .single_add_to_cart_button,
    .adb-purchase-panel
    .adb-buy-now-button {
        grid-column: 1;
    }
}


/* ==========================================================
   INCREMENT 8D — NATIVE ZOOM + VARIABLE BUY NOW STATE
   ========================================================== */

/*
 * Keep the normal approved product image completely visible.
 * Exclude WooCommerce's dynamically generated .zoomImg so the
 * high-resolution zoom layer is not artificially constrained.
 */
.adb-product-detail
div.product
.woocommerce-product-gallery__image
a
> img:not(.zoomImg) {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 610px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: var(--adb-white);
}

/*
 * Allow WooCommerce's native high-resolution zoom layer to use
 * its natural dimensions for real pointer-based magnification.
 */
.adb-product-detail
div.product
.woocommerce-product-gallery__image
img.zoomImg {
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: none !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: initial !important;
}

.adb-product-detail
div.product
.woocommerce-product-gallery__image {
    position: relative;
    overflow: hidden;
}

.adb-product-detail
div.product
.woocommerce-product-gallery__image
a {
    cursor: zoom-in;
}

/*
 * Variable-product Buy Now starts disabled and visibly grey.
 * WooCommerce variation events activate it only after a valid,
 * purchasable and in-stock variation is resolved.
 */
.adb-purchase-panel
.adb-buy-now-button.disabled,
.adb-purchase-panel
.adb-buy-now-button:disabled {
    border-color: #c7cbd0;
    background: #e5e7e9;
    color: #73777c;
    cursor: not-allowed;
    opacity: 1;
    box-shadow: none;
}

/*
 * Enabled Buy Now returns to the approved ADOMAC treatment.
 */
.adb-purchase-panel
.adb-buy-now-button:not(:disabled) {
    border-color: var(--adb-gold);
    background: var(--adb-white);
    color: var(--adb-navy);
    cursor: pointer;
}

.adb-purchase-panel
.adb-buy-now-button:not(:disabled):hover {
    background: var(--adb-soft);
}

@media (max-width: 640px) {
    .adb-product-detail
    div.product
    .woocommerce-product-gallery__image
    a {
        cursor: default;
    }
}


/* ==========================================================
   INCREMENT 8E — CUSTOMER-FRIENDLY VARIATION SELECTORS
   ========================================================== */

/*
 * Progressive enhancement:
 * native WooCommerce selects are visually hidden only after
 * JavaScript has successfully built the visual option group.
 *
 * They remain in the DOM as the variation authority.
 */
.adb-product-detail
.variations
tr.adb-variation-enhanced
.adb-native-variation-select {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/*
 * Let each enhanced attribute read like a premium retail
 * selection group rather than a conventional form row.
 */
.adb-product-detail
form.variations_form
.variations
tr.adb-variation-enhanced {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--adb-border);
}

.adb-product-detail
form.variations_form
.variations
tr.adb-variation-enhanced:last-child {
    border-bottom: 0;
}

.adb-product-detail
form.variations_form
tr.adb-variation-enhanced
.label,
.adb-product-detail
form.variations_form
tr.adb-variation-enhanced
.value {
    display: block;
    width: 100%;
    padding: 0;
}

.adb-product-detail
form.variations_form
tr.adb-variation-enhanced
.label {
    margin-bottom: 9px;
}

.adb-product-detail
form.variations_form
tr.adb-variation-enhanced
.label
label {
    display: inline;
    color: var(--adb-navy);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.adb-variation-current {
    display: inline;
    margin-left: 7px;
    color: var(--adb-text);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

.adb-variation-current:not(:empty)::before {
    content: "— ";
    color: var(--adb-muted);
}

.adb-variation-choices {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
}

/*
 * Visual options are presentation controls only.
 * They write back to WooCommerce's original select.
 */
.adb-variation-choice {
    min-height: 40px;
    border: 1px solid #c9cdd1;
    border-radius: 5px;
    background: var(--adb-white);
    color: var(--adb-navy);
    padding: 8px 13px;
    font: inherit;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.2;
    cursor: pointer;
    transition:
        border-color .15s ease,
        box-shadow .15s ease,
        background .15s ease,
        color .15s ease,
        transform .15s ease;
}

.adb-variation-choice:hover:not(:disabled) {
    border-color: var(--adb-gold);
    background: var(--adb-soft);
}

.adb-variation-choice:focus-visible {
    outline: 3px solid rgba(188, 145, 70, .28);
    outline-offset: 2px;
}

.adb-variation-choice.is-selected,
.adb-variation-choice[aria-pressed="true"] {
    border-color: var(--adb-navy);
    background: var(--adb-white);
    color: var(--adb-navy);
    box-shadow:
        0 0 0 2px var(--adb-navy);
}

.adb-variation-choice.is-selected::after,
.adb-variation-choice[aria-pressed="true"]::after {
    content: " ✓";
    color: var(--adb-gold);
    font-weight: 900;
}

.adb-variation-choice.is-disabled,
.adb-variation-choice:disabled {
    border-color: #dedfe1;
    background: #f3f3f2;
    color: #9a9da0;
    cursor: not-allowed;
    opacity: .7;
    text-decoration: line-through;
}

/*
 * Size and set-configuration controls receive a little more
 * width so the customer's choices scan quickly.
 */
.adb-variation-choice--size {
    min-width: 78px;
}

.adb-variation-choice--set {
    min-width: 112px;
}

/*
 * Color uses a labelled choice rather than a fabricated swatch.
 * Genuine color/media swatches can plug into this control later
 * through PRD-CATALOG-MEDIA-002.
 */
.adb-variation-choice--color {
    min-width: 104px;
    text-align: center;
}

/*
 * Keep WooCommerce's Clear/Reset action available.
 */
.adb-product-detail
.reset_variations {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin-top: 10px;
    color: var(--adb-navy);
    font-size: 12px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/*
 * The purchase panel now has visual choices, so give it enough
 * room to avoid cramped wrapping on large screens.
 */
@media (min-width: 1251px) {
    .adb-product-detail
    div.product
    .summary {
        grid-template-columns:
            minmax(270px, 1fr)
            minmax(330px, 370px);
    }
}

@media (max-width: 640px) {
    .adb-variation-choices {
        gap: 7px;
    }

    .adb-variation-choice {
        min-height: 42px;
        padding: 9px 12px;
    }

    .adb-variation-choice--size {
        min-width: 72px;
    }

    .adb-variation-choice--set,
    .adb-variation-choice--color {
        min-width: 0;
        flex: 1 1 calc(50% - 7px);
    }
}


/* ==========================================================
   INCREMENT 8E UAT REPAIR — HIDE ENHANCED NATIVE SELECTS
   ========================================================== */

/*
 * Browser UAT confirmed the visual controls are created
 * correctly, but existing Woo/theme select sizing rules can
 * override the visually-hidden dimensions.
 *
 * Once JavaScript has successfully enhanced a variation row,
 * the native select remains in the DOM as WooCommerce's
 * authoritative value/event target but is removed from visual
 * presentation. The custom buttons continue to write directly
 * to that native select and trigger WooCommerce change events.
 */
.adb-product-detail
form.variations_form
.variations
tr.adb-variation-enhanced
select.adb-native-variation-select {
    display: none !important;
}
/* ==========================================================
 * INCREMENT 8I — PRODUCT INFORMATION
 * ========================================================== */

.adb-pdp-set-prompt {
    margin: 0 0 1rem;
}

.adb-pdp-set-list {
    display: grid;
    gap: 1rem;
}

.adb-pdp-set-card {
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 12px;
    padding: 1rem 1.1rem;
    background: rgba(255, 255, 255, 0.72);
}

.adb-pdp-set-card[hidden] {
    display: none !important;
}

.adb-pdp-set-card-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.adb-pdp-set-card-heading h3 {
    margin: 0;
}

.adb-pdp-piece-total {
    font-size: 0.9rem;
    opacity: 0.72;
    white-space: nowrap;
}

.adb-pdp-component-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.adb-pdp-component-list li {
    display: flex;
    gap: 0.55rem;
    align-items: baseline;
}

.adb-pdp-governed-details {
    margin: 1.25rem 0 0;
    border-top: 1px solid rgba(15, 23, 42, 0.1);
}

.adb-pdp-detail-row {
    display: grid;
    grid-template-columns: minmax(130px, 0.38fr) 1fr;
    gap: 1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

.adb-pdp-detail-row dt {
    font-weight: 700;
}

.adb-pdp-detail-row dd {
    margin: 0;
}

.adb-pdp-care-copy > :first-child {
    margin-top: 0;
}

.adb-pdp-care-copy > :last-child {
    margin-bottom: 0;
}

@media (max-width: 640px) {
    .adb-pdp-set-card-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.35rem;
    }

    .adb-pdp-detail-row {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }
}


/* ==========================================================
 * INCREMENT 8J — SHOPPING BAG
 * WooCommerce Cart Blocks remain the commerce authority.
 * ========================================================== */

.adb-shopping-bag
.adb-content-entry-header {
    margin-bottom: 2rem;
}

.adb-shopping-bag
.adb-content-entry-header h1 {
    margin-bottom: 0;
}

.adb-shopping-bag
.wp-block-woocommerce-cart {
    --adb-cart-border:
        rgba(11, 31, 51, 0.14);
}

.adb-shopping-bag
.wc-block-cart {
    gap: clamp(2rem, 5vw, 5rem);
}

.adb-shopping-bag
.wc-block-cart-items {
    border-color:
        var(--adb-cart-border);
}

.adb-shopping-bag
.wc-block-cart-item__image img {
    border-radius: 2px;
}

.adb-shopping-bag
.wc-block-components-product-name {
    color: var(--adb-navy);
    font-weight: 600;
    line-height: 1.35;
}

.adb-shopping-bag
.wc-block-components-product-metadata {
    color:
        rgba(11, 31, 51, 0.72);
}

.adb-shopping-bag
.wc-block-cart__totals-title {
    color: var(--adb-navy);
    font-family:
        var(--adb-font-heading, Georgia, serif);
    font-size: 1.45rem;
    letter-spacing: 0;
    text-transform: none;
}

.adb-shopping-bag
.wc-block-components-totals-wrapper {
    border-color:
        var(--adb-cart-border);
}

.adb-shopping-bag
.wc-block-cart__submit-button {
    min-height: 52px;
    border-radius: 0;
    background: var(--adb-navy);
    color: #fff;
    font-weight: 700;
}

.adb-shopping-bag
.wc-block-cart__submit-button:hover,
.adb-shopping-bag
.wc-block-cart__submit-button:focus {
    background:
        var(--adb-navy-deep);
    color: #fff;
}

.adb-shopping-bag
.adb-cart-recommendations {
    margin-top:
        clamp(3rem, 7vw, 6rem);
    padding-top: 2rem;
    border-top:
        1px solid
        var(--adb-cart-border);
}

.adb-shopping-bag
.adb-cart-recommendations
.adb-cart-recommendations-eyebrow {
    margin-bottom: 0.5rem;
}

.adb-shopping-bag
.adb-cart-recommendations
h2,
.adb-shopping-bag
.adb-cart-recommendations
h3,
.adb-shopping-bag
.adb-cart-recommendations
h4 {
    margin:
        0 0 0.5rem;
    color: var(--adb-navy);
    font-family:
        var(--adb-font-heading, Georgia, serif);
    font-size:
        clamp(2rem, 4vw, 3.25rem);
    line-height: 1.08;
}

.adb-shopping-bag
.adb-cart-recommendations-intro {
    max-width: 48rem;
    margin:
        0 0 1.75rem;
    color:
        rgba(11, 31, 51, 0.72);
}

.adb-shopping-bag
.adb-cart-recommendations
.wc-block-product-template,
.adb-shopping-bag
.adb-cart-recommendations
.wp-block-woocommerce-product-template {
    display: grid !important;
    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        ) !important;
    gap:
        clamp(1rem, 2.5vw, 2rem);
}

.adb-shopping-bag
.adb-cart-recommendations
.wc-block-components-product-image,
.adb-shopping-bag
.adb-cart-recommendations
.wp-block-woocommerce-product-image {
    margin-bottom: 1rem;
}

.adb-shopping-bag
.adb-cart-recommendations
.wc-block-components-product-image img,
.adb-shopping-bag
.adb-cart-recommendations
.wp-block-woocommerce-product-image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.adb-shopping-bag
.adb-cart-recommendations
.wp-block-post-title,
.adb-shopping-bag
.adb-cart-recommendations
.wc-block-components-product-name {
    text-align: left !important;
}

.adb-shopping-bag
.adb-cart-recommendations
.wp-block-woocommerce-product-price,
.adb-shopping-bag
.adb-cart-recommendations
.wc-block-components-product-price {
    text-align: left !important;
    font-weight: 700;
}

.adb-shopping-bag
.adb-cart-recommendations
.wp-block-button,
.adb-shopping-bag
.adb-cart-recommendations
.wc-block-components-product-button {
    width: 100%;
}

.adb-shopping-bag
.adb-cart-recommendations
.wp-block-button__link,
.adb-shopping-bag
.adb-cart-recommendations
.wc-block-components-product-button
button,
.adb-shopping-bag
.adb-cart-recommendations
.wc-block-components-product-button
a {
    width: 100%;
    min-height: 48px;
    border-radius: 0;
    background: var(--adb-navy);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.adb-shopping-bag
.wc-block-cart__empty-cart__title {
    color: var(--adb-navy);
    font-family:
        var(--adb-font-heading, Georgia, serif);
    text-transform: none;
}

@media (max-width: 900px) {
    .adb-shopping-bag
    .adb-cart-recommendations
    .wc-block-product-template,
    .adb-shopping-bag
    .adb-cart-recommendations
    .wp-block-woocommerce-product-template {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            ) !important;
    }
}

@media (max-width: 560px) {
    .adb-shopping-bag
    .wc-block-cart {
        gap: 2rem;
    }

    .adb-shopping-bag
    .adb-cart-recommendations
    .wc-block-product-template,
    .adb-shopping-bag
    .adb-cart-recommendations
    .wp-block-woocommerce-product-template {
        grid-template-columns:
            1fr !important;
    }
}

/* ==========================================================
 * INCREMENT 8J-R1 — SHOPPING BAG / CATALOGUE MERCHANDISING
 * ========================================================== */

/*
 * Give the Cart Block the full ADOMAC content width.
 *
 * The generic content template intentionally limits long-form pages
 * to 900px, but that width forces commerce columns to collapse too soon.
 */
.adb-shopping-bag
.adb-content-shell {
    max-width: none;
}

/*
 * Desktop Bag architecture:
 * Bag items left, Order Summary right.
 */
@media (min-width: 901px) {
    .adb-shopping-bag
    .wc-block-cart {
        display: grid !important;
        grid-template-columns:
            minmax(0, 1fr)
            minmax(320px, 36%);
        gap:
            clamp(2rem, 4vw, 4rem);
        align-items: start;
    }

    .adb-shopping-bag
    .wc-block-cart__main,
    .adb-shopping-bag
    .wc-block-cart__sidebar {
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
    }

    .adb-shopping-bag
    .wc-block-cart__main {
        padding-right: 0 !important;
    }

    .adb-shopping-bag
    .wc-block-cart__sidebar {
        padding-left: 0 !important;
    }
}

/*
 * Catalogue card normalization.
 *
 * The product link becomes the flexible content region so cards in a
 * grid row can absorb different title lengths while keeping purchase
 * actions aligned. Approved photography is contained rather than cropped.
 */
.adb-commerce-main
ul.products
li.product {
    height: 100%;
}

.adb-commerce-main
ul.products
li.product
.woocommerce-LoopProduct-link {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    width: 100%;
}

.adb-commerce-main
ul.products
li.product
img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: var(--adb-soft);
}

/*
 * Real-product recommendation rail below the complete Bag / Summary area.
 */
.adb-shopping-bag
.adb-cart-recommendations {
    clear: both;
    width: 100%;
}

.adb-shopping-bag
.adb-cart-recommendation-grid {
    display: grid !important;
    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );
    gap:
        clamp(1rem, 2.5vw, 2rem);
    margin:
        1.75rem 0 0 !important;
    padding: 0 !important;
    list-style: none;
}

.adb-shopping-bag
.adb-cart-recommendation-grid
li.product {
    position: relative;
    display: flex;
    float: none !important;
    flex-direction: column;
    width: auto !important;
    height: 100%;
    min-width: 0;
    margin: 0 !important;
    padding: 0;
    border:
        1px solid
        var(--adb-cart-border);
    background:
        var(--adb-white);
}

.adb-shopping-bag
.adb-cart-recommendation-grid
li.product
.woocommerce-LoopProduct-link {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    width: 100%;
    text-decoration: none;
}

.adb-shopping-bag
.adb-cart-recommendation-grid
li.product
img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    margin: 0;
    object-fit: contain;
    background:
        var(--adb-soft);
}

.adb-shopping-bag
.adb-cart-recommendation-grid
.woocommerce-loop-product__title {
    margin: 0;
    padding:
        18px 18px 6px;
    color:
        var(--adb-navy);
    font-family:
        var(--adb-font-body);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.adb-shopping-bag
.adb-cart-recommendation-grid
.price {
    margin: 0;
    padding:
        0 18px;
    color:
        var(--adb-charcoal);
    font-size: 15px;
    font-weight: 700;
}

.adb-shopping-bag
.adb-cart-recommendation-grid
.adb-catalogue-availability {
    margin:
        8px 18px 0;
}

.adb-shopping-bag
.adb-cart-recommendation-grid
.button {
    align-self:
        flex-start;
    margin:
        16px 18px 18px;
    border:
        1px solid
        var(--adb-navy);
    border-radius: 0;
    background:
        var(--adb-navy);
    color:
        var(--adb-white);
    padding:
        12px 16px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
}

.adb-shopping-bag
.adb-cart-recommendation-grid
.button:hover,
.adb-shopping-bag
.adb-cart-recommendation-grid
.button:focus {
    background:
        var(--adb-navy-deep);
    color:
        var(--adb-white);
}

@media (max-width: 900px) {
    .adb-shopping-bag
    .adb-cart-recommendation-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }
}

@media (max-width: 560px) {
    .adb-shopping-bag
    .adb-cart-recommendation-grid {
        grid-template-columns:
            1fr;
    }
}

/* ==========================================================
   PDP-R2B — VARIATION-SPECIFIC MEDIA
   ========================================================== */

.adb-product-detail
.woocommerce-product-gallery.adb-has-variation-media
> .flex-viewport,
.adb-product-detail
.woocommerce-product-gallery.adb-has-variation-media
> .woocommerce-product-gallery__wrapper,
.adb-product-detail
.woocommerce-product-gallery.adb-has-variation-media
> .flex-control-thumbs,
.adb-product-detail
.woocommerce-product-gallery.adb-has-variation-media
> .woocommerce-product-gallery__trigger {
    display: none !important;
}

.adb-product-detail
.adb-variation-media-gallery {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns:
        72px minmax(0, 1fr);
    gap: 14px;
    width: 100%;
}

.adb-product-detail
.adb-variation-media-thumbs {
    display: flex;
    flex-direction: column;
    gap: 9px;
    width: 72px;
}

.adb-product-detail
.adb-variation-media-thumb {
    display: block;
    width: 72px;
    height: 72px;
    padding: 0;
    overflow: hidden;
    border: 1px solid #d9dce1;
    background: #fff;
    cursor: pointer;
}

.adb-product-detail
.adb-variation-media-thumb.is-active {
    border-width: 2px;
}

.adb-product-detail
.adb-variation-media-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.adb-product-detail
.adb-variation-media-stage {
    min-width: 0;
    background: #fff;
}

.adb-product-detail
.adb-variation-media-main-link {
    display: block;
}

.adb-product-detail
.adb-variation-media-main-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 610px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #fff;
}

@media (max-width: 640px) {
    .adb-product-detail
    .adb-variation-media-gallery {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .adb-product-detail
    .adb-variation-media-thumbs {
        grid-row: 2;
        display: grid;
        grid-template-columns:
            repeat(5, minmax(0, 1fr));
        width: 100%;
        gap: 8px;
    }

    .adb-product-detail
    .adb-variation-media-thumb {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }
}

/* ==========================================================
 * PDP-R2B-R2 — VARIATION CURSOR ZOOM
 * ========================================================== */

/*
 * Custom variation media now behaves like WooCommerce's native
 * zoom viewport. The displayed image remains stationary while
 * the high-resolution zoom layer moves underneath the pointer.
 */
.adb-product-detail
.adb-variation-media-main-link {
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
}

.adb-product-detail
.adb-variation-media-main-link
img.zoomImg {
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: none !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: initial !important;
    pointer-events: none;
}

/*
 * Fallback stays inside the same product-image viewport.
 * No second preview pane is rendered.
 */
.adb-product-detail
.adb-variation-media-main-link.adb-variation-fallback-zoom {
    background-color: #fff;
}

@media (max-width: 640px) {
    .adb-product-detail
    .adb-variation-media-main-link {
        cursor: default;
        background-image: none !important;
    }

    .adb-product-detail
    .adb-variation-media-main-link
    img.zoomImg {
        display: none !important;
    }

    .adb-product-detail
    .adb-variation-media-main-image {
        opacity: 1 !important;
    }
}

/* ==========================================================
 * CART-UX-001 — SHOPPING BAG RECOMMENDATION RAIL REPAIR
 * ========================================================== */

/*
 * WooCommerce's classic ul.products clearfix pseudo-elements become
 * anonymous grid items when the recommendation list is converted to CSS
 * Grid. They must not participate in ADOMAC's Shopping Bag grid.
 */
.adb-shopping-bag
.adb-cart-recommendation-grid::before,
.adb-shopping-bag
.adb-cart-recommendation-grid::after {
    display: none !important;
    content: none !important;
}

/*
 * Reinforce the real product elements as the only grid items and preserve
 * equal-height merchandising cards.
 */
.adb-shopping-bag
.adb-cart-recommendation-grid {
    grid-auto-flow: row;
    align-items: stretch;
}

.adb-shopping-bag
.adb-cart-recommendation-grid
> li.product {
    float: none !important;
    width: auto !important;
    min-width: 0;
    height: 100%;
    margin: 0 !important;
}

.adb-shopping-bag
.adb-cart-recommendation-grid
> li.product
.button {
    margin-top: auto;
    align-self: flex-start;
}


/* ==========================================================
 * REC-001 - COMPLETE YOUR BEDROOM
 * ========================================================== */

.adb-product-detail
.adb-complete-bedroom {
    grid-column: 1 / -1;
    margin-top: 56px;
    padding-top: 48px;
    border-top: 1px solid var(--adb-border);
}

.adb-product-detail
.adb-complete-bedroom[hidden] {
    display: none !important;
}

.adb-product-detail
.adb-rec001-heading {
    max-width: 760px;
    margin-bottom: 28px;
}

.adb-product-detail
.adb-rec001-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: var(--adb-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
}

.adb-product-detail
.adb-rec001-heading
h2 {
    margin: 0;
    color: var(--adb-navy);
    font-family: var(--adb-font-display);
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 500;
    line-height: 1.08;
}

.adb-product-detail
.adb-rec001-heading
p {
    margin: 12px 0 0;
    color: var(--adb-muted);
    line-height: 1.65;
}

.adb-product-detail
.adb-rec001-grid {
    display: grid !important;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

.adb-product-detail
.adb-rec001-grid::before,
.adb-product-detail
.adb-rec001-grid::after {
    display: none !important;
    content: none !important;
}

.adb-product-detail
.adb-rec001-grid
> li.product {
    display: flex;
    float: none !important;
    flex-direction: column;
    width: auto !important;
    min-width: 0;
    height: 100%;
    margin: 0 !important;
    padding: 0;
}

.adb-product-detail
.adb-rec001-card-link {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.adb-product-detail
.adb-rec001-card-image {
    display: block;
    overflow: hidden;
    margin-bottom: 16px;
    background: #fff;
}

.adb-product-detail
.adb-rec001-card-image
img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 0 !important;
    object-fit: contain;
    background: #fff;
}

.adb-product-detail
.adb-rec001-card-title {
    margin: 0;
    color: var(--adb-navy);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
}

.adb-product-detail
.adb-rec001-card-price {
    display: block;
    margin-top: 10px;
    color: var(--adb-charcoal);
    font-weight: 700;
}

.adb-product-detail
.adb-rec001-card-action {
    margin-top: auto;
    padding-top: 16px;
}

.adb-product-detail
.adb-rec001-card-action
.button {
    margin: 0;
}

.adb-product-detail
.adb-complete-bedroom[aria-busy="true"] {
    opacity: .72;
}

@media (max-width: 900px) {
    .adb-product-detail
    .adb-rec001-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .adb-product-detail
    .adb-complete-bedroom {
        margin-top: 44px;
        padding-top: 36px;
    }

    .adb-product-detail
    .adb-rec001-grid {
        grid-template-columns: 1fr;
    }
}


/* SHOP-BUTTONS-001 — PDP purchase-button colors only.
 * Leave layout, dimensions, actions and disabled states unchanged.
 * Scoped selectors outrank WooCommerce/third-party default purple styling.
 */
.adb-product-detail .adb-purchase-panel button.single_add_to_cart_button:not(:disabled):not(.disabled) {
    background-color: var(--adb-navy) !important;
    border-color: var(--adb-navy) !important;
    color: var(--adb-white) !important;
}
.adb-product-detail .adb-purchase-panel button.adb-buy-now-button:not(:disabled):not(.disabled) {
    background-color: var(--adb-gold) !important;
    border-color: var(--adb-gold) !important;
    color: var(--adb-navy) !important;
}

/* ==========================================================
 * SHOP-BUTTONS-002 — PDP purchase button hover colors
 * Only enabled product-page buttons are affected.
 * ========================================================== */

.adb-product-detail .adb-purchase-panel button.single_add_to_cart_button:not(:disabled):not(.disabled):hover,
.adb-product-detail .adb-purchase-panel button.single_add_to_cart_button:not(:disabled):not(.disabled):focus-visible {
    background-color: var(--adb-gold) !important;
    border-color: var(--adb-gold) !important;
    color: var(--adb-navy) !important;
}

.adb-product-detail .adb-purchase-panel button.adb-buy-now-button:not(:disabled):not(.disabled):hover,
.adb-product-detail .adb-purchase-panel button.adb-buy-now-button:not(:disabled):not(.disabled):focus-visible {
    background-color: var(--adb-navy) !important;
    border-color: var(--adb-navy) !important;
    color: var(--adb-white) !important;
}

/* HEADER-RESPONSIVE-001 — full-viewport navigation finish and discreet slogan. */
.adb-site-header .adb-navigation-bar {
    position: relative;
    isolation: isolate;
    width: 100%;
}
.adb-site-header .adb-navigation-bar::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: var(--adb-navy);
    border-bottom: 2px solid var(--adb-gold);
    pointer-events: none;
}
.adb-site-header .adb-navigation {
    display: flex;
    align-items: center;
    gap: 24px;
}
.adb-site-header .adb-navigation > .adb-menu {
    flex: 1 1 auto;
    min-width: 0;
}
.adb-navigation-tagline {
    flex: 0 0 auto;
    margin-left: auto;
    color: #D0D0CB;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    font-style: italic;
    font-weight: 400;
    white-space: nowrap;
}
@media (max-width: 1199px) {
    .adb-navigation-tagline { display: none; }
}
@media (max-width: 640px) {
    .adb-site-header .adb-navigation { display: block; }
}

/* NEW-ARRIVALS-001: remove global main padding above cream hero */
#main-content.adb-new-arrivals {
    padding-top: 0;
}
/* NEW-ARRIVALS-001 — dedicated luxury storefront */
.adb-new-arrivals-hero {
    background: #F6F0E6;
    color: var(--adb-navy);
    padding: 30px 0;
}
.adb-new-arrivals-hero h1 {
    color: var(--adb-navy);
    font-size: clamp(32px, 5vw, 52px);
    margin: 6px 0 8px;
}
.adb-new-arrivals-hero p:not(.adb-eyebrow) {
    max-width: 600px;
    line-height: 1.5;
    color: #394353;
}
.adb-new-arrivals-content { padding-block: 36px; }
.adb-new-arrivals-empty {
    margin-top: 30px;
    padding: clamp(28px, 6vw, 76px);
    text-align: center;
    background: var(--adb-soft);
    border: 1px solid var(--adb-border);
}
.adb-new-arrivals-empty h3 {
    color: var(--adb-navy);
    font-size: clamp(26px, 4vw, 40px);
    margin: 12px 0;
}
.adb-new-arrivals-empty p {
    margin: 0 auto 25px;
    max-width: 560px;
    line-height: 1.5;
}
.adb-new-arrivals-pagination { margin-top: 34px; }
.adb-new-arrivals-pagination ul {
    display: flex;
    gap: 12px;
    padding: 0;
    list-style: none;
}
.adb-new-arrivals-pagination a,
.adb-new-arrivals-pagination .current {
    display: inline-block;
    padding: 9px 14px;
    border: 1px solid var(--adb-border);
}
.adb-new-arrivals-explore { padding-block: 25px 75px; }
.adb-new-arrivals-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 23px;
}
.adb-new-arrivals-categories a {
    padding: 15px 20px;
    border: 1px solid var(--adb-border);
    color: var(--adb-navy);
    text-decoration: none;
}
.adb-new-arrivals-updates {
    padding: 65px 0;
    background: var(--adb-soft);
    text-align: center;
}
.adb-new-arrivals-updates p {
    max-width: 580px;
    margin-inline: auto;
    line-height: 1.5;
}
@media (max-width: 640px) {
    .adb-new-arrivals-hero { padding: 22px 0; }
    .adb-new-arrivals-content { padding-block: 30px; }
    .adb-new-arrivals-explore { padding-bottom: 48px; }
}
/* NEW-ARRIVALS-001 — consent-based signup form */
.adb-arrivals-subscribe-form {
    max-width: 540px;
    margin: 24px auto 0;
    text-align: left;
}
.adb-arrivals-subscribe-fields {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}
.adb-arrivals-subscribe-fields label {
    font-weight: 600;
    color: var(--adb-navy);
}
.adb-arrivals-subscribe-fields input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--adb-border);
    border-radius: 4px;
    background: #fff;
    font: inherit;
}
.adb-arrivals-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 15px 0 20px;
    line-height: 1.6;
    font-size: 14px;
}
.adb-arrivals-consent input {
    flex: 0 0 auto;
    margin-top: 5px;
}
.adb-arrivals-subscribe-form button {
    width: 100%;
    cursor: pointer;
}
.adb-notify-message {
    max-width: 540px;
    padding: 14px 18px;
    margin: 20px auto;
    border: 1px solid var(--adb-border);
    background: #fff;
    color: var(--adb-navy);
}
.adb-notify-honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
/* OUT-OF-STOCK-001 — availability notification panel */
.adb-stock-notify-panel {
    margin-top: 22px;
    padding: 24px;
    border: 1px solid var(--adb-border);
    background: var(--adb-soft);
}
.adb-stock-notify-panel[hidden] { display: none !important; }
.adb-stock-notify-panel h3 {
    color: var(--adb-navy);
    margin: 0 0 10px;
    font-size: 22px;
}
.adb-stock-notify-panel p {
    line-height: 1.6;
}
.adb-stock-notify-form > label {
    display: block;
    margin: 15px 0 8px;
}
.adb-stock-notify-fields {
    display: flex;
    align-items: stretch;
    gap: 10px;
}
.adb-stock-notify-fields input[type="email"] {
    flex: 1;
    min-width: 0;
    padding: 13px;
    border: 1px solid var(--adb-border);
    background: #fff;
    font: inherit;
}
.adb-stock-notify-fields button {
    cursor: pointer;
    white-space: nowrap;
}
.adb-stock-notify-fields button:disabled {
    opacity: .55;
    cursor: not-allowed;
}
.adb-stock-notify-consent {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.5;
}
.adb-stock-notify-consent input {
    flex: 0 0 auto;
    margin-top: 4px;
}
.adb-stock-notify-privacy {
    font-size: 12px;
}
@media (max-width: 640px) {
    .adb-stock-notify-fields {
        flex-direction: column;
    }
    .adb-stock-notify-fields button {
        width: 100%;
    }
}

/* FOOTER-001: Four-column Beddings footer. */
.adb-site-footer {
    padding-top: 48px;
}
.adb-site-footer .adb-footer-main {
    display: grid;
    grid-template-columns:
        minmax(0,1.5fr)
        minmax(0,.75fr)
        minmax(0,1fr)
        minmax(0,1.2fr);
    gap: 32px;
    align-items: start;
    padding-bottom: 36px;
}
.adb-site-footer .adb-footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    min-width: 0;
}
.adb-site-footer .adb-footer-column h2 {
    margin: 0 0 14px;
}
.adb-site-footer .adb-footer-column a,
.adb-site-footer .adb-footer-pending-policy {
    color: var(--adb-white);
    text-decoration: none;
    line-height: 1.45;
}
.adb-site-footer .adb-footer-column a:hover {
    text-decoration: underline;
}
.adb-site-footer .adb-footer-column a:focus-visible,
.adb-site-footer .adb-footer-business a:focus-visible {
    outline: 2px solid var(--adb-gold);
    outline-offset: 4px;
}
.adb-site-footer .adb-footer-pending-policy {
    cursor: default;
}
.adb-site-footer .adb-footer-tagline {
    max-width: 330px;
    margin: 20px 0 12px;
    font-family: var(--adb-font-display);
    font-size: clamp(22px, 2vw, 29px);
    line-height: 1.4;
}
.adb-site-footer .adb-footer-business {
    margin: 0;
}
.adb-site-footer .adb-footer-business a {
    color: var(--adb-gold);
    font-weight: 700;
    text-decoration: none;
}
.adb-site-footer .adb-footer-contact-label {
    margin: 8px 0 -5px;
    color: var(--adb-gold-soft);
}
.adb-site-footer .adb-footer-customer a {
    overflow-wrap: anywhere;
}
.adb-site-footer .adb-footer-bottom {
    padding-block: 17px;
}

@media (max-width: 900px) {
    .adb-site-footer .adb-footer-main {
        grid-template-columns: repeat(2, minmax(0,1fr));
        grid-template-areas:
            "brand shop"
            "legal care";
        gap: 32px 24px;
    }
    .adb-site-footer .adb-footer-intro {
        grid-area: brand;
    }
    .adb-site-footer .adb-footer-shop {
        grid-area: shop;
    }
    .adb-site-footer .adb-footer-legal {
        grid-area: legal;
    }
    .adb-site-footer .adb-footer-customer {
        grid-area: care;
    }
}
@media (max-width: 600px) {
    .adb-site-footer {
        padding-top: 36px;
    }
    .adb-site-footer .adb-footer-main {
        grid-template-columns: repeat(2, minmax(0,1fr));
        grid-template-areas:
            "brand brand"
            "shop shop"
            "legal care";
        gap: 30px 16px;
        padding-bottom: 30px;
    }
    .adb-site-footer .adb-footer-column {
        gap: 12px;
    }
    .adb-site-footer .adb-footer-column h2 {
        letter-spacing: .12em;
    }
    .adb-site-footer .adb-footer-logo img {
        max-width: 210px;
    }
}
/* SHOP-001 — RESPONSIVE CATALOGUE FILTER CORRECTION */

.adb-catalogue-filters,
.adb-filter-form,
.adb-filter-field,
.adb-filter-actions {
    min-width: 0;
}

.adb-filter-form {
    grid-template-columns:
        minmax(0, 1.3fr)
        minmax(0, .7fr)
        minmax(0, .7fr)
        minmax(0, 1fr)
        auto;
}

.adb-filter-field input,
.adb-filter-field select {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
}

@media (min-width: 641px) and (max-width: 1250px) {
    .adb-filter-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .adb-filter-actions {
        grid-column: 1 / -1;
    }

    .adb-filter-submit {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .adb-filter-form {
        grid-template-columns: minmax(0, 1fr);
    }

    .adb-filter-actions {
        grid-column: auto;
    }

    .adb-filter-submit {
        width: 100%;
    }
}

/* SHOP-001 — MOBILE HEADER OVERFLOW CORRECTION
   Confirmed by browser UAT: eliminates horizontal overflow
   while preserving the existing desktop navigation design.
*/
@media (max-width: 767px) {
    .adb-site-header .adb-navigation-bar::before {
        width: 100%;
        left: 0;
        transform: none;
    }
}

/* SHOP-001 DESKTOP NAVIGATION OVERFLOW FIX
   Browser verified: 1265px viewport, zero horizontal overflow.
   Preserve existing mobile correction and navigation appearance.
*/
@media (min-width: 768px) {
    .adb-site-header .adb-navigation-bar::before {
        width: 100%;
        left: 0;
        transform: none;
    }
}

/* SALE-002A R2 — Prevent purchase panel desktop overflow.
 * At intermediate desktop widths, stack Purchase Options
 * within the product summary's available width.
 * Gallery and WooCommerce purchasing behavior remain unchanged.
 */
@media (min-width: 1251px) and (max-width: 1500px) {
    .adb-commerce-shell > .product .summary {
        grid-template-columns: minmax(0, 1fr);
        min-width: 0;
    }

    .adb-commerce-shell > .product .summary > .adb-purchase-panel {
        grid-column: 1;
        grid-row: auto;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
        margin-top: 20px;
    }
}

@media (min-width: 901px) and (max-width: 1250px) {
    .adb-commerce-shell > .product {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .adb-commerce-shell > .product .summary > .adb-purchase-panel {
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* SALE-002B R1 — Amazon-inspired ADOMAC three-zone PDP.
 * CSS-only layout: WooCommerce retains all rendering and validation.
 * 1101px+: media | information | purchase card.
 * <=1100px: preserve readable, contained two-zone/mobile layout.
 */
@media (min-width: 1101px) {
    body.adb-product-detail .adb-commerce-shell > .product {
        display: grid;
        grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr) minmax(270px, .78fr);
        column-gap: clamp(16px, 1.6vw, 28px);
        align-items: start;
        min-width: 0;
    }

    body.adb-product-detail .adb-commerce-shell > .product > .summary {
        display: contents;
    }

    body.adb-product-detail .adb-commerce-shell > .product > .woocommerce-product-gallery {
        grid-column: 1;
        grid-row: 1 / span 12;
        min-width: 0;
        max-width: 100%;
    }

    body.adb-product-detail .adb-commerce-shell > .product > .summary > * {
        grid-column: 2;
        grid-row: auto;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    body.adb-product-detail .adb-commerce-shell > .product > .summary > .adb-purchase-panel {
        grid-column: 3;
        grid-row: 1 / span 12;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        margin: 0;
        box-sizing: border-box;
        padding: clamp(14px, 1.3vw, 22px);
        align-self: start;
    }

    body.adb-product-detail .adb-commerce-shell > .product .product_title {
        font-size: clamp(24px, 2.2vw, 34px);
        line-height: 1.17;
        overflow-wrap: break-word;
    }

    body.adb-product-detail .adb-commerce-shell > .product .woocommerce-product-details__short-description {
        font-size: clamp(14px, 1vw, 16px);
        line-height: 1.55;
    }

    body.adb-product-detail .adb-commerce-shell > .product .adb-purchase-panel-heading h2 {
        font-size: clamp(20px, 1.65vw, 25px);
    }

    body.adb-product-detail .adb-commerce-shell > .product .adb-stock-notify-fields {
        min-width: 0;
    }

    body.adb-product-detail .adb-commerce-shell > .product .adb-stock-notify-fields > * {
        min-width: 0;
        max-width: 100%;
    }
}

@media (min-width: 901px) and (max-width: 1100px) {
    body.adb-product-detail .adb-commerce-shell > .product {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 24px;
    }

    body.adb-product-detail .adb-commerce-shell > .product .summary {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        min-width: 0;
    }

    body.adb-product-detail .adb-commerce-shell > .product .summary > * {
        grid-column: 1;
        grid-row: auto;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }
}

/*
 * SALE-002B R2 — tighten excess whitespace between the approved
 * Amazon-inspired product hero layout and the Product Information section.
 * Preserve the three-column desktop layout and existing behavior.
 */
@media (min-width: 901px) {
    .single-product .adb-commerce-shell > .product {
        gap: 28px !important;
        align-items: start !important;
    }

    .single-product .adb-commerce-shell > .product .summary {
        row-gap: 20px !important;
        align-content: start !important;
    }

    .single-product .adb-product-detail {
        margin-top: 24px !important;
        padding-top: 0 !important;
    }

    .single-product .woocommerce-tabs,
    .single-product .adb-product-detail > *:first-child {
        margin-top: 0 !important;
    }
}

/*
 * SALE-002C R1 — Empty Shopping Bag recommendation buttons.
 * Browser-tested: 4 aligned navy buttons, 46px high, zero overflow.
 * Scoped to WooCommerce's Empty Cart recommendations only.
 */
.wp-block-woocommerce-empty-cart-block
.wc-block-grid__products {
    align-items: stretch !important;
}

.wp-block-woocommerce-empty-cart-block
.wc-block-grid__products > .wc-block-grid__product {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
}

.wp-block-woocommerce-empty-cart-block
.wc-block-grid__product-add-to-cart {
    margin-top: auto !important;
    padding-top: 14px !important;
}

.wp-block-woocommerce-empty-cart-block
.wc-block-grid__product-add-to-cart .wp-block-button__link {
    background-color: #0B2035 !important;
    color: #ffffff !important;
    min-height: 46px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 999px !important;
    box-sizing: border-box !important;
    padding: 12px 22px !important;
    text-decoration: none !important;
}

.wp-block-woocommerce-empty-cart-block
.wc-block-grid__product-add-to-cart .wp-block-button__link:hover {
    background-color: #163753 !important;
    color: #ffffff !important;
}

/* FOOTER-001 — Social media links in Customer Care. */
.adb-site-footer .adb-footer-customer .adb-footer-social-icons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 2px 0;
}

.adb-site-footer .adb-footer-customer .adb-footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.48);
    border-radius: 50%;
    color: var(--adb-white);
    background: transparent;
    text-decoration: none;
    transition: color .2s, border-color .2s, background-color .2s;
}

.adb-site-footer .adb-footer-customer .adb-footer-social-link:hover {
    color: var(--adb-gold);
    border-color: var(--adb-gold);
    background-color: rgba(255,255,255,.09);
    text-decoration: none;
}

.adb-site-footer .adb-footer-customer .adb-footer-social-link:focus-visible {
    outline: 2px solid var(--adb-gold);
    outline-offset: 4px;
}

.adb-site-footer .adb-footer-social-link svg {
    display: block;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
    .adb-site-footer .adb-footer-social-link {
        transition: none;
    }
}
