/* ==========================================================================
   D&D HEALTHCARE — Modern Science-Led Skincare & Healthcare
   Inspired by CellHex Aesthetics — Clinical Elegance & E-commerce Polish
   ========================================================================== */

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

:root {
  /* Brand Color Tokens */
  --color-blue-deep: #0757A6;
  --color-blue-bright: #1688E8;
  --color-blue-dark: #053C73;
  --color-green-lime: #78D900;
  --color-green-dark: #58A300;
  --color-green-light: #EBF9D6;
  --color-white: #FFFFFF;
  --color-ice-blue: #F2F8FC;
  --color-ice-blue-alt: #E8F2FA;
  --color-navy: #102A43;
  --color-navy-dark: #0A1C30;
  --color-grey-soft: #667085;
  --color-grey-light: #E4E7EC;
  --color-grey-bg: #F8FAFC;
  --color-border: rgba(16, 42, 67, 0.08);
  --color-border-hover: rgba(7, 87, 166, 0.25);

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Elevations & Shadows */
  --shadow-sm: 0 2px 6px rgba(16, 42, 67, 0.04);
  --shadow-md: 0 8px 24px rgba(16, 42, 67, 0.08);
  --shadow-lg: 0 16px 36px rgba(16, 42, 67, 0.12);
  --shadow-glow-blue: 0 0 24px rgba(22, 136, 232, 0.25);
  --shadow-glow-green: 0 0 24px rgba(120, 217, 0, 0.3);

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.88);
  --glass-border: 1px solid rgba(255, 255, 255, 0.6);
  --glass-blur: blur(14px);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --max-width: 1240px;
  --header-height: 76px;
  --bottom-nav-height: 64px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

/* Base Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-navy);
  background-color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 0;
}

@media (max-width: 768px) {
  body {
    padding-bottom: var(--bottom-nav-height);
  }
}

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

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-fluid {
  width: 100%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-navy);
  letter-spacing: -0.02em;
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-blue-deep) 0%, var(--color-blue-bright) 70%, var(--color-green-lime) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-padding {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (max-width: 768px) {
  .section-padding {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  background: var(--color-ice-blue);
  color: var(--color-blue-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
  border: 1px solid rgba(7, 87, 166, 0.15);
}

.section-badge.badge-green {
  background: var(--color-green-light);
  color: var(--color-green-dark);
  border-color: rgba(120, 217, 0, 0.3);
}

.section-title {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

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

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-grey-soft);
  line-height: 1.6;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  text-align: center;
  line-height: 1.2;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-blue-deep) 0%, var(--color-blue-bright) 100%);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(7, 87, 166, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(7, 87, 166, 0.38);
  color: var(--color-white);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.32);
}

.btn-whatsapp:hover {
  background: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.42);
  color: var(--color-white);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-blue-deep);
  border: 1.5px solid var(--color-blue-deep);
}

.btn-secondary:hover {
  background: var(--color-ice-blue);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-navy);
  border: 1.5px solid var(--color-grey-light);
}

.btn-outline:hover {
  border-color: var(--color-blue-deep);
  color: var(--color-blue-deep);
  background: var(--color-ice-blue);
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 1.05rem 2.2rem;
  font-size: 1.02rem;
}

/* ==========================================================================
   SITE HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: var(--color-border);
  transition: all var(--transition-base);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 20px rgba(16, 42, 67, 0.06);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  border-radius: var(--radius-sm);
  filter: drop-shadow(0 2px 4px rgba(7, 87, 166, 0.15));
}

.brand-name-group {
  display: flex;
  flex-direction: column;
}

.brand-name-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
  color: var(--color-blue-deep);
  line-height: 1.1;
}

.brand-name-sub {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-green-dark);
}

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

.nav-link {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--color-navy);
  position: relative;
  padding: 0.35rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-blue-bright);
  transition: width var(--transition-base);
  border-radius: 2px;
}

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

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Categories Dropdown */
.nav-item-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  padding: 0.75rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-fast);
  z-index: 100;
}

.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-navy);
}

.dropdown-link:hover {
  background: var(--color-ice-blue);
  color: var(--color-blue-deep);
  padding-left: 1.5rem;
}

