/* ═══════════════════════════════════════════════════
   Get Enroll Saver Shop – GLASSMORPHIC 3D LIGHT THEME
   Inspired by: Airy white · Sky blue · 3D blobs
   Fonts: Cabinet Grotesk + Satoshi
   ═══════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&family=Quicksand:wght@400;500;600;700&display=swap');

:root {
  --bg: #f0f4ff;
  --bg2: #e8eeff;
  --surface: #ffffff;
  --surface2: rgba(255, 255, 255, 0.75);
  --border: rgba(99, 119, 255, 0.1);
  --border2: rgba(99, 119, 255, 0.2);
  --blue: #4f7cff;
  --blue2: #6b95ff;
  --cyan: #00cfe8;
  --coral: #ff6b6b;
  --amber: #ffb347;
  --mint: #00d4aa;
  --pink: #ff6eb4;
  --purple: #9b59ff;
  --text: #2d3561;
  --text2: #6b7db3;
  --text3: #a8b4d8;
  --shadow: 0 8px 32px rgba(79, 124, 255, 0.12);
  --shadow2: 0 16px 48px rgba(79, 124, 255, 0.18);
  --shadow3: 0 4px 16px rgba(79, 124, 255, 0.08);
  --radius: 20px;
  --radius-sm: 14px;
  --radius-xs: 10px;
  --nav-h: 70px;
  --transition: all .3s cubic-bezier(.4, 0, .2, 1);
  --font-display: 'Nunito', sans-serif;
  --font-body: 'Quicksand', sans-serif;
}

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

html {
  /* scroll-behavior: smooth; */
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

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

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

::-webkit-scrollbar-thumb {
  background: var(--blue);
  border-radius: 3px;
}

::selection {
  background: rgba(79, 124, 255, .2);
  color: var(--blue);
}

/* ── Floating background blobs ── */
.page-blob {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
  opacity: .35;
  animation: blobDrift 12s ease-in-out infinite;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #a8c8ff, #c8d8ff);
  top: -150px;
  right: -100px;
  animation-delay: 0s;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #b8f0e8, #d0f8f0);
  bottom: -100px;
  left: -80px;
  animation-delay: 4s;
}

.blob-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #ffd8e8, #ffe8f4);
  top: 40%;
  left: 60%;
  animation-delay: 8s;
}

@keyframes blobDrift {

  0%,
  100% {
    transform: translate(0, 0) scale(1)
  }

  33% {
    transform: translate(30px, -40px) scale(1.05)
  }

  66% {
    transform: translate(-20px, 20px) scale(.97)
  }
}

/* ── Utility ── */
.text-blue {
  color: var(--blue);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(79, 124, 255, .08);
  border: 1px solid rgba(79, 124, 255, .15);
  padding: .3rem .9rem;
  border-radius: 50px;
  margin-bottom: .75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 900;
  color: var(--text);
  line-height: 1.15;
}

.section-title span {
  color: var(--blue);
}

.section-sub {
  color: var(--text2);
  font-size: .95rem;
  margin-top: .4rem;
}

/* ════════════════════════════════
   NAVBAR
   ════════════════════════════════ */
#mainNav {
  height: var(--nav-h);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(79, 124, 255, .08);
  transition: var(--transition);
  z-index: 1050;
}

#mainNav.scrolled {
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 4px 24px rgba(79, 124, 255, .1);
}

.navbar-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text) !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: .55rem;
}

.brand-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: .88rem;
  box-shadow: 0 4px 14px rgba(79, 124, 255, .4);
}

.brand-accent {
  color: var(--blue);
}

.nav-link {
  font-weight: 600;
  color: var(--text) !important;
  font-size: .88rem;
  padding: .45rem .85rem !important;
  border-radius: 10px;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue) !important;
  background: rgba(79, 124, 255, .07);
}

.dropdown-menu.mega-menu {
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  box-shadow: 0 16px 48px rgba(79, 124, 255, .15);
  padding: .5rem;
  min-width: 230px;
}

.mega-menu .dropdown-item {
  border-radius: var(--radius-xs);
  padding: .65rem 1rem;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
  font-size: .88rem;
}

.mega-menu .dropdown-item:hover {
  background: rgba(79, 124, 255, .08);
  color: var(--blue);
}

.search-wrap {
  position: relative;
}

.search-input {
  border: 1.5px solid var(--border2);
  border-radius: 50px;
  padding: .44rem 1rem .44rem 2.4rem;
  font-size: .87rem;
  width: 200px;
  transition: var(--transition);
  background: rgba(255, 255, 255, .9);
  color: var(--text);
  outline: none;
  font-family: var(--font-body);
}

.search-input::placeholder {
  color: var(--text3);
}

.search-input:focus {
  border-color: var(--blue);
  width: 260px;
  box-shadow: 0 0 0 3px rgba(79, 124, 255, .12);
}

