/* ইসকুল শপ - frontend, Anek Bangla */
.ss-store, .ss-store * { font-family: 'Anek Bangla', system-ui, sans-serif; box-sizing: border-box; }
.ss-wrap { max-width: 1120px; margin: 0 auto; padding: 32px 16px; }
.ss-title { font-size: 38px; font-weight: 800; margin: 0 0 8px; color: #111827; }
.ss-sub { color: #6b7280; font-size: 17px; margin: 0 0 20px; }
/* v1.1.3: compact filter area - smaller, tighter chips and rows, so more
   products show above the fold. Chips stay readable and tappable. */
.ss-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.ss-chips-brand, .ss-chips-price { margin-top: -10px; }
.ss-chip-label { align-self: center; font-weight: 700; color: #374151; font-size: 14px; margin-right: 2px; }
.ss-search-meta { font-size: 15px; color: #374151; margin: 0 0 12px; }
.ss-search-meta a { color: #6D5EF8; }
.ss-chip { display: inline-block; padding: 6px 12px; border: 1px solid #d1d5db; border-radius: 999px; background: #fff; color: #374151; text-decoration: none; font-weight: 600; font-size: 14px; }
.ss-chip:hover { border-color: #6d5ef8; color: #6d5ef8; }
.ss-chip.active { background: #6d5ef8; border-color: #6d5ef8; color: #fff; }
/* v1.1.3: mobile category dropdown - the toggle button is hidden on desktop
   (chips show fully), on mobile it expands/collapses the chips list. */
.ss-cats-toggle { display: none; }
.ss-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
/* v1.1.2: shop home category sections - plain headings, same cards, minimal.
   v1.1.3: the "আরও পণ্য দেখুন" link sits in the header row (heading left,
   link right, brand purple), not below the grid. */
.ss-cat-section { margin-top: 36px; }
/* v1.2.0: Related Products on the single product page (above the footer) -
   same cards as the shop, same grid. */
.ss-related { margin-top: 44px; }
.ss-related-title { font-size: 24px; font-weight: 800; color: #111827; margin: 0 0 16px; }
.ss-cat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 0 0 16px; }
.ss-cat-title { font-size: 24px; font-weight: 800; color: #111827; margin: 0; }
.ss-more-link { color: #6d5ef8; font-weight: 700; text-decoration: none; font-size: 16px; white-space: nowrap; }
.ss-more-link:hover { text-decoration: underline; }
.ss-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.05); display: flex; flex-direction: column; }
.ss-cover { display: block; aspect-ratio: 1/1; background: #f3f4f6; overflow: hidden; position: relative; }
.ss-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ss-no-cover { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 800; color: #9ca3af; background: #f3f4f6; }
/* v1.1.3: badges FLOAT on the image (top-left pills) - no layout space of
   their own. Brand logo floats top-right, same idea, never clashing. */
.ss-badges-float { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.ss-badges-float .ss-badge { font-size: 12px; padding: 3px 9px; }
.ss-brand-logo { position: absolute; top: 10px; right: 10px; z-index: 2; width: 44px; height: 44px; object-fit: contain; background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 4px; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.ss-cover img.ss-brand-logo, .ss-single-cover img.ss-brand-logo { width: 44px; height: 44px; aspect-ratio: auto; object-fit: contain; border-radius: 8px; }
/* v1.1.3: discount % badge on the image (BOTTOM-LEFT pill, "-৫%" off MRP).
   Badges float top-left, brand logo top-right, so nothing clashes. */
.ss-discount-badge { position: absolute; bottom: 10px; left: 10px; z-index: 2; background: #dc2626; color: #fff; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.ss-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
/* v1.1.3: the card button sits at the BOTTOM of the card - margin-top:auto
   pushes it down, so uneven titles no longer make uneven buttons. */
.ss-body .ss-btn { margin-top: auto; }
.ss-cat { font-size: 13px; font-weight: 700; color: #0f766e; background: #ccfbf1; padding: 3px 10px; border-radius: 999px; display: inline-block; width: fit-content; }
.ss-name { font-size: 20px; font-weight: 700; margin: 0; line-height: 1.35; }
.ss-name a { color: #111827; text-decoration: none; }
.ss-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.ss-badge { font-size: 13px; font-weight: 700; background: #111827; color: #fff; padding: 3px 10px; border-radius: 999px; }
.ss-badge-new { background: #15803d; }
.ss-badge-hot { background: #dc2626; }
.ss-badge-best { background: #6d5ef8; }
/* v1.1.3: Offer = purple now (was amber #b45309). Anything else is purple too. */
.ss-badge-offer { background: #6d5ef8; }
.ss-badge-low { background: #fef3c7; color: #92400e; border: 1px solid #fcd34d; }
.ss-badge-out { background: #e5e7eb; color: #6b7280; }
.ss-price { font-size: 17px; color: #111827; }
.ss-price del { color: #9ca3af; margin-right: 6px; }
.ss-price-big { font-size: 26px; margin: 12px 0 4px; }
.ss-stock { font-size: 14px; color: #6b7280; }
.ss-btn { display: inline-block; background: #6d5ef8; color: #fff !important; text-decoration: none; padding: 12px 20px; border-radius: 12px; font-weight: 700; text-align: center; border: 0; cursor: pointer; font-size: 16px; box-shadow: 0 4px 14px rgba(109, 94, 248, .35); transition: background .15s ease, box-shadow .15s ease, transform .15s ease; }
.ss-btn:hover { background: #5848e8; box-shadow: 0 6px 18px rgba(88, 72, 232, .4); }
/* v1.1.3: outline button (Add to Cart next to Buy Now) - white, purple
   border + text. */
.ss-btn-outline { background: #fff; color: #6d5ef8 !important; border: 2px solid #6d5ef8; box-shadow: none; }
.ss-btn-outline:hover { background: #f8f7ff; box-shadow: none; }
.ss-btn-big { width: 100%; padding: 16px; font-size: 18px; margin-top: 12px; }
.ss-btn-small { padding: 8px 14px; font-size: 14px; }
.ss-notice { background: #fef3c7; border: 1px solid #fcd34d; padding: 14px 16px; border-radius: 10px; margin: 16px 0; }
.ss-success { background: #d1fae5; border-color: #6ee7b7; }
/* v1.1.3: support thank-you notice - dismissible with the X button. */
.ss-thanks { position: relative; padding-right: 44px; }
.ss-thanks-close { position: absolute; top: 8px; right: 10px; border: 0; background: transparent; font-size: 22px; line-height: 1; color: #374151; cursor: pointer; padding: 4px 8px; }
.ss-single-grid { display: grid; grid-template-columns: 380px 1fr; gap: 36px; }
/* v1.1.2: the cover box is a fixed 1/1 square (align-self:start stops the
   grid item stretching to the height of the tall buy-form column). The
   placeholder tile fills it, exactly like the listing card tile; the
   rounded border matches the product image's frame on this page. */
.ss-single-cover { aspect-ratio: 1/1; align-self: start; position: relative; }
.ss-single-cover .ss-no-cover { border-radius: 16px; border: 1px solid #e5e7eb; }
.ss-single-cover img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 16px; border: 1px solid #e5e7eb; }
/* v1.1.3: gallery - main image + clickable thumbnails below it. */
.ss-single-gallery { align-self: start; }
.ss-gallery-thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.ss-gallery-thumb { width: 72px; height: 72px; padding: 0; border: 2px solid #e5e7eb; border-radius: 10px; overflow: hidden; cursor: pointer; background: #fff; }
.ss-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ss-gallery-thumb.active { border-color: #6d5ef8; }
/* v1.1.3: short description (under the price) + detailed description below
   the buy area. */
.ss-short-desc { color: #374151; font-size: 16px; line-height: 1.7; margin: 8px 0 0; }
.ss-details { margin-top: 40px; border-top: 1px solid #e5e7eb; padding-top: 24px; }
.ss-details-title { font-size: 22px; font-weight: 800; color: #111827; margin: 0 0 12px; }
/* v1.1.3: Buy Now + Add to Cart side by side in one row on PC (equal
   width), stacked on mobile. */
.ss-buy-actions { display: flex; gap: 12px; margin-top: 12px; }
.ss-buy .ss-buy-actions .ss-btn { flex: 1 1 0; margin-top: 0; padding: 14px 12px; font-size: 17px; }
.ss-desc { color: #374151; line-height: 1.8; font-size: 17px; }
.ss-buy { margin-top: 20px; background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 14px; padding: 20px; }
.ss-form-error { background: #fee2e2; border: 1px solid #fca5a5; color: #991b1b; font-weight: 700; font-size: 16px; padding: 12px 14px; border-radius: 10px; margin: 16px 0 4px; }
.ss-form-error[hidden] { display: none; }
.ss-variants-error { border: 2px solid #dc2626 !important; border-radius: 12px; background: #fef2f2; padding: 10px 12px; }
.ss-variants-error legend { color: #991b1b; }
.ss-variants legend, .ss-paymethods legend { font-weight: 800; font-size: 18px; }
.ss-var-opt { display: inline-flex; gap: 8px; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 10px 16px; margin: 8px 8px 0 0; cursor: pointer; font-weight: 600; }
.ss-var-opt input { display: none; }
.ss-var-opt.selected { border-color: #6d5ef8; background: #f8f7ff; box-shadow: 0 0 0 1px #6d5ef8; color: #4c1d95; }
.ss-pay-opt { display: flex; gap: 10px; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 14px; margin: 10px 0; cursor: pointer; }
.ss-pay-opt input { margin-top: 5px; }
.ss-pay-opt small { display: block; color: #6b7280; }
.ss-pay-opt.selected { border-color: #6d5ef8; background: #f8f7ff; box-shadow: 0 0 0 1px #6d5ef8; }
.ss-fields input, .ss-fields textarea, .ss-shipping input, .ss-shipping textarea { width: 100%; padding: 11px 12px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 16px; font-family: inherit; }
.ss-note { color: #6b7280; font-size: 14px; }
.ss-top-links { margin: 16px 0 4px; }
.ss-buy .ss-btn { margin-top: 12px; }
.ss-buy .ss-btn-big { margin-top: 12px; margin-bottom: 0; }
.ss-total-line { font-size: 18px; font-weight: 800; color: #111827; margin: 16px 0 4px; }
.ss-cod-line { font-size: 16px; font-weight: 700; color: #4c1d95; background: #f8f7ff; border: 1px solid #e9e7f7; padding: 10px 12px; border-radius: 8px; margin: 8px 0 4px; }
/* v1.2.0: the one-line COD note on the PRODUCT page is small + regular
   weight (13px, not bold). The cart checkout COD lines keep the bold
   .ss-cod-line style above - this rule only touches the product-page note
   (ss-cod-note). The red COD-off warning keeps its bold style. */
.ss-cod-line.ss-cod-note { font-weight: 400; font-size: 13px; }
/* v1.2.0: Quick Details - best features as bullets in the upper info area
   (under price/stock), plain, NOT inside a card. Hidden entirely when the
   product has no quick features (the template checks that). */
.ss-quick-details { margin: 16px 0 4px; }
.ss-quick-title { font-size: 17px; font-weight: 800; color: #111827; margin: 0 0 8px; }
.ss-quick-list { margin: 0; padding-left: 20px; color: #374151; font-size: 15px; line-height: 1.7; }
.ss-quick-list li { margin-bottom: 4px; }
.ss-quick-list li::marker { color: #6d5ef8; }
/* v1.1.3: the COD split line is hidden unless COD is the selected payment
   method (server renders it hidden - online is the default - JS reveals it). */
.ss-cod-line[hidden] { display: none; }
/* v1.1.0: always-visible price breakdown (products + delivery + total) and
   the mandatory consent checkbox. */
.ss-breakdown { border: 1px solid #e5e7eb; border-radius: 12px; padding: 14px 16px; margin: 18px 0 8px; background: #f9fafb; }
.ss-bd-row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 16px; color: #374151; }
/* v1.2.0 fix: [hidden] does NOT hide an element whose display is set by
   author CSS (.ss-bd-row is display:flex, which beats the UA stylesheet's
   [hidden]{display:none}). Without this, the COD charge row stayed visible
   on full payment showing 0 ৳. Same pattern as .ss-cod-line[hidden] below. */
.ss-bd-row[hidden] { display: none; }
.ss-bd-row strong { color: #111827; white-space: nowrap; }
.ss-bd-total { border-top: 1px solid #e5e7eb; margin-top: 8px; padding-top: 10px; font-size: 18px; font-weight: 800; }
.ss-breakdown .ss-cod-line { margin-top: 10px; }
.ss-consent { margin: 14px 0; font-size: 15px; line-height: 1.6; color: #374151; }
.ss-consent input { width: 18px; height: 18px; vertical-align: -3px; margin-right: 6px; accent-color: #6D5EF8; }
.ss-consent a { color: #6D5EF8; text-decoration: underline; }
.ss-hint { display: block; color: #6b7280; font-size: 13px; margin-top: 4px; }
.ss-fields select, .ss-shipping select { width: 100%; padding: 11px 12px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 16px; font-family: inherit; background: #fff; height: 46px; }
.ss-cart-table { width: 100%; border-collapse: collapse; margin: 16px 0; background: #fff; }
.ss-cart-table th, .ss-cart-table td { border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; }
.ss-order { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 18px; margin-bottom: 18px; }
.ss-order-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.ss-order-status { display: flex; gap: 8px; flex-wrap: wrap; }
.ss-status { font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #e5e7eb; color: #374151; }
.ss-pay-paid, .ss-ship-delivered { background: #d1fae5; color: #065f46; }
.ss-pay-partial, .ss-ship-shipped, .ss-ship-confirmed { background: #dbeafe; color: #1e40af; }
.ss-pay-pending, .ss-ship-pending { background: #fef3c7; color: #92400e; }
.ss-pay-failed, .ss-ship-cancelled, .ss-ship-returned { background: #fee2e2; color: #991b1b; }

.ss-auth-wrap { display: flex; justify-content: center; padding: 40px 16px 60px; }
.ss-auth-card { width: 100%; max-width: 460px; background: #fff; border: 1px solid #e5e7eb; border-radius: 18px; box-shadow: 0 8px 30px rgba(0,0,0,.08); padding: 32px 28px; }
.ss-auth-brand { font-size: 34px; font-weight: 800; color: #111827; text-align: center; }
.ss-auth-sub { text-align: center; color: #6b7280; font-size: 15px; margin: 4px 0 20px; }
.ss-auth-tabs { display: flex; gap: 8px; margin-bottom: 20px; }
.ss-auth-tab { flex: 1; padding: 12px; border: 1px solid #e5e7eb; background: #f9fafb; border-radius: 10px; font-weight: 700; font-size: 16px; cursor: pointer; font-family: inherit; color: #374151; }
.ss-auth-tab.active { background: #6d5ef8; color: #fff; border-color: #6d5ef8; }
.ss-auth-card input[type="text"], .ss-auth-card input[type="email"], .ss-auth-card input[type="password"], .ss-auth-card input[type="tel"] { width: 100%; padding: 12px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 16px; font-family: inherit; }
.ss-auth-card label { font-weight: 600; font-size: 15px; color: #111827; }
.ss-auth-btn { width: 100%; }
.ss-check { font-weight: 400 !important; font-size: 14px !important; color: #6b7280 !important; }
.ss-auth-back { text-align: center; margin-top: 20px; }

/* v1.1.0 - Skool Shop header: the shop's own visual identity (shop pages
 * only). Simple and minimal: white bar, "ইসকুল শপ" brand in purple, the
 * same menu links as the main site, cart link. No gradients, no extra
 * colours, no animations. Loaded on every page via wp_enqueue_scripts,
 * but the markup only exists on shop pages. */
.ss-shop-header { background: #fff; border-bottom: 1px solid #e5e7eb; font-family: 'Anek Bangla', system-ui, sans-serif; }
.ss-shop-header-inner { max-width: 1120px; margin: 0 auto; padding: 18px 16px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.ss-shop-brand { font-size: 24px; font-weight: 800; color: #6D5EF8; text-decoration: none; line-height: 1.2; white-space: nowrap; }
.ss-shop-brand:hover { color: #5848E8; }
/* v1.1.3: header layout - brand LEFT, search in the MIDDLE, nav RIGHT.
   The search box moved up here from the shop page. */
.ss-shop-search { display: flex; gap: 8px; flex: 1 1 auto; max-width: 480px; margin: 0 auto; min-width: 0; }
.ss-shop-search input[type="search"] { flex: 1; min-width: 0; padding: 10px 14px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 16px; font-family: inherit; background: #fff; color: #111827; }
.ss-shop-search input[type="search"]:focus { outline: none; border-color: #6D5EF8; }
.ss-shop-search .ss-btn { padding: 10px 18px; box-shadow: none; }
.ss-shop-nav { margin-left: auto; }
.ss-shop-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; justify-content: flex-end; }
.ss-shop-menu li { margin: 0; padding: 0; }
.ss-shop-menu a { color: #374151; text-decoration: none; font-size: 15px; font-weight: 600; padding: 6px 2px; display: inline-block; }
.ss-shop-menu a:hover { color: #6D5EF8; }
.ss-shop-menu .current-menu-item a, .ss-shop-menu .current_page_item a { color: #6D5EF8; font-weight: 700; }
.ss-shop-cart { color: #6D5EF8; font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid #6D5EF8; border-radius: 8px; padding: 8px 14px; white-space: nowrap; }
.ss-shop-cart:hover { background: #6D5EF8; color: #fff; }
/* v1.1.3: mobile header actions - hidden on desktop (see the min-width
   guard below); on mobile they sit on the right, search icon FIRST, then
   the hamburger. The panels are plain dropdowns, no animations. */
.ss-shop-mobile-actions { display: none; margin-left: auto; gap: 4px; }
.ss-mobile-icon-btn { width: 44px; height: 44px; border: 0; background: transparent; color: #374151; cursor: pointer; padding: 0; display: flex; align-items: center; justify-content: center; border-radius: 8px; }
.ss-mobile-icon-btn:hover { color: #6D5EF8; background: #f8f7ff; }
.ss-mobile-search { border-top: 1px solid #e5e7eb; padding: 12px 16px; background: #fff; }
.ss-mobile-search form { display: flex; gap: 8px; max-width: 560px; margin: 0 auto; }
.ss-mobile-search input[type="search"] { flex: 1; min-width: 0; padding: 10px 14px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 16px; font-family: inherit; background: #fff; color: #111827; }
.ss-mobile-search input[type="search"]:focus { outline: none; border-color: #6D5EF8; }
.ss-mobile-menu { border-top: 1px solid #e5e7eb; background: #fff; padding: 4px 16px 12px; }
.ss-mobile-menu .ss-shop-menu { flex-direction: column; gap: 0; justify-content: flex-start; }
.ss-mobile-menu .ss-shop-menu a { display: block; padding: 12px 2px; border-bottom: 1px solid #f3f4f6; font-size: 16px; }
@media (min-width: 721px) {
  /* Desktop guard: the mobile actions and panels never show here, even if
     JS removed [hidden] - the desktop nav + search are the real ones. */
  .ss-shop-mobile-actions, .ss-mobile-search, .ss-mobile-menu { display: none !important; }
}

/* v1.1.1: minimal shop footer (shop pages only) + account page. */
.ss-shop-footer { background: #fff; border-top: 1px solid #e5e7eb; font-family: 'Anek Bangla', system-ui, sans-serif; }
.ss-shop-footer-inner { max-width: 1120px; margin: 0 auto; padding: 24px 16px 28px; text-align: center; }
.ss-shop-footer-brand { font-size: 20px; font-weight: 800; color: #6D5EF8; margin-bottom: 10px; }
/* v1.1.3: trust tagline under the brand name - main line, then a smaller line. */
.ss-shop-footer-tagline { color: #374151; font-size: 15px; font-weight: 600; margin: 0 0 4px; }
.ss-shop-footer-tagline-small { color: #6b7280; font-size: 13px; font-weight: 400; margin: 0 0 12px; }
.ss-shop-footer-nav { display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: center; margin-bottom: 10px; }
.ss-shop-footer-nav a { color: #374151; text-decoration: none; font-size: 14px; font-weight: 600; }
.ss-shop-footer-nav a:hover { color: #6D5EF8; }
.ss-shop-footer-contact { color: #6b7280; font-size: 14px; margin: 0; }
.ss-account-h { font-size: 24px; font-weight: 800; color: #111827; margin: 28px 0 12px; }
.ss-account .ss-buy { margin-top: 0; }

/* v1.1.3: offers slideshow (shop home, above the category sections).
   One slide at a time, auto-advance 5s, dots + prev/next arrows. Plain CSS
   + tiny JS, no slider library. Nothing renders when no slides exist. */
.ss-slideshow { position: relative; margin: 4px 0 8px; border-radius: 16px; overflow: hidden; }
.ss-slides { position: relative; }
.ss-slide { display: none; aspect-ratio: 16/5; border-radius: 16px; overflow: hidden; text-decoration: none; }
.ss-slide.active { display: block; }
.ss-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ss-slide-text { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 100%; background: #f8f7ff; border: 1px solid #e9e7f7; border-radius: 16px; }
.ss-slide-type { font-size: 13px; font-weight: 700; color: #fff; background: #6d5ef8; padding: 4px 12px; border-radius: 999px; }
.ss-slide-name { font-size: 30px; font-weight: 800; color: #111827; }
.ss-slide-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 1px solid #e5e7eb; background: #fff; color: #374151; font-size: 22px; line-height: 1; cursor: pointer; z-index: 3; padding: 0 0 2px; }
.ss-slide-prev { left: 12px; }
.ss-slide-next { right: 12px; }
.ss-slide-arrow:hover { border-color: #6d5ef8; color: #6d5ef8; }
.ss-slide-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; gap: 8px; justify-content: center; z-index: 3; }
.ss-slide-dot { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.7); box-shadow: 0 0 0 1px rgba(0,0,0,.15); padding: 0; cursor: pointer; }
.ss-slide-dot.active { background: #6d5ef8; }

/* v1.1.3: pagination for the filtered / search product list. */
.ss-pagination { margin: 28px 0 8px; text-align: center; }
.ss-pagination .page-numbers { display: inline-block; min-width: 40px; padding: 8px 12px; margin: 0 3px; border: 1px solid #d1d5db; border-radius: 8px; background: #fff; color: #374151; text-decoration: none; font-weight: 600; font-size: 15px; }
.ss-pagination a.page-numbers:hover { border-color: #6d5ef8; color: #6d5ef8; }
.ss-pagination .page-numbers.current { background: #6d5ef8; border-color: #6d5ef8; color: #fff; }
.ss-pagination .page-numbers.dots { border: 0; background: transparent; min-width: 0; padding: 8px 4px; }

/* v1.1.3: scroll-to-top - small purple circle, bottom-right, hidden at the
   top of the page (JS removes [hidden] after ~300px of scrolling). */
.ss-to-top { position: fixed; right: 16px; bottom: 20px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #6d5ef8; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; z-index: 50; box-shadow: 0 4px 14px rgba(109, 94, 248, .4); padding: 0 0 2px; }
.ss-to-top:hover { background: #5848e8; }
.ss-to-top[hidden] { display: none; }

/* v1.2.0: offers - coupon box, offer notes, free-delivery badge, threshold
   offers + bundle offers on the shop home. Brand purple only, no gradients. */
.ss-coupon-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 12px 0; }
.ss-coupon-form input[type="text"] { padding: 9px 10px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 15px; text-transform: uppercase; }
.ss-coupon-applied { background: #f8f7ff; border: 1px solid #e9e7f7; border-radius: 8px; padding: 10px 12px; font-size: 15px; margin: 12px 0; }
.ss-offer-note { background: #f8f7ff; border: 1px solid #e9e7f7; border-radius: 8px; padding: 10px 12px; font-size: 15px; margin: 8px 0; color: #374151; }
.ss-badge-free { background: #16a34a; color: #fff; }
.ss-cod-off-note { color: #b91c1c; font-weight: 700; }
.ss-offers-section { margin: 8px 0 20px; }
.ss-offers-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ss-offer-row { background: #f8f7ff; border: 1px solid #e9e7f7; border-radius: 10px; padding: 10px 14px; font-size: 15px; color: #374151; }
.ss-offers-note { font-size: 13px; color: #6b7280; margin: 8px 0 0; }
.ss-bundles-section { margin: 8px 0 20px; }
.ss-bundle-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.ss-bundle-card { border: 1px solid #e5e7eb; border-radius: 12px; padding: 16px; background: #fff; display: flex; flex-direction: column; }
.ss-bundle-name { font-size: 18px; font-weight: 800; color: #111827; margin: 0 0 8px; }
.ss-bundle-items { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 4px; font-size: 14px; color: #374151; }
.ss-bundle-price { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; }
.ss-bundle-regular { text-decoration: line-through; color: #9ca3af; font-size: 15px; }
.ss-bundle-now { font-size: 20px; font-weight: 800; color: #6d5ef8; }
.ss-bundle-save { font-size: 13px; font-weight: 700; color: #16a34a; }
.ss-bundle-actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.ss-bundle-form { margin: 0; }
@media (max-width: 720px) {
  .ss-bundle-grid { grid-template-columns: 1fr; }
  .ss-coupon-form input[type="text"] { flex: 1; min-width: 0; }
}

/* NOTE (v1.2.0 fix): the mobile media queries live at the END of this
   file on purpose. At equal specificity the LAST rule wins, so the
   <=720px rules used to sit BEFORE the base header rules and were
   silently overridden by them (search icon + hamburger never showed
   on phones). Keep the narrowest query last. */
/* v1.1.3: mobile (<=720px) - the whole shop stacks cleanly at ~360px:
   header (brand + search icon + hamburger), slideshow, compact filters +
   category dropdown, category sections, cards, single product, cart +
   checkout, orders + account, scroll-to-top. No horizontal overflow. */
@media (max-width: 720px) {
  .ss-wrap { padding: 20px 12px 28px; }
  .ss-single-grid { grid-template-columns: 1fr; gap: 20px; }
  .ss-title { font-size: 30px; }
  /* Header: desktop nav + search hide, mobile icon buttons show. */
  .ss-shop-nav, .ss-shop-search { display: none; }
  .ss-shop-mobile-actions { display: flex; }
  .ss-shop-header-inner { gap: 8px; }
  /* Category chips collapse into the "ক্যাটাগরি" dropdown. */
  .ss-cats-toggle { display: block; width: 100%; text-align: left; padding: 10px 14px; border: 1px solid #d1d5db; border-radius: 10px; background: #fff; font-family: inherit; font-size: 15px; font-weight: 700; color: #111827; cursor: pointer; margin-bottom: 10px; }
  .ss-cats-toggle .ss-cats-arrow { float: right; color: #6d5ef8; }
  .ss-cats-mobile .ss-chips-cat { display: none; }
  .ss-cats-mobile.open .ss-chips-cat { display: flex; }
  /* v1.2.0: mobile spacing - the filter rows ran together (the desktop
     -10px pull-up on the brand/price rows and the tight gaps). Each filter
     group gets its own breathing room on mobile. */
  .ss-cats-mobile { margin-bottom: 8px; }
  .ss-chips { margin-bottom: 18px; }
  .ss-chips-brand, .ss-chips-price { margin-top: 0; }
  .ss-search-meta { margin-bottom: 16px; }
  /* Slideshow: taller slide, smaller text + arrows. */
  .ss-slide { aspect-ratio: 16/7; }
  .ss-slide-name { font-size: 22px; }
  .ss-slide-arrow { width: 36px; height: 36px; font-size: 20px; }
  .ss-slide-dots { bottom: 8px; }
  .ss-slideshow { margin: 8px 0 20px; }
  /* Category section head + grid. */
  .ss-cat-title { font-size: 20px; }
  .ss-grid { gap: 20px; }
  .ss-cat-section { margin-top: 32px; }
  /* Cards: smaller badges + logo on the image, button still at the bottom. */
  .ss-badges-float { top: 8px; left: 8px; }
  .ss-brand-logo, .ss-cover img.ss-brand-logo, .ss-single-cover img.ss-brand-logo { width: 36px; height: 36px; top: 8px; right: 8px; }
  .ss-discount-badge { bottom: 8px; left: 8px; }
  .ss-body { padding: 14px; }
  /* Single product: buttons stack, thumbs smaller, form padding tighter. */
  .ss-buy-actions { flex-direction: column; }
  .ss-gallery-thumb { width: 60px; height: 60px; }
  .ss-buy { padding: 16px; }
  .ss-details { margin-top: 28px; }
  /* v1.2.0: Related Products on the single product page. */
  .ss-related { margin-top: 32px; }
  .ss-related-title { font-size: 20px; }
  /* Cart + order tables stack into cards (header row hidden).
     v1.3.1: tidy mobile cart - product row on top, variant + price
     side by side, qty + line total side by side, remove right. */
  .ss-cart-table { display: block; border: 0; background: transparent; }
  .ss-cart-table tbody { display: block; }
  .ss-cart-table tr { display: flex; flex-wrap: wrap; align-items: center; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; margin-bottom: 12px; padding: 12px 14px; gap: 4px 12px; }
  .ss-cart-table tr:first-child { display: none; }
  .ss-cart-table td { display: block; border: 0; padding: 2px 0; }
  .ss-cart-table td:nth-child(1) { flex: 1 1 100%; display: flex; align-items: center; gap: 10px; font-weight: 700; }
  .ss-cart-table td:nth-child(1) img { width: 64px !important; height: 64px !important; object-fit: cover; border-radius: 8px; margin-right: 0 !important; flex: none; }
  .ss-cart-table td:nth-child(2) { flex: 1 1 auto; color: #6b7280; font-size: 14px; }
  .ss-cart-table td:nth-child(2)::before { content: "রঙ / সাইজ: "; color: #9ca3af; }
  .ss-cart-table td:nth-child(3) { flex: 0 0 auto; color: #6b7280; font-size: 14px; }
  .ss-cart-table td:nth-child(3)::before { content: "দাম: "; color: #9ca3af; }
  .ss-cart-table td:nth-child(4) { flex: 1 1 55%; }
  .ss-cart-table td:nth-child(5) { flex: 1 1 30%; text-align: right; font-weight: 800; font-size: 16px; }
  .ss-cart-table td:nth-child(5)::before { content: "মোট: "; color: #9ca3af; font-weight: 400; font-size: 14px; }
  .ss-cart-table td:nth-child(6) { flex: 1 1 100%; text-align: right; }
  /* Totals row: label left, amount right, no extra labels. */
  .ss-cart-table tr:last-child { justify-content: space-between; }
  .ss-cart-table tr:last-child td:nth-child(1) { flex: 1 1 auto; }
  .ss-cart-table tr:last-child td:nth-child(2) { flex: 0 0 auto; font-weight: 800; font-size: 16px; color: #111827; text-align: right; }
  .ss-cart-table tr:last-child td:nth-child(2)::before { content: ""; }
  .ss-cart-table tr:last-child td:nth-child(3) { display: none; }
  .ss-order { padding: 14px; }
  .ss-order-head { flex-direction: column; }
  /* Auth card + to-top. */
  .ss-auth-wrap { padding: 24px 12px 40px; }
  .ss-auth-card { padding: 24px 18px; }
  .ss-to-top { right: 12px; bottom: 16px; }
}

@media (max-width: 640px) {
  .ss-shop-header-inner { padding: 14px 16px; gap: 12px; }
  .ss-shop-brand { font-size: 20px; }
}
