/* Wasifinity storefront design system */
:root {
  --bg: #FFFFFF;
  --bg-2: #F8F9FB;
  --text: #171717;
  --text-2: #737373;
  --border: #EAECEF;
  --primary: #171717;
  --primary-h: #333333;
  --on-primary: #FFFFFF;
  --success: #16A34A;
  --warning: #F59E0B;
  --error: #EF4444;
  --accent: #171717;
  --accent-soft: color-mix(in srgb, var(--accent) 8%, #fff);
  --r-sm: 10px;
  --r: 12px;
  --r-lg: 16px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 2px 8px rgba(16, 24, 40, .04);
  --shadow-lg: 0 12px 40px rgba(16, 24, 40, .14);
  --t: 200ms cubic-bezier(.2, .7, .2, 1);
  --hdr: 64px;
  --wrap: 1280px;
  --font: 'Inter', 'Hind Siliguri', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 14px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 16px;
}

.muted {
  color: var(--text-2);
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.ic {
  width: 20px;
  height: 20px;
  flex: none;
  fill: currentColor;
}

.ic.s {
  width: 16px;
  height: 16px;
}

.ic.l {
  width: 24px;
  height: 24px;
}

[hidden] {
  display: none !important;
}

/* ---------- buttons & fields ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 14px;
  transition: background var(--t), border-color var(--t), color var(--t), transform var(--t);
  white-space: nowrap;
}

.btn:active {
  transform: scale(.98);
}

.btn.primary {
  background: var(--primary);
  color: var(--on-primary);
}

.btn.primary:hover {
  background: var(--primary-h);
}

.btn.accent {
  background: var(--accent);
  color: #fff;
}

.btn.outline {
  background: var(--bg);
  border-color: var(--border);
}

.btn.outline:hover {
  border-color: var(--text);
}

.btn.ghost {
  background: transparent;
}

.btn.ghost:hover {
  background: var(--bg-2);
}

.btn.sm {
  height: 36px;
  padding: 0 12px;
  font-size: 13px;
}

.btn.block {
  width: 100%;
}

.btn:disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
}

.iconbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  border: 0;
  background: transparent;
  position: relative;
  transition: background var(--t);
}

.iconbtn:hover {
  background: var(--bg-2);
}

.count {
  position: absolute;
  top: 3px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.count:empty,
.count[data-n="0"] {
  display: none;
}

.field {
  display: block;
  margin-bottom: 14px;
}

.field>span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.input,
.field input,
.field select,
.field textarea {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--bg);
  transition: border-color var(--t), box-shadow var(--t);
}

.field textarea {
  height: 88px;
  padding: 10px 14px;
  resize: vertical;
}

.input:focus,
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--text);
  box-shadow: 0 0 0 3px rgba(23, 23, 23, .06);
}

.field .hint {
  font-size: 12px;
  color: var(--text-2);
  margin-top: 4px;
}

.err {
  color: var(--error);
  font-size: 13px;
  margin-top: 8px;
  min-height: 1px;
}

.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 13px;
  font-weight: 500;
  transition: border-color var(--t), background var(--t);
  white-space: nowrap;
}

.chip:hover {
  border-color: var(--text);
}

.chip.on {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  background: var(--bg);
  color: var(--text);
}

.badge.dark {
  background: var(--primary);
  color: #fff;
}

.badge.ok {
  background: #DCFCE7;
  color: #166534;
}

.badge.warn {
  background: #FEF3C7;
  color: #92400E;
}

.badge.bad {
  background: #FEE2E2;
  color: #991B1B;
}

/* ---------- header ---------- */
.announce {
  background: var(--primary);
  color: #fff;
  text-align: center;
  font-size: 13px;
  padding: 8px 16px;
}

.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--border);
}

.hdr .bar {
  height: var(--hdr);
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.logo .mk {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 17px;
  overflow: hidden;
}

.logo .mk img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo b {
  font-size: 17px;
  letter-spacing: -.01em;
  display: block;
  line-height: 1.1;
}

.logo small {
  color: var(--text-2);
  font-size: 11px;
  display: block;
}

.search {
  position: relative;
  flex: 1;
  max-width: 640px;
}

.search form {
  display: flex;
  align-items: center;
  height: 44px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 6px 0 14px;
  transition: border-color var(--t), background var(--t);
}

.search form:focus-within {
  background: var(--bg);
  border-color: var(--text);
}

.search input {
  flex: 1;
  border: 0;
  background: transparent;
  height: 100%;
  outline: 0;
  min-width: 0;
  padding: 0 10px;
}

.search .go {
  height: 34px;
  padding: 0 14px;
  border-radius: 9px;
  border: 0;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
}

.sugg {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  z-index: 60;
  max-height: 70vh;
  overflow: auto;
}

.sugg a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 8px;
}

.sugg a:hover,
.sugg a.on {
  background: var(--bg-2);
}

.sugg img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--bg-2);
  flex: none;
}

.sugg .t {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.sugg .p {
  font-weight: 700;
  font-size: 13px;
}

.sugg .lbl {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 8px 10px 4px;
}

.sugg .empty {
  padding: 14px;
  color: var(--text-2);
  font-size: 13px;
}

.hdr .acts {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.brandsel {
  position: relative;
}

.brandsel .menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  width: 260px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  z-index: 60;
}

.brandsel .menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 8px;
}

.brandsel .menu a:hover {
  background: var(--bg-2);
}

.dotb {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  flex: none;
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  overflow: hidden;
}

.dotb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catnav {
  border-top: 1px solid var(--border);
}

.catnav .wrap {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  height: 44px;
  align-items: center;
}

.catnav .wrap::-webkit-scrollbar {
  display: none;
}

.catnav a {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  white-space: nowrap;
  transition: color var(--t), background var(--t);
}

.catnav a:hover,
.catnav a.on {
  color: var(--text);
  background: var(--bg-2);
}

.only-m {
  display: none !important;
}

.msearch {
  display: none;
}

/* ---------- bottom nav (mobile) ---------- */
.bnav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  background: rgba(255, 255, 255, .98);
  border-top: 1px solid var(--border);
  display: none;
  padding-bottom: env(safe-area-inset-bottom);
}

.bnav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 0 7px;
  font-size: 11px;
  color: var(--text-2);
  position: relative;
}

.bnav a.on {
  color: var(--text);
  font-weight: 600;
}

.bnav .count {
  top: 2px;
  right: calc(50% - 22px);
}

/* ---------- sections ---------- */
main {
  min-height: 60vh;
}

.sec {
  margin: 40px 0;
}

.sec-h {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.sec-h h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -.02em;
}

.sec-h p {
  margin: 4px 0 0;
  color: var(--text-2);
}

.sec-h a {
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.hero {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--accent);
  color: #fff;
  margin-top: 20px;
  min-height: 320px;
  display: flex;
  align-items: center;
}

.hero .bgimg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .1));
}

.hero.plain::after {
  background: radial-gradient(120% 120% at 100% 0, rgba(255, 255, 255, .14), transparent 60%);
}

.hero .in {
  position: relative;
  z-index: 1;
  padding: 48px;
  max-width: 640px;
}

.hero .kicker {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255, 255, 255, .16);
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin: 0 0 12px;
}

.hero p {
  font-size: 16px;
  opacity: .9;
  margin: 0 0 24px;
}

.hero .btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero .btn.primary {
  background: #fff;
  color: var(--text);
}

.hero .btn.primary:hover {
  background: #f1f1f1;
}

.hero .btn.outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .5);
}

.hero .btn.outline:hover {
  border-color: #fff;
}

.brandgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.bcard {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--bg);
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
  position: relative;
  overflow: hidden;
}

.bcard:hover {
  border-color: var(--bc);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.bcard::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--bc);
}

.bcard .dotb {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 18px;
}

.bcard b {
  font-size: 16px;
}

.bcard .go {
  margin-top: auto;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  gap: 4px;
  align-items: center;
  color: var(--bc);
}

.catgrid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.ccard {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  font-weight: 600;
  font-size: 13px;
}

.ccard .im {
  aspect-ratio: 1;
  border-radius: var(--r-lg);
  background: var(--bg-2);
  overflow: hidden;
  border: 1px solid var(--border);
}

.ccard .im img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms;
}

.ccard:hover .im img {
  transform: scale(1.04);
}

.ccard small {
  color: var(--text-2);
  font-weight: 400;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: s;
}

.step {
  background: var(--bg-2);
  border-radius: var(--r-lg);
  padding: 20px;
}

.step .n {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.step b {
  display: block;
  margin-bottom: 4px;
}

.step p {
  margin: 0;
  color: var(--text-2);
  font-size: 13px;
}

.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
}

.trust div {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.trust .ic {
  color: var(--text);
  margin-top: 2px;
}

.trust b {
  display: block;
  font-size: 14px;
}

.trust span {
  color: var(--text-2);
  font-size: 13px;
}

/* ---------- product grid & card ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.grid.g4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-radius: var(--r);
  position: relative;
  min-width: 0;
}

.card .im {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--bg-2);
}

.card .im img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 300ms, transform 400ms;
}

.card .im img.ld {
  opacity: 1;
}

.card:hover .im img.ld {
  transform: scale(1.03);
}

.card .im .fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c4c7cc;
}

.card .tags {
  position: absolute;
  left: 8px;
  top: 8px;
  display: flex;
  gap: 4px;
}

.card .heart {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, .92);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: transform var(--t), color var(--t);
}

.card .heart:hover {
  transform: scale(1.08);
}

.heart.on {
  color: var(--error) !important;
}

.card .bd {
  padding: 10px 2px 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.card .brand {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.card .ttl {
  font-size: 13px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}

.card .pr {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.card .pr small {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-2);
  margin-right: 3px;
}

.card .meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-2);
}

.card .sw {
  display: flex;
  gap: 3px;
}

.card .sw img {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  object-fit: cover;
  border: 1px solid var(--border);
  opacity: 1;
}

.skel {
  background: linear-gradient(90deg, #f1f2f4 25%, #f8f9fa 37%, #f1f2f4 63%);
  background-size: 400% 100%;
  animation: sk 1.4s ease infinite;
  border-radius: 8px;
}

@keyframes sk {
  0% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0 50%;
  }
}

.card.sk .im {
  animation: sk 1.4s ease infinite;
  background: linear-gradient(90deg, #f1f2f4 25%, #f8f9fa 37%, #f1f2f4 63%);
  background-size: 400% 100%;
}

.card.sk .l {
  height: 12px;
  margin-top: 10px;
}

.empty {
  text-align: center;
  padding: 56px 16px;
  color: var(--text-2);
}

.empty .ic {
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  color: #c4c7cc;
}

.empty b {
  display: block;
  color: var(--text);
  font-size: 16px;
  margin-bottom: 4px;
}

/* ---------- listing ---------- */
.crumbs {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 13px;
  color: var(--text-2);
  margin: 20px 0 8px;
  flex-wrap: wrap;
}

.crumbs a:hover {
  color: var(--text);
}

.lhead {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.lhead h1 {
  margin: 0;
  font-size: 26px;
  letter-spacing: -.02em;
}

.lhead p {
  margin: 4px 0 0;
  color: var(--text-2);
}

.layout {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.filters {
  position: sticky;
  top: calc(var(--hdr) + 60px);
  max-height: calc(100vh - var(--hdr) - 80px);
  overflow: auto;
  padding-right: 4px;
}

.fgroup {
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.fgroup summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  cursor: pointer;
}

.fgroup summary::-webkit-details-marker {
  display: none;
}

.fgroup summary .ic {
  transition: transform var(--t);
}

.fgroup[open] summary .ic {
  transform: rotate(180deg);
}

.fgroup .opts {
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 4px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
}

.opt:hover {
  background: var(--bg-2);
}

.opt input {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}

.opt em {
  margin-left: auto;
  font-style: normal;
  color: var(--text-2);
  font-size: 12px;
}

.prange {
  display: flex;
  gap: 8px;
  align-items: center;
  padding-top: 10px;
}

.prange input {
  height: 38px;
}

.toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.toolbar .total {
  color: var(--text-2);
  font-size: 13px;
  margin-right: auto;
}

.toolbar select {
  height: 38px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  padding: 0 32px 0 12px;
  background: var(--bg);
}

.active-f {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.active-f .chip {
  height: 30px;
  font-size: 12px;
}

.pager {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 32px 0;
  flex-wrap: wrap;
}

.pager button {
  min-width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--bg);
}

.pager button.on {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.pager button:disabled {
  opacity: .4;
}

.cat-page .loadstate {
  min-height: 56px;
  padding: 22px 12px 32px;
  text-align: center;
  color: var(--text-2);
  font-size: 13px;
}

.cat-page .loadstate button {
  margin-left: 10px;
}

.brandhero {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  margin-top: 20px;
  background: var(--accent);
  color: #fff;
  min-height: 200px;
  display: flex;
  align-items: end;
}

.brandhero img.bgimg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brandhero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0) 70%);
}

.brandhero .in {
  position: relative;
  z-index: 1;
  padding: 28px;
  display: flex;
  gap: 16px;
  align-items: center;
}

.brandhero .dotb {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  font-size: 26px;
  background: rgba(255, 255, 255, .18);
  border: 2px solid rgba(255, 255, 255, .5);
}

.brandhero h1 {
  margin: 0;
  font-size: 30px;
  letter-spacing: -.02em;
}

.brandhero p {
  margin: 4px 0 0;
  opacity: .9;
}

.catchips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 16px 0 4px;
}

.catchips::-webkit-scrollbar {
  display: none;
}

/* ---------- sheet / drawer ---------- */
.scrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .4);
  z-index: 80;
  opacity: 0;
  transition: opacity var(--t);
}

.scrim.on {
  opacity: 1;
}

.drawer {
  position: fixed;
  z-index: 90;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  transition: transform 280ms cubic-bezier(.2, .7, .2, 1);
}

.drawer.right {
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100%);
  transform: translateX(100%);
}

.drawer.bottom {
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 86vh;
  border-radius: 20px 20px 0 0;
  transform: translateY(100%);
}

.drawer.on {
  transform: none;
}

.drawer .dh {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

.drawer .dh b {
  font-size: 16px;
}

.drawer .db {
  flex: 1;
  overflow: auto;
  padding: 16px;
}

.drawer .df {
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
}

.drawer.bottom .dh::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 6px;
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  transform: translateX(-50%);
}

.cline {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.cline:last-child {
  border-bottom: 0;
}

.cline img {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--bg-2);
}

.cline .t {
  font-size: 13px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cline .v {
  font-size: 12px;
  color: var(--text-2);
  margin-top: 2px;
}

.cline .r {
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 8px;
}

.cline .x {
  border: 0;
  background: none;
  color: var(--text-2);
  padding: 2px;
  display: flex;
}

.cline .x:hover {
  color: var(--error);
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  height: 36px;
}

.qty button {
  width: 34px;
  height: 100%;
  border: 0;
  background: none;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty button:disabled {
  opacity: .3;
}

.qty input {
  width: 40px;
  text-align: center;
  border: 0;
  height: 100%;
  background: none;
  -moz-appearance: textfield;
}

.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.qty.lg {
  height: 44px;
}

.sumrow {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  font-size: 14px;
}

.sumrow.t {
  font-weight: 700;
  font-size: 16px;
  border-top: 1px solid var(--border);
  margin-top: 6px;
  padding-top: 12px;
}

.sumrow.hl {
  color: var(--text);
  font-weight: 600;
}

.note {
  background: var(--bg-2);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text-2);
  display: flex;
  gap: 10px;
  line-height: 1.5;
}

.note .ic {
  flex: none;
  color: var(--text);
}

.note b {
  color: var(--text);
}

/* ---------- product page ---------- */
.pd {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px;
  margin-top: 12px;
  align-items: start;
}

.gal {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  position: sticky;
  top: calc(var(--hdr) + 60px);
}

.gal .thumbs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 560px;
  overflow: auto;
  scrollbar-width: none;
}

.gal .thumbs::-webkit-scrollbar {
  display: none;
}

.gal .thumbs button {
  width: 72px;
  height: 72px;
  flex: none;
  padding: 0;
  border-radius: 10px;
  border: 2px solid transparent;
  overflow: hidden;
  background: var(--bg-2);
  position: relative;
}

.gal .thumbs button.on {
  border-color: var(--text);
}

.gal .thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gal .thumbs .play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .3);
  color: #fff;
}

.gal .main {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-2);
  cursor: zoom-in;
}

.gal .main img,
.gal .main video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 120ms;
}

.gal .main.zoom img {
  transform: scale(2);
}

.gal .slides {
  display: none;
}

.gal .dots {
  display: none;
}

.pinfo .brandlink {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.pinfo h1 {
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -.02em;
  margin: 8px 0 12px;
}

.pinfo .price {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.pinfo .price small {
  font-size: 14px;
  color: var(--text-2);
  font-weight: 500;
  margin-left: 6px;
}

.pinfo .facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 13px;
  color: var(--text-2);
  margin: 12px 0 4px;
}

.pinfo .facts b {
  color: var(--text);
  font-weight: 600;
}

.vprop {
  margin-top: 20px;
}

.vprop .lbl {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}

.vprop .lbl span {
  color: var(--text-2);
  font-weight: 400;
}

.vals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.val {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 4px 14px 4px 4px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--bg);
  font-size: 13px;
  transition: border-color var(--t), box-shadow var(--t);
  max-width: 100%;
}

.val.noimg {
  padding: 4px 14px;
}

.val img {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  object-fit: cover;
}

.val:hover {
  border-color: var(--text-2);
}

.val.on {
  border-color: var(--text);
  box-shadow: inset 0 0 0 1px var(--text);
  font-weight: 600;
}

.val.out {
  opacity: .4;
  text-decoration: line-through;
}

.val span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.buy {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.buy .btn {
  flex: 1;
  min-width: 140px;
  height: 48px;
}

.buy .iconbtn {
  border: 1px solid var(--border);
  width: 48px;
  height: 48px;
}

.selmsg {
  font-size: 13px;
  margin-top: 10px;
  color: var(--text-2);
  min-height: 20px;
}

.selmsg.bad {
  color: var(--error);
}

.infobox {
  margin-top: 24px;
  border: 1px solid var(--border);
  border-radius: var(--r);
}

.infobox>div {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.infobox>div:last-child {
  border-bottom: 0;
}

.infobox b {
  display: block;
}

.infobox span {
  color: var(--text-2);
}

.tabsec {
  margin: 48px 0;
}

.tabsec h2 {
  font-size: 20px;
  margin: 0 0 16px;
}

.attrs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}

.attrs div {
  display: grid;
  grid-template-columns: 40% 60%;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
}

.attrs span {
  background: var(--bg-2);
  padding: 10px 14px;
  color: var(--text-2);
}

.attrs b {
  padding: 10px 14px;
  font-weight: 500;
  word-break: break-word;
}

.desc {
  overflow: hidden;
}

.desc img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.stickybuy {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #000;
  display: flex;
  flex-direction: column;
}

.lightbox .lt {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  padding: 12px 16px;
}

.lightbox .lt .iconbtn {
  color: #fff;
}

.lightbox .lt .iconbtn:hover {
  background: rgba(255, 255, 255, .12);
}

.lightbox .ls {
  flex: 1;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.lightbox .ls::-webkit-scrollbar {
  display: none;
}

.lightbox .ls>div {
  flex: 0 0 100%;
  scroll-snap-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ---------- cart / checkout ---------- */
.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 28px;
  align-items: start;
  margin: 20px 0 48px;
}

.panel {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  background: var(--bg);
}

.panel h2 {
  font-size: 18px;
  margin: 0 0 14px;
}

.panel+.panel {
  margin-top: 16px;
}

.sticky {
  position: sticky;
  top: calc(var(--hdr) + 60px);
}

.group-h {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg-2);
  border-radius: var(--r-sm);
  margin: 12px 0 4px;
  font-size: 13px;
}

.group-h:first-child {
  margin-top: 0;
}

.paym {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.paym label {
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 12px;
  cursor: pointer;
  display: flex;
  gap: 10px;
  align-items: center;
  transition: border-color var(--t);
}

.paym label:has(input:checked) {
  border-color: var(--text);
  box-shadow: inset 0 0 0 1px var(--text);
}

.paym input {
  accent-color: var(--primary);
}

.paym small {
  display: block;
  color: var(--text-2);
  font-size: 12px;
}

.ok-hero {
  text-align: center;
  padding: 32px 16px 8px;
}

.ok-hero .ic {
  width: 56px;
  height: 56px;
  color: var(--success);
  margin: 0 auto 12px;
}

.ok-hero h1 {
  margin: 0 0 6px;
  font-size: 26px;
  letter-spacing: -.02em;
}

.ocard {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 18px;
  margin-bottom: 14px;
}

.ocard .oh {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 10px;
}

.ocode {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .02em;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.timeline li {
  position: relative;
  padding: 0 0 18px 32px;
  font-size: 14px;
  color: var(--text-2);
}

.timeline li::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 18px;
  bottom: -2px;
  width: 2px;
  background: var(--border);
}

.timeline li:last-child::before {
  display: none;
}

.timeline li i {
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg);
}

.timeline li.done {
  color: var(--text);
}

.timeline li.done i {
  background: var(--primary);
  border-color: var(--primary);
}

.timeline li.done::before {
  background: var(--primary);
}

.timeline li.cur {
  color: var(--text);
  font-weight: 700;
}

.timeline li.cur i {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(23, 23, 23, .1);
}

.prose {
  max-width: 760px;
  margin: 20px 0 48px;
}

.prose h1 {
  font-size: 28px;
  letter-spacing: -.02em;
}

.prose p {
  color: #3f3f46;
  font-size: 15px;
  line-height: 1.7;
}

/* ---------- footer, toast ---------- */
.ftr {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  margin-top: 56px;
  padding: 40px 0 24px;
  font-size: 13px;
}

.ftr .cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
}

.ftr h4 {
  margin: 0 0 12px;
  font-size: 13px;
}

.ftr a,
.ftr p {
  color: var(--text-2);
  display: block;
  margin: 0 0 8px;
}

.ftr a:hover {
  color: var(--text);
}

.ftr .copy {
  border-top: 1px solid var(--border);
  margin-top: 24px;
  padding-top: 16px;
  color: var(--text-2);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  background: var(--primary);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 500;
  z-index: 120;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t), transform var(--t);
  display: flex;
  gap: 8px;
  align-items: center;
  max-width: calc(100% - 32px);
}

.toast.on {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- responsive ---------- */
@media (max-width: 1200px) {
  .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .catgrid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1024px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .filters {
    display: none;
  }

  .only-d {
    display: none !important;
  }

  .only-m {
    display: inline-flex !important;
  }

  .grid,
  .grid.g4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .brandgrid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps,
  .trust {
    grid-template-columns: repeat(2, 1fr);
  }

  .pd {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gal {
    position: static;
    grid-template-columns: 1fr;
  }

  .gal .thumbs,
  .gal .main {
    display: none;
  }

  .gal .slides {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin: 0 -16px;
    aspect-ratio: 1;
  }

  .gal .slides::-webkit-scrollbar {
    display: none;
  }

  .gal .slides>* {
    flex: 0 0 100%;
    scroll-snap-align: center;
    aspect-ratio: 1;
    background: var(--bg-2);
  }

  .gal .slides img,
  .gal .slides video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .gal .dots {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 10px;
  }

  .gal .dots i {
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background: var(--border);
    transition: width var(--t), background var(--t);
  }

  .gal .dots i.on {
    width: 18px;
    background: var(--text);
  }

  .checkout {
    grid-template-columns: 1fr;
  }

  .sticky {
    position: static;
  }

  .ftr .cols {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --hdr: 56px;
  }

  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
  }

  body.has-sticky {
    padding-bottom: calc(136px + env(safe-area-inset-bottom));
  }

  .bnav {
    display: flex;
  }

  .hdr .bar {
    gap: 8px;
  }

  .hdr .search.desk,
  .catnav,
  .hdr .hide-m {
    display: none !important;
  }

  .msearch {
    display: block;
    padding: 0 16px 10px;
  }

  .msearch .search {
    max-width: none;
  }

  .logo small {
    display: none;
  }

  .grid,
  .grid.g4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .hero {
    min-height: 260px;
    margin-top: 12px;
  }

  .hero .in {
    padding: 28px 20px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 14px;
  }

  .sec {
    margin: 28px 0;
  }

  .sec-h h2 {
    font-size: 18px;
  }

  .brandgrid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin: 0 -16px;
    padding: 0 16px;
    gap: 12px;
  }

  .brandgrid::-webkit-scrollbar {
    display: none;
  }

  .bcard {
    flex: 0 0 72%;
    scroll-snap-align: start;
  }

  .catgrid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .steps,
  .trust {
    grid-template-columns: 1fr;
  }

  .pinfo h1 {
    font-size: 19px;
  }

  .pinfo .price {
    font-size: 26px;
  }

  .buy.inline {
    display: none;
  }

  .stickybuy {
    display: flex;
    gap: 8px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(64px + env(safe-area-inset-bottom));
    z-index: 54;
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 10px 16px;
    align-items: center;
  }

  .stickybuy .p {
    font-weight: 800;
    font-size: 17px;
    margin-right: auto;
    white-space: nowrap;
  }

  .stickybuy .btn {
    height: 44px;
    padding: 0 14px;
  }

  .attrs {
    grid-template-columns: 1fr;
  }

  .lhead h1 {
    font-size: 21px;
  }

  .row2 {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .brandhero .in {
    padding: 20px;
  }

  .brandhero h1 {
    font-size: 22px;
  }

  .ftr .cols {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .toast {
    bottom: calc(80px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 360px) {
  .paym {
    grid-template-columns: 1fr;
  }

  .stickybuy .btn {
    padding: 0 10px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* =====================================================================
   Marketplace theme: teal brand, coral "Buy now", dark category bar
   ===================================================================== */
:root {
  --page: #FFFFFF;
  --alt: #F7F7F7;
  --bg: #FFFFFF;
  --bg-2: #F5F6F7;
  --text: #222831;
  --text-2: #666666;
  --border: #E8EAED;
  --primary: #057E84;
  --primary-h: #04686D;
  --on-primary: #FFFFFF;
  --buy: #FE5759;
  --buy-h: #E8464A;
  --ink: #222831;
  --ribbon: #E53935;
  --save: #C5E25A;
  --accent: #057E84;
  --r-sm: 6px;
  --r: 8px;
  --r-lg: 12px;
  --shadow-card: 0 1px 3px rgba(0, 0, 0, .06), 0 4px 14px rgba(0, 0, 0, .05);
  --font: 'Open Sans', 'Hind Siliguri', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

body {
  background: var(--page);
  color: var(--text-2);
}

h1,
h2,
h3,
b,
strong {
  color: var(--ink);
}

.btn {
  border-radius: 6px;
  font-weight: 600;
}

.btn.primary {
  background: var(--primary);
}

.btn.primary:hover {
  background: var(--primary-h);
}

.btn.btn-buy {
  background: var(--buy);
  color: #fff;
  border-color: var(--buy);
}

.btn.btn-buy:hover {
  background: var(--buy-h);
}

.btn.outline {
  border-color: var(--primary);
  color: var(--primary);
  background: #fff;
}

.btn.outline:hover {
  background: var(--primary);
  color: #fff;
}

.count {
  background: var(--buy);
}

.badge.dark {
  background: var(--primary);
}

.chip.on {
  background: var(--primary);
  border-color: var(--primary);
}

:focus-visible {
  outline-color: var(--primary);
}

.save {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--save);
  color: #253000;
  font-size: 11px;
  font-weight: 700;
}

.rib {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--ribbon);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 0 8px 0 8px;
  z-index: 2;
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

/* header */
.hdr {
  background: #fff;
  backdrop-filter: none;
  border-bottom: 0;
  box-shadow: 0 1px 0 var(--border);
}

.hdr .bar {
  height: 74px;
  gap: 24px;
}

.logo .mk {
  background: var(--primary);
  border-radius: 12px;
  width: 40px;
  height: 40px;
}

.logo b {
  font-size: 18px;
  font-weight: 800;
}

.search {
  max-width: 560px;
  margin: 0 auto;
}

.search form {
  background: #F1F3F4;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 4px 0 18px;
  height: 46px;
}

.search form:focus-within {
  background: #fff;
  border-color: var(--primary);
}

.search .go {
  background: var(--primary);
  color: #fff;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 60px;
  padding: 6px 4px;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 600;
  position: relative;
  border-radius: 8px;
}

.hact:hover {
  color: var(--primary);
}

.hact .count {
  top: 0;
  right: 12px;
}

.hdr .acts {
  gap: 2px;
}

.mhead {
  display: none;
}

.catnav {
  background: var(--ink);
  border-top: 0;
}

.catnav .wrap {
  height: 46px;
  gap: 2px;
}

.catnav .ci {
  position: relative;
}

.catnav a {
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.catnav a:hover,
.catnav a.on {
  color: #fff;
  background: rgba(255, 255, 255, .12);
}

.catnav .dd {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .14);
  padding: 6px;
  display: none;
  z-index: 70;
}

.catnav .ci:hover .dd,
.catnav .ci:focus-within .dd {
  display: block;
}

.catnav .dd a {
  color: var(--ink);
  display: flex;
  font-weight: 500;
}

.catnav .dd a:hover {
  background: var(--bg-2);
  color: var(--primary);
}

.catnav .ic {
  width: 14px;
  height: 14px;
}

/* sections */
.band {
  padding: 36px 0;
}

.band.alt {
  background: var(--alt);
}

.ctitle {
  text-align: center;
  font-size: 26px;
  font-weight: 600;
  margin: 0 0 22px;
  color: var(--ink);
}

.ctitle small {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-2);
  margin-top: 4px;
}

.morebar {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

/* hero */
.herogrid {
  display: grid;
  grid-template-columns: minmax(0, 2.05fr) minmax(0, 1fr);
  gap: 16px;
  margin: 20px auto 0;
}

.slider {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 2.55 / 1;
  background: var(--primary);
}

.slider .sl {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 500ms;
  display: flex;
  align-items: center;
  color: #fff;
  pointer-events: none;
}

.slider .sl.on {
  opacity: 1;
  pointer-events: auto;
}

.slider .sl img.bgimg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider .sl.img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 70%);
}

.slider .sl .in {
  position: relative;
  z-index: 1;
  padding: 40px 48px;
  max-width: 70%;
}

.slider .sl .k {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, .18);
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
  color: #fff;
}

.slider .sl h1 {
  font-size: 36px;
  line-height: 1.15;
  margin: 0 0 10px;
  letter-spacing: -.02em;
  color: #fff;
}

.slider .sl p {
  margin: 0 0 20px;
  opacity: .92;
  font-size: 15px;
}

.slider .sl .btn {
  background: #fff;
  color: var(--ink);
}

.slider .sl .btn:hover {
  background: var(--buy);
  color: #fff;
}

.slider .sl .deco {
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
}

.slider .sl .deco2 {
  position: absolute;
  right: 140px;
  top: -80px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
}

.slider .dots {
  position: absolute;
  left: 24px;
  bottom: 16px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.slider .dots button {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  border: 0;
  background: rgba(255, 255, 255, .55);
  padding: 0;
  transition: width 200ms;
}

.slider .dots button.on {
  width: 22px;
  background: #fff;
}

.side {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.side h3 {
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 6px;
  color: #fff;
}

.side p {
  margin: 0;
  opacity: .85;
  font-size: 13.5px;
}

.side ol {
  margin: 14px 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  counter-reset: s;
}

.side li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 600;
  font-size: 13px;
}

.side li::before {
  counter-increment: s;
  content: counter(s);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--buy);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  font-size: 12px;
}

.side .btn {
  background: var(--buy);
  color: #fff;
  align-self: flex-start;
}

/* carousel */
.carou {
  position: relative;
}

.carou .track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 7 * 16px) / 8);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px 2px 8px;
}

