/*
Theme Name: PEPTIDESSHOP WooCommerce Theme
Theme URI: https://peptidesshop.com
Author: PEPTIDESSHOP BioTech
Author URI: https://peptidesshop.com
Description: Official pharmaceutical WooCommerce theme for PEPTIDESSHOP — Research Today A Healthier Tomorrow. Features clinical white purity aesthetics, Advancing Human Potential layout, HPLC lab certificate integrations, cold-chain Easyship compatibility, and full Elementor support.
Version: 2.1.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: peptidesshop
Tags: e-commerce, woocommerce, pharmaceutical, elementor, full-width-template, translation-ready
*/

:root {
  --color-primary: #0a0f1d;
  --color-brand-cyan: #0ea5e9;
  --color-brand-cyan-light: #38bdf8;
  --color-brand-cyan-glow: rgba(14, 165, 233, 0.25);
  --color-bg-light: #ffffff;
  --color-bg-subtle: #f8fafc;
  --color-card-border: #e2e8f0;
  --color-text-dark: #0f172a;
  --color-text-muted: #64748b;
  --product-grid-gap: 24px;
  --radius-card: 16px;
  --radius-btn: 12px;
}

*, *::before, *::after {
  box-sizing: border-box !important;
}

html, body {
  margin: 0 !important;
  padding: 0 !important;
  max-width: 100vw !important;
  width: 100% !important;
  overflow-x: hidden !important;
  font-family: 'Plus Jakarta Sans', 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--color-bg-subtle);
  color: var(--color-text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Header & Storefront Signboard */
.site-header {
  background: #070b14 !important;
  border-bottom: 2px solid rgba(14, 165, 233, 0.4) !important;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.5) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 9999 !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 12px 16px !important;
  box-sizing: border-box !important;
}

.site-header-inner {
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-sizing: border-box;
}

.site-logo-link {
  text-decoration: none !important;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.site-logo-icon {
  filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.6));
  flex-shrink: 0;
}

.site-logo-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.01em;
}

.logo-white { color: #ffffff !important; }
.logo-cyan { color: #38bdf8 !important; text-shadow: 0 0 14px rgba(56, 189, 248, 0.5); }

.site-logo-subtitle {
  font-size: 0.5625rem;
  color: #94a3b8;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 3px;
}

/* Desktop Navigation */
.desktop-main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}

.desktop-main-nav a {
  color: #cbd5e1;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.15s ease;
}

.desktop-main-nav a:hover {
  color: #38bdf8;
}

/* Header Actions: Cart + Mobile Hamburger */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-cart-button {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: rgba(14, 165, 233, 0.18) !important;
  border: 1px solid rgba(56, 189, 248, 0.45) !important;
  padding: 8px 14px !important;
  border-radius: 9999px !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  font-size: 0.8125rem !important;
  white-space: nowrap !important;
  transition: all 0.2s ease !important;
}

.header-cart-button:hover {
  background: rgba(14, 165, 233, 0.3) !important;
  border-color: #38bdf8 !important;
  transform: translateY(-1px);
}

.header-cart-badge {
  background: #38bdf8 !important;
  color: #04070e !important;
  padding: 2px 7px !important;
  border-radius: 9999px !important;
  font-size: 0.75rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

.header-cart-total {
  color: #38bdf8 !important;
  font-weight: 800 !important;
}

/* Hamburger Toggle Button */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 10px;
  cursor: pointer;
  padding: 8px;
  gap: 5px;
  transition: all 0.2s;
  box-sizing: border-box;
}

.mobile-nav-toggle:hover {
  background: rgba(14, 165, 233, 0.25);
  border-color: #38bdf8;
}

.hamburger-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: #38bdf8;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* Mobile Full-Width Slide-Down Navigation Menu (Matches Preview Exactly) */
.mobile-nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background: #050811;
  border-bottom: 2px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.95);
  padding: 0;
  box-sizing: border-box;
  z-index: 99999;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  visibility: hidden;
  transform: translateY(-8px);
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.25s ease,
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.35s;
}

