/* ============================================================
   CB TRENDZ — Ladies Fashion & Accessories
   Official High-Fidelity Stylesheet (Matching Exact User Mockup)
   ============================================================ */

/* ------------------------------------------------------------
   1. DESIGN TOKENS
   ------------------------------------------------------------ */
:root {
  --maroon-dark:     #380C16;
  --maroon-nav:      #3E0A16;
  --maroon-primary:  #4A1220;
  --maroon-hover:    #651B2B;
  --gold:            #D4AF70;
  --gold-light:      #E8D09A;
  --gold-pale:       #F7F1E5;
  --ivory-page:      #FAF7F2;
  --ivory-card:      #FFFFFF;
  --charcoal:        #242124;
  --charcoal-light:  #443F44;
  --charcoal-muted:  #7A7272;
  --border-subtle:   #EFE8DE;
  --border-card:     #ECE5DC;

  --badge-gold:      #C99424;
  --badge-green:     #2E9B66;
  --badge-pink:      #D6336C;
  --badge-red:       #E03131;

  --font-serif:      'Cormorant Garamond', Georgia, serif;
  --font-sans:       'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --shadow-card:     0 3px 12px rgba(36, 33, 36, 0.05);
  --shadow-hover:    0 8px 24px rgba(36, 33, 36, 0.12);
  --radius-sm:       4px;
  --radius-md:       10px;
  --radius-lg:       12px;
  --radius-pill:     50px;
  --transition:      0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ------------------------------------------------------------
   2. RESET & BASE
   ------------------------------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--ivory-page);
  color: var(--charcoal);
  line-height: 1.5;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

.site-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-section {
  padding: 48px 0;
}

/* ------------------------------------------------------------
   3. GOLD SCROLL PROGRESS BAR
   ------------------------------------------------------------ */
.scroll-progress-track {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  z-index: 1002;
  pointer-events: none;
}

.scroll-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #9C7638 0%, #D4AF70 30%, #FFF2D6 60%, #D4AF70 100%);
  box-shadow: 0 0 10px rgba(212, 175, 112, 0.9), 0 0 18px rgba(212, 175, 112, 0.4);
  transition: width 0.05s linear;
}

/* ------------------------------------------------------------
   4. TOP NAVBAR (Dark Royal Maroon Boutique Header)
   ------------------------------------------------------------ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--maroon-nav);
  border-bottom: 1px solid rgba(212, 175, 112, 0.22);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background-color: rgba(56, 12, 22, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand Logo */
.nav-brand {
  display: flex;
  align-items: center;
}

.brand-logo-img {
  height: 48px;
  max-width: 175px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

/* Desktop Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-item {
  color: #FFFFFF;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  position: relative;
  padding: 8px 0;
  transition: color var(--transition);
}

.nav-item:hover {
  color: var(--gold-light);
}

/* Active Nav Item Underline Indicator (matches mockup on 'Shop Sarees') */
.nav-item.active {
  color: var(--gold) !important;
  font-weight: 600;
}

.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--gold);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(212, 175, 112, 0.8);
}

/* Nav Action Icons */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-action-btn {
  color: #FFFFFF;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 50%;
  transition: background-color var(--transition), color var(--transition), transform var(--transition);
}

.nav-action-btn svg {
  width: 20px;
  height: 20px;
}

.nav-action-btn:hover {
  background-color: rgba(255, 255, 255, 0.12);
  color: var(--gold-light);
  transform: translateY(-1px);
}

.nav-counter {
  position: absolute;
  top: 4px;
  right: 4px;
  background-color: var(--gold);
  color: var(--maroon-dark);
  font-size: 0.68rem;
  font-weight: 700;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Mobile Hamburger Button */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
}

.hamburger-btn span {
  width: 100%;
  height: 2px;
  background-color: #FFFFFF;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Top Search Drawer */
.search-drawer {
  max-height: 0;
  overflow: hidden;
  background-color: #310811;
  transition: max-height 0.3s ease, padding 0.3s ease;
  border-top: 1px solid rgba(212, 175, 112, 0.15);
}

.search-drawer.open {
  max-height: 72px;
  padding: 12px 24px;
}

.search-drawer-inner {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
}

.search-drawer-inner input {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(212, 175, 112, 0.4);
  color: #FFFFFF;
  padding: 10px 40px 10px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  outline: none;
}

.search-drawer-inner input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.search-drawer-close {
  position: absolute;
  right: 12px;
  color: #FFFFFF;
  font-size: 1.1rem;
}

/* ------------------------------------------------------------
   5. SECTION 1: SHOP BY COLLECTION
   ------------------------------------------------------------ */
.collections-section {
  padding-top: 40px;
  padding-bottom: 40px;
}

.collection-title-center {
  text-align: center;
  margin-bottom: 28px;
}

.golden-lotus-ornament {
  display: inline-block;
  margin-bottom: 8px;
}

.golden-lotus-ornament svg {
  width: 36px;
  height: 22px;
}

.collection-main-heading {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.15;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.collection-sub-heading {
  font-size: 0.98rem;
  color: var(--charcoal-muted);
  font-weight: 400;
}

/* 6 Collection Cards in Single Row */
.collections-grid-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.col-card {
  position: relative;
  aspect-ratio: 3 / 4.15;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(220, 210, 198, 0.6);
  display: block;
  text-align: center;
  background-color: #F0E8DE;
  transition: transform var(--transition), box-shadow var(--transition);
}

.col-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(36, 33, 36, 0.14);
}

.col-card-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.col-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

/* Bottom Dark Maroon Gradient Overlay with Outline Icon */
.col-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 18px 8px 14px;
  background: linear-gradient(
    180deg,
    rgba(20, 3, 7, 0) 35%,
    rgba(25, 4, 9, 0.75) 65%,
    rgba(15, 2, 5, 0.96) 100%
  );
  z-index: 2;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

.col-card-icon {
  margin-bottom: 6px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.col-card-icon svg {
  width: 26px;
  height: 26px;
  display: block;
}

.col-card-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 2px;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.col-card-arrow {
  color: var(--gold);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1;
  transition: transform var(--transition);
}

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

/* ------------------------------------------------------------
   6. SECTION 2: BESTSELLING SAREES
   ------------------------------------------------------------ */
.shop-section {
  padding-top: 44px;
  padding-bottom: 55px;
}

/* Bestsellers Header Row */
.bestsellers-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
}

.bestsellers-title-with-lotus {
  display: flex;
  align-items: center;
  gap: 10px;
}

.heading-lotus-icon {
  width: 30px;
  height: 20px;
  flex-shrink: 0;
}

.bestsellers-main-heading {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0;
  line-height: 1.15;
}

.bestsellers-sub-heading {
  font-size: 0.92rem;
  color: var(--charcoal-muted);
  margin-top: 4px;
}

/* Controls: Search Pill & Sort Pill */
.bestsellers-controls-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.search-pill-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid #DCD5C9;
  border-radius: var(--radius-pill);
  padding: 7px 16px;
  min-width: 220px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.search-pill-box:focus-within {
  border-color: var(--maroon-primary);
  box-shadow: 0 0 0 3px rgba(74, 18, 32, 0.1);
}

.search-icon-svg {
  width: 16px;
  height: 16px;
  color: var(--charcoal-muted);
  flex-shrink: 0;
}

.search-pill-box input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.86rem;
  color: var(--charcoal);
  width: 100%;
}

.search-pill-box input::placeholder {
  color: #9C9494;
}

.sort-pill-box,
.price-pill-box {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid #DCD5C9;
  border-radius: var(--radius-pill);
  padding: 7px 14px;
  font-size: 0.84rem;
  color: var(--charcoal);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.sort-pill-box label,
.price-pill-box label {
  color: var(--charcoal-muted);
  font-size: 0.82rem;
  white-space: nowrap;
}

.sort-pill-box select,
.price-pill-box select {
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--charcoal);
  cursor: pointer;
}

