/*
Theme Name: Alphagen Medical Shop
Theme URI: https://alphagen.pl
Author: iArea
Version: 2.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Alphagen Medical Shop WordPress Theme
*/

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

/* CSS Variables - Alphagen Brand Colors */
:root {
  /* Alphagen Brand Colors - Navy & Gold */
  --background: hsl(210, 20%, 98%);
  --foreground: hsl(210, 50%, 10%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(210, 50%, 10%);
  --popover: hsl(0, 0%, 100%);
  --popover-foreground: hsl(210, 50%, 10%);
  
  /* Primary - Deep Navy Blue */
  --primary: hsl(210, 70%, 15%);
  --primary-foreground: hsl(45, 90%, 95%);
  
  /* Secondary - Light gray-blue */
  --secondary: hsl(210, 30%, 95%);
  --secondary-foreground: hsl(210, 50%, 15%);
  
  /* Gold/Yellow accent */
  --accent: hsl(45, 85%, 52%);
  --accent-foreground: hsl(210, 70%, 15%);
  
  --muted: hsl(210, 20%, 94%);
  --muted-foreground: hsl(210, 20%, 40%);
  --destructive: hsl(0, 84%, 60%);
  --destructive-foreground: hsl(0, 0%, 100%);
  --border: hsl(210, 20%, 90%);
  --input: hsl(210, 20%, 90%);
  --ring: hsl(45, 85%, 52%);
  --radius: 0.75rem;
  
  /* Custom tokens */
  --gold: hsl(45, 85%, 52%);
  --gold-light: hsl(45, 90%, 65%);
  --gold-dark: hsl(45, 75%, 45%);
  --navy: hsl(210, 70%, 15%);
  --navy-light: hsl(210, 50%, 25%);
  --navy-dark: hsl(210, 80%, 10%);
}

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

html {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #000;
}

img {
  max-width: 100%;
  height: auto;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
}

.shop-container {
  padding: 2rem 15px;
  box-sizing: border-box;
}

/* Header Styles */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
}

.header-top-bar {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

.header-top-bar .container-wide {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-main {
  background-color: rgba(255, 255, 255, 1);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.header-main .container-wide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 15px;
}

.site-logo img,
.site-logo-img {
  height: 48px;
  width: auto;
  display: block;
  vertical-align: middle;
}


.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.main-navigation a {
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.main-navigation a:hover {
  background-color: var(--secondary);
}

/* Footer Styles */
.site-footer {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-brand {
  /* No special styling needed */
}

/* Footer Menus */
.footer-menu-section {
  display: flex;
  flex-direction: column;
}

.footer-menu-title {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: var(--primary-foreground);
  font-weight: 600;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-menu li {
  margin: 0;
}

.footer-menu a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9375rem;
}

.footer-menu a:hover {
  color: #000;
}

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

.footer-logo img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 1.5rem;
}

.footer-section h4 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: var(--primary-foreground);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #000;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background-color: var(--navy-dark);
  color: var(--primary-foreground);
}

.btn-gold {
  background-color: var(--gold);
  color: var(--navy-dark);
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.625rem 1.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 8px 24px -8px hsla(45, 85%, 52%, 0.35);
  text-decoration: none;
}

.btn-gold:hover {
  background-color: var(--gold-light);
  box-shadow: 0 12px 32px -8px hsla(45, 85%, 52%, 0.45);
  transform: translateY(-1px) scale(1.02);
}

.btn-outline {
  background: var(--card);
  border: 1px solid var(--navy-dark);
  color: var(--navy-dark);
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s;
}

.btn-outline:hover {
  background: var(--secondary);
  border-color: var(--navy-dark);
  color: var(--navy-dark);
}

.btn-gold:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 4px 16px -8px hsla(45, 85%, 52%, 0.3);
}

/* Product card button specific styles */
.product-card .btn-gold {
  width: 100%;
  margin-top: auto;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  flex-direction: unset;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--foreground);
  transition: color 0.3s;
}

.menu-toggle:hover {
  color: var(--gold);
}

.menu-icon-svg {
  display: block;
  width: 24px;
  height: 24px;
}

/* Desktop - menu visible, toggle hidden */
@media (min-width: 1025px) {
  .menu-toggle {
    display: none !important;
  }
  
  .menu-close {
    display: none !important;
  }
  
  .main-navigation {
    display: block !important;
    position: static;
  }
}

/* Mobile - menu hidden, toggle visible */
@media (max-width: 1024px) {
  .menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  
  /* Mobile Menu Overlay - hidden by default */
  .main-navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    background: var(--card);
    z-index: 9999;
    overflow-y: auto;
    padding: 2rem;
    /* Center menu content */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  /* Show menu when active */
  .main-navigation.active {
    display: flex !important;
  }
  
  /* Close button for mobile menu */
  .menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--foreground);
    padding: 0.5rem;
    border-radius: var(--radius);
    transition: all 0.3s;
  }
  
  .menu-close:hover {
    background: var(--secondary);
    color: var(--gold);
  }
  
  .main-navigation ul {
    flex-direction: column;
    padding: 0;
    margin: 0;
    list-style: none;
    width: 100%;
    max-width: 600px;
    align-items: center;
    justify-content: center;
  }
  
  .main-navigation li {
    margin: 0;
    width: 100%;
    text-align: center;
  }
  
  .main-navigation a {
    display: block;
    padding: 1.5rem 2rem;
    border-radius: 0;
    width: 100%;
    font-size: 1.125rem;
    border-bottom: 1px solid var(--border);
    text-align: center;
  }
  
  .main-navigation a:hover {
    background: var(--secondary);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .header-top-bar .container-wide {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  
  .header-top-bar .md-block {
    display: block;
  }
  
  .container-wide {
    padding: 0 1rem;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
  
  .shop-container {
    padding: 2rem 1rem;
    box-sizing: border-box;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-column {
    width: 100%;
  }
  
  .posts-grid {
    grid-template-columns: 1fr !important;
  }
  
  .hero-section h1 {
    font-size: 2rem !important;
  }
  
  .stats-section {
    margin-left: 0.5rem !important;
    margin-right: 0.5rem !important;
  }
  
  .contact-section > .container-wide > div {
    grid-template-columns: 1fr !important;
  }
}

/* Gradient Hero Background */
.bg-gradient-hero {
  background: linear-gradient(135deg, hsl(210, 70%, 15%) 0%, hsl(210, 80%, 10%) 100%);
}

/* Form Styles */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--foreground);
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(45, 85%, 52%, 0.1);
}

input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  cursor: pointer;
}

label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

/* WooCommerce Styles */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Remove WooCommerce default ::before and ::after pseudo-elements */
.woocommerce .products ul::before,
.woocommerce .products ul::after,
.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none !important;
  content: none !important;
}

.woocommerce ul.products li.product {
  margin: 0;
  display: flex;
}

.woocommerce .product-card {
  width: 100%;
}

.woocommerce .product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.woocommerce .product-card:hover .product-image {
  transform: scale(1.03);
}

/* Ensure product images are sharp and centered */
.woocommerce ul.products li.product .product-image-wrapper,
.product-image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--card);
}

.woocommerce ul.products li.product .product-image,
.product-image {
  object-fit: contain;
  object-position: center;
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: auto;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  image-rendering: high-quality;
  -ms-interpolation-mode: nearest-neighbor;
  backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* High DPI display optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .product-image,
  .product-image-wrapper img {
    image-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* Shop Layout */
.shop-layout {
  display: grid !important;
  grid-template-columns: 280px 1fr !important;
  gap: 2rem !important;
}

.shop-layout--no-sidebar {
  grid-template-columns: 1fr !important;
}

.shop-main-content--full {
  min-width: 0;
}

/* Shop Sidebar */
.shop-sidebar {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  height: fit-content;
  position: sticky;
  top: 100px;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.shop-sidebar .widget {
  margin-bottom: 2.5rem;
}

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

.shop-sidebar .widget-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--foreground);
  padding-bottom: 0.875rem;
  border-bottom: 2px solid var(--border);
  letter-spacing: -0.01em;
}

.shop-sidebar .product-categories {
  list-style: none;
  padding: 0;
  margin: 0;
}

.shop-sidebar .product-categories li {
  margin-bottom: 0.375rem;
}

.shop-sidebar .product-categories li a {
  color: var(--muted-foreground);
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.625rem 0.75rem;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  margin: 0 -0.75rem;
}

.shop-sidebar .product-categories li a:hover {
  color: var(--gold);
  background: rgba(45, 85%, 52%, 0.08);
}

.shop-sidebar .product-categories li.current-cat > a {
  color: var(--gold);
  background: rgba(45, 85%, 52%, 0.12);
  font-weight: 600;
}

.shop-sidebar .product-categories li .count {
  color: var(--muted-foreground);
  font-size: 0.8125rem;
  background: var(--secondary);
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  font-weight: 500;
  min-width: 1.75rem;
  text-align: center;
}

.shop-sidebar .product-categories .children {
  margin-left: 0.75rem;
  margin-top: 0.5rem;
  padding-left: 1rem;
  border-left: 2px solid var(--border);
  padding-top: 0.25rem;
  display: block;
}

.shop-sidebar .product-categories .children.collapsed {
  display: none;
}

/* Hide uncategorized category */
.shop-sidebar .product-categories li.cat-item-15,
.shop-sidebar .woocommerce.widget_product_categories li.cat-item-15,
.shop-sidebar .product-categories li[class*="uncategorized"],
.shop-sidebar .woocommerce.widget_product_categories li[class*="uncategorized"] {
  display: none !important;
}

/* Category toggle button */
.shop-sidebar .category-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-left: 0.5rem;
  cursor: pointer;
  color: var(--muted-foreground);
  transition: all 0.3s ease;
  flex-shrink: 0;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.03);
}

.shop-sidebar .category-toggle:hover {
  background: rgba(45, 85%, 52%, 0.1);
  color: var(--gold);
}

.shop-sidebar .category-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.shop-sidebar .category-toggle.expanded {
  background: rgba(45, 85%, 52%, 0.15);
  color: var(--gold);
}

.shop-sidebar .category-toggle.expanded svg {
  transform: rotate(180deg);
}

.shop-sidebar .product-categories li a:hover .category-toggle {
  background: rgba(45, 85%, 52%, 0.1);
  color: var(--gold);
}

.shop-sidebar .product-categories li.current-cat > a .category-toggle {
  background: rgba(45, 85%, 52%, 0.2);
  color: var(--gold);
}

/* Make parent categories more visible */
.shop-sidebar .product-categories li.cat-parent > a,
.shop-sidebar .woocommerce.widget_product_categories li.cat-parent > a {
  position: relative;
  font-weight: 500;
}

/* Add visual indicator for categories with children */
.shop-sidebar .product-categories li.cat-parent > a::after {
  content: '';
  position: absolute;
  left: -0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 16px;
  background: var(--gold);
  border-radius: 2px;
  opacity: 0.6;
}

/* Price Filter */
.shop-sidebar .price_slider_wrapper {
  padding: 1rem 0;
}

.shop-sidebar .price_slider {
  margin-bottom: 1rem;
}

