/* 
   v1.1 - Fixed Syntax & Center Alignment
*/

/* --- 1. GLOBAL STYLES --- */
body.woocommerce-page {
  background-color: var(--bg-color) !important;
  color: var(--primary-text-color) !important;
}

.woocommerce,
.woocommerce-page {
  color: var(--primary-text-color) !important;
}

.woocommerce h1,
.woocommerce h2,
.woocommerce h3,
.woocommerce h4,
.woocommerce h5,
.woocommerce h6 {
  color: var(--primary-text-color) !important;
  font-family: var(--font-primary) !important;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.woocommerce a:hover {
  color: var(--accent-color-hover) !important;
}

/* --- 2. COMPONENTS (Buttons & Inputs) --- */

/* Base Button Style */
body .woocommerce button.button,
body .woocommerce input.button,
body .woocommerce a.button,
body .woocommerce .wc-proceed-to-checkout a.checkout-button,
body .woocommerce button[name="update_cart"],
body .woocommerce button[name="apply_coupon"],
body .woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
body .woocommerce #respond input#submit {
  /* Visuals */
  background: linear-gradient(180deg, #007fff, #012a3d) !important;
  background-image: linear-gradient(180deg, #007fff, #012a3d) !important;
  color: #000 !important;
  border: none !important;
  border-radius: 8px !important;

  /* Typography */
  font-family: var(--font-primary) !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  font-size: 1rem !important;
  text-decoration: none !important;
  line-height: normal !important;

  /* Layout */
  padding: 1rem 3rem !important;
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  cursor: pointer;
  position: relative !important;
  overflow: hidden !important;

  /* Animation */
  transition:
    transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
    box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

/* Glow Element (Inner) */
body .woocommerce button.button::before,
body .woocommerce a.button::before,
body .woocommerce button[name="update_cart"]::before,
body .woocommerce button[name="apply_coupon"]::before,
body .woocommerce-cart .wc-proceed-to-checkout a.checkout-button::before,
body .woocommerce .wc-proceed-to-checkout a.checkout-button::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(153, 204, 255, 0.4),
    transparent 70%
  ) !important;
  opacity: 0;
  transition: opacity 0.5s ease-in-out !important;
}

/* Text Element */
body .woocommerce button .btn-text,
body .woocommerce a .btn-text {
  position: relative !important;
  display: inline-block !important;
  color: #000 !important;
}

/* Hover State: Show Glow */
body .woocommerce button.button:hover::before,
body .woocommerce a.button:hover::before,
body .woocommerce button[name="update_cart"]:hover::before,
body .woocommerce button[name="apply_coupon"]:hover::before,
body .woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover::before,
body .woocommerce .wc-proceed-to-checkout a.checkout-button:hover::before {
  opacity: 1 !important;
}

/* Hover State: Move & Shadow */
body .woocommerce button.button:hover,
body .woocommerce input.button:hover,
body .woocommerce a.button:hover,
body .woocommerce button[name="update_cart"]:hover,
body .woocommerce button[name="apply_coupon"]:hover,
body .woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
body .woocommerce .wc-proceed-to-checkout a.checkout-button:hover,
body .woocommerce #respond input#submit:hover {
  transform: translateY(-3px) !important;
  box-shadow:
    0 0 30px rgba(153, 204, 255, 0.6),
    0 0 60px rgba(153, 204, 255, 0.4),
    0 0 90px rgba(153, 204, 255, 0.2) !important;
  color: #000 !important;
  background: linear-gradient(180deg, #007fff, #012a3d) !important;
}

/* Active State */
body .woocommerce button.button:active,
body .woocommerce input.button:active,
body .woocommerce a.button:active {
  transform: translateY(-1px) !important;
}

/* Disabled State */
body .woocommerce button.button:disabled,
body .woocommerce input.button:disabled,
body .woocommerce a.button:disabled {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Inputs */
.woocommerce input[type="text"],
.woocommerce input[type="password"],
.woocommerce input[type="email"],
.woocommerce input[type="tel"],
.woocommerce textarea,
.woocommerce .quantity input.qty,
.select2-selection {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid var(--border-color) !important;
  color: var(--primary-text-color) !important;
  padding: 15px 20px !important;
}

.woocommerce-error {
  border-top-color: var(--accent-color-1) !important;
}

/* --- 3. HOMEPAGE ANNOUNCEMENT BAR --- */
.atomic-announcement-bar {
  position: relative;
  z-index: 1001;
  width: 100%;
  height: 34px;
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0, 210, 255, 0.15);
  border-bottom: 1px solid rgba(0, 210, 255, 0.15);
  display: block;
  overflow: hidden;
  font-family: var(--font-primary), "Montserrat", sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .atomic-announcement-bar {
    margin-top: -60px;
  }
}

/* Clone the peptide section's top gradient divider for the top edge of the marquee */
.atomic-announcement-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  width: 80%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 210, 255, 0.3),
    rgba(153, 204, 255, 0.2),
    transparent
  );
  z-index: 10;
}

.atomic-marquee-track {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  height: 100%;
  white-space: nowrap;
  width: max-content;
  animation: atomic-marquee 40s linear infinite;
}

.atomic-announcement-bar:hover .atomic-marquee-track {
  animation-play-state: paused;
}

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

.atomic-announcement-item {
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  color: #ffffff;
}

.atomic-announcement-item .dot {
  color: #007fff;
  margin-left: 3rem;
  font-size: 0.8rem;
  display: inline-block;
}

.atomic-coupon-code {
  color: #c0b233 !important;
  cursor: pointer;
  border: 1px solid rgba(255, 217, 0, 0.653);
  padding: 2px 8px;
  border-radius: 3px;
  background: rgba(96, 79, 6, 0.08);
  margin: 0 5px;
  transition: all 0.2s ease;
  display: inline-block;
  font-weight: 800;
  letter-spacing: 1px;
}

.atomic-coupon-code:hover {
  color: #fff8bb;
  background: rgba(255, 251, 0, 0.15);
  border-color: #ffee00;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(100, 77, 14, 0.2);
}

.atomic-coupon-code.copied {
  background: rgba(0, 255, 204, 0.15);
  border-color: #00ffcc;
  color: #00ffcc !important;
  transform: translateY(0);
  box-shadow: none;
}

.atomic-announcement-item strong {
  font-weight: 800;
}

/* --- HERO MOBILE FIX --- */
@media (max-width: 768px) {
  .hero-content .title {
    font-size: 3.5rem !important;
    letter-spacing: 1px !important;
  }
}