/* Category Filter Pills Row */
.bestsellers-filters-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

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

.pill-btn {
  background-color: #FFFFFF;
  border: 1px solid #E2DBD0;
  color: var(--charcoal-light);
  border-radius: var(--radius-pill);
  padding: 7px 18px;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.pill-btn:hover {
  border-color: var(--maroon-primary);
  color: var(--maroon-primary);
}

.pill-btn.active {
  background-color: var(--maroon-primary);
  border-color: var(--maroon-primary);
  color: #FFFFFF;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(74, 18, 32, 0.25);
}

/* 4-Column Product Grid (Centered & Balanced Layout) */
.products-grid-4 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.products-grid-4 .product-card {
  flex: 0 1 calc(25% - 15px);
  min-width: 260px;
  max-width: 290px;
}

/* Product Card */
.product-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(62, 10, 22, 0.16), 0 4px 12px rgba(0, 0, 0, 0.06);
  border-color: rgba(212, 175, 112, 0.6);
}

/* Card Thumbnail */
/* Card Thumbnail - Reduced photo size for clean, compact display */
.product-thumb {
  position: relative;
  height: 220px;
  width: 100%;
  overflow: hidden;
  background-color: #F4ECE3;
  cursor: pointer;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
  will-change: transform;
}

/* Saree photo comes up smoothly on mouse hover */
.product-card:hover .product-thumb img,
.product-thumb:hover img {
  transform: translateY(-14px) scale(1.08);
  filter: brightness(1.03);
}

/* ============================================================
   HOVER POP-UP WINDOW (Shows Details with Price on Mouse Hover)
   ============================================================ */
.thumb-hover-popup {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(46, 7, 16, 0.72) 0%, rgba(42, 5, 14, 0.96) 28%, #2A050E 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 10px 10px 12px;
  border-top: 1.5px solid rgba(212, 175, 112, 0.75);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.45);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 3px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.97);
  transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1), transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.35s;
  z-index: 6;
  pointer-events: none;
  max-height: 85%;
  overflow: hidden;
}

/* Open pop-up window when user puts mouse on the photo or card */
.product-thumb:hover .thumb-hover-popup,
.product-card:hover .thumb-hover-popup {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.popup-spec-tag {
  display: inline-block;
  font-size: 0.63rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #D4AF70;
  font-weight: 600;
  line-height: 1;
}

.popup-title {
  margin: 0;
  font-family: var(--font-heading, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.popup-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 1px 0;
}

.popup-price {
  font-size: 1.12rem;
  font-weight: 700;
  color: #F8D58A;
}

.popup-old-price {
  font-size: 0.75rem;
  color: #CBB2B7;
  text-decoration: line-through;
}

.popup-discount {
  font-size: 0.65rem;
  font-weight: 700;
  background: rgba(212, 175, 112, 0.25);
  color: #F8D58A;
  border: 1px solid rgba(212, 175, 112, 0.5);
  padding: 1px 5px;
  border-radius: 3px;
}

.popup-desc {
  margin: 0;
  font-size: 0.68rem;
  color: #E6DBDD;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.popup-action-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin-top: 5px;
}

.btn-popup-cart,
.btn-popup-quickview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 5px 6px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.btn-popup-cart {
  background: #D4AF70;
  color: #3E0A16;
  font-weight: 700;
}

.btn-popup-cart:hover {
  background: #F8D58A;
  transform: translateY(-1px);
}

.btn-popup-quickview {
  background: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-popup-quickview:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* Product Badges (Top-Left) */
.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 3px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 4px;
  color: #FFFFFF;
  text-transform: capitalize;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.badge-bestseller {
  background-color: var(--badge-gold);
}

.badge-new {
  background-color: var(--badge-green);
}

.badge-popular {
  background-color: var(--badge-pink);
}

.badge-sale {
  background-color: var(--badge-red);
}

/* Wishlist Heart Button (Top-Right) */
.product-wish-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  border: none;
  color: #FFFFFF;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition);
}

.product-wish-btn:hover {
  transform: scale(1.1);
  background: rgba(0, 0, 0, 0.55);
}

.product-wish-btn.active {
  color: #FF385C;
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

/* Card Details */
.product-info {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-family: var(--font-serif);
  font-size: 1.16rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 2px;
  line-height: 1.25;
}

.product-spec {
  font-size: 0.78rem;
  color: var(--charcoal-muted);
  margin-bottom: 8px;
}

/* Price Row */
.product-price-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.price-now {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--charcoal);
}

.price-was {
  font-size: 0.85rem;
  color: #8A8282;
  text-decoration: line-through;
}

.discount-tag {
  background-color: #FFE8EC;
  color: #C2185B;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
}

/* Rating Row */
.product-rating-line {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
}

.stars-gold {
  color: #E5A812;
  font-size: 0.86rem;
  letter-spacing: 1.5px;
}

.rating-count {
  font-size: 0.78rem;
  color: var(--charcoal-muted);
}

/* Action Buttons (Dual stacked buttons matching mockup) */
.product-btn-group {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

/* Standalone Luxury "Buy Now" Button with Shimmer, Pulse & 3D Lift */
.btn-card-buynow {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: linear-gradient(135deg, #7B1FA2 0%, #5F259F 48%, #4A1220 100%);
  color: #FFFFFF !important;
  border: 1px solid rgba(248, 213, 138, 0.45);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(95, 37, 159, 0.4), 0 0 0 1px rgba(248, 213, 138, 0.2);
  animation: buynowGlowPulse 3s infinite ease-in-out;
  transition: all 0.28s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Diagonal Light-Sweep Shimmer Animation */
.btn-card-buynow::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -85%;
  width: 50%;
  height: 220%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  animation: buynowShineSweep 3.2s infinite ease-in-out;
  pointer-events: none;
}

@keyframes buynowShineSweep {
  0% {
    left: -85%;
  }
  25%, 100% {
    left: 145%;
  }
}

@keyframes buynowGlowPulse {
  0%, 100% {
    box-shadow: 0 4px 15px rgba(95, 37, 159, 0.4), 0 0 0 1px rgba(248, 213, 138, 0.25);
  }
  50% {
    box-shadow: 0 6px 22px rgba(123, 31, 162, 0.65), 0 0 12px rgba(248, 213, 138, 0.55), 0 0 0 1px rgba(248, 213, 138, 0.5);
  }
}

.btn-card-buynow:hover {
  background: linear-gradient(135deg, #8E24AA 0%, #4A148C 48%, #2A050E 100%);
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 8px 26px rgba(95, 37, 159, 0.6), 0 0 16px rgba(248, 213, 138, 0.65);
}

.btn-card-buynow:hover svg {
  transform: scale(1.2) rotate(-8deg);
}

.btn-card-buynow:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 2px 8px rgba(95, 37, 159, 0.4);
}

.btn-card-buynow svg {
  color: #F8D58A;
  transition: transform 0.25s ease;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.btn-modal-buynow {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #7B1FA2 0%, #5F259F 48%, #4A1220 100%);
  color: #FFFFFF !important;
  border: 1px solid rgba(248, 213, 138, 0.45);
  border-radius: var(--radius-sm);
  padding: 13px 22px;
  font-size: 0.98rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(95, 37, 159, 0.4);
  animation: buynowGlowPulse 3s infinite ease-in-out;
  transition: all 0.28s ease;
}

.btn-modal-buynow::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -85%;
  width: 50%;
  height: 220%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  animation: buynowShineSweep 3.2s infinite ease-in-out;
  pointer-events: none;
}

.btn-modal-buynow:hover {
  background: linear-gradient(135deg, #8E24AA 0%, #4A148C 48%, #2A050E 100%);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 26px rgba(95, 37, 159, 0.6);
}

.btn-popup-buynow {
  padding: 7px 10px;
  font-size: 0.78rem;
}
  transform: translateY(-2px);
}

.btn-card-quickview {
  width: 100%;
  background-color: #FFFFFF;
  color: var(--charcoal);
  border: 1px solid #D8D1C7;
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all var(--transition);
}

.btn-card-quickview:hover {
  background-color: #FAF7F2;
  border-color: var(--maroon-primary);
  color: var(--maroon-primary);
}

/* Catalog Empty State */
.catalog-empty {
  text-align: center;
  padding: 60px 20px;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px dashed #DDD5CA;
  margin-top: 20px;
}

.empty-emoji {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.catalog-empty h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.catalog-empty p {
  color: var(--charcoal-muted);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.btn-reset-filters {
  background: var(--maroon-primary);
  color: #FFFFFF;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
}

/* Pagination Bar */
.pagination-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
}

.page-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #DDD5CA;
  background-color: #FFFFFF;
  color: var(--charcoal);
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}

.page-btn:hover {
  border-color: var(--maroon-primary);
  color: var(--maroon-primary);
}

.page-btn.active {
  background-color: var(--maroon-primary);
  border-color: var(--maroon-primary);
  color: #FFFFFF;
  font-weight: 700;
}

.page-btn.next-btn {
  font-size: 1.2rem;
  line-height: 1;
}

/* ------------------------------------------------------------
   7. SECTION 3: WHY CHOOSE CB TRENDZ
   ------------------------------------------------------------ */
.why-section {
  padding-top: 40px;
  padding-bottom: 55px;
  position: relative;
}

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

.why-box {
  background-color: #FAF7F2;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(36, 33, 36, 0.03);
  transition: transform var(--transition), box-shadow var(--transition);
}

.why-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(36, 33, 36, 0.08);
}

.why-badge-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: rgba(212, 175, 112, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.why-badge-icon svg {
  width: 26px;
  height: 26px;
}

.why-box-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.why-box-desc {
  font-size: 0.85rem;
  color: var(--charcoal-muted);
  line-height: 1.45;
}

/* ------------------------------------------------------------
   8. SECTION 4: FOOTER (Deep Royal Maroon)
   ------------------------------------------------------------ */
.site-footer {
  background-color: var(--maroon-dark);
  color: #F8EFE4;
  padding: 55px 0 24px;
}

.footer-4col-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 1.3fr;
  gap: 40px;
}

.footer-logo-lockup {
  display: flex;
  flex-direction: column;
}

.footer-logo-img {
  height: 52px;
  max-width: 190px;
  object-fit: contain;
  margin-bottom: 12px;
}

.footer-tagline-script {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gold-light);
  line-height: 1.3;
}

.footer-col-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.footer-link-list li {
  margin-bottom: 10px;
}

.footer-link-list a {
  color: #D8CCC4;
  font-size: 0.88rem;
  transition: color var(--transition), transform var(--transition);
  display: inline-block;
}

.footer-link-list a:hover {
  color: var(--gold-light);
  transform: translateX(3px);
}

.footer-contact-info a {
  transition: color var(--transition);
}

.footer-contact-info a:hover {
  color: var(--gold-light) !important;
  text-decoration: underline !important;
}

/* Connect With Us Column */
.footer-social-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-social-row a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 112, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: all var(--transition);
}

.footer-social-row a svg {
  width: 16px;
  height: 16px;
}

.footer-social-row a:hover {
  background-color: var(--gold);
  border-color: var(--gold);
  color: var(--maroon-dark);
  transform: translateY(-2px);
}

.newsletter-sub-label {
  font-size: 0.85rem;
  color: #D8CCC4;
  margin-bottom: 10px;
}

.footer-newsletter-form {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 112, 0.35);
  border-radius: var(--radius-pill);
  padding: 4px 6px 4px 14px;
  margin-bottom: 18px;
}