.search-icon {
  position: absolute;
  left: .85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text3);
  font-size: .8rem;
  pointer-events: none;
}

.nav-icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .9);
  border: 1.5px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text2);
  text-decoration: none;
  transition: var(--transition);
  box-shadow: var(--shadow3);
}

.nav-icon-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
  box-shadow: 0 6px 20px rgba(79, 124, 255, .35);
  transform: translateY(-2px);
}

.badge-dot {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  background: var(--coral);
  color: white;
  font-size: .63rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--bg);
}

.cart-btn .badge-dot {
  background: var(--blue);
}

.nav-cta {
  background: linear-gradient(135deg, var(--blue), var(--cyan)) !important;
  color: white !important;
  border: none !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  padding: .45rem 1.4rem !important;
  font-size: .87rem !important;
  box-shadow: 0 6px 20px rgba(79, 124, 255, .35) !important;
  transition: var(--transition) !important;
  font-family: var(--font-body) !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(79, 124, 255, .45) !important;
}

/* ════════════════════════════════
   HERO SLIDER
   ════════════════════════════════ */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding-top: var(--nav-h);
}

.hero-slider {
  width: 100%;
  min-height: calc(100vh - var(--nav-h));
  position: relative;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .9s ease;
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--nav-h));
  padding: 3rem 0;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

/* hero 3D blob decorations */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: heroBlobFloat 7s ease-in-out infinite;
}

.hb1 {
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, #7ec8ff, #aad8ff);
  opacity: .6;
  top: 8%;
  right: 5%;
  filter: blur(2px);
}

.hb2 {
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, #ffb3d1, #ffd0e8);
  opacity: .55;
  top: 55%;
  right: 18%;
  filter: blur(1px);
  animation-delay: 2.5s;
}

.hb3 {
  width: 90px;
  height: 90px;
  background: radial-gradient(circle, #b8f5e8, #d0faf2);
  opacity: .65;
  top: 25%;
  right: 32%;
  filter: blur(1px);
  animation-delay: 5s;
}

.hb4 {
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, #ffe4a0, #fff0c8);
  opacity: .7;
  top: 70%;
  right: 8%;
  animation-delay: 1s;
}

@keyframes heroBlobFloat {

  0%,
  100% {
    transform: translateY(0) scale(1)
  }

  50% {
    transform: translateY(-22px) scale(1.04)
  }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(79, 124, 255, .09);
  border: 1.5px solid rgba(79, 124, 255, .18);
  color: var(--blue);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .38rem .95rem;
  border-radius: 50px;
  margin-bottom: 1.4rem;
  backdrop-filter: blur(6px);
}

.hero-tag .tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  animation: tagPulse 1.6s ease-in-out infinite;
}

@keyframes tagPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1
  }

  50% {
    transform: scale(1.5);
    opacity: .5
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.hero-title span {
  color: var(--blue);
  position: relative;
}

.hero-title span::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--blue), var(--cyan));
  border-radius: 2px;
}

.hero-desc {
  color: var(--text2);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: .85rem;
  flex-wrap: wrap;
  align-items: center;
}

.btn-hero {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: white;
  border: none;
  border-radius: 50px;
  padding: .82rem 2rem;
  font-weight: 700;
  font-family: var(--font-body);
  font-size: .95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  box-shadow: 0 8px 28px rgba(79, 124, 255, .35);
  transition: var(--transition);
}

.btn-hero:hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(79, 124, 255, .45);
}

.btn-hero-outline {
  background: white;
  color: var(--blue);
  border: 2px solid var(--border2);
  border-radius: 50px;
  padding: .8rem 2rem;
  font-weight: 700;
  font-family: var(--font-body);
  font-size: .95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: var(--transition);
  box-shadow: var(--shadow3);
}

.btn-hero-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* hero stat pills */
.hero-stats {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero-stat {
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(12px);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .65rem 1.1rem;
  display: flex;
  align-items: center;
  gap: .65rem;
  box-shadow: var(--shadow3);
}

.hero-stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--text);
  line-height: 1;
}

.hero-stat-lbl {
  font-size: .7rem;
  color: var(--text3);
  font-weight: 600;
}

/* hero right: 3D product showcase */
.hero-showcase {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hs-main {
  width: 280px;
  height: 360px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(79, 124, 255, .25), 0 0 0 1px rgba(79, 124, 255, .08);
  position: relative;
  z-index: 2;
}

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

.hs-card {
  position: absolute;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .65rem .9rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .8rem;
  font-weight: 700;
  color: var(--text);
  z-index: 4;
}

.hs-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
}

.hs-c1 {
  top: 25px;
  right: -10px;
  animation: floatY 4s ease-in-out infinite;
}

.hs-c2 {
  bottom: 55px;
  left: -20px;
  animation: floatY 4s ease-in-out infinite 2s;
}

