/* assets/css/style.css - Cozy Joy World / Trendozaa
   Complete Pixel-Perfect Responsive Theme for Desktop & Mobile
*/

:root {
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Brand Palette */
  --cjw-blue: #0284c7;
  --cjw-blue-dark: #0369a1;
  --cjw-blue-light: #e0f2fe;
  --cjw-navy: #0b1a30;
  --cjw-pink: #f43f5e;
  --cjw-pink-light: #ffe4e6;
  --cjw-amber: #f59e0b;
  --cjw-orange: #ea580c;
  --cjw-green: #10b981;
  --cjw-purple: #8b5cf6;
  
  --color-primary: #0b1a30;
  --color-secondary: #0284c7;
  --color-cta: #0284c7;
  --color-cta-hover: #0369a1;
  --color-sale: #e11d48;
  --color-bg: #ffffff;
  --color-surface: #f8fafc;
  --color-surface-2: #f1f5f9;
  --color-border: #e2e8f0;
  --color-text: #1e293b;
  --color-text-muted: #64748b;
  --color-text-light: #94a3b8;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(2, 132, 199, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 24px rgba(2, 132, 199, 0.12), 0 4px 8px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 30px rgba(11, 26, 48, 0.12);
  
  --transition: all 0.2s ease-in-out;
  --container-max: 1240px;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

@media (min-width: 768px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* ========================================================
   TOP ANNOUNCEMENT BAR
======================================================== */
.announcement-bar {
  background: linear-gradient(90deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  padding: 8px 16px;
  letter-spacing: 0.02em;
}

/* ========================================================
   HEADER & NAVIGATION
======================================================== */
.site-header {
  position: sticky;
  top: 0;
  background-color: #ffffff;
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.cjw-logo-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f0fdf4;
  border: 2px solid #86efac;
  border-radius: 10px;
  padding: 4px 8px;
  font-weight: 900;
  line-height: 1;
}

.cjw-letters {
  font-size: 1.3rem;
  letter-spacing: -0.05em;
}
.cjw-c { color: #0284c7; }
.cjw-j { color: #ea580c; }
.cjw-w { color: #e11d48; }

.cjw-sub {
  font-size: 0.5rem;
  text-transform: uppercase;
  font-weight: 800;
  color: #065f46;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0b1a30;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.brand-tagline {
  font-size: 0.68rem;
  color: #0284c7;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 22px;
  list-style: none;
}

@media (min-width: 960px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 600;
  color: #334155;
  padding: 6px 0;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: #0284c7;
}

.nav-link.sale-link {
  color: #e11d48 !important;
  font-weight: 700;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: #0284c7;
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-bar-inline {
  display: none;
}

@media (min-width: 768px) {
  .search-bar-inline {
    display: block;
    width: 220px;
  }
}

.search-input {
  width: 100%;
  padding: 8px 14px 8px 34px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background-color: var(--color-surface);
  font-size: 0.85rem;
  outline: none;
  transition: var(--transition);
}

.search-input:focus {
  border-color: #0284c7;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.1);
}

.action-btn {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: #0b1a30;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: var(--transition);
}

.action-btn:hover {
  background-color: #f1f5f9;
  color: #0284c7;
}

.cart-count-badge {
  position: absolute;
  top: 0px;
  right: 0px;
  background-color: #e11d48;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #fff;
}

/* ========================================================
   SLIDE-IN CART DRAWER (MUST BE FIXED, NEVER INLINE!)
======================================================== */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cart-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background-color: #ffffff;
  z-index: 999;
  display: flex;
  flex-direction: column;
  box-shadow: -6px 0 25px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.active {
  transform: translateX(0);
}

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

.drawer-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0b1a30;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.drawer-count-pill {
  background: #ffe4e6;
  color: #e11d48;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 2px 9px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.product-old-price {
  font-size: 1.25rem;
  color: #94a3b8;
  text-decoration: line-through;
  text-decoration-color: #e11d48;
  text-decoration-thickness: 2.5px;
  font-weight: 600;
}

.drawer-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text-muted);
  padding: 4px 8px;
}

.drawer-close:hover {
  color: #e11d48;
}

.drawer-shipping-meter {
  background-color: #f0fdf4;
  padding: 10px 18px;
  border-bottom: 1px solid #bbf7d0;
  font-size: 0.8rem;
  font-weight: 600;
  color: #166534;
  display: flex;
  align-items: center;
  gap: 8px;
}

.drawer-items {
  flex-grow: 1;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.drawer-item {
  display: flex;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-border);
}

.drawer-item-img {
  width: 68px;
  height: 68px;
  border-radius: 8px;
  background: var(--color-surface);
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--color-border);
}

.drawer-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drawer-item-info {
  flex-grow: 1;
}

.drawer-item-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0b1a30;
  line-height: 1.3;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.drawer-item-price {
  font-size: 0.9rem;
  font-weight: 800;
  color: #0284c7;
  margin-bottom: 8px;
}

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

.drawer-remove-btn {
  background: none;
  border: none;
  color: var(--color-text-light);
  font-size: 0.75rem;
  cursor: pointer;
  text-decoration: underline;
}

.drawer-remove-btn:hover {
  color: #e11d48;
}

.drawer-footer {
  padding: 18px 20px;
  border-top: 1px solid var(--color-border);
  background: #f8fafc;
}

.drawer-subtotal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: #0b1a30;
}

.drawer-tax-note {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}

/* ========================================================
   HERO SECTION (DESKTOP & MOBILE MATCHING IMAGE 1)
======================================================== */
.hero-section-wrap {
  position: relative;
  background: linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 55%, #fef3c7 100%);
  padding: 50px 0 50px;
  border-bottom: 1px solid var(--color-border);
  scroll-margin-top: 80px;
}

.hero-grid-2col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid-2col {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    padding: 10px 0;
  }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e0f2fe;
  color: #0284c7;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.hero-heading {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.15;
  color: #0b1a30;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.hero-heading span {
  color: #0284c7;
  font-style: italic;
}

.hero-bullets-wrap {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-bullet-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.9);
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid #bae6fd;
  box-shadow: var(--shadow-sm);
}

.hero-bullet-pill h5 {
  font-size: 0.8rem;
  font-weight: 800;
  color: #0369a1;
  line-height: 1.1;
}

.hero-bullet-pill p {
  font-size: 0.7rem;
  color: #64748b;
}

.hero-img-box {
  position: relative;
  background: #ffffff;
  border-radius: 24px;
  padding: 16px;
  box-shadow: 0 16px 32px rgba(2, 132, 199, 0.15);
  border: 2px solid #bae6fd;
  max-width: 440px;
  margin: 0 auto;
}

.hero-img-box img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 18px;
}

