@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

@font-face {
    font-family: Abel;
    font-weight: 400;
    font-style: normal;
    font-display: fallback;
    src: url("../fonts/abel_n4.0254805ccf79872a96d53996a984f2b9039f9995%20(1).woff2") format("woff2"),
         url("../fonts/abel_n4.635ebaebd760542724b79271de73bae7c2091173.woff") format("woff");
}

@font-face {
    font-family: Manrope;
    font-weight: 400;
    font-style: normal;
    font-display: fallback;
    src: url("../fonts/manrope_n4.cd2363f838fb1ef03bdb07c829c7c992d417dd64.woff2") format("woff2"),
         url("../fonts/manrope_n4.08b75e0e22a3f7267f64ccf115e9fb6d79fc1ce7.woff") format("woff");
}

@font-face {
    font-family: Manrope;
    font-weight: 500;
    font-style: normal;
    font-display: fallback;
    src: url("../fonts/manrope_n5.8eac14e2b642faa6ca8f5a46c1b0b1ed4a42eee7.woff2") format("woff2"),
         url("../fonts/manrope_n5.ed324e5197c333656fb16f9a7e7ba4fa1168607c.woff") format("woff");
}

@font-face {
    font-family: Manrope;
    font-weight: 700;
    font-style: normal;
    font-display: fallback;
    src: url("../fonts/manrope_n7.f3a06f9634c15008fe4637ba89fefcc8a1b93fbd.woff2") format("woff2"),
         url("../fonts/manrope_n7.6dba97311355640bc9b07a590354f08bc8fcc79f.woff") format("woff");
}

@font-face {
    font-family: "Zen Old Mincho";
    font-weight: 400;
    font-style: normal;
    font-display: fallback;
    src: url("../fonts/zenoldmincho_n4.7e1b50b13d60400e208a9045c83c7f942d334b13.woff2") format("woff2"),
         url("../fonts/zenoldmincho_n4.2bc976195161eb2273775b1cb06c3cbd4a6500c6.woff") format("woff");
}

@font-face {
    font-family: "Melodrama";
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url("../fonts/Melodrama-Regular_11199e0b-86e1-4b85-ab50-aa8c9a826378.ttf") format("truetype");
}

/* Product heading font: Melodrama (Font-1762871564170 alias for compatibility) */
@font-face {
    font-family: "Font-1762871564170";
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url("../fonts/Melodrama-Regular_11199e0b-86e1-4b85-ab50-aa8c9a826378.ttf") format("truetype"),
         url("../fonts/product-heading.woff2") format("woff2"),
         url("../fonts/zenoldmincho_n4.7e1b50b13d60400e208a9045c83c7f942d334b13.woff2") format("woff2");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
    background: #ffffff;
    color: #000000;
    min-height: 100vh;
}

h1:not(.page-title):not(.product-detail-sku):not(.contact-page-title):not(.our-story-title):not(.login-page-heading):not(.auth-page-h1):not(.dashboard-eyebrow__title),
h2,
h4,
h5 {
    font-family: 'Poppins', system-ui, -apple-system, sans-serif !important;
    font-style: normal !important;
    color: rgb(26, 51, 0) !important;
}

/* Storefront H1 typography is set on body.customer-layout .customer-layout-main h1 (Melodrama, 42/50, 600). */
h1:not(.page-title):not(.product-detail-sku):not(.contact-page-title):not(.our-story-title):not(.login-page-heading):not(.auth-page-h1):not(.dashboard-eyebrow__title) {
    font-size: 42px !important;
    line-height: 50px !important;
    font-weight: 600 !important;
}

h2 {
    font-size: 32px !important;
    line-height: 40px !important;
    font-weight: 600 !important;
}

h3 {
    font-size: 20px !important;
    line-height: 36px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    font-family: manrope, sans-serif !important;
    text-transform: capitalize !important;
}

h4 {
    font-size: 24px !important;
    line-height: 32px !important;
    font-weight: 600 !important;
}

h5 {
    font-size: 20px !important;
    line-height: 28px !important;
    font-weight: 600 !important;
}

.page-subtitle,
p,
span,
label,
input,
select,
textarea,
.price-value,
.product-current-price,
.you-may-also-like-current,
.you-may-also-like-original {
    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
    text-transform: capitalize;
}

    /* Scope to main content only — header/footer buttons (e.g. profile Logout on #1a3300) must not get dark-on-dark text */
    .customer-layout-main button,
    .btn-add-to-cart,
    .btn-product-add,
    .btn-product-buy,
    .btn-cart-primary,
    .btn-cart-secondary,
    .search-submit-btn {
        font-family: 'Manrope', system-ui, -apple-system, sans-serif;
        font-weight: 400 !important;
        background: #f7f7f7;
        border: 1px solid #e8ece8;
        color: #1a3300 !important;
        text-transform: capitalize !important;
        text-decoration: none;
        
    }

/* Outlined CTAs (Add to cart family): beat generic .customer-layout-main button chrome */
.customer-layout-main .btn-add-to-cart,
.customer-layout-main .btn-cart-primary,
.customer-layout-main .btn-cart-secondary,
.customer-layout-main .btn-pay,
.customer-layout-main .btn-update-address,
.customer-layout-main .btn-product-add,
.customer-layout-main .btn-product-buy {
    font-weight: 500 !important;
    text-transform: none !important;
    background: #ffffff !important;
    color: #1a3300 !important;
    border: 1px solid #1a3300 !important;
    border-radius: 0.25rem;
    box-shadow: none !important;
}

.customer-layout-main .btn-add-to-cart:hover,
.customer-layout-main .btn-cart-primary:hover,
.customer-layout-main .btn-cart-secondary:hover,
.customer-layout-main .btn-pay:hover:not(:disabled),
.customer-layout-main .btn-update-address:hover:not(:disabled),
.customer-layout-main .btn-product-add:hover,
.customer-layout-main .btn-product-buy:hover {
    background: #0d1f00 !important;
    border-color: #0d1f00 !important;
    color: #ffffff !important;
}

.customer-layout-main .btn-add-to-cart:active,
.customer-layout-main .btn-cart-primary:active,
.customer-layout-main .btn-cart-secondary:active,
.customer-layout-main .btn-pay:active:not(:disabled),
.customer-layout-main .btn-update-address:active:not(:disabled),
.customer-layout-main .btn-product-add:active,
.customer-layout-main .btn-product-buy:active {
    background: #061800 !important;
    border-color: #061800 !important;
    color: #ffffff !important;
}

/*
 * Nivoda diamond search: White/Fancy and List/Grid are <button>s. The generic
 * .customer-layout-main button rule above wins over page-local .labgems-type-btn /
 * .view-btn (it uses color !important), which made inactive labels look washed out.
 */
.nivoda-diamonds-page .labgems-type-btn {
    font-weight: 600 !important;
    background: #fff !important;
    color: #0f172a !important;
    border: 1px solid rgb(24, 167, 39) !important;
}
.nivoda-diamonds-page .labgems-type-btn:hover {
    background: #f8faf8 !important;
    color: #0f172a !important;
    border-color: rgb(24, 167, 39) !important;
}
.nivoda-diamonds-page .labgems-type-btn.active {
    background: rgb(24, 167, 39) !important;
    border-color: rgb(24, 167, 39) !important;
    color: #fff !important;
}
.nivoda-diamonds-page .view-btn {
    font-weight: 600 !important;
    background: #fff !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
}
.nivoda-diamonds-page .view-btn:hover:not(.active) {
    background: #f8faf8 !important;
    color: #0f172a !important;
}
.nivoda-diamonds-page .view-btn.active {
    background: rgb(24, 167, 39) !important;
    border-color: rgb(24, 167, 39) !important;
    color: #fff !important;
}

/* Inventory / Nivoda: no overflow-x on page wrapper — it clips full-bleed .page-breadcrumb-wrap (100vw); contain overflow on inner sections if needed */
.cart-page {
    overflow-x: hidden;
}

/* Checkout: do not set overflow on .checkout-container — it breaks position:sticky on the order summary; use grid minmax(0,1fr) + min-width:0 */

/* Checkout — all h2: Manrope 21px (overrides global h2 Poppins 32px !important) */
.checkout-page h2 {
    font-family: 'Manrope', system-ui, -apple-system, sans-serif !important;
    font-size: 21px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
    font-style: normal !important;
    color: #1a3300 !important;
}

/* Checkout — Pay / confirm: same outline CTA as .btn-add-to-cart (inventory) */
.checkout-page .btn-pay {
    font-family: 'Manrope', system-ui, -apple-system, sans-serif !important;
    font-weight: 500 !important;
    width: 100%;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 0.25rem;
    border: 1px solid #1a3300 !important;
    color: #1a3300 !important;
    background: #ffffff !important;
    box-shadow: none !important;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    text-transform: none !important;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
    line-height: 1.35;
    transform: none !important;
}

.checkout-page .btn-pay:hover:not(:disabled) {
    color: #ffffff !important;
    background: #0d1f00 !important;
    border-color: #0d1f00 !important;
    box-shadow: none !important;
    transform: none !important;
}

.checkout-page .btn-pay:active:not(:disabled) {
    color: #ffffff !important;
    background: #061800 !important;
    border-color: #061800 !important;
    box-shadow: none !important;
    transform: none !important;
}

.checkout-page .btn-pay:focus-visible {
    outline: 2px solid #1a3300;
    outline-offset: 3px;
}

.checkout-page .btn-pay:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
    filter: grayscale(0.15);
}

/* Checkout — update address: Add-to-cart–style colors; Manrope to match checkout UI */
.checkout-page .btn-update-address {
    width: 100%;
    max-width: 100%;
    padding: 0.75rem 1.25rem;
    color: rgba(26, 51, 0, 1) !important;
    border: 1px solid rgba(26, 51, 0, 1) !important;
    background: rgba(255, 255, 255, 1) !important;
    border-radius: 0.25rem;
    font-size: 14px;
    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
    font-weight: 400 !important;
    font-style: normal;
    text-transform: none !important;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    text-decoration: none !important;
}

.checkout-page .btn-update-address:hover:not(:disabled) {
    background: #0d1f00 !important;
    border-color: #0d1f00 !important;
    color: #ffffff !important;
}

.checkout-page .btn-update-address:active:not(:disabled) {
    background: #061800 !important;
}

.checkout-page .btn-update-address:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}
/* Breadcrumb full-width uses padding cancellation (see .page-breadcrumb-wrap rules), not 100vw */

/* Keep header at top and footer at bottom; content in between */
body.customer-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
/* Fix header to top of viewport so it never appears below content */
body.customer-layout .customer-layout-header {
    order: 1 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    flex-shrink: 0;
    display: block !important;
    visibility: visible !important;
    width: 100%;
    z-index: 1001;
}
body.customer-layout .customer-layout-header .labgems-header {
    display: block !important;
    visibility: visible !important;
    width: 100%;
}
/* Reserve space for fixed header so breadcrumb and content start below it (generous to avoid overlap) */
body.customer-layout .customer-layout-main {
    order: 2 !important;
    flex: 1 0 auto;
    position: relative;
    padding-top: 136px !important;
}
/* On mobile the desktop nav is hidden – only the 86px top bar shows */
@media (max-width: 768px) {
    body.customer-layout .customer-layout-main {
        padding-top: 86px !important;
    }
}
body.customer-layout .customer-layout-footer {
    order: 3 !important;
    flex-shrink: 0;
}

/*
 * Header search overlay — product hits: exactly four per row on desktop.
 * Duplicated from partials/header inline CSS with higher specificity so stale cached HTML
 * cannot keep repeat(auto-fill, minmax(160px, 1fr)) (many narrow columns).
 */
#search-overlay-products.search-overlay-products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.875rem 1rem;
    margin-top: 0.5rem;
}
@media (max-width: 768px) {
    #search-overlay-products.search-overlay-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 400px) {
    #search-overlay-products.search-overlay-products {
        grid-template-columns: 1fr;
    }
}

/* Search overlay tiles: title + price centered (matches live LabGems) */
.search-overlay-product .search-overlay-product-info {
    text-align: center;
}
.search-overlay-product .search-overlay-product-name,
.search-overlay-product .search-overlay-product-price {
    text-align: center;
}
.search-overlay-product .search-overlay-product-name {
    -webkit-box-pack: center;
}

/* Footer - 4 columns, dark green, serif headings, newsletter */
.user-footer {
    position: relative;
    background: #1a3300;
    padding: 3rem 2rem 0rem;
    margin-top: auto;
    z-index: 1;
}
.footer-container {
    width: 100%;
    margin: 0 auto;
    padding: 28px 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 2rem 3rem;
    margin-bottom: 2rem;
}
.footer-col {
    min-width: 0;
}
.footer-heading {
    font-family: "Melodrama", "Zen Old Mincho", Georgia, serif;
    font-size: 35px;
    font-weight: 200;
    color: #ffffff;
    margin: 0 0 1rem;
    text-transform: none;
    letter-spacing: 0.02em;
}
.footer-brand .footer-logo-link {
    display: inline-block;
    margin-bottom: 1rem;
}
.footer-logo-image {
    /* height: 36px; */
    max-width: 220px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}
.footer-social a {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.footer-social {
    display: flex;
    gap: 1rem;
    align-items: center;
}
.footer-social-icon {
    color: #ffffff;
    opacity: 0.9;
    transition: opacity 0.2s;
}
.footer-social-icon:hover {
    opacity: 1;
}
.footer-social-icon svg {
    display: block;
}
.footer-links-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-links-list li {
    margin-bottom: 0.5rem;
}
.footer-links-list a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.875rem;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    transition: color 0.2s;
}
.footer-links-list a:hover {
    color: #ffffff;
}
.footer-contact {
    font-size: 0.875rem;
    font-family: "Montserrat", sans-serif;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}
.footer-contact-line {
    margin: 0 0 0.35rem;
}
.footer-contact-line a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}
.footer-contact-line a:hover {
    color: #ffffff;
    text-decoration: underline;
}
.footer-newsletter-text {
    margin: 0 0 0.75rem;
    font-size: 0.875rem;
    font-family: "Montserrat", sans-serif;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
}
.footer-newsletter-form {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.footer-newsletter-input {
    flex: 1 1 160px;
    min-width: 0;
    padding: 0.6rem 0.75rem;
    border: none;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-family: "Montserrat", sans-serif;
    background: #ffffff;
    color: #1a3300;
}
.footer-newsletter-input::placeholder {
    color: #333333;
}
.footer-newsletter-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}
.footer-newsletter-btn {
    padding: 0.6rem 1rem;
    border-radius: 4px;
    border: 0;
    background: #ffffff !important;
    color: #1a3300 !important;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: "Manrope", sans-serif;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.footer-newsletter-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #0d1f00;
}
.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
    font-family: "Montserrat", sans-serif;
}
.footer-copyright {
    margin: 0;
    font-family: Manrope, sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.6;
    text-align: center;
    padding: 6px 0 12px;
    font-size: 14px;
    opacity: 0.9;
    color: #ffffff;
}
.footer-meta {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .user-footer {
        padding: 2rem 1rem 1.5rem;
    }
}

.customer-content {
    /* padding: 2rem; */
    margin: 0 auto;
    width: 100%;
}

/* Customer storefront (layouts.customer): unified H1 — Melodrama + fixed scale */
body.customer-layout .customer-layout-main h1 {
    font-family: "Melodrama", "Font-1762871564170", "Zen Old Mincho", Georgia, serif !important;
    font-style: normal !important;
    font-weight: 600 !important;
    font-size: 42px !important;
    line-height: 50px !important;
    color: #1a3300 !important;
    letter-spacing: normal !important;
    text-transform: capitalize !important;
}

/* Uniform section spacing for all customer sections */
.customer-content section {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.customer-content section + section {
    /*margin-top: 30px !important;*/
}

/* Category grids on Contact + Our Story (beats .customer-content section margin: 0) */
.customer-content section.our-story-categories {
    margin-top: 48px !important;
    margin-bottom: 48px !important;
}

/* ========== Shared breadcrumb (Inventory-style bar on all customer pages) ========== */
.page-breadcrumb-wrap {
    background-color: #f2f2f2;
    padding: 10px;
    margin-top: 0;
    margin-bottom: 0.75rem;
    text-align: center;
    box-sizing: border-box;
}
/*
 * Full-width grey breadcrumb bar.
 * Avoid width:100vw + negative margins here: 100vw is scrollbar-gutter-wide on many browsers
 * and causes a persistent horizontal scrollbar on inventory and other customer pages.
 */
.inventory-page .page-breadcrumb-wrap,
.nivoda-diamonds-page .page-breadcrumb-wrap {
    width: auto;
    max-width: none;
    position: relative;
    left: auto;
    right: auto;
    margin-left: -1rem;
    margin-right: -1rem;
    box-sizing: border-box;
}

/* Product detail: breadcrumb is a sibling of .product-detail-page (see Blade) — span full main width */
.page-breadcrumb-wrap.page-breadcrumb-wrap--full-bleed {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    position: relative;
    left: auto;
    right: auto;
    box-sizing: border-box;
}

.contact-page .page-breadcrumb-wrap {
    width: auto;
    max-width: none;
    position: relative;
    left: auto;
    right: auto;
    margin-left: -1rem;
    margin-right: -1rem;
    box-sizing: border-box;
}

.page-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin: 0;
    font-size: 0.8em;
    font-weight: 600;
    font-family: "manrope", sans-serif;
    padding:0.6rem 1rem;
}
.page-breadcrumb a {
    color: #1a3300;
    text-decoration: none;
    font-weight: 600;
}
.page-breadcrumb a:hover {
    text-decoration: underline;
}
.page-breadcrumb .breadcrumb-sep {
    color: #333333;
    margin: 0 0.4rem;
    font-weight: 600;
}
.page-breadcrumb .breadcrumb-current {
    color: #1a3300;
    font-weight: 600;
}

/* Inventory Page Styles — match labgems.com (breadcrumb, collection title, sidebar, grid). No top padding: main already has header offset; avoids gap under fixed header. */
.inventory-page {
    padding: 0 1rem 2rem;
    /* margin: 0 auto; */
}

/* Page title: centered, large, bold, dark green (like live labgems.com) */
.inventory-page .page-header {
    margin: 30px 30px;
    text-align: center;
}
.inventory-page .inventory-collection-name {
    display: block;
}
.inventory-page .inventory-category-shipping-notice {
    margin: 0.5rem auto 0;
    max-width: 36rem;
    color: #767676;
    font-size: 16px;
    font-family: Manrope, sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.6;
}
.inventory-page .inventory-mm-size-overview {
    margin: 0.65rem auto 0;
    max-width: 36rem;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #111111;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0.5rem 0.85rem;
    letter-spacing: 0.01em;
}
/* Collection title: typography from body.customer-layout .customer-layout-main h1 */
.inventory-page .page-title.inventory-collection-title,
.inventory-page .inventory-collection-title.page-title {
    margin-top: 0;
    margin-bottom: 0.35rem;
}
.inventory-page .inventory-collection-title .inventory-collection-name {
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
}