.hs-c3 {
  bottom: 160px;
  right: -25px;
  animation: floatY 4s ease-in-out infinite 1s;
}

@keyframes floatY {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-10px)
  }
}

.hs-thumb {
  position: absolute;
  width: 100px;
  height: 130px;
  border-radius: 16px;
  overflow: hidden;
  bottom: 20px;
  right: -10px;
  border: 3px solid white;
  box-shadow: var(--shadow);
  z-index: 3;
}

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

/* slider controls */
.slider-controls {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: .85rem;
  z-index: 10;
}

.slider-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  border: 1.5px solid var(--border2);
  color: var(--blue);
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow3);
  font-size: .85rem;
}

.slider-btn:hover {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
  box-shadow: 0 4px 16px rgba(79, 124, 255, .3);
}

.slider-dots {
  display: flex;
  gap: .4rem;
}

.slider-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(79, 124, 255, .25);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.slider-dot.active {
  width: 22px;
  border-radius: 4px;
  background: var(--blue);
}

/* search results */
.search-results-panel {
  background: white;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  margin-top: var(--nav-h);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 100;
}

/* ════════════════════════════════
   STATS BAR
   ════════════════════════════════ */
.stats-bar {
  background: white;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}

.stats-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1rem;
}

.sb-item {
  display: flex;
  align-items: center;
  gap: .8rem;
}

.sb-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.sb-num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text);
}

.sb-label {
  font-size: .76rem;
  color: var(--text2);
  font-weight: 600;
}

.sb-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ════════════════════════════════
   CATEGORY CTA BUTTONS
   ════════════════════════════════ */
.cat-section {
  padding: 3.5rem 0 2rem;
  background: var(--bg);
  position: relative;
  z-index: 1;
}

.cat-pills-row {
  display: flex;
  gap: .85rem;
  flex-wrap: wrap;
  justify-content: center;
}

.cat-pill {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .65rem 1.35rem;
  border-radius: 50px;
  background: white;
  border: 1.5px solid var(--border);
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: .85rem;
  transition: var(--transition);
  box-shadow: var(--shadow3);
}

.cat-pill-dot {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  transition: var(--transition);
}

.cat-pill:hover {
  border-color: var(--pill-color, var(--blue));
  color: var(--pill-color, var(--blue));
  box-shadow: 0 8px 24px rgba(79, 124, 255, .15);
  transform: translateY(-3px);
  background: rgba(255, 255, 255, .98);
}

.cat-pill:hover .cat-pill-dot {
  background: var(--pill-color, var(--blue));
  color: white;
  transform: rotate(-8deg) scale(1.1);
}

/* ════════════════════════════════
   PRODUCT SECTIONS  (slider layout)
   ════════════════════════════════ */
.products-section {
  padding: 3.5rem 0;
  background: var(--bg);
  position: relative;
  z-index: 1;
}

.products-section.alt-bg {
  background: var(--bg2);
}

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

.slider-nav-btns {
  display: flex;
  gap: .5rem;
}

.snav-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: white;
  border: 1.5px solid var(--border2);
  color: var(--blue);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  box-shadow: var(--shadow3);
}

.snav-btn:hover {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
  box-shadow: 0 4px 16px rgba(79, 124, 255, .3);
}

/* horizontal scroll container */
.product-slider-wrap {
  position: relative;
  overflow: hidden;
}

.product-slider-track {
  display: flex;
  gap: 1.1rem;
  transition: transform .45s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}

.product-slider-track .product-slide-item {
  flex: 0 0 calc(25% - .85rem);
  min-width: 0;
}

@media(max-width:1200px) {
  .product-slider-track .product-slide-item {
    flex: 0 0 calc(33.333% - .75rem);
  }
}

@media(max-width:768px) {
  .product-slider-track .product-slide-item {
    flex: 0 0 calc(50% - .55rem);
  }
}

@media(max-width:480px) {
  .product-slider-track .product-slide-item {
    flex: 0 0 calc(80% - .45rem);
  }
}

/* ── PRODUCT CARD ── */
.product-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid var(--border);
  transition: var(--transition);
  position: relative;
  cursor: pointer;
  height: 100%;
  box-shadow: var(--shadow3);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow2);
  border-color: rgba(79, 124, 255, .2);
}

.product-badge {
  position: absolute;
  top: .65rem;
  left: .65rem;
  z-index: 5;
  font-size: .65rem;
  font-weight: 800;
  padding: .2rem .65rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.badge-blue {
  background: rgba(79, 124, 255, .12);
  color: var(--blue);
}

.badge-coral {
  background: rgba(255, 107, 107, .12);
  color: var(--coral);
}

.badge-mint {
  background: rgba(0, 212, 170, .12);
  color: var(--mint);
}

.badge-amber {
  background: rgba(255, 179, 71, .15);
  color: #d97706;
}

.product-img-wrap {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.4, 0, .2, 1);
}

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

