/* Maahsun Clothing — polished storefront v1.6 */
:root{--maahsun-ink:#3B3436;--maahsun-muted:#625B5D;--maahsun-accent:#E889A8;--maahsun-pink:#F4A7C1;--maahsun-soft:#F7DCE5;--maahsun-cream:#FFFDF9;--maahsun-line:#F1E5E8;--maahsun-white:#fff}
html{scroll-behavior:smooth}body,button,input,select,textarea{font-family:Tahoma,"Segoe UI",Arial,sans-serif;color:var(--maahsun-ink)}body{background:var(--maahsun-cream)}.ast-container{max-width:1320px}
#masthead{position:sticky;top:0;z-index:100;background:#fff}.admin-bar #masthead{top:32px}.site-header .ast-primary-header-bar{background:#fff;border-bottom:1px solid var(--maahsun-line);box-shadow:0 3px 20px rgba(59,52,54,.035)}.site-title a,.ast-site-identity .site-title a{color:var(--maahsun-ink);font-weight:800}.main-header-menu .menu-link{font-weight:600;color:var(--maahsun-ink);transition:color .2s}.main-header-menu .menu-link:hover,.main-header-menu .current-menu-item>.menu-link{color:var(--maahsun-accent)}.main-header-menu .sub-menu{border:1px solid var(--maahsun-line);border-radius:12px;box-shadow:0 12px 30px rgba(59,52,54,.08);padding:8px}.main-header-menu .sub-menu .menu-link{padding:10px 14px}.maahsun-home{overflow:hidden}
/* Banner uses its natural image ratio: no crop, overlay or button. */
.maahsun-hero{display:block;width:100%;max-width:1320px;margin:20px auto 0;padding:0 18px;box-sizing:border-box;overflow:hidden;border-radius:20px;background:#f8e8ee}.maahsun-hero__image{display:block;width:100%;height:auto;max-height:none;object-fit:contain;object-position:center;margin:0;border-radius:20px}
.maahsun-section{max-width:1320px;margin:68px auto;padding:0 22px}.maahsun-section__heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:25px}.maahsun-eyebrow{display:block;color:var(--maahsun-accent);font-size:10px;font-weight:800;letter-spacing:.19em;margin-bottom:8px}.maahsun-section__heading h2{font-size:clamp(22px,3vw,30px);font-weight:800;line-height:1.5;margin:0;color:var(--maahsun-ink)}.maahsun-text-link{color:var(--maahsun-accent);font-weight:700;text-decoration:none;white-space:nowrap}.maahsun-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.maahsun-category-card{position:relative;display:block;aspect-ratio:4/4.7;border-radius:14px;overflow:hidden;background:var(--maahsun-soft);text-decoration:none}.maahsun-category-card:after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,rgba(35,25,29,.48))}.maahsun-category-card img{width:100%;height:100%;object-fit:cover;transition:transform .5s}.maahsun-category-card:hover img{transform:scale(1.045)}.maahsun-category-card__label{position:absolute;z-index:1;bottom:20px;right:22px;color:#fff;font-size:19px;font-weight:800}
.maahsun-product-grid,.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:25px 18px!important;margin:0!important;padding:0!important}.maahsun-product-grid:before,.maahsun-product-grid:after,.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}.maahsun-product-grid li.product,.woocommerce ul.products li.product{width:auto!important;float:none!important;margin:0!important;text-align:right!important;min-width:0;position:relative}.woocommerce ul.products li.product a img{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:12px;background:var(--maahsun-soft);margin:0 0 12px!important;transition:transform .3s}.woocommerce ul.products li.product:hover a img{transform:translateY(-3px)}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:14px!important;line-height:1.8;font-weight:700;color:var(--maahsun-ink);padding:0!important}.woocommerce ul.products li.product .price,.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--maahsun-accent)!important;font-size:14px!important;font-weight:800}.woocommerce ul.products li.product .button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{border-radius:8px;background:var(--maahsun-ink);color:#fff;font-size:12px;font-weight:700;padding:11px 16px;transition:all .2s}.woocommerce ul.products li.product .button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{background:var(--maahsun-accent);color:#fff}.maahsun-empty-note{padding:22px;border:1px dashed var(--maahsun-line);border-radius:10px;color:var(--maahsun-muted);text-align:center}
.woocommerce span.onsale{min-height:0;min-width:0;padding:7px 12px;border-radius:30px;background:var(--maahsun-pink);color:var(--maahsun-ink);font-size:11px;font-weight:800;line-height:1.4}.woocommerce ul.products li.product .price del{color:#9a8f92;opacity:.75}.woocommerce ul.products li.product .price ins{text-decoration:none}.woocommerce .star-rating{color:#d8a34b}.woocommerce .stock.in-stock{color:#43866b}.woocommerce .stock.out-of-stock{color:#b65b70}.woocommerce .woocommerce-breadcrumb{font-size:12px;color:var(--maahsun-muted)}.woocommerce div.product{background:#fff;border:1px solid var(--maahsun-line);border-radius:18px;padding:24px}.woocommerce div.product div.images img{border-radius:12px}.woocommerce div.product .product_title{font-weight:800;line-height:1.7;font-size:clamp(22px,3vw,30px)}.woocommerce div.product form.cart{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.woocommerce .quantity .qty{width:76px}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,.woocommerce .quantity .qty{border:1px solid var(--maahsun-line);border-radius:8px;min-height:42px;padding:9px 12px;background:#fff}.woocommerce div.product .woocommerce-tabs ul.tabs li{border-color:var(--maahsun-line);background:#fff;border-radius:8px 8px 0 0}.woocommerce div.product .woocommerce-tabs ul.tabs li.active{border-bottom-color:#fff}.woocommerce div.product .woocommerce-tabs ul.tabs:before{border-color:var(--maahsun-line)}.woocommerce-message,.woocommerce-info{border-top-color:var(--maahsun-accent)}.woocommerce-message:before,.woocommerce-info:before{color:var(--maahsun-accent)}.woocommerce-cart table.cart td,.woocommerce-cart table.cart th{padding:14px 10px}.woocommerce-cart .cart-collaterals .cart_totals,.woocommerce-checkout #order_review{background:#fff;border:1px solid var(--maahsun-line);border-radius:14px;padding:20px}.woocommerce nav.woocommerce-pagination ul{border:0;display:flex;justify-content:center;gap:7px}.woocommerce nav.woocommerce-pagination ul li{border:0}.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{border:1px solid var(--maahsun-line);border-radius:8px;min-width:36px;padding:9px 12px;color:var(--maahsun-ink)}.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--maahsun-pink);border-color:var(--maahsun-pink);color:var(--maahsun-ink)}
.maahsun-promise{max-width:1276px;margin:0 auto 70px;padding:30px 22px;background:#fff5f8;border:1px solid var(--maahsun-line);border-radius:14px;display:grid;grid-template-columns:repeat(3,1fr);gap:18px;text-align:center}.maahsun-promise>div{display:flex;flex-direction:column;align-items:center;gap:6px}.maahsun-promise__icon{font-size:25px;color:var(--maahsun-accent)}.maahsun-promise strong{font-size:14px}.maahsun-promise small{font-size:12px;color:var(--maahsun-muted)}
.maahsun-product-search{display:flex;align-items:center;gap:4px;margin:0;padding:3px 6px;border:1px solid var(--maahsun-line);border-radius:30px;background:var(--maahsun-cream)}.maahsun-product-search input[type=search]{width:130px;min-height:30px;border:0;background:transparent;padding:4px 8px;font-size:11px;outline:0}.maahsun-product-search button{border:0;background:transparent;color:var(--maahsun-accent);font-size:22px;line-height:1;cursor:pointer}.maahsun-announcement{padding:9px 16px;text-align:center;background:var(--maahsun-ink);color:#fff;font-size:12px;font-weight:700}
/* Footer is supplied by the child theme; its contact fields are editable in Customize. */
#colophon .ast-builder-grid-row-container,#colophon .ast-small-footer,#colophon .ast-footer-copyright,#colophon .ast-footer-widget-area,#colophon .footer-adv{display:none!important}.maahsun-footer{background:#342e30;color:#fff;margin-top:60px;padding:48px 22px 0}.maahsun-footer__inner{max-width:1280px;margin:auto;display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:34px}.maahsun-footer__inner>div{display:flex;flex-direction:column;align-items:flex-start;gap:11px}.maahsun-footer__brand strong{font-size:25px;letter-spacing:.16em;color:#f4a7c1}.maahsun-footer__brand p{font-size:13px;color:#e4dadd;line-height:2;margin:0}.maahsun-footer h3{font-size:14px;color:#f4a7c1;margin:0 0 6px}.maahsun-footer a{color:#f8eef1;text-decoration:none;font-size:12px}.maahsun-footer a:hover{color:#f4a7c1}.maahsun-footer__bottom{max-width:1280px;margin:35px auto 0;padding:17px 0;border-top:1px solid rgba(255,255,255,.14);text-align:center;color:#d7cbd0;font-size:11px}
@media(max-width:921px){.admin-bar #masthead{top:46px}.maahsun-hero{margin:14px 14px 0;padding:0;border-radius:14px}.maahsun-hero__image{border-radius:14px}.maahsun-section{margin:52px auto;padding:0 16px}.maahsun-category-grid{gap:12px}.maahsun-product-grid,.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px!important}.maahsun-promise{margin:0 14px 45px;grid-template-columns:1fr;gap:20px}.maahsun-footer__inner{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.woocommerce div.product{padding:16px}}
@media(max-width:480px){.maahsun-hero{margin:10px 10px 0}.maahsun-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.maahsun-category-card:last-child{grid-column:1/-1;aspect-ratio:16/9}.maahsun-section__heading{align-items:start}.maahsun-section__heading h2{font-size:21px}.maahsun-text-link{font-size:12px;padding-top:8px}.maahsun-footer__inner{grid-template-columns:1fr 1fr;gap:24px 16px}.maahsun-footer{padding:34px 18px 0}.woocommerce div.product form.cart{display:block}}


/* v1.7: keep header and page content in separate layout rows. */
#masthead,.site-header,.ast-primary-header-bar{position:relative!important;top:auto!important;z-index:20!important}
.admin-bar #masthead{top:auto!important}
.site-header .ast-primary-header-bar{isolation:isolate}
.maahsun-home{display:block;clear:both}
.maahsun-hero{position:relative;z-index:1;clear:both;margin-top:22px}
body.ast-theme-transparent-header #masthead,body.ast-theme-transparent-header .site-header{position:relative!important}
body.ast-theme-transparent-header .site-content,body.ast-theme-transparent-header #content{padding-top:0!important;margin-top:0!important}
body.woocommerce-cart .site-content,body.woocommerce-checkout .site-content,body.woocommerce-account .site-content,body.page .site-content{position:relative;z-index:1;clear:both}
body.woocommerce-cart #primary,body.woocommerce-checkout #primary{padding-top:28px}
.woocommerce-cart .woocommerce,.woocommerce-checkout .woocommerce{position:relative;z-index:1}
.woocommerce-cart table.shop_table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid var(--maahsun-line);border-radius:14px;overflow:hidden}
.woocommerce-cart table.shop_table th{background:#fff6f8;font-weight:800}
.woocommerce-cart table.shop_table td,.woocommerce-cart table.shop_table th{vertical-align:middle}
.woocommerce-cart .cart-collaterals{margin-top:28px}
.woocommerce-cart .cart_totals h2{font-size:20px;font-weight:800}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{padding:15px 20px;font-size:14px}
.woocommerce-shipping-totals td{line-height:2}.woocommerce-shipping-methods{list-style:none!important;margin:8px 0!important;padding:0!important}
.woocommerce-shipping-methods li{padding:7px 0;border-bottom:1px solid var(--maahsun-line)}.woocommerce-shipping-methods li:last-child{border:0}
.woocommerce form.checkout_coupon,.woocommerce form.login,.woocommerce form.register{border-color:var(--maahsun-line);border-radius:14px}
.maahsun-contact-page{max-width:1050px;margin:45px auto 70px;padding:0 22px;text-align:center}
.maahsun-contact-intro{padding:48px 24px;border-radius:22px;background:linear-gradient(135deg,#fff2f6,#fffdf9);border:1px solid var(--maahsun-line)}
.maahsun-contact-intro>span{font-size:10px;letter-spacing:.2em;color:var(--maahsun-accent);font-weight:800}
.maahsun-contact-intro h1{font-size:clamp(26px,4vw,38px);font-weight:800;margin:12px 0;color:var(--maahsun-ink)}
.maahsun-contact-intro p{margin:0;color:var(--maahsun-muted);line-height:2}
.maahsun-contact-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}
.maahsun-contact-card{display:flex;flex-direction:column;gap:10px;padding:25px 16px;border:1px solid var(--maahsun-line);border-radius:16px;background:#fff;text-decoration:none!important;transition:transform .2s,box-shadow .2s}
.maahsun-contact-card:hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(59,52,54,.08)}
.maahsun-contact-card b{font-size:15px;color:var(--maahsun-ink)}.maahsun-contact-card span{font-size:14px;color:var(--maahsun-accent);font-weight:800;direction:ltr}.maahsun-contact-card small{font-size:11px;color:var(--maahsun-muted)}
.maahsun-contact-note{padding:18px;background:#fff8ed;border-radius:12px;color:var(--maahsun-muted)}
.maahsun-contact-shop{display:inline-flex;margin-top:12px;padding:13px 25px;border-radius:30px;background:var(--maahsun-ink);color:#fff!important;text-decoration:none;font-weight:700}
@media(max-width:700px){.maahsun-contact-cards{grid-template-columns:1fr}.maahsun-contact-intro{padding:34px 18px}.woocommerce-cart table.shop_table{font-size:12px}.woocommerce-cart .cart_item td{padding:9px 6px!important}}


/* v1.8 — refined storefront, stable product media and mobile navigation */
:root{
 --maahsun-shadow:0 12px 34px rgba(67,43,52,.075);
 --maahsun-radius:18px;
}
body{line-height:1.85}
a,button,.button{ -webkit-tap-highlight-color:transparent }
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--maahsun-accent)!important;outline-offset:3px}
.maahsun-section{margin-top:76px;margin-bottom:76px}
.maahsun-section__heading{padding-bottom:14px;border-bottom:1px solid var(--maahsun-line)}
.maahsun-section__heading h2{letter-spacing:-.35px}
.maahsun-eyebrow{letter-spacing:.16em}
.maahsun-category-card{box-shadow:0 5px 20px rgba(59,52,54,.045);border:1px solid rgba(241,229,232,.8)}
.maahsun-category-card__label{right:22px;bottom:22px;text-shadow:0 2px 12px rgba(0,0,0,.25)}
.woocommerce ul.products li.product,.maahsun-product-grid li.product{
 background:#fff;border:1px solid var(--maahsun-line);border-radius:16px;padding:10px 10px 14px!important;
 box-shadow:0 3px 16px rgba(59,52,54,.025);overflow:hidden;
 transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}
.woocommerce ul.products li.product:hover,.maahsun-product-grid li.product:hover{
 transform:translateY(-4px);box-shadow:var(--maahsun-shadow);border-color:#efd2dc
}
.woocommerce ul.products li.product a img{border-radius:11px;aspect-ratio:3/4;object-fit:cover;background:#fbf3f5}
.woocommerce ul.products li.product .woocommerce-loop-product__title{min-height:3.4em;padding:0 3px!important}
.woocommerce ul.products li.product .price{display:block;margin:5px 3px 10px!important}
.woocommerce ul.products li.product .button{display:inline-flex;align-items:center;justify-content:center;margin:4px 3px 0!important;min-height:38px}
.woocommerce ul.products li.product .added_to_cart{font-size:11px;margin-right:7px}
.woocommerce ul.products li.product .onsale{top:16px;right:16px;left:auto;margin:0}
.woocommerce div.product{box-shadow:0 8px 34px rgba(59,52,54,.035);border-radius:22px}
.woocommerce div.product div.images{width:49%!important}
.woocommerce div.product div.summary{width:47%!important}
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper{border-radius:16px;overflow:hidden;background:#fcf7f8}
.woocommerce div.product div.images .woocommerce-product-gallery__image img{display:block;width:100%;height:auto;object-fit:contain}
.woocommerce div.product .product_title{margin:0 0 12px}
.woocommerce div.product .woocommerce-product-rating{margin:10px 0 14px}
.woocommerce div.product p.price{font-size:21px!important;margin:14px 0}
.woocommerce div.product form.cart .single_add_to_cart_button{min-height:48px;padding:12px 26px;font-size:14px}
.woocommerce div.product form.cart .quantity .qty{min-height:46px}
.woocommerce div.product .product_meta{padding-top:16px;border-top:1px solid var(--maahsun-line);font-size:12px;line-height:2.2}
.woocommerce div.product .woocommerce-tabs{padding-top:26px}
.woocommerce div.product .woocommerce-tabs ul.tabs{padding-right:0}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{font-weight:700}
.woocommerce .related.products{margin-top:45px}
.woocommerce .related.products>h2,.woocommerce .up-sells>h2{font-size:22px;font-weight:800;margin-bottom:22px}
.woocommerce .woocommerce-breadcrumb{margin:0 0 18px}
.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs{display:flex;gap:9px;margin-top:10px}
.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li{width:calc(25% - 7px)!important}
.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs img{border:1px solid var(--maahsun-line);border-radius:9px}
.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs img.flex-active{border-color:var(--maahsun-accent)}
.woocommerce .quantity .qty{text-align:center}
.woocommerce form .form-row input.input-text:focus,.woocommerce form .form-row textarea:focus,.woocommerce form .form-row select:focus{border-color:var(--maahsun-accent);box-shadow:0 0 0 3px rgba(232,137,168,.12)}
.maahsun-loading-note{padding:20px;border:1px dashed var(--maahsun-line);border-radius:12px;text-align:center;color:var(--maahsun-muted)}
.maahsun-mobile-nav{display:none}
@media(max-width:921px){
 .woocommerce div.product div.images,.woocommerce div.product div.summary{width:100%!important;float:none!important}
 .woocommerce div.product div.images{margin-bottom:24px}
 .woocommerce div.product{padding:18px}
 .maahsun-section{margin-top:54px;margin-bottom:54px}
}
@media(max-width:767px){
 body{padding-bottom:70px}
 .maahsun-mobile-nav{
  display:grid;grid-template-columns:repeat(4,1fr);gap:4px;position:fixed;z-index:9999;right:10px;left:10px;bottom:calc(9px + env(safe-area-inset-bottom));
  padding:8px 7px;background:rgba(255,255,255,.96);border:1px solid rgba(241,229,232,.95);
  border-radius:18px;box-shadow:0 8px 32px rgba(52,46,48,.16);backdrop-filter:blur(12px)
 }
 .maahsun-mobile-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;color:var(--maahsun-ink);text-decoration:none;min-height:43px}
 .maahsun-mobile-nav a span{font-size:21px;line-height:1.25;color:var(--maahsun-accent)}
 .maahsun-mobile-nav a small{font-size:10px;font-weight:700}
 .maahsun-mobile-nav a:active{transform:scale(.96)}
 .woocommerce div.product{padding:13px;border-radius:16px}
 .woocommerce div.product .product_title{font-size:22px}
 .woocommerce div.product p.price{font-size:19px!important}
 .woocommerce div.product form.cart .single_add_to_cart_button{width:100%;margin-top:10px}
 .woocommerce div.product form.cart{display:flex;gap:10px}
 .woocommerce div.product form.cart .quantity{margin:0!important}
 .woocommerce ul.products li.product,.maahsun-product-grid li.product{padding:7px 7px 11px!important;border-radius:13px}
 .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:12px!important}
 .woocommerce ul.products li.product .button{width:calc(100% - 6px);font-size:10px;padding:9px 6px}
 .maahsun-section__heading{margin-bottom:18px}
 .maahsun-category-card__label{font-size:15px;right:14px;bottom:14px}
}
@media(prefers-reduced-motion:reduce){
 *,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}
}
