/* ==========================================================================
   AMAZON GREAT INDIAN AUDIO FESTIVAL - EARBUDS STORE STYLESHEET
   Accurately recreating the mobile app experience from user screenshots
   ========================================================================== */

:root {
  --amazon-nav-bg: #f5b77f;
  --amazon-nav-gradient: linear-gradient(180deg, #f7ba85 0%, #fad0a8 100%);
  --amazon-orange: #ff9900;
  --amazon-yellow: #ffd814;
  --amazon-yellow-hover: #f7ca00;
  --amazon-yellow-active: #f0b800;
  --amazon-link-blue: #007185;
  --amazon-link-hover: #c7511f;
  --amazon-red-badge: #cc0c39;
  --amazon-red-text: #b12704;
  --amazon-festive-purple: #861063;
  --amazon-festive-purple-light: #9c1b75;
  --amazon-festive-orange: #ff6600;
  --amazon-bg-light: #f3f3f3;
  --amazon-card-bg: #ffffff;
  --amazon-text-dark: #0f1111;
  --amazon-text-muted: #565959;
  --amazon-border: #e2e5e8;
  --amazon-green-coupon: #067d62;
  --amazon-star-orange: #de7921;
  
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Amazon Ember", Helvetica, Arial, sans-serif;
  --bottom-bar-height: 56px;
  --top-header-height: 60px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  box-sizing: border-box;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-family);
  background-color: #0f1111;
  color: var(--amazon-text-dark);
  line-height: 1.35;
  overflow-x: hidden;
  font-size: 13px;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  width: 100%;
}

/* ==========================================================================
   APP VIEWPORT CONTAINER (Mobile Frame or Full Responsive)
   ========================================================================== */

.app-wrapper {
  width: 100%;
  max-width: 480px; /* Exact mobile app proportions from screenshot */
  min-width: 0;
  margin: 0 auto;
  background: var(--amazon-bg-light);
  min-height: 100vh;
  position: relative;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  transition: max-width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding-bottom: calc(var(--bottom-bar-height) + 16px);
  box-sizing: border-box;
  overflow-x: clip;
}

/* Desktop expanded mode toggle */
body.desktop-mode .app-wrapper {
  max-width: 1240px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.35);
}

body.desktop-mode .products-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px;
}

body.desktop-mode .purple-deals-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
}

/* Viewport Mode Switcher Header Floating Pill (Disabled) */
.device-toggle-bar {
  display: none !important;
}

.device-btn {
  background: transparent;
  color: #fff;
  border: none;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.device-btn.active {
  background: var(--amazon-orange);
  color: #111;
}

/* ==========================================================================
   STATUS BAR (12:47 VoNR 5G+ 97%)
   ========================================================================== */

.mobile-status-bar {
  display: none !important;
}

.status-left {
  font-weight: 700;
  letter-spacing: 0.5px;
}

.status-right {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 4px;
}

.battery-pill {
  border: 1.5px solid #222;
  border-radius: 3px;
  padding: 1px 3px;
  font-size: 9px;
  display: inline-flex;
  align-items: center;
  position: relative;
}

.battery-pill::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 3px;
  width: 2px;
  height: 4px;
  background: #222;
  border-radius: 0 1px 1px 0;
}

/* ==========================================================================
   TOP SEARCH HEADER BAR
   ========================================================================== */

.top-search-header {
  background: var(--amazon-nav-gradient);
  padding: 8px 12px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.back-arrow-btn {
  background: none;
  border: none;
  font-size: 20px;
  color: #111;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-input-pill {
  flex: 1;
  background: #ffffff;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 0 8px 0 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  border: 1px solid #dcdcdc;
  position: relative;
}

.search-magnifier-icon {
  color: #111;
  font-size: 16px;
  margin-right: 8px;
  display: flex;
  align-items: center;
}

.search-field {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  color: #111;
  background: transparent;
  width: 100%;
}

.search-field::placeholder {
  color: #666;
  font-size: 13.5px;
}

.search-actions-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.search-action-btn {
  background: none;
  border: none;
  color: #444;
  font-size: 18px;
  padding: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.15s ease;
}

.search-action-btn:hover {
  background: #f0f0f0;
}

/* Live Search Suggestions Dropdown */
.search-suggestions-dropdown {
  position: absolute;
  top: 48px;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  border: 1px solid #ddd;
  max-height: 280px;
  overflow-y: auto;
  z-index: 500;
  display: none;
}

.search-suggestions-dropdown.open {
  display: block;
}

.suggestion-item {
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  border-bottom: 1px solid #f2f2f2;
  font-size: 13px;
}

.suggestion-item:hover {
  background: #f7f9fa;
  color: var(--amazon-orange);
}

/* ==========================================================================
   FESTIVE SALE HEADER BANNER (Great Indian Festival)
   ========================================================================== */

.festive-hero-banner {
  background: linear-gradient(135deg, #eb6100 0%, #e03131 50%, #c92a2a 100%);
  color: #fff;
  padding: 10px 12px 8px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.15);
  border-bottom: 2px solid #ffd814;
}

.festive-bokeh-overlay {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 235, 59, 0.25) 12%, transparent 22%),
              radial-gradient(circle, rgba(255, 255, 255, 0.2) 8%, transparent 18%);
  background-size: 28px 28px;
  opacity: 0.6;
  pointer-events: none;
}