@media (max-width: 480px) {
  .hero-content .title {
    font-size: 2.3rem !important;
    letter-spacing: 0 !important;
  }
}

/* --- PEPTIDE GRID RESPONSIVE HIDING --- */
/* Desktop (default): Show 2 rows of 4 (8 total) */
.peptide-grid > .peptide-card:nth-child(n + 9) {
  display: none !important;
}

/* Tablet: Show 2 rows of 3 (6 total) */
@media (max-width: 992px) {
  .peptide-grid > .peptide-card:nth-child(n + 7) {
    display: none !important;
  }
}

/* Mobile: Show 2 rows of 2 (4 total) */
@media (max-width: 768px) {
  .peptide-grid > .peptide-card:nth-child(n + 5) {
    display: none !important;
  }
}

/* --- PEPTIDE CARD LINK & BUTTON FIX --- */
.peptide-card {
  display: flex;
  flex-direction: column;
}

.peptide-card__link {
  text-decoration: none !important;
  color: inherit !important;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.peptide-card__cta.button {
  background: transparent;
  border: 1px solid var(--card-accent);
  color: var(--card-accent) !important;
  padding: 0.4rem 0.5rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-align: center;
  line-height: 1;
  display: inline-block;
  text-decoration: none !important;
}

.peptide-card__footer {
  padding: 0.5rem 1.25rem 0.75rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.added_to_cart {
  display: none !important;
}

.peptide-card__cta.button:hover {
  background: var(--card-accent) !important;
  color: #fff !important;
  box-shadow: 0 0 10px var(--card-accent);
  transform: translateY(-2px);
}

/* --- LAUNCH SALE: gold shimmer price + SALE badge --- */
.peptide-card {
  position: relative;
}

.peptide-card__image {
  position: relative;
}

.peptide-card__sale-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 6;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #2a2208;
  padding: 4px 11px;
  border-radius: 20px;
  background: linear-gradient(
    110deg,
    #c79a2e 0%,
    #f7e7a6 25%,
    #fff4cf 50%,
    #f7e7a6 75%,
    #c79a2e 100%
  );
  background-size: 200% auto;
  box-shadow: 0 2px 10px rgba(201, 162, 39, 0.45);
  animation: atomic-gold-shimmer 2.8s linear infinite;
}

.peptide-card__price--sale {
  display: inline-flex;
  align-items: baseline;
  gap: 0.15rem;
}

.peptide-card__price-was {
  text-decoration: line-through;
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.95em;
  font-weight: 300;
}

.peptide-card__price-now,
.peptide-card__price-now * {
  text-decoration: none;
  font-weight: 800;
  -webkit-text-fill-color: transparent;
}

.peptide-card__price-now {
  background: linear-gradient(
    110deg,
    #c79a2e 0%,
    #f7e7a6 25%,
    #fff4cf 50%,
    #f7e7a6 75%,
    #c79a2e 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: #f7e7a6;
  animation: atomic-gold-shimmer 2.8s linear infinite;
}

@keyframes atomic-gold-shimmer {
  to {
    background-position: 200% center;
  }
}

/* --- WOOCOMMERCE GLOBAL SALE PRICES --- */
.woocommerce .price del,
.woocommerce .price del *,
.woocommerce-page .price del,
.woocommerce-page .price del *,
.woocommerce table.shop_table del,
.woocommerce table.shop_table del *,
.woocommerce-page table.shop_table del,
.woocommerce-page table.shop_table del *,
.product-card-price del,
.product-card-price del *,
.stack-price del,
.stack-price del *,
.bulk-price del,
.bulk-price del * {
  text-decoration: line-through !important;
  color: rgba(255, 255, 255, 0.25) !important;
  font-size: 0.95em !important;
  font-weight: 300 !important;
  opacity: 1 !important;
  display: inline-block;
  margin-right: 0.15rem;
}

.woocommerce .price ins,
.woocommerce .price ins *,
.woocommerce-page .price ins,
.woocommerce-page .price ins *,
.woocommerce table.shop_table ins,
.woocommerce table.shop_table ins *,
.product-card-price ins,
.product-card-price ins *,
.stack-price ins,
.stack-price ins *,
.bulk-price ins,
.bulk-price ins * {
  text-decoration: none !important;
  font-weight: 800 !important;
  -webkit-text-fill-color: transparent !important;
}

.woocommerce .price ins,
.woocommerce-page .price ins,
.woocommerce table.shop_table ins,
.woocommerce-page table.shop_table ins,
.product-card-price ins,
.stack-price ins,
.bulk-price ins {
  background: linear-gradient(
    110deg,
    #c79a2e 0%,
    #f7e7a6 25%,
    #fff4cf 50%,
    #f7e7a6 75%,
    #c79a2e 100%
  ) !important;
  background-size: 200% auto !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: #f7e7a6 !important;
  animation: atomic-gold-shimmer 2.8s linear infinite !important;
  display: inline-block;
}

/* Cart Toast Notifications & WooCommerce Messages */
.cart-toast-container {
  position: fixed;
  top: 100px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
  width: calc(100vw - 40px);
  pointer-events: none;
}

body .cart-toast,
body .woocommerce-message,
body .woocommerce-info,
body.woocommerce .woocommerce-message,
body.woocommerce .woocommerce-info {
  background: rgba(10, 10, 10, 0.85) !important;
  border: 1px solid #007fff !important;
  border-color: #007fff !important;
  border-top-color: #007fff !important;
  border-bottom-color: #007fff !important;
  border-left-color: #007fff !important;
  border-right-color: #007fff !important;
  outline: none !important;
  border-radius: 12px !important;
  padding: 1.25rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.5),
    0 0 15px rgba(0, 127, 255, 0.15) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  color: #fff !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  margin-bottom: 2rem;
  clear: both;
}

.cart-toast {
  transform: translateX(120%);
  opacity: 0;
  transition:
    transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    opacity 0.4s ease;
  pointer-events: auto;
  margin-bottom: 0;
}

.cart-toast.show {
  transform: translateX(0);
  opacity: 1;
}

.cart-toast.fade-out {
  transform: translateY(-20px) scale(0.9);
  opacity: 0;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

body .cart-toast-icon,
body .woocommerce-message::before,
body .woocommerce-info::before,
body.woocommerce .woocommerce-message::before,
body.woocommerce .woocommerce-info::before {
  content: "✓" !important;
  font-family: inherit !important;
  background: rgba(0, 127, 255, 0.1) !important;
  border: 1px solid rgba(0, 127, 255, 0.3) !important;
  color: #007fff !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: bold !important;
  font-size: 1.1rem !important;
  flex-shrink: 0 !important;
  box-shadow: 0 0 10px rgba(0, 127, 255, 0.25) !important;
  position: static !important;
  margin: 0 !important;
  order: -1;
}

.cart-toast-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cart-toast-message {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.4;
}

body .cart-toast-link,
body .woocommerce-message a.button,
body .woocommerce-info a.button,
body.woocommerce .woocommerce-message a.button,
body.woocommerce .woocommerce-info a.button {
  display: none !important;
}

.cart-toast-close {
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
  padding: 5px;
  transition: color 0.3s ease;
}

.cart-toast-close:hover {
  color: #fff;
}

/* --- GLOBAL BUTTON GLEAM EFFECT --- */
.add-to-cart-btn,
.add-to-cart,
.product-card-btn,
.peptide-card__cta,
.special-offer-container,
.bpc157-offer,
.tb500-offer,
.ghkcu-offer,
.mt2-offer,
.hgh-offer,
.motsc-offer,
.reta-offer,
.selank-offer,
.semax-offer,
.tirz-offer,
body .woocommerce button.button {
  position: relative;
  overflow: hidden !important;
  transform: translateZ(0); /* Force hardware acceleration */
}

.add-to-cart-btn::after,
.add-to-cart::after,
.product-card-btn::after,
.peptide-card__cta::after,
.special-offer-container::after,
.bpc157-offer::after,
.tb500-offer::after,
.ghkcu-offer::after,
.mt2-offer::after,
.hgh-offer::after,
.motsc-offer::after,
.reta-offer::after,
.selank-offer::after,
.semax-offer::after,
.tirz-offer::after,
body .woocommerce button.button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: none;
  z-index: 1;
  pointer-events: none;
  animation: auto-gleam 6s infinite;
}

/* Add an explicit hover trigger too for instant feedback */
.add-to-cart-btn:hover::after,
.add-to-cart:hover::after,
.product-card-btn:hover::after,
.peptide-card__cta:hover::after,
.special-offer-container:hover::after,
.bpc157-offer:hover::after,
.tb500-offer:hover::after,
.ghkcu-offer:hover::after,
.mt2-offer:hover::after,
.hgh-offer:hover::after,
.motsc-offer:hover::after,
.reta-offer:hover::after,
.selank-offer:hover::after,
.semax-offer:hover::after,
.tirz-offer:hover::after,
body .woocommerce button.button:hover::after {
  animation: hover-gleam 0.75s forwards;
}

@keyframes auto-gleam {
  0%,
  80% {
    left: -100%;
  }
  100% {
    left: 200%;
  }
}

@keyframes hover-gleam {
  0% {
    left: -100%;
  }
  100% {
    left: 200%;
  }
}

/* --- OVERRIDE ALL MAIN BUTTONS TO MATCH MY ACCOUNT STYLE --- */
body .woocommerce button.button,
body .woocommerce input.button,
body .woocommerce a.button,
body .woocommerce .wc-proceed-to-checkout a.checkout-button,
body .woocommerce button[name="update_cart"],
body .woocommerce button[name="apply_coupon"],
body .woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
body .woocommerce #respond input#submit {
  background: linear-gradient(135deg, #007fff 0%, #00d2ff 100%) !important;
  background-image: linear-gradient(
    135deg,
    #007fff 0%,
    #00d2ff 100%
  ) !important;
  color: #000 !important;
  font-weight: 800 !important;
  font-family: "Montserrat", sans-serif !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  border: none !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  transition: all 0.3s ease !important;
  overflow: visible !important;
}

body .woocommerce button.button:hover,
body .woocommerce input.button:hover,
body .woocommerce a.button:hover,
body .woocommerce .wc-proceed-to-checkout a.checkout-button:hover,
body .woocommerce button[name="update_cart"]:hover,
body .woocommerce button[name="apply_coupon"]:hover,
body .woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
body .woocommerce #respond input#submit:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.4) !important;
  filter: brightness(1.1) !important;
}

