/* Shared mobile atelier style, based on the approved home page. */
@media (max-width: 768px) {
  body.page-fabrics, body.page-rods, body.page-contacts { background: #f8f4ee; color: #30241f; }
  :is(.page-fabrics,.page-rods,.page-contacts) .header { background: #faf8f4; border-bottom: 1px solid #e9ddd3; box-shadow: none; backdrop-filter: none; }
  :is(.page-fabrics,.page-rods,.page-contacts) .header-inner { height: 58px; padding-inline: 18px; }
  :is(.page-fabrics,.page-rods,.page-contacts) .header .logo { font-size: 25px; letter-spacing: -.045em; }
  :is(.page-fabrics,.page-rods,.page-contacts) .header .phone { display: none; }
  :is(.page-fabrics,.page-rods,.page-contacts) .header .btn-primary { background: #611b22; border-color: #611b22; padding: 10px 12px; font-size: 10px; border-radius: 3px; }
  :is(.page-fabrics,.page-rods,.page-contacts) .site-menu-toggle { background: transparent; border-color: transparent; min-width: 42px; min-height: 44px; }
  :is(.page-fabrics,.page-rods,.page-contacts) .container { padding-inline: 20px; }
  :is(.page-fabrics,.page-rods,.page-contacts) .btn { min-height: 46px; font-size: 13px; letter-spacing: .01em; text-transform: none; border-radius: 3px; }
  :is(.page-fabrics,.page-rods,.page-contacts) .btn-accent { background: #611b22; border: 1px solid #611b22; color: #fff; }
  :is(.page-fabrics,.page-rods,.page-contacts) .btn-outline { border: 1px solid #9b7773; color: #611b22; background: transparent; }
  :is(.page-fabrics,.page-rods,.page-contacts) :is(input,select,textarea) { font-size: 16px; border-radius: 3px; border-color: #d8c9bc; }
  :is(.page-fabrics,.page-rods,.page-contacts) :is(button,a,input,select,textarea):focus-visible { outline: 2px solid #611b22; outline-offset: 3px; }
  .page-fabrics .page-hero { height: auto !important; min-height: 0 !important; margin-top: 58px !important; padding: 34px 0 28px !important; background: #f8f4ee !important; text-align: left !important; }
  .page-fabrics .page-hero > div:first-child:not(.container) { display: none; }
  .page-fabrics .page-hero .container { color: #30241f !important; }
  .page-fabrics .page-hero h1 { color: #611b22 !important; font-size: 36px !important; line-height: 1.15 !important; margin-bottom: 14px !important; }
  .page-fabrics .page-hero p { color: #69574b !important; font-size: 15px !important; line-height: 1.6 !important; }
  .page-fabrics .fabric-collections { padding-top: 10px; }
  .page-fabrics .collection-row { margin-bottom: 24px; gap: 18px; }
  .page-fabrics .collection-text h2 { font-size: 29px; color: #30241f; margin-bottom: 12px; }
  .page-fabrics .collection-text p { font-size: 15px; line-height: 1.6; color: #69574b; }
  .page-fabrics .palette-toggle-btn { width: 100%; justify-content: space-between; }
  .page-fabrics .offset-image { border-radius: 4px; }
  .page-fabrics .palette-drawer { padding: 20px 14px; border-radius: 4px; background: #fffcf8; box-shadow: none; border: 1px solid #e7ddd3; }
  .page-fabrics .palette-header-bar { gap: 12px; margin-bottom: 20px; padding-bottom: 16px; }
  .page-fabrics .palette-title-group h3 { display: block; font-size: 26px; line-height: 1.2; }
  .page-fabrics .palette-count-badge { display: block; width: fit-content; margin-top: 10px; padding: 5px 8px; font-size: 10px; background: #eee3dc; border-radius: 3px; }
  .page-fabrics .palette-close-btn { min-height: 44px; border-radius: 3px; color: #611b22; font-size: 12px; }
  .page-fabrics .palette-grid { gap: 22px; }
  .page-fabrics .palette-card { border-radius: 4px; border: 1px solid #e7ddd3; box-shadow: none; }
  .page-fabrics .palette-card-body { padding: 18px 16px; }
  .page-fabrics .palette-card-name { font-size: 25px; line-height: 1.2; }
  .page-fabrics .palette-card-desc { font-size: 14px; line-height: 1.6; color: #69574b; }
  .page-fabrics .palette-pill-badge { display: none; }
  .page-fabrics .palette-pill-origin { font-size: 10px; border-radius: 3px; }
  .page-fabrics .palette-specs-grid { gap: 12px; padding: 14px 0; }
  .page-fabrics .palette-spec-label { font-size: 10px; color: #69574b; }
  .page-fabrics .palette-spec-val { font-size: 12px; }
  .page-fabrics .palette-card-actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .page-fabrics :is(.btn-sample,.btn-calculate) { width: 100%; min-height: 46px; border-radius: 3px; padding: 12px; font-size: 13px; text-transform: none; letter-spacing: .01em; }
  .page-fabrics .btn-sample { border: 1px solid #9b7773; background: transparent; color: #611b22; }
  .page-fabrics .btn-calculate { border: 1px solid #611b22; background: #611b22; color: #fff; }
  .page-rods .rod-hero-bright { background: #f8f4ee !important; height: auto !important; min-height: 0 !important; padding: 90px 0 26px !important; margin-top: 0 !important; }
  .page-rods .rod-hero-bright::before { display: none; }
  .page-rods .rod-hero-clean-content { max-width: 560px; padding: 0; text-align: left; }
  .page-rods .rod-hero-badge { padding: 0; background: transparent; border: 0; border-radius: 0; color: #762e35; font-size: 10px; letter-spacing: .15em; margin-bottom: 14px; }
  .page-rods .rod-hero-title { font-size: 36px !important; line-height: 1.15 !important; color: #611b22 !important; margin-bottom: 16px; }
  .page-rods .rod-hero-desc { font-size: 15px !important; line-height: 1.6 !important; color: #69574b !important; }
  .page-rods .rod-compact-nav-btn { border-radius: 3px; min-height: 48px; box-shadow: none; border-color: #d8c9bc; font-size: 12px; }
  .page-rods .rod-section-title { font-size: 29px !important; line-height: 1.2 !important; }
  .page-rods .rod-section-subtitle { font-size: 15px !important; line-height: 1.6 !important; }
  .page-rods .rod-item-card { border-radius: 4px; box-shadow: none; border-color: #e7ddd3 !important; }
  .page-rods .rod-card-body { padding: 20px 18px !important; }
  .page-rods .rod-card-title { font-size: 26px !important; line-height: 1.2 !important; }
  .page-rods .rod-card-desc { font-size: 14px !important; line-height: 1.6 !important; }
  .page-rods .rod-more { border-radius: 3px; }
  .page-rods .rod-card-footer { gap: 14px; }
  .page-contacts .contacts-hero { padding: 88px 0 28px; min-height: 0; background: #f8f4ee; text-align: left; }
  .page-contacts .contacts-hero::before { display: none; }
  .page-contacts .contacts-eyebrow { padding: 0; border: 0; background: transparent; color: #762e35; font-size: 10px; letter-spacing: .13em; }
  .page-contacts .contacts-hero-title { font-size: 36px; line-height: 1.15; color: #611b22; }
  .page-contacts .contacts-hero-subtitle { font-size: 15px; line-height: 1.6; color: #69574b; }
  .page-contacts .hero-contacts-bar { justify-content: flex-start; gap: 8px; margin-top: 20px; }
  .page-contacts .compact-contact-chip { border-radius: 3px; min-height: 44px; box-shadow: none; border-color: #d8c9bc; font-size: 12px; }
  .page-contacts .branches-section { padding: 30px 0; }
  .page-contacts .section-heading { font-size: 29px; line-height: 1.2; }
  .page-contacts .section-desc { font-size: 14px; line-height: 1.6; }
  .page-contacts .branch-tab-btn { border-radius: 3px; box-shadow: none; font-size: 12px; min-height: 46px; }
  .page-contacts .branch-card { border-radius: 4px; box-shadow: none; border: 1px solid #e7ddd3; }
  .page-contacts .branch-card-body { padding: 20px 18px; }
  .page-contacts .branch-title { font-size: 25px; }
  .page-contacts .branch-info-item { font-size: 13px; line-height: 1.6; }
  .page-contacts :is(.btn-nav-gis,.btn-nav-yandex) { min-height: 44px; border-radius: 3px; background: #f8f4ee; border-color: #d8c9bc; color: #611b22; }
  .page-contacts .appointment-section { padding: 30px 0; scroll-margin-top: 70px; }
  .page-contacts .appointment-box { border: 1px solid #e7ddd3; border-radius: 4px; box-shadow: none; }
  .page-contacts .appointment-visual { padding: 24px 20px; background: #eee3dc; color: #30241f; }
  .page-contacts .appointment-visual .section-tag { color: #762e35 !important; }
  .page-contacts .appointment-visual-title { font-size: 29px; line-height: 1.2; color: #611b22; margin-bottom: 12px; }
  .page-contacts .appointment-visual-text { font-size: 14px; line-height: 1.6; color: #69574b; }
  .page-contacts .appointment-perks { gap: 10px; margin-top: 18px; }
  .page-contacts .perk-item { gap: 10px; font-size: 12px; line-height: 1.5; }
  .page-contacts .perk-icon { width: 26px; height: 26px; font-size: 14px; background: transparent; }
  .page-contacts .appointment-form-wrap { padding: 24px 18px; background: #fffcf8; }
  .page-contacts .form-tab-btn { padding: 10px 8px; min-height: 46px; border-radius: 3px; font-size: 12px; }
  .page-contacts .form-tab-btn.active { color: #fff; background: #611b22; }
  .page-contacts .btn-submit-appointment { min-height: 48px; border-radius: 3px; background: #611b22; font-size: 13px; letter-spacing: .01em; }
}

@media (max-width:768px) { .page-contacts .perk-item, .page-contacts .perk-item span { color:#51443c !important; } .page-rods .rod-compact-nav-btn { gap:6px; padding:12px 10px; white-space:normal; } }
