:root {
  --singair-primary: #ff6a21;
  --singair-secondary: #111827;
  --singair-border: #e5e7eb;
  --singair-surface: #ffffff;
  --singair-muted: #6b7280;
  --singair-container: 1320px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--singair-secondary);
  background: #fff;
}

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

img {
  max-width: 100%;
  height: auto;
}

.singair-container {
  width: min(100% - 32px, var(--singair-container));
  margin-inline: auto;
}

.singair-announcement {
  font-size: 14px;
  background: var(--singair-primary);
  color: #fff;
}

.singair-announcement__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 34px;
  gap: 24px;
}

.singair-announcement__ticker {
  display: flex;
  gap: 30px;
  white-space: nowrap;
}

.singair-announcement__ticker span::before {
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  content: "\f111";
  font-size: 5px;
  margin-right: 8px;
  vertical-align: middle;
  opacity: 0.7;
}

.singair-announcement nav {
  display: flex;
  gap: 24px;
  font-size: 13px;
}

.singair-header,
.singair-footer,
.singair-newsletter {
  border-block: 1px solid var(--singair-border);
  background: var(--singair-surface);
}

.singair-header {
  position: sticky;
  top: 0;
  z-index: 30;
  box-shadow: 0 10px 30px rgb(17 24 39 / 0.04);
}

.singair-header__inner {
  display: grid;
  grid-template-columns: 220px minmax(220px, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 70px;
}

/* Uploaded (custom) logo image — keep it a sensible size so it never blows up
   the header layout. Without this, a large logo upload breaks the mobile row. */
.singair-header__brand { display: flex; align-items: center; min-width: 0; }
.singair-header__brand img,
.singair-header__brand .custom-logo {
  max-height: 52px;
  width: auto;
  height: auto;
  display: block;
}

.sm-logo {
  display: grid;
  grid-template-columns: 38px 1fr;
  column-gap: 10px;
  align-items: center;
  line-height: 1.05;
}

.sm-logo span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--singair-primary);
  color: #fff;
  font-weight: 800;
}

.sm-logo strong {
  color: var(--singair-secondary);
  font-size: 20px;
}

/* An uploaded logo replaces the badge+text lockup, so drop the 38px grid
   track that would otherwise squash the image. */
.sm-logo--image {
  display: block;
  grid-template-columns: none;
}

.sm-logo__img {
  display: block;
  width: auto;
  height: auto;
  max-width: 200px;
  max-height: 46px;
  object-fit: contain;
}

.sm-logo small {
  grid-column: 2;
  color: var(--singair-muted);
  font-size: 11px;
}

.singair-search {
  position: relative;
  display: flex;
  min-width: 0;
  border: 2px solid var(--singair-primary);
  border-radius: 10px;
  background: #fff;
  overflow: visible;
}

.singair-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  padding: 13px 16px;
  outline: 0;
}

.singair-search select {
  width: 160px;
  border: 0;
  border-right: 1px solid var(--singair-border);
  padding: 0 14px;
  background: #fff;
  color: var(--singair-muted);
}

.singair-search button,
.singair-btn,
.singair-auth-form button,
.singair-vendor-form button {
  border: 0;
  background: var(--singair-primary);
  color: #fff;
  padding: 12px 18px;
  cursor: pointer;
}

.singair-search button {
  min-width: 92px;
  border-radius: 0 7px 7px 0;
}

.singair-search button i {
  display: none; /* icon is mobile-only; desktop shows the text label */
}

.singair-search__suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 160px;
  right: 90px;
  z-index: 20;
  display: none;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--singair-border);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 20px 50px rgb(17 24 39 / 0.12);
}

.singair-search__suggestions.is-open {
  display: grid;
}

.singair-header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}

.singair-header__actions a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--singair-secondary);
  text-decoration: none;
  transition: color .15s;
}

.singair-header__actions a:hover {
  color: var(--singair-primary);
}

/* FA icon in header actions */
.singair-header__actions a i {
  font-size: 18px;
  line-height: 1;
}

/* Account link — icon + text side-by-side */
.sm-hdr-account span {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

/* Wishlist + Cart — icon only with floating badge */
.sm-hdr-wishlist,
.sm-hdr-cart {
  gap: 0;
}

.singair-header__actions b {
  position: absolute;
  top: -8px;
  right: -10px;
  display: grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  border-radius: 999px;
  background: var(--singair-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  font-style: normal;
}

.singair-header__navrow {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 54px;
}

.singair-storefront {
  padding: 32px 0 64px;
}

.singair-storefront-banner {
  margin-bottom: 18px;
  padding: 12px 16px;
  border: 1px solid var(--singair-border);
  border-radius: 12px;
  background: #fff8f2;
  color: var(--singair-primary);
  font-weight: 600;
}

.singair-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 20px;
}

.singair-product-actions__btn {
  border: 1px solid var(--singair-border);
  border-radius: 999px;
  padding: 8px 12px;
  background: #fff;
  cursor: pointer;
}

.singair-product-actions__btn.is-active {
  border-color: var(--singair-primary);
  color: var(--singair-primary);
}

.singair-product-section-list {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 20px;
}

.singair-product-section-list__item {
  padding: 16px;
  border: 1px solid var(--singair-border);
  border-radius: 12px;
  background: #fff;
}

.singair-account-cards {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: 24px;
}

.singair-account-card {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--singair-border);
  border-radius: 12px;
  background: #fff;
}

.singair-account-card strong {
  font-size: 24px;
  color: var(--singair-primary);
}

@media (max-width: 900px) {
  .singair-header__inner {
    grid-template-columns: 1fr;
  }

  .singair-header__navrow {
    grid-template-columns: 1fr;
  }

  .singair-search {
    flex-direction: column;
  }

  .singair-search select {
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid var(--singair-border);
    padding: 12px 14px;
  }
}

.sm-all-cats {
  display: flex;
  align-items: center;
  width: 100%;
  height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: var(--singair-primary);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.sm-header-cats {
  position: relative;
}

.sm-header-cats__panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 40;
  width: 280px;
  padding: 10px;
  border: 1px solid var(--singair-border);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 24px 60px rgb(17 24 39 / 0.15);
}

.sm-header-cats__panel[hidden] {
  display: none;
}

.sm-header-cats__panel a {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 8px;
  color: #4b5563;
  font-size: 14px;
}

.sm-header-cats__panel a:hover {
  background: #fff5ef;
  color: var(--singair-primary);
}

.sm-header-cats__panel small {
  color: #9ca3af;
}

