/*
 Theme Name:   AlpenPeptides
 Theme URI:    https://alpenpeptides.at
 Description:  AlpenPeptides Child Theme – basiert auf Blocksy
 Author:       AlpenPeptides
 Author URI:   https://alpenpeptides.at
 Template:     blocksy
 Version:      1.0.0
 Text Domain:  alpenpeptides
*/

/* ============================================================
   CSS CUSTOM PROPERTIES – AlpenPeptides Design System
   ============================================================ */
:root {
  /* Farben */
  --color-black:       #0A0A0A;
  --color-white:       #FFFFFF;
  --color-offwhite:    #F8F8F6;
  --color-gold:        #1F3A5F; /* CTA Blue (replaces old gold) */
  --color-gold-dark:   #14273F; /* Navy Dark (replaces old gold-dark) */
  --color-accent:      #2E5C8A; /* Accent Blue – labels, links */

  --color-navy:        #14273F;
  --color-navy-mid:    #1F3A5F;
  --color-navy-dark:   #0D1F32;

  --color-gray-100:    #F2F2F0;
  --color-gray-300:    #D4D4D0;
  --color-gray-600:    #6B6B66;
  --color-gray-900:    #1A1A1A;

  --color-success:     #2D7A4F;
  --color-warning:     #B8860B;
  --color-error:       #C0392B;
  --color-info:        #1B4F8A;

  /* Typografie */
  --font-family:       'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Schriftgrößen */
  --text-xs:    12px;
  --text-sm:    14px;
  --text-base:  16px;
  --text-lg:    18px;
  --text-xl:    22px;
  --text-2xl:   28px;
  --text-3xl:   36px;
  --text-4xl:   48px;
  --text-5xl:   64px;

  /* Spacing */
  --space-1:    4px;
  --space-2:    8px;
  --space-3:    12px;
  --space-4:    16px;
  --space-5:    20px;
  --space-6:    24px;
  --space-8:    32px;
  --space-10:   40px;
  --space-12:   48px;
  --space-16:   64px;
  --space-20:   80px;
  --space-24:   96px;

  /* Layout */
  --max-width:       1200px;
  --max-width-text:  720px;
  --container-pad:   24px;
  --grid-gap:        24px;

  /* Border & Shadow */
  --radius-sm:   2px;
  --radius-md:   4px;
  --radius-lg:   8px;
  --radius-full: 9999px;

  --border-color: var(--color-gray-300);
  --border:       1px solid var(--border-color);

  --shadow-sm:    0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:    0 4px 12px rgba(0,0,0,0.10);
  --shadow-lg:    0 8px 24px rgba(0,0,0,0.12);
  --shadow-gold:  0 4px 16px rgba(31,58,95,0.25); /* CTA shadow */

  /* Transition */
  --transition: 0.2s ease;
}

/* ============================================================
   GLOBAL RESET
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ============================================================
   LAYOUT – CONTAINER & GLOBALS
   ============================================================ */
html {
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
}

.ap-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  width: 100%;
}

/* AlpenPeptides Button System */
.ap-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.04em;
  border-radius: var(--radius-md);
  padding: 0.75rem 1.5rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.ap-btn--primary {
  background: var(--color-gold);
  color: #ffffff;
  border-color: var(--color-gold);
}
.ap-btn--primary:hover {
  background: var(--color-gold-dark);
  border-color: var(--color-gold-dark);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(46,92,138,0.4);
}
.ap-btn--outline {
  background: transparent;
  color: var(--color-gold);
  border-color: var(--color-gold);
}
.ap-btn--outline:hover {
  background: var(--color-gold);
  color: #ffffff;
}
.ap-btn--lg {
  padding: 1rem 2rem;
  font-size: var(--text-base);
}
.ap-btn--sm {
  padding: 0.5rem 1rem;
  font-size: var(--text-xs);
}

/* ============================================================
   BASIS
   ============================================================ */
body {
  font-family: var(--font-family);
  background-color: var(--color-offwhite);
  color: var(--color-gray-900);
  font-size: var(--text-base);
  line-height: 1.6;
}

a {
  color: var(--color-gold);
  transition: color var(--transition);
}
a:hover {
  color: var(--color-gold-dark);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .cart .button,
.woocommerce .cart input.button,
.woocommerce #payment #place_order {
  background: var(--color-gold) !important;
  color: #ffffff !important;
  font-family: var(--font-family) !important;
  font-weight: 600 !important;
  font-size: var(--text-sm) !important;
  padding: 14px 28px !important;
  border-radius: var(--radius-md) !important;
  border: none !important;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition) !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
}
.btn-primary:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce .cart .button:hover,
.woocommerce #payment #place_order:hover {
  background: var(--color-gold-dark) !important;
  box-shadow: var(--shadow-gold) !important;
}

.btn-secondary {
  background: transparent;
  color: var(--color-black);
  border: 2px solid var(--color-black);
  font-weight: 600;
  padding: 12px 26px;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  display: inline-block;
  cursor: pointer;
}
.btn-secondary:hover {
  background: var(--color-black);
  color: var(--color-white);
}

/* ============================================================
   DISCLAIMER BOX (Research Only)
   ============================================================ */
.disclaimer-box {
  background: #FFF8E7;
  border-left: 4px solid var(--color-warning);
  padding: var(--space-4) var(--space-5);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: var(--text-sm);
  color: var(--color-gray-900);
  margin: var(--space-4) 0;
  line-height: 1.5;
}

/* ============================================================
   BADGES
   ============================================================ */
.badge-lab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-info);
  color: white;
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.badge-stack {
  display: inline-flex;
  align-items: center;
  background: var(--color-gold);
  color: #ffffff;
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================================
   PRODUKTKARTEN (WooCommerce)
   ============================================================ */
.woocommerce ul.products li.product,
.product-card {
  background: var(--color-white);
  border: var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.woocommerce ul.products li.product:hover,
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-navy);
}

.woocommerce ul.products li.product .price {
  color: var(--color-gold);
  font-weight: 700;
}

/* ============================================================
   VERTRAUENSLEISTE
   ============================================================ */
.trust-bar {
  display: flex;
  justify-content: center;
  gap: var(--space-8);
  padding: var(--space-6) var(--space-4);
  background: var(--color-white);
  border-top: var(--border);
  border-bottom: var(--border);
  flex-wrap: wrap;
}
.trust-bar__item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-gray-900);
}
.trust-bar__item svg,
.trust-bar__item .icon {
  color: var(--color-gold);
  flex-shrink: 0;
}

/* ============================================================
   SEKTIONEN
   ============================================================ */
.section {
  padding: var(--space-20) 0;
}
.section--gray {
  background: var(--color-gray-100);
}
.section--dark {
  background: var(--color-navy);
  color: var(--color-white);
}
.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: var(--color-white);
}

@media (max-width: 768px) {
  .section {
    padding: var(--space-12) 0;
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: var(--space-24) var(--container-pad);
  text-align: center;
  background: var(--color-navy);
  color: var(--color-white);
}
.hero__eyebrow {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  font-weight: 600;
  margin-bottom: var(--space-4);
  display: block;
}
.hero__headline {
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: var(--space-5);
}
.hero__headline span {
  color: var(--color-gold);
}
.hero__subline {
  font-size: var(--text-lg);
  color: var(--color-gray-300);
  max-width: 600px;
  margin: 0 auto var(--space-8);
  line-height: 1.6;
}
.hero__ctas {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}
.hero__cta-primary {
  background: var(--color-gold);
  color: var(--color-black);
  font-weight: 700;
  font-size: var(--text-base);
  padding: 16px 36px;
  border-radius: var(--radius-md);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all var(--transition);
}
.hero__cta-primary:hover {
  background: var(--color-gold-dark);
  color: var(--color-black);
  box-shadow: var(--shadow-gold);
}
.hero__cta-secondary {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.4);
  font-weight: 600;
  font-size: var(--text-base);
  padding: 14px 34px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition);
}
.hero__cta-secondary:hover {
  border-color: var(--color-white);
  color: var(--color-white);
  background: rgba(255,255,255,0.1);
}

@media (max-width: 768px) {
  .hero__headline { font-size: var(--text-3xl); }
  .hero__subline  { font-size: var(--text-base); }
  .hero { padding: var(--space-16) var(--container-pad); }
}

/* ============================================================
   NEWSLETTER SEKTION
   ============================================================ */
.newsletter-section {
  background: var(--color-navy);
  padding: var(--space-16) var(--container-pad);
  text-align: center;
}
.newsletter-section h2 {
  color: var(--color-white);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-3);
}
.newsletter-section p {
  color: var(--color-gray-300);
  margin-bottom: var(--space-6);
}
.newsletter-form {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.newsletter-form input[type="email"] {
  flex: 1;
  padding: 14px 16px;
  border: 1px solid var(--color-gray-600);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.05);
  color: var(--color-white);
  font-size: var(--text-base);
  min-width: 220px;
}
.newsletter-form input[type="email"]::placeholder {
  color: var(--color-gray-600);
}

/* ============================================================
   WOOCOMMERCE PRODUKTSEITE
   ============================================================ */
.woocommerce div.product .product_title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-navy);
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-gold);
}
.woocommerce .woocommerce-tabs ul.tabs li.active a {
  color: var(--color-gold);
  border-bottom: 2px solid var(--color-gold);
}

/* ============================================================
   CHECKOUT
   ============================================================ */
.checkout-disclaimer {
  background: #FFF8E7;
  border-left: 4px solid var(--color-warning);
  padding: var(--space-4) var(--space-5);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
  border: var(--border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  transition: border-color var(--transition);
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
  border-color: var(--color-gold);
  outline: none;
}

/* ============================================================
   FOOTER DISCLAIMER
   ============================================================ */
.footer-disclaimer {
  text-align: center;
  font-size: var(--text-xs);
  color: var(--color-gray-600);
  padding: var(--space-4) var(--container-pad);
  border-top: var(--border);
  background: var(--color-white);
}

/* ============================================================
   FADE-IN ANIMATION
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(10px);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* ============================================================
   UTILITY
   ============================================================ */
.text-gold    { color: var(--color-gold); }
.text-center  { text-align: center; }
.text-sm      { font-size: var(--text-sm); }
.text-xs      { font-size: var(--text-xs); }
.font-bold    { font-weight: 700; }
.font-semibold{ font-weight: 600; }
.mt-4         { margin-top: var(--space-4); }
.mb-4         { margin-bottom: var(--space-4); }
.container    { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--container-pad); }

/* ============================================================
   HOMEPAGE – HERO
   ============================================================ */
.ap-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--color-navy);
  overflow: hidden;
}
.ap-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(46,92,138,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(46,92,138,0.05) 0%, transparent 50%);
  pointer-events: none;
}
.ap-hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C8A96E' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
}
.ap-hero__content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: var(--space-20) 0;
}
.ap-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(46,92,138,0.15);
  border: 1px solid rgba(46,92,138,0.3);
  color: var(--color-gold);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: var(--space-6);
}
.ap-hero__headline {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-white);
  margin-bottom: var(--space-6);
  letter-spacing: -0.02em;
}
.ap-hero__headline--gold {
  color: var(--color-gold);
}
.ap-hero__subline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-gray-300);
  line-height: 1.6;
  max-width: 560px;
  margin-bottom: var(--space-4);
}
.ap-hero__disclaimer {
  font-size: var(--text-xs);
  color: rgba(46,92,138,0.7);
  background: rgba(46,92,138,0.06);
  border: 1px solid rgba(46,92,138,0.15);
  border-radius: var(--radius-sm);
  padding: 0.5rem 1rem;
  margin-bottom: var(--space-8);
  display: inline-block;
}
.ap-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}
.ap-hero__scroll-hint {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-gray-600);
  font-size: 1.5rem;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   HOMEPAGE – TRUST BAR
   ============================================================ */
