/* ==========================================================================
   Storefront theme (October 2026 redesign)
   Clean light layout with a purple accent. Every shade is derived from the admin's
   primary color (--primary, set in Admin → Settings), so changing it recolors the store.
   Loaded after style.css and overrides.css.
   ========================================================================== */
:root{
  --primary-50:color-mix(in srgb,var(--primary) 6%,#fff);
  --primary-100:color-mix(in srgb,var(--primary) 12%,#fff);
  --primary-200:color-mix(in srgb,var(--primary) 24%,#fff);
  --primary-300:color-mix(in srgb,var(--primary) 45%,#fff);
  --primary-700:color-mix(in srgb,var(--primary) 82%,#000);
  --accent:color-mix(in srgb,var(--primary) 55%,#ec4899);
  --grad:linear-gradient(135deg,var(--primary) 0%,var(--accent) 100%);
  --text:#3f3d56;--muted:#6b6880;--line:#ebe8f4;--card:#fff;
  --radius:16px;--radius-sm:11px;
  --shadow-sm:0 1px 2px #1e1b4b0a,0 3px 10px #1e1b4b08;
  --shadow-md:0 14px 34px -12px #1e1b4b33;
  --ring:0 0 0 3px color-mix(in srgb,var(--primary) 25%,transparent);
}
body{background:var(--page-bg);color:var(--text);font-family:var(--font-main);-webkit-font-smoothing:antialiased}
::selection{background:var(--primary-200)}
:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
[lang|="bn"],.detail-description,.review-card p{font-family:var(--font-bangla)}
.container{width:min(1240px,calc(100% - 48px))}
.muted{color:var(--muted)}

/* Buttons */
.btn{border-radius:var(--radius-sm);padding:11px 20px;transition:background .15s,box-shadow .15s,transform .15s,border-color .15s}
.btn-primary{background:var(--primary);color:#fff;box-shadow:0 6px 16px -6px color-mix(in srgb,var(--primary) 70%,transparent)}
.btn-primary:hover{background:var(--primary-700)}
.btn-outline{background:#fff;border:1.5px solid var(--line);color:var(--secondary)}
.btn-outline:hover{border-color:var(--primary-300);color:var(--primary)}
.buy-now-btn,.auth-submit,.checkout-next{background:var(--grad);border:0}
.buy-now-btn:hover,.auth-submit:hover,.checkout-next:hover{filter:brightness(1.06);background:var(--grad)}

/* Announcement bar */
.announce-bar{background:var(--grad);color:#fff;font-family:var(--font-bangla);font-size:14px;font-weight:500;overflow:hidden;white-space:nowrap}
.announce-track{display:inline-flex;gap:80px;padding:8px 0 8px 100%;animation:announce 28s linear infinite}
.announce-bar:hover .announce-track{animation-play-state:paused}
@keyframes announce{to{transform:translateX(-50%)}}
@media(prefers-reduced-motion:reduce){.announce-track{animation:none;padding-left:16px}.announce-track span+span{display:none}}

/* Header */
.site-header{background:#fff;box-shadow:0 1px 0 var(--line),0 6px 20px -16px #1e1b4b40;position:relative;z-index:30}
.topbar{min-height:78px;gap:24px}
.brand{color:var(--secondary);font-size:19px;letter-spacing:-.2px}
.search{max-width:none;border:1.5px solid var(--line);border-radius:999px;background:#f8f7fc;align-items:center;padding:4px;transition:border-color .15s,box-shadow .15s,background .15s}
.search:focus-within{border-color:var(--primary-300);background:#fff;box-shadow:var(--ring)}
.search-icon{color:var(--muted);margin-left:14px;font-size:15px}
.search input{background:transparent;padding:9px 12px}
.custom-category-select{border-left:1.5px solid var(--line);width:190px}
.search .custom-select-trigger{min-height:40px;background:transparent;color:var(--muted);font-size:14px;padding:0 14px}
.custom-select-menu{border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow-md);padding:6px;top:calc(100% + 8px);max-height:320px;overflow:auto}
.custom-select-menu button{border-radius:8px;padding:9px 12px}
.custom-select-menu button:hover,.custom-select-menu button:focus,.custom-select-menu button.selected{background:var(--primary-100);color:var(--primary-700)}
.search>.search-submit{flex:none;width:auto;height:40px;border-radius:999px;background:var(--grad);color:#fff;padding:0 18px;display:inline-flex;align-items:center;gap:7px;font-weight:700;font-size:14px}
.search>.search-submit:hover{filter:brightness(1.07)}
.header-support{display:flex;align-items:center;gap:10px;flex:none;color:var(--secondary)}
.header-support>i{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#e8f9ef;color:#16a34a;font-size:20px}
.header-support span{display:flex;flex-direction:column;line-height:1.2}
.header-support small{color:var(--muted);font-size:12px;font-weight:600}.header-support b{font-size:14.5px;white-space:nowrap}
.header-support:hover b{color:var(--primary)}
.header-actions{gap:10px}
.header-actions .action-label,.header-actions span.action-label{display:block;position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.header-actions a{display:flex;align-items:center;gap:8px;color:var(--secondary);font-weight:600;font-size:14px;padding:4px;border-radius:999px}
.header-actions i{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--primary-50);color:var(--primary);font-size:19px;transition:background .15s,color .15s}
.header-actions a:hover i{background:var(--primary);color:#fff}
.cart-count{background:var(--accent);font-weight:700}
.header-actions .cart-count{position:absolute;top:0;left:32px;min-width:18px;height:18px;padding:0 5px;display:grid;place-items:center;font-size:10.5px;border:2px solid #fff;line-height:1}
.nav-wrap{border-top:1px solid var(--line);border-bottom:0}
.nav-row{min-height:54px;gap:22px}
.category-toggle{height:40px;border-radius:999px;background:var(--grad);padding:0 18px;font-size:14px;display:inline-flex;align-items:center;gap:8px;box-shadow:0 6px 14px -8px var(--primary)}
.category-toggle i{margin:0}
.nav-row nav{gap:4px}
.nav-row nav a{font-weight:600;color:var(--text);font-size:14.5px;padding:8px 14px;border-radius:999px;transition:background .15s,color .15s}
.nav-row nav a:hover{color:var(--primary);background:var(--primary-50)}
.nav-row nav a[aria-current="page"]{color:var(--primary);background:var(--primary-100)}
.sell-link{color:var(--primary);font-size:14px;display:inline-flex;align-items:center;gap:6px}
.category-drawer{gap:10px;padding:16px 0 20px}
.category-drawer a{border-color:var(--line);border-radius:12px;padding:11px 13px;color:var(--text)}
.category-drawer a:hover{border-color:var(--primary-300);background:var(--primary-50);color:var(--primary)}
.flash{border-radius:12px}
@media(max-width:1200px){.header-support{display:none}.header-actions .cart-count{left:30px}}
@media(max-width:1000px){.search{order:3;flex-basis:100%}.topbar{padding:12px 0}}
@media(max-width:700px){
  .topbar{gap:10px;row-gap:10px}
  .header-actions{gap:4px}.header-actions a{padding:2px}.header-actions i{width:38px;height:38px;font-size:17px}.header-actions .cart-count{left:26px;top:-2px}
  .search{display:flex;padding:3px}.search-icon{display:none}.search input{padding:8px 12px;font-size:14px}
  .custom-category-select{width:118px;flex:none}.search .custom-select-trigger{padding:0 8px 0 10px;font-size:13px;gap:6px}
  .search>.search-submit{width:38px;height:38px;padding:0;justify-content:center}.search-submit span{display:none}
  .nav-row{min-height:50px;gap:10px}.category-toggle{height:36px;padding:0 14px;font-size:13px}
  .nav-row nav{display:flex}.nav-row nav a{padding:7px 11px;font-size:13.5px}
}

/* Hero: slider + promo tiles */
.hero-section{padding-top:20px}
.hero-grid{display:grid;grid-template-columns:minmax(0,2.05fr) minmax(0,1fr);gap:16px}
.hero-grid.no-tiles{grid-template-columns:1fr}
.hero-slider{position:relative;border-radius:20px;overflow:hidden;background:var(--primary-50);aspect-ratio:7/3;box-shadow:var(--shadow-sm)}
.hero-track{display:flex;height:100%;transition:transform .6s cubic-bezier(.22,.61,.36,1);touch-action:pan-y;will-change:transform}
.hero-track.dragging{transition:none}
.hero-slide{flex:0 0 100%;height:100%;display:block}
.hero-slide img{-webkit-user-drag:none;user-select:none}
@media(prefers-reduced-motion:reduce){.hero-track{transition:none}}
.hero-slide img{display:block;width:100%;height:100%;object-fit:cover}
.hero-arrow{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border-radius:50%;border:0;background:#ffffffe6;color:var(--secondary);display:grid;place-items:center;font-size:17px;box-shadow:var(--shadow-sm);opacity:0;transition:opacity .2s,background .15s}
.hero-arrow.prev{left:14px}.hero-arrow.next{right:14px}
.hero-slider:hover .hero-arrow,.hero-arrow:focus-visible{opacity:1}
.hero-arrow:hover{background:#fff;color:var(--primary)}
.hero-dots{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);display:flex;gap:7px;padding:6px 9px;border-radius:999px;background:#0f0b2a40;backdrop-filter:blur(6px)}
.hero-dots button{width:8px;height:8px;padding:0;border:0;border-radius:999px;background:#ffffff99;transition:width .25s,background .25s}
.hero-dots button[aria-current]{width:22px;background:#fff}
.promo-tiles{display:grid;grid-template-rows:1fr 1fr;gap:16px;min-height:0}
.promo-tile{display:block;border-radius:18px;overflow:hidden;background:var(--primary-50);box-shadow:var(--shadow-sm);min-height:0;transition:transform .2s,box-shadow .2s}
a.promo-tile:hover{transform:translateY(-3px);box-shadow:var(--shadow-md)}
.promo-tile img{display:block;width:100%;height:100%;object-fit:cover}
.hero-slider .banner-placeholder{border-radius:0}
@media(max-width:800px){
  .hero-section{padding-top:14px}
  .hero-grid{grid-template-columns:1fr;gap:10px}
  .hero-slider{border-radius:16px}
  .promo-tiles{grid-template-rows:none;grid-template-columns:1fr 1fr;gap:10px}
  .promo-tile{aspect-ratio:12/5;border-radius:12px}
  .hero-arrow{display:none}.hero-dots{bottom:8px;padding:5px 7px}.hero-dots button{width:6px;height:6px}.hero-dots button[aria-current]{width:16px}
}

/* Trust strip (the four feature cards) */
.features.trust-strip{grid-template-columns:repeat(4,1fr);gap:0;margin:18px 0 6px;padding:6px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow-sm)}
.trust-strip .feature{border:0;border-radius:12px;padding:14px 16px;background:transparent;position:relative}
.trust-strip .feature+.feature:before{content:"";position:absolute;left:0;top:22%;height:56%;width:1px;background:var(--line)}
.feature i{display:grid;place-items:center;flex:none;width:46px;height:46px;border-radius:14px;background:var(--primary-100);color:var(--primary);font-size:21px}
.feature b{color:var(--secondary);font-size:14.5px}.feature small{color:var(--muted);font-size:12.5px}
@media(max-width:1000px){.features.trust-strip{grid-template-columns:repeat(2,1fr)}.trust-strip .feature:nth-child(3):before{display:none}}
@media(max-width:700px){.features.trust-strip{gap:0;padding:4px;margin-top:12px}.trust-strip .feature{padding:10px;gap:9px}.feature i{width:38px;height:38px;border-radius:11px;font-size:17px}.trust-strip .feature b{font-size:13px}.trust-strip .feature small{font-size:11.5px}}

/* Section headings */
.section{padding:26px 0}
.section-heading{align-items:center;margin-bottom:16px}
.section-heading h2{font-size:26px;letter-spacing:-.4px;color:var(--secondary)}
.section-heading p{color:var(--muted)}
.view-all,.view-more{display:inline-flex;align-items:center;gap:6px;color:var(--primary);font-weight:700;font-size:14px;padding:8px 14px;border-radius:999px;background:var(--primary-50);transition:background .15s,gap .15s}
.view-all:hover,.view-more:hover{background:var(--primary-100);gap:9px}

/* Panel tints: each category row gets a soft background and a matching accent */
.tint-violet{--tint-bg:var(--primary-50);--tint-accent:var(--primary);--tint-soft:var(--primary-100)}
.tint-hot{--tint-bg:#fff5f0;--tint-accent:#ea580c;--tint-soft:#ffe4d6}
.tint-peach{--tint-bg:#fff8ef;--tint-accent:#d97706;--tint-soft:#fdebc8}
.tint-mint{--tint-bg:#effbf4;--tint-accent:#059669;--tint-soft:#d3f3e2}
.tint-sky{--tint-bg:#f0f7ff;--tint-accent:#2563eb;--tint-soft:#d9e8fe}
.tint-rose{--tint-bg:#fff2f7;--tint-accent:#db2777;--tint-soft:#fcdbe9}

/* Category strip */
.category-section{padding-top:22px}
.category-strip{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(132px,1fr);gap:12px;overflow-x:auto;padding:4px 2px 10px;scroll-snap-type:x proximity;scrollbar-width:thin}
.category-chip{scroll-snap-align:start;display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;padding:16px 10px 14px;background:#fff;border:1px solid var(--line);border-radius:18px;transition:transform .2s,box-shadow .2s,border-color .2s}
.category-chip:hover{transform:translateY(-3px);box-shadow:var(--shadow-md);border-color:var(--tint-soft)}
.category-chip-icon{display:grid;place-items:center;width:62px;height:62px;border-radius:18px;background:linear-gradient(145deg,var(--tint-bg),var(--tint-soft));margin-bottom:6px;font-size:30px;color:var(--tint-accent)}
.category-chip-icon .cat-emoji{font-size:30px}
.category-chip strong{color:var(--secondary);font-size:13.5px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.category-chip small{color:var(--muted);font-size:12px}
@media(max-width:700px){.category-strip{grid-auto-columns:104px;gap:9px}.category-chip{padding:12px 6px 10px;border-radius:14px}.category-chip-icon{width:50px;height:50px;border-radius:14px;font-size:24px}.category-chip-icon .cat-emoji{font-size:24px}.category-chip strong{font-size:12.5px}.category-chip small{font-size:11px}}

/* Homepage product rows */
.home-panel{background:var(--tint-bg);border-radius:24px;padding:20px 22px 22px;margin:18px 0}
.panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}
.panel-head p{margin:6px 0 0 4px;color:var(--muted);font-size:13px}
.panel-title{display:inline-flex;align-items:center;gap:9px;margin:0;padding:7px 18px 7px 12px;border-radius:999px;background:var(--tint-accent);color:#fff;font-size:18px;font-weight:800;letter-spacing:-.2px;box-shadow:0 8px 18px -10px var(--tint-accent)}
.panel-title i,.panel-title .cat-emoji{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#ffffff2e;font-size:15px;font-style:normal}
.panel-tools{display:flex;align-items:center;gap:8px;flex:none}
.panel-tools .view-more{background:#fff;color:var(--tint-accent)}
.panel-tools .view-more:hover{background:#fff;box-shadow:var(--shadow-sm)}
.row-arrow{display:none;width:36px;height:36px;border-radius:50%;border:1px solid var(--line);background:#fff;color:var(--secondary);place-items:center;font-size:15px;transition:.15s}
.row-scrollable .row-arrow{display:grid}
.row-arrow:hover:not(:disabled){background:var(--tint-accent);border-color:var(--tint-accent);color:#fff}
.row-arrow:disabled{opacity:.4;cursor:default}
.product-row{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 4 * 16px) / 5);gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:4px 2px 8px;margin:-4px -2px -8px}
.product-row::-webkit-scrollbar{display:none}
.product-row>.product-card{scroll-snap-align:start}
@media(max-width:1100px){.product-row{grid-auto-columns:calc((100% - 3 * 14px) / 4);gap:14px}}
@media(max-width:860px){.product-row{grid-auto-columns:calc((100% - 2 * 12px) / 3);gap:12px}}
@media(max-width:700px){
  .home-panel{border-radius:18px;padding:14px 0 16px;margin:14px -4px}
  .panel-head{padding:0 12px;flex-wrap:wrap;margin-bottom:10px}
  .panel-title{font-size:15.5px;padding:6px 14px 6px 8px}.panel-title i,.panel-title .cat-emoji{width:24px;height:24px;font-size:13px}
  .panel-head p{font-size:12px}
  .panel-tools .view-more{padding:6px 12px;font-size:13px}.row-scrollable .row-arrow{display:none}
  .product-row{grid-auto-columns:46%;gap:10px;padding:4px 12px 8px;margin:-4px 0 -8px;scroll-padding:0 12px}
}

/* Product cards (same layout as before, restyled) */
.product-grid{gap:18px}
.product-card{border:1px solid var(--line);border-radius:var(--radius);background:var(--card);box-shadow:var(--shadow-sm);display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s,border-color .2s}
.product-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);border-color:var(--primary-200)}
.product-image{background:var(--primary-50);margin:8px 8px 0;border-radius:12px;aspect-ratio:4/3}
.product-image img{transition:transform .35s}
.product-card:hover .product-image img{transform:scale(1.04)}
.badge{top:9px;left:9px;border-radius:999px;padding:4px 10px;font-size:11px;font-weight:800;letter-spacing:.2px;background:var(--primary);box-shadow:0 4px 10px -4px #0006;z-index:1}
.badge-hot{background:#ef4444}.badge-new{background:#16a34a}.badge-popular{background:var(--primary)}.badge-best{background:#d97706}.badge-limited{background:#db2777}.badge-sale{background:#0ea5e9}.badge-custom{background:var(--secondary)}
.discount-badge{position:absolute;left:9px;bottom:9px;z-index:1;background:#fff;color:#dc2626;border-radius:999px;padding:3px 9px;font-size:12px;font-weight:800;box-shadow:0 4px 12px -4px #0005}
.wishlist-button{top:16px;right:16px}
.wishlist-button button{width:34px;height:34px;border:0;background:#ffffffeb;color:var(--primary);box-shadow:0 4px 12px -4px #1e1b4b40;backdrop-filter:blur(4px)}
.wishlist-button button:hover{background:var(--primary);color:#fff}
.product-body{padding:12px 14px 14px;display:flex;flex-direction:column;flex:1}
.seller-line{font-size:11.5px;color:var(--muted)}
.seller-line span{display:inline-flex;align-items:center;gap:4px;overflow:hidden;text-overflow:ellipsis;min-width:0}
.seller-line i{color:var(--primary)}
.product-body h3{font-size:15px;line-height:1.4;color:var(--secondary);margin:6px 0 4px;height:42px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.product-body a:hover h3{color:var(--primary)}
.rating span{color:#f59e0b}.rating small{color:#9a97ad}
.product-meta{margin-top:auto;padding-top:10px}
.product-meta strong{font-size:18px;color:var(--secondary);display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 7px}
.price-now{color:var(--primary);font-weight:800}
.price-old{color:#9a97ad;font-size:.72em;font-weight:600}
.price-from{color:var(--muted)}
.buy-now{height:38px;border-radius:10px;background:var(--grad);font-size:13.5px;box-shadow:0 6px 14px -8px var(--primary)}
.buy-now:hover{filter:brightness(1.07)}
.add-cart{border:1.5px solid var(--primary-200);background:var(--primary-50);color:var(--primary);border-radius:10px}
.add-cart:hover{background:var(--primary);border-color:var(--primary);color:#fff}
.add-cart.icon-only{width:40px;height:38px}
.add-cart.disabled{width:100%;height:38px;background:#f4f3f8;border-color:var(--line);color:#9a97ad}
@media(max-width:700px){
  .product-grid{gap:10px}
  .product-image{margin:6px 6px 0;border-radius:10px}
  .product-body{padding:9px 10px 11px}
  .product-body h3{font-size:13.5px;height:38px}
  .product-meta strong{font-size:15.5px}
  .buy-now{height:34px;font-size:12.5px;border-radius:9px}.add-cart.icon-only{width:36px;height:34px;border-radius:9px}
  .wishlist-button{top:12px;right:12px}.wishlist-button button{width:30px;height:30px;font-size:14px}
  .badge{font-size:10px;padding:3px 8px;top:7px;left:7px}.discount-badge{font-size:11px;left:7px;bottom:7px}
}

/* Shop page */
.breadcrumb{color:var(--muted)}
.breadcrumb a{color:var(--primary);font-weight:600}
.filter-panel{border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-sm);padding:18px;align-self:start;position:sticky;top:16px}
.filter-panel h3{font-size:16px;margin:0 0 8px}
.filter-panel a{padding:9px 12px;border-radius:10px;color:var(--text);font-weight:500;font-size:14.5px}
.filter-panel a:hover{background:var(--primary-50);color:var(--primary);font-weight:500}
.filter-panel a.active{background:var(--primary-100);color:var(--primary-700);font-weight:700}
.shop-toolbar{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:16px 20px;box-shadow:var(--shadow-sm)}
.shop-toolbar h1{font-size:24px;letter-spacing:-.3px}
.shop-layout .product-grid{grid-template-columns:repeat(4,1fr)}
@media(max-width:1100px){.shop-layout .product-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){
  .filter-panel{position:static;border:0;box-shadow:none;padding:0 0 2px;border-radius:0;background:none}
  .filter-panel a{border:1px solid var(--line);border-radius:999px;background:#fff;font-size:13px}
  .filter-panel a.active{background:var(--primary);border-color:var(--primary);color:#fff}
  .shop-toolbar{padding:12px 14px}.shop-toolbar h1{font-size:20px}
  .shop-layout .product-grid{grid-template-columns:repeat(2,1fr)}
}

/* Cards used across product, cart, checkout, account and order pages */
.filter-panel,.checkout-card,.cart-card,.seller-card,.detail-card,.account-card,.account-stats a,.account-heading,.empty-state,.order-success{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-sm)}

/* Product page */
.detail-main-image{position:relative;background:var(--primary-50);border-radius:20px;border:1px solid var(--line);box-shadow:var(--shadow-sm)}
.detail-main-image .badge{top:16px;left:16px;font-size:12.5px;padding:5px 13px}
.detail-card h1{letter-spacing:-.5px}
.detail-buy-card .rating{font-size:13px}
.price-large{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px;color:var(--secondary)}
.price-large .price-old{font-size:.55em}
.discount-pill{align-self:center;background:#fee2e2;color:#dc2626;border-radius:999px;padding:4px 11px;font-size:14px;font-weight:800}
.type-note{background:var(--primary-50);border-color:var(--primary-100);color:var(--primary-700)}
.type-note i{color:var(--primary)}
.availability{background:#e9faf0;color:#15803d}
.variant-pill span{border-radius:10px;border-color:var(--line)}
.variant-pill:hover span{border-color:var(--primary-300)}
.variant-pill input:checked+span{border-color:var(--primary);background:var(--primary-50);color:var(--primary-700)}
.qty-input{border-color:var(--line);border-radius:10px}
.seller-card h3{font-size:17px}
.seller-points i{color:var(--primary)}

/* Cart, checkout and payment */
.cart-item img,.checkout-item img{border-radius:10px;border:1px solid var(--line)}
.cart-total-line.total{color:var(--primary);border-color:var(--line)}
.checkout-steps .active span{border-color:var(--primary);color:var(--primary);background:var(--primary-50)}
.pay-method{border-color:var(--primary-300);background:var(--primary-50);border-radius:12px}
.pay-method>i{color:var(--primary)}
.type-tag i{color:var(--primary)}
.edit-link{color:var(--primary)}
.notice{border-radius:12px}

/* Forms */
.form-group input,.form-group textarea,.form-group select{border:1.5px solid var(--line);border-radius:11px;padding:11px 13px;transition:border-color .15s,box-shadow .15s}
.form-group input:focus,.form-group textarea:focus,.form-group select:focus{border-color:var(--primary-300);box-shadow:var(--ring)}
.form-group label{color:var(--secondary);font-size:14px}
.password-toggle:focus-visible{outline-color:var(--primary)}

/* Login, register, password pages */
.store-auth{border-color:var(--line);border-radius:24px;box-shadow:var(--shadow-md)}
.auth-visual{background:radial-gradient(circle at 20% 15%,#ffffff26 0,transparent 45%),var(--grad)}
.auth-visual>i{color:#fff;opacity:.95}
.auth-visual p{color:#f3efff}
.auth-tabs{background:var(--primary-50);border-radius:12px}
.auth-tabs a{border-radius:9px;color:var(--muted)}
.auth-tabs a.active{color:var(--primary)}
.auth-options a,.back-login,.local-reset a{color:var(--primary)}
.auth-key{background:var(--primary-100);color:var(--primary)}
.auth-page{background:linear-gradient(135deg,var(--primary-50),#eef2ff)}

/* Account and orders */
.account-avatar{background:var(--grad)}
.account-stats strong{color:var(--primary)}
.account-stats a{transition:transform .2s,box-shadow .2s}.account-stats a:hover{transform:translateY(-2px);box-shadow:var(--shadow-md)}
.orders-list article{border-color:var(--line)}
.orders-list a,.empty-inline a{color:var(--primary)}
.empty-state>i{color:var(--primary)}
.order-info{background:var(--primary-50);border-radius:12px}

/* Footer */
.site-footer{background:var(--secondary);color:#cfcbe6;border-top:0;margin-top:56px;padding-top:52px;position:relative}
.site-footer:before{content:"";position:absolute;inset:0 0 auto;height:4px;background:var(--grad)}
.footer-grid{grid-template-columns:1.5fr 1fr 1fr 1.3fr;gap:32px}
.footer-grid h4{color:#fff;font-size:15.5px;margin-bottom:14px}
.footer-grid>div>a,.footer-grid>div>span{color:#c4c0dc;margin:10px 0;font-size:14.5px;transition:color .15s}
.footer-grid>div>a:hover{color:#fff}
.footer-grid i{color:var(--primary-300);margin-right:4px}
.footer-brand p{color:#b9b5d3}
.footer-grid .footer-brand>a.brand{color:#fff}
.footer-brand .brand-badge{background:#fff;border-radius:50%;padding:2px}
.socials a{background:#ffffff14!important;color:#fff!important;transition:background .15s}
.socials a:hover{background:var(--primary)!important}
.socials a i{color:inherit;margin:0}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin-top:40px;padding:20px 0 24px;border-top:1px solid #ffffff1f;font-size:13.5px;color:#a9a5c4}
.pay-accept{display:flex;align-items:center;gap:10px}
.bkash-chip{background:#e2136e;color:#fff;border-radius:7px;padding:5px 12px;font-size:13px;letter-spacing:.2px}

@media(max-width:1000px){.footer-grid{grid-template-columns:repeat(3,1fr)}.footer-brand{grid-column:1/-1}}
@media(max-width:700px){.site-footer{margin-top:36px;padding-top:36px}.footer-grid{grid-template-columns:1fr 1fr;gap:22px 16px}.footer-brand,.footer-contact{grid-column:1/-1}.footer-bottom{justify-content:center;text-align:center;margin-top:28px}}

/* Floating WhatsApp button */
.support-fab{background:#25d366;box-shadow:0 10px 24px -8px #25d366;transition:transform .2s}
.support-fab:hover{transform:scale(1.07)}

/* Phone refinements */
@media(max-width:700px){
  .topbar{flex-wrap:wrap}
  .topbar .brand{flex:1 1 0;min-width:0;font-size:16px;gap:8px}
  .topbar .brand>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .topbar .brand-badge{width:40px;height:40px}
  .header-actions{flex:none;margin-left:0}
  .nav-row .sell-link{display:none}
  .trust-strip .feature small{display:none}
  .trust-strip .feature{align-items:center}
  .rating small{display:none}
}
@media(max-width:380px){.header-actions i{width:34px;height:34px;font-size:16px}.header-actions .cart-count{left:22px}.topbar .brand{font-size:15px}}
@media(max-width:700px){.section-heading h2{font-size:21px}.section-heading p{font-size:12.5px}.view-all{padding:6px 12px;font-size:13px}}
@media(max-width:430px){.header-actions{gap:2px}.header-actions i{width:36px;height:36px;font-size:16px}.header-actions .cart-count{left:24px}.topbar{gap:6px}.topbar .brand{font-size:15.5px;gap:7px}.topbar .brand-badge{width:38px;height:38px}}

/* Slide and promo tile text typed in the admin, drawn over the image or over the two background colors */
.hero-slider,.promo-tile{container-type:inline-size}
.hero-slide,.promo-tile{position:relative;overflow:hidden;background:linear-gradient(120deg,var(--slide-c1,var(--primary)),var(--slide-c2,var(--accent)));color:#fff}
.hero-slide.no-image:before,.promo-tile.no-image:before{content:"";position:absolute;width:60%;aspect-ratio:1;right:-12%;top:-35%;border-radius:50%;background:#ffffff1f;pointer-events:none}
.hero-slide.no-image:after,.promo-tile.no-image:after{content:"";position:absolute;width:38%;aspect-ratio:1;right:4%;bottom:-30%;border-radius:50%;background:#ffffff17;pointer-events:none}
.has-image.has-text:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#0f0a28b3 0%,#0f0a2866 45%,transparent 75%);pointer-events:none}
.hero-slide img,.promo-tile img{position:absolute;inset:0}
.slide-copy{position:absolute;z-index:1;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:1.6cqi;padding:0 7cqi;max-width:72%;font-family:var(--font-main)}
.slide-title{font-size:clamp(20px,5.6cqi,58px);font-weight:800;line-height:1.08;letter-spacing:-.02em;text-shadow:0 2px 14px #0000002e;overflow-wrap:anywhere}
.slide-text{font-size:clamp(13px,2.2cqi,21px);line-height:1.4;opacity:.93;overflow-wrap:anywhere}
.slide-btn{display:inline-flex;align-items:center;gap:.5em;margin-top:1.2cqi;padding:.7em 1.4em;border-radius:999px;background:#fff;color:var(--slide-c1,var(--primary));font-weight:800;font-size:clamp(12px,1.9cqi,17px);box-shadow:0 8px 20px -8px #0006;transition:transform .2s}
a.hero-slide:hover .slide-btn,a.promo-tile:hover .slide-btn{transform:translateX(3px)}
.promo-tile .slide-copy{padding:0 8cqi;max-width:80%;gap:2cqi}
.promo-tile .slide-title{font-size:clamp(16px,8.5cqi,34px)}
.promo-tile .slide-text{font-size:clamp(11px,3.6cqi,16px)}
.promo-tile .slide-btn{font-size:clamp(11px,3.4cqi,14px);padding:.55em 1.1em}
@media(max-width:800px){.slide-copy{max-width:80%}.promo-tile .slide-text,.promo-tile .slide-btn{display:none}.promo-tile .slide-copy{max-width:90%}}
.slide-text{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
@media(max-width:800px){.hero-slide .slide-copy{padding-bottom:16px}.hero-slide .slide-text{-webkit-line-clamp:1}}
@media(max-width:420px){.hero-slide .slide-copy{max-width:88%;gap:4px}.hero-slide .slide-btn{margin-top:2px}}
@media(max-width:700px){.category-strip{scrollbar-width:none}.category-strip::-webkit-scrollbar{display:none}}