/* Header Action Icons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: var(--color-ice-blue);
  color: var(--color-blue-deep);
  position: relative;
  transition: all var(--transition-fast);
}

.action-btn:hover {
  background: var(--color-blue-deep);
  color: var(--color-white);
  transform: translateY(-2px);
}

.cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--color-green-lime);
  color: var(--color-navy-dark);
  font-size: 0.7rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-white);
}

.mobile-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--color-ice-blue);
  color: var(--color-blue-deep);
  align-items: center;
  justify-content: center;
}

@media (max-width: 992px) {
  .nav-menu {
    display: none;
  }
  .mobile-nav-toggle {
    display: flex;
  }
  .header-actions .btn-whatsapp {
    display: none;
  }
}

/* Mobile Side Navigation Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background: var(--color-white);
  z-index: 2000;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transition: right var(--transition-smooth);
  overflow-y: auto;
  padding: 1.5rem;
}

.mobile-drawer.open {
  right: 0;
}

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

.drawer-close-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: var(--color-ice-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy);
}

.drawer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.drawer-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--color-navy);
}

.drawer-nav-link:hover, .drawer-nav-link.active {
  background: var(--color-ice-blue);
  color: var(--color-blue-deep);
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 28, 48, 0.45);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

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

/* Bottom Navigation Bar for Mobile */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: var(--bottom-nav-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-top: 1px solid var(--color-border);
  z-index: 1000;
  justify-content: space-around;
  align-items: center;
  padding: 0.25rem 0.5rem;
}

@media (max-width: 768px) {
  .bottom-nav {
    display: flex;
  }
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  color: var(--color-grey-soft);
  font-size: 0.68rem;
  font-weight: 600;
  flex: 1;
  padding: 0.35rem 0;
  position: relative;
}

.bottom-nav-item.active, .bottom-nav-item:hover {
  color: var(--color-blue-deep);
}

.bottom-nav-item svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   CINEMATIC VIDEO HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: var(--header-height);
  background: var(--color-navy-dark);
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.55;
  transition: opacity 1s ease;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(16, 42, 67, 0.4) 0%, rgba(10, 28, 48, 0.85) 100%),
              linear-gradient(180deg, rgba(7, 87, 166, 0.2) 0%, rgba(10, 28, 48, 0.9) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 860px;
  padding: 3rem 1.5rem;
  color: var(--color-white);
}

.hero-badge-strip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 1.5rem;
  color: var(--color-white);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-headline {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.4rem;
  text-transform: uppercase;
}

.hero-headline span.accent {
  background: linear-gradient(135deg, #78D900 0%, #1688E8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
  .hero-headline {
    font-size: 2.2rem;
    line-height: 1.2;
  }
}

.hero-supporting {
  font-size: 1.18rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 680px;
  margin: 0 auto 2.2rem auto;
  line-height: 1.6;
}

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

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.hero-controls {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

@media (max-width: 768px) {
  .hero-controls {
    bottom: 1rem;
    right: 1rem;
  }
}

.video-control-btn {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  color: var(--color-white);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all var(--transition-fast);
}

.video-control-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: scale(1.05);
}

/* ==========================================================================
   BRAND PROMISE STRIP (Inspired by CellHex)
   ========================================================================== */
.promise-strip {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  z-index: 15;
  box-shadow: 0 4px 20px rgba(16, 42, 67, 0.04);
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  divide-x: 1px solid var(--color-border);
}

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

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

.promise-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.75rem 1.5rem;
  transition: background var(--transition-fast);
}

.promise-item:hover {
  background: var(--color-ice-blue);
}

.promise-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-ice-blue);
  color: var(--color-blue-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.promise-item:hover .promise-icon-wrap {
  background: var(--color-blue-deep);
  color: var(--color-white);
}

.promise-item-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  color: var(--color-navy);
}

.promise-item-desc {
  font-size: 0.82rem;
  color: var(--color-grey-soft);
  line-height: 1.4;
}

/* ==========================================================================
   FEATURED PRODUCTS SECTION & GRID
   ========================================================================== */
.products-section {
  background-color: var(--color-grey-bg);
}

.product-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-chip {
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-navy);
  transition: all var(--transition-fast);
}

.filter-chip:hover {
  border-color: var(--color-blue-bright);
  color: var(--color-blue-deep);
}

.filter-chip.active {
  background: var(--color-blue-deep);
  color: var(--color-white);
  border-color: var(--color-blue-deep);
  box-shadow: 0 4px 12px rgba(7, 87, 166, 0.25);
}

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

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

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* Product Card */
.product-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-border-hover);
}

.product-card-media {
  position: relative;
  padding-top: 115%;
  background: var(--color-ice-blue);
  overflow: hidden;
}

.product-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition-smooth);
}

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

.product-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  color: var(--color-blue-deep);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  border: 1px solid rgba(7, 87, 166, 0.12);
  z-index: 5;
}

.product-card-content {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

@media (max-width: 768px) {
  .product-card-content {
    padding: 1rem;
  }
}

.product-card-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-green-dark);
  margin-bottom: 0.35rem;
}

