/* ==========================================================================
   Q-STORE — Pixel-Perfect Stylesheet (Bootstrap 5.3 + Pure CSS3, Zero SVG)
   ========================================================================== */

:root {
  --qs-purple-950: #1e0542;
  --qs-purple-900: #2b095e;
  --qs-purple-800: #4c1194;
  --qs-purple-700: #681ec2;
  --qs-purple-600: #7c2ae8;
  --qs-purple-500: #9345f5;
  --qs-purple-400: #c77dff;
  --qs-purple-100: #f3ecff;
  --qs-purple-50: #f7f4fd;
  --qs-pink-badge: #e52d97;
  --qs-ink-900: #11131a;
  --qs-ink-700: #374151;
  --qs-ink-500: #6b7280;
  --qs-border-soft: #eae5f5;
  --qs-border-input: #d9d3e8;
  --qs-radius-hero: 22px;
  --qs-radius-card: 16px;
  --qs-radius-btn: 12px;
  --qs-font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --qs-font-display: 'Montserrat', 'Plus Jakarta Sans', sans-serif;
  --qs-transition: 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--qs-font-sans);
  color: var(--qs-ink-900);
  background-color: #ffffff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Soft translucent ambient lilac wave accents flanking the hero on wide screens */
.qs-page-shell {
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Mobile Sticky Bottom Navigation - Hidden by default on desktop */
.qs-mobile-bottom-bar {
  display: none;
}

.qs-page-shell::before,
.qs-page-shell::after {
  content: '';
  position: absolute;
  top: 108px;
  width: 340px;
  height: 440px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(28px);
}

.qs-page-shell::before {
  left: -190px;
  background: radial-gradient(circle at 60% 45%, rgba(168, 114, 245, 0.22) 0%, rgba(215, 190, 255, 0.14) 55%, rgba(255, 255, 255, 0) 76%);
}

.qs-page-shell::after {
  right: -190px;
  background: radial-gradient(circle at 40% 45%, rgba(176, 130, 248, 0.2) 0%, rgba(224, 206, 255, 0.12) 55%, rgba(255, 255, 255, 0) 76%);
}

.qs-container {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   HEADER — Row 1 (Brand, Search Bar, Location & Utility Icons)
   ========================================================================== */

.qs-header {
  background: rgba(255, 255, 255, 0.96);
  position: sticky;
  top: 0;
  z-index: 1030;
  padding-top: 12px;
  padding-bottom: 10px;
  transition: box-shadow var(--qs-transition);
}

.qs-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(45, 16, 94, 0.07);
}

.qs-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 58px;
}

/* Pure CSS Geometric Q-STORE Logo Lockup (Zero SVG) */
.qs-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  flex-shrink: 0;
  user-select: none;
}

.qs-brand-q {
  position: relative;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: inline-block;
}

.qs-brand-q-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #9842f5 0%, #6c1dc9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qs-brand-q-ring::after {
  content: '';
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
}

.qs-brand-q-tail {
  position: absolute;
  width: 18px;
  height: 10px;
  background: linear-gradient(135deg, #8b36ec 0%, #681ec2 100%);
  border-radius: 3px;
  right: -2px;
  bottom: 2px;
  transform: rotate(38deg);
  box-shadow: -3px -2px 0 2px #ffffff;
}

.qs-brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.qs-brand-title {
  font-family: var(--qs-font-display);
  font-size: 27px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #101014;
  display: flex;
  align-items: center;
  line-height: 0.96;
  transform: scaleX(1.06);
  transform-origin: left center;
}

.qs-brand-dash {
  display: inline-block;
  width: 10px;
  height: 4.5px;
  background: #101014;
  margin-right: 4px;
  border-radius: 1px;
  transform: translateY(-1px);
}

.qs-brand-tagline {
  font-family: var(--qs-font-display);
  font-size: 8.6px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
  padding-left: 14px;
  white-space: nowrap;
}

.qs-tagline-dark {
  color: #3f4450;
}

.qs-tagline-purple {
  color: var(--qs-purple-600);
  margin-left: 4px;
}

/* Search Bar */
.qs-search-wrap {
  flex: 1 1 auto;
  max-width: 585px;
  margin-left: 18px;
  margin-right: auto;
}

.qs-search-form {
  display: flex;
  align-items: center;
  height: 46px;
  background: #faf9fd;
  border: 1.5px solid var(--qs-border-input);
  border-radius: 999px;
  padding: 4px 4px 4px 18px;
  box-shadow: 0 2px 10px rgba(90, 42, 160, 0.05);
  transition: border-color var(--qs-transition), box-shadow var(--qs-transition), background-color var(--qs-transition);
}

.qs-search-form:focus-within {
  background: #ffffff;
  border-color: var(--qs-purple-600);
  box-shadow: 0 0 0 4px rgba(124, 42, 232, 0.12);
}

.qs-search-leading-icon {
  font-size: 16px;
  color: #2c2f3a;
  margin-right: 11px;
  line-height: 1;
}

.qs-search-input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: var(--qs-ink-900);
}

.qs-search-input::placeholder {
  color: #7c8090;
  font-weight: 400;
}

.qs-search-submit {
  width: 56px;
  height: 36px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #8631ec 0%, #5c18b3 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform var(--qs-transition), filter var(--qs-transition);
}

.qs-search-submit:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.qs-search-submit:active {
  transform: translateY(0);
}

.qs-search-clear-btn {
  background: transparent;
  border: 0;
  color: #8c83a0;
  font-size: 16px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-right: 4px;
  cursor: pointer;
  flex-shrink: 0;
  border-radius: 50%;
  transition: color 150ms ease, background-color 150ms ease;
}

.qs-search-clear-btn:hover,
.qs-search-clear-btn:active {
  color: var(--qs-purple-700);
  background: #ede6fa;
}

/* Header Right Utilities */
.qs-header-utils {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-shrink: 0;
}

.qs-location-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 0;
  padding: 4px 6px;
  border-radius: 10px;
  text-align: left;
  cursor: pointer;
  transition: background-color var(--qs-transition);
}

.qs-location-btn:hover {
  background-color: var(--qs-purple-50);
}