.carou .track::-webkit-scrollbar {
  display: none;
}

.carou .track>* {
  scroll-snap-align: start;
}

.carou .nav {
  position: absolute;
  top: 34%;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: #E3F2F2;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
}

.carou .nav:hover {
  background: var(--primary);
  color: #fff;
}

.carou .nav.l {
  left: -16px;
}

.carou .nav.r {
  right: -16px;
}

.carou .nav[disabled] {
  opacity: 0;
  pointer-events: none;
}

.ctile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}

.ctile .im {
  width: 100%;
  aspect-ratio: 1;
  background: #fff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 200ms;
}

.ctile .im img {
  width: 82%;
  height: 82%;
  object-fit: contain;
}

.ctile:hover .im {
  transform: translateY(-3px);
}

.ctile .ph {
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* product card */
.grid,
.grid.g4 {
  gap: 16px;
}

.card {
  background: #fff;
  border-radius: 8px;
  padding: 10px 10px 12px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 200ms, transform 200ms;
  position: relative;
}

.card:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, .1);
  transform: translateY(-2px);
}

.card .im {
  border-radius: 6px;
  background: #fff;
}

.card:hover .im img.ld {
  transform: none;
}

.card .tags {
  top: 8px;
  left: 8px;
}

.card .tags .badge.dark {
  background: var(--primary);
  border-radius: 4px;
}

.card .heart {
  top: auto;
  bottom: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .1);
}

.card .bd {
  padding: 10px 2px 0;
  gap: 4px;
}

.card .ttl {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.card .brand {
  color: var(--primary);
}

.card .pr {
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
}

.card .pr del {
  color: #999;
  font-weight: 400;
  font-size: 13px;
  margin-left: 6px;
}

.card .acts2 {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

.card .acts2 .btn {
  flex: 1;
  height: 36px;
  padding: 0 6px;
  font-size: 12.5px;
}

.card.sk {
  box-shadow: none;
}

/* brands */
.bstrip .track {
  grid-auto-columns: calc((100% - 3 * 16px) / 4);
}

.blogo {
  background: #fff;
  border-radius: 12px;
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 16px;
  box-shadow: var(--shadow-card);
  transition: transform 200ms;
}

.blogo:hover {
  transform: translateY(-2px);
}

.blogo b {
  font-size: 18px;
  font-weight: 800;
}

.blogo small {
  display: block;
  color: var(--text-2);
  font-size: 12px;
  font-weight: 500;
}

.blogo .dotb {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  font-size: 20px;
}

.step {
  background: #fff;
  box-shadow: var(--shadow-card);
}

.step .n {
  background: var(--primary);
  border-radius: 50%;
}

.trust {
  background: #fff;
  border-color: var(--border);
}

.trust .ic {
  color: var(--primary);
}

/* floating helpers */
.fcart {
  position: fixed;
  right: 0;
  top: 46%;
  z-index: 52;
  background: #fff;
  border-radius: 8px 0 0 8px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .14);
  border: 0;
  padding: 0;
  width: 70px;
  text-align: center;
  cursor: pointer;
}

.fcart .t {
  background: var(--primary);
  color: #fff;
  padding: 9px 4px 7px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 11.5px;
  font-weight: 700;
}

.fcart .t .ic {
  width: 20px;
  height: 20px;
}

.fcart .s {
  color: var(--primary);
  font-weight: 800;
  font-size: 12px;
  padding: 6px 2px;
}

.fab {
  position: fixed;
  right: 18px;
  z-index: 52;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
  transition: opacity 200ms, transform 200ms;
}

.fab.top {
  bottom: 22px;
  background: var(--ink);
}

.fab.top[hidden] {
  display: none;
}

.fab.wa {
  bottom: 78px;
  background: #25D366;
}

.fab .ic {
  width: 22px;
  height: 22px;
}

/* footer */
.ftr {
  background: var(--ink);
  color: #c9ccd1;
  border-top: 0;
}

.ftr h4 {
  color: #fff;
  font-size: 15px;
}

.ftr a,
.ftr p {
  color: #b9bdc4;
}

.ftr a:hover {
  color: #fff;
}

.ftr .flogo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.ftr .flogo .mk {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ftr .flogo .mk img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ftr .flogo b {
  color: #fff;
  font-size: 17px;
}

.ftr .pays {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.ftr .pays span {
  background: #fff;
  color: var(--ink);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
}

.ftr .copy {
  border-top-color: rgba(255, 255, 255, .12);
  color: #9aa0a8;
}

/* other pages */
.filters {
  background: #fff;
  border-radius: 10px;
  padding: 4px 16px;
  box-shadow: var(--shadow-card);
}

.pd {
  background: #fff;
}

.pinfo .price {
  color: var(--ink);
}

.pinfo .brandlink {
  color: var(--primary);
}

.buy .btn.outline {
  border-color: var(--primary);
}

.val.on {
  border-color: var(--primary);
  box-shadow: inset 0 0 0 1px var(--primary);
}

.timeline li.done i,
.timeline li.cur i {
  background: var(--primary);
  border-color: var(--primary);
}

.timeline li.done::before {
  background: var(--primary);
}

.pager button.on {
  background: var(--primary);
  border-color: var(--primary);
}

.gal .dots i.on {
  background: var(--primary);
}

.brandhero {
  background: var(--ink);
}

.panel,
.ocard {
  box-shadow: var(--shadow-card);
  border-color: transparent;
}

.ptabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
  overflow-x: auto;
}

.ptabs button {
  border: 0;
  background: none;
  padding: 12px 16px;
  font-weight: 600;
  color: var(--text-2);
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}

.ptabs button.on {
  color: var(--primary);
  border-color: var(--primary);
}

.tabsec .pane[hidden] {
  display: none;
}

/* bottom nav */
.bnav {
  background: var(--primary);
  border-top: 0;
}

.bnav a {
  color: rgba(255, 255, 255, .82);
  text-transform: uppercase;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .03em;
}

.bnav a.on {
  color: #fff;
}

.bnav .count {
  background: var(--buy);
  color: #fff;
}

@media (max-width: 1200px) {
  .carou .track {
    grid-auto-columns: calc((100% - 5 * 16px) / 6);
  }
}

@media (max-width: 1024px) {
  .herogrid {
    grid-template-columns: 1fr;
  }

  .side {
    display: none;
  }

  .carou .track {
    grid-auto-columns: calc((100% - 3 * 12px) / 4);
    gap: 12px;
  }

  .bstrip .track {
    grid-auto-columns: calc((100% - 2 * 12px) / 3);
  }
}

@media (max-width: 768px) {
  .hdr .bar {
    display: none;
  }

  .mhead {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    height: 56px;
    padding: 0 8px;
  }

  .mhead .logo {
    justify-self: center;
  }

  .mhead .logo small {
    display: none;
  }

  .msearch {
    display: block;
  }

  .catnav {
    display: block !important;
  }

  .catnav .dd {
    display: none !important;
  }

  .slider {
    aspect-ratio: 1.6 / 1;
    border-radius: 12px;
  }

  .slider .sl .in {
    padding: 22px 20px;
    max-width: 92%;
  }

  .slider .sl h1 {
    font-size: 22px;
  }

  .slider .sl p {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .carou .track {
    grid-auto-columns: calc((100% - 2 * 12px) / 3.3);
  }

  .carou .nav {
    display: none;
  }

  .bstrip .track {
    grid-auto-columns: 46%;
  }

  .band {
    padding: 24px 0;
  }

  .ctitle {
    font-size: 20px;
    margin-bottom: 14px;
  }

  .card {
    padding: 8px 8px 10px;
  }

  .card .ttl {
    font-size: 13px;
  }

  .card .acts2 {
    flex-direction: column;
    gap: 6px;
  }

  .card .acts2 .btn {
    height: 34px;
    flex: none;
    width: 100%;
  }

  .fab.top {
    bottom: calc(76px + env(safe-area-inset-bottom));
  }

  .fab.wa {
    bottom: calc(130px + env(safe-area-inset-bottom));
  }

  .fcart {
    display: block;
  }
}

.carou .track {
  justify-content: safe center;
}

.card .heart {
  top: 34px;
  right: 8px;
  bottom: auto;
}

.card .acts2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.card .acts2 .btn {
  min-width: 0;
  padding: 0 4px;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
  .card .acts2 {
    grid-template-columns: 1fr;
  }
}

.card .im img {
  position: relative;
  z-index: 1;
}

/* Font Awesome icon sizing (font icons instead of SVG) */
.ic {
  width: 1.2em;
  height: 1.2em;
  font-size: 16px;
  fill: none;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.ic.s {
  font-size: 14px;
}

.ic.l {
  font-size: 24px;
}

.hact .ic {
  font-size: 19px;
  height: 22px;
}

.iconbtn .ic {
  font-size: 19px;
}

.bnav .ic {
  font-size: 19px;
  height: 22px;
}

.catnav .ic {
  font-size: 10px;
  margin-left: 2px;
}

.empty .ic {
  font-size: 40px;
  width: auto;
  height: auto;
  display: flex;
  margin: 0 auto 12px;
}

.ok-hero .ic {
  font-size: 52px;
  width: auto;
  height: auto;
  display: flex;
}

.fcart .t .ic {
  font-size: 18px;
}

.fab .ic {
  font-size: 22px;
}

.fab.wa .ic {
  font-size: 26px;
}

.search .go .ic {
  font-size: 15px;
}

.trust .ic {
  font-size: 22px;
}

.infobox .ic {
  font-size: 20px;
  color: var(--primary);
  width: 24px;
}

.card .heart .ic {
  font-size: 15px;
}

.card .im .fallback .ic {
  font-size: 28px;
}

.qty .ic {
  font-size: 12px;
}

.ftr .ic {
  width: 18px;
  color: #fff;
  opacity: .85;
}

.sugg .ic {
  width: 44px;
  font-size: 16px;
  color: var(--text-2);
}

.toast .ic {
  font-size: 15px;
}

.btn .ic {
  font-size: 14px;
}

/* ===== Coral primary (#FE5759) ===== */
:root {
  --primary: #FE5759;
  --primary-h: #E8464A;
  --primary-tint: #FFECEC;
  --primary-text: #C9363B;
  --accent: #FE5759;
  --buy: #FE5759;
  --buy-h: #E8464A;
  --ribbon: #222831;
}

a.link,
.shead a,
.card .brand,
.pinfo .brandlink,
.crumbs a:hover,
.ptabs button.on {
  color: var(--primary-text);
}

.ptabs button.on {
  border-color: var(--primary);
}

.btn.outline {
  border-color: var(--ink);
  color: var(--ink);
}

.btn.outline:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.btn.primary,
.btn.btn-buy {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-weight: 700;
}

.btn.primary:hover,
.btn.btn-buy:hover {
  background: var(--primary-h);
  border-color: var(--primary-h);
}

.search .go {
  background: var(--primary);
}

.search form:focus-within {
  border-color: var(--primary);
}

.carou .nav {
  background: var(--primary-tint);
  color: var(--primary-text);
}

.carou .nav:hover {
  background: var(--primary);
  color: #fff;
}

.hact:hover {
  color: var(--primary-text);
}

.count {
  background: var(--primary);
}

.badge.dark,
.card .tags .badge.dark {
  background: var(--ink);
}

.rib {
  background: var(--ribbon);
}

.fcart .t {
  background: var(--primary-h);
  font-size: 12px;
}

.fcart .s {
  color: var(--primary-text);
}

.chip.on {
  background: var(--primary);
  border-color: var(--primary);
}

.opt input,
.paym input {
  accent-color: var(--primary);
}

.step .n {
  background: var(--primary);
}

.trust .ic,
.infobox .ic {
  color: var(--primary);
}

.side li::before {
  background: var(--primary);
}

.side .btn {
  background: var(--primary);
}

.slider .dots button.on {
  background: #fff;
}

.slider .sl .btn:hover {
  background: var(--primary);
  color: #fff;
}

:focus-visible {
  outline-color: var(--primary);
}

/* bottom nav: white bar, coral active (readable small labels) */
.bnav {
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -2px 12px rgba(0, 0, 0, .05);
}

.bnav a {
  color: #6B7280;
}

.bnav a.on {
  color: var(--primary-text);
}

.bnav a.on .ic {
  color: var(--primary);
}

.bnav .count {
  background: var(--primary);
  color: #fff;
}

/* icon accents */
.ctitle>.ic {
  color: var(--primary);
  font-size: 22px;
  margin-right: 10px;
  vertical-align: -1px;
}

.panel h2 .ic,
.lhead h1 .ic,
.prose h1 .ic,
.ptabs .ic,
.vprop .lbl .ic,
.field>span .ic {
  color: var(--primary);
  margin-right: 4px;
}

.field>span .ic {
  width: 16px;
}

.lhead h1 .ic,
.prose h1 .ic {
  font-size: .85em;
}

.card .meta {
  justify-content: space-between;
  min-height: 18px;
}

.card .meta .ic {
  font-size: 11px;
  color: var(--text-2);
}

.card .meta .sold .ic {
  color: var(--primary);
}

.card .meta .sold {
  margin-left: auto;
}

.pinfo .facts .ic {
  color: var(--primary);
  font-size: 13px;
}

.step .n .ic {
  color: #fff;
  font-size: 14px;
}

.step .n {
  width: 40px;
  height: 40px;
}

.timeline li>.ic {
  margin-right: 2px;
  color: inherit;
  font-size: 13px;
}

.timeline li.done>.ic,
.timeline li.cur>.ic {
  color: var(--primary);
}

.ftr .flinks a {
  display: flex;
  gap: 8px;
  align-items: center;
}

.ftr h4 .ic {
  color: var(--primary);
  margin-right: 4px;
}

.ftr .pays .ic {
  color: var(--primary);
  width: auto;
  opacity: 1;
}

.btn .ic {
  margin-right: 2px;
}

.timeline li>.ic.ic {
  position: static;
  width: auto;
  height: auto;
  border: 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
  display: inline-flex;
}

/* product description (1688 HTML) */
.tabsec {
  padding: 24px;
}

.desc .dbody {
  max-width: 800px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  overflow-wrap: anywhere;
  overflow-x: hidden;
}

.desc .dbody div,
.desc .dbody p,
.desc .dbody span,
.desc .dbody center {
  margin: 0;
  padding: 0;
  max-width: 100%;
}

.desc .dbody p {
  margin: 0 0 8px;
}

.desc .dbody img {
  display: block;
  width: 100%;
  max-width: 800px;
  height: auto;
  margin: 0 auto;
  padding: 0;
  border: 0;
}

.desc .dbody p img,
.desc .dbody span img {
  margin: 0 auto;
}

.desc .dbody .dtable {
  overflow-x: auto;
  margin: 12px 0;
  -webkit-overflow-scrolling: touch;
}

.desc .dbody table {
  border-collapse: collapse;
  min-width: 100%;
  font-size: 13px;
}

.desc .dbody td,
.desc .dbody th {
  border: 1px solid var(--border);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}

@media (max-width: 768px) {
  .tabsec {
    padding: 16px;
  }

  .desc .dbody {
    margin: 0 -4px;
  }
}

/* left menu drawer */
.drawer.left {
  top: 0;
  left: 0;
  bottom: 0;
  width: min(300px, 85vw);
  transform: translateX(-100%);
  transition: transform 250ms cubic-bezier(.2, .7, .2, 1);
}

.drawer.left.on {
  transform: none;
}

.mdrawer {
  background: #fff;
  overflow-y: auto;
  padding: 16px;
  font-family: var(--font);
  display: block;
}

.mclose {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, .25);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.mclose:hover {
  background: rgba(255, 255, 255, .4);
}

.mhello {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--primary);
  color: #fff;
  border-radius: 12px;
  padding: 18px 16px;
  margin-bottom: 16px;
}

.mhello .mav {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #CFE8FF;
  color: #5B8DB8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.mhello .mav .ic {
  font-size: 24px;
}

.mhello b {
  display: block;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
}

.mhello small {
  display: block;
  color: #fff;
  opacity: .92;
  font-size: 14px;
  margin-top: 2px;
}

.mpanel {
  background: #F2F2F2;
  border-radius: 12px;
  padding: 4px 16px;
}

.mrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid #DDD;
  background: none;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
}

.mpanel>.mrow:last-child,
.mpanel>.mgrp:last-child>.mrow {
  border-bottom: 0;
}

.mrow i.chev {
  color: #9AA0A6;
  font-size: 13px;
  transition: transform 200ms;
}

.mgrp>.mrow[aria-expanded="true"] i.chev {
  transform: rotate(90deg);
}

.msub {
  padding: 0 0 6px 14px;
  border-bottom: 1px solid #DDD;
}

.mpanel>.mgrp:last-child .msub {
  border-bottom: 0;
}

.msub .mrow {
  font-size: 14px;
  font-weight: 400;
  color: #444;
  padding: 11px 0;
  border-bottom: 1px dashed #E2E2E2;
}

.msub .mrow:last-child {
  border-bottom: 0;
}

.mrow:hover {
  color: var(--primary-text);
}

.mhead2 {
  font-size: 17px;
  font-weight: 600;
  color: #333;
  margin: 22px 0 14px;
  padding-bottom: 8px;
  position: relative;
}

.mhead2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.mql .mrow {
  justify-content: flex-start;
  gap: 14px;
}

.mql i.mi {
  font-size: 22px;
  width: 26px;
  color: var(--ink);
}

/* cart drawer */
.cdrawer {
  width: min(420px, 100vw);
  height: 100dvh;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
}

.cdrawer .ch {
  flex-shrink: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
}

.cdrawer .ch b {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink);
}

.cclose {
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 6px 4px;
}

.cclose:hover {
  color: var(--primary-text);
}

.clist {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fff;
}

.citem {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 28px;
  gap: 12px;
  align-items: start;
  background: #fff;
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .06), 0 4px 14px rgba(0, 0, 0, .06);
}

.cim img {
  width: 64px;
  height: 64px;
  border-radius: 6px;
  border: 1px solid var(--border);
  object-fit: cover;
  background: #fff;
}

.cbody {
  min-width: 0;
}

.ct {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cv {
  font-size: 12px;
  color: var(--text-2);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.crow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.cqty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #D5D5D5;
  border-radius: 999px;
  height: 30px;
  overflow: hidden;
}

.cqty button {
  width: 30px;
  height: 100%;
  border: 0;
  background: none;
  font-size: 16px;
  color: var(--ink);
  line-height: 1;
}

.cqty button:disabled {
  opacity: .3;
}

.cqty input {
  width: 34px;
  height: 100%;
  border: 0;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  -moz-appearance: textfield;
  background: none;
}

.cqty input::-webkit-outer-spin-button,
.cqty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.cmath {
  font-size: 13px;
  color: var(--text-2);
}

.cmath b {
  color: var(--ink);
}

.crm {
  border: 0;
  background: none;
  color: #8A8F98;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.crm:hover {
  background: var(--primary-tint);
  color: var(--primary-text);
}

.cempty {
  margin: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 40px 10px;
  color: var(--text-2);
}

.cempty .ic {
  font-size: 44px;
  color: #C7CBD1;
  margin-bottom: 6px;
}

.cempty b {
  font-size: 17px;
  color: var(--ink);
}

.cempty .btn {
  margin-top: 10px;
}

.cfoot {
  flex-shrink: 0;
  max-height: calc(100% - 64px);
  overflow-y: auto;
  background: #F2F2F2;
  padding: 14px 16px calc(16px + env(safe-area-inset-bottom));
}

.ymal {
  margin-bottom: 14px;
}

.ymh {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.ymh h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  position: relative;
  padding-bottom: 6px;
}

.ymh h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
}

.ymh span {
  display: flex;
  gap: 6px;
}

