:root {
    --navy: #004959;
    --deep: #002f3a;
    --cyan: #00b5ec;
    --ice: #eef6f8;
    --bg: #f3f7f8;
    --ink: #17323c;
    --mute: #5a7178;
    --line: #d7e3e7;
    --card: #ffffff;
    --sale: #b42318;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.msk-store {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: 'Tajawal', Tahoma, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; }

.msk-wrap { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }

.msk-head {
    position: sticky; top: 0; z-index: 40;
    background: #004959;
    border-bottom: 0;
}
.msk-head::after {
    content: '';
    display: block;
    height: 3px;
    background: var(--cyan);
}
.msk-head .msk-wrap {
    display: flex; align-items: center; gap: 20px;
    min-height: 68px;
}
.msk-logo { margin-left: auto; }
.msk-logo img { height: 38px; width: auto; }
.msk-logo span { font-weight: 800; font-size: 20px; color: #fff; }
.msk-nav { display: flex; align-items: stretch; gap: 4px; margin-right: auto; }
.msk-nav form.msk-search { align-self: center; width: 220px; }
.msk-nav a {
    display: flex; align-items: center;
    padding: 0 11px; min-height: 68px;
    font-size: 14px; font-weight: 500; color: #d7eef4;
    border-bottom: 3px solid transparent;
}
.msk-nav a.is-on { font-weight: 700; color: #fff; border-bottom-color: var(--cyan); }
.msk-nav a:hover { color: #fff; border-bottom-color: rgba(0, 181, 236, .55); }
.msk-account {
    color: #fff; font-size: 13px; font-weight: 700; white-space: nowrap;
}
.msk-account:hover { color: var(--cyan); }
.msk-account-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.msk-account-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: start; }
.msk-cart-item { display: flex; gap: 10px; align-items: center; }
.msk-cart-item img { width: 54px; height: 54px; object-fit: cover; border: 1px solid var(--line); background: var(--ice); }
.msk-cart-ico {
    position: relative;
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; flex-shrink: 0;
    color: #fff; background: none; border: 0;
}
.msk-cart-ico:hover,
.msk-cart-ico:focus { background: none; color: #fff; outline: none; }
.msk-cart-ico svg { width: 22px; height: 22px; display: block; }
.msk-cart-ico em {
    position: absolute; top: 1px; left: 0;
    min-width: 16px; height: 16px; padding: 0 4px;
    border-radius: 99px; background: var(--cyan); color: #003844;
    font-size: 10px; font-weight: 800; font-style: normal;
    line-height: 16px; text-align: center;
}
.msk-burger { display: none; background: none; border: 0; font-size: 24px; color: #fff; margin-right: auto; }

.msk-hero { background: var(--navy); color: #d7eef4; padding: 42px 0 36px; }
.msk-hero h2 { margin: 0 0 8px; color: #fff; font-size: 32px; font-weight: 800; }
.msk-hero p { margin: 0 0 8px; max-width: 34em; }
.msk-hero .msk-kicker { color: var(--cyan); }
.msk-hero .msk-wa { background: var(--cyan); color: #003844 !important; }
.msk-search { width: 220px; }
.msk-search input {
    width: 100%;
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(255,255,255,.1);
    color: #fff;
    border-radius: 8px;
    padding: 8px 11px;
    font-size: 13px;
}
.msk-search input::placeholder { color: #b7d4dc; }
.msk-search input:focus { outline: none; border-color: var(--cyan); background: #fff; color: var(--navy); }

.msk-slider { background: var(--deep); }
.msk-slide { display: none; }
.msk-slide.is-on { display: block; }
.msk-slide img { width: 100%; height: min(58vh, 520px); }
.msk-slider-bar {
    background: var(--navy);
    color: #d5e8ee;
    padding: 10px 0;
}
.msk-slider-bar .msk-wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.msk-slider-bar strong { color: #fff; font-weight: 700; }
.msk-slider-nav { display: flex; gap: 8px; align-items: center; font-size: 12px; }
.msk-slider-nav button {
    background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.3);
    padding: 3px 9px; font-size: 12px; cursor: pointer;
}
.msk-slider-nav button:hover { border-color: #fff; }

.msk-stats {
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 18px 0;
}
.msk-stats .msk-wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.msk-stat { padding: 4px 16px; border-left: 1px solid var(--line); }
.msk-stat:last-child { border-left: 0; }
.msk-stat b { display: block; font-size: 22px; color: var(--navy); font-weight: 800; line-height: 1.2; }
.msk-stat span { font-size: 12px; color: var(--mute); }

.msk-sec { padding: 36px 0 8px; }
.msk-sec--ice { background: var(--ice); padding: 36px 0 28px; margin-top: 28px; }
.msk-sec--white { background: #fff; padding: 32px 0; margin-top: 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.msk-kicker {
    margin: 0 0 4px;
    font-size: 12px; font-weight: 700;
    color: #0e7a8a;
}
.msk-sec h2 {
    margin: 0 0 4px;
    font-size: 23px; font-weight: 800;
    color: var(--navy);
}
.msk-sec .msk-lead { margin: 0 0 18px; color: var(--mute); font-size: 14px; max-width: 36em; }
.msk-sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 16px; }
.msk-more { font-size: 13px; font-weight: 700; color: var(--navy); }
.msk-more::after { content: ' ‹'; color: var(--cyan); }

.msk-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 14px; }
.msk-cat {
    background: #fff; border: 1px solid #d5e0e3;
    text-align: center; padding: 16px 10px 14px;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(0, 47, 58, .04);
    transition: border-color .18s, box-shadow .18s, transform .18s;
}
.msk-cat__pic {
    display: flex; align-items: center; justify-content: center;
    width: 64px; height: 64px; margin: 0 auto 10px;
    background: #eef3f5; border-radius: 16px; overflow: hidden;
}
.msk-cat__pic img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.msk-cat__pic i {
    font-style: normal; font-size: 22px; font-weight: 800; color: #7a969d;
}
.msk-cat > span:last-child {
    display: block; font-size: 13px; font-weight: 700; color: var(--navy); line-height: 1.35;
}
.msk-cat:hover {
    border-color: #b7c9ce;
    box-shadow: 0 10px 22px rgba(0, 47, 58, .08);
    transform: translateY(-2px);
}
.msk-cat:hover .msk-cat__pic { background: #e4eef1; }

.msk-rail-wrap { position: relative; }
.msk-rail {
    display: flex; gap: 10px; overflow-x: auto;
    padding: 6px 2px 14px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #00b5ec transparent;
}
.msk-rail::-webkit-scrollbar { height: 4px; }
.msk-rail::-webkit-scrollbar-track { background: transparent; }
.msk-rail::-webkit-scrollbar-thumb { background: #00b5ec; }
.msk-rail-wrap::before,
.msk-rail-wrap::after {
    content: '';
    position: absolute; top: 0; bottom: 14px; width: 36px;
    pointer-events: none; z-index: 1;
}
.msk-rail-wrap::before { right: 0; background: linear-gradient(270deg, #fff 0%, rgba(255,255,255,0) 100%); }
.msk-rail-wrap::after { left: 0; background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0) 100%); }
.msk-rail-btn {
    position: absolute; top: 50%; z-index: 2;
    width: 36px; height: 36px; margin-top: -26px;
    border: 1px solid var(--line); background: #fff; color: var(--navy);
    font-size: 22px; line-height: 1; cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 6px 16px rgba(0, 73, 89, .1);
}
.msk-rail-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.msk-rail-btn.is-off { opacity: 0; pointer-events: none; }
#msk-rail-prev { right: -8px; }
#msk-rail-next { left: -8px; }
.msk-brand {
    flex: 0 0 148px; text-align: center;
    padding: 14px 12px 12px;
    background: #fff; border: 1px solid var(--line);
    border-radius: 10px;
    scroll-snap-align: start;
    transition: border-color .18s, box-shadow .18s;
}
.msk-brand__logo {
    display: flex; align-items: center; justify-content: center;
    height: 64px; margin-bottom: 8px; background: var(--ice);
}
.msk-brand img { height: 44px; width: auto; max-width: 88%; object-fit: contain; }
.msk-brand strong { display: block; font-size: 12px; font-weight: 700; color: var(--navy); line-height: 1.35; }
.msk-brand:hover { border-color: #c5d6db; box-shadow: 0 8px 20px rgba(0,47,58,.07); }
.msk-brands-page { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; background: transparent; border: 0; }
.msk-brands-page .msk-brand { flex: none; }

.msk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.msk-grid--latest { grid-template-columns: repeat(4, 1fr); }
.msk-card {
    background: var(--card);
    border: 1px solid #d5e0e3;
    border-radius: 10px;
    display: flex; flex-direction: column;
    min-width: 0;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 47, 58, .05);
    transition: border-color .18s, box-shadow .18s, transform .18s;
}
.msk-card > a { display: flex; flex-direction: column; flex: 1; color: inherit; }
.msk-card:hover {
    border-color: #b7c9ce;
    box-shadow: 0 10px 24px rgba(0, 47, 58, .09);
    transform: translateY(-2px);
}
.msk-card--out { opacity: .86; }
.msk-card__img {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    background: #eef3f5;
    height: 132px;
    padding: 10px;
}
.msk-card__img img {
    width: 110px; height: 110px;
    object-fit: contain;
    transition: transform .22s ease;
}
.msk-card:hover .msk-card__img img { transform: scale(1.03); }
.msk-card__ph {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; font-weight: 800; color: #b7c9ce;
}
.msk-card__body { padding: 8px 12px 6px; flex: 1; display: flex; flex-direction: column; }
.msk-card__brand { font-size: 11px; font-weight: 700; color: #0e7a8a; }
.msk-card h3 {
    margin: 3px 0 4px; font-size: 13px; font-weight: 700; line-height: 1.4; color: var(--ink);
    display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; min-height: 2.8em;
}
.msk-card__desc { display: none; }
.msk-card__count {
    font-size: 11px; color: var(--mute); margin: 0 0 6px;
    background: #f3f7f8; display: inline-block; width: fit-content;
    padding: 2px 7px; border-radius: 4px;
}
.msk-price { margin-top: auto; }
.msk-price__row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.msk-price .msk-sar { color: var(--navy); font-weight: 800; font-size: 18px; line-height: 1.2; }
.msk-price .msk-sar small { font-size: 11px; font-weight: 500; margin-right: 3px; }
.msk-price s { color: #8a9aa0; font-size: 12px; }
.msk-price .unit { display: block; font-size: 11px; color: var(--mute); margin-top: 2px; }
.msk-price__alt, .msk-card__moq { font-size: 11px; color: var(--mute); margin-top: 2px; }
.msk-badge {
    position: absolute; top: 10px; left: 10px; z-index: 1;
    background: #c2410c; color: #fff;
    font-size: 11px; font-weight: 700; padding: 3px 8px;
    border-radius: 6px;
}
.msk-card__tag {
    position: absolute; top: 10px; right: 10px; z-index: 1;
    background: #17323c; color: #fff;
    font-size: 11px; font-weight: 700; padding: 3px 8px;
    border-radius: 6px;
}

.msk-card--wide { grid-column: span 2; }
.msk-card--wide > a { flex-direction: row; }
.msk-card--wide .msk-card__img { width: 48%; height: auto; min-height: 160px; }
.msk-card--wide h3 { font-size: 20px; min-height: 0; }
.msk-card--wide .msk-sar { font-size: 24px; }
.msk-product .msk-card__brand { font-size: 13px; }

.msk-empty {
    grid-column: 1 / -1;
    padding: 40px 12px;
    text-align: center;
    color: var(--mute);
    background: #fff;
    border: 1px dashed var(--line);
    border-radius: 12px;
}

.msk-crumb { font-size: 12px; color: var(--mute); padding: 16px 0 0; }
.msk-crumb a { color: var(--navy); }

.msk-filters {
    display: flex; gap: 6px; flex-wrap: wrap;
    margin-bottom: 18px; padding: 10px;
    background: #fff; border: 1px solid var(--line);
    border-radius: 10px;
}
.msk-filters input, .msk-filters select {
    border: 1px solid var(--line); background: var(--bg);
    border-radius: 8px; padding: 8px 10px; font-size: 13px;
}
.msk-filters button {
    background: var(--navy); color: #fff; border: 0;
    padding: 8px 14px; font-weight: 700; font-size: 13px; cursor: pointer;
    border-radius: 8px;
}
.msk-filters__clear { align-self: center; font-weight: 700; color: var(--navy); padding: 8px 4px; }

.msk-product { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 20px 0 28px; }
.msk-product__pic {
    position: relative;
    background: #f5f8f9; border: 1px solid var(--line);
    border-radius: 12px;
    min-height: 380px; display: flex; align-items: center; justify-content: center; padding: 20px;
}
.msk-product__pic .msk-card__ph { font-size: 72px; }
.msk-product__pic img { max-height: 400px; object-fit: contain; }
.msk-product h1 { margin: 8px 0 8px; font-size: 26px; font-weight: 800; color: var(--navy); }
.msk-product .msk-body { color: var(--mute); font-size: 14px; }
.msk-quote {
    margin: 16px 0;
    padding: 16px 18px;
    background: #f5f8f9;
    border-radius: 10px;
    border-right: 3px solid var(--navy);
}
.msk-quote .msk-sar { font-size: 28px; }
.msk-dl { margin: 16px 0 0; display: grid; grid-template-columns: 140px 1fr; gap: 6px 12px; font-size: 14px; }
.msk-dl dt { color: var(--mute); margin: 0; }
.msk-dl dd { margin: 0; font-weight: 700; }
.msk-wa {
    display: inline-block; margin-top: 18px;
    background: var(--navy); color: #fff !important;
    padding: 10px 16px; font-weight: 700; font-size: 14px;
}

.msk-page { padding: 28px 0 64px; max-width: 680px; }
.msk-page h1 { color: var(--navy); font-size: 26px; }
.msk-page .msk-prose { white-space: pre-wrap; font-size: 15px; }

.msk-form { display: grid; gap: 10px; max-width: 480px; }
.msk-form label { display: grid; gap: 4px; font-size: 12px; color: var(--mute); }
.msk-form input, .msk-form textarea, .msk-form select {
    border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px; background: #fff;
    transition: border-color .15s, box-shadow .15s;
}
.msk-form input:focus, .msk-form textarea:focus, .msk-form select:focus {
    outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0, 181, 236, .18);
}
.msk-form button {
    background: var(--navy); color: #fff; border: 0;
    padding: 12px 18px; font-weight: 700; cursor: pointer; width: 100%;
    border-radius: 8px;
}
.msk-form button:hover { background: var(--deep); }
.msk-note { padding: 10px 12px; margin: 12px 0; font-size: 14px; border-radius: 8px; }
.msk-note a { font-weight: 800; margin-right: 10px; text-decoration: underline; }
.msk-note.ok { background: #e8f6ee; color: #146c43; }
.msk-note.bad { background: #fdecea; color: #9b2c20; }

.msk-reg {
    position: fixed; inset: 0; z-index: 80;
    background: rgba(0, 47, 58, .58);
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
}
.msk-reg[hidden] { display: none !important; }
.msk-reg__box {
    width: min(440px, 100%);
    background: #fff;
    border-radius: 14px;
    padding: 28px 24px 22px;
    box-shadow: 0 22px 50px rgba(0, 47, 58, .22);
    border-top: 4px solid var(--cyan);
    text-align: right;
}
.msk-reg__box .msk-kicker { margin-bottom: 6px; }
.msk-reg__box h2 {
    margin: 0 0 8px; color: var(--navy); font-size: 20px; font-weight: 800;
}
.msk-reg__box p { margin: 0 0 8px; color: var(--mute); font-size: 14px; line-height: 1.7; }
.msk-reg__box p:last-of-type { margin-bottom: 20px; }
.msk-reg__box button {
    background: var(--navy); color: #fff; border: 0;
    border-radius: 8px; padding: 10px 18px; font-weight: 700; cursor: pointer;
}
.msk-reg__box button:hover { background: var(--deep); }

.msk-foot {
    margin-top: 48px; background: var(--deep); color: #8aa6ad;
    padding: 14px 0; font-size: 12px; text-align: center;
}
.msk-foot .msk-wrap { display: block; }
.msk-foot-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; margin-bottom: 8px; }
.msk-foot-nav a { color: #d7eef4; }
.msk-foot-nav a:hover { color: #fff; }
.msk-addrs { display: grid; gap: 8px; }
.msk-addr { display: flex; gap: 8px; align-items: flex-start; color: var(--ink); font-size: 14px; }
.msk-addr input { margin-top: 4px; }

.msk-pager { margin: 24px 0 8px; }
.msk-pager .pagination { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; padding: 0; }
.msk-pager .page-link, .msk-pager a, .msk-pager span {
    display: inline-block; padding: 5px 10px; border: 1px solid var(--line);
    background: #fff; color: var(--navy); font-size: 13px;
}
.msk-pager .active span, .msk-pager .active .page-link { background: var(--navy); color: #fff; border-color: var(--navy); }

.msk-add { padding: 0 12px 10px; display: grid; gap: 6px; }
.msk-add select {
    border: 1px solid var(--line); padding: 8px 9px; background: #fff; font-size: 12px;
    border-radius: 8px;
}
.msk-add button, .msk-buy button[type="submit"] {
    width: 100%;
    background: var(--navy); color: #fff; border: 0;
    padding: 10px 12px; font-weight: 700; font-size: 13px; cursor: pointer;
    border-radius: 8px;
}
.msk-add button:hover, .msk-buy button[type="submit"]:hover { background: var(--deep); }
.msk-add button:disabled, .msk-buy button:disabled { opacity: .5; cursor: not-allowed; }
.msk-card--wide .msk-add { padding: 0 12px 12px; }
.msk-buy { display: grid; gap: 12px; margin-top: 18px; max-width: 360px; }
.msk-types { display: flex; gap: 8px; }
.msk-types label {
    flex: 1; text-align: center; padding: 8px 10px;
    border: 1px solid var(--line); background: #fff; font-size: 13px; font-weight: 700; cursor: pointer;
}
.msk-types label.is-on { border-color: var(--navy); background: var(--ice); color: var(--navy); }
.msk-types input { position: absolute; opacity: 0; pointer-events: none; }
.msk-step { display: flex; align-items: center; gap: 0; border: 1px solid var(--line); width: fit-content; background: #fff; }
.msk-step button { background: var(--ice); border: 0; width: 40px; height: 40px; font-size: 18px; cursor: pointer; color: var(--navy); }
.msk-step input { width: 64px; border: 0; border-right: 1px solid var(--line); border-left: 1px solid var(--line); text-align: center; height: 40px; }
.msk-buy-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.msk-cart-brand { margin-bottom: 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.msk-cart-brand__head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0; padding: 12px 14px; color: var(--navy); background: var(--ice); }
.msk-cart-brand__head span { font-size: 12px; color: var(--mute); }
.msk-sum-brand { font-weight: 700; color: var(--navy); margin: 10px 0 6px; }
.msk-form select {
    border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; background: #fff;
}
.msk-cart table { width: 100%; border-collapse: collapse; background: #fff; border: 0; }
.msk-cart th, .msk-cart td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: right; font-size: 14px; }
.msk-cart th { background: var(--ice); color: var(--navy); font-size: 12px; }
.msk-qty { display: flex; gap: 6px; align-items: center; }
.msk-qty input { width: 72px; border: 1px solid var(--line); border-radius: 8px; padding: 8px; text-align: center; }
.msk-qty button, .msk-linkish {
    background: #fff; border: 1px solid var(--line); color: var(--navy);
    padding: 6px 10px; font-size: 12px; cursor: pointer;
}
.msk-linkish { background: none; }
.msk-totals { margin-top: 18px; background: #fff; border: 1px solid var(--line); padding: 16px; }
.msk-totals__all { margin-top: 8px; font-size: 18px; color: var(--navy); }
.msk-check__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: start; }
.msk-sum-line { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 8px; font-size: 13px; }
@media (max-width: 860px) {
    .msk-buy, .msk-check__grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .msk-cart table, .msk-cart tbody, .msk-cart tr, .msk-cart td { display: block; width: 100%; }
    .msk-cart thead { display: none; }
    .msk-cart tr { border-bottom: 8px solid var(--bg); }
    .msk-cart td { border: 0; }
    .msk-cart td[data-label]::before {
        content: attr(data-label);
        display: block;
        font-size: 11px;
        color: var(--mute);
        font-weight: 700;
    }
}

@media (max-width: 980px) {
    .msk-grid, .msk-grid--latest { grid-template-columns: repeat(3, 1fr); }
    .msk-card--wide { grid-column: span 3; }
}
@media (max-width: 860px) {
    .msk-rail-btn { display: none; }
    .msk-rail-wrap::before, .msk-rail-wrap::after { display: none; }
    .msk-nav, .msk-search { display: none; }
    .msk-logo { margin-left: 0; }
    .msk-account { margin-right: auto; }
    .msk-burger { margin-right: 0; }
    .msk-head.is-open .msk-nav {
        display: flex; flex-direction: column; align-items: stretch;
        position: absolute; top: 71px; right: 0; left: 0;
        background: #004959; border-bottom: 3px solid var(--cyan);
    }
    .msk-head.is-open .msk-nav a { min-height: 44px; border-bottom: 1px solid rgba(255,255,255,.1); color: #d7eef4; }
    .msk-head.is-open .msk-nav a:hover,
    .msk-head.is-open .msk-nav a.is-on { color: #fff; }
    .msk-head.is-open .msk-search { display: block; width: calc(100% - 32px); margin: 8px 16px 14px; }
    .msk-burger { display: block; }
    .msk-product, .msk-stats .msk-wrap { grid-template-columns: 1fr; }
    .msk-stat { border-left: 0; border-top: 1px solid var(--line); padding: 10px 0; }
    .msk-slide img { height: 240px; }
    .msk-grid, .msk-grid--latest { grid-template-columns: repeat(2, 1fr); }
    .msk-card--wide { grid-column: span 2; }
    .msk-card--wide > a { flex-direction: column; }
    .msk-card--wide .msk-card__img { width: 100%; min-height: 0; border-left: 0; border-bottom: 1px solid var(--line); }
    .msk-account-grid { grid-template-columns: 1fr; }
}

.msk-auth {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(0, 47, 58, .07);
}
.msk-auth__card { padding: 32px 32px 26px; }
.msk-auth__card h2 { margin: 4px 0 8px; color: var(--navy); font-size: 28px; font-weight: 800; }
.msk-auth__card .msk-lead { margin: 0 0 18px; }
.msk-auth .msk-form { max-width: none; }
.msk-auth__visual {
    background: #004959;
    color: #fff;
    padding: 28px 24px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.msk-auth__visual img { width: 100%; height: 220px; object-fit: contain; background: transparent; }
.msk-auth__visual ul { margin: 8px 0 0; padding: 0; list-style: none; }
.msk-auth__visual li {
    padding: 10px 0;
    border-top: 1px solid rgba(255,255,255,.14);
    font-weight: 700;
}
.msk-form-title { margin: 8px 0 0; color: var(--navy); font-size: 13px; font-weight: 800; }
.msk-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.msk-form-grid .msk-span { grid-column: 1 / -1; }
.msk-auth__foot {
    display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px;
}
.msk-auth__switch { color: var(--navy); font-weight: 800; }
.msk-auth__foot a:hover { color: #0e7a8a; }

.msk-cart-layout { display: grid; grid-template-columns: 1.45fr .7fr; gap: 18px; align-items: start; }
.msk-cart-side {
    position: sticky; top: 88px;
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    padding: 18px 16px 16px; border-top: 3px solid var(--cyan);
}
.msk-cart-side .msk-kicker { margin-bottom: 10px; }
.msk-cart-side .msk-wa { display: block; text-align: center; margin-top: 14px; }
.msk-cart-side .msk-totals__all { display: flex; justify-content: space-between; gap: 12px; padding-top: 8px; border-top: 1px solid var(--line); }
.msk-cart-side__back { display: block; margin-top: 10px; text-align: center; color: var(--navy); font-weight: 700; font-size: 13px; }
.msk-cart-side__note { margin: 12px 0 0; color: var(--mute); font-size: 12px; line-height: 1.6; }
.msk-cart-empty {
    min-height: 52vh;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 16px;
    padding: 48px 20px;
}
.msk-cart-empty h2 { margin: 0 0 8px; color: var(--navy); }
.msk-cart-empty p { margin: 0; color: var(--mute); max-width: 28em; }
.msk-cart table { border-radius: 12px; overflow: hidden; }

@media (max-width: 860px) {
    .msk-auth { grid-template-columns: 1fr; }
    .msk-auth__visual { order: -1; padding: 18px 18px 8px; }
    .msk-auth__visual img { height: 140px; }
    .msk-auth__visual ul { display: none; }
    .msk-auth__card { padding: 22px 18px; }
    .msk-form-grid { grid-template-columns: 1fr; }
    .msk-cart-layout { grid-template-columns: 1fr; }
    .msk-cart-side { position: static; }
}