.page-header {
    margin-bottom: 2rem;
}

.page-title {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .inventory-page .page-header {
        margin: 0.75rem 0.5rem 1rem;
    }
}

.page-subtitle {
    color: #666666;
    font-size: 1rem;
}

.filters-section {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.search-bar {
    flex: 1;
    min-width: 300px;
    display: flex;
    gap: 0.5rem;
}

.search-bar input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
    color: #000000;
    font-size: 0.875rem;
}

.search-bar input:focus {
    outline: none;
    border-color: #1a3300;
    background: rgba(0, 0, 0, 0.05);
}

.search-bar button {
    padding: 0.75rem 1.5rem;
    background: #f6f6f6;
    color: #0a0e27;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
}

.filters {
    display: flex;
    gap: 1rem;
}

.filters select,
.filter-select {
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
    color: #000000;
    font-size: 0.875rem;
    cursor: pointer;
    min-width: 180px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231a3300' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
}

.filters select:focus,
.filter-select:focus {
    outline: none;
    border-color: #1a3300;
    background-color: rgba(0, 0, 0, 0.05);
}

.filters select option,
.filter-select option {
    background: #ffffff;
    color: #000000;
    padding: 0.5rem;
}

/* Product listing grid: 4 columns like labgems.com */
.inventory-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem 1.75rem;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}

/* Infinite scroll: observer target below the grid */
.inventory-scroll-sentinel {
    height: 1px;
    margin-bottom: 2rem;
}

.inventory-grid .diamond-card {
    display: flex;
    flex-direction: column;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: hidden;
    transition: opacity 0.2s;
    box-shadow: none;
}

.inventory-grid .diamond-card:hover {
    opacity: 0.95;
}
.inventory-grid .diamond-card:has(.diamond-image--hover-swap):hover,
.inventory-grid .diamond-card:has(.diamond-image--hover-swap):focus-within {
    opacity: 1;
}

.diamond-card-clickable {
    cursor: pointer;
}

.diamond-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.diamond-card-link:hover {
    color: inherit;
}

/* Square image, centered (like live) */
.inventory-grid .diamond-image,
.inventory-grid .diamond-image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    /* background: #f5f5f5; */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.inventory-grid .diamond-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Category 3 (Melee parcel) inventory: hover / focus shows 2nd gallery image */
.inventory-grid .diamond-image.diamond-image--hover-swap {
    position: relative;
    display: block;
}
.inventory-grid .diamond-image--hover-swap .diamond-image-primary,
.inventory-grid .diamond-image--hover-swap .diamond-image-secondary {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.22s ease;
}
.inventory-grid .diamond-image--hover-swap .diamond-image-primary {
    z-index: 1;
    opacity: 1;
}
.inventory-grid .diamond-image--hover-swap .diamond-image-secondary {
    z-index: 2;
    opacity: 0;
    pointer-events: none;
}
.inventory-grid .diamond-card:hover .diamond-image--hover-swap .diamond-image-primary,
.inventory-grid .diamond-card:focus-within .diamond-image--hover-swap .diamond-image-primary {
    opacity: 0;
}
.inventory-grid .diamond-card:hover .diamond-image--hover-swap .diamond-image-secondary,
.inventory-grid .diamond-card:focus-within .diamond-image--hover-swap .diamond-image-secondary {
    opacity: 1;
}

.inventory-grid .diamond-image-placeholder {
    font-size: 3rem;
}

.inventory-grid .diamond-info {
    padding: 1.25rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    text-align: center;
}

/* Listing card headline (from meta_title when set, else SKU/specs) */
.inventory-grid .diamond-description {
    font-size: 15px;
    color: #000000;
    /* font-family: "Montserrat", sans-serif; */
    font-weight: 400;
    font-style: normal;
    text-transform: none;
    line-height: 1.4;
}

/* Price style - Montserrat 14px */
.inventory-grid .diamond-price {
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 14px;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-style: normal;
}
.inventory-grid .diamond-price .price-value {
    font-size: 14px;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #1a3300;
}
.inventory-grid .diamond-price .price-inline {
    justify-content: center;
}
.inventory-grid .diamond-price .price-inline .price-original,
.inventory-grid .diamond-price .price-inline .price-value.price-sale {
    font-size: 14px;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-style: normal;
}

/* Tier price split: Regular / Discounted / Member */
.price-tier-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    width: 100%;
    text-align: left;
    font-family: "Montserrat", sans-serif;
    font-size: 0.75rem;
    line-height: 1.35;
    color: #374151;
}
.inventory-grid .diamond-price .price-tier-breakdown {
    font-size: 14px;
    text-align: center;
    align-items: center;
}
.price-tier-row {
    display: flex;
    /* justify-content: space-between; */
    align-items: baseline;
    gap: 0.5rem;
    width: 100%;
    font-size: 1.05rem;
        line-height: 22px;
}
.price-tier-row--detailed {
    
    align-items: center;
    gap: 0.75rem;
}
.price-tier-row.price-tier-catalog {
    justify-content: flex-end;
    gap: 0.3rem;
}
.inventory-grid .diamond-price .price-tier-row {
    justify-content: center;
    flex-wrap: wrap;
    column-gap: 0.35rem;
}
.inventory-grid .diamond-price .price-tier-row--detailed {
    justify-content: space-between;
    flex-wrap: nowrap;
}
.inventory-grid .diamond-price .price-tier-row--detailed .price-tier-strike {
    margin-right: 5px;
    text-decoration: line-through;
    color: #969595;
}
.inventory-grid .diamond-price .price-tier-row--discount .price-tier-value {
    text-decoration: line-through !important;
    text-decoration-thickness: 1px;
    text-decoration-color: #969595;
}
.inventory-grid .diamond-price .price-tier-row--discount .price-tier-value {
    margin-right: 5px;
    color: #969595;
}
.inventory-grid .diamond-price .price-tier-row.price-tier-catalog {
    justify-content: center;
    width: 100%;
}
.price-tier-label {
    font-weight: 500;
    color: #6b7280;
    flex-shrink: 0;
    text-transform: none;
}
.price-tier-value {
    font-weight: 500;
    color: #111827;
    text-align: right;
}
.price-tier-strike {
    text-decoration: line-through;
    font-weight: 500;
    color: #9ca3af;
}
.price-tier-highlight {
    color: #1a3300;
    font-size: 14px;
}
.product-detail-pricing .price-tier-breakdown {
    font-size: 1rem;
    max-width: 24rem;
    margin-top: 0.35rem;
}
.product-detail-pricing .price-tier-row.price-tier-catalog {
    justify-content: flex-start;
    gap: 0.5rem 0.75rem;
}
.product-detail-pricing .price-tier-row.price-tier-catalog .price-tier-value {
    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
    font-size: 1.125rem;
    line-height: 1.35;
    font-weight: 600;
}
.product-detail-pricing .price-tier-strike {
    font-size: 1.05rem;
}
.product-detail-pricing .price-tier-highlight {
    font-size: 1.0625rem;
}
.product-detail-pricing .price-tier-label {
    font-size: 0.9375rem;
}
.product-detail-pricing .price-tier-row--detailed {
    flex-wrap: nowrap;
}
.product-detail-pricing .price-tier-row--discount .price-tier-value {
    margin-right: 5px;
    text-decoration: line-through;
    text-decoration-thickness: 1px;
    text-decoration-color: #9ca3af;
    color: #9ca3af;
}

/* PDP: compact pricing reads left-to-right (listing cards stay centered in grid) */
.product-detail-pricing .price-tier-breakdown {
    max-width: none;
    align-items: flex-start;
}

/* PDP compact: sale (left) + strike (right); 10px member label only under sale (column-reverse) */
.product-detail-pricing .price-tier-breakdown--compact {
    margin-top: 0.35rem;
    padding: 0;
    max-width: none;
    border: none;
    background: none;
    box-shadow: none;
    box-sizing: border-box;
}

.product-detail-pricing .price-tier-breakdown--compact .price-tier-compact-pair {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0px;
    width: 100%;
    max-width: 100%;
}

/* DOM: label then highlight — reverse column so price is on top, label tucked under it */
.product-detail-pricing .price-tier-breakdown--compact .price-tier-compact-member {
    order: 1;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    text-align: left;
    gap: 0.1rem;
}

/* PDP compact pair: member price and compare (strike) use identical type scale/weight */
.product-detail-pricing .price-tier-breakdown--compact .price-tier-compact-pair .price-tier-value {
    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
    font-size: 20px;
    line-height: 24px;
    font-weight: 400;
    letter-spacing: 0.01em;
    text-align: left;
}

.product-detail-pricing .price-tier-breakdown--compact .price-tier-strike {
    order: 2;
    flex-shrink: 0;
    color: #9ca3af;
    text-decoration: line-through;
}

.product-detail-pricing .price-tier-breakdown--compact .price-tier-compact-member .price-tier-label {
    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 500;
    color: #64748b !important;
    letter-spacing: 0.02em;
    max-width: 12rem;
}

.product-detail-pricing .price-tier-breakdown--compact .price-tier-highlight {
    color: #1a3300;
}

.checkout-page .order-item-summary .price-tier-breakdown {
    font-size: 0.72rem;
    margin-top: 0.35rem;
    max-width: 14rem;
}
.checkout-page .item-qty-price--stacked {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    text-align: right;
}
.checkout-page .checkout-item-line-total {
    font-weight: 600;
    margin-top: 0.15rem;
}
.price-tier-breakdown--modal {
    font-size: 0.8125rem;
    margin-top: 0.2rem;
}
/* ── Nivoda / LabGems grid cards (live labgems.com product tile) ── */
#nivodaGrid.inventory-grid .nivoda-diamond-card.labgems-product-card,
.nivoda-diamonds-page #nivodaGrid .nivoda-diamond-card.labgems-product-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

#nivodaGrid .nivoda-diamond-card .card-image-wrap,
#nivodaGrid .nivoda-diamond-card .diamond-image.card-image-wrap,
#nivodaGrid .nivoda-diamond-card a.diamond-image.card-image-wrap.nivoda-card-image-link {
    position: relative;
    width: 100%;
    height: 225px;
    aspect-ratio: auto;
    padding: 0;
    overflow: hidden;
    border-radius: 4px 4px 0 0;
    /* Fallback when JS cannot sample the photo (e.g. no CORS on image host); typical Nivoda-style grey */
    background-color: rgb(185, 187, 184);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#nivodaGrid .nivoda-diamond-card a.diamond-image.card-image-wrap.nivoda-card-image-link {
    text-decoration: none;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}

#nivodaGrid .nivoda-diamond-card a.diamond-image.card-image-wrap.nivoda-card-image-link:focus-visible {
    outline: 2px solid #1a3300;
    outline-offset: 2px;
    z-index: 1;
}

#nivodaGrid .nivoda-diamond-card .card-image-wrap img,
#nivodaGrid .nivoda-diamond-card .diamond-image.card-image-wrap img,
#nivodaGrid .nivoda-diamond-card a.diamond-image.card-image-wrap.nivoda-card-image-link img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

#nivodaGrid .nivoda-diamond-card .card-discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
    background: #dc2626;
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.28rem 0.5rem;
    border-radius: 2px;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

#nivodaGrid .nivoda-diamond-card .diamond-info {
    padding: 1rem 0.9rem 1.05rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    gap: 0.45rem;
    flex: 1 1 auto;
    min-height: 0;
    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
}

#nivodaGrid .nivoda-diamond-card .diamond-description {
    font-size: 19px;
    font-weight: 400;
    color: #1a3300;
    line-height: 27px;
    margin: 0;
    text-align: left;
}

#nivodaGrid .nivoda-diamond-card a.diamond-description.nivoda-card-title-link {
    color: inherit;
    text-decoration: none;
    display: block;
}

#nivodaGrid .nivoda-diamond-card a.diamond-description.nivoda-card-title-link:hover {
    text-decoration: underline;
    color: inherit;
}

/* Nivoda full-page product detail (live LABGEMS–style PDP; accents = PDP CTA green) */
.nivoda-diamond-detail-page {
    --nivoda-pdp-cta: #1db954;
    --nivoda-pdp-cta-hover: #17a347;
    --nivoda-pdp-cta-soft: rgba(29, 185, 84, 0.1);
    --nivoda-pdp-header-green: #20360b;
    --nivoda-pdp-discount-red: #dc2626;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.25rem 3.5rem;
}

/* PDP breadcrumb: same as inventory / listing — full-width #f2f2f2 bar, dark links, current #20360b, text aligned to content width */
.nivoda-diamond-detail-page > .page-breadcrumb-wrap.nivoda-pdp-breadcrumb-wrap {
    background-color: #f2f2f2;
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 0;
    margin-bottom: 0.75rem;
    padding: 10px 0;
    box-sizing: border-box;
    text-align: center;
    border: 0;
}

.nivoda-diamond-detail-page > .nivoda-pdp-breadcrumb-wrap .page-breadcrumb {
    margin-left: auto;
    margin-right: auto;
    max-width: 1280px;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    box-sizing: border-box;
    font-size: 0.8em;
    font-weight: 600;
    font-family: "manrope", sans-serif;
}

.nivoda-diamond-detail-page > .nivoda-pdp-breadcrumb-wrap .page-breadcrumb .breadcrumb-sep {
    color: #333333;
}

.nivoda-diamond-detail-page > .nivoda-pdp-breadcrumb-wrap .page-breadcrumb .breadcrumb-current {
    color: var(--nivoda-pdp-header-green);
}

.nivoda-diamond-detail-page > .nivoda-pdp-breadcrumb-wrap .page-breadcrumb a {
    color: #333333;
    text-decoration: none;
    font-weight: 600;
}

.nivoda-diamond-detail-page > .nivoda-pdp-breadcrumb-wrap .page-breadcrumb a:hover {
    text-decoration: underline;
    color: var(--nivoda-pdp-header-green);
}

.nivoda-pdp-back {
    margin: 0 0 1rem;
}

.nivoda-pdp-back-link {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--nivoda-pdp-cta);
    text-decoration: none;
}

.nivoda-pdp-back-link:hover {
    text-decoration: underline;
    color: var(--nivoda-pdp-cta-hover);
}

.nivoda-pdp-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: 2.25rem 3rem;
    align-items: start;
    margin-top: 0.65rem;
}