body .woocommerce button.button:active,
body .woocommerce input.button:active,
body .woocommerce a.button:active,
body .woocommerce .wc-proceed-to-checkout a.checkout-button:active,
body .woocommerce button[name="update_cart"]:active,
body .woocommerce button[name="apply_coupon"]:active,
body .woocommerce-cart .wc-proceed-to-checkout a.checkout-button:active,
body .woocommerce #respond input#submit:active {
  transform: translateY(0) !important;
}

/* Disable the old radial glow */
body .woocommerce button.button::before,
body .woocommerce a.button::before,
body .woocommerce button[name="update_cart"]::before,
body .woocommerce button[name="apply_coupon"]::before,
body .woocommerce-cart .wc-proceed-to-checkout a.checkout-button::before,
body .woocommerce .wc-proceed-to-checkout a.checkout-button::before {
  display: none !important;
}

/* --- REMOVE BUTTON GLEAM & FIX DISABLED OPACITY --- */
body .woocommerce button.button::after,
body .woocommerce input.button::after,
body .woocommerce a.button::after,
body .woocommerce .wc-proceed-to-checkout a.checkout-button::after,
body .woocommerce button[name="update_cart"]::after,
body .woocommerce button[name="apply_coupon"]::after,
body .woocommerce-cart .wc-proceed-to-checkout a.checkout-button::after,
body .woocommerce #respond input#submit::after {
  display: none !important;
  animation: none !important;
}

body .woocommerce button.button:disabled,
body .woocommerce button.button[disabled],
body .woocommerce button[name="update_cart"]:disabled,
body .woocommerce button[name="update_cart"][disabled] {
  opacity: 1 !important;
  color: #000 !important;
}

/* --- CART TOTALS TYPOGRAPHY OVERRIDES --- */
body .woocommerce .cart_totals table.shop_table .cart-subtotal .amount,
body .woocommerce-page .cart_totals table.shop_table .cart-subtotal .amount,
body .woocommerce .cart_totals table.shop_table .shipping td,
body .woocommerce-page .cart_totals table.shop_table .shipping td,
body
  .woocommerce
  .cart_totals
  table.shop_table
  .shipping
  ul#shipping_method
  li
  label,
body
  .woocommerce-page
  .cart_totals
  table.shop_table
  .shipping
  ul#shipping_method
  li
  label,
