/*
Theme Name: ShreeShops Flipkart Style
Template: astra
Version: 1.3.0
Description: Flipkart-inspired WooCommerce storefront for ShreeShops.com. Preserves WooCommerce products and orders.
*/

:root{--ss-blue:#2874f0;--ss-yellow:#ffc107;--ss-bg:#f1f3f6;--ss-text:#172337;--ss-green:#168a4a}
.ss-home{background:var(--ss-bg);padding-bottom:40px}
.ss-wrap{max-width:1320px;margin:auto;padding:0 16px}
.ss-search-strip{background:#fff;border-bottom:1px solid #e5e7eb;padding:12px 0;position:relative;z-index:4}
.ss-search{display:flex;gap:8px;max-width:900px;margin:auto}
.ss-search input{flex:1;border:1px solid #d7dce3;border-radius:4px;padding:13px 16px;font-size:15px;outline:none}
.ss-search button{background:var(--ss-blue);color:#fff;border:0;border-radius:4px;padding:0 24px;font-weight:700;cursor:pointer}
.ss-cats{background:#fff;margin-top:12px;border-radius:4px;box-shadow:0 1px 3px rgba(0,0,0,.08);overflow:hidden}
.ss-cat-track{display:flex;gap:26px;overflow-x:auto;padding:18px 20px;scrollbar-width:none}
.ss-cat-track::-webkit-scrollbar{display:none}
.ss-cat{min-width:120px;text-align:center;text-decoration:none;color:var(--ss-text);font-weight:600;font-size:13px}
.ss-cat-icon{width:70px;height:70px;margin:0 auto 9px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#eef4ff;color:var(--ss-blue);font-size:28px;box-shadow:inset 0 0 0 1px #dbe7ff}
.ss-cat:hover .ss-cat-icon{transform:translateY(-2px);box-shadow:0 5px 15px rgba(40,116,240,.18)}
.ss-hero{margin-top:12px;display:grid;grid-template-columns:2fr 1fr;gap:12px}
.ss-banner{min-height:270px;border-radius:6px;overflow:hidden;position:relative;color:#fff;padding:42px 46px;display:flex;align-items:center;background:linear-gradient(120deg,#0b3d91,#2874f0 55%,#00a6ff)}
.ss-banner:after{content:"";position:absolute;right:-80px;top:-100px;width:340px;height:340px;border-radius:50%;background:rgba(255,255,255,.12)}
.ss-banner h1{font-size:40px;line-height:1.08;margin:0 0 12px;color:#fff;position:relative;z-index:1}
.ss-banner p{font-size:18px;margin:0 0 22px;position:relative;z-index:1}
.ss-btn{display:inline-block;background:#fff;color:#1455b8;padding:11px 20px;border-radius:4px;text-decoration:none;font-weight:700;position:relative;z-index:1}
.ss-side{display:grid;gap:12px}
.ss-mini{border-radius:6px;padding:24px;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.08);display:flex;flex-direction:column;justify-content:center}
.ss-mini strong{font-size:20px;color:var(--ss-text)}
.ss-mini span{color:#64748b;margin-top:5px}
.ss-section{margin-top:14px;background:#fff;border-radius:6px;box-shadow:0 1px 3px rgba(0,0,0,.07);overflow:hidden}
.ss-section-head{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid #eee}
.ss-section-head h2{margin:0;font-size:23px;color:var(--ss-text)}
.ss-view{background:var(--ss-blue);color:#fff;border-radius:3px;padding:9px 15px;text-decoration:none;font-weight:700;font-size:13px}
.ss-products{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0}
.ss-product{padding:18px;border-right:1px solid #eee;min-width:0;text-decoration:none;color:inherit;transition:.2s}
.ss-product:hover{box-shadow:0 4px 15px rgba(0,0,0,.08);position:relative;z-index:2}
.ss-product img{width:100%;height:190px;object-fit:contain;display:block;margin-bottom:12px}
.ss-product-title{font-size:14px;font-weight:600;color:#334155;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:39px}
.ss-price{margin-top:8px;font-size:17px;font-weight:800;color:#111827}
.ss-old{font-size:12px;color:#94a3b8;text-decoration:line-through;margin-left:6px;font-weight:500}
.ss-off{font-size:12px;color:var(--ss-green);margin-left:6px;font-weight:700}
.ss-empty{padding:35px;text-align:center;color:#64748b}
.ss-trust{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:14px}
.ss-trust-card{background:#fff;padding:20px;border-radius:6px;text-align:center;box-shadow:0 1px 3px rgba(0,0,0,.07)}
.ss-trust-card b{display:block;color:var(--ss-text);margin-top:8px}.ss-trust-card span{font-size:12px;color:#64748b}
@media(max-width:900px){.ss-hero{grid-template-columns:1fr}.ss-side{grid-template-columns:repeat(2,1fr)}.ss-products{grid-template-columns:repeat(3,minmax(0,1fr))}.ss-trust{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.ss-search button{padding:0 14px}.ss-banner{min-height:220px;padding:28px}.ss-banner h1{font-size:30px}.ss-banner p{font-size:15px}.ss-side{grid-template-columns:1fr}.ss-products{grid-template-columns:repeat(2,minmax(0,1fr))}.ss-product{padding:12px}.ss-product img{height:145px}.ss-section-head h2{font-size:19px}.ss-trust{grid-template-columns:1fr 1fr}.ss-cat{min-width:92px}.ss-cat-icon{width:58px;height:58px}}
/* ShreeShops Flipkart-style header */
.ss-header{position:relative;z-index:20;background:#fff;box-shadow:0 2px 8px rgba(15,23,42,.12)}
.ss-header-main{min-height:74px;display:flex;align-items:center;gap:24px}
.ss-brand{flex:0 0 auto;text-decoration:none;display:flex;align-items:center;min-width:145px}.ss-brand img{max-height:54px;width:auto}.ss-brand-name{font-size:27px;font-weight:900;color:#2874f0}.ss-brand-name span{color:#ff9f00}
.ss-header-search{height:46px;display:flex;flex:1;max-width:760px;background:#f5f7fb;border:1px solid #e0e6ef;border-radius:4px;overflow:hidden}.ss-header-search input{flex:1;border:0;background:transparent;padding:0 16px;font-size:15px;outline:0}.ss-header-search button{width:58px;border:0;background:#2874f0;color:#fff;font-size:18px;cursor:pointer}
.ss-actions{margin-left:auto;display:flex;align-items:center;gap:20px}.ss-actions a{display:flex;align-items:center;gap:6px;color:#172337;text-decoration:none;font-size:13px}.ss-actions a span{font-size:21px}.ss-actions a:hover{color:#2874f0}
.ss-nav{background:#2874f0}.ss-nav-inner{display:flex;align-items:center;gap:0;overflow:auto;scrollbar-width:none}.ss-nav-inner::-webkit-scrollbar{display:none}.ss-nav a{color:#fff;text-decoration:none;padding:12px 17px;font-size:13px;font-weight:700;white-space:nowrap}.ss-nav a:hover{background:rgba(0,0,0,.12)}.ss-nav .ss-all{background:#0f5dcc}
.ss-home{padding-top:8px}
.ss-slider{position:relative;overflow:hidden}.ss-slide{position:absolute;inset:0;display:flex;align-items:center;padding:42px 46px;opacity:0;visibility:hidden;transition:opacity .45s ease}.ss-slide.is-active{opacity:1;visibility:visible}.ss-slide:nth-child(1){background:linear-gradient(120deg,#0b3d91,#2874f0 55%,#00a6ff)}.ss-slide:nth-child(2){background:linear-gradient(120deg,#083344,#0f766e,#14b8a6)}.ss-slide:nth-child(3){background:linear-gradient(120deg,#4c1d95,#7c3aed,#a855f7)}.ss-slide:after{content:"";position:absolute;right:-90px;top:-120px;width:360px;height:360px;border-radius:50%;background:rgba(255,255,255,.12)}.ss-slide>div{position:relative;z-index:2}.ss-slide small{font-size:12px;font-weight:800;letter-spacing:1.5px}.ss-slide h1{font-size:40px;line-height:1.08;margin:9px 0 12px;color:#fff}.ss-slide p{font-size:17px;margin:0 0 22px}.ss-dots{position:absolute;bottom:15px;left:46px;z-index:5;display:flex;gap:7px}.ss-dot{width:9px;height:9px;border:0;border-radius:50%;padding:0;background:rgba(255,255,255,.55);cursor:pointer}.ss-dot.is-active{background:#fff;width:24px;border-radius:8px}
.ss-img-wrap{height:190px;display:flex;align-items:center;justify-content:center}.ss-product img{height:190px;margin:0}.ss-product .price{margin-top:8px}.ss-product del{font-size:12px;color:#94a3b8}.ss-product ins{text-decoration:none}.ss-product .woocommerce-Price-amount{font-weight:800}
@media(max-width:900px){.ss-header-main{gap:12px}.ss-actions{gap:10px}.ss-actions a b{display:none}.ss-brand{min-width:110px}.ss-nav a{padding:11px 12px}.ss-slide h1{font-size:32px}}
@media(max-width:600px){.ss-header-main{padding-top:10px;padding-bottom:10px;flex-wrap:wrap}.ss-brand{min-width:0}.ss-brand img{max-width:125px}.ss-header-search{order:3;flex-basis:100%;max-width:none}.ss-actions{margin-left:auto}.ss-actions a span{font-size:19px}.ss-slide{padding:25px}.ss-slide h1{font-size:27px}.ss-slide p{font-size:14px}.ss-dots{left:25px}.ss-img-wrap,.ss-product img{height:145px}}

/* Product card upgrade */
.ss-product-card{position:relative;padding:16px;border-right:1px solid #eee;min-width:0;background:#fff;transition:.2s}.ss-product-card:hover{box-shadow:0 5px 18px rgba(0,0,0,.12);z-index:3}.ss-product-card .ss-product-link{text-decoration:none;color:inherit;display:block}.ss-product-card .ss-img-wrap{height:190px;display:flex;align-items:center;justify-content:center;margin-bottom:10px}.ss-product-card .ss-img-wrap img{width:100%;height:190px;object-fit:contain}.ss-product-title{font-size:14px;font-weight:600;color:#334155;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:39px}.ss-rating-row{display:flex;align-items:center;gap:7px;margin-top:8px;font-size:11px}.ss-rating{background:#168a4a;color:#fff;padding:3px 6px;border-radius:3px;font-weight:800}.ss-reviews{color:#64748b}.ss-price-row{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:8px}.ss-current .woocommerce-Price-amount{font-size:17px;font-weight:800;color:#111827}.ss-old{font-size:12px;color:#94a3b8;text-decoration:line-through}.ss-old .woocommerce-Price-amount{font-size:12px}.ss-off{font-size:11px;color:#168a4a;font-weight:800}.ss-badge{position:absolute;top:12px;left:12px;background:#168a4a;color:#fff;border-radius:3px;padding:4px 7px;font-size:11px;font-weight:800;z-index:2}.ss-stock-badge{position:absolute;top:12px;left:12px;background:#64748b;color:#fff;border-radius:3px;padding:4px 7px;font-size:10px;font-weight:800;z-index:2}.ss-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:12px}.ss-card-actions a,.ss-card-actions button{border:0;border-radius:4px;padding:9px 5px;text-align:center;text-decoration:none;font-size:11px;font-weight:800;cursor:pointer}.ss-add{background:#ff9f00;color:#fff}.ss-buy{background:#2874f0;color:#fff}.ss-disabled{background:#e5e7eb;color:#64748b;grid-column:1/-1}.ss-product-card.is-out{opacity:.82}
@media(max-width:900px){.ss-products{grid-template-columns:repeat(3,minmax(0,1fr))}.ss-product-card .ss-img-wrap,.ss-product-card .ss-img-wrap img{height:170px}}
@media(max-width:600px){.ss-products{grid-template-columns:repeat(2,minmax(0,1fr))}.ss-product-card{padding:11px}.ss-product-card .ss-img-wrap,.ss-product-card .ss-img-wrap img{height:145px}.ss-card-actions{grid-template-columns:1fr}.ss-card-actions a,.ss-card-actions button{padding:8px}.ss-product-title{font-size:13px}}
