/* ==========================================================================
   UDAANMART STITCH UI - ULTRA-MODERN LUXURY CREAM DESIGN SYSTEM
   Pixel-perfect implementation of the Stitch Screen UI Design
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOP UTILITY & ANNOUNCEMENT STRIP
   -------------------------------------------------------------------------- */
.nav-utility-bar {
  background-color: #f7f3ea;
  border-bottom: 1px solid #eae2d3;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.2;
}

[data-theme="dark"] .nav-utility-bar {
  background-color: #0d131f;
  border-bottom-color: #1e293b;
  color: #94a3b8;
}

.utility-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 6px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.utility-left {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.utility-left:hover {
  color: #d97706;
}

.utility-pin {
  font-size: 0.85rem;
}

.utility-deliver-text strong {
  color: #1e293b;
  font-weight: 700;
}

[data-theme="dark"] .utility-deliver-text strong {
  color: #f1f5f9;
}

.utility-center {
  flex: 1;
  text-align: center;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 12px;
}

[data-theme="dark"] .utility-center {
  color: #94a3b8;
}

.utility-right {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.utility-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  color: inherit;
  background: transparent;
  border: none;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 2px 4px;
  border-radius: 4px;
  transition: all 0.15s ease;
}

.utility-item:hover {
  color: #1e293b;
}

[data-theme="dark"] .utility-item:hover {
  color: #ffffff;
}

.utility-select {
  background: transparent;
  border: none;
  color: inherit;
  font-size: inherit;
  font-weight: 600;
  cursor: pointer;
  outline: none;
}

.utility-select option {
  background-color: #ffffff;
  color: #1e293b;
}

[data-theme="dark"] .utility-select option {
  background-color: #0f172a;
  color: #f1f5f9;
}

.utility-divider {
  color: #cbd5e1;
  font-size: 0.75rem;
}

/* --------------------------------------------------------------------------
   2. MAIN HEADER (CREAM / WHITE LUXURY)
   -------------------------------------------------------------------------- */
.nav-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  background-color: #ffffff !important;
  color: #1e293b !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06) !important;
  border-bottom: 1px solid #ebe4d8 !important;
  width: 100% !important;
}

[data-theme="dark"] .nav-header {
  background-color: #0f172a !important;
  color: #f1f5f9 !important;
  border-bottom-color: #1e293b !important;
}

.nav-top-bar {
  max-width: 1440px !important;
  height: 68px !important;
  padding: 0 20px !important;
  gap: 20px !important;
}

.nav-logo-box {
  padding: 4px 0 !important;
  border: none !important;
}

.nav-brand-img {
  height: 38px !important;
  max-width: 170px !important;
}

/* Modern Pill Search Bar */
.nav-search-wrapper {
  flex: 1 !important;
  display: flex !important;
  align-items: center !important;
  height: 44px !important;
  background-color: #ffffff !important;
  border: 1.5px solid #ded5c5 !important;
  border-radius: 9999px !important;
  overflow: hidden !important;
  box-shadow: 0 1px 4px rgba(120, 100, 80, 0.05) !important;
  transition: all 0.2s ease !important;
}

[data-theme="dark"] .nav-search-wrapper {
  background-color: #1e293b !important;
  border-color: #334155 !important;
}

.nav-search-wrapper:focus-within {
  border-color: #f59e0b !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2) !important;
}

.nav-search-category {
  background: #fbf9f5 !important;
  border: none !important;
  border-right: 1px solid #eae2d3 !important;
  color: #334155 !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  padding: 0 14px 0 16px !important;
  height: 100% !important;
  cursor: pointer !important;
  outline: none !important;
}

[data-theme="dark"] .nav-search-category {
  background: #1e293b !important;
  border-right-color: #334155 !important;
  color: #cbd5e1 !important;
}

.nav-search-input {
  flex: 1 !important;
  height: 100% !important;
  border: none !important;
  background: transparent !important;
  padding: 0 14px !important;
  font-size: 0.92rem !important;
  color: #1e293b !important;
  outline: none !important;
}

[data-theme="dark"] .nav-search-input {
  color: #f1f5f9 !important;
}

.nav-search-input::placeholder {
  color: #94a3b8 !important;
  font-size: 0.88rem !important;
}

.nav-search-voice-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  border-radius: 50%;
  margin-right: 4px;
  transition: all 0.15s ease;
}

.nav-search-voice-btn:hover {
  background-color: #f1f5f9;
  color: #1e293b;
}

.nav-search-submit {
  width: 48px !important;
  height: 38px !important;
  margin-right: 3px !important;
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  border: none !important;
  border-radius: 9999px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}

.nav-search-submit:hover {
  transform: scale(1.03) !important;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4) !important;
}

.nav-search-submit svg {
  fill: #ffffff !important;
  width: 18px !important;
  height: 18px !important;
}

/* Right Nav Item Texts */
.nav-item-box {
  color: #1e293b !important;
  padding: 6px 12px !important;
  border-radius: 8px !important;
  transition: background-color 0.15s ease !important;
}

[data-theme="dark"] .nav-item-box {
  color: #f1f5f9 !important;
}

.nav-item-box:hover {
  background-color: #f8fafc !important;
  border-color: transparent !important;
}

[data-theme="dark"] .nav-item-box:hover {
  background-color: #1e293b !important;
}

.nav-item-small {
  color: #64748b !important;
  font-size: 0.72rem !important;
}

