:root {
    --bg: #f4f6f8;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    --text: #17202a;
    --muted: #697586;
    --line: #e6ebf1;
    --primary: #e93323;
    --primary-dark: #c92518;
    --accent: #1f7a8c;
    --gold: #b7791f;
    --shadow: 0 12px 32px rgba(21, 35, 51, .08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 1200px;
    color: var(--text);
    background: var(--bg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input {
    font: inherit;
}

.wrap {
    width: 1200px;
    margin: 0 auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--surface);
    box-shadow: 0 1px 0 rgba(20, 30, 40, .06);
}

.topbar {
    height: 34px;
    color: #5f6b7a;
    background: #eef2f6;
    font-size: 13px;
}

.topbar-inner,
.mainbar,
.navline-inner {
    display: flex;
    align-items: center;
}

.topbar-inner {
    height: 34px;
    justify-content: space-between;
}

.topbar nav {
    display: flex;
    gap: 22px;
}

.topbar a:hover,
.navline a:hover,
.section-head a:hover {
    color: var(--primary);
}

.mainbar {
    height: 92px;
    justify-content: space-between;
    gap: 34px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 250px;
    min-width: 250px;
}

.brand img {
    width: 126px;
    max-height: 46px;
    object-fit: contain;
}

.brand span {
    font-size: 21px;
    font-weight: 700;
    color: #1d2733;
    white-space: nowrap;
}

.search {
    display: grid;
    grid-template-columns: 1fr 108px;
    width: 560px;
    height: 46px;
    border: 2px solid var(--primary);
    background: var(--surface);
}

.search input {
    min-width: 0;
    border: 0;
    padding: 0 18px;
    outline: 0;
    color: var(--text);
}

.search button,
.btn.primary {
    border: 0;
    color: #fff;
    background: var(--primary);
    cursor: pointer;
}

.search button:hover,
.btn.primary:hover {
    background: var(--primary-dark);
}

.header-actions {
    display: flex;
    gap: 12px;
}

.header-actions a {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 16px;
    border: 1px solid var(--line);
    background: var(--surface-soft);
    color: #394452;
}

.action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff1ef;
    color: var(--primary);
    font-weight: 700;
}

.navline {
    height: 44px;
    border-top: 1px solid var(--line);
    border-bottom: 2px solid var(--primary);
}

.navline-inner {
    height: 44px;
    gap: 36px;
    font-size: 15px;
    font-weight: 600;
}

.nav-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 44px;
    color: #fff;
    background: var(--primary);
}

.hero-section {
    padding: 26px 0 22px;
    background:
        linear-gradient(180deg, #fff 0%, #f4f6f8 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 220px 1fr 250px;
    gap: 18px;
    align-items: stretch;
}

.category-panel,
.member-panel,
.hero-card,
.feature-row,
.section-block,
.service-panel,
.news-panel {
    background: var(--surface);
    box-shadow: var(--shadow);
}

.category-panel {
    min-height: 430px;
}

.panel-title {
    height: 54px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    color: #fff;
    background: #26313f;
    font-weight: 700;
}

.category-list {
    display: grid;
    padding: 10px 0;
}

.category-list a {
    display: grid;
    gap: 4px;
    min-height: 70px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--line);
}

.category-list a:hover {
    color: var(--primary);
    background: #fff6f5;
}

.category-list span {
    color: var(--muted);
    font-size: 12px;
}

.hero-card {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 350px;
    align-items: center;
    padding: 54px 46px;
    background:
        radial-gradient(circle at 82% 26%, rgba(31, 122, 140, .18), transparent 30%),
        linear-gradient(135deg, #fff7f5 0%, #f7fbfc 52%, #ffffff 100%);
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 10px;
    color: var(--primary);
    background: #fff1ef;
    font-size: 12px;
    font-weight: 700;
}

.hero-copy h1 {
    margin: 20px 0 16px;
    font-size: 44px;
    line-height: 1.18;
    letter-spacing: 0;
}

.hero-copy p {
    max-width: 520px;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 118px;
    height: 42px;
    padding: 0 20px;
    font-weight: 700;
}

.btn.secondary {
    border: 1px solid #b9c3cf;
    color: #26313f;
    background: rgba(255, 255, 255, .78);
}

.hero-product {
    align-self: end;
    padding: 10px;
}

.hero-product img {
    width: 320px;
    height: 320px;
    object-fit: contain;
    filter: drop-shadow(0 24px 28px rgba(20, 32, 45, .18));
}

.member-panel {
    padding: 20px;
}

.member-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.member-head img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
}

.member-head strong,
.feature-item strong,
.service-list strong {
    display: block;
    font-size: 16px;
}

.member-head span,
.service-list span,
.feature-item em {
    color: var(--muted);
    font-size: 13px;
    font-style: normal;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 18px 0;
}

.quick-grid a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    border: 1px solid var(--line);
    background: var(--surface-soft);
    font-weight: 700;
}

