/* BTLLC storefront system. Kept separate from vendor styles for review/rollback. */
:root{--bt-ink:#172438;--bt-muted:#526071;--bt-gold:#bd952f;--bt-line:#dce1e7;--bt-paper:#f5f6f8;--cartify_color_text_body_1:#526071}
body{color:var(--bt-ink)}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:3px solid #87630c!important;outline-offset:4px}
.site-header--static .btllc-spot-strip{padding:5px 20px;min-height:0;background:#172438}
.site-header--static .btllc-spot-strip__items{flex-wrap:nowrap;gap:20px;overflow:auto;justify-content:center}
.site-header--static .btllc-spot-strip__item{min-height:20px;gap:6px;white-space:nowrap}
.site-header--static .btllc-spot-strip__price{font-size:14px}
.site-header--static .btllc-spot-strip__metal,.site-header--static .btllc-spot-strip__delta{font-size:11px}
.site-header--static .btllc-spot-strip__delta-pct{display:none}
.site-header--static .btllc-spot-strip__meta{margin:1px 0 0;color:#ced6e1;font-size:10px;line-height:14px}
.site-header__main .site-header__container{height:72px}
.site-header__nav .site-nav__link{padding-top:12px;padding-bottom:12px;font-weight:600}
.site-header__sell-btn{background:var(--bt-ink);min-height:40px;align-items:center;justify-content:center}
.site-header__icons a{min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:center}
.site-header__logo img{height:36px}
.site-nav__group-title{font-weight:700;color:var(--bt-ink);margin-bottom:8px;font-size:16px}
.site-nav__item:focus-within>.site-nav__mega{visibility:visible;opacity:1;pointer-events:auto}
.site-mobile-nav[inert]{visibility:hidden}
.site-mobile-nav__panel{overscroll-behavior:contain}
.site-mobile-nav__list a{min-height:44px}
body .btllc-hero{display:grid;grid-template-columns:1.5fr 1fr;align-items:center;gap:32px;padding:36px 48px;margin:24px auto 0;max-width:1380px;background:#eef1f5;border:1px solid var(--bt-line);border-radius:12px;color:var(--bt-ink)}
body .btllc-hero__inner{max-width:none;margin:0;padding:0;text-align:left}
body .btllc-hero__eyebrow{color:#785908;font-size:12px;letter-spacing:.1em;margin-bottom:12px}
body .btllc-hero__title{color:var(--bt-ink);font-size:clamp(30px,3.2vw,48px);line-height:1.12;max-width:620px}
body .btllc-hero__sub{color:var(--bt-muted);max-width:580px;margin:16px 0 20px;font-size:17px;line-height:1.6}
body .btllc-hero__cta{justify-content:flex-start;margin:0}
body .btllc-hero__btn{min-height:46px;border-radius:5px;font-size:15px}
body .btllc-hero__btn--primary{background:var(--bt-ink);color:#fff}
body .btllc-hero__btn--primary:hover{background:#2b405d}
body .btllc-hero__btn--secondary{border:1px solid #9ba8b9;color:var(--bt-ink);background:transparent}
body .btllc-hero__trust[hidden]{display:none}
body .bh-sec{padding-top:32px;padding-bottom:32px}
body .bh-h2{text-align:left;font-size:28px;color:var(--bt-ink)}
body .bh-cat{border:1px solid var(--bt-line);border-radius:8px;box-shadow:none;min-height:140px;padding:22px;background:#fff}
body .bh-cat__name{font-size:22px;color:var(--bt-ink)}
body .bh-tab{min-height:44px}
body .price-change.positive{color:#126735;background:#edf5ee}
body .price-change.negative{color:#a72a37;background:#fff0f0}
body .period-btn.active{color:#73520a;border-color:#73520a}
.sp-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 40px;align-items:start}
.sp-heading{grid-column:2;grid-row:1}
.sp-heading .product_title{font-size:28px;line-height:1.25;margin:0 0 12px;font-weight:700;color:var(--bt-ink)}
.sp-top__images{grid-column:1;grid-row:1 / span 2;width:100%;min-width:0;padding:20px;background:#f6f7f9;border-radius:10px}
.sp-top__summary{grid-column:2;grid-row:2;width:100%;min-width:0;position:static}
.sp-top__images .woocommerce-product-gallery__image,.sp-top__images .woocommerce-product-gallery__image img{background:transparent}
.sp-top__images .woocommerce-product-gallery__wrapper img{max-height:470px;object-fit:contain}
.sp-price-label{margin:12px 0 6px;color:var(--bt-muted);font-size:13px;font-weight:600}
.sp-top__summary .price{font-variant-numeric:tabular-nums;color:var(--bt-ink);font-size:32px;margin-bottom:6px}
.sp-spot-note,.sp-brand-rating,.sp-breadcrumbs .woocommerce-breadcrumb,.sp-breadcrumbs .woocommerce-breadcrumb a,.sp-specs__k{color:var(--bt-muted)!important}
.sp-top__summary .awdr-bulk-customizable-table{max-width:100%;width:100%;overflow-x:auto;overscroll-behavior-inline:contain;margin:6px 0 16px;border:1px solid var(--bt-line);border-radius:6px}
.sp-top__summary .wdr_bulk_table_msg{min-width:440px;margin:0;font-variant-numeric:tabular-nums}
.sp-top__summary .wdr_bulk_table_msg th,.sp-top__summary .wdr_bulk_table_msg td{padding:10px;color:var(--bt-ink);white-space:nowrap}
.sp-top__summary .wdr_bulk_table_msg thead th{background:#eef1f5;font-size:12px}
.btllc-table-help{font-size:12px;color:var(--bt-muted);margin:14px 0 4px;line-height:1.5}
.sp-top__summary .single_add_to_cart_button,.sp-mobilebar__btn{min-height:48px;background:var(--bt-ink)!important;color:#fff!important}
.sp-specs{margin-top:18px}
.sp-trust{border-top:1px solid var(--bt-line);padding-top:16px}
.btllc-category-intro{max-width:760px;color:var(--bt-muted);font-size:16px;line-height:1.65;margin:8px 0 18px}
.btllc-category-guide{margin:48px 0 24px;padding:28px;background:var(--bt-paper);border:1px solid var(--bt-line);border-radius:8px}
.btllc-category-guide h2{font-size:25px;margin-bottom:22px}
.btllc-guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.btllc-guide-grid h3{font-size:17px;margin-bottom:10px}
.btllc-guide-grid p{font-size:15px;line-height:1.65;color:var(--bt-muted)}
.btllc-category-guide a{text-decoration:underline}
.widget-title .btllc-filter-toggle{font:inherit;color:inherit;border:0;background:none;text-align:left;padding:0;min-height:44px;width:100%;cursor:pointer}
/* w13 CLS: the heading holds the toggle's height before btllc-storefront.js wraps its text in the button (grid moved 10px, sidebar 23px, CLS 0.03-0.06 desktop). */
.cartify_ajax_product_widget .widget-title{min-height:44px}
.cartify_ajax_product_widget .widget-title:not(:has(> .btllc-filter-toggle)){align-items:center}
.topbar .cartify_ajax_product_widget ul{max-height:340px;overflow:auto}
.agni-product-active-filters span{cursor:pointer}
.agni-shop-control-bar a,.agni-shop-control-bar button{min-height:40px;align-items:center}
ul.products li.product{border:1px solid var(--bt-line);border-radius:8px;overflow:hidden;background:#fff}
ul.products li.product .woocommerce-loop-product__title{line-height:1.45;font-size:16px}
ul.products li.product .price{font-variant-numeric:tabular-nums;color:var(--bt-ink)}
ul.products li.product .woocommerce-loop-product__title a{white-space:normal;display:block;-webkit-line-clamp:unset;max-height:none;overflow:visible;text-overflow:clip}
ul.products li.product .woocommerce-loop-product__title,ul.products li.product .price,ul.products li.product .agni-product-categories{padding-left:10px;padding-right:10px}
@media(max-width:1023px){
 .site-header--static .btllc-spot-strip__items{justify-content:flex-start}
 .site-header__main .site-header__container{height:auto;min-height:72px}
 body .btllc-hero{padding:28px;gap:20px}
 body .btllc-hero__title{font-size:34px}
}
@media(max-width:767px){
 body .btllc-hero{grid-template-columns:1fr;margin:16px 0 0;padding:24px;gap:0}
 body .btllc-hero__title{font-size:32px}
 body .btllc-hero__sub{font-size:15px;margin:12px 0 18px}
 body .bh-sec{padding-top:24px;padding-bottom:24px}
 body .bh-h2{font-size:24px}
 body .bh-cat{min-height:115px;padding:16px}
 body .bh-cat__name{font-size:19px}
 .sp-top{grid-template-columns:minmax(0,1fr);gap:16px}
 .sp-heading{grid-column:1;grid-row:1}
 .sp-heading .product_title{font-size:24px;margin:0}
 .sp-top__images{grid-column:1;grid-row:2;padding:12px}
 .sp-top__images .woocommerce-product-gallery{max-width:330px;margin:auto}
 .sp-top__summary{grid-column:1;grid-row:3}
 .sp-top__images .woocommerce-product-gallery__wrapper img{max-height:330px}
 .btllc-guide-grid{grid-template-columns:1fr;gap:14px}
 .btllc-category-guide{padding:20px}
 .site-header__logo img{height:30px}
 .site-header__sell-btn{display:none!important}
 .site-header__main .site-header__container{gap:8px;padding-top:8px;padding-bottom:8px}
 .sp-mobilebar{padding-bottom:max(10px,env(safe-area-inset-bottom));z-index:90}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Purchase controls lead the summary; theme inline CTA styles need this specificity. */
body.woocommerce .sp-hardcoded .sp-top__summary button.single_add_to_cart_button{background:#172438!important;color:#fff!important;min-height:48px}
.sp-top__images .slick-slide img{max-height:430px;object-fit:contain}
.sp-top__images .slick-slide{max-height:430px}
.sp-top__summary .cart{margin:16px 0}
@media(min-width:1024px){.site-header__nav .site-header__container{min-height:42px}.site-header__nav .site-nav__link{padding-top:8px;padding-bottom:8px}}
@media(max-width:767px){.sp-top__images .slick-slide,.sp-top__images .slick-slide img{max-height:300px}}

/* Completion pass: shared editorial pages and shopping components. */
.btllc-eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:#785908;font-weight:700;margin:0 0 14px}
.btllc-action{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 20px;border:1px solid var(--bt-ink);background:var(--bt-ink);color:white;border-radius:5px;font-weight:600;text-decoration:none}
.btllc-action:hover{background:#2b405d;color:white}.btllc-shortcuts{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.btllc-shortcuts a{display:inline-flex;border:1px solid #b8c2cf;border-radius:5px;align-items:center;min-height:40px;padding:6px 12px;font-size:14px;color:var(--bt-ink);background:#fff}
.btllc-category-guide>p{max-width:900px;line-height:1.7;color:var(--bt-muted);margin-bottom:24px}
.btllc-card-meta{display:flex;flex-direction:column;gap:5px;padding:4px 10px 14px;font-size:12px;line-height:1.4;color:var(--bt-muted)}.btllc-card-stock{color:#24613a;font-weight:600}.outofstock .btllc-card-stock{color:#6a5052}
ul.products li.product .product-details{display:flex;flex-direction:column;height:auto;min-width:0}ul.products li.product .woocommerce-loop-product__category{font-size:12px;padding:0 10px;line-height:1.5}ul.products li.product .price{font-size:21px!important;margin-top:8px}
ul.products li.product .woocommerce-loop-product__title{font-size:15px!important;line-height:1.45!important;min-height:4.35em}
.btllc-purchase-help{font-size:13px;line-height:1.6;padding:14px 0;border-top:1px solid var(--bt-line)}.btllc-purchase-help a{color:#294b77;text-decoration:underline}.btllc-purchase-help p{margin:7px 0;color:var(--bt-muted)}
.site-mobile-nav__list details summary{min-height:48px;padding:12px 0;cursor:pointer;font-weight:600;list-style-position:inside}.site-mobile-nav__list details ul{list-style:none;margin:0;padding:0 0 8px 20px}.site-mobile-nav__list details ul a{font-size:15px}
.site-nav__item:focus-within>.site-nav__drop{visibility:visible;opacity:1;pointer-events:auto}
.btllc-facet-count{float:right;margin-left:10px;color:var(--bt-muted);font-size:12px}.btllc-facet-unavailable{opacity:.5}.btllc-facet-unavailable a{cursor:not-allowed}
.btllc-filter-status{font-size:14px;padding:12px 16px;background:#f5f6f8;border:1px solid var(--bt-line);margin:12px 0}.btllc-filter-status:empty{display:none}
body .woocommerce-cart-form table,body .cart_totals,body .wc-block-components-order-summary{font-variant-numeric:tabular-nums}
@media(max-width:767px){ul.products li.product .price{font-size:19px!important}.btllc-card-meta{font-size:11px}.btllc-shortcuts a{font-size:13px}}

.site-header__logo img{filter:brightness(.55) saturate(.6)}
ul.products li.product .woocommerce-loop-product__thumbnail img{aspect-ratio:1;object-fit:contain;width:100%;max-height:280px;background:#fff}
.shop-sidebar .shop-sidebar-btn-close,.shop-sidebar .shop-sidebar-btn-apply,.shop-sidebar button{min-height:44px}
@media(max-width:767px){.btllc-category-intro{font-size:14px;line-height:1.55}.btllc-category-intro p{margin-bottom:8px}.btllc-shortcuts{margin:8px 0}.woocommerce-loop-product__category{display:none!important}}
body .bullion-title{display:block;-webkit-line-clamp:unset;max-height:none;white-space:normal;overflow:visible;font-size:15px;line-height:1.4}body .bullion-title a{color:var(--bt-ink)}body .bullion-pricing .price-label{font-size:11px;color:var(--bt-muted)}.btllc-grid-stock{font-size:12px;color:var(--bt-muted);margin:6px 0}
@media(max-width:1023px){.shop-sidebar .agni-product-attributes a,.shop-sidebar .agni-product-brands a{min-height:44px;display:flex;align-items:center}}
/* Preserve distinct unit and line prices without crowding long cart names. */
body.woocommerce-cart .wc-block-cart .wc-block-cart__submit-button,body.woocommerce-checkout .wc-block-checkout .wc-block-components-checkout-place-order-button{background:var(--bt-ink)!important;color:#fff!important;min-height:48px;border-radius:5px}
body .sp-top__summary .stock.in-stock{color:#24613a}
@media(max-width:600px){
 body .wc-block-cart-items .wc-block-cart-items__row{grid-template-columns:64px minmax(0,1fr)!important;column-gap:16px;row-gap:10px}
 body .wc-block-cart-items .wc-block-cart-item__image{grid-area:1/1/3/2!important;padding:0!important;width:auto!important}
 body .wc-block-cart-items .wc-block-cart-item__product{grid-area:1/2/2/3!important;min-width:0;padding:0!important}
 body .wc-block-cart-items .wc-block-cart-item__total{grid-area:2/2/3/3!important;justify-content:flex-start;padding:0!important}
 body .wc-block-cart-items .wc-block-cart-item__total::before{content:'Line total: ';margin-right:6px;font-size:13px}
 body .wc-block-cart-item__prices::before{content:'Unit price: ';font-size:13px}
 body .wc-block-cart-items .wc-block-components-product-name{font-size:15px;line-height:1.5;overflow-wrap:anywhere}
 body .wc-block-cart-items .wc-block-cart-item__remove-link{min-width:44px;min-height:44px}
}
@media(max-width:600px){
 body.woocommerce-checkout .wc-block-checkout__shipping-method-container{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
 body.woocommerce-checkout .wc-block-checkout__shipping-method-option{width:100%;min-height:60px;margin:0!important}
 body.woocommerce-checkout .wc-block-checkout__shipping-method-option-title-wrapper{justify-content:flex-start;gap:12px}
 body.woocommerce-checkout .wc-block-checkout__shipping-method-option-title{line-height:1.5;text-align:left}
}
.btllc-search-stock{display:block;font-size:12px;line-height:1.4;color:#24613a;margin-bottom:4px}
/* The theme also clamps the heading itself, not only its link. */
ul.products li.product .woocommerce-loop-product__title{display:block!important;-webkit-line-clamp:unset!important;line-clamp:unset!important;overflow:visible!important;text-overflow:clip;max-height:none;height:auto;white-space:normal}
