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

:root {
  --color-text: #1a1d21;
  --color-text-soft: #5b6169;
  --color-bg: #ffffff;
  --color-bg-soft: #f7f8f9;
  --color-border: #e7e8ea;
  --color-accent: #c8102e;
  --radius: 12px;
  --container-width: 1280px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

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

/* ---------- Topbar ---------- */
.topbar {
  background: var(--color-bg-soft);
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-soft);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  font-size: 13px;
}

.topbar-contact {
  display: flex;
  align-items: center;
  gap: 24px;
}

.topbar-contact a {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--color-text-soft);
  transition: color 0.2s ease;
}

.topbar-contact a:hover {
  color: var(--color-text);
}

.topbar-contact svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.topbar-auth {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-auth a {
  color: var(--color-text-soft);
  transition: color 0.2s ease;
}

.topbar-auth a:hover {
  color: var(--color-text);
}

.topbar-auth .divider {
  width: 1px;
  height: 14px;
  background: var(--color-border);
}

.topbar-auth .register {
  color: var(--color-text);
  font-weight: 600;
}

@media (max-width: 640px) {
  .topbar-contact a span {
    display: none;
  }

  .topbar-inner {
    height: auto;
    padding: 8px 0;
  }
}

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  background: var(--color-bg);
  z-index: 100;
  box-shadow: 0 2px 12px rgba(20, 22, 26, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 400;
}

.logo-mark {
  width: 34px;
  height: 34px;
  color: var(--color-text);
}

.logo-text strong {
  font-weight: 700;
}

.flag {
  font-size: 14px;
  margin-left: 2px;
}

.main-nav {
  display: flex;
  gap: 36px;
}

.main-nav a {
  font-size: 15px;
  color: var(--color-text);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover {
  color: var(--color-text-soft);
}

.main-nav a.active {
  border-bottom-color: var(--color-text);
}

/* ---------- Hero / Slider ---------- */
.hero {
  padding: 64px 0 80px;
}

.hero-slider {
  position: relative;
}

.hero-slide {
  display: none;
  align-items: center;
  gap: 64px;
  animation: heroFade 0.5s ease;
}

.hero-slide.is-active {
  display: flex;
}

@keyframes heroFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-text {
  flex: 1 1 480px;
}

.hero-text h1 {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.hero-lead {
  font-size: 18px;
  color: var(--color-text-soft);
  margin-bottom: 32px;
}

.hero-badges {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--color-text-soft);
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  padding: 10px 16px;
  border-radius: 999px;
  width: fit-content;
  box-shadow: 0 1px 2px rgba(20, 22, 26, 0.03);
}

.badge svg {
  color: var(--color-text);
}

.hero-image {
  position: relative;
  flex: 1 1 420px;
  display: flex;
  justify-content: center;
}

.hero-image a {
  display: flex;
  justify-content: center;
  max-width: 100%;
}

.hero-image img {
  max-width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 24px 48px -12px rgba(20, 22, 26, 0.18), 0 4px 12px rgba(20, 22, 26, 0.06);
}

.image-nav {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: flex;
  gap: 8px;
  z-index: 5;
}

.slider-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(20, 22, 26, 0.16);
  transition: box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.slider-arrow svg {
  width: 17px;
  height: 17px;
}

.slider-arrow:hover {
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(20, 22, 26, 0.2);
  transform: scale(1.06);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--color-border);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.dot.is-active {
  background: var(--color-text);
  transform: scale(1.2);
}

/* ---------- Section titles ---------- */
.section-title {
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 48px;
  position: relative;
}

.section-title.small {
  font-size: 22px;
  text-align: left;
  margin-bottom: 36px;
}

/* ---------- Peptide section ---------- */
.peptide-section {
  padding: 72px 0;
  border-top: 1px solid var(--color-border);
}

.peptide-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.peptide-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px 20px;
  background: var(--color-bg);
  box-shadow: 0 2px 8px rgba(20, 22, 26, 0.04);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.peptide-card:hover {
  box-shadow: 0 16px 32px -8px rgba(20, 22, 26, 0.12), 0 4px 10px rgba(20, 22, 26, 0.05);
  transform: translateY(-4px);
  border-color: transparent;
}

.card-vial {
  width: 100%;
  height: 130px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 18px;
  background: var(--color-bg-soft);
}

.card-vial img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 50%;
}

.peptide-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}