@media (max-width: 900px) {
    .nivoda-pdp-layout {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
}

.nivoda-pdp-image-frame {
    border-radius: 10px;
    background: rgb(185, 187, 184);
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 1.25rem;
    box-sizing: border-box;
}

.nivoda-pdp-image-frame--empty {
    min-height: 300px;
}

.nivoda-pdp-image {
    max-width: 100%;
    max-height: 480px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.nivoda-pdp-video {
    margin: 0.85rem 0 0;
    font-size: 0.9375rem;
}

.nivoda-pdp-video a {
    color: var(--nivoda-pdp-cta);
    font-weight: 600;
    text-decoration: none;
}

.nivoda-pdp-video a:hover {
    text-decoration: underline;
    color: var(--nivoda-pdp-cta-hover);
}

.nivoda-pdp-main {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
}

.nivoda-pdp-main-head {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.nivoda-pdp-discount-badge {
    display: inline-block;
    align-self: flex-start;
    background: var(--nivoda-pdp-discount-red);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.55rem;
    border-radius: 4px;
    margin-bottom: 0.75rem;
    letter-spacing: 0.02em;
}

.nivoda-pdp-title {
    margin: 0 0 0.6rem;
}

.nivoda-pdp-meta {
    margin: 0 0 1.1rem;
    font-size: 0.9375rem;
    color: #475569;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
}

.nivoda-pdp-meta strong {
    color: #0f172a;
    font-weight: 700;
}

.nivoda-pdp-meta-icon {
    color: var(--nivoda-pdp-cta);
    margin-right: 0.15rem;
    font-size: 0.85em;
}

.nivoda-pdp-cert-box {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    padding: 1rem 1.15rem;
    margin-bottom: 1.35rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.nivoda-pdp-cert-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nivoda-pdp-igi-mark {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    display: block;
    object-fit: contain;
    border-radius: 8px;
}

.nivoda-pdp-cert-copy {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.nivoda-pdp-cert-label {
    font-weight: 700;
    color: #0f172a;
    font-size: 1rem;
    font-family: "Manrope", system-ui, -apple-system, sans-serif;
}

.nivoda-pdp-cert-num {
    font-size: 0.8125rem;
    color: #64748b;
}

.nivoda-pdp-price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    margin-bottom: 0;
    padding-bottom: 1.35rem;
    border-bottom: 1px solid #e2e8f0;
}

.nivoda-pdp-price-labels {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.nivoda-pdp-price-title {
    font-size: 1rem;
    color: #0f172a;
    font-weight: 700;
    font-family: "Manrope", system-ui, -apple-system, sans-serif;
}

.nivoda-pdp-price-sub {
    font-size: 0.8125rem;
    color: #64748b;
}

.nivoda-pdp-price-values {
    text-align: right;
    min-width: 0;
    flex: 1 1 auto;
}

/* PDP price stack (live: large EUR line, struck compare + red % below) */
.nivoda-pdp-price-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
    font-family: "Manrope", system-ui, -apple-system, sans-serif;
}

.nivoda-pdp-price-hero {
    font-size: clamp(1.5rem, 2.8vw, 1.85rem);
    font-weight: 700;
    color: #0f172a;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.nivoda-pdp-price-compare-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem 0.65rem;
}

.nivoda-pdp-price-was {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #94a3b8;
    text-decoration: line-through;
}

.nivoda-pdp-price-discount-pct {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--nivoda-pdp-discount-red);
}

.nivoda-pdp-price-member-note {
    margin: 0.15rem 0 0;
    font-size: 0.8125rem;
    color: #64748b;
    font-weight: 500;
}

@media (max-width: 520px) {
    .nivoda-pdp-price-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .nivoda-pdp-price-values {
        align-self: stretch;
        text-align: left;
    }

    .nivoda-pdp-price-stack {
        align-items: flex-start;
    }

    .nivoda-pdp-price-compare-row {
        justify-content: flex-start;
    }
}

.nivoda-pdp-cta {
    margin-top: 1.35rem;
    margin-bottom: 0.25rem;
}

.nivoda-pdp-cta .nivoda-add-to-cart-form {
    width: 100%;
    max-width: none;
}

.nivoda-pdp-add-btn,
.nivoda-pdp-cta .nivoda-add-to-cart-form button.nivoda-pdp-add-btn {
    width: 100%;
    display: block;
    box-sizing: border-box;
    padding: 0.95rem 1.35rem;
    border: none;
    border-radius: 6px;
    background: var(--nivoda-pdp-cta);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    text-align: center;
    box-shadow: 0 2px 8px rgba(29, 185, 84, 0.28);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.nivoda-pdp-add-btn:hover,
.nivoda-pdp-cta .nivoda-add-to-cart-form button.nivoda-pdp-add-btn:hover {
    background: var(--nivoda-pdp-cta-hover);
    box-shadow: 0 4px 14px rgba(29, 185, 84, 0.35);
    filter: none;
}

.nivoda-pdp-add-btn:active,
.nivoda-pdp-cta .nivoda-add-to-cart-form button.nivoda-pdp-add-btn:active {
    transform: translateY(1px);
}

.nivoda-pdp-add-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

/* Diamond details: accordion look (live LABGEMS); default open via <details open> */
.nivoda-pdp-details-accordion {
    margin-top: 2rem;
    /* border: 1px solid #e5e7eb; */
    border-radius: 10px;
    background: #fcfcfc;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.nivoda-pdp-details-summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0;
    padding: 1rem 1.15rem;
    font-family: "Manrope", system-ui, -apple-system, sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #0f172a;
    background: #fff;
    box-sizing: border-box;
    user-select: none;
}

.nivoda-pdp-details-summary::-webkit-details-marker {
    display: none;
}

.nivoda-pdp-details-summary::marker {
    content: "";
}

.nivoda-pdp-details-summary::after {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-right: 2px solid #94a3b8;
    border-bottom: 2px solid #94a3b8;
    transform: translateY(-0.1em) rotate(45deg);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.nivoda-pdp-details-accordion[open] .nivoda-pdp-details-summary {
    /* border-bottom: 1px solid #e5e7eb; */
}

.nivoda-pdp-details-accordion[open] .nivoda-pdp-details-summary::after {
    transform: translateY(0.15em) rotate(225deg);
}

.nivoda-pdp-details-summary:hover {
    color: #1e293b;
}

.nivoda-pdp-details-summary:hover::after {
    border-right-color: #64748b;
    border-bottom-color: #64748b;
}

.nivoda-pdp-details-panel {
    background: #fff;
}

.nivoda-pdp-details-accordion .nivoda-pdp-specs {
    margin: 0;
    padding: 1.25rem 1.2rem 1.4rem;
    display: grid;
    gap: 0.85rem 1.25rem;
    font-size: 0.9375rem;
}

.nivoda-pdp-details-accordion .nivoda-pdp-specs > div {
    display: grid;
    grid-template-columns: minmax(7.5rem, 10.5rem) 1fr;
    gap: 0.85rem 1.5rem;
    align-items: baseline;
}

.nivoda-pdp-details-accordion .nivoda-pdp-specs dt {
    margin: 0;
    font-weight: 500;
    color: #64748b;
    font-size: 0.9375rem;
}

.nivoda-pdp-details-accordion .nivoda-pdp-specs dd {
    margin: 0;
    color: #0f172a;
    font-weight: 400;
    line-height: 1.45;
}

/* Nivoda PDP — Diamond details: compact key / value rows on phone (no stacked label-over-value) */
@media (max-width: 768px) {
    .nivoda-pdp-details-accordion {
        margin-top: 1.35rem;
        border-radius: 8px;
    }
    .nivoda-pdp-details-summary {
        padding: 0.85rem 1rem;
        font-size: 0.9375rem;
    }
    .nivoda-pdp-details-accordion .nivoda-pdp-specs {
        padding: 0.65rem 0.85rem 1rem;
        gap: 0;
        font-size: 0.875rem;
    }
    .nivoda-pdp-details-accordion .nivoda-pdp-specs > div {
        display: grid;
        grid-template-columns: minmax(5.75rem, 40%) minmax(0, 1fr);
        column-gap: 0.65rem;
        row-gap: 0.15rem;
        align-items: start;
        padding: 0.55rem 0;
        border-bottom: 1px solid #f1f5f9;
    }
    .nivoda-pdp-details-accordion .nivoda-pdp-specs > div:last-child {
        border-bottom: none;
        padding-bottom: 0.15rem;
    }
    .nivoda-pdp-details-accordion .nivoda-pdp-specs dt {
        font-size: 0.8125rem;
        font-weight: 500;
        color: #969595;
        line-height: 1.35;
    }
    .nivoda-pdp-details-accordion .nivoda-pdp-specs dd {
        font-size: 0.875rem;
        font-weight: 500;
        color: #0f172a;
        line-height: 1.35;
        text-align: right;
        word-break: break-word;
    }
}

#nivodaGrid .nivoda-diamond-card .card-specs {
    font-size: 12px;
    line-height: 18px;
    color: #232439;
    margin: 0;
    text-align: left;
}

#nivodaGrid .nivoda-diamond-card .card-specs span:not(:last-child)::after {
    content: ', ';
}

#nivodaGrid .nivoda-diamond-card .card-specs .card-spec-value,
#nivodaGrid .diamond-list-view .list-card-specs .card-spec-value {
    font-weight: 700;
}

#nivodaGrid .nivoda-diamond-card .nivoda-card-price-cert-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.65rem;
    width: 100%;
    margin-top: 0.15rem;
}

#nivodaGrid .nivoda-diamond-card .nivoda-card-price-cert-row .diamond-price {
    flex: 1;
    min-width: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
}

#nivodaGrid .nivoda-diamond-card .nivoda-card-cert {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    max-width: 44%;
    font-size: 0.75rem;
    line-height: 1.35;
    color: #64748b;
    text-align: right;
    padding-top: 0.1rem;
}

#nivodaGrid .nivoda-diamond-card .nivoda-card-cert-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: #000000;
    display: block;
}

.nivoda-diamond-card .price-tier-breakdown,
.labgems-product-card .price-tier-breakdown {
    font-size: 0.875rem;
    text-align: left;
    align-items: flex-start;
    width: 100%;
}

/* Beat .inventory-grid .diamond-price centering on Nivoda cards */
#nivodaGrid .nivoda-diamond-card .diamond-price .price-tier-breakdown {
    text-align: left;
    align-items: flex-start;
}

#nivodaGrid .nivoda-diamond-card .diamond-price .price-tier-row {
    justify-content: flex-start;
}

#nivodaGrid .nivoda-diamond-card .diamond-price .price-tier-value {
    text-align: left;
}

.nivoda-diamond-card .price-tier-row,
.labgems-product-card .price-tier-row {
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 100%;
}

#nivodaGrid .nivoda-diamond-card .price-tier-row.price-tier-catalog {
    justify-content: flex-start;
    gap: 0.35rem 0.5rem;
}

/* Catalog row: current price dark + old price muted struck-through (live-style) */
#nivodaGrid .nivoda-diamond-card .price-tier-row.price-tier-catalog .price-tier-value:not(.price-tier-strike) {
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    color: #232439;
    text-decoration: none;
}

#nivodaGrid .nivoda-diamond-card .price-tier-row.price-tier-catalog .price-tier-value.price-tier-strike {
    font-size:14px;
    font-weight: 400;
    color: #9ca3af;
    text-decoration: line-through;
    line-height: 18px;
}

/* Nivoda listing (live): line 1 = sale price; line 2 = struck list + red % */
#nivodaGrid .nivoda-diamond-card .price-tier-row.price-tier-catalog--nivoda-live,
#nivodaGrid .diamond-list-view .price-tier-row.price-tier-catalog--nivoda-live {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.12rem 0;
}

#nivodaGrid .diamond-list-view .list-col-price .price-tier-row.price-tier-catalog--nivoda-live {
    align-items: flex-end;
    text-align: right;
}

#nivodaGrid .nivoda-diamond-card .price-tier-nivoda-compare,
#nivodaGrid .diamond-list-view .price-tier-nivoda-compare {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem;
}

#nivodaGrid .nivoda-diamond-card .price-tier-discount-pct,
#nivodaGrid .diamond-list-view .price-tier-discount-pct {
    font-size: 0.875rem;
    font-weight: 600;
    color: #dc2626;
    white-space: nowrap;
}

#nivodaGrid .diamond-list-view .list-col-price .nivoda-list-price-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 100%;
    text-align: right;
}

#nivodaGrid .diamond-list-view .list-card-price-block:has(.price-tier-catalog--nivoda-live) {
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

#nivodaGrid .diamond-list-view .list-card-price-block .price-tier-breakdown {
    width: auto;
    max-width: 100%;
    text-align: right;
    align-items: flex-end;
}

#nivodaGrid .diamond-list-view .price-tier-row.price-tier-catalog .price-tier-value:not(.price-tier-strike) {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    color: #0f172a;
}

#nivodaGrid .diamond-list-view .price-tier-row.price-tier-catalog .price-tier-value.price-tier-strike {
    font-size: 0.875rem;
    font-weight: 400;
    color: #9ca3af;
    text-decoration: line-through;
}

#nivodaGrid .nivoda-diamond-card .price-tier-strike {
    font-size: 0.8125rem;
}

#nivodaGrid .nivoda-diamond-card .price-tier-row.price-tier-member {
    justify-content: flex-start;
    text-align: left;
}

#nivodaGrid .nivoda-diamond-card .price-tier-row.price-tier-member .price-tier-label {
    font-size: 0.75rem;
    text-align: left;
}

#nivodaGrid .nivoda-diamond-card .price-tier-row.price-tier-member .price-tier-value.price-tier-highlight {
    font-size: 0.875rem;
    text-align: left;
}

#nivodaGrid .nivoda-diamond-card .price-tier-breakdown--compact .price-tier-compact-pair {
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
}

#nivodaGrid .nivoda-diamond-card .price-tier-breakdown--compact .price-tier-compact-member {
    align-items: flex-start;
    text-align: left;
}

/* Compact mode on Nivoda cards: hide member label and show only two prices */
#nivodaGrid .nivoda-diamond-card .price-tier-breakdown--compact .price-tier-compact-member--no-label {
    flex-direction: row;
    align-items: baseline;
    justify-content: flex-start;
    gap: 0;
}

#nivodaGrid .nivoda-diamond-card .price-tier-breakdown--compact .price-tier-highlight {
    font-size: 1.1875rem;
    font-weight: 700;
    line-height: 1.2;
    color: #0f172a;
}

/* Nivoda card: full-width Add to cart */
#nivodaGrid .nivoda-diamond-card .diamond-actions {
    margin-top: auto;
    width: 100%;
    display: flex;
    justify-content: stretch;
    align-items: stretch;
    align-self: stretch;
    padding-top: 0.35rem;
}

#nivodaGrid .nivoda-diamond-card .nivoda-add-to-cart-form {
    display: block;
    width: 100%;
    min-width: 0;
    flex: 1 1 100%;
}

#nivodaGrid .nivoda-diamond-card .nivoda-add-to-cart-form .btn-add-to-cart,
#nivodaGrid .nivoda-diamond-card .nivoda-add-to-cart-form button.btn-add-to-cart {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-top: 0.35rem;
    padding: 0.72rem 1rem;
    border: 1px solid #1a3300;
    background: #ffffff;
    color: #1a3300;
    text-align: center;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

#nivodaGrid .nivoda-diamond-card .nivoda-add-to-cart-form .btn-add-to-cart:hover,
#nivodaGrid .nivoda-diamond-card .nivoda-add-to-cart-form button.btn-add-to-cart:hover {
    background: #1a3300;
    color: #ffffff;
    border-color: #1a3300;
}

#nivodaGrid .nivoda-diamond-card .nivoda-add-to-cart-form .btn-add-to-cart:disabled,
#nivodaGrid .nivoda-diamond-card .nivoda-add-to-cart-form button.btn-add-to-cart:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.nivoda-image-fallback {
    display: none !important;
    align-items: center;
    justify-content: center;
    background: rgba(26, 51, 0, 0.05);
    font-size: 3rem;
}

.nivoda-image-fallback.visible {
    display: flex !important;
}

/* Compact card pricing: original (strike) + member only — no middle catalog price */
.price-tier-breakdown--compact .price-tier-compact-pair {
    justify-content: center;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
    row-gap: 0.15rem;
}
.price-tier-breakdown--compact .price-tier-compact-member {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.05rem;
    text-align: center;
}
.price-tier-breakdown--compact .price-tier-compact-member .price-tier-label {
    font-size: 14px;
    line-height: 1.2;
    max-width: 9rem;
}
/* Live listing: compare + price on one horizontal line, centered */
.inventory-grid .diamond-price .price-tier-breakdown--compact .price-tier-compact-pair {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    column-gap: 0.5rem;
    row-gap: 0.15rem;
    width: 100%;
}
.inventory-grid .diamond-price .price-tier-breakdown--compact .price-tier-compact-member {
    align-items: baseline;
}
/* Inventory tiles: member price without "Silver member price" line */
.inventory-grid .diamond-price .price-tier-compact-member--no-label {
    flex-direction: row;
    align-items: baseline;
    justify-content: center;
    gap: 0;
}

