/**
 * MediVanz Layout & Structural Geometry Stylesheet
 * Replicates the exact container widths, grid rules, floating PillNav, and 4-column footer.
 */

/* Container Constraints */
.medivanz-container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .medivanz-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* Floating PillNav Header */
.medivanz-header-wrapper {
  position: sticky;
  top: 0.75rem;
  z-index: 50;
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

@media (min-width: 640px) {
  .medivanz-header-wrapper {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.medivanz-pill-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0.875rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.06);
  box-sizing: border-box;
  width: 100%;
  transition: all 0.3s ease;
}

html.dark .medivanz-pill-nav {
  background-color: rgba(2, 6, 23, 0.95);
  border-color: rgba(30, 41, 59, 0.8);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
}

@media (min-width: 640px) {
  .medivanz-pill-nav {
    padding: 0.625rem 1.5rem;
  }
}

/* Brand Logo Section */
.medivanz-logo-link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  flex-shrink: 0;
}

.medivanz-logo-badge {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.medivanz-logo-link:hover .medivanz-logo-badge {
  transform: scale(1.05);
}

@media (min-width: 640px) {
  .medivanz-logo-badge {
    width: 2.5rem;
    height: 2.5rem;
  }
}

.medivanz-brand-text {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.025em;
  color: #020617;
  line-height: 1;
}

html.dark .medivanz-brand-text {
  color: #FFFFFF;
}

@media (min-width: 640px) {
  .medivanz-brand-text {
    font-size: 1.25rem;
  }
}

/* Desktop Navigation Links */
.medivanz-desktop-nav {
  display: none;
  align-items: center;
  gap: 0.15rem;
  flex-wrap: nowrap;
}

@media (min-width: 1100px) {
  .medivanz-desktop-nav {
    display: flex;
  }
}

.medivanz-nav-link {
  padding: 0.35rem 0.65rem;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  color: #334155;
  white-space: nowrap;
  transition: all 0.2s ease;
}

html.dark .medivanz-nav-link {
  color: #CBD5E1;
}

.medivanz-nav-link:hover {
  color: #020617;
  background-color: #F1F5F9;
}

html.dark .medivanz-nav-link:hover {
  color: #FFFFFF;
  background-color: #0F172A;
}

.medivanz-nav-link.active {
  background-color: #0C182B;
  color: #FFFFFF !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

html.dark .medivanz-nav-link.active {
  background-color: #FFFFFF;
  color: #0C182B !important;
}

/* Nav Action Buttons & Controls */
.medivanz-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .medivanz-nav-actions {
    gap: 0.5rem;
  }
}

.medivanz-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  border: none;
  background: transparent;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  position: relative;
}

html.dark .medivanz-icon-btn {
  color: #CBD5E1;
}

.medivanz-icon-btn:hover {
  background-color: #F1F5F9;
  color: #020617;
}

html.dark .medivanz-icon-btn:hover {
  background-color: #0F172A;
  color: #FFFFFF;
}

.medivanz-mobile-toggle {
  display: inline-flex;
}

@media (min-width: 1200px) {
  .medivanz-mobile-toggle {
    display: none !important;
  }
}

/* Cart Counter Badge */
.medivanz-cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background-color: #0D9488;
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 700;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFFFFF;
}

html.dark .medivanz-cart-badge {
  border-color: #020617;
}

/* Mobile Drawer */
.medivanz-mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: rgba(2, 6, 23, 0.7);
  backdrop-filter: blur(8px);
}

.medivanz-mobile-drawer.open {
  display: block;
}

.medivanz-mobile-panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 85%;
  max-width: 340px;
  background-color: #FFFFFF;
  padding: 1.5rem;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-col: column;
  justify-content: space-between;
}

html.dark .medivanz-mobile-panel {
  background-color: #020617;
  border-right: 1px solid #1E293B;
}

/* Footer Section */
.medivanz-footer {
  margin-top: 5rem;
  background-color: #0B111E;
  color: #F1F5F9;
  border-top: 1px solid rgba(30, 41, 59, 0.8);
}

.medivanz-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

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

