/*
Theme Name: BALAFFON Everyday
Description: Custom BALAFFON storefront with orange emblem, ivory and olive palette, and WooCommerce integration.
Version: 1.1.0
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: balaffon
License: GPL-2.0-or-later
*/
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f7f4ed;color:#242c25;font-family:Arial,sans-serif}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}header{padding:24px 5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #d9d7cd;gap:20px}.brand{display:flex;align-items:center;font-weight:800;font-size:25px;letter-spacing:2px}.brand svg{width:43px;height:43px;color:#d95127;margin-right:12px}nav{display:flex;gap:30px;font-size:13px}.pill{border:1px solid #28372c;border-radius:30px;padding:12px 20px;font-size:12px}.hero{display:grid;grid-template-columns:1fr 1fr;min-height:640px}.hero-copy{padding:90px 10% 70px}.kicker{font-size:11px;letter-spacing:2px;text-transform:uppercase}h1{font-family:Georgia,serif;font-weight:400;font-size:clamp(54px,6.3vw,94px);line-height:.99;letter-spacing:-4px;margin:28px 0}h1 em{font-weight:400;color:#c94b25}p{font-size:15px;line-height:1.8;color:#64695f;max-width:440px}.btn{display:inline-flex;gap:35px;align-items:center;background:#283a2c;color:#fff;padding:18px 25px;border-radius:3px;font-size:13px;margin-top:22px}.hero-art{background:#e8b46e;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;min-height:550px}.sun{position:absolute;width:390px;height:390px;border-radius:50%;background:#f5d8a1;top:65px;right:-60px}.bottle{width:140px;height:320px;background:linear-gradient(90deg,#5b2c15,#9c5828 45%,#57301a);border-radius:25px 25px 15px 15px;position:relative;box-shadow:30px 35px 35px #5b321b35;transform:rotate(-10deg);z-index:2}.bottle:before{content:'';position:absolute;width:65px;height:55px;top:-45px;left:37px;background:repeating-linear-gradient(90deg,#27362b 0 4px,#3e4938 4px 6px);border-radius:5px}.label{position:absolute;top:85px;left:0;right:0;background:#f7f0dc;text-align:center;padding:24px 5px;color:#27362b}.label svg{width:40px;height:40px;color:#cf4e25}.label strong{display:block;font-size:12px;letter-spacing:2px;margin:8px 0}.label span{font-size:9px;letter-spacing:2px}.leaf{position:absolute;width:150px;height:250px;background:#53623d;border-radius:0 100% 0 100%;transform:rotate(-25deg);left:12%;bottom:20px}.leaf.two{left:auto;right:10%;height:180px;width:95px;transform:rotate(70deg);bottom:40px}.art-caption{position:absolute;bottom:24px;left:30px;font-size:10px;letter-spacing:1px}.art-top{position:absolute;top:26px;left:30px;font-family:Georgia,serif;font-size:22px}.strip{display:flex;justify-content:space-around;gap:20px;padding:23px 5%;border-bottom:1px solid #d9d7cd;font-size:11px;letter-spacing:1.5px}.section{padding:78px 5%}.section-head{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:32px}h2{font-family:Georgia,serif;font-size:48px;font-weight:400;letter-spacing:-1.5px;margin:12px 0}.section-head p{max-width:300px;font-size:13px}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.card{display:block}.tile{height:245px;display:grid;place-items:center;position:relative;overflow:hidden;background:#e6d3b8}.tile svg{width:140px;height:160px}.card:nth-child(2) .tile{background:#dce0cd}.card:nth-child(3) .tile{background:#e8c9ad}.card:nth-child(4) .tile{background:#d9dcd5}.card h3{font-size:18px;font-weight:400;display:flex;justify-content:space-between;margin:18px 0 8px}.card p{font-size:12px;margin:0}.partner{margin:0 5% 75px;display:grid;grid-template-columns:1fr 1fr;background:#e7e1d9}.partner-art{min-height:360px;display:flex;align-items:center;justify-content:center;background:#d3b5a5}.jar{height:140px;width:190px;background:#f8eddf;border-radius:9px 9px 30px 30px;position:relative;text-align:center;padding-top:48px;box-shadow:24px 25px 30px #69432c26;font-family:Georgia,serif;font-size:27px}.jar:before{content:'';position:absolute;top:-22px;left:0;right:0;height:26px;background:#694a37;border-radius:8px 8px 0 0}.partner-copy{padding:55px 12%}.textlink{display:inline-block;border-bottom:1px solid;padding-bottom:6px;margin-top:15px;font-size:13px}.story{background:#283a2c;color:#f7f4ed;text-align:center;padding:80px 20%}.story p{color:#d1d6cb;margin:20px auto}.story h2{font-size:54px}footer{padding:45px 5%;display:flex;align-items:center;justify-content:space-between;gap:25px;font-size:12px}.preview{padding:12px;text-align:center;background:#e9e5db;color:#68685e;font-size:11px}.dialog{border:0;background:#f7f4ed;padding:35px;max-width:460px;width:90%;box-shadow:0 20px 100px #0003}.dialog::backdrop{background:#18231d88}.dialog button{padding:10px 18px;background:#283a2c;color:white;border:0}a:focus-visible,button:focus-visible{outline:3px solid #d95127;outline-offset:5px}@media(max-width:760px){header{flex-wrap:wrap}.brand{font-size:21px}nav{order:3;width:100%;justify-content:center;gap:24px}.hero{grid-template-columns:1fr}.hero-copy{padding:55px 6%}h1{letter-spacing:-2px}.hero-art{min-height:470px}.strip{font-size:9px;flex-wrap:wrap}.section{padding:55px 6%}.section-head{display:block}h2{font-size:39px}.grid{grid-template-columns:1fr 1fr;gap:25px 15px}.tile{height:190px}.partner{grid-template-columns:1fr}.partner-copy{padding:35px 8%}.story{padding:65px 8%}.story h2{font-size:42px}footer{flex-wrap:wrap}.pill{padding:10px}}.brand-mark{width:48px;height:48px;object-fit:contain;margin-right:12px}.label .brand-mark{width:48px;height:48px;margin:0}
/* BALAFFON identity: orange signature, ivory canvas, olive structure. */
:root{--ivory:#f8f5ee;--ink:#26382c;--orange:#e8582b;--rust:#aa3e1c;--sage:#dbe1d2;--sand:#e9decc;--muted:#596154;--line:#deded2}
body{background:var(--ivory);color:var(--ink)}
header{padding:20px 5%;background:var(--ivory);border-color:var(--line)}
.brand{font-size:23px;letter-spacing:3px;font-weight:700;white-space:nowrap}.brand-mark{width:56px;height:56px;margin-right:16px}
nav a{padding:12px 0;position:relative}nav a:hover{color:var(--rust)}
.pill{border-color:var(--line);background:transparent;padding:14px 20px}.pill:hover{border-color:var(--ink)}
.hero{margin:24px 3% 0;grid-template-columns:1.05fr 1fr;min-height:590px}.hero-copy{padding:65px 7% 65px 3%;align-self:center}
h1{font-size:clamp(56px,6.5vw,96px);line-height:1.02;margin:26px 0;letter-spacing:-4px}h1 em{color:var(--rust)}
.kicker{font-size:10px;font-weight:700;letter-spacing:2.1px}.hero-copy .kicker:before{content:'';display:inline-block;width:7px;height:7px;background:var(--orange);border-radius:50%;margin-right:10px}
p{color:var(--muted);font-size:15px}.hero-copy p{max-width:370px}.btn{background:var(--ink);border-radius:2px;padding:19px 25px;transition:background .2s}.btn:hover{background:var(--rust)}
.hero-art{background:var(--sand);min-height:580px;border-radius:160px 160px 3px 3px;isolation:isolate}.sun{background:#f5eddf;width:360px;height:360px;right:-85px;top:80px}.art-top{top:38px;left:0;width:100%;text-align:center;font-size:18px;font-style:italic}.leaf{background:#737e5f;opacity:.65;width:115px;height:200px;bottom:25px;left:8%}.leaf.two{background:#9ca582;right:5%;bottom:55px}.bottle{transform:rotate(-8deg);margin-top:30px}.label{background:var(--ivory)}.art-caption{left:20px;right:20px;text-align:center;font-size:8px;letter-spacing:1px;color:#51533e}.label .brand-mark{width:58px;height:58px}
.strip{margin:24px 5% 0;padding:22px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);gap:12px;flex-wrap:wrap}.strip a{padding:8px 5px;font-size:10px;letter-spacing:1.4px}.strip a:hover{color:var(--rust)}
.section{padding:75px 5% 85px}.section-head{margin-bottom:30px}h2{font-size:48px}.tile{background:#eee1cc;height:265px;border-radius:85px 85px 2px 2px;transition:transform .25s}.card:nth-child(2) .tile{background:var(--sage)}.card:nth-child(3) .tile{background:#ead4c3}.card:nth-child(4) .tile{background:#e3e4d9}.card:hover .tile{transform:translateY(-5px)}.card h3{font-size:17px}.card h3 span{color:var(--rust)}.card p{font-size:13px}.tile svg{width:150px;height:170px}
.partner{background:#eee9e0;border:1px solid var(--line);grid-template-columns:.85fr 1.15fr}.partner-art{background:#ddc5b5;position:relative;overflow:hidden;min-height:380px}.partner-art:before{content:'';position:absolute;width:260px;height:320px;background:#e9d9cc;border-radius:150px 150px 0 0;bottom:0}.jar{z-index:1}.partner-copy{padding:55px 10%}.partner-copy .kicker{color:var(--rust)}.textlink{color:var(--ink);padding:12px 0}.textlink:hover{color:var(--rust)}
.story{background:var(--ink);padding:65px 15% 75px}.story-emblem{width:80px;height:80px;object-fit:contain;margin-bottom:20px}.story h2{font-size:54px}.story p{max-width:470px;color:#dce2d5}.story .kicker{color:#dbd2b9}footer{padding:40px 5%;border-bottom:1px solid var(--line)}.preview{background:var(--ivory);color:#596154;font-size:10px;padding:16px}
.dialog{color:var(--ink);border-radius:6px}.dialog h2{font-size:36px}a:focus-visible,button:focus-visible{outline:3px solid var(--rust);outline-offset:5px}
@media(min-width:1500px){main,header,footer{max-width:1600px;margin-left:auto;margin-right:auto}}
@media(max-width:760px){header{padding:15px 5%;gap:15px}.brand{font-size:19px;letter-spacing:2px}.brand-mark{width:43px;height:43px;margin-right:10px}.pill{font-size:10px;padding:12px}.hero{grid-template-columns:1fr;margin:0 5%}.hero-copy{padding:45px 0}.hero-art{min-height:460px;border-radius:130px 130px 3px 3px}h1{font-size:clamp(53px,11vw,78px);letter-spacing:-2px}.hero-copy p{max-width:420px}.strip{justify-content:center;gap:4px 16px}.section{padding:50px 5%}.tile{height:205px;border-radius:60px 60px 2px 2px}.tile svg{width:125px;height:150px}.card h3{font-size:16px}.card p{font-size:12px}.partner{grid-template-columns:1fr}.partner-art{min-height:300px}.partner-copy{padding:35px 8%}.story{padding:50px 8%}.story h2{font-size:42px}h2{font-size:39px}nav{gap:18px;font-size:12px}footer .brand{font-size:18px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.tile,.btn{transition:none}}
.product-hero{background:#eee5d9}.hero-product{width:100%;height:490px;object-fit:contain;mix-blend-mode:multiply;margin:35px 0 30px}.tonic-photo{background:#eee5d9}.tonic-photo img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}.product-detail-image{width:100%;height:230px;object-fit:contain;mix-blend-mode:multiply}@media(max-width:760px){.hero-product{height:390px}}
.featured-products{border-top:1px solid var(--line);padding-top:65px}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.product-card{padding:0;text-align:left;border:0;background:transparent;color:var(--ink)}.product-picture{display:block;background:#eee8dd;height:330px;overflow:hidden}.product-picture img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply;transition:transform .2s}.product-card:hover img{transform:scale(1.035)}.product-name{display:flex;justify-content:space-between;font-size:20px;margin:20px 0 8px}.product-size{display:block;font-size:12px;color:var(--muted)}.product-link{display:inline-block;margin-top:17px;border-bottom:1px solid;padding-bottom:5px;font-size:12px}.dialog-products{display:grid;grid-template-columns:1fr 1fr;gap:15px}.dialog-products img{width:100%;height:165px;object-fit:contain;mix-blend-mode:multiply}.dialog-products h3{font-size:16px}@media(max-width:760px){.product-grid{grid-template-columns:1fr}.product-picture{height:340px}.product-card{margin-bottom:16px}}@media(prefers-reduced-motion:reduce){.product-picture img{transition:none}}
.grid{grid-template-columns:repeat(3,minmax(0,1fr))}.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.product-picture{height:310px}.product-card[data-product="3"] .product-picture img{padding:22px}.product-name{font-size:18px}.dialog{max-height:90vh;overflow:auto}.dialog-products .product-detail-image{height:180px}@media(max-width:900px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:550px){.grid{grid-template-columns:1fr}.tile{height:240px}.product-grid{grid-template-columns:1fr}.product-picture{height:340px}}

/* Keep primary navigation labels on a shared baseline. */
header{display:grid;grid-template-columns:1fr auto 1fr;align-items:center}
header>.brand{justify-self:start}header>.pill{justify-self:end;white-space:nowrap}
header>nav[aria-label="Main navigation"]{display:flex;align-items:center;justify-content:center;gap:28px;margin:0;padding:0}
header>nav[aria-label="Main navigation"]>a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 0;line-height:24px;white-space:nowrap}
@media(max-width:1050px){header{grid-template-columns:1fr auto}header>nav[aria-label="Main navigation"]{grid-column:1/-1;grid-row:2;width:100%;gap:24px}header>.pill{grid-column:2;grid-row:1}}
@media(max-width:400px){header>nav[aria-label="Main navigation"]{gap:16px;font-size:11px}}

/* WordPress and WooCommerce integration */
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.screen-reader-text:focus{position:fixed;top:10px;left:10px;width:auto;height:auto;clip-path:none;background:white;padding:15px;z-index:99999}.site-content{min-height:50vh}.content-wrap{max-width:1280px;margin:auto;padding:45px 5%}.content-wrap h1{font-size:clamp(36px,5vw,64px);letter-spacing:-2px}.content-wrap img{max-width:100%;height:auto}.content-wrap p{max-width:none}.content-wrap a:not(.button){text-decoration:underline;text-underline-offset:3px}.site-header{position:relative}.site-header .cart-link{font-size:12px;padding:8px}.wp-block-image img{max-width:100%;height:auto}.alignwide{max-width:1280px;margin-inline:auto}
.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:30px 22px}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{float:none!important;width:auto!important;margin:0!important;min-width:0}.woocommerce ul.products li.product a img{height:260px;object-fit:contain;background:#eee8dd;padding:12px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font:400 17px/1.45 Arial,sans-serif;letter-spacing:0;padding:15px 0 8px}.woocommerce ul.products li.product .price,.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--rust)}.woocommerce span.onsale{background:var(--rust);font-size:11px;line-height:1.4;min-height:0;min-width:0;padding:7px 11px;border-radius:20px}.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt{background:var(--ink);color:white;border-radius:2px;font-weight:400;padding:14px 18px}.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover{background:var(--rust);color:white}.woocommerce input.input-text,.woocommerce textarea,.woocommerce select{padding:12px;border:1px solid var(--line);background:#fff;max-width:100%}.woocommerce .quantity .qty{padding:12px;width:5em}.woocommerce div.product .woocommerce-tabs ul.tabs li{background:var(--ivory)}.woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:#fff}.woocommerce div.product .product_title{font-size:clamp(32px,4vw,54px);letter-spacing:-1px}.woocommerce div.product div.images img{max-height:650px;object-fit:contain}.woocommerce .woocommerce-result-count{font-size:13px}.woocommerce .woocommerce-ordering select{width:auto}.woocommerce-message,.woocommerce-info{border-top-color:var(--ink)}.site-footer{flex-wrap:wrap}.footer-links{display:flex;gap:20px;flex-wrap:wrap}.woocommerce nav.woocommerce-pagination{display:block}.woocommerce nav.woocommerce-pagination ul{display:inline-block}.collection-nav{scroll-margin-top:20px}.wc-block-components-button{border-radius:2px}.woocommerce .star-rating{color:#a85c15}.brand img.custom-logo{width:56px;height:56px;object-fit:contain}.brand-logo-link{display:flex;align-items:center}.woocommerce div.product .related{clear:both;padding-top:35px}.woocommerce-error a,.woocommerce-message a{color:inherit}
@media(max-width:900px){.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:450px){.woocommerce ul.products{grid-template-columns:1fr}.site-header .cart-link{font-size:11px}}

.tile>img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}.partner-art>img{width:100%;height:380px;object-fit:contain;position:relative;z-index:1}.hero-copy h1,.story h2,.partner-copy h2{overflow-wrap:anywhere}
