/*
Theme Name: Yelow
Theme URI: https://yelow.co.uk
Author: Yelow
Description: A soft, modern WooCommerce theme for Yelow beauty and personal care.
Version: 1.3.0
Text Domain: yelow
*/

:root{--yelow:#f4ce3d;--yelow-soft:#fff7d9;--ink:#22231f;--muted:#6e7068;--cream:#fffdf7;--sage:#73806d;--line:#e9e5d8;--radius:22px;--shadow:0 16px 45px rgba(48,44,24,.09)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:"Aptos","Avenir Next","Segoe UI",sans-serif;font-size:16px;line-height:1.6}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.wrap{width:min(1180px,calc(100% - 40px));margin:auto}
.site-header{position:sticky;top:0;z-index:50;padding:14px 0;background:rgba(255,253,247,.88);backdrop-filter:blur(18px);border-bottom:1px solid rgba(233,229,216,.75)}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:28px}.brand{font-size:30px;font-weight:800;letter-spacing:-2px}.brand-dot{color:var(--yelow)}.main-nav{display:flex;gap:26px;font-size:14px;font-weight:600}.header-actions{display:flex;gap:10px}.icon-link{display:grid;place-items:center;min-width:44px;height:44px;padding:0 14px;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:13px;font-weight:700}
.hero{padding:30px 0 78px}.hero-card{min-height:620px;display:flex;align-items:center;border-radius:34px;background:#f6d45b url('assets/yelow-hero.webp') center/cover no-repeat;overflow:hidden;box-shadow:var(--shadow)}.hero-copy{width:54%;padding:72px}.eyebrow{display:inline-block;margin-bottom:20px;padding:9px 14px;border-radius:999px;background:rgba(255,255,255,.72);font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.hero h1{max-width:650px;margin:0 0 22px;font-size:clamp(48px,6vw,82px);line-height:.98;letter-spacing:-.065em}.hero p{max-width:510px;margin:0 0 32px;color:#4e4d42;font-size:18px}.button,.wp-element-button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 24px;border:0!important;border-radius:999px!important;background:var(--ink)!important;color:#fff!important;font-weight:750!important}.button.light{margin-left:8px;background:rgba(255,255,255,.82)!important;color:var(--ink)!important}
.section{padding:76px 0}.section.soft{background:var(--yelow-soft)}.section-head{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:34px}.section h2{margin:0;font-size:clamp(34px,4vw,54px);line-height:1.05;letter-spacing:-.045em}.section-lead{max-width:550px;color:var(--muted)}
.benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:-36px;position:relative}.benefit{padding:25px;border:1px solid var(--line);border-radius:var(--radius);background:#fff;box-shadow:0 10px 30px rgba(30,30,20,.05)}.benefit strong{display:block;margin-bottom:5px;font-size:17px}.benefit span{color:var(--muted);font-size:14px}
.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.category-card{min-height:310px;display:flex;flex-direction:column;justify-content:flex-end;padding:26px;border-radius:var(--radius);background:linear-gradient(145deg,#fff5ca,#ead783);overflow:hidden;transition:.25s}.category-card:nth-child(2){background:linear-gradient(145deg,#f1eee7,#c8d1bf)}.category-card:nth-child(3){background:linear-gradient(145deg,#f8e7dc,#dfbfae)}.category-card:nth-child(4){background:linear-gradient(145deg,#eee9f3,#cfc4d9)}.category-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}.category-icon{font-size:76px;line-height:1;filter:grayscale(.1)}.category-card h3{margin:auto 0 4px;font-size:25px;letter-spacing:-.03em}.category-card span{font-size:14px;color:#55574f}
.story-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:22px}.story-card{min-height:410px;padding:44px;border-radius:30px;background:#252620;color:#fff}.story-card.alt{background:var(--yelow);color:var(--ink)}.story-card p{max-width:500px;color:inherit;opacity:.78}.story-number{font-size:90px;font-weight:800;line-height:1;letter-spacing:-.08em;opacity:.18}
.newsletter{padding:55px;border-radius:30px;background:var(--ink);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:30px}.newsletter h2{font-size:40px}.newsletter p{margin:8px 0 0;color:#c7c8c0}.newsletter-form{display:flex;gap:9px;min-width:min(440px,100%)}.newsletter input{width:100%;min-height:54px;padding:0 20px;border:0;border-radius:999px;font:inherit}.newsletter button{white-space:nowrap;background:var(--yelow)!important;color:var(--ink)!important}
.site-main{min-height:55vh}.content-page{padding:70px 0 100px}.content-page article{max-width:820px}.content-page h1,.woocommerce-products-header__title{font-size:clamp(42px,6vw,70px);letter-spacing:-.055em;line-height:1;margin:0 0 30px}.content-page h2{margin-top:40px;font-size:30px;letter-spacing:-.03em}.content-page p,.content-page li{color:#55574f}.woocommerce{padding:60px 0 100px}.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,1fr);gap:20px}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none}.woocommerce ul.products li.product{width:auto!important;margin:0!important;padding:12px 12px 22px;border:1px solid var(--line);border-radius:var(--radius);background:#fff}.woocommerce ul.products li.product img{border-radius:15px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:18px!important;padding:12px 5px 4px}.woocommerce ul.products li.product .price{padding:0 5px;color:var(--ink)!important;font-weight:800}.woocommerce-message,.woocommerce-info{border-top-color:var(--yelow)!important;border-radius:14px;background:var(--yelow-soft)}
.catalog-badge{display:inline-flex;margin:8px 5px 0;padding:8px 13px;border-radius:999px;background:var(--yelow-soft);color:var(--ink);font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.woocommerce div.product .stock.out-of-stock{display:inline-flex;padding:9px 14px;border-radius:999px;background:var(--yelow-soft);color:var(--ink)!important;font-weight:800}.woocommerce div.product div.images img{border-radius:var(--radius)}
.site-footer{padding:70px 0 30px;background:#20211d;color:#fff}.footer-grid{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:45px}.footer-brand p{max-width:350px;color:#b6b8b0}.footer-col h4{margin:5px 0 16px}.footer-col a{display:block;margin:9px 0;color:#c8cac1;font-size:14px}.footer-bottom{display:flex;justify-content:space-between;margin-top:55px;padding-top:22px;border-top:1px solid #3b3c36;color:#969890;font-size:13px}
.yelow-cookie{position:fixed;z-index:100;left:20px;right:20px;bottom:20px;max-width:760px;margin:auto;padding:18px 20px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow);display:flex;align-items:center;gap:18px}.yelow-cookie p{margin:0;font-size:14px;color:#55574f}.yelow-cookie button{margin-left:auto;min-height:42px;padding:0 18px}.not-found{max-width:720px;text-align:center;margin:auto}.not-found .error-code{font-size:120px;font-weight:850;line-height:1;color:var(--yelow);letter-spacing:-.08em}
@media(max-width:900px){.main-nav{display:none}.hero-card{min-height:560px;background-position:62% center}.hero-copy{width:70%;padding:45px}.benefits,.category-grid{grid-template-columns:repeat(2,1fr)}.story-grid,.footer-grid{grid-template-columns:1fr 1fr}.newsletter{align-items:flex-start;flex-direction:column}.woocommerce ul.products{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.wrap{width:min(100% - 24px,1180px)}.header-actions .icon-link:first-child{display:none}.hero{padding-top:12px}.hero-card{min-height:650px;align-items:flex-start;background-position:68% bottom}.hero-copy{width:100%;padding:38px 26px;background:linear-gradient(180deg,rgba(246,212,91,.96) 0%,rgba(246,212,91,.76) 68%,transparent)}.hero h1{font-size:48px}.button.light{margin:8px 0 0}.benefits,.category-grid,.story-grid,.footer-grid{grid-template-columns:1fr}.section{padding:55px 0}.newsletter{padding:34px 24px}.newsletter-form{min-width:0;flex-direction:column}.footer-bottom{gap:12px;flex-direction:column}.woocommerce ul.products{grid-template-columns:1fr}.yelow-cookie{align-items:flex-start;flex-direction:column}.yelow-cookie button{margin:0}}

/* New catalogue-led homepage */
.hero-new{padding-bottom:82px}.hero-catalogue{position:relative;min-height:680px;background:linear-gradient(125deg,#f7d54f 0%,#f6d55c 48%,#efc941 100%)}.hero-catalogue:before{content:"";position:absolute;width:580px;height:580px;right:-120px;top:-180px;border-radius:50%;border:1px solid rgba(255,255,255,.48);box-shadow:0 0 0 85px rgba(255,255,255,.08),0 0 0 170px rgba(255,255,255,.06)}.hero-catalogue .hero-copy{position:relative;z-index:3;width:55%}.hero-catalogue h1 em,.closing-card h2 em{font-family:Georgia,"Times New Roman",serif;font-weight:400;letter-spacing:-.045em}.hero-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.hero-actions .button.light{margin:0}.hero-note{display:flex;align-items:center;gap:9px;margin-top:28px;font-size:13px;font-weight:650;color:#585447}.hero-note span{width:8px;height:8px;border-radius:50%;background:#22231f}.hero-products{position:absolute;z-index:2;inset:0 0 0 53%;overflow:hidden}.hero-product{position:absolute;display:block;filter:drop-shadow(0 28px 28px rgba(74,57,8,.18));transition:.3s}.hero-product:hover{transform:translateY(-8px) rotate(1deg)}.hero-product img{display:block;width:100%;height:100%;object-fit:contain;border-radius:32px}.hero-product-1{width:48%;height:53%;right:6%;top:5%;transform:rotate(4deg)}.hero-product-2{width:43%;height:47%;left:0;bottom:3%;transform:rotate(-7deg)}.hero-product-3{width:39%;height:43%;right:3%;bottom:0;transform:rotate(7deg)}.benefit-kicker{float:left;margin-right:16px;color:#b09124!important;font-size:12px!important;font-weight:850}.routine-section{padding-top:92px}.routine-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.routine-card{min-height:430px;display:flex;flex-direction:column;align-items:flex-start;padding:34px;border-radius:30px;overflow:hidden;transition:.25s;background:#eef2e9}.routine-card:hover{transform:translateY(-6px);box-shadow:var(--shadow)}.routine-card>span{font-size:12px;font-weight:850;letter-spacing:.1em;text-transform:uppercase}.routine-card h3{margin:auto 0 12px;font-size:34px;line-height:1.05;letter-spacing:-.045em}.routine-card p{margin:0 0 25px;color:#5f655b}.routine-card strong{font-size:14px}.routine-makeup{background:linear-gradient(150deg,#f8ece8,#e7c9c4)}.routine-body{background:linear-gradient(150deg,#fff4c9,#efd175)}.product-edit{padding:100px 0}.product-edit-makeup{background:#f4eee9}.product-edit-skin{background:#edf1e9}.collection-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:40px;margin-bottom:42px}.collection-heading>p{max-width:430px;color:var(--muted)}.text-link{display:inline-flex;gap:8px;align-items:center;font-size:13px;font-weight:800}.text-link.large{font-size:15px;padding-bottom:8px;border-bottom:1px solid currentColor}.home-product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.home-product-card{overflow:hidden;border-radius:26px;background:#fff;box-shadow:0 8px 30px rgba(35,35,25,.045)}.home-product-image{position:relative;display:block;aspect-ratio:1/1;overflow:hidden;background:#fff}.home-product-image img{width:100%;height:100%;object-fit:cover;transition:.4s}.home-product-card:hover .home-product-image img{transform:scale(1.025)}.preview-pill{position:absolute;top:14px;left:14px;padding:7px 11px;border-radius:999px;background:rgba(255,255,255,.88);backdrop-filter:blur(10px);font-size:10px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.home-product-copy{padding:21px 22px 24px}.product-brand{display:block;margin-bottom:7px;color:#8a7d59;font-size:10px;font-weight:850;letter-spacing:.12em;text-transform:uppercase}.home-product-copy h3{min-height:48px;margin:0 0 9px;font-size:18px;line-height:1.28;letter-spacing:-.02em}.home-product-copy p{min-height:66px;margin:0 0 16px;color:var(--muted);font-size:13px;line-height:1.55}.body-feature{padding:100px 0;background:#20211d;color:#fff}.body-feature-inner{display:grid;grid-template-columns:.8fr 1.2fr;align-items:center;gap:65px}.body-feature-copy p{max-width:460px;margin:22px 0 30px;color:#c4c6be}.body-feature-copy .eyebrow{color:#222;background:var(--yelow)}.body-product-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.body-product-grid .home-product-card{color:var(--ink)}.closing-edit{background:#fffdf7}.closing-card{position:relative;overflow:hidden;padding:70px;border-radius:34px;background:var(--yelow);text-align:center}.closing-card:after{content:"yelow.";position:absolute;right:-20px;bottom:-85px;color:rgba(255,255,255,.26);font-size:190px;font-weight:900;letter-spacing:-.1em;line-height:1}.closing-card>*{position:relative;z-index:1}.closing-card p{max-width:650px;margin:24px auto 30px;color:#514d40}.light-link{margin-left:24px;font-size:15px}
@media(max-width:900px){.hero-catalogue .hero-copy{width:60%;padding:48px}.hero-products{inset:0 0 0 54%}.routine-grid{grid-template-columns:1fr 1fr}.routine-card:last-child{grid-column:1/-1;min-height:300px}.home-product-grid{grid-template-columns:repeat(2,1fr)}.body-feature-inner{grid-template-columns:1fr}.body-product-grid{max-width:720px}.closing-card{padding:55px 35px}}
@media(max-width:600px){.hero-new{padding-bottom:58px}.hero-catalogue{min-height:760px;display:block;background:linear-gradient(155deg,#f8db66,#efc63c)}.hero-catalogue .hero-copy{width:100%;padding:38px 25px;background:none}.hero-catalogue h1{font-size:50px}.hero-products{inset:390px 0 0 0}.hero-product-1{width:48%;height:52%;right:4%;top:0}.hero-product-2{width:45%;height:48%;left:1%;bottom:1%}.hero-product-3{width:39%;height:43%;right:3%;bottom:0}.hero-actions{align-items:stretch;flex-direction:column}.hero-actions .button{width:100%}.benefits,.routine-grid,.home-product-grid,.body-product-grid{grid-template-columns:1fr}.routine-card:last-child{grid-column:auto}.routine-card{min-height:330px}.collection-heading{align-items:flex-start;flex-direction:column}.home-product-copy h3,.home-product-copy p{min-height:0}.body-feature{padding:70px 0}.closing-card{padding:46px 24px}.closing-card:after{font-size:110px;bottom:-45px}.light-link{display:flex;justify-content:center;margin:22px 0 0}}

@media(max-width:600px){
html,body{max-width:100%;overflow-x:hidden}.site-header{padding:10px 0}.header-inner{gap:10px}.brand{font-size:27px}.header-actions{gap:6px}.icon-link{min-width:42px;height:42px;padding:0 12px}.wrap{width:calc(100% - 24px);max-width:none}.hero{padding-top:12px}.hero-new{padding-bottom:54px}.hero-catalogue{min-height:700px;border-radius:26px}.hero-catalogue:before{width:390px;height:390px;right:-190px;top:-130px}.hero-catalogue .hero-copy{padding:30px 22px}.hero-catalogue .eyebrow{margin-bottom:14px}.hero-catalogue h1{margin-bottom:16px;font-size:clamp(42px,12vw,52px);line-height:.95}.hero-catalogue .hero-copy>p{margin-bottom:22px;font-size:16px;line-height:1.5}.hero-actions{gap:8px}.hero-actions .button{min-height:48px;padding:0 18px}.hero-note{margin-top:18px;font-size:11px}.hero-products{inset:365px 0 0}.hero-product-1{width:47%;height:50%;right:3%;top:0}.hero-product-2{width:44%;height:47%;left:1%;bottom:2%}.hero-product-3{width:38%;height:40%;right:4%;bottom:0}.benefits{gap:10px;margin-top:-26px}.benefit{padding:18px 18px 18px 16px;border-radius:18px}.benefit strong{font-size:15px}.benefit span{font-size:12px}.benefit-kicker{margin-right:10px}.section{padding:58px 0}.section-head,.collection-heading{display:flex;align-items:flex-start;flex-direction:column;gap:18px;margin-bottom:28px}.section-head>div,.section-head>p,.collection-heading>div,.collection-heading>p{width:100%;max-width:none}.section h2{font-size:clamp(34px,10vw,44px);line-height:1.02}.section-lead,.collection-heading>p{margin:0;font-size:15px}.routine-section{padding-top:62px}.routine-grid{gap:12px}.routine-card{min-height:280px;padding:25px;border-radius:23px}.routine-card h3{font-size:30px}.product-edit{padding:66px 0}.home-product-grid{gap:14px}.home-product-card{border-radius:22px}.home-product-image{aspect-ratio:1/1}.home-product-copy{padding:18px 18px 21px}.home-product-copy h3{font-size:17px}.body-feature{padding:66px 0}.body-feature-inner{gap:30px}.body-feature-copy p{margin:17px 0 24px}.body-product-grid{gap:14px}.closing-edit{padding:56px 0}.closing-card{padding:42px 22px;border-radius:25px}.closing-card h2{font-size:39px}.closing-card p{font-size:14px}.site-footer{padding:52px 0 24px}.footer-grid{gap:26px}.footer-bottom{margin-top:35px}.yelow-cookie{left:12px;right:12px;bottom:12px;width:auto;padding:14px 15px;border-radius:16px;gap:12px;align-items:center;flex-direction:row}.yelow-cookie p{font-size:12px;line-height:1.45}.yelow-cookie button{flex:0 0 auto;margin:0;min-height:40px;padding:0 14px}
}
@media(max-width:380px){.hero-catalogue h1{font-size:40px}.hero-note{font-size:10px}.yelow-cookie{align-items:stretch;flex-direction:column}.yelow-cookie button{width:100%}}

@media(max-width:600px){
.hero-catalogue{display:block;min-height:0;height:auto}.hero-catalogue .hero-copy{position:relative;width:100%}.hero-products{position:relative;inset:auto;width:100%;height:300px;margin:0;overflow:hidden}.hero-product-1{width:46%;height:62%;right:4%;top:0}.hero-product-2{width:43%;height:58%;left:2%;bottom:0}.hero-product-3{width:38%;height:52%;right:5%;bottom:-1%}.benefits{z-index:4;margin-top:12px}.hero-product img{border-radius:18px}.yelow-cookie[hidden]{display:none!important}
}
@media(max-width:380px){.hero-products{height:270px}.hero-product-1{width:48%;height:60%}.hero-product-2{width:45%;height:56%}.hero-product-3{width:40%;height:50%}}


/* Accessible mobile navigation */
.menu-toggle{display:none;width:46px;height:46px;padding:0;border:1px solid var(--line);border-radius:999px;background:#fff;align-items:center;justify-content:center;flex-direction:column;gap:5px;cursor:pointer}
.menu-toggle span{display:block;width:19px;height:2px;border-radius:2px;background:var(--ink);transition:transform .22s ease,opacity .18s ease}
.menu-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.menu-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.mobile-menu[hidden]{display:none!important}
.mobile-menu{position:absolute;top:calc(100% + 12px);left:0;right:0;z-index:60;display:flex;flex-direction:column;padding:12px;border:1px solid var(--line);border-radius:22px;background:#fffdf7;box-shadow:0 22px 55px rgba(34,35,31,.16)}
.mobile-menu a{display:flex;align-items:center;min-height:52px;padding:0 16px;border-radius:14px;font-size:16px;font-weight:750}
.mobile-menu a:hover,.mobile-menu a:focus-visible{background:var(--yelow-soft);outline:none}
@media(max-width:900px){.header-inner{position:relative}.menu-toggle{display:flex}.main-nav{display:none}.mobile-menu{display:flex}}
@media(max-width:600px){.header-inner{gap:10px}.header-actions{margin-left:auto;gap:8px}.header-actions .account-link{display:none}.header-actions .bag-link{min-width:auto;padding:0 13px}.brand{font-size:28px}.mobile-menu{top:calc(100% + 10px)}}


/* Mobile menu layout correction */
@media (max-width:900px){
  .header-inner{position:relative;display:flex;align-items:center}
  .menu-toggle{display:flex!important;order:1;flex:0 0 46px}
  .header-inner>.brand{order:2}
  .header-inner>.main-nav{display:none!important}
  .header-actions{order:3;margin-left:auto}
  .header-inner>.mobile-menu{position:absolute!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;flex-wrap:nowrap!important;top:calc(100% + 12px)!important;left:0!important;right:0!important;width:100%!important;padding:12px!important;border:1px solid var(--line)!important;border-radius:22px!important;background:#fffdf7!important;box-shadow:0 22px 55px rgba(34,35,31,.16)!important;z-index:999!important}
  .header-inner>.mobile-menu[hidden]{display:none!important}
  .header-inner>.mobile-menu>a{display:flex!important;width:100%!important;min-height:52px!important;margin:0!important;padding:0 16px!important;align-items:center!important;border-radius:14px!important;font-size:16px!important;font-weight:750!important;white-space:normal!important}
}
@media (max-width:600px){
  .header-inner{gap:10px!important}
  .header-actions .account-link{display:none!important}
  .header-actions .bag-link{min-width:auto!important;padding:0 13px!important}
  .header-inner>.brand{font-size:28px}
}


/* Mobile hamburger position: right */
@media (max-width:900px){
  .header-inner>.brand{order:1!important}
  .header-actions{order:2!important;margin-left:auto!important}
  .menu-toggle{order:3!important}
}
