/* Curl & Crop | Signature storefront V3
   UX refinement for a one-featured-product storefront.
   Preserves all existing IDs, form controls, admin hooks and JavaScript behaviour. */
:root{
  --bg:#fbf5f2;
  --surface:#fffdfb;
  --panel:#f4e8e6;
  --ink:#39262e;
  --muted:#806d73;
  --gold:#a76376;
  --gold-soft:#f2e0e3;
  --line:#ead8da;
  --wa:#157a68;
  --wa-2:#0d6253;
  --shadow:0 22px 64px rgba(70,39,50,.10);
  --max:1180px;
  --r:26px;
}

html{scroll-padding-top:112px;background:var(--bg)}
body{background:var(--bg);color:var(--ink);line-height:1.68}
.wrap{width:min(var(--max),calc(100% - 52px))}
h1,h2,h3{letter-spacing:-.04em}
h1{font-size:clamp(3.15rem,6.8vw,6rem);line-height:.96;max-width:9.7ch}
h2{font-size:clamp(2.15rem,4.4vw,3.65rem);line-height:1.02;max-width:17ch}
h1 em,h2 em{font-family:var(--serif);font-weight:400;color:#a65e72}
.eyebrow{color:#a05d70;letter-spacing:.19em;font-size:.68rem}
.lede{font-size:1.04rem;line-height:1.85;max-width:47ch}

/* Navigation and brand signature */
.announcement{min-height:35px;background:#4d303d;color:#fff8f6;letter-spacing:.095em;font-size:.67rem}
.announcement a{color:#f2cbd1}
.site-head{background:rgba(251,245,242,.94);border-bottom:1px solid rgba(234,216,218,.9)}
.site-head__in{min-height:82px}
.logo{font-size:1.68rem;color:#4d303d;letter-spacing:-.055em}
.nav a{font-size:.83rem;color:#745e67;padding:9px 12px}
.nav a:hover,.nav a:focus-visible{background:#f1e2e3;color:#573846}
.head__cta .btn{min-height:43px}
.mnav{background:#fffaf8}

/* Clearer hero: emotional headline, one primary route to the featured wig. */
.hero{padding:clamp(56px,7vw,108px) 0 clamp(64px,8vw,112px);border-radius:0 0 48px 48px;background:linear-gradient(120deg,#fffaf7 0%,#f8edeb 53%,#ecd9dc 100%)}
.hero__grid{grid-template-columns:minmax(0,1.02fr) minmax(360px,.98fr);gap:clamp(48px,7vw,104px)}
.hero__grid>div:first-child{max-width:590px}
.hero h1{max-width:9.5ch;color:#482e39}
.hero .lede{max-width:44ch;color:#79646c;font-size:1.06rem}
.hero__actions{align-items:center;margin-top:30px;gap:12px}
.hero__actions .btn{min-width:190px}
.hero__actions .btn:first-child{background:#633d4b;box-shadow:0 12px 28px rgba(99,61,75,.19)}
.hero__actions .btn:first-child:hover{background:#805464}
.hero__actions .btn:last-child{border-color:#d9bec4;color:#633d4b;background:rgba(255,253,251,.52)}
.hero__trust{grid-template-columns:1fr 1fr;gap:10px 16px;margin-top:29px;font-size:.78rem}
.hero__trust li{align-items:flex-start}
.hero__media{max-width:590px;aspect-ratio:4/4.85;border-radius:48% 48% 26px 26px;border:9px solid rgba(255,253,251,.78);box-shadow:0 30px 78px rgba(72,43,56,.19)}
.hero__media img{object-position:50% 16%}
.hero__badge{left:20px;bottom:20px;padding:12px 17px;font-size:.72rem}
.trust-strip{padding:20px 0;background:#fffdfb}
.trust-strip__grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.trust-strip__item{justify-content:center;font-size:.78rem;color:#715c65}
.trust-strip__item svg{color:#a26073}

/* Quietly editorial brand story, with legible cards rather than decoration overload. */
.brand-manifesto{padding:clamp(66px,8vw,112px) 0;background:#f4e8e6}
.brand-manifesto__inner{gap:42px}
.brand-manifesto__intro h2{max-width:15ch}
.brand-manifesto__intro p:last-child{max-width:54ch;font-size:.96rem;line-height:1.9;color:#79666d}
.brand-manifesto__points{gap:12px}
.brand-manifesto__point{padding:21px 19px;border-radius:18px;border:1px solid #e8d2d5;background:rgba(255,253,251,.82)}
.brand-manifesto__point span{font-size:.64rem;color:#a26375}
.brand-manifesto__point h3{font-size:.9rem;color:#513744}
.brand-manifesto__point p{font-size:.8rem;line-height:1.7;color:#806d73}

/* Shop section: when one product is published, hide redundant search/filter and duplicate card.
   Product detail remains the primary shopping surface. With multiple products, catalogue returns. */
#shop{padding-top:clamp(62px,7vw,92px);background:#fbf5f2}
#shop .section__head{margin-bottom:27px}
#shop .section__head h2{max-width:16ch}
#shop .section__head .lede{max-width:55ch}
#shop:has(#productCatalog > .product-card:only-child) .catalog-tools,
#shop:has(#productCatalog > .product-card:only-child) #productCatalog{display:none!important}
#shop:has(#productCatalog > .product-card:only-child) .cart-toolbar{margin:5px 0 26px;padding-bottom:16px;border-bottom:1px solid #ead8da}
.cart-toolbar{color:#694c59;font-size:.86rem}
.cart-toolbar>span{font-weight:600;letter-spacing:.01em}
.catalog-tools{margin:24px 0 26px}
.catalog-tools input,.catalog-tools select{min-height:50px;border-radius:14px;border-color:#e5cfd3;background:#fffdfb;box-shadow:0 5px 16px rgba(75,45,57,.035)}
.product-grid{gap:20px;margin-bottom:45px}
.product-card{border-radius:21px;border-color:#ead8da;background:#fffdfb;box-shadow:0 7px 22px rgba(75,45,57,.045)}
.product-card__image{background:#f1e4e3}
.product-card__badge{padding:7px 11px;background:rgba(255,253,251,.96);color:#754a59}
.product-card__body{padding:17px}
.product-card__body h3{font-size:1.14rem;color:#4d303d}
.product-card__category{color:#a25e72}
.product-card__price{color:#76485a}
.product-card__stock{color:#86747a}
.product-card__body .btn{min-height:43px;border-radius:999px}

/* Product detail becomes a deliberate product story and purchase panel. */
#productDetail{margin-top:34px;padding-top:clamp(22px,3vw,38px);border-top:1px solid #ead8da;scroll-margin-top:112px}
#shop:has(#productCatalog > .product-card:only-child) #productDetail{margin-top:0;padding-top:0;border-top:0}
.shop{grid-template-columns:minmax(0,1.08fr) minmax(340px,.92fr);gap:clamp(30px,4.5vw,62px)}
.gal{gap:13px}
.gal__item{aspect-ratio:1;border:1px solid #ead6d9;border-radius:20px;background-color:#f0e4e2;box-shadow:0 7px 20px rgba(75,45,57,.035)}
.gal__item span{left:12px;bottom:12px;padding:7px 12px;font-size:.7rem;background:rgba(58,35,46,.82)}
.shop__panel{position:sticky;top:116px;padding:clamp(25px,3.2vw,38px);border-radius:27px;border:1px solid #e9d5d8;background:#fffdfb;box-shadow:0 20px 52px rgba(75,45,57,.075)}
.shop__title{align-items:center;gap:12px}
.shop__title h3{font-size:1.65rem;color:#4a2e3a}
.badge{background:#f3e2e4;color:#965c6d}
.price{font-size:2.65rem;color:#744657;margin:17px 0 8px}
.shop__desc{color:#79666e;line-height:1.82;font-size:.94rem}
.opt{margin-top:25px}
.opt legend{margin-bottom:10px;font-size:.84rem;color:#614654}
.seg{gap:9px}
.seg span{min-width:92px;padding:12px 18px;border:1px solid #e5d0d4;border-radius:13px;text-align:center;background:#fffaf8;color:#6c4b58;font-size:.86rem}
.seg input:checked+span{border-color:#633d4b;background:#633d4b;color:#fff9f7;box-shadow:0 7px 17px rgba(99,61,75,.16)}
.qty{margin-top:8px;border-color:#e5d0d4;border-radius:14px}
.qty button{width:46px;height:46px;background:#fff9f7;color:#684653}
.qty input{width:55px;color:#4c313c}
.buy-row{gap:10px;margin-top:24px}
#addToCart{min-height:53px;background:#633d4b;color:#fffaf8;box-shadow:0 10px 23px rgba(99,61,75,.19)}
#addToCart:hover{background:#805464}
#buyWa{min-height:48px;background:#157a68;color:white;box-shadow:none}
#askWa{min-height:46px;border-color:#dfc7cb;color:#63424f;background:#fffaf8;box-shadow:none}
.summary{padding:10px 12px;border-radius:12px;background:#f8eeec;color:#79636c;line-height:1.65}
.specs{margin-top:22px;border-color:#eddddf}
.specs div{padding:12px 0;border-color:#eddddf;font-size:.84rem}
.specs dt{color:#8b747c}
.specs dd{color:#583c47}

/* Reading and reassurance sections */
.section{padding:clamp(66px,8vw,108px) 0}
.section__head{margin-bottom:34px}
#how{background:#f4e8e6}
.steps{gap:16px}
.step{min-height:210px;padding:27px 25px;border-radius:21px;border-color:#e9d6d8;background:#fffdfb;box-shadow:0 10px 28px rgba(75,45,57,.04)}
.step__num{width:44px;height:44px;background:#a76477;border:4px solid #f3e2e4}
.step h3{color:#533642}
.step p{color:#79666e;line-height:1.78}
#learn{background:#fbf5f2}
.art,.assistant,.promise,.review{border-color:#ead8da;border-radius:21px;background:#fffdfb;box-shadow:0 8px 26px rgba(75,45,57,.035)}
.art{padding:24px}
.art__tag{color:#a45e70}
.art__open{color:#573a46}
.art p,.assistant .micro,.promise p{color:#806d73;line-height:1.75}
.assistant{padding:25px}
.msg--bot{background:#f7eae9;color:#624854}
.msg--user{background:#694352;color:#fff9f6}
.linkbtn{color:#9b5b6c}
.chip{border-color:#e4cdd2;background:#fffaf8;color:#795c67}
.chip[aria-pressed=true]{border-color:#694352;background:#694352;color:#fff}
.promise{padding:25px}
.promise svg{color:#a45e70}
.faq-list{max-width:800px}
#contact .contact{gap:34px}
.field input,.field select,.field textarea{min-height:48px;border-color:#e5d1d5;border-radius:13px;background:#fffdfb}
.field textarea{min-height:110px}
.foot{background:#4b303b;color:#fff7f4;margin-top:0;padding:58px 0 28px}
.foot .logo,.foot h4{color:#fff7f4}
.foot .amp{color:#e3aeb7}
.foot .micro,.foot__legal{color:#d9c5ca}
.foot a{color:#e9d9dc}
.foot__legal{border-color:rgba(255,255,255,.18)}

/* Cart and checkout maintain the new store palette and readable controls. */
.dlg{border:1px solid #ead8da;border-radius:24px;background:#fffdfb;color:#39262e;box-shadow:0 22px 70px rgba(38,22,29,.22)}
.dlg::backdrop{background:rgba(40,24,31,.56);backdrop-filter:blur(4px)}
.dlg__bar{border-color:#ead8da;background:rgba(255,253,251,.98);color:#563845}
.dlg__body{overscroll-behavior:contain}
#cartDialog .cart-total--grand{background:#f9efee;border-radius:13px;padding:15px 14px;border-top:0}
#cartDialog .cart-total--grand strong{color:#754657}
#checkoutDeliveryInfo{border:1px solid #ebd7da;border-radius:13px;background:#f8edec;padding:12px 14px;color:#70515d}
#cartDeliveryNote{color:#89757d}
.acard{border-color:#ead8da;border-radius:15px;background:#fffaf8}
.admin__head,.tabs{border-color:#ead8da}
.tab{color:#806d73}
.tab[aria-selected=true]{background:#694352;color:#fff9f6}
.aform input,.aform textarea,.aform select,.admin__gate input{border-color:#e5d1d5;border-radius:11px;background:#fffdfb;color:#39262e}
.aform label,.admin__gate label{color:#634b55}
.previewbar{background:#f2e0e3;color:#563845}
.previewbar button{background:#694352;color:#fff9f6}
.toast{background:#563845;color:#fff9f6}
.toast.err{background:#9b3941;color:#fff}
.sticky{z-index:45;border-color:#ead8da;background:rgba(255,253,251,.97);backdrop-filter:blur(14px)}
.sticky .btn{background:#633d4b;color:#fff9f6;box-shadow:0 7px 19px rgba(99,61,75,.16)}

@media(max-width:920px){
  .hero__grid{grid-template-columns:1fr 1fr;gap:35px}
  .shop{grid-template-columns:1fr 1fr}
  .shop__panel{top:105px}
  .trust-strip__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .brand-manifesto__points{grid-template-columns:1fr;gap:10px}
  .brand-manifesto__point{display:grid;grid-template-columns:34px 1fr;column-gap:10px;align-items:start;padding:16px}
  .brand-manifesto__point span{grid-row:span 2;margin:2px 0 0}
  .brand-manifesto__point h3{margin-bottom:4px}
  .hero__grid,.shop{grid-template-columns:1fr}
  .hero__grid{gap:32px}
  .hero__grid>div:first-child{max-width:620px}
  .hero__media{justify-self:center;width:min(100%,500px);max-width:500px;aspect-ratio:4/4.6}
  .shop__panel{position:static}
}
@media(max-width:640px){
  .wrap{width:min(var(--max),calc(100% - 32px))}
  html{scroll-padding-top:88px}
  .announcement{min-height:32px;font-size:.6rem;letter-spacing:.035em}
  .site-head__in{min-height:66px;padding:9px 0}
  .logo{font-size:1.36rem}
  .head__cta>.btn{min-height:38px;padding:9px 12px;font-size:.72rem}
  .hero{padding:42px 0 48px;border-radius:0 0 29px 29px}
  .hero h1{font-size:clamp(2.85rem,13vw,4.25rem);max-width:10ch}
  .hero .lede{font-size:.97rem;line-height:1.78}
  .hero__grid{gap:27px}
  .hero__actions{display:grid;grid-template-columns:1fr;max-width:390px;margin-top:23px}
  .hero__actions .btn{width:100%;min-width:0}
  .hero__trust{grid-template-columns:1fr 1fr;gap:9px 12px;margin-top:21px;font-size:.72rem}
  .hero__media{width:min(100%,420px);border-width:6px;aspect-ratio:4/4.55}
  .hero__badge{left:11px;bottom:11px;padding:9px 12px;font-size:.65rem}
  .trust-strip{padding:15px 0}
  .trust-strip__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 8px}
  .trust-strip__item{justify-content:flex-start;font-size:.7rem}
  .section{padding:57px 0}
  .section__head{margin-bottom:25px}
  .section__head h2{font-size:clamp(2rem,9vw,2.65rem)}
  .brand-manifesto{padding:57px 0}
  .brand-manifesto__intro h2{font-size:2.25rem}
  .cart-toolbar{align-items:center;gap:10px}
  .cart-toolbar>span{max-width:17ch;font-size:.8rem}
  #shop:has(#productCatalog > .product-card:only-child) .cart-toolbar{padding-bottom:13px;margin-bottom:19px}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .product-card{border-radius:15px}
  .product-card__body{padding:10px}
  .product-card__body h3{font-size:.96rem}
  .product-card__price{font-size:.9rem}
  .product-card__stock{font-size:.67rem}
  .product-card__body .btn{min-height:38px;font-size:.68rem;padding:8px 6px}
  #productDetail{margin-top:20px;padding-top:20px}
  .gal{gap:9px}
  .gal__item{border-radius:14px}
  .shop__panel{padding:20px;border-radius:19px}
  .shop__title{flex-wrap:wrap}
  .shop__title h3{font-size:1.38rem}
  .price{font-size:2.3rem}
  .seg span{min-width:82px;padding:10px 14px}
  .buy-row{gap:8px;margin-top:20px}
  .steps{gap:11px}
  .step{min-height:0;padding:20px}
  .foot{padding:43px 0 25px}
  #cartDialog{width:100%;max-width:none;max-height:100dvh;height:100dvh;margin:0;border-radius:0;border:0}
  #cartDialog .dlg__bar{border-radius:0}
  #cartDialog .dlg__body{max-height:calc(100dvh - 66px);padding:16px}
  #orderSuccessDialog{width:100%;max-width:none;max-height:100dvh;height:100dvh;margin:0;border-radius:0;border:0}
  #orderSuccessDialog .dlg__bar{border-radius:0}
  #orderSuccessDialog .dlg__body{max-height:calc(100dvh - 66px);padding:16px}
  .dlg__body{padding:17px}
  .order-controls{grid-template-columns:1fr}
  .form__actions .btn{width:100%}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