.nav-item-bold {
  color: #1e293b !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
}

[data-theme="dark"] .nav-item-bold {
  color: #f1f5f9 !important;
}

/* Cart Button in Header */
.nav-cart-box {
  color: #1e293b !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 6px 12px !important;
  border-radius: 8px !important;
  transition: background-color 0.15s ease !important;
}

[data-theme="dark"] .nav-cart-box {
  color: #f1f5f9 !important;
}

.nav-cart-box:hover {
  background-color: #f8fafc !important;
  border-color: transparent !important;
}

.nav-cart-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.cart-icon-svg {
  width: 26px !important;
  height: 26px !important;
  fill: #1e293b !important;
}

[data-theme="dark"] .cart-icon-svg {
  fill: #f1f5f9 !important;
}

.nav-cart-count {
  position: absolute !important;
  top: -8px !important;
  left: 12px !important;
  background: #f59e0b !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 0.75rem !important;
  width: 20px !important;
  height: 20px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 2px solid #ffffff !important;
}

[data-theme="dark"] .nav-cart-count {
  border-color: #0f172a !important;
}

.nav-cart-label {
  font-weight: 700 !important;
  font-size: 0.88rem !important;
}

/* User Profile Avatar Pill */
.nav-user-avatar-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 4px;
}

.nav-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #f59e0b;
}

/* --------------------------------------------------------------------------
   3. SUB-NAV STRIP (CATEGORIES WITH PILL BADGES)
   -------------------------------------------------------------------------- */
.nav-sub-bar {
  background-color: #fdfbf7 !important;
  border-bottom: 1px solid #ebe4d8 !important;
  height: 42px !important;
  padding: 0 20px !important;
  width: 100% !important;
}

[data-theme="dark"] .nav-sub-bar {
  background-color: #0d131f !important;
  border-bottom-color: #1e293b !important;
}

.nav-sub-left {
  gap: 6px !important;
}

.nav-sub-item {
  color: #334155 !important;
  font-size: 0.84rem !important;
  font-weight: 600 !important;
  padding: 6px 10px !important;
  border-radius: 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: all 0.15s ease !important;
}

[data-theme="dark"] .nav-sub-item {
  color: #cbd5e1 !important;
}

.nav-sub-item:hover {
  background-color: #f4eee2 !important;
  color: #1e293b !important;
  border-color: transparent !important;
}

[data-theme="dark"] .nav-sub-item:hover {
  background-color: #1e293b !important;
  color: #ffffff !important;
}

.sub-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 9999px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

.sub-badge-red {
  background-color: #fee2e2;
  color: #dc2626;
}

.sub-badge-gold {
  background-color: #fef3c7;
  color: #b45309;
}

.sub-badge-studio {
  background-color: #f1f5f9;
  color: #475569;
}

/* --------------------------------------------------------------------------
   4. HERO BANNER SECTION (DARK LUXURY SHOWCASE CARD)
   -------------------------------------------------------------------------- */
.hero-stitch-container {
  max-width: 1400px;
  margin: 18px auto 32px;
  padding: 0 16px;
}

.hero-luxury-card {
  position: relative;
  background: linear-gradient(135deg, #090e17 0%, #0d1524 60%, #111b2e 100%);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(10, 15, 25, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 480px;
}

.hero-luxury-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(1.02);
  z-index: 1;
}

.hero-luxury-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.hero-luxury-bg-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 58%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.65;
  filter: contrast(1.05) saturate(1.1);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.8) 35%, rgba(0,0,0,1) 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.8) 35%, rgba(0,0,0,1) 100%);
  pointer-events: none;
}

.hero-luxury-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 56px 48px;
  color: #ffffff;
}

.hero-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.hero-gold-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0f172a;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.hero-location-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e2e8f0;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 9999px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.8px;
  color: #ffffff;
  margin-bottom: 18px;
}

.hero-subheadline {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 28px;
  max-width: 580px;
}

.hero-actions-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 13px 26px;
  border-radius: 9999px;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
  transition: all 0.2s ease;
  text-decoration: none;
}

.hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.55);
  color: #0f172a;
  text-decoration: none;
}

.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 9999px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #ffffff;
  color: #ffffff;
  text-decoration: none;
}

.hero-guarantee-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 30px;
}

.hero-stats-ticker {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.84rem;
  color: #94a3b8;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}

.hero-stats-ticker strong {
  color: #ffffff;
}

.ticker-dot {
  color: #f59e0b;
}

/* Hero Carousel Arrow Controls */
.hero-arrow-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all 0.2s ease;
}

.hero-arrow-nav:hover {
  background: rgba(245, 158, 11, 0.9);
  color: #0f172a;
  transform: translateY(-50%) scale(1.08);
}

.hero-arrow-prev { left: 16px; }
.hero-arrow-next { right: 16px; }

/* --------------------------------------------------------------------------
   5. QUAD CATEGORY CARDS (ROW 1)
   -------------------------------------------------------------------------- */
.quad-grid-container {
  max-width: 1400px;
  margin: 0 auto 36px;
  padding: 0 16px;
}

.quad-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.quad-card {
  background: #ffffff;
  border: 1px solid #ebe4d8;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(120, 100, 80, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  color: inherit;
}

[data-theme="dark"] .quad-card {
  background: #151d26;
  border-color: #263342;
}

.quad-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(120, 100, 80, 0.1);
  border-color: #f59e0b;
}