.mobile-nav-dropdown.is-open {
  max-height: 85vh;
  opacity: 1;
  overflow-y: auto;
  pointer-events: auto;
  visibility: visible;
  transform: translateY(0);
  padding: 16px 16px 24px 16px;
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

/* Slide-Out Research Cart Drawer (Luxury Dark Theme) */
.peptidesshop-cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100000;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.peptidesshop-cart-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.peptidesshop-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(92vw, 440px);
  height: 100%;
  background: #050811;
  border-left: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.95);
  z-index: 100001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  padding-top: max(16px, env(safe-area-inset-top, 16px));
}

.peptidesshop-cart-drawer.is-open {
  transform: translateX(0);
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
  background: #080d1a;
}

.cart-drawer-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-drawer-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9375rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.05em;
}

.cart-drawer-count-badge {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 9999px;
}

.cart-drawer-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94a3b8;
  font-size: 1.25rem;
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1;
}

.cart-drawer-close:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #ef4444;
}

.cart-drawer-cold-chain-bar {
  background: rgba(14, 165, 233, 0.08);
  border-bottom: 1px solid rgba(14, 165, 233, 0.15);
  padding: 10px 22px;
  font-size: 0.75rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 22px;
}

.cart-drawer-items-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-drawer-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #090e1a;
  border: 1px solid #1e293b;
  border-radius: 12px;
  padding: 12px;
}

.cart-drawer-item-thumb {
  flex-shrink: 0;
}

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

.cart-drawer-item-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}

.cart-drawer-item-price {
  font-size: 0.75rem;
  color: #94a3b8;
}

.cart-drawer-item-subtotal {
  font-size: 0.8125rem;
  font-weight: 800;
  color: #38bdf8;
  margin-top: 2px;
}

.cart-drawer-remove {
  color: #64748b;
  font-size: 1.125rem;
  padding: 4px 8px;
  text-decoration: none;
  transition: color 0.2s;
}

.cart-drawer-remove:hover {
  color: #ef4444;
}

.cart-drawer-empty {
  text-align: center;
  padding: 48px 16px;
  color: #94a3b8;
}

.cart-empty-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.cart-empty-text {
  font-size: 0.875rem;
  margin-bottom: 18px;
}

.cart-empty-button {
  display: inline-block;
  background: #0284c7;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.8125rem;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
}

.cart-drawer-footer {
  padding: 18px 22px 24px 22px;
  border-top: 1px solid rgba(56, 189, 248, 0.2);
  background: #080d1a;
}

.cart-drawer-subtotal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: #cbd5e1;
  margin-bottom: 8px;
}

.cart-drawer-subtotal-val {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  color: #38bdf8;
}

.cart-drawer-cold-note {
  font-size: 0.6875rem;
  color: #64748b;
  margin-bottom: 16px;
  line-height: 1.4;
}

.cart-drawer-checkout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%);
  color: #020617;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  font-weight: 900;
  padding: 14px;
  border-radius: 10px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 18px rgba(14, 165, 233, 0.35);
  transition: all 0.2s;
  margin-bottom: 8px;
}

.cart-drawer-checkout-btn:hover {
  background: #38bdf8;
  transform: translateY(-1px);
}

.cart-drawer-view-cart-btn {
  display: block;
  text-align: center;
  font-size: 0.75rem;
  color: #94a3b8;
  text-decoration: underline;
  padding: 6px;
}

.cart-drawer-view-cart-btn:hover {
  color: #38bdf8;
}

.mobile-search-form {
  display: flex;
  margin-bottom: 20px;
  gap: 8px;
}

.mobile-search-input {
  flex: 1;
  background: #0f172a;
  border: 1px solid #334155;
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.8125rem;
}

.mobile-search-submit {
  background: #0284c7;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 0 14px;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 10px;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 700;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.1);
  transition: all 0.2s;
}

.mobile-link:hover, .mobile-link-highlight {
  background: rgba(14, 165, 233, 0.15) !important;
  border-color: rgba(56, 189, 248, 0.4) !important;
  color: #ffffff !important;
}