.qs-location-pin {
  font-size: 20px;
  color: var(--qs-purple-600);
  line-height: 1;
}

.qs-location-text {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
}

.qs-location-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--qs-ink-500);
}

.qs-location-value {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--qs-ink-900);
  white-space: nowrap;
}

.qs-location-chevron {
  font-size: 11px;
  color: var(--qs-ink-700);
  margin-left: 2px;
}

.qs-icon-actions {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.qs-util-icon-btn {
  position: relative;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #1f2430;
  font-size: 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color var(--qs-transition), color var(--qs-transition);
}

.qs-util-icon-btn:hover {
  background-color: var(--qs-purple-50);
  color: var(--qs-purple-700);
}

.qs-notif-badge {
  position: absolute;
  top: 2px;
  right: 1px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--qs-pink-badge);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(229, 45, 151, 0.35);
}

.qs-count-badge {
  position: absolute;
  top: 2px;
  right: 1px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--qs-purple-600);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.qs-count-badge.is-empty {
  display: none;
}

/* ==========================================================================
   HEADER — Row 2 (All Categories Button + Primary Navigation Links)
   ========================================================================== */

.qs-header-nav-row {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-top: 12px;
}

.qs-all-cat-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 204px;
  height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(90deg, #5616ab 0%, #8e3ae8 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(104, 30, 194, 0.22);
  transition: filter var(--qs-transition), transform var(--qs-transition);
}

.qs-all-cat-btn:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
}

.qs-all-cat-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Crisp 3-bar hamburger in pure CSS (zero SVG) */
.qs-css-bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 15px;
  height: 11px;
}

.qs-css-bars span {
  display: block;
  width: 100%;
  height: 1.8px;
  background: #ffffff;
  border-radius: 2px;
}

.qs-primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0 0 0 54px;
}

.qs-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--qs-ink-900);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--qs-transition), color var(--qs-transition);
}

.qs-nav-link:hover {
  color: var(--qs-purple-700);
  background-color: #f6f2fe;
}

.qs-nav-link.active {
  color: var(--qs-purple-700);
  background-color: #f2ebfe;
  font-weight: 700;
}

.qs-flame-emoji {
  font-size: 14px;
  line-height: 1;
}

/* Custom Dropdown Styling */
.qs-dropdown-menu {
  border: 1px solid var(--qs-border-soft);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 16px 40px rgba(32, 10, 68, 0.12);
  min-width: 230px;
}

.qs-dropdown-menu .dropdown-item {
  border-radius: 9px;
  padding: 9px 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--qs-ink-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color var(--qs-transition), color var(--qs-transition);
}

.qs-dropdown-menu .dropdown-item:hover,
.qs-dropdown-menu .dropdown-item.active {
  background-color: var(--qs-purple-50);
  color: var(--qs-purple-700);
}

/* ==========================================================================
   HERO BANNER
   ========================================================================== */

.qs-hero-section {
  margin-top: 6px;
}

.qs-hero-banner {
  position: relative;
  width: 100%;
  height: 360px;
  border-radius: var(--qs-radius-hero);
  overflow: hidden;
  background:
    radial-gradient(ellipse 52% 88% at 32% 72%, rgba(124, 42, 232, 0.34) 0%, rgba(44, 9, 98, 0) 70%),
    radial-gradient(ellipse 40% 65% at 14% 28%, rgba(105, 29, 198, 0.28) 0%, rgba(30, 5, 68, 0) 68%),
    linear-gradient(100deg, #270758 0%, #3b0b7e 38%, #22064d 72%, #1a043d 100%);
  box-shadow: 0 18px 42px rgba(48, 12, 99, 0.18);
}

.qs-hero-img {
  position: absolute;
  top: -4%;
  right: 0;
  height: 108%;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: right center;
  user-select: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.55) 14%, #000000 30%, #000000 100%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.55) 14%, #000000 30%, #000000 100%);
  transition: opacity 260ms ease, transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Controlled dark purple scrim on the left half to guarantee razor-sharp text contrast */
.qs-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(30, 5, 68, 0.55) 0%,
    rgba(42, 8, 92, 0.28) 40%,
    rgba(46, 10, 98, 0) 60%
  );
  z-index: 1;
}

.qs-hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 56px 46px 68px;
  max-width: 640px;
}

.qs-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #e6d7fc;
  margin-bottom: 12px;
}

.qs-hero-kicker-line {
  display: inline-block;
  width: 44px;
  height: 1px;
  background: rgba(235, 220, 255, 0.55);
}

.qs-hero-title {
  font-family: var(--qs-font-display);
  font-size: 46px;
  font-weight: 900;
  font-style: italic;
  line-height: 1.07;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 14px 0;
  text-shadow: 0 4px 18px rgba(15, 2, 38, 0.35);
}

.qs-hero-title-accent {
  color: #cb85ff;
}

.qs-hero-subtitle {
  font-size: 16px;
  font-weight: 400;
  color: #f1e8ff;
  margin: 0 0 24px 0;
  line-height: 1.45;
}

.qs-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 12px 26px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--qs-purple-700);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  box-shadow: 0 10px 24px rgba(24, 4, 56, 0.32);
  transition: transform var(--qs-transition), box-shadow var(--qs-transition), background-color var(--qs-transition);
}

.qs-hero-cta:hover {
  background: #fbf8ff;
  color: var(--qs-purple-800);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(24, 4, 56, 0.4);
}

.qs-hero-cta i {
  font-size: 17px;
  transition: transform var(--qs-transition);
}

.qs-hero-cta:hover i {
  transform: translateX(3px);
}

/* Carousel Pagination Dots at Bottom Center */
.qs-hero-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.qs-hero-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  transition: width 220ms ease, background-color 220ms ease;
}

.qs-hero-dot.active {
  width: 24px;
  background: #a855f7;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.75);
}

/* ==========================================================================
   TRUST / VALUE PROPOSITION BAR
   ========================================================================== */

.qs-trust-section {
  margin-top: 16px;
}

.qs-trust-bar {
  background: #f4f0fc;
  border: 1px solid #ece6f8;
  border-radius: 16px;
  padding: 17px 14px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.qs-trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 2px 16px;
  position: relative;
}

.qs-trust-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 36px;
  background: #e1daf1;
}

