/*
Theme Name: Hvingelby Beauty
Version: 1.4.0
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: hvingelby-beauty
*/

:root{--ink:#2c2034;--paper:#faf7f2;--plum:#432b50;--line:#d7cadb;--lilac:#eee4f2;--pink:#f0dce4}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.55 system-ui,sans-serif}a{color:inherit}button,input,select,textarea{font:inherit;color:inherit}button,select{cursor:pointer}button,input,select,textarea{padding:.7rem .85rem;border:1px solid var(--line);background:#fff}button:disabled{cursor:default;opacity:.5}a:focus-visible,button:focus-visible{outline:3px solid #9561a4;outline-offset:4px}.notice{text-align:center;padding:.42rem;background:var(--plum);color:white;font-size:.875rem}.mast{max-width:1440px;margin:auto;padding:1.15rem 4%;display:flex;gap:1rem;align-items:center;justify-content:space-between}.brand{font:600 1.55rem Georgia,serif;letter-spacing:-.04em;text-decoration:none;white-space:nowrap}.brand span{font:600 .67rem system-ui;letter-spacing:.24em;margin-left:.35rem}.menu,.tools,.footlinks,.actions,.filters{display:flex;align-items:center;gap:.9rem;flex-wrap:wrap}nav a,.tools a{font-size:.9rem;text-decoration:none}nav a:hover,.tools a:hover{text-decoration:underline}.hero{display:grid;grid-template-columns:1fr 1.13fr;background:var(--lilac);min-height:500px}.hero-copy{display:grid;align-content:center;justify-items:start;padding:9% 11%}.hero img{display:block;width:100%;height:100%;min-height:420px;object-fit:cover}.hero p{max-width:32ch}.eyebrow{font-size:.8rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase}.cta{display:inline-block;background:var(--plum);color:white;padding:.75rem 1.2rem;text-decoration:none;border:1px solid var(--plum);margin-top:.5rem}.cta.light{background:transparent;color:var(--plum)}h1,h2,h3{font-family:Georgia,serif;font-weight:400;line-height:1.08}h1{font-size:clamp(2.8rem,6vw,5.9rem);letter-spacing:-.06em;margin:.2rem 0 1rem}h2{font-size:clamp(2rem,4vw,3rem);margin:.6rem 0 1rem;letter-spacing:-.04em}h3{font-size:1.4rem;margin:.5rem 0}.wrap{max-width:1360px;margin:auto;padding:3.4rem 5%}.intro{max-width:64ch}.band{background:var(--pink)}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.2rem}.card{border:1px solid var(--line);background:#fff;text-decoration:none;display:block}.card>div:last-child{padding:1rem}.photo{aspect-ratio:1.16;background-image:url(assets/hero.jpg);background-size:205%;background-color:#d7bbd9;background-position:0% 55%}.photo.skin{background-position:90% 34%}.photo.hair{background-position:95% 90%}.categories{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.categories a{background:#fff;padding:1.1rem;text-decoration:none;font:1.45rem Georgia,serif}.cols{display:grid;grid-template-columns:1fr 1fr;gap:2rem;align-items:start}.panel{background:white;border:1px solid var(--line);padding:1.2rem}.panel+.panel{margin-top:1rem}.fields{display:grid;gap:.8rem}.fields label{display:grid;gap:.25rem}.price{font-weight:700}.row{display:flex;justify-content:space-between;gap:1rem;align-items:center;padding:.8rem 0;border-bottom:1px solid var(--line)}summary{cursor:pointer;padding:.7rem 0;font-weight:650}details{border-bottom:1px solid var(--line)}footer{background:#e9ddeb}.footlinks{gap:.65rem 1rem}.footlinks a{font-size:.92rem}.preview{font-size:.9rem}.filters{margin:1rem 0}.filters a[aria-current]{font-weight:700}.filters label{display:flex;align-items:center;gap:.5rem}#status{min-height:1.5em}.skip{position:absolute;left:-1000px}.skip:focus{left:1rem;background:white;padding:.5rem}main{min-height:50vh}
@media(max-width:760px){.mast{flex-wrap:wrap}.menu{order:3;width:100%}.hero,.cols{grid-template-columns:1fr}.hero img{min-height:0;max-height:410px}.hero-copy{padding:2rem 5%}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wrap{padding:2rem 5%}.categories a{font-size:1.12rem;padding:.65rem}}@media(max-width:410px){.grid{grid-template-columns:1fr}.tools{gap:.55rem}}

.notice{font-size:.9rem}.hero h1{max-width:9ch}.entry-content{max-width:75ch}.entry-content.woo-page{max-width:none}.woocommerce ul.products li.product a img{aspect-ratio:1.16;object-fit:cover}.woocommerce ul.products li.product .price,.woocommerce div.product p.price{color:var(--plum)}.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt{background:var(--plum);color:white;border-radius:0}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea{padding:.7rem}.screen-reader-text:not(:focus){position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}.woocommerce ul.products li.product h2.woocommerce-loop-product__title{font-size:1.45rem}.woocommerce .woocommerce-ordering select{max-width:100%}.intro details{padding:.3rem 0}.product .woocommerce-product-gallery{background:var(--lilac)}

/* Responsive storefront using the design preview's typography, colors and spacing. */
img,video,iframe{max-inline-size:100%}
img{height:auto}
main,.wrap,.mast,.entry-content,.hero-copy,.woocommerce,.woocommerce-page{min-inline-size:0}
.entry-content p,.panel,.woocommerce-message,.woocommerce-info,.woocommerce-error{overflow-wrap:anywhere}
.hero{grid-template-columns:minmax(0,1fr) minmax(0,1.13fr)}
.hero img{height:100%}
.mast a,.footlinks a{display:inline-flex;align-items:center;min-block-size:44px}
.mast .brand{display:inline-flex;align-items:baseline}
.fields input:not([type=submit]),.fields select,.fields textarea{width:100%;min-width:0}
.fields input[type=submit],.fields button{min-height:44px;white-space:normal}
.entry-content input:not([type=checkbox]):not([type=radio]),.entry-content select,.entry-content textarea{max-width:100%}
.woocommerce ul.products:not(.wc-block-grid__products){
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.2rem;
}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}
.woocommerce ul.products li.product[class]{
 float:none;clear:none;width:auto;min-width:0;margin:0;border:1px solid var(--line);background:white;
 display:flex;flex-direction:column;align-items:flex-start;
}
.woocommerce ul.products li.product>a.woocommerce-loop-product__link{display:block;width:100%;text-decoration:none}
.woocommerce ul.products li.product a img{margin:0}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price,.woocommerce ul.products li.product .star-rating{margin-inline:1rem}
.woocommerce ul.products li.product .woocommerce-loop-product__title{padding:.9rem 0 .35rem}
.woocommerce ul.products li.product .button{margin:.5rem 1rem 1rem;max-width:calc(100% - 2rem);white-space:normal}
.woocommerce table.variations select{max-width:100%;min-width:0}
.woocommerce-ordering,.woocommerce-ordering select{max-width:100%}
.wc-block-components-sidebar-layout>*{min-width:0}
.wc-block-components-form .wc-block-components-text-input input{min-width:0}
.woocommerce-account .woocommerce-MyAccount-navigation ul{padding-left:1.15rem}
.woocommerce-account .woocommerce-MyAccount-navigation a{display:inline-flex;align-items:center;min-height:44px}
@media(max-width:1024px){
 .mast{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.25rem 1rem}
 .mast .tools{grid-column:2;grid-row:1;justify-content:flex-end}
 .mast .menu{grid-column:1/-1;grid-row:2;border-top:1px solid var(--line)}
 .hero{min-height:400px}
 .hero-copy{padding:8%}
 .hero img{min-height:400px}
}
@media(max-width:767px){
 .hero{grid-template-columns:minmax(0,1fr);min-height:0}
 .hero-copy{padding:2rem 5%}
 .hero img{min-height:0;max-height:380px;aspect-ratio:4/3}
 .wrap{padding:2rem 5%}
 .cols{grid-template-columns:minmax(0,1fr)}
 .woocommerce ul.products:not(.wc-block-grid__products){grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
 .woocommerce div.product div.images,.woocommerce div.product div.summary,
 .woocommerce-account .woocommerce-MyAccount-navigation,.woocommerce-account .woocommerce-MyAccount-content,
 .woocommerce .col2-set .col-1,.woocommerce .col2-set .col-2{float:none;width:100%}
 .woocommerce div.product .woocommerce-tabs ul.tabs{display:flex;flex-wrap:wrap;padding-left:0;gap:.25rem}
 .woocommerce div.product .woocommerce-tabs ul.tabs li{margin:0}
 .woocommerce table.shop_table td,.woocommerce table.shop_table th{overflow-wrap:anywhere}
 .woocommerce table.cart td.actions .coupon{float:none;display:flex;flex-wrap:wrap;gap:.5rem}
 .woocommerce table.cart td.actions .coupon .input-text,.woocommerce table.cart td.actions .coupon .button{float:none;width:auto;max-width:100%;flex:1 1 9rem}
 .woocommerce .cart-collaterals .cart_totals{float:none;width:100%}
}
@media(max-width:480px){
 .mast{grid-template-columns:minmax(0,1fr);padding-block:.65rem;gap:0}
 .mast .tools{grid-column:1;grid-row:3;justify-content:flex-start;border-top:1px solid var(--line)}
 .mast .menu,.mast .tools{column-gap:.85rem;row-gap:0}
 .mast .brand{justify-self:start}
 .hero h1{font-size:clamp(2.65rem,12vw,3.55rem)}
 .categories{grid-template-columns:minmax(0,1fr);gap:.5rem}
 .categories a{padding:.8rem}
 .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:1.12rem}
 .woocommerce ul.products li.product .woocommerce-loop-product__title,
 .woocommerce ul.products li.product .price,.woocommerce ul.products li.product .star-rating{margin-inline:.65rem}
 .woocommerce ul.products li.product .button{margin-inline:.65rem;max-width:calc(100% - 1.3rem);padding:.65rem}
}