/* ── Real mega menu (All Categories) ── */
.sm-mega {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 250px minmax(360px, 460px);
  min-height: 320px;
  border: 1px solid var(--singair-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 28px 70px rgb(17 24 39 / 0.18);
  overflow: hidden;
}
.sm-mega[hidden] { display: none; }

.sm-mega__list { margin: 0; padding: 8px; list-style: none; border-right: 1px solid #f0f2f5; overflow-y: auto; max-height: 74vh; }
.sm-mega__parent {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 10px;
  border-radius: 9px;
  color: #374151; font-size: 14px; font-weight: 500;
  text-decoration: none;
}
.sm-mega__item.is-active .sm-mega__parent,
.sm-mega__parent:hover { background: #fff5ef; color: var(--singair-primary); }
.sm-mega__ico {
  flex-shrink: 0;
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 9px;
  overflow: hidden;
  background: #f3f4f6;
}
.sm-mega__ico img { width: 100%; height: 100%; object-fit: cover; }
.sm-mega__ico--letter { background: #eef2ff; color: var(--singair-primary); font-weight: 800; font-size: 15px; }
.sm-mega__pname { flex: 1; }
.sm-mega__caret { font-size: 10px; color: #c3c8d0; }

.sm-mega__panels { position: relative; padding: 20px 24px; }
.sm-mega__panel { display: none; }
.sm-mega__panel.is-active { display: block; }
.sm-mega__panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid #f0f2f5; }
.sm-mega__panel-head h4 { margin: 0; font-size: 16px; }
.sm-mega__viewall { font-size: 12.5px; font-weight: 700; color: var(--singair-primary); text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }
.sm-mega__children { columns: 2; column-gap: 28px; margin: 0; padding: 0; list-style: none; }
.sm-mega__children li { break-inside: avoid; margin-bottom: 4px; }
.sm-mega__children a { display: block; padding: 6px 8px; border-radius: 7px; color: #4b5563; font-size: 13.5px; text-decoration: none; }
.sm-mega__children a:hover { background: #f7f8fa; color: var(--singair-primary); }
.sm-mega__empty, .sm-mega__none { color: #9ca3af; font-size: 13.5px; }

@media (max-width: 860px) {
  .sm-mega { grid-template-columns: 1fr; min-height: 0; max-height: 80vh; overflow-y: auto; }
  .sm-mega__list { border-right: 0; border-bottom: 1px solid #f0f2f5; }
  .sm-mega__caret { display: none; }
  .sm-mega__panels { display: none; }
}

/* ── Category card image / letter avatar (Top Categories) ── */
.sm-category-card__thumb,
.sm-category-card__ava {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
}
.sm-category-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.sm-category-card__ava {
  background: #eef2ff;
  color: var(--singair-primary);
  font-size: 26px;
  font-weight: 800;
}

.singair-header__nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 600;
  font-size: 14px;
}

.singair-header__nav a:hover,
.singair-header__nav .current-menu-item a {
  color: var(--singair-primary);
}

.singair-breadcrumb {
  padding-block: 18px;
  color: var(--singair-muted);
}

.sm-hero-shell {
  padding-top: 20px;
}

.sm-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 18px;
  align-items: stretch;
}

.sm-category-panel,
.sm-hero-card,
.sm-mini-promo,
.sm-product-card,
.sm-category-card,
.sm-vendor-card,
.sm-wide-promo {
  border: 1px solid var(--singair-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 35px rgb(17 24 39 / 0.04);
}

.sm-category-panel {
  overflow: hidden;
}

.sm-category-panel h2 {
  margin: 0;
  padding: 15px 18px;
  background: var(--singair-primary);
  color: #fff;
  font-size: 15px;
}

.sm-category-panel ul {
  margin: 0;
  padding: 10px 0;
  list-style: none;
}

.sm-category-panel a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  color: #4b5563;
  font-size: 14px;
}

.sm-category-panel a:hover {
  color: var(--singair-primary);
  background: #fff7f3;
}

.sm-cat-icon,
.sm-category-card__icon,
.sm-feature__icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: #fff0e9;
  color: var(--singair-primary);
}

.sm-cat-icon::before,
.sm-category-card__icon::before {
  content: "#";
}

.sm-feature__icon i {
  font-size: 13px;
  line-height: 1;
}

.sm-cat-icon--headphones::before {
  content: "H";
}
.sm-cat-icon--shirt::before {
  content: "T";
}
.sm-cat-icon--sofa::before {
  content: "S";
}
.sm-cat-icon--beauty::before {
  content: "B";
}
.sm-cat-icon--toy::before {
  content: "O";
}
.sm-cat-icon--ball::before {
  content: "P";
}
.sm-cat-icon--car::before {
  content: "C";
}
.sm-cat-icon--books::before {
  content: "E";
}

.sm-hero-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(270px, 0.86fr) minmax(330px, 1.14fr);
  align-items: center;
  min-height: 436px;
  padding: 48px 46px;
  overflow: hidden;
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
}

.sm-hero-card::before {
  content: "";
  position: absolute;
  right: 94px;
  bottom: 38px;
  width: 320px;
  height: 62px;
  border-radius: 50%;
  background: #dfe3ea;
  filter: blur(6px);
  opacity: 0.72;
}

.sm-hero-copy span,
.sm-mini-promo span {
  display: block;
  margin-bottom: 6px;
  color: #4b5563;
  font-weight: 700;
}

.sm-hero-copy h1 {
  margin: 0;
  max-width: 350px;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.05;
  letter-spacing: 0;
}

.sm-hero-copy strong {
  display: block;
  margin-top: 10px;
  color: var(--singair-primary);
  font-size: clamp(26px, 3vw, 42px);
}

.sm-hero-copy p {
  max-width: 310px;
  margin: 18px 0 26px;
  color: var(--singair-muted);
  line-height: 1.65;
}

.sm-hero-visual {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  align-self: stretch;
}

.sm-hero-visual img {
  width: min(100%, 530px);
  transform: translateX(10px);
  filter: drop-shadow(0 32px 32px rgb(17 24 39 / 0.16));
}

.sm-btn,
.sm-wide-promo em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--singair-primary);
  color: #fff;
  font-weight: 700;
  font-style: normal;
}

.sm-hero-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  display: flex;
  gap: 7px;
  transform: translateX(-50%);
}

.sm-hero-dots span {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: #d1d5db;
}

.sm-hero-dots span:first-child {
  width: 18px;
  background: var(--singair-primary);
}

.sm-promo-stack {
  display: grid;
  gap: 18px;
}

.sm-mini-promo {
  position: relative;
  min-height: 128px;
  padding: 18px;
  overflow: hidden;
}

.sm-mini-promo img {
  position: absolute;
  right: 10px;
  bottom: 8px;
  width: 118px;
  height: 86px;
  object-fit: contain;
}

.sm-mini-promo strong,
.sm-mini-promo em,
.sm-mini-promo small {
  position: relative;
  z-index: 2;
  display: block;
}

.sm-mini-promo em {
  color: var(--singair-primary);
  font-style: normal;
  font-weight: 800;
}

.sm-mini-promo small {
  margin-top: 12px;
  color: var(--singair-muted);
}

.sm-product-art {
  position: relative;
  display: block;
  min-height: 180px;
}

.sm-product-art::before,
.sm-product-art::after {
  content: "";
  position: absolute;
  inset: 20%;
  border-radius: 28px;
  background: linear-gradient(135deg, #111827, #4b5563);
  box-shadow: 0 25px 50px rgb(17 24 39 / 0.22);
}

.sm-product-art--headphone {
  min-height: 340px;
}

.sm-product-art--headphone::before {
  inset: 14% 18% 26%;
  border: 34px solid #191b1f;
  border-bottom: 0;
  border-radius: 160px 160px 30px 30px;
  background: transparent;
}

.sm-product-art--headphone::after {
  inset: 48% 12% 16%;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 35%, #4b5563, #111827 65%);
  box-shadow: 170px 0 0 -8px #15171b;
}

.sm-product-art--phone::before {
  inset: 16% 34%;
  border-radius: 24px;
  background: linear-gradient(160deg, #0f172a, #8ec5ff);
}
.sm-product-art--watch::before {
  inset: 26% 34%;
  border-radius: 22px;
  background: linear-gradient(160deg, #111827, #334155);
}
.sm-product-art--watch::after {
  inset: 12% 42% 18%;
  border-radius: 12px;
  background: #111827;
  opacity: 0.25;
}
.sm-product-art--shoe::before {
  inset: 48% 16% 26%;
  border-radius: 60% 20% 28px 28px;
  background: linear-gradient(135deg, #1f2937, #6b7280);
}
.sm-product-art--camera::before {
  inset: 35% 18% 28%;
  border-radius: 22px;
  background: #111827;
}
.sm-product-art--camera::after {
  inset: 42% 38% 34%;
  border-radius: 50%;
  background: radial-gradient(circle, #64748b, #111827);
}
.sm-product-art--tv::before {
  inset: 22% 12% 34%;
  border-radius: 14px;
  background: linear-gradient(135deg, #111827, #0ea5e9);
}
.sm-product-art--laptop::before {
  inset: 30% 12% 34%;
  border-radius: 14px;
  background: linear-gradient(135deg, #111827, #2563eb);
}
.sm-product-art--speaker::before {
  inset: 32% 20%;
  border-radius: 28px;
  background: linear-gradient(135deg, #111827, #334155);
}
.sm-product-art--shirt::before {
  inset: 20% 28%;
  clip-path: polygon(
    18% 0,
    38% 12%,
    62% 12%,
    82% 0,
    100% 24%,
    78% 38%,
    78% 100%,
    22% 100%,
    22% 38%,
    0 24%
  );
  background: #9ca3af;
}
.sm-product-art--sofa::before {
  inset: 48% 12% 28%;
  border-radius: 28px;
  background: #d8c3b2;
}

.sm-features {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  padding-block: 58px 42px;
}

.sm-feature {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sm-feature strong,
.sm-feature small {
  display: block;
}

.sm-feature small {
  margin-top: 3px;
  color: var(--singair-muted);
  font-size: 12px;
}

.sm-section {
  padding-block: 34px;
}

.sm-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 24px;
}

.sm-section-head h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: 0;
}

.sm-section-head p {
  margin: 6px 0 0;
  color: var(--singair-muted);
}

.sm-outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid #cfd5df;
  border-radius: 999px;
  background: #fff;
  font-weight: 700;
  font-size: 13px;
}

.sm-countdown {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.sm-countdown span {
  display: grid;
  place-items: center;
  width: 56px;
  height: 58px;
  border: 1px solid var(--singair-border);
  border-radius: 8px;
}

.sm-countdown b {
  font-size: 20px;
}

.sm-countdown small {
  color: var(--singair-muted);
  font-size: 10px;
}

.sm-product-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(180px, 1fr);
  gap: 18px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scroll-snap-type: x mandatory;
}

.sm-product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
}

.sm-product-card {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  scroll-snap-align: start;
}

.sm-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgb(17 24 39 / 0.1);
}

.sm-product-card__media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 210px;
  background: #f8fafc;
}

.sm-product-card__media img {
  width: 100%;
  height: 210px;
  /* Fill the box edge-to-edge; non-square photos are center-cropped. */
  object-fit: cover;
}

.sm-product-card__media em {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--singair-primary);
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

/* "SM Official" badge — Singair Mart's own products (Daraz-Mall style). */
.sm-official-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #111827, #37415c);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(17, 24, 39, 0.28);
  pointer-events: none;
}
.sm-official-badge i {
  color: #ffb340;
  font-size: 11px;
}
/* When a discount badge is present, the official badge stacks below it. */
.sm-product-card__media em + .sm-official-badge {
  top: 44px;
}

.sm-product-card__media-wrap {
  position: relative;
}

/* Wishlist heart (top-right) */
.sm-card-wish {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--singair-border);
  border-radius: 50%;
  background: #fff;
  color: #9ca3af;
  font-size: 14px;
  cursor: pointer;
  transition: color .15s ease, border-color .15s ease, transform .15s ease;
  z-index: 2;
}
.sm-card-wish:hover {
  color: #ef4444;
  border-color: #fca5a5;
  transform: scale(1.08);
}
/* In-wishlist: unmistakable filled state. Outside the wishlist page the
   button is inert (product already saved); on the wishlist page clicking
   removes the item. */
.sm-card-wish.is-active {
  background: var(--singair-primary);
  border-color: var(--singair-primary);
  color: #fff;
  cursor: default;
}
.sm-card-wish.is-active:hover {
  transform: none;
  color: #fff;
  border-color: var(--singair-primary);
}
.wl-page .sm-card-wish.is-active {
  cursor: pointer;
}
.wl-page .sm-card-wish.is-active:hover {
  background: #dc2626;
  border-color: #dc2626;
  transform: scale(1.08);
}

/* ── Wishlist page ─────────────────────────────────────────────────────── */
.wl-page {
  padding: 1.5rem 0 3rem;
}
.wl-title {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.25rem;
}
.wl-count {
  color: var(--singair-primary);
}
.wl-hint {
  color: var(--singair-muted);
  font-size: 0.85rem;
  margin: 0 0 1.25rem;
}
.wl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 1024px) {
  .wl-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 640px) {
  .wl-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem;
  }
}
.wl-empty {
  text-align: center;
  padding: 4rem 1rem;
  background: #fff;
  border: 1px solid var(--singair-border);
  border-radius: 14px;
}
.wl-empty i {
  font-size: 2.4rem;
  color: #d1d5db;
  margin-bottom: 0.75rem;
  display: block;
}
.wl-empty h2 {
  margin: 0 0 0.3rem;
}
.wl-empty p {
  color: var(--singair-muted);
  margin: 0 0 1.25rem;
}
.wl-shop-btn {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 1.5rem;
  border-radius: 10px;
  background: var(--singair-primary);
  color: #fff;
  font-weight: 700;
}
.sm-card-removing {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Add to cart (bottom-right over the image) */
.sm-card-cart {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--singair-border);
  border-radius: 50%;
  background: #fff;
  color: #374151;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(17, 24, 39, .10);
  transition: background .15s ease, color .15s ease, transform .15s ease;
  z-index: 2;
}
.sm-card-cart:hover {
  background: var(--singair-primary);
  color: #fff;
  transform: scale(1.06);
}
.sm-card-cart.loading {
  opacity: .55;
  pointer-events: none;
}
.sm-card-cart.added {
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
}
/* WooCommerce appends a "View cart" link after every AJAX add-to-cart.
   We never show it — the cart badge counter is the feedback instead. */
.added_to_cart {
  display: none !important;
}

/* Cart icon bump when an item is added (bottom nav + header). */
@keyframes sm-cart-bump {
  0% { transform: scale(1); }
  35% { transform: scale(1.35) rotate(-8deg); }
  70% { transform: scale(.92) rotate(4deg); }
  100% { transform: scale(1); }
}
.sm-bottomnav__icon.is-bump,
.sm-hdr-cart.is-bump i {
  animation: sm-cart-bump .55s cubic-bezier(.34, 1.56, .64, 1);
}

.sm-product-card__stars {
  letter-spacing: 1px;
}
.sm-product-card__stars .fa-regular {
  color: #d1d5db;
}
.sm-product-card__verified {
  color: #3b82f6;
  font-size: 11px;
  margin-left: 2px;
}

.sm-product-card__body {
  padding: 14px 14px 16px;
}

.sm-product-card h3 {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.35;
}

.sm-product-card__vendor,
.sm-product-card__sold {
  color: var(--singair-muted);
  font-size: 12px;
}

.sm-product-card__rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: #f59e0b;
  font-size: 12px;
}