.ap-trust-bar {
  background: var(--color-navy-dark);
  border-top: 1px solid rgba(46,92,138,0.2);
  border-bottom: 1px solid rgba(46,92,138,0.2);
  padding: var(--space-6) 0;
}
.ap-trust-bar__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-6) var(--space-10);
}
.ap-trust-bar__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-white);
}
.ap-trust-bar__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.ap-trust-bar__item strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-gold);
}
.ap-trust-bar__item span {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-gray-300);
}

/* ============================================================
   HOMEPAGE – SECTIONS
   ============================================================ */
.ap-section {
  padding: var(--space-20) 0;
}
.ap-section--dark {
  background: var(--color-navy);
}
.ap-section__header {
  text-align: center;
  margin-bottom: var(--space-12);
}
.ap-section__kicker {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-3);
}
.ap-section__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: var(--space-4);
}
.ap-section--dark .ap-section__title {
  color: var(--color-white);
}
.ap-section__subtitle {
  font-size: var(--text-base);
  color: var(--color-gray-600);
  max-width: 560px;
  margin: 0 auto;
}
.ap-section--dark .ap-section__subtitle {
  color: var(--color-gray-300);
}
.ap-section__cta {
  text-align: center;
  margin-top: var(--space-10);
}

/* ============================================================
   HOMEPAGE – PRODUCT CARDS GRID
   ============================================================ */
.ap-products-section {
  background: var(--color-offwhite);
}
.ap-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-6);
}
/* Exakt 4 Spalten für die Startseiten-Empfehlungen */
.ap-products-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 900px) {
  .ap-products-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .ap-products-grid--4 { grid-template-columns: 1fr; }
}
.ap-product-card {
  background: var(--color-white);
  border: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ap-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.ap-product-card__link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.ap-product-card__image {
  position: relative;
  aspect-ratio: 1;
  background: var(--color-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ap-product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ap-product-card__image--placeholder {
  font-size: 3rem;
}
.ap-product-card__badge {
  position: absolute;
  top: var(--space-2);
  right: var(--space-2);
  background: var(--color-gold);
  color: var(--color-black);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
}
.ap-product-card__body {
  padding: var(--space-4);
}
.ap-product-card__title {
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--color-navy);
}
.ap-product-card__price {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: var(--space-3);
}

/* ============================================================
   HOMEPAGE – CATEGORIES
   ============================================================ */
.ap-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-6);
}
.ap-cat-card {
  display: block;
  text-decoration: none;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(46,92,138,0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.ap-cat-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-2px);
}
.ap-cat-card__image {
  aspect-ratio: 16/9;
  background: rgba(46,92,138,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ap-cat-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ap-cat-card__icon {
  font-size: 2.5rem;
}
.ap-cat-card__body {
  padding: var(--space-4);
}
.ap-cat-card__body h3 {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.25rem;
}
.ap-cat-card__body span {
  font-size: var(--text-xs);
  color: var(--color-gray-300);
}

/* ============================================================
   HOMEPAGE – USP CARDS
   ============================================================ */
.ap-usp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-6);
}
.ap-usp-card {
  background: var(--color-white);
  border: var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.ap-usp-card:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-md);
}
.ap-usp-card__icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-4);
}
.ap-usp-card h3 {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--color-navy);
}
.ap-usp-card p {
  font-size: var(--text-sm);
  color: var(--color-gray-600);
  line-height: 1.6;
}

/* ============================================================
   HOMEPAGE – NEWSLETTER
   ============================================================ */
.ap-newsletter-section {
  background: var(--color-navy);
  padding: var(--space-20) 0;
  position: relative;
  overflow: hidden;
}
.ap-newsletter-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(46,92,138,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.ap-newsletter {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(46,92,138,0.2);
  border-radius: var(--radius-xl);
  padding: var(--space-12);
}
.ap-newsletter__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: var(--space-4);
}
.ap-newsletter__text {
  color: var(--color-gray-300);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}
.ap-newsletter__text strong {
  color: var(--color-gold);
}

/* ============================================================
   BLOCKSY THEME OVERRIDES – AlpenPeptides Branding
   ============================================================ */

/* ------ PALETTE OVERRIDES (Blocksy ignoriert unsere theme_mod-Palette) ------ */
/* Blocksy's `:root` generiert --theme-palette-color-1 bis -8 mit Default-Werten.
   Wir überschreiben die relevanten hier mit höherer Spezifität / später im Cascade. */
:root {
  --theme-palette-color-1: #1F3A5F !important; /* CTA Blue – Primary */
  --theme-palette-color-2: #14273F !important; /* Navy – Hover */
  --theme-palette-color-3: #0A0A0A !important; /* Black – Text */
  --theme-palette-color-4: #1A1A1A !important; /* Dark Gray */
  --theme-palette-color-5: #EAEAE6 !important; /* Border */
  --theme-palette-color-6: #F2F2F0 !important; /* Light BG */
  --theme-palette-color-7: #F8F8F6 !important; /* Off-white BG */
  --theme-palette-color-8: #FFFFFF !important; /* White */
  /* Überschreibe Text/Link-Variablen global */
  --theme-link-initial-color: #2E5C8A;
  --theme-link-hover-color: #1F3A5F;
}

/* ══════════════════════════════════════════════════════════════════
   ANNOUNCEMENT BAR (über dem Header, via PHP injiziert)
   ══════════════════════════════════════════════════════════════════ */
.ap-announcement-bar {
  background: #0D1F32;
  border-bottom: 1px solid rgba(46,92,138,0.2);
  padding: 7px 0;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.75);
}
.ap-announcement-bar a {
  color: #1F3A5F;
  text-decoration: none;
}
.ap-announcement-bar .ap-ann__items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.ap-announcement-bar .ap-ann__item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 1.25rem;
  position: relative;
}
.ap-announcement-bar .ap-ann__item + .ap-ann__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255,255,255,0.15);
}
@media (max-width: 600px) {
  .ap-announcement-bar .ap-ann__items { flex-direction: column; gap: 2px; }
  .ap-announcement-bar .ap-ann__item + .ap-ann__item::before { display: none; }
  .ap-announcement-bar .ap-ann__item { padding: 1px 0; }
}

/* ══════════════════════════════════════════════════════════════════
   HEADER GESAMT
   ══════════════════════════════════════════════════════════════════ */
#header,
.ct-header,
[data-header] .ct-header {
  background: #14273F !important;
}

/* Mittlere Zeile (Haupt-Navigationszeile) */
[data-header*="type-1"] .ct-header [data-row*="middle"],
[data-header] .ct-header [data-row*="middle"],
#header [data-row*="middle"] {
  background-color: #14273F !important;
  border-bottom: 2px solid rgba(46,92,138,0.15) !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  min-height: 52px !important;
}

.ct-header .ct-container,
.ct-header > div {
  background: transparent !important;
}

/* Sticky Header */
#header.is-sticky .ct-header,
#header .ct-header.is-sticky,
[data-header*="type-1"].is-sticky .ct-header [data-row*="middle"] {
  background-color: rgba(20,39,63,0.96) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  box-shadow: 0 2px 24px rgba(0,0,0,0.35) !important;
}

/* ══════════════════════════════════════════════════════════════════
   LOGO / SITE TITLE
   ══════════════════════════════════════════════════════════════════ */
[data-header] .ct-header [data-id="logo"] .site-title,
#header [data-id="logo"] .site-title {
  --theme-link-initial-color: #1F3A5F !important;
  --theme-link-hover-color: #fff !important;
}
.ct-site-title a,
.site-title a,
#header .ct-logo a,
#header .site-title a {
  color: #1F3A5F !important;
  text-decoration: none !important;
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.04em !important;
  transition: color 0.2s !important;
}
.ct-site-title a:hover,
.site-title a:hover,
#header .ct-logo a:hover,
#header .site-title a:hover {
  color: #fff !important;
}

/* ══════════════════════════════════════════════════════════════════
   NAVIGATION – HAUPTLINKS
   ══════════════════════════════════════════════════════════════════ */
#header [data-id="menu"] > ul,
#header .ct-menu {
  gap: 0 !important;
}

#header [data-id="menu"] > ul > li > a,
#header .ct-menu > li > a {
  --theme-link-initial-color: rgba(255,255,255,0.78) !important;
  --theme-link-hover-color: #fff !important;
  color: rgba(255,255,255,0.78) !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  padding: 5px 11px !important;
  border-radius: 5px !important;
  transition: color 0.18s, background 0.18s !important;
  position: relative !important;
}

/* Hover-Zustand */
#header [data-id="menu"] > ul > li > a:hover,
#header .ct-menu > li > a:hover {
  color: #fff !important;
  background: rgba(255,255,255,0.06) !important;
}

/* Aktive Seite – Underline */
#header [data-id="menu"] > ul > li.current-menu-item > a,
#header [data-id="menu"] > ul > li.current-menu-ancestor > a,
#header .ct-menu > li.current-menu-item > a,
#header .ct-menu > li.current-menu-ancestor > a {
  color: #ffffff !important;
}
#header [data-id="menu"] > ul > li.current-menu-item > a::after,
#header [data-id="menu"] > ul > li.current-menu-ancestor > a::after,
#header .ct-menu > li.current-menu-item > a::after,
#header .ct-menu > li.current-menu-ancestor > a::after {
  content: '' !important;
  position: absolute !important;
  bottom: -2px !important;
  left: 14px !important;
  right: 14px !important;
  height: 2px !important;
  background: #ffffff !important;
  border-radius: 2px !important;
}

/* Shop-Link als Gold-Button hervorheben */
#header [data-id="menu"] > ul > li.menu-item-shop > a,
#header [data-id="menu"] > ul > li > a[href*="/shop"],
#header .ct-menu > li.menu-item-shop > a {
  background: #1F3A5F !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  padding: 5px 14px !important;
  border-radius: 5px !important;
}
#header [data-id="menu"] > ul > li.menu-item-shop > a:hover,
#header [data-id="menu"] > ul > li > a[href*="/shop"]:hover,
#header .ct-menu > li.menu-item-shop > a:hover {
  background: #2E5C8A !important;
  color: #ffffff !important;
}
#header [data-id="menu"] > ul > li.menu-item-shop > a::after,
#header [data-id="menu"] > ul > li > a[href*="/shop"]::after {
  display: none !important;
}

/* ══════════════════════════════════════════════════════════════════
   DROPDOWN MENÜ
   ══════════════════════════════════════════════════════════════════ */
#header [data-id="menu"] .sub-menu {
  background: #1A3050 !important;
  border: 1px solid rgba(46,92,138,0.2) !important;
  border-radius: 10px !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4) !important;
  padding: 6px !important;
  min-width: 200px !important;
}
#header [data-id="menu"] .sub-menu a {
  --theme-link-initial-color: rgba(255,255,255,0.85) !important;
  color: rgba(255,255,255,0.85) !important;
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  padding: 9px 14px !important;
  border-radius: 6px !important;
  display: block !important;
  transition: background 0.15s, color 0.15s !important;
}
#header [data-id="menu"] .sub-menu a:hover {
  color: #ffffff !important;
  background: rgba(46,92,138,0.1) !important;
}

/* ══════════════════════════════════════════════════════════════════
   HEADER ICONS – Warenkorb & Suche
   ══════════════════════════════════════════════════════════════════ */
#header [data-id="cart"] svg,
#header [data-id="search"] svg {
  color: rgba(255,255,255,0.75) !important;
  fill: currentColor !important;
  transition: color 0.18s !important;
}
#header [data-id="cart"]:hover svg,
#header [data-id="search"]:hover svg {
  color: #ffffff !important;
}
#header .cart-count,
.ct-header .cart-count {
  background: #2E5C8A !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.6rem !important;
}

/* ══════════════════════════════════════════════════════════════════
   MOBILE HAMBURGER
   ══════════════════════════════════════════════════════════════════ */
#header [data-id="trigger"],
#header .ct-toggle-dropdown-mobile {
  color: rgba(255,255,255,0.85) !important;
}
#header [data-id="trigger"] svg {
  color: rgba(255,255,255,0.85) !important;
  fill: rgba(255,255,255,0.85) !important;
}