.yarr {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 0;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.yarr:hover {
  background: var(--primary-h);
}

.yarr .ic {
  font-size: 11px;
  color: #fff;
}

.ytrack {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 82%;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.ytrack::-webkit-scrollbar {
  display: none;
}

.ycard {
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  align-items: center;
}

.yim img {
  width: 64px;
  height: 64px;
  border-radius: 6px;
  object-fit: cover;
}

.yb {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: flex-start;
}

.yt {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.yp {
  font-size: 12px;
  color: var(--text-2);
}

.yadd {
  margin-top: 2px;
  border: 0;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 12px;
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.yadd:hover {
  background: var(--primary-h);
}

.yadd .ic {
  font-size: 10px;
  color: #fff;
}

.ctotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  color: var(--ink);
  margin: 4px 0 12px;
}

.ctotal b {
  font-size: 19px;
  font-weight: 800;
}

.ccheck {
  height: 50px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .06em;
}

.ccheck.disabled {
  opacity: .45;
  pointer-events: none;
}

/* menu drawer: match reference spacing */
.mclose.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  padding: 0;
  border: 0;
}

.mhello {
  padding: 14px 16px;
  gap: 0;
  border-radius: 12px;
  margin: 6px 0 22px;
}

.mhello .mav {
  width: 52px;
  height: 52px;
  background: #A9C4E8;
  color: #fff;
}

.mhello .mav .ic {
  font-size: 30px;
  margin-top: 8px;
}

.mhello>span:last-child {
  flex: 1;
  text-align: center;
}

.mhello b {
  font-size: 16px;
}

.mhello small {
  font-size: 14px;
  margin-top: 0;
}

.mpanel {
  padding: 4px 16px;
}

.mrow {
  font-size: 14px;
  font-weight: 400;
  padding: 13px 0;
  color: #222;
}

.mrow i.chev {
  font-size: 14px;
  color: #8A8A8A;
}

.mhead2 {
  font-size: 17px;
  font-weight: 600;
  color: #444;
  margin: 26px 0 12px;
  padding-bottom: 10px;
}

.mhead2::after {
  width: 32px;
  height: 2px;
}

.mql .mrow {
  border-bottom: 0;
  padding: 9px 0;
  font-size: 15px;
}

.mql i.mi {
  font-size: 22px;
  color: #1F2A44;
}

/* cart drawer: match reference */
.cdrawer .ch {
  padding: 14px 20px;
}

.cdrawer .ch b {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
}

.cclose {
  font-size: 15px;
  font-weight: 400;
  gap: 8px;
}

.cclose .ic {
  font-size: 16px;
}

.clist {
  padding: 18px 20px;
  gap: 12px;
}

.citem {
  grid-template-columns: 56px minmax(0, 1fr) 28px;
  align-items: center;
  padding: 12px;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
}

.cim img {
  width: 56px;
  height: 56px;
  border-radius: 6px;
  border: 1px solid #DDD;
  padding: 2px;
}

.ct {
  font-size: 14px;
  font-weight: 500;
}

.cv {
  font-size: 11.5px;
}

.crow {
  margin-top: 6px;
  gap: 8px;
  flex-wrap: nowrap;
}

.cqty {
  border: 1px solid #D0D0D0;
  border-radius: 6px;
  height: 24px;
}

.cqty button {
  width: 22px;
  font-size: 14px;
  font-weight: 700;
}

.cqty input {
  width: 24px;
  font-size: 12px;
  font-weight: 500;
  border-left: 1px solid #D0D0D0;
  border-right: 1px solid #D0D0D0;
}

.cmath {
  font-size: 13px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cmath b {
  font-weight: 500;
}

.crm {
  color: var(--ink);
  width: 28px;
  height: 28px;
}

.crm .ic {
  font-size: 19px;
}

.cfoot {
  padding: 16px 24px calc(20px + env(safe-area-inset-bottom));
}

.ymh h4 {
  font-size: 16px;
  padding-bottom: 8px;
}

.ymh h4::after {
  width: 40px;
}

.yarr {
  width: 28px;
  height: 28px;
}

.ytrack {
  grid-auto-columns: 78%;
  gap: 14px;
}

.ycard {
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  border-color: #DADADA;
}

.yim {
  background: #F1F1F1;
  border-radius: 8px;
  display: block;
  padding: 4px;
}

.yim img {
  width: 64px;
  height: 64px;
  border-radius: 6px;
  mix-blend-mode: multiply;
}

.yt {
  font-size: 13px;
  font-weight: 600;
}

.yp {
  font-size: 11.5px;
}

.yadd {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 12px;
}

.ctotal {
  font-size: 14px;
  margin: 14px 0;
}

.ctotal b {
  font-size: 16px;
  font-weight: 700;
}

.ccheck {
  height: 40px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

@media (max-width: 400px) {
  .cmath {
    font-size: 12px;
  }
}

/* bottom nav: outline look for icons that have no Free regular version */
.bnav .ic-outline {
  color: transparent !important;
  -webkit-text-stroke: 1.5px #6B7280;
  paint-order: stroke;
}

.bnav a.on .ic-outline {
  -webkit-text-stroke-color: var(--primary);
}

.bnav .ic {
  font-size: 20px;
}

/* own icon pack sizing */
.ic {
  fill: none;
}

.hact .ic,
.iconbtn .ic,
.bnav .ic,
.ctitle>.ic {
  width: 22px;
  height: 22px;
}

.btn .ic {
  width: 18px;
  height: 18px;
}

.empty .ic,
.cempty .ic,
.ok-hero .ic {
  width: 48px;
  height: 48px;
}

/* Reference storefront refresh — structural match; measurements are implementation choices.
   See design/ghorerbazar-ui-audit.md for verified reference details and verification limits. */
:root {
  --wrap: 1320px;
  --buy: #FE5759;
  --buy-h: #E8464A;
  --alt: #f7f8f8;
  --border: #e9e9e9;
  --r: 6px;
  --r-lg: 10px;
}

body {
  font-size: 16px;
}

.hdr .bar {
  height: 88px;
  gap: 30px;
}

.logo b {
  font-size: 22px;
}

.logo .mk {
  width: 48px;
  height: 48px;
  border-radius: 10px;
}

.logo small {
  font-size: 11px;
  margin-top: 4px;
}

.search {
  max-width: 530px;
}

.search form {
  height: 46px;
  background: #f4f5f5;
  border-radius: 6px;
  padding: 0 4px 0 12px;
}

.search input {
  font-size: 14px;
}

.search .go {
  width: 40px;
  height: 38px;
  border-radius: 5px;
}

.hdr .acts {
  gap: 10px;
}

.hact {
  min-width: 56px;
  gap: 6px;
  font-size: 12px;
  font-weight: 400;
}

.hact .ic {
  font-size: 23px;
  height: 26px;
}

.catnav .wrap {
  height: 44px;
  overflow: visible;
  gap: 6px;
}

.catnav a {
  font-size: 14px;
  font-weight: 500;
  border-radius: 3px;
  padding: 10px 13px;
}

.catnav .nav-new {
  margin-left: auto;
  color: #fff;
  background: var(--primary);
  align-self: stretch;
  border-radius: 0;
}

.catnav .dd {
  min-width: 220px;
  border: 1px solid var(--border);
}

.catnav .dd a {
  font-size: 14px;
}

.herogrid {
  display: block;
  margin-top: 20px;
}

.slider {
  aspect-ratio: 3.3;
  min-height: 310px;
  border-radius: 8px;
  background: var(--primary);
}

.slider .sl {
  background: var(--primary);
}

.slider .sl .in {
  max-width: 56%;
  padding: 38px 48px;
}

.slider .sl .k {
  background: none;
  padding: 0;
  border-radius: 0;
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.slider .sl h1 {
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  max-width: 520px;
}

.slider .sl p {
  font-size: 15px;
  line-height: 1.65;
  max-width: 400px;
  margin: 12px 0 20px;
}

.slider .sl .btn {
  height: 40px;
  border-radius: 4px;
  font-size: 14px;
  min-width: 120px;
}

.hero-delivery {
  display: block;
  font-size: 12px;
  color: #fff;
  margin-top: 12px;
  opacity: .9;
}

.hero-products {
  position: absolute;
  inset: 0 0 0 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 30px;
  background: radial-gradient(ellipse at center, #ffffff38, transparent 70%);
}

.hero-products>div {
  width: 32%;
  aspect-ratio: .83;
  border: 8px solid #ffffffee;
  border-radius: 14px;
  background: white;
  box-shadow: 0 15px 40px #0002;
  transform: rotate(-9deg) translateY(15px);
  overflow: hidden;
}

.hero-products>div:nth-child(2) {
  transform: translateY(-16px);
  width: 38%;
  z-index: 1;
}

.hero-products>div:nth-child(3) {
  transform: rotate(9deg) translateY(15px);
}

.hero-products img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.band {
  padding: 30px 0;
}

.ctitle {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 24px;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.section-heading h2 {
  font-size: 26px;
  font-weight: 600;
  margin: 0;
}

.section-heading a {
  font-size: 14px;
  color: var(--primary-text);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.collection-band {
  border-top: 1px solid #f1f1f1;
}

.top-selling {
  background: var(--alt);
}

.top-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid {
  gap: 20px;
}

.grid>.empty {
  grid-column: 1 / -1;
}

.card {
  display: flex;
  flex-direction: column;
  border: 1px solid #ededed;
  border-radius: 7px;
  padding: 12px;
  box-shadow: none;
  overflow: hidden;
  min-width: 0;
}

.card:hover {
  transform: none;
  border-color: #d7d7d7;
  box-shadow: 0 4px 16px #0000000a;
}

.card .im {
  aspect-ratio: 1;
  border-radius: 4px;
  flex: none;
}

.card .im img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card .bd {
  display: flex;
  flex-direction: column;
  padding: 12px 0 0;
  gap: 9px;
  flex: 1;
}

.card .ttl {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
  height: 44px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #222;
}

.card .pr {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  font-size: 17px;
  color: #222;
  font-weight: 600;
}

.card .pr small {
  font-size: 12px;
  font-weight: 400;
  color: #666;
}

.card .meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  line-height: 1.3;
  min-height: 14px;
  color: #737373;
}

.card .acts2 {
  display: flex;
  margin-top: 14px;
  gap: 8px;
}

.card .acts2 .btn {
  width: 100%;
  height: 38px;
  font-size: 13px;
  padding: 0 8px;
  border-radius: 4px;
  font-weight: 500;
  gap: 6px;
}

.card .acts2 .btn.outline {
  border-color: var(--primary);
  color: var(--primary-text);
  background: #fff;
}

.card .acts2 .btn.outline:hover {
  color: #fff;
  background: var(--primary);
}

.card .acts2 .btn-buy,
.buy .btn-buy,
.stickybuy .btn-buy {
  background: var(--buy);
  border-color: var(--buy);
  color: #fff;
}

.card .acts2 .btn-buy:hover,
.buy .btn-buy:hover {
  background: var(--buy-h);
  border-color: var(--buy-h);
}

.card:not(.featured-card) .acts2 {
  grid-template-columns: 1fr;
}

.card .heart {
  top: 38px;
  right: 16px;
  width: 30px;
  height: 30px;
  opacity: 0;
  transition: opacity .15s;
  background: #fff;
  border: 1px solid var(--border);
  z-index: 3;
}

.card:hover .heart,
.card:focus-within .heart,
.card .heart.on {
  opacity: 1;
}

.card .rib {
  border-radius: 0 6px 0 6px;
  background: #ef4949;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
}

.featured-card .ttl {
  font-size: 16px;
  line-height: 1.45;
  height: 47px;
}

.featured-card .pr {
  font-size: 19px;
}

.featured-card .acts2 .ic {
  display: none;
}

.carou .track {
  grid-auto-columns: calc((100% - 7 * 18px) / 8);
  gap: 18px;
  justify-content: start;
}

.ctile {
  font-size: 14px;
  font-weight: 500;
  gap: 12px;
}

.ctile .im {
  border-radius: 12px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 3px 12px #00000008;
}

.ctile .im img {
  width: 86%;
  height: 86%;
}

.ctile .ph {
  width: 56%;
  height: 56%;
  font-size: 30px;
  border-radius: 12px;
}

.carou .nav {
  width: 32px;
  height: 32px;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: 0 2px 6px #0001;
}

.carou .nav.l {
  left: -12px;
}

.carou .nav.r {
  right: -12px;
}

.bstrip .track {
  grid-auto-columns: calc((100% - 4 * 18px) / 5);
}

.blogo {
  height: 95px;
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: none;
  gap: 10px;
}

.blogo b {
  font-size: 17px;
  font-weight: 600;
}

.blogo .dotb {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.morebar {
  margin-top: 28px;
}

.morebar .btn {
  min-width: 180px;
  height: 42px;
  border-color: var(--primary);
  color: var(--primary-text);
}

.service-band {
  border-top: 1px solid var(--border);
  background: #fafafa;
  padding: 24px 0;
}

.trust {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: none;
}

.trust>div {
  padding: 0 16px;
  border-right: 1px solid #e3e3e3;
}

.trust>div:last-child {
  border: 0;
}

.trust .ic {
  font-size: 28px;
  width: 36px;
  height: 36px;
}

.trust b {
  font-size: 14px;
  font-weight: 600;
}

.trust span {
  font-size: 12px;
}

.ftr {
  background: #f5f6f7;
  color: #555;
  padding-top: 40px;
}

.ftr .cols {
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 30px;
}

.ftr h4 {
  color: #222;
  font-size: 16px;
  margin: 0 0 18px;
  font-weight: 600;
}

.ftr a,
.ftr p {
  color: #666;
  font-size: 13px;
  line-height: 1.85;
}

.ftr a:hover {
  color: var(--primary-text);
}

.ftr .flogo b {
  color: #222;
  font-size: 22px;
}

.ftr .flogo .mk {
  width: 44px;
  height: 44px;
}

.ftr .flinks a {
  margin-bottom: 8px;
}

.ftr .ic {
  color: var(--primary-text);
  opacity: 1;
  margin-right: 7px;
}

.ftr .copy {
  border-top: 1px solid #dedede;
  margin-top: 30px;
  padding: 20px 0;
  font-size: 12px;
  color: #666;
  align-items: center;
}

.ftr .pays {
  margin: 0;
}

.ftr .pays span {
  border: 1px solid #e2e2e2;
  font-size: 11px;
  font-weight: 600;
}

.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.footer-social a {
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social .ic {
  margin: 0;
}

.fcart {
  width: 72px;
  border-radius: 6px 0 0 6px;
}

.fcart .t {
  background: var(--primary);
  padding: 12px 4px;
}

.fcart .s {
  padding: 8px 2px;
}

.bnav {
  background: #fff;
  border-top: 1px solid #eee;
  box-shadow: 0 -3px 14px #00000008;
}

.bnav a {
  font-size: 10px;
  font-weight: 500;
  padding-top: 9px;
  padding-bottom: 7px;
}

.bnav .ic {
  font-size: 22px;
}

.pinfo h1 {
  font-size: 26px;
  line-height: 1.4;
}

.pinfo .price {
  color: var(--primary-text);
  font-size: 28px;
  margin: 16px 0;
}

.pinfo .facts {
  font-size: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.product-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-order {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 10px 14px;
  font-size: 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
}

.contact-order.whatsapp {
  color: #168c44;
  border-color: #168c44;
}

.ptabs {
  justify-content: center;
  margin-top: 24px;
}

.ptabs button {
  font-size: 15px;
  padding: 14px 24px;
}

.filters {
  border: 1px solid var(--border);
  box-shadow: none;
  border-radius: 6px;
}

.toolbar {
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
}

.panel,
.ocard {
  border: 1px solid var(--border);
  box-shadow: none;
}

.account-panel {
  padding: 16px 0;
}

.account-panel>.ic {
  font-size: 42px;
  color: var(--primary);
}

.account-panel h2 {
  font-size: 22px;
  margin-top: 20px;
}

.account-panel p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
}

.account-panel .btn {
  margin-top: 12px;
}

.search-drawer .search {
  max-width: none;
  margin: 0;
}

.search-drawer .sugg {
  position: static;
  margin-top: 12px;
  box-shadow: none;
  max-height: none;
}

@media (min-width: 769px) and (max-width: 1199px) {
  .hdr .bar {
    gap: 15px;
  }

  .logo small {
    display: none;
  }

  .logo b {
    font-size: 18px;
  }

  .hact {
    min-width: 45px;
    font-size: 10px;
  }

  .hdr .acts {
    gap: 2px;
  }

  .carou .track {
    grid-auto-columns: calc((100% - 5 * 14px) / 6);
    gap: 14px;
  }

  .bstrip .track {
    grid-auto-columns: calc((100% - 3 * 14px) / 4);
  }

  .ftr .cols {
    grid-template-columns: 1.5fr repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  .wrap {
    padding-left: 12px;
    padding-right: 12px;
  }

  .hdr .bar {
    display: none;
  }

  .mhead {
    height: 58px;
  }

  .mhead .logo .mk {
    width: 36px;
    height: 36px;
  }

  .mhead .logo b {
    font-size: 20px;
  }

  .msearch {
    padding-bottom: 10px;
  }

  .search {
    max-width: none;
  }

  .search form {
    height: 40px;
  }

  .search .go {
    width: 34px;
    height: 32px;
  }

  .catnav .wrap {
    overflow: auto;
    height: 40px;
    gap: 0;
    padding: 0 5px;
  }

  .catnav a {
    font-size: 12px;
    padding: 9px 12px;
  }

  .catnav .nav-new {
    display: none;
  }

  .herogrid {
    margin-top: 12px;
  }

  .slider {
    aspect-ratio: auto;
    min-height: 245px;
    border-radius: 5px;
  }

  .slider .sl .in {
    max-width: 65%;
    padding: 22px 18px;
  }

  .slider .sl .k {
    font-size: 9px;
    letter-spacing: 1px;
    margin-bottom: 8px;
  }

  .slider .sl h1 {
    font-size: 23px;
    line-height: 1.2;
  }

  .slider .sl p {
    font-size: 11px;
    margin: 8px 0 12px;
    line-height: 1.55;
  }

  .slider .sl .btn {
    font-size: 12px;
    height: 32px;
    min-width: 100px;
    padding: 0 12px;
  }

  .hero-delivery {
    font-size: 9px;
    margin-top: 8px;
  }

  .hero-products {
    inset: 0 -15% 0 62%;
    padding: 8px;
    gap: 0;
  }

  .hero-products>div {
    display: none;
  }

  .hero-products>div:nth-child(2) {
    display: block;
    width: 95%;
    transform: rotate(10deg);
    border-width: 5px;
    border-radius: 9px;
  }

  .band {
    padding: 24px 0;
  }

  .ctitle,
  .section-heading h2 {
    font-size: 20px;
    font-weight: 600;
  }

  .ctitle {
    margin-bottom: 18px;
  }

  .section-heading {
    margin-bottom: 16px;
    gap: 8px;
  }

  .section-heading a {
    font-size: 11px;
    white-space: nowrap;
  }

  .grid,
  .grid.g4,
  .top-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .card {
    padding: 8px;
    border-radius: 5px;
  }

  .card .bd {
    padding-top: 9px;
    gap: 7px;
  }

  .card .ttl,
  .featured-card .ttl {
    font-size: 13px;
    line-height: 1.5;
    height: 39px;
  }

  .card .pr,
  .featured-card .pr {
    font-size: 16px;
    gap: 4px;
  }

  .card .meta {
    font-size: 10px;
  }

  .card .acts2 {
    flex-direction: column;
    margin-top: 10px;
    gap: 6px;
  }

  .card .acts2 .btn {
    height: 34px;
    font-size: 12px;
  }

  .card .heart {
    opacity: 1;
    top: 34px;
    right: 10px;
    width: 26px;
    height: 26px;
  }

  .card .heart .ic {
    font-size: 12px;
  }

  .card .rib {
    font-size: 9px;
    padding: 3px 7px;
  }

  .carou .track {
    grid-auto-columns: calc((100% - 3 * 10px) / 4);
    gap: 10px;
  }

  .ctile {
    font-size: 11px;
    gap: 8px;
  }

  .ctile .im {
    border-radius: 8px;
  }

  .ctile .ph {
    border-radius: 8px;
    font-size: 24px;
  }

  .bstrip .track {
    grid-auto-columns: calc((100% - 2 * 10px) / 2.5);
  }

  .blogo {
    flex-direction: column;
    height: 94px;
    padding: 8px;
    gap: 8px;
  }

  .blogo .dotb {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }

  .blogo b {
    font-size: 12px;
  }

  .morebar {
    margin-top: 22px;
  }

  .trust {
    grid-template-columns: 1fr 1fr;
    gap: 20px 8px;
  }

  .trust>div {
    padding: 0;
    border: 0;
    gap: 8px;
  }

  .trust b {
    font-size: 12px;
  }

  .trust span {
    font-size: 10px;
  }

  .trust .ic {
    font-size: 25px;
    width: 30px;
  }

  .ftr {
    padding-top: 30px;
  }

  .ftr .cols {
    grid-template-columns: 1fr 1fr;
    gap: 26px 16px;
  }

  .footer-about {
    grid-column: 1/-1;
  }

  .footer-about p {
    max-width: 42ch;
  }

  .ftr h4 {
    font-size: 15px;
    margin-bottom: 12px;
  }

  .ftr a,
  .ftr p {
    font-size: 12px;
  }

  .ftr .copy {
    gap: 14px;
    align-items: flex-start;
    padding-bottom: 24px;
  }

  .ftr .pays {
    gap: 6px;
  }

  .ftr .pays span {
    font-size: 10px;
    padding: 4px 7px;
  }

  .fcart {
    width: 60px;
  }

  .fcart .t {
    padding: 8px 3px;
    font-size: 11px;
  }

  .fcart .s {
    display: block;
    padding: 6px 2px;
    font-size: 11px;
    overflow-wrap: anywhere;
  }

  .pinfo h1 {
    font-size: 21px;
  }

  .pinfo .price {
    font-size: 24px;
  }

  .ptabs {
    justify-content: flex-start;
  }

  .ptabs button {
    font-size: 13px;
    padding: 12px;
  }
}

/* Consistent, compact spacing across the homepage. */
.storefront-home {
  --home-gutter: clamp(16px, 2.5vw, 28px);
  --wrap: 1240px;
}

.storefront-home .wrap,
.storefront-home .mhead {
  padding-left: max(var(--home-gutter), env(safe-area-inset-left));
  padding-right: max(var(--home-gutter), env(safe-area-inset-right));
}

.storefront-home .band {
  padding-top: 24px;
  padding-bottom: 24px;
}

.storefront-home .herogrid {
  margin-top: 16px;
}

.storefront-home .ctitle,
.storefront-home .section-heading {
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .storefront-home .band {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .storefront-home .herogrid {
    margin-top: 12px;
  }

  .storefront-home .ctitle,
  .storefront-home .section-heading {
    margin-bottom: 14px;
  }
}

/* ===== Global Storefront UI Polish ===== */
.hdr {
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 2px 16px rgba(15, 23, 42, .05);
}

.search form {
  border: 1.5px solid #E2E8F0;
  background: #F8FAFC;
  transition: border-color 180ms, box-shadow 180ms, background 180ms;
}

.search form:focus-within {
  background: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 14%, transparent);
}

.hdr .bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 76px;
  gap: 16px;
}

.hdr .bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.hdr .bar-left .search {
  margin: 0;
  max-width: 340px;
}

.hdr .bar>.logo {
  justify-self: center;
}
.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.logo .logo-img,
.flogo .logo-img {
  height: 40px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}
.logo .logo-emblem,
.flogo .logo-emblem {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
}
.logo .logo-emblem svg,
.flogo .logo-emblem svg {
  height: 36px;
  width: auto;
  display: block;
}
.menu-trig {
  background: transparent !important;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  color: var(--ink);
  padding: 0;
  transition: color 180ms ease, transform 180ms cubic-bezier(.16, 1, .3, 1);
}
.menu-trig:hover,
.menu-trig:focus,
.menu-trig:focus-visible,
.menu-trig:active {
  background: transparent !important;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  color: var(--primary);
}
.menu-trig:hover .ic-navmenu {
  transform: scale(1.06);
}
.menu-trig .ic-navmenu {
  width: 24px;
  height: 24px;
  transition: transform 180ms cubic-bezier(.16, 1, .3, 1);
}

.hdr .bar>.acts {
  justify-self: end;
  margin-left: 0;
}

.hact {
  transition: background 160ms, color 160ms;
}

.hact:hover {
  background: #F8FAFC;
}

.hact.icon-only {
  min-width: 42px;
  width: 42px;
  height: 42px;
  padding: 0;
  justify-content: center;
  border-radius: 10px;
}

.hact.icon-only .count {
  top: 2px;
  right: 2px;
}

.mhead {
  display: none;
}

@media (max-width: 768px) {
  .hdr .bar {
    display: none !important;
  }

  .mhead {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 58px;
    padding: 0 max(12px, env(safe-area-inset-left));
  }

  .mhead .mleft {
    justify-self: start;
  }

  .mhead .logo {
    justify-self: center;
  }

  .mhead .logo .logo-img {
    height: 34px;
    max-width: 145px;
  }
  .mhead .logo .logo-emblem svg {
    height: 31px;
  }
  .mhead .macts {
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 2px;
  }
}

.card {
  border: 1px solid #E8ECF1;
  border-radius: 10px;
  transition: transform 200ms cubic-bezier(.2, .7, .2, 1), box-shadow 200ms cubic-bezier(.2, .7, .2, 1), border-color 200ms;
}

.card:hover {
  border-color: color-mix(in srgb, var(--primary) 35%, #E2E8F0);
  box-shadow: 0 12px 28px -4px rgba(15, 23, 42, .1), 0 4px 10px rgba(15, 23, 42, .04);
  transform: translateY(-2px);
}

.card .im {
  border-radius: 7px;
}

.card .acts2 .btn {
  border-radius: 6px;
  font-weight: 600;
}

.panel,
.ocard {
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, .04);
}

.input:focus,
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 14%, transparent);
}

.bnav {
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.5) blur(14px);
  border-top: 1px solid rgba(226, 232, 240, .9);
  box-shadow: 0 -4px 20px rgba(15, 23, 42, .06);
}

.bnav a {
  padding: 9px 0 7px;
  font-size: 10.5px;
  font-weight: 600;
  transition: color 160ms;
}

.bnav a.on::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--primary);
}

.bnav a:active .ic {
  transform: scale(.92);
}

/* Product detail: compact panels and persistent purchase controls. */
.product-page {
  --wrap: 1240px;
}

.product-page .wrap {
  padding-inline: clamp(16px, 2.5vw, 28px);
}

.product-page .crumbs {
  margin: 16px 0;
  font-size: 12px;
  gap: 6px;
  min-width: 0;
}

.product-page .pd {
  gap: 24px;
  margin-top: 0;
}

.product-page .pd>* {
  min-width: 0;
}

.product-page .gal {
  gap: 10px;
}

.product-page .gal .main {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 14px;
}

.product-page .gal .main img,
.product-page .gal .slides img {
  object-fit: contain;
  background: #fff;
}

.product-page .pinfo {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 20px #22283105;
}

.product-page .pinfo h1 {
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.4;
  margin: 10px 0 12px;
  overflow-wrap: anywhere;
}

.product-page .pinfo .price {
  margin: 12px 0;
  font-size: 30px;
  color: var(--primary-text);
}

.product-page .pinfo .facts {
  gap: 8px 12px;
  font-size: 12px;
  line-height: 1.6;
  padding-bottom: 14px;
}

.product-page .vprop {
  margin-top: 16px;
}

.product-page .vprop .lbl {
  margin-bottom: 8px;
}

.product-page .val {
  min-height: 44px;
  border-radius: 8px;
}

.product-page .val.on {
  border-color: var(--primary);
  box-shadow: inset 0 0 0 1px var(--primary);
  background: var(--primary-tint);
}

.product-page .qty.lg {
  height: 44px;
}

.product-page .buy.inline {
  display: flex;
  margin-top: 18px;
  gap: 8px;
}

.product-page .buy .btn {
  min-width: 0;
  font-size: 13px;
  padding: 0 12px;
}

.product-page .product-contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.product-page .contact-order {
  min-height: 44px;
  justify-content: center;
  padding: 8px;
  font-size: 12px;
  border-radius: 8px;
  text-align: center;
}

.product-page .contact-order.whatsapp {
  background: #f0faf4;
}

.product-page .contact-order:hover {
  background: var(--bg-2);
}

.product-page .selmsg {
  margin-top: 8px;
  min-height: 18px;
}

.product-page .infobox {
  margin-top: 14px;
  background: #fafafa;
  border-radius: 10px;
}

.product-page .infobox>div {
  padding: 12px;
  gap: 10px;
  font-size: 12px;
  line-height: 1.6;
}

.product-page .infobox>div>.ic {
  flex-shrink: 0;
  color: var(--primary-text);
}

.product-page .tabsec {
  margin: 24px 0;
  border: 1px solid var(--border);
  padding: 18px;
  border-radius: 12px;
}

.product-page .ptabs {
  margin-top: 0;
  justify-content: flex-start;
  overflow-x: auto;
}

.product-page .ptabs button {
  flex-shrink: 0;
}

.product-page .stickybuy {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 54;
  gap: 20px;
  align-items: center;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px #2228310c;
  padding: 12px max(24px, calc((100vw - 1184px) / 2));
}

.product-page .purchase-summary {
  min-width: 0;
  margin-right: auto;
}

.product-page .purchase-summary .p {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-text);
  white-space: nowrap;
}

.product-page .purchase-summary small {
  display: block;
  font-size: 11px;
  color: var(--text-2);
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-page .sticky-contact,
.product-page .purchase-buttons {
  display: flex;
  gap: 8px;
}

.product-page .sticky-contact .contact-order {
  padding-inline: 12px;
}

.product-page .purchase-buttons .btn {
  height: 46px;
  min-width: 140px;
  font-size: 13px;
}

.product-page :is(button, a, input):focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

@media (max-width: 1024px) {
  .product-page .gal {
    max-width: 560px;
    width: 100%;
    margin-inline: auto;
  }

  .product-page .gal .slides {
    margin: 0;
    border: 1px solid var(--border);
    border-radius: 12px;
  }

  .product-page .pd {
    gap: 16px;
  }

  .product-page .stickybuy {
    gap: 12px;
    padding-inline: 16px;
  }

  .product-page .purchase-buttons .btn {
    min-width: 120px;
  }
}

@media (max-width: 768px) {
  .product-page.has-sticky {
    padding-bottom: calc(198px + env(safe-area-inset-bottom));
  }

  .product-page .pinfo {
    padding: 16px;
    border-radius: 12px;
  }

  .product-page .pinfo h1 {
    font-size: 20px;
  }

  .product-page .pinfo .price {
    font-size: 26px;
  }

  .product-page .buy .iconbtn {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }

  .product-page .buy .btn {
    height: 44px;
    padding: 0 8px;
    font-size: 12px;
  }

  .product-page .product-contact {
    gap: 6px;
  }

  .product-page .contact-order {
    font-size: 11px;
    gap: 6px;
  }

  .product-page .tabsec {
    padding: 14px;
    margin-block: 20px;
  }

  .product-page .attrs {
    grid-template-columns: 1fr;
  }

  .product-page .stickybuy {
    bottom: calc(64px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 8px max(16px, env(safe-area-inset-left)) 10px;
  }

  .product-page .purchase-summary .p {
    font-size: 18px;
  }

  .product-page .purchase-summary small {
    max-width: 155px;
  }

  .product-page .sticky-contact .contact-order {
    padding: 6px 8px;
    min-height: 44px;
  }

  .product-page .purchase-buttons {
    grid-column: 1 / -1;
  }

  .product-page .purchase-buttons .btn {
    flex: 1;
    min-width: 0;
    height: 44px;
  }

  .product-page .fab.top {
    bottom: calc(200px + env(safe-area-inset-bottom));
  }

  .product-page .fab.wa {
    bottom: calc(254px + env(safe-area-inset-bottom));
  }
}

/* Reference-inspired product card, retaining the store's coral palette. */
.product-page {
  background: #f7f8fa;
}

.product-page .pd {
  padding: 16px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  box-shadow: 0 2px 10px #22283104;
  gap: 24px;
}

.product-page .pinfo {
  padding: 0;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

.product-page .gal {
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 12px;
}

.product-page .gal .thumbs {
  display: flex;
  padding-top: 16px;
  max-height: 480px;
  gap: 10px;
}

.product-page .gal .thumbs button {
  width: 54px;
  height: 60px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fff;
}

.product-page .gal .thumbs button.on {
  border-color: var(--primary);
}

.product-page .gal .thumbs img {
  object-fit: contain;
}

.product-page .gallery-stage {
  position: relative;
  min-width: 0;
}

.product-page .gal .main {
  display: block;
  border-radius: 4px;
}

.product-page .gal .slides,
.product-page .gal .dots {
  display: none;
}

.product-page .gallery-next {
  position: absolute;
  right: 4px;
  top: calc(50% - 22px);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #ffffffd9;
  color: var(--primary);
  display: grid;
  place-items: center;
}

.product-page .gallery-next[hidden] {
  display: none;
}

.product-page .pinfo h1 {
  font-size: 23px;
  font-weight: 600;
  margin: 0 0 8px;
}

.product-page .pinfo .price {
  color: var(--primary);
  font-size: 23px;
  margin: 0 0 12px;
}

.product-page .pinfo .facts {
  font-size: 11px;
  margin-top: 0;
  padding-bottom: 12px;
}

.product-page .quantity-row {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 16px;
}

.product-page .quantity-row .lbl {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}

.product-page .qty.lg {
  width: 140px;
  height: 42px;
  border-radius: 4px;
}

.product-page .product-actions .buy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.product-page .product-actions .btn {
  min-width: 0;
  height: 44px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.product-page .product-actions [data-act="add"] {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.product-page .product-actions [data-act="add"]:hover {
  background: var(--primary-h);
}

.product-page .product-actions [data-act="buy"] {
  background: #222831;
  border-color: #222831;
}

.product-page .product-actions [data-act="buy"]:hover {
  background: #353e4a;
}

.product-page .product-contact {
  gap: 12px;
  margin-top: 10px;
}

.product-page .product-contact .contact-order {
  background: var(--primary-tint);
  border: 1px solid var(--primary);
  color: var(--primary-text);
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
}

.product-page .product-contact .whatsapp {
  background: #15a85a;
  border-color: #15a85a;
  color: #fff;
}

.product-page .product-brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.product-page .product-brand-row .brandlink {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: var(--text);
  font-size: 12px;
}

.product-page .product-brand-row .heart {
  margin-left: auto;
  border: 1px solid var(--border);
  width: 44px;
  height: 44px;
  border-radius: 6px;
}

.product-page .selmsg:empty {
  display: none;
}

.product-page .tabsec {
  background: #fff;
}

.product-page .stickybuy.actions-visible {
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .product-page .gal {
    max-width: 620px;
  }
}

@media (max-width: 768px) {

  .product-page .hdr .msearch,
  .product-page .hdr .catnav {
    display: none !important;
  }

  .product-page .wrap {
    padding-inline: 16px;
  }

  .product-page .crumbs {
    margin: 14px 0;
  }

  .product-page .pd {
    padding: 12px;
    gap: 16px;
  }

  .product-page .gal {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 6px;
  }

  .product-page .gal .thumbs {
    max-height: 360px;
    padding-top: 12px;
    gap: 10px;
  }

  .product-page .gal .thumbs button {
    width: 44px;
    height: 50px;
  }

  .product-page .gal .main {
    aspect-ratio: 1;
  }

  .product-page .pinfo h1 {
    font-size: 18px;
    line-height: 1.45;
  }

  .product-page .pinfo .price {
    font-size: 20px;
  }

  .product-page .product-contact,
  .product-page .product-actions .buy {
    gap: 8px;
  }

  .product-page .product-contact .contact-order {
    font-size: 11px;
    padding: 6px 4px;
  }

  .product-page .product-actions .btn {
    font-size: 11px;
    padding-inline: 4px;
  }

  .product-page .bnav {
    background: var(--primary);
    border: 0;
  }

  .product-page .bnav a,
  .product-page .bnav a.on {
    color: #fff;
  }

  .product-page .bnav a.on::before {
    background: #fff;
  }
}

/* Balanced, ultra-compact spacing for the product page and its controls. */
.product-page .crumbs {
  margin: 8px 0;
  font-size: 12px;
  gap: 4px;
}

.product-page .pd {
  padding: 10px;
  gap: 14px;
  align-items: start;
}

.product-page .pinfo {
  padding: 4px 6px;
}

.product-page .gal {
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 8px;
}

.product-page .gal .thumbs {
  padding: 0;
  gap: 6px;
  max-height: 440px;
}

.product-page .gal .thumbs button {
  width: 48px;
  height: 52px;
}

.product-page .pinfo h1 {
  font-size: 20px;
  line-height: 1.3;
  margin: 0 0 4px;
}

.product-page .pinfo .price {
  font-size: 21px;
  margin: 0 0 4px;
  line-height: 1.2;
}

.product-page .pinfo .facts {
  padding-bottom: 6px;
  margin-bottom: 6px;
  gap: 6px 10px;
  font-size: 11px;
}

.product-page .vprop {
  margin-top: 8px;
}

.product-page .vprop .lbl {
  margin-bottom: 4px;
  font-size: 12.5px;
}

.product-page .vals {
  gap: 5px;
}

.product-page .val {
  min-height: 34px;
  padding: 3px 10px 3px 3px;
  gap: 6px;
  font-size: 12.5px;
  border-radius: 6px;
}

.product-page .val.noimg {
  padding: 3px 10px;
}

.product-page .val img {
  width: 26px;
  height: 26px;
  border-radius: 5px;
}

.product-page .quantity-row {
  margin-top: 8px;
  padding-block: 0;
  gap: 12px;
}

.product-page .quantity-row .lbl {
  font-size: 13px;
}

.product-page .qty.lg {
  width: 116px;
  height: 34px;
}

.product-page .product-actions {
  margin-top: 8px;
}

.product-page .product-actions .buy {
  margin-top: 0;
  gap: 8px;
}

.product-page .product-actions .btn {
  height: 38px;
  min-height: 38px;
  font-size: 12px;
}

.product-page .product-contact {
  margin-top: 6px;
  gap: 8px;
}

.product-page .product-contact .contact-order {
  min-height: 36px;
  padding: 6px 8px;
  font-size: 11.5px;
}

.product-page .product-brand-row {
  margin-top: 8px;
  padding-block: 0;
  gap: 8px;
}

.product-page .product-brand-row .brandlink {
  min-height: 38px;
  gap: 8px;
  padding: 4px 10px;
}

.product-page .product-brand-logo {
  display: block;
  width: 72px;
  height: 28px;
  object-fit: contain;
}

.product-page .product-brand-row .heart {
  width: 38px;
  height: 38px;
}

.product-page .selmsg {
  margin-top: 4px;
  min-height: 0;
  font-size: 12px;
}

.product-page .infobox {
  margin-top: 8px;
}

.product-page .infobox>div {
  padding: 8px 10px;
  gap: 8px;
  font-size: 11.5px;
  line-height: 1.4;
}

.product-page .tabsec {
  margin: 10px 0;
  padding: 12px;
}

.product-page .ptabs {
  margin-bottom: 10px;
}

.product-page .ptabs button {
  padding: 8px 14px;
  font-size: 13.5px;
}

.product-page .stickybuy {
  display: none !important;
}

@media (max-width: 768px) {
  .product-page .wrap {
    padding-inline: 10px;
  }

  .product-page .crumbs {
    margin: 6px 0;
  }

  .product-page .pd {
    padding: 8px;
    gap: 8px;
  }

  .product-page .gal {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 6px;
  }

  .product-page .gal .thumbs {
    max-height: 320px;
    gap: 5px;
  }

  .product-page .gal .thumbs button {
    width: 42px;
    height: 46px;
  }

  .product-page .pinfo {
    padding: 0 2px 4px;
  }

  .product-page .pinfo h1 {
    font-size: 17px;
    line-height: 1.3;
    margin-bottom: 3px;
  }

  .product-page .pinfo .price {
    font-size: 19px;
    margin-bottom: 3px;
  }

  .product-page .pinfo .facts {
    padding-bottom: 5px;
    margin-bottom: 5px;
  }

  .product-page .vprop {
    margin-top: 6px;
  }

  .product-page .quantity-row {
    margin-top: 6px;
    gap: 10px;
  }

  .product-page .product-actions {
    margin-top: 6px;
  }

  .product-page .product-contact,
  .product-page .product-actions .buy {
    gap: 6px;
  }

  .product-page .product-contact {
    margin-top: 5px;
  }

  .product-page .contact-order,
  .product-page .product-actions .btn {
    min-height: 36px;
    height: 36px;
  }

  .product-page .product-brand-row {
    margin-top: 6px;
  }

  .product-page .infobox {
    margin-top: 6px;
  }

  .product-page .infobox>div {
    padding: 7px 9px;
  }

  .product-page .tabsec {
    margin: 8px 0;
    padding: 10px;
  }

  .product-page .fab.top {
    bottom: calc(76px + env(safe-area-inset-bottom));
  }

  .product-page .fab.wa {
    bottom: calc(130px + env(safe-area-inset-bottom));
  }
}

/* =====================================================================
   Customer Journey Motion & View Transition System
   ===================================================================== */
@keyframes wf-vt-out {
  to {
    opacity: 0;
    transform: translateY(-6px);
  }
}

@keyframes wf-vt-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

@keyframes wf-fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes wf-card-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(.975);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes wf-img-fade {
  from {
    opacity: 0;
    transform: scale(.985);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes wf-badge-pop {
  0% {
    transform: scale(1);
  }

  40% {
    transform: scale(1.28);
  }

  75% {
    transform: scale(.94);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes wf-heart-pop {
  0% {
    transform: scale(1);
  }

  35% {
    transform: scale(1.32);
  }

  70% {
    transform: scale(.9);
  }

  100% {
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  /* 1. Cross-Document View Transitions between storefront pages */
  @view-transition {
    navigation: auto;
  }

  .hdr {
    view-transition-name: site-hdr;
  }

  /* Top bar (header) page change e animate korbe na */
  ::view-transition-group(site-hdr),
  ::view-transition-old(site-hdr),
  ::view-transition-new(site-hdr) {
    animation: none;
  }

  ::view-transition-old(site-hdr) {
    display: none;
  }

  .bnav {
    view-transition-name: site-bnav;
  }

  ::view-transition-old(root) {
    animation: 180ms cubic-bezier(.4, 0, 1, 1) both wf-vt-out;
  }

  ::view-transition-new(root) {
    animation: 300ms cubic-bezier(.16, 1, .3, 1) both wf-vt-in;
  }

  /* 2. Page sections & Hero entrance */
  .herogrid,
  .brandhero,
  .lhead,
  .pd,
  .checkout,
  .ok-hero,
  .prose {
    animation: wf-fade-up 420ms cubic-bezier(.16, 1, .3, 1) both;
  }

  .panel,
  .ocard,
  .tabsec {
    animation: wf-fade-up 440ms cubic-bezier(.16, 1, .3, 1) both;
  }

  /* 3. Staggered Product Cards, Category Tiles & Trust Badges */
  .grid>.card:not(.sk),
  .carou .track>.ctile,
  .carou .track>.blogo,
  .brandgrid>.bcard,
  .catgrid>.ccard,
  .trust>div {
    animation: wf-card-in 440ms cubic-bezier(.16, 1, .3, 1) both;
    animation-delay: calc(min(var(--i, 0), 11) * 42ms);
  }

  /* 4. Native Scroll-Driven Entry Reveal for lower sections */
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes wf-scroll-entry {
      from {
        opacity: 0;
        transform: translateY(22px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .storefront-home .band {
      animation: wf-scroll-entry auto cubic-bezier(.16, 1, .3, 1) backwards;
      animation-timeline: view();
      animation-range: entry 0% cover 20%;
    }
  }

  /* 5. Interactive Hover, Image Zoom, Gallery & Tab Micro-interactions */
  .card .im img.ld {
    transition: opacity 280ms ease, transform 420ms cubic-bezier(.16, 1, .3, 1);
  }

  .card:hover .im img.ld {
    transform: scale(1.045);
  }

  .ctile .im {
    transition: transform 240ms cubic-bezier(.16, 1, .3, 1), box-shadow 240ms ease;
  }

  .ctile:hover .im {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .09);
  }

  .blogo {
    transition: transform 220ms cubic-bezier(.16, 1, .3, 1), border-color 220ms ease, box-shadow 220ms ease;
  }

  .blogo:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--primary) 40%, var(--border));
    box-shadow: 0 8px 20px rgba(15, 23, 42, .07);
  }

  #main img {
    animation: wf-img-fade 260ms cubic-bezier(.16, 1, .3, 1) both;
  }

  .tabsec .pane:not([hidden]) {
    animation: wf-fade-up 240ms cubic-bezier(.16, 1, .3, 1) both;
  }

  .sugg:not([hidden]) {
    animation: wf-fade-up 200ms cubic-bezier(.16, 1, .3, 1) both;
  }

  .heart.on,
  .heart.pop {
    animation: wf-heart-pop 380ms cubic-bezier(.34, 1.56, .64, 1);
  }

  .count.pop,
  .fcart.pop {
    animation: wf-badge-pop 420ms cubic-bezier(.34, 1.56, .64, 1);
  }
}

/* =====================================================================
   Categories & Brands Browse Page — Mobile-Friendly Modern UI
   ===================================================================== */
@media (max-width: 768px) {
  .fcart {
    display: block !important;
    width: 58px;
    border-radius: 10px 0 0 10px;
    box-shadow: -3px 6px 18px rgba(15, 23, 42, .14);
  }
  .fcart .t {
    padding: 7px 3px 6px;
    font-size: 10.5px;
    gap: 2px;
  }
  .fcart .s {
    padding: 5px 2px;
    font-size: 11px;
  }
}
.categories-page {
  background: #F8FAFC;
}
.categories-page .crumbs {
  margin: 10px 0 8px;
  font-size: 12px;
}
.cat-hero {
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF5F5 100%);
  border: 1px solid #E8ECF1;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  box-shadow: 0 2px 10px rgba(15, 23, 42, .03);
}
.cat-hero-txt h1 {
  margin: 0 0 3px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
}
.cat-hero-txt p {
  margin: 0;
  font-size: 12.5px;
  color: var(--text-2);
}
.cat-quick {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 0;
}
.cat-quick::-webkit-scrollbar { display: none; }
.cat-quick .chip {
  height: 34px;
  padding: 0 12px;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 999px;
}
.cat-sec {
  margin: 0 0 24px;
}
.cat-sec .sec-h {
  margin-bottom: 12px;
  align-items: center;
}
.cat-sec .sec-h h2 {
  font-size: 17px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 7px;
}
.cat-sec .sec-h h2 .ic {
  color: var(--primary);
}
.cat-sec .sec-h a {
  font-size: 12.5px;
  color: var(--primary-text);
  font-weight: 600;
}

/* Modern Brand Cards */
.categories-page .brandgrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  overflow: visible;
}
.categories-page .bcard {
  background: #FFFFFF;
  border: 1px solid #E8ECF1;
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .04);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.categories-page .bcard::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--bc, var(--primary));
}
.categories-page .bcard:hover {
  transform: translateY(-2px);
  border-color: var(--bc, var(--primary));
  box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
}
.bcard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.bcard-logo {
  height: 44px;
  min-width: 44px;
  max-width: 110px;
  padding: 6px 10px;
  border-radius: 10px;
  background: #F8FAFC;
  border: 1px solid #EEF2F6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.bcard-logo img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.bcard-logo.fallback {
  width: 44px;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  border: 0;
}
.bcard-cnt {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-2);
  background: #F1F5F9;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.bcard-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.bcard-body b {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.bcard-body span {
  font-size: 12px;
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bcard-foot {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: var(--bc, var(--primary));
}

/* Modern Category Cards */
.categories-page .catgrid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.categories-page .ccard {
  background: #FFFFFF;
  border: 1px solid #E8ECF1;
  border-radius: 14px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .04);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.categories-page .ccard:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--primary) 40%, #E8ECF1);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
}
.categories-page .ccard .im {
  aspect-ratio: 1.15;
  border-radius: 10px;
  background: #F8FAFC;
  border: 1px solid #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  overflow: hidden;
}
.categories-page .ccard .im img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 260ms cubic-bezier(.16, 1, .3, 1);
}
.categories-page .ccard:hover .im img {
  transform: scale(1.05);
}
.categories-page .ccard .ph {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.ccard-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 2px 2px;
}
.ccard-info b {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ccard-info small {
  font-size: 11px;
  font-weight: 600;
  color: var(--primary-text);
  background: var(--primary-tint);
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .categories-page .brandgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .categories-page .catgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .cat-hero {
    padding: 12px 14px;
    margin-bottom: 14px;
    gap: 10px;
  }
  .cat-hero-txt h1 { font-size: 17px; }
  .cat-hero-txt p { font-size: 11.5px; }
  .cat-quick { width: 100%; }
  .cat-quick .chip { height: 30px; padding: 0 10px; font-size: 11.5px; }
  .cat-sec { margin-bottom: 18px; }
  .cat-sec .sec-h { margin-bottom: 10px; }
  .cat-sec .sec-h h2 { font-size: 15.5px; }
  .categories-page .brandgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .categories-page .bcard {
    flex: initial;
    padding: 11px;
    gap: 8px;
    border-radius: 12px;
  }
  .bcard-logo {
    height: 36px;
    min-width: 36px;
    max-width: 92px;
    padding: 4px 8px;
    border-radius: 8px;
  }
  .bcard-cnt { font-size: 10px; padding: 2px 6px; }
  .bcard-body b { font-size: 13.5px; }
  .bcard-body span { font-size: 11px; }
  .bcard-foot { padding-top: 6px; font-size: 11px; }
  .categories-page .catgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .categories-page .ccard {
    padding: 8px;
    gap: 8px;
    border-radius: 12px;
  }
  .ccard-info b { font-size: 13px; }
  .ccard-info small { font-size: 10.5px; padding: 2px 6px; }
}
.dotb.has-img {
  background: #F8FAFC !important;
  border: 1px solid #EEF2F6;
  padding: 4px;
  width: auto !important;
  min-width: 40px;
  max-width: 88px;
}
.dotb.has-img img {
  object-fit: contain !important;
}

/* =====================================================================
   Compact & User-Friendly Cart / Checkout Page UI
   ===================================================================== */
.checkout-page {
  background: #F8FAFC;
}
.co-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 10px 0 8px;
}
.co-top .crumbs {
  margin: 0;
  font-size: 12px;
}
.co-cont {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary-text);
}
.co-cont:hover { text-decoration: underline; }

.checkout-page .checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 14px;
  margin: 0 0 28px;
  align-items: start;
}
.co-panel {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .03);
}
.co-panel + .co-panel {
  margin-top: 12px;
}
.co-phd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #F1F5F9;
}
.co-phd h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}
.co-step {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.co-badge {
  background: var(--primary-tint);
  color: var(--primary-text);
  font-size: 11.5px;
  font-weight: 700;
  padding: 1px 8px;
  border-radius: 999px;
}
.co-clear {
  border: 0;
  background: #FEF2F2;
  color: #DC2626;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.co-clear:hover { background: #FEE2E2; }
.co-dhint {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-2);
  background: #F1F5F9;
  padding: 3px 9px;
  border-radius: 999px;
}
.co-note {
  padding: 8px 11px;
  font-size: 12px;
  margin-bottom: 8px;
}

/* Compact Cart Item Rows */
#cartlist {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cline {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  gap: 12px;
  padding: 10px 12px;
  background: #FAFBFD;
  border: 1px solid #EEF2F6;
  border-radius: 12px;
  align-items: center;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.cline:hover {
  background: #FFFFFF;
  border-color: #E2E8F0;
  box-shadow: 0 4px 12px rgba(15, 23, 42, .04);
}
.cline-im {
  width: 70px;
  height: 70px;
  padding: 6px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .04);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.cline-im img {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  object-fit: contain;
  border: 0;
  background: transparent;
  transition: transform 220ms cubic-bezier(.16, 1, .3, 1);
}
.cline:hover .cline-im img {
  transform: scale(1.05);
}
.cline-bd {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cline-bd .t {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cline-bd .t:hover {
  color: var(--primary-text);
}
.cline-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: var(--text-2);
}
.v-chip {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  color: var(--ink);
  padding: 1px 8px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 11px;
}
.cline-act {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
}
.qty.sm {
  height: 28px;
  border-radius: 7px;
  border-color: #CBD5E1;
  background: #FFFFFF;
}
.qty.sm button {
  width: 26px;
  font-size: 12px;
}
.qty.sm input {
  width: 30px;
  font-size: 12.5px;
  font-weight: 600;
}
.cline-sub {
  margin-left: auto;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.cline-rm,
.cline-act .x {
  border: 1px solid transparent;
  background: #F1F5F9;
  color: #64748B;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.cline-rm:hover,
.cline-act .x:hover {
  background: #FEF2F2;
  color: #EF4444;
  border-color: #FECACA;
}

/* Compact Form Fields */
.co-zones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.co-zcard {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  background: #FAFBFD;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.co-zcard:hover {
  border-color: #CBD5E1;
  background: #FFFFFF;
}
.co-zcard:has(input:checked) {
  border-color: var(--primary);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 12%, transparent);
}
.co-zcard input {
  width: 16px !important;
  height: 16px !important;
  margin: 0;
  accent-color: var(--primary);
  flex-shrink: 0;
}
.co-zinfo {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.co-zinfo b {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
.co-zinfo small {
  font-size: 11px;
  color: var(--text-2);
  line-height: 1.2;
}
.co-zprice {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary-text);
  background: var(--primary-tint);
  padding: 2px 8px;
  border-radius: 999px;
  flex-shrink: 0;
}
.co-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.checkout-page .field {
  margin-bottom: 10px;
}
.checkout-page .field > span {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 5px;
}
.checkout-page .field input,
.checkout-page .field select {
  height: 38px;
  padding: 0 11px;
  font-size: 13px;
  border-radius: 8px;
  border-color: #CBD5E1;
}
.checkout-page .field textarea {
  height: 54px;
  min-height: 54px;
  padding: 8px 11px;
  font-size: 13px;
  border-radius: 8px;
  border-color: #CBD5E1;
}
.co-divider {
  height: 1px;
  background: #E2E8F0;
  margin: 14px 0 12px;
}

/* Advance Payment Cards & 1-Tap Copy */
.co-pay-amt {
  font-size: 12.5px;
  background: var(--primary-tint);
  color: var(--primary-text);
  padding: 3px 10px;
  border-radius: 999px;
}
.co-paym {
  gap: 8px;
  margin-bottom: 10px;
}
.co-pmcard {
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 10px !important;
  padding: 9px 11px !important;
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  background: #FAFBFD;
  position: relative;
}
.co-pmcard:has(input:checked) {
  border-color: var(--pm-col, var(--primary)) !important;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--pm-col, var(--primary)) 12%, transparent) !important;
}
.co-pm-dot {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.co-pm-info {
  flex: 1;
  min-width: 0;
}
.co-pm-info b {
  display: block;
  font-size: 12.5px;
  color: var(--ink);
  line-height: 1.2;
}
.co-pm-info small {
  display: block;
  font-size: 12px !important;
  font-weight: 700;
  color: #334155 !important;
  font-family: monospace;
  margin-top: 2px;
}
.co-copy {
  border: 1px solid #CBD5E1;
  background: #fff;
  color: #334155;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  flex-shrink: 0;
}
.co-copy:hover {
  border-color: var(--primary);
  color: var(--primary-text);
  background: var(--primary-tint);
}
.co-trx-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 10px 12px;
}
.co-trx-help {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 12px;
  color: #475569;
  margin-bottom: 8px;
  line-height: 1.4;
}
.co-trx-help .ic {
  color: var(--primary);
  margin-top: 2px;
}
.co-trx-in {
  position: relative;
}
.co-trx-in .ic {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
}
.co-trx-in input {
  width: 100%;
  height: 40px !important;
  padding-left: 32px !important;
  font-family: monospace;
  font-weight: 700;
  letter-spacing: .03em;
  background: #fff !important;
}

/* Order Summary Panel */
.co-deliv-pill {
  font-size: 11px;
  font-weight: 600;
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
  padding: 2px 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.checkout-page .sumrow {
  padding: 4px 0;
  font-size: 13px;
  align-items: center;
}
.checkout-page .sumrow.t {
  font-size: 15px;
  margin-top: 4px;
  padding-top: 8px;
}
.co-pick-hint {
  font-size: 11.5px;
  color: #D97706;
  background: #FFFBEB;
  padding: 2px 7px;
  border-radius: 999px;
  font-weight: 600;
}
.co-adv-box {
  background: var(--primary-tint);
  border: 1px solid color-mix(in srgb, var(--primary) 25%, #fff);
  border-radius: 10px;
  padding: 8px 11px;
  margin-top: 8px;
}
.co-adv-box .sumrow.hl {
  color: var(--primary-text);
  font-size: 14px;
  font-weight: 800;
  padding: 2px 0;
}
.co-adv-box .sumrow.due {
  font-size: 12px;
  color: #475569;
  padding: 2px 0;
}
.co-submit {
  margin-top: 12px;
  height: 42px;
  font-size: 13.5px;
  border-radius: 9px;
}
.co-trust-mini {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #E2E8F0;
  font-size: 11px;
  font-weight: 600;
  color: #475569;
}
.co-trust-mini span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.co-trust-mini .ic { color: var(--primary); }
.co-terms {
  font-size: 11px;
  color: var(--text-2);
  margin: 8px 0 0;
  line-height: 1.4;
}
.co-terms a {
  color: var(--primary-text);
  text-decoration: underline;
}

@media (max-width: 960px) {
  .checkout-page .checkout {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
@media (max-width: 600px) {
  .co-top { margin: 6px 0; }
  .co-panel { padding: 11px 12px; border-radius: 10px; }
  .co-panel + .co-panel { margin-top: 10px; }
  .co-phd { padding-bottom: 8px; margin-bottom: 8px; }
  .co-phd h2 { font-size: 14px; }
  .co-grid2 { grid-template-columns: 1fr 1fr; gap: 8px; }
  .checkout-page .field { margin-bottom: 8px; }
  .checkout-page .field > span { font-size: 11.5px; margin-bottom: 3px; }
  .checkout-page .field input,
  .checkout-page .field select { height: 36px; font-size: 12.5px; padding: 0 9px; }
  .checkout-page .field textarea { height: 48px; min-height: 48px; font-size: 12.5px; padding: 6px 9px; }
  .co-paym { grid-template-columns: 1fr; gap: 7px; }
  .cline { grid-template-columns: 60px minmax(0, 1fr) auto; gap: 10px; padding: 8px 10px; border-radius: 10px; }
  .cline-im { width: 60px; height: 60px; padding: 5px; border-radius: 8px; }
  .cline-im img { width: 100%; height: 100%; }
  .cline-bd .t { font-size: 12.5px; }
  .cline-rm { width: 30px; height: 30px; }
}

/*============================================================================================
   Start Bottom Navigation CSS 
==============================================================================================*/
:root {
  --primary-color: var(--primary);
  --white-color: #ffffff;
  --title-color: var(--ink);
}
.sticky-footer.style-1 {
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 10px 2.5rem calc(10px + env(safe-area-inset-bottom));
  height: auto;
  min-height: 58px;
  border-top: 0;
  backdrop-filter: none;
  background: #fff;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  /* Keep navigation below the modal scrim (80) and drawer (90). */
  z-index: 60;
  background: var(--primary-color);
}
.sticky-footer.style-1 > * {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}
.sticky-footer.style-1 .cart-dropdown {
  position: relative;
}
.sticky-footer.style-1 .cart-dropdown .dropdown-box {
  top: auto;
  bottom: 100%;
  right: 0;
  min-width: 34rem;
  padding: 2rem 3rem 3rem;
  margin-bottom: 2.1rem;
  -webkit-transform: translateY(20px);
  transform: translateY(20px);
  -webkit-transition: opacity 0.3s, visibility 0.3s, -webkit-transform 0.3s;
  transition: opacity 0.3s, visibility 0.3s, -webkit-transform 0.3s;
  transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
  transition: transform 0.3s, opacity 0.3s, visibility 0.3s, -webkit-transform 0.3s;
}
.sticky-footer.style-1 .cart-dropdown:hover .dropdown-box {
  -webkit-transform: translateY(0);
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
.sticky-footer.style-1 .products {
  border: none;
}
.sticky-footer.style-1 .product-name a {
  padding: 0;
}
.sticky-footer.style-1 .cart-total {
  padding-top: 1rem;
}
.sticky-footer.style-1 .sticky-link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  justify-content: center;
  padding: 2px 0;
  position: relative;
  color: var(--title-color);
}
.sticky-footer.style-1 .sticky-link.on::before {
  background: var(--white-color);
  top: -10px;
}
.sticky-footer.style-1 .sticky-link i,
.sticky-footer.style-1 .sticky-link .ic,
.sticky-footer.style-1 .cart-dropdown .sticky-link i,
.sticky-footer.style-1 .cart-dropdown .sticky-link .ic {
  font-size: 16px;
  width: 18px;
  height: 18px;
  color: var(--white-color) !important;
  -webkit-text-stroke: 0 !important;
}
.sticky-footer.style-1 .sticky-link p {
  margin-top: 8px;
  margin-bottom: 0;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  color: var(--white-color);
}
.sticky-footer.style-1 .cart-icon-widget p {
  margin-top: 8px;
  position: relative;
}
.sticky-footer.style-1 .sticky-link.search-toggle p {
  margin-top: 8px;
}
.sticky-footer.style-1 .sticky-link:hover,
.sticky-footer.style-1 .sticky-link.on {
  color: var(--white-color);
}
.sticky-footer.style-1 .sticky-link:hover i,
.sticky-footer.style-1 .sticky-link:hover .ic {
  color: inherit;
}
.sticky-footer.style-1 .count {
  background: var(--white-color);
  color: var(--primary-color);
  top: -4px;
  right: calc(50% - 20px);
}

@media (min-width: 769px) {
  .sticky-footer.style-1 {
    display: none !important;
  }
}
@media (max-width: 479px) {
  .sticky-footer.style-1 {
    padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
  }
  .sticky-footer.style-1 .hs-toggle .input-wrapper {
    right: 1rem;
  }
  .sticky-footer.style-1 .cart-dropdown .dropdown-box {
    min-width: 30rem;
    right: -5.4rem;
  }
}
/*============================================================================================
   End Bottom Navigation CSS 
==============================================================================================*/

/*=============================================================================================
  Start Header Area
==============================================================================================*/
:root {
  --paragraph-color: var(--text-2);
  --secondary-color: var(--primary-h);
}
.header.style-7 {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: #ffffff;
  box-shadow: none;
}

.header.style-7 ul.live_search_box,
.header.style-7 .live_search_box {
  top: 48px;
}

.header.style-7 .header-right i,
.header.style-7 .header-right .ic {
  font-size: 20px;
  line-height: 0;
}
.header.style-7 .header-right i,
.header.style-7 .header-right .ic,
.header.style-7 .cart-dropdown > a i,
.header.style-7 .cart-dropdown button .ic {
  font-size: 22px;
  width: 22px;
  height: 22px;
  transition: all 0.3s ease;
  font-weight: 500;
  color: var(--title-color);
}
.header.style-7 .header-right a:hover,
.header.style-7 .header-right button:hover {
  background: transparent;
}
.header.style-7 .header-right a:hover i,
.header.style-7 .header-right a:hover .ic,
.header.style-7 .header-right button:hover i,
.header.style-7 .header-right button:hover .ic {
  color: var(--primary-color);
}
.header.style-7 .header-action-label {
  font-size: 14px;
  color: var(--title-color);
  font-weight: 400;
  margin-top: 6px;
  display: block;
  transition: all 0.3s ease;
}

.header.style-7 .menu > li > a {
  font-weight: 400;
  color: var(--white-color);
}
.header.style-7 .menu > li.active > a:not(.menu-title),
.header.style-7 .menu > li:hover > a:not(.menu-title) {
  color: var(--white-color) !important;
}
.header.style-7 .menu .submenu {
  padding: 1rem 0;
}

.header.style-7 .menu > li .megamenu,
.header.style-7 .menu > li > .submenu {
  left: 0;
}

.header.style-7 .active-underline > li > a::before {
  display: none;
}

.header.style-7 .header-right a:hover .header-action-label {
  color: var(--primary-color);
}

.header.style-7 .header-menu-btn {
  position: relative;
  cursor: pointer;
  padding-bottom: 12px;
  top: 6px;
  z-index: 3;
}
.header.style-7 .header-menu-btn-text:hover {
  color: var(--primary-color);
}
.header.style-7 .header-menu-btn .submenu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #fff;
  padding: 0;
  min-width: 220px;
  z-index: 999;
  margin: 0;
  border: 1px solid #eee;
}
.header.style-7 .header-menu-btn:hover .submenu {
  display: block;
}
.header.style-7 .header-menu-btn .submenu li {
  list-style: none;
  border-bottom: 1px solid #eee;
}
.header.style-7 .header-menu-btn .submenu li:last-child {
  border-bottom: 0;
}
.header.style-7 .header-menu-btn .submenu li a {
  text-decoration: none;
  color: var(--title-color);
  display: flex;
  font-size: 14px;
  line-height: 120%;
  padding: 10px 12px;
  transition: all 0.3s ease;
  align-items: center;
  gap: 12px;
}
.header.style-7 .header-menu-btn .submenu li a:hover {
  color: var(--primary-color);
}
.header.style-7 .header-menu-btn .submenu li img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}
.header.style-7 .cart-dropdown {
  position: relative;
  display: inline-flex;
}
.header.style-7 .cart-dropdown .cart-count {
  width: 16px;
  height: 16px;
  min-width: 16px;
  padding: 0 3px;
  top: 3px;
  right: 1px;
  font-size: 10px;
  line-height: 16px;
}
.header.style-7 .header-search.hs-expanded {
  max-width: 44.6rem;
  background: #f5f5f5;
  border-radius: 8px;
}
.header.style-7 .header-search.hs-expanded form {
  position: relative;
  background: #f5f5f5;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0;
  height: 44px;
  box-shadow: none;
}
.header.style-7 .header-search input.form-control {
  border: none;
  padding: 0 42px 0 14px;
  font-size: 14px;
  border-radius: 8px;
  border: 1px solid transparent;
  color: var(--title-color);
  background: transparent;
  width: 100%;
  height: 100%;
}
.header.style-7 .header-search.hs-expanded form:focus-within,
.header.style-7 .header-search input.form-control:focus {
  border-color: var(--primary-color);
  background: #fff;
  box-shadow: none;
}
.header.style-7 .header-search.hs-round .btn-search {
  background: transparent !important;
  color: var(--paragraph-color);
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: initial;
  height: initial;
  min-width: initial;
  padding: 4px;
  border-radius: 0;
}
.header.style-7 .header-search .btn-search i,
.header.style-7 .header-search .btn-search .ic {
  font-size: 19px;
  color: inherit;
}
.header.style-7 .header-search.hs-round .btn-search:hover {
  color: var(--primary-color);
}

.header.style-7 .header-middle {
  padding: 14px 0px;
  border-bottom: 1px solid #eee;
}
.header.style-7 .header-middle .bar {
  height: auto;
  min-height: 48px;
}
.header.style-7 .header-bottom {
  padding: 0;
  background: var(--primary-color);
}
.header.style-7 .inner-wrap {
  justify-content: space-between;
}

.header.style-7 .header-top-wrapper {
  background: var(--primary-color);
  padding: 16px 0px;
}

.header.style-7 .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  width: 100%;
}
.header.style-7 .header-wrapper {
  display: flex;
  align-items: center;
  gap: 28px;
  width: 100%;
}
.header.style-7 .h-category-btn {
  font-size: 24px;
  color: #e7f6f1;
}
.header.style-7 .h-logo img {
  max-width: 180px;
  height: 44px;
  object-fit: contain;
}
.header.style-7 .h-search-widget {
  display: flex;
  align-items: center;
}
.header.style-7 .h-search-form {
  position: relative;
}
.header.style-7 .h-search-form input {
  font-family: var(--font);
  width: 500px;
  height: 48px;
  padding: 15px 120px 15px 15px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 400;
  line-height: 120%;
  background: #f7f7f7;
  border: none;
}
.header.style-7 .h-search-form button {
  font-family: var(--font);
  background: var(--primary-color);
  color: var(--white-color);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  line-height: 40px;
  position: absolute;
  right: 4px;
  top: 4px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.header.style-7 .h-search-form button:hover {
  background: var(--secondary-color);
  color: var(--white-color);
}
.header.style-7 .h-contact {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header.style-7 .h-contact i {
  font-size: 36px;
  color: var(--white-color);
}
.header.style-7 .h-contact-info span {
  font-size: 14px;
  font-weight: 500;
  line-height: 120%;
  display: block;
  color: #e7f6f1;
}
.header.style-7 .h-contact-info p {
  font-size: 20px;
  font-weight: 600;
  line-height: 130%;
  color: #e7f6f1;
  margin: 0;
  margin-top: 4px;
  transition: all 0.3s ease;
}
.header.style-7 .h-contact:hover .h-contact-info p {
  color: var(--secondary-color);
}
.header.style-7 .header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.header.style-7 .header-actions-group {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header.style-7 .header-actions .btn {
  color: var(--white-color);
  position: relative;
  margin-left: 12px;
}
.header.style-7 .header-actions .btn i {
  font-size: 20px;
  color: var(--white-color);
}
.header.style-7 .header-actions .btn .label {
  position: absolute;
  top: -2px;
  left: -12px;
  width: 20px;
  height: 20px;
  background: var(--white-color);
  color: var(--title-color);
  border-radius: 100%;
  font-size: 13px;
  font-weight: 600;
  line-height: 19px;
  display: inline-block;
  text-align: center;
}
.header.style-7 .h-account-btn {
  background: var(--white-color);
  padding: 8px 12px;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  line-height: 120%;
  border-radius: 30px;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.header.style-7 .h-account-btn:hover {
  background: var(--secondary-color);
  color: var(--white-color);
}
.header.style-7 .header-bottom-wrapper {
  background: #f5f5f5;
  padding: 0;
}
.header.style-7 .header-bottom-wrapper.fixed {
  background: var(--white-color);
}
.header.style-7 .header-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header.style-7 .header-item-wrapper {
  display: flex;
  align-items: center;
  gap: 24px;
}
.header.style-7 .h-category-btn {
  background: transparent;
  color: var(--white-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-radius: 4px 4px 0px 0px;
  font-size: 14px;
  font-weight: 700;
  line-height: 120%;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  height: 40px;
  padding: 0;
}
.header.style-7 .h-category-btn i {
  font-size: 20px;
}
.header.style-7 .header-nav ul {
  padding: 0;
  margin: 0;
}
.header.style-7 .header-nav li {
  display: inline-block;
  margin-right: 24px;
}
.header.style-7 .header-nav li:last-child {
  margin: 0;
}
.header.style-7 .header-nav li a {
  font-size: 16px;
  font-weight: 500;
  line-height: 150%;
}
.header.style-7 .header-nav li a:hover {
  color: var(--primary-color);
}
.header.style-7 .header-nav li .submenu li a {
  font-weight: 500;
  font-size: 15px;
}
.header.style-7 .h-flash-btn {
  border-radius: 4px;
  background: var(--white-color);
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--primary-color) !important;
}
.header.style-7 .h-flash-btn i {
  font-size: 24px;
}

@media only screen and (min-width: 1200px) and (max-width: 1372px) {
  .header.style-7 .header-inner {
    gap: 48px;
  }
  .header.style-7 .h-search-form input {
    width: 400px;
  }
}

@media only screen and (max-width: 1199.99px) {
  .header.style-7 .header-inner {
    display: flex;
  }
  .header.style-7 .header-wrapper {
    gap: 24px;
    justify-content: space-between;
    width: auto;
  }
  .header.style-7 .h-logo img {
    max-width: 164px;
    height: auto;
  }
  .header.style-7 .h-category-btn {
    font-size: 22px;
  }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .header.style-7 .h-search-form input {
    width: 300px;
  }
}

@media only screen and (max-width: 991px) {
  .header.style-7 .header-bottom-wrapper {
    padding: 8px 0px;
  }
  .header.style-7 .header-nav {
    display: none;
  }
  .header.style-7 .h-logo img {
    max-width: 180px;
    height: auto;
  }
  .header.style-7 .h-flash-btn {
    padding: 8px;
    font-size: 12px;
  }
  .header.style-7 .h-flash-btn i {
    font-size: 18px;
  }
  .header.style-7 .h-search-widget,
  .header.style-7 .h-contact {
    display: none;
  }
  .header.style-7 .h-account-btn {
    background: transparent !important;
    padding: 0;
    color: var(--white-color);
    font-size: 0;
  }
  .header.style-7 .h-account-btn i {
    font-size: 20px;
    position: relative;
    top: 0;
  }
}

@media only screen and (max-width: 768px) {
  .header.style-7 .header-middle {
    padding: 8px 0;
  }
  .header.style-7 .mhead {
    height: 44px;
  }
  .header.style-7 .logo {
    display: flex;
    justify-content: center;
  }
  .header.style-7 .h-logo img {
    max-width: 132px;
    height: auto;
    max-height: 36px;
  }
  .header.style-7 .header-middle .header-right > :not(:last-child) {
    margin-right: 4px;
  }
  .header.style-7 .msearch {
    padding: 8px 16px 10px;
  }
}
/*=============================================================================================
  End Header Area
==============================================================================================*/

/*=============================================================================================
  Typography: Open Sans (Main Website Font) + Poppins (Product Card Font) + Uicons Support
==============================================================================================*/
:root {
  --font: 'Open Sans', 'Hind Siliguri', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-family: 'Open Sans', 'Hind Siliguri', sans-serif;
  --font-card: 'Poppins', 'Open Sans', 'Hind Siliguri', sans-serif;
}

body {
  font-family: var(--font);
}

/* Product Card Typography -> Poppins */
.card,
.card .ttl,
.card .pr,
.card .pr small,
.card .meta,
.card .acts2,
.card .acts2 .btn,
.card .rib,
.ycard,
.ycard .yt,
.ycard .yp,
.ycard .yadd {
  font-family: var(--font-card);
}

/* Uicons (fi-rr-*) alignment */
i[class^="fi-"],
i[class*=" fi-"],
span[class^="fi-"],
span[class*=" fi-"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Motion shared by storefront interactions. */
:root {
  --motion-fast: 180ms ease;
  --motion-ui: 260ms cubic-bezier(.2, .7, .2, 1);
  --motion-enter: 340ms cubic-bezier(.34, 1.56, .64, 1);
}

.card .acts2 .btn, .cqty button, .yadd, .carou .nav {
  transition: background-color var(--motion-fast), color var(--motion-fast),
    border-color var(--motion-fast), transform var(--motion-fast), box-shadow var(--motion-fast);
}
@media (hover: hover) {
  .card .acts2 .btn:hover, .yadd:hover, .carou .nav:hover:not(:disabled) { transform: translateY(-2px); }
  .cqty button:hover:not(:disabled) { background-color: var(--bg-2); }
}
.card .acts2 .btn:active, .yadd:active, .carou .nav:active:not(:disabled),
.cqty button:active:not(:disabled) { transform: scale(.96); }

/* Search opens from the top edge of its existing side drawer. */
.drawer.right:has(.search-drawer) .search-drawer {
  animation: wf-search-enter 300ms ease both;
}
@keyframes wf-search-enter {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}
.toast { transition: opacity var(--motion-ui), transform var(--motion-enter); }
.carou .track { -webkit-overflow-scrolling: touch; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slider .sl, .scrim, .drawer, .toast, .card, .card .im img,
  .card .acts2 .btn, .cqty button, .yadd, .carou .nav, .carou .track {
    animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}

/* Checkout layout follows the reference's stacked card rhythm while keeping pre-order payment fields. */
.checkout-page { background: #f3f4f8; }
.checkout-page #app { max-width: 760px; padding-bottom: 96px; }
.checkout-page .co-top { justify-content: center; margin: 12px 0 18px; }
.checkout-page .co-top h1 { margin: 0; font-size: 22px; line-height: 1.3; color: var(--ink); }
.checkout-page .checkout { display: flex; flex-direction: column; gap: 16px; margin: 0; }
.checkout-page .co-main, .checkout-page .co-side { width: 100%; min-width: 0; }
.checkout-page .co-side { position: static; }
.checkout-page .co-panel { border: 0; border-radius: 17px; padding: 20px; box-shadow: 0 1px 0 rgba(15,23,42,.08); }
.checkout-page .co-panel + .co-panel { margin-top: 16px; }
.checkout-page .co-phd { border: 0; padding: 0; margin-bottom: 14px; }
.checkout-page .co-phd h2 { border-left: 3px solid var(--buy); padding-left: 9px; font-size: 15px; line-height: 1.3; }
.checkout-page .co-step { display: none; }
.checkout-page .co-lines { border-top: 0; }
.checkout-page .co-sum-panel { padding: 18px 20px; }
.checkout-page .co-submit { background: var(--buy); border-color: var(--buy); color: #fff; height: 46px; text-transform: uppercase; font-weight: 700; }
.checkout-page .co-submit:hover { background: var(--buy-h); border-color: var(--buy-h); }
.checkout-page .field input, .checkout-page .field textarea { border-radius: 9px; }
.checkout-page .co-zcard:has(input:checked), .checkout-page .co-pmcard:has(input:checked) { border-color: var(--buy); }
@media (max-width: 600px) {
  .checkout-page #app { padding-left: 26px; padding-right: 26px; }
  .checkout-page .co-panel { padding: 16px 13px; border-radius: 16px; }
  .checkout-page .co-grid2 { grid-template-columns: 1fr; }
  .checkout-page .co-paym { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .checkout-page .co-phd { align-items: flex-start; }
  .checkout-page .co-phd h2 { font-size: 14px; }
  .checkout-page .co-dhint, .checkout-page .co-deliv-pill { font-size: 10px; }
  .checkout-page .co-submit { position: static; }
}

/* On-demand search drops down from the top of the viewport. */
.drawer.search-sheet { top: 0; left: 0; right: 0; bottom: auto; width: 100%; max-height: min(80dvh, 640px); overflow: visible; background: #fff; transform: translateY(-105%); z-index: 91; box-shadow: 0 14px 35px rgba(0,0,0,.14); }
.drawer.search-sheet.on { transform: translateY(0); }
.search-sheet-head, .search-sheet-body { max-width: 760px; margin: auto; padding-left: 18px; padding-right: 18px; }
.search-sheet-head { min-height: 56px; display: flex; align-items: center; justify-content: space-between; }
.search-sheet-body { padding-bottom: 20px; }
.search-sheet .search { max-width: none; position: relative; }
.search-sheet .search form { height: 48px; }
.search-sheet .sugg { position: static; max-height: min(55dvh, 440px); overflow-y: auto; margin-top: 8px; box-shadow: none; border: 1px solid var(--border); border-radius: 9px; }
.search-sheet .search-model { display: block; color: var(--text-2); font-size: 11px; font-weight: 400; }
@media (prefers-reduced-motion: reduce) { .drawer.search-sheet { transition-duration: .01ms !important; } }

/* Minimal search panel. Suggestions remain hidden until a query is entered. */
.drawer.search-sheet { border-radius: 0; box-shadow: 0 10px 26px rgba(0,0,0,.12); }
.search-sheet-head, .search-sheet-body { max-width: 760px; padding-left: 32px; padding-right: 32px; }
.search-sheet-head { min-height: 41px; border-bottom: 1px solid #e9e9e9; }
.search-sheet-head b { font-size: 14px; font-weight: 700; color: var(--ink); }
.search-sheet-head [data-close] { width: 28px; height: 28px; border: 0; border-radius: 50%; background: #fff2f2; color: var(--buy); }
.search-sheet-head [data-close]:hover { background: #ffe2e3; }
.search-sheet-body { padding-top: 10px; padding-bottom: 12px; }
.search-sheet .search form { display: flex; height: 41px; padding: 0; gap: 0; border: 1px solid #d9d9d9; border-radius: 5px; background: #fff; overflow: hidden; }
.search-sheet .search form:focus-within { background: #fff; border-color: #9da4ae; box-shadow: none; }
.search-sheet .search input { padding: 0 12px; font-size: 13px; }
.search-sheet .search input::placeholder { color: #777; }
.search-sheet .search .go { height: 100%; width: 48px; min-width: 48px; padding: 0; border-radius: 0 4px 4px 0; background: #222831; color: #fff; display: grid; place-items: center; }
.search-sheet .search .go:hover { background: #343e49; }
.search-sheet .sugg { margin-top: 8px; border-radius: 5px; box-shadow: 0 8px 18px rgba(0,0,0,.08); }
.search-sheet .sugg .t { white-space: normal; line-height: 1.35; }
.search-sheet .search-model { display: block; margin-top: 3px; color: var(--text-2); font-size: 11px; }
@media (max-width: 600px) { .search-sheet-head, .search-sheet-body { padding-left: 30px; padding-right: 30px; } }

/* Storefront footer: clearer hierarchy and compact responsive columns. */
.ftr { background: #f7f8fa; border-top: 1px solid #e6e8ec; color: #49515d; margin-top: 64px; padding: 54px 0 0; }
.ftr .cols { grid-template-columns: minmax(240px, 1.65fr) repeat(4, minmax(0, 1fr)); gap: 28px; }
.ftr .footer-about { min-width: 0; }
.ftr .flogo { display: inline-flex; margin: 0 0 16px; }
.ftr .flogo .logo-img { max-height: 48px; width: auto; object-fit: contain; }
.ftr .footer-intro { color: #59616b; font-size: 13px; line-height: 1.7; max-width: 32ch; margin-bottom: 20px; }
.ftr h4 { color: #222831; font-size: 14px; font-weight: 700; line-height: 1.4; margin: 3px 0 18px; }
.ftr .flinks a { color: #59616b; font-size: 12.5px; line-height: 1.5; margin: 0 0 12px; width: fit-content; transition: color 160ms ease, transform 160ms ease; }
.ftr .flinks a:hover, .ftr .flinks a:focus-visible { color: var(--primary); transform: translateX(3px); }
.ftr .footer-about > a:not(.flogo), .ftr .footer-about > p:not(.footer-intro) { display: flex; align-items: flex-start; gap: 8px; color: #59616b; font-size: 12.5px; line-height: 1.5; margin-bottom: 12px; overflow-wrap: anywhere; }
.ftr .footer-about .ic { color: var(--primary); margin: 2px 0 0; flex: none; }
.ftr .footer-social { margin-top: 20px; gap: 10px; }
.ftr .footer-social a { width: 36px; height: 36px; border: 1px solid #dfe2e7; background: #fff; color: #4b5563; transition: color 160ms, border-color 160ms, transform 160ms; }
.ftr .footer-social a:hover { color: var(--primary); border-color: var(--primary); transform: translateY(-2px); }
.ftr .footer-social .ic { margin: 0; color: inherit; }
.ftr .copy { margin-top: 36px; padding: 18px 0; border-top: 1px solid #e1e4e8; color: #6b7280; font-size: 12px; align-items: center; }
.ftr .pays { display: flex; gap: 8px; margin: 0; }
.ftr .pays span { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border: 1px solid #e1e4e8; border-radius: 6px; background: #fff; color: #404854; font-size: 11px; font-weight: 600; }
.ftr .pays .ic { margin: 0; color: var(--primary); }
@media (max-width: 980px) { .ftr .cols { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 22px; } .ftr .footer-about { grid-column: 1 / -1; } .ftr .footer-intro { max-width: 56ch; } }
@media (max-width: 600px) { .ftr { margin-top: 44px; padding-top: 36px; } .ftr .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 18px; } .ftr .footer-about { grid-column: 1 / -1; } .ftr h4 { font-size: 13px; margin-bottom: 12px; } .ftr .flinks a { font-size: 12px; margin-bottom: 10px; } .ftr .copy { align-items: flex-start; flex-direction: column; gap: 13px; margin-top: 28px; padding: 17px 0 calc(94px + env(safe-area-inset-bottom)); } .ftr .pays { flex-wrap: wrap; } }
@media (prefers-reduced-motion: reduce) { .ftr a { transition: none !important; } }

/* =====================================================================
   Category / Shop page: clean marketplace layout
   (title + breadcrumb, toolbar card, bordered product cards)
   ===================================================================== */
.cat-page #app { padding-bottom: 32px; }
.cat-page .cat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 22px 0 16px; flex-wrap: wrap; }
.cat-page .cat-head h1 { margin: 0; font-size: 24px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.cat-page .cat-head .crumbs { margin: 0; font-size: 13px; color: var(--text-2); gap: 4px; }
.cat-page .cat-head .crumbs .ic { font-size: 10px; width: 10px; height: 10px; }
.cat-page .cat-head .crumbs span { color: var(--ink); }

.cat-page .cat-bar { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 10px; padding: 12px; margin-bottom: 18px; box-shadow: 0 2px 14px rgba(15, 23, 42, .07); }
.cat-page .cat-fbtn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 1.5px solid var(--primary); border-radius: 6px; background: #fff; color: var(--primary); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .02em; cursor: pointer; transition: background 180ms, color 180ms; }
.cat-page .cat-fbtn:hover { background: var(--primary); color: #fff; }
.cat-page .cat-fbtn .ic { font-size: 15px; }
.cat-page .cat-sel select { height: 40px; min-width: 150px; border: 1px solid var(--border); border-radius: 6px; padding: 0 34px 0 12px; background: #fff; color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; }
.cat-page .cat-sel select:focus { outline: none; border-color: var(--primary); }
.cat-page .cat-bar .total { margin-left: auto; color: var(--text-2); font-size: 13px; white-space: nowrap; }
.cat-page .cat-per select { min-width: 110px; color: var(--primary); border-color: color-mix(in srgb, var(--primary) 35%, var(--border)); font-weight: 600; }

/* product grid & cards */
.cat-page .grid { gap: 16px; }
.cat-page .grid > .card:not(.sk) { border: 1px solid #DDE1E6; border-radius: 6px; padding: 10px; background: #fff; box-shadow: none; }
.cat-page .grid > .card:not(.sk):hover { border-color: color-mix(in srgb, var(--primary) 45%, #DDE1E6); box-shadow: 0 8px 22px rgba(15, 23, 42, .08); transform: none; }
.cat-page .grid > .card .im { border-radius: 4px; background: #fff; }
.cat-page .grid > .card .im img { object-fit: contain; }
.cat-page .grid > .card .bd { padding: 14px 0 0; gap: 0; }
.cat-page .grid > .card .ttl { font-size: 15px; font-weight: 500; color: var(--ink); line-height: 1.4; min-height: 2.8em; }
.cat-page .grid > .card .pr { margin-top: 14px; color: var(--primary); font-size: 16px; font-weight: 700; }
.cat-page .grid > .card .pr small { color: var(--text-2); font-weight: 400; }
.cat-page .grid > .card .pr del { color: #9AA0A6; font-weight: 400; font-size: 13px; }
.cat-page .grid > .card .meta { display: none; }
.cat-page .grid > .card .save { position: absolute; top: 18px; right: 18px; z-index: 2; margin: 0; background: #22B573; color: #fff; font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 5px; line-height: 1; }
.cat-page .grid > .card .rib { top: 18px; left: 18px; border-radius: 5px; background: var(--primary); }
.cat-page .grid > .card .heart { top: 18px; right: 18px; }
.cat-page .grid > .card:has(.save) .heart { top: 46px; }
.cat-page .grid > .card .acts2 { padding: 12px 0 0; margin-top: auto; }
.cat-page .grid > .card .acts2 .btn { width: 100%; height: 40px; border: 1.5px solid var(--primary); border-radius: 6px; color: var(--primary); background: #fff; font-weight: 600; }
.cat-page .grid > .card .acts2 .btn:not(:disabled):hover { background: var(--primary); color: #fff; }

@media (max-width: 768px) {
  .cat-page .cat-head { margin: 14px 0 12px; }
  .cat-page .cat-head h1 { font-size: 19px; }
  .cat-page .cat-bar { gap: 8px; padding: 10px; }
  .cat-page .cat-bar .total { display: none; }
  .cat-page .cat-per { margin-left: auto; }
  .cat-page .cat-fbtn { height: 38px; padding: 0 12px; font-size: 13px; }
  .cat-page .cat-sel select { height: 38px; min-width: 0; font-size: 13px; padding: 0 28px 0 10px; }
  .cat-page .cat-sel:not(.cat-per) select { max-width: 150px; }
  .cat-page .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cat-page .grid > .card:not(.sk) { padding: 8px; }
  .cat-page .grid > .card .ttl { font-size: 14px; }
  .cat-page .grid > .card .save, .cat-page .grid > .card .heart { top: 14px; right: 14px; }
  .cat-page .grid > .card:has(.save) .heart { top: 40px; }
  .cat-page .grid > .card .acts2 .btn { height: 36px; font-size: 13px; }
}

/* Compact storefront home on phones; keep controls comfortably tappable. */
@media (max-width: 600px) {
  .storefront-home { --home-gutter: 12px; }
  .storefront-home .mhead { height: 48px; }
  .storefront-home .mhead .logo .logo-img { height: 29px; max-width: 124px; }
  .storefront-home .mhead .logo .logo-emblem svg { height: 27px; }
  .storefront-home .mhead .iconbtn { width: 40px; height: 40px; padding: 8px; }
  .storefront-home .mhead .ic { font-size: 19px; }
  .storefront-home .mhead .macts { gap: 0; }
  .storefront-home .herogrid { margin-top: 10px; }
  .storefront-home .slider { min-height: 0; height: clamp(180px, 49vw, 210px); aspect-ratio: auto; border-radius: 6px; }
  .storefront-home .slider .sl .in { padding: 16px 15px; max-width: 70%; }
  .storefront-home .slider .sl .k { font-size: 8px; letter-spacing: .1em; margin-bottom: 6px; }
  .storefront-home .slider .sl h1 { font-size: clamp(16px, 4.8vw, 19px); line-height: 1.22; }
  .storefront-home .slider .sl p { font-size: 10.5px; line-height: 1.4; margin: 6px 0 8px; }
  .storefront-home .slider .sl .btn { height: 31px; min-width: 84px; padding: 0 10px; font-size: 11px; }
  .storefront-home .hero-delivery { margin-top: 6px; font-size: 8px; }
  .storefront-home .slider .dots { bottom: 8px; }
  .storefront-home .band { padding-top: 15px; padding-bottom: 15px; }
  .storefront-home .ctitle, .storefront-home .section-heading { margin-bottom: 10px; }
  .storefront-home .ctitle, .storefront-home .section-heading h2 { font-size: 17px; line-height: 1.3; }
  .storefront-home .section-heading a { font-size: 11px; }
  .storefront-home .carou .track { grid-auto-columns: calc((100% - 3 * 8px) / 4.2); gap: 8px; padding-bottom: 3px; }
  .storefront-home .ctile { gap: 6px; font-size: 10.5px; line-height: 1.3; }
  .storefront-home .ctile .im { border-radius: 8px; box-shadow: none; }
  .storefront-home .ctile .ph { width: 55%; height: 55%; font-size: 22px; border-radius: 8px; }
  .storefront-home .bstrip .track { grid-auto-columns: 36%; }
  .storefront-home .blogo { min-height: 68px; padding: 8px; }
  .storefront-home .blogo b { font-size: 11px; }
  .storefront-home .grid, .storefront-home .top-grid { gap: 8px; }
  .storefront-home .card { padding: 7px; border-radius: 8px; }
  .storefront-home .card .im { aspect-ratio: 1.12; }
  .storefront-home .card .bd { padding-top: 7px; gap: 5px; }
  .storefront-home .card .ttl, .storefront-home .featured-card .ttl { font-size: 11.5px; line-height: 1.4; height: 33px; }
  .storefront-home .card .pr, .storefront-home .featured-card .pr { font-size: 14px; line-height: 1.3; }
  .storefront-home .card .pr small, .storefront-home .card .meta { font-size: 10px; }
  .storefront-home .card .acts2 { margin-top: 5px; gap: 5px; }
  .storefront-home .card .acts2 .btn { min-height: 36px; height: auto; padding: 5px 6px; font-size: 10.5px; line-height: 1.25; }
  .storefront-home .card .acts2 .ic { font-size: 12px; }
  .storefront-home .card .heart { width: 32px; height: 32px; top: 28px; right: 7px; }
  .storefront-home .card .heart .ic { font-size: 14px; }
  .storefront-home .card .rib { padding: 3px 5px; font-size: 8px; }
  .storefront-home .trust { gap: 8px; }
  .storefront-home .trust > div { padding: 8px; }
  .storefront-home .trust .ic { font-size: 20px; width: 26px; height: 26px; }
  .storefront-home .trust b { font-size: 12px; }
  .storefront-home .trust span { font-size: 10px; }
  .storefront-home .fcart { width: 48px; }
  .storefront-home .fcart .t { padding: 6px 2px; font-size: 10px; }
  .storefront-home .fcart .t .ic { font-size: 16px; }
  .storefront-home .fcart .s { padding: 4px 2px; font-size: 10px; }
  .storefront-home .fab.wa { width: 44px; height: 44px; }
}
@media (max-width: 600px) {
  .storefront-home .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .storefront-home .trust > div { min-width: 0; }
  .storefront-home .trust b, .storefront-home .trust span { overflow-wrap: anywhere; }
}
@media (max-width: 600px) {
  /* Keep the floating cart accessible on mobile as well as desktop. */
  .storefront-home .fcart { display: block !important; }
  .storefront-home .fab.wa { right: 12px; bottom: calc(68px + env(safe-area-inset-bottom)); width: 40px; height: 40px; }
  .storefront-home .fab.wa .ic { font-size: 20px; }
}

/* =====================================================================
   COMPACT BLANK CANVAS
   Puro storefront ke ekta plain white (blank WordPress page) er moto
   dekhano: flat white background, halka 1px border, shadow nai,
   choto radius, tight spacing. Remove korte chaile ei block ta muche din.
   ===================================================================== */
:root {
  --page: #fff; --bg: #fff; --alt: #fff; --bg-2: #f6f7f7;
  --border: #e2e4e7;
  --r-sm: 3px; --r: 4px; --r-lg: 4px;
  --shadow-card: none;
  --wrap: 1200px;
}
html body { background: #fff; }
body .wrap { padding-left: 16px; padding-right: 16px; }

/* header: flat, slim, single hairline */
body .hdr { background: #fff; box-shadow: none; border-bottom: 1px solid var(--border); }
body .hdr .bar { height: 60px; }

/* sections: no tinted bands, tight vertical rhythm */
body .band, body .storefront-home .band, body .top-selling, body .service-band,
body .collection-band { background: transparent; padding-top: 14px; padding-bottom: 14px; }
body .storefront-home .band + .band { border-top: 1px solid var(--border); }
body .herogrid { margin-top: 14px; gap: 10px; }
body main#app { padding-bottom: 8px; }

/* headings: left-aligned, plain, small */
body .ctitle { text-align: left; font-size: 19px; font-weight: 600; margin: 0 0 12px; }
body .ctitle::after { display: none; }
body .section-heading { margin-bottom: 12px; }
body .section-heading h2 { font-size: 19px; font-weight: 600; margin: 0; }
body .section-heading h2::after { display: none; }
body .section-heading a { font-size: 13px; }
body .lhead { margin-bottom: 10px; }
body .lhead h1, body .cat-page .cat-head h1 { font-size: 21px; }
body .crumbs { margin: 12px 0 6px; }

/* hero slider: shorter, square-ish corners */
body .slider { aspect-ratio: 3.2 / 1; border-radius: var(--r); }
body .slider .sl .in { padding: 24px 32px; }
body .slider .sl h1 { font-size: 28px; }
body .slider .sl p { margin-bottom: 14px; }

/* grids: compact gaps */
body .grid { gap: 10px; }
body .carou .track { gap: 10px; }

/* every card / box: white, 1px border, no shadow */
body .card:not(.sk), body .ctile .im, body .blogo, body .bcard, body .ccard,
body .panel, body .ocard, body .tabsec, body .trust, body .trust > div,
body .filters, body .cat-page .cat-bar, body .pd, body .checkout > *, body .empty {
  box-shadow: none;
  border-radius: var(--r);
}
body .card:not(.sk) { border: 1px solid var(--border); padding: 8px; background: #fff; }
body .card:not(.sk):hover { box-shadow: none; transform: none; border-color: #c3c7cc; }
body .card .im { border-radius: 2px; }
body .card .bd { padding: 8px 0 0; }
body .card .pr { margin-top: 6px; }
body .card .acts2 { padding-top: 8px; }
body .card .acts2 .btn { height: 34px; font-size: 13px; }
body .ctile .im { border: 1px solid var(--border); }
body .ctile:hover .im { box-shadow: none; transform: none; border-color: #c3c7cc; }
body .blogo { border: 1px solid var(--border); }
body .blogo:hover { box-shadow: none; transform: none; border-color: #c3c7cc; }
body .cat-page .cat-bar { border: 1px solid var(--border); padding: 8px; margin-bottom: 12px; }
body .cat-page .cat-head { margin: 12px 0 10px; }
body .cat-page .grid > .card:not(.sk) { border-color: var(--border); }
body .cat-page .grid > .card:not(.sk):hover { box-shadow: none; }

/* trust / service row: inline, plain */
body .trust { background: transparent; border: 1px solid var(--border); padding: 12px; gap: 10px; }

/* product, cart, checkout pages */
body .pd { gap: 24px; margin-top: 8px; background: #fff; }
body .panel { padding: 14px; border: 1px solid var(--border); background: #fff; }
body .checkout { gap: 16px; margin: 12px 0 24px; }

/* buttons & inputs: flat */
body .btn { border-radius: var(--r-sm); box-shadow: none; }
body .btn:hover { box-shadow: none; }
body input.input, body .field input, body .field select, body .field textarea, body select { border-radius: var(--r-sm); }

/* footer: white, hairline, compact */
body .ftr { background: #fff; border-top: 1px solid var(--border); margin-top: 20px; padding-top: 24px; }

/* floating bits: flat */
body .toast { border-radius: var(--r-sm); box-shadow: none; }


/* compact canvas: page-specific fixes */
html body.product-page, html body.checkout-page { background: #fff; }
body .header.style-7 .header-middle { padding: 6px 0; }
body.storefront-home .slider, body .slider { min-height: 0; height: auto; aspect-ratio: 4 / 1; }
body.product-page .pd, body.product-page .tabsec { border: 1px solid var(--border); border-radius: var(--r); box-shadow: none; padding: 12px; }
body.product-page .crumbs { margin: 10px 0; }
body.product-page .tabsec { margin-top: 10px; }
body.product-page .infobox { border-radius: var(--r); background: #fff; }
body.checkout-page .checkout > * { border: 1px solid var(--border); }

@media (max-width: 768px) {
  body .wrap { padding-left: 12px; padding-right: 12px; }
  body .hdr .bar { height: 54px; }
  body .band, body .storefront-home .band, body .top-selling, body .service-band { padding-top: 10px; padding-bottom: 10px; }
  body .ctitle, body .section-heading h2 { font-size: 17px; }
  body.storefront-home .slider, body .slider { aspect-ratio: 2 / 1; height: auto; }
  body .header.style-7 .header-middle { padding: 4px 0; }
  body .slider .sl .in { padding: 16px; max-width: 80%; }
  body .slider .sl h1 { font-size: 20px; }
  body .grid { gap: 8px; }
  body .card:not(.sk) { padding: 6px; }
}

/* Home: centered content with readable mobile text and even side gutters. */
.storefront-home .wrap { max-width: 1200px; margin-left: auto; margin-right: auto; }
@media (max-width: 600px) {
  body.storefront-home { --home-gutter: 28px; }
  body.storefront-home .wrap, body.storefront-home .mhead { padding-left: max(28px, env(safe-area-inset-left)); padding-right: max(28px, env(safe-area-inset-right)); }
  body.storefront-home .slider { height: clamp(205px, 56vw, 230px); }
  body.storefront-home .slider .sl .in { max-width: 72%; padding: 16px; }
  body.storefront-home .slider .sl .k { font-size: 9px; }
  body.storefront-home .slider .sl h1 { font-size: clamp(19px, 5.2vw, 22px); line-height: 1.2; }
  body.storefront-home .slider .sl p { font-size: 11.5px; line-height: 1.45; }
  body.storefront-home .slider .sl .btn { font-size: 12px; }
  body.storefront-home .hero-delivery { font-size: 9px; }
  body.storefront-home .ctitle, body.storefront-home .section-heading h2 { font-size: 19px; }
  body.storefront-home .ctitle { text-align: center; }
  body.storefront-home .section-heading { flex-wrap: wrap; align-items: center; justify-content: center; column-gap: 12px; row-gap: 2px; text-align: center; }
  body.storefront-home .section-heading a { font-size: 12px; }
  body.storefront-home .ctile { font-size: 12px; }
  body.storefront-home .blogo b { font-size: 12px; }
  body.storefront-home .card .ttl, body.storefront-home .featured-card .ttl { font-size: 12.5px; line-height: 1.4; height: 36px; }
  body.storefront-home .card .pr, body.storefront-home .featured-card .pr { font-size: 15px; }
  body.storefront-home .card .meta { font-size: 10.5px; }
  body.storefront-home .card .acts2 .btn { font-size: 11.5px; }
  body.storefront-home .trust b { font-size: 12.5px; }
  body.storefront-home .trust span { font-size: 11px; }
}
@media (max-width: 600px) {
  body.storefront-home .slider { width: 100%; aspect-ratio: auto; }
}

/* Shop by Category: round tiles and visible controls on both sides. */
.storefront-home #cats .ctile .im { border-radius: 16px; overflow: hidden; }
.storefront-home #cats .ctile .ph { border-radius: 11px; }
.storefront-home #cats .nav { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; top: 28%; border-radius: 50%; border: 1px solid #e2e5e9; background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(15,23,42,.1); }
.storefront-home #cats .nav.l { left: -17px; }
.storefront-home #cats .nav.r { right: -17px; }
.storefront-home #cats .nav:disabled { opacity: .45; }
@media (max-width: 600px) {
  body.storefront-home #cats .ctile .im { border-radius: 16px; }
  body.storefront-home #cats .nav { display: flex !important; width: 36px; height: 36px; top: 26%; }
  body.storefront-home #cats .nav.l { left: -17px; }
  body.storefront-home #cats .nav.r { right: -17px; }
}

/* Our Brands: let real logos use the available card space. */
.storefront-home #brands .blogo { flex-direction: column; min-height: 112px; height: auto; padding: 10px; gap: 7px; text-align: center; }
.storefront-home #brands .blogo .dotb:has(img) { width: 100%; height: 68px; max-width: none; border-radius: 4px; background: transparent !important; }
.storefront-home #brands .blogo .dotb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.storefront-home #brands .blogo b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 600px) {
  body.storefront-home #brands .blogo { min-height: 100px; padding: 8px; gap: 5px; }
  body.storefront-home #brands .blogo .dotb:has(img) { height: 58px; }
}

/* =====================================================================
   Search sheet v2: icon-in-input, clear, Search button, Cancel,
   recent searches + popular categories, highlighted suggestions
   ===================================================================== */
.drawer.search-sheet { max-height: min(86dvh, 680px); border-bottom: 1px solid var(--border); box-shadow: 0 12px 30px rgba(15, 23, 42, .12); overflow-y: auto; }
.search-sheet .search-sheet-body { max-width: 760px; margin: 0 auto; padding: 14px 20px 16px; }
.search-sheet .ss-row { display: flex; align-items: center; gap: 12px; }
.search-sheet .ss-row .search { flex: 1; min-width: 0; position: relative; }
.search-sheet .search form { position: relative; display: flex; align-items: center; height: 46px; padding: 0; gap: 0; border: 1.5px solid #d5d8dc; border-radius: 6px; background: #fff; overflow: hidden; transition: border-color 160ms, box-shadow 160ms; }
.search-sheet .search form:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 14%, transparent); }
.search-sheet .ss-ic { display: grid; place-items: center; width: 40px; flex: 0 0 40px; color: #8a9099; font-size: 15px; }
.search-sheet .search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; padding: 0 4px 0 0; background: transparent; font: inherit; font-size: 15px; color: var(--ink); }
.search-sheet .search input::placeholder { color: #9aa0a6; }
.search-sheet .search input::-webkit-search-cancel-button { display: none; }
.search-sheet .ss-clear { display: grid; place-items: center; width: 26px; height: 26px; margin-right: 8px; flex: 0 0 26px; border: 0; border-radius: 50%; background: #eef0f2; color: #5f6670; cursor: pointer; font-size: 11px; }
.search-sheet .ss-clear:hover { background: #e2e5e8; color: var(--ink); }
.search-sheet .ss-clear[hidden] { display: none; }
.search-sheet .search .go { display: inline-flex; align-items: center; gap: 7px; height: 100%; width: auto; min-width: 0; padding: 0 18px; border: 0; border-radius: 0; background: var(--primary); color: #fff; font-weight: 600; font-size: 14px; cursor: pointer; }
.search-sheet .search .go:hover { background: var(--primary-h, var(--primary)); filter: brightness(.95); }
.search-sheet .ss-cancel { flex: 0 0 auto; border: 0; background: none; padding: 8px 2px; color: var(--text-2); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.search-sheet .ss-cancel:hover { color: var(--ink); }

/* idle: recent + popular */
.search-sheet .ss-idle { padding-top: 6px; }
.search-sheet .ss-idle[hidden] { display: none; }
.search-sheet .ss-sec { margin-top: 14px; }
.search-sheet .ss-lbl { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #6b7280; }
.search-sheet .ss-lbl span { display: inline-flex; align-items: center; gap: 6px; }
.search-sheet .ss-link { border: 0; background: none; padding: 0; color: var(--primary); font: inherit; font-size: 12px; text-transform: none; letter-spacing: 0; cursor: pointer; }
.search-sheet .ss-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.search-sheet .ss-chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 1px solid var(--border); border-radius: 999px; background: #fff; color: var(--ink); font-size: 13px; transition: border-color 150ms, color 150ms, background 150ms; }
.search-sheet .ss-chip:hover { border-color: var(--primary); color: var(--primary); background: color-mix(in srgb, var(--primary) 6%, #fff); }
.search-sheet .ss-chip em { font-style: normal; font-size: 11px; color: #9aa0a6; }

/* suggestions */
.search-sheet .sugg { position: static; margin-top: 10px; max-height: min(58dvh, 460px); overflow-y: auto; border: 1px solid var(--border); border-radius: 6px; box-shadow: none; background: #fff; padding: 4px 0; }
.search-sheet .sugg .lbl { padding: 10px 14px 6px; font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #8a9099; }
.search-sheet .sugg a { display: flex; align-items: center; gap: 12px; padding: 8px 14px; color: var(--ink); font-size: 14px; }
.search-sheet .sugg a:hover, .search-sheet .sugg a.on { background: #f6f7f8; }
.search-sheet .sugg a + .lbl { border-top: 1px solid var(--border); margin-top: 4px; }
.search-sheet .sugg img { width: 42px; height: 42px; flex: 0 0 42px; object-fit: cover; border: 1px solid var(--border); border-radius: 4px; background: #fff; }
.search-sheet .sugg .t { flex: 1; min-width: 0; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: normal; }
.search-sheet .sugg .t mark { background: none; color: var(--ink); font-weight: 700; }
.search-sheet .sugg .p { flex: 0 0 auto; font-weight: 700; color: var(--primary); font-size: 14px; }
.search-sheet .sugg a:last-child { border-top: 1px solid var(--border); margin-top: 4px; padding: 12px 14px; color: var(--primary); }
.search-sheet .sugg a:last-child .t b { font-weight: 600; }
.search-sheet .sugg .empty { padding: 22px 14px; text-align: center; color: var(--text-2); font-size: 14px; }

@media (max-width: 600px) {
  .search-sheet .search-sheet-body { padding: 10px 12px 14px; }
  .search-sheet .ss-row { gap: 8px; }
  .search-sheet .search form { height: 44px; }
  .search-sheet .ss-ic { width: 34px; flex-basis: 34px; }
  .search-sheet .search input { font-size: 16px; } /* iOS zoom bondho */
  .search-sheet .search .go { padding: 0 14px; }
  .search-sheet .search .go .ss-go-t { display: none; }
  .search-sheet .sugg a { gap: 10px; padding: 8px 12px; font-size: 13px; }
  .search-sheet .sugg img { width: 38px; height: 38px; flex-basis: 38px; }
}
.search-sheet .ss-row { align-items: flex-start; }
.search-sheet .ss-row .search { flex: 1 1 auto; width: 100%; max-width: none; }
.search-sheet .ss-cancel { height: 46px; }
.search-sheet .search .go .ss-go-t { font-weight: 600; }
@media (max-width: 600px) { .search-sheet .ss-cancel { height: 44px; } }
.search-sheet .search-sheet-body { width: 100%; box-sizing: border-box; }

/* Consistent 30px side space for content across the storefront. */
body .wrap, body.storefront-home .wrap, body.product-page .wrap { padding-left: max(30px, env(safe-area-inset-left)); padding-right: max(30px, env(safe-area-inset-right)); }
body .mhead, body.storefront-home .mhead { padding-left: max(30px, env(safe-area-inset-left)); padding-right: max(30px, env(safe-area-inset-right)); }
body.checkout-page #app { padding-left: max(30px, env(safe-area-inset-left)); padding-right: max(30px, env(safe-area-inset-right)); }
@media (max-width: 600px) {
  body.cat-page .cat-bar { flex-wrap: wrap; }
  body.cat-page .cat-per { margin-left: 0; }
}

/* Our Brands: equal cards, larger logo stage, tidy carousel controls. */
.storefront-home #brands-band .section-heading { align-items: center; margin-bottom: 14px; }
.storefront-home #brands-band .section-heading h2 { font-weight: 700; }
.storefront-home #brands-band .section-heading a { font-weight: 600; text-decoration: none; }
.storefront-home #brands-band .section-heading a:hover { text-decoration: underline; }
.storefront-home #brands .track { grid-auto-columns: calc((100% - 3 * 12px) / 4); gap: 12px; padding: 2px 1px 6px; }
.storefront-home #brands .blogo { height: 146px; min-height: 146px; padding: 12px; gap: 8px; border: 1px solid #e5e7eb; border-radius: 10px; background: #fff; text-align: center; }
.storefront-home #brands .blogo .dotb:has(img) { width: 100%; height: 88px; padding: 8px; border-radius: 7px; background: #f8f9fa !important; }
.storefront-home #brands .blogo .dotb img { object-fit: contain; }
.storefront-home #brands .blogo b { font-size: 13px; line-height: 1.25; font-weight: 700; color: var(--ink); }
@media (hover: hover) { .storefront-home #brands .blogo:hover { border-color: var(--primary); transform: translateY(-2px); } }
@media (min-width: 769px) { .storefront-home #brands .nav { display: none; } }
@media (max-width: 768px) {
  .storefront-home #brands .track { grid-auto-columns: calc((100% - 12px) / 2.25); }
  .storefront-home #brands .blogo { height: 126px; min-height: 126px; padding: 9px; }
  .storefront-home #brands .blogo .dotb:has(img) { height: 72px; padding: 5px; }
  .storefront-home #brands .nav { display: flex; width: 32px; height: 32px; top: 38%; border-radius: 50%; background: #fff; border: 1px solid #e5e7eb; box-shadow: 0 2px 8px rgba(15,23,42,.1); }
  .storefront-home #brands .nav.l { left: -15px; }
  .storefront-home #brands .nav.r { right: -15px; }
}
@media (max-width: 600px) {
  body.storefront-home #brands-band .section-heading { display: grid; grid-template-columns: 1fr auto 1fr; text-align: center; }
  body.storefront-home #brands-band .section-heading h2 { grid-column: 2; }
  body.storefront-home #brands-band .section-heading a { grid-column: 3; justify-self: end; }
  body.storefront-home #brands .track { grid-auto-columns: calc((100% - 10px) / 2.2); gap: 10px; }
  body.storefront-home #brands .blogo { height: 118px; min-height: 118px; }
  body.storefront-home #brands .blogo .dotb:has(img) { height: 67px; }
}

/* =====================================================================
   Home: Just For You (professional header, sort tabs, progress footer)
   ===================================================================== */
.jfy-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.jfy-intro { min-width: 0; }
.jfy-eyebrow { display: inline-block; margin-bottom: 6px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); }
.jfy-intro h2 { margin: 0; font-size: 24px; font-weight: 700; line-height: 1.2; color: var(--ink); letter-spacing: -.01em; }
.jfy-intro p { margin: 4px 0 0; font-size: 14px; color: var(--text-2); }
.jfy-all { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border: 1px solid var(--border); border-radius: var(--r-sm); font-size: 13px; font-weight: 600; color: var(--ink); text-decoration: none; transition: border-color 150ms, color 150ms; }
.jfy-all:hover { border-color: var(--primary); color: var(--primary); }
.jfy-all span { transition: transform 150ms; }
.jfy-all:hover span { transform: translateX(3px); }

.jfy-tabs { display: flex; gap: 6px; margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.jfy-tabs::-webkit-scrollbar { display: none; }
.jfy-tabs button { flex: 0 0 auto; height: 34px; padding: 0 16px; border: 1px solid var(--border); border-radius: 999px; background: #fff; color: #4b5563; font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; transition: background 150ms, color 150ms, border-color 150ms; }
.jfy-tabs button:hover { border-color: #c3c7cc; color: var(--ink); }
.jfy-tabs button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.jfy-tabs button:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.jfy-foot { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 24px; }
.jfy-foot[hidden] { display: none; }
.jfy-count { margin: 0; font-size: 13px; color: var(--text-2); }
.jfy-progress { width: 220px; max-width: 70%; height: 3px; border-radius: 3px; background: #eceef0; overflow: hidden; }
.jfy-progress span { display: block; height: 100%; width: 0; background: var(--primary); border-radius: 3px; transition: width 400ms ease; }
.jfy-more { min-width: 220px; height: 42px; margin-top: 4px; font-weight: 600; }
.jfy-more[hidden], .jfy-done[hidden] { display: none; }
.jfy-done { font-size: 13px; color: var(--primary); text-decoration: none; }
.jfy-done:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .jfy-head { align-items: flex-start; }
  .jfy-intro h2 { font-size: 20px; }
  .jfy-intro p { font-size: 13px; }
  .jfy-all { height: 32px; padding: 0 10px; font-size: 12px; }
  .jfy-tabs { margin-left: -12px; margin-right: -12px; padding-left: 12px; padding-right: 12px; }
  .jfy-tabs button { height: 32px; padding: 0 14px; }
  .jfy-more { width: 100%; }
}

/* Page background colour */
:root { --page: #FBF9F5; }
html, html body, html body.product-page, html body.checkout-page, html body.cat-page, html body.storefront-home { background: #FBF9F5; }

/* Home page: one subtle corner radius across content surfaces. */
.storefront-home .slider,
.storefront-home .card:not(.sk),
.storefront-home #cats .ctile .im,
.storefront-home #brands .blogo,
.storefront-home #brands .blogo .dotb:has(img),
.storefront-home .trust,
.storefront-home .trust > div,
.storefront-home .btn,
.storefront-home .morebar .btn { border-radius: 6px; }
.storefront-home .card .im { border-radius: 4px; }
.storefront-home #cats .ctile .ph { border-radius: 5px; }
@media (max-width: 600px) {
  body.storefront-home #cats .ctile .im,
  body.storefront-home #brands .blogo { border-radius: 6px; }
}

/* Dedicated My Account page. */
.account-page #app { max-width: 1080px; padding-top: 26px; padding-bottom: 48px; }
.account-head { margin-bottom: 24px; }
.account-head h1 { margin: 0 0 6px; color: var(--ink); font-size: 26px; line-height: 1.25; }
.account-head p { margin: 0; color: var(--text-2); font-size: 14px; }
.account-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.account-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 22px; border: 1px solid var(--border); border-radius: 8px; background: #fff; }
.account-card-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 14px; border-radius: 8px; background: color-mix(in srgb, var(--primary) 10%, #fff); color: var(--primary); font-size: 21px; }
.account-card h2 { margin: 0 0 7px; font-size: 18px; line-height: 1.3; color: var(--ink); }
.account-card p { margin: 0 0 18px; color: var(--text-2); line-height: 1.55; font-size: 13px; }
.account-card .btn { margin-top: auto; min-height: 38px; padding: 8px 16px; }
.account-links { margin-top: 30px; }
.account-links h2 { margin: 0 0 14px; font-size: 18px; color: var(--ink); }
.account-link-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.account-link-grid a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 46px; padding: 10px 14px; border: 1px solid var(--border); border-radius: 6px; background: #fff; color: var(--ink); font-size: 13px; }
.account-link-grid a:hover, .account-link-grid a:focus-visible { border-color: var(--primary); color: var(--primary); }
@media (max-width: 600px) {
  .account-page #app { padding-top: 18px; padding-bottom: 36px; }
  .account-head { margin-bottom: 18px; }
  .account-head h1 { font-size: 22px; }
  .account-head p { font-size: 12px; }
  .account-grid, .account-link-grid { grid-template-columns: 1fr; gap: 10px; }
  .account-card { padding: 16px; }
  .account-card h2 { font-size: 16px; }
  .account-links { margin-top: 24px; }
}

/* =====================================================================
   Compact action buttons: box choto, text box prai bhore
   (Add To Cart, Select Options, Buy now, product page actions)
   ===================================================================== */
html body .card .acts2 { gap: 6px; }
html body .card .acts2 .btn,
html body.cat-page .grid > .card .acts2 .btn {
  height: 30px; min-height: 0; padding: 0 6px; gap: 5px;
  font-size: 14px; font-weight: 700; line-height: 1; letter-spacing: -.01em;
  border-radius: 4px; border-width: 1.5px;
}
html body .card .acts2 .btn .ic { font-size: 13px; width: 13px; height: 13px; flex: 0 0 auto; }

html body.product-page .product-actions [data-act="add"],
html body.product-page .product-actions [data-act="buy"] {
  height: 32px; min-height: 0; padding: 0 10px; gap: 6px;
  font-size: 13px; font-weight: 700; line-height: 1; letter-spacing: 0;
  border-radius: 4px;
}
html body.product-page .product-contact .whatsapp,
html body.product-page .product-contact .contact-order {
  height: 30px; min-height: 0; padding: 0 10px; gap: 6px;
  font-size: 12.5px; font-weight: 700; line-height: 1;
  border-radius: 4px;
}
html body.product-page .product-actions .ic,
html body.product-page .product-contact .ic { font-size: 13px; width: 13px; height: 13px; }

@media (max-width: 768px) {
  html body .card .acts2 .btn,
  html body.cat-page .grid > .card .acts2 .btn { height: 30px; font-size: 13px; padding: 0 4px; gap: 4px; }
  html body .card .acts2 .btn .ic { font-size: 12px; width: 12px; height: 12px; }
}

/* Single product page background. */
html body.product-page { background-color: #F9F9F9; }

/* Compact action buttons: Home page (storefront-home rules override kore) */
html body.storefront-home .card .acts2 { gap: 6px; }
html body.storefront-home .card .acts2 .btn {
  height: 30px; min-height: 0; padding: 0 6px; gap: 5px;
  font-size: 14px; font-weight: 700; line-height: 1; letter-spacing: -.01em; border-radius: 4px;
}
html body.storefront-home .card .acts2 .btn .ic { font-size: 13px; width: 13px; height: 13px; }
html body.storefront-home .slider .sl .btn { height: 34px; min-height: 0; padding: 0 16px; font-size: 15px; font-weight: 700; line-height: 1; border-radius: 4px; }
html body.storefront-home .jfy-tabs button { height: 30px; padding: 0 14px; font-size: 14px; font-weight: 600; line-height: 1; }
html body.storefront-home .jfy-all { height: 30px; padding: 0 12px; font-size: 14px; font-weight: 700; line-height: 1; border-radius: 4px; }
html body.storefront-home .jfy-more { height: 34px; min-height: 0; padding: 0 18px; font-size: 15px; font-weight: 700; line-height: 1; border-radius: 4px; }
@media (max-width: 768px) {
  html body.storefront-home .card .acts2 .btn { height: 30px; padding: 0 4px; gap: 4px; font-size: 13px; }
  html body.storefront-home .card .acts2 .btn .ic { font-size: 12px; width: 12px; height: 12px; }
  html body.storefront-home .slider .sl .btn { height: 30px; padding: 0 12px; font-size: 14px; }
  html body.storefront-home .jfy-tabs button { height: 30px; padding: 0 12px; font-size: 13px; }
  html body.storefront-home .jfy-all { height: 28px; padding: 0 10px; font-size: 13px; }
}

/* Compact menu sidebar with a gentle spring on entry. */
.drawer.left.mdrawer { width: min(280px, 86vw); padding: 12px; transform: translateX(-105%); transition: transform 260ms cubic-bezier(.4, 0, 1, 1); }
.drawer.left.mdrawer.on { transform: translateX(0); transition: transform 400ms cubic-bezier(.34, 1.38, .64, 1); }
.mdrawer .mclose { top: 17px; right: 17px; width: 30px; height: 30px; border: 0; border-radius: 6px; background: rgba(255,255,255,.2); color: #fff; }
.mdrawer .mclose .ic { font-size: 15px; }
.mdrawer .mclose:hover { background: rgba(255,255,255,.34); }
.mdrawer .mhello { min-height: 70px; padding: 12px; padding-right: 44px; gap: 10px; margin-bottom: 12px; border-radius: 7px; }
.mdrawer .mhello .mav { width: 40px; height: 40px; }
.mdrawer .mhello .mav .ic { font-size: 19px; }
.mdrawer .mhello b { font-size: 14px; }
.mdrawer .mhello small { font-size: 11px; line-height: 1.3; }
.mdrawer .mpanel { padding: 3px 12px; border-radius: 7px; }
.mdrawer .mrow { min-height: 42px; padding: 9px 0; gap: 8px; font-size: 13px; line-height: 1.3; }
.mdrawer .mrow .mi, .mdrawer .mrow .ic { font-size: 14px; }
.mdrawer .msub { padding-left: 12px; }
.mdrawer .msub .mrow { min-height: 38px; padding: 7px 0; font-size: 12px; }
.mdrawer .mhead2 { font-size: 13px; margin: 16px 0 9px; padding-bottom: 6px; }
@media (prefers-reduced-motion: reduce) { .drawer.left.mdrawer, .drawer.left.mdrawer.on { transition-duration: .01ms !important; } }

/* Keep the checkout action visible above the mobile navigation. */
@media (max-width: 768px) {
  body.checkout-page #app { padding-bottom: calc(160px + env(safe-area-inset-bottom)); }
  body.checkout-page #place {
    position: fixed;
    left: 50%;
    bottom: calc(70px + env(safe-area-inset-bottom));
    z-index: 70;
    transform: translateX(-50%);
    width: calc(100vw - 60px);
    max-width: 700px;
    height: 40px;
    min-height: 40px;
    margin: 0;
    padding: 0 14px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.2;
    box-shadow: 0 5px 16px rgba(20, 24, 32, .18);
  }
}
/* A transformed ancestor would make the floating order button scroll with the summary. */
body.checkout-page .checkout, body.checkout-page .co-sum-panel { animation: none !important; transform: none !important; }
@media (max-width: 360px) { body.checkout-page .co-zones { grid-template-columns: 1fr; } }

/* =====================================================================
   My Account: orders, timeline, saved address
   ===================================================================== */
.acct-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.acct-who { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--text-2); }
.acct-who[hidden] { display: none; }
.acct-who span { display: inline-flex; align-items: center; gap: 6px; }
.acct-link { border: 0; background: none; padding: 0; color: var(--primary); font: inherit; font-weight: 600; cursor: pointer; }
.acct-link:hover { text-decoration: underline; }

.acct-sec { background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 18px; margin-bottom: 16px; }
.acct-sec-head h2 { margin: 0 0 14px; font-size: 18px; font-weight: 700; color: var(--ink); }
.acct-loading { padding: 24px 0; color: var(--text-2); font-size: 14px; }

/* locked state */
.acct-lock { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 24px; align-items: start; }
.acct-lock-txt > b { display: block; font-size: 15px; color: var(--ink); margin-bottom: 6px; }
.acct-lock-txt p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--text-2); }
.acct-lock-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; }
.acct-lock-form .field { margin: 0; }
.acct-lock-form .btn { height: 42px; font-size: 14px; font-weight: 700; }
.acct-lock-form .err { grid-column: 1 / -1; margin: 0; }
.acct-lock-form .err:empty { display: none; }

/* stats + tabs */
.acct-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.acct-stats > div { border: 1px solid var(--border); border-radius: 6px; padding: 10px 12px; background: #fff; }
.acct-stats small { display: block; font-size: 12px; color: var(--text-2); margin-bottom: 2px; }
.acct-stats b { font-size: 20px; color: var(--ink); }
.acct-stats .warn { border-color: #f5d28a; background: #fffaf0; }
.acct-stats .warn b { color: #b45309; }
.acct-tabs { display: flex; gap: 6px; margin-bottom: 12px; overflow-x: auto; scrollbar-width: none; }
.acct-tabs button { flex: 0 0 auto; height: 30px; padding: 0 12px; border: 1px solid var(--border); border-radius: 999px; background: #fff; font: inherit; font-size: 13px; font-weight: 600; color: #4b5563; cursor: pointer; }
.acct-tabs button em { font-style: normal; font-weight: 500; color: #9aa0a6; margin-left: 2px; }
.acct-tabs button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.acct-tabs button.on em { color: #d1d5db; }

/* order card */
.acct-list { display: grid; gap: 10px; }
.acct-order { border: 1px solid var(--border); border-radius: 6px; background: #fff; }
.acct-order[open] { border-color: #cfd3d8; }
.acct-order summary { display: flex; align-items: center; gap: 12px; padding: 10px 12px; cursor: pointer; list-style: none; }
.acct-order summary::-webkit-details-marker { display: none; }
.acct-o-img { width: 48px; height: 48px; flex: 0 0 48px; border: 1px solid var(--border); border-radius: 4px; overflow: hidden; display: grid; place-items: center; color: var(--text-2); background: #fff; }
.acct-o-img img { width: 100%; height: 100%; object-fit: cover; }
.acct-o-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.acct-o-main b { font-size: 14px; letter-spacing: .02em; color: var(--ink); }
.acct-o-main small { font-size: 12px; color: var(--text-2); }
.acct-o-status { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.acct-o-status b { font-size: 14px; color: var(--ink); }
.acct-o-status .badge { font-size: 11px; }
.acct-o-chev { color: var(--text-2); transition: transform 200ms; }
.acct-order[open] .acct-o-chev { transform: rotate(180deg); }
.acct-o-body { border-top: 1px solid var(--border); padding: 14px 12px; }
.acct-order.is-ended summary { opacity: .75; }

/* timeline */
.acct-tl { display: flex; margin: 0 0 16px; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.acct-tl li { position: relative; flex: 1 0 96px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; padding: 0 4px; }
.acct-tl li::before { content: ""; position: absolute; top: 7px; left: -50%; width: 100%; height: 2px; background: #e5e7eb; z-index: 0; }
.acct-tl li:first-child::before { display: none; }
.acct-tl li.done::before, .acct-tl li.cur::before { background: var(--primary); }
.acct-tl i { position: relative; z-index: 1; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid #d1d5db; }
.acct-tl li.done i { background: var(--primary); border-color: var(--primary); }
.acct-tl li.cur i { border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 18%, transparent); }
.acct-tl b { font-size: 12px; font-weight: 600; color: #9aa0a6; line-height: 1.25; }
.acct-tl li.done b, .acct-tl li.cur b { color: var(--ink); }
.acct-tl small { font-size: 11px; color: var(--text-2); }
.acct-ended { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 10px 12px; border-radius: 4px; background: #fef2f2; color: #991b1b; font-size: 13px; }

.acct-o-cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; }
.acct-o-items { display: grid; gap: 8px; align-content: start; }
.acct-item { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.acct-item img { width: 44px; height: 44px; flex: 0 0 44px; object-fit: cover; border: 1px solid var(--border); border-radius: 4px; }
.acct-item span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.acct-item b { font-size: 13px; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.acct-item small { font-size: 12px; color: var(--text-2); }
.acct-item em { font-style: normal; font-weight: 700; font-size: 13px; }
.acct-item:hover b { color: var(--primary); }
.acct-o-money { border-left: 1px solid var(--border); padding-left: 18px; }
.acct-o-money .sumrow { font-size: 13px; }
.acct-pay { display: inline-flex; margin-bottom: 8px; }
.acct-o-act { display: flex; gap: 8px; margin-top: 12px; }
.acct-o-act .btn { flex: 1; height: 32px; font-size: 13px; font-weight: 700; padding: 0 8px; }
.acct-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 26px 0; color: var(--text-2); }

/* grid: address + side */
.acct-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; }
.acct-side { display: grid; gap: 16px; }
.acct-form { display: grid; gap: 10px; margin-top: 12px; }
.acct-form .field { margin: 0; }
.acct-zone { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.acct-zone label { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border: 1px solid var(--border); border-radius: 4px; cursor: pointer; font-size: 14px; }
.acct-zone label:has(input:checked) { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 6%, #fff); color: var(--primary); font-weight: 600; }
.acct-zone input { accent-color: var(--primary); }
.acct-form-act { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.acct-form-act .btn { height: 34px; font-size: 14px; font-weight: 700; padding: 0 16px; }
.acct-saved { font-size: 13px; color: var(--ok, #15803d); font-weight: 600; }

@media (max-width: 860px) {
  .acct-lock { grid-template-columns: 1fr; gap: 12px; }
  .acct-lock-form { grid-template-columns: 1fr; }
  .acct-lock-form .btn { width: 100%; }
  .acct-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .acct-o-cols { grid-template-columns: 1fr; }
  .acct-o-money { border-left: 0; padding-left: 0; border-top: 1px solid var(--border); padding-top: 12px; }
  .acct-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .acct-sec { padding: 14px 12px; }
  .acct-order summary { gap: 10px; padding: 10px; }
  .acct-o-img { width: 42px; height: 42px; flex-basis: 42px; }
  .acct-o-chev { display: none; }
  .acct-tl li { flex-basis: 84px; }
}
.acct-form .field input, .acct-form .field textarea { width: 100%; box-sizing: border-box; }
.acct-lock-form .field input { width: 100%; box-sizing: border-box; height: 42px; }
.acct-list > *, .acct-order, .acct-o-body, .acct-o-cols > * { min-width: 0; }
.acct-order { overflow: hidden; }
.acct-sec { min-width: 0; overflow: hidden; }
.acct-form .field input, .acct-form .field textarea, .acct-lock-form .field input { max-width: none; }

/* =====================================================================
   Layout stability: header JS ashar agei tar jayga rakha (CLS fix),
   default brand color (rong er jhilik bondho)
   ===================================================================== */
:root { --primary: #FE5759; --accent: #FE5759; --primary-h: #E8464A; }
#hdr { min-height: 54px; }
@media (min-width: 769px) { #hdr { min-height: 62px; } }
/* skeleton card asol card er shoman lomba (lekha + button er jayga), jate card ashle page na shore */
.grid > .card.sk > .l:last-child { margin-bottom: 90px; }
.top-grid > .card.sk > .l:last-child { margin-bottom: 124px; }
@media (min-width: 769px) { .grid > .card.sk > .l:last-child { margin-bottom: 112px; } .top-grid > .card.sk > .l:last-child { margin-bottom: 122px; } }
/* category section: data ashar agei tar jayga */
#cats:empty { min-height: 116px; }
@media (min-width: 769px) { #cats:empty { min-height: 193px; } }
/* footer shuru thekei screen er baire: content ashle footer shore gele seta CLS e gona hoy na */
main#app { min-height: 100vh; min-height: 100svh; }
/* JS e boshano prothom element er margin #app er baire "collapse" hoye puro page shoray; flow-root diye bhetore rakhi */
main#app { display: flow-root; }
/* account: My Orders er box data ashar agei jayga rakhe */
#acct-orders:empty { min-height: 300px; }
@media (min-width: 861px) { #acct-orders:empty { min-height: 92px; } }
/* category/shop: title + breadcrumb ashar agei tar jayga */
.cat-page #top { display: flow-root; }
.cat-page #top:empty { min-height: 53px; }
@media (min-width: 769px) { .cat-page #top:empty { min-height: 74px; } }

/* =====================================================================
   Header v2 (professional): utility strip + main bar (logo, search,
   account/wishlist/cart with labels) + category nav. Mobile: compact
   bar + full-width search.
   ===================================================================== */
#hdr { position: sticky; top: -34px; z-index: 50; }
.hdr.hx { position: static; background: #fff; border-bottom: 1px solid var(--border); box-shadow: none; backdrop-filter: none; }
.hx .wrap { max-width: var(--wrap); }

/* utility strip */
.hx-top { background: #1f2329; color: #c9ced6; font-size: 12.5px; }
.hx-top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 34px; }
.hx-note { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-note .ic { color: var(--primary); font-size: 13px; }
.hx-util { display: flex; align-items: center; gap: 2px; }
.hx-util a { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px; color: #c9ced6; text-decoration: none; transition: color 150ms; }
.hx-util a + a { border-left: 1px solid #3a3f47; }
.hx-util a:hover { color: #fff; }
.hx-util .ic { font-size: 12px; }

/* main bar */
.hx-main-in { display: flex; align-items: center; gap: 24px; height: 72px; }
.hx-logo { flex: 0 0 auto; display: flex; align-items: center; }
.hx .hx-logo .logo-img { height: 40px; width: auto; max-width: 170px; object-fit: contain; }
.hx-ico { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 6px; background: transparent; color: var(--ink); cursor: pointer; font-size: 20px; }
.hx-ico:hover { background: #f3f4f6; }
.hx-menu { display: none; }
.hx-msearch { display: none; }

.hx-search { flex: 1; min-width: 0; max-width: 640px; position: relative; }
.hx .hx-search form { display: flex; align-items: center; height: 46px; padding: 0; gap: 0; border: 1.5px solid #d5d8dc; border-radius: 8px; background: #fff; overflow: hidden; box-shadow: none; transition: border-color 150ms, box-shadow 150ms; }
.hx .hx-search form:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 14%, transparent); }
.hx-sic { display: grid; place-items: center; width: 42px; flex: 0 0 42px; color: #8a9099; }
.hx .hx-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; padding: 0 8px 0 0; background: transparent; font: inherit; font-size: 15px; color: var(--ink); }
.hx .hx-search input::placeholder { color: #9aa0a6; }
.hx-go { height: 100%; padding: 0 22px; border: 0; background: var(--primary); color: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: filter 150ms; }
.hx-go:hover { filter: brightness(.94); }
.hx-search .sugg { top: calc(100% + 6px); border-radius: 8px; box-shadow: 0 12px 30px rgba(15, 23, 42, .12); }

.hx-acts { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.hx-act { position: relative; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: var(--ink); text-decoration: none; font: inherit; cursor: pointer; transition: background 150ms; }
.hx-act:hover { background: #f5f6f7; }
.hx-act > .ic { font-size: 22px; }
.hx-lbl { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.hx-lbl small { font-size: 11.5px; color: #6b7280; }
.hx-lbl b { font-size: 14px; font-weight: 700; white-space: nowrap; }
.hx-badge { position: absolute; top: 4px; left: 24px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--primary); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.hx-badge:empty { display: none; }
.hx-cart { background: #fff5f5; }
.hx-cart:hover { background: #ffeaea; }
.hx-cart .hx-lbl b { color: var(--primary); }

/* category nav */
.hx-nav { border-top: 1px solid var(--border); }
.hx-nav-in { display: flex; align-items: center; gap: 4px; height: 44px; overflow-x: auto; scrollbar-width: none; }
.hx-nav-in::-webkit-scrollbar { display: none; }
.hx-nav a, .hx-all { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; color: #374151; font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; border: 0; background: none; font-family: inherit; cursor: pointer; position: relative; }
.hx-nav a:hover { color: var(--primary); }
.hx-nav a.on { color: var(--primary); font-weight: 600; }
.hx-nav a.on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; border-radius: 2px; background: var(--primary); }
.hx-all { margin-right: 6px; padding: 0 14px; height: 32px; border-radius: 6px; background: var(--ink); color: #fff; font-weight: 600; }
.hx-all:hover { background: #33393f; }
.hx-nav-end { margin-left: auto; color: #6b7280 !important; font-size: 13px !important; }
.hx-msearch-row { display: none; }

/* tablet */
@media (max-width: 1100px) {
  .hx-wish .hx-lbl, .hx-acc .hx-lbl { display: none; }
  .hx-main-in { gap: 16px; }
}
/* mobile */
@media (max-width: 768px) {
  #hdr { top: -54px; }
  .hx-top, .hx-nav, .hx-search { display: none; }
  .hx-main-in { height: 54px; gap: 4px; }
  .hx-menu { display: grid; margin-left: -8px; }
  .hx .hx-logo .logo-img { height: 30px; max-width: 130px; }
  .hx-acts { gap: 0; }
  .hx-act { height: 40px; padding: 0 8px; background: transparent !important; }
  .hx-act .hx-lbl, .hx-wish { display: none; }
  .hx-act > .ic { font-size: 21px; }
  .hx-badge { top: 2px; left: 22px; }
  .hx-msearch-row { display: block; padding: 0 0 10px; }
  .hx-fake { display: flex; align-items: center; gap: 10px; width: 100%; height: 40px; padding: 0 12px; border: 1px solid #d5d8dc; border-radius: 8px; background: #f7f7f8; color: #8a9099; font: inherit; font-size: 14px; text-align: left; cursor: text; }
  .hx-fake span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
}
/* notun header er uchchota: JS asar agei jayga rakhi (layout shift bondho) */
#hdr { min-height: 105px; }
@media (min-width: 769px) { #hdr { min-height: 152px; } }

/* =====================================================================
   Mobile sticky cart bar (bottom nav er upore, cart e item thakle)
   ===================================================================== */
@media (max-width: 768px) {
  /* WhatsApp ar upore-jao button: shob page e ekoi jayga, ekta arekta-r upore */
  html body .fab.wa { bottom: calc(var(--bnav-h, 63px) + 14px); right: 14px; }
  html body .fab.top { bottom: calc(var(--bnav-h, 63px) + 70px); right: 16px; }
  html body .fab { transition: transform 250ms ease; }
}

/* Mobile header: search bar nei, logo majhkhane (bame menu+search icon, dane account+cart) */
.hx-mleft { display: contents; }
@media (max-width: 768px) {
  #hdr { top: 0; min-height: 55px; }
  .hx-msearch-row { display: none !important; }
  .hx-main-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0; height: 54px; }
  .hx-mleft { display: flex; align-items: center; gap: 0; margin-left: -8px; justify-self: start; }
  .hx-mleft .hx-menu, .hx-mleft .hx-msearch { display: grid; margin: 0; }
  .hx-logo { justify-self: center; }
  .hx-acts { justify-self: end; margin-left: 0; margin-right: -8px; }
}

/* Checkout and product page side spacing. */
body.checkout-page #app { padding-left: 20px; padding-right: 20px; }
body.product-page main.wrap#app { max-width: none; padding-left: 20px; padding-right: 20px; }

/* =====================================================================
   Page side gap: Home 30px, baki shob page 22px (header, content, footer)
   ===================================================================== */
html body:not(.storefront-home) .wrap, html body main#app#app.wrap { padding-left: max(22px, env(safe-area-inset-left)); padding-right: max(22px, env(safe-area-inset-right)); }
html body.storefront-home .wrap, html body.storefront-home main#app#app.wrap { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
@media (max-width: 768px) {
  html body.storefront-home .jfy-tabs { margin-left: -20px; margin-right: -20px; padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 768px) {
  html body.cat-page .cat-bar { flex-wrap: nowrap; gap: 6px; }
  html body.cat-page .cat-sel { min-width: 0; }
  html body.cat-page .cat-sel:not(.cat-per) { flex: 1 1 auto; }
  html body.cat-page .cat-sel select { width: 100%; min-width: 0; max-width: none; }
  html body.cat-page .cat-per { flex: 0 0 auto; margin-left: 0; }
  html body.cat-page .cat-per select { width: 96px; }
  html body.cat-page .cat-fbtn { flex: 0 0 auto; padding: 0 10px; }
}
@media (max-width: 480px) {
  html body.cat-page .cat-per { display: none; }
}

/* Clean product cards: square images, compact prices and one clear action. */
html body .grid > .card.clean-product-card,
html body .top-grid > .card.clean-product-card {
  position: relative; padding: 12px; border: 0; border-radius: 9px;
  background: #fff; box-shadow: none; overflow: hidden; min-width: 0;
}
html body .card.clean-product-card .im { aspect-ratio: 1; border-radius: 5px; background: #fff; overflow: hidden; }
html body .card.clean-product-card .im img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
html body .card.clean-product-card .bd { padding: 12px 0 0; gap: 8px; }
html body .card.clean-product-card .ttl { font-size: 14px; line-height: 1.45; font-weight: 600; height: 2.9em; min-height: 2.9em; color: #252d38; }
html body .card.clean-product-card .pr { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin: 0; font-size: 15px; font-weight: 700; line-height: 1.5; color: var(--primary); }
html body .card.clean-product-card .pr del { font-size: 12px; font-weight: 400; color: #7a7f83; }
html body .card.clean-product-card .pr small { font-size: 10px; font-weight: 400; }
html body .card.clean-product-card .save { position: static; display: inline-block; margin: 0; padding: 2px 5px; border-radius: 4px; background: #d4ed69; color: #243000; font-size: 9px; line-height: 1.4; font-weight: 500; white-space: nowrap; }
html body .card.clean-product-card .rib { display: flex; align-items: center; gap: 3px; position: absolute; left: auto; top: 0; right: 0; z-index: 3; padding: 4px 8px; border-radius: 0 8px 0 5px; background: var(--primary); color: #fff; font-size: 11px; font-weight: 600; line-height: 1.4; }
html body .card.clean-product-card .rib .ic { width: 12px; height: 12px; font-size: 12px; }
html body .card.clean-product-card .heart { top: 34px; right: 10px; width: 28px; height: 28px; background: #ffffffde; box-shadow: none; }
html body .card.clean-product-card .heart .ic { font-size: 14px; }
html body .card.clean-product-card .meta { display: none; }
html body .card.clean-product-card .acts2 { padding: 12px 0 0; margin-top: auto; display: flex; }
html body .card.clean-product-card .acts2 .btn { width: 100%; height: 34px; min-height: 34px; padding: 0 6px; border: 1px solid var(--primary); border-radius: 6px; font-size: 12px; font-weight: 500; color: var(--primary); background: #fff; }
html body .card.clean-product-card .acts2 .btn:hover { background: var(--primary); color: #fff; }
.product-saving { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 12px; font-size: 13px; }
.product-saving del { color: #7a7f83; }
.product-saving span { background: #e5f4b0; color: #314200; padding: 3px 8px; border-radius: 4px; }
@media (max-width: 600px) {
  html body .grid, html body .top-grid { gap: 12px; }
  html body .grid > .card.clean-product-card, html body .top-grid > .card.clean-product-card { padding: 10px; }
  html body .card.clean-product-card .ttl { font-size: 13px; }
  html body .card.clean-product-card .pr { font-size: 14px; gap: 4px; }
  html body .card.clean-product-card .pr del { font-size: 11px; }
  html body .card.clean-product-card .rib { font-size: 10px; padding: 4px 6px; }
}

/* =====================================================================
   Our Brands: clean logo slider (heading underline, logo-only cards, dots)
   ===================================================================== */
.bsl-head { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; margin-bottom: 18px; border-bottom: 1px solid var(--border); }
.bsl-head::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 44px; height: 3px; border-radius: 2px; background: var(--primary); }
.bsl-head h2 { margin: 0; font-size: 20px; font-weight: 600; color: var(--ink); }
.bsl-head a { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--primary); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.bsl-head a span { text-decoration: none; display: inline-block; font-size: 16px; transition: transform 150ms; }
.bsl-head a:hover span { transform: translateX(3px); }

.bsl-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 14px) / 4); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.bsl-track::-webkit-scrollbar { display: none; }
.bsl-card { scroll-snap-align: start; display: grid; place-items: center; aspect-ratio: 2.1 / 1; padding: 14px 18px; background: #fff; border: 1px solid #ececec; border-radius: 10px; text-decoration: none; transition: border-color 150ms, box-shadow 150ms; }
.bsl-card:hover { border-color: #dcdcdc; box-shadow: 0 6px 18px rgba(15, 23, 42, .06); }
.bsl-card img { max-width: 78%; max-height: 72%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.bsl-name { font-size: 18px; font-weight: 700; color: var(--ink); text-align: center; }

.bsl-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.bsl-dots[hidden] { display: none; }
.bsl-dots button { width: 9px; height: 9px; padding: 0; border: 1.5px solid var(--primary); border-radius: 50%; background: transparent; cursor: pointer; transition: background 150ms, transform 150ms; }
.bsl-dots button.on { background: var(--primary); }
.bsl-dots button:hover { transform: scale(1.15); }

@media (max-width: 768px) {
  .bsl-head h2 { font-size: 18px; }
  .bsl-track { grid-auto-columns: calc((100% - 12px) / 2); gap: 12px; }
  .bsl-card { padding: 10px 12px; border-radius: 10px; }
  .bsl-dots { margin-top: 14px; }
}
/* shob brand card ekoi uchchota: logo card er bhetore absolute, card er mape fit */
.bsl-card { position: relative; overflow: hidden; align-self: start; }
.bsl-card img { position: absolute; inset: 0; margin: auto; max-width: 74%; max-height: 64%; }
.bsl-card img { max-width: 80%; max-height: 86%; }

/* Category collection layout matching the compact reference. */
html body.cat-page, html body.categories-page { background: #F3F4F8; }
html body.cat-page main#app { padding-left: 24px; padding-right: 24px; }
html body.cat-page .cat-head { margin: 14px 8px 12px; display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 12px; }
html body.cat-page .cat-head h1 { font-size: 16px; font-weight: 600; line-height: 1.4; min-width: 0; }
html body.cat-page .cat-head .crumbs { font-size: 12px; line-height: 1.4; margin: 0; min-width: 0; flex-wrap: wrap; justify-content: flex-end; }
html body.cat-page .cat-bar { margin: 0 3px 22px; padding: 12px; background: #fff; border: 1px solid #eeeef2; border-radius: 5px; box-shadow: none; gap: 20px; flex-wrap: nowrap; }
html body.cat-page .cat-fbtn { height: 38px; padding: 0 12px; border-radius: 2px; border-width: 1px; font-size: 12px; font-weight: 500; gap: 5px; justify-content: center; }
html body.cat-page .cat-sel { min-width: 0; }
html body.cat-page .cat-sel select { height: 38px; width: 100%; min-width: 0; max-width: none; border: 1px solid #dedee2; border-radius: 2px; padding: 0 26px 0 10px; font-size: 12px; font-weight: 400; }
html body.cat-page .cat-per { display: block; margin-left: auto; }
html body.cat-page .cat-per select { min-width: 94px; color: var(--primary); }
html body.cat-page #activef:empty { display: none; }
html body.cat-page #grid { gap: 16px; }
html body.cat-page #grid > .card.clean-product-card { padding: 8px; border: 1px solid #cccdd1; border-radius: 4px; box-shadow: none; }
html body.cat-page #grid > .card.clean-product-card .im { aspect-ratio: 1; border-radius: 0; }
html body.cat-page #grid > .card.clean-product-card .im img { padding: 0; object-fit: contain; }
html body.cat-page #grid > .card.clean-product-card .bd { padding: 10px 0 0; gap: 0; }
html body.cat-page #grid > .card.clean-product-card .ttl { font-size: 14px; font-weight: 500; line-height: 1.3; height: 2.6em; min-height: 2.6em; }
html body.cat-page #grid > .card.clean-product-card .pr { margin-top: 14px; font-size: 15px; line-height: 1.5; }
html body.cat-page #grid > .card.clean-product-card .rib,
html body.cat-page #grid > .card.clean-product-card .heart,
html body.cat-page #grid > .card.clean-product-card .save,
html body.cat-page #grid > .card.clean-product-card .pr del { display: none; }
html body.cat-page #grid > .card.clean-product-card .acts2 { padding-top: 10px; }
html body.cat-page #grid > .card.clean-product-card .acts2 .btn { height: 35px; min-height: 35px; border-radius: 3px; font-size: 12px; font-weight: 500; }
@media (max-width: 768px) {
  html body.cat-page .cat-bar { display: grid; grid-template-columns: minmax(76px, .9fr) minmax(0, 1.4fr) minmax(76px, .9fr); gap: 12px; }
  html body.cat-page .cat-per { margin-left: 0; }
  html body.cat-page .cat-per select { min-width: 0; }
  html body.cat-page #grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 400px) {
  html body.cat-page main#app { padding-left: 16px; padding-right: 16px; }
  html body.cat-page .cat-head { margin-left: 0; margin-right: 0; }
  html body.cat-page .cat-bar { margin-left: 0; margin-right: 0; padding: 9px; gap: 7px; }
  html body.cat-page .cat-fbtn { padding: 0 5px; font-size: 11px; }
  html body.cat-page .cat-sel select { padding-left: 6px; padding-right: 20px; font-size: 11px; }
  html body.cat-page #grid { gap: 12px; }
  html body.cat-page #grid > .card.clean-product-card .ttl { font-size: 13px; }
}

/* =====================================================================
   Shop by Category: soft white tiles, 3 per view on mobile, filled
   round arrows at the image's vertical centre
   ===================================================================== */
#cats-band .ctitle { text-align: center; font-size: 22px; font-weight: 600; margin: 0 0 16px; }
#cats-band .carou { --cg: 14px; --per: 7; position: relative; container-type: inline-size; padding: 0; }
#cats-band .carou .track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--per) - 1) * var(--cg)) / var(--per)); gap: var(--cg); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 2px 0 4px; margin: 0; }
#cats-band .carou .track::-webkit-scrollbar { display: none; }
#cats-band .ctile { scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 10px; width: auto; min-width: 0; padding: 0; text-decoration: none; color: var(--ink); }
#cats-band .ctile .im { position: relative; display: block; width: 100%; aspect-ratio: 1; border: 0; border-radius: 18px; background: #fff; box-shadow: none; overflow: hidden; transition: transform 200ms ease, box-shadow 200ms ease; }
#cats-band .ctile:hover .im { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(15, 23, 42, .08); }
#cats-band .ctile .im img { position: absolute; inset: 12%; width: 76%; height: 76%; object-fit: contain; mix-blend-mode: multiply; transform: none !important; }
#cats-band .ctile .im .ph { position: absolute; inset: 22%; display: grid; place-items: center; border-radius: 14px; font-size: 26px; font-weight: 700; color: #fff; }
#cats-band .ctile > span:last-child { width: 100%; font-size: 15px; font-weight: 500; line-height: 1.3; text-align: center; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#cats-band .carou .nav { position: absolute; z-index: 2; top: calc(2px + (100cqw - (var(--per) - 1) * var(--cg)) / var(--per) / 2 - 18px); width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: var(--primary); color: #fff; font-size: 15px; box-shadow: 0 4px 12px color-mix(in srgb, var(--primary) 35%, transparent); cursor: pointer; transition: opacity 150ms, transform 150ms; transform: none; }
#cats-band .carou .nav.l { left: -10px; right: auto; }
#cats-band .carou .nav.r { right: -10px; left: auto; }
#cats-band .carou .nav:hover { transform: scale(1.06); }
#cats-band .carou .nav:disabled { opacity: 0; pointer-events: none; }
#cats-band .carou .nav .ic { color: #fff; }
@media (max-width: 1100px) { #cats-band .carou { --per: 5; } }
@media (max-width: 768px) {
  #cats-band .ctitle { font-size: 20px; margin-bottom: 14px; }
  #cats-band .carou { --per: 3; --cg: 14px; }
  #cats-band .ctile .im { border-radius: 16px; }
  #cats-band .carou .nav.l { left: -8px; }
  #cats-band .carou .nav.r { right: -8px; }
}
#cats-band .ctile .im .ph { inset: 0; border-radius: 0; background: color-mix(in srgb, var(--primary) 7%, #fff) !important; color: var(--primary); font-size: 34px; font-weight: 700; }
/* notun tile er uchchota onujayi category data asar ager jayga */
#cats:empty { min-height: 160px; }
@media (min-width: 769px) { #cats:empty { min-height: 190px; } }
#cats-band .ctile .im .ph { width: 100%; height: 100%; margin: 0; }
/* category: tile er moddhe beshi jayga + mosrin scroll */
#cats-band .carou { --cg: 24px; }
@media (max-width: 1100px) { #cats-band .carou { --cg: 20px; } }
@media (max-width: 768px) { #cats-band .carou { --cg: 18px; } }
#cats-band .carou .track { scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scroll-padding-inline: 0; overscroll-behavior-x: contain; }
#cats-band .ctile { scroll-snap-align: start; scroll-snap-stop: normal; }
#cats-band .ctile .im { transition: transform 250ms cubic-bezier(.2, .7, .2, 1), box-shadow 250ms ease; }
@media (prefers-reduced-motion: reduce) { #cats-band .carou .track { scroll-behavior: auto; } }

/* =====================================================================
   Premium home (mobile-first): image banner slider with edge arrows +
   dots, refined section titles, Top Selling cards with fire ribbon
   ===================================================================== */
/* hero slider */
html body.storefront-home .herogrid { margin-top: 16px; }
html body.storefront-home .slider { border-radius: 14px; }
html body.storefront-home .slider:has(.sl.img), html body.storefront-home .slider.will-img { aspect-ratio: 3.2 / 1; height: auto; min-height: 0; }
html body.storefront-home .slider .sl.img::after { display: none; }
html body.storefront-home .slider .sl.img .in { display: none; }
html body.storefront-home .slider .sl.img img.bgimg { object-fit: cover; transform: none; }
.hsl-nav { position: absolute; top: 50%; z-index: 3; width: 32px; height: 32px; margin-top: -16px; display: grid; place-items: center; padding: 0; border: 0; background: #fff; color: var(--primary); font-size: 15px; cursor: pointer; box-shadow: 0 2px 10px rgba(15, 23, 42, .12); transition: background 150ms, color 150ms; }
.hsl-nav.l { left: 0; border-radius: 0 6px 6px 0; }
.hsl-nav.r { right: 0; border-radius: 6px 0 0 6px; }
.hsl-nav.l .ic { transform: scaleX(-1); }
.hsl-nav:hover { background: var(--primary); color: #fff; }
html body.storefront-home .slider .dots { left: 18px; bottom: 14px; gap: 7px; }
html body.storefront-home .slider .dots button { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .85); box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
html body.storefront-home .slider .dots button.on { width: 8px; background: var(--primary); }

/* section titles: reference er moto majhkhane, medium weight */
html body.storefront-home .ctitle { text-align: center; font-size: 22px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }

/* Top Selling cards */
html body.storefront-home .top-grid { gap: 14px; }
html body.storefront-home .top-grid > .card:not(.sk) { border: 0; border-radius: 14px; background: #fff; box-shadow: 0 1px 3px rgba(15, 23, 42, .05); overflow: hidden; }
html body.storefront-home .top-grid > .card .im { border-radius: 10px; background: #fff; }
html body.storefront-home .top-grid > .card .im img { object-fit: contain; }
html body.storefront-home .top-grid .card .rib { top: 0; right: 0; left: auto; display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 0 14px 0 12px; background: #ef3b3b; color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .01em; box-shadow: none; }
html body.storefront-home .top-grid .card .rib .ic { font-size: 12px; color: #fff; }

@media (max-width: 768px) {
  html body.storefront-home .slider:has(.sl.img), html body.storefront-home .slider.will-img { aspect-ratio: 1.8 / 1; }
  html body.storefront-home .slider { border-radius: 12px; }
  .hsl-nav { width: 30px; height: 30px; margin-top: -15px; font-size: 14px; }
  html body.storefront-home .ctitle { font-size: 20px; margin-bottom: 14px; }
  html body.storefront-home .top-grid { gap: 12px; }
  html body.storefront-home .top-grid > .card:not(.sk) { border-radius: 14px; padding: 8px; }
  html body.storefront-home .top-grid .card .rib { font-size: 12px; padding: 5px 9px; }
}

/* Just For You: baki product section er moto (same heading, same spacing) */
.jfy-band .jfy-progress { display: none; }
.jfy-band .jfy-foot { gap: 10px; margin-top: 18px; }
.jfy-band .jfy-count { font-size: 12.5px; color: var(--text-2); }
html body .jfy-band .jfy-more { width: auto; min-width: 200px; height: 38px; padding: 0 24px; border: 1.5px solid var(--primary); border-radius: 6px; background: #fff; color: var(--primary); font-size: 14px; font-weight: 600; }
html body .jfy-band .jfy-more:hover:not(:disabled) { background: var(--primary); color: #fff; }
@media (max-width: 768px) { html body .jfy-band .jfy-more { width: 100%; } }

/* listing: page number er bodole infinite scroll + Load more */
.cat-page .pager { display: none !important; }
.cat-page .loadstate { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 22px 0 8px; font-size: 12.5px; color: var(--text-2); text-align: center; }
html body .loadstate .load-more { min-width: 200px; height: 38px; padding: 0 24px; border: 1.5px solid var(--primary); border-radius: 6px; background: #fff; color: var(--primary); font-size: 14px; font-weight: 600; }
html body .loadstate .load-more:hover { background: var(--primary); color: #fff; }
@media (max-width: 768px) { html body .loadstate .load-more { width: 100%; } }

/* Account: mobile-number order progress lookup. */
.acct-phone-track { padding: 20px; border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; }
.acct-phone-track > p, .phone-track-note { font-size: 13px; color: var(--text-2); line-height: 1.6; }
.phone-track-form { display: flex; align-items: flex-end; gap: 12px; max-width: 560px; }
.phone-track-form .field { flex: 1; min-width: 0; margin: 0; }
.phone-track-form .btn { min-height: 42px; white-space: nowrap; }
.phone-track-list { display: grid; gap: 10px; margin-top: 14px; }
.phone-track-order { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 14px; border: 1px solid #e5e7eb; border-radius: 6px; }
.phone-track-order > div { display: grid; gap: 4px; }
.phone-track-order small { color: var(--text-2); font-size: 12px; }
.phone-track-order > small { flex-basis: 100%; }
#phone-track-results:not(:empty) { margin-top: 14px; }
@media (max-width: 480px) {
  .acct-phone-track { padding: 14px; }
  .phone-track-form { flex-direction: column; align-items: stretch; }
}

/* search: spelling thik / kachakachi result er note */
.search-note { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 10px 12px; border: 1px solid color-mix(in srgb, var(--primary) 22%, #fff); border-radius: 8px; background: color-mix(in srgb, var(--primary) 5%, #fff); color: var(--ink); font-size: 13.5px; }
.search-note[hidden] { display: none; }
.search-note .ic { color: var(--primary); }
.sugg .sugg-fix { display: flex; align-items: center; gap: 7px; padding: 9px 14px; border-bottom: 1px solid var(--border); font-size: 13px; color: var(--text-2); }
.sugg .sugg-fix b { color: var(--ink); }
.sugg .sugg-fix .ic { color: var(--primary); }

/* Right-middle sticky cart on desktop and mobile. */
html body #fcart {
  display: block !important;
  position: fixed;
  top: 50%; right: 0; bottom: auto; left: auto;
  translate: 0 -50%;
  z-index: 52;
}
@media (max-width: 768px) {
  html body #fcart { width: 58px; border-radius: 8px 0 0 8px; }
  html body #fcart .t { padding: 7px 3px; font-size: 11px; }
  html body #fcart .s { padding: 5px 2px; font-size: 11px; overflow-wrap: anywhere; }
}

/* Header logo: boro + porishkar. Logo chobir halka golapi background contrast diye sada hoy (sada header e mishe jay). */
html body .hx .hx-logo .logo-img { height: 60px; max-width: 240px; width: auto; object-fit: contain; filter: contrast(1.25); image-rendering: auto; }
@media (max-width: 768px) {
  html body .hx .hx-logo .logo-img { height: 46px; max-width: 150px; margin: -4px 0; }
}

/* Category campaign artwork keeps its full composition on every screen. */
html body.storefront-home #slider.category-artwork { aspect-ratio: 3 / 1; height: auto; min-height: 0; background: #f3ede6; }
html body.storefront-home #slider.category-artwork .sl.img::after { display: none; }
html body.storefront-home #slider.category-artwork .sl img.bgimg { width: 100%; height: 100%; object-fit: contain; opacity: 1; }
html body.storefront-home #slider.category-artwork .dots { bottom: 8px; gap: 5px; }
html body.storefront-home #slider.category-artwork .dots button { width: 7px; height: 7px; background: #ffffffd9; box-shadow: 0 0 0 1px #0002; }
html body.storefront-home #slider.category-artwork .dots button.on { background: var(--primary); }

@media (max-width: 600px) {
  html body.storefront-home #slider.category-artwork .hsl-nav {
    display: grid;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    background: rgba(255, 255, 255, .92);
    color: #242424;
    touch-action: manipulation;
  }
  html body.storefront-home #slider.category-artwork .hsl-nav:active { background: var(--primary); color: #fff; }
}
.hsl-nav:focus-visible { outline: 2px solid var(--primary); outline-offset: -3px; }

/* Optional promotion directly below Our Brands. */
.middle-banner-band[hidden] { display: none; }
.middle-banner-band a { display: block; border-radius: 12px; }
.middle-banner-band img { display: block; width: 100%; height: auto; border-radius: 12px; }
.middle-banner-band a:focus-visible { outline: 3px solid var(--primary); outline-offset: 4px; }

/* Finished brand campaign artwork includes its own typography. */
html body .brandhero.brand-campaign { padding: 0; height: auto; min-height: 0; aspect-ratio: 3 / 1; overflow: hidden; border-radius: 14px; }
html body .brandhero.brand-campaign > .bgimg { position: static; display: block; width: 100%; height: auto; object-fit: contain; opacity: 1; }
html body .brandhero.brand-campaign::after { display: none; }
html body .brandhero.brand-campaign > .in { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Footer: compact spacing and clear link groups. */
html body .ftr {
  margin-top: 16px;
  padding: 16px 0 0;
  background: #fff;
  border-top: 1px solid #e4e7ec;
  color: #566170;
}
html body .ftr > .wrap { padding-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right)); }
html body .ftr .cols { display: grid; grid-template-columns: minmax(240px, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 20px; align-items: start; }
html body .ftr .cols > div { min-width: 0; }
html body .ftr .footer-about { padding-right: 8px; }
html body .ftr .flogo { display: inline-flex; align-items: center; margin: 0 0 8px; }
html body .ftr .flogo .logo-img { width: auto; max-width: 100%; height: 52px; max-height: 52px; object-fit: contain; }
html body .ftr .footer-intro { max-width: 34ch; margin: 0 0 10px; color: #637080; font-size: 15px; line-height: 1.8; }
html body .ftr h4 { margin: 0 0 8px; font-size: 15px; line-height: 1.5; font-weight: 700; color: #202937; letter-spacing: .01em; }
html body .ftr .flinks a { display: block; width: fit-content; max-width: 100%; margin: 0; padding: 4px 0; font-size: 14px; line-height: 1.6; color: #637080; overflow-wrap: anywhere; }
html body .ftr .flinks a:hover { color: var(--primary-text); transform: none; }
html body .ftr .flinks p { margin: 8px 0 0; padding-top: 8px; border-top: 1px solid #edf0f3; font-size: 13px; line-height: 1.7; color: #748091; }
html body .ftr .footer-about > a:not(.flogo), html body .ftr .footer-about > p:not(.footer-intro) { margin: 0; padding: 4px 0; gap: 10px; font-size: 14px; line-height: 1.7; color: #637080; }
html body .ftr .footer-about .ic { margin-right: 0; }
html body .ftr .footer-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
html body .ftr .footer-social:empty { display: none; }
html body .ftr .footer-social a { display: grid; place-items: center; width: 44px; height: 44px; margin: 0; border: 1px solid #e5e9ef; border-radius: 12px; background: #f7f8fa; color: #475569; }
html body .ftr .footer-social a:hover { background: #fff; border-color: var(--primary); color: var(--primary-text); }
html body .ftr .footer-social .ic { margin: 0; }
html body .ftr a:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; border-radius: 4px; }
html body .ftr .copy { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 16px; padding: 12px 0; border-top: 1px solid #e7ebf0; color: #748091; font-size: 13px; line-height: 1.7; }
html body .ftr .pays { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
html body .ftr .pays span { display: inline-flex; align-items: center; gap: 7px; padding: 6px 8px; border: 1px solid #e7ebf0; border-radius: 8px; background: #f8fafc; color: #526070; font-size: 12px; line-height: 1.5; }
html body .ftr .pays .ic { margin: 0; }
@media (max-width: 1100px) {
  html body .ftr .cols { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  html body .ftr .footer-about { grid-column: 1 / -1; padding: 0 0 12px; border-bottom: 1px solid #edf0f3; }
  html body .ftr .footer-intro { max-width: 58ch; }
}
@media (max-width: 600px) {
  html body .ftr .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  html body .ftr .footer-about { padding-bottom: 12px; }
  html body .ftr h4 { margin-top: 0; margin-bottom: 8px; }
  html body .ftr .flinks a { min-height: 32px; padding: 4px 0; }
  html body .ftr .copy { flex-direction: column; align-items: flex-start; margin-top: 16px; padding: 12px 0 calc(76px + env(safe-area-inset-bottom)); gap: 10px; }
  html body .ftr .pays { gap: 8px; }
}

/* Gentle homepage motion; only opacity and transforms animate. */
@media (prefers-reduced-motion: no-preference) {
  html body.storefront-home #slider .sl { transition: opacity 1000ms ease; }
  html body.storefront-home #slider .sl.on { z-index: 1; }
  html body.storefront-home #slider .dots { z-index: 3; }
  html body.storefront-home #app > .band,
  html body.storefront-home #brand-sections > .band { animation: none; }
  html body.storefront-home .bsl-card,
  html body.storefront-home .middle-banner-band a { transition: transform 550ms cubic-bezier(.22, 1, .36, 1), box-shadow 550ms ease; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  html body.storefront-home .bsl-card:hover { transform: translateY(-3px); }
  html body.storefront-home .middle-banner-band a:hover { transform: translateY(-3px); box-shadow: 0 12px 28px #17203312; }
}

/* Homepage rails share visible controls and native swipe scrolling. */
html body.storefront-home .rail-controls { display: contents; }
html body.storefront-home .rail-controls[hidden] { display: none; }
html body.storefront-home .rail-position { display: none; }
html body.storefront-home .product-rail { position: relative; }
html body.storefront-home .product-rail .nav { position: absolute; top: 40%; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: var(--primary); color: #fff; cursor: pointer; box-shadow: 0 4px 12px #0002; }
html body.storefront-home .product-rail .nav.l { left: -10px; }
html body.storefront-home .product-rail .nav.r { right: -10px; }
html body.storefront-home .product-rail .nav:disabled { opacity: 0; pointer-events: none; }
html body.storefront-home .bsl-dots [hidden] { display: none; }
html body.storefront-home .nav:focus-visible,
html body.storefront-home .bsl-dots button:focus-visible,
html body.storefront-home [aria-label$="slider"]:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
html body.storefront-home #cats-band .carou { --per: 3; }
html body.storefront-home .bsl-track { grid-auto-columns: calc((100% - 28px) / 3); }
html body.storefront-home #brand-dots { display: none; }
html body.storefront-home #jfy { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 4); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; padding: 4px 0 12px; }
html body.storefront-home #jfy::-webkit-scrollbar { display: none; }
html body.storefront-home #jfy > .card { min-width: 0; scroll-snap-align: start; }
html body.storefront-home #jfy > .empty { grid-column: 1 / -1; }
@media (max-width: 1000px) { html body.storefront-home #jfy { grid-auto-columns: calc((100% - 32px) / 3); } }
@media (max-width: 600px) {
  html body.storefront-home #cats-band .carou { --per: 2; }
  html body.storefront-home .bsl-track { grid-auto-columns: calc((100% - 12px) / 2); }
  html body.storefront-home #jfy { grid-auto-columns: calc((100% - 12px) / 2); gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html body.storefront-home #jfy,
  html body.storefront-home .bsl-track { scroll-behavior: auto; }
}