.product-img-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  background: var(--bg);
}

.product-quick-actions {
  position: absolute;
  top: .6rem;
  right: .6rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
  z-index: 6;
}

.product-card:hover .product-quick-actions {
  opacity: 1;
  transform: translateX(0);
}

.card-action-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border: none;
  cursor: pointer;
  color: var(--text2);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .82rem;
  box-shadow: var(--shadow3);
}

.card-action-btn:hover {
  background: var(--blue);
  color: white;
  transform: scale(1.1);
}

.card-action-btn.wishlisted {
  background: rgba(255, 107, 107, .1);
  color: var(--coral);
}

.product-info {
  padding: .9rem 1rem 1.1rem;
}

.product-category-label {
  font-size: .67rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--blue);
}

.product-name {
  font-family: var(--font-display);
  font-size: .93rem;
  font-weight: 800;
  margin: .3rem 0 .35rem;
  color: var(--text);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-rating {
  font-size: .7rem;
  color: var(--text3);
  margin-bottom: .5rem;
}

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

.product-price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--text);
}

.add-to-cart-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: white;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .82rem;
  box-shadow: 0 4px 12px rgba(79, 124, 255, .3);
}

.add-to-cart-btn:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 20px rgba(79, 124, 255, .45);
}

.add-to-cart-btn.in-cart {
  background: linear-gradient(135deg, var(--mint), #00b894);
  box-shadow: 0 4px 12px rgba(0, 212, 170, .3);
}

/* ════════════════════════════════
   ABOUT SECTION
   ════════════════════════════════ */
.about-section {
  padding: 4.5rem 0;
  background: var(--bg);
  position: relative;
  z-index: 1;
}

.about-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  height: 100%;
  transition: var(--transition);
  box-shadow: var(--shadow3);
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow2);
  border-color: rgba(79, 124, 255, .15);
}

.about-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(79, 124, 255, .07);
  color: var(--acolor, var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.1rem;
  transition: var(--transition);
}

.about-card:hover .about-icon {
  background: var(--acolor, var(--blue));
  color: white;
  transform: scale(1.08) rotate(-5deg);
}

.about-card h5 {
  font-family: var(--font-display);
  font-weight: 800;
  margin-bottom: .5rem;
  color: var(--text);
}

.about-card p {
  color: var(--text2);
  font-size: .88rem;
  line-height: 1.7;
}

.stats-row {
  border-top: 1.5px solid var(--border);
  padding-top: 2rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding: 1.5rem;
  background: white;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow3);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(79, 124, 255, .2);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--blue);
}

.stat-label {
  font-size: .76rem;
  color: var(--text2);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* ════════════════════════════════
   FAQ
   ════════════════════════════════ */
.faq-section {
  padding: 4.5rem 0;
  background: var(--bg2);
}

.faq-item {
  border: 1.5px solid var(--border) !important;
  border-radius: var(--radius) !important;
  margin-bottom: 1rem;
  overflow: hidden;
  background: white !important;
  box-shadow: var(--shadow3) !important;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(79, 124, 255, .2) !important;
  box-shadow: var(--shadow) !important;
}

.faq-btn {
  background: white !important;
  color: var(--text) !important;
  font-family: var(--font-display);
  font-weight: 800;
  border: none;
  padding: 1.1rem 1.5rem !important;
  font-size: .95rem;
  box-shadow: none !important;
}

.faq-btn:not(.collapsed) {
  color: var(--blue) !important;
  background: rgba(79, 124, 255, .04) !important;
}

.faq-icon {
  color: var(--blue);
  font-size: .95rem;
}

.faq-body {
  color: var(--text2);
  line-height: 1.75;
  padding: 0 1.5rem 1.1rem;
  background: rgba(79, 124, 255, .03);
  font-size: .9rem;
}

/* ════════════════════════════════
   SUBSCRIBE — new form
   ════════════════════════════════ */
.subscribe-section {
  padding: 4.5rem 0;
  background: var(--bg);
  position: relative;
  z-index: 1;
}

.subscribe-card {
  background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
  border-radius: 28px;
  padding: 3.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(79, 124, 255, .35);
}

.subscribe-card::before {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  top: -80px;
  right: -60px;
  pointer-events: none;
}

.subscribe-card::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  bottom: -60px;
  left: 10%;
  pointer-events: none;
}

.subscribe-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: white;
  margin-bottom: .4rem;
}

.subscribe-sub {
  color: rgba(255, 255, 255, .8);
  font-size: .95rem;
  margin-bottom: 0;
}

.sub-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media(max-width:640px) {
  .sub-form-grid {
    grid-template-columns: 1fr;
  }
}

.sub-field {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.sub-label {
  font-size: .78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, .9);
  letter-spacing: .05em;
  text-transform: uppercase;
}