/* ══════════════════════════════════════════════════════════════════
   MOBILE OFFCANVAS PANEL
   ══════════════════════════════════════════════════════════════════ */
#offcanvas .ct-panel-inner {
  background-color: #14273F !important;
}
#offcanvas .ct-panel-inner .ct-panel-close svg {
  color: rgba(255,255,255,0.7) !important;
}
#header [data-id="mobile-menu"] a,
#offcanvas [data-id="mobile-menu"] a {
  --theme-link-initial-color: rgba(255,255,255,0.85) !important;
  color: rgba(255,255,255,0.85) !important;
  border-bottom: 1px solid rgba(255,255,255,0.07) !important;
  padding: 12px 0 !important;
}
#header [data-id="mobile-menu"] a:hover,
#offcanvas [data-id="mobile-menu"] a:hover {
  color: #1F3A5F !important;
}


/* ══════════════════════════════════════════════════════════════════
   CUSTOM FOOTER – AlpenPeptides
   ══════════════════════════════════════════════════════════════════ */

/* Blocksy eigenen Footer verstecken (wird von footer.php ersetzt) */
#footer, .ct-footer { display: none !important; }

/* ── Wrapper ──────────────────────────────────────────────────────── */
.ap-footer {
  font-family: var(--font-family);
  background: #14273F;
}

.ap-footer__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* ── Hauptbereich (4 Spalten) ────────────────────────────────────── */
.ap-footer__main {
  padding: 64px 0 48px;
  border-top: 1px solid rgba(46,92,138,0.2);
}

.ap-footer__main .ap-footer__container {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1.4fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 1024px) {
  .ap-footer__main .ap-footer__container {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}
@media (max-width: 600px) {
  .ap-footer__main .ap-footer__container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ── Spalte 1: Brand ─────────────────────────────────────────────── */
.ap-footer__logo {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #1F3A5F !important;
  text-decoration: none !important;
  margin-bottom: 14px;
}
.ap-footer__logo:hover { color: #fff !important; }

.ap-footer__tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  margin-bottom: 18px;
  max-width: 280px;
}

.ap-footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}
.ap-footer__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(46,92,138,0.1);
  border: 1px solid rgba(46,92,138,0.2);
  color: rgba(255,255,255,0.75);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  white-space: nowrap;
}

/* ── Payment Icons ───────────────────────────────────────────────── */
.ap-footer__payment-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 10px;
  display: block;
}
.ap-footer__payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.ap-pay-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 32px;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  transition: border-color 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.ap-pay-icon:hover {
  border-color: rgba(46,92,138,0.4);
  transform: translateY(-1px);
}
.ap-pay-icon svg {
  width: 48px;
  height: 32px;
  display: block;
}

/* ── Spalten-Headings ────────────────────────────────────────────── */
.ap-footer__heading {
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.45) !important;
  margin: 0 0 16px !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid rgba(255,255,255,0.07) !important;
}

/* ── Link-Listen ─────────────────────────────────────────────────── */
.ap-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ap-footer__links li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.62) !important;
  text-decoration: none !important;
  transition: color 0.18s, padding-left 0.18s !important;
  display: block;
}
.ap-footer__links li a:hover {
  color: #1F3A5F !important;
  padding-left: 4px !important;
}

/* ── Kontakt-Liste ───────────────────────────────────────────────── */
.ap-footer__contact {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ap-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.5;
}
.ap-footer__contact-icon {
  flex-shrink: 0;
  font-size: 1rem;
  margin-top: 1px;
  opacity: 0.8;
}
.ap-footer__contact a {
  color: #1F3A5F !important;
  text-decoration: none !important;
}
.ap-footer__contact a:hover {
  color: #fff !important;
  text-decoration: underline !important;
}

/* ── Mini Newsletter im Footer ───────────────────────────────────── */
.ap-footer__newsletter {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(46,92,138,0.2);
  border-radius: 10px;
  padding: 18px;
}
.ap-footer__newsletter-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1F3A5F;
  margin: 0 0 4px;
}
.ap-footer__newsletter-sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin: 0 0 14px;
  line-height: 1.5;
}
.ap-footer__newsletter-form {
  display: flex;
  gap: 0;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(46,92,138,0.3);
}
.ap-footer__newsletter-input {
  flex: 1;
  padding: 10px 12px;
  background: rgba(255,255,255,0.06);
  border: none;
  outline: none;
  color: #fff;
  font-size: 0.82rem;
  font-family: var(--font-family);
  min-width: 0;
}
.ap-footer__newsletter-input::placeholder { color: rgba(255,255,255,0.3); }
.ap-footer__newsletter-input:focus { background: rgba(255,255,255,0.1); }
.ap-footer__newsletter-btn {
  background: #2E5C8A;
  color: #ffffff;
  border: none;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.18s;
  flex-shrink: 0;
}
.ap-footer__newsletter-btn:hover { background: #2E5C8A; }
.ap-footer__newsletter-legal {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.3);
  margin: 8px 0 0;
  line-height: 1.4;
}
.ap-footer__newsletter-legal a {
  color: rgba(46,92,138,0.7) !important;
  text-decoration: none !important;
}
.ap-footer__newsletter-legal a:hover { color: #1F3A5F !important; }

/* ── Disclaimer-Bar ──────────────────────────────────────────────── */
.ap-footer__disclaimer-bar {
  background: #0D1F32;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
}
.ap-footer__disclaimer-bar p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.7;
  margin: 0;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.ap-footer__disclaimer-bar strong { color: rgba(255,255,255,0.55); font-weight: 600; }

/* ── Copyright-Bar ───────────────────────────────────────────────── */
.ap-footer__bottom {
  background: #0A1828;
  padding: 16px 0;
}
.ap-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.ap-footer__copyright {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}
.ap-footer__bottom-links {
  display: flex;
  gap: 20px;
}
.ap-footer__bottom-links a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35) !important;
  text-decoration: none !important;
  transition: color 0.18s !important;
}
.ap-footer__bottom-links a:hover { color: #1F3A5F !important; }
.ap-footer__made {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}
@media (max-width: 600px) {
  .ap-footer__bottom-inner { justify-content: center; text-align: center; }
  .ap-footer__bottom-links { justify-content: center; flex-wrap: wrap; gap: 12px; }
}

/* ------ WOOCOMMERCE SHOP ------ */

/* Produktkarten */
.woocommerce ul.products li.product,
.products li.product {
  border-radius: 12px !important;
  overflow: visible !important;
  border: none !important;
  transition: none !important;
  background: transparent !important;
}
.woocommerce ul.products li.product:hover,
.products li.product:hover {
  transform: none !important;
  box-shadow: none !important;
  border-color: transparent !important;
}

/* Produktkarten – Titel */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2 {
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: #0A0A0A !important;
  line-height: 1.3 !important;
}

/* Produktkarten – Preis */
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .price ins,
.woocommerce ul.products li.product .price > .amount {
  color: #14273F !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
}

/* Produktkarten – In den Warenkorb */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product a.add_to_cart_button {
  background: #1F3A5F !important;
  color: #ffffff !important;
  border: none !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  border-radius: 6px !important;
  padding: 10px 18px !important;
  transition: background 0.2s !important;
  text-transform: none !important;
}
.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product a.button:hover {
  background: #14273F !important;
  color: #ffffff !important;
}

/* Sale Badge */
.woocommerce span.onsale {
  background: #1F3A5F !important;
  color: #ffffff !important;
  border-radius: 6px !important;
  font-weight: 800 !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.03em !important;
}

/* ------ WARENKORB & CHECKOUT ------ */

/* Checkout / Weiter zur Kasse */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-cart .checkout-button {
  background: #1F3A5F !important;
  color: #ffffff !important;
  border-color: #1F3A5F !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  border-radius: 8px !important;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
  background: #14273F !important;
  border-color: #14273F !important;
}

/* Jetzt bestellen */
#payment #place_order,
.woocommerce #payment #place_order {
  background: #1F3A5F !important;
  color: #ffffff !important;
  border-color: #1F3A5F !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  border-radius: 8px !important;
  width: 100% !important;
  padding: 16px !important;
}
#payment #place_order:hover {
  background: #14273F !important;
}

/* Form Fields */
.woocommerce input[type="text"],
.woocommerce input[type="email"],
.woocommerce input[type="tel"],
.woocommerce input[type="number"],
.woocommerce select,
.woocommerce textarea {
  border: 1.5px solid #E0E0DB !important;
  border-radius: 6px !important;
  padding: 10px 14px !important;
  font-size: 0.95rem !important;
  transition: border-color 0.2s !important;
}
.woocommerce input[type="text"]:focus,
.woocommerce input[type="email"]:focus,
.woocommerce input[type="tel"]:focus,
.woocommerce select:focus,
.woocommerce textarea:focus {
  border-color: #1F3A5F !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(46,92,138,0.12) !important;
}

/* ------ SHOP FILTER / SORTIERUNG ------ */
.woocommerce .woocommerce-ordering select {
  border: 1.5px solid #E0E0DB !important;
  border-radius: 6px !important;
  padding: 8px 14px !important;
  font-size: 0.875rem !important;
}

/* Ergebnisanzahl */
.woocommerce-result-count {
  color: #9A9A96 !important;
  font-size: 0.875rem !important;
}

/* ------ PAGINIERUNG ------ */
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  border-color: #E0E0DB !important;
  color: #0A0A0A !important;
  border-radius: 6px !important;
}
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: #1F3A5F !important;
  color: #ffffff !important;
  border-color: #1F3A5F !important;
}

/* ------ NOTICES ------ */
.woocommerce-message,
.woocommerce-info {
  border-top-color: #1F3A5F !important;
}
.woocommerce-message a.button,
.woocommerce-info a.button {
  background: #1F3A5F !important;
  color: #ffffff !important;
  border-radius: 6px !important;
}

/* ------ ALLGEMEINE BLOCKSY ANPASSUNGEN ------ */

/* Links global */
a {
  color: #2E5C8A;
  transition: color 0.2s ease;
}
a:hover {
  color: #1F3A5F;
}

/* Überschriften global */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family, 'Inter', sans-serif);
  color: var(--color-navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* Blocksy Page Title */
.page-title,
.entry-title,
.ct-page-title h1 {
  font-size: clamp(2rem, 4vw, 3rem) !important;
  font-weight: 800 !important;
  color: var(--color-navy) !important;
}

/* Sidebar Widgets */
.ct-sidebar .widget-title,
.ct-sidebar h3 {
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: var(--color-navy) !important;
  padding-bottom: 8px !important;
  border-bottom: 2px solid #1F3A5F !important;
  margin-bottom: 16px !important;
}

/* Read More Button */
.ct-more-link,
.read-more-link {
  color: #1F3A5F !important;
  font-weight: 600 !important;
}

/* Blocksy Buttons allgemein */
.ct-button,
button,
input[type="submit"],
input[type="button"] {
  background: #1F3A5F;
  color: #0A0A0A;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s ease;
}
.ct-button:hover,
button:hover,
input[type="submit"]:hover {
  background: #14273F;
  color: #0A0A0A;
}

/* ------ CONTENT-BEREICH ------ */
.entry-content p,
.ct-blog-article p {
  line-height: 1.75;
  color: #333330;
}
.entry-content h2,
.ct-blog-article h2 {
  margin-top: 2rem;
  color: #0A0A0A;
}

/* Code / Pre */
code, pre {
  background: #F2F2F0;
  border-radius: 4px;
  font-size: 0.875rem;
}

/* ------ RESPONSIVE ------ */
@media (max-width: 768px) {
  .ct-header .ct-container {
    padding: 0 20px !important;
  }
  .woocommerce ul.products[class*=columns-] li.product {
    width: calc(50% - 1em) !important;
  }
  #footer .ct-container {
    padding: 40px 20px 20px !important;
  }
}
@media (max-width: 480px) {
  .woocommerce ul.products[class*=columns-] li.product {
    width: 100% !important;
    float: none !important;
  }
}
.ap-newsletter__disclaimer {
  font-size: var(--text-xs);
  color: var(--color-gray-600);
}
.ap-newsletter__inline-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.ap-newsletter__input {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  padding: 0.875rem 1.25rem;
  color: var(--color-white);
  font-size: var(--text-base);
  width: 100%;
  transition: border-color 0.2s;
}
.ap-newsletter__input:focus {
  outline: none;
  border-color: var(--color-gold);
}
.ap-newsletter__input::placeholder {
  color: var(--color-gray-600);
}