.mobile-badge {
  font-size: 0.6875rem;
  background: #0284c7;
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 9999px;
  font-weight: 800;
}

.mobile-nav-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .desktop-main-nav {
    display: none !important;
  }
  .mobile-nav-toggle {
    display: flex !important;
  }
  .header-cart-text,
  .header-cart-total {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 10px 12px !important;
  }
  .site-logo-subtitle {
    display: none !important;
  }
  .site-logo-title {
    font-size: 1.15rem !important;
  }
}

/* 3 Store Badges (Guaranteed 3 equal columns, side-by-side) */
.store-badges-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: 520px !important;
  margin-bottom: 28px !important;
  box-sizing: border-box !important;
}

@media (max-width: 640px) {
  .store-badges-grid {
    gap: 6px !important;
  }
}

.store-badge-card {
  background: rgba(15, 23, 42, 0.9) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  border-radius: 12px !important;
  padding: 10px 4px !important;
  text-align: center !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
}

.store-badge-title {
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 0.6875rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.03em !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.store-badge-desc {
  color: #94a3b8 !important;
  font-size: 0.625rem !important;
  margin-top: 2px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* High-Tech Borosilicate Vial Illustration Stage */
.peptidesshop-vial-stage {
  position: relative;
  height: 185px;
  width: 100%;
  background: radial-gradient(circle at 50% 35%, #ffffff 0%, #f1f5f9 100%);
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 14px;
  box-sizing: border-box;
}

.peptidesshop-vial-stage:hover {
  border-color: #38bdf8;
}

/* WooCommerce Product Grid - Precision Centered Alignment */
.woocommerce ul.products,
ul.products,
.products.columns-3 {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)) !important;
  gap: var(--product-grid-gap) !important;
  padding: 0 !important;
  margin: 32px auto !important;
  list-style: none !important;
  width: 100% !important;
  max-width: 1320px !important;
  justify-content: center !important;
  justify-items: center !important;
  box-sizing: border-box !important;
}

@media (min-width: 1024px) {
  .woocommerce ul.products,
  ul.products,
  .products.columns-3 {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

.woocommerce ul.products li.product,
ul.products li.product,
li.pharma-product-card {
  background: #ffffff !important;
  border: 1px solid var(--color-card-border) !important;
  border-radius: var(--radius-card) !important;
  padding: 22px !important;
  margin: 0 auto !important;
  width: 100% !important;
  max-width: 390px !important;
  float: none !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  box-sizing: border-box !important;
}

.woocommerce ul.products li.product:hover,
li.pharma-product-card:hover {
  transform: translateY(-4px) !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 16px 32px -8px rgba(14, 165, 233, 0.15) !important;
}

.product-purity-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(14, 165, 233, 0.1);
  color: #0284c7;
  border: 1px solid rgba(14, 165, 233, 0.25);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.woocommerce ul.products li.product .star-rating {
  display: block !important;
  color: #f59e0b !important;
  margin: 8px 0 !important;
}

.woocommerce ul.products li.product .price {
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 12px 0 !important;
}

.woocommerce ul.products li.product .button {
  background: #0284c7 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.875rem !important;
  padding: 12px 20px !important;
  border-radius: var(--radius-btn) !important;
  border: none !important;
  text-align: center !important;
  display: block !important;
  width: 100% !important;
  transition: all 0.2s ease !important;
}

.woocommerce ul.products li.product .button:hover {
  background: #0ea5e9 !important;
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.35) !important;
}

/* Easyship Cold Chain Badge */
.easyship-shipping-notice {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.75rem;
  color: #0369a1;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

/* ============================================================
   WooCommerce Dark Luxury Cart & Checkout Overrides
   Replaces default white unstyled table with high-tech bio-tech styling
   ============================================================ */

.woocommerce-cart,
.woocommerce-checkout,
.woocommerce-page,
.woocommerce-account {
  background: #050811 !important;
  color: #f1f5f9 !important;
}

.woocommerce-cart .site-main,
.woocommerce-checkout .site-main,
.woocommerce-page .site-main {
  background: transparent !important;
  padding: 32px 16px 64px 16px !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

.woocommerce-cart .entry-title,
.woocommerce-checkout .entry-title {
  color: #ffffff !important;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 900 !important;
  font-size: 2rem !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 24px !important;
}

/* Master Table Containers */
.woocommerce table.shop_table,
.woocommerce-page table.shop_table,
table.shop_table_responsive {
  background: #090e1a !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  border-radius: 16px !important;
  color: #f8fafc !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  overflow: hidden !important;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.6) !important;
  margin-bottom: 30px !important;
  width: 100% !important;
}

.woocommerce table.shop_table th {
  background: #0c1324 !important;
  color: #38bdf8 !important;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 800 !important;
  font-size: 0.8125rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  padding: 16px 20px !important;
  border: none !important;
  border-bottom: 1px solid rgba(56, 189, 248, 0.2) !important;
}

.woocommerce table.shop_table td {
  padding: 16px 20px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-bottom: none !important;
  color: #cbd5e1 !important;
  vertical-align: middle !important;
  background: #090e1a !important;
}

/* Product Titles in Cart */
.woocommerce table.shop_table td.product-name a {
  color: #ffffff !important;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  text-decoration: none !important;
  transition: color 0.2s !important;
}

.woocommerce table.shop_table td.product-name a:hover {
  color: #38bdf8 !important;
}

/* Product Price & Subtotal */
.woocommerce table.shop_table td.product-price,
.woocommerce table.shop_table td.product-subtotal {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 800 !important;
  font-size: 1rem !important;
  color: #38bdf8 !important;
}

/* Remove Item 'X' Button */
.woocommerce table.shop_table a.remove {
  background: rgba(239, 68, 68, 0.12) !important;
  border: 1px solid rgba(239, 68, 68, 0.3) !important;
  color: #f87171 !important;
  border-radius: 9999px !important;
  width: 28px !important;
  height: 28px !important;
  line-height: 26px !important;
  text-align: center !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 16px !important;
  font-weight: bold !important;
  transition: all 0.2s !important;
  text-decoration: none !important;
}

.woocommerce table.shop_table a.remove:hover {
  background: #ef4444 !important;
  color: #ffffff !important;
  transform: scale(1.1) !important;
}

/* Quantity Input */
.woocommerce .quantity input.qty {
  background: #020617 !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  padding: 8px 10px !important;
  font-weight: 700 !important;
  text-align: center !important;
  width: 64px !important;
}

/* Cart Actions (Coupon & Update Cart) */
.woocommerce table.shop_table td.actions {
  background: #0c1324 !important;
  padding: 18px 20px !important;
  border-top: 1px solid rgba(56, 189, 248, 0.2) !important;
}

.woocommerce table.shop_table td.actions input.input-text {
  background: #020617 !important;
  border: 1px solid #334155 !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  font-size: 0.875rem !important;
}

.woocommerce table.shop_table td.actions .button,
.woocommerce button.button[name="update_cart"],
.woocommerce button.button[name="apply_coupon"] {
  background: #1e293b !important;
  color: #e2e8f0 !important;
  border: 1px solid #334155 !important;
  border-radius: 8px !important;
  padding: 10px 18px !important;
  font-weight: 700 !important;
  font-size: 0.8125rem !important;
  transition: all 0.2s !important;
  cursor: pointer !important;
}

.woocommerce table.shop_table td.actions .button:hover,
.woocommerce button.button[name="update_cart"]:hover,
.woocommerce button.button[name="apply_coupon"]:hover {
  background: #334155 !important;
  color: #38bdf8 !important;
  border-color: #38bdf8 !important;
}

/* Cart Collaterals & Totals Box */
.woocommerce .cart-collaterals,
.woocommerce-page .cart-collaterals {
  margin-top: 32px !important;
}

.woocommerce .cart-collaterals .cart_totals {
  background: #090e1a !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
  border-radius: 16px !important;
  padding: 24px !important;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.6) !important;
  color: #ffffff !important;
}

.woocommerce .cart-collaterals .cart_totals h2 {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 1.25rem !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  margin-bottom: 16px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding-bottom: 12px !important;
}

.woocommerce .cart-collaterals .cart_totals table.shop_table {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  margin-bottom: 0 !important;
}

.woocommerce .cart-collaterals .cart_totals table.shop_table th {
  background: transparent !important;
  color: #94a3b8 !important;
  border: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.woocommerce .cart-collaterals .cart_totals table.shop_table td {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  color: #ffffff !important;
  text-align: right !important;
}

.woocommerce .cart-collaterals .cart_totals .order-total strong {
  font-size: 1.35rem !important;
  color: #38bdf8 !important;
  font-weight: 900 !important;
}

/* Proceed to Checkout CTA Button */
.woocommerce .wc-proceed-to-checkout a.checkout-button {
  background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%) !important;
  color: #020617 !important;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 900 !important;
  font-size: 0.95rem !important;
  padding: 16px 24px !important;
  border-radius: 12px !important;
  display: block !important;
  text-align: center !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.35) !important;
  transition: all 0.2s ease !important;
  margin-top: 16px !important;
  border: none !important;
  text-decoration: none !important;
}

.woocommerce .wc-proceed-to-checkout a.checkout-button:hover {
  background: #38bdf8 !important;
  box-shadow: 0 6px 28px rgba(56, 189, 248, 0.5) !important;
  transform: translateY(-2px) !important;
}

/* Mobile Responsive Cart Table Overrides (Solves Image 41!) */
@media screen and (max-width: 768px) {
  .woocommerce-page table.shop_table_responsive tr {
    display: block !important;
    background: #090e1a !important;
    border: 1px solid rgba(56, 189, 248, 0.25) !important;
    border-radius: 14px !important;
    margin-bottom: 16px !important;
    padding: 14px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
    position: relative !important;
  }

  .woocommerce-page table.shop_table_responsive tr td {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding: 10px 0 !important;
    text-align: right !important;
    background: transparent !important;
  }

  .woocommerce-page table.shop_table_responsive tr td:last-child {
    border-bottom: none !important;
  }

  .woocommerce-page table.shop_table_responsive tr td::before {
    content: attr(data-title);
    color: #94a3b8 !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    text-align: left !important;
    margin-right: 12px !important;
  }

  .woocommerce-page table.shop_table_responsive tr td.product-remove {
    justify-content: flex-end !important;
    padding-bottom: 6px !important;
  }

  .woocommerce-page table.shop_table_responsive tr td.product-remove::before {
    display: none !important;
  }

  .woocommerce-page table.shop_table_responsive tr td.product-thumbnail {
    justify-content: center !important;
    padding: 8px 0 !important;
  }

  .woocommerce-page table.shop_table_responsive tr td.product-thumbnail::before {
    display: none !important;
  }

  .woocommerce-page table.shop_table_responsive tr td.actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    background: #0c1324 !important;
    border-radius: 12px !important;
  }

  .woocommerce-page table.shop_table_responsive tr td.actions .coupon {
    display: flex !important;
    width: 100% !important;
    gap: 8px !important;
  }

  .woocommerce-page table.shop_table_responsive tr td.actions .coupon input {
    flex: 1 !important;
    width: auto !important;
  }

  .woocommerce-page table.shop_table_responsive tr td.actions .button {
    width: 100% !important;
  }
}

/* ============================================================
   WooCommerce Checkout Form & Payment Overrides (Desktop & Mobile)
   Transforms default black unstyled box into modern luxury clinical dark card
   ============================================================ */
.woocommerce-checkout {
  background: #050811 !important;
  color: #f1f5f9 !important;
}

.woocommerce-checkout .woocommerce-NoticeGroup {
  max-width: 1200px;
  margin: 0 auto 20px auto;
}

/* Coupon Notice Bar */
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info,
.woocommerce-checkout .woocommerce-info {
  background: #0b1222 !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  border-left: 4px solid #38bdf8 !important;
  border-radius: 14px !important;
  color: #cbd5e1 !important;
  font-size: 0.875rem !important;
  padding: 16px 20px !important;
  max-width: 1200px !important;
  margin: 0 auto 24px auto !important;
}

.woocommerce-checkout .woocommerce-info a {
  color: #38bdf8 !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
}

.woocommerce-checkout form.checkout_coupon {
  background: #090e1a !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  border-radius: 14px !important;
  padding: 20px !important;
  max-width: 1200px !important;
  margin: 0 auto 28px auto !important;
  display: flex !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}

/* 2-Column Desktop Grid for Checkout */
@media screen and (min-width: 992px) {
  .woocommerce-checkout form.checkout {
    display: grid !important;
    grid-template-columns: 1.15fr 0.85fr !important;
    gap: 36px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    align-items: start !important;
  }
}

/* Billing & Shipping Section Cards */
.woocommerce-checkout #customer_details {
  display: flex !important;
  flex-direction: column !important;
  gap: 24px !important;
  width: 100% !important;
}