.shop-sidebar .price_slider_amount {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.shop-sidebar .price_slider_amount .button {
  background: var(--gold);
  color: var(--navy-dark);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.shop-sidebar .price_slider_amount .button:hover {
  background: var(--gold-light);
}

.shop-sidebar .price_label {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* WooCommerce Widget Styles */
.shop-sidebar .woocommerce.widget_product_categories ul.product-categories {
  list-style: none;
  padding: 0;
  margin: 0;
}

.shop-sidebar .woocommerce.widget_product_categories ul.product-categories li {
  margin-bottom: 0.375rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.shop-sidebar .woocommerce.widget_product_categories ul.product-categories li a {
  color: var(--muted-foreground);
  text-decoration: none;
  flex: 1;
  padding: 0.625rem 0.75rem;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  margin: 0 -0.75rem;
  position: relative;
}

.shop-sidebar .woocommerce.widget_product_categories ul.product-categories li.cat-parent > a {
  font-weight: 500;
}

.shop-sidebar .woocommerce.widget_product_categories ul.product-categories li.cat-parent > a::after {
  content: '';
  position: absolute;
  left: -0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 16px;
  background: var(--gold);
  border-radius: 2px;
  opacity: 0.6;
}

.shop-sidebar .woocommerce.widget_product_categories ul.product-categories li a:hover {
  color: var(--gold);
  background: rgba(45, 85%, 52%, 0.08);
}

.shop-sidebar .woocommerce.widget_product_categories ul.product-categories li.current-cat > a,
.shop-sidebar .woocommerce.widget_product_categories ul.product-categories li.current-cat-parent > a {
  color: var(--gold);
  background: rgba(45, 85%, 52%, 0.12);
  font-weight: 600;
}

.shop-sidebar .woocommerce.widget_product_categories ul.product-categories .count {
  color: var(--muted-foreground);
  font-size: 0.8125rem;
  background: var(--secondary);
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  flex-shrink: 0;
  font-weight: 500;
  min-width: 1.75rem;
  text-align: center;
}

.shop-sidebar .woocommerce.widget_product_categories ul.product-categories .children {
  margin-left: 0.75rem;
  margin-top: 0.5rem;
  padding-left: 1rem;
  border-left: 2px solid var(--border);
  padding-top: 0.25rem;
  display: none;
}

.shop-sidebar .woocommerce.widget_product_categories ul.product-categories .children.active {
  display: block;
}

/* Price Filter Widget */
.shop-sidebar .woocommerce.widget_price_filter .price_slider_wrapper {
  padding: 0;
}

.shop-sidebar .woocommerce.widget_price_filter .price_slider {
  margin: 1rem 0;
}

.shop-sidebar .woocommerce.widget_price_filter .price_slider_amount {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.shop-sidebar .woocommerce.widget_price_filter .price_slider_amount .button {
  background: var(--gold);
  color: var(--navy-dark);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 100%;
}

.shop-sidebar .woocommerce.widget_price_filter .price_slider_amount .button:hover {
  background: var(--gold-light);
}

.shop-sidebar .woocommerce.widget_price_filter .price_label {
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
}

/* UI Slider Styles */
.shop-sidebar .ui-slider {
  position: relative;
  background: var(--secondary);
  height: 6px;
  border-radius: 3px;
}

.shop-sidebar .ui-slider-handle {
  position: absolute;
  width: 18px;
  height: 18px;
  background: var(--gold);
  border: 2px solid var(--card);
  border-radius: 50%;
  cursor: pointer;
  top: -6px;
  margin-left: -9px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.shop-sidebar .ui-slider-range {
  position: absolute;
  background: var(--gold);
  height: 6px;
  border-radius: 3px;
}

/* Shop Toolbar */
.shop-toolbar {
  background: var(--card);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.woocommerce-notices-wrapper:empty {
  display: none;
}

.woocommerce-notices-wrapper {
  margin-bottom: 2rem;
}

.woocommerce-message {
  background: #d4edda;
  border-left: 4px solid #22c55e;
  color: #155724;
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* WooCommerce Error Messages */
.woocommerce-error,
.woocommerce ul.woocommerce-error {
  background: #fee2e2 !important;
  border: 1px solid #fca5a5 !important;
  color: #991b1b !important;
  padding: 1rem 1.5rem !important;
  padding-left: 3rem !important;
  border-radius: var(--radius) !important;
  margin-bottom: 1rem !important;
  list-style: none !important;
  margin-left: 0 !important;
  position: relative !important;
  outline: none !important;
  box-shadow: none !important;
}

.woocommerce-error:focus,
.woocommerce ul.woocommerce-error:focus,
.woocommerce-error:focus-visible,
.woocommerce ul.woocommerce-error:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  border: 1px solid #fca5a5 !important;
}

.woocommerce-error::before,
.woocommerce ul.woocommerce-error::before {
  content: "" !important;
  position: absolute !important;
  left: 1rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 20px !important;
  height: 20px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='%23dc2626'%3E%3Cpath fill-rule='evenodd' d='M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z' clip-rule='evenodd'/%3E%3C/svg%3E") !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

.woocommerce-error li,
.woocommerce ul.woocommerce-error li {
  margin: 0 !important;
  padding: 0 !important;
  padding-left: 0 !important;
  list-style: none !important;
  color: #991b1b !important;
  font-size: 0.9375rem !important;
  line-height: 1.6 !important;
  position: relative !important;
}

.woocommerce-error li strong,
.woocommerce ul.woocommerce-error li strong {
  font-weight: 600 !important;
  color: #991b1b !important;
}

/* WooCommerce Info Messages */
.woocommerce-info {
  background: #dbeafe !important;
  border-left: 4px solid #3b82f6 !important;
  color: #1e40af !important;
  padding: 1rem 1.5rem !important;
  border-radius: var(--radius) !important;
  margin-bottom: 1rem !important;
}

/* Hide "Zobacz koszyk" link added by WooCommerce */
.added_to_cart.wc-forward {
    display: none !important;
}

.woocommerce-message a.button.wc-forward {
  background: var(--gold);
  color: var(--navy-dark);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s;
}

.woocommerce-message a.button.wc-forward:hover {
  background: var(--gold-light);
}

.woocommerce-ordering select {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--foreground);
  font-size: 0.875rem;
}

.woocommerce-result-count {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.woocommerce .woocommerce-result-count {
  margin-bottom: 0;
}

/* Product Detail Page */
.product-detail {
  margin-bottom: 4rem;
}

.product-images .main-image {
  position: relative;
}

.thumbnail-images {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
}

.thumbnail-btn {
  flex-shrink: 0;
  transition: all 0.3s;
}

.thumbnail-btn:hover {
  border-color: var(--gold) !important;
}

.thumbnail-btn.active {
  border-color: var(--gold) !important;
}

.product-details .quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.product-details .quantity input {
  width: 60px;
  text-align: center;
  border: none;
  padding: 0.75rem;
  background: var(--card);
  color: var(--foreground);
}

.product-details .quantity .qty {
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

.product-details .single_add_to_cart_button {
  background: var(--gold);
  color: var(--navy-dark);
  border: none;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1.125rem;
  cursor: pointer;
  transition: background-color 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
}

.product-details .single_add_to_cart_button:hover:not(:disabled) {
  background: var(--gold-light);
}

.product-details .single_add_to_cart_button:disabled {
  
  cursor: not-allowed;
}

/* Hide default WooCommerce quantity input wrapper but keep input for form submission */
.product-details form.cart .quantity {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
  overflow: hidden;
}

.product-details form.cart .quantity input.qty {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.product-details #product-quantity {
  -moz-appearance: textfield;
}

.product-details #product-quantity::-webkit-outer-spin-button,
.product-details #product-quantity::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Product Info Section (Description & Reviews) */
.product-info-section {
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.product-info-block {
  margin-bottom: 3rem;
}

.product-info-block:last-child {
  margin-bottom: 0;
}

.product-info-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: #000000;
}

.product-info-section-wrapper {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: linear-gradient(to bottom, var(--background) 0%, var(--card) 5%);
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}

.product-info-section-wrapper .container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.product-info-content {
  padding: 2rem 0;
  color: var(--foreground);
  line-height: 1.8;
  font-size: 1.0625rem;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.product-info-content section {
  margin-bottom: 2.5rem;
}

.product-info-content section:last-child {
  margin-bottom: 0;
}

.related-products-wrapper {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: var(--secondary);
  padding: 4rem 0;
}

.product-info-content p {
  margin-bottom: 1.25rem;
  color: var(--foreground);
  line-height: 1.8;
}

.product-info-content p:last-child {
  margin-bottom: 0;
}

.product-info-content p:first-of-type {
  font-size: 1.125rem;
  color: var(--foreground);
  font-weight: 500;
  line-height: 1.9;
}

.product-info-content h2,
.product-info-content h3,
.product-info-content h4 {
  color: var(--navy-dark);
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  line-height: 1.3;
  font-family: 'Playfair Display', Georgia, serif;
}

.product-info-content h2 {
  font-size: 1.875rem;
  margin-top: 3rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border);
}

.product-info-content h2:first-of-type {
  margin-top: 0;
}

.product-info-content h3 {
  font-size: 1.5rem;
  margin-top: 2rem;
}

.product-info-content h4 {
  font-size: 1.25rem;
  margin-top: 1.5rem;
}

.product-info-content ul,
.product-info-content ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
  list-style-position: outside;
}

.product-info-content ul {
  list-style-type: disc;
}

.product-info-content ol {
  list-style-type: decimal;
}

.product-info-content li {
  margin-bottom: 0.875rem;
  line-height: 1.8;
  padding-left: 0.5rem;
  color: var(--foreground);
}

.product-info-content li:last-child {
  margin-bottom: 0;
}

.product-info-content li::marker {
  color: var(--gold);
  font-weight: 600;
}

.product-info-content ul li::marker {
  color: var(--gold);
}

.product-info-content strong {
  color: var(--navy-dark);
  font-weight: 700;
}

.product-info-content a {
  color: var(--navy-dark);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
  transition: all 0.2s ease;
}

.product-info-content a:hover {
  color: var(--gold);
  text-decoration-color: var(--gold);
}

.product-info-content blockquote {
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--gold);
  background: var(--secondary);
  border-radius: 0.5rem;
  font-style: italic;
  color: var(--foreground);
}

.product-info-content code {
  background: var(--secondary);
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-size: 0.9375rem;
  color: var(--navy-dark);
  font-family: 'Courier New', monospace;
}

.product-info-content pre {
  background: var(--secondary);
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 1px solid var(--border);
}

.product-info-content pre code {
  background: transparent;
  padding: 0;
}

.no-reviews {
  color: var(--muted-foreground);
  font-style: italic;
}

/* Hide WooCommerce tabs */
.woocommerce-tabs {
  display: none !important;
}

/* Hide duplicate "Opinie" heading from WooCommerce comments */
.woocommerce-Reviews-title,
#reviews .comment-reply-title,
#reviews h2,
.comments-title {
  display: none !important;
}

.product-info-content #reviews h2,
.product-info-content .woocommerce-Reviews-title {
  display: none !important;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.875rem;
}

.breadcrumb a:hover {
  color: var(--foreground);
}

/* Products Slider */
.featured-products-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

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

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

.featured-product-item {
  width: 100%;
}

.product-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card a {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
}

.product-card > div:last-child {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card h3 {
  flex: 1;
}

/* Cart Styles */
.woocommerce-cart .cart-collaterals {
  margin-top: 2rem;
}

.woocommerce-cart table.cart {
  width: 100%;
  border-collapse: collapse;
}

.woocommerce-cart table.cart td,
.woocommerce-cart table.cart th {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
}

.woocommerce-cart .cart_totals {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.woocommerce-cart .wc-proceed-to-checkout {
  margin-top: 1rem;
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
  width: 100%;
  padding: 1rem;
  background: var(--gold);
  color: var(--navy-dark);
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1.125rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover {
  background: var(--gold-light);
}

/* Checkout Styles */
.woocommerce-checkout .col2-set {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.woocommerce-checkout #order_review {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.woocommerce-checkout #place_order {
  width: 100%;
  padding: 1rem;
  background: var(--gold);
  color: var(--navy-dark);
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1.125rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.woocommerce-checkout #place_order:hover {
  background: var(--gold-light);
}

/* Product Grid Responsive */
@media (max-width: 768px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
  }
  
  .woocommerce-checkout .col2-set {
    grid-template-columns: 1fr;
  }
  
  .hero-section > .container-wide > div {
    grid-template-columns: 1fr !important;
  }
  
  .lg-block {
    display: none !important;
  }
  
  .featured-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .product-detail {
    grid-template-columns: 1fr !important;
  }
  
  .shop-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  
  .woocommerce-tabs ul.tabs {
    flex-wrap: wrap;
  }
  
  .shop-layout {
    grid-template-columns: 1fr !important;
  }
  
  .shop-sidebar {
    position: static !important;
    margin-bottom: 2rem;
  }
}

/* Inline Styles Moved to CSS - Front Page */

/* Hero Section */
.hero-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, hsl(210, 70%, 15%) 0%, hsl(210, 80%, 10%) 100%);
  min-height: 486px;
  display: flex;
  align-items: center;
  color: hsl(45, 90%, 95%);
  padding: 2rem 0;
}

.hero-section .container-wide {
  position: relative;
  z-index: 10;
}

.hero-content-wrapper {
  display: grid;

  gap: 3rem;
  align-items: center;
}

.hero-content {
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  background: rgba(45, 85%, 52%, 0.1);
  border: 1px solid rgba(45, 85%, 52%, 0.2);
  color: hsl(45, 85%, 52%);
  margin-bottom: 1.5rem;
}

.hero-badge span {
  font-size: 1rem;
  font-weight: 500;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: hsl(45, 90%, 95%);
}

.hero-title-gradient {
  background: linear-gradient(135deg, hsl(45, 85%, 52%), hsl(45, 90%, 65%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  margin-top: 3rem;
}

.hero-trust-badge-item {
  text-align: center;
  flex-shrink: 0;
}

.hero-trust-badge-icon {
  width: 2.2rem;
  height: 2.2rem;
  color: var(--gold);
  margin: 0 auto 0.5rem;
}

.hero-trust-badge-number {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--card);
  margin-bottom: 0.25rem;
}

.hero-trust-badge-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 1024px) {
  .hero-trust-badges {
    justify-items: center;
  }
  
  .hero-trust-badge-item {
    text-align: center;
  }
  
  .hero-trust-badge-icon {
    margin: 0 auto 0.5rem;
  }
}

.hero-visual {
  display: none;
}

.hero-visual.lg-block {
  display: block;
}

.hero-visual-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual-circle-outer {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(45, 85%, 52%, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual-circle-middle {
  width: 256px;
  height: 256px;
  border-radius: 50%;
  background: rgba(45, 85%, 52%, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual-circle-inner {
  width: 192px;
  height: 192px;
  border-radius: 50%;
  background: hsl(45, 85%, 52%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual-circle-inner span {
  font-size: 6rem;
}

.hero-background-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.1;
}

.hero-background-blob-1 {
  position: absolute;
  top: 80px;
  left: 40px;
  width: 288px;
  height: 288px;
  background: hsl(45, 85%, 52%);
  border-radius: 50%;
  filter: blur(80px);
}

.hero-background-blob-2 {
  position: absolute;
  bottom: 80px;
  right: 40px;
  width: 384px;
  height: 384px;
  background: hsl(45, 90%, 65%);
  border-radius: 50%;
  filter: blur(80px);
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}

.trust-badge {
  text-align: center;
}

.trust-badge-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.trust-badge-title {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.trust-badge-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Features Section */
.features-section {
  padding: 4rem 0;
  background: var(--card);
}

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

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

.feature-item {
  text-align: center;
}

.feature-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 1rem;
  background: rgba(45, 85%, 52%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.feature-icon {
  font-size: 2rem;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-desc {
  color: var(--muted-foreground);
}

/* Categories Section */
.categories-section {
  padding: 4rem 0;
}

.categories-header {
  text-align: center;
  margin-bottom: 3rem;
}

.categories-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.categories-desc {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
}

.category-card {
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.3s;
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: inherit;
}

.category-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  text-decoration: none;
  color: inherit;
}

.category-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 0.75rem;
  background: var(--card);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.category-icon {
  font-size: 2rem;
}

.category-name {
  font-weight: 600;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
}

.category-count {
  color: var(--muted-foreground);
  font-size: 0.75rem;
}

.categories-footer {
  text-align: center;
  margin-top: 2.5rem;
}

/* Featured Products Section */
.featured-products-section {
  padding: 4rem 0;
  background: var(--secondary);
  
}

.featured-products-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.featured-products-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.featured-products-desc {
  color: var(--muted-foreground);
  font-size: 1.125rem;
}

/* About Section */
.about-section {
  padding: 4rem 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.about-text {
  color: var(--muted-foreground);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-text-last {
  margin-bottom: 1.5rem;
}

.about-badge {
  display: inline-block;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  background: rgba(45, 85%, 52%, 0.1);
  color: var(--gold);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: left;
  box-sizing: content-box;
}

.about-title-highlight {
  color: var(--gold);
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.about-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.about-highlight-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.about-highlight-item span {
  font-size: 0.875rem;
  color: var(--foreground);
  line-height: 1.5;
}

.about-image-wrapper {
  position: relative;
}

.about-image {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-stats-overlay {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--card);
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.about-stat-item {
  text-align: center;
}

.about-stat-number {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.about-stat-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.about-stat-divider {
  width: 1px;
  height: 3rem;
  background: var(--border);
}

@media (max-width: 768px) {
  .about-highlights {
    grid-template-columns: 1fr;
  }
  
  .about-stats-overlay {
    position: static;
    margin-top: 1rem;
    flex-direction: column;
    gap: 1rem;
  }
  
  .about-stat-divider {
    width: 100%;
    height: 1px;
  }
}

.about-image {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Opinie klientów - Owl Carousel */
.testimonials-section {
  padding: 4rem 0;
  background: var(--secondary);
}
.testimonials-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.testimonials-badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold-dark);
  margin-bottom: 0.5rem;
}
.testimonials-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.testimonials-desc {
  color: var(--muted-foreground);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto;
}
.testimonials-carousel {
  position: relative;
}
.testimonials-carousel .owl-stage-outer {
  padding: 0.5rem 0;
}
.testimonial-item {
  padding: 0 0.75rem;
}
.testimonial-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.75rem;
  height: 100%;
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
}
.testimonial-stars {
  color: var(--gold);
  font-size: 1.125rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.testimonial-text {
  flex: 1;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--foreground);
  margin: 0 0 1.25rem 0;
  font-style: normal;
  border: none;
  padding: 0;
}
.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.testimonial-name {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.9375rem;
}
.testimonial-role {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}
/* Owl nav & dots – dopasowanie do motywu */
.testimonials-section .owl-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  pointer-events: none;
  margin: 0;
}
.testimonials-section .owl-nav button {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--card) !important;
  color: var(--primary) !important;
  border: 1px solid var(--border) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  font-size: 1.5rem;
  line-height: 1;
  pointer-events: auto;
  transition: background 0.2s, color 0.2s;
}
.testimonials-section .owl-nav button:hover {
  background: var(--primary) !important;
  color: var(--primary-foreground) !important;
}
.testimonials-section .owl-nav button.owl-prev {
  left: -12px;
}
.testimonials-section .owl-nav button.owl-next {
  right: -12px;
}
.testimonials-section .owl-dots {
  text-align: center;
  margin-top: 1.5rem;
}
.testimonials-section .owl-dots .owl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border) !important;
  margin: 0 4px;
  transition: background 0.2s;
}
.testimonials-section .owl-dots .owl-dot.active,
.testimonials-section .owl-dots .owl-dot:hover {
  background: var(--gold) !important;
}
@media (max-width: 768px) {
  .testimonials-section .owl-nav button.owl-prev {
    left: 0;
  }
  .testimonials-section .owl-nav button.owl-next {
    right: 0;
  }
}

/* Newsletter Section */
.newsletter-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--navy-dark) 100%);
  color: var(--primary-foreground);
}

.newsletter-container {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.newsletter-desc {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .newsletter-form {
    flex-direction: row;
    gap: 0.5rem;
  }
}

.newsletter-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.95);
  color: #1a2d4a;
  font-size: 1rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.newsletter-input::placeholder {
  color: rgba(26, 45, 74, 0.6);
  opacity: 1;
  font-weight: 400;
}

.newsletter-input::-webkit-input-placeholder {
  color: rgba(26, 45, 74, 0.6);
  opacity: 1;
}

.newsletter-input::-moz-placeholder {
  color: rgba(26, 45, 74, 0.6);
  opacity: 1;
}

.newsletter-input:-ms-input-placeholder {
  color: rgba(26, 45, 74, 0.6);
  opacity: 1;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--gold);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

.newsletter-input:focus::placeholder {
  color: rgba(26, 45, 74, 0.5);
}

.newsletter-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.newsletter-submit svg {
  width: 18px;
  height: 18px;
}

/* Product Card Styles */
.product-card {
  background: var(--card);
  border-radius: 1rem;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card-link {
  display: block;
  text-decoration: none;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-image-wrapper {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.3s ease;
  display: block;
  /* High quality rendering */
  image-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* For images in different orientation - fill the wrapper */
.product-image-wrapper.has-landscape-image .product-image,
.product-image-wrapper.has-portrait-image .product-image,
.product-image-wrapper.has-landscape-image img,
.product-image-wrapper.has-portrait-image img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}

.product-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
}

.product-image-placeholder span {
  font-size: 3rem;
}

.product-image-placeholder-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background-color: var(--secondary);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 0.75rem;
  font-weight: 700;
}

.product-content {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-rating {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.product-rating-star {
  color: var(--gold);
  font-size: 1rem;
}

.product-rating-star-empty {
  color: var(--border);
  font-size: 1rem;
}

.product-title {
  font-size: 0.9375rem;
  line-height: 1.4;
  font-weight: 600;
  margin-bottom: 0.75rem;
  min-height: 48px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--foreground);
}

.product-price-wrapper {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.product-price-old {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: line-through;
}

.product-add-to-cart {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  margin-top: auto;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.product-add-to-cart-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
}

.cart-icon-svg {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
}

/* Shop Archive Styles */
.woocommerce-products-header {
  margin-bottom: 2rem;
}

.woocommerce-products-header__title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.shop-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
}

.shop-layout--no-sidebar {
  grid-template-columns: 1fr;
}

.shop-main-content {
  /* Main content area */
}

.shop-main-content--full {
  min-width: 0;
}

.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.products-wrapper {
  /* Products wrapper */
}

.shop-pagination {
  margin-top: 3rem;
}

.shop-empty {
  text-align: center;
  padding: 4rem 0;
}

.shop-empty-title {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.shop-empty-desc {
  color: var(--muted-foreground);
}

.shop-recommended-section {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

/* Hide recommended section on category pages */
.tax-product_cat .shop-recommended-section {
  display: none;
}

.shop-recommended-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 2rem;
  text-align: center;
}

.category-description-bottom {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.category-description-content {
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-secondary);
  line-height: 1.7;
}

.category-description-content p {
  margin-bottom: 1rem;
}

.category-description-content p:last-child {
  margin-bottom: 0;
}

/* Term Description - Category description before footer */
/* Category Description - Same styling as product descriptions */
.term-description {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
  background: #ffffff;
  box-sizing: border-box;
  font-size: 0.9375rem;
}

/* Main heading (first h2 or h1) - Hero title style */
.term-description > h1:first-child,
.term-description > h2:first-child {
  font-size: 2.25rem;
  font-weight: 700;
  color: #1a2d4a;
  margin-bottom: 2rem;
  line-height: 1.2;
  font-family: 'Playfair Display', Georgia, serif;
}

/* Section headings (h2, h3) - Section title style */
.term-description h2:not(:first-child),
.term-description h3 {
  font-size: 1.875rem;
  font-weight: 700;
  color: #1a2d4a;
  margin-top: 3.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.3;
}

.term-description h2:first-of-type:not(:first-child) {
  margin-top: 0;
}

/* Paragraphs - Hero description style */
.term-description p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #000000;
  margin-bottom: 1.125rem;
}

.term-description p:last-child {
  margin-bottom: 0;
}

/* First paragraph - larger */
.term-description > p:first-of-type {
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.8;
}

/* Lists */
.term-description ul,
.term-description ol {
  margin: 1.75rem 0;
  padding: 0;
  list-style: none;
  font-size: 1rem;
  line-height: 1.75;
  color: #000000;
}

.term-description li {
  margin-bottom: 1.25rem;
  position: relative;
  padding-left: 2.5rem;
  padding-top: 0.25rem;
}

.term-description ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 8px;
  height: 8px;
  background: #1a2d4a;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #ffd700;
}

.term-description ol {
  counter-reset: item;
}

.term-description ol li {
  counter-increment: item;
  padding-left: 2.5rem;
}

.term-description ol li::before {
  content: counter(item) ".";
  position: absolute;
  left: 0;
  top: 0;
  color: #1a2d4a;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.75;
}

/* Strong text */
.term-description strong {
  color: #1a2d4a;
  font-weight: 700;
}

/* Links */
.term-description a {
  color: #1a2d4a;
  text-decoration: underline;
  text-decoration-color: #ffd700;
  transition: all 0.3s ease;
}

.term-description a:hover {
  color: #ffd700;
  text-decoration-color: #1a2d4a;
}

/* Blockquote */
.term-description blockquote {
  border-left: 4px solid #ffd700;
  padding-left: 1.75rem;
  margin: 1.75rem 0;
  font-style: italic;
  color: #666;
  font-size: 1rem;
}

/* Code */
.term-description code {
  background: #f5f5f5;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-family: monospace;
  font-size: 0.9em;
}

/* Responsive styles for term-description */
@media (max-width: 1024px) {
  .term-description {
    padding: 3rem 2rem;
  }
  
  .term-description > h1:first-child,
  .term-description > h2:first-child {
    font-size: 2rem;
  }
  
  .term-description h2:not(:first-child),
  .term-description h3 {
    font-size: 1.625rem;
  }
}

@media (max-width: 768px) {
  .term-description {
    padding: 3rem 1.5rem;
  }
  
  .term-description > h1:first-child,
  .term-description > h2:first-child {
    font-size: 1.75rem;
  }
  
  .term-description h2:not(:first-child),
  .term-description h3 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
  }
  
  .term-description p {
    font-size: 1rem;
  }
  
  .term-description > p:first-of-type {
    font-size: 1.0625rem;
  }
  
  .term-description ul,
  .term-description ol {
    font-size: 0.9375rem;
  }
}

@media (max-width: 480px) {
  .term-description {
    padding: 2.5rem 1rem;
  }
  
  .term-description > h1:first-child,
  .term-description > h2:first-child {
    font-size: 1.5rem;
  }
  
  .term-description h2:not(:first-child),
  .term-description h3 {
    font-size: 1.375rem;
  }
}

/* Single Product Styles */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

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

.main-image {
  aspect-ratio: 1;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--secondary);
  border: 1px solid var(--border);
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbnail-images {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
}

.thumbnail-btn {
  width: 80px;
  height: 80px;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 2px solid var(--border);
  padding: 0;
  background: none;
  cursor: pointer;
  transition: border-color 0.3s;
  flex-shrink: 0;
}

.thumbnail-btn.active {
  border-color: var(--gold);
}

.thumbnail-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-details {
  /* Product details container */
}

.product-badge-single {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.product-title-single {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--foreground);
  line-height: 1.2;
}

.product-rating-single {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.product-rating-stars {
  display: flex;
  gap: 0.25rem;
}

.product-rating-count {
  color: var(--muted-foreground);
}

.product-price-single {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.product-price-current {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
}

.product-price-old-single {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  text-decoration: line-through;
}

.product-description {
  color: var(--muted-foreground);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.product-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.product-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-feature-icon {
  color: var(--gold);
  font-size: 1.25rem;
}

.product-stock-sku {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.product-stock {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.product-stock-in {
  color: hsl(142, 71%, 45%);
}

.product-stock-dot-in {
  background: hsl(142, 71%, 45%);
}

.product-stock-out {
  color: var(--destructive);
}

.product-stock-dot-out {
  background: var(--destructive);
}

.product-sku {
  color: var(--muted-foreground);
}

.product-quantity-cart {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.product-quantity-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.quantity-btn {
  padding: 0.75rem;
  background: var(--card);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantity-btn:hover {
  background: var(--secondary);
}

.quantity-btn span {
  font-size: 1.25rem;
}

#product-quantity {
  width: 60px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  padding: 0.75rem 0;
  font-weight: 600;
  font-size: 1rem;
  background: var(--card);
  color: var(--foreground);
}

.product-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1rem;
  background: var(--secondary);
  
  border-radius: 0.75rem;
}

.product-benefit {
  text-align: center;
}

.product-benefit-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.product-benefit-title {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.product-benefit-desc {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.product-tabs {
  margin-bottom: 4rem;
}

.related-products {
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.related-products-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--foreground);
  font-family: var(--font-display, inherit);
}

.related-products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

@media (min-width: 1024px) {
  .related-products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.main-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
}

.main-image-placeholder span {
  font-size: 4rem;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0;
  padding: 1rem 0 1.5rem;
  border-bottom: 1px solid var(--border);
}
.breadcrumb .container-wide {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: var(--foreground);
}

.breadcrumb-current {
  color: var(--foreground);
}

.breadcrumb span:not(.breadcrumb-current) {
  color: var(--muted-foreground);
}

/* Slider Styles */

/* Contact Page Styles */
.contact-section {
  padding: 4rem 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
}

.contact-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  background: rgba(45, 85%, 52%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon {
  font-size: 1.5rem;
}

.contact-info-content h3 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-info-content p {
  color: var(--muted-foreground);
}

.contact-form-wrapper {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
}

.contact-form-title {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-form-desc {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

/* Contact Page Additional Styles */
.contact-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--navy-dark) 100%);
  padding: 4rem 0;
  color: var(--primary-foreground);
}

.contact-hero-content {
  max-width: 700px;
}

.contact-hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.contact-hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary-foreground);
}

.contact-hero-desc {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
}

.contact-info-title {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-quick-links {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-top: 2rem;
}

.contact-quick-links-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--foreground);
}

.contact-quick-links-icon {
  font-size: 1.25rem;
}

.contact-quick-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: 0;
  margin: 0;
}

.contact-quick-links-list li {
  position: relative;
  padding-left: 1.5rem;
}

.contact-quick-links-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.contact-quick-link {
  color: var(--foreground);
  text-decoration: none;
  font-size: 0.9375rem;
  line-height: 1.6;
  transition: all 0.3s ease;
  display: inline-block;
}

.contact-quick-link:hover {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: var(--gold);
}

.contact-company-info {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.contact-company-info-title {
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-company-info-icon {
  color: var(--gold);
}

.contact-company-info-content {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.contact-company-name {
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

/* Partnerzy Page */
.partnerzy-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--navy-dark) 100%);
  padding: 4rem 0;
  color: var(--primary-foreground);
}
.partnerzy-hero-content {
  max-width: 700px;
}
.partnerzy-hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(255, 215, 0, 0.2);
  color: var(--gold);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.partnerzy-hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.partnerzy-hero-desc {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}
.partnerzy-section {
  padding: 4rem 0;
}
.partnerzy-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}
.partner-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.partner-card:hover {
  box-shadow: 0 12px 40px rgba(26, 45, 74, 0.12);
  border-color: var(--gold);
}
.partner-card-link {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem;
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
}
.partner-card-logo {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.partner-logo-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 0.5rem;
}
.partner-card-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}
.partner-card-content {
  flex: 1;
  min-width: 0;
}
.partner-card-title {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}
.partner-card-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted-foreground);
  margin-bottom: 1.25rem;
}
.partner-card-cta {
  display: inline-block;
  margin-top: 0.5rem;
}
@media (max-width: 768px) {
  .partnerzy-hero-title { font-size: 2rem; }
  .partnerzy-hero-desc { font-size: 1rem; }
  .partner-card-link { flex-direction: column; align-items: center; text-align: center; }
  .partner-card-logo { flex-direction: row; }
}

/* ========== Blog ========== */
.blog-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--navy-dark) 100%);
  padding: 4rem 0;
  color: var(--primary-foreground);
}
.blog-hero-content {
  max-width: 700px;
}
.blog-hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(255, 215, 0, 0.2);
  color: var(--gold);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.blog-hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--primary-foreground);
}
.blog-hero-desc {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}
.blog-hero-archive .blog-hero-desc {
  margin-bottom: 0;
}
.blog-section {
  padding: 4rem 0;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}
.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  box-shadow: 0 12px 40px rgba(26, 45, 74, 0.1);
  border-color: var(--gold);
}
.blog-card-thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--secondary);
}
.blog-card-thumb a {
  display: block;
  height: 100%;
}
.blog-card-thumb .post-thumbnail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.blog-card:hover .post-thumbnail-img {
  transform: scale(1.03);
}
.blog-card-thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--navy-dark) 100%);
}
.blog-placeholder-icon {
  font-size: 3rem;
  opacity: 0.6;
}
.blog-card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card-meta {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
}
.blog-card-meta .meta-sep {
  margin: 0 0.35rem;
}
.blog-card-meta a {
  color: var(--gold);
  text-decoration: none;
}
.blog-card-meta a:hover {
  text-decoration: underline;
}
.blog-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}
.blog-card-title a {
  color: var(--foreground);
  text-decoration: none;
  transition: color 0.2s;
}
.blog-card-title a:hover {
  color: var(--gold);
}
.blog-card-excerpt {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  flex: 1;
}
.blog-card-excerpt p:last-child {
  margin-bottom: 0;
}
.blog-card-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
}
.blog-card-link:hover {
  color: var(--primary);
}
.blog-pagination {
  margin-top: 3rem;
  text-align: center;
}
.blog-empty {
  text-align: center;
  padding: 4rem 2rem;
}
.blog-empty-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}
.blog-empty-desc {
  color: var(--muted-foreground);
}