.hero-best-seller-tag {
  position: absolute;
  top: -12px;
  right: -12px;
  background: #f43f5e;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 900;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(244, 63, 94, 0.4);
  transform: rotate(4deg);
}

/* ========================================================
   CIRCULAR CATEGORY ICONS BAR (IMAGE 1 EXACT STYLE)
======================================================== */
.category-circles-bar {
  padding: 28px 0 16px;
  background: #ffffff;
}

.category-circles-grid {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  overflow-x: auto;
  padding: 8px 4px 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

@media (min-width: 768px) {
  .category-circles-grid {
    justify-content: center;
    gap: 32px;
  }
}

.category-circles-grid::-webkit-scrollbar {
  display: none;
}

.cat-circle-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 72px;
  text-decoration: none;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.cat-circle-item:hover {
  transform: translateY(-3px);
}

.cat-circle-bubble {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  border: 3px solid #ffffff;
  transition: var(--transition);
}

@media (min-width: 768px) {
  .cat-circle-bubble {
    width: 80px;
    height: 80px;
    font-size: 2.3rem;
  }
}

.cat-circle-bubble.toys { background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%); }
.cat-circle-bubble.baby { background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%); }
.cat-circle-bubble.fashion { background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%); }
.cat-circle-bubble.books { background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%); }
.cat-circle-bubble.outdoor { background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%); }
.cat-circle-bubble.sale { background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%); }