body
  .woocommerce
  .cart_totals
  table.shop_table
  .woocommerce-shipping-destination,
body
  .woocommerce-page
  .cart_totals
  table.shop_table
  .woocommerce-shipping-destination {
  text-transform: uppercase !important;
  font-weight: 500 !important;
  letter-spacing: 0.5px !important;
  font-size: 0.75rem !important;
}

/* Ensure the main Total remains bold */
body .woocommerce .cart_totals table.shop_table .order-total .amount,
body .woocommerce-page .cart_totals table.shop_table .order-total .amount {
  font-weight: 800 !important;
}

/* --- MOBILE APPLY COUPON TEXT FIX --- */
@media (max-width: 768px) {
  body .woocommerce table.cart td.actions .coupon button.button,
  body .woocommerce-page table.cart td.actions .coupon button.button {
    padding: 0 0.5rem !important; /* Remove vertical padding to let flex center it */
    min-height: 48px !important; /* Ensure it matches input height */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
  }

  body .woocommerce table.cart td.actions .coupon input.input-text,
  body .woocommerce-page table.cart td.actions .coupon input.input-text {
    min-height: 48px !important; /* Match heights perfectly */
  }
}

/* --- CART TOTALS TYPOGRAPHY SIZE --- */
body .woocommerce .cart_totals table.shop_table .cart-subtotal .amount,
body .woocommerce-page .cart_totals table.shop_table .cart-subtotal .amount,
body .woocommerce .cart_totals table.shop_table .shipping td,
body .woocommerce-page .cart_totals table.shop_table .shipping td,
body
  .woocommerce
  .cart_totals
  table.shop_table
  .shipping
  ul#shipping_method
  li
  label,
body
  .woocommerce-page
  .cart_totals
  table.shop_table
  .shipping
  ul#shipping_method
  li
  label,
body
  .woocommerce
  .cart_totals
  table.shop_table
  .woocommerce-shipping-destination,
body
  .woocommerce-page
  .cart_totals
  table.shop_table
  .woocommerce-shipping-destination {
  font-size: 0.75rem !important;
}

/* --- CHECKOUT PRICES COLOR OVERRIDE --- */
body.woocommerce-checkout table.shop_table .amount,
body.woocommerce-page.woocommerce-checkout table.shop_table .amount,
body .woocommerce-checkout table.shop_table .amount {
  color: #007fff !important;
}

/* --- CHECKOUT TABLE HORIZONTAL PADDING OVERRIDE --- */
body.woocommerce-checkout #order_review table.shop_table th,
body.woocommerce-checkout #order_review table.shop_table td,
body.woocommerce-page.woocommerce-checkout #order_review table.shop_table th,
body.woocommerce-page.woocommerce-checkout #order_review table.shop_table td {
  padding-left: 15px !important;
  padding-right: 15px !important;
}

/* --- CART TOTALS HORIZONTAL PADDING OVERRIDE --- */
body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table th,
body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table td,
body.woocommerce-page.woocommerce-cart
  .cart-collaterals
  .cart_totals
  table.shop_table
  th,
body.woocommerce-page.woocommerce-cart
  .cart-collaterals
  .cart_totals
  table.shop_table
  td {
  padding-left: 15px !important;
  padding-right: 15px !important;
}

/* --- MOBILE CART COUPON SIDE-BY-SIDE OVERRIDE --- */
@media (max-width: 768px) {
  body.woocommerce-cart table.cart td.actions .coupon,
  body.woocommerce-page table.cart td.actions .coupon {
    flex-direction: row !important;
    width: 100% !important;
    gap: 10px !important;
    display: flex !important;
    align-items: center !important;
  }
  body.woocommerce-cart table.cart td.actions .coupon input.input-text,
  body.woocommerce-page table.cart td.actions .coupon input.input-text {
    flex: 1 !important;
    width: auto !important;
    min-width: 0 !important;
  }
  body.woocommerce-cart table.cart td.actions .coupon .button,
  body.woocommerce-page table.cart td.actions .coupon .button {
    width: auto !important;
    flex-shrink: 0 !important;
    padding: 0 1rem !important;
  }
}

/* --- CHECKOUT HEADERS COLOR OVERRIDE --- */
.woocommerce-checkout h3 {
  color: #00d2ff !important;
}

/* --- PRODUCT FAQ (mytheme_render_product_faq) --- */
.product-faq {
  padding: 3rem 0;
}

.product-faq .container {
  max-width: 900px;
  margin: 0 auto;
}

.product-faq .section-title {
  color: var(--primary-text-color);
}

.product-faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-faq-item {
  background: var(--card-bg);
  border: 1px solid color-mix(in srgb, var(--accent-color-3) 22%, transparent);
  border-radius: 12px;
  padding: 0 1.5rem;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.product-faq-item[open] {
  border-color: var(--accent-color-3);
  box-shadow: 0 0 30px
    color-mix(in srgb, var(--accent-color-3) 18%, transparent);
}

.product-faq-question {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary-text-color);
}

/* Remove default disclosure marker across browsers */
.product-faq-question::-webkit-details-marker {
  display: none;
}

/* Custom +/- indicator built from a rotating chevron */
.product-faq-question::after {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--accent-color-3);
  border-bottom: 2px solid var(--accent-color-3);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

.product-faq-item[open] .product-faq-question::after {
  transform: rotate(-135deg);
}

.product-faq-question:hover {
  color: var(--accent-color-hover);
}

.product-faq-answer {
  padding: 0 0 1.25rem;
  color: #cbd5e1;
  line-height: 1.7;
}

.product-faq-answer p {
  margin: 0 0 1rem;
}

.product-faq-answer p:last-child {
  margin-bottom: 0;
}

.product-faq-answer a {
  color: var(--accent-color-3);
}

@media (max-width: 600px) {
  .product-faq {
    padding: 2rem 0;
  }
  .product-faq-item {
    padding: 0 1.1rem;
  }
  .product-faq-question {
    font-size: 0.98rem;
  }
}

/* ==========================================================================
   HOMEPAGE HERO SCROLL SCENE — reactor fades to black, sale hero reveals
   ========================================================================== */
.hero-scene {
  position: relative;
  height: 220vh; /* runway: ~120vh of scroll drives the choreography */
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

/* Reactor + title fill the area above the announcement bar */
.hero-sticky > .atomic-hero {
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
}

/* Announcement bar stays put at the bottom, above the sale backdrop */
.hero-sticky > .atomic-announcement-bar {
  position: relative;
  z-index: 30;
}

/* Sale stage overlays the hero region (above reactor, below the bar) */

.sale-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
}