.qs-trust-icon {
  font-size: 29px;
  color: var(--qs-purple-700);
  line-height: 1;
  flex-shrink: 0;
}

.qs-trust-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.qs-trust-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--qs-ink-900);
}

.qs-trust-sub {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--qs-ink-500);
}

/* ==========================================================================
   SECTION HEADERS (Top Categories / Trending Products)
   ========================================================================== */

.qs-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.qs-section-title-group {
  display: flex;
  flex-direction: column;
}

.qs-section-title {
  font-family: var(--qs-font-sans);
  font-size: 21.5px;
  font-weight: 800;
  color: var(--qs-ink-900);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.015em;
}

.qs-section-underline {
  display: block;
  width: 48px;
  height: 3px;
  border-radius: 99px;
  background: var(--qs-purple-700);
  margin-top: 7px;
}

.qs-view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--qs-purple-700);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--qs-transition), gap var(--qs-transition);
}

.qs-view-all-link:hover {
  color: var(--qs-purple-800);
  gap: 9px;
}

/* ==========================================================================
   TOP CATEGORIES (8-Column Card Grid)
   ========================================================================== */

.qs-categories-section {
  margin-top: 26px;
}

.qs-categories-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 14px;
}

.qs-category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px 10px 14px;
  border-radius: 16px;
  background: #f7f4fd;
  border: 1.5px solid #f0eafb;
  text-decoration: none;
  color: var(--qs-ink-900);
  cursor: pointer;
  transition: transform var(--qs-transition), border-color var(--qs-transition), box-shadow var(--qs-transition), background-color var(--qs-transition);
}

.qs-category-card:hover {
  transform: translateY(-3px);
  border-color: #d6c2fa;
  background: #f5effe;
  box-shadow: 0 10px 24px rgba(104, 30, 194, 0.09);
}

.qs-category-card.is-active {
  border-color: var(--qs-purple-600);
  background: #efe6ff;
  box-shadow: 0 8px 20px rgba(104, 30, 194, 0.14);
}

.qs-category-thumb {
  width: 82px;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  border-radius: 12px;
  overflow: hidden;
  background: #f7f4fd;
}

.qs-category-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.qs-category-card:hover .qs-category-thumb img {
  transform: scale(1.07);
}

.qs-category-more-icon {
  font-size: 36px;
  color: var(--qs-purple-700);
  line-height: 1;
}

.qs-category-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #1f2430;
  line-height: 1.2;
}

/* ==========================================================================
   TRENDING PRODUCTS (6-Column Desktop Product Grid)
   ========================================================================== */

.qs-trending-section {
  margin-top: 30px;
  padding-bottom: 56px;
}

.qs-filter-status-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  background: #f7f4fd;
  border: 1px solid var(--qs-border-soft);
  border-radius: 12px;
  padding: 10px 16px;
  margin-bottom: 18px;
  font-size: 13.5px;
}

.qs-filter-status-bar.is-visible {
  display: flex;
}

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

.qs-product-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #ede9f5;
  border-radius: 16px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  transition: transform var(--qs-transition), box-shadow var(--qs-transition), border-color var(--qs-transition);
}

.qs-product-card:hover {
  transform: translateY(-4px);
  border-color: #d6c3f8;
  box-shadow: 0 14px 30px rgba(68, 22, 134, 0.09);
}

.qs-wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: #6b7280;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color var(--qs-transition), transform var(--qs-transition), background-color var(--qs-transition);
}

.qs-wishlist-btn:hover {
  color: var(--qs-pink-badge);
  background: #fdf2f8;
  transform: scale(1.08);
}

.qs-wishlist-btn.is-active {
  color: var(--qs-pink-badge);
}

.qs-product-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  cursor: pointer;
}

.qs-product-media img {
  width: 92%;
  height: 92%;
  object-fit: contain;
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.qs-product-card:hover .qs-product-media img {
  transform: scale(1.06);
}

.qs-product-cat {
  font-size: 11px;
  font-weight: 600;
  color: var(--qs-ink-500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.qs-product-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--qs-ink-900);
  line-height: 1.35;
  margin: 0 0 6px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 36px;
  cursor: pointer;
}

.qs-product-title:hover {
  color: var(--qs-purple-700);
}

.qs-product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--qs-ink-500);
  margin-bottom: 10px;
}

.qs-product-rating i {
  color: #f59e0b;
  font-size: 12px;
}

.qs-product-rating strong {
  color: var(--qs-ink-900);
  font-weight: 700;
}

.qs-product-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.qs-price-row {
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-variant-numeric: tabular-nums;
}

.qs-price-now {
  font-size: 16px;
  font-weight: 800;
  color: var(--qs-purple-700);
}

.qs-price-old {
  font-size: 12px;
  color: #9ca3af;
  text-decoration: line-through;
}

.qs-add-cart-btn {
  width: 100%;
  height: 36px;
  border-radius: 10px;
  border: 1.5px solid #e5d8fb;
  background: #f8f4ff;
  color: var(--qs-purple-700);
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: background-color var(--qs-transition), color var(--qs-transition), border-color var(--qs-transition);
}

.qs-add-cart-btn:hover {
  background: linear-gradient(135deg, #7c2ae8 0%, #5b18b0 100%);
  border-color: transparent;
  color: #ffffff;
}

.qs-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 44px 20px;
  background: var(--qs-purple-50);
  border-radius: 16px;
  border: 1px dashed #d6c2fa;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.qs-footer {
  background: #faf8fe;
  border-top: 1px solid #ece6f7;
  padding: 44px 0 28px;
  color: var(--qs-ink-700);
}

.qs-footer-heading {
  font-size: 14px;
  font-weight: 800;
  color: var(--qs-ink-900);
  margin-bottom: 14px;
}

.qs-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.qs-footer-links a {
  font-size: 13.5px;
  color: var(--qs-ink-500);
  text-decoration: none;
  transition: color var(--qs-transition);
}

.qs-footer-links a:hover {
  color: var(--qs-purple-700);
}

.qs-footer-bottom {
  border-top: 1px solid #e9e2f5;
  margin-top: 32px;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--qs-ink-500);
}