.sub-input {
  background: rgba(255, 255, 255, .18);
  border: 1.5px solid rgba(255, 255, 255, .25);
  border-radius: var(--radius-xs);
  padding: .65rem 1rem;
  color: white;
  font-size: .9rem;
  outline: none;
  transition: var(--transition);
  font-family: var(--font-body);
}

.sub-input::placeholder {
  color: rgba(255, 255, 255, .55);
}

.sub-input:focus {
  background: rgba(255, 255, 255, .28);
  border-color: rgba(255, 255, 255, .6);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .12);
}

.sub-input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1) opacity(.7);
  cursor: pointer;
}

/* checkboxes */
.sub-checks {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  grid-column: 1/-1;
}

.sub-check-row {
  display: flex;
  align-items: center;
  gap: .65rem;
}

.sub-check {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  cursor: pointer;
  accent-color: white;
  flex-shrink: 0;
}

.sub-check-label {
  font-size: .82rem;
  color: rgba(255, 255, 255, .88);
  font-weight: 600;
  cursor: pointer;
  line-height: 1.4;
}

.subscribe-btn {
  background: white;
  color: var(--blue);
  border: none;
  border-radius: 50px;
  padding: .75rem 2.2rem;
  font-weight: 800;
  font-family: var(--font-body);
  font-size: .95rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .15);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: .25rem;
}

.subscribe-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .2);
}

.subscribe-note {
  font-size: .75rem;
  color: rgba(255, 255, 255, .65);
  margin-top: .5rem;
}

.unsub-link {
  color: rgba(255, 255, 255, .8);
  text-decoration: underline;
}

.unsub-link:hover {
  color: white;
}

/* ════════════════════════════════
   CONTACT
   ════════════════════════════════ */
.contact-section {
  padding: 4.5rem 0;
  background: var(--bg2);
  position: relative;
  z-index: 1;
}

.contact-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  height: 100%;
  transition: var(--transition);
  box-shadow: var(--shadow3);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow2);
  border-color: rgba(79, 124, 255, .2);
}

.contact-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(79, 124, 255, .07);
  color: var(--ccolor, var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 1rem;
  transition: var(--transition);
}

.contact-card:hover .contact-icon {
  background: var(--ccolor, var(--blue));
  color: white;
}

.contact-card h6 {
  font-family: var(--font-display);
  font-weight: 800;
  margin-bottom: .45rem;
  color: var(--text);
}

.contact-card p {
  color: var(--text2);
  font-size: .88rem;
  line-height: 1.7;
}

.contact-form-wrap {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow3);
}

.contact-form-wrap h5 {
  font-family: var(--font-display);
  color: var(--text);
  font-weight: 800;
}

.contact-input {
  background: var(--bg) !important;
  border: 1.5px solid var(--border2) !important;
  border-radius: var(--radius-xs) !important;
  color: var(--text) !important;
  padding: .72rem 1rem !important;
  font-size: .9rem !important;
  transition: var(--transition) !important;
  font-family: var(--font-body) !important;
}

.contact-input::placeholder {
  color: var(--text3) !important;
}

.contact-input:focus {
  border-color: var(--blue) !important;
  box-shadow: 0 0 0 3px rgba(79, 124, 255, .1) !important;
  background: white !important;
}

.send-btn {
  background: linear-gradient(135deg, var(--blue), var(--cyan)) !important;
  border: none !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  color: white !important;
  padding: .75rem 2rem !important;
  box-shadow: 0 6px 20px rgba(79, 124, 255, .3) !important;
}

.social-connect {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  box-shadow: var(--shadow3);
}

.social-connect h5 {
  font-family: var(--font-display);
  color: var(--text);
  font-weight: 800;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .95rem;
  border-radius: 50px;
  background: var(--bg);
  color: var(--sc, var(--blue));
  border: 1.5px solid var(--border);
  text-decoration: none;
  font-size: .8rem;
  font-weight: 700;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--sc, var(--blue));
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
}

.app-badges {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  padding: .55rem 1.1rem;
  background: var(--text);
  color: white;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: .8rem;
  transition: var(--transition);
}

.app-badge:hover {
  background: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(79, 124, 255, .3);
}

/* ════════════════════════════════
   FOOTER
   ════════════════════════════════ */