/* Single post */
.blog-single-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--navy-dark) 100%);
  padding: 3rem 0;
  color: var(--primary-foreground);
}
.blog-single-hero-content {
  max-width: 800px;
}
.blog-single-meta {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.75rem;
}
.blog-single-meta .meta-sep {
  margin: 0 0.35rem;
}
.blog-single-meta a {
  color: var(--gold);
  text-decoration: none;
}
.blog-single-meta a:hover {
  text-decoration: underline;
}
.blog-single-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  color: var(--primary-foreground);
}
.blog-single-author {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}
.blog-single-section {
  padding: 3rem 0 4rem;
}
.blog-single-inner {
  max-width: 800px;
  margin: 0 auto;
}
.blog-single-thumbnail {
  margin-bottom: 0.5rem;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border);
}
.blog-single-thumbnail-placeholder .blog-single-thumb-img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  display: block;
}
.blog-single-thumb-img {
  width: 100%;
  height: auto;
  display: block;
}
.blog-single-entry-content {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--foreground);
}
.blog-single-entry-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}
.blog-single-entry-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}
.blog-single-entry-content p {
  margin-bottom: 1.25rem;
}
.blog-single-entry-content ul,
.blog-single-entry-content ol {
  margin: 1.25rem 0;
  padding-left: 1.5rem;
}
.blog-single-entry-content li {
  margin-bottom: 0.5rem;
}
.blog-single-entry-content a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(255, 215, 0, 0.4);
}
.blog-single-entry-content a:hover {
  color: var(--primary);
  text-decoration-color: var(--primary);
}
.blog-single-footer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.9375rem;
  color: var(--muted-foreground);
}
.blog-single-tags-label {
  font-weight: 600;
  color: var(--foreground);
  margin-right: 0.35rem;
}
.blog-single-footer a {
  color: var(--gold);
  text-decoration: none;
}
.blog-single-footer a:hover {
  text-decoration: underline;
}
.blog-single-nav {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.blog-single-nav .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}
.blog-single-nav .nav-previous,
.blog-single-nav .nav-next {
  max-width: 45%;
}
.blog-single-nav .nav-subtitle {
  display: block;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  margin-bottom: 0.25rem;
}
.blog-single-nav .nav-title {
  font-weight: 600;
  color: var(--foreground);
}
.blog-single-nav a:hover .nav-title {
  color: var(--gold);
}
.blog-single-comments {
  margin-top: 3rem;
}
@media (max-width: 768px) {
  .blog-hero-title { font-size: 2rem; }
  .blog-hero-desc { font-size: 1rem; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-single-title { font-size: 1.75rem; }
}

.contact-form-fallback {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.contact-form-fallback label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.contact-form-fallback input,
.contact-form-fallback textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.contact-form-fallback textarea {
  resize: vertical;
}

.contact-form-consent {
  display: flex;
  align-items: start;
  gap: 0.75rem;
}

.contact-form-consent input[type="checkbox"] {
  margin-top: 0.25rem;
  width: auto;
  flex-shrink: 0;
}

.contact-form-consent label {
  font-size: 0.875rem;
  margin-bottom: 0;
  line-height: 1.5;
  color: var(--foreground);
}

.contact-form-consent label a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 500;
}

.contact-form-consent label a:hover {
  color: #000;
}

/* Contact Form 7 Styles */
.wpcf7-form {
  display: block;
  font-size: 0; /* Remove whitespace between inline-block elements */
}

.wpcf7-form > fieldset {
  display: none; /* Hide hidden fields */
}

.wpcf7-form > p {
  margin: 0;
  font-size: 1rem; /* Restore font size */
  display: inline-block;
  vertical-align: top;
  box-sizing: border-box;
}

/* First row: Imię i nazwisko + E-mail */
.wpcf7-form > p:has([data-name="your-name"]),
.wpcf7-form > p:has([data-name="your-email"]) {
  width: calc(50% - 0.75rem);
  margin-bottom: 1.5rem;
}

.wpcf7-form > p:has([data-name="your-name"]) {
  margin-right: 1.5rem;
}

/* Second row: Telefon + Temat */
.wpcf7-form > p:has([data-name="your-phone"]),
.wpcf7-form > p:has([data-name="your-subject"]) {
  width: calc(50% - 0.75rem);
  margin-bottom: 1.5rem;
}

.wpcf7-form > p:has([data-name="your-phone"]) {
  margin-right: 1.5rem;
}

/* Message field - full width */
.wpcf7-form > p:has([data-name="your-message"]) {
  display: block;
  width: 100%;
  clear: both;
  margin-bottom: 1.5rem;
}

/* Acceptance and submit - full width */
.wpcf7-form > p:has([data-name="acceptance-consent"]),
.wpcf7-form > p:has(.wpcf7-submit) {
  display: block;
  width: 100%;
  clear: both;
  margin-bottom: 1.5rem;
}

/* Fallback for browsers without :has() support - use nth-of-type */
@supports not selector(:has(*)) {
  .wpcf7-form > p:first-of-type,
  .wpcf7-form > p:nth-of-type(2) {
    width: calc(50% - 0.75rem);
    margin-bottom: 1.5rem;
  }
  
  .wpcf7-form > p:first-of-type {
    margin-right: 1.5rem;
  }
  
  .wpcf7-form > p:nth-of-type(3),
  .wpcf7-form > p:nth-of-type(4) {
    width: calc(50% - 0.75rem);
    margin-bottom: 1.5rem;
  }
  
  .wpcf7-form > p:nth-of-type(3) {
    margin-right: 1.5rem;
  }
  
  .wpcf7-form > p:nth-of-type(5),
  .wpcf7-form > p:nth-of-type(6),
  .wpcf7-form > p:nth-of-type(7) {
    display: block;
    width: 100%;
    clear: both;
    margin-bottom: 1.5rem;
  }
}

/* Acceptance and submit - full width */
.wpcf7-form > p:nth-of-type(6),
.wpcf7-form > p:nth-of-type(7) {
  display: block;
  width: 100%;
  clear: both;
  margin-bottom: 1.5rem;
}

.wpcf7-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--foreground);
}