.footer-newsletter-form input {
  border: none;
  outline: none;
  background: transparent;
  color: #FFFFFF;
  font-size: 0.85rem;
  width: 100%;
}

.footer-newsletter-form input::placeholder {
  color: rgba(248, 239, 228, 0.6);
}

.footer-newsletter-form button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--maroon-dark);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), background var(--transition);
}

.footer-newsletter-form button:hover {
  background: #FFFFFF;
  transform: scale(1.06);
}

/* Follow Us on Instagram Button */
.footer-insta-btn-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-footer-insta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--maroon-primary);
  border: 1px solid var(--gold);
  color: #FFFFFF;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 600;
  transition: all var(--transition);
}

.btn-footer-insta svg {
  width: 16px;
  height: 16px;
}

.btn-footer-insta:hover {
  background-color: var(--maroon-hover);
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

.footer-insta-handle {
  font-size: 0.84rem;
  color: var(--gold-light);
}

/* Footer Bottom Bar */
.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(212, 175, 112, 0.2);
  margin-top: 36px;
  padding-top: 18px;
  font-size: 0.82rem;
  color: #D8CCC4;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-love-tag .heart-red {
  color: #FF4757;
}

/* ------------------------------------------------------------
   9. DRAWERS (CART & WISHLIST)
   ------------------------------------------------------------ */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  right: -440px;
  width: 420px;
  max-width: 90vw;
  height: 100vh;
  background-color: #FFFFFF;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.25);
  transition: right 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.drawer.open {
  right: 0;
}

.drawer-header {
  padding: 20px 24px;
  background: var(--maroon-nav);
  color: #FFFFFF;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-header h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
}

.drawer-close {
  color: #FFFFFF;
  font-size: 1.25rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease;
}

.drawer-close:hover {
  background: rgba(255, 255, 255, 0.15);
}

.drawer-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px 24px;
}

.drawer-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
}

.empty-icon-lg {
  font-size: 3rem;
  margin-bottom: 12px;
  color: var(--maroon-primary);
}

.drawer-empty h4 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.drawer-empty p {
  color: var(--charcoal-muted);
  font-size: 0.88rem;
  margin-bottom: 20px;
}

.btn-empty-shop {
  background: var(--maroon-primary);
  color: #FFFFFF;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
}

/* Drawer Item Card */
.drawer-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.drawer-item-img {
  width: 70px;
  height: 90px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.drawer-item-details {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.drawer-item-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 2px;
}

.drawer-item-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--maroon-primary);
  margin-bottom: 8px;
}

.drawer-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  border: 1px solid #DCD5C9;
  background: #FAF7F2;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.qty-count {
  font-size: 0.88rem;
  font-weight: 600;
  min-width: 18px;
  text-align: center;
}

.drawer-item-remove {
  color: #A09494;
  font-size: 1rem;
  position: absolute;
  top: 12px;
  right: 0;
  transition: color 0.2s ease;
}

.drawer-item-remove:hover {
  color: #E03131;
}

/* Drawer Footer */
.drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border-subtle);
  background: #FAF7F2;
}

.subtotal-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.subtotal-line strong {
  font-size: 1.3rem;
  color: var(--maroon-primary);
}

.shipping-note {
  font-size: 0.78rem;
  color: var(--badge-green);
  font-weight: 600;
  margin-bottom: 14px;
}