.quad-card-header {
  margin-bottom: 14px;
}

.quad-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.2;
}

[data-theme="dark"] .quad-card-title {
  color: #f1f5f9;
}

.quad-card-sub {
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 3px;
  display: block;
}

.quad-card-media {
  width: 100%;
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 14px;
  background-color: #f8fafc;
}

.quad-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.quad-card:hover .quad-card-img {
  transform: scale(1.05);
}

.quad-card-footer {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 700;
  color: #d97706;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.quad-card-footer .arrow {
  transition: transform 0.15s ease;
}

.quad-card:hover .quad-card-footer .arrow {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   6. CURATED FLAGSHIPS ("Experience Next-Level Living")
   -------------------------------------------------------------------------- */
.flagships-section {
  max-width: 1400px;
  margin: 0 auto 48px;
  padding: 0 16px;
}

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

.flagships-tag {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #d97706;
  margin-bottom: 4px;
  display: block;
}

.flagships-title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  color: #1e293b;
  letter-spacing: -0.4px;
}

[data-theme="dark"] .flagships-title {
  color: #f1f5f9;
}

.flagships-filter-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.flagship-pill {
  padding: 7px 16px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid #ded5c5;
  background: #ffffff;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
}

[data-theme="dark"] .flagship-pill {
  background: #1e293b;
  border-color: #334155;
  color: #cbd5e1;
}

.flagship-pill:hover,
.flagship-pill.is-active {
  background: #1e293b;
  color: #ffffff;
  border-color: #1e293b;
}

[data-theme="dark"] .flagship-pill:hover,
[data-theme="dark"] .flagship-pill.is-active {
  background: #f59e0b;
  color: #0f172a;
  border-color: #f59e0b;
}

.flagship-browse-link {
  font-size: 0.84rem;
  font-weight: 700;
  color: #d97706;
  margin-left: 8px;
  text-decoration: none;
}

.flagship-browse-link:hover {
  text-decoration: underline;
}

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

.flagship-card {
  background: #ffffff;
  border: 1px solid #ebe4d8;
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(120, 100, 80, 0.04);
  transition: all 0.2s ease;
}

[data-theme="dark"] .flagship-card {
  background: #151d26;
  border-color: #263342;
}

.flagship-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(120, 100, 80, 0.1);
  border-color: #f59e0b;
}

.flagship-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.flagship-card-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #1e293b;
}

[data-theme="dark"] .flagship-card-name {
  color: #f1f5f9;
}

.flagship-spec-chip {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  background: #f1f5f9;
  color: #475569;
  border-radius: 9999px;
  white-space: nowrap;
}

[data-theme="dark"] .flagship-spec-chip {
  background: #1e293b;
  color: #94a3b8;
}

.flagship-card-sub {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.35;
  margin-bottom: 14px;
  min-height: 32px;
}

.flagship-media {
  width: 100%;
  height: 160px;
  border-radius: 12px;
  overflow: hidden;
  background: #f8fafc;
  margin-bottom: 16px;
}

.flagship-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.flagship-card:hover .flagship-img {
  transform: scale(1.05);
}

.flagship-item-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.flagship-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}

[data-theme="dark"] .flagship-item-row {
  border-bottom-color: #1e293b;
}

.flagship-item-name {
  color: #334155;
  font-weight: 500;
}

[data-theme="dark"] .flagship-item-name {
  color: #cbd5e1;
}

.flagship-item-price {
  font-weight: 700;
  color: #1e293b;
}

[data-theme="dark"] .flagship-item-price {
  color: #f1f5f9;
}

.flagship-bottom-link {
  margin-top: auto;
  font-size: 0.84rem;
  font-weight: 700;
  color: #d97706;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.flagship-bottom-link:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   7. TREASURES OF INDIAN HERITAGE (SHOWCASE BANNER)
   -------------------------------------------------------------------------- */
.heritage-showcase-container {
  max-width: 1400px;
  margin: 0 auto 48px;
  padding: 0 16px;
}

.heritage-card-wrap {
  background: #ffffff;
  border: 1px solid #ebe4d8;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(120, 100, 80, 0.05);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  padding: 40px;
}

[data-theme="dark"] .heritage-card-wrap {
  background: #131a24;
  border-color: #263342;
}

.heritage-left-content {
  display: flex;
  flex-direction: column;
}

.heritage-badge-cluster {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.heritage-auth-badge {
  background: #fef3c7;
  color: #b45309;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 5px 12px;
  border-radius: 9999px;
}

.heritage-provenance-chip {
  background: #f1f5f9;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 9999px;
}

[data-theme="dark"] .heritage-provenance-chip {
  background: #1e293b;
  color: #94a3b8;
}

.heritage-main-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.18;
  color: #1e293b;
  letter-spacing: -0.6px;
  margin-bottom: 14px;
}

[data-theme="dark"] .heritage-main-title {
  color: #f1f5f9;
}

.heritage-main-desc {
  font-size: 0.96rem;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 20px;
}

[data-theme="dark"] .heritage-main-desc {
  color: #94a3b8;
}

.heritage-quote-box {
  background: #faf6ee;
  border-left: 3px solid #f59e0b;
  padding: 14px 18px;
  border-radius: 0 10px 10px 0;
  margin-bottom: 24px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #334155;
  font-style: italic;
}

[data-theme="dark"] .heritage-quote-box {
  background: #1a2332;
  color: #cbd5e1;
}

.heritage-regions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 26px;
}