/* ============================================================
   RESPONSIVE – HOMEPAGE
   ============================================================ */
@media (max-width: 768px) {
  .ap-hero { min-height: 80vh; }
  .ap-hero__actions { flex-direction: column; }
  .ap-hero__actions .ap-btn { width: 100%; justify-content: center; }
  .ap-trust-bar__grid { gap: var(--space-4) var(--space-6); }
  .ap-newsletter { grid-template-columns: 1fr; padding: var(--space-8); }
  .ap-usp-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .ap-usp-grid { grid-template-columns: 1fr; }
  .ap-products-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   PRODUKTKARTEN (custom content-product.php override)
   ============================================================ */

/* Grid-Reset – WooCommerce Standard überschreiben */
.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}
@media (max-width: 1100px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
@media (max-width: 768px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 480px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: 1fr !important;
  }
}

/* WooCommerce Float-Reset */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Karten-Container */
li.product.ap-card {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

.ap-card__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #FFFFFF;
  border: 1px solid #EAEAE6;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}
.ap-card__inner:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08),
              0 4px 12px rgba(0, 0, 0, 0.04);
  border-color: rgba(46, 92, 138, 0.25);
}

/* Bild-Box */
.ap-card__image-wrap {
  display: block;
  text-decoration: none;
}
.ap-card__image-box {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #F8F8F6;
}
.ap-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.ap-card__inner:hover .ap-card__img {
  transform: scale(1.04);
}
.ap-card__img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F2F2F0;
}
.ap-card__img-placeholder svg {
  width: 80px;
  height: 80px;
  opacity: 0.6;
}

/* Badges */
.ap-card__badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}
.ap-card__badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  line-height: 1;
}
.ap-card__badge--lab {
  background: rgba(20, 39, 63, 0.85);
  color: #ffffff;
  backdrop-filter: blur(4px);
}
.ap-card__badge--sale {
  background: var(--color-accent);
  color: #ffffff;
}
.ap-card__badge--bestseller {
  background: linear-gradient(135deg, #1F3A5F 0%, #2E5C8A 100%);
  color: #ffffff;
}
.ap-card__badge--summer {
  background: linear-gradient(135deg, #166534 0%, #22863a 100%);
  color: #ffffff;
}

/* Body */
.ap-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 20px 20px;
  gap: 4px;
}

/* Kategorie */
.ap-card__category {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 2px;
}

/* Titel */
.ap-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: #0A0A0A;
  line-height: 1.3;
  margin: 0;
}
.ap-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.ap-card__title a:hover {
  color: #1F3A5F;
}

/* Meta (Preis + Lager) */
.ap-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}
.ap-card__price,
.ap-card__variants {
  font-size: 1.05rem;
  font-weight: 800;
  color: #14273F;
  line-height: 1;
}
.ap-card__price .woocommerce-Price-amount,
.ap-card__variants .woocommerce-Price-amount {
  color: #14273F !important;
  font-weight: 800 !important;
  font-size: inherit !important;
}
.ap-card__price del,
.ap-card__price del .woocommerce-Price-amount {
  color: #AEAEAA !important;
  font-size: 0.85rem !important;
  font-weight: 400 !important;
  margin-right: 4px;
}

/* Lager */
.ap-card__stock {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.ap-card__stock--in       { color: #2D7A4F; }
.ap-card__stock--out      { color: #C0392B; }
.ap-card__stock--backorder { color: #B8860B; }

/* FOMO Lager-Badges */
.ap-card__stock--fomo {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  line-height: 1.3;
  letter-spacing: 0.02em;
}
/* < 20 – dezentes Orange */
.ap-card__stock--fomo-20 {
  color: #B8600B;
  background: rgba(184, 96, 11, 0.08);
  border: 1px solid rgba(184, 96, 11, 0.2);
}
/* < 15 – kräftigeres Orange */
.ap-card__stock--fomo-15 {
  color: #C05000;
  background: rgba(192, 80, 0, 0.1);
  border: 1px solid rgba(192, 80, 0, 0.25);
}
/* < 10 – Rot-Orange */
.ap-card__stock--fomo-10 {
  color: #C03000;
  background: rgba(192, 48, 0, 0.1);
  border: 1px solid rgba(192, 48, 0, 0.25);
}
/* ≤ 5 – Rot, pulsierend */
.ap-card__stock--fomo-5 {
  color: #C0392B;
  background: rgba(192, 57, 43, 0.1);
  border: 1px solid rgba(192, 57, 43, 0.3);
  animation: ap-fomo-pulse 2s ease-in-out infinite;
}
@keyframes ap-fomo-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.65; }
}

/* Button */
.ap-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-navy);
  text-decoration: none;
  border-top: 1px solid #EAEAE6;
  transition: color 0.2s ease, gap 0.25s ease;
  letter-spacing: 0.01em;
}
.ap-card__btn:hover {
  color: var(--color-accent);
  gap: 10px;
}
.ap-card__btn svg {
  flex-shrink: 0;
  transition: transform 0.2s;
}
.ap-card__btn:hover svg {
  transform: translateX(3px);
}

/* ============================================================
   SHOP-ARCHIV – Seiten-Layout
   ============================================================ */

/* Shop-Seiten-Titel */
.woocommerce-products-header {
  margin-bottom: 32px;
}
.woocommerce-products-header__title.page-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem) !important;
  font-weight: 800 !important;
  color: #0A0A0A !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 4px !important;
}

/* Filter-Bar */
.woocommerce-ordering,
.woocommerce-result-count {
  margin-bottom: 24px;
}
.woocommerce .woocommerce-ordering select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%230A0A0A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px !important;
  border: 1.5px solid #DEDED8 !important;
  border-radius: 8px !important;
  padding: 10px 36px 10px 14px !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  background-color: #fff !important;
  cursor: pointer;
  min-width: 200px;
  transition: border-color 0.2s;
}
.woocommerce .woocommerce-ordering select:focus {
  border-color: #1F3A5F !important;
  outline: none !important;
}

/* EINZELPRODUKT styles moved to assets/css/single-product.css */

/* ============================================================
   AKTIONSBANNER (MT-1 Gratis)
   ============================================================ */
.ap-promo-banner {
  background: var(--color-gold);
  color: var(--color-black);
  padding: 12px var(--container-pad);
  text-align: center;
}
.ap-promo-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.ap-promo-banner__icon {
  font-size: 20px;
  flex-shrink: 0;
}
.ap-promo-banner__text {
  font-size: var(--text-sm);
  font-weight: 500;
}
.ap-promo-banner__text strong {
  font-weight: 700;
}
.ap-promo-banner__cta {
  background: var(--color-navy);
  color: var(--color-gold) !important;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: var(--radius-md);
  text-decoration: none !important;
  white-space: nowrap;
  transition: background var(--transition);
  flex-shrink: 0;
}
.ap-promo-banner__cta:hover {
  background: var(--color-navy-mid);
}

/* ============================================================
   SOMMER SPECIAL SEKTION
   ============================================================ */
.ap-summer-section {
  background: linear-gradient(135deg, #0D1F32 0%, #1a2e10 50%, #0D1F32 100%);
  position: relative;
  overflow: hidden;
}
.ap-summer-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(46,92,138,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.ap-summer-section .ap-section__header {
  position: relative;
  z-index: 1;
}
.ap-summer-section .ap-section__title,
.ap-summer-section .ap-section__subtitle {
  color: var(--color-white);
}
.ap-summer-section .ap-section__subtitle {
  color: rgba(255,255,255,0.65);
}
.ap-section__kicker--summer {
  background: rgba(46,92,138,0.15);
  color: var(--color-gold);
  border: 1px solid rgba(46,92,138,0.3);
}
.ap-summer-section .ap-section__cta {
  position: relative;
  z-index: 1;
}

/* Sommer Produktkarte */
.ap-product-card--summer {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(46,92,138,0.2);
}
.ap-product-card--summer:hover {
  border-color: rgba(46,92,138,0.5);
  background: rgba(255,255,255,0.07);
}
.ap-product-card--summer .ap-product-card__title,
.ap-product-card--summer .ap-product-card__price {
  color: var(--color-white);
}

/* Sommer Badge */
.ap-product-card__badge--summer {
  background: linear-gradient(135deg, #1F3A5F, #e8c98e) !important;
  color: #0A0A0A !important;
  font-weight: 700;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* ============================================================
   STACKS TEASER
   ============================================================ */
.ap-stacks-teaser {
  background: var(--color-navy-dark);
  position: relative;
  overflow: hidden;
}
.ap-stacks-teaser::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(46,92,138,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.ap-stacks-teaser__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  position: relative;
  z-index: 1;
}
.ap-stacks-teaser__content {
  flex: 1;
  max-width: 640px;
}
.ap-stacks-teaser__title {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-white);
  margin: 12px 0 16px;
  line-height: 1.2;
}
.ap-stacks-teaser__text {
  color: rgba(255,255,255,0.65);
  font-size: var(--text-base);
  margin-bottom: 24px;
}
.ap-stacks-teaser__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.ap-stacks-teaser__list span {
  color: rgba(255,255,255,0.8);
  font-size: var(--text-sm);
  display: flex;
  align-items: center;
  gap: 8px;
}
.ap-stacks-teaser__badge {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--color-gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 60px rgba(46,92,138,0.3);
}
.ap-stacks-teaser__badge-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--color-black);
  line-height: 1;
}
.ap-stacks-teaser__badge-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-black);
  opacity: 0.75;
}
@media (max-width: 768px) {
  .ap-stacks-teaser__inner {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }
  .ap-stacks-teaser__title {
    font-size: var(--text-2xl);
  }
  .ap-stacks-teaser__list {
    align-items: center;
  }
}

/* ============================================================
   WARENKORB: Gift Progress Bar
   ============================================================ */
.ap-cart-gift-bar {
  background: var(--color-black);
  border: 1px solid rgba(46,92,138,0.3);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 24px;
}
.ap-cart-gift-bar__text {
  font-size: var(--text-sm);
  color: var(--color-gold);
  margin-bottom: 10px;
}
.ap-cart-gift-bar__text--complete {
  color: #3a9b65;
}
.ap-cart-gift-bar__text strong {
  color: var(--color-white);
}
.ap-cart-gift-bar__track {
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.ap-cart-gift-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-dark));
  border-radius: var(--radius-full);
  transition: width 0.5s ease;
}
.ap-cart-gift-bar__fill.is-complete {
  background: linear-gradient(90deg, #2D7A4F, #3a9b65);
}

/* Gift Tag im Warenkorb */
.ap-gift-tag {
  display: inline-block;
  background: var(--color-success);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-left: 6px;
  vertical-align: middle;
}

/* ============================================================
   PRODUKT-KARTEN: Sommer & Bestseller Badges
   ============================================================ */
.ap-card__badge--summer {
  background: linear-gradient(135deg, #1F3A5F, #e8c98e) !important;
  color: #0A0A0A !important;
  font-weight: 700;
}
.ap-card__badge--bestseller {
  background: #C0392B !important;
  color: #FFFFFF !important;
  font-weight: 700;
}

/* ============================================================
   PRODUKT-KARTEN: Sommer & Bestseller Badges
   ============================================================ */
.ap-card__badge--summer {
  background: linear-gradient(135deg, #1F3A5F, #e8c98e) !important;
  color: #0A0A0A !important;
  font-weight: 700;
}
.ap-card__badge--bestseller {
  background: #C0392B !important;
  color: #FFFFFF !important;
  font-weight: 700;
}

/* ============================================================
   NAVBAR CLEANUP — Sauberes 3-Spalten-Layout
   Logo (links) | Menü (mitte) | Icons (rechts)
   ============================================================ */

/* Leere Header-Rows ausblenden */
#header [data-row="top-row"],
#header [data-row="bottom-row"] {
  display: none !important;
}

/* Polylang & Social-Icons im Header ausblenden */
#header .pll-parent-menu-item,
#header .lang-item,
#header [data-id="socials"],
#header [data-id="html"] {
  display: none !important;
}

/* Nav-Links: Pill-Style Hover */
#header [data-id="menu"] > ul > li > a,
#header .ct-menu > li > a {
  padding: 6px 12px !important;
  border-radius: 6px !important;
  transition: background 0.18s ease, color 0.18s ease !important;
}
#header [data-id="menu"] > ul > li > a:hover,
#header .ct-menu > li > a:hover {
  background: rgba(46,92,138,0.09) !important;
  color: #1F3A5F !important;
}
#header [data-id="menu"] > ul > li.current-menu-item > a,
#header [data-id="menu"] > ul > li.current-menu-ancestor > a {
  background: rgba(46,92,138,0.13) !important;
  color: #1F3A5F !important;
}