/* ==========================================================================
   DRAWERS, MODALS & TOASTS (Zero-SVG Custom Close Buttons)
   ========================================================================== */

.qs-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--qs-border-soft);
  background: #ffffff;
  color: var(--qs-ink-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color var(--qs-transition), color var(--qs-transition);
}

.qs-close-btn:hover {
  background: var(--qs-purple-50);
  color: var(--qs-purple-700);
}

.qs-cart-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f0ebf8;
}

.qs-cart-item-img {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  border: 1px solid #eee9f7;
  object-fit: contain;
  padding: 4px;
  background: #ffffff;
  flex-shrink: 0;
}

.qs-qty-box {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--qs-border-input);
  border-radius: 8px;
  overflow: hidden;
}

.qs-qty-box button {
  width: 26px;
  height: 26px;
  border: 0;
  background: #f8f5fe;
  color: var(--qs-ink-900);
  font-weight: 700;
  cursor: pointer;
}

.qs-qty-box span {
  min-width: 26px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.qs-btn-primary {
  background: linear-gradient(135deg, #7c2ae8 0%, #5616ab 100%);
  color: #ffffff;
  border: 0;
  border-radius: 12px;
  font-weight: 700;
  padding: 11px 20px;
  transition: filter var(--qs-transition), transform var(--qs-transition);
}

.qs-btn-primary:hover {
  color: #ffffff;
  filter: brightness(1.07);
}

.qs-toast-stack {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1090;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.qs-toast {
  background: #1f0a3f;
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(26, 6, 56, 0.28);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
  animation: qsToastIn 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes qsToastIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Menu Button */
.qs-mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--qs-border-soft);
  background: #f8f5fe;
  color: var(--qs-purple-700);
  font-size: 20px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ==========================================================================
   FLASH DEALS SECTION
   ========================================================================== */
.qs-flash-deals-section {
  padding: 42px 0 20px;
}

.qs-flash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.qs-flash-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.qs-flash-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e63946 0%, #d90429 100%);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(230, 57, 70, 0.28);
}

.qs-flash-title {
  font-family: var(--qs-font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--qs-ink-900);
  margin: 0;
  letter-spacing: -0.02em;
}

.qs-countdown-card {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fdf2f4;
  border: 1.5px solid #fbd0d5;
  padding: 8px 18px;
  border-radius: 999px;
}

.qs-countdown-label {
  font-size: 12.5px;
  font-weight: 700;
  color: #b70928;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.qs-countdown-timer {
  display: flex;
  align-items: center;
  gap: 4px;
}

.qs-time-box {
  background: #b70928;
  color: #ffffff;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}

.qs-time-box small {
  font-size: 9.5px;
  opacity: 0.85;
}

.qs-time-sep {
  font-weight: 800;
  color: #b70928;
}

.qs-flash-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.qs-flash-card {
  position: relative;
  background: #ffffff;
  border: 1.5px solid #f6e2e5;
  border-radius: 18px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  transition: transform var(--qs-transition), box-shadow var(--qs-transition), border-color var(--qs-transition);
}

.qs-flash-card:hover {
  transform: translateY(-4px);
  border-color: #f09ea9;
  box-shadow: 0 16px 36px rgba(183, 9, 40, 0.10);
}

.qs-flash-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  z-index: 2;
}

.qs-discount-badge {
  background: linear-gradient(135deg, #e63946 0%, #b70928 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

.qs-flash-wish-btn {
  position: static;
  width: 32px;
  height: 32px;
}

.qs-flash-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  background: #faf6f7;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  cursor: pointer;
}

.qs-flash-media img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.qs-flash-card:hover .qs-flash-media img {
  transform: scale(1.07);
}

.qs-flash-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.qs-flash-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--qs-ink-900);
  line-height: 1.35;
  margin: 0 0 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
  cursor: pointer;
}

.qs-flash-card-title:hover {
  color: #b70928;
}

.qs-stock-bar-wrap {
  margin-top: auto;
  background: #fdf6f7;
  padding: 8px 10px;
  border-radius: 10px;
}

.qs-stock-text {
  font-size: 11.5px;
  font-weight: 700;
  color: #b70928;
}

.qs-stock-tag {
  font-size: 10.5px;
  font-weight: 600;
  color: #7c8090;
}

.qs-progress-bar {
  height: 6px;
  background: #ebd2d5;
  border-radius: 999px;
  overflow: hidden;
}

.qs-progress-fill {
  background: linear-gradient(90deg, #f72585 0%, #b5179e 100%);
  border-radius: 999px;
  transition: width 400ms ease;
}

.qs-flash-add-btn {
  background: linear-gradient(135deg, #b70928 0%, #82031a 100%);
  color: #ffffff;
  border: none;
}

.qs-flash-add-btn:hover {
  filter: brightness(1.1);
  color: #ffffff;
}

/* ==========================================================================
   PROMO SPLIT BANNERS SECTION
   ========================================================================== */
.qs-promo-banners-section {
  padding: 24px 0 36px;
}

.qs-promo-card {
  position: relative;
  border-radius: 20px;
  padding: 34px 38px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 220px;
  box-shadow: 0 10px 28px rgba(68, 22, 134, 0.08);
}

.qs-promo-card-audio {
  background: linear-gradient(135deg, #2b0b57 0%, #4c1794 65%, #6a24cb 100%);
  color: #ffffff;
}

.qs-promo-card-home {
  background: linear-gradient(135deg, #1f083d 0%, #3f1073 65%, #7b2cbf 100%);
  color: #ffffff;
}

.qs-promo-content {
  position: relative;
  z-index: 2;
  max-width: 62%;
}

.qs-promo-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.qs-promo-tag-gold {
  background: linear-gradient(135deg, #f9c74f 0%, #f8961e 100%);
  color: #1a0833;
}

.qs-promo-title {
  font-family: var(--qs-font-display);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.qs-promo-desc {
  font-size: 13.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 18px;
}

.qs-promo-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 10px;
  background: #ffffff;
  color: var(--qs-purple-700);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform var(--qs-transition), box-shadow var(--qs-transition);
}

.qs-promo-btn:hover {
  transform: translateX(4px);
  color: var(--qs-purple-800);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.qs-promo-media {
  position: absolute;
  right: -10px;
  bottom: -15px;
  width: 210px;
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0.88;
}

.qs-promo-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.35));
}

/* ==========================================================================
   CUSTOMER REVIEWS & TESTIMONIALS SECTION
   ========================================================================== */
.qs-reviews-section {
  padding: 48px 0;
  background: linear-gradient(180deg, rgba(248, 245, 254, 0.4) 0%, rgba(255, 255, 255, 1) 100%);
}

.qs-trust-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 999px;
  background: #eafaf1;
  color: #1f7a45;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.qs-review-card {
  background: #ffffff;
  border: 1px solid #ebe4f7;
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform var(--qs-transition), box-shadow var(--qs-transition);
}

.qs-review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(68, 22, 134, 0.08);
}

.qs-review-stars {
  font-size: 15px;
  display: flex;
  gap: 2px;
}

.qs-verified-badge {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--qs-purple-700);
  background: #f4eeff;
  padding: 3px 8px;
  border-radius: 6px;
}

.qs-review-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--qs-ink-900);
}

