/*
Theme Name: Chabo Child
Description: Minimal wholesale catalogue for Chabo.
Author: Chabo
Template: blocksy
Version: 1.1.0
Requires at least: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: chabo-child
*/
:root{--ink:#111;--muted:#777;--line:#e5e5e5;--paper:#fff;--theme-palette-color-1:#111;--theme-palette-color-2:#333;--theme-palette-color-3:#666;--theme-palette-color-4:#111;--theme-palette-color-8:#fff;--theme-font-family:Arial,Helvetica,sans-serif;--theme-button-background-initial-color:#111;--theme-button-background-hover-color:#333;--theme-button-text-initial-color:#fff;--theme-button-border-radius:0;--theme-link-initial-color:#111;--theme-link-hover-color:#777}
body.chabo-store{background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:1.6}body.chabo-store h1,body.chabo-store h2,body.chabo-store h3{color:var(--ink);font-family:Arial,Helvetica,sans-serif;letter-spacing:-.035em;font-weight:400}.chabo-store a{color:var(--ink);text-decoration:none}.chabo-store a:hover{color:#777}.chabo-shell{width:calc(100% - 128px);max-width:1280px;margin-inline:auto}.chabo-header{height:104px;padding:0 48px;display:flex;align-items:center;gap:72px;border-bottom:1px solid var(--line)}.chabo-logo{display:block;flex:0 0 120px}.chabo-logo img{width:120px;height:64px;object-fit:contain}.chabo-nav,.chabo-actions{display:flex;align-items:center;gap:32px}.chabo-nav a,.chabo-actions a{font-size:12px}.chabo-nav a[aria-current]{border-bottom:1px solid #111}.chabo-actions{margin-left:auto;gap:28px}.chabo-actions a{display:flex;align-items:center;gap:9px}.chabo-actions svg{width:18px;height:20px;fill:none;stroke:currentColor;stroke-width:1.3}.chabo-cart-count{border:1px solid #111;border-radius:50%;width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;font-size:10px}.site-main{min-height:65vh}.chabo-page-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;padding:42px 0 30px}.chabo-page-heading h1{font-size:32px;line-height:1.2;margin:10px 0 0;letter-spacing:-.05em}.chabo-kicker{font-size:9px;letter-spacing:.18em;color:#777}.chabo-page-heading>a,.chabo-result-count{font-size:11px;color:#777}.chabo-page-heading>a span{padding-left:22px;color:#111}.chabo-collections{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;padding-bottom:64px}.chabo-collection-image{position:relative;aspect-ratio:3/4;background:#f3f3f1;overflow:hidden}.chabo-collection-image img{height:100%;width:100%;object-fit:cover;transition:transform .6s}.chabo-collection:hover img{transform:scale(1.025)}.chabo-round-arrow{position:absolute;right:15px;bottom:15px;border:1px solid #fff8;color:#fff;background:#1119;border-radius:50%;width:32px;height:32px;display:grid;place-items:center;font-size:18px}.chabo-collection-caption{display:flex;justify-content:space-between;gap:14px;margin-top:16px;align-items:baseline}.chabo-collection-caption h2{font-size:16px;font-weight:400;margin:0}.chabo-collection-caption>span{font-size:10px;color:#777}.chabo-footer{background:#111;color:#fff;padding:34px 48px 20px;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;margin-top:36px}.chabo-footer .chabo-footer-brand{color:#fff;font:40px/1 Georgia,serif;letter-spacing:-2px}.chabo-footer-brand span{font:9px Arial;vertical-align:top;letter-spacing:0}.chabo-footer p{font-size:8px;letter-spacing:.2em;color:#999;margin-top:10px}.chabo-footer-links{display:flex;gap:30px;font-size:11px}.chabo-footer .chabo-footer-links a{color:#ddd}.chabo-footer-bottom{width:100%;border-top:1px solid #333;padding-top:17px;margin-top:10px;display:flex;justify-content:space-between;font-size:9px;color:#999}.chabo-catalogue{padding-bottom:40px}.chabo-filterbar{display:flex;align-items:center;justify-content:space-between;border-block:1px solid var(--line);gap:20px;padding:15px 0;margin-bottom:38px}.chabo-catalog-nav{display:flex;align-items:center;gap:22px;flex-wrap:wrap}.chabo-catalog-nav a{font-size:11px;color:#777;white-space:nowrap}.chabo-catalog-nav a[aria-current]{color:#111;text-decoration:underline;text-underline-offset:6px}.chabo-colour-filter{display:flex;align-items:center;gap:10px;flex-shrink:0}.chabo-colour-filter label{font-size:10px;color:#777;margin:0}.chabo-colour-filter select{font-size:11px;width:135px;min-height:32px;height:32px;border:0!important;border-bottom:1px solid #111!important;padding:4px 25px 4px 5px}.chabo-colour-filter button{min-height:32px;padding:0 12px;font-size:10px;background:#111;color:#fff}.chabo-colour-filter a{font-size:10px;text-decoration:underline}.chabo-model-row{margin-bottom:44px}.chabo-model-heading{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:14px}.chabo-model-heading h2{font-size:15px!important;letter-spacing:-.02em;margin:0}.chabo-model-heading>span{font-size:10px;color:#888}.chabo-product-row{display:flex;gap:20px;overflow-x:auto;padding-bottom:13px;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#bbb #f4f4f4}.chabo-product-card{flex:0 0 calc((100% - 40px)/3);min-width:0;scroll-snap-align:start}.chabo-product-image{position:relative;aspect-ratio:1/1.1;background:#f3f3f1;overflow:hidden}.chabo-product-image img{height:100%;width:100%;object-fit:contain;mix-blend-mode:multiply;transition:transform .4s}.chabo-product-card:hover img{transform:scale(1.04)}.chabo-badge{position:absolute;top:12px;left:12px;background:#fff9;padding:4px 7px;font-size:8px;letter-spacing:.06em;text-transform:uppercase}.chabo-card-arrow{position:absolute;right:14px;bottom:10px;font-size:20px;opacity:0;transition:opacity .2s}.chabo-product-card:hover .chabo-card-arrow{opacity:1}.chabo-product-caption{display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding-top:12px;font-size:12px}.chabo-card-sku{font-size:8px;color:#999}.chabo-empty{padding:40px 0;color:#777}.chabo-store [class*="ct-container"]{--theme-container-width:calc(100% - 128px);--theme-normal-container-max-width:1280px}.chabo-store [data-vertical-spacing]{padding-block:32px 50px}.chabo-store .hero-section>figure,.chabo-store .hero-section:after{display:none}.chabo-store .hero-section{background:none!important;min-height:0!important;padding:35px 0 0!important}.chabo-store .hero-section .entry-header{padding:0;min-height:0}.chabo-store .page-title{font:400 30px/1.2 Arial,Helvetica,sans-serif!important;letter-spacing:-.04em}.chabo-store .hero-section .page-description,.chabo-store .ct-breadcrumbs{display:none}.chabo-pdp{width:100%}.chabo-pdp-breadcrumb{display:flex;gap:12px;font-size:10px;color:#999;padding:0 0 26px}.chabo-pdp-breadcrumb a{color:#777}.chabo-pdp-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(340px,1fr);gap:7vw;align-items:start}.chabo-pdp .woocommerce-product-gallery{width:100%!important;margin:0!important;float:none!important;position:relative}.chabo-pdp .woocommerce-product-gallery__wrapper .ct-media-container,.chabo-pdp .woocommerce-product-gallery__image{background:#f4f4f2}.chabo-pdp .woocommerce-product-gallery__image img{width:100%;object-fit:contain;mix-blend-mode:multiply}.chabo-pdp .flex-viewport{background:#f4f4f2}.chabo-pdp .flex-control-thumbs{display:flex;gap:12px;margin-top:14px!important;background:#fff}.chabo-pdp .flex-control-thumbs li{width:76px!important;flex:0 0 76px;margin:0!important}.chabo-pdp .entry-summary{width:100%!important;margin:0!important;float:none!important;position:sticky;top:28px;padding-top:15px}.chabo-pdp .product_title{font:400 clamp(28px,2.5vw,42px)/1.15 Arial,Helvetica,sans-serif!important;letter-spacing:-.05em!important;margin:18px 0 10px!important}.chabo-pdp-colour{font-size:12px;color:#777;margin:0 0 24px}.chabo-colour-choices{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:32px}.chabo-colour-choices a{width:64px;border:1px solid transparent;padding:3px;display:block}.chabo-colour-choices a[aria-current]{border-color:#111}.chabo-colour-choices img{width:100%;aspect-ratio:1;object-fit:contain;background:#f4f4f2;mix-blend-mode:multiply}.chabo-colour-choices span{display:block;text-align:center;font-size:8px;margin-top:5px;color:#666}.chabo-pdp-order{border-top:1px solid var(--line);padding-top:25px}.chabo-pdp .cart{margin-bottom:0!important;gap:10px}.chabo-pdp .single_add_to_cart_button{background:#111!important;color:#fff!important;font-size:11px!important;letter-spacing:.04em;min-height:50px}.chabo-pdp .quantity{height:50px}.chabo-pdp .stock{font-size:10px;color:#777}.chabo-pdp-service{font-size:10px;color:#777;margin:18px 0 8px}.chabo-login-hint{font-size:10px;text-decoration:underline!important;text-underline-offset:4px}.chabo-product-details{margin-top:30px;border-top:1px solid var(--line)}.chabo-product-details details{border-bottom:1px solid var(--line);padding:18px 0}.chabo-product-details summary{display:flex;justify-content:space-between;cursor:pointer;font-size:11px;list-style:none}.chabo-product-details summary::-webkit-details-marker{display:none}.chabo-product-details details[open] summary span{transform:rotate(45deg)}.chabo-product-details details>div,.chabo-product-details details>p{margin-top:18px;font-size:12px;line-height:1.9;color:#666}.chabo-product-details h2{font-size:15px}.chabo-detail-sku{font-size:9px;color:#999}.chabo-store input,.chabo-store select,.chabo-store textarea{border-color:#ddd!important;border-radius:0!important}.chabo-store button,.chabo-store .button,.chabo-store input[type="submit"]{border-radius:0!important}.chabo-store .woocommerce-info,.chabo-store .woocommerce-message{background:#f5f5f3;border-color:#111;font-size:12px}.chabo-store .woocommerce-error{font-size:12px}.chabo-store .woocommerce form.login,.chabo-store .woocommerce form.register{padding:28px;border:1px solid var(--line)}.chabo-store .woocommerce-checkout h3,.chabo-store .woocommerce-account h2{font:400 22px/1.3 Arial,Helvetica,sans-serif}.chabo-store .woocommerce label{font-size:12px}.chabo-store .woocommerce table.shop_table{font-size:12px}.chabo-store .woocommerce .product-price,.chabo-store .woocommerce .product-subtotal,.chabo-store .woocommerce-order-overview__total,.chabo-store .woocommerce-orders-table__header-order-total,.chabo-store .woocommerce-orders-table__cell-order-total{display:none!important}.chabo-store .woocommerce-order-details .product-total,.chabo-store .woocommerce-order-details tfoot{display:none!important}.chabo-checkout-note{font-size:11px;color:#777}.chabo-store .woocommerce-privacy-policy-text{font-size:10px;color:#888}.chabo-store .woocommerce-product-gallery__trigger{background:white!important}.chabo-store .cart-collaterals{display:flex;justify-content:flex-end}.chabo-store .cart-collaterals .checkout-button{min-width:240px}.chabo-store a:focus-visible,.chabo-store button:focus-visible,.chabo-product-row:focus-visible{outline:2px solid #111;outline-offset:4px}
@media(min-width:1408px){.chabo-header,.chabo-footer{padding-inline:calc((100vw - 1280px)/2)}}
@media(max-width:1100px){.chabo-shell{width:calc(100% - 56px)}.chabo-header{padding-inline:28px;gap:40px}.chabo-actions a>span:not(.chabo-cart-count){display:none}.chabo-filterbar{align-items:flex-start;flex-direction:column}.chabo-pdp-layout{gap:35px;grid-template-columns:minmax(0,1.2fr) minmax(300px,1fr)}.chabo-store [class*="ct-container"]{--theme-container-width:calc(100% - 56px)}.chabo-collections{gap:16px}.chabo-collection-caption h2{font-size:13px}.chabo-product-card{flex-basis:calc((100% - 40px)/3)}.chabo-footer{padding-inline:28px}}
@media(max-width:700px){.chabo-shell{width:calc(100% - 32px)}.chabo-header{padding:12px 16px;min-height:96px;height:auto;gap:10px;flex-wrap:wrap}.chabo-logo{flex-basis:94px}.chabo-logo img{width:94px;height:44px}.chabo-nav{order:2;width:100%;gap:24px}.chabo-actions{gap:20px}.chabo-nav a{font-size:11px}.chabo-page-heading{padding:28px 0 24px}.chabo-page-heading h1{font-size:26px}.chabo-kicker{font-size:8px}.chabo-page-heading>a{font-size:10px}.chabo-collections{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 12px;padding-bottom:30px}.chabo-collection-caption{gap:5px;margin-top:10px}.chabo-collection-caption h2{font-size:12px}.chabo-round-arrow{width:27px;height:27px;right:10px;bottom:10px}.chabo-catalog-nav{gap:16px;flex-wrap:nowrap;overflow-x:auto;width:100%;padding-bottom:4px}.chabo-catalog-nav a{font-size:10px}.chabo-filterbar{margin-bottom:26px;gap:15px}.chabo-model-heading h2{font-size:13px!important}.chabo-model-heading>span{font-size:9px}.chabo-product-row{gap:12px}.chabo-product-card{flex-basis:calc((100% - 12px)/2)}.chabo-card-sku{display:none}.chabo-product-caption{font-size:11px}.chabo-model-row{margin-bottom:32px}.chabo-footer{padding:28px 16px 18px;gap:24px}.chabo-footer-links{gap:20px}.chabo-footer-bottom{gap:20px;font-size:8px}.chabo-store [class*="ct-container"]{--theme-container-width:calc(100% - 32px)}.chabo-store [data-vertical-spacing]{padding-top:20px}.chabo-pdp-breadcrumb{font-size:9px;gap:8px;padding-bottom:18px;flex-wrap:wrap}.chabo-pdp-layout{grid-template-columns:1fr;gap:26px}.chabo-pdp .entry-summary{position:static;padding:0}.chabo-pdp .product_title{font-size:30px!important}.chabo-pdp .flex-control-thumbs li{width:58px!important;flex-basis:58px}.chabo-pdp .flex-control-thumbs{gap:8px}.chabo-pdp .single_add_to_cart_button{font-size:11px!important}.chabo-pdp .woocommerce-product-gallery{min-width:0}.chabo-store .page-title{font-size:26px!important}}
/* Collection carousel and dark collection heading. */
.chabo-archive-banner{background:#111;color:#fff}.chabo-archive-banner .chabo-page-heading{padding:36px 0 38px}.chabo-archive-banner .chabo-page-heading h1{color:#fff;font-size:30px}.chabo-archive-banner a.chabo-kicker,.chabo-archive-banner .chabo-result-count{color:#aaa}.chabo-archive-banner a.chabo-kicker:hover{color:#fff}.chabo-archive-banner+.chabo-catalogue .chabo-filterbar{border-top:0}.chabo-catalog-nav{flex:1;min-width:0;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;padding-bottom:4px}.chabo-collection-index-page{padding-top:36px;padding-bottom:25px}.chabo-collection-slider .chabo-collections{display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:8px;overscroll-behavior-x:contain}.chabo-collection-slider .chabo-collections::-webkit-scrollbar{display:none}.chabo-collection-slider .chabo-collection{flex:0 0 calc((100% - 60px)/4);min-width:0;scroll-snap-align:start}.chabo-collection-slider .chabo-collection-image{aspect-ratio:3/4}.chabo-slider-controls{display:flex;align-items:center;gap:28px;margin-top:24px}.chabo-slider-controls[hidden]{display:none}.chabo-slider-status{font-size:10px;letter-spacing:.1em;color:#777;white-space:nowrap;min-width:100px}.chabo-slider-progress{position:relative;overflow:hidden;height:1px;background:#e3e3e3;flex:1}.chabo-slider-progress span{display:block;background:#111;height:1px;transform-origin:left}.chabo-slider-buttons{display:flex;gap:8px}.chabo-slider-buttons button{width:42px;min-height:42px;padding:0;border:1px solid #111;background:#111;color:#fff;font:18px Arial;transition:background .2s,color .2s}.chabo-slider-buttons button:hover{background:#fff;color:#111}.chabo-slider-buttons button:disabled{background:#fff;border-color:#ddd;color:#aaa;opacity:1;cursor:default}.chabo-collections:focus-visible{outline:2px solid #111;outline-offset:5px}
@media(max-width:1000px){.chabo-collection-slider .chabo-collection{flex-basis:calc((100% - 40px)/3)}}
@media(max-width:700px){.chabo-collection-index-page{padding-top:20px}.chabo-collection-slider .chabo-collections{gap:12px}.chabo-collection-slider .chabo-collection{flex-basis:calc((100% - 12px)/2.15)}.chabo-slider-controls{margin-top:18px;gap:16px}.chabo-slider-status{font-size:9px;min-width:88px}.chabo-slider-buttons button{width:38px;min-height:38px}.chabo-archive-banner .chabo-page-heading{padding:25px 0 28px}.chabo-archive-banner .chabo-page-heading h1{font-size:26px}}
@media(prefers-reduced-motion:reduce){.chabo-collection-image img,.chabo-slider-buttons button{transition:none}}

/* Four fixed collection tiles and one card per model. */
.chabo-model-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:36px 20px}
.chabo-product-caption h2{font-size:13px!important;margin:0;letter-spacing:0!important}
.chabo-swatches{display:flex;flex-wrap:wrap;gap:2px;margin-top:8px}
.chabo-swatch{display:grid;place-items:center;width:32px;height:32px;border:1px solid transparent;border-radius:50%}
.chabo-swatch:hover{border-color:#999}.chabo-swatch span{display:block;width:18px;height:18px;border-radius:50%;border:1px solid #0002}
.chabo-cover-placeholder{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;font:32px Georgia,serif;color:#777;letter-spacing:.08em}
.chabo-cover-placeholder span{font:9px Arial,sans-serif;letter-spacing:.18em;margin-top:8px}
@media(max-width:1000px){.chabo-model-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.chabo-model-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 12px}.chabo-swatch{width:36px;height:36px}}

/* Checkout action: legible text and natural height in the parent theme's cart grid. */
.chabo-store a.button,.chabo-store a.checkout-button{color:#fff;background:#111}
.chabo-store a.button:hover,.chabo-store a.checkout-button:hover{color:#fff;background:#333}
.chabo-store .cart-collaterals{align-items:flex-start;align-self:start;display:block}
.chabo-checkout-action{width:100%;padding:0;background:transparent}
.chabo-store .chabo-checkout-action .checkout-button{display:flex;justify-content:center;align-items:center;gap:20px;width:100%;min-width:0;min-height:52px;height:auto;padding:16px 22px;color:#fff;background:#111;font-size:13px;line-height:1.4;text-align:center}
.chabo-checkout-action p{font-size:11px;color:#777;margin:12px 0 0}
.chabo-login-intro{max-width:620px;margin:0 0 30px}.chabo-login-intro h2{font-size:26px}.chabo-login-intro p{color:#666;font-size:13px}
.chabo-collection-image img{object-position:center center}
@media(max-width:700px){.chabo-store .cart-collaterals{width:100%;margin-top:24px}}

/* Official logo on the dark footer; same artwork as the header. */
.chabo-footer-brand{display:block;width:120px}
.chabo-footer-brand img{display:block;width:120px;height:64px;object-fit:contain;filter:brightness(0) invert(1)}
.chabo-product-card .chabo-delivery-label{position:absolute;z-index:1;left:12px;top:12px;max-width:calc(100% - 24px);display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:12px 14px;background:#111;color:#fff;border:0;border-radius:0;text-align:left;line-height:1.4;overflow-wrap:anywhere}
.chabo-delivery-title{font-size:10px;font-weight:700;letter-spacing:.16em;text-transform:uppercase}
.chabo-delivery-detail{font-size:11px;font-weight:500;letter-spacing:.01em}
.chabo-product-card:has(.chabo-delivery-label) .chabo-badge{top:auto;bottom:12px;background:#fff;color:#111}
.chabo-product-card:has(.chabo-delivery-label) .chabo-card-arrow{top:auto;bottom:10px}
@media(max-width:700px){.chabo-product-card .chabo-delivery-label{left:8px;top:8px;max-width:calc(100% - 16px);padding:9px 10px;gap:3px}.chabo-delivery-title{font-size:9px}.chabo-delivery-detail{font-size:10px}}
.chabo-pdp-summary .chabo-delivery{font-size:13px;margin:16px 0;padding:12px 0;border-block:1px solid var(--line)}
.chabo-about{max-width:900px;padding-block:48px 64px}
.chabo-about h1{font-size:32px}
.chabo-about img{max-width:100%;height:auto}

/* Give the four homepage collections room to breathe on tablets. */
@media (min-width:701px) and (max-width:1180px) {
 .home .chabo-header{height:88px;padding-inline:32px;gap:36px}
 .home .chabo-nav{gap:24px}
 .home .chabo-nav a,.home .chabo-actions a{min-height:44px;display:flex;align-items:center}
 .home .chabo-actions{gap:20px}
 .home .chabo-collection-index-page{width:calc(100% - 64px);padding-top:32px;padding-bottom:16px}
 .home .chabo-collections{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 24px;padding-bottom:24px}
 .home .chabo-collection{min-width:0}
 .home .chabo-collection-image{aspect-ratio:4/3}
 .home .chabo-collection-caption{align-items:center;gap:16px;margin-top:14px;padding-bottom:14px;border-bottom:1px solid var(--line)}
 .home .chabo-collection-caption h2{font-size:18px;line-height:1.35}
 .home .chabo-collection-caption>span{font-size:12px}
 .home .chabo-round-arrow{width:44px;height:44px;right:16px;bottom:16px;font-size:22px}
 .home .chabo-footer{padding-inline:32px;margin-top:20px}
}

/* Show catalogue and order prices while keeping the offline B2B checkout. */
.chabo-store .price{display:block!important;color:#111;font-size:13px;font-weight:600;line-height:1.35}.chabo-store .price del{color:#777;font-weight:400;margin-right:6px}.chabo-store .price ins{text-decoration:none}.chabo-card-price{font-size:11px!important;white-space:nowrap}.chabo-pdp-price{margin:0 0 8px!important;font-size:16px!important}.chabo-store .woocommerce .product-price,.chabo-store .woocommerce .product-subtotal,.chabo-store .woocommerce-order-overview__total,.chabo-store .woocommerce-orders-table__header-order-total,.chabo-store .woocommerce-orders-table__cell-order-total,.chabo-store .woocommerce-order-details .product-total{display:table-cell!important}.chabo-store .woocommerce-order-details tfoot{display:table-row-group!important}.chabo-cart-billing-note{font-size:11px;color:#777;margin:14px 0 0}
/* Purchase price (retail ÷ margin) above the advice price. */
.chabo-price-purchase,.chabo-price-retail{display:block}.chabo-price-label{font-weight:400;color:#777;margin-right:4px}.chabo-price-retail{font-weight:400;font-size:.85em;color:#777}.chabo-price-retail .amount{color:#777}.chabo-card-price{text-align:right}