.btn-checkout {
  width: 100%;
  background: #25D366;
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  padding: 13px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-checkout:hover {
  background: #1EBE5D;
  transform: translateY(-2px);
}

/* ------------------------------------------------------------
   10. QUICK VIEW MODAL
   ------------------------------------------------------------ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(5px);
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
}

.modal-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s ease;
}

.modal-close-btn:hover {
  background: rgba(0, 0, 0, 0.2);
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
}

.modal-img-box {
  background: #F4ECE3;
}

.modal-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  min-height: 400px;
}

.modal-details-box {
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
}

.modal-badge-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 4px;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 4px;
  line-height: 1.2;
}

.modal-spec {
  font-size: 0.85rem;
  color: var(--charcoal-muted);
  margin-bottom: 14px;
}

.modal-price-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}

.modal-price-now {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--maroon-primary);
}

.modal-price-was {
  font-size: 1rem;
  color: #8A8282;
  text-decoration: line-through;
}

.modal-desc-text {
  font-size: 0.9rem;
  color: var(--charcoal-light);
  line-height: 1.6;
  margin-bottom: 22px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}

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

.btn-modal-cart {
  background: var(--maroon-primary);
  color: #FFFFFF;
  border-radius: var(--radius-sm);
  padding: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s ease;
}

.btn-modal-cart:hover {
  background: var(--maroon-hover);
}

.btn-modal-wa {
  background: #25D366;
  color: #FFFFFF;
  border-radius: var(--radius-sm);
  padding: 11px;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s ease;
}

.btn-modal-wa:hover {
  background: #1EBE5D;
}

/* ------------------------------------------------------------
   11. TOAST NOTIFICATION & BACK TO TOP
   ------------------------------------------------------------ */
.toast-popup {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background-color: var(--maroon-dark);
  color: #FFFFFF;
  border: 1px solid var(--gold);
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s ease;
}

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

.back-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--maroon-primary);
  color: #FFFFFF;
  border: 1px solid var(--gold);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
}

.back-to-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  background: var(--maroon-hover);
}

/* ------------------------------------------------------------
   12. MOBILE BOTTOM NAVIGATION BAR
   ------------------------------------------------------------ */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 58px;
  background-color: var(--maroon-dark);
  border-top: 1px solid rgba(212, 175, 112, 0.25);
  z-index: 1001;
  justify-content: space-around;
  align-items: center;
  padding: 0 6px;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
}

.mobile-nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #D8CCC4;
  font-size: 0.65rem;
  font-weight: 500;
  padding: 4px;
  position: relative;
  transition: color var(--transition);
}

.mobile-nav-link svg {
  width: 20px;
  height: 20px;
}

.mobile-nav-link.active,
.mobile-nav-link:hover {
  color: var(--gold);
}

.mobile-nav-link .icon-wrap {
  position: relative;
}

.mobile-nav-link .badge-mini {
  position: absolute;
  top: -4px;
  right: -8px;
  background-color: var(--gold);
  color: var(--maroon-dark);
  font-size: 0.6rem;
  font-weight: 700;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wa-nav-link {
  color: #25D366 !important;
}

/* ------------------------------------------------------------
   13. RESPONSIVE BREAKPOINTS
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .collections-grid-6 {
    grid-template-columns: repeat(3, 1fr);
  }
  .products-grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }
  .why-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-4col-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 74px;
    left: -100%;
    width: 280px;
    height: calc(100vh - 74px);
    background-color: var(--maroon-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 24px;
    gap: 20px;
    z-index: 1040;
    box-shadow: 6px 0 24px rgba(0, 0, 0, 0.35);
    transition: left 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .nav-menu.open {
    left: 0;
  }

  .hamburger-btn {
    display: flex;
  }

  .collections-grid-6 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .products-grid-4 {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .products-grid-4 .product-card {
    flex: unset !important;
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    border-radius: 8px !important;
  }

  .product-thumb {
    height: auto !important;
    aspect-ratio: 4 / 5 !important;
    min-height: unset !important;
    width: 100% !important;
  }

  .product-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  .product-info {
    padding: 10px 8px 10px !important;
  }

  .product-title {
    font-size: 0.88rem !important;
    line-height: 1.25 !important;
    height: 2.5em !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    margin: 0 !important;
  }

  .product-price-line {
    margin: 4px 0 6px !important;
  }

  .price-now {
    font-size: 1.05rem !important;
  }

  .btn-card-buynow {
    padding: 9px 8px !important;
    font-size: 0.82rem !important;
    border-radius: 6px !important;
  }

  .category-pills-bar {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    padding-bottom: 6px !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .bestsellers-header-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .bestsellers-controls-wrap {
    width: 100%;
    flex-direction: column;
    gap: 8px;
  }

  .search-pill-box,
  .sort-pill-box,
  .price-pill-box {
    width: 100%;
    min-width: unset;
  }

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

  .modal-img-box img {
    min-height: 240px;
  }

  .modal-details-box {
    padding: 20px 16px;
  }

  .mobile-bottom-bar {
    display: flex !important;
  }

  body {
    padding-bottom: 58px;
  }

  .back-to-top-btn {
    bottom: 70px;
  }

  /* Checkout Bottom Sheet on Mobile */
  .modal-overlay {
    align-items: flex-end !important;
    padding: 0 !important;
  }

  .checkout-modal-card {
    max-width: 100% !important;
    width: 100% !important;
    max-height: 92vh !important;
    border-radius: 20px 20px 0 0 !important;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.45) !important;
    animation: slideUpMobileSheet 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  @keyframes slideUpMobileSheet {
    from {
      transform: translateY(100%);
    }
    to {
      transform: translateY(0);
    }
  }

  .checkout-modal-header {
    padding: 14px 16px 12px !important;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
  }

  .checkout-modal-header::before {
    content: '';
    display: block;
    width: 42px;
    height: 4px;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 4px;
    margin: 0 auto 10px;
  }

  .checkout-modal-card .modal-close-btn {
    top: 14px !important;
    right: 14px !important;
    width: 32px !important;
    height: 32px !important;
    font-size: 14px !important;
  }

  .checkout-steps-bar {
    padding: 10px 14px !important;
    gap: 8px !important;
  }

  .step-tab {
    font-size: 0.78rem !important;
  }

  .step-tab .step-dot {
    width: 22px !important;
    height: 22px !important;
    font-size: 0.72rem !important;
  }

  .checkout-step-container {
    padding: 14px 14px 28px !important;
    max-height: calc(92vh - 120px) !important;
    -webkit-overflow-scrolling: touch;
  }

  .step1-grid-layout {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .checkout-form-section {
    padding: 14px 12px !important;
  }

  .form-row-2 {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .form-group input,
  .form-group select {
    padding: 11px 12px !important;
    font-size: 16px !important;
    border-radius: 6px !important;
  }

  .phonepe-scanner-img {
    width: 175px !important;
    height: 175px !important;
  }

  .btn-open-phonepe-app {
    padding: 12px 14px !important;
    font-size: 0.92rem !important;
    min-height: 46px !important;
  }

  .btn-confirm-phonepe {
    padding: 14px !important;
    font-size: 0.95rem !important;
    min-height: 48px !important;
  }

  .btn-proceed-step {
    padding: 14px !important;
    font-size: 0.95rem !important;
    min-height: 48px !important;
  }

  .success-modal-card {
    max-width: 100% !important;
    border-radius: 20px 20px 0 0 !important;
    padding: 24px 16px 30px !important;
  }
}

@media (max-width: 480px) {
  .collection-main-heading,
  .bestsellers-main-heading {
    font-size: 1.85rem;
  }

  .why-grid-4 {
    grid-template-columns: 1fr;
  }

  .footer-4col-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   14. CHECKOUT MODAL & PAYMENT GATEWAY INTEGRATION
   ============================================================ */
.cart-checkout-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-checkout-primary {
  width: 100%;
  background: linear-gradient(135deg, #4A1220 0%, #651B2B 100%);
  color: #FFFFFF;
  border: 1px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(74, 18, 32, 0.35);
  cursor: pointer;
  transition: all var(--transition);
}

.btn-checkout-primary:hover {
  background: linear-gradient(135deg, #651B2B 0%, #7A2134 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(74, 18, 32, 0.45);
}

.btn-checkout-secondary {
  width: 100%;
  background: #25D366;
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background var(--transition);
}

.btn-checkout-secondary:hover {
  background: #1EBE5D;
}

/* Checkout Modal Card */
.checkout-modal-card {
  max-width: 920px;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.checkout-modal-header {
  background: var(--maroon-nav);
  color: #FFFFFF;
  padding: 18px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(212, 175, 112, 0.3);
}

.checkout-brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.checkout-lotus {
  width: 28px;
  height: 18px;
}

.checkout-brand-lockup h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0;
}

.checkout-safe-badge {
  font-size: 0.8rem;
  color: var(--gold-light);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: 50px;
  border: 1px solid rgba(212, 175, 112, 0.3);
}

/* 2-Step Checkout Steps Indicator Bar */
.checkout-steps-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: #F7F3EE;
  padding: 12px 24px;
  border-bottom: 1px solid #ECE4D8;
}

.step-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #8C827A;
  transition: all 0.25s ease;
}

.step-tab .step-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #DDD5CA;
  color: #665D55;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  transition: all 0.25s ease;
}

.step-tab.active {
  color: #5F259F;
  font-weight: 700;
}

.step-tab.active .step-dot {
  background: #5F259F;
  color: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(95, 37, 159, 0.18);
}

.step-tab.completed {
  color: #2E7D32;
  font-weight: 600;
}

.step-tab.completed .step-dot {
  background: #2E7D32;
  color: #FFFFFF;
}

.step-divider {
  color: #BBB0A4;
  font-size: 1rem;
  font-weight: bold;
}

/* 2-Step Checkout Containers */
.checkout-step-container {
  padding: 24px 28px 28px;
  max-height: 80vh;
  overflow-y: auto;
}

.step1-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 24px;
}

@media (max-width: 768px) {
  .step1-grid-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.btn-proceed-step {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: linear-gradient(135deg, #7B1FA2 0%, #5F259F 50%, #4A1220 100%);
  color: #FFFFFF !important;
  border: 1px solid rgba(248, 213, 138, 0.4);
  border-radius: var(--radius-sm);
  padding: 13px 20px;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  margin-top: 16px;
  box-shadow: 0 4px 16px rgba(95, 37, 159, 0.35);
  transition: all 0.25s ease;
}

.btn-proceed-step:hover {
  background: linear-gradient(135deg, #8E24AA 0%, #4A148C 50%, #2A050E 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(95, 37, 159, 0.5);
}

/* Step 2 Payment View: Delivery Recap & Centered Card */
.delivery-recap-banner {
  background: #F4EFF9;
  border: 1.5px solid #D1C4E9;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 520px;
  margin: 0 auto 16px;
}

.recap-info {
  font-size: 0.88rem;
  color: #2A050E;
  line-height: 1.35;
}

.recap-info strong {
  color: #5F259F;
}

.recap-address-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.recap-address-text {
  color: #443F44;
  font-size: 0.82rem;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  transition: all 0.15s ease;
}

.recap-address-text:hover {
  background: rgba(95, 37, 159, 0.08);
  color: #5F259F;
  text-decoration: underline;
}

.btn-copy-addr-pill {
  background: #FFFFFF;
  border: 1px solid #D1C4E9;
  color: #5F259F;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: all 0.2s ease;
}

.btn-copy-addr-pill:hover {
  background: #EDE7F6;
  border-color: #5F259F;
}

.btn-edit-details {
  background: #FFFFFF;
  border: 1.5px solid #5F259F;
  color: #5F259F;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-edit-details:hover {
  background: #5F259F;
  color: #FFFFFF;
}

#step-view-payment .phonepe-pay-card {
  max-width: 520px;
  margin: 0 auto;
}

.btn-back-step {
  width: 100%;
  background: transparent;
  color: #5F259F;
  border: 1.5px solid #D1C4E9;
  border-radius: var(--radius-sm);
  padding: 10px;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
  transition: all 0.2s ease;
}

.btn-back-step:hover {
  background: #F4EFF9;
  border-color: #5F259F;
}

.safe-delivery-footer {
  font-size: 0.76rem;
  color: #7A7272;
  text-align: center;
  margin-top: 12px;
  margin-bottom: 0;
}

/* Checkout Form Layout */
.checkout-form {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  padding: 24px 28px 28px;
  gap: 28px;
  max-height: 80vh;
  overflow-y: auto;
}

.checkout-left-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.checkout-form-section {
  background: #FAF7F2;
  border: 1px solid #ECE4D8;
  border-radius: var(--radius-md);
  padding: 18px;
}

.checkout-sec-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--maroon-primary);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(74, 18, 32, 0.1);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 10px;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--charcoal-light);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100% !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
  padding: 10px 14px;
  border: 1.5px solid #D8D0C5;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--charcoal);
  background: #FFFFFF;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-optional-tag {
  font-size: 0.74rem;
  color: var(--charcoal-muted);
  font-weight: 400;
  margin-left: 4px;
}

