/* ============================================================
   BOLÉ storefront polish
   Focus: archive layout stability, product cards, detail page,
   mobile header spacing, and floating customer service ergonomics.
   ============================================================ */

:root {
    --bole-polish-ink: #101723;
    --bole-polish-ink-soft: #1b2636;
    --bole-polish-gold: #c9a96e;
    --bole-polish-line: rgba(16, 23, 35, 0.12);
    --bole-polish-paper: #f7f8fa;
    --bole-polish-mist: #eef2ef;
    --bole-polish-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='table' tableValues='0 .08'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
    --bole-polish-atmosphere:
        radial-gradient(circle at 14% 10%, rgba(201, 169, 110, 0.12), transparent 28%),
        radial-gradient(circle at 88% 8%, rgba(127, 150, 137, 0.12), transparent 30%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.86) 0%, rgba(246, 248, 250, 0.62) 48%, rgba(238, 242, 239, 0.72) 100%);
}

body.woocommerce.archive,
body.post-type-archive-product,
body.tax-product_cat,
body.bw-series-filtered {
    background:
        var(--bole-polish-noise),
        var(--bole-polish-atmosphere),
        var(--bole-polish-paper);
    background-attachment: scroll;
}

body.woocommerce.archive #content.site-content,
body.post-type-archive-product #content.site-content,
body.tax-product_cat #content.site-content {
    background:
        var(--bole-polish-noise),
        radial-gradient(ellipse at 18% 0%, rgba(201, 169, 110, 0.14), transparent 34%),
        radial-gradient(ellipse at 86% 4%, rgba(116, 143, 128, 0.13), transparent 32%),
        linear-gradient(180deg, #ffffff 0, #ffffff 132px, #f7f8fa 132px, #f3f5f7 100%);
    overflow-x: hidden;
}

body.bw-series-filtered .bole-home,
body.bw-series-filtered #content.site-content {
    background:
        var(--bole-polish-noise),
        radial-gradient(ellipse at 16% 6%, rgba(201, 169, 110, 0.13), transparent 30%),
        radial-gradient(ellipse at 84% 12%, rgba(116, 143, 128, 0.12), transparent 31%),
        linear-gradient(180deg, #ffffff 0, #f8f9fa 38%, var(--bole-polish-mist) 100%);
}

body.home .bh-brands {
    background:
        var(--bole-polish-noise),
        radial-gradient(ellipse at 12% 4%, rgba(201, 169, 110, 0.10), transparent 30%),
        radial-gradient(ellipse at 90% 12%, rgba(116, 143, 128, 0.11), transparent 30%),
        linear-gradient(180deg, #f8f9fa 0%, #f1f4f2 100%) !important;
}

/* Header menu trigger: glassy, neutral, and never blue in active/focus states. */
body #bwMenuBtn.bw-hdr-btn,
body #bwMenuBtn.bw-hdr-btn:hover,
body #bwMenuBtn.bw-hdr-btn:focus,
body #bwMenuBtn.bw-hdr-btn:active,
body #bwMenuBtn.bw-hdr-btn[aria-expanded="true"] {
    width: 48px !important;
    min-width: 48px !important;
    height: 48px !important;
    padding: 0 !important;
    justify-content: center !important;
    border: 1px solid rgba(255, 255, 255, 0.52) !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, rgba(255,255,255,.38), rgba(255,255,255,.18)) !important;
    color: #111827 !important;
    box-shadow:
        0 12px 28px rgba(17,24,39,.14),
        inset 0 1px 0 rgba(255,255,255,.58) !important;
    outline: none !important;
}

body.home #bwMenuBtn.bw-hdr-btn,
body.home #bwMenuBtn.bw-hdr-btn:hover,
body.home #bwMenuBtn.bw-hdr-btn:focus,
body.home #bwMenuBtn.bw-hdr-btn:active,
body.home #bwMenuBtn.bw-hdr-btn[aria-expanded="true"] {
    border-color: rgba(255,255,255,.28) !important;
    background: linear-gradient(180deg, rgba(255,255,255,.20), rgba(255,255,255,.08)) !important;
    color: #fff !important;
    box-shadow:
        0 16px 34px rgba(0,0,0,.24),
        inset 0 1px 0 rgba(255,255,255,.18) !important;
}

body #bwMenuBtn.bw-hdr-btn:focus-visible {
    box-shadow:
        0 0 0 3px rgba(216,189,121,.28),
        0 12px 28px rgba(17,24,39,.14),
        inset 0 1px 0 rgba(255,255,255,.58) !important;
}