/* Abstand zwischen Nav-Items */
#header [data-id="menu"] > ul > li + li {
  margin-left: 2px !important;
}

/* "GRATIS MT-1" Micro-Badge am Shop-Link (erstes Nav-Item) */
#header [data-id="menu"] > ul > li:first-child > a::after {
  content: "MT-1 gratis";
  display: inline-block;
  background: #1F3A5F;
  color: #0A0A0A;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  padding: 2px 6px;
  border-radius: 20px;
  margin-left: 6px;
  vertical-align: middle;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  position: relative;
  top: -1px;
}

/* Header Icons besser positioniert */
#header [data-id="search"],
#header [data-id="woo-cart"] {
  margin-left: 4px !important;
}

/* Mobile: Cart-Icon sichtbar */
#header [data-id="woo-cart"] .cart-count-wrapper {
  display: flex !important;
  align-items: center !important;
}

/* Mobile Offcanvas — cleaner Look */
#offcanvas .ct-panel-inner {
  background: #14273F !important;
  border-left: 1px solid rgba(255,255,255,0.1) !important;
}
#offcanvas [data-id="mobile-menu"] ul {
  padding: 8px 0 !important;
}
#offcanvas [data-id="mobile-menu"] ul li a {
  display: block !important;
  padding: 15px 24px !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.85) !important;
  border-bottom: 1px solid rgba(255,255,255,0.07) !important;
  transition: color 0.15s, background 0.15s !important;
}
#offcanvas [data-id="mobile-menu"] ul li a:hover {
  color: #1F3A5F !important;
  background: rgba(46,92,138,0.06) !important;
}
#offcanvas [data-id="mobile-menu"] ul li:first-child a {
  border-top: 1px solid rgba(255,255,255,0.07) !important;
}
/* Close-Button im Offcanvas */
#offcanvas .ct-toggle-close svg {
  color: rgba(255,255,255,0.7) !important;
}
#offcanvas .ct-toggle-close:hover svg {
  color: #1F3A5F !important;
}

/* ============================================================
   NAVY COLOR VARIABLES (Shopify Horizon Theme – actual store colors)
   ============================================================ */
:root {
  --color-navy:       #14273F;   /* Footer, Header, Stacks-BG, Announcement Bar */
  --color-navy-dark:  #0D1F32;   /* Footer Copyright Bar */
  --color-blue:       #2E5C8A;   /* Eyebrow-Labels, Step-Numbers */
  --color-blue-dark:  #1F3A5F;   /* CTA Buttons (light bg), FAQ Active */
  --color-blue-hover: #14273F;   /* CTA Hover */
  --color-green:      #166534;   /* Quality badges */
  --color-green-light:#dcfce7;   /* Quality badge background */
}

/* ============================================================
   ANNOUNCEMENT BAR (Marquee)
   ============================================================ */
.ap-announcement-bar {
  background: var(--color-navy);
  color: rgba(255,255,255,0.85);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
}
.ap-announcement-bar__track {
  display: inline-flex;
  animation: ap-marquee 25s linear infinite;
  gap: 3rem;
}
.ap-announcement-bar__track:hover {
  animation-play-state: paused;
}
.ap-announcement-bar__item {
  flex-shrink: 0;
}
.ap-announcement-bar__sep {
  opacity: 0.35;
  margin: 0 1rem;
}
@keyframes ap-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Blocksy top-row als Announcement Bar */
#header [data-row="top-row"] {
  display: block !important;
  background: var(--color-navy) !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  padding: 10px 24px !important;
  text-align: center !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.85) !important;
}

/* ============================================================
   STACKS PAGE – /stacks/ (Light theme, blue accents)
   ============================================================ */

/* Hide Blocksy hero/title on stacks page */
.page-id-164 .hero-section {
  display: none !important;
}

/* Light background */
.page-id-164 {
  background: #F7F5F0 !important;
}

/* Full-width: remove Blocksy container constraints */
.page-id-164 .ct-container-full[data-vertical-spacing] {
  padding: 0 !important;
}
.page-id-164 .ct-container-full,
.page-id-164 article {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Break out of .is-layout-constrained */
.page-id-164 .entry-content.is-layout-constrained > .ap-stacks-overview {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Light background section */
.ap-stacks-overview {
  background: #F7F5F0 !important;
  padding: clamp(3rem, 6vw, 5rem) 1.5rem;
  min-height: 100vh;
}

.ap-stacks-overview__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.ap-stacks-overview__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.ap-stacks-overview__badge {
  display: inline-block;
  background: rgba(31,58,95,0.08) !important;
  border: 1px solid rgba(31,58,95,0.15) !important;
  color: #1F3A5F !important;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 2rem;
  margin-bottom: 1rem;
}

.ap-stacks-overview__title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem) !important;
  font-weight: 800 !important;
  color: #14273F !important;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem !important;
  line-height: 1.2 !important;
}

.ap-stacks-overview__subtitle {
  font-size: 0.95rem !important;
  color: #6b7280 !important;
  max-width: 520px;
  margin: 0 auto 2.5rem !important;
  line-height: 1.5 !important;
}

.ap-stacks-overview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* 5th card centred in 3-col layout */
.ap-stacks-overview__grid .ap-stack-card-dark:nth-child(5):last-child {
  grid-column: 2;
}

@media (max-width: 989px) {
  .ap-stacks-overview__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ap-stacks-overview__grid .ap-stack-card-dark:nth-child(5):last-child {
    grid-column: auto;
  }
}

@media (max-width: 749px) {
  .ap-stacks-overview__grid {
    grid-template-columns: 1fr;
  }
}

/* Light card styles */
.ap-stack-card-dark {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  border-radius: 12px;
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  text-decoration: none !important;
  color: #14273F !important;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.ap-stack-card-dark:hover {
  border-color: #1F3A5F !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(20,39,63,0.08);
}

.ap-stack-card-dark:focus-visible {
  outline: 2px solid #1F3A5F;
  outline-offset: 2px;
}

.ap-stack-card-dark__title {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: #14273F !important;
  margin: 0 0 0.25rem !important;
}

.ap-stack-card-dark__desc {
  font-size: 0.88rem !important;
  color: #6b7280 !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}

.ap-stack-card-dark__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.ap-stack-card-dark__pill {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem !important;
  font-weight: 500;
  color: #1F3A5F !important;
  background: rgba(31,58,95,0.06) !important;
  border: 1px solid rgba(31,58,95,0.12) !important;
  border-radius: 2rem;
}

.ap-stack-card-dark__cta {
  margin-top: auto;
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.88rem !important;
  font-weight: 600;
  color: #ffffff !important;
  background: #1F3A5F !important;
  border: 1px solid #1F3A5F !important;
  border-radius: 6px;
  width: fit-content;
  text-decoration: none !important;
  transition: background 0.15s, box-shadow 0.15s;
}

.ap-stack-card-dark__cta:hover {
  background: #14273F !important;
  box-shadow: 0 4px 12px rgba(20,39,63,0.2);
}

/* ============================================================
   STACK DETAIL PAGE
   ============================================================ */
.ap-stack-detail {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3.5rem) 1.5rem clamp(3rem, 6vw, 5rem);
}

.ap-stack-detail__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.ap-stack-detail__back {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
  background: #1F3A5F;
  border: 1px solid #1F3A5F;
  border-radius: 6px;
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: background 0.15s, box-shadow 0.15s;
}
.ap-stack-detail__back:hover {
  background: #14273F;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(20,39,63,0.2);
}

.ap-stack-detail__title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #14273F;
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.ap-stack-detail__desc {
  font-size: 0.95rem;
  color: #6b7280;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Responsive equal-width grid */
.ap-stack-detail__grid {
  display: grid;
  gap: 1.5rem;
}
.ap-stack-detail__grid--2 { grid-template-columns: repeat(2, 1fr); }
.ap-stack-detail__grid--3 { grid-template-columns: repeat(3, 1fr); }
.ap-stack-detail__grid--4 { grid-template-columns: repeat(4, 1fr); }
.ap-stack-detail__grid--5 { grid-template-columns: repeat(5, 1fr); }

@media (max-width: 989px) {
  .ap-stack-detail__grid--4,
  .ap-stack-detail__grid--5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 749px) {
  .ap-stack-detail__grid--3,
  .ap-stack-detail__grid--4,
  .ap-stack-detail__grid--5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 479px) {
  .ap-stack-detail__grid { grid-template-columns: 1fr; }
}

/* Card */
.ap-stack-detail__card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.ap-stack-detail__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(20,39,63,0.08);
}

/* Card image */
.ap-stack-detail__card-img {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f0f2f5;
}
.ap-stack-detail__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ap-stack-detail__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #14273F;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 4px;
}

/* Card body */
.ap-stack-detail__card-body {
  padding: 1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.ap-stack-detail__card-cat {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2E5C8A;
}

.ap-stack-detail__card-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}
.ap-stack-detail__card-title a {
  color: #14273F;
  text-decoration: none;
}
.ap-stack-detail__card-title a:hover {
  color: #1F3A5F;
}

.ap-stack-detail__card-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: #14273F;
}
.ap-stack-detail__card-price .woocommerce-Price-amount {
  color: #14273F;
}

.ap-stack-detail__card-cta {
  margin-top: auto;
  padding-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1F3A5F;
  text-decoration: none;
  transition: gap 0.15s;
}
.ap-stack-detail__card-cta:hover {
  gap: 10px;
}

/* ============================================================
   FAQ PAGE – /faq/ (page-id-13)
   ============================================================ */

/* Hide Blocksy hero/title on FAQ page */
.page-id-13 .hero-section {
  display: none !important;
}
.page-id-13 .ct-container-full[data-vertical-spacing] {
  padding-top: 0 !important;
}

.ap-faq {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) 1.5rem;
  font-family: inherit;
}

