/* Touch refinements share the existing visual identity in both languages. */
@media (max-width: 760px) {
  :root { --touch-radius: 10px; }
  html { scroll-padding-bottom: calc(100px + env(safe-area-inset-bottom)); }

  .button {
    min-height: 50px;
    padding: 15px 18px;
    border-radius: var(--touch-radius);
    font-size: 13px;
    line-height: 1.5;
    box-shadow: 0 4px 12px rgba(66, 24, 33, .10);
  }
  .button > span { flex-shrink: 0; }
  .button.secondary { background: #fffaf5; box-shadow: none; }
  .button.light { box-shadow: none; }
  .button:active, .card-details:active, .mobile-bar a:active {
    filter: brightness(.95);
  }
  .hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    gap: 10px;
    align-items: stretch;
  }
  .hero-actions > .button {
    justify-content: center;
    gap: 10px;
    min-width: 0;
    padding: 12px;
    font-size: 12.5px;
  }
  .text-link, .facts-bar > a {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 46px;
    padding: 11px 14px;
    border: 1px solid #cbb9a8;
    border-radius: var(--touch-radius);
    background: #fffaf5;
    color: var(--wine);
    font-size: 12.5px;
    line-height: 1.5;
  }
  .hero-actions > .text-link {
    min-width: 0;
    justify-content: center;
    padding: 12px 10px;
    text-align: center;
    font-size: 12px;
    line-height: 1.45;
  }
  .designer-section .text-link {
    background: rgba(255, 255, 255, .06);
    border-color: #a98a79;
    color: var(--paper);
  }
  .editorial-links { display: grid; gap: 10px; }
  .editorial-links a {
    min-height: 52px;
    padding: 13px 15px;
    border: 1px solid #cbb9a8;
    border-radius: var(--touch-radius);
    background: #f7f4ee;
    color: var(--wine);
  }
  .editorial-links a span { font-size: 13px; line-height: 1.5; }

  .site-header .language-switch { gap: 5px; }
  .language-switch a, .site-header .language-switch a {
    min-width: 44px;
    min-height: 44px;
    padding: 9px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    font-size: 11px;
  }
  .language-switch a.active, .site-header .language-switch a.active {
    background: var(--wine);
    border-color: var(--wine);
    color: #fff;
  }
  .header-contact > a { min-height: 28px; padding: 4px 0; }
  .intro-section, .installation-section, .diy-section {
    grid-template-columns: minmax(0, 1fr);
  }
  .intro-section > *, .installation-section > *, .diy-section > * { min-width: 0; }
  .facts-bar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts-bar > div { min-width: 0; }

  .collection-tile {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
  }
  .collection-tile p { font-size: 11px; line-height: 1.65; }
  .collection-tile b {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 8px;
    border: 1px solid #cbb9a8;
    border-radius: 8px;
    background: var(--paper);
    color: var(--wine);
    text-align: center;
    font-size: 11.5px;
    line-height: 1.4;
  }
  .tabs {
    gap: 8px;
    padding: 2px 6.5% 10px 2px;
    border-bottom: 0;
    scroll-padding-inline: 4px;
    scrollbar-width: thin;
  }
  .tabs button, .tabs button:first-child {
    min-height: 46px;
    padding: 12px 15px;
    border: 1px solid #cbb9a8;
    border-radius: var(--touch-radius);
    background: #fffaf5;
    color: var(--wine);
    font-size: 12px;
  }
  .tabs button.active { background: var(--wine); border-color: var(--wine); color: #fff; }
  .tabs button.active span { color: #ead8cb; }
  .catalog-controls { gap: 12px; }
  .catalog-controls input, .catalog-controls select,
  #calculator-form input, #calculator-form select, #calculator-form textarea,
  .collection-search input, #diy-model {
    min-height: 48px;
    border-radius: var(--touch-radius);
    background: #fff;
    font-size: 16px;
  }
  .reset-filters, .text-button {
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #cbb9a8;
    border-radius: 8px;
    background: #fffaf5;
    color: var(--wine);
    font-size: 12px;
    line-height: 1.5;
  }
  .reset-filters { flex: 0 0 auto; }
  .catalog-status { gap: 12px; align-items: center; }
  .catalog-status p { font-size: 11px; line-height: 1.6; }
  .catalog-status > button { max-width: 52%; }
  .card-visual { border-radius: 10px; }
  .save-model { width: 44px; height: 44px; font-size: 25px; }
  .card-description { font-size: 12px; line-height: 1.7; }
  .card-bottom > span { font-size: 11px; line-height: 1.5; }
  .card-details {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    margin-top: 10px;
    padding: 11px 9px;
    border: 1px solid #baa48c;
    border-radius: 9px;
    background: #eee5da;
    color: var(--wine);
    font-size: 12px;
    line-height: 1.5;
  }
  .show-more-wrap button { min-width: 0; width: 100%; }
  .diy-controls { gap: 9px; }
  .diy-controls button {
    min-height: 44px;
    padding: 11px 13px;
    border-radius: 9px;
    font-size: 12px;
  }
  #calculator-form { border-radius: 14px; }
  #calculator-form .calc-result { border-radius: 10px; }
  #calculator-form .calc-actions { flex-direction: column; }
  #calculator-form .calc-actions > .button { width: 100%; font-size: 13px; }
  .pro-actions { align-items: stretch; }
  .pro-actions > .button { width: 100%; }
  .library-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 26px;
  }
  .library-links > span, .library-links > a:first-of-type { grid-column: 1 / -1; }
  .library-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #c7b6a6;
    border-radius: var(--touch-radius);
    background: #fffaf5;
    color: var(--wine);
    font-size: 13px;
    line-height: 1.5;
  }
  .library-links > a:first-of-type { background: var(--wine); border-color: var(--wine); color: #fff; }
  .faq-list { display: grid; gap: 10px; }
  .faq-list details, .faq-list details:first-child {
    padding: 10px 15px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fffaf5;
  }
  .faq-list summary { min-height: 44px; align-content: center; font-size: 14px; line-height: 1.6; }
  .faq-list summary::after { top: 6px; }
  .faq-list p { margin: 8px 0 7px; font-size: 13px; }
  .closing > div > .button { width: 100%; }
  .contact-email-list a {
    padding: 18px;
    border: 1px solid #cebeae;
    border-radius: 12px;
    background: var(--paper);
  }
  .reader-contact { align-items: stretch; gap: 12px; }
  .reader-contact > a:not(.button), .library-contacts > a {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 12px 14px;
    border: 1px solid #cbb9a8;
    border-radius: var(--touch-radius);
    background: #fffaf5;
    color: var(--wine);
    font-size: 13px;
    line-height: 1.5;
  }
  .collection-model-nav { gap: 8px; padding-bottom: 22px; }
  .collection-model-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 13px;
    border: 1px solid #cbb9a8;
    border-radius: 9px;
    background: #fffaf5;
    color: var(--wine);
    font-size: 12px;
    line-height: 1.4;
  }
  .collection-page .site-header { min-height: 96px; height: auto; }
  .collection-page .site-header > a:nth-child(2) {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--wine);
    line-height: 1.4;
  }

  .mobile-bar {
    left: 12px;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    grid-template-columns: 1fr 1.35fr;
    gap: 7px;
    padding: 7px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: rgba(247, 244, 238, .97);
    box-shadow: 0 5px 24px rgba(41, 35, 31, .16);
  }
  .mobile-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 10px;
    border: 1px solid #cbb9a8;
    border-radius: var(--touch-radius);
    background: #fffaf5;
    color: var(--wine);
    font-size: 13px;
    line-height: 1.4;
  }
  .mobile-bar a:last-child { border-color: var(--wine); }
  dialog {
    width: calc(100% - 20px);
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    border-radius: 15px;
    overscroll-behavior: contain;
  }
  .dialog-close {
    width: 44px;
    height: 44px;
    top: 10px;
    right: 10px;
    margin: 10px 10px -54px 0;
    box-shadow: 0 3px 10px rgba(41, 35, 31, .14);
  }
  .dialog-copy { padding: 28px 22px; }
  .dialog-copy > p:not(.eyebrow) { font-size: 13px; }
  .gallery-switch { gap: 8px; }
  .gallery-switch button { min-height: 44px; border-radius: 9px; padding: 11px 12px; font-size: 12px; }
  .dialog-phone { min-height: 44px; font-size: 12px; line-height: 1.6; }
}