@media (min-width: 1024px) {
  .medivanz-footer-grid {
    grid-template-columns: 5fr 2fr 2fr 3fr;
    gap: 2rem;
  }
}

.medivanz-footer-heading {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #94A3B8;
  margin-bottom: 1rem;
}

.medivanz-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.medivanz-footer-links li {
  margin-bottom: 0.75rem;
}

.medivanz-footer-links a {
  color: #CBD5E1;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

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

.medivanz-footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #0F172A;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #64748B;
}

@media (min-width: 640px) {
  .medivanz-footer-bottom {
    flex-direction: row;
  }
}

/* Mobile Floating Bottom Navigation */
.medivanz-mobile-bottom-bar {
  display: block;
}

@media (min-width: 768px) {
  .medivanz-mobile-bottom-bar {
    display: none !important;
  }
}

/* ==========================================================================
   HOMEPAGE LAYOUT & COMPONENT STYLES
   Exact 1:1 reproduction of the approved React MediVanz homepage
   ========================================================================== */

/* Outer Section Spacing */
.medivanz-home-space {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  padding-bottom: 4rem;
}

@media (min-width: 640px) {
  .medivanz-home-space {
    gap: 6rem;
  }
}

/* --------------------------------------------------------------------------
   1. HERO SECTION
   -------------------------------------------------------------------------- */