body #bwMenuBtn.bw-hdr-btn svg {
    width: 20px !important;
    height: 20px !important;
    display: block !important;
}

body.woocommerce.archive #content > .ast-container,
body.post-type-archive-product #content > .ast-container,
body.tax-product_cat #content > .ast-container {
    display: block !important;
    max-width: min(1320px, calc(100vw - 40px)) !important;
    width: calc(100% - 40px) !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

body.woocommerce.archive .bw-brand-filter-wrap,
body.post-type-archive-product .bw-brand-filter-wrap,
body.tax-product_cat .bw-brand-filter-wrap {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 26px !important;
    background: rgba(255, 255, 255, 0.92) !important;
    border: 1px solid rgba(16, 23, 35, 0.08) !important;
    border-top: 0 !important;
    border-radius: 0 0 8px 8px !important;
    box-shadow: 0 14px 34px rgba(16, 23, 35, 0.06) !important;
    overflow: hidden;
}

body.woocommerce.archive .bw-brand-filter-inner,
body.post-type-archive-product .bw-brand-filter-inner,
body.tax-product_cat .bw-brand-filter-inner {
    max-width: none !important;
    width: 100% !important;
    height: 62px !important;
    padding: 0 18px !important;
}

body.woocommerce.archive .bw-brand-filter-inner .bw-brand-label,
body.post-type-archive-product .bw-brand-filter-inner .bw-brand-label,
body.tax-product_cat .bw-brand-filter-inner .bw-brand-label {
    color: #667085 !important;
    letter-spacing: 0.02em;
}

body.woocommerce.archive .bw-brand-item,
body.post-type-archive-product .bw-brand-item,
body.tax-product_cat .bw-brand-item {
    border: 1px solid transparent;
    border-radius: 999px !important;
}

body.woocommerce.archive .bw-brand-item:hover,
body.post-type-archive-product .bw-brand-item:hover,
body.tax-product_cat .bw-brand-item:hover {
    background: #f5f7fb !important;
    border-color: rgba(16, 23, 35, 0.08);
}

body.woocommerce.archive .bw-brand-item.active,
body.post-type-archive-product .bw-brand-item.active,
body.tax-product_cat .bw-brand-item.active {
    background: rgba(201, 169, 110, 0.12) !important;
    border-color: rgba(201, 169, 110, 0.35);
}

body.woocommerce.archive .bw-brand-item.active .bw-brand-name,
body.post-type-archive-product .bw-brand-item.active .bw-brand-name,
body.tax-product_cat .bw-brand-item.active .bw-brand-name {
    color: var(--bole-polish-ink) !important;
}

body.woocommerce.archive #primary,
body.post-type-archive-product #primary,
body.tax-product_cat #primary,
body.woocommerce.archive main.site-main,
body.post-type-archive-product main.site-main,
body.tax-product_cat main.site-main,
body.woocommerce.archive .ast-woocommerce-container,
body.post-type-archive-product .ast-woocommerce-container,
body.tax-product_cat .ast-woocommerce-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 72px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

body.woocommerce.archive .woocommerce-products-header,
body.post-type-archive-product .woocommerce-products-header,
body.tax-product_cat .woocommerce-products-header {
    margin: 0 0 24px !important;
    padding: 0 0 18px;
    border-bottom: 1px solid rgba(16, 23, 35, 0.08);
}

body.woocommerce.archive .woocommerce-products-header__title,
body.post-type-archive-product .woocommerce-products-header__title,
body.tax-product_cat .woocommerce-products-header__title {
    margin: 0 !important;
    color: var(--bole-polish-ink);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(28px, 3vw, 46px);
    line-height: 1.08;
    letter-spacing: 0;
}

body.woocommerce.archive .woocommerce-breadcrumb,
body.post-type-archive-product .woocommerce-breadcrumb,
body.tax-product_cat .woocommerce-breadcrumb {
    color: #7a8290;
    font-size: 13px;
}

body.woocommerce.archive .woocommerce-result-count,
body.post-type-archive-product .woocommerce-result-count,
body.tax-product_cat .woocommerce-result-count {
    float: left !important;
    width: auto !important;
    margin: 2px 16px 18px 0 !important;
    color: #344054;
    font-size: 14px;
    line-height: 38px;
}