.sm-product-card__rating small {
  color: var(--singair-muted);
}

.sm-product-card__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 8px;
}

.sm-product-card__price strong {
  color: var(--singair-primary);
  font-size: 17px;
}

.sm-product-card__price del {
  color: #9ca3af;
  font-size: 12px;
}

.sm-category-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 18px;
}

/* ── Category carousel ── */
.sm-section-head__tools { display: flex; align-items: center; gap: 12px; }
.sm-carousel-nav { display: inline-flex; gap: 8px; }
.sm-carousel-arrow {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--singair-border);
  border-radius: 50%;
  background: #fff;
  color: #374151;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, opacity .15s;
}
.sm-carousel-arrow:hover { background: var(--singair-primary); border-color: var(--singair-primary); color: #fff; }
.sm-carousel-arrow[disabled] { opacity: .4; cursor: default; }
.sm-carousel-arrow[disabled]:hover { background: #fff; color: #374151; border-color: var(--singair-border); }

.sm-cat-carousel { --gap: 16px; }
.sm-cat-carousel__track {
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 0 8px;
}
.sm-cat-carousel__track::-webkit-scrollbar { display: none; }
.sm-cat-carousel .sm-category-card {
  flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
  scroll-snap-align: start;
  border: 1px solid #f0f2f5;
  border-radius: 14px;
  transition: box-shadow .15s, transform .15s;
}
.sm-cat-carousel .sm-category-card:hover { box-shadow: 0 10px 26px rgba(17,24,39,.08); transform: translateY(-2px); }

.sm-carousel-dots { display: flex; justify-content: center; gap: 7px; margin-top: 6px; }
.sm-carousel-dots button {
  width: 8px; height: 8px; padding: 0;
  border: 0; border-radius: 999px;
  background: #d7dbe2; cursor: pointer;
  transition: width .2s, background .2s;
}
.sm-carousel-dots button.is-active { width: 22px; background: var(--singair-primary); }

@media (max-width: 640px) {
  .sm-cat-carousel { --gap: 12px; }
  .sm-cat-carousel .sm-category-card {
    flex-basis: calc((100% - (var(--cols-m) - 1) * var(--gap)) / var(--cols-m));
  }
  .sm-section-head__tools .sm-carousel-nav { display: none; } /* swipe on phones */
}

.sm-category-card {
  display: grid;
  place-items: center;
  gap: 12px;
  min-height: 118px;
  padding: 16px;
  text-align: center;
}

.sm-category-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  font-size: 30px;
  background: #eef7ff;
}

.sm-category-card strong {
  font-size: 13px;
}

.sm-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 18px;
  font-size: 14px;
}