.checkout-modal-card .modal-close-btn {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.18);
}

.checkout-modal-card .modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.35);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--maroon-primary);
  box-shadow: 0 0 0 3px rgba(74, 18, 32, 0.12);
}

/* PhonePe Brand Header Pill */
.phonepe-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #5F259F;
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
}

.phonepe-icon-glyph {
  background: #FFFFFF;
  color: #5F259F;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 0.75rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* PhonePe Scan & Pay Right Column Card */
.phonepe-pay-card {
  background: #FFFFFF;
  border: 1.5px solid #E8E0F0;
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: 0 4px 20px rgba(95, 37, 159, 0.08);
}

.phonepe-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.phonepe-logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #5F259F;
  color: #FFFFFF;
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(95, 37, 159, 0.3);
}

.phonepe-heading h4 {
  font-size: 1.12rem;
  color: #2D006B;
  margin: 0 0 2px 0;
}

.phonepe-heading p {
  font-size: 0.75rem;
  color: #7A7272;
  margin: 0;
}

.phonepe-amount-display-box {
  background: #EDE7F6;
  border: 1px solid #D1C4E9;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.phonepe-amount-display-box .pad-label {
  font-size: 0.85rem;
  color: #4A148C;
  font-weight: 600;
}

.phonepe-amount-display-box .pad-val {
  font-size: 1.35rem;
  color: #4A148C;
  font-weight: 800;
}

.phonepe-scanner-box {
  background: #FAF7F2;
  border: 1px solid #E2D9CC;
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
  margin-bottom: 12px;
}

.phonepe-scanner-img {
  width: 190px;
  height: 190px;
  object-fit: contain;
  display: block;
  margin: 0 auto 8px;
  border-radius: 8px;
  border: 2px solid #5F259F;
  background: #FFFFFF;
}

.scanner-live-badge {
  display: inline-block;
  background: #5F259F;
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

.scanner-amount-tag {
  display: inline-block;
  background: #EDE7F6;
  color: #4A148C;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  border: 1px solid #D1C4E9;
  margin: 6px auto;
  box-shadow: 0 1px 4px rgba(95, 37, 159, 0.1);
}

.phonepe-upi-details {
  background: #FAF7F2;
  border: 1px dashed #DDD5CA;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  margin-bottom: 12px;
  font-size: 0.82rem;
}

.p-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 4px 0;
}

.p-lbl {
  color: #7A7272;
}

.p-val {
  color: #222222;
  font-weight: 700;
}

.btn-copy-upi-pill {
  background: #FFFFFF;
  border: 1px solid #D1C4E9;
  color: #5F259F;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
}

.btn-copy-upi-pill:hover {
  background: #EDE7F6;
}

.btn-open-phonepe-app {
  display: block;
  width: 100%;
  background: #5F259F;
  color: #FFFFFF !important;
  text-align: center;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 14px;
  box-shadow: 0 3px 10px rgba(95, 37, 159, 0.25);
  transition: all 0.2s ease;
}

.btn-open-phonepe-app:hover {
  background: #4A148C;
  transform: translateY(-1px);
}

.payment-steps-guide {
  background: #F9F7FC;
  border-left: 3px solid #5F259F;
  padding: 10px 12px;
  border-radius: 4px;
  margin-bottom: 14px;
  font-size: 0.78rem;
  color: #333333;
}

