/* BAZX 2026 - WordPress and WooCommerce pages in the BAZX look (black, white, grey). */

/* Shared */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 90; transform: translate(-50%, 140%); max-width: calc(100vw - 32px); padding: 12px 16px; background: var(--white); color: var(--black); font-size: 14px; font-weight: 500; box-shadow: 0 12px 30px rgba(0,0,0,.5); transition: transform 320ms var(--ease-drawer); }
.toast[data-show="true"] { transform: translate(-50%, 0); }
.toast a { color: inherit; text-decoration: underline; margin-inline-start: 6px; }
.crumbs { padding: 16px var(--gutter) 0; font-size: 13px; color: var(--grey); }
.crumbs a { color: var(--silver); }
@media (min-width: 1024px) { .crumbs { padding-top: 44px; } }
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { list-style: none; margin: 16px var(--gutter); padding: 14px 16px; border: 1px solid var(--line); background: var(--ink-2); color: var(--white); }
.woocommerce-message a.button, .woocommerce-info a.button { float: right; margin-inline-start: 12px; color: var(--white); text-decoration: underline; }

/* Buttons from WooCommerce markup */
.woocommerce .button, .woocommerce button.button, .single_add_to_cart_button, .wc-block-components-button:not(.is-link), .wp-element-button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px;
  background: var(--white) !important; color: var(--black) !important; border: 0; border-radius: 0;
  font-family: var(--display); font-size: 17px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer;
}
.single_add_to_cart_button.disabled, .single_add_to_cart_button:disabled { opacity: .45; cursor: not-allowed; }

/* Pre-launch: "Coming soon" label in place of the price */
.price--soon { color: var(--grey); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }

/* Shop / category pages */
.shop-page__head { padding: 12px var(--gutter) 8px; }
.shop-page .woocommerce-result-count, .shop-page .woocommerce-ordering { margin: 0 var(--gutter) 16px; color: var(--grey); font-size: 14px; }
.shop-page .woocommerce-ordering select { background: var(--ink-2); color: var(--white); border: 1px solid var(--line); padding: 8px 10px; }
.shop-grid { padding-bottom: 48px; }
@media (min-width: 768px) { .shop-grid { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); overflow: visible; } }
.woocommerce-pagination ul { display: flex; gap: 8px; list-style: none; padding: 0 var(--gutter) 40px; }

/* Single product */
.wc-single div.product { display: grid; gap: 28px; padding: 16px var(--gutter) 56px; }
@media (min-width: 1024px) { .wc-single div.product { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: start; } }
.wc-single .woocommerce-product-gallery { margin: 0; opacity: 1 !important; }
.wc-single .woocommerce-product-gallery__wrapper { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0; }
.wc-single .woocommerce-product-gallery__image { scroll-snap-align: center; background: var(--ink-2); }
.wc-single .woocommerce-product-gallery__image img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (min-width: 1024px) {
  .wc-single .woocommerce-product-gallery__wrapper { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr 1fr; overflow: visible; }
  .wc-single .woocommerce-product-gallery__image:first-child { grid-column: 1 / -1; }
  .wc-single .summary { position: sticky; top: calc(var(--header-h) + 24px); }
}
.wc-single .woocommerce-product-gallery__trigger { display: none; }
.wc-single .summary { display: grid; gap: 14px; min-width: 0; }
.wc-single .product_title { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(40px, 6vw, 72px); line-height: .95; text-transform: uppercase; }
.wc-single .summary > .price { margin: 0; font-size: 22px; font-weight: 500; color: var(--white); }
.wc-single .woocommerce-product-details__short-description { color: var(--silver); max-width: 52ch; }
.wc-single .woocommerce-product-details__short-description p { margin: 0; }
.sizes__label { margin: 8px 0 0; font-weight: 700; }
.wc-single .variations--hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wc-single .sizes__grid { display: grid; gap: 8px; margin: 10px 0 4px; }
.wc-single .single_variation_wrap .woocommerce-variation-price { display: none; }
.wc-single .woocommerce-variation-availability p { margin: 6px 0 0; font-size: 13px; color: var(--grey); }
.wc-single .woocommerce-variation-availability .out-of-stock { color: var(--white); }
.wc-single form.cart { display: grid; gap: 12px; margin: 0; }
.wc-single form.cart .quantity { display: none !important; }
.wc-single .woocommerce-variation-availability:not(:has(.out-of-stock)) { display: none; }
.wc-single form.cart .woocommerce-variation-add-to-cart, .wc-single form.cart:not(.variations_form) { display: grid; }
.wc-single .single_add_to_cart_button { width: 100%; }
.wc-single .product_meta { font-size: 13px; color: var(--grey); }
.wc-single .product_meta a { color: var(--silver); }
.wc-single .woocommerce-tabs { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 24px; }
.wc-single .woocommerce-tabs ul.tabs { display: flex; gap: 20px; list-style: none; padding: 0; margin: 0 0 16px; }
.wc-single .woocommerce-tabs ul.tabs a { font-weight: 700; color: var(--grey); }
.wc-single .woocommerce-tabs ul.tabs li.active a { color: var(--white); }
.wc-single .woocommerce-Tabs-panel { color: var(--silver); max-width: 68ch; }
.wc-single .woocommerce-Tabs-panel h2 { display: none; }
.wc-single .woocommerce-Tabs-panel h3 { margin: 18px 0 8px; color: var(--white); font-size: 16px; }
.wc-single .woocommerce-Tabs-panel table { border-collapse: collapse; }
.wc-single .woocommerce-Tabs-panel th, .wc-single .woocommerce-Tabs-panel td { padding: 6px 12px 6px 0; text-align: start; }
.wc-single .related, .wc-single .upsells { grid-column: 1 / -1; }
.wc-single .related > h2, .wc-single .upsells > h2 { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 5vw, 56px); text-transform: uppercase; margin: 24px 0 16px; }
.wc-single .related .shop-grid, .wc-single .upsells .shop-grid { padding-inline: 0; }

/* Pages: cart, checkout, account, policies */
.wp-page { padding: 16px var(--gutter) 64px; }
.wp-page__body { max-width: 1180px; margin: 0 auto; }
.wp-page__body > h1 { margin: 24px 0 20px; }
.wp-page a { color: var(--white); }
.wc-block-cart, .wc-block-checkout { color: var(--white); }
.wc-block-components-totals-wrapper, .wc-block-components-sidebar-layout .wc-block-components-main { border-color: var(--line) !important; }
.wc-block-components-text-input input, .wc-block-components-combobox input, .wc-block-components-textarea textarea, .wc-blocks-components-select select { border-radius: 0 !important; }
.wc-block-components-text-input label, .wc-block-components-text-input.is-active label { color: #55555b !important; }
.wc-block-components-text-input input, .wc-block-components-textarea textarea { color: #111113 !important; }
.wc-block-components-notice-banner { border-radius: 0 !important; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce-account input { background: var(--white); color: var(--black); border: 0; padding: 12px; width: 100%; }

/* Instagram feed (Smash Balloon) in the home page row */
.ig__feed { padding: 0 var(--gutter); }
.ig__feed #sb_instagram { padding-bottom: 0 !important; }