.qs-review-comment {
  font-size: 13.5px;
  line-height: 1.55;
}

.qs-reviewer-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--qs-purple-600) 0%, var(--qs-purple-800) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.qs-reviewer-name {
  font-size: 14px;
  color: var(--qs-ink-900);
}

/* ==========================================================================
   POPULAR BRANDS SECTION
   ========================================================================== */
.qs-brands-section {
  padding: 32px 0 24px;
}

.qs-brands-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
}

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

.qs-brand-tile {
  background: #faf8fe;
  border: 1px solid #ebe4f7;
  border-radius: 16px;
  padding: 20px 14px;
  text-align: center;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform var(--qs-transition), border-color var(--qs-transition), box-shadow var(--qs-transition);
}

.qs-brand-tile:hover {
  transform: translateY(-3px);
  border-color: var(--qs-purple-600);
  box-shadow: 0 10px 24px rgba(68, 22, 134, 0.08);
}

.qs-brand-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--qs-purple-700);
  margin-bottom: 10px;
  box-shadow: 0 4px 12px rgba(68, 22, 134, 0.06);
}

.qs-brand-tile-name {
  font-size: 14px;
  color: var(--qs-ink-900);
  margin-bottom: 2px;
}

.qs-brand-tile-category {
  font-size: 11.5px;
  color: var(--qs-ink-500);
}

/* ==========================================================================
   VIP NEWSLETTER SECTION
   ========================================================================== */
.qs-newsletter-section {
  padding: 36px 0 52px;
}

.qs-newsletter-card {
  background: linear-gradient(135deg, #2b0758 0%, #4a1590 55%, #7622d9 100%);
  border-radius: 24px;
  padding: 44px 48px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 46px rgba(43, 7, 88, 0.22);
}

.qs-newsletter-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199, 125, 255, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.qs-newsletter-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.qs-newsletter-title {
  font-family: var(--qs-font-display);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.qs-newsletter-desc {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  max-width: 480px;
}

.qs-newsletter-input-group {
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 999px;
  padding: 6px 6px 6px 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.qs-newsletter-leading-icon {
  font-size: 18px;
  color: #7c8090;
  margin-right: 12px;
}

.qs-newsletter-input {
  flex: 1 1 auto;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14.5px;
  color: var(--qs-ink-900);
}

.qs-newsletter-input::placeholder {
  color: #9da1b0;
}

.qs-newsletter-submit-btn {
  padding: 10px 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--qs-purple-700) 0%, var(--qs-purple-900) 100%);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--qs-transition), filter var(--qs-transition);
  display: inline-flex;
  align-items: center;
}

.qs-newsletter-submit-btn:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

.qs-newsletter-disclaimer {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.72);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Desktop, Laptop, Tablet, Mobile)
   ========================================================================== */