.step-line {
  margin: 4px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.step-num {
  background: #5F259F;
  color: #FFFFFF;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  font-size: 0.68rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

/* Automated Payment Signal Live Monitor */
.payment-signal-card {
  background: #F4EFFB;
  border: 1.5px solid #D1C4E9;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  transition: all 0.3s ease;
}

.payment-signal-card.signal-detected {
  background: #E8F5E9 !important;
  border-color: #66BB6A !important;
  box-shadow: 0 4px 14px rgba(76, 175, 80, 0.25);
}

.signal-radar-animation {
  position: relative;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.radar-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #5F259F;
  opacity: 0;
  animation: radarPulse 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.radar-pulse-2 {
  animation-delay: 0.8s;
}

.payment-signal-card.signal-detected .radar-circle {
  border-color: #2E7D32;
  animation: none;
  opacity: 0;
}

@keyframes radarPulse {
  0% {
    transform: scale(0.4);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.radar-core {
  font-size: 1.15rem;
  z-index: 1;
}

.signal-status-content {
  flex: 1;
  text-align: left;
}

.signal-status-content h5 {
  margin: 0 0 3px 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: #2D006B;
}

.payment-signal-card.signal-detected .signal-status-content h5 {
  color: #1B5E20 !important;
}

.signal-status-content p {
  margin: 0;
  font-size: 0.74rem;
  color: #555555;
  line-height: 1.35;
}

.payment-signal-card.signal-detected .signal-status-content p {
  color: #2E7D32 !important;
}

.btn-confirm-phonepe {
    padding: 14px !important;
    font-size: 0.95rem !important;
    min-height: 48px !important;
  }

  .btn-proceed-step {
    padding: 14px !important;
    font-size: 0.95rem !important;
    min-height: 48px !important;
  }

  .success-modal-card {
    max-width: 100% !important;
    border-radius: 20px 20px 0 0 !important;
    padding: 24px 16px 30px !important;
  }
}

@media (max-width: 480px) {
  .collection-main-heading,
  .bestsellers-main-heading {
    font-size: 1.85rem;
  }

  .why-grid-4 {
    grid-template-columns: 1fr;
  }

  .footer-4col-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   14. CHECKOUT MODAL & PAYMENT GATEWAY INTEGRATION
   ============================================================ */
.cart-checkout-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-checkout-primary {
  width: 100%;
  background: linear-gradient(135deg, #4A1220 0%, #651B2B 100%);
  color: #FFFFFF;
  border: 1px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(74, 18, 32, 0.35);
  cursor: pointer;
  transition: all var(--transition);
}

.btn-checkout-primary:hover {
  background: linear-gradient(135deg, #651B2B 0%, #7A2134 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(74, 18, 32, 0.45);
}

.btn-checkout-secondary {
  width: 100%;
  background: #25D366;
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background var(--transition);
}

.btn-checkout-secondary:hover {
  background: #1EBE5D;
}

/* Checkout Modal Card */
.checkout-modal-card {
  max-width: 920px;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.checkout-modal-header {
  background: var(--maroon-nav);
  color: #FFFFFF;
  padding: 18px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(212, 175, 112, 0.3);
}

.checkout-brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.checkout-lotus {
  width: 28px;
  height: 18px;
}

.checkout-brand-lockup h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0;
}

.checkout-safe-badge {
  font-size: 0.8rem;
  color: var(--gold-light);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: 50px;
  border: 1px solid rgba(212, 175, 112, 0.3);
}

/* 2-Step Checkout Steps Indicator Bar */
.checkout-steps-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: #F7F3EE;
  padding: 12px 24px;
  border-bottom: 1px solid #ECE4D8;
}

.step-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #8C827A;
  transition: all 0.25s ease;
}

.step-tab .step-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #DDD5CA;
  color: #665D55;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  transition: all 0.25s ease;
}

.step-tab.active {
  color: #5F259F;
  font-weight: 700;
}

.step-tab.active .step-dot {
  background: #5F259F;
  color: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(95, 37, 159, 0.18);
}

.step-tab.completed {
  color: #2E7D32;
  font-weight: 600;
}

.step-tab.completed .step-dot {
  background: #2E7D32;
  color: #FFFFFF;
}

.step-divider {
  color: #BBB0A4;
  font-size: 1rem;
  font-weight: bold;
}

/* 2-Step Checkout Containers */
.checkout-step-container {
  padding: 24px 28px 28px;
  max-height: 80vh;
  overflow-y: auto;
}

.step1-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 24px;
}

@media (max-width: 768px) {
  .step1-grid-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.btn-proceed-step {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: linear-gradient(135deg, #7B1FA2 0%, #5F259F 50%, #4A1220 100%);
  color: #FFFFFF !important;
  border: 1px solid rgba(248, 213, 138, 0.4);
  border-radius: var(--radius-sm);
  padding: 13px 20px;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  margin-top: 16px;
  box-shadow: 0 4px 16px rgba(95, 37, 159, 0.35);
  transition: all 0.25s ease;
}

.btn-proceed-step:hover {
  background: linear-gradient(135deg, #8E24AA 0%, #4A148C 50%, #2A050E 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(95, 37, 159, 0.5);
}

/* Step 2 Payment View: Delivery Recap & Centered Card */
.delivery-recap-banner {
  background: #F4EFF9;
  border: 1.5px solid #D1C4E9;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 520px;
  margin: 0 auto 16px;
}

.recap-info {
  font-size: 0.88rem;
  color: #2A050E;
  line-height: 1.35;
}

.recap-info strong {
  color: #5F259F;
}

.recap-address-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.recap-address-text {
  color: #443F44;
  font-size: 0.82rem;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  transition: all 0.15s ease;
}

.recap-address-text:hover {
  background: rgba(95, 37, 159, 0.08);
  color: #5F259F;
  text-decoration: underline;
}

.btn-copy-addr-pill {
  background: #FFFFFF;
  border: 1px solid #D1C4E9;
  color: #5F259F;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: all 0.2s ease;
}

.btn-copy-addr-pill:hover {
  background: #EDE7F6;
  border-color: #5F259F;
}

.btn-edit-details {
  background: #FFFFFF;
  border: 1.5px solid #5F259F;
  color: #5F259F;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-edit-details:hover {
  background: #5F259F;
  color: #FFFFFF;
}

#step-view-payment .phonepe-pay-card {
  max-width: 520px;
  margin: 0 auto;
}

.btn-back-step {
  width: 100%;
  background: transparent;
  color: #5F259F;
  border: 1.5px solid #D1C4E9;
  border-radius: var(--radius-sm);
  padding: 10px;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
  transition: all 0.2s ease;
}

.btn-back-step:hover {
  background: #F4EFF9;
  border-color: #5F259F;
}

.safe-delivery-footer {
  font-size: 0.76rem;
  color: #7A7272;
  text-align: center;
  margin-top: 12px;
  margin-bottom: 0;
}

/* Checkout Form Layout */
.checkout-form {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  padding: 24px 28px 28px;
  gap: 28px;
  max-height: 80vh;
  overflow-y: auto;
}

.checkout-left-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.checkout-form-section {
  background: #FAF7F2;
  border: 1px solid #ECE4D8;
  border-radius: var(--radius-md);
  padding: 18px;
}

.checkout-sec-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--maroon-primary);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(74, 18, 32, 0.1);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 10px;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--charcoal-light);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100% !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
  padding: 10px 14px;
  border: 1.5px solid #D8D0C5;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--charcoal);
  background: #FFFFFF;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-optional-tag {
  font-size: 0.74rem;
  color: var(--charcoal-muted);
  font-weight: 400;
  margin-left: 4px;
}

.checkout-modal-card .modal-close-btn {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.18);
}

.checkout-modal-card .modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.35);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--maroon-primary);
  box-shadow: 0 0 0 3px rgba(74, 18, 32, 0.12);
}

/* PhonePe Brand Header Pill */
.phonepe-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #5F259F;
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
}