.woocommerce-checkout .col-1,
.woocommerce-checkout .col-2 {
  float: none !important;
  width: 100% !important;
  background: #090e1a !important;
  border: 1px solid rgba(56, 189, 248, 0.2) !important;
  border-radius: 18px !important;
  padding: 28px !important;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5) !important;
  box-sizing: border-box !important;
}

.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3,
.woocommerce-checkout #order_review_heading {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 1.25rem !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding-bottom: 14px !important;
  margin-bottom: 20px !important;
  letter-spacing: -0.01em !important;
}

/* Labels & Form Controls */
.woocommerce-checkout form .form-row label {
  color: #94a3b8 !important;
  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  margin-bottom: 6px !important;
  display: block !important;
}

.woocommerce-checkout form .form-row label .required {
  color: #ef4444 !important;
}

.woocommerce-checkout form .form-row input.input-text,
.woocommerce-checkout form .form-row textarea,
.woocommerce-checkout form .form-row select,
.woocommerce-checkout .select2-container--default .select2-selection--single {
  background: #020617 !important;
  border: 1px solid #334155 !important;
  color: #ffffff !important;
  border-radius: 10px !important;
  padding: 12px 14px !important;
  font-size: 0.875rem !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
  width: 100% !important;
  height: auto !important;
}