.medivanz-hero-section {
  position: relative;
  padding-top: 0.5rem;
  padding-left: 0.625rem;
  padding-right: 0.625rem;
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .medivanz-hero-section {
    padding-top: 1rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.hero-card {
  position: relative;
  border-radius: 20px;
  background-color: #E9E4DB;
  border: 1px solid #DCD5C9;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

html.dark .hero-card {
  background-color: #020617;
  border-color: #1E293B;
}

@media (min-width: 640px) {
  .hero-card {
    border-radius: 36px;
    min-height: 600px;
  }
}

@media (min-width: 1024px) {
  .hero-card {
    min-height: 680px;
  }
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

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

@media (min-width: 640px) {
  .hero-bg-img {
    object-position: right;
  }
}

.hero-mobile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #E9E4DB 0%, rgba(233, 228, 219, 0.8) 50%, rgba(233, 228, 219, 0.4) 100%);
  pointer-events: none;
}

html.dark .hero-mobile-overlay {
  background: linear-gradient(to top, #020617 0%, rgba(2, 6, 23, 0.8) 50%, rgba(2, 6, 23, 0.4) 100%);
}

@media (min-width: 640px) {
  .hero-mobile-overlay {
    display: none;
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 1.25rem;
  width: 100%;
  height: 100%;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .hero-content {
    padding: 2.5rem;
    min-height: 600px;
  }
}

@media (min-width: 1024px) {
  .hero-content {
    padding: 3.5rem;
    min-height: 680px;
  }
}

.hero-monogram-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 800;
  color: #0C182B;
  letter-spacing: 0.05em;
  line-height: 1.2;
  margin: 0;
}

html.dark .hero-monogram-title {
  color: #FFFFFF;
}

@media (min-width: 640px) {
  .hero-monogram-title {
    font-size: 1.5rem;
  }
}

.hero-monogram-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #0C182B;
  text-transform: uppercase;
  margin: 0.25rem 0 0 0;
}

html.dark .hero-monogram-tag {
  color: #CBD5E1;
}

@media (min-width: 640px) {
  .hero-monogram-tag {
    font-size: 10px;
    letter-spacing: 0.25em;
  }
}

.hero-main-headline {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 400;
  color: #0C182B;
  letter-spacing: -0.025em;
  line-height: 1.12;
  text-transform: uppercase;
  margin: 0;
}

html.dark .hero-main-headline {
  color: #FFFFFF;
}

@media (min-width: 640px) {
  .hero-main-headline {
    font-size: 3rem;
    line-height: 1.08;
  }
}

@media (min-width: 1024px) {
  .hero-main-headline {
    font-size: 3.5rem;
  }
}

.hero-gold-divider {
  width: 2.5rem;
  height: 2px;
  background-color: #B8965E;
  margin: 0.75rem 0;
}

@media (min-width: 640px) {
  .hero-gold-divider {
    width: 3rem;
    margin: 1rem 0;
  }
}

.hero-subhead {
  font-family: var(--font-serif);
  font-size: 0.875rem;
  color: #0C182B;
  font-style: italic;
  margin: 0;
}

html.dark .hero-subhead {
  color: #F1F5F9;
}

@media (min-width: 640px) {
  .hero-subhead {
    font-size: 1rem;
  }
}

@media (min-width: 1024px) {
  .hero-subhead {
    font-size: 1.125rem;
  }
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 0.5rem;
  max-width: 28rem;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }
}

.btn-hero-men {
  flex: 1;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  background-color: #0C182B;
  color: #FFFFFF !important;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  cursor: pointer;
}

.btn-hero-men:hover {
  background-color: #162742;
}

.btn-hero-men:active {
  transform: scale(0.98);
}

.btn-hero-women {
  flex: 1;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  background-color: rgba(233, 228, 219, 0.4);
  color: #0C182B !important;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid #0C182B;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  cursor: pointer;
}

.btn-hero-women:hover {
  background-color: rgba(233, 228, 219, 0.8);
}

.btn-hero-women:active {
  transform: scale(0.98);
}

html.dark .btn-hero-women {
  background-color: rgba(15, 23, 42, 0.4);
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.8);
}

html.dark .btn-hero-women:hover {
  background-color: rgba(15, 23, 42, 0.8);
}

/* Hero Bottom 4 Features Row */
.hero-bottom-features {
  padding-top: 1rem;
  margin-top: 1.5rem;
  border-top: 1px solid rgba(12, 24, 43, 0.2);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 42rem;
}

@media (min-width: 640px) {
  .hero-bottom-features {
    padding-top: 2rem;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

html.dark .hero-bottom-features {
  border-top-color: rgba(51, 65, 85, 0.6);
}

.hero-feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.hero-feature-icon {
  width: 1.75rem;
  height: 1.75rem;
  color: #0C182B;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-feature-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

html.dark .hero-feature-icon {
  color: #FFFFFF;
}

.hero-feature-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #0C182B;
  text-transform: uppercase;
}

html.dark .hero-feature-label {
  color: #E2E8F0;
}

@media (min-width: 640px) {
  .hero-feature-label {
    font-size: 11px;
  }
}

/* --------------------------------------------------------------------------
   2. SPOTLIGHT & NEW DROPS SECTION
   -------------------------------------------------------------------------- */
.medivanz-drops-section {
  padding-left: 1rem;
  padding-right: 1rem;
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .medivanz-drops-section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .spotlight-grid {
    gap: 0.75rem;
  }
}

.spotlight-pill {
  padding: 0.625rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid #CBD5E1;
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background-color: #FFFFFF;
  color: #0C182B;
}

html.dark .spotlight-pill {
  background-color: #0F172A;
  border-color: #1E293B;
  color: #E2E8F0;
}

.spotlight-pill:hover {
  border-color: #0C182B;
}

html.dark .spotlight-pill:hover {
  border-color: #94A3B8;
}

.spotlight-pill.active {
  background-color: #0C182B !important;
  border-color: #0C182B !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 6px -1px rgba(12, 24, 43, 0.2);
  transform: scale(1.02);
}

.drops-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed #CBD5E1;
  padding-top: 0.5rem;
}

@media (min-width: 768px) {
  .drops-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

html.dark .drops-header {
  border-bottom-color: #1E293B;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: #006D77;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: 0.25rem;
}

html.dark .section-eyebrow {
  color: #2DD4BF;
}

.section-heading {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 800;
  color: #020617;
  margin: 0;
  line-height: 1.2;
}

html.dark .section-heading {
  color: #FFFFFF;
}

@media (min-width: 640px) {
  .section-heading {
    font-size: 2.25rem;
  }
}

.filter-pills-bar {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  background-color: #F1F5F9;
  padding: 0.375rem;
  border-radius: 9999px;
  border: 1px solid #E2E8F0;
  overflow-x: auto;
  max-width: 100%;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
  box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);
}

.filter-pills-bar::-webkit-scrollbar {
  display: none;
}

html.dark .filter-pills-bar {
  background-color: #0F172A;
  border-color: #1E293B;
}

.filter-pill {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border: none;
  background: transparent;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

html.dark .filter-pill {
  color: #CBD5E1;
}

.filter-pill:hover {
  background-color: #E2E8F0;
}

html.dark .filter-pill:hover {
  background-color: #1E293B;
}

.filter-pill.active {
  background-color: #0C182B !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

html.dark .filter-pill.active {
  background-color: #FFFFFF !important;
  color: #0C182B !important;
}

.carousel-nav-btn {
  padding: 0.5rem;
  border-radius: 9999px;
  border: 1px solid #CBD5E1;
  background: transparent;
  color: #334155;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

html.dark .carousel-nav-btn {
  border-color: #1E293B;
  color: #CBD5E1;
}

.carousel-nav-btn:hover {
  background-color: #F1F5F9;
}

html.dark .carousel-nav-btn:hover {
  background-color: #0F172A;
}

/* --------------------------------------------------------------------------
   PRODUCT CARDS GRID
   -------------------------------------------------------------------------- */
.product-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .product-cards-grid {
    gap: 1.5rem;
  }
}

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

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 1.5rem;
  background-color: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.9);
  overflow: hidden;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

html.dark .product-card {
  background-color: #020617;
  border-color: rgba(30, 41, 59, 0.9);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 0 20px rgba(13, 148, 136, 0.15);
  border-color: rgba(13, 148, 136, 0.6);
}

.product-img-stage {
  position: relative;
  aspect-ratio: 4/5;
  width: 100%;
  overflow: hidden;
  background-color: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
}

html.dark .product-img-stage {
  background-color: #0F172A;
}

.product-stage-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.7s ease-out, opacity 0.3s ease;
  display: block;
}

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

.product-stage-img.hover-img {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.product-card:hover .product-stage-img.hover-img {
  opacity: 1;
}

.product-tag-group {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-wrap: wrap;
}

.product-wishlist-btn {
  padding: 0.5rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: none;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #334155;
  transition: all 0.2s ease;
}

html.dark .product-wishlist-btn {
  background-color: rgba(2, 6, 23, 0.9);
  color: #E2E8F0;
}

.product-wishlist-btn:hover {
  color: #F43F5E;
  transform: scale(1.05);
}

.product-wishlist-btn.active {
  background-color: #F43F5E !important;
  color: #FFFFFF !important;
  transform: scale(1.1);
  box-shadow: 0 10px 15px -3px rgba(244, 63, 94, 0.3);
}

.product-discount-badge {
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  background-color: #E11D48;
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  text-transform: uppercase;
}

.product-tag-pill {
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  background-color: rgba(2, 6, 23, 0.9);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

html.dark .product-tag-pill {
  background-color: rgba(13, 148, 136, 0.9);
  color: #020617;
}

.product-rating-pill {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 10;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #0F172A;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(226, 232, 240, 0.5);
}

html.dark .product-rating-pill {
  background-color: rgba(2, 6, 23, 0.9);
  color: #FFFFFF;
  border-color: rgba(30, 41, 59, 0.5);
}

.product-hover-actions {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 10;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.btn-quick-view {
  flex: 1;
  padding: 0.625rem 0.75rem;
  border-radius: 9999px;
  background-color: #0C182B;
  color: #FFFFFF !important;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  text-decoration: none;
}

.btn-quick-view:hover {
  background-color: #162742;
}

.product-info {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  gap: 0.625rem;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .product-info {
    padding: 1.25rem;
  }
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748B;
  margin-bottom: 0.25rem;
}

html.dark .product-meta {
  color: #94A3B8;
}

.product-title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 800;
  color: #020617;
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

html.dark .product-title {
  color: #FFFFFF;
}

.product-card:hover .product-title {
  color: #0C182B;
}

html.dark .product-card:hover .product-title {
  color: #2DD4BF;
}

.product-price-row {
  padding-top: 0.625rem;
  border-top: 1px solid #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

html.dark .product-price-row {
  border-top-color: #0F172A;
}

.product-pricing {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.product-original-price {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-decoration: line-through;
  color: #94A3B8;
  font-weight: 500;
}

.product-save-text {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #047857;
  font-weight: 700;
}

html.dark .product-save-text {
  color: #34D399;
}

.product-main-price {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 900;
  color: #020617;
  letter-spacing: -0.025em;
}

html.dark .product-main-price {
  color: #FFFFFF;
}

@media (min-width: 640px) {
  .product-main-price {
    font-size: 1.125rem;
  }
}

.btn-add-cart-pill {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background-color: #0C182B;
  color: #FFFFFF;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .btn-add-cart-pill {
    width: 2.5rem;
    height: 2.5rem;
  }
}

.btn-add-cart-pill:hover {
  background-color: #162742;
  transform: scale(1.05);
}

.btn-add-cart-pill:active {
  transform: scale(0.95);
}

/* --------------------------------------------------------------------------
   3. CLINICAL INNOVATION / FABRIC TECH BREAKDOWN
   -------------------------------------------------------------------------- */
.tech-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

.tech-card {
  padding: 1.5rem;
  border-radius: 1.5rem;
  background-color: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.8);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all 0.3s ease;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

html.dark .tech-card {
  background-color: #0F172A;
  border-color: #1E293B;
}

.tech-card:hover {
  border-color: rgba(13, 148, 136, 0.5);
}

.tech-icon-box {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 1rem;
  background-color: rgba(13, 148, 136, 0.1);
  color: #0D9488;
  display: flex;
  align-items: center;
  justify-content: center;
}

html.dark .tech-icon-box {
  color: #2DD4BF;
}

.tech-title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  color: #020617;
  margin: 0;
}

html.dark .tech-title {
  color: #FFFFFF;
}

.tech-desc {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

html.dark .tech-desc {
  color: #94A3B8;
}

/* --------------------------------------------------------------------------
   4. VERIFIED REVIEWS SLIDER
   -------------------------------------------------------------------------- */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

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

.reviews-score-card {
  padding: 1.5rem;
  border-radius: 1.5rem;
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

html.dark .reviews-score-card {
  background-color: #020617;
  border-color: #1E293B;
}

.score-large {
  font-size: 3rem;
  font-weight: 800;
  color: #020617;
  font-family: var(--font-sans);
  line-height: 1;
}

html.dark .score-large {
  color: #FFFFFF;
}

.score-max {
  font-size: 0.875rem;
  color: #64748B;
  font-weight: 700;
}

.reviews-slider-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x mandatory;
  padding: 0.5rem 0.25rem;
}

.reviews-slider-track::-webkit-scrollbar {
  display: none;
}

.review-item-card {
  min-width: 170px;
  max-width: 240px;
  scroll-snap-align: start;
  padding: 0.875rem;
  border-radius: 0.75rem;
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

html.dark .review-item-card {
  background-color: #020617;
  border-color: #1E293B;
}

.review-item-card:hover {
  border-color: rgba(13, 148, 136, 0.5);
}

@media (min-width: 640px) {
  .review-item-card {
    min-width: 200px;
  }
}

@media (min-width: 768px) {
  .review-item-card {
    min-width: 220px;
  }
}

.slider-nav-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.range-slider-bar {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #F1F5F9;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: space-between;
}

@media (min-width: 640px) {
  .range-slider-bar {
    flex-direction: row;
    align-items: center;
  }
}

html.dark .range-slider-bar {
  border-top-color: #0F172A;
}

.review-slider-input {
  width: 100%;
  height: 0.5rem;
  background-color: #E2E8F0;
  border-radius: 0.5rem;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  accent-color: #0D9488;
}

html.dark .review-slider-input {
  background-color: #1E293B;
  accent-color: #2DD4BF;
}

/* Write Review Modal */
.write-review-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background-color: rgba(2, 6, 23, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.write-review-modal.open {
  display: flex;
}

.write-review-panel {
  width: 100%;
  max-width: 32rem;
  padding: 1.5rem;
  border-radius: 1.5rem;
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

html.dark .write-review-panel {
  background-color: #020617;
  border-color: #1E293B;
}

