/*
Theme Name: Biocyte Theme
Description: Custom theme for Biocyte Life
Author: Antigravity
Version: 1.6
*/
:root {
  /* Colors - Biocyte Guidelines */
  --indigo-core: #333F8C;
  --indigo-deep: #1E2452;
  --clarity-teal: #1CA6B8;
  --sunrise-amber: #F3A73B;
  --bloom-coral: #E05F55;
  --paper: #FBF8F3;
  --mist: #B9C3E8;
  --ink: #111111;

  /* Typography */
  --font-body: 'Inter', sans-serif;
  --font-display: 'Outfit', sans-serif;
}

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--paper);
  line-height: 1.6;
  font-size: 16px;
}

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

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Typography Overrides */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--indigo-deep);
  line-height: 1.2;
}

.gradient-title {
  background: linear-gradient(135deg, var(--indigo-core) 0%, var(--clarity-teal) 50%, var(--sunrise-amber) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

/* Header */
header {
  background-color: var(--paper);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.logo-container .main-logo {
  height: 60px;
  transform: scale(1.3);
  transform-origin: left center;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--indigo-deep);
  transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--indigo-deep);
}


.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-icons {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.nav-icon {
  width: 24px;
  height: 24px;
  color: var(--indigo-deep);
  transition: color 0.3s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-icon:hover {
  color: var(--clarity-teal);
}

.nav-icon svg {
  width: 100%;
  height: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--indigo-deep);
}

/* Hero Section */
.hero {
  padding: 6rem 0;
  background-color: var(--paper);
  overflow: hidden;
  clip-path: inset(0);
  -webkit-clip-path: inset(0);
  position: relative;
  text-align: left;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: 
    "text-top image"
    "text-bottom image";
  align-items: center;
  gap: 2rem;
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas: 
      "text-top"
      "image"
      "text-bottom";
    text-align: center;
    gap: 1rem;
  }
}

.hero-text-top { grid-area: text-top; display: grid; align-self: end; }
.hero-image { grid-area: image; }
.hero-text-bottom { grid-area: text-bottom; display: grid; align-self: start; }

.hero-slide-top, .hero-slide-bottom {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
  pointer-events: none;
}
.hero-slide-top.active, .hero-slide-bottom.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}







@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

.slider-dots {
  margin-top: 2.5rem;
  display: flex;
  gap: 0.5rem;
}

.dot {
  cursor: pointer;
  height: 10px;
  width: 10px;
  margin: 0;
  background-color: var(--mist);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.dot.active, .dot:hover {
  background-color: var(--clarity-teal);
}

.hero .label-text {
  color: var(--clarity-teal);
  margin-bottom: 0.25rem;
  display: block;
  font-family: var(--font-body);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
}

.hero h1 {
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: var(--indigo-core);
  max-width: 90%;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 4px;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background-color: var(--indigo-core);
  transform: translateY(-2px);
}

/* Hero Visual Composition */
.hero-image {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-dna {
  position: absolute;
  width: 500px;
  height: 500px;
  z-index: 0;
  animation: rotateDna 30s linear infinite;
  opacity: 0.6;
}
@keyframes rotateDna {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-circle-teal {
  position: absolute;
  width: 400px;
  height: 400px;
  background-color: var(--clarity-teal);
  border-radius: 50%;
  z-index: 1;
}

.hero-circle-amber {
  position: absolute;
  width: 150px;
  height: 150px;
  background-color: var(--sunrise-amber);
  border-radius: 50%;
  top: 0%;
  right: 5%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.circle-text {
  color: white;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.hero-product {
  position: absolute;
  z-index: 5;
  filter: drop-shadow(0 20px 40px rgba(30, 36, 82, 0.2));
}

.product-bottle-1 {
  max-width: 320px;
  height: auto;
  transform: rotate(-5deg);
  margin-right: 160px;
  margin-bottom: 50px;
}

.product-bottle-2 {
  max-width: 360px;
  height: auto;
  transform: rotate(10deg);
  margin-left: 120px;
  margin-top: 80px;
}

@media (max-width: 768px) {
  .product-bottle-1 {
    max-width: 200px;
    margin-right: 120px;
    margin-bottom: 40px;
  }
  
  .product-bottle-2 {
    max-width: 240px;
    margin-left: 80px;
    margin-top: 60px;
  }
}

/* Feature Bar */
.feature-bar-wrapper {
    background: transparent;
  padding: 0;
  position: relative;
  z-index: 20;
  margin: 0;
  height: 0;
  overflow: visible;
}


.features-bar {
  display: flex;
  justify-content: center;
  align-items: stretch;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  position: relative;
  z-index: 1;
  overflow: hidden;
  transform: translateY(-50%);
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
}

.feature-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: white;
  padding: 1rem 1.5rem;
  flex: 1;
  white-space: nowrap;
  position: relative;
  z-index: 2;
}
.feature-item:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}
@media (max-width: 768px) {
  .features-bar {
    flex-direction: column;
    width: 100%;
  }
  .feature-item:not(:last-child) {
    border-right: none;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
  }
}

/* Animated Gradient Background */
.features-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, var(--bloom-coral), var(--sunrise-amber), var(--bloom-coral));
  background-size: 200% 100%;
  animation: flowBorder 3s linear infinite;
}

/* Inner Mist Background */
.features-bar::after {
  content: "";
  position: absolute;
  inset: 1.5px; /* Border thickness */
  background-color: var(--clarity-teal);
  border-radius: 10px;
  z-index: -1;
}


@keyframes flowBorder {
  0% { background-position: 100% 0%; }
  100% { background-position: 0% 0%; }
}

.feature-text {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.feature-text {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}


.feature-icon {
  width: 32px;
  height: 32px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-text {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-top: 0;
}

.section-header .label-text {
  color: var(--clarity-teal);
  font-family: var(--font-body);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
  display: block;
}

.bg-light {
  background-color: var(--paper);
}

/* Interactive Product Cards */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
}

.product-card {
  background-color: white;
  border: 1px solid rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.product-image-wrapper {
  background-color: var(--paper);
  position: relative;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow: hidden;
}

.product-image-wrapper img {
  max-width: 100%;
  max-height: 100%;
  transition: transform 0.4s ease;
}

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

.product-info {
  padding: 1.5rem;
  background: white;
  z-index: 2;
}

.product-category {
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 0.5rem;
  display: block;
}

.product-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
  font-weight: 500;
}



.product-price {
  font-family: var(--font-body);
  font-size: 0.82rem; /* Scaled down to fit */
  font-weight: 700;
  color: var(--indigo-core);
  margin-bottom: 0;
  white-space: nowrap !important;
  display: flex !important;
  align-items: center !important;
  gap: 2px;
  letter-spacing: -0.2px;
}
.product-price span, .product-price bdi {
  white-space: nowrap !important;
}

.product-price span, .product-price bdi {
  white-space: nowrap !important;
}


/* Hover Action Button */
.product-actions-overlay {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 10;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.btn-cart {
  width: 44px;
  height: 44px;
  background-color: #F4F5F7;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: opacity 0.3s ease, visibility 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-cart svg {
  width: 20px;
  height: 20px;
  position: relative;
  z-index: 3;
  transition: transform 0.3s ease, color 0.3s ease;
}
.btn-cart:hover .icon-plus {
  transform: rotate(180deg);
}

.btn-cart:hover {
  background-color: #E2E4E9;
}

/* .btn-cart added states */
.btn-cart.added .icon-plus {
  display: none;
}
.btn-cart.added .icon-check {
  display: block !important;
  color: var(--bloom-coral);
}

@keyframes flowRight {
  0% { background-position: 100% 0%; }
  100% { background-position: 0% 0%; }
}

/* Footer */
footer {
  background-color: var(--indigo-deep);
  color: white;
  padding: 6rem 0 3rem;
}

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

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-logo-img {
  height: 48px;
  width: auto;
}

.footer-desc {
  color: var(--mist);
  max-width: 300px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sunrise-amber);
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: var(--mist);
  transition: color 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(185, 195, 232, 0.2);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  color: var(--mist);
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 1024px) {
   
  .hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: 
    "text-top image"
    "text-bottom image";
  align-items: center;
  gap: 2rem;
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas: 
      "text-top"
      "image"
      "text-bottom";
    text-align: center;
    gap: 1rem;
  }
}

.hero-text-top { grid-area: text-top; display: grid; align-self: end; }
.hero-image { grid-area: image; }
.hero-text-bottom { grid-area: text-bottom; display: grid; align-self: start; }

.hero-slide-top, .hero-slide-bottom {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
  pointer-events: none;
}
.hero-slide-top.active, .hero-slide-bottom.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
  .hero h1 {
    margin-left: auto;
    margin-right: auto;
  }
  .hero p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .slider-dots {
    justify-content: center;
  }
  .hero-image {
    height: 350px;
  }
  .hero-dna {
  position: absolute;
  width: 500px;
  height: 500px;
  z-index: 0;
  animation: rotateDna 30s linear infinite;
  opacity: 0.6;
}
@keyframes rotateDna {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-circle-teal {
    width: 280px;
    height: 280px;
  }
  .hero-circle-amber {
    width: 100px;
    height: 100px;
    top: 0%;
    right: auto;
    left: calc(50% + 60px);
  }
  
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .features-bar {
  display: flex;
  justify-content: center;
  align-items: stretch;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  position: relative;
  z-index: 1;
  overflow: hidden;
  transform: translateY(-50%);
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
}
  .feature-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: white;
  padding: 1rem 1.5rem;
  flex: 1;
  white-space: nowrap;
  position: relative;
  z-index: 2;
}
.feature-item:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}
@media (max-width: 768px) {
  .features-bar {
    flex-direction: column;
    width: 100%;
  }
  .feature-item:not(:last-child) {
    border-right: none;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
  }
}

/* Animated Gradient Background */
.features-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, var(--bloom-coral), var(--sunrise-amber), var(--bloom-coral));
  background-size: 200% 100%;
  animation: flowBorder 3s linear infinite;
}

/* Inner Mist Background */
.features-bar::after {
  content: "";
  position: absolute;
  inset: 1.5px; /* Border thickness */
  background-color: var(--clarity-teal);
  border-radius: 10px;
  z-index: -1;
}


@keyframes flowBorder {
  0% { background-position: 100% 0%; }
  100% { background-position: 0% 0%; }
}

.feature-text {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.feature-text {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

}

@media (max-width: 600px) {
  .feature-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: white;
  padding: 1rem 1.5rem;
  flex: 1;
  white-space: nowrap;
  position: relative;
  z-index: 2;
}
.feature-item:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}
@media (max-width: 768px) {
  .features-bar {
    flex-direction: column;
    width: 100%;
  }
  .feature-item:not(:last-child) {
    border-right: none;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
  }
}

/* Animated Gradient Background */
.features-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, var(--bloom-coral), var(--sunrise-amber), var(--bloom-coral));
  background-size: 200% 100%;
  animation: flowBorder 3s linear infinite;
}

/* Inner Mist Background */
.features-bar::after {
  content: "";
  position: absolute;
  inset: 1.5px; /* Border thickness */
  background-color: var(--clarity-teal);
  border-radius: 10px;
  z-index: -1;
}


@keyframes flowBorder {
  0% { background-position: 100% 0%; }
  100% { background-position: 0% 0%; }
}

.feature-text {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.feature-text {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

  .footer-grid {
    grid-template-columns: 1fr;
  }
}/* --- Products --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s ease;
}

.product-card:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.product-image-wrapper {
  background-color: #F8F9FA;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow: hidden;
}

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

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

.product-info {
  padding: 1.5rem;
  background-color: white;
}

.product-category {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: #6C7A9C;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.product-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--ink);
  margin-bottom: 1rem;
}

.product-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #F0F0F0;
  padding-top: 1rem;
}

.product-price {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0;
}

.btn-cart {
  width: 44px;
  height: 44px;
  background-color: #F4F5F7;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.btn-cart svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.btn-cart:hover {
  background-color: #E2E4E9;
}

/* Footer */
footer {
  background-color: var(--indigo-deep);
  color: white;
  padding: 6rem 0 3rem;
}

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

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-logo-img {
  height: 48px;
  width: auto;
}

.footer-desc {
  color: var(--mist);
  max-width: 300px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sunrise-amber);
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: var(--mist);
  transition: color 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(185, 195, 232, 0.2);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  color: var(--mist);
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 1024px) {
   
  .hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: 
    "text-top image"
    "text-bottom image";
  align-items: center;
  gap: 2rem;
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas: 
      "text-top"
      "image"
      "text-bottom";
    text-align: center;
    gap: 1rem;
  }
}

.hero-text-top { grid-area: text-top; display: grid; align-self: end; }
.hero-image { grid-area: image; }
.hero-text-bottom { grid-area: text-bottom; display: grid; align-self: start; }

.hero-slide-top, .hero-slide-bottom {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
  pointer-events: none;
}
.hero-slide-top.active, .hero-slide-bottom.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
  .hero h1 {
    margin-left: auto;
    margin-right: auto;
  }
  .hero p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .slider-dots {
    justify-content: center;
  }
  .hero-image {
    height: 350px;
  }
  .hero-dna {
  position: absolute;
  width: 500px;
  height: 500px;
  z-index: 0;
  animation: rotateDna 30s linear infinite;
  opacity: 0.6;
}
@keyframes rotateDna {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-circle-teal {
    width: 280px;
    height: 280px;
  }
  .hero-circle-amber {
    width: 100px;
    height: 100px;
    top: 0%;
    right: auto;
    left: calc(50% + 60px);
  }
  
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .features-bar {
  display: flex;
  justify-content: center;
  align-items: stretch;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  position: relative;
  z-index: 1;
  overflow: hidden;
  transform: translateY(-50%);
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
}
  .feature-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: white;
  padding: 1rem 1.5rem;
  flex: 1;
  white-space: nowrap;
  position: relative;
  z-index: 2;
}
.feature-item:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}
@media (max-width: 768px) {
  .features-bar {
    flex-direction: column;
    width: 100%;
  }
  .feature-item:not(:last-child) {
    border-right: none;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
  }
}

/* Animated Gradient Background */
.features-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, var(--bloom-coral), var(--sunrise-amber), var(--bloom-coral));
  background-size: 200% 100%;
  animation: flowBorder 3s linear infinite;
}

/* Inner Mist Background */
.features-bar::after {
  content: "";
  position: absolute;
  inset: 1.5px; /* Border thickness */
  background-color: var(--clarity-teal);
  border-radius: 10px;
  z-index: -1;
}


@keyframes flowBorder {
  0% { background-position: 100% 0%; }
  100% { background-position: 0% 0%; }
}

.feature-text {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.feature-text {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

}

@media (max-width: 600px) {
  .feature-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: white;
  padding: 1rem 1.5rem;
  flex: 1;
  white-space: nowrap;
  position: relative;
  z-index: 2;
}
.feature-item:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}
@media (max-width: 768px) {
  .features-bar {
    flex-direction: column;
    width: 100%;
  }
  .feature-item:not(:last-child) {
    border-right: none;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
  }
}

/* Animated Gradient Background */
.features-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, var(--bloom-coral), var(--sunrise-amber), var(--bloom-coral));
  background-size: 200% 100%;
  animation: flowBorder 3s linear infinite;
}

/* Inner Mist Background */
.features-bar::after {
  content: "";
  position: absolute;
  inset: 1.5px; /* Border thickness */
  background-color: var(--clarity-teal);
  border-radius: 10px;
  z-index: -1;
}


@keyframes flowBorder {
  0% { background-position: 100% 0%; }
  100% { background-position: 0% 0%; }
}

.feature-text {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.feature-text {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

/* Mobile Menu */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0,0,0,0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}
.mobile-menu-content {
  position: absolute;
  top: 0;
  transform: translateX(100%);\n  will-change: transform;
  right: 0;
  width: 85%;
  max-width: 400px;
  height: 100%;
  background-color: var(--paper);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: -5px 0 15px rgba(0,0,0,0.1);
}
.mobile-menu-overlay.active .mobile-menu-content {
  transform: translateX(0);
}
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--mist);
}
.mobile-logo {
  height: 70px;
}
.mobile-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
  padding: 0;
}
.mobile-close-btn svg {
  width: 28px;
  height: 28px;
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  gap: 1.5rem;
  flex: 1;
}
.mobile-nav-links a {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}
.mobile-menu-footer {
  padding: 2rem;
  background-color: var(--clarity-teal);
  color: white;
}
.mobile-menu-footer p, .mobile-menu-footer a {
  color: white;
}
.mobile-menu-footer p {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.25rem;
  margin-top: 0;
}
.mobile-menu-footer a {
  font-family: var(--font-body);
  color: var(--clarity-teal);
  text-decoration: none;
  font-weight: 500;
}



.hero-circle-coral {
  position: absolute;
  width: 150px;
  height: 150px;
  background-color: var(--bloom-coral);
  border-radius: 50%;
  top: calc(0% + 15px);
  right: calc(5% - 15px);
  z-index: 9;
  opacity: 0.8;
  filter: blur(5px);
}