.woocommerce-checkout form .form-row input.input-text:focus,
.woocommerce-checkout form .form-row textarea:focus,
.woocommerce-checkout form .form-row select:focus,
.woocommerce-checkout .select2-container--default.select2-container--focus .select2-selection--single {
  border-color: #38bdf8 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25) !important;
}

.woocommerce-checkout .select2-dropdown {
  background: #090e1a !important;
  border: 1px solid #334155 !important;
  color: #ffffff !important;
}

.woocommerce-checkout .select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: #0284c7 !important;
  color: #ffffff !important;
}

/* Order Review Container (Right Column on Desktop) */
.woocommerce-checkout #order_review {
  background: #090e1a !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
  border-radius: 18px !important;
  padding: 28px !important;
  box-shadow: 0 12px 36px -6px rgba(0, 0, 0, 0.6) !important;
  box-sizing: border-box !important;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table {
  background: transparent !important;
  border: none !important;
  margin-bottom: 20px !important;
  box-shadow: none !important;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table th {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #94a3b8 !important;
  padding: 12px 0 !important;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table td {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  color: #f8fafc !important;
  padding: 14px 0 !important;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-total strong {
  font-size: 1.4rem !important;
  color: #38bdf8 !important;
  font-weight: 900 !important;
}

/* Payment Methods Area */
.woocommerce-checkout #payment {
  background: #020617 !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  border-radius: 14px !important;
  padding: 18px !important;
  margin-top: 20px !important;
}

.woocommerce-checkout #payment ul.payment_methods {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding-bottom: 14px !important;
  margin-bottom: 14px !important;
}

.woocommerce-checkout #payment ul.payment_methods li {
  color: #e2e8f0 !important;
  margin-bottom: 12px !important;
}

