/* WooCommerce powered product cards and cart drawer */
#slx-grid-container.prj-wc-live-grid,
#slx-offer-products.prj-wc-live-grid { display:grid!important; grid-template-columns:repeat(5,minmax(0,1fr))!important; gap:14px!important; }
#slx-trending-track.prj-wc-live-grid { display:flex!important; align-items:stretch; gap:16px!important; overflow-x:auto; scroll-behavior:smooth; }
.prj-wc-product-card { min-width:0; background:#fff; border:1px solid #e5e5e5; border-radius:17px; padding:10px; display:flex; flex-direction:column; justify-content:space-between; box-shadow:0 2px 8px rgba(23,20,18,.025); transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease; }
.prj-wc-product-card:hover { transform:translateY(-3px); border-color:rgba(255,106,0,.55); box-shadow:0 10px 26px rgba(23,20,18,.09); }
.prj-wc-product-card--dark { flex:0 0 220px; width:220px; background:#211c19; color:#fff; border-color:#36302c; }
.prj-wc-product-media { position:relative; display:flex; align-items:center; justify-content:center; aspect-ratio:1/1; width:100%; border-radius:12px; overflow:hidden; background:#fbf9f5; padding:8px; }
.prj-wc-product-image { width:100%; height:100%; object-fit:contain; display:block; }
.prj-wc-discount { position:absolute; top:7px; left:7px; padding:4px 7px; border-radius:7px; font-size:10px; font-weight:900; color:#fff; background:linear-gradient(135deg,#ff6a00,#e84300); box-shadow:0 4px 10px rgba(255,106,0,.2); }
.prj-wc-product-name { color:#222!important; font-size:12px; font-weight:650; line-height:1.45; margin-top:9px; min-height:34px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; text-decoration:none!important; }
.prj-wc-product-card--dark .prj-wc-product-name { color:#f5f5f5!important; font-size:13px; }
.prj-wc-product-meta { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:5px; padding-top:9px; margin-top:9px; border-top:1px solid #f0f0f0; }
.prj-wc-product-card--dark .prj-wc-product-meta { border-top-color:#36302c; }
.prj-wc-price-line { display:flex; align-items:baseline; gap:6px; flex-wrap:wrap; }
.prj-wc-current { color:#171412; font-size:14px; font-weight:900; white-space:nowrap; }
.prj-wc-product-card--dark .prj-wc-current { color:#ff8800; }
.prj-wc-current .woocommerce-Price-currencySymbol { margin-right:1px; }
.prj-wc-regular { color:#888; font-size:10px; text-decoration:line-through; white-space:nowrap; }
.prj-wc-saving { color:#047857; background:#ecfdf5; border:1px solid #a7f3d0; font-size:10px; font-weight:750; padding:2px 6px; border-radius:6px; white-space:nowrap; }
.prj-wc-product-card--dark .prj-wc-saving { background:rgba(6,78,59,.45); color:#34d399; border-color:#059669; }
.prj-wc-product-actions { display:flex; align-items:center; gap:7px; margin-top:10px; }
.prj-wc-product-actions .slx-order-btn { min-width:0; padding:7px 8px; font-size:11px; }
.prj-wc-product-actions .slx-cart-icon-btn { flex:0 0 34px; }
.prj-wc-product-card--dark .slx-cart-icon-btn { background:#fff; }
.prj-wc-message { grid-column:1/-1; width:100%; border:1px dashed #ddd; border-radius:14px; padding:20px 12px; text-align:center; color:#666; background:#faf9f6; font:500 13px/1.6 'Hind Siliguri',sans-serif; }
.prj-wc-loading:before { content:''; display:inline-block; width:14px; height:14px; vertical-align:-2px; margin-right:8px; border:2px solid #e5e5e5; border-top-color:#ff6a00; border-radius:50%; animation:prjSpin .75s linear infinite; }
@keyframes prjSpin { to { transform:rotate(360deg); } }
#slx-live-product-categories { display:flex; align-items:center; gap:8px; }
#slx-floating-cart { cursor:pointer; }
#slx-cart-drawer { z-index:100001!important; position:fixed!important; background:#fff; }
#slx-cart-overlay { z-index:100000!important; }
body.prj-cart-lock { overflow:hidden; }
#slx-cart-drawer .prj-cart-line { display:flex; align-items:flex-start; gap:10px; padding:11px 0; border-bottom:1px solid #eee; }
.prj-cart-thumb { width:58px; height:58px; flex:0 0 58px; background:#fbf9f5; border-radius:9px; overflow:hidden; }
.prj-cart-thumb img { width:100%; height:100%; object-fit:contain; }
.prj-cart-info { min-width:0; flex:1; }
.prj-cart-name { color:#171412; font-size:12px; font-weight:700; line-height:1.4; }
.prj-cart-qty { color:#777; font-size:11px; margin-top:3px; }
.prj-cart-line-total { color:#ff6a00; font-size:12px; font-weight:850; margin-top:4px; }
.prj-remove-cart-item { border:0; border-radius:50%; width:25px; height:25px; background:#f5f5f5; color:#555; font-size:19px; line-height:1; cursor:pointer; }
.prj-remove-cart-item:hover { background:#fee2e2; color:#b91c1c; }
#slx-drawer-checkout { display:flex; width:100%; align-items:center; justify-content:center; padding:12px; margin-top:10px; border-radius:12px; background:#ff6a00; color:#fff!important; font-size:13px; font-weight:800; text-decoration:none!important; }
#slx-drawer-checkout.is-disabled { opacity:.5; pointer-events:none; }
.prj-loading-button { opacity:.7; pointer-events:none; }
#slx-header-offer-button { white-space:nowrap; }
/* Announcement bar keeps a visible premium accent border. */
.prj-announcement-bar { border-bottom:1px solid rgba(255,106,0,.75); }
@media(max-width:1000px) { #slx-grid-container.prj-wc-live-grid,#slx-offer-products.prj-wc-live-grid { grid-template-columns:repeat(3,minmax(0,1fr))!important; } }
@media(max-width:640px) {
  #slx-grid-container.prj-wc-live-grid,#slx-offer-products.prj-wc-live-grid { grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:9px!important; }
  .prj-wc-product-card { padding:7px; border-radius:13px; }
  .prj-wc-product-name { font-size:11px; min-height:31px; }
  .prj-wc-current { font-size:12px; }
  .prj-wc-regular { font-size:9px; }
  .prj-wc-saving { font-size:9px; }
  .prj-wc-product-actions { gap:5px; }
  .prj-wc-product-actions .slx-order-btn { font-size:10px; padding:7px 5px; }
  .prj-wc-product-actions .slx-cart-icon-btn { flex-basis:30px; width:30px; height:30px; }
  .prj-wc-product-card--dark { flex-basis:190px; width:190px; }
  #slx-live-product-categories { display:flex; gap:7px; }
}

/* WooCommerce category showcase: place after Top Trending section */
#slx-live-category-carousel { display:flex; align-items:stretch; gap:10px; overflow-x:auto; scroll-behavior:smooth; overscroll-behavior-inline:contain; padding:4px 1px 8px; }
#slx-live-category-carousel::-webkit-scrollbar { display:none; }
#slx-live-category-carousel { -ms-overflow-style:none; scrollbar-width:none; }
.prj-live-category-card { flex:0 0 112px; min-width:0; padding:8px; display:flex; flex-direction:column; align-items:center; gap:7px; border:1px solid #e8e5df; border-radius:15px; background:#fff; color:#24201d!important; text-align:center; text-decoration:none!important; transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease; }
.prj-live-category-card:hover { transform:translateY(-2px); border-color:rgba(255,106,0,.6); box-shadow:0 7px 18px rgba(23,20,18,.07); color:#171412!important; }
.prj-live-category-media { width:100%; aspect-ratio:1 / 1; display:flex; align-items:center; justify-content:center; padding:7px; overflow:hidden; border-radius:10px; background:#f8f6f0; }
.prj-live-category-media img { display:block; width:100%; height:100%; object-fit:contain; }
.prj-live-category-media.prj-category-no-image { background:linear-gradient(135deg,#f8f6f0,#f1ece4); }
.prj-live-category-name { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; min-height:28px; width:100%; color:#292421; font-family:'Hind Siliguri',sans-serif; font-size:11px; font-weight:750; line-height:1.3; }
.prj-live-category-count { color:#9a9188; font-family:'Hind Siliguri',sans-serif; font-size:10px; line-height:1.2; }
@media(min-width:1200px) { .prj-live-category-card { flex-basis:calc((100% - 70px) / 8); } }
@media(max-width:767px) { #slx-live-category-carousel { gap:8px; } .prj-live-category-card { flex-basis:calc((100% - 24px) / 4); padding:6px; border-radius:12px; } .prj-live-category-name { font-size:10px; min-height:26px; } .prj-live-category-count { font-size:9px; } }