/* Contact Form 7 Input Fields - Background Color */
.wpcf7-form-control,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.wpcf7-form .wpcf7-text,
.wpcf7-form .wpcf7-email,
.wpcf7-form .wpcf7-tel,
.wpcf7-form .wpcf7-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  background-color: #ffffff !important;
  background: #ffffff !important;
  color: var(--foreground);
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.wpcf7-form-control:focus,
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  background-color: #ffffff !important;
  background: #ffffff !important;
}

.wpcf7-form-control::placeholder,
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
  color: var(--muted-foreground);
}

.wpcf7-textarea,
.wpcf7-form textarea {
  resize: vertical;
  min-height: 120px;
  background-color: #ffffff !important;
  background: #ffffff !important;
}

/* Contact Form 7 Acceptance Field Styles */
.wpcf7-acceptance {
  display: block;
  width: 100%;
  margin-bottom: 1.5rem;
}

.wpcf7-acceptance .wpcf7-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  width: 100%;
}

.wpcf7-acceptance .wpcf7-list-item label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  width: 100%;
  margin: 0;
  cursor: pointer;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--foreground);
  font-weight: normal;
}

.wpcf7-acceptance input[type="checkbox"] {
  margin: 0;
  margin-top: 0.125rem;
  width: 1.125rem;
  height: 1.125rem;
  min-width: 1.125rem;
  min-height: 1.125rem;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--gold);
  border: 2px solid var(--border);
  border-radius: 0.25rem;
  background-color: #ffffff;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
  transition: all 0.3s ease;
}

