
/* Smartphone layout. Keep every override inside this query so desktop is unchanged. */
@media screen and (max-width: 767px) {
  html { scroll-padding-top: 128px; }
  .container { padding-inline: 20px; }
  .promo-banner {
    height: 48px;
    padding: 4px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 16px;
  }
  .header { top: 48px; }
  .header__inner {
    height: 64px;
    padding: 6px 12px;
    gap: 0;
  }
  .header .logo {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    gap: 6px;
    font-size: clamp(17px, 5.4vw, 24px);
    line-height: 1.05;
  }
  .header .logo img { height: 32px; flex: 0 0 auto; }
  .header__actions { flex: 0 0 auto; gap: 0; }
  .header .lang-switch { margin: 0; }
  .header .lang-switch__trigger {
    min-height: 44px;
    padding: 6px;
    gap: 4px;
    font-size: 12px;
  }
  .header .lang-switch__trigger .caret { margin-left: 0; }
  .header .lang-switch__option { min-height: 44px; }
  .header .wishlist-icon,
  .header .cart-icon,
  .header .menu-toggle {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
  }
  .header .nav {
    top: 64px;
    max-height: calc(100vh - 112px);
    max-height: calc(100dvh - 112px);
    padding: 12px 20px 24px;
    gap: 0;
    align-items: stretch;
    overscroll-behavior: contain;
  }
  .header .nav__link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 8px;
    border-bottom: 1px solid var(--color-warm-sand);
  }
  .header .nav .btn { margin-top: 12px; min-height: 44px; }
  .hero {
    padding-top: 136px;
    padding-bottom: 32px;
    min-height: 100svh;
  }
  .hero .hero__content { padding-top: 0; padding-bottom: 64px; }
  .hero__subtitle {
    display: inline-block;
    font-size: 12px;
    letter-spacing: .12em;
    line-height: 1.6;
    margin-bottom: 12px;
  }
  .hero .hero__title {
    font-size: clamp(32px, 8.8vw, 44px);
    line-height: 1.12;
    margin-bottom: 20px;
  }
  .hero .hero__description {
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 24px;
  }
  .hero__buttons { gap: 12px; }
  .hero__buttons .btn { width: 100%; padding: 14px 20px; }
  .hero__buttons .btn--outline {
    color: var(--color-text-primary);
    border-color: var(--color-accent);
    background: rgba(242, 240, 233, .8);
  }
  .hero.hero--shop { min-height: 460px; min-height: clamp(420px, 68svh, 580px); }
  .section { padding-block: 48px; }
  .products__header { margin-bottom: 32px; }
  .about__grid, .contact__grid { gap: 28px; }
  .about__grid > *, .contact__grid > *, .grid > * { min-width: 0; }
  .about__stats { gap: 12px; margin-top: 24px; padding-top: 24px; }
  .about__content h1 { font-size: clamp(34px, 9vw, 48px); }
  .contact__value { overflow-wrap: anywhere; }
  .product-card__buttons { flex-wrap: wrap; }
  .product-card__buttons .btn { width: 100%; white-space: normal; }
  .shop-filters { gap: 8px; }
  .shop-filters .filter-btn { min-height: 44px; padding: 10px 16px; }
  body input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
  body select, body textarea { font-size: 16px; min-width: 0; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .footer__legal { flex-wrap: wrap; justify-content: center; gap: 12px 20px; }
  .footer__company-data { overflow-wrap: anywhere; }
  .footer__links a { display: inline-flex; align-items: center; min-height: 40px; }
  body .cookie-banner__actions { flex-wrap: wrap; }
  body .cookie-banner__btn { min-height: 44px; white-space: normal; flex: 1 1 120px; }
  body .cookie-banner { max-height: 80dvh; overflow-y: auto; }
  body .cookie-manage { left: 8px; bottom: 8px; padding: 10px 12px; font-size: 12px; }
  body .cart-notification { left: 12px; right: 12px; bottom: 72px; flex-wrap: wrap; }
  body .checkout-grid, body .cart-content { grid-template-columns: minmax(0, 1fr); }
  .checkout-grid > *, .cart-content > *, .form-row > * { min-width: 0; }
  .checkout-form h1 { font-size: clamp(32px, 9vw, 44px); }
  body .payment-option__header { flex-wrap: wrap; gap: 12px; }
  body .order-summary, body .cart-summary { padding: 20px; }
  .order-item__details { min-width: 0; overflow-wrap: anywhere; }
  .order-item__price { white-space: nowrap; }
}
