/* Design canvas content strip: 2000 × 12712 */
:root {
  --bg: #ffffff;
  --text: #111111;
  --text-muted: #555555;
  --green: #2ea44f;
  --teal: #1a9bb0;
  --blue: #2f7cf6;
  --page-width: 430px;
  --pad-x: 18px;
  --section-gap: 36px;
  --font: 'Inter', 'Segoe UI', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: #f3f5f7;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

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

button {
  font-family: inherit;
}

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

.page {
  width: 100%;
  max-width: var(--page-width);
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg);
  overflow-x: hidden;
  padding-bottom: 28px;
}

.site-header,
.section,
.site-footer {
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  padding-bottom: 12px;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-pharmacy {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--green);
}

.brand-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--teal);
}

/* Hero */
.section-hero {
  padding-bottom: 12px;
}

.hero-carousel .el-carousel__item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  background: #eef3f8;
}

.hero-carousel .el-carousel__indicators {
  margin-top: 6px;
}

.hero-carousel .is-active .el-carousel__button {
  background: var(--teal);
}

/* Products */
.section-products {
  padding-bottom: var(--section-gap);
}

.section-title {
  margin: 8px 0 20px;
  font-size: clamp(28px, 8vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 14px;
}

.product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.product-media {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  background: #f7fafc;
  border-radius: 12px;
  overflow: hidden;
}

.product-media img {
  width: 88%;
  height: 88%;
  object-fit: contain;
}

.product-name {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 800;
}

.product-price {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
}

.btn-shop {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  width: min(150px, 100%);
  transition: transform 0.15s ease, filter 0.2s ease;
}

.btn-shop img {
  width: 100%;
  height: auto;
}

.btn-shop:hover {
  filter: brightness(1.05);
}

.btn-shop:active {
  transform: scale(0.97);
}

/* About */
.section-about {
  padding-bottom: var(--section-gap);
}

.about-carousel .el-carousel__item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-carousel .el-carousel__indicators {
  margin-top: 6px;
}

.about-carousel .is-active .el-carousel__button {
  background: var(--teal);
}

.about-item {
  margin: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #eef3f8;
}

.about-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Info */
.section-info {
  padding-bottom: var(--section-gap);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  color: #111;
}

.section-info p {
  margin: 0 0 16px;
}

.info-lead {
  font-size: 15px;
}

.info-label {
  margin-top: 8px !important;
}

.info-list {
  margin: 0 0 18px;
  padding-left: 18px;
}

.info-list li {
  margin-bottom: 8px;
}

/* Badges */
.section-badges {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 28px;
}

.badge-img {
  width: 30%;
  max-height: 88px;
  object-fit: contain;
}

/* Footer */
.site-footer {
  text-align: center;
  padding-top: 4px;
  padding-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 12px;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--teal);
}

.footer-copy {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

@media (min-width: 480px) {
  :root {
    --page-width: 480px;
    --pad-x: 22px;
  }

  .hero-carousel.el-carousel {
    height: 240px !important;
  }

  .about-carousel.el-carousel {
    height: 320px !important;
  }
}

@media (min-width: 900px) {
  :root {
    --page-width: 720px;
    --pad-x: 32px;
    --section-gap: 48px;
  }

  .brand-logo {
    width: 52px;
    height: 52px;
  }

  .brand-pharmacy {
    font-size: 15px;
  }

  .brand-name {
    font-size: 22px;
  }

  .hero-carousel.el-carousel {
    height: 320px !important;
  }

  .section-title {
    font-size: 44px;
  }

  .product-grid {
    gap: 36px 24px;
  }

  .product-name {
    font-size: 24px;
  }

  .about-carousel.el-carousel {
    height: 400px !important;
  }

  .section-info {
    font-size: 16px;
  }

  .badge-img {
    max-height: 110px;
  }
}