.product-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--color-navy);
  line-height: 1.3;
}

.product-card-subtitle {
  font-size: 0.82rem;
  color: var(--color-grey-soft);
  margin-bottom: 0.75rem;
}

.product-card-size {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-blue-deep);
  background: var(--color-ice-blue);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.product-card-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 1.25rem;
  margin-top: auto;
}

.product-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: auto;
}

/* ==========================================================================
   SCIENCE & EDITORIAL SHOWCASE (CellHex-inspired)
   ========================================================================== */
.science-section {
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
}

.science-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 992px) {
  .science-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.science-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.science-image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.science-floating-card {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: var(--glass-blur);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  border: var(--glass-border);
  box-shadow: var(--shadow-md);
}

.science-floating-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-blue-deep);
  margin-bottom: 0.3rem;
}

.science-floating-desc {
  font-size: 0.82rem;
  color: var(--color-grey-soft);
  line-height: 1.4;
}

/* Bento Facility Grid */
.bento-section {
  background: var(--color-ice-blue);
  border-top: 1px solid var(--color-border);
}

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

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

.bento-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-hover);
}

.bento-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--color-ice-blue);
  color: var(--color-blue-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.bento-title {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
  color: var(--color-navy);
}

.bento-desc {
  font-size: 0.9rem;
  color: var(--color-grey-soft);
  line-height: 1.6;
}

/* ==========================================================================
   PRODUCT DETAIL PAGE SPECIFIC
   ========================================================================== */
.product-detail-section {
  margin-top: var(--header-height);
  padding: 4rem 0;
  background: var(--color-white);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

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

.product-gallery {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

.gallery-main-view {
  background: var(--color-ice-blue);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  position: relative;
  padding-top: 110%;
}

.gallery-main-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.gallery-main-img:hover {
  transform: scale(1.08);
  cursor: zoom-in;
}

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

.product-info-category {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-green-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.product-info-title {
  font-size: 2.4rem;
  line-height: 1.15;
  margin-bottom: 0.5rem;
  color: var(--color-navy);
}

.product-info-subtitle {
  font-size: 1.1rem;
  color: var(--color-grey-soft);
  margin-bottom: 1.25rem;
}

.product-spec-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background: var(--color-ice-blue);
  border-radius: var(--radius-full);
  color: var(--color-blue-deep);
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
  width: fit-content;
}

.product-pricing-box {
  background: var(--color-grey-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pricing-title {
  font-size: 0.82rem;
  color: var(--color-grey-soft);
  text-transform: uppercase;
  font-weight: 700;
}

.pricing-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-blue-deep);
}

.product-actions-cluster {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.package-details-list {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.package-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.92rem;
  color: var(--color-navy);
}

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

.package-item-icon {
  color: var(--color-green-dark);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

/* ==========================================================================
   CART & ENQUIRY DRAWER / MODAL
   ========================================================================== */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 440px;
  height: 100vh;
  background: var(--color-white);
  z-index: 2100;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transition: right var(--transition-smooth);
}

.cart-drawer.open {
  right: 0;
}

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

.cart-drawer-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex-grow: 1;
}

.cart-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border);
}

.cart-item-img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--color-ice-blue);
  flex-shrink: 0;
}

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

.cart-item-name {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.cart-item-size {
  font-size: 0.78rem;
  color: var(--color-grey-soft);
  margin-bottom: 0.6rem;
}

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

.qty-controls {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}

.qty-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy);
  font-weight: 700;
}

.qty-val {
  padding: 0 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
}

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

/* ==========================================================================
   FAQS ACCORDION
   ========================================================================== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 840px;
  margin: 0 auto;
}

.faq-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-navy);
}

.faq-card.open .faq-header {
  color: var(--color-blue-deep);
}

.faq-content {
  padding: 0 1.5rem 1.25rem 1.5rem;
  font-size: 0.93rem;
  color: var(--color-grey-soft);
  line-height: 1.6;
  display: none;
}

.faq-card.open .faq-content {
  display: block;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--color-navy-dark);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 5rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

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

.footer-logo-img {
  height: 52px;
  width: auto;
  margin-bottom: 1.25rem;
  filter: brightness(1.05);
}

.footer-brand-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  max-width: 320px;
  margin-bottom: 1.5rem;
}

.footer-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1.25rem;
  position: relative;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -0.4rem;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--color-green-lime);
}

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

.footer-link {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-white);
  padding-left: 0.3rem;
}

.footer-contact-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   ANIMATIONS & ACCESSIBILITY
   ========================================================================== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