.site-footer {
  background: var(--text);
  color: rgba(255, 255, 255, .65);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  color: white !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.footer-brand .brand-icon {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.footer-desc {
  font-size: .86rem;
  line-height: 1.75;
}

.footer-badges {
  display: flex;
  gap: .45rem;
  flex-wrap: wrap;
  margin-top: .9rem;
}

.f-badge {
  font-size: 0.85rem;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  padding: .58rem .9rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  cursor: pointer;
}

.footer-heading {
  font-family: var(--font-display);
  font-weight: 800;
  color: white;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .9rem;
}

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

.footer-links a {
  color: rgba(255, 255, 255, .6);
  text-decoration: none;
  font-size: .85rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--blue);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .8rem;
}

.payment-icons {
  display: flex;
  gap: .7rem;
  font-size: 1.65rem;
  color: rgba(255, 255, 255, .45);
}

.payment-icons i:hover {
  color: var(--blue);
  transition: var(--transition);
}

/* ════════════════════════════════
   SIDEBARS (cart/wishlist)
   ════════════════════════════════ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(45, 53, 97, .45);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  z-index: 1060;
}

.cart-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.cart-sidebar {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: 400px;
  max-width: 96vw;
  background: white;
  border-left: 1.5px solid var(--border);
  z-index: 1061;
  transform: translateX(100%);
  transition: transform .38s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(79, 124, 255, .12);
}

.cart-sidebar.open {
  transform: translateX(0);
}

.wishlist-sidebar {
  border-left: 2px solid rgba(255, 107, 107, .2);
}

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

.cart-header h5 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--text);
  margin: 0;
}

.cart-close {
  background: var(--bg);
  border: 1.5px solid var(--border);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text2);
  transition: var(--transition);
}

.cart-close:hover {
  background: rgba(255, 107, 107, .1);
  color: var(--coral);
  border-color: rgba(255, 107, 107, .3);
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.25rem;
}

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

.cart-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  margin-bottom: .75rem;
  background: white;
  transition: var(--transition);
}

.cart-item:hover {
  border-color: rgba(79, 124, 255, .2);
  box-shadow: var(--shadow3);
}

.cart-item-img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-xs);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}

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

.ci-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-size: .82rem;
  font-weight: 700;
  color: var(--text);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-item-unit {
  font-size: .74rem;
  color: var(--text3);
  display: block;
  margin-top: .1rem;
}

.ci-qty-row {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-top: .4rem;
}

.ci-qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--border2);
  background: var(--bg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  color: var(--text2);
  transition: var(--transition);
}

.ci-qty-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(79, 124, 255, .07);
}

.ci-qty-num {
  min-width: 20px;
  text-align: center;
  font-weight: 800;
  font-size: .85rem;
  color: var(--text);
}

.ci-line-total {
  font-weight: 800;
  font-size: .82rem;
  color: var(--blue);
  margin-left: .4rem;
}

.cart-item-remove {
  background: transparent;
  border: 1.5px solid var(--border);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  color: var(--text3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  transition: var(--transition);
  flex-shrink: 0;
}

.cart-item-remove:hover {
  background: rgba(255, 107, 107, .08);
  color: var(--coral);
  border-color: rgba(255, 107, 107, .3);
}

.wish-item-actions {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  flex-shrink: 0;
}

.empty-cart {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: var(--text3);
  text-align: center;
}

.cart-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .38rem 0;
  font-size: .87rem;
  color: var(--text2);
  border-bottom: 1px solid var(--border);
}

.cart-price-row:last-of-type {
  border-bottom: none;
}

.cart-total-row {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  padding-top: .55rem;
}

.checkout-btn {
  background: linear-gradient(135deg, var(--blue), var(--cyan)) !important;
  color: white !important;
  border: none !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  padding: .72rem !important;
  box-shadow: 0 6px 20px rgba(79, 124, 255, .3) !important;
  transition: var(--transition) !important;
}

.checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(79, 124, 255, .4) !important;
}

.badge.bg-primary {
  background: var(--blue) !important;
  color: white !important;
}

.fw-600 {
  font-weight: 700;
}

/* ════════════════════════════════
   PRODUCT MODAL
   ════════════════════════════════ */
.product-modal {
  background: white;
  border-radius: 24px;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow2);
  overflow: hidden;
}

.product-modal .modal-header {
  background: var(--bg);
}

.modal-product-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.modal-img-wrap {
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.modal-img-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 280px;
  border-radius: var(--radius-sm);
  background: var(--bg);
}

.modal-category-badge {
  border-radius: 50px;
  padding: .22rem .7rem;
  color: white;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .06em;
}

.modal-price {
  margin-bottom: .45rem;
}

.modal-rating {
  font-size: .78rem;
  color: var(--text3);
}

.modal-perks {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
}

.perk-tag {
  font-size: .73rem;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: .22rem .65rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  color: var(--text2);
}

.modal-actions {
  display: flex;
  gap: .65rem;
  align-items: center;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: .65rem;
  background: var(--bg);
  border: 1.5px solid var(--border2);
  border-radius: 50px;
  padding: .32rem .8rem;
}

.qty-control button {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text2);
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  transition: var(--transition);
}

.qty-control button:hover {
  color: var(--blue);
}

.qty-control span {
  font-weight: 800;
  min-width: 20px;
  text-align: center;
  color: var(--text);
}

.product-modal .btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--cyan)) !important;
  border: none !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  color: white !important;
  box-shadow: 0 4px 18px rgba(79, 124, 255, .3) !important;
}

