:root {
  --pink: #e6007e;
  --pink-dark: #c9006f;
  --pink-light: #fde8f3;
  --blue: #005b96;
  --green: #62b434;
  --red: #d71920;
  --text: #333333;
  --muted: #777777;
  --bg: #ffffff;
  --card: #ffffff;
  --border: #eeeeee;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.08);
  --radius: 26px;
}

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

body {
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(230, 0, 126, 0.09), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #fff7fb 42%, #ffffff 100%);
  min-height: 100vh;
}

body.modal-open { overflow: hidden; }

body.modal-open #pageContent,
body.modal-open .site-header {
  filter: blur(7px);
  pointer-events: none;
  user-select: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 78px;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(230, 0, 126, 0.08);
}

.logo {
  color: var(--pink);
  font-size: 26px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.03em;
}

.nav { display: flex; gap: 34px; }

.nav a {
  color: #111;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}

.nav a:hover { color: var(--pink); }

.lang-switcher {
  display: flex;
  gap: 12px;
  align-items: center;
}

.lang-btn {
  border: 1px solid rgba(230, 0, 126, 0.16);
  background: linear-gradient(180deg, rgba(255, 239, 247, 0.98), rgba(255, 228, 240, 0.98));
  width: 58px;
  height: 58px;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.22s ease;
  padding: 0;
  box-shadow:
    inset 0 0 0 5px rgba(255, 255, 255, 0.95),
    0 8px 18px rgba(230, 0, 126, 0.10);
}

.flag-icon {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.10),
    0 4px 8px rgba(230, 0, 126, 0.12);
}

.flag-pl {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cdefs%3E%3CclipPath id='c'%3E%3Ccircle cx='32' cy='32' r='32'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg clip-path='url(%23c)'%3E%3Crect width='64' height='32' fill='%23ffffff'/%3E%3Crect y='32' width='64' height='32' fill='%23dc143c'/%3E%3C/g%3E%3C/svg%3E");
}

.flag-us {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cdefs%3E%3CclipPath id='c'%3E%3Ccircle cx='32' cy='32' r='32'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg clip-path='url(%23c)'%3E%3Crect width='64' height='64' fill='%23ffffff'/%3E%3Crect width='64' height='5' y='0' fill='%23b22234'/%3E%3Crect width='64' height='5' y='10' fill='%23b22234'/%3E%3Crect width='64' height='5' y='20' fill='%23b22234'/%3E%3Crect width='64' height='5' y='30' fill='%23b22234'/%3E%3Crect width='64' height='5' y='40' fill='%23b22234'/%3E%3Crect width='64' height='5' y='50' fill='%23b22234'/%3E%3Crect width='64' height='5' y='60' fill='%23b22234'/%3E%3Crect width='30' height='28' fill='%233c3b6e'/%3E%3Cg fill='%23ffffff'%3E%3Ccircle cx='6' cy='6' r='1.5'/%3E%3Ccircle cx='14' cy='6' r='1.5'/%3E%3Ccircle cx='22' cy='6' r='1.5'/%3E%3Ccircle cx='10' cy='12' r='1.5'/%3E%3Ccircle cx='18' cy='12' r='1.5'/%3E%3Ccircle cx='26' cy='12' r='1.5'/%3E%3Ccircle cx='6' cy='18' r='1.5'/%3E%3Ccircle cx='14' cy='18' r='1.5'/%3E%3Ccircle cx='22' cy='18' r='1.5'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.flag-tz {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cdefs%3E%3CclipPath id='c'%3E%3Ccircle cx='32' cy='32' r='32'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg clip-path='url(%23c)'%3E%3Crect width='64' height='21.34' y='0' fill='%23ce1126'/%3E%3Crect width='64' height='21.34' y='21.33' fill='%23fcd116'/%3E%3Crect width='64' height='21.34' y='42.66' fill='%23007847'/%3E%3C/g%3E%3C/svg%3E");
}

.lang-btn:hover,
.lang-btn.active {
  border-color: var(--pink);
  box-shadow:
    inset 0 0 0 5px rgba(255, 255, 255, 0.95),
    0 14px 28px rgba(230, 0, 126, 0.18);
  transform: translateY(-2px) scale(1.02);
}

.hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: 92px 32px 82px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  color: var(--pink);
  background: var(--pink-light);
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(44px, 6vw, 78px);
  line-height: 0.95;
  letter-spacing: -0.07em;
  margin-bottom: 24px;
}

.hero p {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 34px;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: var(--pink);
  padding: 16px 24px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 18px 34px rgba(230, 0, 126, 0.25);
  transition: 0.2s ease;
}

.primary-btn:hover { background: var(--pink-dark); transform: translateY(-2px); }

.hero-image-wrap {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-wrap::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(230, 0, 126, 0.15), rgba(255, 255, 255, 0));
  filter: blur(10px);
}

