/* Bryanston Jewellers — WooCommerce: shop, product, cart and checkout in the theme's world. */

/* shop header */
.bj-shophead { background: var(--ink); padding: calc(var(--header-h) + clamp(36px, 9vh, 110px)) 0 calc(var(--sheet-rise) + clamp(40px, 7vh, 80px)); }
.bj-crumbs { display: flex; flex-wrap: wrap; gap: 10px; color: var(--mist); }
.bj-crumbs a { text-decoration: none; }
.bj-crumbs a:hover { color: var(--gold); }
.bj-shophead__title { margin-top: 20px; font-size: clamp(52px, 9vw, 160px); }
.bj-shophead__row { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 30px; }
.bj-shophead__lede { max-width: 48ch; color: rgba(239, 235, 229, .8); font-size: 15px; }
.bj-shophead__count { color: var(--gold); }
.bj-chipnav { margin-top: 30px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
.bj-chipnav::-webkit-scrollbar { display: none; }
.bj-chipnav__a { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-l); font-size: 14px; text-decoration: none; color: rgba(239, 235, 229, .85); transition: background .4s, color .4s, border-color .4s; }
.bj-chipnav__a span { font-size: 11px; color: var(--mist); font-variant-numeric: tabular-nums; }
.bj-chipnav__a:hover { border-color: rgba(239, 235, 229, .5); color: var(--bone); }
.bj-chipnav__a.is-on { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.bj-chipnav__a.is-on span { color: var(--ink-soft); }
.bj-chipnav--sub { margin-top: 10px; }

/* shop sheet */
.bj-sheet--shop { padding-top: clamp(40px, 7vh, 80px); }
.bj-shopbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 14px; margin-bottom: 28px; }
.bj-shopbar .woocommerce-notices-wrapper { flex: 1 1 100%; }
.bj-shopbar .woocommerce-ordering { margin: 0; }
.bj-shopbar select.orderby { min-height: 44px; padding: 0 40px 0 18px; border-radius: 999px; border: 1px solid rgba(11, 10, 9, .2); background-color: transparent; font: 14px var(--f-sans); color: var(--ink); -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230b0a09' stroke-width='1.3'%3E%3Cpath d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px 8px; cursor: pointer; }

.bj-site ul.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 14px; margin: 0; padding: 0; list-style: none; }
.bj-site ul.products::before, .bj-site ul.products::after { display: none; }
.bj-site ul.products li.product { float: none; width: auto; margin: 0; padding: 0; }
@media (min-width: 700px) { .bj-site ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 16px; } }
@media (min-width: 900px) { .bj-site ul.products { gap: 48px 20px; } }
@media (min-width: 1280px) { .bj-site ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.bj-site .woocommerce-pagination { margin-top: 56px; display: flex; justify-content: center; }
.bj-site .woocommerce-pagination ul { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.bj-site .woocommerce-pagination a, .bj-site .woocommerce-pagination span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-d); text-decoration: none; font-variant-numeric: tabular-nums; }
.bj-site .woocommerce-pagination .current { background: var(--ink); color: var(--bone); border-color: var(--ink); }