.sale-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  position: relative;
  z-index: 2;
}

.sale-main-title {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 8px;
  flex-wrap: wrap;
}

.festive-gif-text {
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4), 0 0 10px rgba(255, 215, 0, 0.5);
  font-family: var(--font-family);
  letter-spacing: -0.2px;
}

.sale-live-pill {
  background: #cc0000;
  color: #fff;
  border: 1.5px solid #ffd814;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.35);
  animation: pulse-badge 2s infinite;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.timer-countdown-val {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-weight: 900;
  letter-spacing: 0.8px;
  color: #ffd814;
}

@keyframes pulse-badge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Exact SBI Bank Offer Card */
.sbi-offer-card {
  background: #ffffff;
  color: #111;
  border-radius: 6px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22);
  margin-bottom: 6px;
  position: relative;
  z-index: 2;
}

.sbi-logo-group {
  display: flex;
  align-items: center;
  gap: 5px;
  border-right: 1.5px solid #e0e0e0;
  padding-right: 8px;
  flex-shrink: 0;
}

.sbi-circle-svg {
  display: block;
}

.sbi-text-brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.sbi-bold-name {
  font-size: 11px;
  font-weight: 900;
  color: #003366;
}

.sbi-sub-type {
  font-size: 8px;
  font-weight: 700;
  color: #003366;
}

.sbi-divider-line {
  color: #bbb;
  font-size: 12px;
}

.sbi-offer-text {
  font-size: 11.5px;
  line-height: 1.25;
  color: #111;
}

.sbi-offer-text strong {
  font-size: 12px;
  color: #003366;
  font-weight: 800;
}

.sbi-tc {
  position: absolute;
  right: 6px;
  bottom: 2px;
  font-size: 8px;
  color: #777;
}

/* Amazon Pay Cashback Offer Bar */
.cashback-substrip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10.5px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.35);
  padding: 5px 8px;
  border-radius: 4px;
  position: relative;
  z-index: 2;
  gap: 8px;
}

.cb-box {
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.15;
}

.cb-icon-card {
  font-size: 14px;
}


/* ==========================================================================
   LIMITED TIME & CATEGORY TILES
   ========================================================================== */

.offer-announcement-strip {
  background: #ffffff;
  padding: 8px 12px 6px;
  border-bottom: 1px solid #ebebeb;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.announcement-title {
  font-size: 13px;
  font-weight: 700;
  color: #0f1111;
  margin-bottom: 8px;
}

.category-tiles-carousel {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
  -webkit-overflow-scrolling: touch;
}

.category-tiles-carousel::-webkit-scrollbar {
  display: none;
}

.cat-tile {
  flex: 0 0 68px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
}

.cat-tile-box {
  width: 62px;
  height: 62px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.12);
  color: #fff;
  transition: transform 0.15s ease;
  position: relative;
  overflow: hidden;
}

.cat-tile:active .cat-tile-box {
  transform: scale(0.95);
}

.cat-tile-box.festive-orange {
  background: radial-gradient(circle at 50% 30%, #ffaa00 0%, #ff5500 100%);
  border: 1.5px solid #ffd814;
}

.cat-tile-star {
  font-size: 26px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25));
}