/* Hero Animated Background */
.hero {
  position: relative;
  overflow: hidden;
  clip-path: inset(0);
  -webkit-clip-path: inset(0);
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero-bg-canvas {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
  overflow: hidden;
  clip-path: inset(0);
  -webkit-clip-path: inset(0);
  pointer-events: none;
}
.ribbon {
  position: absolute;
  filter: blur(100px);
  opacity: 0.35;
  border-radius: 50%;
  animation: flowWind 18s infinite alternate ease-in-out;
}
.ribbon-1 {
  width: 60vw; height: 60vh;
  background: var(--mist);
  top: -20%; left: -10%;
  animation-duration: 22s;
}
.ribbon-2 {
  width: 50vw; height: 70vh;
  background: var(--sunrise-amber);
  bottom: -20%; right: -10%;
  animation-duration: 19s;
  animation-direction: alternate-reverse;
}
.ribbon-3 {
  width: 70vw; height: 40vh;
  background: var(--clarity-teal);
  top: 40%; left: 15%;
  animation-duration: 25s;
}

@keyframes flowWind {
  0% { transform: translate(0, 0) rotate(0deg) scale(1); }
  33% { transform: translate(15%, 10%) rotate(10deg) scale(1.15); }
  66% { transform: translate(-10%, 15%) rotate(-5deg) scale(0.9); }
  100% { transform: translate(10%, -10%) rotate(15deg) scale(1.1); }
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background-color: var(--mist);
  opacity: 0.4;
  z-index: 1;
}

@media (max-width: 768px) {
  .hero-circle-coral {
    width: 100px !important;
    height: 100px !important;
    top: 5px !important;
    right: auto !important;
    left: calc(50% + 72px) !important;
  }
}

@media (max-width: 768px) {
  .hero-dna {
    width: 350px !important;
    height: 350px !important;
  }
}



@media (max-width: 768px) {
  .feature-item {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

@media (max-width: 768px) {
  .features-bar {
    flex-direction: row !important;
    
    overflow-x: auto !important;
    white-space: nowrap !important;
    width: max-content !important;
    max-width: 95vw !important;
    margin: 0 auto !important;
  }
  .feature-item {
    flex: 0 1 auto !important;
    padding-left: 0.6rem !important;
    padding-right: 0.6rem !important;
    gap: 0.25rem !important;
  }
  .feature-text {
    font-size: 0.65rem !important;
    letter-spacing: 0 !important;
  }
  .feature-icon {
    width: 16px !important;
    height: 16px !important;
  }
}

@media (max-width: 1024px) {
  
.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-icons {
    gap: 0.85rem !important;
  }
  .nav-icon {
    width: 24px !important;
    height: 24px !important;
  }
  .mobile-menu-btn svg {
    width: 28px !important;
    height: 28px !important;
  }
}

.slider-dots {
  display: none !important;
}

@media (max-width: 768px) {
  .hero {
    padding: 3rem 0 !important;
  }
  .hero p {
    margin-bottom: 1.5rem !important;
  }
}

.nav-email-badge {
  background-color: var(--clarity-teal);
  color: white;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  text-decoration: none;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: opacity 0.3s ease;
  margin-right: 0.5rem;
}
.nav-email-badge:hover {
  opacity: 0.9;
}


@media (max-width: 1024px) {
  .nav-right {
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
  }
  .nav-email-badge {
    margin-right: 0;
    margin-bottom: 0.25rem;
    font-size: 0.65rem;
    padding: 0.25rem 0.5rem;
  }
}

@keyframes blinkRandom {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 0.2; }
}
.dna-dot {
  fill: var(--indigo-deep) !important;
}
.dna-dot:nth-child(even) {
  animation: blinkRandom 2s infinite;
}
.dna-dot:nth-child(3n) {
  animation: blinkRandom 3s infinite 0.5s;
}
.dna-dot:nth-child(5n) {
  animation: blinkRandom 1.5s infinite 1s;
}

@keyframes lineConnectGlow {
  0% {
    opacity: 0.4 !important;
    stroke: var(--mist) !important;
    filter: none;
    stroke-width: 2px;
  }
  20%, 50% {
    opacity: 1 !important;
    stroke: var(--clarity-teal) !important;
    filter: drop-shadow(0 0 8px var(--clarity-teal));
    stroke-width: 3px;
  }
  100% {
    opacity: 0.4 !important;
    stroke: var(--mist) !important;
    filter: none;
    stroke-width: 2px;
  }
}
.dna-line {
  stroke: var(--mist) !important;
  stroke-width: 2px;
  opacity: 0.4 !important;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.dna-line:nth-child(even) {
  animation: lineConnectGlow 4s infinite cubic-bezier(0.4, 0, 0.2, 1);
}
.dna-line:nth-child(3n) {
  animation: lineConnectGlow 5.5s infinite cubic-bezier(0.4, 0, 0.2, 1) 1.5s;
}
.dna-line:nth-child(5n) {
  animation: lineConnectGlow 4.5s infinite cubic-bezier(0.4, 0, 0.2, 1) 3s;
}
.dna-line:nth-child(7n) {
  animation: lineConnectGlow 3.5s infinite cubic-bezier(0.4, 0, 0.2, 1) 0.5s;
}



.floating-cell {
  position: absolute;
  border-radius: 50%;
  background-color: var(--ink);
  animation: floatCell linear infinite;
  opacity: 0;
}
@keyframes floatCell {
  0% {
    transform: translateY(0) scale(1) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.4;
  }
  90% {
    opacity: 0.4;
  }
  100% {
    transform: translateY(-200px) scale(1.5) rotate(360deg);
    opacity: 0;
  }
}
/* Update DNA dots for dark background */
.dna-dot {
  fill: var(--indigo-deep) !important;
}

.floating-cell.cell-1 {
  width: 5.308453548508755px;
  height: 5.308453548508755px;
  left: 20.752298445778717%;
  top: 9.256401914097268%;
  animation-duration: 11.343651642024664s;
  animation-delay: -19.103933751431413s;
}

.floating-cell.cell-2 {
  width: 2.6366822340614933px;
  height: 2.6366822340614933px;
  left: 67.52871774727555%;
  top: 73.25436626715108%;
  animation-duration: 14.11423910149082s;
  animation-delay: -5.308009351783265s;
}

.floating-cell.cell-3 {
  width: 3.3833322337887357px;
  height: 3.3833322337887357px;
  left: 50.16655167448051%;
  top: 12.83174713524291%;
  animation-duration: 26.715872689763152s;
  animation-delay: -4.522291163611554s;
}

.floating-cell.cell-4 {
  width: 2.3056598575999785px;
  height: 2.3056598575999785px;
  left: 46.94689382821491%;
  top: 11.10706019554718%;
  animation-duration: 27.59167753115088s;
  animation-delay: -0.8221226430846973s;
}

.floating-cell.cell-5 {
  width: 5.131778802332835px;
  height: 5.131778802332835px;
  left: 54.54985407931892%;
  top: 7.000942788200448%;
  animation-duration: 21.41113995296788s;
  animation-delay: -9.937860410646293s;
}

.floating-cell.cell-6 {
  width: 2.3520560236242996px;
  height: 2.3520560236242996px;
  left: 29.297866451650577%;
  top: 91.70287115165698%;
  animation-duration: 14.886135862055616s;
  animation-delay: -5.26378344108946s;
}

.floating-cell.cell-7 {
  width: 3.3828201147434482px;
  height: 3.3828201147434482px;
  left: 75.01494782330353%;
  top: 17.666565637855626%;
  animation-duration: 16.66921713959767s;
  animation-delay: -9.239549267604609s;
}

.floating-cell.cell-8 {
  width: 5.855576019953883px;
  height: 5.855576019953883px;
  left: 24.894761522695006%;
  top: 26.142600705200092%;
  animation-duration: 19.84806901197691s;
  animation-delay: -12.118354407283134s;
}

.floating-cell.cell-9 {
  width: 4.130790178186055px;
  height: 4.130790178186055px;
  left: 5.18314947630193%;
  top: 39.6896874211419%;
  animation-duration: 20.42091697368198s;
  animation-delay: -10.464494858980988s;
}

.floating-cell.cell-10 {
  width: 3.6069280318053965px;
  height: 3.6069280318053965px;
  left: 80.82168004118824%;
  top: 30.260061407129513%;
  animation-duration: 27.228984455294754s;
  animation-delay: -19.973595972716264s;
}

.floating-cell.cell-11 {
  width: 3.5394633014212866px;
  height: 3.5394633014212866px;
  left: 49.71362495218579%;
  top: 37.22157418548673%;
  animation-duration: 19.641071796713916s;
  animation-delay: -16.6314860088412s;
}

.floating-cell.cell-12 {
  width: 2.9865872861508582px;
  height: 2.9865872861508582px;
  left: 27.267111731791005%;
  top: 61.498406399645674%;
  animation-duration: 29.079931439091435s;
  animation-delay: -12.596303676365952s;
}

.floating-cell.cell-13 {
  width: 3.0766922654708044px;
  height: 3.0766922654708044px;
  left: 53.153174846692785%;
  top: 49.33073526966112%;
  animation-duration: 10.407414354003745s;
  animation-delay: -12.133955169266684s;
}

.floating-cell.cell-14 {
  width: 3.949416119437603px;
  height: 3.949416119437603px;
  left: 58.42714016804751%;
  top: 26.004218029162274%;
  animation-duration: 20.31146546872315s;
  animation-delay: -12.705601697167971s;
}

.floating-cell.cell-15 {
  width: 5.341669784100979px;
  height: 5.341669784100979px;
  left: 3.400099589541017%;
  top: 90.61716258555022%;
  animation-duration: 26.473068235502634s;
  animation-delay: -19.2996946991548s;
}

.floating-cell.cell-16 {
  width: 4.026468427130821px;
  height: 4.026468427130821px;
  left: 45.35778647482345%;
  top: 22.380542666142922%;
  animation-duration: 13.27533327847916s;
  animation-delay: -11.359706459068823s;
}

.floating-cell.cell-17 {
  width: 5.033371264491896px;
  height: 5.033371264491896px;
  left: 95.61869033084378%;
  top: 4.510719227381843%;
  animation-duration: 22.51647042933996s;
  animation-delay: -10.587078749186992s;
}

.floating-cell.cell-18 {
  width: 3.397059117483454px;
  height: 3.397059117483454px;
  left: 42.21660362509597%;
  top: 80.52979265122381%;
  animation-duration: 13.30810557655126s;
  animation-delay: -0.03402508158331541s;
}

.floating-cell.cell-19 {
  width: 5.97353808396763px;
  height: 5.97353808396763px;
  left: 56.19451164581795%;
  top: 73.56737243420972%;
  animation-duration: 24.51534577728582s;
  animation-delay: -5.542896831292521s;
}

.floating-cell.cell-20 {
  width: 5.080474675292887px;
  height: 5.080474675292887px;
  left: 85.65141372587551%;
  top: 47.09996007431991%;
  animation-duration: 26.646219936787446s;
  animation-delay: -3.3034070501899193s;
}

.floating-cell.cell-21 {
  width: 5.472029633807906px;
  height: 5.472029633807906px;
  left: 82.18920605953953%;
  top: 16.415032337390922%;
  animation-duration: 14.881539970402788s;
  animation-delay: -14.649121778622995s;
}

.floating-cell.cell-22 {
  width: 4.027568021343953px;
  height: 4.027568021343953px;
  left: 65.27345845769233%;
  top: 17.60835100166146%;
  animation-duration: 20.667914287717604s;
  animation-delay: -11.37755468026178s;
}

.floating-cell.cell-23 {
  width: 3.927511652673752px;
  height: 3.927511652673752px;
  left: 38.109865208555895%;
  top: 31.67225468576136%;
  animation-duration: 13.718627312596405s;
  animation-delay: -16.195870090568114s;
}

.floating-cell.cell-24 {
  width: 3.8200708679672126px;
  height: 3.8200708679672126px;
  left: 74.77661175263461%;
  top: 48.61817684985045%;
  animation-duration: 22.760737238595954s;
  animation-delay: -2.3119664765443027s;
}

.floating-cell.cell-25 {
  width: 2.126626622917288px;
  height: 2.126626622917288px;
  left: 19.77208483401388%;
  top: 29.456647168879048%;
  animation-duration: 28.25823703350273s;
  animation-delay: -14.576861484200279s;
}

.floating-cell.cell-26 {
  width: 5.67724903603718px;
  height: 5.67724903603718px;
  left: 87.33671666886481%;
  top: 14.73482129490703%;
  animation-duration: 12.184275757416813s;
  animation-delay: -16.827046460443658s;
}

.floating-cell.cell-27 {
  width: 3.6114075937530785px;
  height: 3.6114075937530785px;
  left: 30.668387485358274%;
  top: 30.604860680157508%;
  animation-duration: 12.913900314240244s;
  animation-delay: -8.025795979090333s;
}

.floating-cell.cell-28 {
  width: 2.5038399305842924px;
  height: 2.5038399305842924px;
  left: 81.40816820356427%;
  top: 44.17210405111804%;
  animation-duration: 11.708293735123444s;
  animation-delay: -3.406852674984706s;
}

.floating-cell.cell-29 {
  width: 4.031100939142593px;
  height: 4.031100939142593px;
  left: 45.741695032470865%;
  top: 32.46778114330101%;
  animation-duration: 14.31902258809542s;
  animation-delay: -4.397514401694167s;
}

.floating-cell.cell-30 {
  width: 3.336900979599659px;
  height: 3.336900979599659px;
  left: 26.933347693001696%;
  top: 97.18347923825024%;
  animation-duration: 16.795967583008355s;
  animation-delay: -12.890638729345271s;
}

.mobile-menu-features .feature-bar-wrapper {
  background: transparent;
  border-top: 1px solid rgba(0,0,0,0.1);
  margin-top: 1rem;
  padding: 1rem 0;
}
.mobile-menu-features .features-bar {
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 0 2rem;
}
.mobile-menu-features .feature-item {
  justify-content: flex-start;
}

.mobile-menu-footer p, .mobile-menu-footer a {
  color: white !important;
}

/* Feature boxes larger boxes stacked */
.mobile-menu-features .feature-bar-wrapper {
  background: transparent;
  border-top: none;
  margin-top: 1rem;
  padding: 1rem 0;
}
.mobile-menu-features .features-bar {
  flex-direction: column;
  align-items: stretch !important;
  gap: 1rem !important;
  padding: 0 2rem !important;
}
.mobile-menu-features .feature-item {
  background-color: white !important;
  padding: 1.25rem 1rem !important;
  border-radius: 12px;
  justify-content: flex-start !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.03);
  width: 100%;
  box-sizing: border-box;
}
.mobile-menu-features .feature-icon {
  margin-right: 1rem !important;
}
.mobile-menu-features .feature-icon svg {
  width: 28px !important;
  height: 28px !important;
  color: var(--clarity-teal);
}
.mobile-menu-features .feature-text {
  font-size: 1.1rem !important;
  font-weight: 600;
  color: var(--indigo-deep);
}

/* Fix mobile menu features layout (2x2 grid) */
.mobile-menu-features .features-bar {
  display: flex !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 1rem !important;
  padding: 0 1.5rem !important;
  box-sizing: border-box;
}
.mobile-menu-features .feature-item {
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  padding: 1rem 0.5rem !important;
  min-width: 0; /* prevent flex blowout */
  word-wrap: break-word;
}
.mobile-menu-features .feature-icon {
  margin-right: 0 !important;
  margin-bottom: 0.5rem !important;
}
.mobile-menu-features .feature-text {
  font-size: 0.85rem !important; /* Smaller to fit */
  line-height: 1.2 !important;
  white-space: normal !important;
}

/* Fix hover and active state with underline animation */
.nav-links a, .mobile-nav-links a {
  position: relative !important;
  text-decoration: none !important;
  transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active,
.mobile-nav-links a:hover, .mobile-nav-links a.active {
  color: #333F8C !important;
}

.nav-links a::after, .mobile-nav-links a::after {
  content: '' !important;
  position: absolute !important;
  width: 0 !important;
  height: 2px !important;
  bottom: -4px !important;
  left: 0 !important;
  background-color: #333F8C !important;
  transition: width 0.3s ease-out !important;
}

.nav-links a:hover::after, .nav-links a.active::after,
.mobile-nav-links a:hover::after, .mobile-nav-links a.active::after {
  width: 100% !important;
}

/* Extreme overrides for mobile menu feature boxes to fix layout and teal background bleed */
.mobile-menu-features .feature-bar-wrapper {
  background: transparent !important;
  padding: 0 0 1rem 0 !important;
  margin: 0 !important;
  height: auto !important;
  overflow: visible !important;
  border: none !important;
}

.mobile-menu-features .features-bar {
  display: flex !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0.75rem !important;
  padding: 0 1rem !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  width: 100% !important;
  max-width: none !important;
  overflow: visible !important;
  border-radius: 0 !important;
  margin: 0 !important;
}

.mobile-menu-features .feature-item {
  background-color: white !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08) !important;
  border: 1px solid rgba(0,0,0,0.04) !important;
  padding: 1rem 0.5rem !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  white-space: normal !important;
  width: auto !important;
}

.mobile-menu-features .feature-icon {
  margin: 0 0 0.5rem 0 !important;
}

.mobile-menu-features .feature-text {
  font-size: 0.75rem !important;
  line-height: 1.3 !important;
  white-space: normal !important;
}

/* Fix mobile menu features background height */
.mobile-menu-features .features-bar {
  background-color: var(--clarity-teal) !important;
  background: var(--clarity-teal) !important;
  padding: 1rem !important;
  border-radius: 12px !important;
  height: auto !important;
  overflow: hidden !important;
  margin: 0 1rem 1rem 1rem !important;
  width: calc(100% - 2rem) !important;
}

.mobile-menu-features .feature-item {
  margin-bottom: 0 !important;
}

/* Products View All */
.products-view-all {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

/* About Section */
.about-section {
  background-color: var(--paper);
  padding: 6rem 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  object-fit: cover;
  aspect-ratio: 1 / 1;
}
.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}
.about-content p {
  font-size: 1.125rem;
  color: var(--ink);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.about-header-mobile {
  display: none;
}

/* Responsive About */
@media (max-width: 991px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-header-desktop {
    display: none;
  }
  .about-header-mobile {
    display: block;
    margin-bottom: 0.5rem;
  }
  .about-header-mobile .gradient-title {
    font-size: 2rem;
  }
}

/* Force title onto second line (FIXED) */
.about-header-desktop {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}
.about-header-mobile {
  display: none !important;
}

@media (max-width: 991px) {
  .about-header-desktop {
    display: none !important;
  }
  .about-header-mobile {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }
}

/* Increase Footer Logo Size */
.footer-logo-img {
  height: 120px !important;
  max-width: 100% !important;
}


/* Move hero description closer to title */
@media (min-width: 992px) {
  .hero-text-bottom {
    margin-top: -1.5rem !important;
  }
}

/* Section Header Underlines */
.section-header .gradient-title {
  position: relative;
  padding-bottom: 1rem;
}
.section-header .gradient-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--indigo-core);
  border-radius: 2px;
}

/* About Us Header Underline (Left Aligned to match text) */
.about-header-desktop .gradient-title,
.about-header-mobile .gradient-title {
  position: relative;
  padding-bottom: 1rem;
}
.about-header-desktop .gradient-title::after,
.about-header-mobile .gradient-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: var(--indigo-core);
  border-radius: 2px;
}

