/* Unified premium navigation for desktop and mobile. */
.site-menu-toggle, .site-menu-panel, .site-menu-backdrop { display:none; }
.site-menu-panel[hidden], .site-menu-backdrop[hidden] { display:none !important; }
.header { z-index:1001 !important; background:rgba(250,248,245,.96); border-bottom:1px solid rgba(97,27,34,.13); box-shadow:0 4px 18px rgba(38,29,26,.035); backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px); }
.site-menu-ready .header .nav { display:none !important; }
.header .header-actions .phone { display:none !important; }
.header .header-inner { box-sizing:border-box; width:min(1360px,calc(100% - 64px)); max-width:1360px; height:92px; margin:0 auto; gap:24px; }
.header .logo { flex:none; color:#641d25; font-size:30px; white-space:nowrap; text-decoration:none; }
.header .header-actions { display:flex; align-items:center; justify-content:flex-end; gap:12px; margin-left:auto; }
.header .header-actions .phone { color:#4b4140; font-size:13px; white-space:nowrap; text-decoration:none; }
.header .header-actions .btn { min-height:46px; padding:0 17px; border:1px solid #641d25; border-radius:3px; background:#641d25; color:#fff; font-size:12px; font-weight:600; letter-spacing:.065em; white-space:nowrap; box-shadow:none; }
.header .header-actions .btn:hover { background:#4e151c; }
.header .site-cabinet-link { display:inline-flex; flex:none; align-items:center; justify-content:center; gap:8px; min-height:46px; padding:0 13px; border:1px solid rgba(97,27,34,.19); border-radius:3px; color:#352d2b; background:rgba(255,255,255,.55); font:500 12px/1.2 Inter,Arial,sans-serif; letter-spacing:.025em; text-decoration:none; white-space:nowrap; transition:background .18s ease,border-color .18s ease,color .18s ease; }
.header .site-cabinet-link:hover { color:#641d25; border-color:rgba(97,27,34,.42); background:#fff; }
.header .site-cabinet-link[data-authenticated="true"] { color:#641d25; border-color:rgba(97,27,34,.38); background:#fff; }
.site-cabinet-icon { width:17px; height:17px; flex:none; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.site-menu-toggle { display:inline-flex; flex:none; align-items:center; justify-content:center; gap:11px; min-width:94px; height:46px; padding:0 14px; border:1px solid rgba(97,27,34,.24); border-radius:3px; color:#641d25; background:transparent; font:600 11px/1 Inter,Arial,sans-serif; letter-spacing:.11em; text-transform:uppercase; cursor:pointer; transition:color .18s ease,border-color .18s ease,background .18s ease; }
.site-menu-toggle:hover, .header.is-menu-open .site-menu-toggle { background:#f1eae5; border-color:rgba(97,27,34,.45); }
.site-call-icon { width:16px; height:16px; flex:none; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.site-menu-icon { display:flex; width:18px; flex-direction:column; gap:5px; }
.site-menu-icon span { display:block; width:18px; height:1.5px; background:currentColor; transition:transform .18s ease,opacity .18s ease; }
.header.is-menu-open .site-menu-icon span:first-child { transform:translateY(6.5px) rotate(45deg); }
.header.is-menu-open .site-menu-icon span:nth-child(2) { opacity:0; }
.header.is-menu-open .site-menu-icon span:last-child { transform:translateY(-6.5px) rotate(-45deg); }
.site-menu-backdrop:not([hidden]) { display:block; position:fixed; inset:0; z-index:1000; background:rgba(32,25,23,.24); }
.site-menu-panel:not([hidden]) { box-sizing:border-box; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); position:absolute; top:calc(100% + 12px); right:max(32px,calc((100vw - 1360px)/2)); z-index:1002; width:min(820px,calc(100vw - 64px)); max-height:calc(100dvh - 116px); overflow-y:auto; padding:27px 32px 30px; border:1px solid #e6ded7; border-radius:4px; background:#fbf9f6; box-shadow:0 24px 58px rgba(35,26,24,.18); }
.site-menu-panel-head { grid-column:1/-1; display:flex; align-items:center; justify-content:space-between; gap:16px; margin:0 0 12px; padding:0 0 16px; border-bottom:1px solid #e6ded7; }
.site-menu-panel-head strong { color:#641d25; font:500 22px/1.15 'Playfair Display',Georgia,serif; }
.site-menu-panel-head span { color:#817672; font:500 10px/1.3 Inter,Arial,sans-serif; letter-spacing:.16em; text-transform:uppercase; }
.site-menu-panel a { display:flex; align-items:center; min-height:64px; padding:10px 12px 10px 2px; border-bottom:1px solid #e9e2dc; color:#302927; font:500 17px/1.3 'Playfair Display',Georgia,serif; text-decoration:none; transition:padding .18s ease,color .18s ease,background .18s ease; }

.site-menu-panel a::after { content:'↗'; margin-left:auto; padding-left:10px; color:#8f6567; font:400 14px/1 Inter,Arial,sans-serif; }
.site-menu-panel a:hover, .site-menu-panel a[aria-current="page"] { padding-left:10px; color:#641d25; background:#f5f0ec; }
.site-menu-panel a:focus-visible, .site-menu-toggle:focus-visible, .site-cabinet-link:focus-visible, .header .btn:focus-visible, .header .phone:focus-visible { outline:2px solid #641d25; outline-offset:3px; }
@media (max-width:1050px) {
 .header .header-inner { width:calc(100% - 40px); gap:14px; }
 .header .header-actions { gap:8px; }
 .header .header-actions .phone { display:none; }
 .header .site-cabinet-link { padding-inline:11px; }
 .header .header-actions .btn { padding-inline:12px; }
}
@media (max-width:760px) {
 .header .header-inner { height:70px; width:calc(100% - 32px); gap:8px; }
 .header .logo { font-size:25px; }
 .header .header-actions { gap:7px; }
 .header .site-cabinet-link { min-height:44px; padding:0 9px; gap:6px; font-size:11px; }
 .header .site-cabinet-label { display:none; }
 .header .site-cabinet-short { display:inline; }
 .header .header-actions .site-call-action { box-sizing:border-box; display:inline-flex; align-items:center; justify-content:center; flex:none; width:44px; min-width:44px; height:44px; min-height:44px; padding:0; font-size:0; }
 .header .site-call-action .site-call-label { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
 .site-menu-toggle { min-width:44px; width:44px; height:44px; padding:0; }
 .site-menu-toggle .site-menu-label { display:none; }
 .site-menu-panel:not([hidden]) { top:100%; right:0; left:0; width:auto; max-height:calc(100dvh - 70px); padding:18px 22px 24px; border-radius:0; border-right:0; border-left:0; }
 .site-menu-panel a { min-height:58px; font-size:16px; }
 .site-menu-panel-head strong { font-size:20px; }
}
@media (max-width:350px) {
 .header .header-inner { width:calc(100% - 28px); }
 .header .header-actions .btn { min-height:44px; padding-inline:8px; font-size:10px; letter-spacing:.015em; }
 .header .site-cabinet-link { box-sizing:border-box; width:auto; min-width:44px; max-width:68px; padding:0 5px; font-size:10px; letter-spacing:0; }
 .header .site-cabinet-icon { display:none; }
 .header .site-cabinet-short { position:static; width:auto; height:auto; padding:0; margin:0; overflow:visible; clip:auto; white-space:nowrap; border:0; }
 .site-menu-panel:not([hidden]) { grid-template-columns:minmax(0,1fr); padding:14px 18px 20px; }
 .site-menu-panel-head { align-items:flex-start; flex-direction:column; gap:6px; }
}
@media (max-width:340px) { .header .logo { font-size:23px; } }
@media (prefers-reduced-motion:reduce) { .site-menu-toggle,.site-menu-icon span,.header .site-cabinet-link,.site-menu-panel a { transition:none; } }

/* Existing page-specific mobile treatments preserved from the live baseline. */
@media (max-width: 650px) {
  .page-home .hero .hero-overlay { background: linear-gradient(90deg,rgba(249,249,248,.84),rgba(249,249,248,.54)) !important; }
  .page-home .hero .hero-subtitle { color: #29221f !important; opacity: 1 !important; }
  .page-contacts footer > .container:first-child { grid-template-columns: minmax(0,1fr) !important; }
  .page-rods footer .container > div[style*="display: flex"] { flex-wrap: wrap !important; gap: 14px 22px !important; max-width: 100%; }
}
@media (min-width: 993px) {
  .page-home .catalog-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 650px) {
  body.page-contacts #modal-callback-close {
    box-sizing: border-box !important;
    display: grid !important;
    place-items: center !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    top: 8px !important;
    right: 8px !important;
    border-radius: 2px;
  }
}


/* Callback request modal */
.callback-modal[hidden] { display:none !important; }
.callback-modal { box-sizing:border-box; position:fixed; inset:0; z-index:1500; display:grid; place-items:center; padding:24px; }
.callback-modal__backdrop { position:absolute; inset:0; background:rgba(27,22,21,.62); backdrop-filter:blur(9px); -webkit-backdrop-filter:blur(9px); }
.callback-modal__dialog { box-sizing:border-box; position:relative; z-index:1; width:min(100%,720px); max-height:min(90dvh,820px); overflow:auto; overscroll-behavior:contain; padding:34px 38px 32px; border:1px solid #e6dcd5; border-radius:4px; background:#fbf9f6; color:#2e2927; box-shadow:0 24px 72px rgba(24,18,16,.26); }
.callback-modal__close { position:absolute; top:16px; right:16px; display:grid; place-items:center; width:44px; height:44px; border:1px solid rgba(97,27,34,.2); border-radius:2px; background:transparent; color:#641d25; font:300 28px/1 Inter,Arial,sans-serif; cursor:pointer; }
.callback-modal__eyebrow { margin:0 50px 8px 0; color:#7a3035; font:600 10px/1.4 Inter,Arial,sans-serif; letter-spacing:.16em; text-transform:uppercase; }
.callback-modal__dialog h2 { margin:0 52px 9px 0; color:#302725; font:400 clamp(28px,4vw,38px)/1.12 'Playfair Display',Georgia,serif; }
.callback-modal__intro { max-width:560px; margin:0 0 24px; color:#716966; font:400 14px/1.55 Inter,Arial,sans-serif; }
.callback-form__channels { margin:0 0 20px; padding:0; border:0; }
.callback-form__channels legend { margin:0 0 9px; color:#5a504d; font:500 12px/1.4 Inter,Arial,sans-serif; }
.callback-channel-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
.callback-channel { box-sizing:border-box; position:relative; display:flex; min-width:0; min-height:66px; align-items:center; padding:10px 15px; border:1px solid #d8cec7; border-radius:2px; background:rgba(255,255,255,.55); cursor:pointer; transition:border-color .15s ease,background .15s ease,color .15s ease; }
.callback-channel:hover { border-color:#8f565a; background:#fff; }
.callback-channel[data-selected="true"] { border-color:#641d25; background:#f1e8e4; box-shadow:inset 0 0 0 1px #641d25; color:#641d25; }
.callback-channel input { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.callback-channel input:focus-visible + .callback-channel__content { outline:2px solid #641d25; outline-offset:4px; }
.callback-channel__content { display:flex; flex-direction:column; gap:3px; min-width:0; }
.callback-channel__title { color:inherit; font:500 14px/1.25 Inter,Arial,sans-serif; }
.callback-channel__hint { color:#837a75; font:400 11px/1.25 Inter,Arial,sans-serif; }
.callback-form__fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin-bottom:16px; }
.callback-field { display:flex; flex-direction:column; gap:7px; min-width:0; }
.callback-field label { color:#554b48; font:500 12px/1.4 Inter,Arial,sans-serif; }
.callback-field input { box-sizing:border-box; width:100%; min-height:48px; padding:0 13px; border:1px solid #d8cec7; border-radius:2px; background:#fff; color:#302725; font:400 15px/1.4 Inter,Arial,sans-serif; }
.callback-field input:focus { outline:2px solid rgba(100,29,37,.24); border-color:#641d25; }
.callback-field input[aria-invalid="true"] { border-color:#a33232; }
.callback-field__error { min-height:0; color:#9d2929; font:400 12px/1.35 Inter,Arial,sans-serif; }
.callback-field__error:empty { display:none; }
.callback-consent { display:flex; align-items:flex-start; gap:10px; margin:0 0 12px; color:#716966; font:400 11px/1.45 Inter,Arial,sans-serif; cursor:pointer; }
.callback-consent input { flex:none; width:18px; height:18px; margin:0; accent-color:#641d25; }
.callback-form__status { min-height:0; margin:0; color:#716966; font:400 13px/1.45 Inter,Arial,sans-serif; }
.callback-form__status:empty { display:none; }
.callback-form__status[data-state="error"] { margin:4px 0 10px; color:#9d2929; }
.callback-form__submit { box-sizing:border-box; display:inline-flex; align-items:center; justify-content:center; width:100%; min-height:48px; margin-top:8px; padding:11px 20px; border:1px solid #641d25; border-radius:2px; background:#641d25; color:#fff; font:600 13px/1.3 Inter,Arial,sans-serif; letter-spacing:.035em; cursor:pointer; transition:background .15s ease,border-color .15s ease,opacity .15s ease; }
.callback-form__submit:hover:not(:disabled) { border-color:#4e151c; background:#4e151c; }
.callback-form__submit:disabled { cursor:wait; opacity:.62; }
.callback-modal button:focus-visible, .callback-field input:focus-visible, .callback-consent input:focus-visible { outline:2px solid #641d25; outline-offset:3px; }
.callback-success { text-align:center; padding:14px 0 2px; }
.callback-success[hidden] { display:none !important; }
.callback-success__mark { display:grid; place-items:center; width:48px; height:48px; margin:0 auto 15px; border:1px solid rgba(100,29,37,.3); border-radius:50%; color:#641d25; font-size:22px; }
.callback-success h3 { margin:0 0 9px; color:#302725; font:400 27px/1.2 'Playfair Display',Georgia,serif; }
.callback-success p { margin:0 0 14px; color:#716966; font:400 14px/1.5 Inter,Arial,sans-serif; }
@media (max-width:760px) {
 .callback-modal { padding:14px; }
 .callback-modal__dialog { max-height:calc(100dvh - 28px); padding:27px 22px 22px; }
 .callback-modal__close { top:10px; right:10px; }
 .callback-modal__intro { margin-bottom:19px; padding-right:12px; }
 .callback-channel-grid { gap:8px; }
 .callback-channel { min-height:60px; padding:9px 11px; }
}
@media (max-width:480px) {
 .callback-modal { padding:10px; }
 .callback-modal__dialog { max-height:calc(100dvh - 20px); padding:23px 17px 19px; }
 .callback-modal__eyebrow { font-size:9px; }
 .callback-modal__dialog h2 { font-size:29px; }
 .callback-modal__intro { font-size:13px; }
 .callback-form__fields { grid-template-columns:minmax(0,1fr); gap:12px; }
 .callback-field input { min-height:48px; }
 .callback-channel-grid { gap:7px; }
 .callback-channel { min-height:58px; padding:8px 9px; }
 .callback-channel__title { font-size:13px; }
 .callback-channel__hint { font-size:10px; }
 .callback-consent { font-size:10px; }
}
@media (prefers-reduced-motion:reduce) {
 .callback-channel,.callback-form__submit { transition:none; }
}