/* Match the catalogue cards and category navigation from the design preview. */
.entry-content>*,.entry-content .wp-block-columns>*{min-inline-size:0}
.catalog-nav{margin:1rem 0}
.catalog-nav a[aria-current="page"]{font-weight:700}
.woocommerce .catalog-nav a{font-size:1rem;text-decoration:underline}
.woocommerce ul.products li.product .hvingelby-card-category{display:block;padding:.8rem 1rem 0;font-size:.8rem;color:var(--ink)}
.woocommerce ul.products li.product .woocommerce-loop-product__title{padding:.35rem 0;color:var(--ink)}
.woocommerce ul.products li.product .price{margin-bottom:1rem;font-weight:700}

.hvingelby-about{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,24rem);align-items:start;gap:clamp(1.5rem,5vw,4rem)}
.hvingelby-about .entry-content{min-width:0}
.hvingelby-about .entry-content>:first-child{margin-top:0}
.hvingelby-about__portrait{margin:0;width:100%;max-width:24rem}
.hvingelby-about__portrait img{display:block;width:100%;height:auto}
@media(max-width:900px){.hvingelby-about{grid-template-columns:minmax(0,1fr) minmax(0,34%)}}
@media(max-width:650px){.hvingelby-about{grid-template-columns:minmax(0,1fr)}}