body.woocommerce.archive .bw-view-switcher,
body.post-type-archive-product .bw-view-switcher,
body.tax-product_cat .bw-view-switcher {
    float: right !important;
    width: auto !important;
    margin: 0 0 18px 10px !important;
    padding: 0 !important;
    z-index: 12;
}

body.woocommerce.archive .woocommerce-ordering,
body.post-type-archive-product .woocommerce-ordering,
body.tax-product_cat .woocommerce-ordering {
    float: right !important;
    clear: right !important;
    width: auto !important;
    margin: 0 0 22px 12px !important;
}

body.woocommerce.archive .woocommerce-ordering select,
body.post-type-archive-product .woocommerce-ordering select,
body.tax-product_cat .woocommerce-ordering select {
    min-width: 220px;
    height: 42px;
    padding: 0 42px 0 16px;
    border: 1px solid rgba(16, 23, 35, 0.14);
    border-radius: 8px;
    background-color: #ffffff;
    color: #344054;
    box-shadow: 0 8px 20px rgba(16, 23, 35, 0.05);
}

body.woocommerce.archive .bw-view-trigger,
body.post-type-archive-product .bw-view-trigger,
body.tax-product_cat .bw-view-trigger {
    height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(16, 23, 35, 0.14);
    border-radius: 8px;
    background: #ffffff;
    color: var(--bole-polish-ink);
    box-shadow: 0 8px 20px rgba(16, 23, 35, 0.05);
}

body.woocommerce.archive .bw-view-trigger:hover,
body.post-type-archive-product .bw-view-trigger:hover,
body.tax-product_cat .bw-view-trigger:hover {
    color: var(--bole-polish-gold);
    border-color: rgba(201, 169, 110, 0.55);
}

body.woocommerce.archive .bw-view-dropdown,
body.post-type-archive-product .bw-view-dropdown,
body.tax-product_cat .bw-view-dropdown {
    border: 1px solid rgba(16, 23, 35, 0.08);
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(16, 23, 35, 0.16);
}