.heritage-region-item {
  background: #faf8f5;
  border: 1px solid #ebe4d8;
  border-radius: 10px;
  padding: 10px 14px;
}

[data-theme="dark"] .heritage-region-item {
  background: #182230;
  border-color: #263342;
}

.region-city {
  font-size: 0.78rem;
  font-weight: 800;
  color: #d97706;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  display: block;
}

.region-craft {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e293b;
}

[data-theme="dark"] .region-craft {
  color: #f1f5f9;
}

.region-sub {
  font-size: 0.74rem;
  color: #64748b;
  display: block;
}

.heritage-btn-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.heritage-btn-explore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #231d16;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.heritage-btn-explore:hover {
  background: #d97706;
  color: #ffffff;
  transform: translateY(-2px);
  text-decoration: none;
}

.heritage-btn-video {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid #ded5c5;
  color: #1e293b;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s ease;
}

[data-theme="dark"] .heritage-btn-video {
  border-color: #334155;
  color: #f1f5f9;
}

.heritage-btn-video:hover {
  border-color: #1e293b;
  text-decoration: none;
}

.heritage-dir-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
}

.heritage-dir-link:hover {
  color: #d97706;
  text-decoration: underline;
}

/* Right Media Block */
.heritage-right-media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 420px;
  background: #111827;
}

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

.heritage-floating-pin {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 9999px;
}

.heritage-floating-glass {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
}

.glass-tag-title {
  font-size: 0.86rem;
  font-weight: 700;
}

.glass-tag-sub {
  font-size: 0.72rem;
  color: #94a3b8;
}

.glass-btn-meet {
  background: #f59e0b;
  color: #0f172a;
  border: none;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.glass-btn-meet:hover {
  background: #d97706;
}

/* --------------------------------------------------------------------------
   8. TRENDING RECOMMENDATIONS FOR YOU (FLASH DEALS PRODUCT GRID)
   -------------------------------------------------------------------------- */
.trending-deals-container {
  max-width: 1400px;
  margin: 0 auto 50px;
  padding: 0 16px;
}

.trending-deals-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 16px;
}

.trending-flash-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fee2e2;
  color: #dc2626;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 6px;
}

.trending-main-title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  color: #1e293b;
  letter-spacing: -0.4px;
}

[data-theme="dark"] .trending-main-title {
  color: #f1f5f9;
}

.trending-filter-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.trending-tab-btn {
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid #ded5c5;
  background: #ffffff;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
}

[data-theme="dark"] .trending-tab-btn {
  background: #1e293b;
  border-color: #334155;
  color: #cbd5e1;
}

.trending-tab-btn:hover,
.trending-tab-btn.is-active {
  background: #1e293b;
  color: #ffffff;
  border-color: #1e293b;
}

[data-theme="dark"] .trending-tab-btn:hover,
[data-theme="dark"] .trending-tab-btn.is-active {
  background: #f59e0b;
  color: #0f172a;
  border-color: #f59e0b;
}

/* 4 Featured Products Grid */
.trending-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trending-prod-card {
  background: #ffffff;
  border: 1px solid #ebe4d8;
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 2px 10px rgba(120, 100, 80, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

[data-theme="dark"] .trending-prod-card {
  background: #151d26;
  border-color: #263342;
}

.trending-prod-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(120, 100, 80, 0.12);
  border-color: #f59e0b;
}

.card-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  min-height: 26px;
}

.card-badges-left {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.badge-amber {
  background: #fef3c7;
  color: #b45309;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 9999px;
  text-transform: uppercase;
}

.badge-gray {
  background: #f1f5f9;
  color: #475569;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 9999px;
}

.badge-dark {
  background: #0f172a;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 9999px;
}

.badge-red {
  background: #fee2e2;
  color: #dc2626;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 9999px;
}

.badge-karigar {
  background: #78350f;
  color: #fef3c7;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 9999px;
}

.btn-wishlist-heart {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #ebe4d8;
  background: #ffffff;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: 0.9rem;
}

[data-theme="dark"] .btn-wishlist-heart {
  background: #1e293b;
  border-color: #334155;
  color: #94a3b8;
}

.btn-wishlist-heart:hover,
.btn-wishlist-heart.is-active {
  color: #ef4444;
  border-color: #fecaca;
  background: #fff1f2;
}

.trending-prod-thumb-wrap {
  width: 100%;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  background: #faf8f5;
  margin-bottom: 14px;
  cursor: pointer;
}

.trending-prod-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.trending-prod-card:hover .trending-prod-img {
  transform: scale(1.06);
}

.trending-prod-cat {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
  margin-bottom: 4px;
  display: block;
}

.trending-prod-title {
  font-size: 0.94rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.35;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
  cursor: pointer;
}

[data-theme="dark"] .trending-prod-title {
  color: #f1f5f9;
}

.trending-prod-title:hover {
  color: #d97706;
}

.trending-prod-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  margin-bottom: 10px;
}

.rating-stars {
  color: #f59e0b;
}

.rating-count {
  color: #64748b;
  font-size: 0.76rem;
}

.trending-prod-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.discount-pill-red {
  color: #dc2626;
  font-weight: 800;
  font-size: 1.15rem;
}

.current-price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #1e293b;
}

[data-theme="dark"] .current-price {
  color: #f1f5f9;
}

