/* Mobile layout: retain the original room and keep controls comfortable to touch. */
@media (max-width: 760px) {
  .container { width: calc(100% - 32px); }
  .topbar-inner { min-height: 28px; height: auto; padding-block: 6px; font-size: .65rem; line-height: 1.3; letter-spacing: .02em; text-align: center; }
  .header-inner { min-height: 0; padding-block: 13px; grid-template-columns: minmax(0,1fr) auto; gap: 12px; }
  .header .logo { font-size: 2.1rem; width: max-content; }
  .header-actions { gap: 12px; }
  .header-action { min-height: 44px; justify-content: center; font-size: .75rem; line-height: 1.3; gap: 4px; }
  .header-action .icon { width: 22px; height: 22px; }
  .search-form { width: 100%; min-width: 0; gap: 9px; padding: 4px 4px 4px 12px; }
  .search-form input { font-size: 1rem; min-height: 40px; padding-block: 8px; }
  .search-form button { min-height: 44px; padding-inline: 16px; font-size: .875rem; flex: none; }
  .navigation { overflow: hidden; }
  .nav-inner { width: 100%; padding-inline: 16px; gap: 23px; overflow-x: auto; overscroll-behavior-x: contain; scroll-padding-inline: 16px; scrollbar-width: thin; }
  .nav-inner a { min-height: 46px; flex: none; font-size: .875rem; }

  .hero { width: 100%; margin: 0; border-radius: 0; }
  .hero-content { padding: 28px 24px 26px; }
  .hero .eyebrow { font-size: .7rem; line-height: 1.6; letter-spacing: .1em; }
  .hero h1 { font-size: clamp(2.15rem,9vw,2.6rem); line-height: 1.12; letter-spacing: -.045em; margin: 15px 0 18px; }
  .hero p { font-size: 1rem; line-height: 1.6; max-width: none; }
  .hero-actions { margin-top: 22px; gap: 10px 20px; }
  .hero-actions .button { min-height: 48px; padding-inline: 20px; font-size: .875rem; }
  .hero-secondary { min-height: 44px; display: inline-flex; align-items: center; font-size: .875rem; }
  .hero-room-frame { aspect-ratio: 3/2; }
  .hero-image, .hero-wall { object-position: center; }

  .benefits-inner { gap: 20px 16px; padding-block: 24px; }
  .benefits-inner > div { align-items: flex-start; gap: 9px; min-width: 0; }
  .benefits .icon { width: 22px; height: 22px; margin-top: 2px; }
  .benefits strong { font-size: .875rem; line-height: 1.4; margin-bottom: 5px; }
  .benefits span { font-size: .75rem; line-height: 1.5; }
  .section { padding-block: 40px; }
  .section-heading { gap: 16px; }
  .section-heading > div { min-width: 0; }
  .section-heading h2 { font-size: clamp(1.5rem,6.5vw,1.9rem); line-height: 1.25; }
  .section-heading p { font-size: 1rem; }
  .eyebrow { font-size: .75rem; line-height: 1.6; letter-spacing: .12em; }
  .category-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; overflow: visible; padding: 0; }
  .category-grid > a { min-width: 0; padding: 20px 12px; text-align: center; }
  .category-grid > a:last-child { grid-column: 1/-1; }
  .category-grid strong { font-size: .875rem; line-height: 1.4; overflow-wrap: anywhere; }
  .category-grid > a > span:last-child { font-size: .75rem; }
  .category-icon { margin-bottom: 12px; }

  .product-grid { gap: 12px; }
  .product-card { min-width: 0; padding: 0 12px 14px; }
  .product-picture { height: 154px; margin: 20px 0 8px; }
  .product-picture img { width: min(135px,100%); height: 135px; }
  .product-tag { max-width: calc(100% - 16px); top: 8px; left: 8px; font-size: .65rem; line-height: 1.4; padding: 3px 5px; }
  .product-card h3 { font-size: .9375rem; line-height: 1.4; min-height: 4.2em; overflow-wrap: anywhere; }
  .brand { font-size: .75rem; }
  .product-meta { font-size: .8125rem; line-height: 1.5; min-height: 3em; margin-bottom: 12px; }
  .price { font-size: clamp(1.1rem,4.8vw,1.3rem); white-space: nowrap; }
  .price-detail { font-size: .75rem; line-height: 1.5; }
  .product-card .button { font-size: .875rem; line-height: 1.4; min-height: 50px; padding: 10px 7px; }
  .filter-bar { align-items: flex-start; flex-wrap: wrap; gap: 8px; }
  .filter-bar > span { min-width: 0; overflow-wrap: anywhere; }
  .text-button, .filter-bar button { min-height: 44px; display: inline-flex; align-items: center; font-size: .875rem; }

  .colors-copy h2, .finish-copy h2, .calculator-copy h2, .about-title h2 { font-size: clamp(1.8rem,7.5vw,2.2rem); line-height: 1.25; }
  .color-choices { gap: 7px; }
  .color-pair { gap: 12px; flex-wrap: wrap; }
  .color-pair > div { gap: 4px; }
  .color-pair > div > button { width: 44px; height: 44px; border-width: 6px; }
  .room-label { left: 12px; right: 12px; width: max-content; max-width: calc(100% - 24px); font-size: .65rem; }
  .light-control { flex-wrap: wrap; gap: 8px; font-size: .9375rem; }
  .light-control input { flex-basis: 100%; width: 100%; min-height: 44px; margin: 0; }
  .finish-options > button { min-height: 52px; }
  .auto-copy { padding: 30px 24px; }
  .auto-copy h2 { font-size: clamp(1.65rem,7.1vw,2.1rem); }
  .auto-copy p { font-size: 1rem; }
  .auto-copy .button { min-height: 48px; width: 100%; padding: 12px 15px; font-size: .875rem; }
  .calculator-form { padding: 24px 20px; }
  .calculator-form label { font-size: .875rem; }
  .calculator-form input, .calculator-form select, .quote-store select { min-height: 48px; font-size: 1rem; }
  .calculator-form > .button { min-height: 48px; }
  .calculator-copy > p, .finish-copy > p { font-size: 1rem; }
  .form-grid { gap: 16px 12px; }

  .stores-grid { grid-template-columns: 1fr; gap: 16px; }
  .store-card { padding: 24px; }
  .store-card > .eyebrow, .store-card h3, .store-card address { min-height: 0; }
  .store-card > .eyebrow { font-size: .75rem; }
  .store-card h3 { font-size: 1.35rem; margin-block: 10px; }
  .store-card address { font-size: .9375rem; }
  .store-phone { font-size: 1rem; min-height: 44px; padding-block: 10px; }
  .store-actions { flex-direction: row; flex-wrap: wrap; gap: 8px 24px; margin-top: 4px; }
  .store-actions a { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; }
  .official-contacts { font-size: .875rem; line-height: 1.6; }
  .faq-section summary { min-height: 60px; font-size: .9375rem; }
  .faq-section summary::after { flex: none; }
  .footer-grid { gap: 30px 20px; }
  .footer-grid > div { min-width: 0; }
  .footer-grid > div > a:not(.logo), .footer-grid > div > button { min-height: 38px; margin-bottom: 2px; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .footer-bottom span:last-child { max-width: none; text-align: left; }

  .cart-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); padding: 20px; overscroll-behavior: contain; }
  .cart-heading { gap: 12px; padding-bottom: 16px; }
  .cart-heading .eyebrow { font-size: .65rem; }
  .cart-heading h2 { font-size: 1.5rem; }
  .icon-button { min-width: 44px; min-height: 44px; }
  .cart-item { display: grid; grid-template-columns: 48px minmax(0,1fr) 44px; gap: 12px; }
  .cart-item > img { width: 48px; height: 64px; grid-row: 1; }
  .cart-item-copy { grid-column: 2; min-width: 0; }
  .cart-item-copy strong { font-size: .875rem; line-height: 1.45; }
  .quantity-control { grid-column: 2; margin: 0; width: max-content; }
  .quantity-control button { width: 44px; min-height: 44px; }
  .quantity-control > span { min-width: 28px; }
  .remove-item { grid-column: 3; grid-row: 1; margin: 0; align-self: start; }
  .cart-total { flex-wrap: wrap; gap: 8px; }
  .quote-note { font-size: .875rem; }
  .quote-secondary { flex-wrap: wrap; gap: 4px 24px; }
  .quote-secondary > button, .cart-continue { min-height: 44px; }
  .whatsapp-quote { min-height: 48px; font-size: .875rem; text-align: center; padding-inline: 12px; }
  .toast { bottom: max(16px,env(safe-area-inset-bottom)); font-size: .875rem; padding: 12px 16px; }
}

@media (max-width: 360px) {
  .header-actions { gap: 9px; }
  .header-action { font-size: .7rem; }
  .header .logo { font-size: 1.95rem; }
  .hero-content { padding-inline: 20px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 8px; }
  .product-grid { gap: 10px; }
  .product-card { padding-inline: 10px; }
  .product-tag { font-size: .6rem; }
  .product-picture { height: 144px; }
  .product-card .button { font-size: .8125rem; }
  .form-grid { grid-template-columns: 1fr; }
  .calculator-form { padding-inline: 18px; }
  .cart-dialog { padding: 16px; }
}