.inventory-grid .diamond-actions {
    margin-top: auto;
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Cart btn - match .spf-product-card__template-5 button.spf-product__form-btn-addtocart */
/* .inventory-grid .btn-add-to-cart,
.inventory-grid .add-to-cart-form .btn-add-to-cart {
    flex: 1 1 auto;
    margin-bottom: 5px;
    margin-left: 5px;
    padding: 0 5px;
    width: auto;
    min-width: 120px;
    background: rgba(255, 255, 255, 1);
    border: 1px solid rgba(26, 51, 0, 1);
    color: rgba(26, 51, 0, 1);
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
} */

.inventory-grid .btn-add-to-cart:hover {
    color: #ffffff !important;
    border: 1px solid #1a3300 !important;
    background: rgba(26, 51, 0, 1) !important;
}

.inventory-grid .btn-add-to-cart:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.inventory-grid .diamond-actions a.btn-add-to-cart,
.inventory-grid .diamond-actions a.btn-view-options {
    display: block;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}

/* Fallback for non-inventory diamond cards */
.diamond-image {
    width: 100%;
    height: 200px;
    /* background: rgba(0, 0, 0, 0.02); */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.diamond-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.diamond-image-placeholder {
    width: 100%;
    height: 200px;
    /* background: rgba(26, 51, 0, 0.05); */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.diamond-info {
    padding: 1.5rem;
}

.diamond-sku {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a3300;
    margin-bottom: 1rem;
}

a.diamond-sku {
    text-decoration: none;
    display: inline-block;
}

a.diamond-sku:hover {
    text-decoration: underline;
    color: #2d4d00;
}

.diamond-specs {
    margin-bottom: 1rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.spec-label {
    color: #666666;
}

.spec-value {
    color: #000000;
    font-weight: 500;
}

.diamond-price {
    margin-bottom: 1rem;
}
.price-inline {
    display: inline-flex;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.price-inline .price-original {
    font-size: 0.9375rem;
    color: #6b7280;
    text-decoration: line-through;
    font-weight: 400;
}
.price-inline .price-value.price-sale {
    font-size: 1.125rem;
    font-weight: 600;
    color: #0f172a;
}

.price-label {
    color: #666666;
    font-size: 0.875rem;
}

.price-value {
    color: #1a3300;
    font-size: 1.25rem;
    font-weight: 700;
}

.tiered-pricing {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: rgba(26, 51, 0, 0.03);
    border-radius: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.tiered-pricing-label {
    font-size: 0.75rem;
    color: #666666;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.tiered-pricing-list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.tier-item {
    font-size: 0.75rem;
    color: #333333;
    display: flex;
    justify-content: space-between;
}

.tier-price {
    color: #1a3300;
    font-weight: 600;
}

.tiered-pricing-display {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    padding: 0.75rem;
}

.tier-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: #333333;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.tier-row:last-child {
    border-bottom: none;
}

.tier-row.active-tier {
    background: rgba(26, 51, 0, 0.1);
    border-radius: 0.25rem;
    padding: 0.5rem;
    margin: 0 -0.5rem;
    color: #1a3300;
    font-weight: 600;
}

.tier-range {
    color: #666666;
}

.tier-price-value {
    color: #1a3300;
    font-weight: 600;
}

.tier-row.active-tier .tier-range,
.tier-row.active-tier .tier-price-value {
    color: #1a3300;
}

.diamond-stock {
    margin-bottom: 1rem;
}

.stock-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.stock-in {
    background: rgba(74, 222, 128, 0.2);
    color: #4ade80;
}

.stock-low {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.stock-out {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.btn-purchase {
    flex: 1;
    min-width: 100px;
    padding: 0.75rem 1rem;
    background: #f6f6f6;
    color: #0a0e27;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-purchase:hover {
    background: #f59e0b;
    transform: translateY(-2px);
}

.btn-purchase:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

.diamond-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.75rem;
    align-items: stretch;
}

.add-to-cart-form {
    display: flex;
    width: 100%;
    min-width: 0;
}

/* Add To Cart — white + #1a3300 border (LABGEMS inventory CTA) */
.btn-add-to-cart {
    width: 100%;
    padding: 0.75rem 1.25rem;
    color: rgba(26, 51, 0, 1) !important;
    border: 1px solid rgba(26, 51, 0, 1) !important;
    background: rgba(255, 255, 255, 1) !important;
    border-radius: 0.25rem;
    font-size: 14px;
    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
    font-weight: 500;
    font-style: normal;
    text-transform: capitalize;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    text-transform: none;
    letter-spacing: 0.02em;
}

.btn-add-to-cart:hover {
    background: #0d1f00;
    border-color: #0d1f00;
    color: #ffffff;
}

.btn-add-to-cart:active {
    background: #061800;
}

/* Customer auth — Login / forgot password / reset / alt login / register: same as .btn-add-to-cart (+ Manrope) */
.login-page .btn-login,
body.auth-recovery-page .btn-submit,
body.customer-login-alt-page .btn-login,
body.customer-register-page .btn-register {
    width: 100%;
    padding: 0.75rem 1.25rem;
    color: #1a3300 !important;
    border: 1px solid #1a3300 !important;
    background: #ffffff !important;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-family: 'Manrope', system-ui, -apple-system, sans-serif !important;
    font-weight: 500;
    font-style: normal;
    text-transform: none;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    box-shadow: none !important;
    transform: none !important;
}

.login-page .btn-login:hover,
body.auth-recovery-page .btn-submit:hover,
body.customer-login-alt-page .btn-login:hover,
body.customer-register-page .btn-register:hover {
    background: #0d1f00 !important;
    border-color: #0d1f00 !important;
    color: #ffffff !important;
    box-shadow: none !important;
    transform: none !important;
}

.login-page .btn-login:active,
body.auth-recovery-page .btn-submit:active,
body.customer-login-alt-page .btn-login:active,
body.customer-register-page .btn-register:active {
    background: #061800 !important;
    border-color: #061800 !important;
    color: #ffffff !important;
}

.btn-add-to-cart-modal {
    padding: 0.65rem 1.25rem;
    background: #1a3300;
    color: #ffffff;
    border: 2px solid #1a3300;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(26, 51, 0, 0.2);
}

.btn-add-to-cart-modal:hover {
    background: #0d1f00;
    border-color: #0d1f00;
    box-shadow: 0 4px 10px rgba(26, 51, 0, 0.3);
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #000000;
}

.empty-state p {
    color: #666666;
}

.alert {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.alert-success {
    background: rgba(74, 222, 128, 0.1);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.cart-minimum-order-notice {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: #050505;
    color: #f8fafc;
    border: 1px solid #1f2937;
    border-radius: 0.4rem;
    padding: 0.75rem 1rem;
}

.cart-minimum-order-notice strong {
    color: #ffffff;
}

.cart-minimum-order-notice__icon {
    color: #f59e0b;
    font-size: 0.95rem;
    line-height: 1;
}

/* Purchase Modal Styles (inventory) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: rgba(15, 20, 40, 0.95);
    border: 1px solid rgba(250, 189, 35, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #666666;
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.modal-content .form-group {
    margin-bottom: 1rem;
}

.modal-content label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: #ffffff;
}

.modal-content input {
    width: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(250, 189, 35, 0.2);
    border-radius: 0.5rem;
    color: #ffffff;
}

.modal-content input:focus {
    outline: none;
    border-color: #f6f6f6;
}

.required {
    color: #ef4444;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-cancel,
.btn-submit {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
}

.btn-cancel {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.btn-submit {
    background: #f6f6f6;
    color: #0a0e27;
}

.pagination-wrapper {
    margin-top: 2rem;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.pagination-wrapper nav {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.pagination-wrapper ul,
.pagination-wrapper .pagination {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.pagination-wrapper li,
.pagination-wrapper .page-item {
    list-style: none;
    margin: 0;
}

/* Links + Bootstrap .page-link only — avoid styling every `span` (breaks Laravel Tailwind “Showing …” line) */
.pagination-wrapper a,
.pagination-wrapper .page-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333333;
    border-radius: 0.5rem;
    color: #000000;
    text-decoration: none;
    transition: all 0.2s;
    min-width: 2.5rem;
    text-align: center;
}

/* Tailwind default pagination: grouped control bar (no ul) */
.pagination-wrapper nav[role="navigation"] span.inline-flex > a,
.pagination-wrapper nav[role="navigation"] span.inline-flex > span > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333333;
    color: #000000;
    text-decoration: none;
    font-size: 0.875rem;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.pagination-wrapper a:hover,
.pagination-wrapper .page-link:hover {
    background: #333333;
    border-color: #f6f6f6;
    color: #000000;
    text-decoration: none;
}

.pagination-wrapper nav[role="navigation"] span.inline-flex > a:hover {
    background: #333333;
    border-color: #f6f6f6;
    color: #000000;
    text-decoration: none;
}

.pagination-wrapper .active span,
.pagination-wrapper span[aria-current="page"],
.pagination-wrapper span[aria-current="page"] > span,
.pagination-wrapper .page-item.active .page-link {
    background: #f6f6f6 !important;
    color: #0a0e27 !important;
    border-color: #f6f6f6 !important;
    font-weight: 600;
}

.pagination-wrapper .page-item.disabled .page-link,
.pagination-wrapper span[aria-disabled="true"] {
    background: rgba(255, 255, 255, 0.02) !important;
    color: rgba(255, 255, 255, 0.3) !important;
    cursor: not-allowed;
    border-color: rgba(250, 189, 35, 0.1) !important;
    pointer-events: none;
}

/* Custom Pagination Styles */
.custom-pagination-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    /* margin-top: 2rem; */
    padding-top: 1.5rem;
    border-top: 1px solid #333333;
    width: 100%;
}

.custom-pagination-links {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.custom-pagination-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333333;
    border-radius: 0.5rem;
    color: #000000;
    text-decoration: none;
    transition: all 0.2s;
    min-width: 2.5rem;
    text-align: center;
    font-weight: 500;
    font-size: 0.875rem;
}

.custom-pagination-btn:hover {
    background: #333333;
    border-color: #f6f6f6;
    color: #000000;
    text-decoration: none;
}

.custom-pagination-btn-active {
    background: #f6f6f6 !important;
    color: #0a0e27 !important;
    border-color: #f6f6f6 !important;
    font-weight: 600;
}

.custom-pagination-btn-disabled {
    background: rgba(255, 255, 255, 0.02) !important;
    color: rgba(10, 1, 1, 0.3) !important;
    cursor: not-allowed;
    border-color: rgba(250, 189, 35, 0.1) !important;
    pointer-events: none;
}

.custom-pagination-dots {
    padding: 0.5rem 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.custom-pagination-info {
    margin-top: 30px !important;
    color: #000000;
    font-size: 0.875rem;
    text-align: center;
}

.custom-pagination-info strong {
    color: #000;
    font-weight: 600;
}

@media (max-width: 768px) {
    .custom-pagination-nav {
        gap: 0.75rem;
    }
    
    .custom-pagination-links {
        gap: 0.25rem;
    }
    
    .custom-pagination-btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.8125rem;
        min-width: 2rem;
    }
    
    .custom-pagination-info {
        font-size: 0.8125rem;
    }
}

.load-more-wrapper {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    padding: 1rem 0;
}

.btn-load-more {
    padding: 0.75rem 2rem;
    background: #f6f6f6;
    color: #0a0e27;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(250, 189, 35, 0.25);
}

.btn-load-more:hover {
    background: #f59e0b;
    box-shadow: 0 4px 12px rgba(250, 189, 35, 0.4);
    transform: translateY(-1px);
}

.btn-load-more:active {
    transform: translateY(0);
}

.btn-load-more:disabled {
    background: rgba(250, 189, 35, 0.5);
    cursor: not-allowed;
    transform: none;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .inventory-grid {
        grid-template-columns: 1fr;
    }

    .filters-section {
        flex-direction: column;
    }

    .search-bar {
        width: 100%;
    }
}

/* ========== Login Page Layout & Colours ========== */
.login-page {
    font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
    overflow-x: hidden;
}

.login-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(26, 51, 0, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.login-page .login-container {
    width: 100%;
    max-width: 440px;
    position: relative;
    z-index: 1;
}

.login-page .login-wrapper {
    width: 100%;
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.06);
    padding: 0;
    overflow: hidden;
}

.login-page .login-wrapper > .alert {
    margin: 1.5rem 2rem 0;
}

.login-page .login-wrapper > form {
    padding: 1.5rem 2rem 0;
}

.login-page .login-wrapper > .back-home {
    padding: 0 2rem 2rem;
}

.login-page .login-header {
    text-align: center;
    margin-bottom: 0;
    padding: 2rem 2rem 1.75rem;
    background: #1a3300;
}

.login-page .logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    text-decoration: none;
    transition: opacity 0.2s;
}

.login-page .logo-container:hover {
    opacity: 0.9;
}

.login-page .logo-image {
    height: 50px;
    width: auto;
    max-width: 180px;
    max-height: 50px;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
}
.login-page .login-header h1.login-page-heading {
    font-family: 'Poppins', system-ui, -apple-system, sans-serif !important;
    font-style: normal !important;
    color: #ffffff !important;
    font-size: 1.625rem !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    margin-bottom: 0.25rem;
    text-transform: none !important;
}

.login-page .login-header p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
}

.login-page .login-header p a {
    color: #f6f6f6;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.login-page .login-header p a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.login-page .form-group {
    margin-bottom: 1.25rem;
}

.login-page label {
    display: block;
    color: #1a3300;
    font-weight: 500;
    margin-bottom: 0.375rem;
    font-size: 0.875rem;
}

.login-page input[type="email"],
.login-page input[type="password"] {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    color: #111827;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: 'Manrope', sans-serif;
}

.login-page input[type="email"]:focus,
.login-page input[type="password"]:focus {
    outline: none;
    border-color: #1a3300;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(26, 51, 0, 0.12);
}

.login-page input::placeholder {
    color: #9ca3af;
}

.login-page input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #1a3300;
}

.login-page .form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.login-page .remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #374151;
    cursor: pointer;
}

.login-page .remember-me span {
    user-select: none;
}

.login-page .forgot-password {
    color: #1a3300;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.login-page .forgot-password:hover {
    color: #0d1f00;
    text-decoration: underline;
}

.login-page .alert {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
}

.login-page .alert-success {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.login-page .alert-danger {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.login-page .alert ul {
    margin: 0;
    padding-left: 1.25rem;
}

.login-page .error-message {
    color: #dc2626;
    font-size: 0.75rem;
    display: block;
    margin-top: 0.375rem;
}

.login-page .back-home {
    text-align: center;
    margin-top: 1.25rem;
}

.login-page .back-home a {
    color: #1a3300;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

.login-page .back-home a:hover {
    color: #0d1f00;
    text-decoration: underline;
}

@media (max-width: 640px) {
    .login-page {
        padding: 16px;
    }

    .login-page .login-wrapper {
        padding: 2rem 1.5rem;
    }

    .login-page .login-header h1.login-page-heading {
        font-size: 1.375rem !important;
    }

    .login-page .form-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

/* Tier plan (customer header nav) */
.tier-plan-page {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem clamp(1rem, 4vw, 1.5rem) 2.5rem;
    box-sizing: border-box;
}

.tier-plan-simple-label {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    font-weight: 400;
    color: #6b7280;
}

.tier-plan-page-intro {
    margin-top: 0.35rem;
    margin-bottom: 1.25rem;
    max-width: 42em;
}

.tier-plan-discount-card {
    background: #ffffff;
    border: 1px solid rgba(26, 51, 0, 0.12);
    border-radius: 0.75rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.tier-plan-discount-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tier-plan-discount-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.tier-plan-discount-row--last {
    border-bottom: none;
}

.tier-plan-discount-name {
    font-weight: 600;
    font-size: 1rem;
    color: #1a3300;
}

.tier-plan-discount-value {
    margin-left: auto;
    font-weight: 700;
    font-size: 1.125rem;
    color: #1a3300;
}

.tier-plan-discount-row--with-note .tier-plan-discount-value {
    margin-left: 0;
}

.tier-plan-discount-row--with-note {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 1rem;
    row-gap: 0.35rem;
}

.tier-plan-discount-row--with-note .tier-plan-discount-name {
    grid-column: 1;
    grid-row: 1;
}

.tier-plan-discount-row--with-note .tier-plan-discount-value {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
}

.tier-plan-discount-note {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

/* ========== Cart Page (Shopify/WooCommerce style) ========== */
.cart-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem clamp(1rem, 4vw, 1.5rem) 2.5rem;
    box-sizing: border-box;
}

.cart-page .page-header {
    margin-bottom: 1.5rem;
}

.cart-page .page-title {
    margin-bottom: 0.25rem;
}

.cart-page .page-subtitle {
    font-size: 0.9375rem;
    color: #6b7280;
}

.cart-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0.75rem;
}

.cart-empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.cart-empty h2 {
    font-size: 1.5rem;
    color: #000000;
    margin-bottom: 0.5rem;
}

.cart-empty p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

/* ========== Orders page (My Orders) — align with cart / storefront ========== */
.orders-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem clamp(1rem, 4vw, 1.5rem) 2.5rem;
    box-sizing: border-box;
}

.orders-page .page-header {
    margin-bottom: 1.5rem;
}

.orders-page .page-subtitle {
    font-size: 0.9375rem;
    color: #6b7280;
}

.orders-page__flash {
    margin-bottom: 1.25rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(26, 51, 0, 0.2);
    background: rgba(26, 51, 0, 0.06);
    color: #1a3300;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
}

.orders-page__table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 0.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #ffffff;
    box-sizing: border-box;
}

.orders-page .orders-table {
    min-width: 720px;
    background: #ffffff;
    border-radius: 0.75rem;
    overflow: hidden;
}

.orders-page .table-header {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr 1fr;
    gap: 1rem;
    padding: 0.875rem 1.25rem;
    background: #f4f6f4;
    border-bottom: 1px solid rgba(26, 51, 0, 0.1);
    font-family: 'Manrope', system-ui, sans-serif;
    font-weight: 600;
    font-size: 0.6875rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1a3300;
}

.orders-page .table-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr 1fr;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: background 0.2s ease;
    background: #ffffff;
}

.orders-page .table-row:last-child {
    border-bottom: none;
}

.orders-page .table-row:hover {
    background: #fafbf9;
}

.orders-page .table-cell {
    display: flex;
    align-items: center;
    font-family: 'Manrope', system-ui, sans-serif;
    font-size: 0.875rem;
    color: #111827;
    min-width: 0;
}

.orders-page .order-number {
    font-weight: 600;
    color: #1a3300;
}

.orders-page .price-cell {
    font-weight: 600;
    color: #111827;
}

.orders-page .status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: 'Manrope', system-ui, sans-serif;
    border: 1px solid transparent;
}

.orders-page .status-pending {
    background: #fffbeb;
    color: #92400e;
    border-color: rgba(245, 158, 11, 0.35);
}

.orders-page .status-confirmed {
    background: #eff6ff;
    color: #1e40af;
    border-color: rgba(59, 130, 246, 0.35);
}

.orders-page .status-processing {
    background: #f5f3ff;
    color: #5b21b6;
    border-color: rgba(139, 92, 246, 0.35);
}

.orders-page .status-shipped {
    background: #ecfdf5;
    color: #166534;
    border-color: rgba(34, 197, 94, 0.35);
}

.orders-page .status-delivered {
    background: #ecfdf3;
    color: #14532d;
    border-color: rgba(22, 163, 74, 0.35);
}

.orders-page .status-cancelled {
    background: #fef2f2;
    color: #991b1b;
    border-color: rgba(239, 68, 68, 0.35);
}

.orders-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.orders-cancel-form {
    display: inline;
    margin: 0;
}

.orders-page .btn-view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    min-height: 2.25rem;
    background: #ffffff;
    color: #1a3300;
    border: 1px solid #1a3300;
    border-radius: 0.25rem;
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 500;
    font-family: 'Manrope', system-ui, sans-serif;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    box-sizing: border-box;
}

.orders-page .btn-view:hover {
    background: #0d1f00;
    border-color: #0d1f00;
    color: #ffffff;
}

.orders-page .btn-cancel-small {
    padding: 0.5rem 1rem;
    min-height: 2.25rem;
    background: #ffffff;
    color: #b91c1c;
    border: 1px solid rgba(185, 28, 28, 0.45);
    border-radius: 0.25rem;
    font-size: 0.8125rem;
    font-weight: 500;
    font-family: 'Manrope', system-ui, sans-serif;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.orders-page .btn-cancel-small:hover {
    background: #fef2f2;
    border-color: #b91c1c;
    color: #991b1b;
}

.orders-empty-state {
    text-align: center;
    margin-top: 2rem;
    padding: 3rem 1.5rem;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0.75rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
}

.orders-empty-state__icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    border: 2px dashed rgba(26, 51, 0, 0.2);
    background: rgba(26, 51, 0, 0.04);
}

.orders-empty-state__title {
    margin: 0 0 0.5rem;
    font-family: 'Manrope', system-ui, sans-serif;
    font-size: 1.375rem;
    font-weight: 600;
    color: #111827;
}

.orders-empty-state__text {
    margin: 0 0 1.5rem;
    font-family: 'Manrope', system-ui, sans-serif;
    font-size: 0.9375rem;
    color: #6b7280;
    line-height: 1.5;
}

.orders-empty-state__cta {
    text-decoration: none;
}

/* Orders pagination — dedicated view vendor.pagination.orders (.labgems-pager) */
.orders-page__pagination.pagination-wrapper {
    /* Beat global .pagination-wrapper { display:flex; justify-content:center } so bar is full width */
    display: block;
    margin-top: 1.75rem;
    padding: 1.25rem 0 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    background: transparent;
}

.orders-page__pagination.pagination-wrapper nav {
    display: block;
    width: 100%;
    max-width: 100%;
}

.orders-page__pagination .labgems-pager {
    font-family: 'Manrope', system-ui, sans-serif;
    width: 100%;
    max-width: 100%;
}

.orders-page__pagination .labgems-pager__row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.orders-page__pagination .labgems-pager__meta {
    flex: 0 1 auto;
    min-width: 0;
    text-align: left;
}

.orders-page__pagination .labgems-pager__summary {
    display: block;
    font-size: 0.875rem;
    font-weight: 400;
    color: #4b5563;
    line-height: 1.5;
    text-align: left;
}

.orders-page__pagination .labgems-pager__num {
    font-weight: 600;
    color: #1a3300;
    padding: 0 0.1em;
}

.orders-page__pagination .labgems-pager__sep,
.orders-page__pagination .labgems-pager__of {
    margin: 0 0.15em;
    color: #6b7280;
    font-weight: 400;
}

.orders-page__pagination .labgems-pager__suffix {
    margin-left: 0.25em;
    color: #6b7280;
}

.orders-page__pagination .labgems-pager__rail {
    display: inline-flex;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    align-items: stretch;
    align-self: center;
    margin-left: auto;
    border: 1px solid rgba(26, 51, 0, 0.2);
    border-radius: 0.375rem;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.orders-page__pagination .labgems-pager__cell {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    padding: 0.5rem 0.65rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #1a3300;
    background: #ffffff;
    border: none;
    border-right: 1px solid rgba(26, 51, 0, 0.12);
    text-decoration: none;
    line-height: 1.2;
    box-sizing: border-box;
    transition: background 0.15s ease, color 0.15s ease;
}

.orders-page__pagination .labgems-pager__cell:last-child {
    border-right: none;
}

.orders-page__pagination a.labgems-pager__cell:hover {
    background: #f4f6f4;
    color: #0d1f00;
}

.orders-page__pagination .labgems-pager__cell--edge {
    min-width: 2.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.orders-page__pagination .labgems-pager__cell--page {
    min-width: 2.75rem;
}

.orders-page__pagination .labgems-pager__cell--current {
    background: #1a3300 !important;
    color: #ffffff !important;
    font-weight: 600;
    cursor: default;
}

.orders-page__pagination .labgems-pager__cell--gap {
    min-width: 2rem;
    color: #9ca3af;
    font-weight: 600;
    cursor: default;
    background: #fafafa;
}

.orders-page__pagination .labgems-pager__cell--disabled {
    color: #9ca3af !important;
    background: #f3f4f6 !important;
    cursor: not-allowed;
}

@media (max-width: 640px) {
    .orders-page__pagination .labgems-pager__row {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 0.65rem;
    }

    .orders-page__pagination .labgems-pager__summary {
        font-size: 0.8125rem;
    }

    .orders-page__pagination .labgems-pager__rail {
        margin-left: auto;
        flex-shrink: 0;
    }
}

@media (max-width: 1024px) {
    .orders-page__table-wrap {
        margin-left: -0.25rem;
        margin-right: -0.25rem;
        border-radius: 0.5rem;
        box-shadow: none;
        border: none;
        background: transparent;
    }

    .orders-page .orders-table {
        display: block;
        min-width: 0;
        background: transparent;
        box-shadow: none;
        border: none;
    }

    .orders-page .table-header {
        display: none;
    }

    .orders-page .table-row {
        display: block;
        padding: 1.25rem;
        margin-bottom: 1rem;
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: 0.75rem;
        background: #ffffff;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    }

    .orders-page .table-row:hover {
        background: #ffffff;
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
    }

    .orders-page .table-cell {
        display: grid;
        grid-template-columns: minmax(5.5rem, auto) 1fr;
        gap: 0.5rem 1rem;
        align-items: center;
        padding: 0.65rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .orders-page .table-cell:last-child {
        border-bottom: none;
        padding-top: 1rem;
        margin-top: 0.35rem;
        border-top: 1px solid rgba(26, 51, 0, 0.1);
        grid-template-columns: 1fr;
    }

    .orders-page .table-cell::before {
        content: attr(data-label);
        font-weight: 600;
        color: #1a3300;
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    .orders-page .table-cell:last-child::before {
        content: none;
    }

    .orders-page .table-cell > span {
        justify-self: end;
        text-align: right;
    }

    .orders-page .table-cell.table-cell--actions > .orders-actions {
        grid-column: 1 / -1;
        justify-self: start;
        justify-content: flex-start;
    }

    .orders-page .table-cell .status-badge {
        justify-self: end;
    }
}

@media (max-width: 768px) {
    .orders-page {
        padding-top: 1.25rem;
    }

    .orders-page .table-row {
        padding: 1rem;
    }
}

/* Cart primary actions — match inventory .btn-add-to-cart outline */
.btn-cart-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    min-height: 2.625rem;
    background: #ffffff !important;
    color: #1a3300 !important;
    border: 1px solid #1a3300 !important;
    font-weight: 500;
    font-size: 0.875rem;
    border-radius: 0.25rem;
    text-decoration: none;
    text-transform: none !important;
    letter-spacing: 0.02em;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    box-sizing: border-box;
    cursor: pointer;
    box-shadow: none !important;
}

#cart-checkout-btn {
    background: #ffffff !important;
    color: #1a3300 !important;
    border: 1px solid #1a3300 !important;
}

.btn-cart-primary:hover {
    background: #0d1f00 !important;
    border-color: #0d1f00 !important;
    color: #ffffff !important;
}

.btn-cart-primary:active {
    background: #061800 !important;
    border-color: #061800 !important;
    color: #ffffff !important;
}

.btn-cart-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    min-height: 2.625rem;
    background: #ffffff !important;
    color: #1a3300 !important;
    border: 1px solid #1a3300 !important;
    font-weight: 500;
    font-size: 0.875rem;
    border-radius: 0.25rem;
    text-decoration: none;
    text-transform: none !important;
    letter-spacing: 0.02em;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    box-sizing: border-box;
    cursor: pointer;
    box-shadow: none !important;
}

.btn-cart-secondary:hover {
    background: #0d1f00 !important;
    border-color: #0d1f00 !important;
    color: #ffffff !important;
}

.cart-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    box-sizing: border-box;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th {
    text-align: left;
    padding: 1rem 1.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.cart-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    vertical-align: middle;
}

.cart-row:last-child td {
    border-bottom: none;
}

.cart-th-product { width: 40%; }
.cart-td-product { min-width: 0; vertical-align: top; }
.cart-th-price, .cart-td-price { white-space: nowrap; text-align: left; }
.cart-td-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
}
.cart-td-price .cart-price-breakdown-wrap {
    width: 100%;
    text-align: left;
}
/* Unit price: override global tier rows (flex-end / compact center) so column matches Product header */
.cart-page .price-tier-breakdown {
    font-size: 0.7rem;
    margin-top: 0.25rem;
    max-width: 14rem;
    align-items: flex-start;
    text-align: left;
}
.cart-page .price-tier-row.price-tier-catalog,
.cart-page .price-tier-row.price-tier-member {
    justify-content: flex-start;
}
.cart-page .price-tier-row.price-tier-compact-pair {
    justify-content: flex-start;
    align-items: flex-start;
}
.cart-page .price-tier-breakdown--compact .price-tier-compact-pair {
    justify-content: flex-start;
    align-items: flex-start;
}
.cart-page .price-tier-breakdown--compact .price-tier-compact-member {
    align-items: flex-start;
    text-align: left;
}
.cart-page .price-tier-value {
    text-align: left;
}
.cart-tier-label { font-size: 0.75rem; color: var(--muted, #6b7280); font-weight: normal; align-self: flex-start; text-align: left; }
.cart-th-qty, .cart-td-qty { width: 120px; }
.cart-th-total, .cart-td-total { font-weight: 600; white-space: nowrap; }
.cart-th-remove, .cart-td-remove { width: 50px; text-align: center; }

.cart-product {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    min-width: 0;
}
.cart-product-info {
    min-width: 0;
    flex: 1;
}

.cart-product-image {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 0.5rem;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.04);
}

.cart-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-product-placeholder {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 0.5rem;
    background: rgba(26, 51, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.cart-product-sku,
.cart-product-title {
    font-weight: 600;
    color: #000000;
    margin-bottom: 0.2rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.cart-product-specs {
    font-size: 0.8125rem;
    color: #6b7280;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.cart-qty-wrap {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
}
.cart-qty-btn {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #1a3300;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    border-radius: 4px;
    margin: 0;
}
.cart-qty-btn:first-child {
    border-radius: 4px;
}
.cart-qty-btn:last-child {
    border-radius: 4px;
}
.cart-qty-btn:hover:not(:disabled) {
    background: #f9fafb;
    border-color: #9ca3af;
    color: #166534;
}
.cart-qty-btn:disabled {
    opacity: 1;
    color: #e5e7eb;
    border-color: #e5e7eb;
    background: #f9fafb;
    cursor: not-allowed;
}
.cart-qty-input {
    box-sizing: border-box;
    min-width: 2.75rem;
    width: 4.5ch;
    max-width: 6rem;
    padding: 0;
    border: none;
    background: transparent;
    border-radius: 0;
    font-size: 1.75rem;
    font-weight: 400;
    color: #7f1d1d;
    text-align: center;
    -moz-appearance: textfield;
    appearance: textfield;
}
.cart-qty-input::-webkit-outer-spin-button,
.cart-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cart-remove-form {
    display: inline;
}

.cart-remove-btn {
    background: transparent !important;
    border: none !important;
    color: #9ca3af;
    cursor: pointer;
    padding: 0.35rem;
    font-size: 1rem;
    line-height: 1;
    border-radius: 0.25rem;
    transition: color 0.2s, background 0.2s;
}

.cart-remove-btn:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.cart-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cart-actions-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Match cart action buttons with Add to cart style */
.cart-actions-right .btn-cart-secondary,
.cart-actions-right .btn-cart-primary {
    background: #ffffff;
    color: rgba(26, 51, 0, 1) !important;
    border: 1px solid rgba(26, 51, 0, 1) !important;
    border-radius: 0.25rem;
    font-size: 14px;
    font-family: 'Manrope', system-ui, sans-serif;
    font-weight: 500;
    min-height: 2.625rem;
    padding: 0.7rem 1.2rem;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.cart-actions-right .btn-cart-secondary:hover,
.cart-actions-right .btn-cart-primary:hover {
    background: #0d1f00 !important;
    border-color: #0d1f00 !important;
    color: #ffffff !important;
}

.cart-checkout-form {
    display: inline;
}

.cart-totals {
    max-width: 320px;
    margin-left: auto;
    padding: 1.25rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
}

.cart-summary-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.25rem;
}

.cart-footer-notes {
    margin-top: 0.9rem;
    color: #4b5563;
    font-size: 0.875rem;
    line-height: 1.45;
    flex: 1;
}

.cart-footer-notes p {
    margin: 0.25rem 0;
}

.cart-footer-notes a {
    color: #374151;
    text-decoration: underline;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.9375rem;
}

.cart-total-grand {
    font-size: 1.125rem;
    font-weight: 700;
    color: #000000;
    padding-top: 0.75rem;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .cart-page {
        padding-top: 1.25rem;
        padding-bottom: 2rem;
    }

    .cart-page .page-header {
        margin-bottom: 1.25rem;
    }

    .cart-table {
        table-layout: auto;
    }

    .cart-table thead {
        display: none;
    }

    .cart-table,
    .cart-table tbody,
    .cart-table tr,
    .cart-table td {
        display: block;
        width: 100%;
        border: 0 !important;
        box-shadow: none !important;
    }

    .cart-table tr.cart-row {
        position: relative;
        padding: 0.75rem 0;
        border-bottom: 0 !important;
    }

    .cart-table tr.cart-row:last-child {
        border-bottom: 0;
    }

    .cart-table-wrap,
    .cart-table,
    .cart-table tbody,
    .cart-table tr,
    .cart-table td,
    .cart-table th {
        border: 0 !important;
    }

    .cart-table th,
    .cart-table td {
        padding: 0.65rem 0.5rem;
        vertical-align: top;
    }

    .cart-table th.cart-th-product,
    .cart-table td.cart-td-product {
        width: 100%;
        min-width: 0;
    }

    .cart-table .cart-th-price,
    .cart-table .cart-td-price {
        display: block;
        width: 100%;
        min-width: 0;
        text-align: left;
        padding-left: calc(52px + 0.65rem + 0.5rem);
        padding-top: 0.15rem;
        padding-bottom: 0.15rem;
    }

    .cart-th-qty,
    .cart-td-qty {
        width: 100%;
        min-width: 0;
        white-space: nowrap;
        text-align: right;
        padding-left: calc(52px + 0.65rem + 0.5rem);
        padding-top: 0.15rem;
        padding-bottom: 0.15rem;
    }

    .cart-th-total,
    .cart-td-total {
        width: 100%;
        min-width: 0;
        white-space: normal;
        text-align: right;
        word-break: break-word;
        font-size: 0.875rem;
        line-height: 1.3;
        padding-left: calc(52px + 0.65rem + 0.5rem);
        padding-top: 0.15rem;
        padding-bottom: 0.15rem;
    }

    .cart-th-remove,
    .cart-td-remove {
        width: auto !important;
        min-width: 0 !important;
        position: absolute !important;
        right: 8px !important;
        top: 10px !important;
        padding: 0;
        z-index: 3;
        display: block !important;
        text-align: right;
    }

    .cart-product {
        gap: 0.65rem;
        align-items: flex-start;
        width: 100%;
    }

    .cart-product-image,
    .cart-product-placeholder {
        width: 52px;
        height: 52px;
    }

    .cart-product-title {
        font-size: 0.9rem;
        line-height: 1.25;
        word-break: normal;
        overflow-wrap: break-word;
    }

    .cart-product-specs {
        font-size: 0.72rem;
        line-height: 1.25;
    }

    .cart-product-info {
        width: 100%;
        min-width: 0;
        padding-right: 2rem;
    }

    .cart-td-remove .cart-remove-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        line-height: 1;
    }

    .cart-td-price .price-tier-breakdown {
        align-items: flex-start;
        text-align: left;
        font-size: 0.68rem;
        width: max-content;
        max-width: 100%;
        margin-left: 0;
    }
    .cart-td-price .price-tier-row {
        justify-content: flex-start;
    }

    .cart-td-qty {
        vertical-align: middle;
    }
    .cart-td-qty .cart-qty-wrap {
        justify-content: flex-end;
        width: 100%;
    }

    .cart-td-total[data-row-total]::before {
        content: "Subtotal: ";
        color: #0f172a;
        font-weight: 500;
    }

    .cart-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.65rem;
        margin-bottom: 1.25rem;
    }

    .cart-actions > a.btn-cart-secondary {
        width: 100%;
        order: 1;
    }

    .cart-actions-right {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 0.65rem;
        order: 2;
    }

    .cart-actions-right .btn-cart-secondary,
    .cart-actions-right .btn-cart-primary {
        width: 100%;
        max-width: none;
    }

    .cart-totals {
        max-width: none;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .cart-summary-row {
        flex-direction: column;
        gap: 0.65rem;
    }

    .cart-total-row {
        gap: 0.75rem;
    }

    .cart-total-value {
        text-align: right;
        flex-shrink: 0;
    }
}

/* Product detail page */
.product-detail-page {
    margin: 0 auto;
    padding-left: clamp(1rem, 4vw, 1.5rem);
    padding-right: clamp(1rem, 4vw, 1.5rem);
    padding-bottom: 3rem;
    box-sizing: border-box;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: start;
    margin-top: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

/* Left column: gallery (thumbnails + main image like labgems.com) */
.product-detail-gallery {
    grid-column: 1;
    min-width: 0;
    position: sticky;
    top: 1.5rem;
    align-self: start;
}

.product-detail-gallery-media {
    min-width: 0;
}

/* Thumbnails column (left), main image (right) — desktop */
.product-detail-gallery-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
}

.product-detail-gallery-main-col {
    flex: 1;
    min-width: 0;
}

.product-detail-gallery .product-detail-thumbs {
    flex-direction: column;
    flex-wrap: nowrap;
    margin-top: 0;
    max-height: min(520px, 65vh);
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.2rem;
    -webkit-overflow-scrolling: touch;
}

.product-detail-info {
    grid-column: 2;
    min-width: 0;
    padding: 0;
}

/* ~LabGems `large-up--push-one-twelfth`: offset info column by 1/12 of the layout width */
@media (min-width: 901px) {
    .product-detail-info {
        margin-left: 8.333333%;
        margin-right: clamp(1rem, 3vw, 2.5rem);
        padding-top: 0.35rem;
        padding-bottom: 1.5rem;
    }
}

/* Long description in PDP accordion — unified with accordion body type (see .product-detail-accordions block below) */
.product-detail-accordions .product-detail-description-full-text {
    text-align: left;
}

/* Light grid backdrop on main product image (matches live product shots) */
.product-detail-main-image--grid {
    background-color: #f8fafc;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.35) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.35) 1px, transparent 1px);
    background-size: 18px 18px;
}

@media (max-width: 900px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .product-detail-gallery,
    .product-detail-info {
        grid-column: 1;
    }
    .product-detail-info {
        margin-left: 0;
        margin-right: 0;
    }
    .product-detail-gallery {
        position: static;
    }
    .product-detail-gallery-row {
        flex-direction: column-reverse;
    }
    .product-detail-gallery .product-detail-thumbs {
        flex-direction: row;
        max-height: none;
        overflow-x: auto;
        overflow-y: visible;
        width: 100%;
        padding-bottom: 0.25rem;
    }
}

.product-detail-main-image {
    aspect-ratio: 1;
    border-radius: 0.75rem;
    overflow: hidden;
    /* background: #f8faf8;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06); */
}

.product-detail-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Melee parcel (category 3): two gallery images — hover / keyboard focus on main swaps to 2nd */
.product-detail-main-image--hover-pair {
    position: relative;
    cursor: default;
}
.product-detail-main-image--hover-pair .product-detail-main-image-primary,
.product-detail-main-image--hover-pair .product-detail-main-image-secondary {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.22s ease;
}
.product-detail-main-image--hover-pair .product-detail-main-image-primary {
    z-index: 1;
    opacity: 1;
}
.product-detail-main-image--hover-pair .product-detail-main-image-secondary {
    z-index: 2;
    opacity: 0;
    pointer-events: none;
}
.product-detail-main-image--hover-pair:hover .product-detail-main-image-primary,
.product-detail-main-image--hover-pair:focus-within .product-detail-main-image-primary {
    opacity: 0;
}
.product-detail-main-image--hover-pair:hover .product-detail-main-image-secondary,
.product-detail-main-image--hover-pair:focus-within .product-detail-main-image-secondary {
    opacity: 1;
}

.product-detail-placeholder {
    aspect-ratio: 1;
    border-radius: 0.75rem;
    background: rgba(26, 51, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #1a3300;
}

.product-detail-placeholder p {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

.product-detail-thumbs {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .product-detail-thumbs {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.25rem;
        -webkit-overflow-scrolling: touch;
    }
}

.product-thumb {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 2px solid transparent;
    padding: 0;
    cursor: pointer;
    background: #f1f5f1;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.product-thumb:hover,
.product-thumb.active {
    border-color: #1a3300;
    box-shadow: 0 0 0 1px rgba(26, 51, 0, 0.15);
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 900px) {
    .product-detail-info {
        padding: 0;
    }
}

/* Product detail: section headings (sans); product title is serif below */
.product-detail-page h2,
.product-detail-page h3,
.product-detail-page h4 {
    font-family: "Poppins", system-ui, sans-serif;
    color: #1a3300;
    line-height: 1.2em;
    letter-spacing: 1.5px;
}

/* Product title (h1): typography from body.customer-layout .customer-layout-main h1 */
.product-detail-page .product-detail-sku {
    margin: 0 0 clamp(0.85rem, 2vw, 1.35rem);
    text-align: left;
    font-variant-numeric: normal;
}

.product-detail-piece-total {
    margin: 0 0 clamp(1rem, 2.5vw, 1.5rem);
    font-size: clamp(1.0625rem, 2vw, 1.1875rem);
    font-weight: 500;
    color: #374151;
    line-height: 1.4;
    letter-spacing: 0.01em;
    text-transform: none;
}

.product-detail-info h3 {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #1a3300;
    margin: 0 0 0.75rem 0;
}

.product-detail-info .product-detail-specs h3,
.product-detail-info .product-detail-pricing h3 {
    font-weight: normal !important;
    margin-top: 1.5rem;
}

.product-detail-info .product-detail-pricing h3 {
    margin-top: 1.75rem;
}

.product-detail-description {
    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 13px;
    line-height: 25px;
    color: rgb(17, 24, 39);
    margin: 0 0 1rem;
}

.product-detail-category {
    font-size: 0.875rem;
    color: #333333;
    margin-bottom: 1.35rem;
    padding-bottom: 1.35rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.product-detail-specs {
    margin-bottom: 0;
}

.product-detail-specs .spec-hint {
    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 13px;
    line-height: 25px;
    color: rgb(17, 24, 39);
    margin: 0;
}

/* Variable product: single-column so every row is full width and value aligns right */
.specs-grid-wrapper {
    display: block;
}
.specs-grid-wrapper .spec-list {
    display: block;
}

.spec-list {
    display: block;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    width: 100%;
    box-sizing: border-box;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-row dt {
    font-weight: 500;
    color: #333333;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.spec-row dd {
    font-weight: 600;
    color: #0f172a;
    font-size: 0.875rem;
    text-align: right;
    min-width: 0;
    margin-left: auto;
}

.product-detail-pricing {
    margin-top: 0.15rem;
    /* margin-bottom: clamp(1.25rem, 3vw, 1.75rem); */
}

.product-detail-shipping-note {
    margin: 1rem 0 0;
    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 13px;
    line-height: 25px;
    color: rgb(17, 24, 39);
        text-transform: none;

}

/* PDP accordions — reference: hairline row dividers only, no box/outline on click */
.product-detail-accordions {
    margin-top: clamp(1.25rem, 3vw, 1.75rem);
    max-width: 36rem;
    border: none;
    box-shadow: none;
}

/* PDP accordion panels: one type spec for Description / Specifications / Shipping copy */
.product-detail-accordions .pdp-accordion__panel,
.product-detail-accordions .pdp-accordion__body {
    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 13px;
    line-height: 25px;
    color: rgb(17, 24, 39);
}

/* Wrapper + all nodes: explicit 13/25 (inherit breaks when CMS HTML nests wrappers) */
.product-detail-accordions .product-detail-description-full-text {
    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 13px;
    line-height: 25px;
    color: rgb(17, 24, 39);
}

.product-detail-accordions .product-detail-description-full-text :is(p, ul, ol, li, div, span, small, td, th, strong, b, em, i, h1, h2, h3, h4, h5, h6, a) {
    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 13px;
    line-height: 25px;
    color: rgb(17, 24, 39);
}

/* Same stack rhythm as spec/shipping rows: 13px / 25px only, no extra paragraph gaps */
.product-detail-accordions .product-detail-description-full-text p {
    margin: 0;
}

.product-detail-accordions .product-detail-description-full-text > div {
    margin: 0;
}

.product-detail-accordions .product-detail-description-full-text :is(h1, h2, h3, h4, h5, h6) {
    margin: 0;
}

.product-detail-accordions .product-detail-description-full-text a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.product-detail-accordions .product-detail-description-full-text ul,
.product-detail-accordions .product-detail-description-full-text ol {
    list-style: none;
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

.product-detail-accordions .product-detail-description-full-text ul li,
.product-detail-accordions .product-detail-description-full-text ol li {
    list-style: none;
    list-style-type: none;
    padding-left: 0;
    margin: 0;
    display: block;
    line-height: 25px;
}

.pdp-accordion {
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    border-bottom: 1px solid #e5e7eb;
    background: transparent;
}

.pdp-accordion:focus,
.pdp-accordion:focus-visible,
.pdp-accordion:focus-within,
.pdp-accordion[open],
.pdp-accordion[open]:focus,
.pdp-accordion[open]:focus-visible {
    outline: none;
    box-shadow: none;
}

.pdp-accordion__summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 0;
    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 13px;
    line-height: 25px;
    color: rgb(17, 24, 39);
    user-select: none;
    background: transparent;
    -webkit-tap-highlight-color: transparent;
}

.pdp-accordion__summary::-webkit-details-marker {
    display: none;
}

.pdp-accordion__summary::marker {
    content: "";
}

.pdp-accordion__summary::-moz-list-bullet {
    list-style-type: none;
}

.pdp-accordion__summary::after {
    content: "";
    width: 0.42rem;
    height: 0.42rem;
    border-right: 1.5px solid #64748b;
    border-bottom: 1.5px solid #64748b;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    flex-shrink: 0;
    margin-top: -0.15rem;
    opacity: 0.85;
}

.pdp-accordion[open] > .pdp-accordion__summary::after {
    transform: rotate(-135deg);
    margin-top: 0.12rem;
}

.pdp-accordion[open] > .pdp-accordion__summary {
    font-weight: 700;
}

/* Description panel: match bold summary when open (CMS HTML uses explicit 400 on children) */
.product-detail-accordions .pdp-accordion[open] .pdp-accordion__body.product-detail-description-full-text,
.product-detail-accordions .pdp-accordion[open] .product-detail-description-full-text {
    font-weight: 700;
}

.product-detail-accordions .pdp-accordion[open] .product-detail-description-full-text :is(p, ul, ol, li, div, span, small, td, th, strong, b, em, i, h1, h2, h3, h4, h5, h6, a) {
    font-weight: 700;
}

/* Specifications + Shipping: bold panel copy when open */
.product-detail-accordions .pdp-accordion[open] .product-detail-spec-bullets {
    font-weight: 700;
}

.product-detail-accordions .pdp-accordion[open] .product-detail-spec-bullets li,
.product-detail-accordions .pdp-accordion[open] .product-detail-spec-bullets small {
    font-weight: 700;
}

.product-detail-accordions .pdp-accordion[open] .product-detail-specs .spec-hint {
    font-weight: 700;
}

.product-detail-accordions .pdp-accordion[open] .product-detail-value-props .product-detail-value-prop__text {
    font-weight: 700;
}

.pdp-accordion__summary:focus,
.pdp-accordion__summary:focus-visible,
.pdp-accordion__summary:active {
    outline: none;
    box-shadow: none;
}

.pdp-accordion__panel {
    padding: 0 0 1rem;
}

.pdp-accordion__body {
    padding-top: 0.15rem;
}

/* Align first line of Description with Specifications / Shipping (no extra body inset) */
.product-detail-accordions .pdp-accordion__body {
    padding-top: 0;
}

.pdp-shipping-lead,
.pdp-shipping-returns {
    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 13px;
    line-height: 25px;
    color: rgb(17, 24, 39);
    margin: 0 0 0.75rem;
}

.pdp-shipping-returns a {
    color: rgb(17, 24, 39);
    font-weight: 400;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Accordion specs: same vertical rhythm as description (25px line-height, no extra li gaps) */
.pdp-accordion__panel .product-detail-spec-bullets {
    margin: 0;
}

.product-detail-accordions .product-detail-specs {
    margin: 0;
    padding: 0;
}

.product-detail-accordions .product-detail-spec-bullets {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 13px;
    line-height: 25px;
    color: rgb(17, 24, 39);
}

/* Variant/CMS may embed <small>; UA uses font-size:smaller — match body copy */
.product-detail-accordions .product-detail-spec-bullets small {
    font-family: inherit;
    font-size: 13px;
    line-height: 25px;
    font-weight: 400;
    color: inherit;
}

.pdp-accordion .product-detail-value-props {
    margin: 0;
    padding: 0;
    border-top: none;
    overflow: visible;
}

.product-detail-value-props {
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: visible;
}

/* PDP shipping rows: stack like spec <li> lines (25px line-height, no extra row gap) */
.product-detail-accordions .product-detail-value-props {
    gap: 0;
    margin: 0;
    padding: 0;
}

.product-detail-value-prop {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    overflow: visible;
}

.product-detail-accordions .product-detail-value-prop {
    align-items: center;
    margin: 0;
    padding: 0;
}

.product-detail-value-prop__icon {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    color: #1a3300;
    margin-top: 0.08rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.product-detail-accordions .product-detail-value-prop__icon {
    width: 25px;
    height: 25px;
    margin-top: 0;
    color: rgb(17, 24, 39);
}

/* Heroicons strokes extend past the 24×24 viewBox; default svg overflow clips them */
.product-detail-value-prop__icon svg,
.product-detail-value-prop__icon img {
    display: block;
    width: 75%;
    height: 100%;
    overflow: visible;
    flex-shrink: 0;
    object-fit: contain;
}

.product-detail-value-prop__text {
    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 13px;
    line-height: 25px;
    color: rgb(17, 24, 39);
}

/* Spec bullets under CTA (LabGems-style); values from database */
.product-detail-spec-bullets {
    margin: clamp(1.75rem, 4vw, 2.25rem) 0 0;
    padding: 0;
    list-style: none;
    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 13px;
    line-height: 25px;
    color: rgb(17, 24, 39);
}

.product-detail-spec-bullets li {
    position: relative;
    padding-left: 0;
    margin-bottom: 0.65rem;
}

.product-detail-spec-bullets li::before {
    content: none;
    display: none;
}

/* After global `.product-detail-spec-bullets li { margin-bottom }` — accordion rows = 25px line-height only */
.product-detail-accordions .product-detail-spec-bullets li {
    display: block;
    margin: 0;
    padding: 0;
    position: relative;
    font-family: inherit;
    font-style: normal;
    font-weight: 400;
    font-size: 13px;
    line-height: 25px;
    color: rgb(17, 24, 39);
}

.product-detail-description--post-cta {
    margin-top: clamp(1.75rem, 4vw, 2.25rem);
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #374151;
}

.product-detail-page .product-detail-description.product-detail-description--post-cta {
    display: none !important;
}

/* Quantity stepper (− / +) */
.product-qty-stepper {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    overflow: hidden;
    background: #fff;
}

.product-qty-stepper .qty-step {
    width: 44px;
    min-width: 44px;
    border: none;
    background: #f9fafb;
    color: #111827;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    transition: background 0.15s ease;
}

.product-qty-stepper .qty-step:hover {
    background: #f3f4f6;
}

.product-qty-stepper:has(.product-qty-input:read-only) .qty-step {
    pointer-events: none;
    opacity: 0.45;
    cursor: default;
}

.product-qty-stepper .product-qty-input {
    width: 3.25rem;
    min-width: 3.25rem;
    border: none;
    border-left: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    border-radius: 0;
    text-align: center;
    padding: 0.65rem 0.25rem;
    font-size: 0.9375rem;
    -moz-appearance: textfield;
}

/* Product detail: LabGems-style quantity control (single rounded box, bold value) */
.product-detail-page .product-qty-stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 200px;
    min-height: 48px;
    padding: 0 0.25rem;
    box-sizing: border-box;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #ffffff;
    overflow: visible;
}

.product-detail-page .product-qty-stepper .qty-step {
    flex: 0 0 auto;
    width: 44px;
    min-width: 44px;
    height: 44px;
    margin: 0;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #374151;
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.product-detail-page .product-qty-stepper .qty-step:hover {
    background: rgba(15, 23, 42, 0.06);
    color: #111827;
}

.product-detail-page .product-qty-stepper:has(.product-qty-input:read-only) .qty-step {
    pointer-events: none;
    opacity: 0.4;
    cursor: default;
}

.product-detail-page .product-qty-stepper .product-qty-input {
    flex: 1 1 auto;
    width: auto;
    min-width: 2rem;
    max-width: 5rem;
    margin: 0 0.25rem;
    padding: 0.5rem 0.35rem;
    border: none;
    border-left: none;
    border-right: none;
    border-radius: 0;
    background: transparent;
    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #111111;
    text-align: center;
    line-height: 1.2;
}

.product-qty-stepper .product-qty-input::-webkit-outer-spin-button,
.product-qty-stepper .product-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.product-detail-pricing .attribute-selectors {
    margin-bottom: 1rem;
}

/* ── Price block (simple & variable products) ── */
.product-price-block {
    margin-bottom: 0.85rem;
}

.product-price-inline {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.product-current-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a3300;
    line-height: 1.2;
}

.product-compare-at-inline {
    font-size: 1.1rem;
    font-weight: 400;
    color: #94a3b8;
}

.strikethrough {
    text-decoration: line-through;
    text-decoration-color: #94a3b8;
}

.product-discount-badge {
    display: inline-block;
    background: #dc2626;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    line-height: 1.6;
    vertical-align: middle;
}

/* ── Legacy / fallback price classes ── */
.product-base-price {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
}

.product-base-price .price-label {
    font-size: 0.875rem;
    color: #6b7280;
}

.product-base-price .price-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a3300;
}

.product-base-price .price-unit {
    font-size: 0.875rem;
    color: #6b7280;
}

.product-tier-pricing .tier-title {
    margin-bottom: 0.35rem;
    font-weight: 500;
    color: #333333;
    font-size: 15px;
    flex-shrink: 0;
    text-transform: capitalize;
}
small.qty-hint {
    font-weight: 500;
    color: #333333;
    font-size: 15px;
    text-transform: none;
}
.product-tier-pricing .tier-list {
    list-style: none;
    list-style-type: none;
    padding-left: 0;
    margin-left: 0;
    font-size: 0.9375rem;
    color: #333333;
}
/* Typography for description HTML when outside accordion is set in blade; in accordions see rules on .product-detail-accordions */
.product-detail-description-full-text ul {
    list-style: none;
    list-style-type: none;
    padding-left: 0;
    margin-left: 0;
}
.product-detail-description-full-text ul li {
    list-style: none;
    list-style-type: none;
    padding-left: 0;
    margin-left: 0;
}


.product-tier-pricing .tier-list li {
    padding: 0.25rem 0;
}

.product-detail-stock {
    margin-top: 0.25rem;
    margin-bottom: clamp(1.25rem, 3vw, 1.65rem);
}

.product-detail-stock .stock-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.product-detail-stock .stock-in {
    background: transparent;
    color: #333333;
    border: 1px solid #333333;
}

.product-detail-stock .stock-low {
    background: transparent;
    color: #333333;
    border: 1px solid #333333;
}

.product-detail-stock .stock-out {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.product-detail-page .product-detail-stock {
    display: none !important;
}

.product-detail-actions {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding-top: clamp(0.75rem, 2vw, 1.25rem);
}

.product-add-to-cart {
    margin-bottom: 0;
}

.qty-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.35rem;
}

.product-detail-page .qty-label {
    font-size: 13px;
    font-weight: 400;
    color: #111827;
    margin-bottom: 0.65rem;
    letter-spacing: 0.01em;
}

.product-qty-row {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.product-qty-input {
    width: 80px;
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
    font-size: 14px;
    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
}

.btn-product-add,
.btn-product-buy {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-product-add {
    color: #1a3300 !important;
    border: 1px solid #1a3300 !important;
    background: transparent !important;
}

.btn-product-add:hover {
    background: #1a3300 !important;
    color: #ffffff !important;
}

.btn-product-buy {
    color: #1a3300 !important;
    border: 1px solid #1a3300 !important;
    background: transparent !important;
}

.btn-product-buy:hover {
    background: #1a3300 !important;
    color: #ffffff !important;
}

/* Full-width primary action under quantity (same column width as former Buy now) */
.product-add-to-cart .btn-product-add--full {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-top: 1rem;
}

/* PDP primary CTA — kept outlined; accordions/qty had borders removed per request, not this button */
.product-detail-page .product-add-to-cart .btn-product-add--full {
    margin-top: 1.25rem;
    font-size: 1rem;
    background: #ffffff !important;
    border: 1px solid #1a3300 !important;
    color: #1a3300 !important;
    font-weight: 600;
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
}

.product-detail-page .product-add-to-cart .btn-product-add--full:hover {
    background: #0d1f00 !important;
    color: #ffffff !important;
    border-color: #0d1f00 !important;
}

.product-detail-page .product-add-to-cart .btn-product-add--full:active {
    background: #061800 !important;
    border-color: #061800 !important;
    color: #ffffff !important;
}

.product-out-of-stock-msg {
    color: #6b7280;
    font-size: 0.9375rem;
}

.product-detail-page .you-may-also-like {
    margin-top: 3.5rem !important;
    margin-bottom: 3rem !important;
    padding-top: 2.5rem !important;
    padding-bottom: 1.5rem !important;
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* Reference layout: elegant serif heading, generous white space */
.you-may-also-like-title {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: clamp(1.5rem, 2.5vw, 1.875rem);
    font-weight: 400;
    letter-spacing: 0.01em;
    color: #0f172a;
    margin: 0 0 2.25rem 0;
    text-align: left;
}

.you-may-also-like-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem 2.5rem;
    align-items: start;
    max-width: 100%;
}

@media (max-width: 1024px) {
    .you-may-also-like-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem 1.25rem;
    }
}

@media (max-width: 640px) {
    .you-may-also-like-grid {
        gap: 1rem 1rem;
    }

    .you-may-also-like-image {
        padding: 0.5rem 0.5rem 0.6rem;
        margin-bottom: 0;
    }

    .you-may-also-like-info {
        padding-top: 0.35rem;
    }

    .you-may-also-like-title {
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .you-may-also-like-grid {
        grid-template-columns: 1fr;
        gap: 0.875rem;
    }
}

/* Borderless cards — image stack + text like reference */
.you-may-also-like-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    transition: opacity 0.2s ease;
}

.you-may-also-like-card:hover {
    opacity: 0.92;
}

.you-may-also-like-card:hover .you-may-also-like-image img {
    /* filter: drop-shadow(0 14px 24px rgba(15, 23, 42, 0.14)) drop-shadow(0 6px 10px rgba(15, 23, 42, 0.08)); */
}

/* Diamond “floating” on white with soft shadow under stone */
.you-may-also-like-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: #ffffff;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding: 0.75rem 0.75rem 1rem;
    margin-bottom: 0.25rem; */
}

.you-may-also-like-image img {
    display: block;
    width: auto;
    height: auto;
    /* max-width: 88%;
    max-height: 88%; */
    object-fit: contain;
    object-position: center;
    /* filter: drop-shadow(0 12px 22px rgba(15, 23, 42, 0.11)) drop-shadow(0 4px 8px rgba(15, 23, 42, 0.07)); */
    transition: filter 0.25s ease;
}

.you-may-also-like-info {
    padding: 0 0.5rem;
    text-align: center;
}

.you-may-also-like-desc {
    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #232439;
    margin-bottom: 0.5rem;
    line-height: 22px;
    margin: 0 0 0.5rem 0;
    text-align: center;
}

/* One row: bold current price, then grey strikethrough original (reference) */
.you-may-also-like-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 0.35rem 0.65rem;
    margin: 0;
}

.you-may-also-like-price .you-may-also-like-current {
    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
    color: #0f172a;
}

.you-may-also-like-price .you-may-also-like-original {
    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
    color: #656565;
    text-decoration: line-through;
    text-decoration-color: #656565;
}

/* ========== Inventory Page Styles ========== */
/* Responsive grid: 4 cols desktop, 2 tablet, 1 mobile (keeps inventory-grid layout) */
@media (min-width: 1025px) {
    .inventory-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 1024px) and (min-width: 641px) {
    .inventory-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .inventory-grid {
        grid-template-columns: 1fr;
    }
}
.price-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a3300;
}
.min-purchase-notice {
    margin: 0.5rem 0;
}
.min-purchase-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
}
.inventory-product-count {
    font-size: 0.9375rem;
    font-weight: normal;
    color: #0f172a;
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.inventory-controls {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 1rem;
    padding: 0.5rem 0;
    flex-wrap: wrap;
    gap: 0.75rem;
    border-bottom: none;
}
.inventory-controls-end {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
    margin-left: auto;
    min-width: 0;
}
.inventory-controls-category {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}
.inventory-controls-right-cluster {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    flex-shrink: 0;
    min-width: 0;
}
.inventory-sort-wrap {
    display: flex;
    align-items: center;
    min-width: 0;
}
.inventory-per-page-wrap {
    display: none !important;
}
.inventory-per-page-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #333333;
    white-space: nowrap;
    margin: 0;
}
.inventory-per-page-select {
    min-width: 4.25rem;
}
.inventory-sort-select,
.inventory-sort-wrap .control-select {
    max-width: 100%;
}
.inventory-count-cell {
    flex: 0 0 auto;
}
.inventory-controls-left,
.inventory-controls-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.inventory-controls-category.hidden {
    display: none !important;
}

/* —— Inventory: mobile filter drawer + toolbar (matches LabGems live mobile) —— */
.inventory-filter-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2190;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.inventory-filter-backdrop.is-open {
    display: block;
    opacity: 1;
    visibility: visible;
}
body.inventory-filter-drawer-open {
    overflow: hidden;
}
.inventory-filter-drawer-header {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid #e5e7eb;
    flex-shrink: 0;
    background: #ffffff;
}
.inventory-filter-drawer-title {
    font-family: 'Manrope', system-ui, sans-serif;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #111827;
}
.inventory-filter-drawer-close {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    font-size: 1.75rem;
    line-height: 1;
    color: #374151;
    cursor: pointer;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.inventory-filter-drawer-close:hover {
    background: #f3f4f6;
    color: #111827;
}
.inventory-filter-drawer-footer {
    display: none;
    padding: 0;
    margin: 0;
    flex-shrink: 0;
    background: #ffffff;
}
.inventory-filter-view-products-btn {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 1rem 1.25rem;
    font-family: 'Manrope', system-ui, sans-serif;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #111827;
    background: #ffffff;
    border: 1px solid #111827;
    border-radius: 0;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}
.inventory-filter-view-products-btn:hover {
    background: #f9fafb;
}
.inventory-filter-open-btn {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    min-width: 0;
    padding: 0.65rem 0.75rem;
    font-family: 'Manrope', system-ui, sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: #111827;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    cursor: pointer;
    box-sizing: border-box;
}
.inventory-filter-open-btn:hover {
    border-color: #9ca3af;
    background: #fafafa;
}
.inventory-filter-open-icon {
    display: inline-flex;
    color: #374151;
    flex-shrink: 0;
}
.search-field-icon {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.search-bar-top .search-input-with-icon {
    padding-left: 2.65rem;
}

.control-label {
    color: #333333;
    font-size: 0.875rem;
    font-weight: 500;
}
.control-select {
    padding: 0.5rem 0.75rem;
    background: #f7f7f7;
    border: 1px solid #e8ece8;
    border-radius: 0.375rem;
    color: #0f172a;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}
.control-select:hover {
    border-color: rgba(26, 51, 0, 0.3);
}
.control-select:focus {
    outline: none;
    border-color: #1a3300;
    box-shadow: 0 0 0 2px rgba(26, 51, 0, 0.15);
}
/* Search bar at top of right column (below title, above product count row) */
.inventory-main .search-bar-top {
    margin: 0 0 1rem;
}
.search-bar-top {
    margin: 0;
}
.search-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.search-bar-top .search-icon {
    display: none !important;
}
.search-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
}
.search-bar-top input {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    background: #ffffff;
    border: 1px solid #e8ece8;
    border-radius: 0.5rem;
    color: #0f172a;
    font-size: 0.875rem;
}
.search-bar-top input::placeholder {
    color: #94a3b8;
}
.search-bar-top input:focus {
    outline: none;
    border-color: #1a3300;
    box-shadow: 0 0 0 2px rgba(26, 51, 0, 0.15);
}
.search-submit-btn {
    padding: 0.75rem 1.25rem;
    background: #ffffff;
    color: #1a3300;
    border: 2px solid #1a3300;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s;
}
.search-submit-btn:hover {
    background: rgba(26, 51, 0, 0.06);
    border-color: rgba(26, 51, 0, 0.3) !important;
}
.btn-add-to-cart:hover {
    color: #ffffff !important;
    border: 1px solid #1a3300 !important;
    background: rgba(26, 51, 0, 1) !important;
}
.clear-search-btn {
    position: absolute;
    right: 0.5rem;
    top: 42%;
    transform: translateY(-50%);
    background: transparent !important;
    border: none !important;
    color: #666666;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    line-height: 1;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    margin: 0;
    box-shadow: none !important;
}
.clear-search-btn:hover {
    background: rgba(0, 0, 0, 0.1) !important;
    color: #000000;
}
.clear-search-btn:active {
    transform: translateY(-50%) scale(0.9);
}
.search-bar-top button:not(.clear-search-btn):not(.search-submit-btn) {
    padding: 0.75rem 1.25rem;
    background: #1a3300;
    color: #ffffff;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}
.search-bar-top button:not(.clear-search-btn):not(.search-submit-btn):hover {
    background: #0d1f00;
}
.search-bar-top button:not(.clear-search-btn):active {
    transform: scale(0.98);
}
.inventory-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 1rem 2rem;
    margin-top: 0.5rem;
}
.inventory-sidebar {
    background: #ffffff;
    /* border: 1px solid #e8ece8;
    border-radius: 0.5rem;
    padding: 1.25rem 1.5rem; */
    height: fit-content;
    position: static;
}
.inventory-filters-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 0 0 0.65rem;
    /* margin-bottom: 0.2rem;
    border-bottom: 1px solid #e8e8e8; */
}
/* Live LabGems: Clear All = blue underlined text link, right-aligned in toolbar */
.btn-clear-all-filters {
    display: none;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    font-size: 14px !important;
    color: #000000 !important;
    text-transform: none !important;
    font-weight: normal !important;
    background: none !important;
    border: none !important;
    font-family: "Manrope", system-ui, -apple-system, sans-serif;
    text-underline-offset: 0.15em !important;
    cursor: pointer !important;
    transition: color 0.15s ease;
    text-decoration: underline !important;
}
.btn-clear-all-filters.is-visible {
    display: inline;
    align-items: unset;
    justify-content: unset;
}
.btn-clear-all-filters:hover {
    color: #1d4ed8;
    background: transparent;
    border: none;
}
.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.sidebar-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #333333;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.filter-group {
    margin-bottom: 0.65rem;
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 0.4rem;
}
.filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.45rem 0;
}
.filter-header-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    flex: 1;
}
.filter-header-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.filter-header-actions .btn-clear-filter {
    display: none;
}
.filter-header-actions .btn-clear-filter.is-visible {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    text-decoration: underline;
    font-size: 14px;
}
.btn-clear-filter {
    padding: 0.25rem 0.5rem;
    background: transparent;
    border: 1px solid rgba(26, 51, 0, 0.25);
    border-radius: 0.25rem;
    color: #1a3300;
    font-size: 0.7rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-clear-filter:hover {
    background: rgba(26, 51, 0, 0.06);
    border-color: rgba(26, 51, 0, 0.3) !important;
}
.filter-title {
    font-family: "Manrope", system-ui, -apple-system, sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #3a3a3a;
    text-transform: uppercase;
    letter-spacing: 0.045em;
    line-height: 1.3;
}
.filter-help-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    margin-left: 0.2rem;
}
.filter-help-btn {
    width: 1.125rem;
    height: 1.125rem;
    padding: 0;
    border: 1px solid #d1d5db;
    border-radius: 50%;
    background: #ffffff;
    color: #64748b;
    font-size: 0.6rem;
    font-weight: 600;
    line-height: 1;
    cursor: help;
    vertical-align: middle;
    box-sizing: border-box;
}
.filter-help-btn:hover,
.filter-help-btn:focus-visible {
    background: #f8fafc;
    color: #475569;
    border-color: #94a3b8;
    outline: none;
}
.filter-help-tooltip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    transform: translateX(-50%);
    width: max-content;
    max-width: 15rem;
    padding: 0.5rem 0.65rem;
    background: #ffffff;
    color: #111111;
    font-size: 0.7rem;
    font-weight: 400;
    line-height: 1.35;
    text-transform: none;
    letter-spacing: 0.02em;
    text-align: left;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    z-index: 80;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, visibility 0.15s ease;
}
.filter-help-wrap:hover .filter-help-tooltip,
.filter-help-wrap:focus-within .filter-help-tooltip {
    visibility: visible;
    opacity: 1;
}
.filter-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #333333;
}
.filter-chevron {
    display: block;
    transition: transform 0.22s ease;
    transform: rotate(0deg);
    transform-origin: 50% 55%;
}
.filter-header.filter-expanded .filter-chevron {
    transform: rotate(180deg);
}
.filter-content {
    margin-top: 0.35rem;
    max-height: 260px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #bdbdbd #f5f5f5;
}
/* Checkbox facets: 8 full rows then scroll (tuned from 8×1.375rem, which fit ~7 rows in practice) */
.filter-group[data-filter-key="shape"] .filter-content,
.filter-group[data-filter-key="color"] .filter-content,
.filter-group[data-filter-key="clarity"] .filter-content {
    max-height: calc((8 * 1.375rem) * 8 / 7);
}

/* Carat + price facets: compact vertical rhythm (live LabGems weight block) */
.filter-group[data-filter-key="carat"] .filter-content,
.filter-group[data-filter-key="price"] .filter-content {
    margin-top: 0;
    padding-top: 0.1rem;
    max-height: none;
    overflow: visible;
}
.filter-group[data-filter-key="carat"] .filter-header,
.filter-group[data-filter-key="price"] .filter-header {
    padding-top: 0.25rem;
    padding-bottom: 0.2rem;
}
/* SIZE facet: native dropdown (matches product-page UX); no inner scroll clipping */
.filter-content.filter-content--size-select {
    max-height: none;
    overflow: visible;
}
.filter-size-select {
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    box-sizing: border-box;
}
.filter-content::-webkit-scrollbar {
    width: 8px;
}
.filter-content::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 999px;
}
.filter-content::-webkit-scrollbar-thumb {
    background: #c4c4c4;
    border-radius: 999px;
    border: 2px solid #f5f5f5;
}
.filter-content::-webkit-scrollbar-thumb:hover {
    background: #9e9e9e;
}
.filter-select {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 0.45rem 1.65rem 0.45rem 0.55rem;
    border: 1px solid #cccccc;
    border-radius: 0.25rem;
    font-size: 0.8125rem;
    font-family: "Manrope", system-ui, -apple-system, sans-serif;
    color: #333333;
    background-color: #fff;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    cursor: pointer;
}
.filter-select:focus {
    outline: none;
    border-color: #999999;
    background-color: #fafafa;
}
.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0.32rem 0;
    cursor: pointer;
    color: #000000;
    font-size: 14px;
    font-family: "Manrope", system-ui, -apple-system, sans-serif;
    font-weight: 400;
    line-height: 17px;
}
.filter-checkbox .filter-option-count {
    color: #888888;
    font-weight: 400;
}
.filter-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
    display: block;
    flex: 0 0 16px;
    width: 16px;
    min-width: 16px;
    height: 16px;
    margin: 0 8px 0 0;
    position: relative;
    cursor: pointer;
    border: 1px solid #cccccc;
    border-radius: 0;
    background: #ffffff;
    vertical-align: middle;
}
.filter-checkbox input[type="checkbox"]:hover {
    border-color: #999999;
}
.filter-checkbox input[type="checkbox"]:focus-visible {
    outline: 2px solid #666666;
    outline-offset: 2px;
}
.filter-checkbox input[type="checkbox"]:checked {
    background-color: #333333;
    border-color: #333333;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 6L5 8.5L9.5 3' stroke='%23ffffff' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 10px 10px;
    background-position: center;
    background-repeat: no-repeat;
}
.filter-checkbox input[type="checkbox"]:checked:hover {
    border-color: #333333;
    filter: brightness(1.06);
}
.range-filter {
    margin-top: 0;
    padding: 0.35rem 0 !important;
}
.filter-group[data-filter-key="carat"] .range-filter {
    padding: 0.28rem 0 0.18rem !important;
    container-type: inline-size;
    container-name: inventory-carat;
}
.filter-group[data-filter-key="price"] .range-filter {
    padding: 0.28rem 0 0.18rem !important;
    container-type: inline-size;
    container-name: inventory-price;
}
.range-inputs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}
.filter-group[data-filter-key="carat"] .range-inputs,
.filter-group[data-filter-key="price"] .range-inputs {
    margin-bottom: 0.36rem;
}
.filter-group[data-filter-key="carat"] .range-inputs input,
.filter-group[data-filter-key="price"] .range-inputs input {
    padding: 0.38rem 0.35rem;
}
/* Live LabGems price facet: min/max inputs left-aligned like storefront */
.filter-group[data-filter-key="price"] .range-inputs input {
    text-align: left;
    padding-left: 0.42rem;
    padding-right: 0.32rem;
}
.range-inputs input {
    flex: 1;
    padding: 0.45rem 0.4rem;
    border: 1px solid #cccccc;
    border-radius: 0.25rem;
    background: #ffffff;
    color: #333333;
    font-size: 0.8125rem;
    font-family: "Manrope", system-ui, -apple-system, sans-serif;
    text-align: center;
}
/* Remove spinner arrows from number inputs */
.range-inputs input[type="number"]::-webkit-inner-spin-button,
.range-inputs input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.range-inputs input[type="number"] {
    -moz-appearance: textfield;
}
.range-inputs span {
    color: #333333;
    font-weight: 400;
    font-size: 0.8125rem;
    line-height: 1;
    padding: 0 0.1rem;
}
.dual-range-slider {
    position: relative;
    width: 100%;
    height: 24px;
    margin: 0.35rem 0 0.2rem;
    overflow: visible;
}
.filter-group[data-filter-key="carat"] .dual-range-slider,
.filter-group[data-filter-key="price"] .dual-range-slider {
    margin: 0.12rem 0 0.08rem;
}
/* Live: selected span between thumbs reads darker than weight slider */
.filter-group[data-filter-key="price"] .dual-range-slider .slider-track {
    background: #6e6e6e;
}
/*
 * Dual range: native tracks transparent so ::before + .slider-track paint the bar.
 * Live LabGems: thick medium-grey bar, darker grey thumbs (not pure black).
 */