.sm-tabs a {
  color: var(--singair-muted);
}

.sm-tabs .is-active {
  color: var(--singair-primary);
}

.sm-promo-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding-block: 48px 30px;
}

.sm-wide-promo {
  position: relative;
  min-height: 160px;
  padding: 34px 26px;
  overflow: hidden;
  background: linear-gradient(135deg, #e8f6ff, #fff);
}

.sm-wide-promo:nth-child(2) {
  background: linear-gradient(135deg, #fff1e7, #fff);
}
.sm-wide-promo:nth-child(3) {
  background: linear-gradient(135deg, #f4f7fb, #fff);
}

.sm-wide-promo strong,
.sm-wide-promo span,
.sm-wide-promo small {
  position: relative;
  z-index: 2;
  display: block;
}

.sm-wide-promo strong {
  font-size: 23px;
  max-width: 200px;
}

.sm-wide-promo small {
  margin: 5px 0 18px;
  color: var(--singair-muted);
}

.sm-wide-promo::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: 22px;
  width: 150px;
  height: 92px;
  border-radius: 28px;
  background: rgb(255 106 33 / 0.18);
}

.sm-brand-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.sm-brand-row span {
  display: grid;
  place-items: center;
  min-height: 72px;
  border: 1px solid var(--singair-border);
  border-radius: 8px;
  background: #fff;
  font-weight: 800;
  color: #64748b;
}

.sm-vendor-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.sm-vendor-card {
  display: grid;
  justify-items: center;
  gap: 7px;
  padding: 26px 16px 18px;
  text-align: center;
}

.sm-vendor-logo {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e0f2fe, #fff7ed);
  color: var(--singair-primary);
  font-weight: 900;
}

.sm-vendor-card h3 {
  margin: 8px 0 0;
  font-size: 15px;
}

.sm-vendor-card span,
.sm-vendor-card small {
  color: var(--singair-muted);
  font-size: 12px;
}

.sm-vendor-card strong {
  color: #f59e0b;
  font-size: 12px;
}

.sm-vendor-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  min-height: 34px;
  margin-top: 8px;
  border: 1px solid var(--singair-border);
  border-radius: 999px;
  font-weight: 700;
}

.singair-newsletter {
  margin-top: 44px;
  border: 0;
}

.singair-newsletter__inner {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 0.9fr);
  gap: 24px;
  align-items: center;
  min-height: 118px;
  padding: 24px 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff0e8, #fff7f3);
}

.singair-newsletter__copy {
  display: flex;
  align-items: center;
  gap: 18px;
}

.singair-newsletter__copy > span {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  color: var(--singair-primary);
  font-size: 30px;
}

.singair-newsletter h2 {
  margin: 0;
}

.singair-newsletter p {
  margin: 6px 0 0;
  color: var(--singair-muted);
}

.singair-newsletter form {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  background: #fff;
  border: 1px solid #ffd9c7;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(255, 106, 33, 0.1);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.singair-newsletter form:focus-within {
  border-color: var(--singair-primary);
  box-shadow: 0 10px 28px rgba(255, 106, 33, 0.2);
}

.singair-newsletter input {
  flex: 1;
  min-width: 0;
  height: 48px;
  border: 0;
  background: transparent;
  padding: 0 12px 0 22px;
  font-size: 15px;
  color: var(--singair-secondary);
  outline: none;
}

.singair-newsletter input::placeholder {
  color: #9aa2af;
}

.singair-newsletter button {
  flex: none;
  height: 48px;
  padding: 0 30px;
  border: 0;
  border-radius: 999px;
  background: var(--singair-primary);
  color: #fff;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.2s, transform 0.05s;
}

.singair-newsletter button:hover {
  background: #e85d18;
}

.singair-newsletter button:active {
  transform: translateY(1px);
}

.singair-newsletter button:disabled {
  opacity: 0.7;
  cursor: default;
}

.singair-newsletter__form-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.singair-newsletter__msg {
  margin: 0;
  min-height: 18px;
  padding-left: 10px;
  font-size: 13px;
  font-weight: 600;
}

.singair-newsletter__msg.is-ok {
  color: #067647;
}

.singair-newsletter__msg.is-err {
  color: #d92d20;
}

.singair-footer {
  margin-top: 46px;
  border: 0;
  background: #151515;
  color: #d1d5db;
}

.singair-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr));
  gap: 54px;
  padding-block: 54px;
}

.singair-footer h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 15px;
}

.singair-footer a,
.singair-footer p {
  display: block;
  margin: 0 0 12px;
  color: #aeb4bf;
  font-size: 14px;
  line-height: 1.6;
}

.sm-logo--footer strong {
  color: #fff;
}