.sale-stage__bg {
  position: absolute;
  inset: -48px; /* oversized so the impact camera-shake never reveals an edge */
  /* plain dark blank backdrop */
  background: radial-gradient(ellipse at 50% 45%, #0a0810 0%, #030305 80%);
  opacity: 0;
}

/* Explosion clip that detonates behind the headline on impact.
   Black background drops out via screen blend, leaving only the fire. */
.sale-boom {
  position: absolute;
  left: 50%;
  top: 47%;
  width: min(92vw, 1040px);
  max-height: 86vh;
  height: auto;
  object-fit: contain;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  /* radial feather so the video's rectangular edges never show */
  -webkit-mask-image: radial-gradient(
    circle at 50% 48%,
    #000 50%,
    transparent 70%
  );
  mask-image: radial-gradient(circle at 50% 48%, #000 50%, transparent 70%);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}
/* The animated red-tint filter was the heavy end-of-clip compositing pass (filter buffer over a
   large, masked, screen-blended video). Dropped it for smooth playback — the clip is already
   fiery red/orange. is-firing kept as a harmless no-op hook. */

/* Glow flare that bursts behind the headline on reveal — deep red/orange */
.sale-flare {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 78vw;
  max-width: 980px;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(255, 84, 20, 0.55) 0%,
    rgba(230, 48, 8, 0.24) 32%,
    rgba(220, 40, 6, 0) 64%
  );
  filter: blur(18px);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
}

.sale-stage__inner {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1180px;
  padding: 0 1.5rem 30vh; /* clear the announcement bar */
  text-align: center;
}

/* ===== Phase 2: tinted reactor + ATOMIC headline + golden SALE marquee ===== */

/* ATOMIC — gold metallic with a strong shadow; the logo is the "O" and spins */
.sale-atomic {
  position: relative;
  z-index: 7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Montserrat", "Arial Black", sans-serif;
  font-weight: 800;
  font-size: clamp(4rem, 9.5vw, 8rem);
  line-height: 1;
  letter-spacing: 0.015em;
  margin-bottom: 86px;
  margin-top: -4vh; /* slightly higher */
  left: -6%; /* a bit more to the left (position:relative) */
  opacity: 0;
}
.sale-atomic__txt {
  background: linear-gradient(
    180deg,
    #fff7dd 0%,
    #f6e1a0 36%,
    #e6b24c 62%,
    #ad721a 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 3px 0 rgba(0, 0, 0, 0.55))
    drop-shadow(0 6px 2px rgba(0, 0, 0, 0.45))
    drop-shadow(0 14px 22px rgba(0, 0, 0, 0.78));
}
.sale-atomic__o {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.86em;
  height: 0.86em;
  margin: 0 0.02em;
  filter: drop-shadow(0 3px 0 rgba(0, 0, 0, 0.5))
    drop-shadow(0 14px 20px rgba(0, 0, 0, 0.72));
}
.sale-atomic__logo {
  width: 100%;
  height: 100%;
  transform-origin: 50% 50%;
  animation: spinLogo 6s linear infinite; /* clockwise, like the nav logo */
}

/* Golden diagonal SALE marquee, behind the headline, with a strong cast shadow */
.sale-salebar {
  position: relative;
  z-index: 6;
  left: 50%;
  width: 150vw;
  margin-left: -75vw;
  margin-top: clamp(
    -5rem,
    -8.5vh,
    -3rem
  ); /* overlap up so the C crosses the band */
  transform: rotate(-8deg);
  overflow: hidden;
  background: linear-gradient(
    180deg,
    #fff4cf 0%,
    #f3d271 42%,
    #e6b94e 60%,
    #c79a2e 100%
  );
  background-size: 200% auto;
  animation: saleGoldShimmer 3s linear infinite;
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.6),
    inset 0 2px 0 rgba(255, 255, 255, 0.35);
  opacity: 0;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 9%,
    #000 91%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 9%,
    #000 91%,
    transparent 100%
  );
}
.sale-salebar__track {
  display: inline-block;
  white-space: nowrap;
  font-family: "Montserrat", "Arial Black", sans-serif;
  font-weight: 800;
  font-size: clamp(1.1rem, 2.6vw, 2.2rem);
  letter-spacing: 0.18em;
  color: #2a2208;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
  animation: saleBandMarquee 22s linear infinite;
}
@keyframes saleBandMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@keyframes saleGoldShimmer {
  to {
    background-position: 200% center;
  }
}

/* Shockwave ring that bursts on the headline's impact */
.sale-shock {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 200px;
  height: 200px;
  margin: -100px 0 0 -100px;
  border: 4px solid rgba(255, 60, 90, 0.9);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  box-shadow:
    0 0 55px rgba(255, 40, 70, 0.65),
    0 0 100px rgba(255, 30, 60, 0.3),
    inset 0 0 35px rgba(255, 50, 80, 0.5);
}

.sale-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.6rem);
  flex-wrap: wrap;
}

.sale-badge-wrap {
  will-change: transform, opacity;
}

.sale-badge {
  display: block;
  width: clamp(132px, 19vw, 228px);
  height: auto;
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.55));
  animation: saleBadgeFloat 5.5s ease-in-out infinite;
  will-change: transform;
}

.sale-badge--2 {
  animation-duration: 6.3s;
  animation-delay: -1.8s;
}

.sale-badge--3 {
  animation-duration: 5.9s;
  animation-delay: -3.4s;
}

@keyframes saleBadgeFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

@media (max-width: 600px) {
  .sale-badges {
    gap: 0.8rem;
  }
  .sale-badge {
    width: clamp(96px, 28vw, 150px);
  }
}

/* SALE band relocated into the hero — a diagonal golden sash across the centre,
   revealed (opacity + clip wipe) by the master hero timeline as the reactor reddens. */
.atomic-hero .sale-salebar--hero {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 150vw;
  margin-left: -75vw;
  margin-top: 0;
  transform: translateY(-50%) rotate(-8deg);
  pointer-events: none;
  z-index: 6;
}

/* ==========================================================================
   SCROLL-TRIGGERED PROMOTION CAROUSEL
   ========================================================================== */
