/* ============================================================
   Möbel&Zeit Outlet — новая версия (светлая тема)
   Полностью отдельная стилевая система: Golos Text, красный
   акцент #e1231c, 12-колоночная сетка. Не использует токены
   premium.css / outlet.css и не должна с ними пересекаться.
   ============================================================ */

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:'Golos Text',system-ui,-apple-system,sans-serif;color:#141414;background:#fff;-webkit-font-smoothing:antialiased}
a{color:#e1231c;text-decoration:none}
a:hover{color:#b81a14}
img{display:block;max-width:100%}
button{font-family:inherit;cursor:pointer;border:none;background:none}

.wrap{width:90%;margin:0 auto}
.g12{display:grid;grid-template-columns:repeat(12,1fr);gap:32px}
.sec{margin-top:72px}
.h-display{font-size:52px;line-height:1.04;font-weight:600;letter-spacing:-0.6px;text-transform:uppercase;margin:0}

.btn{height:60px;display:inline-flex;align-items:center;justify-content:center;gap:12px;border-radius:12px;font-weight:600;text-transform:uppercase;letter-spacing:.3px;transition:background .15s,color .15s,border-color .15s}
.btn-primary{background:#e1231c;color:#fff;padding:0 32px;font-size:17px}
.btn-primary:hover{background:#c01a13;color:#fff}
.btn-outline{background:transparent;border:1.5px solid #e1231c;color:#e1231c}
.btn-outline:hover{background:#e1231c;color:#fff}
.btn-msgr-tg{background:#29a9eb;color:#fff}
.btn-msgr-max{background:#141414;color:#fff}

.arrow{width:60px;height:60px;border-radius:50%;border:1.5px solid #dcdcdc;display:flex;align-items:center;justify-content:center;color:#141414;flex:none;transition:border-color .15s,color .15s}
.arrow:hover{border-color:#e1231c;color:#e1231c}

.hero-copy{grid-column:span 5;align-self:center}
.hero-media{grid-column:span 7;position:relative;margin-right:calc(-1*(100vw - 100%)/2)}
.hero-img{height:620px;overflow:hidden;border-radius:30px 0 0 30px}
.hero-img img{width:100%;height:100%;object-fit:cover}
.hero-price{position:absolute;top:24px;left:24px;background:#fff;border-radius:18px;padding:18px 22px;box-shadow:0 18px 40px rgba(20,20,20,.16);z-index:2}
.hero-feats{display:flex;flex-wrap:wrap;gap:24px 34px;margin-bottom:40px}

.why-head{grid-column:span 3}
.why-cards{grid-column:span 9;display:grid;grid-template-columns:repeat(4,1fr);gap:32px}
.why-item{display:grid;grid-template-rows:36px auto 1fr;gap:12px}
.why-title{font-size:18px;font-weight:600;line-height:1.2;min-height:65px}

.rail-wrap{overflow:hidden}
.rail{display:flex;gap:24px;will-change:transform}
.card{flex:0 0 calc((100% - 96px)/5);scroll-snap-align:start;display:flex;flex-direction:column}
.card-img{height:210px;position:relative;border-radius:16px;overflow:hidden}
.card-img img{width:100%;height:100%;object-fit:cover}
.card-disc{position:absolute;top:13px;left:13px;background:#e1231c;color:#fff;font-size:14px;font-weight:600;padding:6px 12px;border-radius:8px;pointer-events:none}
.card-heart{position:absolute;top:13px;right:13px;width:36px;height:36px;background:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;pointer-events:none}
.card-spec{display:flex;align-items:center;gap:9px;font-size:14px;color:#5a5a5a}
.card-spec b{color:#141414;font-weight:400}
.card-price-real{font-size:21px;font-weight:600;color:#e1231c;filter:blur(6px);user-select:none}

.ints{display:grid;grid-template-columns:repeat(4,1fr);gap:32px}
.int{position:relative;border-radius:16px;overflow:hidden;height:240px;cursor:zoom-in}
.int img{pointer-events:none;width:100%;height:100%;object-fit:cover}

.tech{display:grid;grid-template-columns:5fr 7fr;min-height:540px;overflow:hidden}
.tech-media{position:relative;background:#000;min-height:540px}
.tech-media iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block}

.cta-top{display:flex;justify-content:space-between;align-items:center;gap:44px;flex-wrap:wrap}
.cta-feats{display:grid;grid-template-columns:repeat(3,1fr);gap:32px}

.hdr{display:flex;align-items:center;gap:26px 38px;padding:26px 0;flex-wrap:wrap}
.hdr-nav{display:flex;align-items:center;gap:30px;flex:1;white-space:nowrap}
.hdr-nav a{color:#2a2a2a;font-size:16px;font-weight:500}
.hdr-info{display:flex;align-items:center;gap:26px;flex:none}
.burger{display:none;width:46px;height:46px;border-radius:12px;background:#f2f1ee;align-items:center;justify-content:center;color:#141414;flex:none}
.mnav{display:none;flex-basis:100%;flex-direction:column;gap:18px;padding:16px 0 4px}
.hdr-open .mnav{display:flex}
.mnav a{font-size:19px;font-weight:600}

.lb-img{max-width:60vw;max-height:88vh;width:auto;height:auto;object-fit:contain;border-radius:12px;box-shadow:0 30px 80px rgba(0,0,0,.6)}

.ft{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:40px;padding:48px 0 20px;align-items:start}
.ft-bottom{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px;padding:22px 0 44px;border-top:1px solid rgba(0,0,0,.08)}
.ft-col-h{font-size:13px;font-weight:600;letter-spacing:.6px;text-transform:uppercase;color:#9a9a9a;margin-bottom:16px}
.ft nav a{color:#2a2a2a;font-size:16px;font-weight:500}
.ft-policy-btn{background:none;padding:0;font-size:14px;color:#8a8a8a;text-decoration:underline}
.ft-policy-btn:hover{color:#e1231c}

/* ---------- overlays / modals ---------- */
.ov{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:32px}
.ov[hidden]{display:none}
.ov-lb{background:rgba(15,15,15,.9);padding:40px;cursor:zoom-out}
.ov-modal{background:rgba(15,15,15,.55)}
.ov-close-round{position:absolute;top:26px;right:30px;width:48px;height:48px;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;display:flex;align-items:center;justify-content:center;transition:background .15s}
.ov-close-round:hover{background:rgba(255,255,255,.28)}
.modal-card{background:#fff;border-radius:22px;width:100%;max-height:86vh;overflow-y:auto;padding:44px 48px;box-shadow:0 30px 80px rgba(0,0,0,.4)}
.modal-card.policy{max-width:720px}
.modal-card.tech-modal{max-width:560px}
.modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:18px}
.modal-close{flex:none;width:42px;height:42px;border-radius:50%;background:#f2f1ee;display:flex;align-items:center;justify-content:center;color:#141414;transition:color .15s}
.modal-close:hover{color:#e1231c}
.modal-note{background:#f7f6f3;border-radius:14px;padding:16px 18px;font-size:14px;line-height:1.5;color:#6a6a6a;margin-bottom:24px}

/* ---------- product drawer (slide-in, white) ---------- */
.drawer-overlay{position:fixed;inset:0;z-index:1000;background:rgba(15,15,15,.55);opacity:0;pointer-events:none;transition:opacity .35s ease}
.drawer-overlay.open{opacity:1;pointer-events:auto}
.drawer-overlay[hidden]{display:none}
.drawer{position:fixed;top:0;right:0;bottom:0;z-index:1001;width:min(600px,100vw);background:#fff;box-shadow:-40px 0 100px -40px rgba(0,0,0,.5);overflow-y:auto;transform:translateX(100%);transition:transform .45s ease}
.drawer-overlay.open .drawer{transform:translateX(0)}
.drawer-close{position:sticky;float:right;top:18px;right:18px;margin-left:16px;z-index:5;width:42px;height:42px;border-radius:50%;background:#f2f1ee;display:flex;align-items:center;justify-content:center;color:#141414;transition:color .15s}
.drawer-close:hover{color:#e1231c}
.drawer-gallery{position:relative;aspect-ratio:4/3;background:#f2f1ee}
.drawer-gallery img{width:100%;height:100%;object-fit:cover;display:none}
.drawer-gallery img.active{display:block}
.drawer-gallery-nav{position:absolute;left:0;right:0;bottom:14px;display:flex;justify-content:center;gap:8px;z-index:3}
.drawer-gallery-nav button{width:8px;height:8px;border-radius:50%;border:1px solid rgba(20,20,20,.25);background:rgba(255,255,255,.6);padding:0;transition:background .2s,transform .2s}
.drawer-gallery-nav button.active{background:#e1231c;transform:scale(1.2)}
.drawer-gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.8);border:1px solid rgba(20,20,20,.12);color:#141414;transition:background .15s}
.drawer-gallery-arrow:hover{background:#fff}
.drawer-gallery-arrow.prev{left:14px}
.drawer-gallery-arrow.next{right:14px}
.drawer-body{padding:36px 40px 44px}
.drawer-flag{display:inline-block;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#e1231c;background:rgba(225,35,28,.08);border:1px solid rgba(225,35,28,.25);padding:6px 12px;border-radius:8px;margin-bottom:14px}
.drawer-body h2{font-size:26px;font-weight:600;letter-spacing:-.3px;color:#141414;margin:0}
.drawer-sub{font-size:14px;color:#8a8a8a;margin-top:4px}
.drawer-desc{font-size:15px;line-height:1.6;color:#4a4a4a;margin-top:18px}
.drawer-desc p+p{margin-top:12px}
.drawer-section{margin-top:28px;padding-top:24px;border-top:1px solid rgba(0,0,0,.08)}
.drawer-section h3{font-size:13px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:#9a9a9a;margin:0 0 14px}
.d-spec-row{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid rgba(0,0,0,.07);font-size:14px}
.d-spec-row:last-child{border-bottom:none}
.d-spec-row .sk{color:#8a8a8a}
.d-spec-row .sv{color:#141414;text-align:right;font-weight:500}
.d-reason{display:flex;gap:12px;align-items:flex-start;font-size:14px;color:#4a4a4a;line-height:1.55}
.d-reason svg{width:20px;height:20px;stroke:#e1231c;flex:none;margin-top:1px}
.drawer-price{margin-top:28px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.dp-left{display:flex;flex-direction:column;gap:8px}
.dp-badge{font-size:clamp(28px,3.2vw,36px);font-weight:600;color:#e1231c;letter-spacing:-.5px}
.dp-real{font-size:clamp(22px,2.4vw,26px);font-weight:600;color:#141414}
.dp-retail{font-size:13px;color:#9a9a9a;margin-top:2px}
.dp-blurred{filter:blur(6px);user-select:none}
.dp-cta-btn{min-width:160px;height:60px}
@media(max-width:640px){
  .drawer-body{padding:26px 22px 34px}
}

@media(max-width:1080px){
  .hero-copy,.hero-media{grid-column:span 12}
  .hero-img{height:420px}
  .why-head{grid-column:span 12}
  .why-cards{grid-column:span 12;grid-template-columns:repeat(2,1fr)}
  .why-title{min-height:0}
  .card{flex:0 0 calc((100% - 48px)/3)}
  .ints{grid-template-columns:repeat(2,1fr)}
  .int{height:220px}
  .tech{grid-template-columns:1fr;min-height:0}
  .tech-media{min-height:340px}
  .cta-feats{grid-template-columns:1fr}
  .hdr-nav{order:3;flex-basis:100%;flex:none;gap:22px;flex-wrap:wrap}
  .h-display{font-size:38px !important}
  .ft{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  .wrap{width:92%}
  .g12{gap:22px}
  .hero-img{height:300px;border-radius:20px}
  .hero-price{position:static;margin-top:14px;top:auto;right:auto;left:auto;width:auto;max-width:100%;box-shadow:0 8px 24px rgba(20,20,20,.12)}
  .why-cards{grid-template-columns:1fr;gap:22px}
  .why-item{grid-template-columns:38px 1fr;grid-template-rows:auto auto;column-gap:14px;row-gap:6px;align-items:center}
  .why-item>svg{grid-column:1;grid-row:1;align-self:center}
  .why-title{grid-column:2;grid-row:1;min-height:0;align-self:center}
  .why-item>p,.why-item>div:not(.why-title){grid-column:1 / -1;grid-row:2}
  .card{flex:0 0 82%}
  .ints{grid-template-columns:1fr}
  .int{height:300px}
  .hero-feats{flex-direction:column;gap:16px}
  .hero-media{margin-right:0}
  .lb-img{max-width:92vw;max-height:85vh}
  .hdr{gap:10px;padding:16px 0;flex-wrap:wrap;align-items:center}
  .hdr-info{display:contents}
  .hdr-nav{display:none}
  .meta-item{display:none !important}
  .hdr-msgr{order:1;gap:8px !important}
  .hdr-msgr a{width:34px !important;height:34px !important}
  .hdr-msgr svg{width:17px;height:17px}
  .burger{display:flex;order:2;margin-left:auto;width:40px;height:40px}
  .mnav{order:3;flex-basis:100%}
  .hlogo{height:24px !important}
  .hdr>div:first-child{gap:8px !important;flex-shrink:0}
  .h-display{font-size:26px !important;line-height:1.12}
  .ft{grid-template-columns:1fr;gap:28px;padding:40px 0 16px}
}
