/**
 * Storefront chrome: slide-in mini-cart, popup add bar, and the two-phase
 * stove browser. Adapted from brief/opulence-trade-portal styling into the
 * opulence-2026 design tokens.
 */

/* ------------------------------------------------------------------ *
 * Slide-in mini-cart
 * ------------------------------------------------------------------ */
.mini-cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 18, 15, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1400;
    pointer-events: none;
}
.mini-cart-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.mini-cart {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: min(400px, 90vw);
    background: var(--color-bg, #fff);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.18);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1500;
    display: flex;
    flex-direction: column;
}
.mini-cart.is-open {
    transform: translateX(0);
}
body.minicart-open {
    overflow: hidden;
}

.mini-cart__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--color-border, #e6e2da);
}
.mini-cart__title {
    margin: 0;
    font-family: var(--font-display, serif);
    font-size: 1.4rem;
}
.mini-cart__close {
    background: none;
    border: 0;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: var(--color-ink, #1c1a17);
}
.mini-cart__body {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem 1.5rem;
}
.mini-cart__body .woocommerce-mini-cart__buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}
.mini-cart__body .woocommerce-mini-cart__buttons a {
    flex: 1 1 45%;
    text-align: center;
}
.mini-cart__body .woocommerce-mini-cart__buttons a.checkout {
    background: var(--color-gold, #b3892f);
    color: #fff;
}

/* Variation meta lists (mini-cart + cart page): WooCommerce wraps each dd
   value in a <p> whose default margins push the dd onto the next row, so the
   dt/dd stop lining up. Flatten the paragraph spacing so it sits inline with
   its term. */
dl.variation dd p {
    margin: 0;
    padding: 0;
}

/* ------------------------------------------------------------------ *
 * Popup bottom "added to basket" bar
 * ------------------------------------------------------------------ */
.add-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1300;
    background: var(--color-ink, #1c1a17);
    color: #fff;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.add-bar.is-visible {
    transform: translateY(0);
}
.add-bar__inner {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.25rem;
    flex-wrap: wrap;
}
.add-bar__msg {
    font-weight: 500;
}
.add-bar__total {
    opacity: 0.85;
}
.add-bar__continue,
.add-bar__cart {
    margin-left: auto;
}
.add-bar__cart {
    margin-left: 0;
}

/* ------------------------------------------------------------------ *
 * Sales category: subcategory cards mimicking the stove brand cards
 * ------------------------------------------------------------------ */
.term-sales ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
    margin: 1.5rem 0 3rem;
    padding: 0;
    list-style: none;
}
.term-sales ul.products::before,
.term-sales ul.products::after {
    content: none;
}
.term-sales ul.products li.product-category {
    width: auto;
    margin: 0;
    padding: 0;
    float: none;
    clear: none;
}
.term-sales ul.products li.product-category a {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--color-bg, #fff);
    border: 1px solid var(--color-border, #e6e2da);
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.term-sales ul.products li.product-category a:hover {
    border-color: var(--color-gold, #b3892f);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}
.term-sales ul.products li.product-category img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin: 0;
}
.term-sales ul.products li.product-category .woocommerce-loop-category__title {
    margin: 0;
    padding: 1rem 1.25rem;
    font-family: var(--font-display, serif);
    font-size: 1.15rem;
    font-weight: 500;
    text-align: center;
    color: var(--color-ink, #211d18);
}
.term-sales ul.products li.product-category .woocommerce-loop-category__title .count {
    display: inline-block;
    margin-left: 0.35rem;
    background: none;
    color: var(--color-muted, #6b6459);
    font-size: 0.85rem;
    font-weight: 400;
}

/* ------------------------------------------------------------------ *
 * Stove browser: phase 1 brand cards
 * ------------------------------------------------------------------ */
    margin: 1.5rem 0 3rem;
}
.stove-scope-note {
    margin: 0 0 1rem;
    color: var(--color-muted, #6b6459);
    font-size: 0.95rem;
}
.stove-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}
.stove-brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 1rem;
    background: var(--color-bg, #fff);
    border: 1px solid var(--color-border, #e6e2da);
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    text-align: center;
}
.stove-brand-card:hover {
    border-color: var(--color-gold, #b3892f);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}
.stove-brand-card__img img {
    width: auto;
    object-fit: contain;
    max-height: 160px;
}
.stove-brand-card__name {
    font-family: var(--font-display, serif);
    font-size: 1.1rem;
}
.stove-brand-card__count {
    font-size: 0.8rem;
    color: var(--color-muted, #6b6459);
}
.stove-brand-card--all {
    justify-content: center;
    background: var(--color-paper, #f5f1ea);
}

/* ------------------------------------------------------------------ *
 * Stove browser: phase 2 product list
 * ------------------------------------------------------------------ */
.stove-back-btn {
    background: none;
    border: 0;
    cursor: pointer;
    color: var(--color-gold, #b3892f);
    font-weight: 500;
    padding: 0.25rem 0;
    margin-bottom: 0.5rem;
}
.stove-active-title {
    font-family: var(--font-display, serif);
    font-size: 1.8rem;
    margin: 0 0 1rem;
}
.stove-order-tabs {
    display: flex;
    gap: 0.5rem;
    border-bottom: 2px solid var(--color-border, #e6e2da);
    margin-bottom: 0.75rem;
}
.stove-order-tab {
    background: none;
    border: 0;
    padding: 0.75rem 1.25rem;
    cursor: pointer;
    font-weight: 500;
    color: var(--color-muted, #6b6459);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}
.stove-order-tab.is-active {
    color: var(--color-ink, #1c1a17);
    border-bottom-color: var(--color-gold, #b3892f);
}
.stove-subheading {
    color: var(--color-muted, #6b6459);
    margin: 0 0 1rem;
}
.stove-filter-bar {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}
.stove-search {
    flex: 1;
    min-width: 200px;
    padding: 0.6rem 0.9rem;
    border: 1px solid var(--color-border, #e6e2da);
    border-radius: 8px;
    font: inherit;
}
.stove-view-toggle {
    display: flex;
    gap: 0.25rem;
}
.stove-view-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-border, #e6e2da);
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
}
.stove-view-btn.is-active {
    background: var(--color-ink, #1c1a17);
    color: #fff;
    border-color: var(--color-ink, #1c1a17);
}
.stove-filter-chips {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}
.stove-chip {
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--color-border, #e6e2da);
    background: #fff;
    cursor: pointer;
    font-size: 0.85rem;
}
.stove-chip.is-active {
    background: var(--color-gold, #b3892f);
    color: #fff;
    border-color: var(--color-gold, #b3892f);
}
.stove-results-count {
    font-size: 0.85rem;
    color: var(--color-muted, #6b6459);
    margin-bottom: 1rem;
}
.stove-loading,
.stove-no-results {
    padding: 3rem 1rem;
    text-align: center;
    color: var(--color-muted, #6b6459);
    grid-column: 1 / -1;
}

/* Grid view */
.stove-product-list.grid-view {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.25rem;
}
/* List view */
.stove-product-list.list-view {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stove-product-card {
    background: #fff;
    border: 1px solid var(--color-border, #e6e2da);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.list-view .stove-product-card {
    flex-direction: row;
}
.stove-card-image {
    position: relative;
}
.stove-card-image img {
    width: 100%;
    height: auto;
    display: block;
}
.list-view .stove-card-image {
    width: 180px;
    flex-shrink: 0;
}
.stove-card-info {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1;
}
.stove-card-brand {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-muted, #6b6459);
}
.stove-card-title {
    font-family: var(--font-display, serif);
    font-size: 1.1rem;
    color: var(--color-ink, #1c1a17);
    text-decoration: none;
    line-height: 1.25;
}
.stove-card-title:hover {
    color: var(--color-gold, #b3892f);
}
.stove-card-stock {
    font-size: 0.82rem;
}
.stove-stock.in-stock {
    color: #2e7d32;
}
.stove-stock.on-backorder {
    color: #8a6d1f;
}
.stove-card-price {
    font-weight: 600;
    font-size: 1.05rem;
}
.stove-card-actions {
    margin-top: auto;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}
.stove-qty {
    display: inline-flex;
    border: 1px solid var(--color-border, #e6e2da);
    border-radius: 8px;
    overflow: hidden;
}
.stove-qty button {
    width: 34px;
    height: 38px;
    border: 0;
    background: #f5f1ea;
    cursor: pointer;
    font-size: 1.1rem;
}
.stove-qty-input {
    width: 44px;
    border: 0;
    text-align: center;
    font: inherit;
    -moz-appearance: textfield;
}
.stove-qty-input::-webkit-outer-spin-button,
.stove-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.stove-add-to-cart {
    flex: 1;
    min-width: 130px;
}
.stove-add-to-cart.is-loading {
    opacity: 0.6;
    pointer-events: none;
}
.stove-card-view {
    flex: 1;
    min-width: 130px;
    text-align: center;
}

.woocommerce div.product .woocommerce-tabs .panel {
    padding: 20px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    margin-bottom: 0px;
}

@media (max-width: 768px) {
    .list-view .stove-product-card {
        flex-direction: column;
    }

    .list-view .stove-card-image {
        width: 100%;
    }

    .add-bar__inner {
        gap: 0.6rem;
    }

    .add-bar__continue,
    .add-bar__cart {
        flex: 1;
        text-align: center;
    }
}

/* ================================================================== *
 * Shop / product archive (ported from brief/opulence-interiors-archive)
 * ================================================================== */

/* --- Archive head -------------------------------------------------- */
.arch-head {
    padding: 36px 0 34px;
    border-bottom: 1px solid var(--line-soft);
}
.arch-head h1 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    margin: 14px 0 12px;
}
.arch-head h1 em {
    font-style: italic;
    color: var(--gold-deep);
}
.arch-head .intro {
    color: var(--muted);
    font-weight: 300;
    max-width: 62ch;
}

/* --- Two-column layout -------------------------------------------- */
.arch {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 44px;
    padding: 44px 0 82px;
}

/* --- Filters sidebar ---------------------------------------------- */
.filters h4 {
    font-family: var(--body);
    font-size: .64rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 500;
    margin: 26px 0 12px;
}
.filters .filter-group:first-child h4 {
    margin-top: 0;
}
.filters .check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .82rem;
    color: var(--ink);
    padding: 6px 0;
    cursor: pointer;
}
.filters .check input {
    accent-color: var(--forest);
    width: 15px;
    height: 15px;
}
.filters .check .n {
    color: var(--muted);
    font-size: .7rem;
    margin-left: auto;
}
.filters .check.spot {
    border: 1px solid rgba(182, 144, 79, .45);
    background: rgba(182, 144, 79, .07);
    border-radius: var(--radius);
    padding: 10px 12px;
    margin: 4px 0 2px;
}
.filters .check.spot svg {
    width: 15px;
    height: 15px;
    stroke: var(--gold-deep);
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: none;
}
.filters .filter-actions {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.filters .filter-actions .btn {
    justify-content: center;
}

/* --- Sort bar ------------------------------------------------------ */
.woo-main .sortbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    gap: 16px;
    flex-wrap: wrap;
}
.woo-main .sortbar .count {
    font-size: .78rem;
    color: var(--muted);
    margin: 0;
    float: none;
}
.woo-main .sortbar form.woocommerce-ordering {
    margin: 0;
}
.woo-main .sortbar select {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 10px 14px;
    font-family: var(--body);
    font-size: .8rem;
    color: var(--forest);
}

/* --- Product grid -------------------------------------------------- */
.woo-main ul.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.woo-main ul.products::before,
.woo-main ul.products::after {
    content: none;
}
.woo-main ul.products li.product {
    width: auto;
    margin: 0;
    float: none;
    clear: none;
}

/* --- Product card -------------------------------------------------- */
.woo-main li.product.card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    transition: transform .35s var(--ease), box-shadow .35s;
    display: flex;
    flex-direction: column;
}
.woo-main li.product.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--elev);
}
.woo-main li.product .card-img {
    height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(150deg, #efe7d8, #dccdaf);
}
.woo-main li.product .card-img img {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: auto !important;
    object-fit: cover;
    margin: 0;
}
.woo-main li.product .card-img .card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
}
.woo-main li.product .card-flag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    font-size: .54rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    background: var(--burgundy);
    color: var(--cream);
    padding: 4px 9px;
    font-weight: 500;
}
.woo-main li.product .card-b {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}
.woo-main li.product .card-brand {
    font-size: .6rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold-deep);
    font-weight: 500;
}
.woo-main li.product .woocommerce-loop-product__title,
.woo-main li.product .card-name {
    font-family: var(--display);
    font-size: 1.3rem;
    line-height: 1.2;
    font-weight: 500;
    padding: 0;
    margin: 0;
}
.woo-main li.product .price {
    font-family: var(--display);
    font-size: 1.25rem;
    color: var(--forest);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 12px;
}
.woo-main li.product .price del {
    color: var(--muted);
    font-size: .9rem;
    opacity: .7;
}
.woo-main li.product .price ins {
    text-decoration: none;
}
.woo-main li.product .card-cart {
    margin-top: 14px;
}
.woo-main li.product .card-cart .button {
    display: block;
    width: 100%;
    text-align: center;
}
/* Showroom strip -- emitted when the product's in_showroom meta is set.
   Rendered at the top of the card, above the image. */
.woo-main li.product .card-showroom {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: .66rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--gold-deep);
    background: rgba(182, 144, 79, .08);
    border-bottom: 1px dashed rgba(182, 144, 79, .5);
    padding: 11px 20px;
    transition: background .25s;
}
.woo-main li.product .card-showroom:hover {
    background: rgba(182, 144, 79, .16);
}
.woo-main li.product .card-showroom svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: none;
}
.woo-main li.product .card-showroom .go {
    margin-left: auto;
    font-family: var(--display);
    font-size: 1rem;
}

/* --- Pagination ---------------------------------------------------- */
.woo-main .woocommerce-pagination {
    margin-top: 44px;
    text-align: center;
}
.woo-main .woocommerce-pagination ul {
    display: inline-flex;
    justify-content: center;
    gap: 8px;
    border: 0;
    margin: 0;
    padding: 0;
}
.woo-main .woocommerce-pagination ul li {
    border: 0;
    margin: 0;
}
.woo-main .woocommerce-pagination ul li a,
.woo-main .woocommerce-pagination ul li span {
    min-width: 42px;
    height: 42px;
    padding: 0 6px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .82rem;
    color: var(--forest);
    background: #fff;
    transition: all .25s;
}
.woo-main .woocommerce-pagination ul li a:hover {
    border-color: var(--gold);
    color: var(--gold-deep);
}
.woo-main .woocommerce-pagination ul li span.current {
    background: var(--forest-deep);
    color: var(--cream);
    border-color: var(--forest-deep);
}

/* --- Responsive ---------------------------------------------------- */
@media (max-width: 980px) {
    .arch {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .filters {
        border: 1px solid var(--line-soft);
        border-radius: var(--radius);
        padding: 18px 20px;
    }
    .woo-main ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 560px) {
    .woo-main ul.products {
        grid-template-columns: 1fr;
    }
}

/* ================================================================== *
 * Single product (PDP) -- ported from brief/opulence-interiors-product
 * ================================================================== */

/* Product-page breadcrumb spacing */
.woo-main .pdp-crumb {
    padding: 24px 0 0;
}

/* Two-column layout: gallery + summary */
.woo-main div.product.pdp {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    padding: 24px 0 70px;
}
.woo-main div.product.pdp::before,
.woo-main div.product.pdp::after {
    content: none;
    display: none;
}

/* Gallery */
.woo-main div.product.pdp .woocommerce-product-gallery {
    width: 100% !important;
    float: none;
    margin: 0;
    position: relative;
}
.woo-main div.product.pdp .woocommerce-product-gallery__wrapper {
    margin: 0;
}
.woo-main div.product.pdp .woocommerce-product-gallery__image {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(150deg, #ece2cf, #d8c8a6);
}
.woo-main div.product.pdp .woocommerce-product-gallery__image a,
.woo-main div.product.pdp .woocommerce-product-gallery__image img {
    display: block;
    width: 100%;
}
.woo-main div.product.pdp .flex-control-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 12px;
    padding: 0;
    list-style: none;
}
.woo-main div.product.pdp .flex-control-thumbs li {
    margin: 0;
    list-style: none;
}
.woo-main div.product.pdp .flex-control-thumbs img {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    opacity: .75;
    transition: border-color .25s, opacity .25s;
}
.woo-main div.product.pdp .flex-control-thumbs img:hover,
.woo-main div.product.pdp .flex-control-thumbs img.flex-active {
    border-color: var(--gold);
    opacity: 1;
}

/* Summary column */
.woo-main div.product.pdp .summary.entry-summary {
    width: 100% !important;
    float: none;
    margin: 0;
}
.woo-main div.product.pdp .pdp-brand {
    font-size: .64rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold-deep);
    font-weight: 500;
    margin-bottom: 10px;
}
.woo-main div.product.pdp .product_title {
    font-family: var(--display);
    font-size: clamp(1.9rem, 3.4vw, 2.7rem);
    line-height: 1.08;
    margin: 0 0 12px;
    padding: 0;
}

/* Price row: price + stock badge + live pill */
.woo-main div.product.pdp .pdp-pricerow {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}
.woo-main div.product.pdp p.price,
.woo-main div.product.pdp .pdp-pricerow .price {
    font-family: var(--display);
    font-size: 2.1rem;
    color: var(--forest);
    margin: 0;
}
.woo-main div.product.pdp p.price del {
    color: var(--muted);
    font-size: 1.3rem;
    opacity: .7;
}
.woo-main div.product.pdp p.price ins {
    text-decoration: none;
}

/* Quantity + add to cart */
.woo-main div.product.pdp form.cart {
    display: flex;
    gap: 12px;
    margin: 24px 0 14px;
    flex-wrap: wrap;
    align-items: stretch;
}
.woo-main div.product.pdp form.cart .quantity {
    display: flex;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    overflow: hidden;
}
.woo-main div.product.pdp form.cart .quantity input.qty {
    width: 56px;
    border: 0;
    text-align: center;
    font-family: var(--body);
    font-size: .9rem;
    background: none;
    -moz-appearance: textfield;
}
.woo-main div.product.pdp form.cart .quantity input.qty::-webkit-outer-spin-button,
.woo-main div.product.pdp form.cart .quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.woo-main div.product.pdp form.cart button.single_add_to_cart_button {
    flex: 1;
    min-width: 200px;
    justify-content: center;
    background: var(--gold);
    color: var(--forest-deep);
    border: 1px solid var(--gold);
    border-radius: var(--radius);
    font-family: var(--body);
    font-weight: 500;
    font-size: .82rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 14px 26px;
    cursor: pointer;
    transition: all .35s var(--ease);
}
.woo-main div.product.pdp form.cart button.single_add_to_cart_button:hover {
    background: var(--gold-deep);
    color: #fff;
}

/* Variation form tidy-up */
.woo-main div.product.pdp table.variations {
    margin: 0 0 16px;
}
.woo-main div.product.pdp table.variations td,
.woo-main div.product.pdp table.variations th {
    padding: 6px 0;
}

/* Fulfilment note */
.woo-main div.product.pdp .pdp-fulfil {
    font-size: .78rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 24px;
}
.woo-main div.product.pdp .pdp-fulfil svg {
    width: 16px;
    height: 16px;
    stroke: var(--gold-deep);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: none;
}

/* Showroom panel (gated on in_showroom meta) */
.woo-main div.product.pdp .showroom-panel {
    background: var(--forest-deep);
    color: var(--cream);
    border-radius: var(--radius);
    padding: 24px 26px;
    margin-bottom: 26px;
    position: relative;
    overflow: hidden;
}
.woo-main div.product.pdp .showroom-panel::before {
    content: "";
    position: absolute;
    top: -90px;
    right: -60px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(182, 144, 79, .18), transparent 65%);
}
.woo-main div.product.pdp .showroom-panel .top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    position: relative;
}
.woo-main div.product.pdp .showroom-panel .top svg {
    width: 20px;
    height: 20px;
    stroke: var(--gold-2);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: none;
}
.woo-main div.product.pdp .showroom-panel h3 {
    font-size: 1.35rem;
    color: var(--cream);
    margin: 0;
}
.woo-main div.product.pdp .showroom-panel h3 em {
    font-style: italic;
    color: var(--gold-2);
}
.woo-main div.product.pdp .showroom-panel p {
    font-size: .8rem;
    color: rgba(246, 242, 232, .72);
    margin-bottom: 16px;
    position: relative;
    max-width: 46ch;
}
.woo-main div.product.pdp .showroom-panel .row {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
}

/* Accordion (product tabs rendered as <details>) */
.woo-main div.product.pdp .pdp-acc {
    border-top: 1px solid var(--line);
    margin-top: 8px;
}
.woo-main div.product.pdp .pdp-acc details {
    border-bottom: 1px solid var(--line);
}
.woo-main div.product.pdp .pdp-acc summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 2px;
    font-family: var(--display);
    font-size: 1.2rem;
    color: var(--ink);
}
.woo-main div.product.pdp .pdp-acc summary::-webkit-details-marker {
    display: none;
}
.woo-main div.product.pdp .pdp-acc summary::after {
    content: "+";
    font-family: var(--display);
    color: var(--gold-deep);
    font-size: 1.3rem;
    transition: transform .3s var(--ease);
}
.woo-main div.product.pdp .pdp-acc details[open] summary::after {
    transform: rotate(45deg);
}
.woo-main div.product.pdp .pdp-acc .bd {
    padding: 0 2px 20px;
    font-size: .86rem;
    color: var(--muted);
    font-weight: 300;
}
.woo-main div.product.pdp .pdp-acc .bd b {
    color: var(--forest);
    font-weight: 500;
}
.woo-main div.product.pdp .pdp-acc .bd table {
    width: 100%;
    border-collapse: collapse;
    font-size: .82rem;
    margin-top: 6px;
}
.woo-main div.product.pdp .pdp-acc .bd table td,
.woo-main div.product.pdp .pdp-acc .bd table th {
    padding: 8px 0;
    border-bottom: 1px solid var(--line-soft);
    text-align: left;
}
.woo-main div.product.pdp .pdp-acc .bd table td:first-child,
.woo-main div.product.pdp .pdp-acc .bd table th:first-child {
    color: var(--muted);
    width: 45%;
}

/* Related products */
.woo-main .related.products {
    padding-top: 40px;
    margin-top: 24px;
    border-top: 1px solid var(--line-soft);
    clear: both;
}
.woo-main .related.products > h2 {
    font-family: var(--display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 24px;
}

@media (max-width: 980px) {
    .woo-main div.product.pdp {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