.singair-socials,
.singair-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* A single uploaded payment strip. Scales down on narrow screens rather than
   forcing the footer to scroll sideways. */
.singair-payments__image {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 42px;
  object-fit: contain;
}

.singair-socials a,
.singair-payments span {
  display: grid;
  place-items: center;
  min-width: 40px;
  height: 30px;
  border-radius: 6px;
  background: #fff;
  color: #111827;
  font-weight: 800;
  font-size: 12px;
}

.singair-secure {
  margin-top: 18px;
  padding: 16px;
  border-radius: 8px;
  background: rgb(255 255 255 / 0.08);
  color: #fff;
}

.singair-footer__bottom {
  border-top: 1px solid rgb(255 255 255 / 0.08);
}

.singair-footer__bottom .singair-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 18px;
  color: #aeb4bf;
  font-size: 13px;
}

.singair-footer__bottom p {
  margin: 0;
}

.singair-card,
.singair-modal__panel,
.singair-drawer,
.singair-admin-panel {
  border: 1px solid var(--singair-border);
  border-radius: 8px;
  background: var(--singair-surface);
}

.singair-auth-form,
.singair-vendor-form {
  display: grid;
  gap: 16px;
  max-width: 520px;
}

.singair-auth-form label,
.singair-vendor-form label {
  display: grid;
  gap: 6px;
}

.singair-auth-form input,
.singair-auth-form select,
.singair-vendor-form input,
.singair-vendor-form textarea {
  width: 100%;
  border: 1px solid var(--singair-border);
  padding: 11px 12px;
}

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

.singair-dashboard-grid > div {
  border: 1px solid var(--singair-border);
  border-radius: 8px;
  padding: 16px;
}

.singair-dashboard-grid strong {
  display: block;
  margin-top: 6px;
}

.singair-onboarding-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.singair-onboarding-steps li {
  padding: 10px;
  border-radius: 8px;
  background: #fff5ef;
  color: var(--singair-primary);
  text-align: center;
  font-weight: 700;
  font-size: 12px;
}

.singair-vendor-dashboard,
.singair-vendor-panel {
  padding-block: 28px;
}

.singair-vendor-panel table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.singair-vendor-panel th,
.singair-vendor-panel td {
  padding: 12px;
  border: 1px solid var(--singair-border);
  text-align: left;
}

.singair-vendor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.singair-vendor-actions a,
.singair-vendor-panel button,
.singair-storefront button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: var(--singair-primary);
  color: #fff;
  font-weight: 700;
}

.singair-store-directory,
.singair-storefront {
  padding-block: 34px;
}

.singair-store-directory header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 22px;
}

.singair-store-directory input {
  min-height: 42px;
  width: min(100%, 320px);
  border: 1px solid var(--singair-border);
  border-radius: 8px;
  padding: 0 14px;
}

.singair-storefront__banner {
  min-height: 220px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ffe7d9, #e8f6ff);
}

.singair-storefront__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  margin-top: -36px;
  padding: 22px;
  border: 1px solid var(--singair-border);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 50px rgb(17 24 39 / 0.08);
}

.singair-badge,
.singair-tag,
.singair-rating {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 2px 10px;
  background: #f3f4f6;
  font-size: 13px;
}

.singair-modal[hidden],
.singair-drawer[hidden],
.singair-toast[hidden] {
  display: none;
}

.singair-loader {
  display: inline-block;
  width: 22px;
  aspect-ratio: 1;
  border: 3px solid var(--singair-border);
  border-top-color: var(--singair-primary);
  border-radius: 50%;
  animation: singair-spin 0.8s linear infinite;
}

@keyframes singair-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px) {
  .singair-header__inner,
  .singair-dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1180px) {
  .sm-hero-grid,
  .singair-header__inner {
    grid-template-columns: 1fr;
  }

  .singair-header__navrow,
  .sm-promo-stack {
    display: none;
  }

  .sm-category-panel {
    order: 2;
  }

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

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

  .singair-footer__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .sm-hero-grid,
  .sm-hero-card,
  .sm-features,
  .sm-promo-band,
  .singair-newsletter__inner {
    grid-template-columns: 1fr;
  }

  .sm-product-grid,
  .sm-category-grid,
  .sm-vendor-grid,
  .sm-brand-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sm-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .sm-countdown {
    margin-left: 0;
  }

  .singair-announcement nav,
  .singair-search select,
  .singair-header__actions span {
    display: none;
  }

  .singair-search__suggestions {
    left: 0;
    right: 0;
  }
}

@media (max-width: 520px) {
  .singair-container {
    width: min(100% - 22px, var(--singair-container));
  }

  .sm-hero-card {
    padding: 28px 22px;
    min-height: auto;
  }

  .sm-product-grid,
  .sm-category-grid,
  .sm-vendor-grid,
  .sm-brand-row {
    grid-template-columns: 1fr;
  }

  .sm-features {
    gap: 16px;
    padding-block: 32px;
  }

  .singair-footer__bottom .singair-container {
    flex-direction: column;
  }

  .singair-newsletter input {
    height: 44px;
    padding-left: 18px;
  }

  .singair-newsletter button {
    height: 44px;
    padding: 0 20px;
  }

  .singair-footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Mobile overflow hardening (site-wide) — 2026-07-04
   Prevents horizontal scroll on small screens: footer/newsletter collapse,
   grid tracks can shrink below content (minmax(0,…)), and a clip safety net.
   ═══════════════════════════════════════════════════════════════════════════ */
html, body { overflow-x: clip; }
.singair-storefront, .singair-container, .sm-section { max-width: 100%; }
img, svg, video { max-width: 100%; height: auto; }

/* Footer: let tracks shrink; collapse columns + shrink gaps on small screens */
.singair-footer__grid { grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); }
@media (max-width: 1180px) { .singair-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 768px)  { .singair-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; } }
@media (max-width: 480px)  {
	.singair-footer__grid { grid-template-columns: 1fr; gap: 22px; padding-block: 34px; }
	.singair-newsletter__inner { padding: 20px; }
	.singair-footer__bottom .singair-container { flex-direction: column; gap: .4rem; text-align: center; }
}

/* Bare `1fr` single-column collapses are min-content-based → force shrink */
@media (max-width: 900px) {
	.singair-newsletter__inner { grid-template-columns: minmax(0, 1fr); }
	.singair-header__inner { grid-template-columns: minmax(0, 1fr); }
	.singair-header__inner > *, .singair-newsletter__inner > * { min-width: 0; }
}

/* ══════════════════════════════════════════════════════════════════════════
   MOBILE APP LAYOUT (mockup) — hamburger drawer, trust strip, bottom nav
   ══════════════════════════════════════════════════════════════════════════ */

/* Mobile-only elements are hidden on desktop. */
.sm-hamburger,
.sm-bottomnav,
.sm-drawer,
.sm-trust-strip { display: none; }

