@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@600;700&family=Paytone+One&family=Outfit:wght@600;700;800;900&family=Poppins:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

.collection-tab-text {
  font-family: 'Fredoka', 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

:root {
  --color-bg: #FAF8F5;
  --color-surface: #ffffff;
  --color-primary: #0a0a0a;
  --color-primary-rgb: 10, 10, 10;
  --color-secondary: #1a1a1a;
  --color-accent: #0a0a0a;
  --color-accent-hover: #333333;
  --color-border: rgba(10, 10, 10, 0.08);
  --color-danger: #ef4444;
  --color-success: #0a0a0a;

  --jewel-pastel-pink: #FFC5D3;
  --jewel-soft-pink: #FFCCD8;
  --jewel-deep-pink: #C84C6E;
  --jewel-rose-gold: #E89BB0;
  --jewel-gold-accent: #D4AF37;
  --jewel-card-glow: rgba(255, 197, 211, 0.25);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 20px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 30px 60px -12px rgba(0, 0, 0, 0.08);

  --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);

  --mouse-x: 50%;
  --mouse-y: 50%;
}

/* Daivika Jewels Theme Overrides - Signature Pastel Pink (#FFC5D3 & #FFCCD8) Aesthetic */
[data-theme="jewels"] {
  --color-bg: #FFF2F5; /* Ultra soft pastel silk background */
  --color-surface: #FFFFFF;
  --color-primary: #C84C6E; /* High-contrast rich rose pink */
  --color-primary-rgb: 200, 76, 110;
  --color-secondary: #3D1620; /* Dark plum rose accent */
  --color-accent: #FFC5D3; /* Signature Pastel Pink #FFC5D3 */
  --color-accent-rgb: 255, 197, 211;
  --color-accent-hover: #FFCCD8; /* Soft Pink #FFCCD8 */
  --color-border: rgba(255, 197, 211, 0.5);
  --color-success: #C84C6E;
  --shadow-md: 0 6px 24px -2px rgba(255, 197, 211, 0.3);
  --shadow-lg: 0 20px 45px -10px rgba(200, 76, 110, 0.18);
  --shadow-hover: 0 30px 60px -12px rgba(200, 76, 110, 0.25);
}

html {
  background-color: #360910;
}

[data-theme="jewels"] html {
  background-color: #8b2c45;
}

html, body {
  transition: background-color 0.5s cubic-bezier(0.25, 1, 0.5, 1),
              color 0.4s ease,
              border-color 0.4s ease;
}

::selection {
  background-color: var(--color-primary);
  color: #fff;
}

/* Smooth Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-accent);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body, #root {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  position: relative;
}

body, input, textarea, select, button {
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: var(--color-bg);
  color: #1E221F;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 6vw, 3.5rem);
}

h3 {
  font-size: clamp(1.5rem, 4vw, 2rem);
}

h4 {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
}

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

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

img {
  max-width: 100%;
  height: auto;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem !important;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 500;
  transition: var(--transition);
  font-size: 0.95rem;
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
}

.btn-primary:hover {
  background-color: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(10, 10, 10, 0.4);
}

.btn-accent {
  background-color: var(--color-accent);
  color: white;
}

.btn-accent:hover {
  background-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(10, 10, 10, 0.4);
}

.btn-outline {
  border: 1px solid var(--color-border);
  background-color: transparent;
}

.btn-outline:hover {
  border-color: var(--color-primary);
  background-color: var(--color-surface);
}

.btn-icon {
  padding: 0.6rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.btn-icon:hover {
  background-color: var(--color-border);
}

.badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: #ffffff;
  color: #0a0a0a;
  font-size: 0.6rem;
  font-weight: 900;
  height: 18px;
  width: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1.5px solid #0a0a0a;
  padding: 0;
  line-height: 1;
  z-index: 5;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.5s ease-out forwards;
}

/* Layout */
.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

/* Subtle mouse following highlight */
.app-container::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
      rgba(10, 10, 10, 0.05),
      transparent 80%);
  z-index: 100;
}

/* Natural Grain Overlay */
.app-container::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("https://www.transparenttextures.com/patterns/natural-paper.png");
  opacity: 0.04;
  pointer-events: none;
  z-index: 99;
}

.main-content {
  flex: 1;
  padding-top: 0;
}

.main-content.home-page {
  padding-top: 0;
}

@media (min-width: 769px) {
  .container {
    padding-left: calc(86px + clamp(1rem, 5vw, 4rem)) !important;
    padding-right: calc(86px + clamp(1rem, 5vw, 4rem)) !important;
  }
}

/* Header White */
.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  background-color: #ffffff;
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.search-result-item:hover {
  background-color: #f8f8f8;
}

.logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-weight: 500;
  color: var(--color-secondary);
  transition: var(--transition);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.hidden {
  display: none !important;
}

.login-input:focus {
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 4px rgba(10, 10, 10, 0.1);
}