.product-modal .btn-outline-danger {
  border-color: rgba(255, 107, 107, .35) !important;
  color: var(--coral) !important;
  border-radius: 50% !important;
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.product-modal .btn-outline-danger:hover {
  background: rgba(255, 107, 107, .08) !important;
}

.product-modal h4 {
  font-family: var(--font-display);
  color: var(--text);
  font-weight: 900;
}

.product-modal .modal-title {
  color: var(--text2);
  font-size: .82rem;
}

/* ════════════════════════════════
   CHECKOUT OVERLAY
   ════════════════════════════════ */
.checkout-overlay {
  position: fixed;
  inset: 0;
  background: rgba(45, 53, 97, .5);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1.5rem;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s;
}

.checkout-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.checkout-modal {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 28px;
  width: 100%;
  max-width: 980px;
  margin: auto;
  box-shadow: 0 32px 80px rgba(79, 124, 255, .2);
  transform: translateY(40px);
  transition: transform .4s cubic-bezier(.4, 0, .2, 1);
  overflow: hidden;
}

.checkout-overlay.active .checkout-modal {
  transform: translateY(0);
}

.checkout-header {
  padding: 1.2rem 1.75rem;
  border-bottom: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg);
}

.checkout-header h5 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--text);
}

.checkout-back-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--border2);
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text2);
  transition: var(--transition);
  box-shadow: var(--shadow3);
}

.checkout-back-btn:hover {
  background: var(--bg2);
  color: var(--blue);
  border-color: rgba(79, 124, 255, .25);
}

.checkout-body {
  padding: 1.75rem;
  max-height: calc(100vh - 90px);
  overflow-y: auto;
}

.co-section {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  margin-bottom: 1.2rem;
}

.co-section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .97rem;
  color: var(--text);
  margin-bottom: 1.2rem;
}

.co-label {
  font-size: .8rem;
  font-weight: 700;
  color: var(--text2);
  margin-bottom: .32rem;
  display: block;
}

.co-input {
  background: white !important;
  border: 1.5px solid var(--border2) !important;
  border-radius: var(--radius-xs) !important;
  padding: .62rem 1rem !important;
  font-size: .9rem !important;
  color: var(--text) !important;
  transition: var(--transition) !important;
  font-family: var(--font-body) !important;
}

.co-input::placeholder {
  color: var(--text3) !important;
}

.co-input:focus {
  border-color: var(--blue) !important;
  box-shadow: 0 0 0 3px rgba(79, 124, 255, .1) !important;
}

.payment-options {
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

.payment-option {
  display: block;
  cursor: pointer;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .95rem;
  transition: var(--transition);
  background: white;
}

.payment-option input {
  display: none;
}

.payment-option.selected,
.payment-option:has(input:checked) {
  border-color: var(--blue);
  background: rgba(79, 124, 255, .04);
  box-shadow: 0 0 0 1px rgba(79, 124, 255, .15);
}

.payment-option-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.payment-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.payment-option strong {
  color: var(--text);
  font-size: .9rem;
}

.disabled-option {
  cursor: not-allowed;
  opacity: .55;
}

.co-cod-note {
  background: rgba(79, 124, 255, .06);
  border: 1px solid rgba(79, 124, 255, .15);
  border-radius: var(--radius-xs);
  padding: .7rem 1rem;
  font-size: .84rem;
  color: var(--blue);
  margin-bottom: 1.2rem;
}

.co-place-btn {
  background: linear-gradient(135deg, var(--blue), var(--cyan)) !important;
  border: none !important;
  border-radius: 50px !important;
  font-weight: 800 !important;
  font-family: var(--font-body) !important;
  padding: .82rem 2rem !important;
  font-size: .97rem !important;
  color: white !important;
  box-shadow: 0 6px 24px rgba(79, 124, 255, .35) !important;
  transition: var(--transition) !important;
}

.co-place-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(79, 124, 255, .45) !important;
}

.co-summary-box {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  position: sticky;
  top: 1rem;
}

.co-items-list {
  max-height: 260px;
  overflow-y: auto;
  margin-bottom: 1rem;
}

.co-item {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .6rem 0;
  border-bottom: 1px solid var(--border);
}

.co-item:last-child {
  border-bottom: none;
}

.co-item-img {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-xs);
  overflow: hidden;
  flex-shrink: 0;
}

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

.co-item-info {
  flex: 1;
  min-width: 0;
}

.co-item-name {
  font-size: .8rem;
  font-weight: 700;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
}

.co-item-meta {
  font-size: .71rem;
  color: var(--text3);
}

.co-item-price {
  font-weight: 800;
  font-size: .87rem;
  color: var(--blue);
  flex-shrink: 0;
}

.co-price-breakdown {
  border-top: 1.5px solid var(--border);
  padding-top: .7rem;
  margin-bottom: 1rem;
}

