.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding-inline: var(--gutter-left) var(--gutter-right);
}


.header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-warm);
}

.header__inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  min-height: var(--header-height);
  padding-block: var(--space-2);
}

.header__logo {
  display: flex;
  align-items: center;
  min-height: var(--control-min);
  flex-shrink: 0;
}

.header__logo img {
  width: var(--logo-small);
  height: auto;
}

.header__nav {
  display: none;
  align-items: center;
  gap: var(--space-2);
  flex: 1;
  justify-content: center;
}

.header__link {
  display: inline-flex;
  align-items: center;
  min-height: var(--control-min);
  padding: var(--space-2);
  font-size: var(--text-small);
  color: var(--color-heading);
  border-radius: var(--radius-btn);
}

.header__link:hover {
  color: var(--color-accent-text);
  background: var(--color-warm);
}

.header__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-inline-start: auto;
}

.header__icon-btn, .lang-btn, .cart__close, .cart__item-remove {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: var(--control-min);
  min-height: var(--control-min);
  padding: var(--space-2);
  border: 2px solid transparent;
  border-radius: var(--radius-btn);
  font: inherit;
  background: transparent;
  color: var(--color-heading);
  cursor: pointer;
}

.lang-btn {
  font-size: var(--text-small);
  font-weight: 700;
}

.cart__item-remove, .cart__close {
  font-size: var(--text-title);
  line-height: 1;
}
.header__icon-btn:hover, .lang-btn:hover, .cart__close:hover, .cart__item-remove:hover { background: var(--color-warm); }

.header__badge {
  position: absolute;
  top: var(--space-1);
  right: var(--space-1);
  min-width: var(--badge-size);
  height: var(--badge-size);
  padding-inline: var(--space-1);
  border-radius: var(--radius-pill);
  background: var(--color-btn);
  color: var(--color-bg-alt);
  font-size: var(--text-tiny);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.lang-switcher {
  display: flex;
  gap: var(--space-2);
}

.lang-btn.active {
  color: var(--color-accent-text);
  border-color: var(--color-accent-text);
  background: var(--color-warm);
}
.header__mobile-nav { padding-block: var(--space-2); }
.header__mobile-nav .header__link { display: flex; }

@media (width >= 360px) { .header__logo img { width: var(--logo-medium); } }

@media (width >= 1100px) {
  .header__logo img { width: var(--logo-large); }
  .header__nav { display: flex; }
  .header__menu-btn, .header__mobile-nav { display: none; }
}

/* ========================================
   Subscribe Form
   ======================================== */

.subscribe-form__group {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 480px;
  margin: 0 auto;
}

.subscribe-form__input {
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 400;
  padding: var(--space-3) var(--space-4);
  min-height: var(--control-comfort);
  border: 2px solid transparent;
  border-radius: var(--radius-btn);
  background-color: var(--color-bg-alt);
  color: var(--color-text);
  width: 100%;
  min-width: 0;
  transition: border-color 0.2s ease;
}

.subscribe-form__input::placeholder {
  color: var(--color-text-secondary);
  opacity: 0.7;
}

.subscribe-form__input:focus {
  border-color: var(--color-accent);
}

.subscribe-form__message {
  font-size: 0.9rem;
  margin-top: var(--space-2);
  text-align: center;
}

.subscribe-form__message--success {
  color: var(--color-teal);
}

.subscribe-form__message--error {
  color: var(--color-error);
}

/* ========================================
   Button
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 1rem;
  padding: var(--space-3) var(--space-8);
  min-height: var(--control-comfort);
  border: none;
  border-radius: var(--radius-btn);
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background-color 0.2s ease, transform 0.1s ease;
  white-space: normal;
  text-align: center;
}

.btn:active {
  transform: scale(0.98);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn--primary {
  background-color: var(--color-btn);
  color: var(--color-bg-alt);
}

.btn--primary:hover {
  background-color: var(--color-btn-hover);
}

.btn--ghost {
  background-color: transparent;
  color: var(--color-text-secondary);
  border: 2px solid var(--color-warm-deep);
}

.btn--ghost:hover {
  background-color: var(--color-warm);
  color: var(--color-heading);
}

.btn--primary:active {
  background-color: var(--color-btn-active);
}


.feature-card {
  background-color: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: var(--space-9) var(--space-8);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-sky-soft);
  box-shadow: 0 14px 32px -18px rgb(31 42 68 / 25%);
}

.feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin: 0 auto var(--space-5);
  border-radius: 16px;
  background-color: var(--color-sky-soft);
  color: var(--color-sky);
}

.feature-card__icon svg {
  width: 30px;
  height: 30px;
}

.feature-card h3 {
  margin-bottom: var(--space-2);
  color: var(--color-heading);
  font-size: 1.15rem;
}

.feature-card p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
}


.product-card {
  position: relative;
  background-color: var(--color-bg-alt);
  border-radius: var(--radius-card);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgb(31 42 68 / 8%);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgb(31 42 68 / 14%);
}

.product-card__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  margin-bottom: var(--space-5);
  overflow: hidden;
  background-color: var(--color-product);
}

.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.product-card__placeholder {
  display: none;
  font-size: var(--text-display);
  letter-spacing: 0.15em;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgb(0 0 0 / 12%));
}

.product-card__visual--placeholder .product-card__image {
  display: none;
}

.product-card__visual--placeholder .product-card__placeholder {
  display: block;
}

.product-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  gap: 0.4rem;
}

.product-card__features li {
  position: relative;
  padding-left: var(--space-5);
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.4;
}

.product-card__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-teal);
  font-weight: 700;
}

.product-card__price-row {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.product-card__price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-heading);
  letter-spacing: -0.02em;
}

.product-card__shipping {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-teal);
  background-color: var(--color-shipping);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.product-card__price-old {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  text-decoration: line-through;
}

/* Bundle: full-width highlighted offer below the three single sets */
.product-card--bundle {
  border: 2px solid var(--color-accent);
  background-color: var(--color-bg-alt);
}

@media (width >= 720px) {
  .product-card--bundle {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    gap: var(--space-8);
    padding: 1.75rem;
  }

  .product-card--bundle .product-card__visual {
    width: 300px;
    flex-shrink: 0;
    margin-bottom: 0;
  }

  .product-card--bundle .product-card__body {
    flex: 1;
  }

  .product-card--bundle .product-card__features {
    grid-template-columns: repeat(3, 1fr);
    column-gap: var(--space-5);
  }
}

.product-card--soon {
  opacity: 0.85;
}

.product-card--soon .product-card__visual {
  filter: saturate(0.7);
}

.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card__name {
  margin-bottom: 0.25rem;
  color: var(--color-heading);
  font-size: 1.35rem;
}

.product-card__tagline {
  font-weight: 700;
  color: var(--color-accent-text);
  font-size: 0.95rem;
  margin-bottom: var(--space-3);
}

.product-card__desc {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: var(--space-5);
  flex: 1;
}

.product-card__cta {
  align-self: stretch;
  margin-top: auto;
}

.product-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  color: var(--color-bg-alt);
  font-weight: 700;
  font-size: var(--text-tiny);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.product-card__badge--available {
  background-color: var(--color-teal);
  box-shadow: 0 2px 6px rgb(26 107 90 / 30%);
}

.product-card__badge--soon {
  background-color: var(--color-warm-deep);
  color: var(--color-heading);
  box-shadow: 0 2px 6px rgb(31 42 68 / 12%);
}


/* ========================================
   Footer
   ======================================== */

.footer {
  background-color: var(--color-footer);
  color: var(--color-heading);
  padding: var(--space-12) 0;
  border-top: 1px solid rgb(255 244 232 / 12%);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  text-align: center;
}

.footer__contacts {
  width: 100%;
}

.footer__heading {
  margin: 0 0 var(--space-5);
  font-size: var(--text-title);
  font-weight: 700;
  color: var(--color-heading);
}

.footer__contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
}