/* Hero / Header */
.ap-faq__hero {
  text-align: center;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid #e5e7eb;
}
.ap-faq__eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2E5C8A !important;
  margin-bottom: 0.875rem;
}
.ap-faq__title {
  font-size: clamp(1.875rem, 4vw, 2.75rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.04em;
  color: #14273F !important;
  margin: 0 0 0.875rem !important;
  line-height: 1.15 !important;
}
.ap-faq__intro {
  font-size: 1rem !important;
  color: #6b7280 !important;
  line-height: 1.65 !important;
  max-width: 520px;
  margin: 0 auto !important;
}

/* Kategorie-Tabs */
.ap-faq__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.ap-faq__cat {
  background: transparent;
  border: 1px solid #d1d5db;
  color: #6b7280;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s;
}
.ap-faq__cat:hover {
  background: #1F3A5F;
  border-color: #1F3A5F;
  color: #fff;
}
.ap-faq__cat--active {
  background: #1F3A5F;
  border-color: #1F3A5F;
  color: #fff;
}

/* FAQ-Liste */
.ap-faq__list {
  display: flex;
  flex-direction: column;
  margin-bottom: 3rem;
}
.ap-faq__list > p {
  display: none !important;
}
.ap-faq__item {
  border-bottom: 1px solid #e5e7eb;
}
.ap-faq__item:first-child {
  border-top: 1px solid #e5e7eb;
}
.ap-faq__item.ap-faq--hidden {
  display: none;
}

/* Frage (Summary) */
.ap-faq__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: #111827 !important;
  cursor: pointer;
  list-style: none;
  gap: 1rem;
}
.ap-faq__q::-webkit-details-marker {
  display: none;
}
.ap-faq__q br {
  display: none;
}
.ap-faq__item[open] .ap-faq__q {
  color: #1F3A5F !important;
}

/* Toggle-Icon */
.ap-faq__icon {
  min-width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  border: 1.5px solid #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  line-height: 1;
  color: #9ca3af;
  transition: all 0.15s;
  flex-shrink: 0;
}
.ap-faq__icon::after {
  content: "+";
  display: block;
  margin-top: -1px;
}
.ap-faq__item[open] .ap-faq__icon {
  background: #1F3A5F;
  border-color: #1F3A5F;
  color: #fff;
}
.ap-faq__item[open] .ap-faq__icon::after {
  content: "\2212";
}

/* Antwort */
.ap-faq__a {
  padding: 0 0 1.25rem;
}
.ap-faq__a p {
  font-size: 0.9rem !important;
  color: #4b5563 !important;
  line-height: 1.75 !important;
  margin: 0 !important;
}
.ap-faq__a a {
  color: #2E5C8A !important;
  font-weight: 600;
}

/* Kontakt-CTA */
.ap-faq__contact {
  background: #1F3A5F;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
}
.ap-faq__contact h2 {
  font-size: 1.375rem !important;
  font-weight: 800 !important;
  color: #fff !important;
  margin: 0 0 0.5rem !important;
}
.ap-faq__contact p {
  font-size: 0.9rem !important;
  color: rgba(255, 255, 255, 0.65) !important;
  margin: 0 0 1.5rem !important;
}
.ap-faq__contact-btn {
  display: inline-block;
  background: #fff;
  color: #1F3A5F !important;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.15s;
}
.ap-faq__contact-btn:hover {
  background: #F5F7FA;
}

/* ============================================================
   HOMEPAGE – PROMO CTA (Navy Background Section)
   ============================================================ */
.ap-promo-cta {
  background: var(--color-navy);
  padding: clamp(3rem, 6vw, 5rem) 1.5rem;
  text-align: center;
}
.ap-promo-cta__inner {
  max-width: 600px;
  margin: 0 auto;
}
.ap-promo-cta__badge {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  border-radius: 2rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  margin-bottom: 1.25rem;
}
.ap-promo-cta__title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: #ffffff;
  text-wrap: balance;
  margin-bottom: 0.9rem;
  line-height: 1.25;
}
.ap-promo-cta__subtitle {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.ap-promo-cta__pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.ap-promo-cta__pill {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 2rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.35rem 0.9rem;
}
.ap-promo-cta__btn {
  display: inline-block;
  background: #ffffff;
  color: var(--color-navy);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 6px;
  padding: 0.8rem 2rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.ap-promo-cta__btn:hover {
  background: rgba(255,255,255,0.9);
  color: var(--color-navy);
  transform: translateY(-1px);
}

/* ============================================================
   HOMEPAGE – HOW IT WORKS
   ============================================================ */
.ap-how-it-works {
  padding: clamp(2.5rem, 5vw, 4.5rem) 1.5rem;
  background: #ffffff;
}
.ap-how-it-works__inner {
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
}
.ap-how-it-works__label {
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
  font-weight: 700;
  color: var(--color-blue);
  margin-bottom: 2.5rem;
}
.ap-how-it-works__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: left;
}
@media (max-width: 640px) {
  .ap-how-it-works__grid { grid-template-columns: 1fr; }
}
.ap-how-it-works__step-num {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-blue);
  opacity: 0.5;
  margin-bottom: 0.5rem;
}
.ap-how-it-works__step-title {
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}
.ap-how-it-works__step-text {
  font-size: clamp(0.98rem, 1.35vw, 1.1rem);
  color: #294767;
  line-height: 1.5;
}

/* ============================================================
   COLLECTION PAGE – Shop Layout (REDESIGNED)
   ============================================================ */

/* — Page background — */
.ap-shop-page {
  background: #F7F5F0;
}

/* — Filter Bar — */
.ap-category-filters {
  background: #ffffff;
  border-bottom: 1px solid rgba(20, 39, 63, 0.08);
  padding: 0.875rem 0;
  position: sticky;
  top: 66px;
  z-index: 1001;
  box-shadow: 0 1px 3px rgba(20, 39, 63, 0.04);
}
.ap-category-filters__inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.ap-category-filters__pills {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
}

/* — Filter pill buttons — */
.ap-category-filter {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  font-family: var(--font-family);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1.5px solid #D4D4D0;
  border-radius: 100px;
  color: #4b5563;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.4;
}
.ap-category-filter:hover {
  border-color: var(--color-navy);
  color: var(--color-navy);
  background: rgba(20, 39, 63, 0.04);
}
.ap-category-filter.is-active,
.ap-category-filter[aria-current="true"] {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(20, 39, 63, 0.2);
}
.ap-category-filter.is-active:hover,
.ap-category-filter[aria-current="true"]:hover {
  background: #1a3350;
  border-color: #1a3350;
  color: #ffffff;
}

/* — Search: refined inline search — */
.ap-shop-search {
  display: flex;
  align-items: center;
  margin-left: auto;
  flex-shrink: 0;
}
.ap-shop-search__wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #e0deda;
  border-radius: 8px;
  padding: 0 14px;
  gap: 0;
  transition: border-color 0.25s ease,
              box-shadow 0.25s ease,
              width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  width: 220px;
}
.ap-shop-search__wrap:hover {
  border-color: #c5c3bf;
}
.ap-shop-search__wrap:focus-within {
  border-color: var(--color-navy);
  box-shadow: 0 0 0 3px rgba(20, 39, 63, 0.08);
  width: 280px;
}
/* The submit button acts as the search icon inside the field */
.ap-shop-search__btn {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer;
  color: #9ca3af !important;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
  order: -1;
  margin-right: 10px !important;
  min-height: auto !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  line-height: 1 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: inherit !important;
  width: auto !important;
  height: auto !important;
}
.ap-shop-search__wrap:focus-within .ap-shop-search__btn {
  color: var(--color-navy) !important;
}
.ap-shop-search__btn:hover {
  color: var(--color-navy) !important;
  background: none !important;
  box-shadow: none !important;
}
.ap-shop-search__input,
.ap-shop-search .ap-shop-search__wrap input[type="text"].ap-shop-search__input {
  border: 0 !important;
  border-width: 0 !important;
  background: transparent !important;
  padding: 10px 0 !important;
  font-family: var(--font-family) !important;
  font-size: 0.8125rem !important;
  font-weight: 400 !important;
  color: var(--color-navy) !important;
  outline: none !important;
  width: 100%;
  flex: 1;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.ap-shop-search__input::placeholder {
  color: #b0aeaa;
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* — Search results info bar — */
.ap-shop-search-info {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.ap-shop-search-info p {
  margin: 0;
  color: #6b7280;
  font-size: 0.9rem;
}
.ap-shop-search-info strong {
  color: var(--color-navy);
}
.ap-shop-search-info__reset {
  font-size: 0.82rem;
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}
.ap-shop-search-info__reset:hover {
  color: var(--color-navy);
}

/* — Main content area — */
.ap-shop-content {
  padding-top: 2rem;
  padding-bottom: 4rem;
}

/* — Product grid — */
.ap-shop-page ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem !important;
  padding: 0;
  margin: 0;
  list-style: none;
}
.ap-shop-page ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

/* — Empty state — */
.ap-shop-empty {
  text-align: center;
  padding: 4rem 1rem;
}
.ap-shop-empty p {
  color: #6b7280;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 1024px) {
  .ap-shop-page ul.products {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .ap-category-filters {
    top: 60px;
  }
  .ap-category-filters__inner {
    flex-wrap: wrap;
  }
  .ap-category-filters__pills {
    flex: 1 1 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-right: 2rem;
    -webkit-mask-image: linear-gradient(to right, black 90%, transparent);
    mask-image: linear-gradient(to right, black 90%, transparent);
  }
  .ap-category-filters__pills::-webkit-scrollbar {
    display: none;
  }
  .ap-shop-search {
    width: 100%;
    margin-top: 0.5rem;
    margin-left: 0;
    flex-shrink: 1;
  }
  .ap-shop-search__wrap {
    width: 100% !important;
  }
  .ap-shop-search__wrap:focus-within {
    width: 100% !important;
  }
  .ap-shop-page ul.products {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem !important;
  }
}
@media (max-width: 480px) {
  .ap-shop-page ul.products {
    grid-template-columns: 1fr;
  }
}

/* ── Shop Meta (sort + count) ────────────────────────────── */
.ap-shop-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 12px;
}
.ap-shop-sort select {
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  padding: 8px 32px 8px 12px !important;
  font-size: 0.875rem !important;
  color: #14273F !important;
  background: #ffffff !important;
  cursor: pointer;
}

/* ============================================================
   FAQ PAGE – /faq/
   ============================================================ */
.ap-faq-page {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) 1.5rem;
}
.ap-faq__eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-blue);
  margin-bottom: 0.75rem;
  display: block;
}
.ap-faq__title {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--color-navy);
  margin-bottom: 1rem;
  line-height: 1.15;
}
.ap-faq__intro {
  font-size: 1rem;
  color: #6b7280;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.ap-faq__divider {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 0 0 2rem;
}

/* Category Filter */
.ap-faq__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.ap-faq__filter-btn {
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.15s;
}
.ap-faq__filter-btn:hover {
  border-color: var(--color-blue-dark);
  color: var(--color-blue-dark);
}
.ap-faq__filter-btn.is-active {
  background: var(--color-blue-dark);
  border-color: var(--color-blue-dark);
  color: #ffffff;
}

/* Accordion Items */
.ap-faq__list {
  border-top: 1px solid #e5e7eb;
}
.ap-faq__item {
  border-bottom: 1px solid #e5e7eb;
}
.ap-faq__item[hidden] {
  display: none;
}
.ap-faq__item details {
  padding: 0;
}
.ap-faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
  cursor: pointer;
  list-style: none;
  transition: color 0.15s;
}
.ap-faq__item summary::-webkit-details-marker { display: none; }
.ap-faq__item details[open] summary {
  color: var(--color-blue-dark);
}
.ap-faq__item__icon {
  width: 1.25rem;
  height: 1.25rem;
  border: 1.5px solid #d1d5db;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  color: #6b7280;
}
.ap-faq__item details[open] .ap-faq__item__icon {
  background: var(--color-blue-dark);
  border-color: var(--color-blue-dark);
  color: #ffffff;
}
.ap-faq__item__answer {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.75;
  padding-bottom: 1.25rem;
}

/* Contact CTA at bottom of FAQ */
.ap-faq__contact-cta {
  background: var(--color-blue-dark);
  border-radius: 12px;
  padding: 2rem 2.5rem;
  margin-top: 3rem;
  text-align: center;
  color: #ffffff;
}
.ap-faq__contact-cta h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}
.ap-faq__contact-cta p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.25rem;
}
.ap-faq__contact-btn {
  display: inline-block;
  background: #ffffff;
  color: var(--color-blue-dark);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 4px;
  padding: 0.65rem 1.5rem;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}