.co-price-row {
  display: flex;
  justify-content: space-between;
  padding: .28rem 0;
  font-size: .86rem;
  color: var(--text2);
}

.co-price-total {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--text);
  border-top: 1.5px solid var(--border);
  padding-top: .6rem;
  margin-top: .3rem;
}

.co-price-total strong {
  color: var(--blue);
}

.co-trust-badges {
  display: flex;
  gap: .45rem;
  flex-wrap: wrap;
}

.co-trust-badges span {
  font-size: .72rem;
  color: var(--text2);
  display: flex;
  align-items: center;
  gap: .3rem;
  background: white;
  border: 1px solid var(--border);
  padding: .22rem .55rem;
  border-radius: 50px;
}

/* ════════════════════════════════
   OVERLAYS (legal/success/unsub)
   ════════════════════════════════ */
.legal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(45, 53, 97, .5);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  padding: 1rem;
}

.legal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.legal-modal {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 24px;
  max-width: 620px;
  width: 100%;
  max-height: 82vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  transform: translateY(20px);
  transition: transform .3s;
  box-shadow: var(--shadow2);
}

.legal-overlay.active .legal-modal {
  transform: translateY(0);
}

.legal-modal h3 {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--text);
}

.legal-modal h5 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--text);
  margin: 1.2rem 0 .45rem;
}

.legal-modal p {
  color: var(--text2);
  line-height: 1.75;
  margin-bottom: .7rem;
  font-size: .9rem;
}

.legal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--bg);
  border: 1.5px solid var(--border);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text2);
  transition: var(--transition);
}

.legal-close:hover {
  background: rgba(255, 107, 107, .08);
  color: var(--coral);
}

.success-modal {
  max-width: 420px;
  text-align: center;
}

.success-animation {
  display: flex;
  justify-content: center;
  margin-bottom: .5rem;
}

.success-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mint), #00b894);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  box-shadow: 0 8px 28px rgba(0, 212, 170, .3);
  animation: successPop .5s cubic-bezier(.34, 1.56, .64, 1) forwards;
}

@keyframes successPop {
  from {
    transform: scale(0)
  }

  to {
    transform: scale(1)
  }
}

.success-details {
  background: var(--bg);
  border-radius: var(--radius-xs);
  padding: .9rem;
  margin-top: .9rem;
  border: 1px solid var(--border);
}

.success-detail-row {
  display: flex;
  align-items: center;
  padding: .38rem 0;
  font-size: .87rem;
  border-bottom: 1px solid var(--border);
  color: var(--text2);
}

.success-detail-row:last-child {
  border-bottom: none;
}

.unsub-modal {
  max-width: 400px;
}

.unsub-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(255, 107, 107, .08);
  color: var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin: 0 auto 1rem;
}

.btn-outline-danger {
  border-color: rgba(255, 107, 107, .3) !important;
  color: var(--coral) !important;
}

.btn-outline-danger:hover {
  background: rgba(255, 107, 107, .07) !important;
}

.btn-link {
  color: var(--text2) !important;
}

/* back to top + toast */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: white;
  border: none;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 4px 18px rgba(79, 124, 255, .4);
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(79, 124, 255, .5);
}

#appToast {
  border-radius: 14px !important;
}

/* ════════════════════════════════
   ANIMATIONS
   ════════════════════════════════ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px)
  }

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

.hero-slide.active .hero-tag {
  animation: fadeInUp .65s ease .1s both;
}

.hero-slide.active .hero-title {
  animation: fadeInUp .65s ease .22s both;
}

.hero-slide.active .hero-desc {
  animation: fadeInUp .65s ease .36s both;
}

.hero-slide.active .hero-actions {
  animation: fadeInUp .65s ease .5s both;
}

.hero-slide.active .hero-stats {
  animation: fadeInUp .65s ease .62s both;
}

.hero-slide.active .hero-showcase {
  animation: fadeInUp .75s ease .3s both;
}

/* ════════════════════════════════
   RESPONSIVE
   ════════════════════════════════ */
@media(max-width:992px) {
  .hero-showcase {
    display: none !important;
  }
}

@media(max-width:768px) {
  .hero-title {
    font-size: 2.1rem;
  }

  .subscribe-card {
    padding: 2rem;
  }

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

  .cart-sidebar {
    width: 100%;
  }

  .checkout-modal {
    border-radius: 16px;
  }

  .checkout-body {
    padding: 1rem;
  }

  .co-section {
    padding: 1rem;
  }

  .co-summary-box {
    position: static;
  }
}

@media(max-width:576px) {
  :root {
    --nav-h: 64px;
  }

  .products-section {
    padding: 2.5rem 0;
  }

  .cat-pills-row {
    gap: .55rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .search-input {
    width: 140px;
  }

  .search-input:focus {
    width: 180px;
  }
}