@media (min-width: 1025px) {
  .lg\:flex {
    display: flex !important;
  }

  .lg\:hidden {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .md\:flex {
    display: flex !important;
  }

  .md\:hidden {
    display: none !important;
  }
}

@media (min-width: 641px) {
  .sm\:block {
    display: block !important;
  }

  .sm\:flex {
    display: flex !important;
  }
}

.cart-btn {
  position: relative;
}

/* Hero Section */
.hero {
  position: relative;
  height: 55vh;
  min-height: 450px;
  display: flex;
  align-items: center;
  background-color: #f1f5f9;
  overflow: hidden;
  margin: 0;
  border-radius: 24px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  color: white;
}

.hero-title {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
}

.section-link {
  font-weight: 500;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.section-link:hover {
  text-decoration: underline;
}

/* Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
}

.grid-4,
.store-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
}

@media (max-width: 1200px) {
  .grid-4,
  .store-product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1024px) {
  .grid-4,
  .store-product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-4,
  .store-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {

  .grid-4,
  .grid-3,
  .store-product-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .store-product-grid, .grid-4 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }

  .product-card {
    padding: 0.5rem !important;
    border-radius: 20px !important;
  }

  /* Floating badge inside mobile cards */
  .product-card > div:first-of-type {
    top: 0.9rem !important;
    left: 0.9rem !important;
    padding: 0.3rem 0.7rem !important;
    font-size: 0.6rem !important;
  }

  /* Wishlist button inside mobile cards */
  .product-card > button:first-of-type {
    top: 0.9rem !important;
    right: 0.9rem !important;
    width: 32px !important;
    height: 32px !important;
  }
  .product-card > button:first-of-type svg {
    width: 14px !important;
    height: 14px !important;
  }

  /* Image container border radius */
  .product-card a > div {
    border-radius: 14px !important;
  }

  /* Info container */
  .product-card > div:last-of-type {
    padding: 0.8rem 0.3rem 0.2rem 0.3rem !important;
  }

  /* Product name text */
  .product-card h3 {
    font-size: 0.82rem !important;
    margin-bottom: 0.2rem !important;
    font-weight: 600 !important;
  }

  /* Product price text */
  .product-card .product-price {
    font-size: 0.95rem !important;
    margin-top: 0px !important;
  }

  /* Add to Bag button */
  .product-card button:last-of-type {
    margin-top: 0.7rem !important;
    padding: 0.7rem !important;
    font-size: 0.78rem !important;
    border-radius: 12px !important;
  }
}

.product-list-container {
  display: flex;
  gap: 3rem;
}

@media (max-width: 992px) {
  .product-list-container {
    flex-direction: column;
    gap: 2rem;
  }
}

/* Product Card */
.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: visible; 
  padding: 0; 
  border: 1px solid #f0f0f0; 
  border-radius: 28px; 
  background-color: #fff;
  position: relative;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.product-card-badge-wrapper {
  position: absolute; 
  top: 1rem; 
  left: 1rem; 
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-card-category-badge {
  background-color: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #111;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  width: fit-content;
  white-space: nowrap;
}

.product-card-gender-badge {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  width: fit-content;
}

.product-card-gender-badge.men {
  background-color: rgba(59, 130, 246, 0.9);
}

.product-card-gender-badge.women {
  background-color: rgba(236, 72, 153, 0.9);
}

.product-card-wishlist-btn {
  position: absolute; 
  top: 1rem; 
  right: 1rem; 
  z-index: 10;
  background-color: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.product-card-wishlist-btn.favorited {
  background-color: var(--color-primary);
  color: #fff;
}

.product-card-image-container {
  background-color: #f8f8f8; 
  border-top-left-radius: 28px; 
  border-top-right-radius: 28px; 
  width: 100%;
  aspect-ratio: 1/1;
  display: flex; 
  align-items: center; 
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.product-card-image {
  width: 100%; 
  height: 100%; 
  object-fit: cover;
}

.product-card-info {
  padding: 1.2rem; 
  display: flex; 
  flex-direction: column; 
  flex: 1;
}

.product-card-title {
  font-size: 1rem; 
  font-weight: 600; 
  color: #111; 
  margin-bottom: 0.4rem; 
  line-height: 1.2;
  letter-spacing: -0.2px;
}

.product-card-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-top: 0.2rem;
  flex-wrap: wrap;
}

.product-card-price {
  font-size: 1.25rem; 
  font-weight: 800; 
  color: #000; 
  font-family: 'Poppins', sans-serif;
}

.product-card-mrp {
  font-size: 0.9rem; 
  color: #9ca3af; 
  text-decoration: line-through;
  font-weight: 500;
}

.product-card-discount {
  font-size: 0.75rem; 
  font-weight: 700; 
  color: #360910;
  background-color: #fdf2f4;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  margin-left: auto;
}

.product-card-add-btn {
  margin-top: 1.5rem; 
  width: 100%; 
  padding: 1.1rem; 
  background-color: var(--color-primary); 
  color: white; 
  border: none; 
  border-radius: 16px; 
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px -10px rgba(10, 10, 10, 0.3);
}

/* Bento Grid Promo Section Desktop Layout (Untouched Desktop Behavior) */
.bento-promo-grid {
  display: grid !important;
  grid-template-columns: repeat(12, 1fr) !important;
  grid-auto-rows: minmax(120px, auto) !important;
  gap: 1rem !important;
  width: 100% !important;
}

.bento-card {
  border-radius: 24px !important;
  overflow: hidden !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
}

.bento-card-large-model {
  grid-column: span 8 !important;
  grid-row: span 2 !important;
  min-height: 250px !important;
  max-height: 320px !important;
}

.bento-card-black-story {
  grid-column: span 4 !important;
  grid-row: span 2 !important;
  background-color: #111 !important;
  padding: 1.5rem !important;
  justify-content: flex-end !important;
  color: #fff !important;
  min-height: 250px !important;
}

.bento-card-brown-special {
  grid-column: span 4 !important;
  grid-row: span 2 !important;
  background-color: var(--color-primary) !important;
  padding: 1.5rem !important;
  justify-content: flex-end !important;
  min-height: 200px !important;
  box-shadow: 0 15px 30px rgba(var(--color-primary-rgb), 0.15) !important;
}

.bento-card-urban-drop {
  grid-column: span 8 !important;
  grid-row: span 2 !important;
  min-height: 200px !important;
  max-height: 280px !important;
}

/* Showcase Section Desktop Layout */
.showcase-section {
  background-color: #fff !important;
  padding: clamp(4rem, 10vw, 8rem) 0 !important;
  overflow: hidden !important;
}

.showcase-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 4rem !important;
  align-items: center !important;
}

.showcase-image-col {
  flex: 1 1 500px !important;
  position: relative !important;
}

.showcase-badge {
  position: absolute !important;
  bottom: 2rem !important;
  left: 2rem !important;
  background-color: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(10px) !important;
  padding: 1.5rem !important;
  border-radius: 24px !important;
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
  z-index: 20 !important;
}

.showcase-content-col {
  flex: 1 1 450px !important;
}

.showcase-selling-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 2.5rem !important;
  margin-bottom: 4rem !important;
}

.showcase-cta {
  display: flex !important;
  align-items: center !important;
  gap: 2rem !important;
  flex-wrap: wrap !important;
}


/* Nav Drawer Links */
.nav-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  text-decoration: none;
  color: #0a0a0a;
  transition: background-color 0.2s ease;
}