/* Product Card Image Border */
.product-image-wrapper {
  border-bottom: 4px solid var(--indigo-core);
  box-sizing: border-box; /* ensure it doesn't change layout width */
}

/* Prevent footer links (like email) from wrapping */
.footer-links li {
  white-space: nowrap;
}
.footer-grid {
  grid-template-columns: 2fr 1fr 1fr 1.5fr !important; /* give the contact column a bit more room */
}
@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Footer Header Underlines */
.footer-col h4 {
  position: relative !important;
  padding-bottom: 0.5rem !important;
  margin-bottom: 1.5rem !important;
}
.footer-col h4::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 30px !important;
  height: 2px !important;
  background-color: white !important;
  border-radius: 1px !important;
}

/* Blog Section */
.blog-section {
    padding: 6rem 0;
    background-color: var(--paper);
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.blog-card {
    background-color: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.blog-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.blog-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.blog-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--indigo-core);
    margin-bottom: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
}
.blog-date {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--slate);
    margin-top: auto;
}

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

@media (max-width: 767px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .blog-section .section-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem;
    }
}

/* Blog Section */
.blog-section {
    padding: 6rem 0;
    background-color: var(--paper);
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.blog-card {
    background-color: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.blog-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.blog-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.blog-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--indigo-core);
    margin-bottom: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
}
.blog-date {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--slate);
    margin-top: auto;
}

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

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

/* Force 2 columns on mobile for products */
@media (max-width: 767px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important; /* Slightly smaller gap to fit 2 cards better */
  }
  .product-image-wrapper {
    height: 160px !important; /* Reduce image height so it stays proportional */
    padding: 1rem !important;
  }
}

/* Product Image Full Border */
.product-image-wrapper {
  border-top: 4px solid var(--clarity-teal) !important;
  border-left: 4px solid var(--clarity-teal) !important;
  border-right: 4px solid var(--clarity-teal) !important;
  border-bottom: 4px solid var(--indigo-core) !important;
  box-sizing: border-box;
}

/* Remove Experimental Product Image Borders */
.product-image-wrapper {
  border: none !important;
}

/* Tuck the coral circle further behind the amber circle */
.hero-circle-coral {
  top: calc(0% + 8px) !important;
  right: calc(5% - 8px) !important;
}

@media (max-width: 991px) {
  .hero-circle-coral {
    top: 3px !important;
    left: calc(50% + 65px) !important; 
  }
}


/* Performance Fix: Disable heavy hero animations on mobile */
@media (max-width: 767px) {
  .hero *, .hero-background * {
    animation: none !important;
  }
}

@media (max-width: 767px) {
  .mobile-block {
    display: block;
    line-height: 1.2;
  }
}

@media (max-width: 767px) {
  .usa-shift {
    position: relative;
    left: -10px;
  }
}



/* Shift icon and text left in the first feature item on desktop */


@media (max-width: 767px) {
  .feature-item {
    height: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .features-bar .feature-item:nth-child(1) > * {
    transform: translateX(-10px);
  }
}


/* Reduce space between Hero CTA and Feature Boxes on Mobile Portrait */
@media (max-width: 767px) {
  .hero {
    padding-bottom: 1.5rem !important;
  }
  .features-bar {
    margin-top: -1rem !important;
  }
}


/* Move hero content up closer to header on mobile portrait */
@media (max-width: 767px) {
  .hero {
    padding-top: 1rem !important;
  }
}

/* Ensure tall slide text pushes the feature box down rather than overlapping CTA on desktop */
@media (min-width: 768px) {
  .hero-slide-bottom {
    padding-bottom: 3.5rem;
  }
}

/* Move hero image box up a teeny bit on mobile portrait */
@media (max-width: 767px) {
  .hero-image {
    margin-top: -1.5rem !important;
  }
}


/* Move mobile menu bottom sections higher to avoid phone UI bars */
@media (max-width: 767px) {
  .mobile-menu-content {
    padding-bottom: 6rem !important;
    box-sizing: border-box !important;
    overflow-y: auto !important;
  }
}


/* Footer gradient update */
footer {
  background: linear-gradient(135deg, var(--indigo-deep) 0%, var(--clarity-teal) 100%) !important;
}


/* Email badge gradient update */
.nav-email-badge {
  background: linear-gradient(135deg, var(--indigo-deep) 0%, var(--clarity-teal) 100%) !important;
  color: white !important; /* Ensure text remains readable */
  border: none !important; /* Remove any border if there is one */
}

/* --- Mini Cart Styles --- */
.cart-icon-wrapper {
    position: relative;
}

.cart-count.bubble {
    position: absolute;
    top: -5px;
    right: -8px;
    background-color: var(--bloom-coral);
    color: white;
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
    z-index: 10;
}

.mini-cart-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    right: -10px;
    width: 420px;
    background: white;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border-radius: 12px;
    padding: 1.5rem;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0,0,0,0.05);
}

.mini-cart-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 20px;
    width: 12px;
    height: 12px;
    background: white;
    transform: rotate(45deg);
    border-top: 1px solid rgba(0,0,0,0.05);
    border-left: 1px solid rgba(0,0,0,0.05);
}

.mini-cart-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mini-cart-dropdown .widget_shopping_cart_content {
    color: var(--ink);
    font-family: var(--font-body);
}

.mini-cart-dropdown ul.cart_list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
    max-height: 350px;
    overflow-y: auto;
}

.mini-cart-dropdown ul.cart_list li {
    display: flex;
    align-items: center;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: relative;
}

.mini-cart-dropdown ul.cart_list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.mini-cart-dropdown ul.cart_list li img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    margin-right: 1rem;
    background: #F9F6F0;
    border-radius: 8px;
}

.mini-cart-dropdown ul.cart_list li a {
    text-decoration: none;
    color: var(--indigo-core);
    font-weight: 600;
    font-size: 0.875rem;
    display: block;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.mini-cart-dropdown ul.cart_list li .quantity {
    font-size: 0.875rem;
    color: var(--mist);
}

.mini-cart-dropdown ul.cart_list li a.remove {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--mist);
    font-size: 20px;
    text-decoration: none;
    line-height: 1;
    transition: color 0.2s ease;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    border-radius: 50%;
}

.mini-cart-dropdown ul.cart_list li a.remove:hover {
    color: white;
    background: var(--bloom-coral);
}

.mini-cart-dropdown .woocommerce-mini-cart__total {
    font-weight: 700;
    font-size: 1.125rem;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.mini-cart-dropdown .woocommerce-mini-cart__buttons {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0;
}

.mini-cart-dropdown .woocommerce-mini-cart__buttons .button {
    flex: 1;
    text-align: center;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.mini-cart-dropdown .woocommerce-mini-cart__buttons .button.wc-forward:not(.checkout) {
    background: #F4F5F7;
    color: var(--ink);
}

.mini-cart-dropdown .woocommerce-mini-cart__buttons .button.wc-forward:not(.checkout):hover {
    background: #e0e2e7;
}

.mini-cart-dropdown .woocommerce-mini-cart__buttons .button.checkout {
    background: var(--clarity-teal);
    color: white;
}

.mini-cart-dropdown .woocommerce-mini-cart__buttons .button.checkout:hover {
    background: #50b0a8;
}

.mini-cart-dropdown p.woocommerce-mini-cart__empty-message {
    text-align: center;
    color: var(--mist);
    margin: 1rem 0;
}

/* Mobile Mini Cart */
@media (max-width: 768px) {
    .mini-cart-dropdown {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 0;
        transform: translateX(100%);
        padding: 2rem 1.5rem;
        display: flex;
        flex-direction: column;
    }
    
    .mini-cart-dropdown::before {
        display: none;
    }

    .mini-cart-dropdown.open {
        transform: translateX(0);
    }
    
    .mini-cart-dropdown .widget_shopping_cart_content {
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    
    .mini-cart-dropdown ul.cart_list {
        flex: 1;
        max-height: none;
    }
    
    .cart-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 9998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .cart-overlay.open {
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-cart-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 2rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    .mobile-cart-header h3 {
        margin: 0;
        font-size: 1.25rem;
    }
    
    .mobile-cart-close {
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--mist);
        cursor: pointer;
    }
}

/* Hide mobile cart close on desktop */
@media (min-width: 769px) {
    .mobile-cart-close { display: none !important; }
}



    .woocommerce-cart .woocommerce-cart-form {
        flex: 1 1 100%;
    }
    
    .woocommerce-cart .cart-collaterals {
        flex: 1 1 100%;
    }

    .woocommerce-cart .shop_table.cart thead {
        display: none;
    }
    
    .woocommerce-cart .shop_table.cart tr {
        display: block;
        padding: 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        position: relative;
    }
    
    .woocommerce-cart .shop_table.cart td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 0;
        border: none;
        text-align: right;
    }
    
    .woocommerce-cart .shop_table.cart td.product-remove {
        position: absolute;
        top: 1rem;
        right: 1rem;
        padding: 0;
    }
    
    .woocommerce-cart .shop_table.cart td::before {
        content: attr(data-title);
        color: var(--mist);
        font-size: 0.85rem;
        text-transform: uppercase;
        font-weight: 600;
        float: left;
    }
    
    .woocommerce-cart .coupon {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }
    
    .woocommerce-cart .coupon input.input-text {
        width: 100%;
    }
    
    .woocommerce-cart .actions {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .woocommerce-cart .actions button[name="update_cart"] {
        width: 100%;
    }
}


    
    .woocommerce-cart .shop_table.cart tbody tr.cart_item {
        position: relative;
        padding-top: 3rem;
    }

    .woocommerce-cart .product-remove {
        position: absolute;
        top: 1rem;
        right: 0;
    }

    .woocommerce-cart .coupon {
        flex-direction: column;
    }
    
    .woocommerce-cart .coupon input.input-text {
        max-width: 100%;
    }
    
    .woocommerce-cart .actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .woocommerce-cart .cart_totals {
        padding: 1.5rem;
    }
}

/* ==========================================================================
   CUSTOM WOOCOMMERCE CART PAGE (V2)
   ========================================================================== */
.woocommerce-cart .woocommerce {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
    font-family: var(--font-body);
}

/* Left Side - Cart Form */
.woocommerce-cart .woocommerce-cart-form {
    flex: 1 1 60%;
    min-width: 300px;
}

/* Right Side - Cart Totals */
.woocommerce-cart .cart-collaterals {
    flex: 1 1 35%;
    min-width: 300px;
}

/* Cart Table Overhaul */
.woocommerce-cart .shop_table.cart {
    background: transparent;
    border: none;
    width: 100%;
    border-collapse: collapse;
}

.woocommerce-cart .shop_table.cart th {
    display: none; /* Hide standard table headers for a cleaner look */
}

.woocommerce-cart .shop_table.cart td {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(17, 17, 17, 0.1); /* Light border */
    color: var(--ink);
    vertical-align: middle;
}

.woocommerce-cart .shop_table.cart tbody tr.cart_item {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

/* Product Thumbnail - More compact */
.woocommerce-cart .product-thumbnail {
    width: 60px; /* Reduced from 80px */
    flex-shrink: 0;
}
.woocommerce-cart .product-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    border: 1px solid rgba(17, 17, 17, 0.1);
}

/* Product Details Grouping */
.woocommerce-cart .product-name {
    flex: 1;
    min-width: 200px;
}
.woocommerce-cart .product-name a {
    color: var(--ink);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.25rem;
}

.woocommerce-cart .product-price,
.woocommerce-cart .product-subtotal {
    font-weight: 600;
    color: var(--clarity-teal);
    width: 100px;
    text-align: right;
}

/* Quantity Input - Light Theme style */
.woocommerce-cart .product-quantity {
    width: 120px;
}
.woocommerce-cart .quantity input.qty {
    background: #fff;
    border: 1px solid rgba(17,17,17,0.2);
    color: var(--ink);
    padding: 0.75rem;
    border-radius: 4px;
    width: 100%;
    max-width: 80px;
    text-align: center;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}
.woocommerce-cart .quantity input.qty:focus {
    border-color: var(--clarity-teal);
    outline: none;
}

/* Remove Item Icon */
.woocommerce-cart .product-remove {
    width: 30px;
    text-align: right;
}
.woocommerce-cart .product-remove a.remove {
    color: #ef4444 !important;
    font-size: 1.5rem;
    font-weight: 300;
    text-decoration: none !important;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    display: inline-block;
}
.woocommerce-cart .product-remove a.remove:hover {
    opacity: 1;
    background: transparent;
}

/* Actions Row (Coupon & Update Cart) */
.woocommerce-cart .actions {
    padding: 2rem 0 !important;
    background: transparent !important;
    border-bottom: none !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

/* Coupon Fields - Better, longer */
.woocommerce-cart .coupon {
    display: flex;
    gap: 1rem;
    flex: 1;
    min-width: 300px;
}
.woocommerce-cart .coupon input.input-text {
    background: #fff;
    border: 1px solid rgba(17, 17, 17, 0.2);
    color: var(--ink);
    padding: 1rem 1.5rem;
    border-radius: 4px;
    width: 100%;
    max-width: 400px; /* Longer input field */
    font-family: var(--font-body);
    font-size: 1rem;
}
.woocommerce-cart .coupon input.input-text:focus {
    border-color: var(--clarity-teal);
    outline: none;
}

/* Cart Buttons - Match site (.btn, .btn-primary) */
.woocommerce-cart .actions button.button,
.woocommerce-cart .cart-collaterals .checkout-button,
.woocommerce-cart .coupon button.button {
    display: inline-block !important;
    padding: 1rem 2rem !important;
    border-radius: 4px !important;
    font-family: var(--font-body) !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    font-size: 0.875rem !important;
    letter-spacing: 0.05em !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
    cursor: pointer !important;
    border: none !important;
    background-color: var(--clarity-teal) !important;
    color: white !important;
    text-decoration: none !important;
    text-align: center !important;
}

.woocommerce-cart .actions button.button:hover,
.woocommerce-cart .cart-collaterals .checkout-button:hover,
.woocommerce-cart .coupon button.button:hover {
    opacity: 0.9 !important;
    transform: none !important;
    box-shadow: none !important;
}

.woocommerce-cart .actions button[name="update_cart"] {
    background-color: #ddd !important; /* Secondary button style */
    color: var(--ink) !important;
}
.woocommerce-cart .actions button[name="update_cart"]:hover {
    background-color: #ccc !important;
}

/* Cart Totals Box - Compact & Premium */
.woocommerce-cart .cart_totals {
    background: #fff;
    border: 1px solid rgba(17, 17, 17, 0.1);
    border-radius: 8px;
    padding: 2.5rem;
    position: sticky;
    top: 100px;
    width: 100% !important;
    float: none !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.woocommerce-cart .cart_totals h2 {
    color: var(--ink);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(17, 17, 17, 0.1);
    padding-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.woocommerce-cart .cart_totals table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.woocommerce-cart .cart_totals th {
    text-align: left;
    color: var(--ink);
    font-weight: 500;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(17, 17, 17, 0.1);
}

.woocommerce-cart .cart_totals td {
    text-align: right;
    color: var(--ink);
    font-weight: 600;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(17, 17, 17, 0.1);
}

.woocommerce-cart .cart_totals .order-total th,
.woocommerce-cart .cart_totals .order-total td {
    font-size: 1.25rem;
    color: var(--clarity-teal);
    border-bottom: none;
    padding-top: 2rem;
}

.woocommerce-cart .cart-collaterals .checkout-button {
    width: 100%;
    margin-top: 1rem;
}

/* Empty Cart */
.woocommerce-cart .cart-empty.woocommerce-info {
    background: #fff;
    border: 1px solid rgba(17, 17, 17, 0.1);
    border-left: 4px solid var(--clarity-teal);
    color: var(--ink);
    padding: 2rem;
    border-radius: 8px;
    margin: 4rem auto;
    max-width: 800px;
    text-align: center;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .woocommerce-cart .woocommerce {
        padding: 0 1rem;
        margin: 2rem auto;
    }
    
    .woocommerce-cart .shop_table.cart tbody tr.cart_item {
        position: relative;
        padding-top: 3rem;
    }

    .woocommerce-cart .product-remove {
        position: absolute;
        top: 1rem;
        right: 0;
    }

    .woocommerce-cart .coupon {
        flex-direction: column;
    }
    
    .woocommerce-cart .coupon input.input-text {
        max-width: 100%;
    }
    
    .woocommerce-cart .actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .woocommerce-cart .cart_totals {
        padding: 1.5rem;
    }
}


/* Custom Cart Mockup Styles */
.biocyte-custom-cart-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 0 80px 0;
}

.biocyte-custom-cart-container .cart-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
}

.biocyte-custom-cart-container .cart-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.biocyte-custom-cart-container .cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    align-items: center;
    gap: 24px;
    background: #FFFFFF;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(17, 17, 17, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.biocyte-custom-cart-container .cart-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.biocyte-custom-cart-container .item-image {
    width: 100px;
    height: 100px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(17, 17, 17, 0.08);
}

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

.biocyte-custom-cart-container .item-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.biocyte-custom-cart-container .item-title {
    font-size: 1.125rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--ink);
    font-family: "Inter", sans-serif;
    transition: color 0.2s ease;
}

.biocyte-custom-cart-container .item-title:hover {
    color: var(--clarity-teal);
}

.biocyte-custom-cart-container .item-price {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--clarity-teal);
}

.biocyte-custom-cart-container .item-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Override Woo quantity */
.biocyte-custom-cart-container .quantity {
    display: flex;
    align-items: center;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 8px;
    background: var(--paper);
    overflow: hidden;
}
.biocyte-custom-cart-container .quantity input.qty {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    background: transparent;
    color: var(--ink);
    padding: 0;
}