.wpcf7-acceptance input[type="checkbox"]:checked {
  background-color: var(--gold);
  border-color: var(--gold);
}

.wpcf7-acceptance input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--navy-dark);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.wpcf7-acceptance input[type="checkbox"]:hover {
  border-color: var(--gold);
}

.wpcf7-acceptance input[type="checkbox"]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
  border-color: var(--gold);
}

.wpcf7-acceptance .wpcf7-list-item-label {
  flex: 1;
  line-height: 1.6;
  color: var(--foreground);
}

.wpcf7-acceptance .wpcf7-list-item-label a {
  color: var(--gold);
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.3s ease;
}

.wpcf7-acceptance .wpcf7-list-item-label a:hover {
  color: var(--navy-dark);
}

/* Contact Form 7 Submit Button Styles */
.wpcf7-form-control.wpcf7-submit {
  background-color: var(--gold) !important;
  color: var(--navy-dark) !important;
  border: none !important;
  border-radius: 0.5rem !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  padding: 0.625rem 1.25rem !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  box-shadow: 0 8px 24px -8px hsla(45, 85%, 52%, 0.35) !important;
  text-decoration: none !important;
  min-width: 150px !important;
  width: auto !important;
}

.wpcf7-form-control.wpcf7-submit:hover:not(:disabled) {
  background-color: var(--gold-light) !important;
  box-shadow: 0 12px 32px -8px hsla(45, 85%, 52%, 0.45) !important;
  transform: translateY(-1px) scale(1.02) !important;
}

.wpcf7-form-control.wpcf7-submit:active:not(:disabled) {
  transform: translateY(0) scale(0.98) !important;
  box-shadow: 0 4px 16px -8px hsla(45, 85%, 52%, 0.3) !important;
}

.wpcf7-form-control.wpcf7-submit:disabled,
.wpcf7-form-control.wpcf7-submit.has-spinner {
  opacity: 0.7;
  cursor: wait !important;
}

.wpcf7-form-control.wpcf7-submit.has-spinner::after {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid var(--navy-dark);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-left: 0.5rem;
}

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

.map-section {
  height: 400px;
  background: var(--secondary);
}

.map-section iframe {
  border: 0;
  width: 100%;
  height: 100%;
}

/* About Page Styles */
.about-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--navy-dark) 100%);
  padding: 5rem 0;
  color: var(--primary-foreground);
}

.about-hero-content {
  max-width: 800px;
}

.about-hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.about-hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary-foreground);
}

.about-hero-desc {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.stats-section {
  padding: 4rem 0;
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: -3rem;
  position: relative;
  z-index: 10;
  border-radius: 1rem;
  margin-left: 1rem;
  margin-right: 1rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

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

/* Mobile - 2 columns */
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop - 4 columns, never 3 */
@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--muted-foreground);
}

.story-section {
  padding: 5rem 0;
}

.story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.story-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.story-text {
  color: var(--muted-foreground);
  line-height: 1.8;
}

.story-text p {
  margin-bottom: 1rem;
}

.story-image-wrapper {
  position: relative;
}

.story-image {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.story-badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--gold);
  color: var(--navy-dark);
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.story-badge-number {
  font-size: 2.5rem;
  font-weight: 700;
}

.story-badge-label {
  font-size: 0.875rem;
  font-weight: 500;
}

.values-section {
  padding: 5rem 0;
  background: var(--secondary);
  
}

.values-header {
  text-align: center;
  margin-bottom: 3rem;
}

.values-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.values-desc {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.value-card {
  background: var(--card);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
}

.value-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 0.75rem;
  background: rgba(45, 85%, 52%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.value-icon {
  font-size: 1.75rem;
}

.value-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.value-desc {
  color: var(--muted-foreground);
}

/* Header Styles */
.header-top-bar-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-top-bar-text {
  display: none;
}

.header-top-bar-text.md-block {
  display: block;
}

.header-top-bar-highlight {
  color: var(--gold);
  font-weight: 500;
}

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

.account-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--foreground);
  text-decoration: none;
  transition: color 0.3s;
}

.account-icon:hover {
  color: var(--gold);
}

.account-icon-svg {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
}

.cart-icon {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--gold);
  color: var(--navy-dark);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
}


.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Footer Styles */
.footer-brand-text {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
  max-width: 400px;
}

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

.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer-contact-icon {
  color: var(--gold);
}

.footer-contact-text {
  display: flex;
  align-items: start;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-logo-img {
  filter: brightness(0) invert(1);
}

/* WooCommerce Shortcode Styles */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.alphagen-cart-page,
.alphagen-checkout-page {
  padding: 2rem 0;
}

/* Standard WordPress Templates */
.page-container,
.post-container {
  padding: 2rem 20px;
}

.entry-header {
  margin-bottom: 2rem;
}

/* Mobile - entry header padding */
@media (max-width: 768px) {
  .entry-header {
    padding-left: 10px;
    padding-right: 10px;
  }
}

.entry-title {
  margin-bottom: 1rem;
}

.entry-meta {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.post-thumbnail {
  margin-bottom: 0.5rem;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.post-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.post-content {
  padding: 1.5rem;
}

.post-title {
  margin-bottom: 0.75rem;
}

.post-meta {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.post-excerpt {
  margin-bottom: 1rem;
}

.post-read-more {
  margin-top: 1rem;
  display: inline-block;
}

.archive-header {
  margin-bottom: 3rem;
  text-align: center;
}

.entry-footer {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.post-tags {
  margin-bottom: 1rem;
}

.pagination {
  margin-top: 3rem;
  text-align: center;
}

.empty-state {
  text-align: center;
  padding: 4rem 0;
}

.post-thumbnail-img {
  width: 100%;
  border-radius: var(--radius);
}

.post-thumbnail a .post-thumbnail-img {
  height: 200px;
  object-fit: cover;
}

.single-post-container {
  max-width: 800px;
  margin: 0 auto;
}

.woocommerce .woocommerce-ordering {
  margin-bottom: 0;
}

/* GitHub Product Detail Styles */
.product-detail-github {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 1024px) {
  .product-detail-github {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (min-width: 1280px) {
  .product-detail-github {
    gap: 4rem;
  }
}

.product-images-github {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.main-image-github {
  aspect-ratio: 1;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--secondary);
  border: 1px solid var(--border);
  position: relative;
}

.main-image-github img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-badge-image {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: inline-block;
  padding: 0.375rem 0.625rem;
  border-radius: 9999px;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 10;
  line-height: 1;
}

/* Cart Modal Styles */
.cart-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: none;
}

.cart-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.cart-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  z-index: 10000;
}

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

.cart-modal-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #22c55e;
}

.cart-modal-check-icon {
  color: #22c55e;
}

.cart-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--muted-foreground);
  transition: color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-modal-close:hover {
  color: var(--foreground);
}

.cart-modal-product {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.cart-modal-product-image {
  width: 80px;
  height: 80px;
  border-radius: 0.5rem;
  overflow: hidden;
  background: var(--secondary);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.cart-modal-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-modal-product-info {
  flex: 1;
  min-width: 0;
}

.cart-modal-product-name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--foreground);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-modal-product-quantity {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.25rem;
}

.cart-modal-product-price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
  margin-top: 0.5rem;
}

.cart-modal-summary {
  background: var(--secondary);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.cart-modal-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.cart-modal-summary-label {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.cart-modal-summary-total {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
}

.cart-modal-shipping-info {
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.cart-modal-shipping-warning {
  color: var(--gold);
}

.cart-modal-shipping-success {
  color: #22c55e;
}

.cart-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .cart-modal-actions {
    flex-direction: row;
    gap: 0.75rem;
  }
  
  .cart-modal-actions .btn {
    flex: 1;
    width: 50%;
  }
}

/* Szary przycisk "Kontynuuj zakupy" */
.cart-modal-continue {
  background: var(--card);
  border: 1px solid #999;
  color: #666;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-modal-continue:hover {
  background: #f5f5f5;
  border-color: #777;
  color: #555;
}

@media (max-width: 640px) {
  .cart-modal-content {
    padding: 1.5rem;
    width: 95%;
  }
}

/* WooCommerce My Account Page Styles */
/* .woocommerce-account {
  padding: 2rem 0;
} */

/* Only apply grid layout when user is logged in (has MyAccount navigation) - but NOT when col2-set is present */
.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation):not(:has(.col2-set)) {
  display: grid !important;
  grid-template-columns: 250px 1fr !important;
  gap: 3rem !important;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  align-items: start !important;
}

/* When col2-set is present, don't apply grid to parent */
.woocommerce-account .woocommerce:has(.col2-set) {
  display: block !important;
}

/* Fallback for browsers without :has() support */
@supports not selector(:has(*)) {
  .woocommerce-account .woocommerce:not(:has(.col2-set)) {
    display: grid !important;
    grid-template-columns: 250px 1fr !important;
    gap: 3rem !important;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    align-items: start !important;
  }
  
  .woocommerce-account .woocommerce .col2-set {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 3rem !important;
    max-width: 1200px !important;
    margin: 2rem auto !important;
    padding: 2rem 1rem !important;
  }
}

/* Remove WooCommerce default ::before and ::after pseudo-elements that break layout */
.woocommerce-account .woocommerce::before,
.woocommerce-account .woocommerce::after {
  display: none !important;
  content: none !important;
}

/* Remove WooCommerce col2-set pseudo-elements that break layout */
.woocommerce .col2-set::before,
.woocommerce .col2-set::after,
.woocommerce-page .col2-set::before,
.woocommerce-page .col2-set::after {
  display: none !important;
  content: none !important;
}

@media (max-width: 768px) {
  .woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation):not(:has(.col2-set)) {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  
  @supports not selector(:has(*)) {
    .woocommerce-account .woocommerce:not(:has(.col2-set)) {
      grid-template-columns: 1fr !important;
      gap: 2rem !important;
    }
  }
}

/* My Account Navigation - Override WooCommerce float */
.woocommerce-account .woocommerce-MyAccount-navigation {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  height: fit-content;
  position: sticky;
  top: 100px;
  grid-column: 1;
  grid-row: 1;
}

/* My Account Content - Override WooCommerce float */
.woocommerce-account .woocommerce-MyAccount-content {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  grid-column: 2;
  grid-row: 1;
}

@media (max-width: 768px) {
  .woocommerce-account .woocommerce-MyAccount-navigation,
  .woocommerce-account .woocommerce-MyAccount-content {
    grid-column: 1;
    grid-row: auto;
  }
}

.woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce-MyAccount-navigation li {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--border);
}

.woocommerce-MyAccount-navigation li:last-child {
  border-bottom: none;
}

.woocommerce-MyAccount-navigation li a {
  display: block;
  padding: 0.875rem 0;
  color: var(--muted-foreground);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
  font-size: 0.9375rem;
}

.woocommerce-MyAccount-navigation li a:hover {
  color: var(--gold);
  padding-left: 0.5rem;
}

.woocommerce-MyAccount-navigation li.is-active a {
  color: var(--gold);
  font-weight: 600;
  position: relative;
  padding-left: 0.5rem;
}

.woocommerce-MyAccount-navigation li.is-active a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60%;
  background: var(--gold);
  border-radius: 0 2px 2px 0;
}

/* My Account Content */
.woocommerce-MyAccount-content {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

/* Hide duplicate text in MyAccount-content when woocommerce-info is present */
.woocommerce-MyAccount-content:has(.woocommerce-info) {
  font-size: 0;
  line-height: 0;
  color: transparent;
}

.woocommerce-MyAccount-content:has(.woocommerce-info) > * {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--foreground);
}

.woocommerce-MyAccount-content:has(.woocommerce-info) > .woocommerce-info {
  font-size: 1rem;
  line-height: 1.6;
  color: #1e40af;
  display: block;
}

/* Fallback for browsers without :has() support */
@supports not selector(:has(*)) {
  .woocommerce-MyAccount-content .woocommerce-info {
    margin-top: 0;
  }
}

.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--foreground);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.woocommerce-MyAccount-content h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.woocommerce-MyAccount-content h3 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* My Account Page Container */
.woocommerce-account .entry-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem 0;
}

