/* ===================================================================
   Femix Vitamin Group — stylesheet
   Brand palette + component styles for index.html
   =================================================================== */

:root{
  --fx-plum: #c8156d;
  --fx-plum-dark: #9c0e54;
  --fx-rose: #e2637f;
  --fx-teal: #16a394;
  --fx-cream: #fdf6f4;
  --fx-gray: #6c757d;
  --fx-dark: #2c2230;

  --fx-alpha: #7d4f9e;
  --fx-alpha-dark: #5c3878;
  --fx-omega: #8dc63f;
  --fx-omega-dark: #6ba32b;
  --fx-relief: #e2637f;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--fx-dark);
  background-color: #ffffff;
}

h1, h2, h3, h4, .navbar-brand{ font-weight: 700; }
a{ text-decoration: none; }
section{ scroll-margin-top: 90px; }

.text-fx-plum{ color: var(--fx-plum); }
.text-fx-teal{ color: var(--fx-teal); }
.text-fx-rose{ color: var(--fx-rose); }
.text-fx-omega{ color: var(--fx-omega); }
.text-fx-alpha{ color: var(--fx-alpha); }
.bg-fx-cream{ background-color: var(--fx-cream); }

/* ---------- Navbar ---------- */
.navbar{
  background-color: #ffffff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding-top: .75rem;
  padding-bottom: .75rem;
}
.navbar-brand{
  color: var(--fx-plum);
  font-size: 1.5rem;
  letter-spacing: -0.5px;
}
.navbar-brand span{ color: var(--fx-rose); }
.navbar-logo{
  height: 46px;
  width: auto;
}
.nav-link{
  font-weight: 500;
  color: var(--fx-dark) !important;
  margin: 0 .4rem;
}
.nav-link:hover, .nav-link.active{ color: var(--fx-plum) !important; }

.btn-fx-primary{
  background-color: var(--fx-plum);
  border-color: var(--fx-plum);
  color: #fff;
  font-weight: 600;
}
.btn-fx-primary:hover{
  background-color: var(--fx-plum-dark);
  border-color: var(--fx-plum-dark);
  color: #fff;
}
.btn-fx-outline{
  border: 2px solid #ffffff;
  color: #ffffff;
  font-weight: 600;
  background: transparent;
}
.btn-fx-outline:hover{ background-color: #ffffff; color: var(--fx-plum); }

/* ---------- Hero (full-bleed photo carousel) ---------- */
.hero-badge{
  display:inline-flex; align-items:center; gap:.5rem;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.32);
  border-radius: 50px; padding: .4rem 1rem;
  font-size: .82rem; font-weight: 600; letter-spacing:.3px;
  margin-bottom: 1.25rem;
  color: #fff;
}

.photo-hero{
  position: relative;
  min-height: 620px;
  overflow: hidden;
}
.photo-hero-carousel,
.photo-hero-carousel .carousel-inner,
.photo-hero-carousel .carousel-item{
  position: absolute;
  inset: 0;
  height: 100%;
}
.photo-hero-carousel img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-hero-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(122,20,90,0.88) 0%, rgba(122,20,90,0.55) 45%, rgba(122,20,90,0.15) 75%);
  z-index: 2;
}
.photo-hero-content{
  position: relative;
  z-index: 3;
  min-height: 620px;
  display: flex;
  align-items: center;
  padding: 6rem 0;
}
.photo-hero h1{
  color: #fff;
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1.2;
  font-weight: 800;
}
.photo-hero p.lead{ font-size: 1.1rem; color: rgba(255,255,255,0.92); max-width: 540px; }

.photo-hero-indicators{
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: .6rem;
  margin: 0;
}
.photo-hero-indicators [data-bs-target]{
  width: 32px;
  height: 5px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.9);
  background-color: rgba(0,0,0,0.35);
  opacity: 1;
  padding: 0;
  margin: 0;
  text-indent: -9999px;
  transition: background-color .2s ease;
}
.photo-hero-indicators [data-bs-target].active{
  background-color: #fff;
}

.section-eyebrow{
  text-transform: uppercase; letter-spacing: 2px;
  font-size: .8rem; font-weight: 700; color: var(--fx-teal);
}
.section-title{ font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1rem; }

/* ---------- Journey timeline ---------- */
.journey-track{
  position: relative;
}
.journey-track::before{
  content:"";
  position:absolute;
  top: 34px; left: 5%; right: 5%;
  height: 3px;
  background: linear-gradient(90deg, var(--fx-alpha), var(--fx-relief), var(--fx-omega));
  z-index: 0;
  display: none;
}
@media (min-width: 992px){ .journey-track::before{ display:block; } }