.biocyte-custom-cart-container .remove-btn {
    background: transparent;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 1.1rem;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
}
.biocyte-custom-cart-container .remove-btn:hover {
    color: #ef4444;
    background: #fee2e2;
}

.biocyte-custom-cart-container .coupon-section {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 20px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(17, 17, 17, 0.08);
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.biocyte-custom-cart-container .coupon-input-group {
    display: flex;
    flex: 1;
}

.biocyte-custom-cart-container .coupon-input {
    flex: 1;
    padding: 16px 20px;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 8px 0 0 8px;
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    background: var(--paper);
}

.biocyte-custom-cart-container .btn-apply {
    background: var(--ink);
    color: #fff;
    border: none;
    padding: 0 30px;
    border-radius: 0 8px 8px 0;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
}

/* Cart Summary override */
.biocyte-custom-cart-container .cart_totals {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 40px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(17, 17, 17, 0.08);
    position: sticky;
    top: 40px;
    width: 100% !important;
    float: none !important;
}

.biocyte-custom-cart-container .cart_totals h2 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
    font-family: "Outfit", sans-serif;
}

.biocyte-custom-cart-container .cart_totals table {
    width: 100%;
    border-collapse: collapse;
}

.biocyte-custom-cart-container .cart_totals table th,
.biocyte-custom-cart-container .cart_totals table td {
    padding: 16px 0;
    font-family: "Inter", sans-serif;
}

.biocyte-custom-cart-container .cart_totals table th {
    text-align: left;
    font-weight: 500;
}

.biocyte-custom-cart-container .cart_totals table td {
    text-align: right;
}

.biocyte-custom-cart-container .cart_totals .order-total {
    border-top: 1px solid rgba(17, 17, 17, 0.08);
}
.biocyte-custom-cart-container .cart_totals .order-total th,
.biocyte-custom-cart-container .cart_totals .order-total td {
    font-size: 1.5rem;
    font-weight: 600;
    padding-top: 24px;
}
.biocyte-custom-cart-container .cart_totals .order-total td strong {
    color: var(--clarity-teal);
}

.biocyte-custom-cart-container .checkout-button {
    display: block;
    width: 100%;
    background: var(--clarity-teal) !important;
    color: #fff !important;
    border: none !important;
    padding: 20px !important;
    border-radius: 10px !important;
    font-family: "Inter", sans-serif;
    font-weight: 600 !important;
    text-transform: uppercase;
    font-size: 1.1rem !important;
    margin-top: 32px;
    text-align: center;
    text-decoration: none;
}

.biocyte-custom-cart-container .cross-sells {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid rgba(17, 17, 17, 0.08);
}
.biocyte-custom-cart-container .cross-sells h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

@media (max-width: 992px) {
    .biocyte-custom-cart-container .cart-layout {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 600px) {
    .biocyte-custom-cart-container .cart-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .biocyte-custom-cart-container .item-image {
        margin: 0 auto;
    }
    .biocyte-custom-cart-container .item-actions {
        justify-content: center;
    }
    .biocyte-custom-cart-container .cart-actions-row {
        flex-direction: column;
    }
}


/* Toast Notification for WooCommerce Messages */
@keyframes biocyteToastSlide {
    0% { transform: translateX(120%); opacity: 0; }
    15% { transform: translateX(0); opacity: 1; }
    85% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(120%); opacity: 0; visibility: hidden; }
}

.woocommerce-message {
    position: fixed !important;
    top: 120px !important; /* Below header */
    right: 20px !important;
    z-index: 999999 !important;
    background: #FFFFFF !important;
    color: var(--ink) !important;
    border: 1px solid rgba(17, 17, 17, 0.08) !important;
    border-left: 4px solid var(--clarity-teal) !important;
    border-radius: 8px !important;
    padding: 16px 24px !important;
    padding-left: 50px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1) !important;
    width: auto !important;
    max-width: 400px !important;
    animation: biocyteToastSlide 2.5s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    margin: 0 !important;
    font-family: "Inter", sans-serif !important;
    font-size: 0.95rem !important;
}

.woocommerce-message::before {
    color: var(--clarity-teal) !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    left: 20px !important;
}

.woocommerce-message .button {
    display: none !important;
}


/* Override remove button styles to fix missing icon */
.biocyte-custom-cart-container .remove-btn {
    border: 2px solid var(--sunrise-amber) !important;
    color: #000 !important;
    font-size: 1.5rem !important;
    font-weight: bold !important;
    text-decoration: none !important;
    line-height: 1 !important;
}
.biocyte-custom-cart-container .remove-btn:hover {
    color: #fff !important;
    background: var(--sunrise-amber) !important;
}


/* Empty Cart Page Styling */
.woocommerce-cart .return-to-shop {
    display: flex !important;
    justify-content: center !important;
    margin-top: 40px !important;
    margin-bottom: 80px !important;
    width: 100% !important;
}

.woocommerce-cart .return-to-shop .button.wc-backward {
    background: linear-gradient(135deg, var(--indigo-deep) 0%, var(--clarity-teal) 100%) !important;
    color: #fff !important;
    border: none !important;
    padding: 16px 40px !important;
    border-radius: 50px !important;
    font-family: "Inter", sans-serif !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    font-size: 1rem !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(28, 166, 184, 0.3) !important;
    text-decoration: none !important;
    display: inline-block !important;
}

.woocommerce-cart .return-to-shop .button.wc-backward:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(28, 166, 184, 0.4) !important;
}

/* Remove ugly woo box */
.woocommerce-cart .cart-empty {
    text-align: center !important;
    margin-top: 80px !important;
    font-size: 1.5rem !important;
    font-family: "Outfit", sans-serif !important;
    color: var(--ink) !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}
.woocommerce-cart .cart-empty::before {
    display: none !important; /* Hide the woocommerce info icon */
}


/* Override Proceed to Checkout Button */
.biocyte-custom-cart-container .checkout-button {
    background: linear-gradient(135deg, var(--indigo-deep) 0%, var(--clarity-teal) 100%) !important;
    border-radius: 50px !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(28, 166, 184, 0.3) !important;
}

.biocyte-custom-cart-container .checkout-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(28, 166, 184, 0.4) !important;
}
\n
/* Ensure Update Cart and Apply Coupon buttons are perfectly identical in size */
.biocyte-custom-cart-container .cart-actions-row .coupon-input,
.biocyte-custom-cart-container .cart-actions-row .btn-apply,
.biocyte-custom-cart-container .cart-actions-row .btn-update-cart {
    height: 56px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

.biocyte-custom-cart-container .cart-actions-row .coupon-input {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.biocyte-custom-cart-container .cart-actions-row .btn-update-cart {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid var(--sunrise-amber) !important;
    color: var(--ink) !important;
    transition: all 0.3s ease !important;
}

.biocyte-custom-cart-container .cart-actions-row .btn-update-cart:hover {
    background: var(--sunrise-amber) !important;
    color: #fff !important;
}


/* Responsive 2-column grid for products on mobile */
@media (max-width: 600px) {
    
    .biocyte-custom-cart-container .cart-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 16px !important;
    }
    .biocyte-custom-cart-container .item-image {
        margin: 0 auto !important;
    }
    .biocyte-custom-cart-container .item-actions {
        flex-direction: column !important;
        gap: 10px !important;
    }
    .biocyte-custom-cart-container .cart-list-buttons {
        flex-direction: column !important;
        width: 100% !important;
    }
    .biocyte-custom-cart-container .btn-clear-cart,
    .biocyte-custom-cart-container .btn-update-cart {
        width: 100% !important;
    }
    
    /* Ensure Cross-sells also show 2 per row */
    .biocyte-custom-cart-container .cross-sells ul.products {
        display: flex !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 16px !important;
    }
    .biocyte-custom-cart-container .cross-sells ul.products li.product {
        width: 100% !important;
        margin: 0 !important;
    }
}

/* Clear cart and Update cart styling */
.biocyte-custom-cart-container .cart-list-buttons .btn-clear-cart,
.biocyte-custom-cart-container .cart-list-buttons .btn-update-cart {
    height: 56px !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid var(--sunrise-amber) !important;
    color: var(--ink) !important;
    transition: all 0.3s ease !important;
    background: transparent !important;
}

.biocyte-custom-cart-container .cart-list-buttons .btn-clear-cart:hover,
.biocyte-custom-cart-container .cart-list-buttons .btn-update-cart:hover {
    background: var(--sunrise-amber) !important;
    color: #fff !important;
}


/* Convert Cart Items from Cards to List */
.biocyte-custom-cart-container .cart-item {
    display: flex !important;
    grid-template-columns: 100px 1fr auto !important;
    align-items: center !important;
    gap: 24px !important;
    background: transparent !important; /* Remove card bg */
    border: none !important; /* Remove card border */
    border-bottom: 1px solid rgba(17, 17, 17, 0.08) !important; /* Add list separator */
    border-radius: 0 !important; /* Remove rounded corners */
    padding: 24px 0 !important;
    box-shadow: none !important; /* Remove shadow */
    text-align: left !important;
}

.biocyte-custom-cart-container .cart-item:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* On mobile, keep it as a list row but shrink elements slightly */
@media (max-width: 600px) {
    .biocyte-custom-cart-container .cart-items {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }
    .biocyte-custom-cart-container .cart-item {
        grid-template-columns: 80px 1fr auto !important;
        gap: 16px !important;
        padding: 20px 0 !important;
        flex-direction: row !important; /* override previous flex column */
    }
    .biocyte-custom-cart-container .item-image {
        width: 80px !important;
        height: 80px !important;
        margin: 0 !important; /* remove margin auto */
    }
    .biocyte-custom-cart-container .item-actions {
        flex-direction: column !important;
        gap: 16px !important;
        align-items: flex-end !important;
    }
}


/* Remove border from cart totals */
.biocyte-custom-cart-container .cart_totals {
    border: none !important;
}


/* Pull Cart up to header by resetting theme wrapper margins */
.woocommerce-cart .site-content,
.woocommerce-cart .page-content,
.woocommerce-cart .entry-content,
.woocommerce-cart #content,
.woocommerce-cart #main,
.woocommerce-cart .content-area {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.woocommerce-cart .biocyte-custom-cart-container {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.woocommerce-cart .page-header {
    padding-top: 0 !important;
    margin-top: 0 !important;
}


/* Force pull cart up using negative margin */
.woocommerce-cart .biocyte-custom-cart-container {
    margin-top: -80px !important;
}

/* Also ensure the empty cart container is pulled up */
.woocommerce-cart .cart-empty {
    margin-top: 20px !important;
}


/* Variation formatting in cart */
.biocyte-custom-cart-container .item-details dl.variation {
    display: inline-flex !important;
    align-items: center !important;
    background: linear-gradient(135deg, var(--indigo-deep) 0%, var(--clarity-teal) 100%) !important;
    color: #fff !important;
    padding: 6px 16px !important;
    border-radius: 50px !important;
    font-size: 0.85rem !important;
    margin: 0 !important;
    white-space: nowrap !important;
}

.biocyte-custom-cart-container .item-details dl.variation dt,
.biocyte-custom-cart-container .item-details dl.variation dd,
.biocyte-custom-cart-container .item-details dl.variation p {
    margin: 0 !important;
    padding: 0 !important;
    font-weight: 500 !important;
    color: #fff !important;
    display: inline !important;
}

.biocyte-custom-cart-container .item-details dl.variation dt {
    margin-right: 4px !important;
}

.biocyte-custom-cart-container .variation-group {
    flex-shrink: 0;
}

/* Fix mobile alignment */
@media (max-width: 600px) {
    .biocyte-custom-cart-container .item-actions {
        padding-right: 20px !important;
    }
}


/* Fix text alignment for all cart products */
.biocyte-custom-cart-container .cart-item,
.biocyte-custom-cart-container .item-details,
.biocyte-custom-cart-container .title-price-group {
    text-align: left !important;
}

.biocyte-custom-cart-container .item-details {
    justify-content: flex-start !important;
}


/* Hardcode text left alignment for all cart text elements */
.biocyte-custom-cart-container .item-details {
    justify-content: flex-start !important;
}
.biocyte-custom-cart-container .title-price-group {
    align-items: flex-start !important;
    text-align: left !important;
    width: auto !important;
}
.biocyte-custom-cart-container .item-title,
.biocyte-custom-cart-container .item-price {
    text-align: left !important;
    margin-right: auto !important;
}


/* Fix horizontal overflow globally without breaking sticky header */
html, body {
    overflow-x: clip;
}

/* Ensure cart list itself does NOT break viewport */
.biocyte-custom-cart-container .cart-items {
    max-width: 100%;
}

/* Fix mobile buttons */
@media (max-width: 600px) {
    .biocyte-custom-cart-container .cart-list-buttons {
        flex-direction: row !important;
        justify-content: space-between !important;
        width: 100% !important;
    }
    .biocyte-custom-cart-container .cart-list-buttons .btn-clear-cart,
    .biocyte-custom-cart-container .cart-list-buttons .btn-update-cart {
        width: 48% !important;
        height: 48px !important;
        padding: 0 10px !important;
        font-size: 0.85rem !important;
    }
    
    /* Make sure grid items align to start, fixing centering issue */
    .biocyte-custom-cart-container .cart-item {
        justify-items: start !important;
    }
}

/* Aggressive left alignment for non-variable products */
.biocyte-custom-cart-container .cart-item {
    justify-items: start !important;
    text-align: left !important;
}
.biocyte-custom-cart-container .item-details {
    width: 100% !important;
    justify-content: flex-start !important;
    text-align: left !important;
}
.biocyte-custom-cart-container .title-price-group {
    width: 100% !important;
    align-items: flex-start !important;
    text-align: left !important;
}
.biocyte-custom-cart-container .item-title {
    text-align: left !important;
    display: block !important;
    width: 100% !important;
}


/* Critical Mobile Overflow Fixes */
.biocyte-custom-cart-container,
.biocyte-custom-cart-container * {
    box-sizing: border-box !important;
}

.biocyte-custom-cart-container .item-details dl.variation {
    white-space: normal !important;
    max-width: 100% !important;
    word-break: break-word !important;
}

@media (max-width: 600px) {
    /* Shrink the cart item columns so they fit in 300px */
    .biocyte-custom-cart-container .cart-item {
        grid-template-columns: 60px 1fr 40px !important;
        gap: 10px !important;
        padding: 16px 10px !important;
        width: 100% !important;
    }
    
    .biocyte-custom-cart-container .item-image {
        width: 60px !important;
        height: 60px !important;
    }
    
    .biocyte-custom-cart-container .item-actions {
        padding-right: 0 !important;
        width: 40px !important;
        align-items: center !important;
    }
    
    /* Allow text to wrap and shrink */
    .biocyte-custom-cart-container .item-details,
    .biocyte-custom-cart-container .title-price-group {
        min-width: 0 !important;
    }
    
    .biocyte-custom-cart-container .item-title {
        word-break: break-word !important;
        font-size: 0.95rem !important;
    }

    /* Stack the coupon field vertically on small screens */
    .biocyte-custom-cart-container .coupon-input-group {
        flex-direction: column !important;
        width: 100% !important;
        gap: 10px !important;
    }
    
    .biocyte-custom-cart-container .coupon-input,
    .biocyte-custom-cart-container .btn-apply {
        width: 100% !important;
        border-radius: 8px !important;
    }

    /* Fix Update/Clear buttons sizing */
    .biocyte-custom-cart-container .cart-list-buttons {
        gap: 10px !important;
        width: 100% !important;
        padding: 0 !important;
    }
    
    .biocyte-custom-cart-container .btn-clear-cart,
    .biocyte-custom-cart-container .btn-update-cart {
        width: calc(50% - 5px) !important;
        padding: 0 5px !important;
    }
    
    /* Fix cart totals padding */
    .biocyte-custom-cart-container .cart-collaterals {
        padding: 0 10px !important;
    }
}


/* Fix coupon button height on mobile */
@media (max-width: 600px) {
    .biocyte-custom-cart-container .coupon-input,
    .biocyte-custom-cart-container .btn-apply {
        height: 48px !important;
        box-sizing: border-box !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}


/* Remove borders inside Cart Totals table */
.biocyte-custom-cart-container .cart_totals table,
.biocyte-custom-cart-container .cart_totals table th,
.biocyte-custom-cart-container .cart_totals table td,
.biocyte-custom-cart-container .cart_totals table tr {
    border: none !important;
}


/* Restore Quantity Spin Arrows */
.biocyte-custom-cart-container .quantity input[type="number"]::-webkit-inner-spin-button, 
.biocyte-custom-cart-container .quantity input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: inner-spin-button !important;
  opacity: 1 !important;
  display: block !important;
  height: 100% !important;
}

.biocyte-custom-cart-container .quantity input[type="number"] {
  -moz-appearance: number-input !important;
  padding-right: 2px !important;
}


/* Premium Custom Quantity Styling */
.biocyte-custom-cart-container .quantity {
    display: inline-flex !important;
    align-items: center !important;
    border: 1px solid rgba(17,17,17,0.15) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: #fff !important;
    height: 36px !important;
}

.biocyte-custom-cart-container .qty-btn {
    background: transparent !important;
    border: none !important;
    width: 28px !important;
    height: 100% !important;
    font-size: 1.2rem !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--ink) !important;
    padding: 0 !important;
    transition: background 0.2s !important;
}

.biocyte-custom-cart-container .qty-btn:hover {
    background: rgba(17,17,17,0.05) !important;
}

/* Hide native spinners completely */
.biocyte-custom-cart-container .quantity input.qty::-webkit-inner-spin-button,
.biocyte-custom-cart-container .quantity input.qty::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

.biocyte-custom-cart-container .quantity input.qty {
    -moz-appearance: textfield !important;
    appearance: none !important;
    border: none !important;
    width: 36px !important;
    text-align: center !important;
    padding: 0 !important;
    height: 100% !important;
    font-weight: 600 !important;
    background: transparent !important;
}

.biocyte-custom-cart-container .quantity input.qty:focus {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}


/* Ensure buttons never look disabled */
.biocyte-custom-cart-container .btn-clear-cart:disabled,
.biocyte-custom-cart-container .btn-update-cart:disabled,
.biocyte-custom-cart-container .btn-update-cart.button:disabled {
    opacity: 1 !important;
    color: #111111 !important; /* Dark ink */
    border-color: var(--sunrise-amber) !important;
    cursor: pointer !important;
    background: transparent !important;
}

/* Force dark color on the text normally too */
.biocyte-custom-cart-container .btn-clear-cart,
.biocyte-custom-cart-container .btn-update-cart,
.biocyte-custom-cart-container .btn-update-cart.button {
    color: #111111 !important;
}

/* ==========================================================================
   Variation Lightbox Modal
   ========================================================================== */
.biocyte-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 99999;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.biocyte-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.biocyte-modal-content {
    background: #ffffff;
    width: 90%;
    max-width: 400px;
    border-radius: 16px;
    padding: 30px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

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

.biocyte-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    width: 32px;
    height: 32px;
    cursor: pointer;
    color: var(--ink);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.2s ease;
}

.biocyte-modal-close:hover {
    background: rgba(0,0,0,0.05);
}

.biocyte-modal-close svg {
    width: 20px;
    height: 20px;
}

.modal-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 5px;
    margin-top: 0;
}

.modal-prompt {
    font-family: 'Inter', sans-serif;
    color: rgba(17,17,17,0.6);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.modal-variations {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-btn-variant {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border: 1px solid rgba(17,17,17,0.1);
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    transition: all 0.2s ease;
    background: #fff;
}

.modal-btn-variant:hover {
    border-color: var(--clarity-teal);
    background: rgba(0, 180, 170, 0.03);
    color: var(--clarity-teal);
}

.modal-variant-price {
    font-weight: 700;
    color: var(--sunrise-amber);
}

/* Let's make sure the plus button has no outline if it's a button */
.btn-trigger-modal {
    background: transparent;
    border: none;
    cursor: pointer;
}





/* AGGRESSIVE OVERRIDE FOR PRODUCT PRICE V3 */
.product-card .product-bottom .product-price {
  font-size: 1rem !important;
  display: flex !important;
  
  align-items: center !important;
  gap: 4px !important;
  line-height: 1.2 !important;
}

.product-card .product-bottom .product-price span, 
.product-card .product-bottom .product-price bdi {
  white-space: nowrap !important;
}

/* Ensure the bottom container aligns elements properly */
.product-card .product-bottom {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  
}

/* Keep the button safe from shrinking */
.product-card .product-bottom .btn-cart,
.product-card .product-bottom .btn-trigger-modal {
  flex-shrink: 0 !important;
}

/* ==========================================================================
   MINI-CART / SLIDE-OUT CART OVERRIDES
   ========================================================================== */

/* 1. Make the <li> container a row to hold Remove, Image+Title, and Quantity */
.woocommerce-mini-cart-item, .mini_cart_item {
    display: flex !important;
    align-items: center !important;
    
    gap: 15px !important;
    padding-bottom: 15px !important;
}

/* 2. Target the main link that holds the image and title */
.woocommerce-mini-cart-item a:not(.remove), 
.mini_cart_item a:not(.remove) {
    display: flex !important;
    align-items: center !important;
    
    max-width: 60% !important; /* Restrict width so it breaks */
    text-align: left !important;
    word-break: break-word !important;
    white-space: normal !important;
    gap: 15px !important;
}

/* 3. Lock the image size so it doesn't get crushed */
.woocommerce-mini-cart-item img, 
.mini_cart_item img {
    flex-shrink: 0 !important;
    width: 60px !important;
    height: auto !important;
    margin: 0 !important; /* Remove float or default margins */
}

/* 4. Push the quantity/price to the right and color it amber */
.woocommerce-mini-cart-item .quantity, 
.mini_cart_item .quantity {
    margin-left: auto !important;
    color: var(--sunrise-amber) !important;
    font-weight: 700 !important;
    flex-shrink: 0 !important;
}

.woocommerce-mini-cart-item .quantity .amount, 
.mini_cart_item .quantity .amount {
    color: var(--sunrise-amber) !important;
}

/* 5. Subtotal color to bloom coral */
.woocommerce-mini-cart__total,
.widget_shopping_cart_content .total,
.woocommerce-mini-cart__total strong {
    color: var(--bloom-coral) !important;
}
.woocommerce-mini-cart__total .amount,
.widget_shopping_cart_content .total .amount {
    color: var(--bloom-coral) !important;
}

/* 6. Move the X (remove) button to the far left in the flex flow */
.woocommerce-mini-cart-item a.remove, 
.mini_cart_item a.remove {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    margin-right: 15px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    order: -1 !important; /* Force it to be the very first item */
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    background: transparent !important;
    color: var(--ink) !important;
    border: 1px solid rgba(17,17,17,0.1) !important;
    text-decoration: none !important;
}

.woocommerce-mini-cart-item a.remove:hover, 
.mini_cart_item a.remove:hover {
    background: rgba(17,17,17,0.05) !important;
    color: var(--bloom-coral) !important;
    border-color: var(--bloom-coral) !important;
}

/* 7. Bloom Coral border for the delete (X) button */
.woocommerce-mini-cart-item a.remove, 
.mini_cart_item a.remove {
    border: 1px solid var(--bloom-coral) !important;
    color: var(--bloom-coral) !important;
}
.woocommerce-mini-cart-item a.remove:hover, 
.mini_cart_item a.remove:hover {
    background: var(--bloom-coral) !important;
    color: #fff !important;
}

/* 8. Checkout button in mobile cart gradient */
.woocommerce-mini-cart__buttons .checkout,
.widget_shopping_cart_content .buttons .checkout {
    background: linear-gradient(135deg, var(--clarity-teal), var(--indigo-core)) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: opacity 0.3s ease !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin-top: 10px !important;
}

.woocommerce-mini-cart__buttons .checkout:hover,
.widget_shopping_cart_content .buttons .checkout:hover {
    opacity: 0.9 !important;
}

/* ==========================================================================
   SINGLE PRODUCT PAGE - PREMIUM LAYOUT
   ========================================================================== */

/* 1. Grid Layout Container */
.biocyte-single-product-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.biocyte-single-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

@media (max-width: 768px) {
    .biocyte-single-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* 2. Left Column: Gallery */
.biocyte-single-gallery .woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* 3. Right Column: Summary */
.biocyte-single-summary .product_title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 15px;
    line-height: 1.2;
}

.biocyte-single-summary .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--indigo-core);
    margin-bottom: 20px;
}

.biocyte-single-summary .woocommerce-product-details__short-description {
    font-size: 1.1rem;
    color: var(--slate);
    line-height: 1.6;
    margin-bottom: 30px;
}

/* 4. Trust Badges */
.biocyte-trust-badges {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 10px 0 15px 0;
    padding: 20px;
    background: #fdfdfd;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--ink);
}

.trust-badge-item .trust-icon {
    width: 24px;
    height: 24px;
    color: var(--bloom-coral);
    flex-shrink: 0;
}

/* 5. Quantity Box Styling (Matches Cart) */
.qty-wrapper {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    overflow: hidden;
    height: 48px;
    background: #fff;
}

.qty-wrapper .qty-btn {
    width: 48px;
    height: 48px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--ink);
    transition: background 0.2s;
}

