/* Garwanj — Seller storefront (revised design, October 2026).
   Presentation only. Markup: Dokan Lite store page, header part rendered by
   Garwanj Core from Elementor 144, products from the native WooCommerce loop. */

body.grw-storefront #content{overflow-x:clip}
body.grw-storefront .site-content > .ast-container{max-width:1280px;padding-left:32px;padding-right:32px}
body.grw-storefront .dokan-store-wrap{display:block;margin:0 0 64px}
body.grw-storefront .dokan-store-wrap .dokan-single-store,body.grw-storefront #dokan-primary{width:100%;max-width:none;float:none;margin:0;padding:0}
body.grw-storefront #dokan-content{padding:0}
body.grw-storefront .elementor .e-con.grw-store-shell{--padding-top:0;--padding-bottom:0;--padding-left:0;--padding-right:0;--gap:0;padding:0}

/* Cover: full bleed */
.grw-store-cover{position:relative;height:240px;width:100vw;margin-left:calc(50% - 50vw);overflow:hidden;background:linear-gradient(135deg,var(--grw-green,#294a35),var(--grw-green-deep,#183428));background-size:cover;background-position:center}
.grw-store-cover-pattern{position:absolute;inset:0;opacity:.1;background-image:radial-gradient(circle at 20% 30%,#fff 1.5px,transparent 2px);background-size:40px 40px}
.grw-store-cover::after{content:"ګړونج";position:absolute;right:0;top:50%;transform:translateY(-50%);font:200px/1 'Noto Nastaliq Urdu','Noto Sans Arabic',serif;color:rgba(170,121,43,.08);pointer-events:none;white-space:nowrap}

/* Maker header card */
.grw-store-head{position:relative;z-index:5;margin-top:-70px;display:flex;align-items:center;gap:24px;padding:28px 32px;background:var(--grw-paper,#fffdf7);border:1px solid var(--grw-line,#dedfd3);border-radius:18px;box-shadow:0 20px 50px -30px rgba(36,30,18,.4)}
.grw-store-avatar{position:relative;width:108px;height:108px;flex:0 0 108px;border-radius:24px;background:linear-gradient(135deg,var(--grw-gold,#aa792b),var(--grw-brown,#8b4513));display:flex;align-items:center;justify-content:center;font:600 40px 'Fraunces',Georgia,serif;color:#fff}
.grw-store-avatar img{width:100%;height:100%;object-fit:cover;border-radius:24px;display:block}
.grw-store-avatar-badge{position:absolute;right:-6px;bottom:-6px;width:34px;height:34px;border-radius:50%;background:var(--grw-green,#294a35);border:3px solid var(--grw-paper,#fffdf7);display:flex;align-items:center;justify-content:center;color:#fff}
.grw-store-avatar-badge svg{width:14px;height:14px;stroke-width:3}
.grw-store-meta{flex:1;min-width:0}
.grw-store-title{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:6px}
.grw-store-title h1{margin:0;font:600 32px/1.12 'Fraunces',Georgia,serif;letter-spacing:-.01em;color:var(--grw-green-deep,#183428);overflow-wrap:anywhere}
.grw-store-pill{display:inline-flex;align-items:center;gap:5px;padding:4px 11px;border-radius:20px;background:var(--grw-green,#294a35);color:var(--grw-cream,#f7f5ee);font-size:11.5px;font-weight:700;white-space:nowrap}
.grw-store-pill svg{width:11px;height:11px;stroke-width:2.6}
.grw-store-loc{display:flex;align-items:center;gap:6px;margin:6px 0 0;font-size:14px;font-weight:600;color:var(--grw-brown,#8b4513)}
.grw-store-loc svg{width:13px;height:13px;flex:0 0 13px}
.grw-store-stats{display:flex;flex-wrap:wrap;gap:32px;margin:16px 0 0}
.grw-store-stats>div{display:flex;flex-direction:column-reverse;align-items:center;text-align:center}
.grw-store-stats dd{margin:0;font:600 24px/1.2 'Fraunces',Georgia,serif;color:var(--grw-green,#294a35)}
.grw-store-stats dt{font-size:12px;font-weight:400;color:var(--grw-ink-soft,#565c53)}
.grw-store-actions{display:flex;flex-direction:column;gap:10px;flex:0 0 auto}
.grw-store-button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:12px 22px;border-radius:var(--grw-radius-btn,8px);border:1.5px solid var(--grw-green,#294a35);background:var(--grw-green,#294a35);color:var(--grw-paper,#fffdf7);font:600 14px/1.2 'Hanken Grotesk',sans-serif;text-decoration:none;white-space:nowrap;transition:background .2s,color .2s}
.grw-store-button:hover,.grw-store-button:focus-visible{background:var(--grw-green-deep,#183428);border-color:var(--grw-green-deep,#183428);color:var(--grw-paper,#fffdf7)}
.grw-store-button.is-ghost{background:transparent;color:var(--grw-green,#294a35)}
.grw-store-button.is-ghost:hover{background:var(--grw-green,#294a35);color:var(--grw-paper,#fffdf7)}

/* Section tabs (anchors) */
.grw-store-tabs{display:flex;gap:6px;margin:36px 0 32px;border-bottom:1px solid var(--grw-line,#dedfd3);overflow-x:auto;scrollbar-width:none}
.grw-store-tabs::-webkit-scrollbar{display:none}
.grw-store-tabs a{padding:14px 22px;margin-bottom:-1px;font-size:15px;font-weight:600;color:var(--grw-ink-soft,#565c53);border-bottom:2px solid transparent;text-decoration:none;white-space:nowrap}
.grw-store-tabs a.is-on,.grw-store-tabs a:hover{color:var(--grw-green,#294a35);border-bottom-color:var(--grw-green,#294a35)}

/* About the maker */
.grw-store-about{display:grid;grid-template-columns:1.4fr 1fr;gap:36px;margin:0 0 44px;scroll-margin-top:170px}
.grw-store-story{background:var(--grw-paper,#fffdf7);border:1px solid var(--grw-line,#dedfd3);border-radius:14px;padding:28px}
.grw-store-story h3{margin:0 0 14px;font:600 20px/1.2 'Fraunces',Georgia,serif;color:var(--grw-green-deep,#183428)}
.grw-store-story p{margin:0 0 12px;font-size:15px;line-height:1.75;color:var(--grw-ink-soft,#565c53)}
.grw-store-story p:last-child{margin-bottom:0}
.grw-store-empty{font-style:italic}
.grw-store-info{background:var(--grw-cream-deep,#eeeadd);border-radius:14px;padding:24px;scroll-margin-top:170px}
.grw-store-info-line{display:flex;align-items:center;gap:12px;padding:11px 0;border-bottom:1px dashed var(--grw-line,#dedfd3);font-size:14px;color:var(--grw-ink-soft,#565c53)}
.grw-store-info-line:last-child{border-bottom:0}
.grw-store-info-line svg{width:18px;height:18px;flex:0 0 18px;color:var(--grw-green,#294a35)}
.grw-store-info-line b{display:block;color:var(--grw-ink,#242d25);font-weight:600}

/* Products */
.grw-store-prodhead{display:flex;align-items:center;justify-content:space-between;margin:0 0 24px;scroll-margin-top:170px}
.grw-store-prodhead h2{margin:0;font:600 24px/1.2 'Fraunces',Georgia,serif;color:var(--grw-green-deep,#183428)}
body.grw-storefront .seller-items ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;margin:0;padding:0}
body.grw-storefront .seller-items ul.products::before,body.grw-storefront .seller-items ul.products::after{display:none}
body.grw-storefront .seller-items ul.products li.product{position:relative;display:flex;flex-direction:column;float:none;width:auto;margin:0;padding:0 0 18px;background:var(--grw-paper,#fffdf7);border:1px solid var(--grw-line,#dedfd3);border-radius:14px;overflow:hidden;text-align:left;transition:transform .3s,box-shadow .3s}
body.grw-storefront .seller-items ul.products li.product:hover{transform:translateY(-3px);box-shadow:0 10px 26px #1834280e}
body.grw-storefront .seller-items li.product a.woocommerce-LoopProduct-link{display:flex;flex-direction:column;flex:1;color:inherit;text-decoration:none}
body.grw-storefront .seller-items li.product a.woocommerce-LoopProduct-link img{width:100%;height:220px;margin:0 0 18px;object-fit:cover;background:#eeeee3;border-radius:0}
body.grw-storefront .seller-items li.product .grw-verified{position:absolute;top:12px;left:12px;z-index:2;display:inline-flex;align-items:center;gap:5px;padding:5px 11px;border-radius:30px;background:var(--grw-paper,#fffdf7);border:1px solid var(--grw-line,#dedfd3);color:var(--grw-green,#294a35);font-size:10px;font-weight:700}
body.grw-storefront .seller-items li.product .grw-card-vendor{display:block;padding:0 18px;margin-bottom:6px;font-size:12px;font-weight:600;letter-spacing:.03em;color:var(--grw-brown,#8b4513)}
body.grw-storefront .seller-items li.product .woocommerce-loop-product__title{padding:0 18px;margin:0 0 6px;font:600 19px/1.25 'Fraunces',Georgia,serif;color:var(--grw-ink,#242d25)}
body.grw-storefront .seller-items li.product .grw-card-origin{display:block;padding:0 18px;margin-bottom:14px;font-size:12.5px;color:var(--grw-ink-soft,#565c53)}
body.grw-storefront .seller-items li.product .price{display:block;margin-top:auto;padding:0 96px 0 18px;min-height:40px;line-height:40px;font:600 17px/40px 'Hanken Grotesk',sans-serif;color:var(--grw-green,#294a35)}
body.grw-storefront .seller-items li.product a.button{position:absolute;right:18px;bottom:18px;min-height:40px;margin:0;padding:0 13px;border-radius:var(--grw-radius-btn,8px);background:var(--grw-green,#294a35);color:var(--grw-paper,#fffdf7);font-size:12px;font-weight:600;line-height:40px;text-decoration:none}
body.grw-storefront .seller-items li.product a.button:hover{background:var(--grw-green-deep,#183428)}
body.grw-storefront .seller-items li.product a.added_to_cart{display:none}
body.grw-storefront .seller-items li.product .ast-on-card-button,body.grw-storefront .seller-items li.product .shopengine-quickview-trigger,body.grw-storefront .seller-items li.product .shopengine-comparison{display:none!important}
body.grw-storefront .seller-items li.product .shopengine-wishlist{position:absolute;top:11px;right:11px;z-index:2;width:34px;height:34px;margin:0;border-radius:50%;background:var(--grw-paper,#fffdf7);border:1px solid var(--grw-line,#dedfd3);display:flex;align-items:center;justify-content:center;color:var(--grw-ink-soft,#565c53)}
body.grw-storefront .seller-items li.product .grws-quick-button{position:absolute;top:176px;left:50%;transform:translateX(-50%);z-index:2;padding:7px 15px;border:1px solid var(--grw-line,#dedfd3);border-radius:25px;background:var(--grw-paper,#fffdf7);color:var(--grw-green,#294a35);font-size:12px;cursor:pointer;white-space:nowrap}
body.grw-storefront .dokan-pagination-container{margin-top:40px}
body.grw-storefront p.dokan-info{padding:30px;background:var(--grw-paper,#fffdf7);border:1px solid var(--grw-line,#dedfd3);border-radius:14px;color:var(--grw-ink-soft,#565c53)}

@media (max-width:1080px){
 body.grw-storefront .seller-items ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:900px){
 body.grw-storefront .site-content > .ast-container{padding-left:20px;padding-right:20px}
 .grw-store-cover{height:180px}
 .grw-store-cover::after{font-size:140px}
 .grw-store-head{flex-direction:column;text-align:center;padding:24px 20px}
 .grw-store-title,.grw-store-loc,.grw-store-stats{justify-content:center}
 .grw-store-actions{flex-direction:row;flex-wrap:wrap;justify-content:center;width:100%}
 .grw-store-about{grid-template-columns:minmax(0,1fr);gap:20px}
 body.grw-storefront .seller-items ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
}
@media (max-width:560px){
 body.grw-storefront .site-content > .ast-container{padding-left:16px;padding-right:16px}
 .grw-store-cover{height:150px}
 .grw-store-head{margin-top:-56px}
 .grw-store-avatar{width:88px;height:88px;flex-basis:88px;font-size:32px;border-radius:20px}
 .grw-store-title h1{font-size:26px}
 .grw-store-stats{gap:24px}
 .grw-store-actions .grw-store-button{flex:1 1 140px}
 .grw-store-tabs{margin:28px 0 24px}
 .grw-store-tabs a{padding:12px 14px;font-size:14px}
 body.grw-storefront .seller-items li.product a.woocommerce-LoopProduct-link img{height:190px;margin-bottom:12px}
 body.grw-storefront .seller-items li.product .grws-quick-button{top:148px;font-size:11px;padding:6px 11px}
 body.grw-storefront .seller-items li.product .grw-card-vendor,body.grw-storefront .seller-items li.product .woocommerce-loop-product__title,body.grw-storefront .seller-items li.product .grw-card-origin{padding:0 12px}
 body.grw-storefront .seller-items li.product .woocommerce-loop-product__title{font-size:17px}
 body.grw-storefront .seller-items li.product .grw-card-vendor,body.grw-storefront .seller-items li.product .grw-card-origin{font-size:10px}
 body.grw-storefront .seller-items li.product{padding-bottom:12px}
 body.grw-storefront .seller-items li.product .price{padding:0 12px;font-size:15px;line-height:1.4;min-height:0;margin-bottom:8px}
 body.grw-storefront .seller-items li.product a.button{position:static;margin:0 12px;height:36px;line-height:36px;min-height:36px;text-align:center}
}
