/*
Theme Name: KNHAA Editorial
Description: Lightweight editorial WooCommerce storefront starter for KNHAA.
Version: 1.3.0
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: knhaa-editorial
*/
:root{--green:#234441;--ivory:#f7f6f0;--yellow:#f4d33f;--blue:#123f6b;--ink:#171918;--line:rgba(23,25,24,.14);--max:1440px}
*{box-sizing:border-box}body{margin:0;background:var(--ivory);color:var(--ink);font:15px/1.5 Arial,Helvetica,sans-serif}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto;display:block}
.site-header{background:var(--ivory);border-bottom:1px solid var(--line)}.header-inner{max-width:var(--max);margin:auto;padding:18px 5vw;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{font-size:27px;font-weight:800;letter-spacing:.08em;color:var(--green);line-height:1}.brand small{display:block;font-size:9px;font-weight:500;letter-spacing:.28em;text-align:center;margin-top:7px}.primary-nav,.header-actions{display:flex;align-items:center;gap:25px;font-size:10px;letter-spacing:.13em;text-transform:uppercase}.menu-toggle{display:none}
.hero{min-height:620px;display:flex;align-items:flex-end;position:relative;overflow:hidden;background:linear-gradient(90deg,rgba(15,37,33,.48),rgba(15,37,33,.05)),var(--hero-image,linear-gradient(135deg,#b7b9a2,#e6d6bd 48%,#9c9b80));background-size:cover;background-position:center;color:white}.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(13,28,25,.4),transparent 58%)}.hero-inner{position:relative;z-index:1;max-width:var(--max);width:100%;margin:auto;padding:90px 7vw 70px}.eyebrow,.section-kicker{font-size:10px;letter-spacing:.22em;text-transform:uppercase}.hero h1{font-size:clamp(48px,8.5vw,116px);line-height:.9;letter-spacing:-.065em;font-weight:500;margin:18px 0 22px}.hero-copy{max-width:370px;margin:0 0 28px;font-size:14px}.button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 23px;background:var(--yellow);color:var(--ink);border:1px solid var(--yellow);border-radius:0;text-transform:uppercase;letter-spacing:.12em;font-size:10px;font-weight:700}
.section{max-width:var(--max);margin:auto;padding:85px 5vw}.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:28px}.section h2{font-size:clamp(30px,4.5vw,58px);line-height:1;letter-spacing:-.05em;font-weight:500;margin:0}.section-kicker{color:#747872;margin:0 0 10px}.text-link{font-size:10px;text-transform:uppercase;letter-spacing:.13em;border-bottom:1px solid currentColor;padding-bottom:5px}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.product-image{background:#e9e6dc;aspect-ratio:3/4}.product-card h3{font-size:13px;font-weight:500;margin:13px 0 4px}.product-price{font-size:12px;color:#555}.editorial-band{background:var(--green);color:var(--ivory)}.editorial-inner{max-width:var(--max);margin:auto;padding:90px 7vw;display:grid;grid-template-columns:1.1fr .9fr;gap:9vw;align-items:center}.editorial-inner h2{font-size:clamp(38px,6vw,78px);font-weight:500;letter-spacing:-.06em;line-height:.96;margin:0}.editorial-inner p{max-width:420px;color:rgba(247,246,240,.8)}.button-outline{background:transparent;color:inherit;border-color:currentColor}.collection-tiles{display:grid;grid-template-columns:1fr 1fr;gap:18px}.collection-tile{min-height:360px;display:flex;align-items:flex-end;padding:28px;color:#fff;background:linear-gradient(0deg,rgba(0,0,0,.4),transparent 70%),linear-gradient(135deg,#a7a58d,#d4c7b1)}.collection-tile:nth-child(2){background:linear-gradient(0deg,rgba(0,0,0,.4),transparent 70%),linear-gradient(135deg,#8a9584,#d7c7ae)}.collection-tile h3{font-size:clamp(24px,3vw,42px);font-weight:500;letter-spacing:-.04em;margin:0 0 8px}.newsletter{background:#eae8df;text-align:center;padding:72px 5vw}.newsletter h2{font-size:clamp(30px,4vw,52px);font-weight:500;letter-spacing:-.05em;margin:0 0 12px}.newsletter p{color:#62665f;margin:0 auto 22px;max-width:460px}.site-footer{background:var(--ink);color:var(--ivory);padding:44px 5vw}.footer-inner{max-width:var(--max);margin:auto;display:flex;justify-content:space-between;gap:24px;align-items:center}.footer-note{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:rgba(247,246,240,.7)}.page-content{max-width:var(--max);margin:auto;padding:50px 5vw}
.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px!important}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}.woocommerce ul.products li.product{width:auto!important;margin:0!important;float:none!important}.woocommerce ul.products li.product a img{aspect-ratio:3/4;object-fit:cover}.woocommerce div.product .product_title{font-size:clamp(30px,4vw,52px);font-weight:500;letter-spacing:-.05em}.woocommerce div.product p.price{color:var(--green)}
.brand-wrap{display:flex;align-items:center;flex:0 0 auto}.brand-wrap .custom-logo-link{display:inline-flex;align-items:center;line-height:0}.brand-wrap .custom-logo{display:block;width:auto;max-width:190px;max-height:54px;object-fit:contain}.brand-wrap .brand{display:block}@media(max-width:800px){.brand-wrap .custom-logo{max-width:142px;max-height:42px}}
@media(max-width:800px){.header-inner{padding:16px 5vw}.primary-nav{display:none;position:absolute;z-index:20;top:65px;left:0;right:0;background:var(--ivory);padding:22px 5vw;flex-direction:column;align-items:flex-start;border-bottom:1px solid var(--line)}.primary-nav.is-open{display:flex}.menu-toggle{display:block;border:0;background:none;font-size:20px}.header-actions .account-link{display:none}.hero{min-height:570px}.hero-inner{padding:70px 6vw 48px}.hero h1{font-size:clamp(48px,13vw,84px)}.section{padding:62px 5vw}.product-grid,.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}.editorial-inner{padding:64px 6vw;grid-template-columns:1fr;gap:20px}.collection-tiles{grid-template-columns:1fr}.collection-tile{min-height:300px}.footer-inner,.section-head{align-items:flex-start;flex-direction:column}}

/* Multi-slide campaign hero */
.hero-slider{position:relative;background:var(--green)}.hero-slide{display:none;min-height:620px}.hero-slide.is-active{display:flex}.hero-slide{background-image:linear-gradient(90deg,rgba(15,37,33,.48),rgba(15,37,33,.05)),var(--hero-image,linear-gradient(135deg,#b7b9a2,#e6d6bd 48%,#9c9b80))}.hero-controls{position:absolute;z-index:4;right:5vw;bottom:28px;display:flex;gap:10px}.hero-dot{width:9px;height:9px;border-radius:50%;border:1px solid #fff;background:transparent;padding:0;cursor:pointer}.hero-dot.is-active{background:var(--yellow);border-color:var(--yellow)}.brand-wrap .custom-logo{max-width:190px;max-height:54px;width:auto;height:auto}.knhaa-slide-admin{background:#fff;border:1px solid #dcdcde;padding:20px;margin:20px 0;max-width:1100px}.knhaa-slide-head{display:flex;align-items:center;justify-content:space-between}.knhaa-admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.knhaa-admin-grid label,.knhaa-fields label{display:block;font-weight:600;margin:12px 0}.knhaa-image-preview{height:130px;background:#f5f5f5;border:1px dashed #bbb;display:flex;align-items:center;justify-content:center;margin:8px 0;overflow:hidden}.knhaa-image-preview img{max-width:100%;max-height:130px;width:auto;height:auto}.knhaa-image-url,.knhaa-fields input{display:block;width:100%;margin-top:5px}.knhaa-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}@media(max-width:800px){.hero-slide{min-height:570px;background-image:linear-gradient(90deg,rgba(15,37,33,.42),rgba(15,37,33,.08)),var(--hero-mobile-image,var(--hero-image))}.hero-controls{bottom:18px}.knhaa-admin-grid,.knhaa-fields{grid-template-columns:1fr}}


/* KNHAA product detail layout — editorial gallery and focused purchase panel */
body.single-product .page-content{max-width:1600px;padding:30px 3vw 70px}
body.single-product .woocommerce div.product{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(360px,.85fr);column-gap:clamp(28px,4vw,72px);align-items:start}
body.single-product .woocommerce div.product div.images{float:none!important;width:100%!important;margin:0!important;min-width:0}
body.single-product .woocommerce div.product div.summary{float:none!important;width:100%!important;margin:0!important;position:sticky;top:24px;padding:20px 0 0}
body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__wrapper{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__image:first-child{grid-column:span 2}
body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__image img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;background:#ebe8df}
body.single-product .woocommerce div.product div.images .flex-control-thumbs{display:flex;gap:8px;margin-top:10px}
body.single-product .woocommerce div.product div.images .flex-control-thumbs li{width:76px!important;float:none!important}
body.single-product .woocommerce div.product .product_title{font-size:clamp(30px,3.2vw,48px);line-height:1.02;letter-spacing:-.055em;margin:0 0 12px}
body.single-product .woocommerce div.product p.price{font-size:16px;color:var(--green);margin:0 0 18px}
body.single-product .woocommerce div.product .woocommerce-product-details__short-description{font-size:13px;line-height:1.65;max-width:580px;margin:0 0 20px}
body.single-product .woocommerce div.product form.cart{margin-top:20px}
body.single-product .woocommerce div.product form.cart .variations{border:0;margin:0 0 16px;width:100%}
body.single-product .woocommerce div.product form.cart .variations tr{display:grid;grid-template-columns:78px minmax(0,1fr);gap:12px;align-items:start;margin:0 0 14px}
body.single-product .woocommerce div.product form.cart .variations th,body.single-product .woocommerce div.product form.cart .variations td{display:block;text-align:left;padding:0;background:transparent}
body.single-product .woocommerce div.product form.cart .variations th label{font-size:11px;font-weight:600;text-transform:capitalize}
body.single-product .woocommerce div.product form.cart .variations select.knhaa-native-select{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(1px,1px,1px,1px)!important;white-space:nowrap!important}
.knhaa-option-group{display:flex;flex-wrap:wrap;gap:8px}
.knhaa-option{min-width:56px;min-height:40px;padding:9px 15px;border:1px solid rgba(23,25,24,.16);border-radius:999px;background:transparent;color:var(--ink);font:inherit;font-size:11px;cursor:pointer;transition:background .15s,color .15s,border-color .15s}
.knhaa-option:hover,.knhaa-option.is-selected{background:var(--green);border-color:var(--green);color:var(--ivory)}
.knhaa-option.is-colour{min-width:74px}
body.single-product .woocommerce div.product .reset_variations{font-size:10px;color:#686b65}
body.single-product .woocommerce div.product .single_add_to_cart_button{min-height:50px;min-width:180px}
body.single-product .woocommerce div.product form.cart .quantity{margin-right:10px}
body.single-product .woocommerce div.product .product_meta{font-size:11px;color:#62665f;margin-top:18px}
body.single-product .woocommerce-tabs{grid-column:1/-1;margin:52px 0 12px;border-top:1px solid var(--line);padding-top:20px}
body.single-product .woocommerce-tabs ul.tabs{display:flex;gap:24px;border:0;padding:0;margin:0 0 18px;flex-wrap:wrap}
body.single-product .woocommerce-tabs ul.tabs:before,body.single-product .woocommerce-tabs ul.tabs li:before,body.single-product .woocommerce-tabs ul.tabs li:after{display:none!important}
body.single-product .woocommerce-tabs ul.tabs li{border:0;background:transparent;padding:0;margin:0}
body.single-product .woocommerce-tabs ul.tabs li a{padding:10px 0;font-size:12px;font-weight:600;border-bottom:2px solid transparent}
body.single-product .woocommerce-tabs ul.tabs li.active a{border-color:var(--green)}
body.single-product .woocommerce-tabs .panel{font-size:13px;line-height:1.75;max-width:900px;margin:0}
body.single-product .knhaa-recommendations{grid-column:1/-1;margin:42px 0 10px}
.knhaa-recommendation-heading{margin-bottom:20px}
.knhaa-recommendation-heading .section-kicker{margin-bottom:8px}
.knhaa-recommendation-heading h2{font-size:clamp(28px,3vw,42px);font-weight:500;letter-spacing:-.045em;margin:0}
body.single-product .knhaa-recommendations ul.products{grid-template-columns:repeat(4,minmax(0,1fr))!important}
body.single-product .knhaa-recommendations ul.products li.product .woocommerce-loop-product__title{font-size:13px;font-weight:500}
body.single-product .knhaa-recommendations ul.products li.product .price{font-size:12px;color:var(--green)}
@media(max-width:800px){body.single-product .page-content{padding:18px 4vw 48px}body.single-product .woocommerce div.product{display:block}body.single-product .woocommerce div.product div.summary{position:static;padding:24px 0 0}body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__wrapper{gap:6px}body.single-product .woocommerce div.product form.cart .variations tr{grid-template-columns:62px minmax(0,1fr);gap:8px}body.single-product .woocommerce-tabs{margin-top:34px}body.single-product .woocommerce-tabs ul.tabs{gap:18px}body.single-product .knhaa-recommendations ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}}


/* KNHAA launch refinement v1.3.0: campaign-led homepage and cleaner purchase panel */
body.home .site-header{position:relative;z-index:20}
body.home .hero-slider{min-height:calc(100svh - 72px);}
body.home .hero-slide{min-height:calc(100svh - 72px);align-items:flex-end;background-position:center center;background-size:cover}
body.home .hero-slide:after{background:linear-gradient(0deg,rgba(10,22,20,.48),rgba(10,22,20,.04) 52%,rgba(10,22,20,.08))}
body.home .hero-inner{max-width:none;padding:52px 5vw 46px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:flex-end}
body.home .hero-inner .eyebrow{margin:0 0 10px;font-size:9px;letter-spacing:.2em}
body.home .hero-inner h1{font-size:clamp(34px,5vw,68px);line-height:.96;letter-spacing:-.055em;margin:0 0 12px;font-weight:500}
body.home .hero-inner .hero-copy{font-size:12px;margin:0 0 14px;max-width:420px}
body.home .hero-inner .button{background:transparent;border:0;border-bottom:1px solid rgba(255,255,255,.85);color:#fff;min-height:34px;padding:0 0 4px;letter-spacing:.04em;font-size:12px;text-transform:none;font-weight:500}
body.home .hero-inner .button:hover{opacity:.72}
body.home .hero-controls{right:50%;transform:translateX(50%);bottom:18px}
body.home .section{padding-top:72px;padding-bottom:72px}
body.home .section-head{margin-bottom:26px}
body.home .woocommerce ul.products li.product a img{aspect-ratio:3/4;object-fit:cover;background:#ece9e0;margin-bottom:12px}
body.home .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:13px;font-weight:500;color:var(--ink);padding:0}
body.home .woocommerce ul.products li.product .price{font-size:12px;color:var(--green);margin-top:5px}
body.home .woocommerce ul.products li.product .button{margin-top:9px;min-height:36px;padding:0 12px;font-size:9px}
body.single-product .woocommerce div.product form.cart .variations select.knhaa-native-select{display:none!important}
body.single-product .woocommerce div.product form.cart .variations td .knhaa-option-group{min-height:40px}
body.single-product .woocommerce div.product form.cart .variations td{min-width:0}
body.single-product .woocommerce div.product .single_add_to_cart_button{width:100%;min-height:54px;background:var(--green);border-color:var(--green);color:var(--ivory);letter-spacing:.12em}
body.single-product .woocommerce div.product .single_add_to_cart_button:hover{background:#183633;border-color:#183633;color:#fff}
body.single-product .woocommerce div.product form.cart .quantity{margin:0 0 12px}
body.single-product .woocommerce div.product form.cart .quantity input{min-height:44px;border:1px solid var(--line);background:transparent;padding:8px}
body.single-product .woocommerce div.product .summary{max-width:560px}
body.single-product .woocommerce div.product .woocommerce-product-gallery__trigger{z-index:3}
@media(max-width:800px){
 body.home .hero-slider,body.home .hero-slide{min-height:calc(88svh - 60px)}
 body.home .hero-slide{background-position:center center}
 body.home .hero-inner{padding:40px 6vw 46px}
 body.home .hero-inner h1{font-size:clamp(34px,10vw,58px)}
 body.home .hero-inner .hero-copy{font-size:12px}
 body.home .section{padding-top:52px;padding-bottom:52px}
 body.home .hero-controls{bottom:12px}
 body.single-product .woocommerce div.product .single_add_to_cart_button{width:100%}
}