.woocommerce-checkout #payment ul.payment_methods li label {
  color: #ffffff !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}

.woocommerce-checkout #payment div.payment_box {
  background: #090e1a !important;
  border: 1px solid rgba(56, 189, 248, 0.2) !important;
  color: #94a3b8 !important;
  border-radius: 10px !important;
  padding: 14px !important;
  font-size: 0.8125rem !important;
}

.woocommerce-checkout #payment div.payment_box::before {
  border-bottom-color: #090e1a !important;
}

/* Place Order CTA Button */
.woocommerce-checkout #payment #place_order {
  background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%) !important;
  color: #020617 !important;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 900 !important;
  font-size: 1rem !important;
  padding: 16px 28px !important;
  border-radius: 12px !important;
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  box-shadow: 0 4px 24px rgba(14, 165, 233, 0.4) !important;
  transition: all 0.2s ease !important;
  border: none !important;
  cursor: pointer !important;
  margin-top: 16px !important;
}

.woocommerce-checkout #payment #place_order:hover {
  background: #38bdf8 !important;
  box-shadow: 0 6px 32px rgba(56, 189, 248, 0.6) !important;
  transform: translateY(-2px) !important;
}

/* ========================================================
   Interactive Testimonials Slider (Mobile & Desktop)
   ======================================================== */