.qty-wrapper .qty-btn:hover {
    background: rgba(0,0,0,0.05);
}

.qty-wrapper .qty-btn svg {
    width: 16px;
    height: 16px;
}

.qty-wrapper .qty-input {
    width: 50px;
    height: 48px;
    text-align: center;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    color: var(--ink);
    -moz-appearance: textfield;
}

.qty-wrapper .qty-input::-webkit-outer-spin-button,
.qty-wrapper .qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* 6. Add to Cart Button (Premium Gradient) */
.biocyte-single-summary form.cart {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.biocyte-single-summary .single_add_to_cart_button {
    background: linear-gradient(135deg, var(--clarity-teal), var(--indigo-core)) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 14px 32px !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    transition: opacity 0.3s ease, transform 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 48px !important;
}

.biocyte-single-summary .single_add_to_cart_button:hover {
    opacity: 0.9 !important;
    transform: translateY(-2px) !important;
}

/* ==========================================================================
   SINGLE PRODUCT PAGE REFINEMENTS
   ========================================================================== */

/* Hero Section */
.biocyte-single-hero {
    background: linear-gradient(135deg, var(--clarity-teal), var(--indigo-deep));
    padding: 60px 20px;
    text-align: center;
    color: white;
    margin-bottom: 40px;
}

.biocyte-single-hero-inner {
    max-width: 800px;
    margin: 0 auto;
}

.biocyte-single-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 10px;
}

.biocyte-single-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Constrained Image Box */
.biocyte-image-box { background: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    max-width: 100%;
    margin: 0 auto;
}

/* Hide the duplicate title in the summary area since it is in the hero */
.biocyte-single-summary .product_title {
    display: none !important;
}

/* ==========================================================================
   RELATED PRODUCTS CAROUSEL & SIDEBAR REMOVAL
   ========================================================================== */

/* Turn related products into a horizontal scrolling carousel */
.related .product-grid {
    display: flex !important;
    
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--mist) transparent;
}

.related .product-grid::-webkit-scrollbar {
    height: 8px;
}

.related .product-grid::-webkit-scrollbar-track {
    background: transparent;
}

.related .product-grid::-webkit-scrollbar-thumb {
    background: var(--mist);
    border-radius: 8px;
}

.related .product-card {
    flex: 0 0 300px !important; /* Fixed card width for the carousel */
    max-width: 300px !important;
    scroll-snap-align: start;
    margin-bottom: 0 !important;
}

/* Hide default WP widgets if they slip through */
.widget_search,
.widget_pages,
.widget_archive,
.widget_categories,
.widget_recent_entries,
.widget_recent_comments,
.widget_meta {
    display: none !important;
}

/* Fix image box collapsing due to WooCommerce floats */
.biocyte-image-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.biocyte-single-gallery .woocommerce-product-gallery {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
}

.biocyte-single-gallery .woocommerce-product-gallery__wrapper {
    margin: 0 !important;
}

.biocyte-single-gallery .woocommerce-product-gallery__image {
    width: 100% !important;
}

/* Ensure the image doesn't overflow */
.biocyte-single-gallery .woocommerce-product-gallery__image img {
    width: 100% !important;
    height: auto !important;
    display: block;
    margin: 0 auto;
}

/* Move image box to the left on desktop */
@media (min-width: 769px) {
    .biocyte-image-box {
        margin: 0 auto 0 0 !important;
    }
}

/* Custom Description Box */
.biocyte-product-description-box {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    margin: 40px 0;
}
.biocyte-product-description-box h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--ink);
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}
.biocyte-product-description-box .description-content {
    line-height: 1.8;
    color: var(--slate);
    font-size: 1.1rem;
}

/* Mobile Portrait Tweaks */
@media (max-width: 480px) {
    /* Make related cards taller and images fit */
    .related .product-card {
        min-height: 420px !important;
        height: auto !important;
    }
    .related .product-image-wrapper {
        height: 220px !important;
        padding: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #fff;
    }
    .related .product-image-wrapper img {
        object-fit: contain !important;
        max-height: 100% !important;
        width: auto !important;
    }
    
    /* Reduce SKU and category font size */
    .biocyte-single-summary .product_meta {
        font-size: 0.8rem !important;
        line-height: 1.4;
    }
    .biocyte-single-summary .product_meta .sku_wrapper,
    .biocyte-single-summary .product_meta .posted_in {
        display: block;
        margin-bottom: 5px;
    }
}

/* ==========================================================================
   USER REQUESTED STYLES: PRICE, BADGES, AND VARIATION BUTTONS
   ========================================================================== */

/* Change price color to amber */
.biocyte-single-summary > .price,
.biocyte-single-summary .price .amount,
.woocommerce-variation-price .price .amount {
    color: var(--sunrise-amber) !important;
}

/* Change sale badge color to bloom coral */
span.onsale, .woocommerce span.onsale {
    background-color: var(--bloom-coral) !important;
    color: #fff !important;
}

/* Change guaranteed purity and shipping icons to bloom coral */
.biocyte-trust-badges svg {
    color: var(--bloom-coral) !important;
    stroke: var(--bloom-coral) !important;
}

/* Hide original dropdown and style variation buttons */
.biocyte-hidden-select {
    display: none !important;
}