.journey-step{ position: relative; z-index: 1; text-align: center; }
.journey-dot{
  width: 68px; height: 68px;
  border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-size: 1.5rem;
  margin: 0 auto 1rem;
  box-shadow: 0 .5rem 1.2rem rgba(0,0,0,0.12);
}

/* ---------- Product feature sections ---------- */
.product-feature{ position: relative; }
.product-feature + .product-feature{ border-top: 1px solid #f2e7ee; }

.feature-alpha{ background: linear-gradient(180deg, rgba(125,79,158,0.07), rgba(125,79,158,0) 60%); }
.feature-omega{ background: linear-gradient(180deg, rgba(141,198,63,0.09), rgba(141,198,63,0) 60%); }
.feature-relief{ background: linear-gradient(180deg, rgba(226,99,127,0.08), rgba(226,99,127,0) 60%); }

/* ---------- Product image gallery ---------- */
.product-gallery{
  background: #ffffff;
  border: 1px solid #f2e7ee;
  border-radius: 1.5rem;
  padding: 1.1rem;
  max-width: 400px;
  margin: 0 auto;
  box-shadow: 0 1.25rem 2.5rem rgba(44,34,48,0.08);
}

.product-gallery-main{
  position: relative;
  background: var(--fx-cream);
  border: 1px solid #f2e7ee;
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 4 / 3.1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .9rem;
}
.product-gallery-main img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.1rem;
  cursor: zoom-in;
}
.product-gallery-main img.is-photo{ object-fit: cover; padding: 0; }