.hero-carousel-wrap {
  position: absolute;
  bottom: 0; /* Align directly to the bottom of the hero section */
  left: 0;
  width: 100%;
  height: 38vh; /* Larger for desktop */
  min-height: 380px;
  max-height: 560px;
  background: transparent; /* Background now handled by overlay gradients */
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  overflow: visible;
  z-index: 110;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform: translateY(120%); /* Initial state: slides up from the bottom */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  will-change: transform, opacity;
}

.carousel-bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: -2;
  pointer-events: none;
}

.carousel-bg.active {
  opacity: 1;
}

.carousel-bg-cyan {
  background: linear-gradient(
    to top,
    rgb(29 104 51 / 95%) 0%,
    rgb(5 52 32 / 50%) 40%,
    rgba(0, 0, 0, 0) 100%
  );
}

.carousel-bg-red {
  background: linear-gradient(
    to top,
    rgba(60, 10, 20, 0.95) 0%,
    rgba(60, 10, 20, 0.5) 40%,
    rgba(0, 0, 0, 0) 100%
  );
}

.carousel-bg-gold {
  background: linear-gradient(
    to top,
    rgba(50, 38, 10, 0.95) 0%,
    rgba(50, 38, 10, 0.5) 40%,
    rgba(0, 0, 0, 0) 100%
  );
}

.hero-carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.hero-carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1% 0 2%;
  box-sizing: border-box;
}

.slide-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;

  will-change: transform;
}

.slide-heading {
  font-family: "Montserrat", "Arial Black", sans-serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 4.5vw, 3.8rem);
  margin: 0;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 2px;
}

.slide-sub {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: clamp(0.8rem, 1.2vw, 1.05rem);
  color: rgba(255, 255, 255, 0.55);
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 3.5px;
}

.slide-image-wrap {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  will-change: transform;
}

/* Atmospheric neon glow under the large floating product images */
.slide-peptides .slide-image-wrap::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 188, 255, 0.28) 0%,
    rgba(0, 188, 255, 0) 70%
  );
  filter: blur(25px);
  z-index: -1;
}

/* Aspect-ratio container for Slide 1's three separated vials */
.peptides-vials-container {
  position: relative;
  width: 100%;
  max-width: 700px;
  aspect-ratio: 1235 / 474;
  height: auto;
  display: block;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.vial-wrapper {
  position: absolute;
  will-change: transform, opacity;
  transform-style: preserve-3d;
  opacity: 0;
  transition:
    transform 1.25s cubic-bezier(0.25, 1, 0.5, 1),
    opacity 0.85s ease;
}

.vial-wrap-1 {
  left: 5%;
  top: 0%;
  width: 30%;
  height: 100%;
  z-index: 1;
  transform: translateY(150px);
}

.vial-wrap-2 {
  left: 35%;
  top: 0%;
  width: 30%;
  height: 100%;
  z-index: 2; /* Center vial pops forward slightly */
  transform: translateY(200px);
}

.vial-wrap-3 {
  left: 65%;
  top: 0%;
  width: 30%;
  height: 100%;
  z-index: 1;
  transform: translateY(250px);
}

/* Fallback/Reset when slide is inactive (even if carousel is revealed) */
.hero-carousel-slide.slide-peptides:not(.active) .vial-wrap-1 {
  transform: translateY(150px);
  opacity: 0;
  transition-delay: 0s;
}
.hero-carousel-slide.slide-peptides:not(.active) .vial-wrap-2 {
  transform: translateY(200px);
  opacity: 0;
  transition-delay: 0s;
}
.hero-carousel-slide.slide-peptides:not(.active) .vial-wrap-3 {
  transform: translateY(250px);
  opacity: 0;
  transition-delay: 0s;
}

/* Active and Revealed state — slide up from the bottom */
.hero-carousel-wrap.revealed
  .hero-carousel-slide.slide-peptides.active
  .vial-wrap-1 {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0s;
}

.hero-carousel-wrap.revealed
  .hero-carousel-slide.slide-peptides.active
  .vial-wrap-2 {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.12s;
}

.hero-carousel-wrap.revealed
  .hero-carousel-slide.slide-peptides.active
  .vial-wrap-3 {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.24s;
}

/* Horizontal slide parallax staggered offset layer */
.vial-slide-offset {
  width: 100%;
  height: 100%;
  display: block;
  transition:
    transform 0.85s cubic-bezier(0.25, 1, 0.5, 1),
    opacity 0.7s ease;
  will-change: transform, opacity;
  transform-style: preserve-3d;
}

.vial-offset-1 {
  transition-delay: 0s;
}

.vial-offset-2 {
  transition-delay: 0.08s;
}

.vial-offset-3 {
  transition-delay: 0.16s;
}

/* When peptides slide is active, restore default translation */
.hero-carousel-slide.slide-peptides.active .vial-slide-offset {
  transform: translateX(0);
  opacity: 1;
}

/* When transitioning away (slide becomes inactive), translate down with staggered lag and fade */
.hero-carousel-slide.slide-peptides:not(.active) .vial-offset-1 {
  transform: translateY(180px);
  opacity: 0;
}

.hero-carousel-slide.slide-peptides:not(.active) .vial-offset-2 {
  transform: translateY(260px);
  opacity: 0;
}

.hero-carousel-slide.slide-peptides:not(.active) .vial-offset-3 {
  transform: translateY(340px);
  opacity: 0;
}

.vial-element {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.7));
  will-change: transform;
}

.vial-1 {
  animation: vialFloat1 5s ease-in-out infinite alternate;
}

.vial-2 {
  animation: vialFloat2 4.3s ease-in-out infinite alternate -1.2s;
}

.vial-3 {
  animation: vialFloat3 5.5s ease-in-out infinite alternate -2.5s;
}

@keyframes vialFloat1 {
  0% {
    transform: translateY(0) translateZ(-30px) rotate(0deg) rotateY(0deg)
      rotateX(0deg);
  }
  100% {
    transform: translateY(-16px) translateZ(-10px) rotate(3deg) rotateY(12deg)
      rotateX(4deg);
  }
}

@keyframes vialFloat2 {
  0% {
    transform: translateY(0) translateZ(60px) rotate(0deg) rotateY(0deg)
      rotateX(0deg);
  }
  100% {
    transform: translateY(-28px) translateZ(100px) rotate(-4deg) rotateY(-18deg)
      rotateX(-6deg);
  }
}

@keyframes vialFloat3 {
  0% {
    transform: translateY(0) translateZ(-50px) rotate(0deg) rotateY(0deg)
      rotateX(0deg);
  }
  100% {
    transform: translateY(-14px) translateZ(-30px) rotate(4deg) rotateY(15deg)
      rotateX(3deg);
  }
}