.dual-range-slider::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 6px;
    height: 10px;
    border-radius: 5px;
    background: #d0d0d0;
    z-index: 0;
    pointer-events: none;
}
.slider-track {
    position: absolute;
    top: 6px;
    left: 0;
    height: 10px;
    background: #b3b3b3;
    border-radius: 5px;
    pointer-events: none;
    z-index: 1;
}
.dual-range-slider input[type="range"] {
    position: absolute;
    width: 100%;
    height: 10px;
    background: transparent;
    outline: none;
    -webkit-appearance: none;
    pointer-events: none;
    z-index: 2;
    top: 6px;
    margin: 0;
    padding: 0;
}
.dual-range-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 17px;
    height: 17px;
    background: #4d4d4d;
    cursor: pointer;
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
    pointer-events: all;
    position: relative;
    z-index: 3;
    margin-top: -5px;
}
.dual-range-slider input[type="range"]::-moz-range-thumb {
    width: 17px;
    height: 17px;
    background: #4d4d4d;
    cursor: pointer;
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
    pointer-events: all;
    position: relative;
    z-index: 3;
    margin-top: -5px;
}
.dual-range-slider input[type="range"]::-webkit-slider-runnable-track {
    height: 10px;
    background: transparent;
    border-radius: 5px;
}
.dual-range-slider input[type="range"]::-moz-range-track {
    height: 10px;
    background: transparent;
    border-radius: 5px;
}
.dual-range-slider input[type="range"]::-moz-range-progress {
    background: transparent;
}
.range-labels {
    position: relative;
    width: 100%;
    min-height: 1.15rem;
    margin-top: 0.12rem;
    padding-top: 6px;
    padding-bottom: 0.1rem;
}
.filter-group[data-filter-key="carat"] .range-labels,
.filter-group[data-filter-key="price"] .range-labels {
    margin-top: 0.1rem;
    padding-top: 6px;
}
/* Weight (CT) + price: live ruler — baseline, tall end ticks, 4 short inner ticks, end labels only */
.filter-group[data-filter-key="carat"] .range-labels--carat-ruler,
.filter-group[data-filter-key="price"] .range-labels--price-ruler {
    min-height: 1.75rem;
    margin-top: 0.1rem;
    padding-top: 0;
    padding-bottom: 0.12rem;
}
.filter-group[data-filter-key="carat"] .range-labels--carat-ruler::before,
.filter-group[data-filter-key="price"] .range-labels--price-ruler::before {
    display: none;
}
.filter-group[data-filter-key="carat"] .range-scale-ruler,
.filter-group[data-filter-key="price"] .range-scale-ruler {
    position: relative;
    width: 100%;
    height: 11px;
    margin-top: 0.35rem;
    border-top: 1px solid #d0d0d0;
    box-sizing: border-box;
}
.filter-group[data-filter-key="carat"] .range-scale-ruler-tick,
.filter-group[data-filter-key="price"] .range-scale-ruler-tick {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 5px;
    margin: 0;
    padding: 0;
    background: #b5b5b5;
    transform: translateX(-50%);
    pointer-events: none;
}
.filter-group[data-filter-key="carat"] .range-scale-ruler-tick--major,
.filter-group[data-filter-key="price"] .range-scale-ruler-tick--major {
    height: 8px;
    background: #8a8a8a;
}
.filter-group[data-filter-key="carat"] .range-scale-ruler-tick--start,
.filter-group[data-filter-key="price"] .range-scale-ruler-tick--start {
    left: 0;
    transform: translateX(0);
}
.filter-group[data-filter-key="carat"] .range-scale-ruler-tick--end,
.filter-group[data-filter-key="price"] .range-scale-ruler-tick--end {
    left: 100%;
    transform: translateX(-100%);
}
.filter-group[data-filter-key="carat"] .range-scale-ruler-labels,
.filter-group[data-filter-key="price"] .range-scale-ruler-labels {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    width: 100%;
    margin-top: 0.2rem;
    font-family: "Manrope", system-ui, -apple-system, sans-serif;
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.2;
    color: #888888;
    letter-spacing: 0.01em;
    user-select: none;
    pointer-events: none;
}
.filter-group[data-filter-key="carat"] .range-scale-ruler-label,
.filter-group[data-filter-key="price"] .range-scale-ruler-label {
    flex: 0 0 auto;
}
/* Live scale: dense light-grey ticks + #ccc baseline + small edge labels */
.range-labels::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 6px;
    background:
        linear-gradient(to top, #cccccc 0, #cccccc 1px, transparent 1px),
        repeating-linear-gradient(
            90deg,
            rgba(160, 160, 160, 0.5) 0 1px,
            transparent 1px 3px
        );
    pointer-events: none;
}
.range-label {
    position: absolute;
    top: 9px;
    font-family: "Manrope", system-ui, -apple-system, sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.2;
    color: #888888;
    letter-spacing: 0.01em;
    white-space: nowrap;
    transform: translateX(-50%);
}
.inventory-main {
    min-width: 0;
}
@media (min-width: 1025px) {
    .inventory-sidebar {
        position: static;
        transform: none !important;
        width: auto;
        max-width: none;
        height: fit-content;
        min-height: 0;
        max-height: none;
        padding: 0;
        overflow: visible;
    }
    .inventory-filter-drawer-header,
    .inventory-filter-drawer-footer {
        display: none !important;
    }
    .inventory-filter-open-btn {
        display: none !important;
    }
    .inventory-sort-select,
    .inventory-sort-wrap .control-select {
        min-width: 11rem;
    }
}
@media (max-width: 1024px) {
    .inventory-layout {
        display: flex;
        flex-direction: column;
        gap: 0;
        grid-template-columns: unset;
    }
    .inventory-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        max-width: 100%;
        min-height: 100vh;
        min-height: 100dvh;
        height: auto;
        max-height: 100dvh;
        margin: 0;
        padding: 0 1rem 5.75rem;
        box-sizing: border-box;
        z-index: 2200;
        transform: translateX(-100%);
        transition: transform 0.28s ease;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        border-radius: 0;
        background: #ffffff;
    }
    .inventory-sidebar.is-open {
        transform: translateX(0);
    }
    .inventory-filters-toolbar {
        justify-content: flex-end;
        padding-top: 0.35rem;
    }
    .inventory-filters-toolbar:not(:has(.btn-clear-all-filters.is-visible)) {
        display: none;
        margin: 0;
        padding: 0;
        border: none;
    }
    .inventory-filter-backdrop.is-open {
        z-index: 2190;
    }
    .inventory-filter-drawer-header {
        display: flex;
        margin: 0 -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
        position: sticky;
        top: 0;
        z-index: 2;
    }
    .inventory-sidebar .sidebar-header {
        display: none;
    }
    .inventory-filter-drawer-footer {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 2210;
        padding: 0;
        border-top: 1px solid #e5e7eb;
        background: #ffffff;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
    }
    .inventory-controls {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 0.75rem;
        align-items: stretch;
        margin-bottom: 0.75rem;
        padding: 0;
    }
    .inventory-count-cell {
        grid-column: 1 / -1;
        grid-row: 2;
    }
    .inventory-filter-open-btn {
        display: inline-flex !important;
        grid-column: 1;
        grid-row: 1;
        margin: 0;
    }
    /* Sort + category share one cell so controls stay on one baseline row. */
    .inventory-controls-end {
        display: flex;
        grid-column: 2;
        grid-row: 1;
        align-items: center;
        justify-content: flex-end;
        justify-self: stretch;
        gap: 20px;
        flex-wrap: nowrap;
        min-width: 0;
        margin-left: 0;
    }
    .inventory-controls-right-cluster {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        min-width: 0;
        flex-shrink: 0;
    }
    .inventory-sort-wrap {
        min-width: 0;
        display: flex;
        flex: 1 1 auto;
        justify-content: flex-end;
    }
    .inventory-sort-wrap .control-select,
    .inventory-sort-select {
        width: 100%;
    }
    .search-form {
        gap: 0;
    }
    .inventory-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}