.cat-circle-item:hover .cat-circle-bubble {
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.2);
  transform: scale(1.06);
}

.cat-circle-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #334155;
  white-space: nowrap;
}

/* ========================================================
   TRUST BADGES STRIP (IMAGE 1 EXACT STYLE)
======================================================== */
.trust-strip-container {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 1px solid #bae6fd;
  border-radius: 16px;
  padding: 16px 20px;
  margin: 10px auto 36px;
}

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

@media (min-width: 800px) {
  .trust-strip-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-strip-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-strip-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.trust-strip-text h4 {
  font-size: 0.88rem;
  font-weight: 800;
  color: #0369a1;
  line-height: 1.15;
}

.trust-strip-text p {
  font-size: 0.75rem;
  color: #0284c7;
}

/* ========================================================
   MARQUEE TICKER RIBBON (IMAGE 3 EXACT STYLE)
======================================================== */
.marquee-ribbon {
  background: linear-gradient(90deg, #38bdf8 0%, #0284c7 100%);
  color: #ffffff;
  padding: 11px 0;
  overflow: hidden;
  white-space: nowrap;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  border-top: 1px solid #bae6fd;
  border-bottom: 1px solid #bae6fd;
}

.marquee-content {
  display: inline-block;
  animation: marquee 28s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

/* ========================================================
   PRODUCT CARD (IMAGE 1 EXACT STYLE)
======================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

@media (min-width: 900px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
  }
}

@media (min-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

.product-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(2, 132, 199, 0.12);
  border-color: #93c5fd;
}

.product-img-wrap {
  position: relative;
  background-color: #ffffff;
  aspect-ratio: 1/1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.product-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

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

.card-badge-discount {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: var(--color-sale, #ef4444);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  z-index: 2;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.35);
}

.card-badge-free {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: var(--color-sale, #ef4444);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 900;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
  z-index: 2;
  transform: rotate(-10deg);
}

/* Card 1-2-3 Pack/Bundle Grouping Strip */
.card-bundle-strip {
  display: flex;
  gap: 4px;
  align-items: center;
  margin: 6px 0 8px 0;
  flex-wrap: wrap;
}

.card-bundle-pill {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  line-height: 1.25;
}

.card-bundle-pill.p-1 {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.card-bundle-pill.p-2 {
  background: #ecfdf5;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.card-bundle-pill.p-3 {
  background: #fef2f2;
  color: #ef4444;
  border: 1px solid #fecaca;
  font-weight: 800;
}

.card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4em;
}

.card-title:hover {
  color: #0284c7;
}

.card-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 0.8rem;
  color: #f59e0b;
  margin-bottom: 8px;
}

.card-pricing {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 12px;
}

.card-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0b1a30;
}

.card-compare-price, .card-old-price {
  font-size: 0.85rem;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 500;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.35);
}

.btn-buynow {
  background-color: #0284c7 !important;
  color: #ffffff !important;
  border-radius: 8px;
  font-weight: 800;
  padding: 10px !important;
  font-size: 0.9rem !important;
}

.btn-buynow:hover {
  background-color: #0369a1 !important;
}

.btn-secondary {
  background-color: #ffffff;
  color: #0b1a30;
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background-color: #f8fafc;
  border-color: #0284c7;
  color: #0284c7;
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: 8px;
}

/* ========================================================
   PROMO BANNERS ROW (IMAGE 1 EXACT STYLE)
======================================================== */
.promo-banners-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 36px 0 50px;
}

.promo-banner-card {
  border-radius: 18px;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.promo-banner-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.promo-banner-card.p-mint { background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%); border: 1px solid #86efac; }
.promo-banner-card.p-peach { background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%); border: 1px solid #fdba74; }
.promo-banner-card.p-lavender { background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%); border: 1px solid #c4b5fd; }

.promo-banner-text h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.promo-banner-text p {
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
  margin-top: 4px;
}

.promo-banner-icon {
  font-size: 3rem;
  flex-shrink: 0;
}

/* ========================================================
   PRODUCT LANDING PAGE STUNTS (IMAGES 2 & 3)
======================================================== */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

@media (min-width: 900px) {
  .product-detail-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
  }
}

