*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{font-family:Arial,Helvetica,sans-serif;color:#20252b;background:#fff;line-height:1.5}
a{color:inherit}
img{max-width:100%;height:auto}
.shopistan-header{width:100%;background:#176d42;color:#fff}
.shopistan-header-inner{max-width:1180px;margin:auto;padding:18px 28px 14px;display:grid;grid-template-columns:240px minmax(300px,1fr) 180px;gap:28px;align-items:center}
.shopistan-brand img{display:block;width:210px;max-height:68px;object-fit:contain;object-position:left center}
.shopistan-search{display:flex;width:100%;background:#4b8d67;border-radius:10px;overflow:hidden}
.shopistan-search input{flex:1;min-width:0;border:0;padding:13px 16px;background:transparent;color:#fff;outline:0;font-size:15px}
.shopistan-search input::placeholder{color:#e7f0ea}
.shopistan-search button{border:0;background:#f5a623;color:#176d42;padding:0 22px;font-weight:700;cursor:pointer}
.shopistan-actions{display:flex;justify-content:flex-end;gap:24px;font-weight:700}
.shopistan-actions a,.shopistan-nav a{text-decoration:none;color:#fff}
.shopistan-action-link{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.shopistan-action-icon{width:21px;height:21px;display:block;fill:currentColor;flex:0 0 21px}
.shopistan-cart-icon-wrap{position:relative;display:inline-flex;align-items:center;justify-content:center}
.shopistan-cart-count{position:absolute;top:-9px;right:-10px;min-width:17px;height:17px;padding:0 4px;border-radius:999px;background:#f5a623;color:#176d42;font-size:10px;font-weight:800;line-height:17px;text-align:center;border:1.5px solid #176d42}
.shopistan-nav-wrap{border-top:1px solid rgba(255,255,255,.13)}
.shopistan-nav{max-width:1180px;margin:auto;padding:12px 28px 14px;display:flex;gap:28px;align-items:center;font-weight:700;flex-wrap:wrap}
.shopistan-main{width:calc(100% - 56px);max-width:1180px;margin:34px auto 60px}
.shopistan-home{width:100%;margin:0}
.shopistan-page-title{margin:0 0 18px}
.shopistan-woocommerce .woocommerce-breadcrumb{font-size:14px}
.shopistan-footer{width:100%;clear:both;margin-top:50px;color:#fff}
.shopistan-benefits{background:#155d39;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:30px;padding:22px max(28px,calc((100vw - 1180px)/2 + 28px))}
.shopistan-benefits div{text-align:center}
.shopistan-benefits strong{display:block;font-size:16px;margin-bottom:3px}
.shopistan-benefits span{display:block;font-size:13px;color:#d9e8df}
.shopistan-footer-main{background:#176d42;text-align:center;padding:18px 28px;font-size:14px}
.shopistan-footer-main span{padding:0 8px}
.shopistan-socials{background:#4b8d67;text-align:center;padding:15px 28px;font-size:24px}
.shopistan-socials span{display:inline-block;margin:0 12px}
.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}
.woocommerce ul.products li.product{width:auto!important;margin:0!important}

/* Cart quantity: use only Shopistan minus/plus controls; hide native number spinners and manual update button. */
.woocommerce-cart input.qty{-moz-appearance:textfield!important;appearance:textfield!important}
.woocommerce-cart input.qty::-webkit-inner-spin-button,.woocommerce-cart input.qty::-webkit-outer-spin-button{-webkit-appearance:none!important;appearance:none!important;margin:0!important;display:none!important}
.woocommerce-cart button[name="update_cart"]{display:none!important}

/* Single product */
.single-product .shopistan-main{max-width:1180px;margin-top:24px}
.single-product .shopistan-product{width:100%}
.single-product .shopistan-product__top{display:grid!important;grid-template-columns:minmax(0,60%) minmax(0,40%)!important;gap:48px!important;align-items:start!important}
.single-product .shopistan-product__gallery,.single-product .shopistan-product__summary{width:100%!important;max-width:none!important;min-width:0!important}
.single-product .shopistan-product__gallery{padding-left:12px!important;padding-right:12px!important}
.single-product .shopistan-product__summary{padding-left:8px!important;padding-right:8px!important}
.single-product .shopistan-product__gallery .woocommerce-product-gallery{width:100%!important;float:none!important;margin:0!important}
.single-product .woocommerce-product-gallery__wrapper{border:1px solid #e7e7e7;background:#fff}
.single-product .woocommerce-product-gallery__image a{display:flex;align-items:center;justify-content:center;min-height:560px;padding:28px;cursor:zoom-in}
.single-product .woocommerce-product-gallery__image img{display:block;width:100%!important;height:500px!important;object-fit:contain}
.single-product .shopistan-product__summary{float:none!important;margin:0!important}
.single-product .shopistan-product__summary .product_title{font-size:25px!important;line-height:1.2!important;font-weight:600!important;letter-spacing:.005em!important;margin:0 0 15px!important;color:#111!important;max-width:430px!important}
.single-product .shopistan-product__summary .woocommerce-product-rating{margin:0 0 15px!important}
.single-product .shopistan-product__summary .price{color:#111!important;font-size:16px!important;font-weight:600!important;margin:0 0 18px!important;letter-spacing:.02em!important}
.single-product .shopistan-product__summary .price del{color:#888!important;opacity:.7!important;margin-right:6px!important}
.single-product .shopistan-product__summary .price ins{color:#111!important;text-decoration:none!important}
.single-product .shopistan-product__purchase{margin:0!important;width:270px!important;max-width:270px!important}
.single-product .shopistan-product__purchase form.cart{display:block!important;margin:0!important;width:100%!important}
.single-product .shopistan-product__purchase form.cart .quantity{display:grid!important;grid-template-columns:30px 42px 30px!important;border:1px solid #aaa99c!important;background:#f8f7e8!important;overflow:hidden!important;width:102px!important;min-height:36px!important;height:36px!important;margin:0 0 14px!important}
.single-product .shopistan-product__purchase .quantity .qty{width:100%!important;min-width:0!important;min-height:34px!important;height:34px!important;border:0!important;text-align:center!important;background:transparent!important;box-shadow:none!important;-moz-appearance:textfield!important;font-size:12px!important;padding:0!important}
.single-product .shopistan-product__purchase .quantity .qty::-webkit-inner-spin-button,.single-product .shopistan-product__purchase .quantity .qty::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.single-product .shopistan-qty-btn{border:0!important;background:transparent!important;color:#20252b!important;font-size:13px!important;line-height:34px!important;cursor:pointer!important;padding:0!important;height:34px!important}
.single-product .shopistan-product__purchase .single_add_to_cart_button,.single-product .shopistan-buy-now{display:block!important;width:270px!important;min-height:38px!important;height:38px!important;border-radius:21px!important;font-weight:600!important;font-size:12px!important;letter-spacing:.03em!important;padding:5px 12px!important;line-height:26px!important}
.single-product .shopistan-product__purchase .single_add_to_cart_button{border:1.5px solid #111!important;background:#f8f7e8!important;color:#111!important;margin:0 0 9px!important}
.single-product .shopistan-buy-now{border:1.5px solid #111!important;background:#111!important;color:#f5a623!important;margin:0!important}
.single-product .shopistan-product__purchase .single_add_to_cart_button:hover,.single-product .shopistan-buy-now:hover{background:#176d42!important;border-color:#176d42!important;color:#fff!important}
.single-product .shopistan-product__short-description{margin-top:24px!important;padding-top:18px!important;border-top:1px solid #ececec!important;font-size:13px!important;line-height:1.65!important;color:#444!important;max-width:430px!important}
.single-product .shopistan-product__short-description p{margin-top:0}
.single-product .shopistan-product__meta{margin-top:18px;font-size:13px;color:#666}
.single-product .shopistan-product__share{margin-top:16px}
.single-product .shopistan-product__below{margin-top:50px}
.single-product .shopistan-product__below .woocommerce-tabs,.single-product .shopistan-product__below .related.products,.single-product .shopistan-product__below .up-sells{width:100%!important;float:none!important;clear:both}
.single-product .onsale{background:#176d42!important;color:#fff!important}

@media(max-width:900px){.shopistan-header-inner{grid-template-columns:1fr;gap:14px}.shopistan-brand img{margin:auto}.shopistan-actions{justify-content:center}.shopistan-nav{justify-content:center;gap:16px}.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}.shopistan-benefits{grid-template-columns:repeat(2,minmax(0,1fr))}.single-product .shopistan-product__top{grid-template-columns:1fr!important;gap:30px!important}.single-product .shopistan-product__gallery,.single-product .shopistan-product__summary{padding-left:0!important;padding-right:0!important}.single-product .woocommerce-product-gallery__image a{min-height:420px}.single-product .woocommerce-product-gallery__image img{height:390px!important}.single-product .shopistan-product__summary .product_title{font-size:24px!important}.single-product .shopistan-product__purchase{width:100%!important;max-width:300px!important}.single-product .shopistan-product__purchase .single_add_to_cart_button,.single-product .shopistan-buy-now{width:100%!important}}
@media(max-width:600px){.shopistan-header-inner,.shopistan-nav{padding-left:16px;padding-right:16px}.shopistan-main{width:calc(100% - 32px);margin-top:20px}.shopistan-search button{padding:0 14px}.woocommerce ul.products,.shopistan-benefits{grid-template-columns:1fr}.single-product .woocommerce-product-gallery__image a{min-height:330px;padding:16px}.single-product .woocommerce-product-gallery__image img{height:300px!important}.single-product .shopistan-product__summary .product_title{font-size:22px!important}}