.card-facts {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card-facts li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--color-text-soft);
}

.card-facts li svg {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  color: var(--color-text);
}

.card-facts strong {
  color: var(--color-text);
  font-weight: 600;
}

/* ---------- Product list (full width, DB-driven) ---------- */
.product-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-row {
  display: flex;
  align-items: stretch;
  gap: 32px;
  border: 1px solid var(--color-border);
  border-radius: 0;
  background: var(--color-bg);
  box-shadow: 0 2px 8px rgba(20, 22, 26, 0.04);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  color: inherit;
  overflow: hidden;
}

.product-row:hover {
  box-shadow: 0 16px 32px -8px rgba(20, 22, 26, 0.12), 0 4px 10px rgba(20, 22, 26, 0.05);
  transform: translateY(-2px);
  border-color: transparent;
}

.product-row-media {
  flex: 0 0 320px;
  background: var(--color-bg-soft);
}

.product-row-media img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

.product-row-body {
  flex: 1 1 auto;
  padding: 28px 32px 28px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-row-body h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.product-row-desc {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--color-text-soft);
}

.product-row-desc p {
  margin-bottom: 10px;
}

.product-row-desc p:last-child {
  margin-bottom: 0;
}

.products-empty {
  color: var(--color-text-soft);
}

@media (max-width: 700px) {
  .product-row {
    gap: 16px;
  }

  .product-row-media {
    flex: 0 0 120px;
  }

  .product-row-media img {
    min-height: 100%;
  }

  .product-row-body {
    padding: 14px 14px 14px 0;
  }

  .product-row-body h3 {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .product-row-desc {
    font-size: 13px;
    line-height: 1.55;
  }
}

@media (min-width: 861px) {
  .product-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .product-row {
    flex-direction: column;
    gap: 0;
  }

  .product-row-media {
    flex: 0 0 auto;
    width: 100%;
  }

  .product-row-media img {
    height: 190px;
    min-height: 0;
  }

  .product-row-body {
    padding: 20px;
  }

  .product-row-body h3 {
    font-size: 17px;
    margin-bottom: 10px;
  }

  .product-row-desc {
    font-size: 13.5px;
  }
}


/* ---------- Product detail page ---------- */
.product-detail-section {
  padding: 48px 0 96px;
}

.product-detail-back {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-soft);
  margin-bottom: 28px;
}

.product-detail-back:hover {
  color: var(--color-text);
}

.product-detail {
  display: flex;
  align-items: flex-start;
  gap: 48px;
}

.product-detail-media {
  flex: 0 0 420px;
  border-radius: 0;
  overflow: hidden;
  background: var(--color-bg-soft);
}

.product-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-detail-body {
  flex: 1 1 auto;
}

.product-detail-body h1 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 20px;
}

.product-detail-desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-text-soft);
  margin-bottom: 32px;
}

.product-detail-block {
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  margin-bottom: 24px;
}

.product-detail-block h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

.product-detail-block div {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--color-text-soft);
}

.product-detail-desc p,
.product-detail-block p {
  margin-bottom: 10px;
}

.product-detail-desc p:last-child,
.product-detail-block p:last-child {
  margin-bottom: 0;
}

.product-detail-desc ul,
.product-detail-desc ol,
.product-detail-block ul,
.product-detail-block ol {
  padding-left: 22px;
  margin-bottom: 10px;
}

.product-detail-desc ul,
.product-detail-block ul {
  list-style: disc;
}

.product-detail-desc ol,
.product-detail-block ol {
  list-style: decimal;
}

.product-detail-desc li,
.product-detail-block li {
  margin-bottom: 4px;
}

.product-detail-desc blockquote,
.product-detail-block blockquote {
  border-left: 2px solid var(--color-border);
  padding-left: 14px;
  margin-bottom: 10px;
  color: var(--color-text-soft);
}

@media (max-width: 780px) {
  .product-detail {
    flex-direction: column;
  }

  .product-detail-media {
    flex: 0 0 auto;
    width: 100%;
    max-height: 320px;
  }
}

