/* Shahe Bazar storefront theme.
   Top (Swapno style): red header, white category nav, line-icon category list,
   hero with yellow arrows, category photos with yellow labels.
   Below: product sections, category blocks (big picture + grid) and a pair of
   category banners after every section. Loaded after site.css. */

:root {
  --primary: #E90000;
  --primary-dark: #C40000;
  --primary-50: #FFF5F5;
  --primary-100: #FFE4E4;
  --pill-line: #FF8585;
  --yellow: #FFD800;
  --amber: #FFBF00;
  --navy: #0c1c30;
  --ink: #171717;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #f8fafc;

  /* Older rules use these names for the accent; point them at the theme. */
  --green-900: #8A0000;
  --green-800: var(--primary-dark);
  --green-700: var(--primary);
  --green-600: #FF1A1A;
  --green-100: var(--primary-100);
  --green-50: var(--primary-50);
  --red-600: var(--primary);
  --red-700: var(--primary-dark);
  --red-50: var(--primary-50);
  --main: var(--primary);
  --cream: #f7f7f7;
  --cream-2: #f1f5f9;
  --offwhite: var(--bg);
  --tile: #ffffff;

  --sans: Arial, Helvetica, "Hind Siliguri", sans-serif;
  --serif: var(--sans);
  --wrap: 1920px;
  --radius: 12px;
  --radius-sm: 8px;
}

body { background: var(--bg); color: var(--text); font-size: 15px; }
.wrap { padding: 0 16px; }
h1, h2, h3, h4 { letter-spacing: 0; }
.btn { border-radius: 8px; font-weight: 700; }
.btn:hover { box-shadow: none; }