.hero-image {
  position: relative;
  width: min(100%, 520px);
  object-fit: contain;
  filter: drop-shadow(0 34px 34px rgba(0, 0, 0, 0.12));
  animation: floatProduct 5s ease-in-out infinite;
}

@keyframes floatProduct {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-16px) rotate(1deg); }
}

.about-section {
  max-width: 1040px;
  margin: 0 auto;
  padding: 54px 32px;
  text-align: center;
}

.about-section {
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(230,0,126,0.08);
  border-radius: 34px;
  box-shadow: 0 16px 44px rgba(0,0,0,0.035);
}

.about-section h2,
.section-heading h2 {
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -0.05em;
  margin-bottom: 16px;
}

.about-section p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  max-width: 840px;
  margin: 0 auto;
}

.products-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 72px 32px;
}

.section-heading { text-align: center; margin-bottom: 32px; }

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 42px;
}

.filter-btn {
  border: 1px solid rgba(230, 0, 126, 0.18);
  background: #fff;
  color: var(--text);
  padding: 12px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--pink);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(230, 0, 126, 0.2);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.product-card {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(230, 0, 126, 0.08);
  border-radius: var(--radius);
  padding: 24px;
  min-height: 455px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  cursor: pointer;
  transition: 0.25s ease;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(230, 0, 126, 0.09), transparent 42%);
  opacity: 0;
  transition: 0.25s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: rgba(230, 0, 126, 0.22);
}

.product-card:hover::before { opacity: 1; }

.product-image-box {
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.product-image-box img {
  max-width: 100%;
  max-height: 240px;
  object-fit: contain;
  transition: 0.25s ease;
  filter: drop-shadow(0 18px 20px rgba(0, 0, 0, 0.08));
}

.product-card:hover .product-image-box img { transform: scale(1.06) rotate(-1deg); }

.product-category {
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--pink);
  background: var(--pink-light);
  padding: 7px 11px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.product-card h3 {
  position: relative;
  font-size: 23px;
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}

.product-card p {
  position: relative;
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}

.card-more {
  position: relative;
  display: inline-flex;
  margin-top: 18px;
  color: var(--pink);
  font-weight: 900;
  font-size: 14px;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.modal-overlay.active { display: flex; }

.modal {
  position: relative;
  width: min(1180px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  background: white;
  border-radius: 34px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.18);
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 26px;
  padding: 34px;
  animation: modalIn 0.22s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.96) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 999px;
  background: var(--pink);
  color: white;
  font-size: 28px;
  cursor: pointer;
  z-index: 2;
}

.modal-image-box {
  position: sticky;
  top: 0;
  align-self: start;
  background: linear-gradient(180deg, #fff7fb, #ffffff);
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
  padding: 24px;
}

.modal-image-box img {
  max-width: 100%;
  max-height: 520px;
  object-fit: contain;
  filter: drop-shadow(0 24px 28px rgba(0, 0, 0, 0.12));
}

.modal-content { padding: 20px 10px; }

.modal-category {
  display: inline-flex;
  color: var(--pink);
  background: var(--pink-light);
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.modal-content h2 {
  font-size: clamp(34px, 4vw, 54px);
  letter-spacing: -0.06em;
  line-height: 1;
  margin-bottom: 18px;
}

.modal-content > p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 26px;
}

.modal-details { display: grid; gap: 16px; }

.detail-block,
.detail-grid > div {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 16px;
  background: #fff;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.modal-details strong {
  display: block;
  color: var(--pink);
  margin-bottom: 7px;
}

.modal-details p,
.modal-details li {
  color: var(--muted);
  line-height: 1.6;
}

.modal-details ul {
  padding-left: 19px;
  display: grid;
  gap: 6px;
}

.nutrition-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

.nutrition-table td {
  border-bottom: 1px solid var(--border);
  padding: 9px 0;
  vertical-align: top;
}

.nutrition-table td:first-child {
  font-weight: 800;
  color: #555;
  padding-right: 14px;
  width: 52%;
}

.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 999px;
  background: var(--pink);
  color: white;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 16px 30px rgba(230, 0, 126, 0.3);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: 0.2s ease;
  z-index: 15;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 940px) {
  .site-header { padding: 14px 20px; gap: 12px; }
  .nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 54px; text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-image-wrap { min-height: auto; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .modal { grid-template-columns: 1fr; }
  .modal-image-box { min-height: 360px; position: relative; }
}

@media (max-width: 620px) {
  .products-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 44px; }
  .site-header { height: auto; padding: 14px 18px; gap: 12px; }
  .logo { font-size: 22px; }
  .modal { padding: 22px; border-radius: 24px; }
  .detail-grid { grid-template-columns: 1fr; }
}