.footer__contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: var(--control-min);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-pill);
  background-color: var(--color-bg-alt);
  color: var(--color-accent-text);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer__contact-link:hover,
.footer__contact-link:focus-visible {
  background-color: var(--color-btn);
  color: var(--color-bg-alt);
  transform: translateY(-2px);
}

.footer__contact-icon {
  flex-shrink: 0;
}

.footer__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--color-heading);
}



body.cart-open { overflow: hidden; }

.cart-overlay {
  position: fixed;
  inset: 0;
  background: var(--color-overlay);
  z-index: var(--z-overlay);
}

.cart {
  position: fixed;
  inset: var(--gutter-top) var(--gutter-right) var(--gutter-bottom) auto;
  width: min(var(--cart-width), calc(100% - var(--gutter-left) - var(--gutter-right)));
  max-height: calc(100vh - var(--gutter-top) - var(--gutter-bottom));
  max-height: calc(100dvh - var(--gutter-top) - var(--gutter-bottom));
  background: var(--color-bg-alt);
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-panel);
  overflow: hidden;
  box-shadow: var(--shadow-panel);
  z-index: var(--z-dialog);
}

.cart__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--color-border);
}

.cart__title {
  font-size: var(--text-title);
  margin: 0;
}

.cart__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: var(--space-4);
}

.cart__items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.cart__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding: var(--space-2);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
}

.cart__item-name {
  min-width: 0;
  overflow-wrap: anywhere;
  font-weight: 600;
}

.cart__empty {
  color: var(--color-text-secondary);
  padding-block: var(--space-6);
}

.cart__footer {
  padding-top: var(--space-6);
  margin-top: var(--space-6);
  border-top: 1px solid var(--color-border);
}

.cart__note {
  font-size: var(--text-body);
  margin-bottom: var(--space-4);
  line-height: 1.5;
}
.cart__notify .subscribe-form__group { flex-direction: column; }

.subscribe-form__label {
  display: block;
  font-size: var(--text-body);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.subscribe-form__privacy {
  margin-top: var(--space-3);
  font-size: var(--text-small);
}

.subscribe-form__privacy a, .legal-page a {
  text-decoration: underline;
  text-underline-offset: var(--space-1);
}
.subscribe-form__input[aria-invalid="true"] { border-color: var(--color-error); }

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
}

.footer__legal a {
  display: inline-flex;
  align-items: center;
  min-height: var(--control-min);
  padding: var(--space-2);
  text-decoration: underline;
}
.legal-page { padding-block: var(--space-8); }
.legal-page__header { margin-bottom: var(--space-8); }

.legal-page__section {
  margin-block: var(--space-6);
  overflow-wrap: anywhere;
}
.legal-page h1 { margin-bottom: var(--space-4); }

.legal-page h2 {
  font-size: var(--text-title);
  margin-bottom: var(--space-3);
}
.legal-page p, .legal-page ul { margin-block: var(--space-3); }
.legal-page ul { padding-inline-start: var(--space-6); }

@media (width >= 768px) {
  .subscribe-form__group { flex-direction: row; }
  .subscribe-form__input { flex: 1; }
}
