/* Smooth native cross-page transition when navigating between
   products.html <-> category pages (Chrome/Edge only — silently
   ignored elsewhere, so this is pure progressive enhancement). */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}

:root{
  --orange:#f97316;--orange-dark:#ea580c;--orange-light:#fed7aa;
  --black:#0a0a0a;--black-2:#111111;
  --gray-900:#111827;--gray-700:#374151;--gray-500:#6b7280;--gray-400:#9ca3af;--gray-200:#e5e7eb;--gray-100:#f3f4f6;--gray-50:#f9fafb;
  --white:#ffffff;
  --shadow-sm:0 1px 2px rgba(0,0,0,0.05);--shadow-md:0 4px 16px rgba(0,0,0,0.1);--shadow-lg:0 8px 32px rgba(0,0,0,0.15);
  --radius:12px;--radius-sm:8px;--radius-lg:18px;
}
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{font-family:'Inter',sans-serif;background:#f9fafb;color:var(--gray-900);line-height:1.6;overflow-x:hidden;}
a{text-decoration:none;color:inherit;}
/* Header/nav/search/mobile-menu styles now live in header.css (shared across every page) */

/* HERO */
.hero{background:linear-gradient(135deg,var(--black) 0%,#1a0800 60%,#0d0d0d 100%);padding:40px 24px;text-align:center;border-bottom:1px solid rgba(249,115,22,0.15);}
.hero-badge{display:inline-flex;align-items:center;gap:6px;background:rgba(249,115,22,0.15);border:1px solid rgba(249,115,22,0.3);color:var(--orange-light);font-size:12px;padding:5px 14px;border-radius:20px;margin-bottom:14px;}
.hero h1{font-size:32px;font-weight:800;color:#fff;margin-bottom:10px;}
.hero h1 span{color:var(--orange);}
.hero p{font-size:15px;color:#9ca3af;margin-bottom:20px;}
.hero-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;max-width:640px;margin:0 auto;}
.hero-stat{background:rgba(255,255,255,0.05);border:1px solid rgba(249,115,22,0.15);border-radius:10px;padding:12px 14px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;}
.hero-stat-num{font-size:22px;font-weight:800;color:var(--orange);}
.hero-stat-label{font-size:11px;color:#9ca3af;margin-top:2px;}

/* SEARCH + FILTER */
.controls{max-width:1200px;margin:0 auto;padding:24px 24px 0;}
.filter-scroll{display:flex;flex-wrap:wrap;gap:8px;padding:2px 0 8px 2px;}
.filter-btn{display:flex;align-items:center;gap:6px;padding:8px 16px;border-radius:20px;font-size:13px;font-weight:500;border:1.5px solid var(--gray-200);background:#fff;color:var(--gray-700);cursor:pointer;white-space:nowrap;transition:all 0.2s;flex-shrink:0;}
.filter-btn:hover{border-color:var(--orange);color:var(--orange);}
.filter-btn.active{background:var(--orange);border-color:var(--orange);color:#fff;}
.filter-count{opacity:0.7;font-size:11px;}
.filter-toprow{display:flex;align-items:flex-start;gap:12px;}
.filter-toprow .filter-scroll{flex:1;min-width:0;}
.btn-filters-toggle{display:flex;align-items:center;gap:6px;padding:8px 16px;border-radius:20px;font-size:13px;font-weight:600;border:1.5px solid var(--gray-200);background:#fff;color:var(--gray-700);cursor:pointer;white-space:nowrap;transition:all 0.2s;flex-shrink:0;}
.filter-active-badge{color:var(--orange);font-weight:700;}
.btn-filters-toggle:hover,.btn-filters-toggle.active{border-color:var(--orange);color:var(--orange);background:#fff7ed;}
.filters-panel{display:none;grid-template-columns:1fr 1fr 1fr 1fr auto;gap:24px;background:#fff;border:1.5px solid var(--gray-200);border-radius:var(--radius);padding:18px 20px;margin-top:12px;}
.filters-panel.open{display:grid;}
.filters-panel-col{display:flex;flex-direction:column;gap:8px;min-width:140px;}
.filters-panel-label{font-size:12px;font-weight:700;color:var(--gray-500);text-transform:uppercase;letter-spacing:0.4px;}
.filters-checklist{display:flex;flex-direction:column;gap:6px;max-height:120px;overflow-y:auto;}
.filters-check-item{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--gray-700);cursor:pointer;}
.filters-check-item input{accent-color:var(--orange);width:15px;height:15px;cursor:pointer;}
.filters-price-row{display:flex;align-items:center;gap:8px;}
.filters-price-input{width:70px;padding:7px 8px;border:1.5px solid var(--gray-200);border-radius:6px;font-size:13px;font-family:'Inter',sans-serif;color:var(--gray-900);}
.filters-panel-clear{justify-content:flex-end;}
.btn-clear-filters{display:flex;align-items:center;gap:6px;padding:9px 14px;border-radius:8px;font-size:12.5px;font-weight:600;border:1.5px solid var(--gray-200);background:var(--gray-50);color:var(--gray-700);cursor:pointer;transition:all 0.2s;white-space:nowrap;}
.btn-clear-filters:hover{border-color:#ef4444;color:#ef4444;}
.results-count{max-width:1200px;margin:16px auto 0;padding:0 24px;font-size:13px;color:var(--gray-500);}
.results-count span{font-weight:600;color:var(--orange-dark);}

/* PRODUCTS GRID */
.products-wrap{max-width:1200px;margin:0 auto;padding:16px 24px 60px;}
.products-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px;}
.product-card{background:#fff;border:1px solid var(--gray-200);border-radius:18px;overflow:hidden;transition:transform 0.3s ease,box-shadow 0.3s ease,border-color 0.3s ease;position:relative;display:flex;flex-direction:column;height:100%;}
.product-card:hover{transform:translateY(-6px);box-shadow:0 20px 40px rgba(15,23,42,0.12);border-color:transparent;}
.product-card.hidden{display:none;}
.product-card-highlight{animation:productHighlightPulse 1.2s ease 2;box-shadow:0 0 0 3px var(--orange),var(--shadow-lg)!important;}
@keyframes productHighlightPulse{0%,100%{box-shadow:0 0 0 3px var(--orange),var(--shadow-lg);}50%{box-shadow:0 0 0 6px rgba(249,115,22,0.35),var(--shadow-lg);}}

.product-img{aspect-ratio:1/1;background:linear-gradient(135deg,#fff7ed,#fed7aa);display:flex;align-items:center;justify-content:center;font-size:52px;position:relative;overflow:hidden;}
.product-img .product-photo{transition:transform 0.45s ease;}
.product-card:hover .product-img .product-photo{transform:scale(1.1);}

.stock-badge{position:absolute;top:10px;left:10px;font-size:9px;font-weight:800;padding:4px 9px;border-radius:20px;text-transform:uppercase;letter-spacing:0.4px;z-index:2;}
.stock-badge.in-stock{background:#15803d;color:#fff;}
.stock-badge.low{background:#b45309;color:#fff;}
.stock-badge.enquire{background:#b45309;color:#fff;}
.stock-badge.out-of-stock{background:#dc2626;color:#fff;}
.cat-badge{position:absolute;top:10px;right:10px;font-size:9px;font-weight:600;padding:4px 9px;border-radius:20px;background:rgba(15,23,42,0.72);color:#fff;text-transform:uppercase;z-index:2;}

.product-quickview-overlay{position:absolute;inset:0;background:rgba(15,23,42,0);display:flex;align-items:center;justify-content:center;transition:background 0.25s ease;z-index:1;}
.product-card:hover .product-quickview-overlay{background:rgba(15,23,42,0.28);}
.product-quickview-btn{opacity:0;transform:translateY(8px);transition:opacity 0.25s ease,transform 0.25s ease;display:flex;align-items:center;gap:6px;background:#fff;color:var(--gray-900);font-size:12px;font-weight:700;padding:9px 18px;border-radius:20px;border:none;cursor:pointer;box-shadow:0 6px 16px rgba(0,0,0,0.2);}
.product-card:hover .product-quickview-btn{opacity:1;transform:translateY(0);}
.product-quickview-btn:hover{background:var(--orange);color:#fff;}

.product-body{padding:14px;display:flex;flex-direction:column;flex:1;}
.product-name{font-size:13px;font-weight:600;color:var(--gray-900);margin-bottom:6px;line-height:1.4;min-height:36.4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.product-price{font-size:17px;font-weight:800;color:var(--orange-dark);margin-bottom:8px;}
.product-price.call{font-size:13px;color:var(--gray-500);font-weight:500;}

.product-trust-badges{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:10px;}
.product-mini-badge{display:inline-flex;align-items:center;gap:3px;font-size:9px;font-weight:700;color:var(--gray-600);background:var(--gray-50);border:1px solid var(--gray-100);padding:3px 7px;border-radius:6px;}
.product-mini-badge i{font-size:11px;color:var(--orange-dark);}

.product-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:auto;}
.btn-enquire{flex:1;display:flex;align-items:center;justify-content:center;gap:5px;background:var(--orange);color:#fff;padding:8px;border-radius:var(--radius-sm);font-size:11px;font-weight:700;border:none;cursor:pointer;transition:background 0.2s,transform 0.15s;}
.btn-enquire:hover{background:var(--orange-dark);}
.btn-enquire:active{transform:scale(0.96);}
.btn-call{display:flex;align-items:center;justify-content:center;background:#25D366;color:#fff;padding:8px 10px;border-radius:var(--radius-sm);font-size:16px;border:none;cursor:pointer;transition:background 0.2s;}
.btn-enquire.added{background:#16a34a;}
.btn-share-product{display:flex;align-items:center;justify-content:center;background:var(--gray-50);color:var(--gray-600);padding:8px 10px;border-radius:var(--radius-sm);font-size:14px;border:1px solid var(--gray-100);cursor:pointer;transition:background 0.2s,color 0.2s;}
.btn-share-product:hover{background:var(--gray-100);color:var(--gray-900);}

/* CART SIDEBAR */
.cart-overlay{position:fixed;inset:0;background:rgba(0,0,0,0.5);z-index:1000;opacity:0;visibility:hidden;transition:opacity 0.25s ease,visibility 0.25s ease;}
.cart-overlay.open{opacity:1;visibility:visible;}
.cart-sidebar{position:fixed;top:0;right:0;bottom:0;width:380px;max-width:92vw;background:#fff;z-index:1001;display:flex;flex-direction:column;transform:translateX(100%);transition:transform 0.3s ease;box-shadow:-8px 0 30px rgba(0,0,0,0.15);}
.cart-sidebar.open{transform:translateX(0);}
.cart-header{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid var(--gray-200);}
.cart-header h3{font-size:16px;font-weight:700;display:flex;align-items:center;gap:8px;}
.cart-close{background:var(--gray-100);border:none;width:32px;height:32px;border-radius:8px;cursor:pointer;font-size:16px;color:var(--gray-700);}
.cart-items{flex:1;overflow-y:auto;padding:16px 20px;}
.cart-item{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--gray-100);animation:ecCartItemIn 0.3s ease;}
@keyframes ecCartItemIn{from{opacity:0;transform:translateX(12px);}to{opacity:1;transform:translateX(0);}}
.cart-item-icon{width:44px;height:44px;flex-shrink:0;background:#fff7ed;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:22px;overflow:hidden;}
.cart-item-icon .product-photo{width:100%;height:100%;object-fit:contain;padding:3px;}
.cart-item-info{flex:1;min-width:0;}
.cart-item-name{font-size:13px;font-weight:600;color:var(--gray-900);}
.cart-item-price{font-size:12px;color:var(--gray-500);margin-top:2px;}
.cart-item-qty{display:flex;align-items:center;gap:8px;margin-top:6px;}
.qty-btn{width:22px;height:22px;border-radius:5px;border:1px solid var(--gray-200);background:#fff;cursor:pointer;font-size:14px;line-height:1;}
.qty-num{font-size:12px;font-weight:600;min-width:16px;text-align:center;}
.cart-item-remove{background:none;border:none;color:var(--gray-400);cursor:pointer;font-size:16px;flex-shrink:0;}
.cart-item-remove:hover{color:#dc2626;}
.cart-empty{text-align:center;padding:60px 20px;color:var(--gray-400);}
.cart-empty i{font-size:40px;display:block;margin-bottom:12px;}
.cart-footer{padding:16px 20px;border-top:1px solid var(--gray-200);}
.cart-total-row{display:flex;justify-content:space-between;align-items:center;font-size:15px;font-weight:700;margin-bottom:12px;}
.btn-cart-checkout{width:100%;display:flex;align-items:center;justify-content:center;gap:8px;background:#25D366;color:#fff;padding:13px;border-radius:var(--radius);font-size:14px;font-weight:700;border:none;cursor:pointer;transition:background 0.2s;}
.btn-cart-checkout:hover{background:#1da851;}
.cart-price-note{display:flex;align-items:center;gap:8px;background:#fff7ed;border:1px solid var(--orange-light);color:var(--orange-dark);font-size:11.5px;font-weight:600;padding:9px 12px;border-radius:var(--radius-sm);margin-bottom:12px;}
.cart-price-note i{font-size:15px;flex-shrink:0;}
.btn-call:hover{background:#1da851;}

/* NO RESULTS */
.no-results{display:none;text-align:center;padding:60px 20px;color:var(--gray-400);}
.no-results i{font-size:48px;margin-bottom:12px;display:block;}
.no-results p{font-size:16px;font-weight:500;}
.no-results small{font-size:13px;margin-top:6px;display:block;}
/* Floating WhatsApp button and footer styles now live in footer.css (shared across every page) */

@media(max-width:900px){
  .products-grid{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));}
}
@media(max-width:600px){
  .hero h1{font-size:24px;}
  .hero-stats{grid-template-columns:repeat(2,1fr);max-width:320px;}
  .products-grid{grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:12px;}
  .product-img{font-size:42px;}
  .cart-sidebar{width:100vw;max-width:100vw;}
  .controls{padding:16px 16px 0;}
  .filters-panel{grid-template-columns:1fr;gap:16px;}
  .filters-panel-clear{justify-content:flex-start;}
  .filter-scroll{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;scroll-behavior:smooth;scroll-snap-type:x proximity;scrollbar-width:none;padding-bottom:6px;}
  .filter-scroll::-webkit-scrollbar{display:none;height:0;}
  .filter-btn{scroll-snap-align:start;}
  .filter-toprow{position:sticky;top:var(--header-h,56px);z-index:50;background:#f9fafb;padding:8px 0 4px;margin:0 -16px;padding-left:16px;padding-right:16px;box-shadow:0 4px 10px rgba(0,0,0,0.04);}
  .wishlist-heart-btn{width:38px;height:38px;}
  .btn-share-product,.btn-call{min-width:38px;min-height:38px;}
}
@media(max-width:400px){
  .products-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px;}
  .hero-stats{gap:10px;}
  .hero-stat{padding:10px 8px;}
}

/* ── OFFER PRICING SYSTEM ── */
.price-block{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;}
.price-selling{font-weight:800;color:var(--orange-dark);}
.price-mrp{font-size:0.78em;color:var(--gray-400);text-decoration:line-through;font-weight:500;}
.price-off-badge{background:#c2410c;color:#fff;font-size:11px;font-weight:800;padding:2px 7px;border-radius:6px;letter-spacing:0.2px;}
.price-call{color:var(--gray-500);font-weight:600;}
.price-savings{display:flex;align-items:center;gap:4px;font-size:11.5px;font-weight:700;color:#16a34a;margin-top:2px;}
.price-savings i{font-size:13px;}

/* ── TILE QTY STEPPER ── */
.tile-qty{display:flex;align-items:stretch;gap:0;flex-shrink:0;width:fit-content;border:1.5px solid var(--gray-200);border-radius:var(--radius-sm);overflow:hidden;box-sizing:border-box;}
.tile-qty button{-webkit-appearance:none;appearance:none;box-sizing:border-box;padding:0;margin:0;}
.tile-qty button{width:22px;height:32px;display:flex;align-items:center;justify-content:center;background:var(--gray-50);border:none;font-size:13px;font-weight:700;color:var(--gray-700);cursor:pointer;transition:background 0.2s;line-height:1;}
.tile-qty button:hover{background:var(--gray-100);color:var(--orange-dark);}
.tile-qty-num{min-width:18px;height:32px;display:flex;align-items:center;justify-content:center;text-align:center;font-size:11px;font-weight:700;color:var(--gray-900);}

/* ── CART PRICING SUMMARY (Total MRP / Savings) ── */
.cart-summary-extra{margin-bottom:6px;}
.cart-mrp-row,.cart-savings-row{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin-bottom:4px;}
.cart-mrp-row span,.cart-mrp-row strong{color:var(--gray-400);text-decoration:line-through;font-weight:500;}
.cart-savings-row span,.cart-savings-row strong{color:#16a34a;font-weight:700;}

/* ── PRODUCT PHOTO (client-provided images, with emoji fallback) ── */
.product-img .product-photo{width:100%;height:100%;object-fit:contain;padding:4px;}

/* ── PLP image-fit consistency (Task 1) ── */
.product-icon-fallback{display:flex;align-items:center;justify-content:center;width:100%;height:100%;}

/* ── WISHLIST HEART BUTTON (product cards) ── */
.wishlist-heart-btn{position:absolute;bottom:8px;right:8px;width:30px;height:30px;border-radius:50%;background:rgba(255,255,255,0.92);border:none;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,0.15);transition:transform 0.15s ease;z-index:2;}
.wishlist-heart-btn.pulse{animation:wishHeartPulse 0.4s ease;}
@keyframes wishHeartPulse{0%{transform:scale(1);}35%{transform:scale(1.35);}100%{transform:scale(1);}}
.wishlist-heart-btn:hover{transform:scale(1.1);}
.wishlist-heart-btn i{font-size:15px;color:#6b7280;transition:color 0.15s ease;}
.wishlist-heart-btn.active i{color:#ef4444;}

.cart-gst-note{font-size:11px;color:var(--gray-400);margin:-8px 0 12px;line-height:1.5;}

/* ── BREADCRUMB (shared with PDP breadcrumb style) ── */
.breadcrumb{max-width:1200px;margin:0 auto;padding:16px 24px 0;font-size:12.5px;color:var(--gray-500);display:flex;align-items:center;gap:6px;flex-wrap:wrap;}
.breadcrumb a{color:var(--gray-500);transition:color 0.2s;}
.breadcrumb a:hover{color:var(--orange-dark);}
.breadcrumb i{font-size:12px;color:var(--gray-400);}
.breadcrumb .current{color:var(--gray-900);font-weight:600;}
@media(max-width:600px){.breadcrumb{font-size:11.5px;padding:12px 16px 0;}}

/* ── CATEGORY RELATED-NAVIGATION CHIPS (category landing pages only) ── */
.category-related-chips{max-width:1200px;margin:0 auto;padding:4px 24px 0;display:flex;flex-wrap:wrap;gap:8px;}
.category-related-chips a{display:inline-flex;align-items:center;gap:6px;padding:7px 15px;border-radius:20px;font-size:12.5px;font-weight:500;border:1.5px solid var(--gray-200);background:#fff;color:var(--gray-700);transition:all 0.2s;}
.category-related-chips a:hover{border-color:var(--orange);color:var(--orange-dark);}
.category-related-chips a.current{background:var(--orange);border-color:var(--orange);color:#fff;}
@media(max-width:600px){.category-related-chips{padding:4px 16px 0;}}

/* Premium PLP refresh: shared visual language with Wishlist and Orders. */
:root{--shadow-sm:0 2px 10px rgba(15,23,42,.06);--shadow-md:0 8px 20px rgba(15,23,42,.08);--shadow-lg:0 16px 32px rgba(15,23,42,.12);--radius:16px;--radius-sm:12px;--radius-lg:20px;}
.controls,.results-count,.products-wrap{max-width:1600px;}
.controls{padding:28px 32px 0;}.results-count{margin-top:18px;padding:0 32px;}.products-wrap{padding:20px 32px 76px;}
.filter-btn,.btn-filters-toggle{padding:9px 16px;font-weight:600;}.btn-filters-toggle{font-weight:700;}
.filters-panel{border-radius:var(--radius-lg);padding:20px 22px;box-shadow:var(--shadow-sm);}
.products-grid{grid-template-columns:repeat(5,minmax(0,1fr));grid-auto-rows:1fr;gap:24px;}
.product-card{border-color:transparent;border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);min-width:0;}.product-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg);border-color:rgba(249,115,22,.16);}
.product-img{height:200px;aspect-ratio:auto;flex:0 0 auto;background:linear-gradient(135deg,#fffaf5,#ffedd5);}.product-img .product-photo{padding:12px;}
.stock-badge{top:12px;left:12px;padding:5px 10px;}.cat-badge{top:12px;right:12px;padding:5px 10px;font-weight:700;background:rgba(15,23,42,.76);}
.wishlist-heart-btn{bottom:12px;right:12px;width:38px;height:38px;background:rgba(255,255,255,.96);box-shadow:0 4px 12px rgba(0,0,0,.12);}.wishlist-heart-btn i{font-size:17px;}
.product-body{padding:18px;}.product-name{font-size:14px;font-weight:700;line-height:1.42;min-height:40px;margin-bottom:9px;}.product-price{font-size:19px;min-height:29px;margin-bottom:10px;}.product-trust-badges{min-height:23px;margin-bottom:12px;}.product-mini-badge{padding:4px 8px;border-radius:8px;}
.tile-qty button{width:28px;height:38px;font-size:14px;}.tile-qty-num{min-width:24px;height:38px;font-size:12px;}.product-actions{gap:8px;margin-top:12px;}.btn-enquire{min-height:42px;padding:10px;border-radius:var(--radius);font-size:12px;}.btn-call,.btn-share-product{width:42px;height:42px;padding:0;border-radius:var(--radius);}.btn-call{font-size:17px;}.btn-share-product{font-size:15px;}

/* Category pages use a minimal header and never repeat category navigation. */
.category-page .category-related-chips{display:none!important;}
.category-page .breadcrumb{max-width:1600px;padding:12px 32px 0;}
.category-page .category-hero{max-width:1600px;margin:12px auto 0;position:relative;overflow:hidden;background:linear-gradient(135deg,#e8f5e9 0%,#f1f8e9 48%,#e7f6ef 100%);border:1px solid rgba(46,125,50,.12);border-radius:20px;box-shadow:var(--shadow-md);animation:categoryHeroIn .45s ease both;}
.category-page .category-hero::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.34;background-image:radial-gradient(circle at 12% 18%,rgba(46,125,50,.2) 0 2px,transparent 2.5px),radial-gradient(circle at 88% 76%,rgba(249,115,22,.16) 0 2px,transparent 2.5px);background-size:30px 30px,38px 38px;}
@keyframes categoryHeroIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.category-page .category-hero-inner{position:relative;z-index:1;min-height:240px;padding:30px 0 30px 38px;display:grid;grid-template-columns:42% 58%;gap:0;align-items:stretch;text-align:left;}
.category-page .category-hero--no-image .category-hero-inner{grid-template-columns:1fr;padding:36px 38px;max-width:640px;}
.category-page .category-hero--no-image .category-hero-left{padding-right:0;}
.category-page .category-hero-left{display:flex;flex-direction:column;justify-content:center;min-width:0;padding-right:36px;}
.category-page .hero h1{margin:0;color:#16351d;font-size:48px;font-weight:800;line-height:1.1;letter-spacing:-1px;}
.category-page .category-hero-description{max-width:420px;margin:16px 0 0;color:#52715a;font-size:17px;line-height:1.7;}
.category-page .category-hero-count-badge{display:inline-flex;align-items:center;gap:6px;margin:0;padding:7px 16px;border-radius:999px;background:#eaf8ee;color:#1e6b32;font-size:13.5px;font-weight:600;width:fit-content;flex:0 0 auto;}
.category-page .category-hero-left > .category-hero-count-badge{margin-top:20px;}
.category-page .category-hero-count-badge i{font-size:15px;}
.category-page .category-hero-right{position:relative;z-index:1;height:100%;min-height:220px;}

/* ── PREMIUM HERO BANNER (right side) ── */
.category-hero-banner-wrap{position:relative;width:100%;height:100%;min-height:220px;overflow:visible;cursor:zoom-in;}

/* ── PHASE 2: premium entrance + micro-interactions (all gated behind
   prefers-reduced-motion — users who opt out of motion get an instant,
   fully-usable page with zero animation). ── */
@media (prefers-reduced-motion: no-preference) {
  @keyframes ecFadeUp{from{opacity:0;transform:translateY(10px);}to{opacity:1;transform:translateY(0);}}
  @keyframes ecSlideInRight{from{opacity:0;transform:translateX(28px);}to{opacity:1;transform:translateX(0);}}
  @keyframes ecCardIn{from{opacity:0;transform:translateY(14px) scale(.98);}to{opacity:1;transform:translateY(0) scale(1);}}

  .category-page .category-hero-banner-wrap{animation:ecSlideInRight .38s ease-out both;}
  .category-page .hero h1{animation:ecFadeUp .32s ease-out .06s both;}
  .category-page .category-hero-description{animation:ecFadeUp .32s ease-out .12s both;}

  .category-hero-banner-img{transition:opacity .28s ease,transform .28s ease,filter .28s ease;animation:categoryHeroFloat 4s ease-in-out infinite;}
  @keyframes categoryHeroFloat{0%,100%{transform:scale(var(--heroScale)) translate(var(--heroTX),var(--heroTY)) translateY(0);}50%{transform:scale(var(--heroScale)) translate(var(--heroTX),var(--heroTY)) translateY(-14px);}}
  .category-hero-banner-wrap:hover .category-hero-banner-img.is-loaded{transform:scale(calc(var(--heroScale) + 0.025)) translate(var(--heroTX),var(--heroTY));filter:brightness(1.04);}
  .category-hero-banner-wrap:hover .category-hero-banner-img{animation-play-state:paused;}

  .product-card.ec-pre-reveal{opacity:0;transform:translateY(14px) scale(.98);}
  .product-card.ec-reveal{animation:ecCardIn .42s cubic-bezier(.16,.84,.44,1) both;}
}
@media (prefers-reduced-motion: reduce) {
  .category-page .category-hero{animation:none;}
}

/* ── PRODUCT GRID SKELETON (shown until the real cards render) ── */
.product-skeleton-card{border:1px solid var(--gray-200);border-radius:18px;overflow:hidden;background:#fff;}
.product-skeleton-img{aspect-ratio:1/1;background:linear-gradient(100deg,#f1f5f9 30%,#f8fafc 50%,#f1f5f9 70%);background-size:200% 100%;}
.product-skeleton-lines{padding:14px;display:flex;flex-direction:column;gap:8px;}
.product-skeleton-line{height:11px;border-radius:6px;background:linear-gradient(100deg,#f1f5f9 30%,#f8fafc 50%,#f1f5f9 70%);background-size:200% 100%;}
.product-skeleton-line.short{width:60%;}
@media (prefers-reduced-motion: no-preference) {
  .product-skeleton-img,.product-skeleton-line{animation:heroSkeletonShimmer 1.4s ease-in-out infinite;}
}
.category-hero-skeleton{position:absolute;inset:0;background:linear-gradient(100deg,rgba(255,255,255,.4) 30%,rgba(255,255,255,.75) 50%,rgba(255,255,255,.4) 70%);background-size:200% 100%;animation:heroSkeletonShimmer 1.4s ease-in-out infinite;}
@keyframes heroSkeletonShimmer{0%{background-position:200% 0;}100%{background-position:-200% 0;}}
.category-hero-banner-img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:62% center;opacity:0;--heroScale:1.22;--heroTX:20px;--heroTY:16px;transform:scale(var(--heroScale)) translate(var(--heroTX),var(--heroTY));transition:opacity .28s ease;will-change:transform;}
.category-hero-banner-img.is-loaded{opacity:1;}
.category-hero-banner-img.is-loaded ~ .category-hero-skeleton,.category-hero-banner-wrap:has(.is-loaded) .category-hero-skeleton{display:none;}
.category-hero-banner-img:focus-visible{outline:3px solid rgba(249,115,22,.5);outline-offset:2px;}

/* ── LIGHTBOX (desktop full preview / mobile zoom) ── */
.hero-lightbox-overlay{position:fixed;inset:0;background:rgba(10,20,12,.82);z-index:1200;display:flex;align-items:center;justify-content:center;padding:24px;opacity:0;visibility:hidden;transition:opacity .25s ease,visibility .25s ease;}
.hero-lightbox-overlay.open{opacity:1;visibility:visible;}
.hero-lightbox-overlay img{max-width:min(1200px,92vw);max-height:88vh;object-fit:contain;border-radius:12px;transform:scale(.96);transition:transform .25s ease;}
.hero-lightbox-overlay.open img{transform:scale(1);}
.hero-lightbox-close{position:absolute;top:20px;right:24px;width:42px;height:42px;border-radius:50%;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.25);color:#fff;font-size:20px;cursor:pointer;display:flex;align-items:center;justify-content:center;}
.hero-lightbox-close:hover{background:rgba(255,255,255,.22);}

.category-page .controls{padding-top:24px;}.category-page .filter-toprow{justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;min-height:42px;}.category-page .filter-scroll{flex:1 1 auto;}.category-page .results-count{display:none;}.category-page .products-wrap{padding-top:24px;}
button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid rgba(249,115,22,.4);outline-offset:3px;}
@media(min-width:1700px){.products-grid{grid-template-columns:repeat(6,minmax(0,1fr));}}
@media(max-width:1499px){.products-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;}.product-img{height:190px;}}
@media(max-width:1040px){.products-grid{grid-template-columns:repeat(3,minmax(0,1fr));}.category-page .category-hero-inner{grid-template-columns:42% 58%;padding:26px 0 26px 30px;}.category-page .category-hero-left{padding-right:26px;}.category-page .hero h1{font-size:40px;}.category-page .category-hero-banner-img{--heroScale:1.16;--heroTX:14px;--heroTY:12px;}}
@media(max-width:600px){.controls{padding:16px 16px 0;}.results-count{padding:0 16px;}.products-wrap{padding:16px 16px 52px;}.products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}.product-img{height:170px;}.product-body{padding:14px;}.product-name{font-size:13px;}.product-price{font-size:17px;}.category-page .breadcrumb{padding:10px 16px 0;}.category-page .category-hero-inner{min-height:0;padding:22px 20px;grid-template-columns:1fr;gap:16px;}.category-page .category-hero-left{padding-right:0;}.category-page .category-hero{margin-top:10px;border-radius:18px;}.category-page .hero h1{font-size:32px;}.category-page .category-hero-right{order:2;min-height:0;aspect-ratio:16/9;}.category-page .category-hero-banner-img{--heroScale:1.1;--heroTX:8px;--heroTY:6px;}.category-page .controls{padding-top:20px;}.category-page .filter-toprow{justify-content:space-between;}}
@media(max-width:400px){.products-grid{grid-template-columns:1fr;gap:16px;}.product-img{height:200px;}}