body.woocommerce.archive ul.products,
body.post-type-archive-product ul.products,
body.tax-product_cat ul.products {
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.woocommerce.archive ul.products[data-view="mall"],
body.post-type-archive-product ul.products[data-view="mall"],
body.tax-product_cat ul.products[data-view="mall"] {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
}

body.woocommerce.archive ul.products[data-view="six-cols"],
body.post-type-archive-product ul.products[data-view="six-cols"],
body.tax-product_cat ul.products[data-view="six-cols"] {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 14px !important;
}

body.woocommerce.archive ul.products li.product,
body.post-type-archive-product ul.products li.product,
body.tax-product_cat ul.products li.product,
body.home ul.products li.product {
    min-width: 0;
    border: 1px solid rgba(16, 23, 35, 0.10) !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    box-shadow: 0 12px 30px rgba(16, 23, 35, 0.07);
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease !important;
}

body.woocommerce.archive ul.products li.product:hover,
body.post-type-archive-product ul.products li.product:hover,
body.tax-product_cat ul.products li.product:hover,
body.home ul.products li.product:hover {
    transform: translateY(-3px);
    border-color: rgba(201, 169, 110, 0.45) !important;
    box-shadow: 0 18px 42px rgba(16, 23, 35, 0.13);
}

body.woocommerce.archive ul.products li.product .astra-shop-thumbnail-wrap,
body.post-type-archive-product ul.products li.product .astra-shop-thumbnail-wrap,
body.tax-product_cat ul.products li.product .astra-shop-thumbnail-wrap,
body.home ul.products li.product .astra-shop-thumbnail-wrap {
    background:
        radial-gradient(circle at 50% 18%, rgba(255,255,255,0.18), transparent 32%),
        linear-gradient(145deg, #05070a 0%, #101723 64%, #1e2938 100%) !important;
    border-radius: 8px 8px 0 0 !important;
}

body.woocommerce.archive ul.products li.product .astra-shop-thumbnail-wrap img,
body.post-type-archive-product ul.products li.product .astra-shop-thumbnail-wrap img,
body.tax-product_cat ul.products li.product .astra-shop-thumbnail-wrap img,
body.home ul.products li.product .astra-shop-thumbnail-wrap img {
    width: 100% !important;
    aspect-ratio: 1 / 1.12 !important;
    object-fit: cover !important;
}

body.woocommerce.archive ul.products li.product .astra-shop-summary-wrap,
body.post-type-archive-product ul.products li.product .astra-shop-summary-wrap,
body.tax-product_cat ul.products li.product .astra-shop-summary-wrap,
body.home ul.products li.product .astra-shop-summary-wrap {
    padding: 12px 13px 14px !important;
    text-align: left !important;
}

body.woocommerce.archive ul.products li.product .ast-woo-product-category,
body.post-type-archive-product ul.products li.product .ast-woo-product-category,
body.tax-product_cat ul.products li.product .ast-woo-product-category,
body.home ul.products li.product .ast-woo-product-category {
    display: block;
    margin-bottom: 5px;
    color: #8a94a6;
    font-size: 11px;
    letter-spacing: 0.02em;
}

body.woocommerce.archive ul.products li.product .woocommerce-loop-product__title,
body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title,
body.tax-product_cat ul.products li.product .woocommerce-loop-product__title,
body.home ul.products li.product .woocommerce-loop-product__title {
    min-height: 39px;
    color: #162033;
    font-size: 13px !important;
    font-weight: 650;
    line-height: 1.45;
    margin: 0 0 8px !important;
    letter-spacing: 0;
}

body.woocommerce.archive ul.products li.product .price,
body.post-type-archive-product ul.products li.product .price,
body.tax-product_cat ul.products li.product .price,
body.home ul.products li.product .price {
    color: var(--bole-polish-gold) !important;
    font-size: 14px !important;
    font-weight: 750 !important;
    letter-spacing: 0.01em;
    margin: 0 0 12px !important;
}

body.woocommerce.archive .bw-view-details-btn,
body.post-type-archive-product .bw-view-details-btn,
body.tax-product_cat .bw-view-details-btn,
body.home .bw-view-details-btn {
    width: 100% !important;
    min-height: 38px;
    margin: 0 !important;
    padding: 10px 12px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(201, 169, 110, 0.45) !important;
    background: rgba(201, 169, 110, 0.10) !important;
    color: #111827 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: none !important;
}

body.woocommerce.archive .bw-view-details-btn:hover,
body.post-type-archive-product .bw-view-details-btn:hover,
body.tax-product_cat .bw-view-details-btn:hover,
body.home .bw-view-details-btn:hover {
    background: var(--bole-polish-ink) !important;
    color: #ffffff !important;
    border-color: var(--bole-polish-ink) !important;
}

body.woocommerce.archive .bw-share-btn,
body.post-type-archive-product .bw-share-btn,
body.tax-product_cat .bw-share-btn,
body.home .bw-share-btn {
    width: 34px;
    height: 34px;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.78) !important;
    border-color: rgba(255, 255, 255, 0.55) !important;
    color: #111827;
}

body.single-product .wdv2 {
    background:
        var(--bole-polish-noise),
        radial-gradient(ellipse at 18% 0%, rgba(201, 169, 110, 0.13), transparent 34%),
        radial-gradient(ellipse at 92% 8%, rgba(116, 143, 128, 0.12), transparent 30%),
        linear-gradient(180deg, #ffffff 0, #ffffff 116px, #f7f8fa 116px, #f4f6f8 100%) !important;
}

body.single-product .wdv2-content-wrapper {
    max-width: 1440px !important;
}

body.single-product .wdv2-main {
    gap: clamp(30px, 4vw, 56px) !important;
    margin-top: 34px !important;
}

body.single-product .wdv2-gallery-main {
    border-radius: 8px !important;
    border: 1px solid rgba(16, 23, 35, 0.08);
    min-height: 0 !important;
    overflow: visible !important;
    background:
        radial-gradient(circle at 50% 12%, rgba(255,255,255,0.75), rgba(246,247,249,0.95) 38%, #eef1f4 100%) !important;
    box-shadow: 0 24px 60px rgba(16, 23, 35, 0.10) !important;
}

body.single-product .wdv2-gallery-main img,
body.single-product .wdv2-gallery-main video {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
}

body.single-product .wdv2-thumb,
body.single-product .wdv2-thumb-video {
    border-radius: 8px !important;
    border-color: rgba(16, 23, 35, 0.08) !important;
    box-shadow: 0 8px 20px rgba(16, 23, 35, 0.08);
}

body.single-product .wdv2-thumb.active,
body.single-product .wdv2-thumb-video.active {
    border-color: var(--bole-polish-gold) !important;
}

body.single-product .wdv2-info {
    padding-top: 4px;
}

body.single-product .wdv2-product-title {
    max-width: 760px;
    color: #111827 !important;
    font-size: clamp(22px, 2vw, 32px) !important;
    line-height: 1.18 !important;
}

body.single-product .wdv2-desc {
    max-width: 720px;
    color: #5b6472 !important;
    font-size: 13px !important;
    line-height: 1.75 !important;
}

body.single-product .wdv2-diameter-section,
body.single-product .wdv2-factory-section,
body.single-product .wdv2-price-box {
    border-radius: 8px !important;
    border: 1px solid rgba(16, 23, 35, 0.10) !important;
    background: rgba(255, 255, 255, 0.92) !important;
    box-shadow: 0 12px 30px rgba(16, 23, 35, 0.06);
}

body.single-product .wdv2-spec-group {
    border-radius: 8px !important;
    background: #ffffff !important;
    border-color: rgba(16, 23, 35, 0.10) !important;
}

body.single-product .wdv2-factory-option,
body.single-product .wdv2-diameter-tag {
    border-radius: 8px !important;
}

body.single-product .wdv2-factory-option.selected,
body.single-product .wdv2-diameter-tag.selected {
    border-color: var(--bole-polish-gold) !important;
    background: rgba(201, 169, 110, 0.12) !important;
    box-shadow: inset 0 0 0 1px rgba(201, 169, 110, 0.18) !important;
}

body.single-product .wdv2-price-value {
    color: var(--bole-polish-gold) !important;
    font-size: clamp(26px, 2.8vw, 38px) !important;
}

body.single-product .wdv2-btn {
    min-height: 48px;
    border-radius: 8px !important;
}

body.single-product .wdv2-btn-cart {
    background: #111827 !important;
}

body.single-product .wdv2-btn-buy {
    background: linear-gradient(135deg, #d7b978 0%, #b98f46 100%) !important;
}

body.single-product .wdv2-recently-viewed {
    margin-top: 56px !important;
    padding-bottom: 24px !important;
}

body.single-product .wdv2-recently-viewed-title {
    color: #111827 !important;
    font-size: 20px !important;
    letter-spacing: 0;
}

body.single-product .wdv2-recently-viewed-title::after {
    content: "";
    display: block;
    width: 44px;
    height: 2px;
    margin-top: 9px;
    background: var(--bole-polish-gold);
}

body.single-product .wdv2-rv-card {
    flex-basis: 158px !important;
    width: 158px !important;
    min-width: 158px !important;
    border-radius: 8px !important;
    border-color: rgba(16, 23, 35, 0.10) !important;
    box-shadow: 0 10px 24px rgba(16, 23, 35, 0.07);
}

body.single-product .wdv2-rv-card-img {
    height: 118px !important;
    background: #101723 !important;
}

body.single-product .wdv2-rv-arrow {
    border-radius: 999px !important;
}

body.single-product .wdv2-detail-nav {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 1440px !important;
    margin: 0 auto 22px !important;
    padding: 10px 12px !important;
    border: 1px solid rgba(16, 23, 35, 0.08) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.82) !important;
    box-shadow: 0 10px 30px rgba(16, 23, 35, 0.05) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

body.single-product .wdv2-detail-nav .wdv2-back-btn {
    flex: 0 0 auto !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 0 16px 0 12px !important;
    gap: 7px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(201, 169, 110, 0.46) !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247,242,231,0.94)) !important;
    color: #111827 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    box-shadow: 0 8px 18px rgba(16, 23, 35, 0.07) !important;
}

body.single-product .wdv2-detail-nav .wdv2-back-btn svg {
    width: 16px !important;
    height: 16px !important;
    color: var(--bole-polish-gold) !important;
}

body.single-product .wdv2-detail-nav .wdv2-back-btn:hover {
    border-color: var(--bole-polish-gold) !important;
    transform: translateY(-1px);
}

body.single-product .wdv2-detail-nav .wdv2-breadcrumb {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    color: #667085 !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
    overflow-x: auto !important;
    scrollbar-width: none;
}

body.single-product .wdv2-detail-nav .wdv2-breadcrumb::-webkit-scrollbar {
    display: none;
}

body.single-product .wdv2-detail-nav .wdv2-breadcrumb a {
    color: #667085 !important;
}

body.single-product .wdv2-detail-nav .wdv2-breadcrumb a:hover {
    color: var(--bole-polish-gold) !important;
}

body.single-product .wdv2-detail-nav .wdv2-breadcrumb .sep {
    color: rgba(102, 112, 133, 0.44) !important;
}

body.single-product .wdv2-detail-nav .wdv2-breadcrumb .current {
    color: #111827 !important;
    font-weight: 700 !important;
}

body.single-product .wdv2-quote-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(9, 13, 20, 0.58);
}

body.single-product .wdv2-quote-modal.is-open {
    display: flex;
}

body.single-product .wdv2-quote-modal-panel {
    position: relative;
    width: min(520px, calc(100vw - 32px));
    padding: 28px;
    border-radius: 8px;
    border: 1px solid rgba(201, 169, 110, 0.28);
    background:
        radial-gradient(circle at 12% 0%, rgba(201, 169, 110, 0.14), transparent 38%),
        #ffffff;
    box-shadow: 0 30px 90px rgba(9, 13, 20, 0.26);
}

body.single-product .wdv2-quote-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(16, 23, 35, 0.08);
    background: #fff;
    color: #111827;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

body.single-product .wdv2-quote-kicker {
    margin: 0 0 10px;
    color: var(--bole-polish-gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

body.single-product .wdv2-quote-modal-panel h3 {
    margin: 0 42px 12px 0;
    color: #111827;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.15;
}

body.single-product .wdv2-quote-modal-panel p {
    color: #5b6472;
    font-size: 14px;
    line-height: 1.75;
}

body.single-product .wdv2-quote-actions {
    display: flex;
    gap: 12px;
    margin-top: 22px;
}

body.single-product .wdv2-quote-actions button {
    min-height: 46px;
    flex: 1;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}

body.single-product .wdv2-quote-secondary {
    border: 1px solid rgba(16, 23, 35, 0.10);
    background: #fff;
    color: #111827;
}

body.single-product .wdv2-quote-primary {
    border: 1px solid var(--bole-polish-gold);
    background: linear-gradient(135deg, #d7b978 0%, #b98f46 100%);
    color: #fff;
}

.bw-cs-float {
    border-radius: 999px !important;
}

.bw-cs-float::after {
    border-radius: 999px !important;
}

@media (min-width: 1500px) {
    body.woocommerce.archive #content > .ast-container,
    body.post-type-archive-product #content > .ast-container,
    body.tax-product_cat #content > .ast-container {
        max-width: 1380px !important;
    }

    body.woocommerce.archive ul.products[data-view="mall"],
    body.post-type-archive-product ul.products[data-view="mall"],
    body.tax-product_cat ul.products[data-view="mall"] {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 1100px) {
    body.woocommerce.archive ul.products[data-view="mall"],
    body.post-type-archive-product ul.products[data-view="mall"],
    body.tax-product_cat ul.products[data-view="mall"],
    body.woocommerce.archive ul.products[data-view="six-cols"],
    body.post-type-archive-product ul.products[data-view="six-cols"],
    body.tax-product_cat ul.products[data-view="six-cols"] {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 768px) {
    .bw-header-inner {
        display: grid !important;
        grid-template-columns: auto minmax(72px, 1fr) auto;
        align-items: center;
        gap: 8px !important;
        padding: 9px 12px !important;
    }

    .bw-header-left,
    .bw-header-right {
        flex: 0 0 auto !important;
        gap: 6px !important;
        min-width: 0;
    }

    .bw-header-left {
        justify-self: start;
    }

    .bw-header-right {
        justify-self: end;
    }

    .bw-header-logo {
        position: static !important;
        transform: none !important;
        justify-self: center;
        min-width: 0;
        z-index: 1;
    }

    .bw-header-logo a {
        gap: 4px !important;
        max-width: 92px;
        overflow: hidden;
    }

    .bw-header-logo img {
        height: 28px !important;
    }

    .bole-logo-text {
        font-size: 15px !important;
    }

    .bw-register-btn {
        display: none !important;
    }

    .bw-auth-btn,
    .bw-hdr-btn {
        min-width: 36px;
        height: 36px !important;
        padding: 0 10px !important;
        border-radius: 999px !important;
    }

    body.woocommerce.archive #content > .ast-container,
    body.post-type-archive-product #content > .ast-container,
    body.tax-product_cat #content > .ast-container {
        max-width: calc(100vw - 32px) !important;
        width: calc(100% - 32px) !important;
    }

    body.woocommerce.archive .bw-brand-filter-wrap,
    body.post-type-archive-product .bw-brand-filter-wrap,
    body.tax-product_cat .bw-brand-filter-wrap {
        margin-bottom: 22px !important;
        border-radius: 0 0 8px 8px !important;
    }

    body.woocommerce.archive .bw-brand-filter-inner,
    body.post-type-archive-product .bw-brand-filter-inner,
    body.tax-product_cat .bw-brand-filter-inner {
        height: 52px !important;
        padding: 0 12px !important;
    }

    body.woocommerce.archive .woocommerce-result-count,
    body.post-type-archive-product .woocommerce-result-count,
    body.tax-product_cat .woocommerce-result-count {
        float: left !important;
        max-width: calc(100% - 100px);
        margin-bottom: 14px !important;
        line-height: 36px;
        font-size: 13px;
    }

    body.woocommerce.archive .bw-view-switcher,
    body.post-type-archive-product .bw-view-switcher,
    body.tax-product_cat .bw-view-switcher {
        margin-bottom: 14px !important;
    }

    body.woocommerce.archive .woocommerce-ordering,
    body.post-type-archive-product .woocommerce-ordering,
    body.tax-product_cat .woocommerce-ordering {
        float: none !important;
        clear: both !important;
        width: 100% !important;
        margin: 0 0 18px !important;
    }

    body.woocommerce.archive .woocommerce-ordering select,
    body.post-type-archive-product .woocommerce-ordering select,
    body.tax-product_cat .woocommerce-ordering select {
        width: 100%;
        min-width: 0;
    }

    body.woocommerce.archive ul.products[data-view],
    body.post-type-archive-product ul.products[data-view],
    body.tax-product_cat ul.products[data-view] {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    body.woocommerce.archive ul.products li.product .astra-shop-summary-wrap,
    body.post-type-archive-product ul.products li.product .astra-shop-summary-wrap,
    body.tax-product_cat ul.products li.product .astra-shop-summary-wrap {
        padding: 9px 10px 11px !important;
    }

    body.woocommerce.archive ul.products li.product .woocommerce-loop-product__title,
    body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title,
    body.tax-product_cat ul.products li.product .woocommerce-loop-product__title {
        min-height: 36px;
        font-size: 12px !important;
        line-height: 1.42;
    }

    body.woocommerce.archive .bw-view-details-btn,
    body.post-type-archive-product .bw-view-details-btn,
    body.tax-product_cat .bw-view-details-btn {
        min-height: 36px;
        font-size: 11px !important;
        letter-spacing: 0.03em;
    }

    body.single-product .wdv2-main {
        margin-top: 24px !important;
    }

    body.single-product .wdv2-gallery-main {
        border-radius: 8px !important;
    }

    body.single-product .wdv2-product-title {
        font-size: 21px !important;
    }

    body.single-product .wdv2-detail-nav {
        align-items: flex-start !important;
        gap: 8px !important;
        padding: 8px !important;
        margin-bottom: 16px !important;
    }

    body.single-product .wdv2-detail-nav .wdv2-back-btn {
        min-height: 38px !important;
        padding: 0 12px 0 10px !important;
    }

    body.single-product .wdv2-detail-nav .wdv2-breadcrumb {
        padding-top: 9px !important;
        font-size: 12px !important;
    }

    body.single-product .wdv2-quote-modal {
        align-items: flex-end;
        padding: 12px;
    }

    body.single-product .wdv2-quote-modal-panel {
        width: 100%;
        padding: 24px 18px 18px;
    }

    body.single-product .wdv2-quote-actions {
        flex-direction: column-reverse;
    }

    body.single-product .wdv2-rv-card {
        flex-basis: 132px !important;
        width: 132px !important;
        min-width: 132px !important;
    }

    body.single-product .wdv2-rv-card-img {
        height: 96px !important;
    }

    .bw-cs-float {
        right: max(12px, env(safe-area-inset-right)) !important;
        bottom: max(14px, env(safe-area-inset-bottom)) !important;
        width: 54px !important;
        min-width: 54px !important;
        height: 54px !important;
        padding: 7px !important;
        gap: 0 !important;
        border-width: 2px !important;
    }

    .bw-cs-icon {
        width: 32px !important;
        height: 32px !important;
    }

    .bw-cs-label {
        display: none !important;
    }

    .bw-chat-popup {
        right: 12px !important;
        left: 12px !important;
        width: auto !important;
        bottom: 78px !important;
        max-height: calc(100vh - 110px) !important;
        border-radius: 8px !important;
    }
}

@media (max-width: 420px) {
    .bw-header-inner {
        grid-template-columns: auto minmax(58px, 1fr) auto;
        gap: 5px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .bw-header-left,
    .bw-header-right {
        gap: 4px !important;
    }

    .bw-hdr-btn,
    .bw-auth-btn {
        min-width: 34px;
        height: 34px !important;
        padding: 0 8px !important;
        font-size: 12px !important;
    }

    .bw-signin-btn {
        padding: 0 12px !important;
    }

    .bw-header-logo a {
        max-width: 78px;
    }

    .bw-header-logo img {
        height: 25px !important;
    }

    .bole-logo-text {
        font-size: 14px !important;
    }

    body.woocommerce.archive #content > .ast-container,
    body.post-type-archive-product #content > .ast-container,
    body.tax-product_cat #content > .ast-container {
        max-width: calc(100vw - 24px) !important;
        width: calc(100% - 24px) !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.woocommerce.archive ul.products li.product,
    body.post-type-archive-product ul.products li.product,
    body.tax-product_cat ul.products li.product,
    body.home ul.products li.product,
    .bw-cs-float {
        transition: none !important;
    }

    body.woocommerce.archive ul.products li.product:hover,
    body.post-type-archive-product ul.products li.product:hover,
    body.tax-product_cat ul.products li.product:hover,
    body.home ul.products li.product:hover {
        transform: none !important;
    }
}

.wdv2-gallery-main.bw-img-failed,
.wdv2-thumb.bw-img-failed,
.bw-modal-img-main.bw-img-failed,
.bw-modal-thumb.bw-img-failed,
.bw-pcard.bw-img-failed {
    position: relative;
    background:
        radial-gradient(ellipse at 50% 18%, rgba(216,189,121,.18), transparent 38%),
        linear-gradient(135deg, #101723 0%, #151b27 100%) !important;
}

.wdv2-gallery-main.bw-img-failed::before,
.bw-modal-img-main.bw-img-failed::before,
.bw-pcard.bw-img-failed::before {
    content: "Image pending";
    position: absolute;
    inset: auto 18px 18px 18px;
    z-index: 2;
    display: grid;
    place-items: center;
    min-height: 38px;
    border: 1px solid rgba(216,189,121,.28);
    border-radius: 999px;
    color: rgba(255,255,255,.76);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.wdv2-thumb.bw-img-failed::before,
.bw-modal-thumb.bw-img-failed::before {
    content: "";
    position: absolute;
    inset: 36%;
    border-radius: 50%;
    border: 1px solid rgba(216,189,121,.38);
}

/* Product detail navigation polish */
body.single-product .wdv2-detail-nav {
    max-width: 1500px !important;
    margin: 0 auto 18px !important;
    padding: 12px 14px !important;
    border: 1px solid rgba(17, 24, 39, .08) !important;
    border-radius: 14px !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.94), rgba(247,249,249,.9)),
        radial-gradient(circle at 0 0, rgba(216,189,121,.14), transparent 32%) !important;
    box-shadow: 0 18px 46px rgba(17,24,39,.08) !important;
}

body.single-product .wdv2-detail-nav .wdv2-back-btn {
    min-width: 112px !important;
    min-height: 44px !important;
    justify-content: center !important;
    border: 1px solid rgba(201,169,110,.62) !important;
    background:
        linear-gradient(180deg, #151b27, #0f1420) !important;
    color: #fff !important;
    box-shadow: 0 14px 28px rgba(17,24,39,.18) !important;
}

body.single-product .wdv2-detail-nav .wdv2-back-btn svg {
    color: #d8bd79 !important;
}

body.single-product .wdv2-detail-nav .wdv2-back-btn:hover {
    background: linear-gradient(180deg, #1b2332, #111827) !important;
    color: #fff !important;
}

body.single-product .wdv2-detail-nav .wdv2-breadcrumb {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-height: 44px !important;
    padding: 0 4px !important;
    color: #7c8491 !important;
}

body.single-product .wdv2-detail-nav .wdv2-breadcrumb a {
    color: #7c8491 !important;
    text-decoration: none !important;
}

body.single-product .wdv2-detail-nav .wdv2-breadcrumb .current {
    max-width: min(48vw, 680px) !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    color: #111827 !important;
}

@media (max-width: 768px) {
    body.single-product .wdv2-detail-nav {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        padding: 10px !important;
    }

    body.single-product .wdv2-detail-nav .wdv2-back-btn {
        width: fit-content !important;
        min-width: 104px !important;
    }

    body.single-product .wdv2-detail-nav .wdv2-breadcrumb {
        min-height: 0 !important;
        padding: 0 2px 2px !important;
        overflow-x: auto !important;
    }
}