.peptidesshop-testimonial-section {
  background: #ffffff;
  padding: 68px 24px;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  color: #0f172a;
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.testimonial-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.testimonial-nav-btn:hover {
  background: #f1f5f9;
  color: #0284c7;
  border-color: #38bdf8;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.2);
}

.testimonial-nav-btn:active {
  transform: scale(0.94);
}

.peptidesshop-slider-viewport {
  overflow: hidden;
  width: 100%;
  position: relative;
  border-radius: 20px;
  padding: 4px 0 16px 0;
}

.peptidesshop-slider-track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.testimonial-slide {
  flex: 0 0 calc((100% - 48px) / 3);
  width: calc((100% - 48px) / 3);
  max-width: calc((100% - 48px) / 3);
  box-sizing: border-box;
}

@media (max-width: 991px) {
  .testimonial-slide {
    flex: 0 0 calc((100% - 24px) / 2);
    width: calc((100% - 24px) / 2);
    max-width: calc((100% - 24px) / 2);
  }
}

@media (max-width: 640px) {
  .testimonial-slide {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: #cbd5e1;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.testimonial-dot.is-active {
  width: 28px;
  background: #0284c7;
  box-shadow: 0 0 10px rgba(2, 132, 199, 0.4);
}

/* Zero gap between testimonials and footer */
.peptidesshop-testimonial-section {
  margin-bottom: 0 !important;
}

.site-footer,
footer.site-footer {
  margin-top: 0 !important;
}

/* ========================================================
   Clean White Single Product Page & Forced Image Visibility
   ======================================================== */
.single-product,
.single-product .site-main,
.single-product .woocommerce,
.woocommerce-page.single-product,
.woocommerce-container,
.peptidesshop-single-product-container {
  background-color: #ffffff !important;
  color: #0f172a !important;
}

/* Fix WooCommerce Flexslider Opacity: 0 bug so product images are ALWAYS visible */
.woocommerce div.product div.images,
.woocommerce div.product div.images.woocommerce-product-gallery,
.woocommerce-product-gallery,
.woocommerce-product-gallery__wrapper,
.woocommerce-product-gallery__image,
.woocommerce-product-gallery__image img,
.woocommerce-product-gallery .wp-post-image,
.peptidesshop-single-vial-wrapper,
.peptidesshop-single-product-gallery {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  filter: none !important;
}

.peptidesshop-product-img-box {
  opacity: 1 !important;
  visibility: visible !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  filter: none !important;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image img,
.peptidesshop-single-product-gallery img,
.peptidesshop-product-img-box img {
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 440px !important;
  object-fit: contain !important;
  border-radius: 16px !important;
  margin: 0 auto !important;
  display: block !important;
}