@media (max-width: 359px) {
  h2, .editorial-copy h2, .detail-content h2, .calculator-intro h2,
  .designer-section h2, .faq-section h2, .closing h2,
  .diy-section h2, .installation-section h2 {
    font-size: 36px;
    letter-spacing: -1.1px;
    line-height: 1.12;
  }
  .facts-bar strong { font-size: clamp(16px, 5vw, 18px); line-height: 1.3; }
  .facts-bar span { font-size: 9px; line-height: 1.6; }
  .mount-diagram { flex-direction: column; align-items: stretch; gap: 6px; }
  .mount-diagram b { align-self: center; transform: rotate(90deg); }
  .hero-actions { grid-template-columns: 1fr; }
  .hero-actions > .button, .hero-actions > .text-link { min-height: 50px; font-size: 13px; }
  .collection-tiles { grid-template-columns: 1fr; }
  .collection-tile > img { max-height: 330px; object-fit: cover; }
  .collection-tile p { min-height: 0; }
  .collection-page .site-header { flex-wrap: wrap; gap: 8px; }
  .collection-page .site-header > a:nth-child(2) { order: 3; width: 100%; justify-content: center; }
  .reader-header-actions { margin-left: auto; }
  .library-links { grid-template-columns: 1fr; }
  .calc-result { grid-template-columns: 1fr; }
  .mobile-bar { left: 9px; right: 9px; }
}