/* ---------- Info + FAQ section ---------- */
.info-faq-section {
  padding: 72px 0 96px;
  border-top: 1px solid var(--color-border);
}

.info-faq-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 72px;
}

.info-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.info-icon {
  text-align: center;
}

.icon-circle svg {
  width: 24px;
  height: 24px;
  color: var(--color-text);
}

.icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(20, 22, 26, 0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.info-icon .icon-circle {
  margin: 0 auto 16px;
}

.info-icon:hover .icon-circle {
  box-shadow: 0 10px 20px rgba(20, 22, 26, 0.08);
  transform: translateY(-2px);
}

.info-icon h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}

.info-icon p {
  font-size: 13px;
  color: var(--color-text-soft);
  line-height: 1.4;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 16px 20px;
  background: var(--color-bg);
  box-shadow: 0 2px 6px rgba(20, 22, 26, 0.03);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.faq-item:hover {
  box-shadow: 0 8px 20px rgba(20, 22, 26, 0.06);
  border-color: #dcdde0;
}

.faq-item[open] {
  box-shadow: 0 8px 20px rgba(20, 22, 26, 0.06);
}

.faq-item summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "\2304";
  font-size: 16px;
  color: var(--color-text-soft);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-item p {
  margin-top: 14px;
  font-size: 14px;
  color: var(--color-text-soft);
  line-height: 1.6;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-soft);
  padding: 56px 0 32px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-col h5 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-text-soft);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--color-text-soft);
  margin-bottom: 12px;
}

.footer-col a:hover {
  color: var(--color-text);
}

.footer-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.footer-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
}

.footer-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(20, 22, 26, 0.05);
}

.footer-badge-icon svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
}

.footer-mountain {
  width: 140px;
  height: auto;
  color: #c7c9cd;
}

.footer-disclaimer {
  font-size: 11px;
  color: var(--color-text-soft);
  line-height: 1.7;
  text-align: right;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .peptide-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-side {
    align-items: flex-start;
    margin-top: 8px;
  }

  .footer-disclaimer {
    text-align: left;
  }
}

@media (max-width: 860px) {
  .main-nav {
    display: none;
  }

  .hero {
    padding: 32px 0 48px;
  }

  .hero-slide {
    flex-direction: column;
    gap: 24px;
  }

  .hero-text {
    flex: 1 1 230px;
  }

  .hero-image {
    flex: 1 1 290px;
  }

  .hero-badges {
    display: none;
  }

  .slider-arrow {
    display: none;
  }

  .hero-text h1 {
    font-size: 30px;
    margin-bottom: 12px;
  }

  .hero-lead {
    margin-bottom: 0;
  }

  .hero-image a {
    width: 100%;
    align-self: center;
  }

  .hero-image img {
    width: 100%;
    height: auto;
  }

  .info-faq-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-side {
    align-items: center;
  }

  .info-icons {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .peptide-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Page header (Kontakt etc.) ---------- */
.page-header {
  padding: 64px 0 8px;
  text-align: center;
}

.page-header h1 {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.page-lead {
  font-size: 17px;
  color: var(--color-text-soft);
  line-height: 1.6;
}

/* ---------- Contact ---------- */
.contact-section {
  padding: 56px 0 96px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.contact-info-item h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: 14px;
  color: var(--color-text-soft);
  line-height: 1.5;
}

.contact-form {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 36px;
  background: var(--color-bg);
  box-shadow: 0 4px 16px rgba(20, 22, 26, 0.05);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
}

.form-group input,
.form-group textarea {
  font-family: inherit;
  font-size: 14px;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 12px 14px;
  background: var(--color-bg-soft);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #b9bcc1;
  background: var(--color-bg);
  box-shadow: 0 0 0 3px rgba(20, 22, 26, 0.05);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-primary {
  align-self: flex-start;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--color-text);
  border: none;
  border-radius: 999px;
  padding: 14px 32px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(20, 22, 26, 0.15);
  transition: box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.btn-primary:hover {
  background: #000;
  box-shadow: 0 12px 26px rgba(20, 22, 26, 0.2);
  transform: translateY(-1px);
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 24px;
  }
}