/* Laptop / Desktop (max-width: 1199.98px) */
@media (max-width: 1199.98px) {
  .qs-primary-nav {
    padding-left: 12px;
    gap: 16px;
  }

  .qs-hero-banner {
    height: 320px;
  }

  .qs-hero-content {
    padding: 28px 40px 42px 44px;
  }

  .qs-hero-title {
    font-size: 36px;
  }

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

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

/* Tablet (max-width: 991.98px) */
@media (max-width: 991.98px) {
  .qs-header-top {
    flex-wrap: wrap;
    gap: 12px;
  }

  .qs-search-wrap {
    order: 3;
    flex: 1 0 100%;
    max-width: 100%;
    margin-left: 0;
  }

  .qs-location-btn {
    display: none;
  }

  .qs-mobile-toggle {
    display: inline-flex;
  }

  .qs-header-nav-row {
    gap: 12px;
  }

  .qs-primary-nav {
    overflow-x: auto;
    padding-left: 0;
    padding-bottom: 4px;
    gap: 10px;
    scrollbar-width: none;
  }

  .qs-primary-nav::-webkit-scrollbar {
    display: none;
  }

  .qs-all-cat-btn {
    width: auto;
    gap: 10px;
    padding: 0 14px;
    font-size: 13.5px;
  }

  .qs-trust-bar {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 16px;
  }

  .qs-trust-item:nth-child(2)::after {
    display: none;
  }

  .qs-hero-banner {
    height: 300px;
  }

  .qs-hero-title {
    font-size: 30px;
  }

  .qs-hero-scrim {
    background: linear-gradient(
      90deg,
      rgba(27, 5, 62, 0.94) 0%,
      rgba(36, 7, 82, 0.82) 50%,
      rgba(36, 7, 82, 0.40) 100%
    );
  }

  .qs-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

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

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

  .qs-newsletter-card {
    padding: 34px 28px;
  }
}

/* Tablet & Mobile Devices (max-width: 767.98px) */
@media (max-width: 767.98px) {
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); /* Room for sticky bottom mobile nav with safe area */
  }

  .qs-page-shell::before,
  .qs-page-shell::after {
    display: none; /* Eliminate background glow overflow on mobile */
  }

  .qs-container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .qs-header {
    padding: 10px 0 12px;
  }

  .qs-header-top {
    gap: 10px;
  }

  .qs-header-nav-row {
    display: none; /* Replaced by mobile drawer and sticky bottom bar */
  }

  /* Compact Brand */
  .qs-brand {
    gap: 6px;
  }

  .qs-brand-q {
    width: 36px;
    height: 36px;
  }

  .qs-brand-q-ring::after {
    width: 18px;
    height: 18px;
  }

  .qs-brand-q-tail {
    width: 13px;
    height: 7px;
  }

  .qs-brand-title {
    font-size: 21px;
  }

  .qs-brand-tagline {
    font-size: 7.5px;
    padding-left: 9px;
  }

  /* Header Utility Actions */
  .qs-icon-actions {
    gap: 6px;
  }

  .qs-util-icon-btn,
  .qs-mobile-toggle {
    width: 38px;
    height: 38px;
    font-size: 17px;
  }

  /* Search Input: 16px to prevent iOS auto-zoom */
  .qs-search-wrap {
    margin-top: 2px;
  }

  .qs-search-input {
    height: 44px;
    font-size: 16px;
    padding: 0 44px 0 40px;
    border-radius: 999px;
  }

  .qs-search-leading-icon {
    left: 15px;
    font-size: 14px;
  }

  .qs-search-submit {
    right: 6px;
    width: 32px;
    height: 32px;
  }

  /* Hero Banner */
  .qs-hero-banner {
    min-height: 290px;
    height: auto;
    border-radius: 16px;
    overflow: hidden;
  }

  .qs-hero-img {
    height: 100%;
    width: auto;
    max-width: 70%;
    object-fit: cover;
    right: -25px;
    opacity: 0.38;
  }

  .qs-hero-content {
    padding: 24px 20px 48px;
    max-width: 100%;
  }

  .qs-hero-kicker {
    font-size: 11px;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
  }

  .qs-hero-title {
    font-size: clamp(23px, 6.5vw, 28px);
    line-height: 1.15;
    margin-bottom: 8px;
  }

  .qs-hero-subtitle {
    font-size: 13.5px;
    line-height: 1.4;
    margin-bottom: 16px;
    max-width: 290px;
  }

  .qs-hero-cta {
    padding: 10px 20px;
    font-size: 13px;
    border-radius: 10px;
  }

  .qs-hero-dots {
    bottom: 14px;
    gap: 7px;
  }

  .qs-hero-dot {
    width: 8px;
    height: 8px;
  }

  .qs-hero-dot.active {
    width: 22px;
  }

  /* Trust Benefits Bar: 2 columns on mobile */
  .qs-trust-section {
    padding: 16px 0;
  }

  .qs-trust-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 14px;
    border-radius: 14px;
  }

  .qs-trust-item {
    gap: 10px;
    padding: 4px;
  }

  .qs-trust-item::after {
    display: none;
  }

  .qs-trust-icon {
    width: 38px;
    height: 38px;
    font-size: 18px;
    border-radius: 10px;
    flex-shrink: 0;
  }

  .qs-trust-title {
    font-size: 13px;
  }

  .qs-trust-sub {
    font-size: 11px;
  }

  /* Section Headers */
  .qs-section-header {
    margin-bottom: 14px;
  }

  .qs-section-title {
    font-size: 19px;
  }

  .qs-view-all-link {
    font-size: 12.5px;
  }

  /* Categories Grid: 4 columns in 2 sleek rows on mobile */
  .qs-categories-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .qs-category-card {
    padding: 10px 6px 8px;
    border-radius: 12px;
  }

  .qs-category-thumb {
    width: 56px;
    height: 56px;
    margin-bottom: 6px;
    border-radius: 10px;
  }

  .qs-category-name {
    font-size: 11.5px;
    font-weight: 700;
  }

  .qs-category-more-icon {
    font-size: 26px;
  }

  /* Products Grid: 2 clean columns */
  .qs-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .qs-product-card {
    padding: 11px;
    border-radius: 14px;
  }

  .qs-wishlist-btn {
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .qs-product-media {
    margin-bottom: 8px;
    border-radius: 10px;
  }

  .qs-product-cat {
    font-size: 10.5px;
    margin-bottom: 2px;
  }

  .qs-product-title {
    font-size: 12.5px;
    line-height: 1.3;
    min-height: 32px;
    margin-bottom: 4px;
  }

  .qs-product-rating {
    font-size: 11px;
    gap: 3px;
    margin-bottom: 8px;
  }

  .qs-product-footer {
    gap: 8px;
  }

  .qs-price-now {
    font-size: 15px;
  }

  .qs-price-old {
    font-size: 11.5px;
  }

  .qs-add-cart-btn {
    height: 35px;
    font-size: 12px;
    border-radius: 9px;
  }

  .qs-add-cart-btn i {
    font-size: 13px;
  }

  /* Flash Deals Mobile */
  .qs-flash-deals-section {
    padding: 28px 0 16px;
  }

  .qs-flash-header {
    margin-bottom: 16px;
    gap: 12px;
  }

  .qs-flash-title {
    font-size: 20px;
  }

  .qs-countdown-card {
    padding: 6px 14px;
    gap: 8px;
  }

  .qs-countdown-label {
    font-size: 11px;
  }

  .qs-time-box {
    font-size: 12px;
    padding: 2px 5px;
  }

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

  .qs-flash-card {
    padding: 10px;
    border-radius: 14px;
  }

  .qs-flash-media {
    margin-bottom: 8px;
    border-radius: 10px;
  }

  .qs-flash-card-title {
    font-size: 12.5px;
    line-height: 1.3;
    min-height: 32px;
    margin-bottom: 4px;
  }

  .qs-stock-bar-wrap {
    padding: 6px 8px;
  }

  .qs-stock-text {
    font-size: 10.5px;
  }

  .qs-stock-tag {
    font-size: 9.5px;
  }

  .qs-flash-add-btn {
    height: 34px;
    font-size: 11.5px;
    margin-top: 8px !important;
  }

  /* Promo Cards Mobile */
  .qs-promo-banners-section {
    padding: 16px 0 24px;
  }

  .qs-promo-card {
    padding: 24px 20px;
    min-height: 170px;
    border-radius: 16px;
  }

  .qs-promo-content {
    max-width: 68%;
  }

  .qs-promo-title {
    font-size: 18px;
    line-height: 1.25;
  }

  .qs-promo-desc {
    font-size: 12px;
    line-height: 1.35;
    margin-bottom: 12px;
  }

  .qs-promo-btn {
    padding: 7px 14px;
    font-size: 11.5px;
  }

  .qs-promo-media {
    width: 140px;
    height: 140px;
    right: -10px;
    bottom: -10px;
    opacity: 0.8;
  }

  /* Reviews Mobile */
  .qs-reviews-section {
    padding: 32px 0 24px;
  }

  .qs-review-card {
    padding: 18px;
    border-radius: 14px;
  }

  .qs-review-title {
    font-size: 14px;
  }

  .qs-review-comment {
    font-size: 12.5px;
    margin-bottom: 16px;
  }

  .qs-reviewer-avatar {
    width: 36px;
    height: 36px;
    font-size: 12.5px;
  }

  .qs-reviewer-name {
    font-size: 13px;
  }

  /* Brands Mobile */
  .qs-brands-section {
    padding: 20px 0 16px;
  }

  .qs-brands-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .qs-brand-tile {
    padding: 14px 8px;
    border-radius: 12px;
  }

  .qs-brand-icon-wrap {
    width: 40px;
    height: 40px;
    font-size: 18px;
    border-radius: 10px;
    margin-bottom: 6px;
  }

  .qs-brand-tile-name {
    font-size: 12.5px;
  }

  .qs-brand-tile-category {
    font-size: 10px;
  }

  /* Newsletter Mobile */
  .qs-newsletter-section {
    padding: 24px 0 36px;
  }

  .qs-newsletter-card {
    padding: 26px 18px;
    border-radius: 18px;
  }

  .qs-newsletter-title {
    font-size: 21px;
    line-height: 1.2;
    margin-bottom: 8px;
  }

  .qs-newsletter-desc {
    font-size: 12.5px;
    line-height: 1.45;
  }

  .qs-newsletter-input-group {
    padding: 4px 4px 4px 14px;
  }

  .qs-newsletter-input {
    font-size: 16px;
  }

  .qs-newsletter-submit-btn {
    padding: 9px 16px;
    font-size: 12px;
  }

  /* Quick View Modal adjustments */
  .modal-dialog {
    margin: 12px;
  }

  .modal-body {
    padding: 18px 16px 20px !important;
  }

  /* Footer adjustments */
  .qs-footer {
    padding: 38px 0 24px;
  }

  .qs-footer-heading {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .qs-footer-links li a {
    font-size: 13px;
  }

  .qs-footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 6px;
    font-size: 12px;
    margin-top: 24px;
    padding-top: 16px;
  }

  /* Mobile Fullscreen Offcanvas */
  .offcanvas.offcanvas-start,
  .offcanvas.offcanvas-end {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Mobile Sticky Bottom Bar */
  .qs-mobile-bottom-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(60px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid #ebe4f7;
    z-index: 1040;
    align-items: center;
    justify-content: space-around;
    padding-left: 4px;
    padding-right: 4px;
    box-shadow: 0 -4px 18px rgba(68, 22, 134, 0.08);
  }

  .qs-mob-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--qs-ink-500);
    text-decoration: none;
    font-size: 10.5px;
    font-weight: 600;
    padding: 6px 8px;
    border-radius: 8px;
    flex: 1;
    max-width: 72px;
    transition: color 180ms ease, transform 180ms ease;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .qs-mob-bar-item i {
    font-size: 19px;
    line-height: 1;
    margin-bottom: 3px;
  }

  .qs-mob-bar-item.active,
  .qs-mob-bar-item:hover {
    color: var(--qs-purple-700);
  }

  .qs-mob-badge {
    position: absolute;
    top: -5px;
    right: -10px;
    font-size: 9px;
    min-width: 15px;
    height: 15px;
    line-height: 15px;
    padding: 0 3px;
  }
}