.ap-faq__contact-btn:hover {
  background: rgba(255,255,255,0.9);
  color: var(--color-blue-dark);
  transform: translateY(-1px);
}

/* ============================================================
   QUALITY PAGE – /qualitaet/
   ============================================================ */
.ap-quality-page {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) 1.5rem;
}
.ap-quality-badge {
  display: inline-block;
  background: var(--color-green-light);
  color: var(--color-green);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 4px;
  padding: 0.3rem 0.75rem;
  margin-bottom: 1rem;
}
.ap-quality__title {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 1rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.ap-quality__intro {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* Feature Grid */
.ap-quality-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
}
.ap-quality-card {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 1.5rem;
}
.ap-quality-card__icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}
.ap-quality-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}
.ap-quality-card__text {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.6;
}

/* CoA Table */
.ap-coa-table {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2.5rem;
  overflow-x: auto;
}
.ap-coa-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.ap-coa-table td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  color: #1a1a1a;
}
.ap-coa-table td:first-child {
  font-weight: 600;
  color: var(--color-green);
  white-space: nowrap;
  width: 45%;
}

/* How to read CoA – 4-step grid */
.ap-coa-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.ap-coa-step {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.ap-coa-step__num {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #2D6A4F;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ap-coa-step__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-navy);
}
.ap-coa-step__text {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.5;
}

/* ============================================================
   FOOTER – Custom Navy 3-Column Layout (matching Shopify)
   ============================================================ */
.ap-footer {
  background: var(--color-navy);
  padding: clamp(3rem, 5vw, 4.5rem) 1.5rem 0;
  color: rgba(255,255,255,0.65);
}
.ap-footer__grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 3rem;
}
@media (max-width: 768px) {
  .ap-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* Column 1: Brand */
.ap-footer__logo {
  height: 100px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 1.25rem;
  display: block;
}
.ap-footer__disclaimer {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.ap-footer__social-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}
.ap-footer__social-links {
  display: flex;
  gap: 0.75rem;
}
.ap-footer__social-link {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
  line-height: 1;
}
.ap-footer__social-link:hover {
  color: #ffffff;
}
.ap-footer__social-link svg {
  width: 20px;
  height: 20px;
}

/* Column 2: Nav */
.ap-footer__col-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}
.ap-footer__nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.ap-footer__nav-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}
.ap-footer__nav-links a:hover {
  color: #ffffff;
}

/* Column 3: Contact */
.ap-footer__contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.75rem;
  text-decoration: none;
  transition: color 0.2s;
}
.ap-footer__contact-item:hover {
  color: #ffffff;
}
.ap-footer__contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Bottom Bar */
.ap-footer__bottom {
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 3rem;
  padding: 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}
.ap-footer__bottom a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}
.ap-footer__bottom a:hover {
  color: rgba(255,255,255,0.7);
}
.ap-footer__policies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

/* ============================================================
   SHOP ARCHIVE PAGE — Premium Redesign
   ============================================================ */
/* ============================================================
   SHOP CATEGORY ARCHIVE – product_cat pages
   ============================================================ */
.term-description {
  max-width: 720px;
  margin: 0 0 2rem;
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.7;
}

/* ============================================================
   HOMEPAGE V2 — Shopify-Konvertierung
   ============================================================ */

/* ─── 1. HERO ─────────────────────────────────────────────── */
.ap-hero-v2 {
  position: relative;
  width: 100%;
  min-height: 85vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background: #e8edf2;
}
.ap-hero-v2::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 40%,
    rgba(0, 0, 0, 0.35) 70%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 1;
  pointer-events: none;
}
.ap-hero-v2__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}
.ap-hero-v2__cta-wrap {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem 48px;
  padding-top: 56px;
}
.ap-hero-v2__eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
  margin-bottom: 0.75rem;
}
.ap-hero-v2__h1 {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7);
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-wrap: balance;
}
/* ─── BREADCRUMB ─────────────────────────────────────────── */
.ap-breadcrumb {
  padding: 0.6rem 0 0.6rem;
  font-size: 0.8rem;
  color: var(--color-gray-600);
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}
.ap-breadcrumb__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  align-items: center;
  padding: 0;
  margin: 0;
}
.ap-breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}
.ap-breadcrumb__link {
  color: var(--color-accent);
  text-decoration: none;
}
.ap-breadcrumb__link:hover { text-decoration: underline; }
.ap-breadcrumb__sep { color: var(--color-gray-300); font-size: 0.85rem; }
.ap-breadcrumb__current { color: var(--color-gray-600); }

/* ─── SHOP INTRO (SEO category text) ───────────────────────── */
.ap-shop-intro {
  padding: 1rem 0 0.5rem;
  font-size: 0.9rem;
  color: var(--color-gray-600);
  line-height: 1.6;
}
.ap-shop-intro p { margin: 0; }

/* ─── 2. TRUST SECTION ───────────────────────────────────── */
.ap-trust-v2 {
  background: #14273F;
  color: #fff;
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.ap-trust-v2__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.ap-trust-v2__title {
  font-family: var(--font-family);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  margin: 0 0 0.5rem;
  color: #fff;
}
.ap-trust-v2__subtitle {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  margin: 0 0 1.5rem;
}
.ap-trust-v2__badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 2rem;
  padding: 10px 28px;
  margin-bottom: 2rem;
}
.ap-trust-v2__badge-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
}
.ap-trust-v2__badge-text {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.ap-trust-v2__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
}
.ap-trust-v2__card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
}
.ap-trust-v2__card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(100, 180, 255, 0.15);
  color: #7bb8f0;
  margin-bottom: 1rem;
}
.ap-trust-v2__card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.4rem;
}
.ap-trust-v2__card-text {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
  margin: 0;
}

/* ─── 3. BELIEBTE PEPTIDE ────────────────────────────────── */
.ap-popular-v2 {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: #fff;
}
.ap-popular-v2__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.ap-popular-v2__title {
  font-family: var(--font-family);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  font-style: italic;
  text-align: center;
  color: #14273F;
  margin: 0 0 2rem;
}
.ap-popular-v2__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.ap-popular-v2__card {
  display: block;
  text-decoration: none;
  color: inherit;
  text-align: center;
  transition: opacity 0.2s;
}
.ap-popular-v2__card:hover {
  opacity: 0.85;
}
.ap-popular-v2__card-img {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #f0f4f8;
}
.ap-popular-v2__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ap-popular-v2__sale-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #14273F;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 2rem;
  letter-spacing: 0.04em;
  z-index: 2;
}
.ap-popular-v2__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 3rem;
}
.ap-popular-v2__card-body {
  padding: 8px 8px 16px;
}
.ap-popular-v2__card-name {
  font-size: 1rem;
  font-weight: 400;
  color: #14273F;
  margin: 0 0 2px;
}
.ap-popular-v2__card-price {
  font-size: 1rem;
  color: #14273F;
}
.ap-popular-v2__card-price del {
  color: #9ca3af;
  text-decoration: line-through;
  font-size: 0.9rem;
  margin-left: 4px;
}
.ap-popular-v2__card-price ins {
  text-decoration: none;
  font-weight: 500;
}

/* ─── 4. RESEARCH GRADE CTA ─────────────────────────────── */
.ap-research-v2 {
  background: #14273F;
  color: #fff;
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.ap-research-v2__inner {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.ap-research-v2__badge {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 2rem;
  margin-bottom: 1.25rem;
}
.ap-research-v2__title {
  font-family: var(--font-family);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.75rem;
  text-wrap: balance;
}
.ap-research-v2__subtitle {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin: 0 0 1.25rem;
}
.ap-research-v2__pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.ap-research-v2__pill {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 2rem;
  padding: 6px 16px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
}
.ap-research-v2__cta {
  display: inline-block;
  background: #fff;
  color: #14273F;
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s;
}
.ap-research-v2__cta:hover {
  background: #f0f0f0;
  color: #14273F;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* ─── 5. SO FUNKTIONIERT ES ──────────────────────────────── */
.ap-howto-v2 {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: #fff;
}
.ap-howto-v2__inner {
  max-width: 840px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.ap-howto-v2__label {
  font-family: var(--font-family);
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
  font-weight: 700;
  color: #2E5C8A;
  margin: 0 0 2.5rem;
}
.ap-howto-v2__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}
.ap-howto-v2__step-num {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #2E5C8A;
  opacity: 0.5;
  margin-bottom: 0.5rem;
}
.ap-howto-v2__step-title {
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
  font-weight: 700;
  color: #14273F;
  margin: 0 0 0.5rem;
}
.ap-howto-v2__step-text {
  font-size: clamp(0.98rem, 1.35vw, 1.1rem);
  color: #294767;
  line-height: 1.5;
  margin: 0;
}

/* ─── 6. FOOTER V2 ──────────────────────────────────────── */
.ap-footer-v2 {
  background: #14273F;
  color: #fff;
}
.ap-footer-v2__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}
.ap-footer-v2__main {
  padding: clamp(3rem, 5vw, 4rem) 0;
}
.ap-footer-v2__main .ap-footer-v2__container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.ap-footer-v2__logo {
  display: inline-block;
  margin-bottom: 1.25rem;
  text-decoration: none;
}
.ap-footer-v2__logo img {
  filter: brightness(0) invert(1);
  width: 180px;
  height: auto;
}
.ap-footer-v2__logo-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
}
.ap-footer-v2__disclaimer {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  margin: 0 0 1.25rem;
  max-width: 400px;
}
.ap-footer-v2__social-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin: 0 0 0.5rem;
}
.ap-footer-v2__social {
  display: flex;
  gap: 12px;
}
.ap-footer-v2__social a {
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.ap-footer-v2__social a:hover {
  color: #fff;
}
.ap-footer-v2__heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 1rem;
  text-transform: none;
}
.ap-footer-v2__links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ap-footer-v2__links li {
  margin-bottom: 0.5rem;
}
.ap-footer-v2__links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.ap-footer-v2__links a:hover {
  color: #fff;
}
.ap-footer-v2__contact {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ap-footer-v2__contact li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.75rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
}
.ap-footer-v2__contact a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
}
.ap-footer-v2__contact a:hover {
  color: #fff;
}
.ap-footer-v2__contact svg {
  flex-shrink: 0;
  color: rgba(255,255,255,0.4);
}
.ap-footer-v2__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
}
.ap-footer-v2__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.ap-footer-v2__copyright {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}
.ap-footer-v2__bottom-links {
  display: flex;
  gap: 1.5rem;
}
.ap-footer-v2__bottom-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
}
.ap-footer-v2__bottom-links a:hover {
  color: rgba(255,255,255,0.7);
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .ap-trust-v2__grid {
    grid-template-columns: 1fr;
  }
  .ap-popular-v2__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ap-howto-v2__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .ap-footer-v2__main .ap-footer-v2__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .ap-hero-v2 {
    min-height: 60vh;
  }
}
@media (max-width: 640px) {
  .ap-popular-v2__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   CUSTOM HEADER — AlpenPeptides (Shopify Match)
   ============================================================ */

/* Hide Blocksy's default header when our custom header is present */
[data-header],
header#header,
.ct-header {
  display: none !important;
}

/* ─── Announcement / Top Bar ─────────────────────────────── */
.ap-topbar {
  background: #14273F;
  color: rgba(255,255,255,0.85);
  text-align: center;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 8px 16px;
  font-family: var(--font-family);
}

/* ─── Header ─────────────────────────────────────────────── */
.ap-header {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 1002;
}
.ap-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 65px;
  gap: 2rem;
}

/* Logo */
.ap-header__logo {
  flex-shrink: 0;
  height: 65px;
  display: flex;
  align-items: center;
  overflow: visible;
}
.ap-header__logo-img {
  height: 150px;
  width: auto;
  display: block;
  pointer-events: none;
}