.gallery-container {
  display: flex;
  flex-direction: column-reverse;
  gap: 12px;
}

@media (min-width: 600px) {
  .gallery-container {
    flex-direction: row;
  }
}

.thumbnail-strip {
  display: flex;
  flex-direction: row;
  gap: 10px;
  overflow-x: auto;
  max-width: 100%;
}

@media (min-width: 600px) {
  .thumbnail-strip {
    flex-direction: column;
    width: 76px;
    flex-shrink: 0;
  }
}

.thumb-item {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
  flex-shrink: 0;
  opacity: 0.75;
  transition: var(--transition);
}

.thumb-item.active, .thumb-item:hover {
  border-color: #0284c7;
  opacity: 1;
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-image-wrap {
  flex-grow: 1;
  background: #f8fafc;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.live-activity-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  background: #f8fafc;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.85rem;
  font-weight: 600;
}

.live-badge-viewers {
  color: #0284c7;
  display: flex;
  align-items: center;
  gap: 6px;
}

.live-badge-stock {
  color: #15803d;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.urgency-timer-box {
  background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
  border: 2px dashed #f43f5e;
  border-radius: 16px;
  padding: 16px 20px;
  text-align: center;
}

.urgency-timer-title {
  color: #e11d48;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.urgency-timer-sub {
  font-size: 0.775rem;
  color: #9f1239;
  font-weight: 600;
  margin-bottom: 12px;
}

.timer-rings-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.timer-ring {
  background: #ffffff;
  border: 2px solid #f43f5e;
  border-radius: 50%;
  width: 58px;
  height: 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(244, 63, 94, 0.15);
}

.timer-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0b1a30;
  line-height: 1;
}

.timer-lbl {
  font-size: 0.6rem;
  text-transform: uppercase;
  color: #e11d48;
  font-weight: 700;
}

/* Upsell Bundles Box */
.upsell-bundles-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bundle-card {
  border: 2px solid var(--color-border);
  border-radius: 14px;
  padding: 14px 18px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bundle-card:hover {
  border-color: #0284c7;
  background-color: #f0f9ff;
}

.bundle-card.active {
  border-color: #0284c7;
  background-color: #f0f9ff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15);
}

.bundle-badge {
  position: absolute;
  top: -10px;
  right: 16px;
  background: #ea580c;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.bundle-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #0b1a30;
}

.bundle-sub {
  font-size: 0.775rem;
  color: var(--color-text-muted);
}

.bundle-price-tag {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0284c7;
  text-align: right;
}

/* Quantity Control */
.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  width: fit-content;
  background-color: #fff;
}

.qty-btn {
  background: none;
  border: none;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  color: #0b1a30;
}

.qty-btn:hover {
  background-color: #f1f5f9;
}

.qty-input {
  width: 45px;
  text-align: center;
  border: none;
  outline: none;
  font-weight: 700;
  font-size: 0.95rem;
}

/* Sticky Bottom Buy Bar (Image 3) */
.sticky-buy-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--color-border);
  padding: 12px 20px;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateY(110%);
  transition: transform 0.3s ease-in-out;
}

.sticky-buy-bar.visible {
  transform: translateY(0);
}

.sticky-prod-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sticky-prod-img {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--color-border);
}

.sticky-prod-text h5 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0b1a30;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 320px;
}

.sticky-prod-price {
  font-size: 1.1rem;
  font-weight: 900;
  color: #0284c7;
  line-height: 1.2;
}

.sticky-prod-sub {
  font-size: 0.72rem;
  color: #16a34a;
  font-weight: 700;
  display: block;
}

/* Floating WhatsApp Widget */
.floating-wa-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 998;
  transition: transform 0.25s ease, bottom 0.3s ease;
  animation: waPulse 2s infinite;
}

.floating-wa-btn:hover {
  transform: scale(1.1);
}