@media (max-width: 900px) {

  /* ── Header ─────────────────────────────────────────────────────────── */
  /* App-style header: topbar + announcement hidden; hamburger left, logo
     right, search below. Account/wishlist/cart live in the bottom nav. */
  .singair-topbar,
  .singair-announcement {
    display: none;
  }

  .singair-header.is-sticky {
    position: sticky;
    top: 0;
    z-index: 60;
    box-shadow: 0 2px 12px rgba(17, 24, 39, .06);
  }
  .admin-bar .singair-header.is-sticky { top: 46px; }

  .singair-header__inner {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    padding-block: 12px;
  }
  /* Logo left, hamburger right. */
  .sm-hamburger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid #eef0f3;
    border-radius: 12px;
    background: #fff;
    color: #111827;
    font-size: 1.15rem;
    cursor: pointer;
    order: 1;
    flex: 0 0 auto;
  }
  .singair-header__brand {
    order: 0;
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    justify-content: flex-start;
  }
  /* Constrain the uploaded logo so the brand + hamburger stay on one row. */
  .singair-header__brand img,
  .singair-header__brand .custom-logo { max-height: 40px; }
  .singair-header__actions { display: none; }
  .singair-search {
    order: 3;
    flex-basis: 100%;
    width: 100%;
  }

  /* compact logo */
  .sm-logo small { display: none; }
  .sm-logo strong { font-size: 1.05rem; }
  .sm-logo span { width: 38px; height: 38px; font-size: .9rem; }

  /* icon-only actions with orange badges */
  .sm-hdr-account span { display: none; }
  .sm-hdr-account,
  .sm-hdr-wishlist,
  .sm-hdr-cart {
    position: relative;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #111827;
  }
  .sm-hdr-wishlist .bwm-wishlist-count,
  .sm-hdr-cart .sm-hdr-cart-count {
    position: absolute;
    top: 2px;
    right: 0;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ff6a21;
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
  }
  .singair-header__navrow { display: none; }

  /* One-line search pill: input left, compact icon submit right.
     (Overrides the older stacked flex-direction:column mobile rule.) */
  .singair-search {
    flex-direction: row;
    align-items: stretch;
    border: 1px solid #eef0f3;
    border-radius: 14px;
    overflow: hidden;
  }
  .singair-search input {
    padding: 11px 14px;
    font-size: .92rem;
  }
  .singair-search button {
    min-width: 0;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    padding: 0;
    border-radius: 0;
    font-size: 1.05rem;
  }
  .singair-search button i { display: inline-block; }
  .singair-search button span { display: none; }

  /* ── Trust strip under the search ───────────────────────────────────── */
  .sm-trust-strip {
    display: block;
    background: #fff5ef;
    border-top: 1px solid #ffe4d6;
    border-bottom: 1px solid #ffe4d6;
  }
  .sm-trust-strip__inner {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-block: 10px;
  }
  .sm-trust-strip__inner::-webkit-scrollbar { display: none; }
  .sm-trust-chip {
    flex: 1 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    color: #111827;
    white-space: nowrap;
    border-right: 1px solid #ffe0cf;
  }
  .sm-trust-chip:last-child { border-right: 0; }
  .sm-trust-chip i { color: #ff6a21; font-size: 1.1rem; }
  .sm-trust-chip strong { display: block; font-size: .78rem; font-weight: 700; line-height: 1.1; }
  .sm-trust-chip small { display: block; font-size: .68rem; color: #6b7280; }

  /* ── Home sections → app cards ──────────────────────────────────────── */
  .sm-section { padding-block: 18px; }
  .sm-section-head { flex-direction: row !important; align-items: center !important; justify-content: space-between; }
  .sm-section-head h2 { font-size: 1.15rem; }

  /* categories → horizontal snap scroller */
  .sm-category-grid {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
  }
  .sm-category-grid::-webkit-scrollbar { display: none; }
  .sm-category-card {
    flex: 0 0 auto;
    width: 88px;
    scroll-snap-align: start;
    text-align: center;
  }

  /* flash deal cards → horizontal scroller */
  .sm-product-row {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
  }
  .sm-product-row::-webkit-scrollbar { display: none; }
  .sm-product-row > * {
    flex: 0 0 auto;
    width: 46%;
    max-width: 220px;
    scroll-snap-align: start;
  }
  .sm-countdown { font-size: .8rem; }

  /* ── Footer ─────────────────────────────────────────────────────────── */
  .singair-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 22px 18px; }
  .singair-footer__bottom .singair-container { flex-direction: column; gap: .4rem; text-align: center; }

  /* clear space for the fixed bottom nav */
  body { padding-bottom: 68px; }

  /* ── Off-canvas drawer ──────────────────────────────────────────────── */
  .sm-drawer {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 200;
  }
  .sm-drawer[hidden] { display: none; }
  .sm-drawer__overlay {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, .5);
    opacity: 0;
    transition: opacity .28s ease;
  }
  .sm-drawer.is-open .sm-drawer__overlay { opacity: 1; }
  .sm-drawer__panel {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(84vw, 340px);
    background: #fff;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform .28s ease;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .sm-drawer.is-open .sm-drawer__panel { transform: translateX(0); }
  .sm-drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
  .sm-logo--drawer { display: inline-flex; align-items: center; gap: 8px; }
  .sm-drawer__close {
    width: 38px; height: 38px; border: 0; border-radius: 10px;
    background: #f3f4f6; color: #111827; font-size: 1.1rem; cursor: pointer;
  }
  .sm-drawer__account {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 14px; margin: 6px 0 10px;
    background: linear-gradient(135deg, #ff6a21, #ff8a4c);
    color: #fff; border-radius: 14px; font-weight: 600;
  }
  .sm-drawer__account .sm-drawer__chevron { margin-left: auto; opacity: .85; }
  .sm-drawer__nav { display: flex; flex-direction: column; }
  .sm-drawer__nav a {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 8px; color: #111827; font-weight: 500;
    border-bottom: 1px solid #f3f4f6;
  }
  .sm-drawer__nav a i { width: 20px; text-align: center; color: #ff6a21; }
  .sm-drawer__section-title {
    margin: 14px 8px 6px; font-size: .72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .04em; color: #9ca3af;
  }
  .sm-drawer__cats { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
  .sm-drawer__cats a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px; border: 1px solid #f3f4f6; border-radius: 10px;
    color: #111827; font-size: .85rem;
  }
  .sm-drawer__cats a small { color: #9ca3af; font-size: .72rem; }
  .sm-drawer__sell {
    margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px; border: 1px dashed #ffb590; border-radius: 12px;
    color: #ff6a21; font-weight: 600;
  }
  body.sm-drawer-open { overflow: hidden; }

  /* ── Floating bottom navigation ─────────────────────────────────────── */
  .sm-bottomnav {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 90;
    background: #fff;
    border-top: 1px solid #eef0f3;
    box-shadow: 0 -4px 20px rgba(17, 24, 39, .08);
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
    justify-content: space-around;
  }
  /* Icon-only items with a springy tap animation. Labels stay in the DOM
     for screen readers but are visually hidden. */
  .sm-bottomnav__item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 2px;
    color: #6b7280;
    -webkit-tap-highlight-color: transparent;
  }
  .sm-bottomnav__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .sm-bottomnav__icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 48px;
    height: 40px;
    border-radius: 999px;
    font-size: 1.4rem;
    line-height: 1;
    transition: transform .18s cubic-bezier(.34, 1.56, .64, 1), background .2s ease, color .2s ease;
  }
  .sm-bottomnav__item:active .sm-bottomnav__icon {
    transform: scale(.82);
  }
  .sm-bottomnav__item.is-active .sm-bottomnav__icon {
    background: #fff1e8;
    animation: sm-nav-pop .3s cubic-bezier(.34, 1.56, .64, 1);
  }
  @keyframes sm-nav-pop {
    0% { transform: scale(.8); }
    60% { transform: scale(1.08); }
    100% { transform: scale(1); }
  }
  /* Badge styled via descendant selector — WooCommerce cart fragments swap
     the <b> for one carrying only the count class, so a badge class on the
     element itself would be lost after the first AJAX add-to-cart. */
  .sm-bottomnav__icon > b {
    position: absolute;
    top: 0;
    right: 2px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #ff6a21;
    color: #fff;
    font-size: .62rem;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
  }
  .sm-bottomnav__icon > b.is-zero { display: none; }
  .sm-bottomnav__item.is-active { color: #ff6a21; }
}

/* Small phones — tighten the app layout further. */
@media (max-width: 400px) {
  .sm-product-row > * { width: 60%; }
}

/* Redundant on mobile — categories live in the drawer/trust strip, and the
   trust strip already covers the feature highlights. */
@media (max-width: 900px) {
  .sm-category-panel,
  .sm-features { display: none !important; }
}

/* ── Mobile refinements (flash header, category grid, carousels) ───────── */
@media (max-width: 900px) {

  /* 1. Flash Deals header — stack title, countdown row, then View All. */
  #flash-sale .sm-section-head {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    row-gap: 12px;
    column-gap: 10px;
  }
  #flash-sale .sm-section-head > div:first-child { flex: 1 1 100%; }
  #flash-sale .sm-section-head > div:first-child h2 { font-size: 1.15rem; }
  #flash-sale .sm-section-head > div:first-child p {
    margin: 2px 0 0;
    font-size: .82rem;
    color: #6b7280;
    white-space: normal;
  }
  #flash-sale .sm-countdown {
    margin: 0 !important;
    display: flex;
    gap: 6px;
    flex: 1 1 auto;
  }
  #flash-sale .sm-countdown span { min-width: 44px; }
  #flash-sale .sm-outline-btn { flex: 0 0 auto; margin-left: auto; white-space: nowrap; }

  /* 2. Top Categories — 3-column grid (not a scroller). */
  .sm-category-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
    overflow: visible !important;
  }
  .sm-category-card { width: auto !important; }

  /* Filter tabs scroll horizontally if they overflow. */
  .sm-tabs {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scrollbar-width: none;
    white-space: nowrap;
  }
  .sm-tabs::-webkit-scrollbar { display: none; }

  /* 3/4/5. Product / brand / vendor rows → horizontal snap carousels. */
  .sm-product-grid,
  .sm-brand-row,
  .sm-vendor-grid {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 12px !important;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
  }
  .sm-product-grid::-webkit-scrollbar,
  .sm-brand-row::-webkit-scrollbar,
  .sm-vendor-grid::-webkit-scrollbar { display: none; }

  .sm-product-grid > * {
    flex: 0 0 auto;
    width: 46%;
    max-width: 220px;
    scroll-snap-align: start;
  }
  .sm-brand-row > * {
    flex: 0 0 auto;
    width: 40%;
    max-width: 160px;
    scroll-snap-align: start;
  }
  .sm-vendor-grid > * {
    flex: 0 0 auto;
    width: 74%;
    max-width: 280px;
    scroll-snap-align: start;
  }
}