.original-price {
  font-size: 0.85rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.stock-tag {
  font-size: 0.74rem;
  color: #d97706;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.delivery-line {
  font-size: 0.78rem;
  color: #475569;
  margin-bottom: 14px;
  display: block;
}

[data-theme="dark"] .delivery-line {
  color: #94a3b8;
}

.delivery-line strong {
  color: #1e293b;
}

[data-theme="dark"] .delivery-line strong {
  color: #f1f5f9;
}

.trending-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-card-add-cart {
  width: 100%;
  padding: 10px 16px;
  background: #f59e0b;
  color: #0f172a;
  border: none;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-card-add-cart:hover {
  background: #d97706;
  transform: translateY(-1px);
}

.btn-card-quick-buy {
  width: 100%;
  padding: 8px 16px;
  background: #faf8f5;
  border: 1px solid #ded5c5;
  color: #334155;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

[data-theme="dark"] .btn-card-quick-buy {
  background: #1e293b;
  border-color: #334155;
  color: #cbd5e1;
}

.btn-card-quick-buy:hover {
  background: #f1f5f9;
  border-color: #1e293b;
  color: #0f172a;
}

/* --------------------------------------------------------------------------
   9. TRUST PILLARS BAR ("Why Millions of Patrons Trust UdaanMart")
   -------------------------------------------------------------------------- */
.trust-pillars-section {
  max-width: 1400px;
  margin: 0 auto 60px;
  padding: 0 16px;
}

.trust-header-center {
  text-align: center;
  margin-bottom: 28px;
}

.trust-sub-label {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #d97706;
  margin-bottom: 6px;
  display: block;
}

.trust-heading {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: #1e293b;
  letter-spacing: -0.4px;
}

[data-theme="dark"] .trust-heading {
  color: #f1f5f9;
}

.trust-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-card {
  background: #ffffff;
  border: 1px solid #ebe4d8;
  border-radius: 14px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 2px 8px rgba(120, 100, 80, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

[data-theme="dark"] .trust-card {
  background: #151d26;
  border-color: #263342;
}

.trust-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(120, 100, 80, 0.08);
}

.trust-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #fef3c7;
  color: #b45309;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.trust-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 8px;
}

[data-theme="dark"] .trust-card-title {
  color: #f1f5f9;
}

.trust-card-desc {
  font-size: 0.82rem;
  line-height: 1.5;
  color: #64748b;
}

/* --------------------------------------------------------------------------
   10. FOOTER & COPYRIGHT BAR
   -------------------------------------------------------------------------- */
.site-footer {
  background: #ffffff !important;
  color: #1e293b !important;
  border-top: 1px solid #ebe4d8 !important;
  margin-top: 40px !important;
}

[data-theme="dark"] .site-footer {
  background: #0f172a !important;
  color: #f1f5f9 !important;
  border-top-color: #1e293b !important;
}

.footer-links-grid {
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 48px 24px !important;
}

.footer-col-title {
  color: #1e293b !important;
  font-size: 0.92rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

[data-theme="dark"] .footer-col-title {
  color: #f1f5f9 !important;
}

.footer-link-list a {
  color: #64748b !important;
  font-size: 0.86rem !important;
  transition: color 0.15s ease !important;
}

.footer-link-list a:hover {
  color: #d97706 !important;
  text-decoration: underline !important;
}

.footer-bottom-bar {
  border-top: 1px solid #ebe4d8 !important;
  background: #fdfbf7 !important;
  color: #64748b !important;
  padding: 20px 24px !important;
}

[data-theme="dark"] .footer-bottom-bar {
  border-top-color: #1e293b !important;
  background: #0d131f !important;
  color: #94a3b8 !important;
}

.footer-bottom-flex {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #334155;
}

[data-theme="dark"] .footer-bottom-left {
  color: #cbd5e1;
}

/* Catalog Integration */
.catalog-section {
  max-width: 1400px;
  margin: 0 auto 60px;
  padding: 0 16px;
}

.catalog-toolbar {
  background: #ffffff;
  border: 1px solid #ebe4d8;
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 24px;
  box-shadow: 0 1px 4px rgba(120, 100, 80, 0.03);
}

[data-theme="dark"] .catalog-toolbar {
  background: #151d26;
  border-color: #263342;
}

.filter-pill {
  border-radius: 9999px !important;
  border: 1px solid #ded5c5 !important;
  background: #ffffff !important;
  color: #475569 !important;
  font-weight: 600 !important;
  padding: 6px 14px !important;
  font-size: 0.8rem !important;
  transition: all 0.15s ease !important;
}

.filter-pill:hover,
.filter-pill.is-active {
  background: #1e293b !important;
  color: #ffffff !important;
  border-color: #1e293b !important;
}

[data-theme="dark"] .filter-pill:hover,
[data-theme="dark"] .filter-pill.is-active {
  background: #f59e0b !important;
  color: #0f172a !important;
  border-color: #f59e0b !important;
}

.prod-card {
  background: #ffffff !important;
  border: 1px solid #ebe4d8 !important;
  border-radius: 16px !important;
  box-shadow: 0 2px 8px rgba(120, 100, 80, 0.04) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

[data-theme="dark"] .prod-card {
  background: #151d26 !important;
  border-color: #263342 !important;
}

.prod-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 28px rgba(120, 100, 80, 0.1) !important;
  border-color: #f59e0b !important;
}

/* Responsive Rules */
@media (max-width: 1024px) {
  .quad-cards-grid,
  .flagships-grid,
  .trending-products-grid,
  .trust-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .heritage-card-wrap {
    grid-template-columns: 1fr;
  }
  .hero-headline {
    font-size: 2.4rem;
  }
}

@media (max-width: 640px) {
  .quad-cards-grid,
  .flagships-grid,
  .trending-products-grid,
  .trust-cards-grid {
    grid-template-columns: 1fr;
  }
  .hero-luxury-content {
    padding: 32px 20px;
  }
  .hero-headline {
    font-size: 1.85rem;
  }
  .utility-center {
    display: none;
  }
}

/* ==========================================================================
   STITCH LUXURY E-COMMERCE THEME UPGRADE (SCREEN DDEF4EB7 & 8557E4C4)
   ========================================================================== */

/* 1. Ticker Top Utility Bar */
.nav-utility-bar {
  background: #0f141d !important;
  color: #cbd5e1 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.ticker-badge-gov {
  display: inline-flex;
  align-items: center;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #f59e0b;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 8px;
}
.ticker-text-lead {
  font-size: 0.78rem;
  font-weight: 500;
  color: #e2e8f0;
}

/* 2. Heritage Grand Hero Card */
.heritage-showcase-container {
  max-width: 1400px;
  margin: 18px auto 44px;
  padding: 0 16px;
}
.heritage-card-wrap {
  background: #ffffff;
  border: 1px solid #ebe4d8;
  border-radius: 24px;
  box-shadow: 0 6px 24px rgba(120, 100, 80, 0.05);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  padding: 44px;
  align-items: center;
}
[data-theme="dark"] .heritage-card-wrap {
  background: #111722;
  border-color: #232d3d;
}
.heritage-title-gold-italic {
  color: #f59e0b;
  font-style: italic;
  font-weight: 700;
}
.heritage-quote-box {
  background: #faf6ee;
  border-left: 3px solid #f59e0b;
  padding: 16px 20px;
  border-radius: 0 12px 12px 0;
  margin-bottom: 24px;
}
[data-theme="dark"] .heritage-quote-box {
  background: #182230;
}
.heritage-quote-text {
  font-size: 0.92rem;
  line-height: 1.5;
  color: #334155;
  font-style: italic;
  margin: 0 0 6px 0;
}
[data-theme="dark"] .heritage-quote-text {
  color: #cbd5e1;
}
.heritage-quote-author {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #b45309;
  text-transform: uppercase;
}
[data-theme="dark"] .heritage-quote-author {
  color: #f59e0b;
}
.heritage-regions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 12px;
}
.heritage-right-media {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  min-height: 440px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.heritage-floating-pin {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 9999px;
}
.heritage-floating-glass {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.spotlight-sub-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #f59e0b;
  text-transform: uppercase;
  display: block;
  margin-bottom: 3px;
}
.glass-tag-title {
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.spotlight-metrics-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  color: #94a3b8;
}
.glass-btn-explore {
  background: #ffffff;
  color: #0f172a;
  border: none;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 8px 18px;
  border-radius: 9999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.glass-btn-explore:hover {
  background: #f59e0b;
  color: #0f172a;
  transform: translateY(-2px);
}

/* 3. Flagship Cards Clean Layout */
.flagship-spec-chips {
  display: flex;
  gap: 4px;
}
.flagship-spec-chip-gold {
  background: #fef3c7 !important;
  color: #b45309 !important;
}
.flagship-footer-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}
[data-theme="dark"] .flagship-footer-row {
  border-top-color: #1e293b;
}
.flagship-deal-text {
  font-size: 0.88rem;
  font-weight: 800;
  color: #1e293b;
}
[data-theme="dark"] .flagship-deal-text {
  color: #f1f5f9;
}
.flagship-shop-link {
  font-size: 0.84rem;
  font-weight: 700;
  color: #f59e0b;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* 4. Trending Gold-Bordered Karigar Card */
.karigar-gold-card {
  border: 2px solid #f59e0b !important;
  background: #fffdf8 !important;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.12) !important;
}
[data-theme="dark"] .karigar-gold-card {
  background: #1a1e22 !important;
  border-color: #f59e0b !important;
}
.badge-karigar-direct {
  background: #b45309;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 9999px;
  letter-spacing: 0.4px;
}
.badge-odop-cert {
  background: #fef3c7;
  color: #92400e;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 9999px;
}
.thumb-mini-tag {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(15, 23, 42, 0.75);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}
.thumb-mini-tag.gold-tag {
  background: rgba(180, 83, 9, 0.88);
}
.gold-stock-tag {
  color: #b45309 !important;
  font-weight: 700 !important;
}
.btn-card-artisan-buy {
  width: 100%;
  padding: 10px 16px;
  background: #0f172a;
  color: #f59e0b;
  border: 1px solid #f59e0b;
  border-radius: 9999px;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.btn-card-artisan-buy:hover {
  background: #f59e0b;
  color: #0f172a;
  transform: translateY(-1px);
}
.prime-pill {
  color: #007185;
  font-weight: 800;
  font-style: italic;
  margin-right: 4px;
}

/* 5. CART DRAWER (SCREEN 8557E4C4 - YOUR BAG / आपकी थैली) */
.cart-drawer {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 480px !important;
  max-width: 95vw !important;
  background: #ffffff !important;
  box-shadow: -8px 0 32px rgba(10, 15, 29, 0.2) !important;
  z-index: 10000 !important;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: flex !important;
  flex-direction: column !important;
}
[data-theme="dark"] .cart-drawer {
  background: #0f172a !important;
}
.cart-drawer.is-open {
  transform: translateX(0) !important;
}
.cart-drawer-header {
  padding: 20px 24px 6px !important;
  background: #ffffff !important;
  color: #0f172a !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}
[data-theme="dark"] .cart-drawer-header {
  background: #0f172a !important;
  color: #ffffff !important;
}
.cart-drawer-title-box {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}
.cart-drawer-title {
  font-family: var(--font-display) !important;
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 0 !important;
}
[data-theme="dark"] .cart-drawer-title {
  color: #ffffff !important;
}
.cart-drawer-count-badge {
  background: #fef3c7 !important;
  color: #b45309 !important;
  font-size: 0.74rem !important;
  font-weight: 800 !important;
  padding: 3px 10px !important;
  border-radius: 9999px !important;
}
.cart-drawer-subtext {
  padding: 0 24px 14px !important;
  font-size: 0.78rem !important;
  color: #64748b !important;
  border-bottom: 1px solid #f1f5f9 !important;
}
[data-theme="dark"] .cart-drawer-subtext {
  border-bottom-color: #1e293b !important;
  color: #94a3b8 !important;
}
.cart-shipping-banner {
  padding: 12px 24px !important;
  background: #f0fdf4 !important;
  border-bottom: 1px solid #dcfce7 !important;
}
[data-theme="dark"] .cart-shipping-banner {
  background: #064e3b !important;
  border-bottom-color: #065f46 !important;
}
.cart-shipping-unlocked-pill {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  color: #166534 !important;
}
[data-theme="dark"] .cart-shipping-unlocked-pill {
  color: #86efac !important;
}
.shipping-save-tag {
  background: #dcfce7 !important;
  color: #15803d !important;
  padding: 2px 8px !important;
  border-radius: 4px !important;
  font-size: 0.74rem !important;
}
[data-theme="dark"] .shipping-save-tag {
  background: #14532d !important;
  color: #bbf7d0 !important;
}

/* Cart Items Container */
.cart-drawer-items {
  flex: 1 !important;
  overflow-y: auto !important;
  padding: 16px 20px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}
.cart-drawer-item {
  display: flex !important;
  gap: 14px !important;
  padding: 14px !important;
  background: #ffffff !important;
  border: 1px solid #ebe4d8 !important;
  border-radius: 14px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
}
[data-theme="dark"] .cart-drawer-item {
  background: #1e293b !important;
  border-color: #334155 !important;
}
.cart-item-thumb {
  width: 78px !important;
  height: 78px !important;
  border-radius: 10px !important;
  object-fit: cover !important;
  border: 1px solid #ebe4d8 !important;
}
[data-theme="dark"] .cart-item-thumb {
  border-color: #334155 !important;
}
.cart-item-details {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}
.cd-item-tag-pill {
  font-size: 0.65rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.4px !important;
  text-transform: uppercase !important;
  color: #64748b !important;
  margin-bottom: 2px !important;
}
[data-theme="dark"] .cd-item-tag-pill {
  color: #94a3b8 !important;
}
.cart-item-title {
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin: 0 0 3px 0 !important;
  line-height: 1.3 !important;
}
[data-theme="dark"] .cart-item-title {
  color: #f1f5f9 !important;
}
.cd-item-spec-line {
  font-size: 0.74rem !important;
  color: #64748b !important;
  margin: 0 0 8px 0 !important;
  line-height: 1.3 !important;
}
[data-theme="dark"] .cd-item-spec-line {
  color: #94a3b8 !important;
}
.cd-item-price-actions-row {
  margin-top: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}
.cart-item-price {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
}
[data-theme="dark"] .cart-item-price {
  color: #f1f5f9 !important;
}
.cart-qty-stepper {
  display: inline-flex !important;
  align-items: center !important;
  border: 1px solid #dcd4c6 !important;
  border-radius: 9999px !important;
  background: #faf8f5 !important;
  padding: 2px 6px !important;
}
[data-theme="dark"] .cart-qty-stepper {
  background: #0f172a !important;
  border-color: #334155 !important;
}
.qty-btn {
  background: none !important;
  border: none !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  color: #1e293b !important;
  cursor: pointer !important;
  padding: 0 6px !important;
}
[data-theme="dark"] .qty-btn {
  color: #f1f5f9 !important;
}
.qty-val {
  padding: 0 6px !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
}
.cart-remove-icon-btn {
  background: none !important;
  border: none !important;
  font-size: 1.05rem !important;
  color: #94a3b8 !important;
  cursor: pointer !important;
  padding: 4px !important;
  transition: color 0.15s ease !important;
}
.cart-remove-icon-btn:hover {
  color: #ef4444 !important;
}

/* Quick Add-on Box */
.cart-quick-addon-card {
  margin: 0 20px 14px !important;
  background: #fffdf9 !important;
  border: 1px dashed #f59e0b !important;
  border-radius: 14px !important;
  padding: 12px 14px !important;
}
[data-theme="dark"] .cart-quick-addon-card {
  background: #182230 !important;
}
.quick-addon-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 8px !important;
}
.quick-addon-tag {
  font-size: 0.7rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.4px !important;
  color: #b45309 !important;
}
[data-theme="dark"] .quick-addon-tag {
  color: #f59e0b !important;
}
.quick-addon-sub {
  font-size: 0.72rem !important;
  color: #64748b !important;
}
.quick-addon-body {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}
.quick-addon-thumb {
  width: 48px !important;
  height: 48px !important;
  border-radius: 8px !important;
  object-fit: cover !important;
}
.quick-addon-info {
  flex: 1 !important;
}
.quick-addon-title {
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  margin: 0 0 2px 0 !important;
  color: #0f172a !important;
}
[data-theme="dark"] .quick-addon-title {
  color: #f1f5f9 !important;
}
.quick-addon-price {
  font-size: 0.85rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
}
[data-theme="dark"] .quick-addon-price {
  color: #f1f5f9 !important;
}
.quick-addon-price del {
  color: #94a3b8 !important;
  font-size: 0.74rem !important;
  font-weight: 500 !important;
  margin-left: 4px !important;
}
.quick-addon-btn {
  background: #f59e0b !important;
  color: #0f172a !important;
  border: none !important;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  padding: 6px 14px !important;
  border-radius: 9999px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}
.quick-addon-btn:hover {
  background: #d97706 !important;
}

/* Cart Footer Breakdown */
.cart-drawer-footer {
  padding: 16px 24px 20px !important;
  background: #faf8f5 !important;
  border-top: 1px solid #ebe4d8 !important;
}
[data-theme="dark"] .cart-drawer-footer {
  background: #111722 !important;
  border-top-color: #232d3d !important;
}
.cd-breakdown-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  font-size: 0.84rem !important;
  margin-bottom: 8px !important;
  color: #475569 !important;
}
[data-theme="dark"] .cd-breakdown-row {
  color: #94a3b8 !important;
}
.cd-breakdown-val {
  font-weight: 700 !important;
  color: #0f172a !important;
}
[data-theme="dark"] .cd-breakdown-val {
  color: #f1f5f9 !important;
}
.cd-val-green {
  color: #16a34a !important;
  font-weight: 800 !important;
}
.cd-welfare-row {
  padding: 8px 0 !important;
  border-top: 1px dashed #e2e8f0 !important;
  border-bottom: 1px dashed #e2e8f0 !important;
  margin: 10px 0 !important;
}
[data-theme="dark"] .cd-welfare-row {
  border-top-color: #334155 !important;
  border-bottom-color: #334155 !important;
}
.cd-welfare-label {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  font-size: 0.82rem !important;
}
.cd-total-row {
  margin: 12px 0 16px !important;
  font-size: 1.05rem !important;
}
.cd-total-label {
  font-weight: 800 !important;
  color: #0f172a !important;
  display: block !important;
}
[data-theme="dark"] .cd-total-label {
  color: #ffffff !important;
}
.cd-total-note {
  font-size: 0.72rem !important;
  color: #64748b !important;
  display: block !important;
}
[data-theme="dark"] .cd-total-note {
  color: #94a3b8 !important;
}
.cd-total-val {
  font-family: var(--font-display) !important;
  font-size: 1.4rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
}
[data-theme="dark"] .cd-total-val {
  color: #ffffff !important;
}
.cd-checkout-btn {
  width: 100% !important;
  padding: 13px !important;
  font-size: 0.96rem !important;
  font-weight: 800 !important;
  border-radius: 12px !important;
  background: #f59e0b !important;
  color: #0f172a !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3) !important;
  transition: all 0.2s ease !important;
}
.cd-checkout-btn:hover {
  background: #d97706 !important;
  transform: translateY(-1px) !important;
}
.cd-trust-badges {
  margin-top: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  font-size: 0.72rem !important;
  color: #64748b !important;
  font-weight: 600 !important;
}
[data-theme="dark"] .cd-trust-badges {
  color: #94a3b8 !important;
}

/* ==========================================================================
   CRITICAL MODAL RESET (Stitch UI Cascade Guarantee)
   ========================================================================== */
.modal,
.amz-modal,
.express-modal-overlay,
#quickview-modal,
#checkout-modal,
#order-success-modal,
#express-buy-modal,
#location-modal,
#orders-wishlist-modal,
#portfolio-hud-modal,
#shipping-label-modal,
#gst-invoice-modal,
#seller-modal,
#buyer-auth-modal,
#seller-auth-modal {
  display: none !important;
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(10, 15, 29, 0.72) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  z-index: 9999 !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px !important;
  overflow-y: auto !important;
  box-sizing: border-box !important;
}

.modal.is-open, .modal.active,
.amz-modal.is-open, .amz-modal.active,
.express-modal-overlay.is-open, .express-modal-overlay.active,
#quickview-modal.is-open, #quickview-modal.active,
#checkout-modal.is-open, #checkout-modal.active,
#order-success-modal.is-open, #order-success-modal.active,
#express-buy-modal.is-open, #express-buy-modal.active,
#location-modal.is-open, #location-modal.active,
#orders-wishlist-modal.is-open, #orders-wishlist-modal.active,
#portfolio-hud-modal.is-open, #portfolio-hud-modal.active,
#shipping-label-modal.is-open, #shipping-label-modal.active,
#gst-invoice-modal.is-open, #gst-invoice-modal.active,
#seller-modal.is-open, #seller-modal.active,
#buyer-auth-modal.is-open, #buyer-auth-modal.active,
#seller-auth-modal.is-open, #seller-auth-modal.active {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