.nav-drawer-link:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.nav-drawer-link svg {
  color: #0a0a0a;
}

/* Cart Drawer */

.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  z-index: 1000000;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 500px;
  background-color: #fff;
  z-index: 1000001;
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.1);
}

.cart-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-title {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item {
  display: flex;
  gap: 0.75rem;
}

.cart-item-image {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  object-fit: cover;
  background-color: #f0f0f0;
}

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

.cart-item-name {
  font-weight: 500;
  margin-bottom: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-item-price {
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 0.5rem;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  background-color: #f1f5f9;
  border-radius: 100px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 3px;
  gap: 2px;
}

.qty-btn {
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #ffffff;
  border: none;
  cursor: pointer;
  color: #1e293b;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  padding: 0;
  outline: none;
}

.qty-btn:hover {
  background-color: #f8fafc;
  color: #000000;
  transform: scale(1.05);
}

.qty-btn:active {
  transform: scale(0.95);
}

.qty-value {
  padding: 0 0.5rem;
  min-width: 24px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1;
}

.remove-btn {
  color: var(--color-secondary);
  font-size: 0.85rem;
  text-decoration: underline;
}

.remove-btn:hover {
  color: var(--color-danger);
}

.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--color-border);
  background-color: var(--color-bg);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.cart-total-row.final {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  border-top: 1px dashed var(--color-border);
  padding-top: 1rem;
}

.empty-cart {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--color-secondary);
  text-align: center;
}

.empty-cart svg {
  margin-bottom: 1rem;
  color: var(--color-border);
}

/* Footer */
.footer {
  background-color: var(--color-primary);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-col-title {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #a3a3a3;
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #a3a3a3;
  font-size: 0.9rem;
}

/* Categories List */
.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 300px;
  display: block;
}

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

.category-card:hover .category-img {
  transform: scale(1.1);
}

.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 60%);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}

.category-title {
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.category-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.category-card:hover .category-link {
  color: white;
  transform: translateX(5px);
}

/* Product Detail Page */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 0.5rem;
}

@media (max-width: 992px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
  }
}

.product-gallery {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
}

.product-gallery-main {
  width: 100%;
  height: 500px;
  object-fit: cover;
  padding: 0;
}

.product-detail-info h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.product-detail-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  font-family: 'Poppins', sans-serif;
}