/* Floating Back to Top Button */
.qs-floating-top-btn {
  position: fixed;
  right: 16px;
  bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--qs-purple-700);
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 4px 14px rgba(68, 22, 134, 0.28);
  z-index: 1030;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.9);
  transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease, background-color 150ms ease;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.qs-floating-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.qs-floating-top-btn:active {
  transform: scale(0.92);
  background: var(--qs-purple-800);
}

@media (min-width: 768px) {
  .qs-floating-top-btn {
    bottom: 24px;
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
}

/* Native-feel Tactile Tap Feedback on Touch Devices */
@media (hover: none) and (pointer: coarse) {
  .qs-category-card:active,
  .qs-product-card:active,
  .qs-add-cart-btn:active,
  .qs-hero-cta:active,
  .qs-util-icon-btn:active,
  .qs-mob-bar-item:active {
    transform: scale(0.96);
    transition: transform 90ms ease;
  }
}

/* Extra Small Phones (max-width: 420px) */
@media (max-width: 420px) {
  .qs-brand-tagline {
    display: none; /* Logo mark + title only on small screens to guarantee 1-row layout */
  }

  .qs-brand-title {
    font-size: 19px;
  }

  .qs-brand-q {
    width: 32px;
    height: 32px;
  }

  .qs-brand-q-ring::after {
    width: 16px;
    height: 16px;
  }

  .qs-icon-actions {
    gap: 4px;
  }

  .qs-util-icon-btn,
  .qs-mobile-toggle {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }

  .qs-categories-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
  }

  .qs-category-thumb {
    width: 48px;
    height: 48px;
  }

  .qs-category-name {
    font-size: 10.5px;
  }

  .qs-trust-bar {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .qs-products-grid {
    gap: 8px;
  }

  .qs-product-card {
    padding: 8px;
  }

  .qs-price-now {
    font-size: 13.5px;
  }

  .qs-add-cart-btn {
    height: 33px;
    font-size: 11px;
    padding: 0 6px;
  }

  .qs-hero-title {
    font-size: 22px;
  }

  .qs-hero-content {
    padding: 20px 14px 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Q-STORE — Premium Branded Preloader
   ========================================================================== */
.qs-preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: linear-gradient(135deg, #ffffff 0%, #faf8fe 50%, #f4edfd 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: all;
  user-select: none;
}

.qs-preloader.qs-preloader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.qs-preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px;
}

.qs-preloader-spinner-wrap {
  position: relative;
  width: 84px;
  height: 84px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Outer spinning neon glow ring */
.qs-preloader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3.5px solid rgba(124, 42, 232, 0.12);
  border-top-color: var(--qs-purple-600);
  border-right-color: var(--qs-pink-badge);
  animation: qsPreloaderSpin 1s cubic-bezier(0.55, 0.15, 0.45, 0.85) infinite;
  box-shadow: 0 0 24px rgba(124, 42, 232, 0.2);
}

/* Signature stylized Q icon inside */
.qs-preloader-q {
  position: relative;
  width: 44px;
  height: 44px;
  animation: qsPreloaderPulse 1.8s ease-in-out infinite;
}

.qs-preloader-q-ring {
  display: block;
  width: 38px;
  height: 38px;
  border: 4.5px solid var(--qs-purple-700);
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 4px 14px rgba(104, 30, 194, 0.2);
}

.qs-preloader-q-tail {
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 14px;
  height: 8px;
  background: linear-gradient(135deg, var(--qs-purple-600) 0%, var(--qs-pink-badge) 100%);
  border-radius: 4px;
  transform: rotate(45deg);
  box-shadow: 0 2px 6px rgba(229, 45, 151, 0.3);
}

.qs-preloader-brand {
  margin-bottom: 20px;
}

.qs-preloader-title {
  display: block;
  font-family: var(--qs-font-display);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--qs-purple-950) 0%, var(--qs-purple-700) 50%, var(--qs-purple-500) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 4px;
}

.qs-preloader-dash {
  color: var(--qs-pink-badge);
  -webkit-text-fill-color: var(--qs-pink-badge);
}

.qs-preloader-subtitle {
  display: block;
  font-family: var(--qs-font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--qs-purple-600);
  text-transform: uppercase;
  opacity: 0.85;
}

/* Linear sleek progress track */
.qs-preloader-bar {
  width: 140px;
  height: 4px;
  background: rgba(124, 42, 232, 0.12);
  border-radius: 99px;
  overflow: hidden;
  position: relative;
}

.qs-preloader-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 40%;
  background: linear-gradient(90deg, var(--qs-purple-600) 0%, var(--qs-pink-badge) 100%);
  border-radius: 99px;
  animation: qsPreloaderBar 1.2s ease-in-out infinite;
}