@media (max-width: 400px) {
  .sm-product-grid > * { width: 58%; }
  .sm-vendor-grid > * { width: 82%; }
  .sm-brand-row > * { width: 46%; }
}

@media (max-width: 900px) {
  /* Popular Products head: title+tabs full width, View All below-right. */
  #popular-products .sm-section-head { flex-wrap: wrap; row-gap: 10px; }
  #popular-products .sm-section-head > div:first-child { flex: 1 1 100%; min-width: 0; }
  #popular-products .sm-outline-btn { margin-left: auto; white-space: nowrap; }
}

/* ══ Hero slider ══════════════════════════════════════════════════════════ */
.sm-hero-card.sm-hero-slider { display: block; padding: 0; }
.sm-hero-track { display: flex; height: 100%; transition: transform .5s ease; }
.sm-hero-slide {
	flex: 0 0 100%;
	min-width: 100%;
	display: grid;
	grid-template-columns: minmax(270px, .86fr) minmax(330px, 1.14fr);
	align-items: center;
	min-height: 436px;
	padding: 48px 46px;
	box-sizing: border-box;
}
.sm-hero-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border: 1px solid var(--singair-border, #eaecf0);
	border-radius: 50%;
	background: rgba(255, 255, 255, .92);
	color: #111827;
	cursor: pointer;
	box-shadow: 0 6px 18px rgba(17, 24, 39, .1);
	transition: background .2s, color .2s;
}
.sm-hero-arrow:hover { background: var(--singair-primary, #ff6a21); color: #fff; }
.sm-hero-arrow--prev { left: 16px; }
.sm-hero-arrow--next { right: 16px; }
.sm-hero-pager {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
	display: flex;
	gap: 8px;
}
.sm-hero-dot {
	width: 9px;
	height: 9px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: #d1d5db;
	cursor: pointer;
	transition: width .2s, background .2s;
}
.sm-hero-dot.is-active { width: 26px; background: var(--singair-primary, #ff6a21); }

/* ══ Contact page ═════════════════════════════════════════════════════════ */
.sm-contact { padding: 34px 0 60px; }

.sm-contact__hero { text-align: center; margin-bottom: 40px; }
.sm-contact__hero h1 { margin: 0 0 12px; font-size: clamp(32px, 4vw, 44px); }
.sm-contact__hero p { margin: 0 auto; max-width: 620px; color: var(--singair-muted, #6b7280); font-size: 15.5px; }
.sm-contact__rule { display: block; width: 46px; height: 3px; border-radius: 3px; background: var(--singair-primary, #ff6a21); margin: 18px auto 0; }

.sm-contact__grid { display: grid; grid-template-columns: 1.72fr 1fr; gap: 24px; margin-bottom: 30px; }

.sm-contact__card {
	background: #fff;
	border: 1px solid #eef0f3;
	border-radius: 14px;
	padding: 30px 32px;
	box-shadow: 0 1px 2px rgba(16, 24, 39, 0.04);
}
.sm-contact__card h2 { margin: 0 0 6px; font-size: 20px; }
.sm-contact__lead { margin: 0 0 24px; color: var(--singair-muted, #6b7280); font-size: 14px; }

/* Form */
.sm-cform { display: grid; gap: 16px; }
.sm-cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sm-cform__field { position: relative; display: block; }
.sm-cform__field > i {
	position: absolute; top: 50%; left: 16px; transform: translateY(-50%);
	color: #9aa2af; font-size: 14px; pointer-events: none;
}
.sm-cform__field--area > i { top: 18px; transform: none; }
.sm-cform__field input,
.sm-cform__field textarea {
	width: 100%; border: 1px solid #e5e7eb; border-radius: 10px;
	padding: 0 16px 0 42px; height: 50px; font-size: 14.5px;
	color: var(--singair-secondary, #111827); background: #fff;
}
.sm-cform__field textarea { height: auto; padding-block: 14px; resize: vertical; line-height: 1.6; }
.sm-cform__field input::placeholder,
.sm-cform__field textarea::placeholder { color: #9aa2af; }
.sm-cform__field input:focus,
.sm-cform__field textarea:focus { outline: none; border-color: var(--singair-primary, #ff6a21); box-shadow: 0 0 0 3px rgba(255, 106, 33, 0.12); }
.sm-cform__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sm-cform__submit { justify-self: start; border: 0; cursor: pointer; gap: 9px; padding: 0 26px; min-height: 46px; font-size: 14.5px; }
.sm-cform__submit:disabled { opacity: 0.7; cursor: default; }
.sm-cform__msg { margin: 0; min-height: 18px; font-size: 13.5px; font-weight: 600; }
.sm-cform__msg.is-ok { color: #067647; }
.sm-cform__msg.is-err { color: #d92d20; }

/* Info panel */
.sm-contact__channels { list-style: none; margin: 0; padding: 0; }
.sm-contact__channels li {
	display: flex; gap: 16px; align-items: flex-start;
	padding: 18px 0; border-bottom: 1px solid #f0f2f5;
}
.sm-contact__channels li:first-child { padding-top: 4px; }
.sm-contact__channels li:last-child { border-bottom: 0; padding-bottom: 0; }
.sm-contact__ch-ic {
	flex: none; width: 44px; height: 44px; display: grid; place-items: center;
	border-radius: 50%; background: #fff5ef; color: var(--singair-primary, #ff6a21); font-size: 16px;
}
.sm-contact__channels li > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sm-contact__channels strong { font-size: 14.5px; }
.sm-contact__channels span,
.sm-contact__channels a { font-size: 13.5px; color: var(--singair-muted, #6b7280); }
.sm-contact__channels a:hover { color: var(--singair-primary, #ff6a21); }

/* Trust strip */
.sm-contact__trust {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
	background: #fff7f2; border-radius: 14px; padding: 26px 30px;
}
.sm-contact__trust-item { display: flex; gap: 14px; align-items: flex-start; }
.sm-contact__trust-item > i { font-size: 22px; color: var(--singair-primary, #ff6a21); margin-top: 3px; }
.sm-contact__trust-item div { display: flex; flex-direction: column; gap: 2px; }
.sm-contact__trust-item strong { font-size: 14.5px; }
.sm-contact__trust-item span { font-size: 13px; color: var(--singair-muted, #6b7280); }

@media (max-width: 960px) {
	.sm-contact__grid { grid-template-columns: 1fr; }
	.sm-contact__trust { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
	.sm-cform__row { grid-template-columns: 1fr; }
	.sm-contact__trust { grid-template-columns: 1fr; padding: 22px; }
	.sm-contact__card { padding: 24px 20px; }
}

/* Vendor dashboard: "not a vendor" become-a-seller panel */
.sm-novendor {
	display: grid;
	place-items: center;
	padding: 60px 16px 80px;
	background: #f7f8fa;
}
.sm-novendor__card {
	width: min(720px, 100%);
	text-align: center;
	background: #fff;
	border: 1px solid #eef0f3;
	border-radius: 18px;
	padding: 48px 44px 38px;
	box-shadow: 0 10px 34px rgba(16, 24, 40, 0.06);
}
.sm-novendor__badge {
	display: inline-grid;
	place-items: center;
	width: 72px;
	height: 72px;
	border-radius: 22px;
	background: linear-gradient(135deg, var(--singair-primary, #ff6a21), #ff8d51);
	color: #fff;
	font-size: 28px;
	box-shadow: 0 10px 24px rgba(255, 106, 33, 0.35);
	margin-bottom: 20px;
}
.sm-novendor__card h1 { margin: 0 0 10px; font-size: 28px; line-height: 1.25; }
.sm-novendor__sub {
	max-width: 520px;
	margin: 0 auto 30px;
	color: var(--singair-muted, #6b7280);
	font-size: 15px;
	line-height: 1.65;
}
.sm-novendor__perks {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	margin-bottom: 30px;
}
.sm-novendor__perk {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 18px 14px;
	background: #fbfcfe;
	border: 1px solid #eef1f5;
	border-radius: 12px;
}
.sm-novendor__perk i { font-size: 20px; color: var(--singair-primary, #ff6a21); margin-bottom: 4px; }
.sm-novendor__perk strong { font-size: 14px; }
.sm-novendor__perk span { font-size: 12.5px; color: var(--singair-muted, #6b7280); line-height: 1.5; }
.sm-novendor__actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	flex-wrap: wrap;
	margin-bottom: 22px;
}
.sm-novendor__actions .sm-btn { gap: 9px; padding: 0 28px; min-height: 46px; }
.sm-novendor__more { color: var(--singair-primary, #ff6a21); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 7px; }
.sm-novendor__more:hover { text-decoration: underline; }
.sm-novendor__note {
	margin: 0;
	padding-top: 18px;
	border-top: 1px solid #f0f2f5;
	color: var(--singair-muted, #6b7280);
	font-size: 13px;
}
@media (max-width: 640px) {
	.sm-novendor__card { padding: 34px 22px 28px; }
	.sm-novendor__perks { grid-template-columns: 1fr; }
	.sm-novendor__card h1 { font-size: 23px; }
}

/* Thank-you page: track-order banner */
.sm-thankyou-track {
	display: flex;
	align-items: center;
	gap: 18px;
	margin: 0 0 26px;
	padding: 18px 22px;
	background: #fff7f2;
	border: 1px solid #ffe1cf;
	border-radius: 12px;
}
.sm-thankyou-track__txt { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.sm-thankyou-track__txt strong { font-size: 15px; }
.sm-thankyou-track__txt span { font-size: 13.5px; color: var(--singair-muted, #6b7280); }
.sm-thankyou-track .sm-btn { white-space: nowrap; gap: 8px; }
@media (max-width: 640px) {
	.sm-thankyou-track { flex-direction: column; align-items: flex-start; }
}

/* Per-slide Style-tab controls (driven by inline --s-* custom properties). */
.sm-hero-slide { background: var(--s-bg, transparent); }
.sm-hero-slide .sm-hero-copy { text-align: var(--s-align, left); }
.sm-hero-slide .sm-hero-copy h1,
.sm-hero-slide .sm-hero-copy p { margin-inline: var(--s-mi, 0); }
.sm-hero-slide .sm-hero-copy span {
	color: var(--s-eyebrow-color, #4b5563);
	font-size: var(--s-eyebrow-size, 14px);
	font-weight: var(--s-eyebrow-weight, 700);
}
.sm-hero-slide .sm-hero-copy h1 {
	color: var(--s-title-color, var(--singair-secondary));
	font-size: var(--s-title-size, clamp(38px, 4vw, 58px));
	font-weight: var(--s-title-weight, 700);
}
.sm-hero-slide .sm-hero-copy strong {
	color: var(--s-highlight-color, var(--singair-primary));
	font-size: var(--s-highlight-size, clamp(26px, 3vw, 42px));
}
.sm-hero-slide .sm-hero-copy p {
	color: var(--s-desc-color, var(--singair-muted));
	font-size: var(--s-desc-size, 16px);
}
.sm-hero-slide .sm-btn {
	background: var(--s-btn-bg, var(--singair-primary));
	color: var(--s-btn-color, #fff);
}
.sm-hero-slide .sm-hero-visual img { width: var(--s-img-width, min(100%, 530px)); }

@media (max-width: 900px) {
	.sm-hero-slide {
		grid-template-columns: 1fr;
		padding: 26px 20px 40px;
		min-height: auto;
		gap: 10px;
	}
	.sm-hero-arrow { width: 38px; height: 38px; }
	.sm-hero-arrow--prev { left: 8px; }
	.sm-hero-arrow--next { right: 8px; }
}