.gallery-zoom-btn{
  position: absolute;
  top: .75rem;
  right: .75rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #f2e7ee;
  background: rgba(255,255,255,0.92);
  color: var(--fx-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 .35rem .9rem rgba(44,34,48,0.14);
  transition: background .15s ease;
}
.gallery-zoom-btn:hover{ background: #ffffff; }

.product-gallery-thumbs{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .6rem;
}

.gallery-thumb{
  aspect-ratio: 1 / 1;
  border-radius: .65rem;
  border: 2px solid transparent;
  overflow: hidden;
  padding: 0;
  background: var(--fx-cream);
}
.gallery-thumb img{ width: 100%; height: 100%; object-fit: cover; display: block; }
button.gallery-thumb{ cursor: pointer; transition: border-color .15s ease; }
button.gallery-thumb:hover{ border-color: #e2d3da; }

.feature-alpha .gallery-thumb.active{ border-color: var(--fx-alpha); box-shadow: 0 0 0 2px rgba(125,79,158,.25); }
.feature-omega .gallery-thumb.active{ border-color: var(--fx-omega); box-shadow: 0 0 0 2px rgba(141,198,63,.25); }
.feature-relief .gallery-thumb.active{ border-color: var(--fx-relief); box-shadow: 0 0 0 2px rgba(226,99,127,.25); }

.gallery-thumb-placeholder{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .2rem;
  color: var(--fx-gray);
  font-size: .62rem;
  line-height: 1.2;
  text-align: center;
  padding: .25rem;
}
.gallery-thumb-placeholder i{ font-size: 1.05rem; opacity: .7; }

/* ---------- Image zoom modal ---------- */
#imageZoomModal .modal-content{ background: transparent; border: none; }
#imageZoomModal .btn-close{ opacity: .9; }
#imageZoomModal .btn-close:hover{ opacity: 1; }
#imageZoomModal img{
  max-height: 85vh;
  width: auto;
  margin: 0 auto;
  display: block;
  border-radius: 1rem;
  box-shadow: 0 2rem 4rem rgba(0,0,0,0.4);
}

/* ---------- Media carousel (product teasers + company/quality photos) ---------- */
.media-carousel{
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 1.5rem 2.5rem rgba(44,34,48,0.14);
}
.media-carousel-img{
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}
.media-carousel-caption{
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  background: rgba(44,34,48,0.75);
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  padding: .4rem .9rem;
  border-radius: 50px;
  backdrop-filter: blur(2px);
}
.media-carousel .carousel-control-prev,
.media-carousel .carousel-control-next{
  width: 3rem;
}
.media-carousel .carousel-control-prev-icon,
.media-carousel .carousel-control-next-icon{
  width: 1.75rem;
  height: 1.75rem;
  background-color: rgba(44,34,48,0.55);
  border-radius: 50%;
  padding: .4rem;
  background-size: 60%;
}
.media-carousel .carousel-indicators{ margin-bottom: .75rem; }
.media-carousel .carousel-indicators [data-bs-target]{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #fff;
  opacity: .6;
  margin: 0 4px;
}
.media-carousel .carousel-indicators .active{ opacity: 1; }

.product-feature-title{
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: .75rem;
}

.product-feature-desc{
  font-size: 1.05rem;
  color: var(--fx-gray);
  max-width: 520px;
  margin-bottom: 0;
}

.stage-badge{
  display:inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing:.3px;
  padding: .35rem .9rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.stage-badge-alpha{ background: rgba(125,79,158,0.13); color: var(--fx-alpha); }
.stage-badge-omega{ background: rgba(141,198,63,0.18); color: #5c8a1f; }
.stage-badge-relief{ background: rgba(226,99,127,0.14); color: var(--fx-relief); }

.comp-table{ font-size: .88rem; }
.comp-table td{ padding: .4rem .25rem; vertical-align: top; }
.comp-table tr:not(:last-child) td{ border-bottom: 1px dashed #eee0e6; }
.comp-table td:first-child{ width: 55%; }
.comp-table td:nth-child(2){ text-align:right; }
.comp-table td:last-child{ text-align:right; font-weight:600; }
.comp-table thead th{
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: var(--fx-gray);
  font-weight: 700;
  padding: .5rem .25rem;
  border-bottom: 2px solid #eee0e6;
  text-align: left;
}
.comp-table thead th:not(:first-child){ text-align: right; }
.comp-table td.comp-subrow{ padding-left: 1.25rem; color: var(--fx-gray); font-style: italic; }
.comp-footnote{ font-size: .78rem; color: var(--fx-gray); margin-top: .6rem; }
.source-note{ font-size: .8rem; color: var(--fx-gray); }

/* ---------- Product story ---------- */
.story-img{
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 1.25rem;
  box-shadow: 0 1.5rem 2.5rem rgba(44,34,48,0.12);
}
.story-text p{ color: #4a3f47; margin-bottom: 1rem; }
.story-text p:last-child{ margin-bottom: 0; }

.benefit-list li{
  display:flex; align-items:flex-start; gap:.5rem;
  font-size: .92rem; color: #4a3f47;
  margin-bottom: .55rem;
}
.benefit-list i{ margin-top: .2rem; flex-shrink:0; }
.feature-alpha .benefit-list i{ color: var(--fx-alpha); }
.feature-omega .benefit-list i{ color: var(--fx-omega); }
.feature-relief .benefit-list i{ color: var(--fx-relief); }

.dosage-box{
  background: #fff;
  border: 1px solid #f2e7ee;
  border-radius: .8rem;
  padding: .9rem 1rem;
  font-size: .88rem;
  display:flex; align-items:flex-start; gap:.6rem;
}

.btn-panel-alpha{ background: var(--fx-alpha); border-color: var(--fx-alpha); }
.btn-panel-omega{ background: var(--fx-omega); border-color: var(--fx-omega); }
.btn-panel-relief{ background: var(--fx-relief); border-color: var(--fx-relief); }
.btn-panel-alpha, .btn-panel-omega, .btn-panel-relief{ color:#fff; font-weight:600; }
.btn-panel-alpha:hover{ background: var(--fx-alpha-dark); border-color: var(--fx-alpha-dark); color:#fff; }
.btn-panel-omega:hover{ background: var(--fx-omega-dark); border-color: var(--fx-omega-dark); color:#fff; }
.btn-panel-relief:hover{ background: var(--fx-teal); border-color: var(--fx-teal); color:#fff; }

/* ---------- Trust / feature icons ---------- */
.feature-icon{
  width: 68px; height: 68px;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--fx-plum), var(--fx-rose));
  color: #fff;
  display:flex; align-items:center; justify-content:center;
  font-size: 1.6rem;
  margin: 0 auto 1.1rem;
}

/* ---------- FAQ / contact ---------- */
.accordion-button:not(.collapsed){
  background-color: rgba(122,64,105,0.08);
  color: var(--fx-plum);
  box-shadow: none;
}
.accordion-button:focus{ box-shadow: none; border-color: rgba(122,64,105,0.2); }

/* ---------- Footer ---------- */
footer{ background: var(--fx-dark); color: rgba(255,255,255,0.75); }
footer h6{ color:#fff; font-weight:700; margin-bottom:1.1rem; }
footer a{ color: rgba(255,255,255,0.65); }
footer a:hover{ color:#fff; }
.footer-social a{
  width:38px; height:38px; display:inline-flex; align-items:center; justify-content:center;
  background: rgba(255,255,255,0.08); border-radius:50%; margin-right:.5rem;
  transition: background .2s ease;
}
.footer-social a:hover{ background: var(--fx-rose); }
.footer-bottom{ border-top:1px solid rgba(255,255,255,0.1); font-size:.85rem; }
.footer-mfr-logo{
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .85;
}

/* ---------- Product detail pages ---------- */
.detail-hero{ padding: 7rem 0 3rem; }

.breadcrumb-nav{ font-size: .88rem; }
.breadcrumb-nav a{ color: var(--fx-gray); font-weight: 500; }
.breadcrumb-nav a:hover{ color: var(--fx-plum); }
.breadcrumb-nav .current{ color: var(--fx-dark); font-weight: 600; }

.meta-pill{
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: #fff;
  border: 1px solid #eee0e6;
  border-radius: 50px;
  padding: .45rem 1rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--fx-dark);
}

.detail-section{ padding: 3.5rem 0; }
.detail-section + .detail-section{ border-top: 1px solid #f2e7ee; }

.ingredient-note{
  background: var(--fx-cream);
  border-radius: .8rem;
  padding: 1rem 1.25rem;
  font-size: .9rem;
  color: var(--fx-gray);
}

.crosssell-card{
  display: block;
  background: #fff;
  border: 1px solid #f2e7ee;
  border-radius: 1.25rem;
  padding: 1.5rem;
  text-align: center;
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
}
.crosssell-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 1.5rem 2.5rem rgba(44,34,48,0.1);
}
.crosssell-card img{
  max-height: 120px;
  width: auto;
  margin: 0 auto 1.1rem;
  display: block;
}
.crosssell-card h5{ color: var(--fx-dark); margin-bottom: .4rem; }

.cta-banner{
  background: linear-gradient(120deg, var(--fx-plum) 0%, var(--fx-rose) 100%);
  color: #fff;
  border-radius: 1.5rem;
  padding: 3rem;
}

/* ---------- Legal pages ---------- */
.legal-hero{
  padding: 7rem 0 2.5rem;
  background: var(--fx-cream);
}
.legal-hero .last-updated{
  font-size: .85rem;
  color: var(--fx-gray);
}
.legal-content{
  max-width: 800px;
}
.legal-content h2{
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--fx-plum);
  margin-top: 0;
}
.legal-content h3{
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 1.5rem;
}
.legal-content p, .legal-content li{
  color: #4a3f47;
  line-height: 1.7;
}
.legal-content ul{ padding-left: 1.25rem; }
.legal-content .accordion-button{ font-weight: 700; }
.legal-toc{
  background: #fff;
  border: 1px solid #f2e7ee;
  border-radius: 1rem;
  padding: 1.5rem;
}
.legal-toc a{ color: var(--fx-dark); font-size: .92rem; }
.legal-toc a:hover{ color: var(--fx-plum); }

/* ---------- Company & Quality section ---------- */
.made-in-germany-badge{
  max-width: 150px;
  width: 100%;
  height: auto;
}
.centax-brand-logo{
  height: 32px;
  width: auto;
  margin-bottom: 1rem;
}
.cert-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
@media (max-width: 767px){ .cert-grid{ grid-template-columns: repeat(2, 1fr); } }
.cert-card{
  background: #fff;
  border: 1px solid #f2e7ee;
  border-radius: 1.1rem;
  padding: 1rem;
  text-align: center;
  display: block;
  transition: transform .2s ease, box-shadow .2s ease;
}
.cert-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 1.25rem 2rem rgba(44,34,48,0.1);
}
.cert-thumb{
  width: 100%;
  aspect-ratio: 3 / 4.2;
  object-fit: cover;
  object-position: top center;
  border-radius: .6rem;
  border: 1px solid #f2e7ee;
  margin-bottom: .85rem;
}
.cert-card h6{
  font-size: .9rem;
  font-weight: 700;
  color: var(--fx-dark);
  margin-bottom: .15rem;
}
.cert-card span{
  font-size: .78rem;
  color: var(--fx-plum);
  font-weight: 600;
}

/* ---------- Cookie notice ---------- */
.cookie-banner{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1080;
  background: var(--fx-dark);
  color: rgba(255,255,255,0.88);
  padding: 1.1rem 0;
  box-shadow: 0 -0.75rem 2rem rgba(0,0,0,0.18);
  transform: translateY(100%);
  transition: transform .35s ease;
}
.cookie-banner.show{ transform: translateY(0); }
.cookie-banner .container{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
}
.cookie-banner p{
  margin: 0;
  font-size: .88rem;
  max-width: 640px;
}
.cookie-banner a{ color: #fff; text-decoration: underline; }
.cookie-banner .btn{ white-space: nowrap; flex-shrink: 0; }

/* ---------- Language switcher ---------- */
.lang-switch{
  display: inline-block;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .3px;
  color: var(--fx-dark) !important;
  border: 1px solid #e2d8dd;
  border-radius: 50px;
  padding: .3rem .75rem;
}
.lang-switch:hover{ color: var(--fx-plum) !important; border-color: var(--fx-plum); }