.biocyte-variation-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.biocyte-var-btn {
    background: transparent;
    color: var(--sunrise-amber);
    border: 2px solid var(--bloom-coral);
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.biocyte-var-btn:hover {
    background: var(--bloom-coral);
    color: #fff;
}

.biocyte-var-btn.active {
    background: var(--sunrise-amber);
    border-color: var(--sunrise-amber);
    color: #fff;
}

.biocyte-single-summary table.variations th.label {
    vertical-align: middle;
    padding-right: 15px;
    color: var(--ink);
}

/* Make variation buttons smaller and force them to the same line */
.biocyte-variation-buttons {
    display: flex !important;
    
    flex-direction: row !important;
    gap: 8px !important;
    margin-top: 0 !important;
}

.biocyte-var-btn {
    padding: 6px 12px !important;
    font-size: 0.85rem !important;
    white-space: nowrap !important;
    flex: 0 1 auto !important;
    display: inline-block !important;
    width: auto !important;
}

/* Desktop: Align Quantity and Add to Cart on the same line */
@media (min-width: 769px) {
    .woocommerce div.product form.cart {
        display: block !important;
    }

    .woocommerce div.product form.cart .woocommerce-variation-add-to-cart {
        display: flex !important;
        align-items: center !important;
        gap: 15px !important;
        
        margin-top: 10px;
    }
    
    .woocommerce div.product form.cart .quantity {
        margin-bottom: 0 !important;
    }
    
    .woocommerce div.product form.cart button.button.alt {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
}



/* Desktop: Align Quantity and Add to Cart on the same line for SIMPLE products */
@media (min-width: 769px) {
    .woocommerce div.product form.cart:not(.variations_form) {
        display: flex !important;
        align-items: center !important;
        gap: 15px !important;
        
        margin-top: 10px;
    }
}

/* Prevent shrinking and text wrapping on Add to Cart button and Quantity box */
.woocommerce div.product form.cart .quantity,
.woocommerce div.product form.cart button.button {
    flex-shrink: 0 !important;
}

.woocommerce div.product form.cart button.button {
    white-space: nowrap !important;
    width: auto !important;
    padding-left: 30px !important;
    padding-right: 30px !important;
}

/* Bring price closer to category text */
.biocyte-single-summary .price {
    margin-bottom: 0 !important;
}

/* Increase price size */
.biocyte-single-summary > .price,
.biocyte-single-summary .price .amount,
.woocommerce-variation-price .price .amount {
    font-size: 1.8rem !important;
    font-weight: 800 !important;
}

/* Made in USA Ribbon */
.biocyte-image-box {
    position: relative;
}

.biocyte-image-box::before {
    content: "Made In USA";
    position: absolute;
    top: 25px;
    right: -35px;
    background: var(--bloom-coral);
    color: white;
    padding: 7px 40px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: rotate(45deg);
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    pointer-events: none;
}

/* Change image box background to the requested grey */
.biocyte-image-box {
    background: #e3e4e5 !important;
}

/* Change product card background to the requested grey across the site */
.product-card {
    background: #e3e4e5 !important;
}

.product-image-wrapper {
    background: transparent !important;
}

/* Move sale badge in portrait/mobile */
@media (max-width: 768px) {
    span.onsale, .woocommerce span.onsale {
        left: 8px !important;
        top: 8px !important;
    }
}

/* Carousel hide scrollbar */
.biocyte-auto-carousel {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
.biocyte-auto-carousel::-webkit-scrollbar {
    display: none;
}

/* Carousel Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 1px solid var(--mist);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    color: var(--ink);
    transition: all 0.3s ease;
}
.carousel-btn:hover {
    background: var(--bloom-coral);
    color: white;
    border-color: var(--bloom-coral);
}
.carousel-btn svg {
    width: 20px;
    height: 20px;
}
.prev-btn {
    left: -22px;
}
.next-btn {
    right: -22px;
}
@media (max-width: 768px) {
    .prev-btn { left: 0px; }
    .next-btn { right: 0px; }
}

/* Prevent trust badges text from wrapping */
.biocyte-trust-badges {
    width: max-content !important;
    max-width: 100% !important;
}

.biocyte-trust-badges span {
    white-space: nowrap !important;
}

/* Fix trust badges box width */
.biocyte-trust-badges {
    display: inline-flex !important;
    width: auto !important;
    padding-right: 30px !important; /* Ensure extra space on right */
}

/* Force trust badges box to expand */
.biocyte-trust-badges {
    min-width: max-content !important;
    max-width: none !important;
}

/* Stock Badge Pulse Animation */
@keyframes biocytePulse {
    0% { transform: scale(0.95); opacity: 1; box-shadow: 0 0 0 0 rgba(0,0,0,0.3); }
    70% { transform: scale(1); opacity: 0.7; box-shadow: 0 0 0 6px rgba(0,0,0,0); }
    100% { transform: scale(0.95); opacity: 1; box-shadow: 0 0 0 0 rgba(0,0,0,0); }
}

.stock-light {
    animation: biocytePulse 2s infinite;
}

/* UI Additions: Fav btn, Buy Now, Perks */
.biocyte-fav-btn {
    background: transparent;
    border: 1px solid var(--mist);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--ink);
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.biocyte-fav-btn:hover {
    background: #fdfdfd;
    color: var(--bloom-coral);
    border-color: var(--bloom-coral);
}
.biocyte-fav-btn svg {
    width: 24px;
    height: 24px;
}

.biocyte-buy-now-btn {
    background-color: var(--sunrise-amber) !important;
    color: white !important;
    width: 100% !important;
    font-size: 1.1rem !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px !important;
    border-radius: 8px !important;
    margin-top: 5px !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.biocyte-buy-now-btn:hover {
    background-color: #d9911e !important;
}

.biocyte-perks-box {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid var(--mist);
}

.perk-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.perk-item svg {
    width: 24px;
    height: 24px;
    color: var(--bloom-coral);
    flex-shrink: 0;
    margin-top: 2px;
}
.perk-item strong {
    font-size: 0.95rem;
    color: var(--ink);
    display: block;
    line-height: 1.3;
}
.perk-sub {
    font-size: 0.8rem;
    color: #666;
    margin-top: 2px;
    display: block;
}

/* Critical layout fixes for Buy Now button and Add to Cart row */

.woocommerce div.product form.cart .biocyte-buy-now-btn {
    width: 100% !important;
    flex-basis: 100% !important;
    white-space: normal !important;
}

/* Ensure simple product cart behaves exactly like variable cart */
@media (min-width: 769px) {
    .woocommerce div.product form.cart:not(.variations_form) {
        display: flex !important;
        align-items: center !important;
        gap: 15px !important;
        
    }
}

/* Bulletproof Grid Layout for Add to Cart Row */
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart,
.woocommerce div.product form.cart:not(.variations_form) {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 15px !important;
    margin-top: 10px;
}

/* Force Buy Now to span full width on next row */
.woocommerce div.product form.cart .biocyte-buy-now-btn {
    flex-basis: 100% !important;
    width: 100% !important;
    margin-top: 5px !important;
}

/* Hide the flex-break div */
.woocommerce div.product form.cart div[style*="flex-basis: 100%"] {
    display: none !important;
}

/* Fix Flex Wrapping for Add to Cart Row */
.woocommerce div.product form.cart .woocommerce-variation {
    width: 100% !important;
    flex-basis: 100% !important;
    margin-bottom: 10px !important;
}

.woocommerce div.product form.cart .quantity {
    margin: 0 !important;
    flex-shrink: 0 !important;
    display: inline-flex !important;
}

.woocommerce div.product form.cart button.single_add_to_cart_button {
    margin: 0 !important;
    flex-shrink: 0 !important;
}

.woocommerce div.product form.cart .biocyte-fav-btn {
    margin: 0 !important;
    flex-shrink: 0 !important;
}

.woocommerce div.product form.cart .biocyte-buy-now-btn {
    margin-top: 10px !important;
    width: 100% !important;
    flex-basis: 100% !important;
}

/* Clear any weird WooCommerce floats or clearfixes */
.woocommerce div.product form.cart::before,
.woocommerce div.product form.cart::after,
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart::before,
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart::after {
    display: none !important;
}

/* Force Quantity Box to inline */
.woocommerce div.product form.cart .quantity {
    display: inline-flex !important;
    width: auto !important;
    max-width: fit-content !important;
    margin-right: 15px !important;
}

.woocommerce div.product form.cart button.single_add_to_cart_button {
    margin-right: 15px !important;
}

/* Ensure form acts like a single block so buttons line up */
.woocommerce div.product form.cart {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
}

/* For trust badges, allow text wrap if needed because of new long items */
.biocyte-trust-badges span {
    white-space: normal !important;
    line-height: 1.3 !important;
}
.biocyte-trust-badges {
    max-width: 100% !important;
}

/* Force Cart Form and Buy Now Button to full width */
.woocommerce div.product form.cart {
    width: 100% !important;
}
.woocommerce div.product form.cart .biocyte-buy-now-btn {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
}




/* --- BIOCYTE LAYOUT FIXES --- */

/* 1. Widen Image Box & Move Summary Left */
@media (min-width: 769px) {
    .biocyte-single-grid {
        grid-template-columns: 1.4fr 1fr !important;
        gap: 50px !important; 
    }
}






/* 2. Format Trust Badges */
.biocyte-trust-badges {
    width: 100% !important;
    box-sizing: border-box !important;
}

.biocyte-trust-badges span {
    white-space: normal !important;
    line-height: 1.3 !important;
}

/* 3. Action Row (Quantity, Add to Cart, Fav) */
.woocommerce div.product form.cart {
    width: 100% !important;
    display: block !important; 
}

.biocyte-action-row {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
}

.woocommerce div.product form.cart .quantity {
    width: 100px !important;
    min-width: 100px !important;
    margin: 0 !important;
}

.woocommerce div.product form.cart .quantity input.qty {
    width: 35px !important;
    padding: 0 5px !important;
}

.woocommerce div.product form.cart button.single_add_to_cart_button {
    padding-left: 15px !important;
    padding-right: 15px !important;
    min-width: 0 !important;
    width: auto !important;
    margin: 0 !important;
}

/* 4. Buy Now Button (Full Width underneath action row) */
.woocommerce div.product form.cart .biocyte-buy-now-btn {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
    margin-top: 15px !important;
}

@media (max-width: 768px) {
    .woocommerce div.product div.summary {
        min-width: 100% !important;
    }
}

/* Increase image size by stripping max-width and reducing padding */
.biocyte-image-box {
    padding: 10px !important;
    max-width: 600px !important; /* Allow it to grow much larger */
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Sledgehammer for Buy Now Stretching */
.woocommerce div.product form.cart,
.woocommerce div.product form.cart .biocyte-action-row,
.woocommerce div.product form.cart .biocyte-buy-now-btn {
    width: 100% !important;
    min-width: 100% !important;
    box-sizing: border-box !important;
}

/* Force Cart Row Flex Direction */
.woocommerce div.product form.cart {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    min-width: 100% !important;
}

.woocommerce div.product form.cart .biocyte-action-row {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

.woocommerce div.product form.cart .biocyte-buy-now-btn {
    width: 100% !important;
    align-self: stretch !important;
    flex: 1 1 100% !important;
}


/* --- SHOP ARCHIVE LAYOUT --- */
.biocyte-shop-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.biocyte-shop-sidebar {
    order: -1;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.05);
    align-self: start;
}

.biocyte-shop-sidebar .widget {
    margin-bottom: 40px;
}

.biocyte-shop-sidebar .widget:last-child {
    margin-bottom: 0;
}

.biocyte-shop-sidebar .widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--indigo-deep, #1E2452);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.biocyte-shop-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.biocyte-shop-sidebar ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.biocyte-shop-sidebar ul li a {
    color: #555;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.biocyte-shop-sidebar ul li a:hover {
    color: var(--clarity-teal, #1CA6B8);
}

.biocyte-shop-sidebar ul li .count {
    background: #f1f3f5;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: #777;
    font-weight: 600;
}

/* Price Filter Slider */
.widget_price_filter .price_slider_wrapper .ui-slider {
    height: 6px;
    background: #e3e4e5;
    border-radius: 10px;
    margin-bottom: 20px;
}

.widget_price_filter .ui-slider .ui-slider-range {
    background: var(--clarity-teal, #1CA6B8);
}

.widget_price_filter .ui-slider .ui-slider-handle {
    width: 18px;
    height: 18px;
    background: #fff;
    border: 3px solid var(--clarity-teal, #1CA6B8);
    border-radius: 50%;
    top: -6px;
    outline: none;
    cursor: ew-resize;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.widget_price_filter .price_slider_amount {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 600;
    color: #444;
}

.widget_price_filter .price_slider_amount .button {
    background: var(--indigo-deep, #1E2452);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease;
}

.widget_price_filter .price_slider_amount .button:hover {
    background: var(--clarity-teal, #1CA6B8);
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .biocyte-shop-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .biocyte-shop-sidebar {
    order: -1;
        order: -1;
        padding: 20px;
    }
}

/* --- SIDEBAR LIST FIX --- */

.biocyte-shop-sidebar ul li {
    margin-bottom: 12px !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
}

.biocyte-shop-sidebar ul li a {
    color: #555 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: color 0.2s ease !important;
    flex: 1 !important;
    padding-right: 10px !important;
    line-height: 1.4 !important;
}

.biocyte-shop-sidebar ul.children {
    flex: 1 1 100% !important;
    margin-left: 15px !important;
    margin-top: 10px !important;
    padding-left: 10px !important;
    border-left: 2px solid rgba(28, 166, 184, 0.1) !important;
}

.biocyte-shop-sidebar ul li .count {
    background: #f1f3f5 !important;
    padding: 2px 8px !important;
    border-radius: 20px !important;
    font-size: 0.75rem !important;
    color: #777 !important;
    font-weight: 600 !important;
    margin-top: 2px !important;
}


/* --- ULTIMATE SIDEBAR LIST FIX --- */
.biocyte-shop-sidebar ul.product-categories li.cat-item {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    align-items: center !important;
    margin-bottom: 12px !important;
}

.biocyte-shop-sidebar ul.product-categories li.cat-item a {
    color: #555 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: color 0.2s ease !important;
    padding-right: 10px !important;
    line-height: 1.4 !important;
    display: block !important;
}

.biocyte-shop-sidebar ul.product-categories li.cat-item .count {
    background: #f1f3f5 !important;
    padding: 2px 8px !important;
    border-radius: 20px !important;
    font-size: 0.75rem !important;
    color: #777 !important;
    font-weight: 600 !important;
    margin-top: 2px !important;
}

.biocyte-shop-sidebar ul.product-categories ul.children {
    grid-column: 1 / -1 !important;
    margin-left: 15px !important;
    margin-top: 10px !important;
    padding-left: 10px !important;
    border-left: 2px solid rgba(28, 166, 184, 0.2) !important;
}


/* --- 1. PRODUCT CARDS STYLING (MATCH HOMEPAGE) --- */
.biocyte-shop-main ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
    gap: 30px !important;
    padding: 0 !important;
}

.biocyte-shop-main ul.products li.product {
    background-color: white !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    position: relative !important;
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    transition: all 0.3s ease !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.biocyte-shop-main ul.products li.product:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.08) !important;
}

.biocyte-shop-main ul.products li.product > a.woocommerce-LoopProduct-link {
    display: block !important;
    flex-grow: 1 !important;
}

/* Image Wrapper */
.biocyte-shop-main ul.products li.product img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    margin: 0 !important;
    padding: 0 !important;
    background-color: transparent !important;
    transition: transform 0.4s ease !important;
}

.biocyte-shop-main ul.products li.product:hover img {
    transform: scale(1.08) !important;
}

/* Title & Price */
.biocyte-shop-main ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--font-display, "Montserrat", sans-serif) !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: var(--indigo-deep, #1E2452) !important;
    margin: 1.5rem 1.5rem 0.5rem 1.5rem !important;
    line-height: 1.3 !important;
}

.biocyte-shop-main ul.products li.product .price {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: var(--sunrise-amber, #F3A73B) !important;
    margin: 0 1.5rem 1.5rem 1.5rem !important;
    display: block !important;
}

/* Add to Cart Button */
.biocyte-shop-main ul.products li.product .button {
    background: transparent !important;
    border: 1px solid var(--indigo-deep, #1E2452) !important;
    color: var(--indigo-deep, #1E2452) !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    padding: 10px 0 !important;
    text-transform: uppercase !important;
    border-radius: 8px !important;
    margin: 0 1.5rem 1.5rem 1.5rem !important;
    text-align: center !important;
    display: block !important;
    transition: all 0.3s ease !important;
}

.biocyte-shop-main ul.products li.product .button:hover {
    background: var(--indigo-deep, #1E2452) !important;
    color: white !important;
}

/* Sales Badge */
.biocyte-shop-main ul.products li.product .onsale {
    background: var(--bloom-coral, #E05F55) !important;
    color: white !important;
    position: absolute !important;
    top: 15px !important;
    left: 15px !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    z-index: 10 !important;
    min-height: auto !important;
    min-width: auto !important;
    line-height: 1 !important;
}

/* --- 2. CATEGORY ICONS --- */
.biocyte-shop-sidebar ul.product-categories li.cat-item > a::before {
    content: "◾";
    color: var(--clarity-teal, #1CA6B8) !important;
    margin-right: 8px !important;
    font-size: 0.8rem !important;
    display: inline-block !important;
    transform: translateY(-1px) !important;
}

/* --- 3. PRICE SLIDER BLACK --- */
.widget_price_filter .ui-slider .ui-slider-range {
    background: #000 !important;
}

.widget_price_filter .ui-slider .ui-slider-handle {
    background: #000 !important;
    border: 2px solid #000 !important;
}

.widget_price_filter .price_slider_amount .button {
    background: #000 !important;
    color: #fff !important;
}

.widget_price_filter .price_slider_amount .button:hover {
    background: #333 !important;
}


/* --- 5. LIVE SITE PROTOTYPE PORT --- */

/* Hero Section */
.shop-hero {
    background: linear-gradient(135deg, var(--indigo-deep, #1E2452), #2a326b) !important;
    color: white !important;
    padding: 60px 20px !important;
    text-align: center !important;
    border-radius: 16px !important;
    max-width: 1260px !important;
    margin: 40px auto 0 auto !important;
    box-shadow: 0 10px 30px rgba(30, 36, 82, 0.15) !important;
    position: relative !important;
    overflow: hidden !important;
}
.shop-hero::before {
    content: '' !important;
    position: absolute !important;
    top: -50% !important;
    right: -10% !important;
    width: 400px !important;
    height: 400px !important;
    background: radial-gradient(circle, rgba(28, 166, 184, 0.15) 0%, transparent 70%) !important;
    border-radius: 50% !important;
    pointer-events: none !important;
}
.shop-hero-content h1 {
    font-family: var(--font-display, "Montserrat", sans-serif) !important;
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    margin: 0 0 15px 0 !important;
    letter-spacing: -0.5px !important;
    color: white !important;
}

/* Hide Specific Categories */
.biocyte-shop-sidebar .cat-item-27,
.biocyte-shop-sidebar .cat-item-30 {
    display: none !important;
}

/* Category Icons */
.biocyte-shop-sidebar ul.product-categories li.cat-item > a {
    display: flex !important;
    align-items: center !important;
    text-transform: capitalize !important;
}
.biocyte-shop-sidebar ul.product-categories li.cat-item > a::before {
    content: "" !important;
    display: inline-block !important;
    width: 18px !important;
    height: 18px !important;
    margin-right: 8px !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}
.biocyte-shop-sidebar ul.product-categories li.cat-item-31 > a::before {
    background-image: url('data:image/svg+xml;base64,PHN2ZyBmaWxsPSJub25lIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2U9IiMxQ0E2QjgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBkPSJNMTIgMjF2LTguMjVNMTUuNzUgMjF2LTguMjVNOC4yNSAyMXYtOC4yNU0zIDlsOS02IDkgNm0tMS41IDEyVjEwLjMzMkE0OC4zNiA0OC4zNiAwIDAwMTIgOS43NWMtMi41NTEgMC01LjA1Ni4yLTcuNS41ODJWMjFNMyAyMWgxOE0xMiA2Ljc1aC4wMDh2LjAwOEgxMlY2Ljc1eiIgLz48L3N2Zz4=') !important;
}
.biocyte-shop-sidebar ul.product-categories li.cat-item-28 > a::before {
    background-image: url('data:image/svg+xml;base64,PHN2ZyBmaWxsPSJub25lIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2U9IiMxQ0E2QjgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBkPSJNNiA2Ljg3OFY2YTIuMjUgMi4yNSAwIDAxMi4yNS0yLjI1aDcuNUEyLjI1IDIuMjUgMCAwMTE4IDZ2Ljg3OG0tMTIgMGMuMjM1LS4wODMuNDg3LS4xMjguNzUtLjEyOGgxMC41Yy4yNjMgMCAuNTE1LjA0NS43NS4xMjhtLTEyIDBBMi4yNSAyLjI1IDAgMDA0LjUgOXYuODc4bTEzLjUtM0EyLjI1IDIuMjUgMCAwMTE5LjUgOXYuODc4bTAgMGEyLjI0NiAyLjI0NiAwIDAwLS43NS0uMTI4SDUuMjVjLS4yNjMgMC0uNTE1LjA0NS0uNzUuMTI4bTE1IDBBMi4yNSAyLjI1IDAgMDEyMSAxMnY2YTIuMjUgMi4yNSAwIDAxLTIuMjUgMi4yNUg1LjI1QTIuMjUgMi4yNSAwIDAxMyAxOHYtNmMwLS45OC42MjYtMS44MTMgMS41LTIuMTIyIiAvPjwvc3ZnPg==') !important;
}
.biocyte-shop-sidebar ul.product-categories li.cat-item-21 > a::before {
    background-image: url('data:image/svg+xml;base64,PHN2ZyBmaWxsPSJub25lIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2U9IiMxQ0E2QjgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBkPSJNMTIgMTh2LTUuMjVtMCAwYTYuMDEgNi4wMSAwIDAwMS41LS4xODltLTEuNS4xODlhNi4wMSA2LjAxIDAgMDEtMS41LS4xODltMy43NSA3LjQ3OGExMi4wNiAxMi4wNiAwIDAxLTQuNSAwbTMuNzUgMi4zODNhMTQuNDA2IDE0LjQwNiAwIDAxLTMgME0xNC4yNSAxOHYtLjE5MmMwLS45ODMuNjU4LTEuODIgMS41MDgtMi4zMTZhNy41IDcuNSAwIDEwLTcuNTE2IDBjLjg1LjQ5NiAxLjUwOCAxLjMzMyAxLjUwOCAyLjMxNlYxOCIgLz48L3N2Zz4=') !important;
}
.biocyte-shop-sidebar ul.product-categories li.cat-item-29 > a::before {
    background-image: url('data:image/svg+xml;base64,PHN2ZyBmaWxsPSJub25lIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2U9IiMxQ0E2QjgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBkPSJNOS44MTMgMTUuOTA0TDkgMTguNzVsLS44MTMtMi44NDZhNC41IDQuNSAwIDAwLTMuMDktMy4wOUwyLjI1IDEybDIuODQ2LS44MTNhNC41IDQuNSAwIDAwMy4wOS0zLjA5TDkgNS4yNWwuODEzIDIuODQ2YTQuNSA0LjUgMCAwMDMuMDkgMy4wOUwxNS43NSAxMmwtMi44NDYuODEzYTQuNSA0LjUgMCAwMC0zLjA5IDMuMDl6TTE4LjI1OSA4LjcxNUwxOCA5Ljc1bC0uMjU5LTEuMDM1YTMuMzc1IDMuMzc1IDAgMDAtMi40NTUtMi40NTZMMTQuMjUgNmwxLjAzNi0uMjU5YTMuMzc1IDMuMzc1IDAgMDAyLjQ1NS0yLjQ1NkwxOCAyLjI1bC4yNTkgMS4wMzVhMy4zNzUgMy4zNzUgMCAwMDIuNDU2IDIuNDU2TDIxLjc1IDZsLTEuMDM1LjI1OWEzLjM3NSAzLjM3NSAwIDAwLTIuNDU2IDIuNDU2ek0xNi44OTQgMjAuNTY3TDE2LjUgMjEuNzVsLS4zOTQtMS4xODNhMi4yNSAyLjI1IDAgMDAtMS40MjMtMS40MjNMMTMuNSAxOC43NWwxLjE4My0uMzk0YTIuMjUgMi4yNSAwIDAwMS40MjMtMS40MjNsLjM5NC0xLjE4My4zOTQgMS4xODNhMi4yNSAyLjI1IDAgMDAxLjQyMyAxLjQyM2wxLjE4My4zOTQtMS4xODMuMzk0YTIuMjUgMi4yNSAwIDAwLTEuNDIzIDEuNDIzeiIgLz48L3N2Zz4=') !important;
}
.biocyte-shop-sidebar ul.product-categories li.cat-item-24 > a::before {
    background-image: url('data:image/svg+xml;base64,PHN2ZyBmaWxsPSJub25lIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2U9IiMxQ0E2QjgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBkPSJNMTkuNSAxMC41YzAgNy4xNDItNy41IDExLjI1LTcuNSAxMS4yNVM0LjUgMTcuNjQyIDQuNSAxMC41YTcuNSA3LjUgMCAxMTE1IDB6IiAvPjxwYXRoIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgZD0iTTE1IDEwLjVhMyAzIDAgMTEtNiAwIDMgMyAwIDAxNiAweiIgLz48L3N2Zz4=') !important;
}
.biocyte-shop-sidebar ul.product-categories li.cat-item-20 > a::before {
    background-image: url('data:image/svg+xml;base64,PHN2ZyBmaWxsPSJub25lIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2U9IiMxQ0E2QjgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBkPSJNOSAxMi43NUwxMS4yNSAxNSAxNSA5Ljc1bS0zLTcuMDM2QTExLjk1OSAxMS45NTkgMCAwMTMuNTk4IDYgMTEuOTkgMTEuOTkgMCAwMDMgOS43NDljMCA1LjU5MiAzLjgyNCAxMC4yOSA5IDExLjYyMyA1LjE3Ni0xLjMzMiA5LTYuMDMgOS0xMS42MjIgMC0xLjMxLS4yMS0yLjU3MS0uNTk4LTMuNzUxaC0uMTUyYy0zLjE5NiAwLTYuMS0xLjI0OC04LjI1LTMuMjg1eiIgLz48L3N2Zz4=') !important;
}
.biocyte-shop-sidebar ul.product-categories li.cat-item-17 > a::before {
    background-image: url('data:image/svg+xml;base64,PHN2ZyBmaWxsPSJub25lIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2U9IiMxQ0E2QjgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBkPSJNMTIgOXYybTAgNGguMDFtLTYuOTM4IDRoMTMuODU2YzEuNTQgMCAyLjUwMi0xLjY2NyAxLjczMi0zTDEzLjczMiA0Yy0uNzctMS4zMzMtMi42OTQtMS4zMzMtMy40NjQgMEwzLjM0IDE2Yy0uNzcgMS4zMzMuMTkyIDMgMS43MzIgM3oiIC8+PC9zdmc+') !important;
}
.biocyte-shop-sidebar ul.product-categories li.cat-item-22 > a::before {
    background-image: url('data:image/svg+xml;base64,PHN2ZyBmaWxsPSJub25lIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2U9IiMxQ0E2QjgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBkPSJNMTIgNnY2aDQuNW00LjUgMGE5IDkgMCAxMS0xOCAwIDkgOSAwIDAxMTggMHoiIC8+PC9zdmc+') !important;
}
.biocyte-shop-sidebar ul.product-categories li.cat-item-26 > a::before {
    background-image: url('data:image/svg+xml;base64,PHN2ZyBmaWxsPSJub25lIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2U9IiMxQ0E2QjgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBkPSJNMy43NSAxMy41bDEwLjUtMTEuMjVMMTIgMTAuNWg4LjI1TDkuNzUgMjEuNzUgMTIgMTMuNUgzLjc1eiIgLz48L3N2Zz4=') !important;
}
.biocyte-shop-sidebar ul.product-categories li.cat-item-23 > a::before {
    background-image: url('data:image/svg+xml;base64,PHN2ZyBmaWxsPSJub25lIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2U9IiMxQ0E2QjgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBkPSJNMTUuMzYyIDUuMjE0QTguMjUyIDguMjUyIDAgMDExMiAyMSA4LjI1IDguMjUgMCAwMTYuMDM4IDcuMDQ4IDguMjg3IDguMjg3IDAgMDA5IDkuNmE4Ljk4MyA4Ljk4MyAwIDAxMy4zNjEtNi44NjcgOC4yMSA4LjIxIDAgMDAzIDIuNDh6IiAvPjxwYXRoIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgZD0iTTEyIDE4YTMuNzUgMy43NSAwIDAwLjQ5NS03LjQ2NyA1Ljk5IDUuOTkgMCAwMC0xLjkyNSAzLjU0NiA1Ljk3NCA1Ljk3NCAwIDAxLTIuMTMzLTFBMy43NSAzLjc1IDAgMDAxMiAxOHoiIC8+PC9zdmc+') !important;
}

.biocyte-shop-sidebar ul.product-categories li.cat-item:not([class*="cat-item-31"]):not([class*="cat-item-28"]):not([class*="cat-item-21"]):not([class*="cat-item-29"]):not([class*="cat-item-24"]):not([class*="cat-item-20"]):not([class*="cat-item-17"]):not([class*="cat-item-22"]):not([class*="cat-item-26"]):not([class*="cat-item-23"]) > a::before {
    background-image: url('data:image/svg+xml;base64,PHN2ZyBmaWxsPSJub25lIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2U9IiMxQ0E2QjgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBkPSJNOC4yNSA0LjVsNy41IDcuNS03LjUgNy41IiAvPjwvc3ZnPg==') !important;
}

/* Live Shop Product Card Overrides */
.biocyte-shop-main ul.products li.product {
    background-color: white !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    position: relative !important;
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.biocyte-shop-main ul.products li.product:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.08) !important;
}

.biocyte-shop-main ul.products li.product .product-image-wrapper {
    background-color: #e3e4e5 !important;
    position: relative !important;
    height: 260px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 2rem !important;
    overflow: hidden !important;
}

.biocyte-shop-main ul.products li.product .product-image-wrapper img {
        max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    transition: transform 0.4s ease !important;
    object-fit: contain !important;
}

.biocyte-shop-main ul.products li.product:hover .product-image-wrapper img {
    transform: scale(1.08) !important;
}

.biocyte-shop-main ul.products li.product .product-info {
    padding: 1.5rem !important;
    background: white !important;
    z-index: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}

.biocyte-shop-main ul.products li.product .product-category {
    font-family: var(--font-body, "Inter", sans-serif) !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    color: #888 !important;
    margin-bottom: 0.5rem !important;
    display: block !important;
}

.biocyte-shop-main ul.products li.product .product-title {
    font-family: var(--font-display, "Montserrat", sans-serif) !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: var(--indigo-deep, #1E2452) !important;
    margin: 0 0 1rem 0 !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
    display: block !important;
    flex-grow: 1 !important;
}

.biocyte-shop-main ul.products li.product .product-bottom {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-top: 1px solid rgba(0,0,0,0.05) !important;
    padding-top: 1rem !important;
    margin-top: auto !important;
}

.biocyte-shop-main ul.products li.product .product-price {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: var(--sunrise-amber, #F3A73B) !important;
    margin: 0 !important;
}

.biocyte-shop-main ul.products li.product .btn-cart {
    width: 40px !important;
    height: 40px !important;
    border-radius: 8px !important;
    background: var(--paper, #FBF8F3) !important;
    color: var(--indigo-deep, #1E2452) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    padding: 0 !important;
    border: none !important;
}

.biocyte-shop-main ul.products li.product .btn-cart:hover {
    background: var(--indigo-deep, #1E2452) !important;
    color: white !important;
}

.biocyte-shop-main ul.products li.product .btn-cart svg {
    width: 20px !important;
    height: 20px !important;
}

.biocyte-shop-main ul.products li.product .onsale-badge {
    background: var(--bloom-coral, #E05F55) !important;
    color: white !important;
    position: absolute !important;
    top: 15px !important;
    left: 15px !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    z-index: 10 !important;
    line-height: 1 !important;
}


/* Fix WooCommerce Grid Push Bug */
.biocyte-shop-main ul.products::before,
.biocyte-shop-main ul.products::after {
    display: none !important;
}


/* Hide Shop Title and Result Count */
.woocommerce-products-header,
.woocommerce-result-count {
    display: none !important;
}

/* Style the Sorting Dropdown */
.woocommerce-ordering {
    margin-bottom: 2rem !important;
    float: right;
}
.woocommerce-ordering select {
    appearance: none;
    -webkit-appearance: none;
    background-color: white !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
    padding: 10px 40px 10px 20px !important;
    border-radius: 30px !important;
    font-family: var(--font-body), sans-serif !important;
    font-size: 0.9rem !important;
    color: var(--indigo-deep, #1E2452) !important;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02) !important;
    background-image: url("data:image/svg+xml;base64,PHN2ZyBmaWxsPSJub25lIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2U9IiMxRTI0NTIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBkPSJNMTkuNSA4LjI1bC03LjUgNy41LTcuNS03LjUiIC8+PC9zdmc+");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 14px;
    outline: none !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.woocommerce-ordering select:hover,
.woocommerce-ordering select:focus {
    border-color: var(--clarity-teal, #1CA6B8) !important;
    box-shadow: 0 4px 15px rgba(28, 166, 184, 0.1) !important;
}

/* Clearfix for the toolbar to ensure grid isn't messed up */
.biocyte-shop-main::before,
.biocyte-shop-main::after {
    content: "";
    display: table;
    clear: both;
}


/* Hide specific categories */
.biocyte-shop-sidebar ul.product-categories li.cat-item-30,
.biocyte-shop-sidebar ul.product-categories li.cat-item-19,
.biocyte-shop-sidebar ul.product-categories li.cat-item-15,
.biocyte-shop-sidebar ul.product-categories li.cat-item-27 {
    display: none !important;
}

/* Price filter layout */
.price_slider_amount {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
}
.price_slider_amount .price_label {
    order: 1 !important;
    margin: 1rem 0 !important;
    text-align: center !important;
    width: 100% !important;
    line-height: 1 !important;
    font-size: 0.95rem !important;
}
.price_slider_amount .button {
    order: 2 !important;
    width: 100% !important;
    float: none !important;
}
.price_slider_amount .clear {
    display: none !important;
}


/* All Products Icon */
.biocyte-shop-sidebar ul li.cat-item-all a::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 12px;
    background-image: url("data:image/svg+xml;base64,PHN2ZyBmaWxsPSJub25lIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2U9IiMxQ0E2QjgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHJlY3QgeD0iMyIgeT0iMyIgd2lkdGg9IjciIGhlaWdodD0iNyIgcng9IjEiLz4KICA8cmVjdCB4PSIxNCIgeT0iMyIgd2lkdGg9IjciIGhlaWdodD0iNyIgcng9IjEiLz4KICA8cmVjdCB4PSIzIiB5PSIxNCIgd2lkdGg9IjciIGhlaWdodD0iNyIgcng9IjEiLz4KICA8cmVjdCB4PSIxNCIgeT0iMTQiIHdpZHRoPSI3IiBoZWlnaHQ9IjciIHJ4PSIxIi8+Cjwvc3ZnPg==");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}


/* Premium Checkout Layout & Wider Process Box */
body.woocommerce-checkout .elementor-container,
body.woocommerce-checkout .container {
    max-width: 1200px !important;
}
.woocommerce-checkout form.checkout {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 40px !important;
    align-items: flex-start !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}
.woocommerce-checkout #customer_details {
    width: calc(60% - 20px) !important;
    flex: 1 1 calc(60% - 20px) !important;
    float: none !important;
}
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
    width: calc(40% - 20px) !important;
    flex: 1 1 calc(40% - 20px) !important;
    float: none !important;
}
.woocommerce-checkout #order_review {
    background: #F8F9FA !important;
    padding: 2.5rem !important;
    border-radius: 16px !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
}

/* Premium Checkout Input Fields */
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="password"],
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    width: 100% !important;
    padding: 16px 20px !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
    border-radius: 12px !important;
    font-size: 1rem !important;
    font-family: var(--font-body), sans-serif !important;
    color: var(--ink) !important;
    background-color: #ffffff !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02) !important;
    height: auto !important;
    box-sizing: border-box !important;
}

.woocommerce-checkout input:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
    border-color: var(--clarity-teal) !important;
    background-color: white !important;
    outline: none !important;
    box-shadow: 0 0 0 4px rgba(28, 166, 184, 0.15) !important;
}

.woocommerce-checkout label {
    font-weight: 600 !important;
    margin-bottom: 8px !important;
    display: block !important;
    color: var(--ink) !important;
    font-size: 0.95rem !important;
}
.woocommerce form .form-row {
    padding: 8px 0 !important;
    margin: 0 0 15px !important;
}

/* Adjust mobile layout */
@media (max-width: 992px) {
    .woocommerce-checkout form.checkout {
        flex-direction: column !important;
    }
    .woocommerce-checkout #customer_details,
    .woocommerce-checkout #order_review_heading,
    .woocommerce-checkout #order_review {
        width: 100% !important;
        flex: 1 1 100% !important;
    }
}


/* Fix for Stepper/Tabs moving to the left */
.woocommerce-checkout form.checkout > * {
    width: 100% !important;
    flex: 1 1 100% !important;
    text-align: center !important;
    justify-content: center !important;
}

/* Restore 2-column layout only for the actual billing/shipping and order review boxes */
.woocommerce-checkout form.checkout > #customer_details {
    width: calc(60% - 20px) !important;
    flex: 1 1 calc(60% - 20px) !important;
    text-align: left !important;
}

.woocommerce-checkout form.checkout > #order_review_heading,
.woocommerce-checkout form.checkout > #order_review {
    width: calc(40% - 20px) !important;
    flex: 1 1 calc(40% - 20px) !important;
    text-align: left !important;
}

/* If the steps tab is a UL, ensure its contents are centered */
.woocommerce-checkout form.checkout > ul {
    display: flex !important;
    justify-content: center !important;
    margin: 0 auto 2rem auto !important;
    padding: 0 !important;
}


/* Vertical Tabs Layout for Checkout */
.woocommerce-checkout form.checkout {
    display: grid !important;
    grid-template-columns: 280px 1fr !important;
    column-gap: 50px !important;
    row-gap: 0 !important;
    align-items: start !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

/* Force tabs into the left column and stack them vertically */
.woocommerce-checkout form.checkout > ul,
.woocommerce-checkout form.checkout > nav,
.woocommerce-checkout form.checkout > .wpmc-tabs-wrapper {
    grid-column: 1 / 2 !important;
    /* grid-row removed to prevent vertical stretching */ /* Spans down the entire left side */
    display: flex !important;
    flex-direction: column !important;
    background: #F8F9FA !important;
    padding: 20px !important;
    border-radius: 16px !important;
    margin: 0 !important;
    border: 1px solid rgba(0,0,0,0.05);
}

/* Style the individual tab items */
.woocommerce-checkout form.checkout > ul > li {
    display: block !important;
    width: 100% !important;
    text-align: left !important;
    padding: 15px 20px !important;
    margin-bottom: 8px !important;
    border-bottom: none !important;
    border-radius: 8px !important;
    background: white !important;
    font-weight: 600 !important;
    color: var(--ink) !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02) !important;
    transition: all 0.3s ease !important;
}
.woocommerce-checkout form.checkout > ul > li:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
    transform: translateY(-1px);
}
.woocommerce-checkout form.checkout > ul > li.current,
.woocommerce-checkout form.checkout > ul > li.active {
    background: var(--clarity-teal) !important;
    color: white !important;
}
.woocommerce-checkout form.checkout > ul > li:last-child {
    margin-bottom: 0 !important;
}

/* Force everything else into the right column */
/* .woocommerce-checkout form.checkout > div removed */
.woocommerce-checkout form.checkout > #customer_details,
.woocommerce-checkout form.checkout > #order_review_heading,
.woocommerce-checkout form.checkout > #order_review {
    grid-column: 2 / 3 !important;
    width: 100% !important;
    text-align: left !important;
}

/* Remove the old flex overrides */
.woocommerce-checkout form.checkout > * {
    text-align: left !important;
    justify-content: flex-start !important;
}

/* Mobile Adjustments */
@media (max-width: 992px) {
    .woocommerce-checkout form.checkout {
        grid-template-columns: 1fr !important;
    }
    .woocommerce-checkout form.checkout > ul,
    .woocommerce-checkout form.checkout > nav,
    .woocommerce-checkout form.checkout > .wpmc-tabs-wrapper {
        grid-column: 1 / -1 !important;
        grid-row: auto !important;
    }
    /* .woocommerce-checkout form.checkout > div removed */
    .woocommerce-checkout form.checkout > #customer_details,
    .woocommerce-checkout form.checkout > #order_review_heading,
    .woocommerce-checkout form.checkout > #order_review {
        grid-column: 1 / -1 !important;
    }
}


/* Fix for custom checkout wizard progress bar */
.woocommerce-checkout form.checkout > .checkout-progress-bar {
    grid-column: 1 / 2 !important;
    /* grid-row removed to prevent vertical stretching */
    display: flex !important;
    flex-direction: column !important;
    background: #F8F9FA !important;
    padding: 20px !important;
    border-radius: 16px !important;
    margin: 0 !important;
    border: 1px solid rgba(0,0,0,0.05);
}

.woocommerce-checkout form.checkout > .checkout-progress-bar .step {
    display: block !important;
    width: 100% !important;
    text-align: left !important;
    padding: 15px 20px !important;
    margin-bottom: 8px !important;
    border-bottom: none !important;
    border-radius: 8px !important;
    background: white !important;
    font-weight: 600 !important;
    color: var(--ink) !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02) !important;
    transition: all 0.3s ease !important;
    cursor: pointer;
}

.woocommerce-checkout form.checkout > .checkout-progress-bar .step:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
    transform: translateY(-1px);
}

.woocommerce-checkout form.checkout > .checkout-progress-bar .step.active {
    background: var(--clarity-teal) !important;
    color: white !important;
}

.woocommerce-checkout form.checkout > .checkout-progress-bar .step:last-child {
    margin-bottom: 0 !important;
}

.woocommerce-checkout form.checkout > .wizard-step {
    grid-column: 2 / 3 !important;
    width: 100% !important;
    text-align: left !important;
}

/* Ensure mobile layout stacks them properly */
@media (max-width: 992px) {
    .woocommerce-checkout form.checkout > .checkout-progress-bar {
        grid-column: 1 / -1 !important;
        grid-row: auto !important;
    }
    .woocommerce-checkout form.checkout > .wizard-step {
        grid-column: 1 / -1 !important;
    }
}


/* Fix squished order review and customer details inside wizard steps */
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
}

.woocommerce-checkout #order_review {
    background: #F8F9FA !important;
    padding: 2.5rem !important;
    border-radius: 16px !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
    width: 100% !important;
    display: block !important;
}


/* Hide standard WooCommerce View Cart notification on product cards */
a.added_to_cart.wc-forward {
    display: none !important;
}

/* Modal Price Formatting */
.modal-variant-price del {
    color: rgba(17,17,17,0.4);
    font-size: 0.85em;
    margin-right: 6px;
    font-weight: 400;
}
.modal-variant-price ins {
    text-decoration: none;
    color: var(--sunrise-amber);
}
.modal-variant-price .screen-reader-text {
    display: none !important;
}

/* Fix nav icon alignment */
.nav-icon > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.nav-icons svg {
    display: block;
}
.cart-icon-wrapper {
    display: flex;
    align-items: center;
}


/* About Us Page Styles */
.about-hero {
    position: relative;
    padding: 120px 20px 100px;
    background: linear-gradient(135deg, var(--indigo-deep) 0%, var(--ink) 100%);
    color: white;
    text-align: center;
    overflow: hidden;
}
.about-hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top right, rgba(28, 166, 184, 0.15) 0%, transparent 60%);
    z-index: 1;
}
.about-hero .container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}
.about-subtitle {
    color: var(--clarity-teal);
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.about-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    margin: 0 0 30px;
    line-height: 1.1;
    color: white;
}
.about-lead p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
}

.about-mission {
    padding: 100px 20px;
    background: white;
}
.mission-grid {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
}
.mission-text-col p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--ink);
}
.mission-img-col img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    display: block;
}
.mission-title-mobile { display: none; }
.mission-title-desktop {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--indigo-core);
    margin-bottom: 30px;
}