.slide-bulk .slide-image-wrap::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 60, 90, 0.28) 0%,
    rgba(255, 60, 90, 0) 70%
  );
  filter: blur(25px);
  z-index: -1;
}

.slide-stacks .slide-image-wrap::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(243, 210, 113, 0.28) 0%,
    rgba(243, 210, 113, 0) 70%
  );
  filter: blur(25px);
  z-index: -1;
}

.slide-image-entrance {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  will-change: transform, opacity;
  transform: translateY(150px);
  opacity: 0;
  transition:
    transform 1.25s cubic-bezier(0.25, 1, 0.5, 1),
    opacity 0.85s ease;
}

.hero-carousel-slide:not(.active) .slide-image-entrance {
  transform: translateY(150px);
  opacity: 0;
}

.hero-carousel-wrap.revealed .hero-carousel-slide.active .slide-image-entrance {
  transform: translateY(0);
  opacity: 1;
}

.slide-image {
  width: auto;
  max-width: 850px;
  max-height: 42vh;
  min-height: 320px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.7));
  animation: carouselImageFloat 4.5s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes carouselImageFloat {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  100% {
    transform: translateY(-12px) rotate(2deg);
  }
}

/* Glowing text classes */
.text-glow-cyan {
  background: linear-gradient(90deg, #acf97e 0%, #00ff13 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 15px rgba(19, 80, 39, 0.5));
}

.text-glow-red {
  background: linear-gradient(90deg, #ff3c5a 0%, #ff7675 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 15px rgba(255, 60, 90, 0.5));
}

.text-glow-gold {
  background: linear-gradient(90deg, #fff4cf 0%, #f3d271 50%, #e6b94e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 15px rgba(243, 210, 113, 0.5));
}

/* Dots navigation */
.hero-carousel-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-dot.active {
  background: #00bcff;
  width: 20px;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 188, 255, 0.85);
}

/* Responsiveness Media Queries */
@media (max-width: 1024px) {
  .hero-carousel-wrap {
    height: 30vh;
    min-height: 300px;
  }
  .hero-carousel-slide {
    flex-direction: column-reverse;
    justify-content: center;
    padding: 25px 5% 40px 5%;
    text-align: center;
  }
  .slide-image {
    width: 100%;
    max-width: 480px;
    height: auto;
    max-height: 185px;
    min-height: 0;
  }
  .peptides-vials-container {
    max-width: 480px;
    height: auto;
  }
  .slide-peptides .slide-image-wrap::before,
  .slide-bulk .slide-image-wrap::before,
  .slide-stacks .slide-image-wrap::before {
    width: 260px;
    height: 260px;
  }
  .trust-icon svg {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 1023px) {
  .hero-carousel-slide .slide-content {
    align-items: center !important;
    text-align: center !important;
    width: 100%;
    margin-top: -15px;
  }
  .hero-carousel-slide .slide-heading {
    white-space: nowrap !important;
    font-size: clamp(1.2rem, 4.5vw, 3rem) !important;
    width: 100%;
  }
  .hero-carousel-slide .slide-sub {
    text-align: center !important;
    width: 100%;
  }
}

/* ==========================================================================
   Epic Sale Countdown Styling
   ========================================================================== */

.epic-countdown-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
  width: 100%;
}

.epic-countdown-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  background: rgba(10, 12, 22, 0.3);
  border: 2px solid rgba(216, 181, 74, 0.4);
  border-radius: 50px;
  padding: 0.8rem 2.5rem;
  box-shadow:
    0 0 25px rgba(216, 181, 74, 0.2),
    inset 0 0 15px rgba(216, 181, 74, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: epicPulse 3s infinite alternate
    cubic-bezier(0.45, 0.05, 0.55, 0.95);
  white-space: nowrap;
}

@keyframes epicPulse {
  0% {
    box-shadow:
      0 0 20px rgba(216, 181, 74, 0.15),
      inset 0 0 10px rgba(216, 181, 74, 0.1);
    border-color: rgba(216, 181, 74, 0.3);
  }
  100% {
    box-shadow:
      0 0 45px rgba(255, 215, 0, 0.4),
      inset 0 0 25px rgba(255, 215, 0, 0.25);
    border-color: rgba(255, 215, 0, 0.7);
  }
}

.epic-countdown-heading {
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-size: clamp(0.9rem, 1.5vw, 1.2rem);
  margin: 0;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
}

.epic-countdown-timer {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.epic-countdown-timer .time-unit {
  color: #ffd700;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 900;
  font-family: "Montserrat", sans-serif;
  text-shadow:
    0 0 15px rgba(255, 215, 0, 0.8),
    0 0 35px rgba(255, 215, 0, 0.4);
  letter-spacing: 1px;
  line-height: 1;
  display: flex;
  align-items: baseline;
}

.epic-countdown-timer .time-label {
  color: #d8b54a;
  font-size: clamp(0.7rem, 1.2vw, 0.9rem);
  font-weight: 700;
  margin-left: 2px;
  letter-spacing: 1px;
  text-shadow: none;
}

@media (max-width: 768px) {
  .epic-countdown-container {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 20px;
  }
}

@media (max-width: 768px) {
  .hero-carousel-wrap {
    height: 35vh;
    min-height: 260px;
    bottom: 60px;
  }
  .hero-carousel-slide {
    padding: 0 6% 0 8%;
  }
  .slide-image {
    width: 100%;
    max-width: 480px;
    height: auto;
    max-height: 185px;
    min-height: 0;
    margin-left: 0;
  }
  .peptides-vials-container {
    max-width: 480px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
  }
  .slide-peptides .slide-image-wrap::before,
  .slide-bulk .slide-image-wrap::before,
  .slide-stacks .slide-image-wrap::before {
    width: 200px;
    height: 200px;
  }
  .slide-sub {
    letter-spacing: 2px;
    margin-top: 6px;
  }
}

@media (max-width: 480px) {
  .hero-carousel-wrap {
    height: 310px; /* Force static height on tiny displays to preserve hierarchy */
  }
  .hero-carousel-slide {
    flex-direction: column-reverse;
    justify-content: center;
    padding: 25px 5% 40px 5%;
    text-align: center;
  }
  .slide-content {
    align-items: center;
    margin-top: 0px;
  }
  .slide-image-wrap {
    margin-left: 0;
  }
  .slide-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    max-height: 155px;
    min-height: 0;
  }
  .peptides-vials-container {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
  }
  .slide-peptides .slide-image-wrap::before,
  .slide-bulk .slide-image-wrap::before,
  .slide-stacks .slide-image-wrap::before {
    width: 130px;
    height: 130px;
  }
  .slide-sub {
    letter-spacing: 1px;
    margin-top: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-carousel-wrap,
  .hero-carousel-track {
    transition-duration: 0.01ms !important;
  }
  .carousel-dot,
  .slide-content,
  .slide-image-wrap {
    animation: none !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transform: none !important;
  }
}

/* ==========================================================================
   Global WooCommerce Product Card Styles (from Shop page)
   ========================================================================== */
@keyframes cardEntrance {
  from {
    opacity: 0;
    transform: translateY(35px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 480px;
  min-width: 100%;
  transition:
    transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    border-color 0.4s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: cardEntrance 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(0.25s + var(--card-index, 0) * 0.05s);
  box-sizing: border-box;
}

.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 1px solid var(--accent-color);
  opacity: 0.15;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.5),
    0 0 20px var(--accent-color) !important;
  border-color: var(--accent-color) !important;
}

.product-card:hover::after {
  opacity: 0.4;
}

.product-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

@keyframes badgeShine {
  0% {
    left: -150%;
  }
  50%,
  100% {
    left: 150%;
  }
}

.purity-badge {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.purity-badge::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transform: skewX(-20deg);
  animation: badgeShine 4s ease-in-out infinite;
  animation-delay: 2s;
}

.type-badge {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-color);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--accent-color);
  padding: 3px 8px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-card-image {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem 0;
  position: relative;
  transition: transform 0.4s ease;
}

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

.product-card-image img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.5));
  transition: transform 0.4s ease;
}