@media (max-width: 640px) {
    .inventory-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .inventory-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }
    .diamond-info {
        padding: 1rem;
    }
    .diamond-description {
        font-size: 0.875rem;
    }
    .price-value {
        font-size: 1rem;
    }
}

/* ========== Our Story Page ========== */
.our-story-page {
    /* padding: 0 1rem 3rem; */
    max-width: 1300px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Beat .customer-content section { margin: 0 !important } — vertical rhythm without double margins */
.customer-content .our-story-page > section {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
/* Title band sits flush above hero (no extra strip between heading and grey band) */
.customer-content .our-story-page > section:first-of-type {
    margin-top: 0 !important;
}
/* One gap between consecutive sections (not top+bottom each = no doubled strip) */
.customer-content .our-story-page > section + section {
    margin-top: 48px !important;
}
/* Touch hero + mission full-bleed bands (no white gap) */
.customer-content .our-story-page > section.our-story-hero.our-story-hero--full-bleed + section.our-story-mission {
    margin-top: 0 !important;
}

/* (0,3,1) beats section+section (0,2,2) so 30px margins win on Our Story */
.customer-content .our-story-page > section.our-story-categories {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    margin-top: 48px !important;
    margin-bottom: 48px !important;
}

.customer-content .our-story-page > section.our-story-confidence {
    padding: 0 !important;
}

/* Title band: same full-bleed gray as breadcrumb; no bottom padding so hero sits flush below */
.our-story-title-band {
    text-align: center;
    /* background-color: #f2f2f2; */
    box-sizing: border-box;
    padding: 30px 0;
    margin-bottom: 0;
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}
@media (max-width: 480px) {
    .our-story-title-band {
        padding: 1.5rem 10px 0;
    }
}


/* Our Story band title */
.our-story-title {
    margin: 0;
}

@media (max-width: 768px) {
    .our-story-title {
        margin: 0.75rem 0.5rem 1rem;
    }
}

.page-breadcrumb-wrap--our-story .page-breadcrumb {
    font-family: "Manrope", system-ui, sans-serif;
    font-weight: 500;
}

/* Hero: full-bleed background */
.our-story-hero--full-bleed {
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;
    background: #e1e1e1 !important;
    padding: 0;
}
.our-story-hero-wrap {
    max-width: 1300px;
    margin: 0 auto;
    /* padding: 48px 32px; */
    box-sizing: border-box;
}
@media (max-width: 768px) {
    .our-story-hero-wrap {
        padding: 32px 20px;
    }
}
.our-story-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 320px;
    align-items: center;
    /* background: #e1e1e1 !important;
    border-radius: 12px; */
    overflow: hidden;
    /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06); */
}
.our-story-hero-image {
    position: relative;
    background: #e1e1e1 !important;
    min-height: 320px;
    align-self: stretch;
}
.our-story-hero-image img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    object-position: center;
    display: block;
}
.our-story-hero-placeholder {
    width: 100%;
    height: 100%;
    min-height: 320px;
    background: #e1e1e1 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}
.our-story-hero-content {
    /* padding: 40px 40px 40px 48px; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    background: #e1e1e1 !important;
}
@media (max-width: 768px) {
    .our-story-hero-content {
        padding: 28px 24px;
    }
}
.our-story-hero-subtitle {
    font-family: "Poppins", system-ui, sans-serif;
    font-size: clamp(30px, 4vw, 42px) !important;
    font-weight: 600;
    color: #1a3300!important;
    margin: 0 0 1.25rem;
    line-height: 1.25;
    letter-spacing: 0.02em;
}
.our-story-hero-content p {
    font-family: "Manrope", system-ui, sans-serif;
    font-size: clamp(15px, 2vw, 17px);
    line-height: 1.6;
    margin-bottom: 12px;
    color: #333333;
    font-weight: 500;
    text-align: justify;
    margin-top: 0;
}
.our-story-hero-content p:last-child { margin-bottom: 0; }

/* Mission & Grow With Us — full-bleed green band (matches live labgems.com) */
.our-story-mission {
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;
    background: linear-gradient(135deg, #1a3300 0%, #2d4d00 100%);
    color: #ffffff;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
}
.our-story-mission-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: clamp(2.5rem, 6vw, 4.5rem) 32px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: clamp(1.75rem, 4vw, 3.5rem);
    align-items: stretch;
}
.our-story-mission-col {
    min-width: 0;
    text-align: center;
}
h2.our-story-mission-heading{
    color: #ffffff !important;
}
.our-story-mission-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.22);
    align-self: stretch;
    min-height: 120px;
}
.our-story-mission-heading {
    font-family: "Poppins", system-ui, sans-serif;
    font-size: clamp(1.625rem, 3vw, 2.375rem);
    font-weight: 600;
    margin: 0 0 1.25rem;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: 0.02em;
}
.our-story-mission-col p {
    font-family: "Manrope", system-ui, sans-serif;
    font-size: clamp(0.9375rem, 1.4vw, 1.0625rem);
    line-height: 1.65;
    color: #ffffff;
    margin: 0;
    font-weight: 400;
}
.our-story-mission-col p + p {
    margin-top: 1rem;
}
.our-story-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.5rem;
    padding: 0.875rem 2rem;
    min-height: 48px;
    background: #ffffff;
    color: #1a3300;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: "Manrope", system-ui, sans-serif;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.our-story-cta-btn:hover {
    background: #f6f6f6;
    color: #0d1f00;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

