/*
Theme Name: Astra Child
Template: astra
Description: UNISQO storefront customisations (child of Astra)
Version: 1.0.0
Text Domain: astra-child
*/

/*
Theme Name: Astra Child
Template: astra
Description: Storefront customisations (child of Astra)
Version: 1.1.0
Text Domain: astra-child
*/
:root{--store-brand:#7a4b12;--store-brand-dark:#5a3608;--store-accent:#c9a227;--store-bg:#f5f5f5;--store-ink:#222;--store-muted:#777;--store-line:#e4e4e4;--store-radius:8px;--store-wa:#25d366}
body{background:var(--store-bg);color:var(--store-ink)}
#content.site-content>.ast-container{display:block;max-width:1200px;padding:0 16px}
.store-wrap{max-width:1200px;margin:0 auto;padding:0 16px}
.store-btn,.woocommerce a.button,.woocommerce button.button,.woocommerce a.button.alt,.woocommerce button.button.alt,#place_order{background:var(--store-brand);color:#fff;border:0;border-radius:var(--store-radius);padding:11px 18px;font-weight:600;cursor:pointer;display:inline-block;text-align:center}
.store-btn:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce button.button.alt:hover,#place_order:hover{background:var(--store-brand-dark);color:#fff}
.store-wa-btn,.store-wa-checkout{background:var(--store-wa)!important;color:#fff!important;border:0;border-radius:var(--store-radius);padding:12px 18px;font-weight:600;cursor:pointer;width:100%;margin-top:10px}
/* header */
.store-header{background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.08);position:sticky;top:0;z-index:50}
.store-header__row{display:flex;align-items:center;gap:20px;padding:12px 16px;max-width:1200px;margin:0 auto}
.store-logo{font-size:24px;font-weight:800;color:var(--store-brand);white-space:nowrap}.store-logo img{max-height:44px;width:auto}
.store-search{flex:1 1 60%;display:flex;min-width:0}
.store-search input[type=search]{flex:1;min-width:0;padding:13px 16px;border:2px solid var(--store-brand);border-right:0;border-radius:var(--store-radius) 0 0 var(--store-radius);font-size:16px;outline:0;background:#fff}
.store-search button{padding:0 26px;border:0;background:var(--store-brand);color:#fff;font-weight:700;border-radius:0 var(--store-radius) var(--store-radius) 0;cursor:pointer}
.store-cart{position:relative;display:flex;align-items:center;color:var(--store-ink)}.store-cart svg{width:28px;height:28px}
.store-cart-count{position:absolute;top:-8px;left:16px;background:var(--store-accent);color:#000;font-size:12px;font-weight:700;min-width:20px;height:20px;border-radius:10px;display:grid;place-items:center;padding:0 5px}
.store-nav{background:var(--store-brand)}.store-nav__inner{max-width:1200px;margin:0 auto;padding:0 16px}
.store-menu{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:4px}.store-menu a{display:block;padding:10px 16px;color:#fff;font-weight:600}.store-menu a:hover{background:var(--store-brand-dark)}
.store-nav-toggle{display:none;background:none;border:0;font-size:26px;cursor:pointer;color:var(--store-brand)}
/* home */
.store-hero{height:400px;margin:20px 0;border-radius:var(--store-radius);background:linear-gradient(120deg,#3b2208,var(--store-brand) 55%,var(--store-accent)) center/cover;color:#fff;display:flex;align-items:center;padding:0 48px}
.store-hero h1{font-size:40px;margin:0 0 8px;max-width:520px;line-height:1.15;color:#fff}.store-hero p{margin:0 0 18px;max-width:460px}
.store-hero .store-btn{background:#fff;color:var(--store-brand)}
.store-section{margin:28px 0}.store-section h2{font-size:22px;margin:0 0 12px}
.store-cats{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:14px}
.store-cat{background:#fff;border:1px solid var(--store-line);border-radius:var(--store-radius);padding:14px;text-align:center;font-weight:600;color:var(--store-ink)}
.store-cat:hover{border-color:var(--store-brand)}.store-cat__img{width:84px;height:84px;border-radius:50%;margin:0 auto 8px;overflow:hidden;background:#efe3cf;display:grid;place-items:center;font-size:32px;color:var(--store-brand)}.store-cat__img img{width:100%;height:100%;object-fit:cover}
/* products */
.store-grid{display:grid;gap:16px;grid-template-columns:repeat(4,1fr)}.store-grid--5{grid-template-columns:repeat(5,1fr)}
.store-card{background:#fff;border:1px solid var(--store-line);border-radius:var(--store-radius);padding:12px;display:flex;flex-direction:column}
.store-card:hover{box-shadow:0 4px 14px rgba(0,0,0,.1)}
.store-card__img{aspect-ratio:1;border-radius:6px;overflow:hidden;display:block;margin-bottom:10px;background:#f1ece3}.store-card__img img{width:100%;height:100%;object-fit:cover}
.store-card__title{font-size:15px;margin:0 0 6px;font-weight:600;min-height:44px}.store-card__title a{color:var(--store-ink)}
.store-card__price{font-weight:800;color:var(--store-brand);font-size:18px;margin-bottom:10px}.store-card .store-btn{margin-top:auto}
.store-carousel{position:relative}.store-track{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:4px}.store-track::-webkit-scrollbar{display:none}
.store-track .store-card{flex:0 0 calc((100% - 64px)/5);scroll-snap-align:start}
.store-car-btn{position:absolute;top:40%;width:38px;height:38px;border-radius:50%;border:0;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.25);cursor:pointer;font-size:20px;line-height:1}.store-car-btn.prev{left:-8px}.store-car-btn.next{right:-8px}
/* shop */
.store-shop{display:grid;grid-template-columns:240px 1fr;gap:20px;margin:24px 0}
.store-sidebar{background:#fff;border:1px solid var(--store-line);border-radius:var(--store-radius);padding:16px;align-self:start}
.store-sidebar h4{margin:0 0 8px}.store-sidebar label{display:block;padding:3px 0;cursor:pointer}.store-sidebar fieldset{border:0;padding:0;margin:0 0 16px}
.store-price-row{display:flex;gap:8px}.store-price-row input{width:100%;padding:8px;border:1px solid var(--store-line);border-radius:6px}.store-sidebar .store-btn{width:100%}
.store-pagination ul{list-style:none;display:flex;gap:6px;justify-content:center;padding:0;margin:24px 0;flex-wrap:wrap}
.store-pagination a,.store-pagination span{display:block;padding:8px 14px;background:#fff;border:1px solid var(--store-line);border-radius:6px}.store-pagination .current{background:var(--store-brand);color:#fff;border-color:var(--store-brand)}
/* single product */
.store-product{display:grid;grid-template-columns:1fr 1fr;gap:32px;background:#fff;border:1px solid var(--store-line);border-radius:var(--store-radius);padding:24px;margin:24px 0}
.store-product__img img{width:100%;border-radius:var(--store-radius)}.store-product h1{margin:0 0 8px;font-size:28px}
.store-product .store-price{font-size:26px;font-weight:800;color:var(--store-brand);margin-bottom:8px}
.store-product form.cart{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:16px 0 0}
.store-product .quantity input.qty{width:76px;padding:10px;text-align:center;border:1px solid var(--store-line);border-radius:6px}
/* cart & checkout polish */
.woocommerce-cart .ast-container,.woocommerce-checkout .ast-container{padding-top:20px}
.woocommerce table.shop_table{background:#fff;border-radius:var(--store-radius)}
/* footer */
.store-footer{background:#222;color:#ccc;margin-top:40px;padding:32px 0 0}.store-footer a{color:#ccc}.store-footer a:hover{color:var(--store-accent)}
.store-footer__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;max-width:1200px;margin:0 auto;padding:0 16px}
.store-footer h4{color:#fff;margin:0 0 10px}.store-footer ul{list-style:none;margin:0;padding:0}.store-footer li{padding:3px 0}
.store-social{display:flex;gap:10px}.store-social a{width:38px;height:38px;border-radius:50%;background:#444;display:grid;place-items:center;color:#fff;font-weight:700;font-size:13px}
.store-copy{border-top:1px solid #444;margin-top:24px;padding:14px 16px;text-align:center;font-size:14px}
@media(max-width:900px){
.store-grid,.store-grid--5{grid-template-columns:repeat(2,1fr)}.store-shop,.store-product{grid-template-columns:1fr}
.store-track .store-card{flex-basis:calc((100% - 16px)/2)}
.store-header__row{flex-wrap:wrap}.store-search{order:3;flex-basis:100%}
.store-nav-toggle{display:block;margin-left:auto}.store-nav{display:none}.store-nav.is-open{display:block}.store-menu{flex-direction:column}
.store-hero{height:300px;padding:0 24px}.store-hero h1{font-size:28px}.store-footer__grid{grid-template-columns:1fr}}