.woocommerce-account .entry-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--foreground);
  font-family: 'Playfair Display', Georgia, serif;
  margin-bottom: 0;
}

.woocommerce-account .site-main {
  padding: 2rem 0;
}

.woocommerce-account .container-wide {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Customer Login/Register Forms - Highest specificity using ID - Must override WooCommerce default styles */
body.woocommerce-account #customer_login,
body.woocommerce-account #customer_login.col2-set,
body.woocommerce-account #customer_login.customer-login-wrapper,
body.woocommerce-account #customer_login.u-columns,
.woocommerce-account .woocommerce #customer_login,
.woocommerce-account .woocommerce #customer_login.col2-set,
.woocommerce-account .woocommerce .col2-set#customer_login,
.woocommerce-account article #customer_login,
#customer_login,
#customer_login.col2-set,
#customer_login.customer-login-wrapper,
.woocommerce-account .col2-set,
.woocommerce-account article .col2-set,
.customer-login-wrapper,
.woocommerce .col2-set,
.woocommerce-page .col2-set {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 3rem !important;
  max-width: 1200px !important;
  margin: 2rem auto !important;
  padding: 2rem 1rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
  clear: both !important;
}

#customer_login .u-column1,
#customer_login .u-column2,
#customer_login .col-1,
#customer_login .col-2,
.customer-login-column,
.customer-register-column,
.woocommerce .col2-set .u-column1,
.woocommerce .col2-set .u-column2,
.woocommerce-page .col2-set .u-column1,
.woocommerce-page .col2-set .u-column2 {
  background: var(--card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  padding: 2.5rem !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

.woocommerce .col2-set .col-1,
.woocommerce-page .col2-set .col-1 {
  width: 100% !important;
}

.woocommerce .col2-set .col-2,
.woocommerce-page .col2-set .col-2 {
  width: 100% !important;
}

.customer-login-title,
.customer-register-title,
.woocommerce .col2-set h2,
.woocommerce-page .col2-set h2 {
  font-size: 1.875rem !important;
  font-weight: 600 !important;
  color: var(--foreground) !important;
  margin-bottom: 2rem !important;
  font-family: 'Playfair Display', Georgia, serif !important;
}

.woocommerce-form-login,
.woocommerce-form-register {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.woocommerce-form-login .form-row,
.woocommerce-form-register .form-row {
  margin-bottom: 0;
}

.woocommerce-form-login label,
.woocommerce-form-register label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--foreground);
  font-size: 0.9375rem;
}

.woocommerce-form-login label .required,
.woocommerce-form-register label .required {
  color: #dc2626;
  margin-left: 0.25rem;
}

.woocommerce-form-login input[type="text"],
.woocommerce-form-login input[type="email"],
.woocommerce-form-login input[type="password"],
.woocommerce-form-register input[type="text"],
.woocommerce-form-register input[type="email"],
.woocommerce-form-register input[type="password"] {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  background: var(--card);
  color: var(--foreground);
  font-size: 1rem;
  transition: all 0.3s;
  font-family: inherit;
  box-sizing: border-box;
}

.woocommerce-form-login input[type="text"]:focus,
.woocommerce-form-login input[type="email"]:focus,
.woocommerce-form-login input[type="password"]:focus,
.woocommerce-form-register input[type="text"]:focus,
.woocommerce-form-register input[type="email"]:focus,
.woocommerce-form-register input[type="password"]:focus {
  outline: none;
  border-color: var(--navy-dark);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.customer-login-actions,
.customer-register-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.woocommerce-form-login__rememberme {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0;
}

.woocommerce-form-login__rememberme input[type="checkbox"] {
  width: 1.125rem;
  height: 1.125rem;
  cursor: pointer;
  accent-color: var(--navy-dark);
}

.woocommerce-form-login__rememberme span {
  font-size: 0.9375rem;
  color: var(--foreground);
  cursor: pointer;
}

/* Login, Register, and Reset Password Buttons - Styled like .btn-gold */
.woocommerce-form-login__submit,
.woocommerce-form-register__submit,
.woocommerce-ResetPassword .woocommerce-Button,
.woocommerce-ResetPassword button[type="submit"],
.woocommerce-lost-password .woocommerce-Button,
.woocommerce-lost-password button[type="submit"],
body.woocommerce-account .woocommerce button[type="submit"],
body.woocommerce-account .woocommerce .woocommerce-button,
body.woocommerce-account .woocommerce .button {
  background-color: var(--gold) !important;
  color: var(--navy-dark) !important;
  border: none !important;
  border-radius: 0.5rem !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  padding: 0.625rem 1.25rem !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  box-shadow: 0 8px 24px -8px hsla(45, 85%, 52%, 0.35) !important;
  text-decoration: none !important;
  width: auto !important;
  min-width: 120px !important;
}

.woocommerce-form-login__submit:hover,
.woocommerce-form-register__submit:hover,
.woocommerce-ResetPassword .woocommerce-Button:hover,
.woocommerce-ResetPassword button[type="submit"]:hover,
.woocommerce-lost-password .woocommerce-Button:hover,
.woocommerce-lost-password button[type="submit"]:hover,
body.woocommerce-account .woocommerce button[type="submit"]:hover,
body.woocommerce-account .woocommerce .woocommerce-button:hover,
body.woocommerce-account .woocommerce .button:hover {
  background-color: var(--gold-light) !important;
  box-shadow: 0 12px 32px -8px hsla(45, 85%, 52%, 0.45) !important;
  transform: translateY(-1px) scale(1.02) !important;
}

.woocommerce-form-login__submit:active,
.woocommerce-form-register__submit:active,
.woocommerce-ResetPassword .woocommerce-Button:active,
.woocommerce-ResetPassword button[type="submit"]:active,
.woocommerce-lost-password .woocommerce-Button:active,
.woocommerce-lost-password button[type="submit"]:active,
body.woocommerce-account .woocommerce button[type="submit"]:active,
body.woocommerce-account .woocommerce .woocommerce-button:active,
body.woocommerce-account .woocommerce .button:active {
  transform: translateY(0) scale(0.98) !important;
  box-shadow: 0 4px 16px -8px hsla(45, 85%, 52%, 0.3) !important;
}

/* Override WooCommerce form styles */
.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register {
  border: none !important;
  padding: 5px !important;
}

.woocommerce-LostPassword {
  margin-top: 0.5rem;
}

.woocommerce-LostPassword a {
  color: var(--navy-dark);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.3s;
}

.woocommerce-LostPassword a:hover {
  color: #000;
  text-decoration: underline;
}

.customer-register-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Privacy policy link in registration form */
.woocommerce-privacy-policy-text,
.customer-register-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.woocommerce-privacy-policy-text a,
.customer-register-description a,
.privacy-policy-link {
  color: var(--navy-dark);
  text-decoration: underline;
  transition: color 0.3s;
}

.woocommerce-privacy-policy-text a:hover,
.customer-register-description a:hover,
.privacy-policy-link:hover {
  color: #000;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .woocommerce-account .entry-title {
    font-size: 2rem;
  }
  
  .woocommerce-account .entry-header {
    padding: 1.5rem 0;
    margin-bottom: 2rem;
  }
  
  #customer_login,
  .customer-login-wrapper,
  .woocommerce .col2-set,
  .woocommerce-page .col2-set {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    padding: 1.5rem 1rem !important;
  }
  
  #customer_login .u-column1,
  #customer_login .u-column2,
  #customer_login .col-1,
  #customer_login .col-2,
  .customer-login-column,
  .customer-register-column,
  .woocommerce .col2-set .u-column1,
  .woocommerce .col2-set .u-column2,
  .woocommerce-page .col2-set .u-column1,
  .woocommerce-page .col2-set .u-column2 {
    padding: 1.5rem !important;
  }
  
  .customer-login-title,
  .customer-register-title,
  #customer_login h2,
  .woocommerce .col2-set h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

/* Edit Account Form */
.woocommerce-EditAccountForm {
  max-width: 600px;
}

.woocommerce-EditAccountForm .form-row {
  margin-bottom: 1.5rem;
}

.woocommerce-EditAccountForm label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--foreground);
  font-size: 0.9375rem;
}

.woocommerce-EditAccountForm label .required {
  color: #dc2626;
  margin-left: 0.25rem;
}

.woocommerce-EditAccountForm input[type="text"],
.woocommerce-EditAccountForm input[type="email"],
.woocommerce-EditAccountForm input[type="password"] {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--foreground);
  font-size: 1rem;
  transition: all 0.3s;
  font-family: inherit;
}

.woocommerce-EditAccountForm input[type="text"]:focus,
.woocommerce-EditAccountForm input[type="email"]:focus,
.woocommerce-EditAccountForm input[type="password"]:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.woocommerce-EditAccountForm .woocommerce-form-row--wide {
  position: relative;
}

.woocommerce-EditAccountForm .password-input-wrapper {
  position: relative;
}

.woocommerce-EditAccountForm .show-password-input {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--muted-foreground);
  transition: color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.woocommerce-EditAccountForm .show-password-input:hover {
  color: var(--foreground);
}

.woocommerce-EditAccountForm .woocommerce-form-row--wide .description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
  font-style: italic;
}

.woocommerce-EditAccountForm fieldset {
  border: none;
  padding: 0;
  margin: 2rem 0 0 0;
}

.woocommerce-EditAccountForm fieldset legend {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1rem;
  padding: 0;
}

.woocommerce-EditAccountForm button[type="submit"] {
  background: var(--gold);
  color: var(--navy-dark);
  border: none;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 1.5rem;
  box-shadow: 0 4px 12px -4px hsla(45, 85%, 52%, 0.3);
}

.woocommerce-EditAccountForm button[type="submit"]:hover {
  background: var(--gold-light);
  box-shadow: 0 6px 16px -4px hsla(45, 85%, 52%, 0.4);
  transform: translateY(-1px);
}

.woocommerce-EditAccountForm button[type="submit"]:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px -4px hsla(45, 85%, 52%, 0.3);
}

@media (max-width: 768px) {
  .woocommerce-MyAccount-content {
    padding: 1.5rem;
  }
  
  .woocommerce-MyAccount-content h2 {
    font-size: 1.75rem;
  }
  
  .woocommerce-EditAccountForm {
    max-width: 100%;
  }
}

.thumbnail-images-github {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
}

.thumbnail-btn-github {
  width: 80px;
  height: 80px;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 2px solid var(--border);
  padding: 0;
  background: none;
  cursor: pointer;
  transition: border-color 0.3s;
  flex-shrink: 0;
}

.thumbnail-btn-github:hover {
  border-color: var(--gold);
  
}

.thumbnail-btn-github.active {
  border-color: var(--gold);
}