.cat-tile-box.festive-blue {
  background: radial-gradient(circle at 50% 30%, #0099ff 0%, #0055bb 100%);
  border: 1.5px solid #ffd814;
  color: #fff;
}

.cat-tile-box.festive-product {
  background: radial-gradient(circle at 50% 30%, #fff8e7 0%, #fde68a 100%);
  border: 1.5px solid #f59e0b;
}

.cat-tile-label {
  font-size: 10.5px;
  text-align: center;
  margin-top: 5px;
  line-height: 1.15;
  color: #0f1111;
  font-weight: 600;
}

/* ==========================================================================
   PURPLE FESTIVE SECTION: "Best deals of the sale"
   ========================================================================== */

.festive-purple-section {
  background: #730051;
  background-image: radial-gradient(circle at 10% 20%, rgba(255, 215, 0, 0.15) 0%, transparent 20%),
                    radial-gradient(circle at 90% 80%, rgba(255, 215, 0, 0.15) 0%, transparent 20%);
  padding: 12px 10px 14px;
  margin-top: 6px;
  border-top: 2px solid #ff9900;
  border-bottom: 2px solid #ff9900;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.purple-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}

.purple-title {
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.2px;
}

.see-more-link {
  color: #f7d5ec;
  font-size: 12px;
  text-decoration: underline;
  cursor: pointer;
  font-weight: 600;
}

.purple-deals-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

.mega-deal-feature-card {
  background: linear-gradient(145deg, #ff7a00 0%, #e64a00 100%);
  border-radius: 8px;
  padding: 8px 6px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1.5px solid #ffd814;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.mega-card-diya-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 2px;
}

.mega-festival-badge-sub {
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  color: #ffffff;
}

.mega-live-now-pill {
  background: #ffcc00;
  color: #990000;
  font-size: 9px;
  font-weight: 900;
  padding: 1px 6px;
  border-radius: 8px;
  align-self: center;
  margin: 3px 0;
  text-transform: uppercase;
}

.mega-partner-text {
  font-size: 8px;
  color: #fff;
  opacity: 0.9;
  line-height: 1.1;
}

.mega-feature-heading {
  font-size: 13px;
  font-weight: 900;
  color: #990000;
  background: #ffffff;
  padding: 3px 4px;
  border-radius: 4px;
  margin: 4px 0;
  line-height: 1.15;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.shop-now-purple-btn {
  background: linear-gradient(135deg, #6b004b 0%, #4a0033 100%);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 14px;
  border: 1px solid #ffd814;
  text-align: center;
  margin-top: 4px;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.25);
  display: inline-block;
}

.brand-focus-card {
  background: linear-gradient(145deg, #ff9900 0%, #cc5500 100%);
}

.brand-focus-tag {
  font-size: 11.5px;
  font-weight: 900;
  color: #ffffff;
  text-transform: uppercase;
}

.brand-focus-sub {
  font-size: 13px;
  font-weight: 900;
  color: #ffd814;
  margin-top: 2px;
}

.purple-deal-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.15s ease;
}

.purple-deal-card:active {
  transform: scale(0.97);
}

.purple-deal-img-box {
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.purple-deal-img-box svg,
.purple-deal-img-box img {
  max-height: 80px;
  max-width: 100%;
  object-fit: contain;
}

.deal-pill-tag-row {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-wrap: wrap;
  margin-bottom: 3px;
}

.deal-discount-badge {
  background: var(--amazon-red-badge);
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 4px;
  border-radius: 3px;
  display: inline-block;
}

.deal-promo-tag {
  color: var(--amazon-red-badge);
  font-size: 9.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.purple-deal-price {
  font-size: 13px;
  font-weight: 800;
  color: #0f1111;
}

.purple-deal-mrp {
  font-size: 9.5px;
  color: var(--amazon-text-muted);
  text-decoration: line-through;
}

/* ==========================================================================
   SPONSORED TOP DEAL BANNER (BoAt 141 ANC)
   ========================================================================== */

.sponsored-earbud-strip {
  background: #ffffff;
  padding: 8px 12px;
  margin-top: 6px;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
  overflow: hidden;
}

.sponsored-img-wrap {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sponsored-content {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.sponsored-headline {
  font-size: 12px;
  font-weight: 700;
  color: #0f1111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sponsored-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  margin-top: 3px;
}

.sponsored-prime-tag {
  color: #00a8e1;
  font-weight: 800;
  font-style: italic;
}

.sponsored-label {
  font-size: 9px;
  color: #888;
  margin-left: auto;
}

/* ==========================================================================
   NAVIGATION FILTER TABS ROW
   All deals | For you | Trending deals | Deals with extra coupons
   ========================================================================== */

.filter-tabs-row {
  display: flex;
  background: #ffffff;
  border-bottom: 1px solid #d5d9d9;
  overflow-x: auto;
  scrollbar-width: none;
  position: sticky;
  top: 60px;
  z-index: 90;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
  -webkit-overflow-scrolling: touch;
}

.filter-tabs-row::-webkit-scrollbar {
  display: none;
}

.filter-tab-btn {
  padding: 10px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: #444;
  white-space: nowrap;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  transition: color 0.15s ease;
  flex-shrink: 0;
}

.filter-tab-btn.active {
  color: #0f1111;
  font-weight: 700;
}

.filter-tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 10px;
  right: 10px;
  height: 3px;
  background: #0f1111;
  border-radius: 2px 2px 0 0;
}

/* Secondary Filter Chips Row */
.filter-chips-row {
  background: #ffffff;
  padding: 8px 12px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid #e0e0e0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
  -webkit-overflow-scrolling: touch;
}

.filter-chips-row::-webkit-scrollbar {
  display: none;
}

.filter-action-chip {
  background: #ffffff;
  border: 1px solid #d5d9d9;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 11.5px;
  color: #0f1111;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.filter-action-chip:hover {
  background: #f7fafa;
  border-color: #888;
}

.filter-action-chip.active {
  background: #e7f4f5;
  border-color: #007185;
  color: #007185;
  font-weight: 600;
}

/* ==========================================================================
   HORIZONTAL "DEALS FOR YOU" CAROUSEL
   ========================================================================== */

.horizontal-deals-section {
  background: linear-gradient(135deg, #ff6600 0%, #ff4500 100%);
  padding: 10px 8px 12px;
  margin-top: 6px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
  overflow: hidden;
}

.h-deals-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
  margin-bottom: 8px;
}

.h-deals-title {
  font-size: 15px;
  font-weight: 800;
}

.h-deals-see-all {
  font-size: 12px;
  color: #ffffff;
  text-decoration: underline;
  cursor: pointer;
}

.h-deals-scroller {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
  -webkit-overflow-scrolling: touch;
}

.h-deals-scroller::-webkit-scrollbar {
  display: none;
}

.h-deal-item-card {
  flex: 0 0 135px;
  background: #ffffff;
  border-radius: 8px;
  padding: 8px 6px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.h-deal-img-wrap {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.h-deal-img-wrap svg,
.h-deal-img-wrap img {
  max-height: 85px;
  max-width: 100%;
  object-fit: contain;
}

/* ==========================================================================
   INTERLEAVED PROMO MARKETING CARDS (Exact Amazon Indian Festival Styles)
   ========================================================================== */

/* Blue Cashback Card (Screenshot 2) */
.promo-banner-cashback {
  background: linear-gradient(135deg, #0066cc 0%, #004b99 100%);
  color: #ffffff;
  border-radius: 8px;
  padding: 8px 12px 12px;
  margin: 8px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 3px 8px rgba(0, 75, 153, 0.35);
  position: relative;
  overflow: hidden;
  border: 1px solid #3385ff;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

.fairy-lights-top {
  margin: -4px -6px 4px;
}

.promo-cashback-title {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
}

.promo-prime-pass-btn {
  background: #ffd814;
  color: #0f1111;
  font-weight: 900;
  font-size: 11.5px;
  padding: 7px 14px;
  border-radius: 20px;
  border: 1px solid #d4a900;
  margin-top: 10px;
  align-self: flex-start;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.25);
}

.promo-tc-note {
  position: absolute;
  right: 8px;
  bottom: 6px;
  font-size: 8.5px;
  color: rgba(255, 255, 255, 0.75);
}

/* Green Sample Mania Card (Screenshot 3) */
.promo-sample-mania-card {
  background: linear-gradient(135deg, #00994d 0%, #007a3d 100%);
  color: #ffffff;
  border-radius: 8px;
  padding: 10px 10px 12px;
  margin: 6px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 3px 8px rgba(0, 122, 61, 0.3);
  position: relative;
  border: 1.5px solid #ffd814;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
  overflow: hidden;
}

.sample-mania-tag-wrap {
  margin-bottom: 2px;
}

.sample-mania-price-sub {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.sample-mania-price-sub strong {
  font-size: 18px;
  color: #ffd814;
}

/* Orange No-Cost EMI Card (Screenshot 4) */
.promo-emi-card {
  background: linear-gradient(135deg, #ff8800 0%, #e65c00 100%);
  color: #ffffff;
  border-radius: 8px;
  padding: 10px 10px 12px;
  margin: 6px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 3px 8px rgba(230, 92, 0, 0.3);
  border: 1.5px solid #ffd814;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
  overflow: hidden;
}

.emi-title {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
}

.emi-title strong {
  color: #ffd814;
}

.emi-podium-wrap {
  width: 75px;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Pink Triple Festive Stores (Screenshot 4) */
.pink-festive-stores-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 8px 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

.pink-store-card {
  background: linear-gradient(135deg, #c2185b 0%, #880e4f 100%);
  color: #ffffff;
  border-radius: 8px;
  padding: 8px 6px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 95px;
  border: 1.2px solid #ffd814;
  position: relative;
  overflow: hidden;
  min-width: 0;
}

.pink-icon-wrap {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
}

.pink-store-label {
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
}


/* ==========================================================================
   2-COLUMN PRODUCT GRID & CARDS (The Exact Amazon App Layout)
   ========================================================================== */

.products-feed-section {
  padding: 6px 8px 20px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

.product-card {
  background: var(--amazon-card-bg);
  border-radius: 8px;
  padding: 10px 8px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #ebebeb;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
  word-break: break-word;
}

.product-card:active {
  transform: scale(0.985);
}

/* Floating Wishlist Heart Icon */
.card-heart-btn {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #555;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-heart-btn.liked {
  color: #e50914;
  transform: scale(1.1);
}

/* Floating Yellow Quick-Add "+" Button */
.card-quick-add-btn {
  position: absolute;
  top: 100px;
  right: 8px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--amazon-yellow);
  border: 1px solid #d4a900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: #0f1111;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  transition: transform 0.15s ease, background 0.15s ease;
}

.card-quick-add-btn:active {
  transform: scale(0.88);
  background: var(--amazon-yellow-active);
}

/* Product Image Container */
.product-img-box {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  margin-bottom: 6px;
  position: relative;
  overflow: hidden;
}

.product-img-box svg,
.product-img-box img {
  max-height: 120px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.08));
  transition: transform 0.2s ease;
}

.product-thumb-img {
  width: auto;
  max-height: 120px;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.product-card:hover .product-img-box svg,
.product-card:hover .product-thumb-img {
  transform: scale(1.05);
}

/* Deal Badge & Tag */
.card-deal-meta-row {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.discount-pill {
  background: var(--amazon-red-badge);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
}

.deal-name-tag {
  color: var(--amazon-red-badge);
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Price & MRP */
.card-pricing-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.card-current-price {
  font-size: 15px;
  font-weight: 800;
  color: #0f1111;
}

.card-mrp-price {
  font-size: 10.5px;
  color: var(--amazon-text-muted);
  text-decoration: line-through;
}

/* Title */
.card-product-title {
  font-size: 12px;
  font-weight: 500;
  color: #0f1111;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 4px;
}

/* Star Rating */
.card-rating-row {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  margin-bottom: 5px;
}

.stars-visual {
  color: var(--amazon-star-orange);
  font-size: 11px;
  letter-spacing: -0.5px;
}

.review-count-text {
  color: var(--amazon-link-blue);
  font-size: 10.5px;
}

/* Interactive Color Swatch Dots */
.card-color-swatches-row {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 5px;
}

.swatch-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid #d5d9d9;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.swatch-dot.active {
  transform: scale(1.2);
  border-color: #0f1111;
  box-shadow: 0 0 0 1px #fff inset;
}

.more-colors-count {
  font-size: 10px;
  color: var(--amazon-link-blue);
  font-weight: 600;
}

/* Coupon Checkbox Tag */
.coupon-tag-row {
  font-size: 10.5px;
  color: var(--amazon-green-coupon);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
  cursor: pointer;
}

.coupon-checkbox {
  accent-color: var(--amazon-green-coupon);
}

/* Brand Link */
.card-brand-link {
  font-size: 11px;
  color: var(--amazon-link-blue);
  text-decoration: none;
  margin-top: 4px;
  display: inline-block;
}

.card-brand-link:hover {
  text-decoration: underline;
  color: var(--amazon-link-hover);
}

/* ==========================================================================
   PERSISTENT BOTTOM NAVIGATION BAR (Home, You, Wallet, Cart, Menu, Rufus)
   ========================================================================== */

.bottom-nav-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  min-width: 0;
  box-sizing: border-box;
  height: var(--bottom-bar-height);
  background: #ffffff;
  border-top: 1px solid #e2e2e2;
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
}

body.desktop-mode .bottom-nav-bar {
  max-width: 1240px;
}

.nav-item-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #444;
  cursor: pointer;
  padding: 4px 0;
  position: relative;
  text-decoration: none;
}

.nav-item-btn.active {
  color: #0f1111;
  font-weight: 700;
}

.nav-icon {
  font-size: 18px;
  margin-bottom: 2px;
  position: relative;
}

.nav-label {
  font-size: 10px;
}

/* Cart Counter Badge */
.cart-badge-counter {
  position: absolute;
  top: -4px;
  right: -8px;
  background: var(--amazon-orange);
  color: #111;
  font-size: 10px;
  font-weight: 800;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 1px solid #111;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* Notification dot on wallet */
.red-nav-dot {
  position: absolute;
  top: -2px;
  right: -4px;
  width: 7px;
  height: 7px;
  background: #cc0000;
  border-radius: 50%;
  border: 1px solid #fff;
}

/* Rufus AI Sparkle Icon */
.rufus-avatar-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff9900 0%, #e91e63 50%, #2196f3 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* ==========================================================================
   MODALS, DRAWERS & OVERLAYS
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal-backdrop.open {
  display: flex;
  opacity: 1;
}

/* Generic Bottom Sheet Drawer */
.bottom-sheet {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: 100%;
  max-width: 480px;
  background: #ffffff;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  z-index: 2100;
  transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

body.desktop-mode .bottom-sheet {
  max-width: 600px;
}

.bottom-sheet.open {
  transform: translateX(-50%) translateY(0);
}

.sheet-drag-handle {
  width: 40px;
  height: 4px;
  background: #d5d9d9;
  border-radius: 2px;
  margin: 10px auto 4px;
  flex-shrink: 0;
}

.sheet-header {
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e0e0e0;
}

.sheet-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f1111;
}

.sheet-close-btn {
  background: none;
  border: none;
  font-size: 20px;
  color: #555;
  cursor: pointer;
  padding: 4px 8px;
}

.sheet-body {
  padding: 16px;
  overflow-y: auto;
  flex: 1;
}

/* ==========================================================================
   PRODUCT DETAILS MODAL SPECIFIC
   ========================================================================== */

.p-detail-hero-box {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 12px;
  margin-bottom: 8px;
  border: 1px solid #f0f0f0;
  position: relative;
}

.p-detail-hero-box svg,
.p-detail-hero-box img {
  max-height: 200px;
  max-width: 90%;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.12));
  transition: opacity 0.15s ease;
}

.modal-thumbnails-strip {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 6px 0 14px;
  overflow-x: auto;
  padding: 4px;
}

.modal-thumb-btn {
  width: 50px;
  height: 50px;
  border-radius: 6px;
  border: 1.5px solid #d5d9d9;
  background: #ffffff;
  cursor: pointer;
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.modal-thumb-btn.active {
  border-color: #e77600;
  box-shadow: 0 0 0 2px rgba(231, 118, 0, 0.35);
  transform: scale(1.05);
}

.modal-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.p-detail-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f1111;
  margin-bottom: 8px;
  line-height: 1.3;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  font-size: 12px;
}

.specs-table tr {
  border-bottom: 1px solid #ebebeb;
}

.specs-table td {
  padding: 8px 6px;
}

.specs-table td:first-child {
  font-weight: 600;
  color: #565959;
  width: 38%;
}

.specs-table td:last-child {
  color: #0f1111;
  font-weight: 500;
}

.sheet-action-row {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.btn-add-cart-primary {
  flex: 1;
  background: var(--amazon-yellow);
  color: #0f1111;
  font-weight: 700;
  font-size: 14px;
  padding: 12px;
  border-radius: 20px;
  border: 1px solid #d4a900;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.btn-buy-now {
  flex: 1;
  background: var(--amazon-orange);
  color: #0f1111;
  font-weight: 700;
  font-size: 14px;
  padding: 12px;
  border-radius: 20px;
  border: 1px solid #c77600;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

/* ==========================================================================
   CART DRAWER SPECIFIC
   ========================================================================== */

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

.cart-item-img {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-img svg,
.cart-item-img img {
  max-height: 65px;
  max-width: 100%;
  object-fit: contain;
}

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #0f1111;
}

.cart-item-price {
  font-size: 14px;
  font-weight: 800;
  color: #b12704;
  margin-bottom: 6px;
}

.cart-qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d5d9d9;
  border-radius: 6px;
  overflow: hidden;
  background: #f7f9fa;
}

.qty-btn {
  background: none;
  border: none;
  padding: 4px 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.qty-num {
  padding: 0 8px;
  font-size: 13px;
  font-weight: 600;
}

.cart-summary-box {
  background: #f7f9fa;
  border-radius: 8px;
  padding: 12px;
  margin-top: 14px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  margin-bottom: 6px;
}

.summary-row.total {
  font-size: 15px;
  font-weight: 800;
  color: #b12704;
  border-top: 1px solid #ddd;
  padding-top: 8px;
  margin-top: 8px;
}

/* ==========================================================================
   RUFUS AI EARBUDS ASSISTANT CHAT
   ========================================================================== */

.rufus-chat-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
  max-height: 360px;
  overflow-y: auto;
}

.chat-bubble {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 12.5px;
  line-height: 1.4;
}

.chat-bubble.assistant {
  background: #f0f7ff;
  border: 1px solid #cce4ff;
  color: #0f1111;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-bubble.user {
  background: var(--amazon-yellow);
  color: #111;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  font-weight: 500;
}

.quick-prompts-scroller {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 10px;
}

.quick-prompt-pill {
  background: #f0f2f2;
  border: 1px solid #d5d9d9;
  border-radius: 14px;
  padding: 6px 10px;
  font-size: 11px;
  white-space: nowrap;
  cursor: pointer;
  color: #0f1111;
  transition: all 0.15s ease;
}

.quick-prompt-pill:hover {
  background: #e2e8f0;
  border-color: #007185;
}

.chat-input-row {
  display: flex;
  gap: 8px;
}

.chat-input-field {
  flex: 1;
  border: 1px solid #d5d9d9;
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 13px;
  outline: none;
}

.chat-send-btn {
  background: var(--amazon-orange);
  color: #111;
  border: none;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
}

/* ==========================================================================
   TOAST NOTIFICATION (Add to cart, coupon applied)
   ========================================================================== */

.app-toast {
  position: fixed;
  bottom: calc(var(--bottom-bar-height) + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: #0f1111;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 24px;
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.app-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast-check {
  color: #4ade80;
  font-size: 16px;
}

/* Empty State / No matches */
.empty-state-wrap {
  text-align: center;
  padding: 40px 20px;
  color: #555;
  grid-column: 1 / -1;
}

.empty-state-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

/* ==========================================================================
   RESPONSIVE ENHANCEMENTS & SCREEN ADAPTATION
   ========================================================================== */

@media (max-width: 600px) {
  .device-toggle-bar {
    display: none;
  }
  .app-wrapper {
    max-width: 100%;
    box-shadow: none;
  }
  .bottom-nav-bar {
    max-width: 100%;
  }
  .bottom-sheet {
    max-width: 100%;
  }
}

@media (min-width: 1200px) {
  body:not(.desktop-mode) .app-wrapper {
    border: 1px solid rgba(255, 255, 255, 0.15);
  }
}

/* ==========================================================================
   EXACT ADDRESS FILL SCREEN (Matching User Screenshot)
   ========================================================================== */

.address-screen-view {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: 100vh;
  background: #ffffff;
  z-index: 2800;
  overflow-y: auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

body.desktop-mode .address-screen-view {
  max-width: 600px;
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.4);
}

.address-header-bar {
  height: 50px;
  background: #ff6600; /* Exact orange from user screenshot */
  background: linear-gradient(180deg, #ff6600 0%, #f65e00 100%);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 16px;
  position: sticky;
  top: 0;
  z-index: 20;
  flex-shrink: 0;
}

.address-cancel-btn {
  background: none;
  border: none;
  color: #111111;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
  cursor: pointer;
  padding: 6px 4px;
  text-transform: uppercase;
}

.address-cancel-btn:hover {
  opacity: 0.8;
}

.address-form-content {
  padding: 16px 18px 40px;
  flex: 1;
}

.address-heading {
  font-size: 21px;
  font-weight: 800;
  color: #0f1111;
  margin-bottom: 18px;
  line-height: 1.25;
}

.address-field-group {
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
}

.address-label {
  font-size: 13px;
  font-weight: 700;
  color: #0f1111;
  margin-bottom: 5px;
}

.amazon-text-input {
  height: 42px;
  border: 1px solid #888c8c;
  border-radius: 4px;
  padding: 0 12px;
  font-size: 14px;
  color: #0f1111;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15,17,17,.15) inset;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.amazon-text-input:focus {
  border-color: #e77600;
  box-shadow: 0 0 3px 2px rgba(228,121,17,.5);
}

.amazon-text-input.input-error {
  border-color: #d00 !important;
  background-color: #fff8f8;
}

.amazon-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.amazon-input-wrapper .amazon-text-input {
  padding-right: 36px;
}

.field-clear-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 15px;
  font-weight: 700;
  color: #333;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.field-clear-btn:hover {
  color: #000;
}

.address-helper-text {
  font-size: 11.5px;
  color: #565959;
  margin-top: 4px;
}

.amazon-select-wrapper {
  position: relative;
  width: 100%;
}

.amazon-select-input {
  height: 44px;
  width: 100%;
  border: 1px solid #888c8c;
  border-radius: 4px;
  padding: 0 36px 0 12px;
  font-size: 14px;
  font-weight: 500;
  color: #0f1111;
  background: #f0f2f2;
  box-shadow: 0 2px 5px rgba(213, 217, 217, 0.5);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  box-sizing: border-box;
}

.amazon-select-input:focus {
  border-color: #e77600;
  box-shadow: 0 0 3px 2px rgba(228,121,17,.5);
}

.select-chevron-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 14px;
  font-weight: 800;
  color: #333;
}

.add-location-map-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 16px;
  cursor: pointer;
  width: fit-content;
}

.location-pin-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e77600;
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  flex-shrink: 0;
}

.location-link-text {
  font-size: 13.5px;
  font-weight: 500;
  color: #007185;
  text-decoration: underline;
}

.address-two-cols-row {
  display: flex;
  gap: 12px;
  width: 100%;
}

.address-checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0;
  cursor: pointer;
  user-select: none;
}

.amazon-check-box {
  width: 18px;
  height: 18px;
  accent-color: #ff9900;
  cursor: pointer;
}

.checkbox-label-text {
  font-size: 13.5px;
  color: #0f1111;
  font-weight: 500;
}

.delivery-instructions-box {
  border-top: 1px solid #e7e7e7;
  padding-top: 14px;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.di-title-link {
  font-size: 14px;
  font-weight: 700;
  color: #0f1111;
  text-decoration: underline;
}

.di-desc-text {
  font-size: 13px;
  color: #0f1111;
  text-decoration: underline;
  margin-top: 2px;
}

.di-arrow-chevron {
  font-size: 20px;
  color: #0f1111;
  transition: transform 0.2s ease;
}

.di-notes-container {
  margin-top: 10px;
}

.amazon-textarea {
  width: 100%;
  height: 65px;
  border: 1px solid #888c8c;
  border-radius: 4px;
  padding: 8px 10px;
  font-size: 13px;
  color: #0f1111;
  outline: none;
  box-sizing: border-box;
  font-family: inherit;
  resize: vertical;
}

.amazon-textarea:focus {
  border-color: #e77600;
}

.btn-add-address-yellow {
  background: #ffd814;
  background: linear-gradient(180deg, #ffd814 0%, #f7ca00 100%);
  border: 1px solid #fcd200;
  border-radius: 24px;
  color: #0f1111;
  font-size: 14px;
  font-weight: 700;
  padding: 13px;
  width: 100%;
  cursor: pointer;
  margin-top: 24px;
  box-shadow: 0 2px 5px rgba(213, 217, 217, 0.5);
  transition: all 0.15s ease;
  display: block;
  text-align: center;
}

.btn-add-address-yellow:hover {
  background: #f7ca00;
}

.btn-add-address-yellow:active {
  background: #f0b800;
  transform: scale(0.99);
}

/* Payment Review Sheet Options */
.payment-card-box {
  border: 1.5px solid #d5d9d9;
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  background: #ffffff;
}

.payment-card-box.selected {
  border-color: #ff9900;
  background: #fffdf5;
  box-shadow: 0 2px 6px rgba(255, 153, 0, 0.15);
}

.payment-option-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  cursor: pointer;
}

.payment-radio-circle {
  width: 18px;
  height: 18px;
  accent-color: #ff9900;
  cursor: pointer;
  flex-shrink: 0;
}

.pay-brand-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #f7f9fa;
  border: 1px solid #e2e5e8;
  font-size: 18px;
}

.pay-brand-icon-box.gpay-bg {
  background: #ffffff;
  border-color: #e0e0e0;
}

.pay-brand-icon-box.phonepe-bg {
  background: #5f259f;
  color: #ffffff;
  border-color: #4c1d80;
}

.pay-brand-icon-box.paytm-bg {
  background: #002e6e;
  border-color: #002252;
}

.pay-brand-icon-box.cod-bg {
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.pay-option-content {
  flex: 1;
}

.pay-option-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.pay-option-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f1111;
}

.pay-badge-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.3px;
}

.pay-badge-tag.fastest {
  background: #067d62;
  color: #ffffff;
}

.pay-badge-tag.popular {
  background: #5f259f;
  color: #ffffff;
}

.pay-badge-tag.instant {
  background: #00baf2;
  color: #ffffff;
}

.pay-badge-tag.doorstep {
  background: #eef2f6;
  color: #334155;
}

.pay-option-subtext {
  font-size: 11.5px;
  color: #565959;
  margin-top: 2px;
}

.pay-expanded-panel {
  padding: 10px 14px 14px;
  background: #ffffff;
  border-top: 1px dashed #e2e5e8;
  animation: fadeInPay 0.2s ease-in-out;
}

@keyframes fadeInPay {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.pay-input-label {
  font-size: 12px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
  display: block;
}

.pay-upi-input-group {
  display: flex;
  gap: 8px;
}

.pay-upi-text-input {
  flex: 1;
  height: 38px;
  border: 1px solid #888c8c;
  border-radius: 4px;
  padding: 0 10px;
  font-size: 13px;
  color: #0f1111;
  outline: none;
  background: #fff;
}

.pay-upi-text-input:focus {
  border-color: #e77600;
  box-shadow: 0 0 3px 2px rgba(228,121,17,.3);
}

.btn-verify-upi {
  background: #f0f2f2;
  border: 1px solid #d5d9d9;
  border-radius: 4px;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 700;
  color: #0f1111;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.btn-verify-upi:hover {
  background: #e3e6e6;
}

.btn-verify-upi.verified {
  background: #067d62;
  color: #ffffff;
  border-color: #067d62;
}

.btn-upi-intent-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 14px;
  margin-top: 10px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.12);
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.btn-upi-intent-action.gpay {
  background: #ffffff;
  color: #1f1f1f;
  border: 1.5px solid #4285F4;
}

.btn-upi-intent-action.gpay:hover {
  background: #f8fafd;
}

.btn-upi-intent-action.phonepe {
  background: #5f259f;
  color: #ffffff;
  border: 1.5px solid #5f259f;
}

.btn-upi-intent-action.phonepe:hover {
  background: #501e87;
}

.btn-upi-intent-action.paytm {
  background: #00baf2;
  color: #ffffff;
  border: 1.5px solid #002e6e;
}

.btn-upi-intent-action.paytm:hover {
  background: #009ed0;
}

.btn-upi-intent-action:active {
  transform: scale(0.98);
}

.cod-info-box {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #f7f9fa;
  border: 1px solid #e2e5e8;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 11.5px;
  color: #333;
  line-height: 1.4;
}

.order-success-screen {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: 100vh;
  background: #ffffff;
  z-index: 3000;
  overflow-y: auto;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}

body.desktop-mode .order-success-screen {
  max-width: 600px;
}