@media (min-width: 901px) {
    .mission-grid {
        flex-direction: row-reverse; /* image on right */
        align-items: center;
        gap: 60px;
    }
    .mission-text-col {
        flex: 1;
        text-align: left;
    }
    .mission-img-col {
        flex: 1;
    }
}
@media (max-width: 900px) {
    .mission-title-desktop { display: none; }
    .mission-title-mobile {
        font-family: var(--font-heading);
        font-size: 2.8rem;
        color: var(--indigo-core);
        margin-bottom: 30px;
        text-align: center;
        display: block;
    }
    .mission-img-col { margin-bottom: 30px; }
    .mission-text-col { text-align: center; }
}

.about-philosophy {
    padding: 100px 20px;
    background: #F9F6F0;
}
.about-philosophy .container {
    max-width: 1200px;
    margin: 0 auto;
}
.section-subtitle {
    color: var(--sunrise-amber);
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    display: block;
    text-align: center;
}
.about-philosophy h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--indigo-deep);
    margin-bottom: 60px;
    text-align: center;
}
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.philosophy-desc p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(17,17,17,0.75);
}

.about-why {
    padding: 100px 20px;
    background: white;
}
.about-why .container {
    max-width: 1200px;
    margin: 0 auto;
}
.why-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}
.why-header h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--indigo-core);
    margin-bottom: 25px;
}
.why-conclusion p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--ink);
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.why-card {
    background: #F9F6F0;
    border-radius: 16px;
    padding: 40px 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}