.product-card-info {
  text-align: center;
  margin-top: auto;
  min-width: 0;
  width: 100%;
}

.cat-type-badge {
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 8;
  font-family: "Montserrat", sans-serif;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  background: transparent;
  padding: 4px 10px;
  border: none;
  white-space: nowrap;
  pointer-events: none;
}

.cat-type-peptide {
  color: #2ee08a;
}

.product-card-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.2rem, 1.5vw, 1.45rem);
  font-weight: 800;
  margin: 0.75rem 0 0.5rem;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
  line-height: 1.25;
}

.product-card-price {
  font-size: 1.35rem;
  font-weight: 700;
  color: #99ccff !important;
  margin: 0.5rem 0 1.25rem;
}

.product-card-price .amount {
  color: #99ccff !important;
}

.product-card-specs {
  list-style: none;
  padding: 0;
  margin: 0 auto 1.5rem auto;
  text-align: left;
  max-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.75rem 0;
}

.product-card-specs li {
  position: relative;
  padding-left: 1.25rem;
}

.product-card-specs li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: 900;
  text-shadow: 0 0 5px var(--accent-color);
}

.product-card-actions {
  display: flex;
  gap: 0.75rem;
  width: 100%;
  margin-top: 1rem;
}

.product-card-actions .added_to_cart {
  display: none !important;
}

.product-card-actions .product-card-btn {
  flex: 1;
  height: 46px;
  border-radius: 8px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-decoration: none;
}

.product-card-actions .btn-view {
  background: transparent;
  border: 2px solid var(--accent-color);
  color: var(--accent-color) !important;
}

.product-card-actions .btn-view:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

.product-card-actions .btn-add {
  background: var(--accent-color);
  color: #000000ff !important;
  border: none;
}

.product-card-actions .btn-add:hover {
  box-shadow: 0 0 15px var(--accent-color);
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.product-card-actions .product-card-btn:active {
  transform: translateY(0);
}

.product-card-sale-bar {
  position: relative;
  width: 100%;
  height: 24px;
  overflow: hidden;
  background: linear-gradient(
    110deg,
    #c79a2e 0%,
    #f7e7a6 25%,
    #fff4cf 50%,
    #f7e7a6 75%,
    #c79a2e 100%
  );
  background-size: 200% auto;
  border-radius: 4px;
  margin-bottom: 0.8rem;
  box-shadow: 0 2px 10px rgba(201, 162, 39, 0.45);
  animation: atomic-gold-shimmer-shop 2.8s linear infinite;
  display: block;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 15%,
    black 85%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 15%,
    black 85%,
    transparent 100%
  );
}

.sale-marquee-track {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  color: #2a2208;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 2px;
  animation: saleMarquee 12s linear infinite;
}

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

@keyframes atomic-gold-shimmer-shop {
  to {
    background-position: 200% center;
  }
}

/* If accent color is bright, text should be black for contrast */
.product-card[style*="--accent-color: #fbbc00"] .btn-add,
.product-card[style*="--accent-color: #eab308"] .btn-add,
.product-card[style*="--accent-color: #38bdf8"] .btn-add,
.product-card[style*="--accent-color: #00BFFF"] .btn-add,
.product-card[style*="--accent-color: #ccc"] .btn-add,
.product-card[style*="--accent-color: #888"] .btn-add,
.product-card[style*="--accent-color: #f87171"] .btn-add,
.product-card[style*="--accent-color: #22c55e"] .btn-add {
  color: #000 !important;
}

/* ==========================================================================
   Homepage Peptide Carousel Layout Styles
   ========================================================================== */
.peptide-carousel-container {
  position: relative;
  width: 100%;
  padding: 1.5rem 0 3rem;
  overflow: visible;
}

.peptide-carousel-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 1rem 0; /* padding so card lift hover shadows don't get clipped */
}

.peptide-carousel-track {
  display: flex;
  gap: 20px;
  width: 100%;
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

/* Force carousel product cards to fit responsive slide layouts */
.peptide-carousel-track .product-card {
  flex: 0 0 calc((100% - 60px) / 4);
  min-width: calc((100% - 60px) / 4);
  box-sizing: border-box;
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}

.peptide-carousel-track .product-card:hover {
  transform: translateY(-8px) !important;
}

.peptide-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1.5rem;
}

.peptide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.peptide-dot.active {
  background: #2ee08a; /* Theme green active dot */
  width: 20px;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(46, 224, 138, 0.85);
}

@media (max-width: 1024px) {
  .peptide-carousel-track .product-card {
    flex: 0 0 calc((100% - 20px) / 2);
    min-width: calc((100% - 20px) / 2);
  }
}

@media (max-width: 768px) {
  .peptide-carousel-track .product-card {
    flex: 0 0 100%;
    min-width: 100%;
  }
}