.phonepe-icon-glyph {
  background: #FFFFFF;
  color: #5F259F;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 0.75rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* PhonePe Scan & Pay Right Column Card */
.phonepe-pay-card {
  background: #FFFFFF;
  border: 1.5px solid #E8E0F0;
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: 0 4px 20px rgba(95, 37, 159, 0.08);
}

.phonepe-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.phonepe-logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #5F259F;
  color: #FFFFFF;
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(95, 37, 159, 0.3);
}

.phonepe-heading h4 {
  font-size: 1.12rem;
  color: #2D006B;
  margin: 0 0 2px 0;
}

.phonepe-heading p {
  font-size: 0.75rem;
  color: #7A7272;
  margin: 0;
}

.phonepe-amount-display-box {
  background: #EDE7F6;
  border: 1px solid #D1C4E9;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.phonepe-amount-display-box .pad-label {
  font-size: 0.85rem;
  color: #4A148C;
  font-weight: 600;
}

.phonepe-amount-display-box .pad-val {
  font-size: 1.35rem;
  color: #4A148C;
  font-weight: 800;
}

.phonepe-scanner-box {
  background: #FAF7F2;
  border: 1px solid #E2D9CC;
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
  margin-bottom: 12px;
}

.phonepe-scanner-img {
  width: 190px;
  height: 190px;
  object-fit: contain;
  display: block;
  margin: 0 auto 8px;
  border-radius: 8px;
  border: 2px solid #5F259F;
  background: #FFFFFF;
}

.scanner-live-badge {
  display: inline-block;
  background: #5F259F;
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

.scanner-amount-tag {
  display: inline-block;
  background: #EDE7F6;
  color: #4A148C;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  border: 1px solid #D1C4E9;
  margin: 6px auto;
  box-shadow: 0 1px 4px rgba(95, 37, 159, 0.1);
}

.phonepe-upi-details {
  background: #FAF7F2;
  border: 1px dashed #DDD5CA;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  margin-bottom: 12px;
  font-size: 0.82rem;
}

.p-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 4px 0;
}

.p-lbl {
  color: #7A7272;
}

.p-val {
  color: #222222;
  font-weight: 700;
}

.btn-copy-upi-pill {
  background: #FFFFFF;
  border: 1px solid #D1C4E9;
  color: #5F259F;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
}

.btn-copy-upi-pill:hover {
  background: #EDE7F6;
}

.btn-open-phonepe-app {
  display: block;
  width: 100%;
  background: #5F259F;
  color: #FFFFFF !important;
  text-align: center;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 14px;
  box-shadow: 0 3px 10px rgba(95, 37, 159, 0.25);
  transition: all 0.2s ease;
}

.btn-open-phonepe-app:hover {
  background: #4A148C;
  transform: translateY(-1px);
}

.payment-steps-guide {
  background: #F9F7FC;
  border-left: 3px solid #5F259F;
  padding: 10px 12px;
  border-radius: 4px;
  margin-bottom: 14px;
  font-size: 0.78rem;
  color: #333333;
}

.step-line {
  margin: 4px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.step-num {
  background: #5F259F;
  color: #FFFFFF;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  font-size: 0.68rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.phonepe-utr-group {
  margin-bottom: 14px;
  text-align: left;
}

.phonepe-utr-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.82rem;
  color: #222222;
}

.utr-hint {
  font-size: 0.74rem;
  color: #7A7272;
  font-weight: 400;
}

.phonepe-utr-group input {
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 12px 14px !important;
  border: 2px solid #5F259F !important;
  border-radius: var(--radius-sm) !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  color: #2D006B !important;
  background: #FAF8FE !important;
}

.phonepe-utr-group input:focus {
  background: #FFFFFF !important;
  box-shadow: 0 0 0 3px rgba(95, 37, 159, 0.18) !important;
}

.btn-confirm-phonepe {
  width: 100%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: all 0.2s ease;
}

.btn-confirm-phonepe:hover {
  background: linear-gradient(135deg, #1EBE5D 0%, #0D7367 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

.safe-delivery-footer {
  font-size: 0.72rem;
  color: #7A7272;
  text-align: center;
  margin: 10px 0 0 0;
}

.checkout-total-banner {
  background: #FAF7F2;
  border: 1px solid #E2D9CC;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}

.checkout-total-banner strong {
  font-size: 1.25rem;
  color: var(--maroon-primary);
}

.success-wa-notice {
  background: #E8F5E9;
  border: 1px solid #C8E6C9;
  color: #1B5E20;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 500;
  margin: 14px 0;
  text-align: center;
}

/* Right Column: Order Summary Card */
.checkout-summary-card {
  background: #FAF7F2;
  border: 1px solid #ECE4D8;
  border-radius: var(--radius-md);
  padding: 20px;
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
}

.summary-card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(74, 18, 32, 0.1);
}

.checkout-items-list {
  max-height: 200px;
  overflow-y: auto;
  margin-bottom: 14px;
  padding-right: 4px;
}

.checkout-item-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed #E2DBD0;
  font-size: 0.84rem;
}

.checkout-item-img {
  width: 42px;
  height: 52px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.checkout-item-name {
  flex-grow: 1;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.3;
}

.checkout-item-qty {
  color: var(--charcoal-muted);
  font-size: 0.78rem;
}

.checkout-item-price {
  font-weight: 700;
  color: var(--maroon-primary);
  white-space: nowrap;
}

.checkout-price-breakdown {
  border-top: 1px solid #E2DBD0;
  padding-top: 12px;
  margin-bottom: 18px;
}

.cp-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  margin-bottom: 8px;
  color: var(--charcoal-light);
}

.free-shipping-tag {
  color: #2E7D32;
  font-weight: 700;
  font-size: 0.82rem;
}

.total-row {
  border-top: 1px solid #DDD5CA;
  padding-top: 10px;
  margin-top: 6px;
  font-size: 1.15rem;
  color: var(--charcoal);
}

.total-row strong:last-child {
  color: var(--maroon-primary);
  font-size: 1.35rem;
}

.btn-pay-now {
  width: 100%;
  background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(46, 125, 50, 0.35);
  transition: all 0.2s ease;
}

.btn-pay-now:hover {
  background: linear-gradient(135deg, #1B5E20 0%, #144919 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(46, 125, 50, 0.45);
}

.btn-pay-now:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.checkout-assurances {
  margin-top: 16px;
  border-top: 1px dashed #DDD5CA;
  padding-top: 12px;
  font-size: 0.76rem;
  color: var(--charcoal-muted);
  line-height: 1.6;
}

/* ============================================================
   15. ORDER SUCCESS & RECEIPT INVOICE
   ============================================================ */
.success-modal-card {
  max-width: 620px;
  width: 100%;
  padding: 36px 30px;
  text-align: center;
}

.success-badge-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #E8F5E9;
  border: 2px solid #4CAF50;
  color: #2E7D32;
  font-size: 2.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.25);
  animation: pulseSuccess 1.5s ease-in-out infinite alternate;
}

@keyframes pulseSuccess {
  0% { transform: scale(1); }
  100% { transform: scale(1.06); }
}

.success-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.success-subtitle {
  font-size: 0.95rem;
  color: var(--charcoal-muted);
  margin-bottom: 22px;
}

.success-receipt-card {
  background: #FAF7F2;
  border: 1px solid #ECE4D8;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  text-align: left;
  margin-bottom: 24px;
}

.receipt-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid #E2DBD0;
  margin-bottom: 12px;
}

.receipt-order-id {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--maroon-primary);
}

.receipt-status-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: #E8F5E9;
  color: #2E7D32;
}

.receipt-status-pill.cod {
  background: #FFF8E1;
  color: #F57F17;
}

.receipt-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  font-size: 0.84rem;
  margin-bottom: 14px;
}

.receipt-info-grid div span {
  display: block;
  font-size: 0.75rem;
  color: var(--charcoal-muted);
  margin-bottom: 2px;
}

.receipt-items-list {
  border-top: 1px dashed #DDD5CA;
  padding-top: 10px;
  margin-bottom: 10px;
}