/* ---------- Red header ---------- */
.sw-header { position: relative; background: #fff; box-shadow: none; }
.sw-top { background: var(--primary); color: #fff; }
.sw-top-row { min-height: 76px; gap: 14px; }
.sw-header .nav-toggle { color: #fff; }
.sw-header .nav-toggle:hover { background: rgba(255, 255, 255, .15); }
.sw-logo { display: inline-flex; align-items: center; background: #fff; border-radius: 8px; padding: 5px 10px; flex-shrink: 0; }
.sw-header .sw-logo img, .site-header.is-scrolled .sw-logo img { height: 42px; width: auto; filter: none; }
.sw-pill { height: 47px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--pill-line); background: transparent; color: #fff; border-radius: 6px; padding: 0 16px; white-space: nowrap; font-weight: 700; font-size: 14px; transition: background .15s; flex-shrink: 0; }
.sw-pill:hover { background: rgba(255, 255, 255, .12); }
.sw-pill .icon { width: 18px; height: 18px; }
.sw-loc { justify-content: center; }
.sw-hot { background: var(--amber); color: #111; border-color: #FFDA4D; }
.sw-hot:hover { background: #ffcf33; }
.sw-header .hsearch { flex: 1; max-width: 790px; }
.sw-header .hsearch-form { height: 47px; border: 0; border-radius: 7px; background: #fff; overflow: hidden; box-shadow: none; }
.sw-header .hsearch-form:focus-within { box-shadow: 0 0 0 3px rgba(255, 216, 0, .55); }
.sw-header .hsearch-form input { font-size: 16px; padding: 0 16px; color: #111; }
.sw-header .hs-btn { width: 64px; padding: 0; justify-content: center; background: var(--yellow); color: #111; border-radius: 0; }
.sw-header .hs-btn:hover { background: #f2cd00; }
.sw-header .hs-btn .icon { width: 24px; height: 24px; }
.sw-icon { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 47px; color: #fff; border-radius: 6px; flex-shrink: 0; }
.sw-icon:hover { background: rgba(255, 255, 255, .12); }
.sw-icon .icon { width: 24px; height: 24px; }
.sw-icon .count-badge { top: 4px; right: 2px; }
.sw-bag strong { font-size: 15px; }
.sw-bag .cb-ico { position: relative; display: inline-flex; }
.sw-bag .cb-ico .icon { width: 22px; height: 22px; }
.sw-header .count-badge { background: var(--yellow); color: #111; border-color: var(--primary); }
.sw-bag .count-badge { top: -9px; right: -10px; }

/* ---------- White category nav ---------- */
.sw-nav { background: #fff; border-bottom: 1px solid #ddd; }
.sw-nav-row { display: flex; align-items: stretch; gap: 32px; min-height: 50px; }
.sw-nav .allcats { height: auto; }
.sw-shopcat { height: 100%; min-height: 50px; background: none; color: var(--ink); padding: 0; border-radius: 0; font-size: 16px; font-weight: 700; gap: 10px; }
.sw-shopcat:hover { background: none; color: var(--primary); }
.sw-shopcat .icon { width: 20px; height: 20px; }
.sw-nav .mega { top: 100%; border-radius: 0 0 10px 10px; }
.sw-nav-links { display: flex; align-items: center; justify-content: center; gap: 36px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; font-size: 16px; white-space: nowrap; }
.sw-nav-links::-webkit-scrollbar { display: none; }
.sw-nav-links > :first-child { margin-left: auto; }
.sw-nav-links > :last-child { margin-right: auto; }
.sw-nav-links a { display: inline-flex; align-items: center; gap: 6px; height: 50px; color: var(--ink); border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.sw-nav-links a:hover, .sw-nav-links a.active { color: var(--primary); }
.sw-nav-links a.active { border-bottom-color: var(--primary); }
.sw-nav-links .ql-hot { background: none !important; color: var(--primary) !important; font-weight: 700; padding: 0; border-radius: 0; height: 50px; }
.sw-nav-links .icon { width: 17px; height: 17px; }
.sw-nav-right { display: flex; align-items: center; gap: 24px; font-size: 15px; white-space: nowrap; }
.sw-nav-right a { display: inline-flex; align-items: center; gap: 8px; color: #444; }
.sw-nav-right a:hover { color: var(--primary); }
.sw-nav-right .icon { width: 18px; height: 18px; color: #666; }

/* ---------- Home top: category list + hero + category photos ---------- */
.sw-home { display: grid; grid-template-columns: 355px minmax(0, 1fr); gap: 20px; background: #fff; }
.sw-home.no-side { grid-template-columns: minmax(0, 1fr); }
/* The list takes no height of its own, so the row is as tall as the hero and photos. */
.sw-side { position: relative; min-height: 100%; }
.sw-side-in { position: absolute; inset: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #d4d4d4 transparent; background: #fff; box-shadow: 2px 0 8px -4px rgba(0, 0, 0, .12); padding: 8px 0; }
.sw-side-in a { min-height: 46px; display: flex; align-items: center; gap: 16px; padding: 0 22px 0 28px; font-size: 19px; color: var(--ink); transition: background .15s, color .15s; }
.sw-side-in a:hover { background: #fff5f5; color: var(--primary); }
.sw-side-ico { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; color: #333; }
.sw-side-in a:hover .sw-side-ico { color: var(--primary); }
.sw-side-ico .icon { width: 26px; height: 26px; stroke-width: 1.5; }
.sw-side-name { flex: 1; min-width: 0; }
.sw-side-chev { width: 20px; height: 20px; color: #9aa3ad; }
.sw-home-main { min-width: 0; padding-bottom: 20px; }
.sw-hero { border-radius: 0; }
.sw-hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 28px; height: 28px; border: 0; border-radius: 5px; background: var(--yellow); color: #111; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(0, 0, 0, .15); }
.sw-hero-arrow:hover { background: #f2cd00; }
.sw-hero-arrow.prev { left: 0; }
.sw-hero-arrow.next { right: 0; }
.sw-hero-arrow .icon { width: 18px; height: 18px; }
.sw-feat { position: relative; margin: 16px 24px 0; }
.sw-feat-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 20px) / 5); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 2px; }
.sw-feat-track::-webkit-scrollbar { display: none; }
.sw-feat-item { position: relative; display: block; scroll-snap-align: start; padding-bottom: 18px; }
.sw-photo { display: block; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: #eee; }
.sw-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.sw-feat-item:hover .sw-photo img { transform: scale(1.05); }
.sw-photo.is-art { background: #f7f7f7; border: 1px solid #eee; }
.sw-photo.is-art img { object-fit: contain; padding: 18px 18px 30px; }
.sw-feat-item strong { position: absolute; bottom: 0; left: 9%; width: 82%; background: var(--yellow); color: #111; text-align: center; padding: 8px 10px; border-radius: 22px; font-size: 18px; font-weight: 500; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: 0 2px 6px rgba(0, 0, 0, .1); }
.sw-arrow { position: absolute; top: 42%; transform: translateY(-50%); z-index: 2; width: 28px; height: 28px; border: 0; border-radius: 5px; background: var(--yellow); color: #111; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(0, 0, 0, .15); }
.sw-arrow.prev { left: -14px; }
.sw-arrow.next { right: -14px; }
.sw-arrow .icon { width: 18px; height: 18px; }

/* ---------- Section heads ---------- */
.sw-sec { padding-top: 28px; }
.sw-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.sw-head-l { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; }
.sw-title { position: relative; font-size: 22px; font-weight: 700; color: var(--ink); margin: 0; padding-bottom: 7px; }
.sw-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 60px; height: 3px; border-radius: 2px; background: var(--primary); }
.sw-viewall { font-weight: 700; font-size: 15px; color: var(--primary-dark); white-space: nowrap; }
.sw-viewall:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.sw-head .countdown b { background: var(--navy); color: #fff; border-radius: 4px; padding: 2px 5px; }
.page-home main { padding-bottom: 40px; }

/* ---------- Product grids ---------- */
.sw-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.sw-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-content: start; }
.product-grid { gap: 16px; }

/* ---------- Product card (Shwapno style) ---------- */
.sw-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid #e8e8e8; border-radius: 6px; padding: 14px 14px 18px; text-align: center; transition: box-shadow .2s, border-color .2s; }
.sw-card:hover { border-color: #dedede; box-shadow: 0 10px 24px -16px rgba(0, 0, 0, .35); }
.sw-ribbon { position: absolute; top: 0; left: 12px; z-index: 2; background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; line-height: 1.05; text-align: center; padding: 5px 7px 9px; clip-path: polygon(0 0, 100% 0, 100% 100%, 83% 88%, 66% 100%, 50% 88%, 33% 100%, 17% 88%, 0 100%); }
.sw-ribbon.is-out { background: #6b7280; }
.sw-tag { position: absolute; top: 14px; right: 12px; z-index: 2; background: #FF7F00; color: #fff; font-size: 13px; font-weight: 600; line-height: 1; padding: 6px 8px; border-radius: 4px; }
.sw-tag.is-new { background: #2E7D32; }
.sw-card-img { display: flex; align-items: center; justify-content: center; height: 190px; background: #fff; overflow: hidden; }
.sw-card-img img { max-width: 100%; max-height: 100%; width: auto; height: 100%; object-fit: contain; transition: transform .35s ease; }
.sw-card:hover .sw-card-img img { transform: scale(1.05); }
.sw-card-body { display: flex; flex-direction: column; align-items: center; flex: 1; padding-top: 12px; }
.sw-deliv { margin: 0 0 4px; font-size: 13.5px; font-style: italic; color: #555; }
.sw-card-name { font-size: 16px; font-weight: 600; line-height: 1.3; margin: 0; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; overflow-wrap: anywhere; }
.sw-card-name a:hover { color: var(--primary); }
.sw-price { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 2px 6px; margin: 8px 0 10px; }
.sw-price del { color: #444; font-size: 14px; }
.sw-price strong { color: var(--primary); font-size: 21px; font-weight: 700; }
.sw-per { font-size: 13.5px; color: #555; }
.sw-cart-ctl { margin-top: auto; display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; }
.sw-vsel { height: 30px; min-width: 96px; max-width: 100%; padding: 0 28px 0 10px; border: 1px solid #ddd; border-radius: 4px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 8px center; appearance: none; font-size: 13px; color: #444; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); cursor: pointer; }
.sw-add { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; min-width: 150px; max-width: 100%; margin-top: auto; padding: 0 20px; border: 0; border-radius: 999px; background: var(--primary); color: #fff; font-size: 15px; font-weight: 700; transition: background .15s, transform .1s; }
.sw-add:hover { background: var(--primary-dark); }
.sw-add:active { transform: scale(.98); }
.sw-add .icon { width: 17px; height: 17px; }
.sw-add.is-loading { opacity: .7; pointer-events: none; }
.sw-add.is-off { background: #e5e7eb; color: #888; cursor: not-allowed; }
.sw-step { display: inline-flex; align-items: center; justify-content: space-between; height: 38px; min-width: 150px; max-width: 100%; border-radius: 999px; background: var(--primary); color: #fff; overflow: hidden; }
.sw-step button { width: 44px; height: 100%; border: 0; background: transparent; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.sw-step button:hover { background: rgba(0, 0, 0, .15); }
.sw-step button:disabled { opacity: .45; }
.sw-step b { font-size: 15px; }
.sw-step .icon { width: 16px; height: 16px; }

/* ---------- Carousels: yellow arrows like the hero ---------- */
.ps-track { grid-auto-columns: calc((100% - 4 * 20px) / 5); gap: 20px; padding: 2px 2px 6px; }
.ps-arrow { width: 30px; height: 30px; border-radius: 5px; background: var(--yellow); color: #111; border: 0; box-shadow: 0 2px 6px rgba(0, 0, 0, .18); opacity: 1; }
.ps-arrow:hover { background: #f2cd00; color: #111; }
.ps-arrow .icon { width: 18px; height: 18px; }
.sw-carousel { margin-top: 16px; }

/* ---------- Happy Hour: tall banner + grey panel ---------- */
.sw-hh { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 16px; }
.sw-hh.no-ban { grid-template-columns: minmax(0, 1fr); }
.sw-hh-ban { display: flex; align-items: center; border-radius: 12px; overflow: hidden; background: #f6efe3; }
.sw-hh-ban img { width: 100%; height: auto; }
.sw-hh-panel { min-width: 0; background: #c9d0db; border-radius: 12px; padding: 22px 24px 18px; }
.sw-hh-head { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; margin-bottom: 18px; }
.sw-hh-head h2 { margin: 0; font-size: 24px; font-weight: 800; color: #111; text-transform: uppercase; }
.sw-cd { display: flex; align-items: stretch; gap: 4px; }
.sw-cd span { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 40px; padding: 3px 4px; border-radius: 4px; background: var(--primary); color: #fff; line-height: 1; }
.sw-cd b { font-size: 20px; font-weight: 800; }
.sw-cd small { font-size: 8px; font-weight: 700; margin-top: 3px; letter-spacing: .02em; }
.sw-cd em { display: inline-flex; align-items: center; padding: 0 8px; border: 1px solid var(--primary); border-radius: 4px; background: #fff; color: var(--primary); font-style: normal; font-weight: 800; font-size: 15px; }
.sw-hh-tabs { display: flex; gap: 10px; margin-left: auto; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.sw-hh-tabs::-webkit-scrollbar { display: none; }
.sw-hh-tabs button { flex-shrink: 0; height: 36px; padding: 0 18px; border: 0; border-radius: 999px; background: #fff; color: #111; font-weight: 700; font-size: 14px; transition: background .15s; }
.sw-hh-tabs button:hover { background: #fff7cc; }
.sw-hh-tabs button.active { background: var(--yellow); }

/* ---------- Category banner header (colour band + title + art) ---------- */
.sw-catban { position: relative; display: flex; align-items: center; min-height: 170px; padding: 0 0 0 7%; border-radius: 22px; overflow: hidden; color: #fff; }
.sw-catban-title { position: relative; z-index: 1; font-size: clamp(28px, 3.6vw, 58px); font-weight: 300; line-height: 1.05; max-width: 58%; overflow-wrap: anywhere; }
.sw-catban-title b { font-weight: 800; }
.sw-catban-more { position: absolute; left: 7%; bottom: 16px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; opacity: .9; }
.sw-catban-more .icon { width: 16px; height: 16px; transition: transform .2s; }
.sw-catban:hover .sw-catban-more .icon { transform: translateX(3px); }
.sw-catban img { position: absolute; right: 5%; top: 50%; transform: translateY(-50%); height: 125%; max-height: 220px; max-width: 40%; width: auto; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .25)); transition: transform .4s ease; }
.sw-catban:hover img { transform: translateY(-50%) scale(1.04); }
.sw-catban.tone-green { background: #1F9A33; }
.sw-catban.tone-red { background: #D3202A; }
.sw-catban.tone-blue { background: #2563EB; }
.sw-catban.tone-orange { background: #E8590C; }
.sw-catban.tone-purple { background: #6D28D9; }
.sw-catban.tone-teal { background: #0F8A80; }
.sw-catban.tone-brown { background: #8B3A16; }

/* ---------- Today's Featured Finds: dark band ---------- */
.sw-finds { margin-top: 36px; padding: 44px 0 40px; color: #fff; background-color: #1b2130; background-image: repeating-radial-gradient(circle at 30% 120%, rgba(255, 255, 255, .035) 0 2px, transparent 2px 22px); }
.sw-finds h2 { margin: 0 0 26px; text-align: center; color: #fff; font-size: 30px; font-weight: 800; letter-spacing: .01em; text-transform: uppercase; }
.sw-finds .sw-card { border-color: transparent; }

@media (max-width: 1280px) {
    .ps-track { grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; }
}
@media (max-width: 1000px) {
    .ps-track { grid-auto-columns: calc((100% - 2 * 14px) / 3); gap: 14px; }
    .sw-hh { grid-template-columns: minmax(0, 1fr); }
    .sw-hh-ban { display: none; }
    .sw-hh-tabs { margin-left: 0; width: 100%; }
}
@media (max-width: 650px) {
    .ps-track { grid-auto-columns: calc((100% - 10px) / 2); gap: 10px; }
    .sw-card { padding: 10px 8px 14px; }
    .sw-card-img { height: 140px; }
    .sw-card-name { font-size: 14px; }
    .sw-deliv { font-size: 12px; }
    .sw-price strong { font-size: 17px; }
    .sw-per, .sw-price del { font-size: 12px; }
    .sw-add, .sw-step { min-width: 0; width: 100%; height: 40px; font-size: 14px; padding: 0 10px; }
    .sw-step { padding: 0; }
    .sw-ribbon { font-size: 10.5px; left: 8px; }
    .sw-tag { font-size: 11px; top: 8px; right: 8px; padding: 4px 6px; }
    .sw-hh-panel { padding: 16px 12px 12px; }
    .sw-hh-head h2 { font-size: 20px; }
    .sw-catban { min-height: 120px; border-radius: 14px; padding-left: 20px; }
    .sw-catban-more { left: 20px; bottom: 10px; font-size: 12.5px; }
    .sw-catban img { max-height: 150px; }
    .sw-finds { padding: 30px 0; }
    .sw-finds h2 { font-size: 22px; margin-bottom: 18px; }
}

/* ---------- Admin promo banners (artwork) ---------- */
.sw-banners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.sw-banners.count-1 { grid-template-columns: minmax(0, 1fr); }
.sw-banners.count-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sw-banner { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 20 / 7; background: #eef0f3; }
.sw-banner img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.sw-banner:hover img { transform: scale(1.03); }

/* ---------- Category banner pair (photo, dark fade, title, button) ---------- */
.sw-promos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.sw-promo { position: relative; display: block; aspect-ratio: 16 / 7; border-radius: 12px; overflow: hidden; background: #1f2937; box-shadow: 0 2px 10px -6px rgba(0, 0, 0, .35); }
.sw-promo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.sw-promo:hover img { transform: scale(1.04); }
.sw-promo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .35) 45%, rgba(0, 0, 0, 0) 75%); }
.sw-promo-text { position: absolute; left: 6%; top: 50%; transform: translateY(-50%); z-index: 1; max-width: 60%; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; color: #fff; }
.sw-promo-text strong { font-size: clamp(22px, 2.3vw, 32px); font-weight: 800; line-height: 1.15; text-shadow: 0 2px 6px rgba(0, 0, 0, .35); }
.sw-promo-text span { font-size: clamp(14px, 1.2vw, 18px); line-height: 1.4; text-shadow: 0 1px 4px rgba(0, 0, 0, .4); }
.sw-promo-text em { margin-top: 6px; font-style: normal; font-weight: 700; font-size: 15px; background: var(--navy); color: #fff; padding: 9px 20px; border-radius: 999px; transition: background .15s; }
.sw-promo:hover .sw-promo-text em { background: var(--primary); }

/* ---------- Category block: big picture + 4-column grid ---------- */
.sw-block { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.sw-block-head { position: relative; display: flex; align-items: center; justify-content: center; padding-bottom: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.sw-block-head h2 { margin: 0; font-size: 24px; font-weight: 700; color: var(--ink); text-align: center; }
.sw-block-head a { position: absolute; right: 0; top: 50%; transform: translateY(-60%); font-weight: 700; font-size: 14px; color: var(--primary-dark); }
.sw-block-head a:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.sw-block-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px; }
.sw-block-body.no-cover { grid-template-columns: minmax(0, 1fr); }
.sw-block-cover { display: block; border-radius: 12px; overflow: hidden; background: #f1f5f9; min-height: 100%; }
.sw-block-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.sw-block-cover:hover img { transform: scale(1.03); }

/* ---------- Reviews, newsletter, skeleton, page heroes ---------- */
.reviews-band { background: none; }
.news-box { background: var(--navy); border-radius: 12px; margin-top: 8px; }
.news-form .btn { background: var(--yellow); border-color: var(--yellow); color: #111; }
.news-form .btn:hover { background: #f2cd00; border-color: #f2cd00; }
.sk-row { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.sk-head i, .sk-card i { background: linear-gradient(90deg, #e9edf2 0%, #f5f7fa 50%, #e9edf2 100%); background-size: 200% 100%; }
.page-hero, .shop-hero { background: #fff; border-bottom: 1px solid #eee; }

/* ---------- Footer ---------- */
.sw-footer { background: var(--navy); color: #c3cad5; margin-top: 40px; }
.sw-foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 30px; padding-top: 44px; padding-bottom: 32px; }
.sw-foot-logo { display: inline-flex; background: #fff; padding: 8px 14px; border-radius: 10px; margin-bottom: 14px; }
.sw-foot-logo img { height: 42px; width: auto; }
.sw-foot-brand p { margin: 0 0 6px; color: #c3cad5; }
.sw-foot-brand a { color: #c3cad5; }
.sw-foot-brand a:hover { color: #fff; }
.sw-footer .socials { margin-top: 14px; display: flex; gap: 8px; }
.sw-footer .socials a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.sw-footer .socials a:hover { background: var(--primary); }
.sw-footer h4 { color: #fff; font-size: 17px; font-weight: 700; margin: 0 0 14px; text-transform: none; letter-spacing: 0; }
.sw-footer .f-toggle { color: #fff; font-size: 17px; font-weight: 700; background: none; border: 0; padding: 0; display: flex; align-items: center; gap: 6px; width: 100%; text-align: left; text-transform: none; letter-spacing: 0; }
.sw-footer .f-toggle .icon { display: none; }
.sw-footer .footer-links { display: grid; gap: 8px; }
.sw-footer .footer-links a, .sw-foot-contact a { color: #c3cad5; transition: color .15s; }
.sw-footer .footer-links a:hover, .sw-foot-contact a:hover { color: #fff; }
.sw-foot-contact { display: grid; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .1); word-break: break-word; }
.sw-foot-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 16px; padding-bottom: 18px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13.5px; color: #9aa4b2; }
.sw-foot-bottom a { color: #ff8585; font-weight: 700; }
.sw-foot-bottom a:hover { color: #fff; }
.sw-footer .pay-chip { background: rgba(255, 255, 255, .08); color: #fff; border-color: transparent; }

/* ---------- Floating cart, phone bar ---------- */
.float-cart .fc-top { background: var(--primary); }
.float-cart .fc-total { background: var(--navy); color: #fff; }
.bottom-nav .active { color: var(--primary); }
.bn-badge { background: var(--primary); }
.nav-progress { background: var(--yellow); }

/* ---------- Responsive ---------- */
@media (min-width: 1001px) {
  .sw-header { position: sticky; top: 0; z-index: 60; }
  .sw-header.is-scrolled { box-shadow: 0 6px 18px -12px rgba(0, 0, 0, .35); }
}
@media (max-width: 1500px) {
  .sw-loc { display: none; }
  .sw-home { grid-template-columns: 300px minmax(0, 1fr); }
  .sw-side-in a { font-size: 17px; padding: 0 18px 0 22px; }
  .sw-feat-item strong { font-size: 16px; }
}
@media (max-width: 1280px) {
  .sw-hot { display: none; }
  .sw-nav-row, .sw-nav-links { gap: 22px; }
  .sw-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sw-feat-track { grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; }
  .sk-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sk-row .sk-card:nth-child(n+5) { display: none; }
  .sw-foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .sw-acc span { display: none; }
  .sw-nav-right { display: none; }
}
@media (max-width: 1000px) {
  .wrap { padding: 0 16px; }
  .sw-top-row { flex-wrap: wrap; min-height: 0; padding-top: 10px; padding-bottom: 10px; gap: 10px; }
  .sw-header .nav-toggle { display: inline-flex; margin-left: -8px; order: 0; }
  .sw-header .sw-logo { order: 1; flex: 0 0 auto; justify-content: center; margin: 0 auto 0 0; }
  .sw-header .sw-loc, .sw-header .sw-hot, .sw-header .sw-acc, .sw-header .sw-icon, .sw-header .sw-bag { order: 2; }
  .sw-header .hsearch { order: 10; flex-basis: 100%; max-width: none; }
  .sw-header .hsearch-form { height: 44px; }
  .sw-acc { display: none; }
  .sw-home { grid-template-columns: minmax(0, 1fr); }
  .sw-side { display: none; }
  .sw-nav .allcats { display: none; }
  .sw-nav-links { justify-content: flex-start; }
  .sw-feat { margin: 14px 0 0; }
  .sw-feat-track { grid-auto-columns: calc((100% - 2 * 14px) / 3); gap: 14px; }
  .sw-arrow { display: none; }
  .sw-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sw-grid4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sw-block-body { grid-template-columns: minmax(0, 1fr); }
  .sw-block-cover { display: none; }
  .sk-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sk-row .sk-card:nth-child(n+4) { display: none; }
}
@media (max-width: 768px) {
  .float-cart { display: none; }
  .sw-promos { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}
@media (max-width: 650px) {
  .wrap { padding: 0 14px; }
  .sw-home-main { padding: 0 14px 4px; background: var(--bg); }
  .sw-hero { border-radius: 12px; margin-top: 12px; }
  .sw-hero-arrow { display: none; }
  .sw-pill { height: 42px; padding: 0 12px; }
  .sw-icon { height: 42px; }
  .sw-header .sw-logo img { height: 36px; }
  .sw-nav-row { min-height: 46px; }
  .sw-nav-links { gap: 20px; font-size: 14px; }
  .sw-nav-links a, .sw-nav-links .ql-hot { height: 46px; }
  .sw-feat-track { grid-auto-columns: calc((100% - 12px) / 2.4); gap: 12px; }
  .sw-feat-item { padding-bottom: 14px; }
  .sw-feat-item strong { font-size: 14px; padding: 6px 8px; }
  .sw-sec { padding-top: 22px; }
  .sw-title { font-size: 19px; }
  .sw-viewall { font-size: 14px; }
  .sw-grid, .sw-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .sw-block { padding: 12px; }
  .sw-block-head { justify-content: flex-start; }
  .sw-block-head h2 { font-size: 19px; text-align: left; }
  .sw-promo { aspect-ratio: 16 / 8; }
  .sw-promo-text { max-width: 75%; }
  .sw-banners, .sw-banners.count-3 { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .sk-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sk-row .sk-card:nth-child(n+3) { display: none; }
  .sw-foot-grid { grid-template-columns: minmax(0, 1fr); gap: 4px; padding-top: 32px; padding-bottom: 20px; }
  .sw-foot-brand { margin-bottom: 18px; }
  .sw-footer .f-col { border-top: 1px solid rgba(255, 255, 255, .1); padding: 12px 0; }
  .sw-footer .f-col h4 { margin: 0; }
  .sw-footer .f-toggle .icon { display: inline-block; margin-left: auto; transition: transform .2s; }
  .sw-footer .f-col .footer-links, .sw-footer .f-col .sw-foot-contact { display: none; margin-top: 10px; }
  .sw-footer .f-col.is-open .footer-links, .sw-footer .f-col.is-open .sw-foot-contact { display: grid; }
  .sw-footer .f-col.is-open .f-toggle .icon { transform: rotate(180deg); }
  .sw-foot-bottom { justify-content: center; text-align: center; }
}

/* ---------- Product page (Shwapno 3-column) ---------- */
.sw-pdp { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 300px); gap: 32px; border-radius: 8px; padding: 24px; }
.sw-pdp .gallery { top: 140px; }
.sw-pdp .gallery-main { background: #fff; border: 1px solid #eee; border-radius: 8px; }
.sw-pdp .gallery-main img { object-fit: contain; }
.sw-pdp .gallery-thumbs { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.sw-pdp .gallery-thumbs button { background: #fff; border: 1px solid #eee; border-radius: 6px; }
.sw-pdp .gallery-thumbs button.active { border: 2px solid var(--primary); }
.sw-pdp .gallery-thumbs img { object-fit: contain; }
.sw-pdp .pdp-info h1 { font-size: clamp(22px, 2vw, 28px); font-weight: 700; line-height: 1.25; margin: 0 0 10px; overflow-wrap: anywhere; }
.sw-pdp .pdp-rating { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px; font-size: 14px; color: var(--muted); }
.sw-pdp .pdp-price { margin: 4px 0 2px; }
.sw-pdp .pdp-price strong, .sw-pdp .pdp-price strong.is-sale { color: var(--primary); font-size: 30px; }
.sw-pdp .pdp-price .save { color: var(--primary); }
.sw-pdp-per { margin: 0 0 14px; font-size: 15px; color: #555; }
.sw-pdp .pdp-short { color: #444; line-height: 1.6; }
.sw-pdp .variant-opts label, .sw-pdp .color-opts label { border-radius: 6px; }
.sw-pdp .variant-opts input:checked + label { border-color: var(--primary); color: var(--primary); background: #fff3f3; }
.sw-pdp .buy-row .qty { border-radius: 999px; }
.sw-pdp .buy-row .btn { border-radius: 999px; }
.sw-pdp .buy-row .btn-outline { background: var(--primary); border-color: var(--primary); color: #fff; }
.sw-pdp .buy-row .btn-outline:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.sw-pdp .buy-row .btn-buy { background: var(--yellow); border-color: var(--yellow); color: #111; }
.sw-pdp .buy-row .btn-buy:hover { background: #f2cd00; border-color: #f2cd00; box-shadow: none; }
.sw-pdp-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; }
.sw-pdp-tags span { font-weight: 700; color: var(--ink); }
.sw-pdp-tags a { padding: 5px 12px; border: 1px solid #e3e3e3; border-radius: 999px; color: #444; transition: border-color .15s, color .15s; }
.sw-pdp-tags a:hover { border-color: var(--primary); color: var(--primary); }

.sw-pdp-side { display: flex; flex-direction: column; gap: 16px; padding: 18px; border: 1px solid #eee; border-radius: 8px; background: #fafafa; font-size: 14px; }
.sw-pdp-facts { display: grid; gap: 8px; margin: 0; }
.sw-pdp-facts div { display: flex; justify-content: space-between; gap: 12px; }
.sw-pdp-facts dt { color: var(--muted); }
.sw-pdp-facts dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; overflow-wrap: anywhere; }
.sw-pdp-facts dd.in { color: #2E7D32; }
.sw-pdp-facts dd.out { color: var(--primary); }
.sw-pdp-facts a:hover { color: var(--primary); }
.sw-pdp-actions { display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid #e8e8e8; }
.sw-pdp-actions .wish-line { margin: 0; padding: 0; justify-content: flex-start; font-size: 14px; }
.sw-share { display: flex; align-items: center; gap: 8px; }
.sw-share span { margin-right: 4px; color: var(--muted); }
.sw-share a { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid #e3e3e3; border-radius: 50%; background: #fff; color: #444; transition: color .15s, border-color .15s; }
.sw-share a:hover { color: var(--primary); border-color: var(--primary); }
.sw-share .icon { width: 16px; height: 16px; }
.sw-pdp-side .ship-est { margin: 0; padding: 14px 0 0; border-bottom: 0; border-top: 1px solid #e8e8e8; }
.sw-pdp-side .se-head > .icon { color: var(--primary); }
.sw-pdp-side .se-opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.sw-pdp-side .se-opt { min-height: 34px; }
.sw-pdp-side .se-opt.active { border-color: var(--primary); color: var(--primary); background: #fff3f3; }
.sw-pay { padding-top: 14px; border-top: 1px solid #e8e8e8; }
.sw-pay .se-head > .icon { color: var(--primary); }
.sw-pay ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.sw-pay li { padding: 5px 10px; border: 1px solid #e3e3e3; border-radius: 6px; background: #fff; font-size: 13px; font-weight: 600; color: #333; }

.sw-pdp-tabs { border-radius: 8px; padding: 0 0 24px; overflow: hidden; }
.sw-pdp-tabs .tabs { gap: 0; padding: 0; background: #f4f4f4; border-bottom: 0; }
.sw-pdp-tabs .tabs button { margin: 0; padding: 14px 28px; border: 0; color: #333; font-size: 16px; }
.sw-pdp-tabs .tabs button.active { background: var(--yellow); color: #111; border: 0; }
.sw-pdp-tabs .tab-body { padding: 0 24px; }

@media (max-width: 1280px) {
  .sw-pdp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sw-pdp-side { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; }
  .sw-pdp-side .ship-est, .sw-pdp-side .sw-pay { padding-top: 14px; }
}
@media (max-width: 1000px) {
  .sw-pdp { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 14px; }
  .sw-pdp .gallery { position: static; }
}
@media (max-width: 650px) {
  .sw-pdp-side { grid-template-columns: minmax(0, 1fr); }
  .sw-pdp .pdp-price strong, .sw-pdp .pdp-price strong.is-sale { font-size: 26px; }
  .sw-pdp-tabs .tabs button { flex: 1; padding: 12px 10px; font-size: 15px; }
  .sw-pdp-tabs .tab-body { padding: 0 14px; }
}

/* ---------- Phones: compact 3-up cards, round add button on the photo ---------- */
@media (max-width: 650px) {
  .ps-track { grid-auto-columns: calc((100% - 2 * 8px) / 2.85); gap: 8px; }
  .ps-arrow { display: none; }
  .sw-grid, .sw-grid4 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .sk-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .sk-row .sk-card:nth-child(3) { display: block; }
  .sw-card { padding: 6px 6px 10px; border-radius: 10px; border-color: #e6e6e6; }
  .sw-card-img { height: 96px; }
  .sw-card-body { flex-direction: row; flex-wrap: wrap; justify-content: center; align-content: flex-start; column-gap: 4px; padding-top: 8px; }
  .sw-deliv, .sw-vsel { display: none; }
  .sw-price { display: contents; }
  .sw-per { order: 1; width: 100%; font-size: 12px; font-style: italic; color: #777; }
  .sw-card-name { order: 2; width: 100%; font-size: 13px; font-weight: 500; line-height: 1.3; margin: 1px 0 4px; }
  .sw-price del { order: 3; font-size: 11px; color: #777; }
  .sw-price strong { order: 4; font-size: 14px; }
  .sw-cart-ctl { order: 5; position: static; margin: 0; width: auto; }
  .sw-add, .sw-step { max-width: none; }
  .sw-promo { aspect-ratio: 16 / 7; }
  .sw-promo-text strong { font-size: 20px; line-height: 1.15; }
  .sw-promo-text span { font-size: 12.5px; }
  .sw-promo-text em { padding: 6px 14px; font-size: 13px; }
  .sw-add, .sw-step { position: absolute; top: 74px; right: 6px; z-index: 3; min-width: 0; height: 32px; margin: 0; }
  .sw-add { width: 32px; padding: 0; border-radius: 50%; background: #fff; color: var(--primary); font-size: 0; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
  .sw-add:hover { background: #fff; }
  .sw-add .icon { width: 20px; height: 20px; stroke-width: 2.5; }
  .sw-add.is-off { display: none; }
  .sw-step { left: 6px; width: auto; padding: 0; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
  .sw-step button { width: 30px; }
  .sw-step b { font-size: 13px; }
  .sw-step .icon { width: 14px; height: 14px; }
  .sw-ribbon { left: 6px; font-size: 9.5px; padding: 3px 5px 7px; }
  .sw-tag { top: 6px; right: 6px; font-size: 9.5px; padding: 3px 5px; }
  .sw-hh-panel { padding: 14px 8px 10px; }
  .sw-block { padding: 10px 8px; }
}
@media (max-width: 400px) {
  .sw-tag { font-size: 8.5px; padding: 2px 4px; top: 4px; right: 4px; }
  .sw-ribbon { left: 4px; font-size: 8.5px; }
  .sw-promo-text span { display: none; }
  .sw-promo-text strong { font-size: 18px; }
}

/* ---------- Home first view: wide short hero, sidebar matches hero + tiles ---------- */
@media (min-width: 1001px) {
  .sw-home { gap: 24px; padding-left: 0; }
  /* Same shape as the 1600 x 640 banner artwork, so nothing is cropped. */
  .sw-hero.hero-slider { aspect-ratio: 5 / 2; border-radius: 0; }
  .sw-hero .hero-slide img { object-position: center; }
  .sw-side-in { border: 1px solid #eee; border-top: 0; box-shadow: 0 2px 10px -6px rgba(0, 0, 0, .18); }
  .sw-side-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sw-feat { margin: 16px 26px 0; }
}

/* ---------- One card look everywhere: square photo box at full card width ---------- */
.sw-card .sw-card-img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 4px; background: #fff; }
.sw-card .sw-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: cover; }
@media (max-width: 650px) {
  .sw-card { container-type: inline-size; }
  .sw-card .sw-card-img { height: auto; }
  .sw-add, .sw-step { top: calc(100cqw - 32px); }
  .product-grid, .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
}
@media (max-width: 650px) {
  .sw-per { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 650px) {
  /* Three across on phones: drop the leftover so a block shows 3 or 6 cards. */
  .sw-grid4 > .sw-card:nth-child(n+7), .sw-grid4 > .sw-card:nth-child(4):last-child { display: none; }
}

/* ---------- Responsive polish ---------- */
.ps-arrow.prev { left: 0; }
.ps-arrow.next { right: 0; }
.ws-price { color: var(--primary); }
@media (max-width: 650px) {
  /* 16px stops iOS from zooming into form fields. */
  input.input, select, textarea, .hsearch input { font-size: 16px; }
  .sw-promos { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 86%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .sw-promos::-webkit-scrollbar { display: none; }
  .sw-promo { scroll-snap-align: start; aspect-ratio: 2.1 / 1; border-radius: 12px; }
  .sw-promo-text { gap: 6px; }
  .sw-promo-text strong { font-size: 18px; }
  .sw-promo-text span { display: none; }
  .sw-promo-text em { padding: 6px 14px; font-size: 12.5px; margin-top: 2px; }
  .ws-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ws-body { padding: 10px; }
  .ws-name { font-size: 14px; }
  .ws-add { flex-direction: column; }
  .ws-add .input { width: 100%; height: 40px; }
  .ws-add .btn { min-height: 40px; }
  .spec-table th { width: 38%; }
  .spec-table th, .spec-table td { padding: 10px; overflow-wrap: anywhere; }
}

/* ---------- Phone header (Shwapno app style): one red row + pill links ---------- */
.sw-nav-links { text-transform: uppercase; }
@media (max-width: 650px) {
  .sw-top-row { flex-wrap: nowrap; gap: 8px; padding: 9px 12px; }
  .sw-header .nav-toggle { order: 0; margin-left: -6px; width: 36px; height: 38px; color: #fff; }
  .sw-header .sw-logo { order: 1; margin: 0; }
  .sw-header .sw-logo img { height: 34px; width: auto; }
  .sw-header .hsearch { order: 2; flex: 1 1 auto; flex-basis: auto; min-width: 0; }
  .sw-header .hsearch-form { height: 38px; border: 0; border-radius: 999px; box-shadow: none; }
  .sw-header .hsearch input { padding: 0 4px 0 14px; font-size: 16px; min-width: 0; }
  .sw-header .hsearch input::placeholder { font-size: 14px; }
  .sw-header .hs-btn { width: 40px; padding: 0; justify-content: center; background: transparent; color: #333; }
  .sw-header .hs-btn .icon { width: 19px; height: 19px; }
  .sw-header .sw-acc { display: inline-flex; order: 3; width: 34px; height: 38px; padding: 0; justify-content: center; border: 0; background: transparent; }
  .sw-header .sw-acc .icon { width: 23px; height: 23px; }
  .sw-header .sw-icon { display: none; }
  .sw-header .sw-bag { order: 4; width: 34px; height: 38px; padding: 0; justify-content: center; border: 0; background: transparent; }
  .sw-header .sw-bag strong { display: none; }
  .sw-header .sw-bag .count-badge { top: -7px; right: -8px; }
  .search-drop { top: 60px; }

  .sw-nav { border-bottom: 1px solid #eee; }
  .sw-nav-row { min-height: 0; padding: 9px 12px; }
  .sw-nav-links { gap: 8px; font-size: 14px; text-transform: none; }
  .sw-nav-links > :first-child, .sw-nav-links > :last-child { margin: 0; }
  .sw-nav-links a, .sw-nav-links .ql-hot { height: 34px; padding: 0 14px !important; border: 1px solid #F2D37A; border-radius: 999px !important; background: #FFF6D8 !important; color: #222 !important; font-weight: 600; }
  .sw-nav-links a.active { background: var(--yellow) !important; border-color: var(--yellow); }
  .sw-nav-links .icon { display: none; }
}
@media (max-width: 650px) {
  .sw-header .sw-logo { padding: 3px 6px; border-radius: 6px; flex-shrink: 0; }
  .sw-header .sw-logo img { height: 30px; max-width: 72px; object-fit: contain; }
}
@media (max-width: 360px) {
  .sw-top-row { gap: 6px; padding: 9px 10px; }
  .sw-header .sw-acc { display: none; }
}
@media (max-width: 650px) {
  html body .input, html body .textarea, html body select, .float-field .input { font-size: 16px; }
}

/* Header links are white; keep the search dropdown (which sits inside the header) dark. */
.sw-header .search-drop, .sw-header .search-drop a { color: var(--ink); }
.sw-header .search-drop .sr-col .c, .sw-header .search-drop .sr-cat { color: var(--muted); }
.sw-header .search-drop .sr-all { color: var(--primary); background: #fff3f3; }
.sw-header .search-drop .sr-all:hover, .sw-header .search-drop .sr-all.is-active { background: #ffe5e5; }
.sw-header .search-drop .sr-item .p { color: var(--primary); }

/* Category banner with a real photo: the photo fills the right side and fades into the colour. */
.sw-catban img.is-photo { top: 0; right: 0; transform: none; width: 46%; height: 100%; max-width: none; max-height: none; object-fit: cover; filter: none; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 38%); mask-image: linear-gradient(to right, transparent 0, #000 38%); transform-origin: right center; }
.sw-catban:hover img.is-photo { transform: scale(1.03); }
@media (max-width: 650px) {
  .sw-catban img.is-photo { width: 55%; }
}

/* ---------- Shop by category: Shwapno-style cascade (columns two and three load with AJAX) ---------- */
.sw-nav .mega.sw-cascade { display: flex; align-items: stretch; width: auto; max-width: calc(100vw - 32px); left: 0; padding: 0; border: 0; border-top: 1px solid #eee; border-radius: 0 0 8px 8px; background: transparent; box-shadow: none; overflow: visible; }
.sw-cascade .mega-list, .sw-cascade .cm-col { width: 312px; flex-shrink: 0; max-height: min(72vh, 640px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: #d4d4d4 transparent; margin: 0; padding: 6px 0; background: #fff; border: 0; box-shadow: 0 14px 28px -12px rgba(0, 0, 0, .28); }
.sw-cascade .mega-list { border-radius: 0 0 0 8px; }
.sw-cascade .cm-col { border-left: 1px solid #f0f0f0; padding: 4px 0; }
.sw-cascade .cm-col:last-child { border-radius: 0 0 8px 0; }
.sw-cascade .cm-col:empty:not(.is-loading) { display: none; }
.sw-cascade .mega-list li { padding: 0 6px; }
.sw-cascade .mega-list a { min-height: 46px; gap: 14px; padding: 0 14px 0 16px; border-radius: 6px; background: none; box-shadow: none; font-size: 17px; font-weight: 400; color: #222; }
.sw-cascade .mega-list li.is-active a, .sw-cascade .mega-list a:hover { background: none; box-shadow: none; color: var(--primary); }
.sw-cascade .mi-ico { width: 30px; height: 30px; border: 0; border-radius: 0; background: none; color: #333; }
.sw-cascade .mi-ico .icon { width: 25px; height: 25px; stroke-width: 1.5; }
.sw-cascade li.is-active .mi-ico, .sw-cascade .mega-list a:hover .mi-ico { color: var(--primary); }
.sw-cascade .mi-chev, .sw-cascade .cm-chev { width: 18px; height: 18px; color: #9aa3ad; flex-shrink: 0; }
.cm-list { list-style: none; margin: 0; padding: 0 6px; }
.cm-list a { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 14px 0 16px; border-radius: 6px; font-size: 17px; color: #222; transition: background .12s, color .12s; }
.cm-name { flex: 1; min-width: 0; }
.cm-list li.is-active a, .cm-list a:hover { background: var(--primary); color: #fff; }
.cm-list li.is-active .cm-chev, .cm-list a:hover .cm-chev { color: #fff; }
.sw-cascade [data-mega-body3] .cm-list li.is-active a, .sw-cascade [data-mega-body3] .cm-list a:hover { background: #fff5f5; color: var(--primary); }
.sw-cascade .cm-col.is-loading::before { content: ""; display: block; height: 220px; margin: 10px 18px; border-radius: 6px; background: repeating-linear-gradient(#f2f2f2 0 18px, transparent 18px 46px); animation: skShine 1.3s linear infinite; }
@media (max-width: 1280px) {
  .sw-cascade .mega-list, .sw-cascade .cm-col { width: 280px; }
}

/* ---------- Phones: promo and banner rows show one banner at a time ---------- */
@media (max-width: 768px) {
  .sw-promos, .sw-banners, .sw-banners.count-3 { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 100%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
  .sw-promos::-webkit-scrollbar, .sw-banners::-webkit-scrollbar { display: none; }
  .sw-promo, .sw-banner { scroll-snap-align: start; scroll-snap-stop: always; }
}
@media (max-width: 768px) {
  /* The row is also .wrap: move its side padding outside the scroller so no neighbour peeks in. */
  .wrap.sw-promos, .wrap.sw-banners { width: auto; max-width: none; padding-left: 0; padding-right: 0; margin-left: 16px; margin-right: 16px; }
}
@media (max-width: 650px) {
  .wrap.sw-promos, .wrap.sw-banners { margin-left: 14px; margin-right: 14px; }
}

/* ---------- Home sidebar: subcategory columns open beside the list (Shwapno) ---------- */
.sw-side { z-index: 30; }
.sw-side-in a.is-active, .sw-side-in a:hover { background: none; color: var(--primary); }
.sw-side-in a.is-active .sw-side-ico { color: var(--primary); }
.sw-fly { position: absolute; top: 0; left: 100%; bottom: 0; display: flex; align-items: stretch; pointer-events: none; }
.sw-fly .cm-col { pointer-events: auto; width: 312px; flex-shrink: 0; height: 100%; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #d4d4d4 transparent; padding: 4px 0; background: #fff; border-left: 1px solid #f0f0f0; box-shadow: 8px 0 18px -10px rgba(0, 0, 0, .25); }
.sw-fly .cm-col:empty:not(.is-loading) { display: none; }
.sw-fly [data-mega-body3] .cm-list li.is-active a, .sw-fly [data-mega-body3] .cm-list a:hover { background: #fff5f5; color: var(--primary); }
.sw-fly .cm-col.is-loading::before { content: ""; display: block; height: 220px; margin: 10px 18px; border-radius: 6px; background: repeating-linear-gradient(#f2f2f2 0 18px, transparent 18px 46px); }
@media (max-width: 1280px) {
  .sw-fly .cm-col { width: 270px; }
}
.sw-cascade .cm-col, .sw-fly .cm-col { overflow-x: hidden; }

/* Home: the sidebar is the always-open category menu, so the header dropdown stays shut there. */
@media (min-width: 1001px) {
  .page-home:not(.side-gone) .sw-nav .mega { display: none !important; }
  .page-home:not(.side-gone) .sw-shopcat { cursor: default; }
}

/* Wholesale: bank details box */
.ws-bank { max-width: 640px; margin-top: 28px; padding: 18px 20px; border: 1px solid #eee; border-left: 3px solid var(--primary); border-radius: 8px; background: #fafafa; }
.ws-bank h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 17px; }
.ws-bank h3 .icon { width: 20px; height: 20px; color: var(--primary); }
.ws-bank dl { display: grid; gap: 8px; margin: 0; }
.ws-bank dl div { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: 12px; }
.ws-bank dt { color: var(--muted); }
.ws-bank dd { margin: 0; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.ws-bank p { margin: 12px 0 0; font-size: 13.5px; }
@media (max-width: 650px) {
  .ws-bank dl div { grid-template-columns: minmax(0, 1fr); gap: 0; }
}

/* Share buttons in each network's own colour */
.sw-share a, .sw-share button { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; color: #fff; cursor: pointer; transition: transform .15s, filter .15s; }
.sw-share a:hover, .sw-share button:hover { color: #fff; border: 0; transform: translateY(-2px); filter: brightness(1.08); }
.sw-share .is-fb { background: #1877F2; }
.sw-share .is-wa { background: #25D366; }
.sw-share .is-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.sw-share .is-tg { background: #229ED9; }
.sw-share .is-x { background: #111; }
.sw-share .icon { width: 17px; height: 17px; }

/* ---------- Content pages (About, policies): one heading font, one body size ---------- */
.page-doc .page-hero h1,
.page-doc .page-hero p,
.page-doc .prose { font-family: "Plus Jakarta Sans", "Hind Siliguri", Arial, sans-serif; }
.page-doc .page-hero h1 { font-weight: 800; letter-spacing: -.01em; }
.page-doc .page-hero p { font-size: 16px; font-weight: 500; color: #555; }
.page-doc .prose { max-width: 760px; font-size: 15px; line-height: 1.75; color: #3a3a3a; }
.page-doc .prose p, .page-doc .prose li { font-size: 15px; line-height: 1.75; }
.page-doc .prose p { margin: 0 0 14px; }
.page-doc .prose ul, .page-doc .prose ol { margin: 0 0 18px; padding-left: 20px; }
.page-doc .prose li { margin-bottom: 8px; }
.page-doc .prose li::marker { color: var(--primary); }
.page-doc .prose h2, .page-doc .prose h3, .page-doc .prose h4,
.page-doc .prose p.doc-title { font-family: inherit; font-size: 19px; font-weight: 700; line-height: 1.35; color: #111; letter-spacing: -.005em; margin: 30px 0 10px; }
.page-doc .prose > :first-child { margin-top: 0; }
.page-doc .prose strong { font-weight: 700; color: #111; }
@media (max-width: 650px) {
  .page-doc .prose, .page-doc .prose p, .page-doc .prose li { font-size: 15px; }
  .page-doc .prose h2, .page-doc .prose h3, .page-doc .prose h4, .page-doc .prose p.doc-title { font-size: 17.5px; margin-top: 24px; }
}

/* ---------- Cart count badges (header and phone bottom bar) ---------- */
.sw-header .count-badge, .bn-badge { min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; font-size: 11px; font-weight: 800; font-style: normal; line-height: 1; font-variant-numeric: tabular-nums; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(0, 0, 0, .18); }
.sw-header .count-badge { background: var(--yellow); color: #111; border: 2px solid var(--primary); }
.sw-header .sw-bag .count-badge { top: -10px; right: -12px; }
.sw-header .sw-icon .count-badge { top: 3px; right: 0; }
.bn-badge { position: absolute; top: 3px; left: calc(50% + 4px); background: var(--primary); color: #fff; border: 2px solid #fff; }
.count-badge.is-empty, .bn-badge.is-empty { display: none; }
.count-badge.is-bump, .bn-badge.is-bump { animation: badgePop .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes badgePop { 0% { transform: scale(.4); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .count-badge.is-bump, .bn-badge.is-bump { animation: none; } }
@media (max-width: 650px) {
  .sw-header .sw-bag .count-badge { top: -6px; right: -9px; min-width: 18px; height: 18px; font-size: 10.5px; }
}

/* ---------- QC pass ---------- */
/* The sticky header already shows the cart count and total, so the side cart tab only covered content and forms. */
.float-cart { display: none !important; }
/* Button icons inside empty states (404, empty cart) keep button size. */
.empty-state .btn .icon { width: 18px; height: 18px; margin: 0; color: currentColor; }
/* Unit always on its own line, so price rows line up across a row of cards. */
.sw-per { flex-basis: 100%; }
/* Five-column grids: keep full rows only. */
@media (min-width: 1281px) {
  .sw-grid > .sw-card:nth-child(n+11) { display: none; }
}
.wa-float { width: 50px; height: 50px; right: 18px; bottom: 20px; }
@media (max-width: 1000px) {
  .wa-float { width: 46px; height: 46px; right: 14px; bottom: calc(76px + env(safe-area-inset-bottom)); }
  .wa-float .icon { width: 24px; height: 24px; }
}
@media (max-width: 650px) {
  /* The discount flag matters more than the tag; both do not fit on a narrow card. */
  .sw-ribbon ~ .sw-tag { display: none; }
  /* Product page: no box inside the page box, more room for the photo and text. */
  .sw-pdp { padding: 0; border: 0; background: transparent; }
  .sw-pdp .gallery-main { border-radius: 10px; }
}

/* Block with many products: category photo on the left, a carousel of all products on the right. */
.sw-block.is-carousel .sw-block-body { grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); align-items: stretch; }
.sw-block-slider { min-width: 0; position: relative; }
.sw-block.is-carousel .ps-track { grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; }
.sw-block.is-carousel .sw-block-cover img { object-fit: cover; }
@media (max-width: 1280px) {
  .sw-block.is-carousel .ps-track { grid-auto-columns: calc((100% - 2 * 14px) / 3); gap: 14px; }
}
@media (max-width: 1000px) {
  .sw-block.is-carousel .sw-block-body { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 650px) {
  .sw-block.is-carousel .ps-track { grid-auto-columns: calc((100% - 2 * 8px) / 2.85); gap: 8px; }
}
@media (max-width: 650px) {
  /* The hidden "Add to Bag" text still took the 8px flex gap and pushed the plus off centre. */
  .sw-card .sw-add { gap: 0; }
  .sw-card .sw-add .icon { margin: 0; flex-shrink: 0; }
}

/* ---------- Wholesale cards: one size, button row at the bottom ---------- */
.ws-grid { align-items: stretch; }
.ws-card { height: 100%; }
.ws-media { position: relative; aspect-ratio: 1; overflow: hidden; background: #fff; }
.ws-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ws-body { flex: 1; }
.ws-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; overflow-wrap: anywhere; }
.ws-add { margin-top: auto; }

/* ---------- Footer: brand-coloured social icons, firmer text ---------- */
.sw-footer .socials a { color: #fff; transition: transform .15s, filter .15s; }
.sw-footer .socials a:hover { transform: translateY(-2px); filter: brightness(1.1); }
.sw-footer .socials .icon { width: 18px; height: 18px; }
.sw-footer .socials .is-facebook { background: #1877F2; }
.sw-footer .socials .is-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.sw-footer .socials .is-youtube { background: #FF0000; }
.sw-footer .socials .is-tiktok { background: #000; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.sw-footer .footer-links a, .sw-foot-contact a, .sw-foot-brand p, .sw-foot-brand a { font-weight: 600; color: #dbe1ea; }
.sw-foot-bottom { font-weight: 600; color: #b7c0cc; }

/* ---------- WhatsApp button sits a little higher ---------- */
.wa-float { bottom: 88px; }
@media (max-width: 1000px) {
  .wa-float { bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* ---------- Footer bottom bar: readable copyright, payment logos on white tiles ---------- */
.sw-foot-bottom { min-height: 64px; padding-top: 14px; padding-bottom: 14px; font-size: 14px; font-weight: 500; color: #aeb7c4; }
.sw-foot-bottom > span { line-height: 1.5; }
.sw-foot-bottom a { color: #fff; font-weight: 700; text-decoration: underline; text-decoration-color: var(--primary); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.sw-foot-bottom a:hover { color: #ffd1d1; }
.sw-footer .pay-logos { gap: 8px; }
.sw-footer .pay-chip { height: 34px; min-width: 64px; justify-content: center; padding: 0 12px; background: #fff; color: #111; border: 0; border-radius: 4px; font-size: 12.5px; font-weight: 700; }
.sw-footer .pay-chip .icon { color: #1F9A33; width: 18px; height: 18px; }
.sw-footer .pay-chip img { height: 22px; }
@media (max-width: 650px) {
  .sw-foot-bottom { flex-direction: column; justify-content: center; text-align: center; gap: 12px; padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .sw-footer .pay-logos { justify-content: center; }
}
/* Payment chips a size up, so they balance the footer. */
.sw-footer .pay-chip { height: 44px; min-width: 88px; padding: 0 16px; gap: 8px; font-size: 14.5px; border-radius: 6px; }
.sw-footer .pay-chip .icon { width: 22px; height: 22px; }
.sw-footer .pay-chip img { height: 30px; }
.sw-footer .pay-logos { gap: 10px; }
@media (max-width: 650px) {
  .sw-footer .pay-chip { height: 40px; min-width: 76px; padding: 0 12px; font-size: 13.5px; }
  .sw-footer .pay-chip img { height: 26px; }
}
@media (max-width: 650px) {
  .sw-footer .pay-logos { gap: 6px; flex-wrap: nowrap; }
  .sw-footer .pay-chip { height: 40px; min-width: 0; padding: 0 10px; gap: 6px; font-size: 13px; }
  .sw-footer .pay-chip .icon { width: 18px; height: 18px; }
  .sw-footer .pay-chip img { height: 24px; }
}
@media (max-width: 340px) {
  .sw-footer .pay-chip { padding: 0 7px; font-size: 12px; }
  .sw-footer .pay-chip img { height: 20px; }
}

/* ---------- Page headers (wholesale, contact, policies, shop): firmer breadcrumb and subtitle ---------- */
.page-hero .crumbs, .shop-hero .crumbs { font-weight: 600; }
.page-hero .crumbs a, .shop-hero .crumbs a { color: #555; }
.page-hero .crumbs span:last-child, .shop-hero .crumbs span:last-child { color: #111; font-weight: 700; }
.page-hero h1, .shop-hero h1 { font-weight: 800; }
.page-hero p, .shop-hero p { font-weight: 600; color: #3d3d3d; }
.page-hero h1, .shop-hero h1 { color: #111; }
.page-hero p, .shop-hero p { color: #2b2b2b; }
.page-hero .crumbs a, .shop-hero .crumbs a { color: #444; }

/* ---------- Card photos: show the whole product, never cropped ---------- */
.sw-card .sw-card-img { background: #fff; }
.sw-card .sw-card-img img { object-fit: contain; padding: 6px; }
.ws-media { background: #fff; }
.ws-media img { object-fit: contain; padding: 6px; }
.sw-block-cover img { object-fit: cover; }
@media (max-width: 650px) {
  .sw-card .sw-card-img img, .ws-media img { padding: 3px; }
}