/* notices */
.bj-site .woocommerce-message, .bj-site .woocommerce-info, .bj-site .woocommerce-error { list-style: none; margin: 0 0 22px; padding: 14px 18px; border-radius: 14px; background: var(--bone-2); color: var(--ink); border: 0; font-size: 14.5px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.bj-site .woocommerce-message::before, .bj-site .woocommerce-info::before, .bj-site .woocommerce-error::before { display: none; }
.bj-site .woocommerce-error { background: rgba(165, 67, 43, .12); }
.bj-site .woocommerce-message .button, .bj-site .woocommerce-info .button { order: 2; }

/* ---------- product page ---------- */
.bj-product { display: grid; background: var(--ink); }
.bj-product__stage { position: relative; padding: calc(var(--header-h) + 12px) 0 28px; min-width: 0; }
.bj-product__gallery { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--pad); scrollbar-width: none; }
.bj-product__gallery::-webkit-scrollbar { display: none; }
.bj-product__shot { flex: 0 0 88%; scroll-snap-align: center; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: radial-gradient(75% 70% at 50% 45%, #f7f4ef, #ddd6cb); }
.bj-product__shot:only-child { flex-basis: 100%; }
.bj-product__img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.bj-product__shot--empty { display: grid; place-items: center; padding: 25%; opacity: .3; }
.bj-product__count { position: absolute; left: var(--pad); bottom: 0; color: var(--mist); }
.bj-product__panel { background: var(--bone); color: var(--ink); border-radius: var(--shoulder) var(--shoulder) 0 0; }
.bj-product__panel-in { padding: 34px var(--pad) 56px; }
.bj-product__panel .bj-crumbs { color: var(--ink-soft); }
.bj-product__title { margin-top: 18px; font-size: clamp(34px, 3.4vw, 58px); font-weight: 300; line-height: 1; letter-spacing: -.02em; }
.bj-product__spec { margin-top: 14px; font-size: 15px; color: var(--ink-soft); }
.bj-product__pricebox { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; padding-top: 18px; border-top: 1px solid var(--line-d); }
.bj-product__price { font-size: clamp(36px, 3vw, 48px); font-weight: 400; }
.bj-product__price del { font-size: .55em; color: var(--ink-soft); margin-right: 10px; }
.bj-product__price ins { text-decoration: none; }
.bj-product__stock { color: var(--gold-ink); font-size: 10px; }
.bj-product__stock.is-out { color: var(--ink-soft); }
.bj-product__buy { margin-top: 22px; display: flex; align-items: center; gap: 12px; }
.bj-product__buy form.cart { flex: 1; display: flex; gap: 10px; margin: 0; }
.bj-product__buy .quantity { display: none; }
.bj-product__buy .single_add_to_cart_button { flex: 1; min-height: 54px; border: 0; border-radius: 999px; background: var(--ink); color: var(--bone); font: 600 12px/1 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; position: relative; overflow: hidden; transition: background .4s; }
.bj-product__buy .single_add_to_cart_button:hover { background: var(--ink-4); }
.bj-product__buy .single_add_to_cart_button.is-busy { opacity: .6; }
.bj-heart--big { width: 54px; height: 54px; }
.bj-product__alt { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bj-product__alt .bj-btn { padding: 0 14px; font-size: 11px; letter-spacing: .1em; }
.bj-acc { margin-top: 30px; border-top: 1px solid var(--line-d); }
.bj-acc__item { border-bottom: 1px solid var(--line-d); }
.bj-acc__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer; list-style: none; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.bj-acc__item summary::-webkit-details-marker { display: none; }
.bj-acc__item summary span { position: relative; width: 12px; height: 12px; flex: none; }
.bj-acc__item summary span::before, .bj-acc__item summary span::after { content: ''; position: absolute; left: 0; top: 50%; width: 12px; height: 1px; background: currentColor; transition: transform .4s var(--ease); }
.bj-acc__item summary span::after { transform: rotate(90deg); }
.bj-acc__item[open] summary span::after { transform: rotate(0); }
.bj-acc__body { padding: 0 0 20px; font-size: 15px; color: var(--ink-soft); }
.bj-acc__body.bj-prose { font-size: 15px; line-height: 1.65; }
.bj-acc__body a { color: var(--ink); }
.bj-promises { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--ink-soft); font-size: 10px; }
.bj-promises li { display: inline-flex; align-items: center; gap: 8px; }
.bj-promises li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
@media (min-width: 900px) {
	.bj-product { grid-template-columns: minmax(0, 1.25fr) minmax(400px, 1fr); }
	.bj-product__stage { padding: calc(var(--header-h) + 20px) clamp(20px, 3vw, 44px) 60px; }
	.bj-product__gallery { flex-direction: column; overflow: visible; padding: 0; gap: 14px; }
	.bj-product__shot { flex: none; width: 100%; }
	.bj-product__count { display: none; }
	.bj-product__panel { border-radius: 0; }
	.bj-product__panel-in { position: sticky; top: 0; min-height: 100svh; padding: calc(var(--header-h) + 28px) clamp(28px, 3.4vw, 60px) 48px; }
}

/* ---------- cart, checkout, account (Woo blocks and classic) ---------- */
.bj-sheet--woo { padding-top: clamp(40px, 7vh, 80px); }
.bj-woo { font-size: 15px; }
.bj-woo .wc-block-components-button:not(.is-link), .bj-woo .button, .bj-woo button.button, .bj-woo .checkout-button, .bj-woo #place_order { border-radius: 999px !important; background: var(--ink) !important; color: var(--bone) !important; font-family: var(--f-sans) !important; font-weight: 600 !important; letter-spacing: .12em; text-transform: uppercase; font-size: 12px !important; min-height: 50px; border: 0 !important; }
.bj-woo .wc-block-components-button:not(.is-link):hover, .bj-woo .button:hover { background: var(--ink-4) !important; }
.bj-woo .wc-block-components-title, .bj-woo h2, .bj-woo h3 { font-family: var(--f-display) !important; font-weight: 400 !important; letter-spacing: -.01em; }
.bj-woo .wc-block-components-text-input input, .bj-woo .wc-block-components-select select, .bj-woo input.input-text, .bj-woo select, .bj-woo textarea { border-radius: 12px !important; border-color: rgba(11, 10, 9, .2) !important; font-family: var(--f-sans); background-color: #fff; }
.bj-woo .wc-block-components-product-name { font-family: var(--f-display); font-size: 18px; text-decoration: none; color: var(--ink); }
.bj-woo .wc-block-cart-item__image img, .bj-woo .wc-block-components-order-summary-item__image img { border-radius: 12px; background: #f4f1ec; mix-blend-mode: multiply; }
.bj-woo .wc-block-components-totals-footer-item .wc-block-components-totals-item__value, .bj-woo .wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-family: var(--f-display); font-size: 24px; font-weight: 400; }
.bj-woo a { color: var(--ink); }
.bj-woo table.shop_table { border-radius: 16px; border-color: var(--line-d); }
.bj-woo .woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.bj-woo .woocommerce-MyAccount-navigation a { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-d); text-decoration: none; }
.bj-woo .woocommerce-MyAccount-navigation .is-active a { background: var(--ink); color: var(--bone); }

/* Cart / checkout blocks: the empty-cart pattern, product collections and every block button */
.bj-woo .with-empty-cart-icon::before, .bj-woo .wp-block-woocommerce-empty-cart-block .wp-block-separator { display: none !important; }
.bj-woo .wc-block-cart__empty-cart__title, .bj-woo .wp-block-woocommerce-empty-cart-block h2 { font-family: var(--f-display) !important; font-weight: 300 !important; font-size: clamp(36px, 4vw, 60px) !important; line-height: 1; letter-spacing: -.02em; text-align: left !important; margin: 0 0 18px; }
.bj-woo .wp-block-woocommerce-empty-cart-block > p, .bj-woo .wp-block-woocommerce-empty-cart-block .has-text-align-center { text-align: left !important; }
.bj-woo .wp-block-button__link, .bj-woo .wp-element-button, .bj-woo .wc-block-components-product-button__button, .bj-woo a.button, .bj-woo .wc-block-components-checkout-place-order-button { display: inline-flex !important; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px !important; border: 0 !important; border-radius: 999px !important; background: var(--ink) !important; color: var(--bone) !important; font: 600 11px/1 var(--f-sans) !important; letter-spacing: .14em !important; text-transform: uppercase !important; text-decoration: none !important; }
.bj-woo .wp-block-button__link:hover, .bj-woo .wp-element-button:hover, .bj-woo .wc-block-components-product-button__button:hover { background: var(--ink-4) !important; }
.bj-woo .wc-block-product-template, .bj-woo ul.wc-block-grid__products { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 14px !important; padding: 0; margin: 24px 0 0; list-style: none; }
@media (min-width: 900px) { .bj-woo .wc-block-product-template, .bj-woo ul.wc-block-grid__products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 20px !important; } }
.bj-woo .wc-block-product-template > li, .bj-woo .wc-block-grid__product { width: auto !important; max-width: none !important; margin: 0 !important; padding: 0 !important; border: 0 !important; text-align: left !important; }
.bj-woo .wc-block-components-product-image, .bj-woo .wp-block-woocommerce-product-image, .bj-woo .wc-block-grid__product-image { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: radial-gradient(80% 70% at 50% 45%, #f7f4ef, #e3ddd3); margin: 0 0 12px !important; }
.bj-woo .wc-block-components-product-image img, .bj-woo .wp-block-woocommerce-product-image img, .bj-woo .wc-block-grid__product-image img { width: 100%; height: 100% !important; object-fit: cover; mix-blend-mode: multiply; border-radius: 0 !important; }
.bj-woo .wp-block-post-title, .bj-woo .wc-block-grid__product-title { font-family: var(--f-display) !important; font-weight: 400 !important; font-size: 19px !important; line-height: 1.15 !important; text-align: left !important; margin: 0 0 6px !important; }
.bj-woo .wp-block-post-title a, .bj-woo .wc-block-grid__product-link { text-decoration: none !important; color: var(--ink) !important; }
.bj-woo .wc-block-components-product-price, .bj-woo .wc-block-grid__product-price { font-size: 14px !important; text-align: left !important; color: rgba(11, 10, 9, .78); font-variant-numeric: tabular-nums; }
.bj-woo .wp-block-woocommerce-product-button, .bj-woo .wc-block-grid__product-add-to-cart { text-align: left !important; margin-top: 10px; }
.bj-woo .wc-block-cart-items__header, .bj-woo .wc-block-components-sidebar .wc-block-components-panel__button { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.bj-woo .wc-block-components-sidebar-layout .wc-block-components-main { padding-right: 4%; }
.bj-woo .wc-block-components-totals-wrapper { border-color: var(--line-d) !important; }
.bj-woo .wc-block-components-checkout-step__title { font-family: var(--f-display); font-weight: 400; font-size: 26px; }
.bj-woo .wc-block-components-radio-control__option, .bj-woo .wc-block-components-radio-control-accordion-option { border-radius: 14px !important; }