/* Prevent collision: elevate floating WhatsApp button and Live Sale notification above sticky buy bar */
body:has(.sticky-buy-bar) .floating-wa-btn,
body.has-sticky-bar .floating-wa-btn,
body.product-page .floating-wa-btn,
.sticky-buy-bar ~ .floating-wa-btn {
  bottom: 92px !important;
}

body:has(.sticky-buy-bar) .live-sale-popup,
body.has-sticky-bar .live-sale-popup,
body.product-page .live-sale-popup,
.sticky-buy-bar ~ .live-sale-popup {
  bottom: 92px !important;
}

@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Live Recent Sale Notification Popup */
.live-sale-popup {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  z-index: 996;
  max-width: 320px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

@media (max-width: 640px) {
  .floating-wa-btn {
    bottom: 90px !important;
    right: 14px !important;
    width: 50px !important;
    height: 50px !important;
    z-index: 998 !important;
  }
  .live-sale-popup {
    bottom: 90px !important;
    left: 12px !important;
    right: auto !important;
    max-width: 270px !important;
    z-index: 996 !important;
  }
  .sticky-buy-bar {
    padding: 8px 12px !important;
    gap: 10px !important;
  }
  .sticky-prod-info {
    min-width: 0 !important;
    flex: 0 0 auto !important;
    gap: 8px !important;
  }
  .sticky-prod-img {
    width: 42px !important;
    height: 42px !important;
    border-radius: 6px !important;
  }
  .sticky-prod-text h5 {
    display: none !important; /* Hide title on small screens so price is 100% visible */
  }
  .sticky-prod-price {
    font-size: 1.05rem !important;
    font-weight: 900 !important;
    color: #0b1a30 !important;
    white-space: nowrap !important;
    line-height: 1.15 !important;
  }
  .sticky-prod-sub {
    font-size: 0.68rem !important;
    color: #16a34a !important;
    font-weight: 700 !important;
    display: block !important;
    white-space: nowrap !important;
  }
  .sticky-actions-wrap {
    display: flex !important;
    gap: 6px !important;
    align-items: center !important;
    flex: 1 !important;
    justify-content: flex-end !important;
  }
  .sticky-wa-btn {
    padding: 9px 12px !important;
    font-size: 0.8rem !important;
    white-space: nowrap !important;
  }
  .sticky-buy-btn {
    padding: 9px 14px !important;
    font-size: 0.85rem !important;
    white-space: nowrap !important;
    flex: 1 !important;
    text-align: center !important;
  }
}

.live-sale-popup.show {
  opacity: 1;
  transform: translateY(0);
}

.live-sale-thumb {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
}

.live-sale-info h6 {
  font-size: 0.8rem;
  font-weight: 700;
  color: #0b1a30;
}

.live-sale-info p {
  font-size: 0.725rem;
  color: var(--color-text-muted);
}

/* FAQ Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  padding: 16px 20px;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffe4e6;
  color: #e11d48;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}

.faq-answer {
  padding: 0 20px 16px;
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
  display: none;
}

/* Policy Card Content */
.policy-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
}

.policy-content h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0b1a30;
  margin-top: 28px;
  margin-bottom: 10px;
}

.policy-content p, .policy-content li {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 12px;
}

.policy-content ul, .policy-content ol {
  margin-left: 24px;
  margin-bottom: 18px;
}

/* ========================================================
   WAVY DARK NAVY FOOTER (IMAGE 1 EXACT STYLE)
======================================================== */
.wavy-footer-wrap {
  position: relative;
  background-color: #0b1a30;
  color: #94a3b8;
  padding-top: 50px;
  margin-top: 50px;
}

.wavy-svg-divider {
  position: absolute;
  top: -38px;
  left: 0;
  width: 100%;
  height: 40px;
  overflow: hidden;
}

.footer-inner {
  padding-bottom: 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  }
}

.footer-brand h3 {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

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

.footer-links a:hover {
  color: #fff;
}

.footer-newsletter-btn {
  background: #2dd4bf;
  color: #042f2e;
  font-weight: 800;
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  cursor: pointer;
  transition: var(--transition);
}

.footer-newsletter-btn:hover {
  background: #14b8a6;
}

/* Checkout Form Styling */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding: 40px 0 80px;
}

