﻿*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --page-bg: #f7f8f5;
  --surface: #ffffff;
  --surface-soft: #f2f4ee;
  --text-main: #223128;
  --text-muted: #5f6f64;
  --border-soft: rgba(34, 49, 40, 0.08);
  --shadow-soft: 0 18px 40px rgba(34, 49, 40, 0.08);
  --shadow-hover: 0 24px 46px rgba(34, 49, 40, 0.12);
  --button-green: #8fbf4a;
  --button-green-hover: #85b443;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-main);
  line-height: 1.7;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  padding: 28px 24px 0;
}

.site-header-inner,
.container,
.gabolexin-main {
  width: min(100%, 1200px);
  margin: 0 auto;
}

.container.narrow {
  width: min(100%, 820px);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
}

.logo-link img {
  width: auto;
  height: 42px;
}

.return-badge,
.header-right {
  display: flex;
  align-items: center;
}

.return-badge img {
  width: 260px;
  height: auto;
}

.home-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-soft);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-muted);
  font-size: 18px;
  backdrop-filter: blur(10px);
}

.eshop-link,
.btn,
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.eshop-link,
.btn-primary {
  background: var(--button-green);
  color: #ffffff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-main);
  border-color: var(--border-soft);
}

.eshop-link:hover,
.eshop-link:focus-visible,
.btn:hover,
.btn:focus-visible,
.btn-primary:hover,
.btn-primary:focus-visible,
.btn-secondary:hover,
.btn-secondary:focus-visible {
  transform: translateY(-1px);
}

.eshop-link:hover,
.eshop-link:focus-visible,
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--button-green-hover);
}

.site-footer {
  padding: 48px 24px 56px;
}

.site-footer p {
  margin: 0;
}

.footer-copyright {
  margin-top: 18px;
  color: var(--text-muted);
}

/* Home page */

body.gabolexin-home {
  background:
    radial-gradient(circle at top right, rgba(195, 213, 194, 0.35), transparent 28%),
    linear-gradient(180deg, #fbfcfa 0%, var(--page-bg) 100%);
}

.gabolexin-main {
  padding: 56px 24px 96px;
}

.gabolexin-intro {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 40px 280px 88px 0;
  background-image: url("assets/images/hero/green-tea.png");
  background-repeat: no-repeat;
  background-position: right -570px top;
  background-size: auto 100%;
}

.gabolexin-intro h1 { 
  margin: 0 0 24px; 
  max-width: 640px; 
  font-size: clamp(2.4rem, 4vw, 4.2rem); 
  line-height: 1.05; 
  letter-spacing: -0.04em; 
  font-weight: 600; 
 }

.gabolexin-text {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.gabolexin-text p {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.gabolexin-text p strong {
  color: var(--text-main);
  font-weight: 600;
}

.gabolexin-intro::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(247, 248, 245, 0) 58%, rgba(247, 248, 245, 0.28) 100%);
  pointer-events: none;
}

.gabolexin-illustration {
  display: none;
}

.gabolexin-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.product-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100%;
  padding: 32px 30px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover,
.product-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.product-card::after {
  content: "Zobraziť produkt";
  display: inline-block;
  margin-top: 24px;
  padding: 14px 30px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: var(--button-green);
  color: #ffffff;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.product-card:hover::after,
.product-card:focus-visible::after {
  background: var(--button-green-hover);
  transform: translateY(-1px);
}

.product-card h2 {
  margin: 0 0 10px;
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 600;
}

.product-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
}

/* Product pages */

body.product-page {
  background: #ffffff;
}

body.product-page.forte-background {
  background-color: #FBF9F3;
  position: relative;
}

body.product-page.forte-background::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("assets/images/svg/hero-text-left-desktop-concept-v3.svg");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  opacity: 0.20;
  pointer-events: none;
  z-index: 0;
}