.quick-grid a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.notice {
    padding: 16px;
    background: #f7f9fb;
}

.notice p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.feature-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 10px;
    padding: 20px 0;
}

.feature-item {
    display: grid;
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    padding: 0 26px;
    border-right: 1px solid var(--line);
}

.feature-item:last-child {
    border-right: 0;
}

.feature-item span {
    grid-row: span 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #fff;
    background: var(--accent);
    font-weight: 700;
}

.section-block {
    margin-top: 26px;
    padding: 28px;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.section-head.slim {
    margin-bottom: 16px;
}

.section-head h2 {
    margin: 8px 0 0;
    font-size: 26px;
    line-height: 1.25;
    letter-spacing: 0;
}

.section-head a {
    color: var(--muted);
    font-weight: 700;
}

.promo-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 18px;
}

.promo-card {
    display: flex;
    min-height: 366px;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px;
    color: #fff;
    background:
        linear-gradient(150deg, rgba(233, 51, 35, .96), rgba(31, 122, 140, .94)),
        url("/statics/images/gift-bag.png") center bottom / 90% auto no-repeat;
}

.promo-card span {
    font-size: 13px;
    font-weight: 700;
}

.promo-card h3 {
    margin: 8px 0 10px;
    font-size: 28px;
    line-height: 1.2;
}

.promo-card p {
    margin: 0 0 auto;
    color: rgba(255, 255, 255, .78);
}

.promo-card .btn {
    align-self: start;
    background: #fff;
    color: var(--primary);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.product-grid.compact {
    grid-template-columns: repeat(4, 1fr);
}

.product-card {
    position: relative;
    min-height: 306px;
    padding: 16px;
    border: 1px solid var(--line);
    background: #fff;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.product-card:hover {
    transform: translateY(-3px);
    border-color: rgba(233, 51, 35, .32);
    box-shadow: 0 14px 30px rgba(21, 35, 51, .10);
}

.product-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 170px;
    background: #f7f9fb;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .18s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.04);
}

.product-card h3 {
    height: 44px;
    margin: 14px 0 10px;
    overflow: hidden;
    font-size: 15px;
    line-height: 22px;
    font-weight: 600;
}

.price-row,
.meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.price {
    color: var(--primary);
    font-size: 20px;
    font-weight: 800;
}

.old-price {
    color: #a0a8b2;
    text-decoration: line-through;
    font-size: 12px;
}

.meta-row {
    margin-top: 8px;
    color: var(--muted);
    font-size: 12px;
}

.tag {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 7px;
    color: var(--gold);
    background: #fff7e8;
    font-size: 12px;
    font-weight: 700;
}

.tabs,
.sort-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.tabs button,
.sort-actions button {
    height: 34px;
    padding: 0 14px;
    border: 1px solid var(--line);
    background: #fff;
    color: #3d4855;
    cursor: pointer;
}

.tabs button.active,
.sort-actions button.active,
.tabs button:hover,
.sort-actions button:hover {
    color: #fff;
    border-color: var(--primary);
    background: var(--primary);
}

.floor-list {
    display: grid;
    gap: 22px;
}

.floor {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 18px;
}

.floor-cover {
    min-height: 310px;
    padding: 24px;
    color: #fff;
    background: linear-gradient(155deg, #26313f, #1f7a8c);
}

.floor-cover strong {
    display: block;
    font-size: 24px;
    line-height: 1.25;
}

.floor-cover span {
    display: block;
    margin-top: 10px;
    color: rgba(255, 255, 255, .76);
    font-size: 13px;
}

.service-news {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-top: 26px;
    margin-bottom: 36px;
}

.service-panel,
.news-panel {
    padding: 28px;
}

.service-list {
    display: grid;
    gap: 14px;
}

.service-list div {
    padding: 16px;
    border: 1px solid var(--line);
    background: var(--surface-soft);
}

.news-list {
    display: grid;
    gap: 12px;
}

.news-item {
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 14px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--line);
}

.news-date {
    display: grid;
    place-items: center;
    height: 62px;
    color: var(--primary);
    background: #fff1ef;
    font-weight: 800;
}

.news-item strong {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
}

.news-item span {
    color: var(--muted);
    font-size: 12px;
}

.empty-state {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 170px;
    border: 1px dashed #cad3df;
    color: var(--muted);
    background: #fbfcfd;
}

.site-footer {
    padding: 34px 0 18px;
    color: #cdd5df;
    background: #202936;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 50px;
}

.footer-brand {
    margin-bottom: 10px;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
}

.site-footer p {
    margin: 8px 0 0;
    color: #aeb8c5;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 10px;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: #94a0ae;
    font-size: 13px;
}

.footer-bottom a:empty {
    display: none;
}

@media (max-width: 1240px) {
    body {
        min-width: 1100px;
    }

    .wrap {
        width: 1080px;
    }

    .hero-grid {
        grid-template-columns: 210px 1fr 230px;
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