/* Navigation */
.ap-header__nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.ap-header__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
  align-items: center;
}
.ap-header__menu li {
  margin: 0;
}
.ap-header__menu li a {
  font-family: var(--font-family);
  font-size: 0.92rem;
  font-weight: 500;
  color: #14273F;
  text-decoration: none;
  transition: color 0.15s;
  letter-spacing: 0.01em;
}
.ap-header__menu li a:hover,
.ap-header__menu li.current-menu-item a,
.ap-header__menu li.current_page_item a {
  color: #2E5C8A;
}

/* Right actions */
.ap-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.ap-header__lang {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-family);
  font-size: 0.88rem;
  font-weight: 500;
  color: #14273F;
  cursor: default;
}
.ap-header__lang-flag {
  font-size: 1rem;
}
/* ─── Language Switcher Dropdown ─────────────────────────── */
.ap-header__lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.ap-header__lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  color: #14273F;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  transition: background 0.15s;
}
.ap-header__lang-toggle:hover {
  background: rgba(20,39,63,0.06);
}
.ap-header__lang-toggle .ap-header__lang-flag {
  font-size: 1rem;
  line-height: 1;
}
.ap-header__lang-toggle .ap-header__lang-flag img {
  width: 18px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
  vertical-align: middle;
}
.ap-header__lang-chevron {
  transition: transform 0.2s;
}
.ap-header__lang-switcher.is-open .ap-header__lang-chevron {
  transform: rotate(180deg);
}
.ap-header__lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 160px;
  background: #fff;
  border: 1px solid rgba(20,39,63,0.1);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(20,39,63,0.12);
  list-style: none;
  margin: 0;
  padding: 4px;
  z-index: 9999;
}
.ap-header__lang-switcher.is-open .ap-header__lang-dropdown {
  display: block;
}
.ap-header__lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #14273F;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.15s;
}
.ap-header__lang-option:hover {
  background: rgba(20,39,63,0.05);
}
.ap-header__lang-option--active {
  font-weight: 600;
  background: rgba(46,92,138,0.08);
}
.ap-header__lang-option .ap-header__lang-flag img {
  width: 18px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
  vertical-align: middle;
}
.ap-header__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #14273F;
  transition: color 0.15s;
}
.ap-header__icon:hover {
  color: #2E5C8A;
}

/* Mobile burger (hidden desktop) */
.ap-header__burger {
  display: none;
  background: none;
  border: none;
  color: #14273F;
  cursor: pointer;
  padding: 4px;
}

/* ─── Mobile Responsive Header ───────────────────────────── */
@media (max-width: 768px) {
  .ap-header__nav {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: min(84vw, 340px);
    height: 100dvh;
    background: #ffffff;
    border-left: 1px solid #e5e7eb;
    box-shadow: -10px 0 30px rgba(20, 39, 63, 0.16);
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.24s ease, opacity 0.24s ease, visibility 0s linear 0.24s;
    z-index: 1200;
    justify-content: flex-start;
    padding: 84px 24px 24px;
    overflow-y: auto;
  }
  .ap-header.is-mobile-nav-open .ap-header__nav {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    transition: transform 0.24s ease, opacity 0.24s ease;
  }
  .ap-header__menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }
  .ap-header__menu li {
    width: 100%;
    border-bottom: 1px solid #e5e7eb;
  }
  .ap-header__menu li a {
    display: block;
    width: 100%;
    font-size: 1.05rem;
    font-weight: 600;
    padding: 14px 0;
  }
  .ap-header__actions .ap-header__lang,
  .ap-header__actions .ap-header__lang-switcher {
    display: none;
  }
  .ap-header__burger {
    display: inline-flex;
    position: relative;
    z-index: 1301;
  }
  .ap-header.is-mobile-nav-open .ap-header__burger {
    color: #2E5C8A;
  }
  .ap-header__inner {
    height: 60px;
  }
  .ap-header__logo-img {
    height: 52px;
  }
}

body.ap-mobile-nav-open {
  overflow: hidden;
}

/* ─── Hide old announcement bar ──────────────────────────── */
.ap-announcement-bar {
  display: none !important;
}

/* ─── Hide old Blocksy footer & legacy elements ─────────── */
footer.ct-footer,
.ct-footer,
.footer-disclaimer,
.ap-footer {
  display: none !important;
}

/* ===========================================================
   CONTACT PAGE — Redesigned
   =========================================================== */

/* ── Hero Banner ──────────────────────────────────────────── */
.ap-contact-hero {
  background: #14273F;
  padding: clamp(3rem, 6vw, 4.5rem) 1.5rem clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}
.ap-contact-hero__inner {
  max-width: 680px;
  margin: 0 auto;
}
.ap-contact-hero__badge {
  display: inline-block;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 2rem;
  color: rgba(255,255,255,0.75);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  margin-bottom: 1.25rem;
}
.ap-contact-hero__title {
  font-family: var(--font-primary--family, system-ui, -apple-system, sans-serif);
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.75rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.ap-contact-hero__subtitle {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
  margin: 0;
  text-wrap: balance;
}

/* ── Main Content Area ────────────────────────────────────── */
.ap-contact-main {
  background: #F7F5F0;
  padding: clamp(2.5rem, 5vw, 4rem) 1.5rem clamp(3rem, 6vw, 5rem);
}
.ap-contact-main__inner {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2.5rem;
  align-items: start;
}

/* ── Left Column: Contact Info ────────────────────────────── */
.ap-contact-info {
  padding-top: 0.5rem;
}
.ap-contact-info__heading {
  font-family: var(--font-primary--family, system-ui, -apple-system, sans-serif);
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
  font-weight: 700;
  color: #14273F;
  margin: 0 0 0.5rem;
  line-height: 1.2;
}
.ap-contact-info__text {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.65;
  margin: 0 0 2rem;
}

/* Info Items */
.ap-contact-info__items {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ap-contact-info__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #e5e7eb;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}
.ap-contact-info__item:first-child {
  border-top: 1px solid #e5e7eb;
}
a.ap-contact-info__item:hover {
  background: rgba(255,255,255,0.6);
}
a.ap-contact-info__item:hover .ap-contact-info__item-value {
  color: #2E5C8A;
}
.ap-contact-info__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #ffffff;
  border-radius: 10px;
  color: #2E5C8A;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.ap-contact-info__item-content {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.ap-contact-info__item-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
}
.ap-contact-info__item-value {
  font-size: 0.925rem;
  font-weight: 600;
  color: #14273F;
  transition: color 0.15s;
}

/* Trust Badge */
.ap-contact-info__trust {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
  padding: 0.6rem 1rem;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  color: #166534;
  font-size: 0.8rem;
  font-weight: 600;
}
.ap-contact-info__trust svg {
  flex-shrink: 0;
}

/* ── Right Column: Form Card ──────────────────────────────── */
.ap-contact-form-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem 2.25rem 1.75rem;
  box-shadow:
    0 1px 3px rgba(0,0,0,0.04),
    0 6px 24px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04);
}
.ap-contact-form-card__heading {
  font-family: var(--font-primary--family, system-ui, -apple-system, sans-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: #14273F;
  margin: 0 0 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

/* ── CF7 Form Overrides inside the card ───────────────────── */
.ap-contact-form-card .wpcf7-form {
  display: flex;
  flex-direction: column;
}
.ap-contact-form-card .wpcf7-form p {
  margin: 0 0 1.5rem;
}
.ap-contact-form-card .wpcf7-form p:last-of-type {
  margin-bottom: 0;
  margin-top: 1.25rem;
}

/* Labels */
.ap-contact-form-card .wpcf7-form p > label,
.ap-contact-form-card .wpcf7-form p > span.wpcf7-form-control-wrap + br + label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #14273F;
  margin-bottom: 0.35rem;
}

/* CF7 label text (rendered inline before the input wrap) */
.ap-contact-form-card .wpcf7-form p {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #14273F;
  line-height: 1.4;
}
.ap-contact-form-card .wpcf7-form p br {
  display: none;
}

/* Input & Textarea */
.ap-contact-form-card input[type="text"],
.ap-contact-form-card input[type="email"],
.ap-contact-form-card input[type="tel"],
.ap-contact-form-card textarea {
  width: 100%;
  padding: 0.7rem 0.875rem;
  font-size: 0.9rem;
  font-family: inherit;
  color: #14273F;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.ap-contact-form-card input[type="text"]:hover,
.ap-contact-form-card input[type="email"]:hover,
.ap-contact-form-card input[type="tel"]:hover,
.ap-contact-form-card textarea:hover {
  border-color: #d1d5db;
  background: #ffffff;
}
.ap-contact-form-card input[type="text"]:focus,
.ap-contact-form-card input[type="email"]:focus,
.ap-contact-form-card input[type="tel"]:focus,
.ap-contact-form-card textarea:focus {
  outline: none;
  border-color: #2E5C8A;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(46, 92, 138, 0.1);
}
.ap-contact-form-card input::placeholder,
.ap-contact-form-card textarea::placeholder {
  color: #9ca3af;
}
.ap-contact-form-card textarea {
  min-height: 130px;
  resize: vertical;
}

/* Submit Button */
.ap-contact-form-card input[type="submit"],
.ap-contact-form-card .wpcf7-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2.25rem;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: inherit;
  background: #1F3A5F;
  color: #ffffff;
  border: 1px solid #1F3A5F;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  width: fit-content;
  margin: 0 auto !important;
  float: none !important;
  letter-spacing: 0.01em;
}
.ap-contact-form-card input[type="submit"]:hover,
.ap-contact-form-card .wpcf7-submit:hover {
  background: #14273F;
  border-color: #14273F;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(20, 39, 63, 0.2);
}
.ap-contact-form-card input[type="submit"]:active,
.ap-contact-form-card .wpcf7-submit:active {
  transform: translateY(0);
  box-shadow: none;
}

/* CF7 Control Wraps */
.ap-contact-form-card .wpcf7-form-control-wrap {
  display: block;
}

/* Validation */
.ap-contact-form-card .wpcf7-not-valid {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08) !important;
}
.ap-contact-form-card .wpcf7-not-valid-tip {
  font-size: 0.78rem;
  color: #dc2626;
  margin-top: 0.3rem;
}

/* Success / Error Messages */
.ap-contact-form-card .wpcf7-response-output {
  margin: 1.25rem 0 0 !important;
  padding: 0.75rem 1rem !important;
  border-radius: 8px !important;
  font-size: 0.85rem;
  line-height: 1.5;
}
.ap-contact-form-card .wpcf7-form.sent .wpcf7-response-output {
  border-color: #bbf7d0 !important;
  color: #166534;
  background: #f0fdf4;
}
.ap-contact-form-card .wpcf7-form.failed .wpcf7-response-output,
.ap-contact-form-card .wpcf7-form.aborted .wpcf7-response-output {
  border-color: #fca5a5 !important;
  color: #dc2626;
  background: #fef2f2;
}

/* Spinner */
.ap-contact-form-card .wpcf7-spinner {
  margin-left: 1rem;
}

/* ── Responsive: Tablet ───────────────────────────────────── */
@media (max-width: 849px) {
  .ap-contact-main__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .ap-contact-info {
    padding-top: 0;
  }
  .ap-contact-form-card {
    padding: 1.75rem 1.5rem 1.75rem;
  }
}

/* ── Responsive: Mobile ───────────────────────────────────── */
@media (max-width: 480px) {
  .ap-contact-hero {
    padding: 2rem 1.25rem 1.75rem;
  }
  .ap-contact-hero__title {
    font-size: 1.75rem;
  }
  .ap-contact-main {
    padding: 2rem 1rem 2.5rem;
  }
  .ap-contact-form-card {
    padding: 1.5rem 1.25rem;
    border-radius: 10px;
  }
  .ap-contact-info__icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }
  .ap-contact-info__icon svg {
    width: 18px;
    height: 18px;
  }
  .ap-contact-form-card input[type="submit"],
  .ap-contact-form-card .wpcf7-submit {
    width: 100%;
  }
}
