/*
Theme Name: KAZE.archive
Template: twentytwentyfive
Description: Clean, minimalist storefront for KAZE.archive.
Version: 0.10
*/
:root { --kz-bg: #f4f4f4; --kz-ink: #111; --kz-mute: #8a8a8a; }
body { background: var(--kz-bg); color: var(--kz-ink); }

/* small spaced capitals everywhere a label appears */
.kz-label, .wc-block-components-product-name, .wp-block-post-title a,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.wp-block-navigation a, .wp-block-site-title a, .wc-block-components-product-price,
.wp-block-woocommerce-product-price, .kz-footer, .wp-block-button__link,
.woocommerce-breadcrumb, .wp-block-woocommerce-breadcrumbs {
  text-transform: uppercase; letter-spacing: .18em; font-size: 11px !important; font-weight: 500;
  text-decoration: none !important;
}
.wp-block-site-title a { font-size: 13px !important; letter-spacing: .32em; font-weight: 600; }

/* product grid: image on the page colour, label centred below, no chrome */
.wc-block-product-template, ul.wc-block-product-template { gap: 72px 32px !important; }
.wc-block-product, li.wc-block-product { text-align: center; }
.wc-block-product .wc-block-components-product-image img,
.wp-block-woocommerce-product-image img { background: var(--kz-bg); mix-blend-mode: multiply; }
.wc-block-product .wp-block-post-title { margin-top: 28px !important; line-height: 2; }
.wc-block-product .wc-block-components-product-price { color: var(--kz-mute); margin-top: 2px; }
.wc-block-product .wp-block-button, .wc-block-components-product-button { display: none !important; }
.wc-block-components-product-sale-badge { display: none; }

/* buttons: flat black, square */
.wp-block-button__link, .single_add_to_cart_button, .wc-block-components-button {
  background: var(--kz-ink) !important; color: #fff !important; border-radius: 0 !important;
  padding: 16px 32px !important;
}
select, input, .wc-block-components-text-input input { border-radius: 0 !important; border: 1px solid #d6d6d6 !important; background: #fff; }

/* product page */
.single-product .wp-block-post-title { font-size: 15px !important; text-transform: uppercase; letter-spacing: .2em; font-weight: 500; }
.single-product .wc-block-components-product-price, .single-product .price { font-size: 14px !important; letter-spacing: .12em; color: var(--kz-ink); }
.woocommerce-product-gallery { background: var(--kz-bg); }

.kz-footer { color: var(--kz-mute); text-align: center; line-height: 2.2; }

/* ---------- product page (ref: flowar.la) ---------- */
.kz-pdp { --kz-panel: #ececec; }
.kz-pdp .wp-block-columns { align-items: flex-start; }
.kz-gallery .woocommerce-product-gallery { display: flex; flex-direction: row-reverse; gap: 24px; }
.kz-gallery .woocommerce-product-gallery .flex-viewport, .kz-gallery .woocommerce-product-gallery__wrapper { flex: 1; background: var(--kz-panel); }
.kz-gallery .flex-control-thumbs { display: flex; flex-direction: column; gap: 14px; width: 76px; flex: 0 0 76px; margin: 0 !important; padding: 0; max-height: 720px; overflow-y: auto; }
.kz-gallery .flex-control-thumbs li { width: 76px !important; float: none !important; list-style: none; }
.kz-gallery .flex-control-thumbs img { border: 1px solid transparent; opacity: 1 !important; background: var(--kz-panel); }
.kz-gallery .flex-control-thumbs img.flex-active { border-color: var(--kz-ink); }
.kz-gallery .woocommerce-product-gallery__trigger { display: none; }

.kz-buy { position: sticky; top: 24px; }
.kz-titlerow { border-bottom: 1px solid #ddd; padding-bottom: 22px; margin-bottom: 26px; gap: 24px; }
.kz-titlerow .wp-block-post-title { font-size: 14px !important; letter-spacing: .04em !important; text-transform: uppercase; font-weight: 500; margin: 0; }
.kz-titlerow .wc-block-components-product-price, .kz-titlerow .price { font-size: 14px !important; font-weight: 600; letter-spacing: 0 !important; color: var(--kz-ink) !important; white-space: nowrap; }

/* variation pickers become square buttons (kz-swatch.js) */
.kz-buy table.variations { border: 0; margin-bottom: 18px; }
.kz-buy table.variations tr { display: block; margin-bottom: 18px; }
.kz-buy table.variations th, .kz-buy table.variations td { display: block; padding: 0; border: 0; text-align: left; }
.kz-buy table.variations th label { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; font-weight: 500; }
.kz-buy table.variations th label::after { content: " —"; }
.kz-buy table.variations select.kz-hidden { display: none !important; }
.kz-swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.kz-swatches button { min-width: 46px; height: 38px; padding: 0 14px; background: #fff; border: 1px solid #ddd; font-size: 13px; cursor: pointer; color: var(--kz-ink); border-radius: 0; }
.kz-swatches button.on { border-color: var(--kz-ink); }
.kz-swatches button:disabled { color: #bbb; text-decoration: line-through; cursor: default; }
.kz-buy .reset_variations { display: none !important; }
.kz-buy .woocommerce-variation-price { display: none; }
.kz-buy .quantity { display: none !important; }
.kz-buy .single_add_to_cart_button { width: 100%; background: transparent !important; color: var(--kz-ink) !important; border: 1px solid var(--kz-ink) !important; padding: 16px !important; font-size: 12px !important; letter-spacing: .35em !important; text-transform: uppercase; font-weight: 600; }
.kz-buy .single_add_to_cart_button:hover { background: var(--kz-ink) !important; color: #fff !important; }
.kz-buy .single_add_to_cart_button.disabled { opacity: .5; }
.kz-buy #wc-stripe-express-checkout-element, .kz-buy .wc-stripe-payment-request-wrapper { margin-top: 10px; }

.kz-info { background: var(--kz-panel); padding: 16px 18px; margin: 22px 0; font-size: 11px; font-weight: 600; letter-spacing: .04em; line-height: 1.9; }
.kz-ic { display: inline-block; width: 22px; }
.kz-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3cb44b; margin: 0 14px 0 3px; }

/* tabs: three equal blocks, active one black, panel grey */
.kz-buy .woocommerce-tabs ul.tabs { display: flex; gap: 8px; padding: 0 !important; margin: 0 0 12px !important; border: 0 !important; }
.kz-buy .woocommerce-tabs ul.tabs::before, .kz-buy .woocommerce-tabs ul.tabs li::before, .kz-buy .woocommerce-tabs ul.tabs li::after { display: none !important; }
.kz-buy .woocommerce-tabs ul.tabs li { flex: 1; margin: 0 !important; border: 0 !important; border-radius: 0 !important; background: var(--kz-panel) !important; text-align: center; padding: 0 !important; }
.kz-buy .woocommerce-tabs ul.tabs li a { display: block; padding: 11px 6px !important; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; text-decoration: none; color: var(--kz-ink) !important; }
.kz-buy .woocommerce-tabs ul.tabs li.active { background: var(--kz-ink) !important; }
.kz-buy .woocommerce-tabs ul.tabs li.active a { color: #fff !important; }
.kz-buy .woocommerce-tabs .panel { background: var(--kz-panel); padding: 20px 22px !important; margin: 0 !important; font-size: 13px; line-height: 1.7; }
.kz-buy .woocommerce-tabs .panel h2 { display: none; }
.kz-buy .woocommerce-tabs .panel img { max-width: 100%; height: auto; margin-bottom: 10px; }

/* "wear it with" */
.kz-related { margin-top: 110px; }
.kz-related .kz-h { font-size: 12px !important; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; border-bottom: 1px solid #ddd; padding-bottom: 14px; margin-bottom: 18px; }
.kz-related .wc-block-components-product-image { background: var(--kz-panel); }
.kz-related .kz-cardrow { margin-top: 12px; gap: 12px; }
.kz-related .kz-cardrow .wp-block-post-title { font-size: 12px !important; text-transform: uppercase; margin: 0; letter-spacing: 0; font-weight: 500; }
.kz-related .kz-cardrow .wc-block-components-product-price { font-size: 12px !important; letter-spacing: 0 !important; color: var(--kz-ink); }
@media (max-width: 781px) {
  .kz-gallery .woocommerce-product-gallery { flex-direction: column; }
  .kz-gallery .flex-control-thumbs { flex-direction: row; width: auto; flex: none; overflow-x: auto; }
  .kz-gallery .flex-control-thumbs li { flex: 0 0 64px; width: 64px !important; }
  .kz-buy { position: static; }
}
/* fixes: gallery fills its column, buy box full width, tighter option spacing */
.kz-gallery .woocommerce-product-gallery { width: 100% !important; float: none !important; margin: 0 !important; }
.kz-gallery .woocommerce-product-gallery .flex-viewport { flex: 1 1 auto; min-width: 0; height: auto !important; }
.kz-gallery .woocommerce-product-gallery__image, .kz-gallery .woocommerce-product-gallery__image a { display: block; width: 100%; }
.kz-gallery .woocommerce-product-gallery__image img { width: 100% !important; height: auto !important; display: block; }
.kz-buy form.cart, .kz-buy .single_variation_wrap, .kz-buy .woocommerce-variation-add-to-cart { width: 100%; display: block; }
.kz-buy table.variations, .kz-buy table.variations tbody { display: block; width: 100%; }
.kz-buy table.variations tr { margin-bottom: 22px; }
.kz-buy table.variations td.value { min-height: 0; }
.kz-swatches { margin-top: 10px; }
.kz-gallery .wp-block-woocommerce-product-image-gallery { max-width: none !important; width: 100% !important; }
/* shop grid: always 4 across on desktop, 2 on phones */
.wp-block-woocommerce-product-collection .wc-block-product-template { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.wp-block-woocommerce-product-collection .wc-block-product-template > li { width: auto !important; max-width: none !important; margin: 0 !important; }
@media (max-width: 781px) { .wp-block-woocommerce-product-collection .wc-block-product-template { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 40px 14px !important; } }
/* photos sit straight on the page colour — no second grey panel behind them */
.kz-gallery .woocommerce-product-gallery .flex-viewport, .kz-gallery .woocommerce-product-gallery__wrapper,
.kz-gallery .flex-control-thumbs img, .kz-related .wc-block-components-product-image,
.woocommerce-product-gallery { background: var(--kz-bg) !important; }
.zoomImg { display: none !important; }
.kz-gallery img, .wc-block-product img, .kz-related img { transition: none !important; opacity: 1 !important; filter: none !important; }
.kz-gallery a:hover img, .wc-block-product a:hover img { opacity: 1 !important; }
/* active thumbnail: the border sits inside the 76px box so the scrolling column can't clip a side */
.kz-gallery .flex-control-thumbs img { box-sizing: border-box !important; width: 76px !important; height: auto; display: block; }
.kz-gallery .flex-control-thumbs { padding: 1px !important; }
.kz-gallery .flex-control-thumbs { position: relative; scroll-behavior: smooth; }

/* ---------- email capture ---------- */
.kz-news { max-width: 420px; margin: 0 auto 56px; text-align: center; }
.kz-news-sub { color: var(--kz-mute); margin: 6px 0 18px; }
.kz-signup { display: flex; flex-wrap: wrap; gap: 0; }
.kz-signup input[type=email] { flex: 1; min-width: 0; padding: 12px 14px; border: 1px solid var(--kz-ink); border-right: 0; background: transparent; font: inherit; border-radius: 0; }
.kz-signup button { padding: 12px 20px; border: 1px solid var(--kz-ink); background: var(--kz-ink); color: #fff; font: inherit; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; cursor: pointer; border-radius: 0; }
.kz-signup button:disabled { opacity: .5; }
.kz-signup-msg { flex-basis: 100%; margin: 10px 0 0; font-size: 13px; min-height: 1em; }
.kz-hp { position: absolute !important; left: -9999px; }
.kz-pop { position: fixed; inset: 0; background: rgba(0,0,0,.45); display: flex; align-items: center; justify-content: center; z-index: 9999; padding: 20px; }
.kz-pop[hidden] { display: none; }
.kz-pop-box { position: relative; background: var(--kz-bg); max-width: 420px; width: 100%; padding: 44px 32px 32px; text-align: center; }
.kz-pop-x { position: absolute; top: 8px; right: 12px; background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; color: var(--kz-ink); }
.kz-cc { padding: 12px 0 12px 14px; border: 1px solid var(--kz-ink); border-right: 0; font-size: 14px; }
.kz-signup .kz-cc + input { border-left: 0 !important; padding-left: 6px !important; }
.kz-signup input[type=tel] { flex: 1; min-width: 0; padding: 12px 14px; border: 1px solid var(--kz-ink); border-right: 0; background: transparent; font: inherit; border-radius: 0; }
.kz-consent { flex-basis: 100%; margin: 12px 0 0; font-size: 10px; line-height: 1.5; color: var(--kz-mute); text-align: left; }
.kz-consent a { color: inherit; text-decoration: underline; }
/* footer: payment marks + store name (Ryan, 11 Oct 2026, ref flowar.la) */
.kz-pay { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; margin: 72px 0 18px; padding: 0; }
.kz-pay li { line-height: 0; }
.kz-footname { margin: 0; color: var(--kz-ink) !important; font-size: 12px !important; letter-spacing: .12em !important; }
.kz-signup input[type=tel] { border: 1px solid var(--kz-ink) !important; border-left: 0 !important; border-right: 0 !important; background: transparent !important; }
/* grid cards: no blend / no fill on the photo — multiply over the page grey drew a darker box (Ryan, 11 Oct) */
.wc-block-product .wc-block-components-product-image img, .wp-block-woocommerce-product-image img { mix-blend-mode: normal !important; background: transparent !important; }

/* kz-sticky-header (Ryan, 11 Oct 2026): the top bar stays put while scrolling */
.wp-site-blocks > header.wp-block-template-part, header.wp-block-template-part {
  position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 100; background: var(--kz-bg);
}
.kz-buy { top: calc(134px + var(--wp-admin--admin-bar--height, 0px)); }   /* +30px for the top bar */

/* kz-topbar (Ryan, 11 Oct 2026): one-line announcement strip above the nav, like the ref — black, small white caps */
.kz-topbar { background: #000; margin: 0 !important; padding: 8px 16px; display: flex; justify-content: center; }
.kz-topbar-text { max-width: none !important; width: 100%; margin-left: 0 !important; margin-right: 0 !important; }   /* the constrained layout capped it at 1240px, left-aligned on wide screens (Ryan's screenshot) */
.kz-topbar-text { margin: 0 !important; color: #fff !important; font-size: 12px !important; letter-spacing: .08em !important; line-height: 1.2 !important; }

/* kz-lightbox (Ryan, 11 Oct 2026): ⤢ button top-right of the main product image → full-size modal */
.kz-enlarge { position: absolute; top: 12px; right: 12px; z-index: 5; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.92); color: #111; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.18); }
.kz-enlarge:hover { background: #fff; }
.kz-lb { position: fixed; inset: 0; z-index: 10000; background: rgba(0,0,0,.92); display: none; align-items: center; justify-content: center; }
.kz-lb.open { display: flex; }
.kz-lb img { max-width: 94vw; max-height: 92vh; width: auto; height: auto; object-fit: contain; display: block; }
.kz-lb button { position: absolute; border: 0; background: transparent; color: #fff; cursor: pointer; font: 300 44px/1 system-ui, sans-serif; padding: 16px; opacity: .85; }
.kz-lb button:hover { opacity: 1; }
.kz-lb-x { top: 10px; right: 14px; }
.kz-lb-prev { left: 8px; top: 50%; transform: translateY(-50%); font-size: 64px !important; }
.kz-lb-next { right: 8px; top: 50%; transform: translateY(-50%); font-size: 64px !important; }
.kz-lb.kz-lb-one .kz-lb-prev, .kz-lb.kz-lb-one .kz-lb-next { display: none; }
body.kz-lb-open { overflow: hidden; }
@media (max-width: 782px) { .kz-lb-prev, .kz-lb-next { font-size: 48px !important; padding: 10px; } }

/* kz-footer columns (Ryan, 11 Oct 2026, ref flowar.la) */
.kz-fgrid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; max-width: 1160px; margin: 0 auto; text-align: left; }
.kz-fgrid .kz-news { margin: 0; max-width: 360px; text-align: left; }
.kz-fh { font-size: 11px !important; letter-spacing: .28em; text-transform: uppercase; margin: 0 0 18px !important; color: var(--kz-ink); }
.kz-fcol ul { list-style: none; margin: 0; padding: 0; }
.kz-fcol li { margin: 0 0 10px; font-size: 13px; }
.kz-fcol a { color: var(--kz-ink); text-decoration: none; }
.kz-fcol a:hover { text-decoration: underline; }
.kz-cur { display: flex; justify-content: center; margin: 56px 0 0; }
.kz-cur select { appearance: none; -webkit-appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23111' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat right 4px center;
  border: 0 !important; box-shadow: none !important; padding: 6px 22px 6px 4px; font: inherit; font-size: 13px; color: var(--kz-ink); cursor: pointer; }
.kz-fgrid + .kz-cur + .kz-pay, .kz-cur + .kz-pay { margin-top: 28px; }
@media (max-width: 782px) { .kz-fgrid { grid-template-columns: 1fr 1fr; gap: 32px 20px; } .kz-fsign { grid-column: 1 / -1; } }

/* kz-contact form */
.kz-contact { display: flex; flex-direction: column; gap: 16px; max-width: 560px; }
.kz-contact label { display: flex; flex-direction: column; gap: 6px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; }
.kz-contact label span { color: var(--kz-mute); letter-spacing: .1em; text-transform: none; }
.kz-contact input, .kz-contact textarea { border: 1px solid var(--kz-ink); background: transparent; padding: 12px 14px; font: inherit; font-size: 14px; letter-spacing: 0; text-transform: none; border-radius: 0; }
.kz-contact button { align-self: flex-start; padding: 13px 34px; border: 1px solid var(--kz-ink); background: var(--kz-ink); color: #fff; font: inherit; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; cursor: pointer; border-radius: 0; }
.kz-contact button:disabled { opacity: .5; }
.kz-contact-msg { margin: 0; font-size: 13px; min-height: 1em; }
/* nav: 風 mark in the middle (Ryan, 11 Oct 2026) — the row becomes a 3-column grid so the mark is truly centred */
.wp-block-template-part .kz-topbar + .wp-block-group { display: grid !important; grid-template-columns: 1fr auto 1fr; align-items: center; }
.wp-block-template-part .kz-topbar + .wp-block-group > :last-child { justify-self: end; }
.kz-mark { display: block; line-height: 0; }
.kz-mark img { height: 42px; width: auto; display: block; }
@media (max-width: 781px) { .kz-mark img { height: 32px; } }
@media (max-width: 781px) {
  .wp-block-template-part .kz-topbar + .wp-block-group { padding-left: 20px !important; padding-right: 20px !important; }
  .wp-block-template-part .kz-topbar + .wp-block-group .wp-block-site-title { visibility: hidden; width: 0; }
}
@media (max-width: 781px) {
  .wp-block-template-part .kz-topbar + .wp-block-group { position: relative; }
  .wp-block-template-part .kz-topbar + .wp-block-group .kz-mark { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
  .wp-block-template-part .kz-topbar + .wp-block-group > :last-child .wp-block-group, .wp-block-template-part .kz-topbar + .wp-block-group > :last-child { gap: 18px !important; }
}
@media (max-width: 781px) {
  .wp-block-template-part .kz-topbar + .wp-block-group { display: flex !important; justify-content: flex-end !important; min-height: 88px; }
  .wp-block-template-part .kz-topbar + .wp-block-group .wp-block-site-title { display: none; }
  .wp-block-template-part .kz-topbar + .wp-block-group > :last-child { margin-left: auto; }
}

/* kz-grid-air (Ryan, 11 Oct 2026, ref: Godmade grid pin): each design gets room — the garment sits at ~60% of its
   tile with space all round, instead of filling the card edge to edge. Shop grids + related products only. */
.wc-block-product .wc-block-components-product-image img { padding: 10% !important; box-sizing: border-box; aspect-ratio: 1 / 1; object-fit: contain; }
.wc-block-product-template { row-gap: 40px !important; }