.product-detail-desc {
  color: var(--color-secondary);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.add-to-cart-section {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.add-to-cart-btn {
  flex: 1;
  padding: 1rem;
  font-size: 1.1rem;
}

/* Responsive Refinements */
@media (max-width: 1024px) {
  .product-detail-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .product-list-container {
    flex-direction: column !important;
    gap: 3rem !important;
  }

  .sidebar-filter {
    width: 100% !important;
    position: static !important;
  }
}

@media (max-width: 768px) {
  .mobile-center {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    justify-content: center !important;
  }

  .mobile-text-center {
    text-align: center !important;
  }

  .mobile-w-full {
    width: 100% !important;
  }

  .section-header {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 1.5rem !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    text-align: center !important;
  }

  .footer-links {
    align-items: center !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    gap: 1.5rem !important;
    text-align: center !important;
  }
}

@media (max-width: 768px) {
  .header {
    top: 30px !important;
    height: 60px !important;
    z-index: 9999 !important;
  }

  .announcement-bar {
    display: flex !important;
  }

  html, body, #root, .app {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .main-content {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .main-content.home-page,
  .main-content.product-page {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .responsive-grid-auto-fit.checkout-grid-container {
    display: flex !important;
    flex-direction: column-reverse !important;
    align-items: stretch !important;
  }

  /* Compact and responsive product cards on mobile screens */
  .product-card {
    padding: 0.4rem !important;
    border-radius: 20px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
  }

  .product-card-image-container {
    border-radius: 14px !important;
  }

  .product-card-badge-wrapper {
    top: 0.75rem !important;
    left: 0.75rem !important;
    gap: 0.25rem !important;
  }

  .product-card-category-badge {
    font-size: 0.52rem !important;
    padding: 0.22rem 0.55rem !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04) !important;
  }

  .product-card-gender-badge {
    font-size: 0.5rem !important;
    padding: 0.18rem 0.45rem !important;
  }

  .product-card-wishlist-btn {
    top: 0.75rem !important;
    right: 0.75rem !important;
    width: 30px !important;
    height: 30px !important;
  }

  .product-card-wishlist-btn svg {
    width: 13px !important;
    height: 13px !important;
  }

  .product-card-info {
    padding: 0.6rem 0.4rem 0.2rem 0.4rem !important;
  }

  .product-card-title {
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    margin-bottom: 0.25rem !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 2.2rem !important; /* Uniform height ensures buttons align perfectly! */
  }

  .product-card-price-row {
    gap: 0.4rem !important;
    margin-top: 0.1rem !important;
    align-items: center !important;
  }

  .product-card-price {
    font-size: 0.95rem !important;
    font-weight: 800 !important;
  }

  .product-card-mrp {
    font-size: 0.75rem !important;
  }

  .product-card-discount {
    font-size: 0.62rem !important;
    padding: 0.1rem 0.35rem !important;
    border-radius: 4px !important;
    margin-left: 0 !important;
  }

  .product-card-add-btn {
    margin-top: 0.65rem !important;
    padding: 0.55rem !important;
    font-size: 0.78rem !important;
    border-radius: 12px !important;
  }

  /* Compact and responsive bento promo grid stacks on mobile (one card per row) */
  .bento-promo-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.25rem !important;
  }

  .bento-card {
    grid-column: auto !important;
    grid-row: auto !important;
    width: 100% !important;
    border-radius: 20px !important;
  }

  .bento-card-large-model {
    min-height: 280px !important;
    max-height: 280px !important;
  }

  .bento-card-black-story {
    min-height: 240px !important;
    padding: 1.5rem 1.25rem !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
  }

  .bento-card-black-story > div:first-of-type {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
  }

  .bento-card-brown-special {
    min-height: 240px !important;
    padding: 1.5rem 1.25rem !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
  }

  .bento-card-urban-drop {
    min-height: 280px !important;
    max-height: 280px !important;
  }

  /* Force bento card images to fill 100% of the flex parent height on mobile */
  .bento-card-large-model img,
  .bento-card-urban-drop img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
    flex: 1 !important;
    display: block !important;
  }

  /* Center bento card image tags on mobile */
  .bento-card-tag {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
  }

  /* Showcase Section Mobile Stack & Centering Override */
  .showcase-section {
    padding: clamp(2rem, 5vw, 3rem) 0 !important;
  }

  .showcase-row {
    gap: 2.5rem !important;
    flex-direction: column !important;
  }

  .showcase-image-col {
    flex: 1 1 100% !important;
    width: 100% !important;
  }

  .showcase-image-col img {
    height: 400px !important; /* Extremely neat and compact image height on mobile */
  }

  .showcase-badge {
    left: 50% !important;
    transform: translateX(-50%) !important;
    bottom: 1.5rem !important;
    width: calc(100% - 3rem) !important;
    max-width: 320px !important;
    justify-content: center !important;
    padding: 1rem !important;
    border-radius: 20px !important;
  }

  .showcase-content-col {
    flex: 1 1 100% !important;
    width: 100% !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .showcase-content-col span {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  .showcase-content-col h2 {
    margin-bottom: 1.5rem !important;
    text-align: center !important;
  }

  .showcase-content-col p {
    margin-bottom: 2rem !important;
    font-size: 1rem !important;
    text-align: center !important;
  }

  .showcase-selling-grid {
    grid-template-columns: 1fr !important; /* One-column layout for selling points on mobile */
    gap: 1.5rem !important;
    margin-bottom: 2.5rem !important;
    width: 100% !important;
  }

  .showcase-selling-grid > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .showcase-selling-grid > div > div:first-child {
    justify-content: center !important;
  }

  .showcase-cta {
    justify-content: center !important;
    align-items: center !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    width: 100% !important;
  }
}

@media (max-width: 540px) {
  .container {
    padding: 0 1rem !important;
  }

  h1 {
    font-size: 2.5rem !important;
  }

  h2 {
    font-size: 2rem !important;
  }

  .hero-content-responsive {
    left: 1.5rem !important;
    right: 1.5rem !important;
    width: calc(100% - 3rem) !important;
    max-width: none !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
}

/* Promo Banner Responsive Fix */
@media (max-width: 768px) {
  .promo-banner {
    flex-direction: column !important;
    text-align: center !important;
    padding: 3rem 1.5rem !important;
    gap: 2rem !important;
    overflow: hidden !important;
  }

  .promo-banner .mobile-center {
    align-items: center !important;
    text-align: center !important;
    flex: 1 1 100% !important;
  }

  .mobile-nav-drawer {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: #ffffff !important;
    /* White Theme */
    z-index: 100000 !important;
    padding: 4rem 2rem;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    overflow-y: auto !important;
  }

  .promo-img-container {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 1rem 0 !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    order: 2;
    /* Put image between the two text blocks */
  }

  .promo-img-container img {
    width: 250px !important;
    transform: none !important;
    margin-top: 0 !important;
  }

  .promo-banner>div:nth-child(1) {
    order: 1;
  }

  .promo-banner>div:nth-child(3) {
    order: 3;
  }
}

/* About Page Responsive Fixes */
.about-journey-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
}

@media (max-width: 992px) {
  .about-journey-grid {
    grid-template-columns: 1fr !important;
    text-align: center !important;
    gap: 3rem !important;
  }
}

@media (max-width: 768px) {
  .about-journey-section {
    padding: 6rem 1.5rem !important;
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
  }

  .about-image-tracks {
    height: 400px !important;
    order: -1 !important;
  }

  .about-values-section {
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
    padding: 4rem 1.5rem !important;
  }

  .about-values-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
    padding: 0 !important;
    height: auto !important;
  }

  .value-panel-group {
    flex: none !important;
    height: auto !important;
    min-height: 350px !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .panel-desc {
    max-height: none !important;
    opacity: 1 !important;
    margin-top: 1rem !important;
    display: block !important;
  }
}

/* Product Details Utilities */
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

@media (max-width: 640px) {
  .spec-row {
    flex-direction: column !important;
    gap: 0.25rem !important;
  }

  .spec-key {
    width: 100% !important;
  }

  .review-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1.5rem !important;
  }

  .purchase-controls {
    flex-direction: column !important;
  }
}

.product-gallery-container {
  position: sticky;
  top: 120px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #ffffff;
  aspect-ratio: 1 / 1;
  min-height: auto;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile: 1:1 height for product gallery images */
@media (max-width: 768px) {
  .product-gallery-container {
    aspect-ratio: 1 / 1 !important;
    border-radius: 8px !important;
    width: 100% !important;
    padding: 0 !important;
    min-height: auto !important;
  }
  .product-gallery-container img {
    object-fit: cover !important;
    object-position: center center !important;
    width: 100% !important;
    height: 100% !important;
  }
}

:root {
  --promo-img-left: 50%;
}

@media (min-width: 1024px) {
  :root {
    --promo-img-left: 44%;
  }
}

.breadcrumbs-container {
  padding-top: 0 !important;
}

@media (max-width: 768px) {
  .breadcrumbs-container {
    padding-top: 0 !important;
  }
}

@media (max-width: 1024px) {
  .product-gallery-container {
    position: relative !important;
    top: 0 !important;
  }
}

/* ==========================================
   Footer Modernization Styles
   ========================================== */
.footer-links-wrapper {
  display: contents;
}

.footer-link {
  color: #b4a9cc !important;
  transition: all 0.3s ease-out !important;
  display: inline-block !important;
}

.footer-link:hover {
  color: #ffffff !important;
  transform: translateX(5px) !important;
}

.footer-divider-mobile {
  display: none;
}

@media (max-width: 768px) {
  /* Prevent default translucent blue/grey tap highlights on mobile browsers */
  * {
    -webkit-tap-highlight-color: transparent !important;
  }

  /* Reduce outer footer padding on mobile */
  .footer-root {
    padding: 3rem 0 2rem 0 !important;
  }

  /* Wrap the upper sections in a beautiful violet card container */
  .footer-main-card {
    background: linear-gradient(135deg, var(--color-primary) 0%, #21074a 100%) !important;
    border-radius: 32px !important;
    padding: 3rem 1.75rem !important;
    margin-bottom: 3.5rem !important;
    box-shadow: 0 25px 50px -12px rgba(10, 10, 10, 0.25) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
    align-items: center !important;
  }

  /* Beautiful translucent horizontal separators */
  .footer-divider-mobile {
    display: block !important;
    height: 1px !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    width: 100% !important;
    margin: 0.5rem 0 !important;
  }

  /* Convert Shop & Support lists to an elegant 2-column grid side-by-side on mobile */
  .footer-links-wrapper {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 2rem !important;
    width: 100% !important;
    text-align: left !important;
  }

  /* Center the headings within the links container and style them white */
  .footer-main-card h4 {
    color: #ffffff !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    margin-bottom: 0.5rem !important;
  }

  /* Left align text for link column content, but keep it balanced */
  .footer-links-wrapper .mobile-center {
    align-items: flex-start !important;
    text-align: left !important;
    justify-content: flex-start !important;
  }

  /* Soften description colors */
  .footer-main-card p {
    color: rgba(255, 255, 255, 0.75) !important;
    line-height: 1.6 !important;
    max-width: 100% !important;
    font-size: 0.85rem !important;
  }

  /* Foot links adjustments */
  .footer-main-card .footer-link {
    color: rgba(255, 255, 255, 0.7) !important;
    transition: var(--transition) !important;
  }

  .footer-main-card .footer-link:hover,
  .footer-main-card .footer-link:focus {
    color: #ffffff !important;
    transform: translateX(4px) !important;
  }

  /* Premium Social Icon layout */
  .footer-social-icon {
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
    transition: var(--transition) !important;
  }

  .footer-social-icon:hover {
    background-color: #ffffff !important;
    color: var(--color-primary) !important;
    transform: scale(1.15) translateY(-2px) !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
  }

  /* Input fields and buttons inside violet card */
  .footer-newsletter-input {
    border-bottom: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    transition: border-color 0.3s ease !important;
  }

  .footer-newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
  }

  .footer-newsletter-input:focus {
    border-bottom: 1px solid #ffffff !important;
  }

  .footer-newsletter-btn {
    color: #ffffff !important;
  }

  .footer-newsletter-btn:hover {
    color: #d8b4fe !important;
  }

  /* ==========================================
     Store Page Mobile Refinements
     ========================================== */
  .store-tags-container {
    display: none !important;
  }

  .store-filters-container {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    gap: 0.75rem !important;
    margin-bottom: 2rem !important;
  }

  .store-filters-container > div {
    flex: 1 !important;
    width: 100% !important;
  }

  .store-filters-container button {
    width: 100% !important;
    min-width: 0 !important;
    padding: 0.65rem 0.5rem !important;
    font-size: 0.75rem !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .store-filters-container .store-dropdown-menu {
    width: 100% !important;
    min-width: 100% !important;
    right: 0 !important;
    left: 0 !important;
  }

  /* ==========================================
     Product Page Mobile Refinements
     ========================================== */
  .mobile-breadcrumb-hide {
    display: none !important;
  }

  .breadcrumbs-container {
    padding-top: 0.75rem !important;
    padding-bottom: 0.35rem !important;
  }
}

/* ==========================================
   Contact Page Responsive Layouts
   ========================================== */
.contact-grid {
  display: grid !important;
  grid-template-columns: 1fr 1.3fr !important;
  gap: clamp(2.5rem, 6vw, 6rem) !important;
}

.contact-form-fields-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 1rem !important;
}

@media (max-width: 768px) {
  .contact-page-main {
    padding-top: 110px !important;
    padding-bottom: 5rem !important;
  }

  .contact-page-header {
    margin-bottom: 3.5rem !important;
  }

  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }

  .contact-info-card {
    padding: 1.75rem 1.5rem !important;
    border-radius: 20px !important;
  }

  .contact-form-card {
    padding: 2rem 1.5rem !important;
    border-radius: 24px !important;
  }

  .contact-form-fields-row {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
}

/* ==========================================
   Global Responsive Grid Utilities
   ========================================== */
.responsive-grid-2 {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
}

.responsive-grid-3 {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
}

.responsive-grid-4 {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
}

.responsive-grid-auto-fit {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 1.5rem !important;
}

@media (max-width: 992px) {
  .responsive-grid-4 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .responsive-grid-3 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .responsive-grid-4, .responsive-grid-3, .responsive-grid-2 {
    grid-template-columns: 1fr !important;
  }
  .responsive-grid-auto-fit {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================
   Trending Category Tabs
   ========================================== */
.trending-tab-btn {
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.trending-tab-btn.active {
  box-shadow: 0 10px 25px rgba(var(--color-primary-rgb), 0.25);
}

.trending-tab-btn:hover {
  box-shadow: 0 10px 20px rgba(var(--color-primary-rgb), 0.08);
}

@media (max-width: 768px) {
  .trending-tab-btn {
    box-shadow: none !important;
  }
  .trending-tab-btn.active {
    box-shadow: none !important;
  }
}

/* ==========================================
   Responsive Page Wrapper Paddings
   ========================================== */
.profile-page-wrapper, .contact-page-main {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (max-width: 768px) {
  .profile-page-wrapper, .contact-page-main {
    padding-top: 1.5rem !important;
    padding-bottom: 2rem !important;
  }
}

/* ==========================================
   Orders Tab Search & Filter Responsive
   ========================================== */
.orders-search-filter-row {
  display: flex !important;
  gap: 1rem !important;
  margin-bottom: 2rem !important;
  align-items: center !important;
}

@media (max-width: 768px) {
  .orders-search-filter-row {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .orders-search-filter-row > div,
  .orders-search-filter-row button {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* ==========================================
   Global Header Clears for Fixed Navbar
   ========================================== */
.main-content, .main-content.home-page, .main-content.product-page {
  padding-top: 0 !important;
  margin-top: 0 !important;
  background-color: #ffffff !important;
}

@media (max-width: 1024px) {
  .main-content, .main-content.home-page, .main-content.product-page {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
}

@media (max-width: 768px) {
  .main-content, .main-content.home-page, .main-content.product-page {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
}

@media (max-width: 480px) {
  .main-content, .main-content.home-page, .main-content.product-page {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
}

/* ==========================================
   Product Card 1:1 Image Aspect Ratio
   ========================================== */
.product-card-image-link {
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
}

/* ==========================================
   Shimmer Animation for Skeleton Loaders
   ========================================== */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.shimmer-bg {
  background: linear-gradient(90deg, #eaeaea 25%, #f5f5f5 50%, #eaeaea 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite linear;
}

/* ==========================================
   Checkout Page Mobile Responsiveness
   ========================================== */
.checkout-container {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  box-sizing: border-box;
}

.checkout-card {
  background-color: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.02);
  box-sizing: border-box;
  width: 100%;
}

/* --- Tablet & Large Mobile (≤ 768px) --- */
@media (max-width: 768px) {
  .checkout-container {
    padding: 0 1rem !important;
  }
  .checkout-card {
    padding: 1.15rem !important;
  }
  /* Stack summary first, form below — mobile priority layout */
  .responsive-grid-auto-fit.checkout-grid-container {
    display: flex !important;
    flex-direction: column-reverse !important;
    align-items: stretch !important;
    gap: 1.25rem !important;
  }
  .responsive-grid-auto-fit.checkout-grid-container > div {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  /* Reduce checkout heading on tablet */
  .checkout-container h1 {
    font-size: 1.75rem !important;
    margin-bottom: 1.25rem !important;
  }
  /* Auth panel padding reduction */
  .checkout-auth-form-panel {
    padding: 2rem 1.5rem !important;
  }
  .checkout-auth-title {
    font-size: 1.4rem !important;
  }
}

/* --- Small Mobile (≤ 480px) --- */
@media (max-width: 480px) {
  .checkout-container {
    padding: 0 0.75rem !important;
  }
  .checkout-card {
    padding: 1rem !important;
    border-radius: 10px !important;
  }
  /* Compact heading for small screens */
  .checkout-container h1 {
    font-size: 1.5rem !important;
    margin-bottom: 1rem !important;
    letter-spacing: -0.5px !important;
  }
  /* Compact gap between form sections */
  .checkout-container form {
    gap: 1.25rem !important;
  }
  /* Auth panel even more compact on very small screens */
  .checkout-auth-form-panel {
    padding: 1.75rem 1.25rem !important;
  }
  .checkout-auth-wrapper {
    padding: 1rem 0.75rem !important;
  }
  .checkout-auth-card {
    border-radius: 16px !important;
  }
  .checkout-auth-title {
    font-size: 1.3rem !important;
  }
}

/* --- Extra Small (≤ 360px, small Android) --- */
@media (max-width: 360px) {
  .checkout-container {
    padding: 0 0.6rem !important;
  }
  .checkout-card {
    padding: 0.875rem !important;
  }
  .checkout-auth-form-panel {
    padding: 1.5rem 1rem !important;
  }
}

/* Premium Button Animation Extensions */
.premium-header-btn {
  position: relative !important;
  overflow: hidden !important;
  border-radius: 6px !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.premium-header-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
}

.premium-header-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25) !important;
  background-color: #ffffff !important;
  border-radius: 6px !important;
}

.premium-header-btn:hover::after {
  left: 150%;
  transition: all 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes headerArrowFlow {
  0% {
    transform: rotate(-45deg) translate(0, 0);
    opacity: 1;
  }
  45% {
    transform: rotate(-45deg) translate(16px, -16px);
    opacity: 0;
  }
  46% {
    transform: rotate(-45deg) translate(-16px, 16px);
    opacity: 0;
  }
  100% {
    transform: rotate(-45deg) translate(0, 0);
    opacity: 1;
  }
}

.premium-header-btn:hover .arrow-icon-flow {
  animation: headerArrowFlow 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.arrow-icon-flow {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* WhatsApp Floating Support Styles - Compact & Premium */
.wa-chat-window {
  position: fixed;
  bottom: 24px;
  left: 100px; /* Positioned adjacent to the left floating sidebar */
  width: 340px;
  height: 390px; /* Bounded compact height */
  max-width: calc(100vw - 120px);
  background-color: #ffffff;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  pointer-events: auto;
  z-index: 10000;
  transform-origin: bottom left;
}

/* Chat Header */
.wa-chat-header {
  background: linear-gradient(135deg, #09090b 0%, #1e1b4b 100%); /* Deep dark indigo/slate */
  padding: 14px 16px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.wa-chat-header-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wa-chat-avatar-wrapper {
  position: relative;
}

.wa-chat-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  overflow: hidden;
}

.wa-chat-avatar img,
.wa-chat-avatar svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wa-chat-avatar-status {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 9px;
  height: 9px;
  background-color: #4ade80;
  border: 2px solid #000000;
  border-radius: 50%;
}

.wa-chat-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.wa-chat-name {
  font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.2px;
}

.wa-chat-status {
  font-size: 0.72rem;
  opacity: 0.95;
  display: flex;
  align-items: center;
  gap: 4px;
}

.wa-chat-status-dot {
  width: 6px;
  height: 6px;
  background-color: #4ade80;
  border-radius: 50%;
}

.wa-chat-close-btn {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #ffffff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s;
  padding: 0;
  flex-shrink: 0;
}

.wa-chat-close-btn:hover {
  background-color: rgba(255, 255, 255, 0.22);
}

/* Chat Body (Beige WhatsApp Pattern) - Grows to fill height */
.wa-chat-body {
  padding: 16px;
  background-color: #efeae2;
  background-image: url("https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png");
  background-size: contain;
  flex: 1; /* Fill all dynamic middle height */
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}

/* Custom Scrollbar for Chat Body */
.wa-chat-body::-webkit-scrollbar {
  width: 5px;
}

.wa-chat-body::-webkit-scrollbar-track {
  background: transparent;
}

.wa-chat-body::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 10px;
}

/* Message Bubbles */
.wa-chat-msg-wrapper {
  display: flex;
  flex-direction: column;
  max-width: 85%;
}

.wa-chat-msg-wrapper.bot {
  align-self: flex-start;
}

.wa-chat-msg-wrapper.user {
  align-self: flex-end;
}

.wa-chat-msg {
  padding: 8px 12px;
  font-size: 0.8rem;
  line-height: 1.45;
  box-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.06);
}

.wa-chat-msg.bot {
  background: #ffffff;
  color: #334155;
  border-radius: 0px 16px 16px 16px;
}

.wa-chat-msg.user {
  background: #d9fdd3;
  color: #334155;
  border-radius: 16px 16px 0px 16px;
}

.wa-chat-msg-time {
  font-size: 10px;
  color: #7c8ba1;
  margin-top: 3px;
  padding-left: 2px;
  align-self: flex-start;
}

.wa-chat-msg-wrapper.user .wa-chat-msg-time {
  align-self: flex-end;
  padding-right: 2px;
}

/* Direct Action Link in Chat Bubble */
.wa-chat-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #25D366;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 8px 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  margin-top: 6px;
  transition: transform 0.2s, background-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.25);
  width: fit-content;
  text-decoration: none;
}

.wa-chat-cta-btn:hover {
  background-color: #20ba5a;
  transform: translateY(-1px);
}

/* Suggestions Container (Inside Chat Body) */
.wa-suggestions-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  margin-top: 4px;
}

.wa-suggestion-title {
  font-size: 9.5px;
  color: #7c8ba1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 2px;
}

.wa-suggestion-chip {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 0.75rem;
  color: #475569;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border-style: solid;
}

.wa-suggestion-chip:hover {
  border-color: #6366f1;
  color: #000000;
  background-color: #f5f3ff;
}

.wa-suggestion-chip svg {
  color: #6366f1;
}

/* Typing Indicator Animation */
.wa-typing-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
}

.wa-typing-dot {
  width: 6px;
  height: 6px;
  background-color: #94a3b8;
  border-radius: 50%;
  animation: wa-typing-bounce-anim 1.4s infinite ease-in-out both;
}

.wa-typing-dot:nth-child(1) { animation-delay: -0.32s; }
.wa-typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes wa-typing-bounce-anim {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1.0); }
}

/* Footer Input Area */
.wa-chat-footer {
  padding: 10px 14px;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  flex-shrink: 0;
}

.wa-input-form {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.wa-input {
  flex: 1;
  min-width: 0;
  background: #f4f5f6;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 50px;
  padding: 8px 14px;
  font-size: 0.8rem;
  color: #334155;
  outline: none;
  box-sizing: border-box;
}

.wa-input:focus {
  border-color: #6366f1;
  background: #ffffff;
}

.wa-input::placeholder {
  color: #94a3b8;
}

.wa-send-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #128c7e;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  padding: 0;
  flex-shrink: 0;
}

.wa-send-btn:disabled {
  background: #e2e8f0;
  color: #ffffff;
  cursor: default;
  transform: none;
}

/* Mobile Media Queries */
@media (max-width: 768px) {
  .wa-chat-window {
    position: fixed;
    bottom: 84px;
    left: 20px;
    right: 20px;
    width: calc(100vw - 40px);
    max-width: none;
    height: 380px; /* Bounded height on mobile screen */
    margin-bottom: 0;
    transform-origin: bottom center;
  }
}

/* Animated Moving Gradient for Newsletter & Footer */
.newsletter-animated-bg {
  background: linear-gradient(-45deg, #360910, #4c0d17, #24060b, #520e19, #360910);
  background-size: 400% 400%;
  animation: moving-gradient 12s ease infinite;
  position: relative;
  overflow: visible;
}

[data-theme="jewels"] .newsletter-animated-bg {
  background: linear-gradient(-45deg, #360910, #4c0d17, #24060b, #520e19, #360910) !important;
  background-size: 400% 400% !important;
}

.newsletter-animated-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

@keyframes moving-gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Premium Traditional Feature Cards */
.premium-feature-card {
  background: linear-gradient(135deg, #fdfbf7 0%, #fbf5e8 100%);
  border-radius: 16px;
  padding: 1.15rem 1.15rem;
  border: 1.5px solid rgba(197, 131, 26, 0.32);
  box-shadow: 0 4px 18px rgba(197, 131, 26, 0.08), 0 2px 6px rgba(43, 6, 11, 0.04);
  display: flex;
  align-items: center;
  gap: 0.95rem;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), 
              box-shadow 0.35s cubic-bezier(0.25, 1, 0.5, 1), 
              border-color 0.35s cubic-bezier(0.25, 1, 0.5, 1),
              background 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.premium-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #c5831a 0%, #fcd34d 50%, #c5831a 100%);
  opacity: 0.85;
  transition: opacity 0.3s ease, box-shadow 0.3s ease;
}

.premium-feature-card .feature-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: radial-gradient(circle, #3d0b10 0%, #1f0407 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.55);
  color: #fce7a0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(197, 131, 26, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1),
              box-shadow 0.35s cubic-bezier(0.25, 1, 0.5, 1),
              border-color 0.35s ease;
}

.premium-feature-card .feature-icon-box svg {
  stroke: currentColor;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.premium-feature-card .feature-icon-box img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Hover States */
.premium-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(197, 131, 26, 0.18), 0 4px 12px rgba(43, 6, 11, 0.08);
  border-color: rgba(197, 131, 26, 0.75);
  background: linear-gradient(135deg, #ffffff 0%, #fdf6e6 100%);
}

.premium-feature-card:hover::before {
  opacity: 1;
  box-shadow: 0 0 10px rgba(252, 211, 77, 0.8);
}

.premium-feature-card:hover .feature-icon-box {
  background: radial-gradient(circle, #4d0d15 0%, #2a0508 100%);
  border-color: #fcd34d;
  color: #ffffff;
  transform: scale(1.06);
  box-shadow: 0 0 14px rgba(252, 211, 77, 0.45);
}

.premium-feature-card:hover .feature-icon-box svg {
  transform: rotate(10deg) scale(1.1);
}

/* Global Daivika Deep Wine #360910 Button Overrides with Moving Gradient */
.btn-primary,
.btn-accent,
.purchase-cart-btn {
  background: linear-gradient(-45deg, #360910, #54111c, #26060c, #480d17, #360910) !important;
  background-size: 250% 250% !important;
  animation: moving-gradient 8s ease infinite !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 14px rgba(54, 9, 16, 0.35) !important;
  border: none !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-primary:hover,
.btn-accent:hover,
.purchase-cart-btn:hover {
  background: linear-gradient(-45deg, #480d17, #5e1420, #360910, #54111c, #480d17) !important;
  background-size: 250% 250% !important;
  color: #ffffff !important;
  box-shadow: 0 8px 22px rgba(54, 9, 16, 0.45) !important;
  transform: translateY(-2px) !important;
}

/* For Buy Now / Outline Buttons (Streetwear Black contrast) */
.btn-outline,
.purchase-buy-btn {
  border: 2px solid #09090b !important;
  color: #09090b !important;
  background-color: transparent !important;
  font-weight: 800 !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-outline:hover,
.purchase-buy-btn:hover {
  background-color: #09090b !important;
  color: #ffffff !important;
}

/* Uniform Fixed Height Product Card System */
.product-card-item {
  height: 100% !important;
  min-height: 380px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

@media (max-width: 768px) {
  .product-card-item {
    min-height: 330px !important;
  }
}

.home-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .home-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .home-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.5rem !important;
    width: 100% !important;
  }
}

@media (max-width: 480px) {
  .home-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.4rem !important;
    width: 100% !important;
  }
}

.home-product-grid > * {
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}




/* ─── Site-wide button radius ───
   Buttons use a small, uniform corner radius (6px). The unused #__btn-radius id in :is()
   raises specificity so this beats page-level and inline radius rules.
   Circular icon buttons (inline 50% radius or the round icon classes) keep their shape.
   Hover/focus/active states are strictly locked to 6px so corners never expand or morph. */
:is(
  button,
  input[type="submit"],
  input[type="button"],
  [role="button"],
  .btn,
  .premium-hero-btn,
  .premium-header-btn,
  .btn-submit-commercial,
  .checkout-auth-submit,
  .deal-spotlight-shop-btn,
  .purchase-cart-btn,
  .purchase-buy-btn,
  #__btn-radius
):not([style*="radius: 50%"]):not(:is(
  .btn-icon,
  .qty-btn,
  .slider-nav-btn,
  .slider-arrow-btn,
  .pd-share-btn,
  .wa-send-btn,
  .wa-chat-close-btn,
  .mobile-wa-close-btn
)),
:is(
  button,
  input[type="submit"],
  input[type="button"],
  [role="button"],
  .btn,
  .premium-hero-btn,
  .premium-header-btn,
  .btn-submit-commercial,
  .checkout-auth-submit,
  .deal-spotlight-shop-btn,
  .purchase-cart-btn,
  .purchase-buy-btn,
  #__btn-radius
):not([style*="radius: 50%"]):not(:is(
  .btn-icon,
  .qty-btn,
  .slider-nav-btn,
  .slider-arrow-btn,
  .pd-share-btn,
  .wa-send-btn,
  .wa-chat-close-btn,
  .mobile-wa-close-btn
)):hover,
:is(
  button,
  input[type="submit"],
  input[type="button"],
  [role="button"],
  .btn,
  .premium-hero-btn,
  .premium-header-btn,
  .btn-submit-commercial,
  .checkout-auth-submit,
  .deal-spotlight-shop-btn,
  .purchase-cart-btn,
  .purchase-buy-btn,
  #__btn-radius
):not([style*="radius: 50%"]):not(:is(
  .btn-icon,
  .qty-btn,
  .slider-nav-btn,
  .slider-arrow-btn,
  .pd-share-btn,
  .wa-send-btn,
  .wa-chat-close-btn,
  .mobile-wa-close-btn
)):focus,
:is(
  button,
  input[type="submit"],
  input[type="button"],
  [role="button"],
  .btn,
  .premium-hero-btn,
  .premium-header-btn,
  .btn-submit-commercial,
  .checkout-auth-submit,
  .deal-spotlight-shop-btn,
  .purchase-cart-btn,
  .purchase-buy-btn,
  #__btn-radius
):not([style*="radius: 50%"]):not(:is(
  .btn-icon,
  .qty-btn,
  .slider-nav-btn,
  .slider-arrow-btn,
  .pd-share-btn,
  .wa-send-btn,
  .wa-chat-close-btn,
  .mobile-wa-close-btn
)):active {
  border-radius: 6px !important;
}