body.product-page.forte-background .site-header,
body.product-page.forte-background main,
body.product-page.forte-background .site-footer {
  position: relative;
  z-index: 1;
}
body.product-page.gel-background {
  background-color: #F4F7F6;
  position: relative;
}

body.product-page.gel-background::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("assets/images/svg/hero-text-left-desktop-concept-v3.svg");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  opacity: 0.20;
  pointer-events: none;
  z-index: 0;
}

body.product-page.gel-background .site-header,
body.product-page.gel-background main,
body.product-page.gel-background .site-footer {
  position: relative;
  z-index: 1;
}

body.product-page main {
  display: block;
}

body.product-page .product-hero,
body.product-page .product-section,
body.product-page .product-cta {
  padding-right: 20px;
  padding-left: 20px;
}

body.product-page .product-hero {
  padding-top: 80px;
  padding-bottom: 80px;
}

body.product-page .product-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

body.product-page .product-hero-image img {
  width: 100%;
  max-width: 420px;
  height: auto;
  margin: 0 auto;
}

body.product-page .product-hero-content h1 {
  margin: 0 0 20px;
  font-size: 42px;
}

body.product-page .product-hero-content .lead {
  margin-bottom: 25px;
  font-size: 18px;
  line-height: 1.6;
}

body.product-page .product-highlights {
  margin: 25px 0;
  padding: 20px;
  list-style: disc;
}

body.product-page .product-highlights li {
  margin-bottom: 10px;
}

body.product-page .product-section {
  padding-top: 70px;
  padding-bottom: 70px;
}

body.product-page .product-section.alt {
  background: #f6f6f6;
}

body.product-page .product-section h2 {
  margin-bottom: 20px;
  font-size: 28px;
}

body.product-page .product-section p {
  line-height: 1.7;
}

body.product-page .product-cta {
  padding-top: 80px;
  padding-bottom: 80px;
  text-align: center;
}

@media (max-width: 900px) {
  body.product-page.forte-background::before {
    background-position: center top;
    background-size: 150% auto;
  }
  .site-header {
    padding-top: 20px;
  }

  .gabolexin-main {
    padding: 40px 20px 72px;
  }

  .gabolexin-intro {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 0 50px;
    background-image: none;
  }

  .gabolexin-illustration {
    display: flex;
    justify-content: center;
    order: 1;
  }

  .gabolexin-intro h1 {
    position: static;
    width: 100%;
    text-align: center;
    margin: 0 0 18px;
  }

  .gabolexin-text {
    order: 3;
  }

  .gabolexin-intro::after {
    display: none;
  }

  .gabolexin-illustration img {
    width: min(100%, 320px);
    height: auto;
  }

  .gabolexin-products,
  body.product-page .product-hero-grid {
    grid-template-columns: 1fr;
  }

  body.product-page .product-hero-grid {
    gap: 40px;
    text-align: center;
  }

  body.product-page .product-hero-content h1 {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .return-badge img {
    width: 190px;
  }
}

@media (max-width: 560px) {
  .site-header-inner {
    gap: 16px;
  }

  .logo-link img {
    height: 34px;
  }

  .gabolexin-intro h1 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .gabolexin-text p,
  .product-card p {
    font-size: 0.98rem;
  }

  .product-card {
    padding: 26px 22px;
  }

  .eshop-link,
  .btn,
  .btn-primary,
  .btn-secondary {
    padding: 12px 22px;
    font-size: 15px;
  }
}

.graph img {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 20px auto;
}

/* Language switch */

.lang-switch {
  position: absolute;
  top: 5px; 
  right: 25px;
  font-size: 16px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-main);
  font-weight: 600;
  cursor: pointer;
}

.lang-options {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: #ffffff;
  border-radius: 10px;
  padding: 8px 0;
  min-width: 70px;
  box-shadow: var(--shadow-soft);
}

.lang-options a {
  display: block;
  padding: 10px 14px;
}

.lang-options a:hover {
  background: var(--surface-soft);
}

.lang-switch.open .lang-options {
  display: block;
}