@keyframes qsPreloaderSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes qsPreloaderPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.93); opacity: 0.85; }
}

@keyframes qsPreloaderBar {
  0% { left: -40%; width: 30%; }
  50% { left: 30%; width: 50%; }
  100% { left: 100%; width: 30%; }
}

/* ==========================================================================
   VIDEO REFERRAL & 70% BV REWARD STYLES (Video 0:18 – 0:29)
   ========================================================================== */

/* Ambient backdrop wave in modal header */
.qs-modal-wave-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 120%, rgba(229, 45, 151, 0.35) 0%, rgba(124, 42, 232, 0.1) 60%, transparent 100%);
  pointer-events: none;
}

/* World Network Container */
.qs-world-network-box {
  background: linear-gradient(135deg, #0e0326 0%, #1a0640 50%, #2a0b63 100%);
  border: 1px solid rgba(124, 42, 232, 0.3);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.4);
}

.qs-network-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

/* World Map Graphic & Nodes */
.qs-world-map-graphic {
  height: 160px;
  width: 100%;
}

.qs-pulse-node {
  position: absolute;
  z-index: 5;
  transform: translate(-50%, -50%);
}

.qs-node-colombo {
  top: 52%;
  left: 50%;
}

.qs-node-dubai {
  top: 38%;
  left: 32%;
}

.qs-node-london {
  top: 25%;
  left: 20%;
}

.qs-node-singapore {
  top: 65%;
  left: 66%;
}

.qs-node-ny {
  top: 32%;
  left: 76%;
}

.qs-node-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffc107;
  border: 3px solid #ffffff;
  box-shadow: 0 0 14px #ffc107;
  position: relative;
  z-index: 2;
}

.qs-node-dot-small {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #7c2ae8;
  border: 2px solid #ffffff;
  box-shadow: 0 0 10px #9345f5;
  animation: qsNodeBlink 2s infinite ease-in-out;
}

.qs-node-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #ffc107;
  white-space: nowrap;
  margin-top: 4px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.qs-radar-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid rgba(255, 193, 7, 0.75);
  transform: translate(-50%, -50%);
  animation: qsRadarPulse 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.qs-network-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.qs-ray-line {
  stroke: rgba(255, 193, 7, 0.5);
  stroke-width: 1.5;
  stroke-dasharray: 4 4;
  animation: qsRayFlow 1.5s linear infinite;
}

.qs-map-slogan {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  font-family: var(--qs-font-display);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
}

/* Reward Notification Modal Animation & Glow */
.qs-reward-burst-glow {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.35) 0%, rgba(124, 42, 232, 0.15) 50%, transparent 70%);
  filter: blur(12px);
  pointer-events: none;
}

.qs-reward-badge-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, #198754 0%, #20c997 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  box-shadow: 0 8px 24px rgba(25, 135, 84, 0.35);
  animation: qsBadgePop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

/* Keyframe Animations */
@keyframes qsRadarPulse {
  0% { width: 16px; height: 16px; opacity: 1; }
  100% { width: 90px; height: 90px; opacity: 0; }
}

@keyframes qsNodeBlink {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; background: #e52d97; }
}

@keyframes qsRayFlow {
  0% { stroke-dashoffset: 16; }
  100% { stroke-dashoffset: 0; }
}

@keyframes qsBadgePop {
  0% { transform: scale(0.3) rotate(-20deg); opacity: 0; }
  70% { transform: scale(1.15) rotate(5deg); opacity: 1; }
  100% { transform: scale(1) rotate(0deg); }
}

/* Highlight row in ledger */
#qs-reward-highlight {
  animation: qsLedgerGlow 2s ease-in-out infinite alternate;
}

@keyframes qsLedgerGlow {
  0% { background-color: rgba(255, 193, 7, 0.15); }
  100% { background-color: rgba(25, 135, 84, 0.18); }
}