@media (min-width: 960px) {
  .checkout-layout {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.checkout-box {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 24px;
}

.checkout-heading {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #374151;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.1);
}

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

@media (min-width: 600px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.payment-card {
  border: 2px solid var(--color-border);
  border-radius: 14px;
  padding: 16px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.payment-card.active, .payment-card:hover {
  border-color: #0284c7;
  background-color: #f0f9ff;
}

.payment-card input[type="radio"] {
  margin-top: 4px;
}

.payment-card-details h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.payment-card-details p {
  font-size: 0.825rem;
  color: var(--color-text-muted);
}

.summary-items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  max-height: 280px;
  overflow-y: auto;
}

.summary-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.summary-item-img {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  object-fit: cover;
}

.summary-item-name {
  flex-grow: 1;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
}

.summary-item-qty {
  font-size: 0.775rem;
  color: var(--color-text-muted);
}

.summary-item-price {
  font-size: 0.9rem;
  font-weight: 700;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding: 8px 0;
  color: #4b5563;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.25rem;
  font-weight: 800;
  color: #0b1a30;
  border-top: 1px solid var(--color-border);
  padding-top: 14px;
  margin-top: 10px;
}

.confirm-box {
  max-width: 650px;
  margin: 50px auto 80px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.confirm-icon {
  width: 70px;
  height: 70px;
  background-color: #dcfce7;
  color: #16a34a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
}

.confirm-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #0b1a30;
  margin-bottom: 8px;
}

.order-tag {
  display: inline-block;
  background: #f1f5f9;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.confirm-details-card {
  text-align: left;
  background: #f8fafc;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 24px;
}

.timeline {
  position: relative;
  max-width: 500px;
  margin: 30px auto;
  padding-left: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 9px;
  width: 2px;
  background: var(--color-border);
}

.timeline-step {
  position: relative;
  margin-bottom: 24px;
}

.timeline-dot {
  position: absolute;
  left: -30px;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--color-border);
}

.timeline-step.completed .timeline-dot {
  border-color: #10b981;
  background: #10b981;
}

.timeline-step.current .timeline-dot {
  border-color: #0b1a30;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(11, 26, 48, 0.2);
}

.timeline-content h5 {
  font-size: 0.95rem;
  font-weight: 700;
}

.timeline-content p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #0b1a30;
  color: #fff;
  padding: 12px 20px;
  border-radius: 12px;
  box-shadow: var(--shadow-xl);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideUp 0.3s ease;
}

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

/* ========================================================
   SHOPIFY-PROPORTIONED PRODUCT PAGE LAYOUT & GALLERY
   ======================================================== */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 50px;
}

@media (min-width: 992px) {
  .product-detail-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
  }
}

.gallery-container {
  display: flex;
  flex-direction: column-reverse;
  gap: 14px;
}

@media (min-width: 768px) {
  .gallery-container {
    flex-direction: row;
    gap: 16px;
  }
}

@media (min-width: 992px) {
  .gallery-container {
    position: sticky;
    top: 85px;
    align-self: start;
    z-index: 10;
  }
}

.thumbnail-strip {
  display: flex;
  flex-direction: row;
  gap: 10px;
  overflow-x: auto;
}

@media (min-width: 768px) {
  .thumbnail-strip {
    flex-direction: column;
    overflow-y: auto;
    max-height: 560px;
    width: 80px;
    flex-shrink: 0;
  }
}

.thumb-item {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  border: 2px solid #e2e8f0;
  cursor: pointer;
  overflow: hidden;
  background: #ffffff;
  transition: all 0.2s ease;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumb-item:hover, .thumb-item.active {
  border-color: #0d9488;
  box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.25);
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-image-wrap {
  flex-grow: 1;
  position: relative;
  border-radius: 20px;
  border: 2px solid #e2e8f0;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  max-height: 580px;
  width: 100%;
}

#main-product-image {
  width: 100%;
  height: 100%;
  max-height: 580px;
  object-fit: contain;
  display: block;
}

