/*
Theme Name: Lilovexa
Theme URI: https://lilovexa.shop
Author: Lilovexa
Description: Custom storefront theme for Lilovexa handmade ceramic wind chimes.
Version: 1.0.0
Requires PHP: 8.0
Text Domain: lilovexa
*/
:root{--bg:#faf7f2;--card:#fff;--ink:#2b2622;--muted:#776c62;--line:#e9e2d8;--clay:#a4582f;--clay-d:#7e3f1f;--sage:#7d8c6e;--sand:#f1ebe2;--r:14px;--serif:"Iowan Old Style","Palatino Linotype","Book Antiqua",Palatino,Georgia,serif;--sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;--wrap:1240px}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.65 var(--sans);-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
a:hover{color:var(--clay)}
h1,h2,h3,h4{font-family:var(--serif);font-weight:500;line-height:1.2;letter-spacing:.2px;margin:0 0 .6em}
h1{font-size:clamp(28px,4vw,44px)}h2{font-size:clamp(24px,3vw,34px)}h3{font-size:20px}
p{margin:0 0 1em}
.lx-wrap{max-width:var(--wrap);margin:0 auto;padding:0 20px}
.skip{position:absolute;left:-999px}.skip:focus{left:10px;top:10px;z-index:99;background:#fff;padding:8px 12px}
.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}
/* bar + header */
.lx-bar{background:var(--ink);color:#f3ede5;text-align:center;font-size:13px;letter-spacing:.4px;padding:8px 12px}
.lx-bar span{opacity:.5;margin:0 8px}
.lx-header{position:sticky;top:0;z-index:50;background:rgba(250,247,242,.96);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.lx-header__in{display:flex;align-items:center;gap:24px;height:70px}
.lx-logo{display:flex;align-items:center;gap:10px;font-family:var(--serif);font-size:24px;letter-spacing:4px;text-transform:uppercase;color:var(--ink)}
.lx-logo svg{width:26px;height:26px;color:var(--clay)}
.lx-nav{flex:1}
.lx-menu{list-style:none;margin:0;padding:0;display:flex;gap:28px;justify-content:center}
.lx-menu a{font-size:14px;letter-spacing:.6px;text-transform:uppercase;padding:6px 0;border-bottom:1px solid transparent}
.lx-menu a:hover,.lx-menu .current-menu-item>a{border-color:var(--clay);color:var(--ink)}
.lx-icons{display:flex;align-items:center;gap:6px}
.lx-icon{position:relative;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:none;border:0;color:var(--ink);cursor:pointer}
.lx-icon:hover{background:var(--sand);color:var(--ink)}
.lx-icon svg{width:21px;height:21px}
.lx-cart-count{position:absolute;top:3px;right:2px;min-width:17px;height:17px;border-radius:9px;background:var(--clay);color:#fff;font-size:10.5px;font-weight:600;line-height:17px;text-align:center;padding:0 4px}
.lx-cart-count:empty,.lx-cart-count[data-n="0"]{display:none}
.lx-burger{display:none;background:none;border:0;width:40px;height:40px;padding:10px;cursor:pointer}
.lx-burger span{display:block;height:1.5px;background:var(--ink);margin:5px 0}
.lx-search{border-top:1px solid var(--line);padding:14px 0;background:var(--bg)}
.lx-search[hidden]{display:none}
.lx-search form{display:flex;gap:8px;max-width:620px;margin:0 auto}
.lx-search input[type=search]{flex:1}
/* forms + buttons */
input[type=text],input[type=email],input[type=tel],input[type=search],input[type=password],input[type=number],textarea,select{width:100%;font:inherit;font-size:15px;color:var(--ink);background:#fff;border:1px solid #d9d0c4;border-radius:10px;padding:12px 14px;outline:0}
input:focus,textarea:focus,select:focus{border-color:var(--clay);box-shadow:0 0 0 3px rgba(164,88,47,.12)}
.lx-btn,button.button,a.button,input.button,.button,.woocommerce button.button,.woocommerce a.button,.woocommerce input.button,.woocommerce #respond input#submit,.wc-block-components-button,.woocommerce button.button.alt,.woocommerce a.button.alt{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--ink);color:#fff;border:0;border-radius:999px;padding:14px 28px;font:600 14px/1 var(--sans);letter-spacing:.8px;text-transform:uppercase;cursor:pointer;transition:background .2s}
.lx-btn:hover,.woocommerce button.button:hover,.woocommerce a.button:hover,.woocommerce button.button.alt:hover,.woocommerce a.button.alt:hover,.button:hover{background:var(--clay);color:#fff}
.lx-btn--light{background:#fff;color:var(--ink)}.lx-btn--light:hover{background:var(--clay);color:#fff}
.lx-btn--ghost{background:transparent;color:var(--ink);border:1px solid var(--ink)}.lx-btn--ghost:hover{background:var(--ink);color:#fff}
/* hero */
.lx-hero{position:relative;min-height:min(78vh,700px);display:flex;align-items:flex-end;color:#fff;overflow:hidden;background:#3a302a}
.lx-hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.lx-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(20,14,10,0) 35%,rgba(20,14,10,.62))}
.lx-hero__txt{position:relative;z-index:2;padding:0 20px 70px;max-width:var(--wrap);margin:0 auto;width:100%}
.lx-hero h1{font-size:clamp(34px,5.4vw,64px);max-width:13ch;margin-bottom:14px;color:#fff}
.lx-hero p{font-size:18px;max-width:42ch;opacity:.92;margin-bottom:26px}
.lx-eyebrow{display:inline-block;font-size:12px;letter-spacing:2.5px;text-transform:uppercase;margin-bottom:14px;opacity:.9}
/* sections */
.lx-sec{padding:80px 0}
.lx-sec--tight{padding:56px 0}
.lx-sec--sand{background:var(--sand)}
.lx-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:30px}
.lx-head h2{margin:0}
.lx-head a{font-size:14px;letter-spacing:.6px;text-transform:uppercase;border-bottom:1px solid currentColor}
.lx-cats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.lx-cat{position:relative;border-radius:var(--r);overflow:hidden;aspect-ratio:3/4;background:var(--sand);color:#fff}
.lx-cat img{width:100%;height:100%;object-fit:cover;transition:transform .6s}
.lx-cat:hover img{transform:scale(1.05)}
.lx-cat::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 50%,rgba(20,14,10,.6))}
.lx-cat span{position:absolute;left:18px;right:18px;bottom:16px;z-index:2;font-family:var(--serif);font-size:21px;line-height:1.2}
.lx-cat:hover{color:#fff}
.lx-split{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}
.lx-split img{border-radius:var(--r);aspect-ratio:4/5;object-fit:cover;width:100%}
.lx-split p{color:var(--muted);font-size:17px;max-width:46ch}
.lx-trust{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;text-align:center}
.lx-trust div{padding:10px}
.lx-trust svg{width:30px;height:30px;color:var(--clay);margin:0 auto 10px}
.lx-trust b{display:block;font-family:var(--serif);font-weight:500;font-size:18px;margin-bottom:2px}
.lx-trust small{color:var(--muted);font-size:14px}
/* product grid */
.woocommerce ul.products,.lx-grid{display:grid!important;grid-template-columns:repeat(4,1fr);gap:34px 22px;margin:0!important;padding:0;list-style:none}
.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;padding:0;text-align:left}
.woocommerce ul.products li.product a img{border-radius:var(--r);aspect-ratio:1/1;object-fit:cover;width:100%;margin:0 0 12px;background:var(--sand);transition:opacity .3s}
.woocommerce ul.products li.product a:hover img{opacity:.88}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-family:var(--serif);font-size:17px!important;font-weight:500;line-height:1.35;padding:0!important;margin:0 0 6px;color:var(--ink)}
.woocommerce ul.products li.product .price{color:var(--ink)!important;font-size:15px!important;font-weight:600;margin:0}
.woocommerce ul.products li.product .button{display:none}
.woocommerce span.onsale{background:var(--clay);border-radius:999px;min-height:0;min-width:0;padding:4px 12px;line-height:1.5;font-size:12px;top:10px;left:10px}
/* shop pages */
.lx-shop{padding-top:34px;padding-bottom:80px}
.woocommerce .woocommerce-breadcrumb{font-size:13px;color:var(--muted);margin:0 0 22px}
.woocommerce .woocommerce-breadcrumb a{color:var(--muted)}
.woocommerce-products-header{margin-bottom:10px}
.woocommerce-products-header .term-description{color:var(--muted);max-width:60ch}
.woocommerce .woocommerce-result-count{color:var(--muted);font-size:14px;margin:8px 0 26px}
.woocommerce .woocommerce-ordering{margin:0 0 26px}
.woocommerce .woocommerce-ordering select{width:auto;padding:9px 34px 9px 14px;border-radius:999px}
.woocommerce nav.woocommerce-pagination ul{border:0}
.woocommerce nav.woocommerce-pagination ul li{border:0;margin:0 3px}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{border-radius:50%;width:38px;height:38px;line-height:38px;padding:0}
/* single product */
.woocommerce div.product{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:56px;align-items:start}
.woocommerce div.product div.images,.woocommerce div.product div.summary{width:auto!important;float:none!important;margin:0!important}
.woocommerce div.product div.images img{border-radius:var(--r)}
.woocommerce div.product div.images .flex-control-thumbs{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin-top:10px!important}
.woocommerce div.product div.images .flex-control-thumbs li{width:auto!important;float:none!important}
.woocommerce div.product div.images .flex-control-thumbs li img{border-radius:8px;aspect-ratio:1/1;object-fit:cover;opacity:.55}
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active,.woocommerce div.product div.images .flex-control-thumbs li img:hover{opacity:1}
.woocommerce div.product div.summary{position:sticky;top:96px}
.woocommerce div.product .product_title{font-size:clamp(26px,3vw,36px);margin-bottom:10px}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--ink);font-size:24px;font-weight:600;margin-bottom:16px}
.woocommerce div.product .woocommerce-product-details__short-description{color:var(--muted);margin-bottom:20px}
.woocommerce div.product form.cart{display:flex;gap:10px;margin:0 0 20px!important}
.woocommerce div.product form.cart div.quantity{margin:0}
.woocommerce .quantity .qty{width:72px;height:100%;min-height:48px;border-radius:999px;text-align:center}
.woocommerce div.product form.cart .button{flex:1;min-height:48px}
.woocommerce div.product .product_meta{font-size:13px;color:var(--muted);margin-top:18px}
.woocommerce div.product .product_meta>span{display:block}
.lx-ship{border:1px solid var(--line);border-radius:var(--r);background:#fff;padding:6px 18px;margin:6px 0 10px}
.lx-ship div{display:flex;gap:12px;align-items:flex-start;padding:12px 0;font-size:14px;line-height:1.5}
.lx-ship div+div{border-top:1px solid var(--line)}
.lx-ship svg{width:20px;height:20px;flex:none;color:var(--clay);margin-top:1px}
.lx-ship b{font-weight:600}
.lx-ship small{display:block;color:var(--muted);font-size:13px}
.woocommerce div.product .woocommerce-tabs{grid-column:1/-1;margin-top:20px}
.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0;margin:0 0 24px;border-bottom:1px solid var(--line);display:flex;gap:26px}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li{background:none;border:0;border-radius:0;margin:0;padding:0}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{padding:12px 0;font-weight:500;color:var(--muted)}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:var(--ink);box-shadow:inset 0 -2px 0 var(--clay)}
.woocommerce div.product .woocommerce-tabs .panel{max-width:760px;color:#4a423b}
.woocommerce div.product .woocommerce-tabs .panel>h2:first-child{display:none}
.woocommerce div.product .woocommerce-tabs .panel ul{padding-left:20px}
.woocommerce div.product .related,.woocommerce div.product .upsells{grid-column:1/-1;margin-top:30px}
.woocommerce div.product .related>h2{font-size:28px;margin-bottom:24px}
.woocommerce table.shop_attributes{border:0}
.woocommerce table.shop_attributes th,.woocommerce table.shop_attributes td{border-color:var(--line);padding:10px;background:none!important}
/* notices */
.woocommerce-message,.woocommerce-info,.woocommerce-error{border-top:0;border-left:3px solid var(--clay);background:#fff;border-radius:10px;font-size:15px}
.woocommerce-message::before,.woocommerce-info::before{color:var(--clay)}
/* cart / checkout / account */
.woocommerce table.shop_table{border-radius:var(--r);border-color:var(--line);background:#fff}
.woocommerce table.shop_table td,.woocommerce table.shop_table th{border-color:var(--line)}
.woocommerce-cart table.cart img{width:72px;border-radius:8px}
.woocommerce .cart-collaterals .cart_totals,.woocommerce-checkout #order_review{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:22px}
.woocommerce form.checkout_coupon,.woocommerce form.login,.woocommerce form.register{border-color:var(--line);border-radius:var(--r);background:#fff}
#add_payment_method #payment,.woocommerce-cart #payment,.woocommerce-checkout #payment{background:var(--sand);border-radius:var(--r)}
.woocommerce-MyAccount-navigation ul{list-style:none;padding:0;margin:0}
.woocommerce-MyAccount-navigation li a{display:block;padding:10px 0;border-bottom:1px solid var(--line)}
.wc-block-components-sidebar-layout .wc-block-components-main,.wc-block-components-sidebar{padding-top:10px}
/* pages */
.lx-page{max-width:820px;margin:0 auto;padding:56px 20px 90px}
.lx-page h1{margin-bottom:22px}
.lx-page h2{font-size:24px;margin-top:1.8em}
.lx-page h3{margin-top:1.4em}
.lx-page ul,.lx-page ol{padding-left:22px}
.lx-page li{margin-bottom:6px}
.lx-page a{color:var(--clay);text-decoration:underline;text-underline-offset:3px}
.lx-page table{width:100%;border-collapse:collapse;margin:10px 0 20px;background:#fff;border-radius:10px;overflow:hidden}
.lx-page td,.lx-page th{border:1px solid var(--line);padding:10px 14px;text-align:left}
.lx-page .lx-note{background:var(--sand);border-radius:var(--r);padding:18px 22px;margin:18px 0}
.lx-page.lx-page--wide{max-width:var(--wrap)}
.lx-contact{display:grid;grid-template-columns:1fr 1.2fr;gap:40px}
.lx-contact dl{margin:0}.lx-contact dt{font-size:12px;letter-spacing:1.6px;text-transform:uppercase;color:var(--muted);margin-top:16px}.lx-contact dd{margin:2px 0 0}
.lx-form p{margin-bottom:14px}.lx-form label{display:block;font-size:14px;margin-bottom:6px}
.lx-form .lx-hp{position:absolute;left:-9999px}
.lx-faq details{border-bottom:1px solid var(--line);padding:16px 0}
.lx-faq summary{cursor:pointer;font-family:var(--serif);font-size:19px;list-style:none;display:flex;justify-content:space-between;gap:20px}
.lx-faq summary::after{content:"+";color:var(--clay);font-size:22px;line-height:1}
.lx-faq details[open] summary::after{content:"–"}
.lx-faq details p{color:var(--muted);margin:10px 0 0}
/* footer */
.lx-footer{background:var(--ink);color:#d9d1c7;padding:64px 0 28px;font-size:14.5px}
.lx-footer a:hover{color:#fff}
.lx-footer__grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:40px}
.lx-footer .lx-logo{color:#fff;margin-bottom:14px}
.lx-footer h4{font-family:var(--sans);font-size:12px;letter-spacing:2px;text-transform:uppercase;color:#fff;font-weight:600;margin-bottom:16px}
.lx-footer ul{list-style:none;margin:0;padding:0}
.lx-footer li{margin-bottom:9px}
.lx-footer address{font-style:normal;line-height:1.75}
.lx-footer__bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:48px;padding-top:22px;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;font-size:13px;color:#a99f94}
.lx-404{text-align:center;padding:110px 20px}
/* responsive */
@media (max-width:1024px){.woocommerce ul.products,.lx-grid{grid-template-columns:repeat(3,1fr)}.lx-cats{grid-template-columns:repeat(2,1fr)}.lx-footer__grid{grid-template-columns:1fr 1fr}.woocommerce div.product{gap:34px}}
@media (max-width:860px){
.lx-burger{display:block}
.lx-header__in{gap:8px;height:62px}
.lx-logo{font-size:20px;letter-spacing:3px;margin-right:auto}
.lx-logo svg{width:22px;height:22px}
.lx-nav{position:fixed;inset:0 25% 0 0;top:0;background:var(--bg);transform:translateX(-102%);transition:transform .3s;padding:80px 28px 28px;z-index:60;box-shadow:0 0 40px rgba(0,0,0,.15);overflow:auto}
body.lx-open .lx-nav{transform:none}
body.lx-open::after{content:"";position:fixed;inset:0;background:rgba(20,14,10,.4);z-index:55}
.lx-menu{flex-direction:column;gap:0}
.lx-menu a{display:block;font-size:16px;padding:14px 0;border-bottom:1px solid var(--line)}
.lx-icon[data-lx-account]{display:none}
.woocommerce div.product{grid-template-columns:1fr}
.woocommerce div.product div.summary{position:static}
.lx-split{grid-template-columns:1fr;gap:30px}
.lx-trust{grid-template-columns:1fr 1fr}
.lx-contact{grid-template-columns:1fr}
.lx-sec{padding:56px 0}
}
@media (max-width:640px){
.woocommerce ul.products,.lx-grid{grid-template-columns:repeat(2,1fr);gap:26px 14px}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:15px!important}
.lx-hero{min-height:72vh}.lx-hero__txt{padding-bottom:44px}.lx-hero p{font-size:16px}
.lx-cats{gap:12px}.lx-cat span{font-size:17px;left:12px;bottom:12px}
.lx-footer__grid{grid-template-columns:1fr;gap:30px}
.lx-head{margin-bottom:20px}
.woocommerce div.product div.images .flex-control-thumbs{grid-template-columns:repeat(5,1fr)}
.lx-bar{font-size:12px}
}
.lx-menu a{white-space:nowrap}
@media (max-width:1180px) and (min-width:861px){.lx-menu{gap:20px}.lx-menu a{font-size:13px;letter-spacing:.4px}.lx-header__in{gap:18px}}
/* v1.0.2 fixes */
.lx-header{backdrop-filter:none;-webkit-backdrop-filter:none;background:var(--bg)}
.admin-bar .lx-header{top:32px}
@media (max-width:782px){.admin-bar .lx-header{top:46px}}
@media (max-width:600px){.admin-bar .lx-header{top:0}}
.woocommerce div.product div.summary{position:static}
.woocommerce div.product div.images .flex-control-thumbs{display:flex!important;flex-wrap:nowrap;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;padding:0 0 6px!important;scrollbar-width:thin}
.woocommerce div.product div.images .flex-control-thumbs li{flex:0 0 calc((100% - 40px)/6);scroll-snap-align:start;margin:0!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li,.woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:none!important;border:0!important}
.woocommerce div.product .woocommerce-tabs .panel{margin:0 0 20px}
.lx-close{display:none}
body.lx-open .lx-header{z-index:70}
@media (max-width:860px){
.lx-close{display:block;position:absolute;top:14px;right:14px;width:44px;height:44px;border:0;background:none;font-size:32px;line-height:1;color:var(--ink);cursor:pointer}
.lx-nav{inset:0 auto 0 0;width:min(84vw,340px);padding-top:70px}
.lx-nav .lx-menu a{font-size:15px;letter-spacing:.8px}
.woocommerce div.product div.images .flex-control-thumbs li{flex-basis:calc((100% - 32px)/5)}
.woocommerce div.product .woocommerce-tabs ul.tabs{gap:20px;overflow-x:auto}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{white-space:nowrap;font-size:15px}
.woocommerce .woocommerce-ordering,.woocommerce .woocommerce-result-count{float:none;margin:0 0 14px}
.woocommerce .woocommerce-ordering select{width:100%}
}
@media (max-width:640px){
.lx-footer__grid{grid-template-columns:1fr 1fr;gap:30px 20px}
.lx-footer__grid>div:first-child{grid-column:1/-1}
.lx-footer__bottom{flex-direction:column;gap:6px}
.woocommerce div.product .product_title{font-size:26px}
.woocommerce div.product form.cart{position:sticky;bottom:0;z-index:20;background:var(--bg);padding:10px 0;margin:0 0 14px!important}
.lx-shop{padding-top:20px}
}
.woocommerce div.product div.images .woocommerce-product-gallery__image img{width:100%;max-height:min(680px,78vh);object-fit:contain;background:var(--sand)}
.woocommerce div.product div.images .flex-control-thumbs li img{opacity:.7}
@media (max-width:860px){.woocommerce div.product div.images .woocommerce-product-gallery__image img{max-height:62vh}}