.why-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clarity-teal);
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.why-icon svg {
    width: 26px;
    height: 26px;
}
.why-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--indigo-deep);
    margin-bottom: 15px;
}
.why-desc p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(17,17,17,0.7);
    margin: 0;
}

@media (max-width: 900px) {
    .philosophy-grid, .why-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .about-title {
        font-size: 3rem;
    }
}


/* Force variation buttons onto one line */
.biocyte-variation-buttons {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    margin-top: 10px !important;
    overflow-x: auto;
    padding-bottom: 5px;
}
.biocyte-variation-buttons::-webkit-scrollbar {
    height: 4px;
}
.biocyte-variation-buttons::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}


/* Mobile Hero & Trust Badge Overrides */
@media (max-width: 768px) {
    .biocyte-trust-badges {
        min-width: 0 !important;
        width: 100% !important;
        padding: 15px !important;
    }
    .biocyte-trust-badges span {
        white-space: normal !important;
        word-break: break-word !important;
    }
    .woocommerce-product-gallery__image img {
        max-height: 40vh !important;
        width: 100% !important;
        object-fit: contain !important;
        margin: 0 auto !important;
    }
}

/* Hide quantity globally on single products as requested */
.woocommerce div.product form.cart .quantity,
.woocommerce-page div.product form.cart .quantity {
    display: none !important;
}



/* Price Wrapping Fix */
.woocommerce div.product p.price {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3em;
}
@media (max-width: 480px) {
    .woocommerce div.product p.price {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }
}


/* Price Wrapping Fix v2 */
.woocommerce div.product p.price {
    display: block !important;
    white-space: pre-wrap !important;
}
.woocommerce div.product p.price .amount {
    white-space: nowrap !important;
}


/* Sledgehammer for Short Description Wrapping */
.biocyte-single-summary .woocommerce-product-details__short-description,
.biocyte-single-summary .woocommerce-product-details__short-description p {
    white-space: normal !important;
    max-width: 100% !important;
    width: 100% !important;
    word-break: break-word !important;
}

/* Sledgehammer for WooCommerce Default Summary Width */
.woocommerce #content div.product div.summary,
.woocommerce div.product div.summary,
.woocommerce-page #content div.product div.summary,
.woocommerce-page div.product div.summary {
    width: 100% !important;
    float: none !important;
    max-width: 100% !important;
}

.woocommerce #content div.product div.images,
.woocommerce div.product div.images,
.woocommerce-page #content div.product div.images,
.woocommerce-page div.product div.images {
    width: 100% !important;
    float: none !important;
}

/* Dropdown Menus */
.nav-links li, .mobile-nav-links li {
    position: relative;
    list-style: none;
}
.nav-links ul.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    min-width: 220px;
    padding: 1rem;
    z-index: 100;
    border-radius: 8px;
    flex-direction: column;
    gap: 0.75rem;
    margin: 0;
}
.nav-links li:hover > ul.sub-menu, 
.nav-links li.focus-within > ul.sub-menu {
    display: flex;
}
.nav-links ul.sub-menu a {
    text-transform: none;
    font-size: 0.95rem;
}

.mobile-nav-links ul.sub-menu {
    display: flex;
    flex-direction: column;
    padding-left: 1.5rem;
    padding-top: 1rem;
    gap: 1rem;
    margin: 0;
}
.mobile-nav-links ul.sub-menu a {
    font-size: 1.1rem;
    text-transform: none;
}


/* Black Friday Price Alignment & Spacing */
.biocyte-single-summary .price {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    column-gap: 8px !important;
    row-gap: 2px !important;
    line-height: 1.15 !important;
    margin-bottom: 4px !important;
    white-space: normal !important;
}

.biocyte-single-summary .price del.bf-del,
.biocyte-single-summary .price del.bf-del .amount {
    font-size: 1.35rem !important;
    color: #94a3b8 !important;
    font-weight: 500 !important;
}

.biocyte-single-summary .price ins.bf-ins,
.biocyte-single-summary .price ins.bf-ins .amount {
    font-size: 1.8rem !important;
    font-weight: 800 !important;
}

.biocyte-single-summary .price .black-friday-badge {
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    font-size: 0.95rem !important;
    line-height: 1 !important;
    margin: 0 !important;
    color: #ef4444 !important;
    font-weight: 700 !important;
}

.biocyte-single-category-display {
    margin-top: 4px !important;
}


/* ========================================================================= */
/* BLACK FRIDAY HERO BANNER */
/* ========================================================================= */
.hero-black-friday {
    position: relative;
    min-height: 84vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 90px 0 70px;
    background: #090B19;
}

.bf-hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
    width: 100%;
}

.bf-hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.bf-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(225, 29, 72, 0.12);
    border: 1px solid rgba(225, 29, 72, 0.35);
    padding: 7px 18px;
    border-radius: 999px;
    margin-bottom: 22px;
    box-shadow: 0 0 20px rgba(225, 29, 72, 0.15);
}

.bf-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #f43f5e;
    box-shadow: 0 0 10px #f43f5e;
    animation: biocytePulse 1.8s infinite;
}

.bf-pill-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fda4af;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.bf-hero-title {
    font-size: 3.8rem;
    line-height: 1.1;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 45%, #fda4af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bf-hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    max-width: 540px;
    margin-bottom: 28px;
}

.bf-coupon-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed rgba(244, 63, 94, 0.55);
    border-radius: 14px;
    padding: 16px 22px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 500px;
}

.bf-coupon-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #94a3b8;
    text-transform: uppercase;
}

.bf-coupon-code-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 4px;
}

.bf-coupon-code {
    font-family: monospace, Courier, sans-serif;
    font-size: 1.95rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: #ffffff;
    text-shadow: 0 0 15px rgba(244, 63, 94, 0.45);
}

.bf-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e11d48;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bf-copy-btn:hover {
    background: #be123c;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.4);
}

.bf-copy-icon {
    width: 16px;
    height: 16px;
}

.bf-discount-highlight {
    font-size: 0.9rem;
    color: #cbd5e1;
    display: block;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 8px;
    margin-top: 2px;
}

.bf-hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.bf-cta-button {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%) !important;
    border: none !important;
    color: #fff !important;
    padding: 14px 30px !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    border-radius: 30px !important;
    box-shadow: 0 8px 24px rgba(225, 29, 72, 0.4) !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-block !important;
}

.bf-cta-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 30px rgba(225, 29, 72, 0.55) !important;
}

.bf-secondary-button {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    padding: 14px 26px !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    border-radius: 30px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-block !important;
}

.bf-secondary-button:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.45) !important;
}

.bf-trust-row {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.bf-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 500;
}

.bf-trust-item svg {
    width: 16px;
    height: 16px;
    color: #10b981;
}

.bf-hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 460px;
}

.bf-glow-ring {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(55px);
}

.bf-glow-ring-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(225, 29, 72, 0.24) 0%, rgba(0, 0, 0, 0) 70%);
}

.bf-glow-ring-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.18) 0%, rgba(0, 0, 0, 0) 70%);
    top: 20px;
    right: 20px;
}

.bf-floating-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 5;
    background: rgba(17, 20, 45, 0.85);
    border: 1px solid rgba(244, 63, 94, 0.45);
    border-radius: 12px;
    padding: 10px 16px;
    text-align: center;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
    animation: biocyteFloat 3.5s ease-in-out infinite alternate;
}

.bf-badge-sub {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #fda4af;
}

.bf-badge-main {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
    margin: 2px 0;
}

.bf-badge-extra {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fbbf24;
}

.bf-product-showcase {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
}

.bf-product-img {
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.65));
    max-height: 420px;
    width: auto;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.bf-img-front {
    position: relative;
    z-index: 4;
    transform: scale(1.05);
}

.bf-img-back {
    position: relative;
    z-index: 2;
    margin-left: -75px;
    transform: scale(0.9) translateY(-18px);
    opacity: 0.92;
}

@media (max-width: 991px) {
    .bf-hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .bf-hero-content {
        align-items: center;
    }
    .bf-hero-title {
        font-size: 2.8rem;
    }
    .bf-hero-subtitle {
        max-width: 100%;
    }
    .bf-coupon-card {
        max-width: 440px;
    }
    .bf-hero-actions {
        justify-content: center;
    }
    .bf-trust-row {
        justify-content: center;
    }
    .bf-hero-visual {
        min-height: 320px;
    }
    .bf-product-img {
        max-height: 280px;
    }
}

@media (max-width: 600px) {
    .hero-black-friday {
        padding: 55px 0 45px;
    }
    .bf-hero-title {
        font-size: 2.2rem;
    }
    .bf-coupon-code {
        font-size: 1.45rem;
        letter-spacing: 2px;
    }
    .bf-product-img {
        max-height: 220px;
    }
    .bf-img-back {
        margin-left: -40px;
    }
}

/* ========================================================================= */
/* COMPACT BLACK FRIDAY HERO BANNER (REDUCED PADDING, INTEGRATED CONTENT)   */
/* ========================================================================= */
.hero.hero-bf-clean {
    position: relative;
    width: 100%;
    background-color: #070913;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
}

.bf-clean-banner-wrap {
    position: relative;
    width: 100%;
    height: 600px;
    min-height: 580px;
    max-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
}

.bf-clean-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right bottom;
    display: block;
    z-index: 1;
}

.bf-clean-overlay {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding-top: 15px;
    padding-bottom: 35px;
    background: linear-gradient(90deg, rgba(7, 9, 19, 0.95) 0%, rgba(7, 9, 19, 0.85) 45%, rgba(7, 9, 19, 0.25) 75%, transparent 100%);
    z-index: 2;
    box-sizing: border-box;
}

.bf-clean-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.bf-clean-content {
    max-width: 580px;
    padding: 0;
    margin: 0;
    text-align: left;
}

.bf-clean-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(225, 29, 72, 0.2);
    border: 1px solid rgba(244, 63, 94, 0.5);
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.bf-clean-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #f43f5e;
    box-shadow: 0 0 8px #f43f5e;
    animation: biocytePulse 1.8s infinite;
}

.bf-clean-pill-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: #fda4af;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.bf-clean-title {
    font-size: 2.35rem;
    font-weight: 700;
    line-height: 1.18;
    color: #ffffff !important;
    margin: 0 0 12px 0;
    letter-spacing: -0.3px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}

.bf-clean-desc {
    font-size: 0.98rem !important;
    line-height: 1.55 !important;
    color: #e2e8f0 !important;
    margin: 0 0 18px 0 !important;
    max-width: 520px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.bf-clean-actions-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
    z-index: 5;
}

.bf-clean-coupon {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(17, 20, 45, 0.9);
    border: 1px dashed rgba(244, 63, 94, 0.7);
    border-radius: 10px;
    padding: 8px 14px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.bf-clean-code-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 1px;
}

.bf-clean-code-val {
    font-family: monospace, Courier, sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1.5px;
    text-shadow: 0 0 10px rgba(244, 63, 94, 0.5);
}

.bf-clean-copy-btn {
    background: #e11d48;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 4px 10px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bf-clean-copy-btn:hover {
    background: #be123c;
}

.bf-clean-btn {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 10px 24px !important;
    font-size: 0.98rem !important;
    font-weight: 700 !important;
    border-radius: 25px !important;
    box-shadow: 0 4px 16px rgba(225, 29, 72, 0.4) !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: all 0.25s ease !important;
}

.bf-clean-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(225, 29, 72, 0.6) !important;
}

/* Fix product card price wrapping on homepage */
.product-card .price {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 6px !important;
    white-space: normal !important;
    line-height: 1.2 !important;
}

.product-card .price .black-friday-badge {
    display: block !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-top: 4px !important;
    font-size: 0.85rem !important;
}

@media (max-width: 991px) {
    .bf-clean-banner-wrap {
        height: 540px;
        min-height: 520px;
        max-height: 560px;
    }
    .bf-clean-overlay {
        padding-top: 15px;
        padding-bottom: 35px;
        background: linear-gradient(90deg, rgba(7, 9, 19, 0.95) 0%, rgba(7, 9, 19, 0.88) 55%, rgba(7, 9, 19, 0.4) 100%);
    }
    .bf-clean-title {
        font-size: 2rem;
    }
    .bf-clean-desc {
        font-size: 0.92rem;
    }
}

/* MOBILE DISPLAY: Dark shade stretches 100% flush from header to bottom */
@media (max-width: 768px) {
    .hero.hero-bf-clean {
        margin: 0 !important;
        padding: 0 !important;
    }
    .bf-clean-banner-wrap {
        height: auto !important;
        min-height: 520px !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .bf-clean-bg-img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: right bottom;
    }
    .bf-clean-overlay {
        position: relative;
        width: 100% !important;
        height: 100% !important;
        min-height: 520px !important;
        background: rgba(7, 9, 19, 0.93) !important;
        margin: 0 !important;
        padding: 35px 0 55px 0 !important;
        box-sizing: border-box !important;
        display: flex !important;
        align-items: center !important;
    }
    .bf-clean-container {
        padding: 0 1.25rem !important;
    }
    .bf-clean-title {
        font-size: 1.85rem !important;
        line-height: 1.22 !important;
    }
    .bf-clean-desc {
        font-size: 0.92rem !important;
        line-height: 1.5 !important;
        margin-bottom: 20px !important;
    }
    .bf-clean-actions-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 14px !important;
        width: 100% !important;
    }
    .bf-clean-coupon {
        width: 100% !important;
        justify-content: space-between !important;
        box-sizing: border-box !important;
    }
    .bf-clean-btn {
        width: 100% !important;
        text-align: center !important;
        box-sizing: border-box !important;
        padding: 12px 20px !important;
    }
}