.product-info-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Video Showcase Section */
.product-video-section {
  margin: 50px 0;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 32px 24px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.video-card {
  background: #0f172a;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  aspect-ratio: 9 / 16;
  max-height: 480px;
}

.video-card iframe, .video-card video {
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
}

/* Reviews Section & Form */
.reviews-section-wrap {
  margin: 50px 0;
  padding: 35px 24px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
}

.reviews-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 18px;
}

.reviews-list-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .reviews-list-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.review-item-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 20px;
  position: relative;
}

/* Trending Deals Section */
.trending-deals-banner {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border: 2px dashed #f97316;
  border-radius: 20px;
  padding: 24px 20px;
  margin: 40px 0 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.trending-timer-badge {
  background: #ea580c;
  color: #fff;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Advance Payment Box at Checkout */
.advance-discount-box {
  background: #f0fdf4;
  border: 2px dashed #16a34a;
  border-radius: 14px;
  padding: 18px 20px;
  margin: 20px 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.advance-discount-box.selected {
  background: #dcfce7;
  border-color: #15803d;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
}

.bank-accounts-card {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 18px;
  margin-top: 15px;
  font-size: 0.9rem;
}

/* ============================================================
   MOBILE ZERO-OVERFLOW & HORIZONTAL SCROLL PREVENTION
   Ensures 100% responsive fit on all mobile screens (320px - 768px)
   ============================================================ */
html {
  overflow-x: clip;
  max-width: 100vw;
}

body {
  overflow-x: clip;
  max-width: 100vw;
  width: 100%;
  position: relative;
}

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

.main-content, .hero-section-wrap, .site-header, .site-footer {
  max-width: 100%;
  box-sizing: border-box;
}

.container {
  width: 100%;
  max-width: var(--container-max, 1200px);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  .container {
    padding-left: 14px !important;
    padding-right: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .hero-grid-2col,
  .product-detail-grid,
  .checkout-grid,
  .promo-banners-grid,
  .promo-banners-row {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .product-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .category-bubbles-scroll {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-bottom: 8px;
  }

  .floating-wa-btn {
    bottom: 84px !important;
    right: 16px !important;
    width: 52px !important;
    height: 52px !important;
    z-index: 1000 !important;
  }

  .sticky-buy-bar {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    padding: 8px 10px !important;
    z-index: 995 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    background: #ffffff !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12) !important;
  }

  .sticky-buy-bar .sticky-prod-info {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
  }

  .sticky-buy-bar .sticky-prod-img {
    width: 44px !important;
    height: 44px !important;
    border-radius: 8px !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
  }

  .sticky-buy-bar .sticky-prod-text h5 {
    display: none !important;
  }

  .sticky-buy-bar .sticky-prod-price {
    font-size: 1.05rem !important;
    font-weight: 900 !important;
    color: #0b1a30 !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
  }

  .sticky-buy-bar .sticky-prod-sub {
    font-size: 0.7rem !important;
    color: #16a34a !important;
    font-weight: 700 !important;
    display: block !important;
    white-space: nowrap !important;
  }

  .sticky-actions-wrap {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 6px !important;
    flex: 1 !important;
    min-width: 0 !important;
  }

  .sticky-wa-btn {
    padding: 10px 10px !important;
    font-size: 0.78rem !important;
    font-weight: 800 !important;
    border-radius: 10px !important;
    white-space: nowrap !important;
    flex: 1 1 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
  }

  .sticky-wa-btn span {
    font-size: 0.78rem !important;
    white-space: nowrap !important;
  }

  .sticky-buy-btn {
    padding: 10px 14px !important;
    font-size: 0.85rem !important;
    font-weight: 900 !important;
    border-radius: 10px !important;
    white-space: nowrap !important;
    flex: 1.2 1 auto !important;
    text-align: center !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #0d9488 !important;
    color: #ffffff !important;
  }

  /* On Product page, hide duplicate round floating WhatsApp button when bottom sticky bar is present */
  body.product-page .floating-wa-btn {
    display: none !important;
  }

  table, .table-responsive {
    max-width: 100% !important;
    overflow-x: auto !important;
  }

  .trust-strip-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .trust-strip-item {
    align-items: flex-start !important;
  }

  .trust-strip-text h4 {
    font-size: 0.8rem !important;
  }

  .trust-strip-text p {
    font-size: 0.68rem !important;
  }

  .marquee-ribbon {
    max-width: 100vw !important;
    overflow: hidden !important;
    font-size: 0.8rem !important;
    padding: 8px 0 !important;
  }

  .admin-card {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* =========================================================
   CATEGORY SECTION BANNER (Styled like Trending Deals Box)
   ========================================================= */
.category-section-banner {
  background: linear-gradient(135deg, #f0fdfa 0%, #e6fffa 100%);
  border: 2px dashed #0d9488;
  border-radius: 20px;
  padding: 22px 24px;
  margin: 36px 0 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.06);
}

.cat-section-badge {
  font-size: 0.8rem;
  font-weight: 800;
  color: #0f766e;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
  margin-bottom: 6px;
  background: #ccfbf1;
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid #99f6e4;
}

.cat-section-title {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 900;
  color: #0b1a30;
  margin: 0;
  line-height: 1.25;
}

.cat-section-subtitle {
  color: #475569;
  font-size: 0.875rem;
  margin-top: 4px;
  margin-bottom: 0;
}

.cat-section-link-btn {
  background: #0d9488;
  color: #ffffff !important;
  font-weight: 800;
  padding: 9px 20px;
  border-radius: 30px;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
  transition: transform 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.cat-section-link-btn:hover {
  background: #0f766e;
  transform: translateY(-2px);
  color: #ffffff !important;
}

/* =========================================================
   SINGLE FEATURED PRODUCT FLASH SALE SHOWCASE
   ========================================================= */
.featured-flash-deal-card {
  background: #ffffff;
  border: 2px solid #fed7aa;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.1);
  margin: 40px 0;
}

.featured-flash-deal-topbar {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.5px solid #fed7aa;
  flex-wrap: wrap;
  gap: 12px;
}

.flash-deal-live-dot {
  width: 10px;
  height: 10px;
  background: #ea580c;
  border-radius: 50%;
  display: inline-block;
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(234, 88, 12, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(234, 88, 12, 0); }
}

.featured-flash-deal-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
  padding: 30px;
  align-items: center;
}

.featured-deal-media-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.featured-deal-img {
  width: 100%;
  height: 480px;
  max-height: 520px;
  object-fit: contain;
  display: block;
  transition: transform 0.4s ease;
  padding: 12px;
}

.featured-deal-media-wrap:hover .featured-deal-img {
  transform: scale(1.03);
}

.featured-deal-badge-sticker {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #ea580c;
  color: #ffffff;
  font-weight: 900;
  font-size: 0.85rem;
  padding: 6px 12px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(234, 88, 12, 0.4);
}

.featured-deal-heading {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.featured-deal-subheading {
  color: #64748b;
  font-size: 0.925rem;
  line-height: 1.5;
  margin: 0 0 18px 0;
}

.featured-deal-price-box {
  background: #f0fdf4;
  border: 1.5px dashed #22c55e;
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.featured-deal-current-price {
  font-size: 1.65rem;
  font-weight: 900;
  color: #15803d;
}

.featured-deal-compare-price {
  font-size: 1.1rem;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 600;
}

.featured-deal-save-pill {
  font-size: 0.85rem;
  font-weight: 800;
  color: #166534;
  background: #dcfce7;
  padding: 4px 10px;
  border-radius: 20px;
}

.featured-deal-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.featured-deal-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
}

.bullet-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ccfbf1;
  color: #0f766e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
  flex-shrink: 0;
}

.featured-deal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .featured-flash-deal-grid {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 16px;
  }
  .featured-deal-img {
    height: 330px;
    max-height: 360px;
    object-fit: contain;
    padding: 8px;
  }
}