/* Category cards (30px top/bottom — .customer-content section.our-story-categories) */
.our-story-categories {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}
.our-story-categories-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.our-story-category-card {
    background: #ffffff;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    text-align: center;
    padding-bottom: 1.5rem;
}
.our-story-category-image {
    width: 100%;
    aspect-ratio: 4/3;
    background: #f1f1f1;
    overflow: hidden;
}
.our-story-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.our-story-category-image {
    position: relative;
}
.our-story-category-image .our-story-cat-fallback {
    display: none;
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(26, 51, 0, 0.3);
    background: #f1f1f1;
}
.our-story-category-image.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(26, 51, 0, 0.3);
}
.our-story-category-title {
    font-family: "Poppins", system-ui, sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a3300;
    margin: 1rem 1rem 0.5rem;
}
.our-story-category-card p {
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.5;
    margin: 0 1rem;
    font-family: "Manrope", system-ui, sans-serif;
}

/* Shop With Confidence — full-bleed band (labgems.com: #f6f6f6, Poppins title, Manrope body) */
.our-story-confidence {
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;
    background: #f6f6f6;
    border-radius: 0;
}
.our-story-confidence-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: clamp(2.5rem, 5vw, 3.5rem) 32px;
    box-sizing: border-box;
}
.our-story-confidence-title {
    font-family: "Poppins", system-ui, sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 600;
    color: #232430;
    text-align: center;
    margin: 0 0 1rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.our-story-confidence-divider {
    width: 56px;
    height: 3px;
    margin: 0 auto 2rem;
    background: #1a3300;
    border-radius: 2px;
}
.our-story-confidence-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 4vw, 2.5rem);
    align-items: start;
}
.our-story-confidence-col {
    text-align: center;
    margin: 0;
}
.our-story-confidence-icon {
    color: #1a3300;
    margin-bottom: 1.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.our-story-confidence-icon svg,
.our-story-confidence-icon img {
    width: 64px;
    height: auto;
    max-height: 76px;
    object-fit: contain;
}
.our-story-confidence-heading {
    font-family: "Poppins", system-ui, sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: #232430;
    margin: 0 0 0.75rem;
    line-height: 1.3;
}
.our-story-confidence-col p {
    font-size: 1rem;
    font-weight: 400;
    color: #232430;
    line-height: 1.6;
    margin: 0;
    font-family: "Manrope", system-ui, sans-serif;
}
.our-story-confidence-col p a {
    color: #1a3300;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.our-story-confidence-col p a:hover {
    color: #0d1f00;
}

@media (max-width: 768px) {
    .our-story-hero-inner {
        grid-template-columns: 1fr;
        border-radius: 10px;
    }
    .our-story-hero-image,
    .our-story-hero-image img {
        min-height: 260px;
    }
    .our-story-mission-inner {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        padding-left: 20px;
        padding-right: 20px;
    }
    .our-story-mission-divider {
        min-height: 1px;
        width: 100%;
        height: 1px;
    }
    .our-story-confidence-inner {
        padding: 2.25rem 20px;
    }
    .our-story-categories-inner {
        grid-template-columns: 1fr;
    }
    .our-story-confidence-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .our-story-confidence-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========== Contact LabGems page ========== */
.contact-page {
    padding: 0 1rem 3rem;
    /* max-width: 1200px; */
    margin: 0 auto;
    box-sizing: border-box;
}
.contact-page-header {
    text-align: center;
    margin:30px 0;
    /* padding: 0 0.5rem; */
}
.contact-page-title {
    margin: 0;
}

@media (max-width: 768px) {
    .contact-page-header {
        margin: 0.75rem 0.5rem 1rem;
    }
}
.contact-hero {
    position: relative;
    margin: 0 -1rem 3rem;
    width: calc(100% + 2rem);
    padding: 3rem 1.5rem 4rem;
    box-sizing: border-box;
    border-radius: 0;
    overflow: hidden;
}
.contact-hero-bg {
    position: absolute;
    inset: 0;
    background-color: #f5f3f0;
    background-image: url("../images/2ad4e198d92e150878d0663795c0e4ab0843d8f9_2048x.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(0);
}
.contact-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.15);
    pointer-events: none;
}
.live-stock-content{
    margin-top: 30px;
}
.contact-form-card-wrap {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 48px;
}
.contact-alert {
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 1.25rem;
    font-size: 0.9375rem;
    font-family: "Montserrat", sans-serif;
}
.contact-alert--success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}
.contact-alert--error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}
.contact-alert--error ul {
    margin: 0.5rem 0 0 1.25rem;
    padding: 0;
}
.contact-form-card {
    background: #ffffff;
    border-radius: 12px;
    /* Even glow on all sides (no vertical offset) */
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 0 28px rgba(0, 0, 0, 0.08);
    padding: 2rem 1.75rem 2.25rem;
    /* Match live LabGems contact form: Inter-style UI typography */
    font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    border:1px solid #e6e6e6;
}
@media (min-width: 640px) {
    .contact-form-card {
        padding: 2.5rem 2.25rem 2.75rem;
    }
}
.contact-form-row {
    display: grid;
    gap: 1rem;
}
.contact-form-row--2 {
    grid-template-columns: 1fr 1fr;
}
@media (max-width: 520px) {
    .contact-form-row--2 {
        grid-template-columns: 1fr;
    }
}
.contact-field {
    margin-bottom: 1.1rem;
}
.contact-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 400;
    color: #404040;
    letter-spacing: 0.02em;
    line-height: 1.35;
    margin-bottom: 0.4rem;
}
.contact-label .req,
.contact-section-label .req {
    color: #dc2626;
    font-weight: 500;
}
.contact-label .hint {
    color: #a3a3a3;
    font-weight: 400;
    letter-spacing: 0.025em;
}
.contact-section-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #262626;
    letter-spacing: 0.02em;
    line-height: 1.35;
    margin: 1.25rem 0 0.65rem;
}
.contact-input,
.contact-select,
.contact-textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 0.65rem 0.85rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 0.9375rem;
    font-family: inherit;
    font-weight: 400;
    letter-spacing: 0.025em;
    color: #171717;
    background: #fff;
}
.contact-input::placeholder,
.contact-textarea::placeholder {
    color: #a3a3a3;
    font-weight: 400;
    letter-spacing: 0.04em;
}
.contact-select {
    color: #525252;
}
.contact-select option {
    font-family: inherit;
    letter-spacing: 0.02em;
}
.contact-input:focus,
.contact-select:focus,
.contact-textarea:focus {
    outline: none;
    border-color: #1a3300;
    box-shadow: 0 0 0 2px rgba(26, 51, 0, 0.12);
}
.contact-textarea {
    resize: vertical;
    min-height: 140px;
}
.contact-phone-row {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
}
.contact-select-phone {
    flex: 0 0 auto;
    min-width: 5.5rem;
    max-width: 8rem;
}
.contact-input-phone-grow {
    flex: 1;
    min-width: 0;
}
/* intl-tel-input — single unified row (flag + dial + phone, one border) */
.contact-field-phone .iti {
    width: 100%;
    display: block;
    position: relative;
    border: 1px solid #c4c4c4;
    border-radius: 4px;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contact-field-phone .iti:focus-within {
    border-color: #1a3300;
    box-shadow: 0 0 0 2px rgba(26, 51, 0, 0.12);
}
.contact-field-phone .iti__country-container {
    border-right: 1px solid #c4c4c4;
    border-radius: 3px 0 0 3px;
    background: #ececec;
}
.contact-field-phone .iti__selected-country-primary {
    background: transparent;
}
.contact-field-phone .iti__selected-dial-code {
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 400;
    color: #404040;
    letter-spacing: 0.02em;
}
.contact-field-phone .iti input.iti__tel-input,
.contact-field-phone .iti input.contact-phone-intl {
    width: 100%;
    box-sizing: border-box;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    background: #fff !important;
    margin: 0 !important;
    padding-top: 0.65rem !important;
    padding-bottom: 0.65rem !important;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 400;
    letter-spacing: 0.025em;
    color: #171717;
}
.contact-field-phone .iti input.iti__tel-input:focus,
.contact-field-phone .iti input.contact-phone-intl:focus {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}
.contact-field-phone .iti input.iti__tel-input::placeholder {
    color: #a3a3a3;
    letter-spacing: 0.04em;
}
.contact-field-phone--error .iti {
    border-color: #dc2626;
}
.contact-field-phone--error .iti:focus-within {
    border-color: #dc2626;
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.15);
}
.contact-field-error {
    margin: 0.4rem 0 0;
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: #dc2626;
}
/* Dropdown in body container (above fixed header) */
.iti--container {
    z-index: 10060 !important;
}
.iti--container .iti__country-list,
.iti--container .iti__dropdown-content {
    font-family: "Inter", "Segoe UI", system-ui, sans-serif;
    font-size: 0.875rem;
}
.iti--container .iti__dropdown-content {
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}
.contact-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: #525252;
    margin: 1.25rem 0 1.5rem;
    cursor: pointer;
}
.contact-checkbox-label input {
    margin-top: 0.2rem;
    accent-color: #1a3300;
}
.contact-submit-btn {
    display: block;
    width: 100%;
    padding: 1rem 1.5rem;
    background: #111827;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: "Montserrat", sans-serif;
    cursor: pointer;
    transition: background 0.2s;
}
.contact-submit-btn:hover {
    background: #000000;
}
.contact-hq {
    background: #f3f4f6;
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-bottom: 0;
    padding: 3rem 1.5rem 3.5rem;
    box-sizing: border-box;
}
.contact-hq-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 2.5rem;
    align-items: start;
    padding: 30px 0px;
}
@media (max-width: 900px) {
    .contact-hq-inner {
        grid-template-columns: 1fr;
    }
}
.contact-hq-heading {
    font-family: "Poppins", system-ui, sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: #1a3300;
    margin: 0 0 1.25rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
/* HQ copy block (matches live .rte — no bold labels) */
.contact-hq-info.map-section__text {
    min-width: 0;
}
.contact-hq-info .rte {
    font-family: "Manrope", system-ui, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #232430;
    line-height: 1.6;
}
.contact-hq-info .rte p {
    margin: 0 0 0.65rem;
    font-weight: 400;
}
.contact-hq-info .rte p:last-child {
    margin-bottom: 0;
}
.contact-hq-info .rte a {
    color: #1a3300;
    text-decoration: underline;
    font-weight: 400;
}
.contact-hq-info .rte a:hover {
    color: #0d1f00;
}
.contact-hq-info .rte strong,
.contact-hq-info .rte b {
    font-weight: 400;
}
.contact-route-btn .feather-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.contact-route-btn .feather-icon svg {
    display: block;
}
.contact-route-btn .btn__icon-label {
    line-height: 1;
}
.contact-route-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0.65rem 1.35rem;
    background: #1a3300;
    color: #fff !important;
    text-decoration: none !important;
    font-family: "Manrope", system-ui, sans-serif;
    font-size: 0.875rem;
    /* font-weight: 600; */
    border-radius: 4px;
    transition: background 0.2s;
}
.contact-route-btn:hover {
    background: #0d1a00;
}
.contact-hq-map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    min-height: 320px;
    background: #e5e7eb;
}
.contact-hq-map iframe {
    display: block;
    width: 100%;
    height: 360px;
    border: 0;
}

/* Icon policy: hide these decorative icons (not .our-story-confidence-icon — keeps Shop With Confidence SVGs visible) */
.empty-state-icon,
.search-bar-top .search-icon {
    display: none !important;
}

.header-icon-item.search-icon {
    display: flex !important;
}

.footer-social-icon,
.footer-social-icon svg {
    color: #ffffff !important;
    fill: #ffffff !important;
    stroke: #ffffff !important;
}

.empty-icon,
.cart-empty-icon,
.cart-product-placeholder,
.variant-swatch-label,
.card-cert-icon,
.list-image-fallback span {
    position: relative;
}

.empty-icon::before,
.cart-empty-icon::before,
.cart-product-placeholder::before,
.variant-swatch-label::before,
.card-cert-icon::before,
.list-image-fallback span::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #1a3300;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpolygon points='12,3 19,9 16,18 8,18 5,9' stroke='white' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 11px 11px;
}
@media (max-width: 900px) {
    .contact-hq-map iframe {
        height: 280px;
    }
}