.receipt-total-row {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #DDD5CA;
  padding-top: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--charcoal);
}

.receipt-total-row strong:last-child {
  color: var(--maroon-primary);
  font-size: 1.25rem;
}

.success-actions-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-success-print {
  background: #FFFFFF;
  border: 1px solid #D8D0C5;
  color: var(--charcoal);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-success-print:hover {
  background: #FAF7F2;
  border-color: var(--maroon-primary);
  color: var(--maroon-primary);
}

.btn-success-wa {
  background: #25D366;
  border: none;
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-success-wa:hover {
  background: #1EBE5D;
}

.btn-success-shop {
  background: var(--maroon-primary);
  border: none;
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-success-shop:hover {
  background: var(--maroon-hover);
}

@media (max-width: 768px) {
  .checkout-form {
    grid-template-columns: 1fr;
    padding: 16px;
  }
  .form-row-2,
  .form-row-3 {
    grid-template-columns: 1fr;
  }
  .success-modal-card {
    padding: 24px 16px;
  }
  .receipt-info-grid {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   16. DIRECT REAL UPI MODAL & GATEWAY SETTINGS
   ============================================================ */
.btn-link-settings {
  font-size: 0.76rem;
  color: var(--maroon-primary);
  text-decoration: underline;
  background: none;
  border: none;
  cursor: pointer;
}

.btn-link-settings:hover {
  color: var(--maroon-hover);
}

.upi-modal-card {
  max-width: 480px;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  text-align: center;
}

.upi-header-box {
  background: var(--maroon-nav);
  color: #FFFFFF;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(212, 175, 112, 0.3);
}

.upi-logo-badge {
  display: inline-block;
  background: #E8F5E9;
  color: #1B5E20;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 8px;
}

.upi-header-box h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.upi-order-meta {
  font-size: 0.8rem;
  color: var(--gold-light);
}

.upi-modal-body {
  padding: 22px 24px 28px;
  max-height: 75vh;
  overflow-y: auto;
}

.upi-amount-pill {
  background: #FAF7F2;
  border: 1px solid #ECE4D8;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.upi-amount-pill span {
  font-size: 0.85rem;
  color: var(--charcoal-muted);
}

.upi-amount-pill strong {
  font-size: 1.35rem;
  color: var(--maroon-primary);
}

.upi-qr-wrapper {
  background: #FFFFFF;
  border: 1px solid #DCD5C9;
  border-radius: var(--radius-md);
  padding: 16px;
  display: inline-block;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.upi-qr-image {
  width: 200px;
  height: 200px;
  display: block;
  margin: 0 auto 10px;
  border-radius: 6px;
}

.qr-scan-hint {
  font-size: 0.75rem;
  color: var(--charcoal-muted);
  font-weight: 500;
}

.upi-id-copy-box {
  background: #FAF7F2;
  border: 1px dashed #DDD5CA;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  text-align: left;
}

.upi-id-text span {
  display: block;
  font-size: 0.72rem;
  color: var(--charcoal-muted);
}

.upi-id-text strong {
  font-size: 0.88rem;
  color: var(--charcoal);
  word-break: break-all;
}

.btn-copy-upi {
  background: #FFFFFF;
  border: 1px solid #D8D0C5;
  color: var(--charcoal);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
}

.btn-copy-upi:hover {
  background: #FAF7F2;
  border-color: var(--maroon-primary);
}

.upi-app-buttons-row {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.btn-upi-app {
  flex: 1;
  padding: 9px 4px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  display: block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-upi-app:hover {
  transform: translateY(-2px);
}

.gpay-btn {
  background: #1A73E8;
  color: #FFFFFF;
}

.phonepe-btn {
  background: #5F259F;
  color: #FFFFFF;
}

.paytm-btn {
  background: #00BAF2;
  color: #FFFFFF;
}

.upi-verify-form {
  text-align: left;
  border-top: 1px solid #ECE4D8;
  padding-top: 16px;
}

.btn-confirm-upi {
  width: 100%;
  background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
  box-shadow: 0 4px 14px rgba(46, 125, 50, 0.35);
  transition: all 0.2s ease;
}

.btn-confirm-upi:hover {
  background: linear-gradient(135deg, #1B5E20 0%, #144919 100%);
  transform: translateY(-2px);
}

/* Gateway Settings Card */
.gateway-settings-card {
  max-width: 460px;
  width: 100%;
  padding: 24px;
  border-radius: var(--radius-md);
}

.settings-modal-header {
  margin-bottom: 18px;
}

.settings-modal-header h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.settings-modal-header p {
  font-size: 0.8rem;
  color: var(--charcoal-muted);
}

.btn-save-keys {
  width: 100%;
  background: var(--maroon-primary);
  color: #FFFFFF;
  border: none;
  padding: 11px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 16px;
}

.btn-save-keys:hover {
  background: var(--maroon-hover);
}

/* ============================================================
   REAL RAZORPAY PAYMENT & STATUS BUTTONS
   ============================================================ */
/* ============================================================
   PHONEPE & GPAY INSTANT PAYMENT OPTION CARDS
   ============================================================ */
.payment-method-selector-wrap {
  margin: 14px 0 16px 0;
  text-align: left;
}

.payment-options-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #7A2838;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.payment-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 480px) {
  .payment-options-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.btn-pay-option {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 12px 14px !important;
  border-radius: var(--radius-sm) !important;
  border: 1.5px solid #E2D9D2 !important;
  background: #FFFFFF !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  text-align: left !important;
  width: 100% !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

.btn-pay-option:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.09) !important;
}

.btn-pay-phonepe {
  border-color: #5F259F !important;
  background: linear-gradient(to right, #FAF5FF, #FFFFFF) !important;
}

.btn-pay-phonepe:hover {
  border-color: #4A148C !important;
  background: #F3E8FF !important;
}

.btn-pay-gpay {
  border-color: #4285F4 !important;
  background: linear-gradient(to right, #F8FAFC, #FFFFFF) !important;
}

.btn-pay-gpay:hover {
  border-color: #1A73E8 !important;
  background: #EFF6FF !important;
}

.pay-option-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pay-option-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pay-option-info strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1E1B4B;
  line-height: 1.2;
}

.pay-option-info span {
  font-size: 0.72rem;
  color: #6B7280;
}

.pay-option-arrow {
  font-size: 1.1rem;
  color: #D4AF37;
  font-weight: bold;
}

.btn-cashfree-checkout {
  background: linear-gradient(135deg, #4F46E5 0%, #312E81 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35) !important;
  margin-bottom: 8px !important;
  cursor: pointer;
  border: none !important;
  border-radius: var(--radius-sm) !important;
  padding: 13px !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  transition: all 0.25s ease !important;
}

.btn-cashfree-checkout:hover {
  background: linear-gradient(135deg, #4338CA 0%, #1E1B4B 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.45) !important;
}

.btn-simulate-cashfree {
  border-color: #F59E0B !important;
  color: #B45309 !important;
  background: #FFFBEB !important;
}

.btn-simulate-cashfree:hover {
  background: #FEF3C7 !important;
  border-color: #D97706 !important;
}

.btn-rzp-checkout {
  background: linear-gradient(135deg, #5F259F 0%, #311B92 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(95, 37, 159, 0.35) !important;
  margin-bottom: 8px !important;
  cursor: pointer;
}

.btn-rzp-checkout:hover {
  background: linear-gradient(135deg, #4A148C 0%, #1A237E 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(95, 37, 159, 0.45) !important;
}

.btn-check-status-sec {
  width: 100%;
  background: #FFFFFF;
  color: #5F259F;
  border: 1.5px solid #D1C4E9;
  border-radius: var(--radius-sm);
  padding: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  margin-bottom: 8px;
  transition: all 0.2s ease;
}

.btn-check-status-sec:hover {
  background: #EDE7F6;
  border-color: #5F259F;
}