.thumbnail-btn-github img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-details-github {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Product Badge Header */
.product-badge-header-github {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.product-badge-item-github {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  background: var(--secondary);
  color: var(--foreground);
  border: 1px solid var(--border);
  line-height: 1.2;
}

.product-badge-sale-github {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}

/* Product Categories */
/* Categories and Price Wrapper */
.product-categories-price-wrapper-github {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.product-categories-github {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0;
  flex: 1;
  min-width: 0;
}

.product-category-tag-github {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted-foreground);
  background: var(--secondary);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: all 0.2s ease;
}

.product-category-tag-github:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(255, 215, 0, 0.05);
}

/* Product Short Description */
.product-short-description-github {
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 1.75rem;
  font-size: 1rem;
}

.product-short-description-github p {
  margin-bottom: 0.75rem;
}

.product-short-description-github p:last-child {
  margin-bottom: 0;
}

/* Product Specifications */
.product-specifications-github {
  margin-bottom: 1.75rem;
  padding: 1.25rem;
  background: var(--secondary);
  border-radius: 0.75rem;
  border: 1px solid var(--border);
}

.product-specifications-title-github {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.product-specifications-list-github {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.product-specification-item-github {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.product-specification-item-github:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.product-specification-label-github {
  font-weight: 500;
  color: var(--foreground);
  flex-shrink: 0;
  min-width: 120px;
}

.product-specification-value-github {
  color: var(--muted-foreground);
  text-align: right;
  flex: 1;
}

/* Product Stock & SKU */
.product-stock-sku-github {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  padding: 1rem;
  background: var(--secondary);
  border-radius: 0.75rem;
  border: 1px solid var(--border);
}

.product-stock-wrapper-github {
  display: flex;
  align-items: center;
}

.product-stock-github {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
}

.product-stock-dot-github {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.product-sku-wrapper-github {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.product-sku-label-github {
  color: var(--muted-foreground);
  font-weight: 500;
}

.product-sku-github {
  color: var(--foreground);
  font-weight: 600;
}

/* Product Dimensions */
.product-dimensions-github {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  padding: 1rem;
  background: var(--secondary);
  border-radius: 0.75rem;
  border: 1px solid var(--border);
}

.product-dimension-item-github {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
}

.product-dimension-label-github {
  color: var(--muted-foreground);
  font-weight: 500;
}

.product-dimension-value-github {
  color: var(--foreground);
  font-weight: 600;
}

/* Product Price Wrapper */
.product-price-wrapper-github {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.product-price-savings-github {
  font-size: 0.875rem;
  color: hsl(142, 71%, 45%);
  font-weight: 500;
  margin-top: 0.25rem;
}

.product-price-tax-github {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
}

.product-title-github {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--foreground);
  line-height: 1.3;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .product-title-github {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
}

.product-rating-github {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.product-rating-stars-github {
  display: flex;
  gap: 0.25rem;
}

.product-rating-star-github {
  color: var(--gold);
  font-size: 1.25rem;
}

.product-rating-star-empty-github {
  color: var(--border);
  font-size: 1.25rem;
}

.product-rating-count-github {
  color: var(--muted-foreground);
}

.product-price-github {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
  align-items: flex-end;
  flex-shrink: 0;
}

.product-price-current-github {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .product-price-current-github {
    font-size: 2.5rem;
  }
}

.product-price-old-github {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  text-decoration: line-through;
}

.product-description-github {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.product-features-github {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

@media (max-width: 640px) {
  .product-features-github {
    grid-template-columns: 1fr;
  }
}

.product-feature-github {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-feature-icon-github {
  color: var(--gold);
  font-size: 1.25rem;
  font-weight: bold;
}

.product-stock-sku-github {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.product-stock-github {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-stock-dot-github {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.product-stock-in-github {
  color: hsl(142, 71%, 45%);
}

.product-stock-dot-in-github {
  background: hsl(142, 71%, 45%);
}

.product-stock-out-github {
  color: var(--destructive);
}

.product-stock-dot-out-github {
  background: var(--destructive);
}

.product-sku-github {
  color: var(--muted-foreground);
}

.product-quantity-cart-github {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.product-quantity-wrapper-github {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.quantity-btn-github {
  padding: 0.75rem;
  background: var(--card);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--foreground);
}

.quantity-btn-github:hover {
  background: var(--secondary);
}

.quantity-btn-github span {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1;
  display: inline-block;
}

.quantity-display-github {
  width: 48px;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  background: var(--card);
  color: var(--foreground);
  padding: 0.75rem 0;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hide default WooCommerce quantity input */
.cart .quantity {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.cart .quantity input[type="number"] {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.woocommerce .quantity {
  display: none !important;
}

.woocommerce .quantity input[type="number"] {
  display: none !important;
}

.product-detail-github .quantity,
.product-details-github .quantity {
  display: none !important;
}

.btn-gold-github {
  flex: 1;
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--gold);
  color: var(--navy-dark);
  border: none;
  border-radius: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  box-shadow: 0 8px 24px -8px hsla(45, 85%, 52%, 0.35);
  min-height: 56px;
}

.btn-gold-github:hover:not(:disabled) {
  background-color: var(--gold-light);
  box-shadow: 0 12px 32px -8px hsla(45, 85%, 52%, 0.45);
  transform: scale(1.02);
}

.btn-gold-github:active:not(:disabled) {
  transform: scale(0.98);
  box-shadow: 0 4px 16px -8px hsla(45, 85%, 52%, 0.3);
}

.btn-gold-github:disabled {
  
  cursor: not-allowed;
}

.btn-gold-github span {
  font-size: 1.25rem;
  line-height: 1;
}

/* WooCommerce Block Button Styles */
.wc-block-components-button:not(.is-link) {
  background-color: var(--gold) !important;
  color: var(--navy-dark) !important;
  border: none !important;
  border-radius: 0.75rem !important;
  font-weight: 700 !important;
  padding: 0.75rem 1.5rem !important;
  font-size: 1.125rem !important;
  min-height: 48px !important;
  box-shadow: 0 8px 24px -8px hsla(45, 85%, 52%, 0.35) !important;
  transition: all 0.3s !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
}

.wc-block-components-button:not(.is-link):hover {
  background-color: var(--gold-light) !important;
  box-shadow: 0 12px 32px -8px hsla(45, 85%, 52%, 0.45) !important;
  transform: scale(1.02) !important;
}

.wc-block-components-button:not(.is-link):active {
  transform: scale(0.98) !important;
  box-shadow: 0 4px 16px -8px hsla(45, 85%, 52%, 0.3) !important;
}

.wc-block-components-button:not(.is-link) .wc-block-components-button__text {
  color: var(--navy-dark) !important;
  font-weight: 700 !important;
}

/* Product Key Features Section - New Design (Image + Title + Feature) */
.product-key-features-section {
  padding: 4rem 0;
  background: linear-gradient(to bottom, var(--background), var(--secondary));
  margin-top: 4rem;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.product-key-features-header {
  text-align: center;
  margin-bottom: 3rem;
}

.product-key-features-main-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.75rem;
  font-family: 'Playfair Display', Georgia, serif;
}

.product-key-features-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 600px;
  margin: 0 auto;
}

.product-key-features-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .product-key-features-cards {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  }
}

@media (min-width: 1024px) {
  .product-key-features-cards {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  }
}

.product-key-feature-card {
  background: var(--card);
  border-radius: 1rem;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.product-key-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-color: var(--gold);
}

.product-key-feature-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--secondary);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-key-feature-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-key-feature-card:hover .product-key-feature-card-image img {
  transform: scale(1.1);
}

.product-key-feature-card-icon {
  font-size: 4rem;
  line-height: 1;
}

.product-key-feature-card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-key-feature-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.product-key-feature-card-value {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 768px) {
  .product-key-features-section {
    padding: 3rem 0;
  }
  
  .product-key-features-main-title {
    font-size: 2rem;
  }
  
  .product-key-features-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .product-key-feature-card-image {
    height: 180px;
  }
}

/* Extended Product Description Section - Full Width Breakout */
.extended-product-description {
  border-top: 1px solid var(--border);
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.extended-section-full-width {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4rem;
  width: 100%;
}

/* Two Column Layout */
.extended-section-two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.extended-section-left,
.extended-section-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.extended-section-image {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Section Background Colors */
.extended-section-beige {
  background: #faf8f5;
  padding: 6rem 0;
  width: 100%;
}

.extended-section-white {
  background: #ffffff;
  padding: 6rem 0;
  width: 100%;
}

.extended-section-orange {
  background: #fff5eb;
  padding: 6rem 0;
  width: 100%;
}

.extended-section-navy {
  background: #1a2d4a;
  padding: 6rem 0;
  width: 100%;
}

.extended-section-navy .product-section-title,
.extended-section-navy .product-summary-content {
  color: #ffffff;
}

.extended-section-orange-gradient {
  background: linear-gradient(135deg, #1a2d4a 0%, #2d4a6b 100%);
  padding: 5rem 0;
  width: 100%;
}

.product-final-summary-content {
  font-size: 1.75rem;
  line-height: 1.9;
  color: #ffffff;
  font-weight: 600;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}

.product-final-summary-content p {
  margin-bottom: 1.25rem;
}

.product-final-summary-content p:last-child {
  margin-bottom: 0;
}


/* Hero Section */
.product-hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: #1a2d4a;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.product-hero-description {
  font-size: 1.25rem;
  line-height: 1.9;
  color: #000000;
}

.product-hero-description p {
  margin-bottom: 1.25rem;
}

.product-hero-description p:last-child {
  margin-bottom: 0;
}

/* Section Titles */
.product-section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a2d4a;
  margin-bottom: 3rem;
  text-align: center;
}

.product-dosage-title-right {
  text-align: left;
  margin-bottom: 2rem;
}

/* Target Groups Section */
.product-target-groups-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.product-target-group-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.target-group-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.target-group-icon {
  font-size: 2.5rem;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a2d4a 0%, #2d4a6b 100%);
  border-radius: 1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(26, 45, 74, 0.2);
  line-height: 1;
  text-align: center;
}

.target-group-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a2d4a;
  margin: 0;
}

.target-group-description {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #000000;
  margin: 0;
  padding-left: 5rem;
}

/* Benefits Section */
.product-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.product-benefit-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.benefit-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.benefit-icon {
  font-size: 2.5rem;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff9a56 0%, #ff7a3d 100%);
  border-radius: 1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(255, 154, 86, 0.3);
  line-height: 1;
  text-align: center;
}

.benefit-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a2d4a;
  margin: 0;
}

.benefit-description {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #000000;
  padding-left: 5rem;
}

.benefit-description p {
  margin-bottom: 0.75rem;
}

.benefit-description p:last-child {
  margin-bottom: 0;
}

/* Summary Section */
.product-summary-content {
  font-size: 1.5rem;
  line-height: 1.9;
  color: #ffffff;
  font-weight: 500;
}

.product-summary-content p {
  margin-bottom: 1.25rem;
}

.product-summary-content p:last-child {
  margin-bottom: 0;
}

/* Dosage Section */
.product-dosage-content-wrapper {
  background: linear-gradient(135deg, #fff9f0 0%, #ffffff 100%);
  border: 2px solid #ffd700;
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.product-dosage-content-wrapper::before {
  content: "⚠️";
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  opacity: 0.2;
}

.product-dosage-content {
  font-size: 1.125rem;
  line-height: 1.9;
  color: #1a2d4a;
  position: relative;
  z-index: 1;
}

.product-dosage-content p {
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.product-dosage-content p:last-child {
  margin-bottom: 0;
}

.product-dosage-content strong {
  color: #1a2d4a;
  font-weight: 700;
  background: linear-gradient(120deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 215, 0, 0.1) 100%);
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
}

.product-dosage-content ul,
.product-dosage-content ol {
  margin: 1.5rem 0;
  padding-left: 0;
  list-style: none;
}

.product-dosage-content li {
  margin-bottom: 1rem;
  list-style: none;
  position: relative;
  padding-left: 2rem;
  font-size: 1.125rem;
  line-height: 1.8;
}

.product-dosage-content li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ffd700;
  font-weight: bold;
  font-size: 1.25rem;
  line-height: 1.2;
  background: #1a2d4a;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
}

/* Lab Results Section */
.product-lab-results-section {
  text-align: center;
  padding: 4rem 0;
  background: var(--card);
  width: 100%;
}

.product-lab-results-link {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 600;
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.product-lab-results-link:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .extended-section-full-width {
    padding: 0 3rem;
  }
  
  .extended-section-two-columns {
    gap: 3rem;
  }
  
  .product-hero-title {
    font-size: 2.5rem;
  }
  
  .product-section-title {
    font-size: 2rem;
  }
  
  .extended-section-beige,
  .extended-section-white,
  .extended-section-orange,
  .extended-section-navy {
    padding: 5rem 0;
  }
}

@media (max-width: 768px) {
  .extended-section-full-width {
    padding: 0 2rem;
  }
  
  .extended-section-two-columns {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .extended-section-beige,
  .extended-section-white,
  .extended-section-orange,
  .extended-section-navy {
    padding: 4rem 0;
  }
  
  .product-hero-title {
    font-size: 2rem;
  }
  
  .product-hero-description {
    font-size: 1.125rem;
  }
  
  .product-section-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
  }
  
  .product-dosage-title-right {
    text-align: center;
    margin-bottom: 1.5rem;
  }
  
  .target-group-title,
  .benefit-title {
    font-size: 1.25rem;
  }
  
  .target-group-description,
  .benefit-description {
    font-size: 1rem;
    padding-left: 0;
  }
  
  .target-group-icon,
  .benefit-icon {
    width: 3.5rem;
    height: 3.5rem;
    font-size: 2rem;
  }
  
  .product-summary-content {
    font-size: 1.25rem;
  }
  
  .product-final-summary-content {
    font-size: 1.5rem;
  }
  
  .extended-section-orange-gradient {
    padding: 4rem 0;
  }
  
  .product-lab-results-section {
    padding: 3rem 0;
  }
}

@media (max-width: 480px) {
  .extended-section-full-width {
    padding: 0 1.5rem;
  }
  
  .extended-section-beige,
  .extended-section-white,
  .extended-section-orange,
  .extended-section-navy {
    padding: 3rem 0;
  }
  
  .product-hero-title {
    font-size: 1.75rem;
  }
  
  .product-section-title {
    font-size: 1.5rem;
  }
}

.product-benefits-github {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--secondary);
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  margin-top: 0;
  margin-bottom: 1.5rem;
}

@media (max-width: 640px) {
  .product-categories-price-wrapper-github {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .product-price-github {
    align-items: flex-start;
    width: 100%;
  }
  
  .product-price-wrapper-github {
    width: 100%;
  }
  
  .product-price-current-github {
    font-size: 2rem;
  }
  
  .product-benefits-github {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.25rem;
  }
  
  .product-specifications-github,
  .product-stock-sku-github,
  .product-dimensions-github {
    padding: 1rem;
  }
  
  .product-specification-item-github {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }
  
  .product-specification-label-github {
    min-width: auto;
  }
  
  .product-specification-value-github {
    text-align: left;
  }
  
  .product-dimension-item-github {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  
  .product-info-content {
    padding: 1.5rem 0;
    font-size: 1rem;
  }
  
  .product-info-content h2 {
    font-size: 1.625rem;
  }
  
  .product-info-content h3 {
    font-size: 1.375rem;
  }
  
  .product-info-content h4 {
    font-size: 1.125rem;
  }
  
  .product-info-section-wrapper {
    padding: 3rem 0;
  }
}

.product-benefit-github {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.product-benefit-icon-github {
  font-size: 1.75rem;
  margin-bottom: 0;
  display: block;
  line-height: 1;
}

.product-benefit-title-github {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0;
  color: var(--foreground);
}

.product-benefit-desc-github {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  line-height: 1.4;
}

/* Certifications Section */
/* Mission Section */
.mission-section {
  padding: 5rem 0;
  background: var(--card);
}

.mission-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.mission-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.mission-text {
  color: var(--muted-foreground);
  line-height: 1.8;
}

.mission-text p {
  margin-bottom: 1.5rem;
}

.mission-text p:last-child {
  margin-bottom: 0;
}

.mission-text strong {
  color: var(--navy-dark);
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
}

.mission-image-wrapper {
  position: relative;
}

.mission-image {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.mission-quote {
  position: absolute;
  bottom: -1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: var(--card);
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-left: 4px solid var(--gold);
}

.mission-quote-text {
  margin: 0;
  font-style: italic;
  color: var(--foreground);
  line-height: 1.6;
  font-size: 1rem;
}

/* Innovation Section */
.innovation-section {
  padding: 5rem 0;
  background: var(--secondary);
}

.innovation-header {
  text-align: center;
  margin-bottom: 3rem;
}

.innovation-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.innovation-desc {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  max-width: 700px;
  margin: 0 auto;
}

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

.innovation-card {
  background: var(--card);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.innovation-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-color: var(--gold);
}

.innovation-icon-wrapper {
  width: 4rem;
  height: 4rem;
  background: rgba(255, 215, 0, 0.1);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.innovation-icon {
  font-size: 2rem;
}

.innovation-card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--navy-dark);
}

.innovation-card-desc {
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* Partnership Section */
.partnership-section {
  padding: 5rem 0;
  background: var(--card);
}

.partnership-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.partnership-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.partnership-text {
  color: var(--muted-foreground);
  line-height: 1.8;
}

.partnership-text p {
  margin-bottom: 1.5rem;
}

.partnership-text p:last-of-type {
  margin-bottom: 2rem;
}

.partnership-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.partnership-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--secondary);
  border-radius: 0.75rem;
  border-left: 4px solid var(--gold);
  transition: all 0.3s ease;
}

.partnership-feature-item:hover {
  background: rgba(255, 215, 0, 0.05);
  transform: translateX(4px);
}

.partnership-feature-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
}

.partnership-feature-item strong {
  display: block;
  color: var(--navy-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1.0625rem;
}

.partnership-feature-item p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.partnership-image-wrapper {
  position: relative;
}

.partnership-image {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Responsive styles for new About sections */
@media (max-width: 768px) {
  .story-content,
  .mission-content,
  .partnership-content,
  .certifications-content {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }
  
  .story-title,
  .mission-title,
  .partnership-title,
  .innovation-title,
  .certifications-title {
    font-size: 2rem;
  }
  
  .mission-quote {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    margin-top: 1.5rem;
  }
  
  .innovation-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .partnership-feature-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  
  .partnership-feature-icon {
    margin-bottom: 0.5rem;
  }
  
  .mission-section,
  .innovation-section,
  .partnership-section,
  .certifications-section {
    padding: 3rem 0;
  }
}

.certifications-section {
  padding: 5rem 0;
}

.certifications-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.certifications-image {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.certifications-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.certifications-desc {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

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

.certification-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.certification-icon {
  color: var(--gold);
  font-size: 1.5rem;
}

.certification-text {
  font-weight: 500;
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--navy-dark) 100%);
}

.cta-container {
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--primary-foreground);
}

.cta-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
  /* Prevent horizontal scroll globally */
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  * {
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .hero-visual {
    display: none !important;
  }
  
  .about-content {
    grid-template-columns: 1fr !important;
  }
  
  .contact-layout {
    grid-template-columns: 1fr !important;
    gap: 2rem;
    width: 100%;
    max-width: 100%;
  }
  
  .contact-form-row {
    grid-template-columns: 1fr !important;
  }
  
  .contact-form-wrapper {
    padding: 1.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  /* Contact Form 7 - Mobile Layout */
  .wpcf7-form > p:nth-of-type(1),
  .wpcf7-form > p:nth-of-type(2),
  .wpcf7-form > p:nth-of-type(3),
  .wpcf7-form > p:nth-of-type(4) {
    display: block !important;
    width: 100% !important;
    margin-right: 0 !important;
    margin-bottom: 1.5rem;
  }
  
  .contact-hero-title {
    font-size: 2rem !important;
  }
  
  .contact-hero-desc {
    font-size: 1rem !important;
  }
  
  .product-detail {
    grid-template-columns: 1fr !important;
  }
  
  .product-detail-github {
    grid-template-columns: 1fr !important;
  }
  
  .shop-layout {
    grid-template-columns: 1fr !important;
  }
  
}

/* FAQ Page Styles */
.faq-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 4rem 0;
  text-align: center;
  color: var(--card);
}

.faq-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.faq-hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.faq-hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--card);
}

.faq-hero-desc {
  font-size: 1.125rem;
  opacity: 0.9;
  line-height: 1.6;
}

.faq-section {
  padding: 4rem 0;
}

.faq-category-section {
  margin-bottom: 3rem;
}

.faq-category-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 0.5rem;
}

.faq-category-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

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

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-item.active {
  border-color: var(--gold);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy-dark);
  transition: all 0.3s ease;
}

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

.faq-question-text {
  flex: 1;
  margin-right: 1rem;
}

.faq-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--gold);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-content {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-answer-content p {
  margin-bottom: 1rem;
}

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

.faq-empty {
  text-align: center;
  padding: 3rem;
  color: var(--text-secondary);
  font-size: 1.125rem;
}

@media (max-width: 768px) {
  .faq-hero-title {
    font-size: 2rem;
  }
  
  .faq-hero-desc {
    font-size: 1rem;
  }
  
  .faq-category-title {
    font-size: 1.75rem;
  }
  
  .faq-question {
    padding: 1.25rem;
    font-size: 1rem;
  }
  
  .faq-answer-content {
    padding: 0 1.25rem 1.25rem 1.25rem;
  }
}

/* Legal Pages Styles (Regulamin, Polityka Prywatności, Zasady dostawy, Zwroty) */
.legal-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 4rem 0;
  text-align: center;
  color: var(--card);
}

.legal-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.legal-hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--card);
}

.legal-hero-desc {
  font-size: 1.125rem;
  opacity: 0.9;
  line-height: 1.6;
}

.legal-section {
  padding: 4rem 0;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
}

.legal-content-wrapper {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.legal-content-wrapper h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
}

.legal-content-wrapper h2:first-child {
  margin-top: 0;
}

.legal-content-wrapper h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy-dark);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-content-wrapper h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy-dark);
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.legal-content-wrapper p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.legal-content-wrapper ul,
.legal-content-wrapper ol {
  margin: 1rem 0;
  padding-left: 2rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.legal-content-wrapper li {
  margin-bottom: 0.5rem;
}

.legal-content-wrapper li strong {
  color: var(--navy-dark);
  font-weight: 600;
}

.legal-content-wrapper a {
  color: var(--primary);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.legal-content-wrapper a:hover {
  color: #000;
}

@media (max-width: 768px) {
  .legal-hero-title {
    font-size: 2rem;
  }
  
  .legal-hero-desc {
    font-size: 1rem;
  }
  
  .legal-content-wrapper {
    padding: 2rem 1.5rem;
  }
  
  .legal-content-wrapper h2 {
    font-size: 1.5rem;
  }
  
  .legal-content-wrapper h3 {
    font-size: 1.25rem;
  }
  
  .legal-content-wrapper h4 {
    font-size: 1.125rem;
  }
}

/* Error 404 Page Styles */
.error-404-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 6rem 0;
  text-align: center;
  color: var(--card);
}

.error-404-hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.error-404-title {
  font-size: 8rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 1rem;
  color: var(--gold);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.error-404-subtitle {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--card);
}

.error-404-desc {
  font-size: 1.25rem;
  opacity: 0.9;
  line-height: 1.6;
}

.error-404-section {
  padding: 4rem 0;
}

.error-404-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.error-404-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.error-404-recommended-section {
  padding-top: 3rem;
  border-top: 1px solid var(--border);
  margin-top: 3rem;
}

.error-404-recommended-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 2rem;
  text-align: center;
}

@media (max-width: 768px) {
  .error-404-title {
    font-size: 5rem;
  }
  
  .error-404-subtitle {
    font-size: 2rem;
  }
  
  .error-404-desc {
    font-size: 1.125rem;
  }
  
  .error-404-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .error-404-actions .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .error-404-links-list {
    flex-direction: column;
    gap: 1rem;
  }
  
  .product-card .btn-gold {
    gap: 7px;
  }
}

/* Product Contact Form Button */
.product-contact-button-wrapper {
  margin-top: 0;
  margin-bottom: 1.5rem;
  width: 100%;
}

.product-contact-button {
  width: 100%;
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--navy-dark);
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.product-contact-button:hover {
  background: var(--gold);
  color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.product-contact-button svg {
  width: 20px;
  height: 20px;
}

/* Product Contact Modal */
.product-contact-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.product-contact-modal.active {
  opacity: 1;
  visibility: visible;
}

.product-contact-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.product-contact-modal-content {
  position: relative;
  background: var(--card);
  border-radius: 1rem;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
  z-index: 10000;
}

.product-contact-modal.active .product-contact-modal-content {
  transform: scale(1) translateY(0);
}

.product-contact-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: var(--secondary);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10001;
}

.product-contact-modal-close:hover {
  background: var(--muted);
  transform: rotate(90deg);
}

.product-contact-modal-close svg {
  width: 20px;
  height: 20px;
  color: var(--foreground);
}

.product-contact-modal-header {
  padding: 2rem 2rem 1rem;
  border-bottom: 1px solid var(--border);
}

.product-contact-modal-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 0.5rem;
}

.product-contact-modal-subtitle {
  font-size: 1rem;
  color: var(--muted-foreground);
  margin: 0;
}

/* Contact Form */
.product-contact-form {
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--foreground);
  background: var(--card);
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group-checkbox {
  margin-top: 1rem;
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--foreground);
  cursor: pointer;
}

.form-checkbox-label input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 1.25rem;
  height: 1.25rem;
  cursor: pointer;
  accent-color: var(--gold);
}

.form-checkbox-label a {
  color: var(--gold);
  text-decoration: underline;
}

.form-checkbox-label a:hover {
  color: #000;
}

.product-contact-submit {
  width: 100%;
  margin-top: 1rem;
  padding: 1rem;
  font-size: 1rem;
}

.form-message {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
}

.form-message-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Responsive */
@media (max-width: 768px) {
  .product-contact-modal-content {
    width: 95%;
    max-height: 95vh;
  }
  
  .product-contact-modal-header {
    padding: 1.5rem 1.5rem 1rem;
  }
  
  .product-contact-form {
    padding: 1.5rem;
  }
  
  .product-contact-modal-title {
    font-size: 1.5rem;
  }
}

/* Strona Certyfikaty i jakość */
.certyfikaty-section {
  padding: 3rem 0 4rem;
}
.certyfikaty-content {
  max-width: 900px;
  margin: 0 auto;
}
.certyfikaty-intro {
  margin-bottom: 2.5rem;
}
.certyfikaty-intro h2,
.certyfikaty-docs h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 1rem;
}
.certyfikaty-intro p,
.certyfikaty-docs p {
  color: var(--muted-foreground);
  line-height: 1.7;
}
.certyfikaty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.certyfikaty-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.certyfikaty-card-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
.certyfikaty-card h3 {
  font-size: 1.125rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.certyfikaty-card p {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}
.certyfikaty-docs {
  margin-bottom: 2rem;
}
.certyfikaty-docs a {
  color: var(--gold);
  text-decoration: underline;
}
.certyfikaty-docs a:hover {
  text-decoration: none;
}
.certyfikaty-cta {
  text-align: center;
  padding: 2rem;
  background: var(--secondary);
  border-radius: var(--radius);
}
.certyfikaty-cta p {
  margin-bottom: 1rem;
  color: var(--foreground);
}
.certyfikaty-cta .btn {
  display: inline-block;
}

/* Cookie banner (fallback gdy Complianz nieaktywny) */
.alphagen-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 1rem 1.5rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}
.alphagen-cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.alphagen-cookie-banner-text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  flex: 1;
  min-width: 200px;
}
.alphagen-cookie-banner-text a {
  color: var(--gold);
  text-decoration: underline;
}
.alphagen-cookie-banner-text a:hover {
  text-decoration: none;
}
.alphagen-cookie-banner-btn {
  flex-shrink: 0;
  padding: 0.5rem 1.25rem;
  font-size: 0.9375rem;
}
@media (max-width: 768px) {
  .alphagen-cookie-banner-inner {
    flex-direction: column;
    text-align: center;
  }
}
