:root {
    --bg: #f4f4f4;
    --surface: #ffffff;
    --surface-soft: #f7f7f7;
    --text: #2c2c2c;
    --muted: #6f7782;
    --line: #e3e3e3;
    --dark: #171b21;
    --accent: #c12b42;
    --accent-dark: #ac2438;
    --yellow: #ffcc29;
    --green: #1c9b62;
    --radius: 4px;
    --shadow: 0 10px 28px rgba(31, 39, 50, .08);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.5;
}

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

button,
input,
textarea {
    font: inherit;
}

body.modal-open {
    overflow: hidden;
}

.container {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--surface);
    box-shadow: 0 1px 0 var(--line);
}

.topline {
    border-top: 1px solid #cfcfcf;
    border-bottom: 1px solid var(--line);
    background: #fff;
    color: #333;
    font-size: 13px;
}

.topline__inner,
.topline__nav,
.topline__contact,
.header-main,
.device-nav {
    display: flex;
    align-items: center;
}

.topline__inner {
    min-height: 55px;
    justify-content: space-between;
    gap: 28px;
}

.topline__nav,
.topline__contact {
    gap: 30px;
    flex-wrap: wrap;
}

.topline__contact {
    font-weight: 700;
}

.topline__contact strong {
    color: #111;
}

.feedback-link {
    color: var(--accent);
}

.feedback-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    place-items: center;
    padding: 22px;
}

.feedback-modal.is-open {
    display: grid;
}

.feedback-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .56);
}

.feedback-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(500px, 100%);
    max-height: calc(100vh - 44px);
    overflow: auto;
    padding: 58px 60px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 22px 70px rgba(0, 0, 0, .32);
    text-align: center;
}

.feedback-modal__dialog h2 {
    margin: 0 0 20px;
    font-size: 34px;
    line-height: 1.15;
}

.feedback-modal__dialog > p {
    max-width: 360px;
    margin: 0 auto 34px;
    color: #4f4f4f;
    line-height: 1.35;
}

.feedback-modal__close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    color: #b9b9b9;
    cursor: pointer;
}

.feedback-modal__close::before,
.feedback-modal__close::after {
    position: absolute;
    left: 5px;
    top: 13px;
    width: 18px;
    height: 3px;
    border-radius: 3px;
    background: currentColor;
    content: "";
}

.feedback-modal__close::before {
    transform: rotate(45deg);
}

.feedback-modal__close::after {
    transform: rotate(-45deg);
}

.order-thanks-modal__dialog {
    width: min(440px, 100%);
    padding: 52px 44px 46px;
}

.order-thanks-modal__mark {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: #f4fbf7;
    color: var(--green);
    font-size: 34px;
    font-weight: 900;
}

.order-thanks-modal__dialog h2 {
    margin-bottom: 12px;
}

.order-thanks-modal__dialog > p {
    margin-bottom: 28px;
    font-size: 17px;
}

.cart-added-modal__dialog {
    width: min(780px, 100%);
    padding: 62px 64px 56px;
}

.cart-added-modal__mark {
    display: block;
    margin: 0 auto 22px;
    color: #55bb28;
    font-size: 58px;
    font-weight: 900;
    line-height: .8;
}

.cart-added-modal__dialog h2 {
    margin-bottom: 12px;
}

.cart-added-modal__dialog > p {
    max-width: 560px;
    margin-bottom: 28px;
    color: #666;
    font-size: 16px;
}

.cart-added-modal__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 22px 34px;
}

.cart-added-modal__continue {
    border: 0;
    background: transparent;
    color: var(--accent);
    font-weight: 900;
    cursor: pointer;
}

.cart-added-modal__actions .button {
    min-width: 214px;
}

.feedback-form {
    display: grid;
    gap: 22px;
    text-align: left;
}

.feedback-form input:not([type="checkbox"]),
.feedback-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 0 16px;
    background: #f7f7f7;
    color: var(--text);
    outline: 0;
}

.feedback-form input:not([type="checkbox"]) {
    height: 46px;
}

.feedback-form textarea {
    min-height: 178px;
    padding-top: 14px;
    resize: vertical;
}

.feedback-form input:focus,
.feedback-form textarea:focus {
    border-color: var(--accent);
    background: #fff;
}

.feedback-policy {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    color: #555;
    font-size: 13px;
    line-height: 1.35;
}

.feedback-policy input {
    width: 16px;
    height: 16px;
    margin-top: 1px;
    accent-color: var(--accent);
}

.feedback-form button {
    justify-self: start;
    min-width: 156px;
    min-height: 44px;
    border: 0;
    border-radius: 4px;
    background: var(--accent);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.feedback-form button:hover {
    background: var(--accent-dark);
}

.feedback-success,
.feedback-errors {
    margin-bottom: 20px;
    padding: 12px 14px;
    border-radius: 4px;
    text-align: left;
    font-weight: 700;
}

.feedback-success {
    background: #effaf4;
    color: var(--green);
}

.feedback-errors {
    display: grid;
    gap: 4px;
    background: #fff1f2;
    color: var(--accent);
}

.header-main {
    min-height: 88px;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    min-width: 135px;
}

.brand__logo {
    display: block;
    width: 134px;
    height: auto;
}

.device-nav {
    gap: 0;
    flex: 1 1 auto;
    min-width: 0;
    overflow: visible;
    white-space: nowrap;
}

.device-nav a {
    position: relative;
    padding: 0 12px;
    color: #222;
    font-weight: 800;
}

.device-nav a + a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 18px;
    background: var(--accent);
    transform: translateY(-50%);
}

.primary-catalog-nav {
    flex: 0 0 auto;
}

.primary-catalog-nav a {
    font-size: 16px;
}

.header-search {
    position: relative;
    display: grid;
    grid-template-columns: minmax(180px, 1fr);
    flex: 0 1 420px;
    min-height: 44px;
    border-radius: var(--radius);
    background: var(--surface-soft);
}

.header-search input {
    min-width: 0;
    border: 0;
    padding: 0 18px 0 46px;
    outline: 0;
    background: transparent;
}

.header-search::before {
    position: absolute;
    left: 17px;
    top: 50%;
    width: 20px;
    height: 20px;
    background: #111;
    content: "";
    pointer-events: none;
    transform: translateY(-50%);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E") center / contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E") center / contain no-repeat;
}

.search-suggest {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    z-index: 35;
    display: none;
    width: min(520px, calc(100vw - 32px));
    max-height: min(640px, calc(100vh - 150px));
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 0 0 var(--radius) var(--radius);
    background: #fff;
    box-shadow: 0 20px 50px rgba(24, 30, 38, .16);
}

.search-suggest.is-open {
    display: block;
}

.search-suggest__category,
.search-suggest__product,
.search-suggest__empty {
    border-bottom: 1px solid var(--line);
}

.search-suggest__category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 64px;
    padding: 0 18px;
}

.search-suggest__category strong {
    color: #101820;
    font-size: 16px;
    font-weight: 900;
}

.search-suggest__category span {
    flex: 0 0 auto;
    color: var(--muted);
}

.search-suggest__product {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 16px;
    padding: 16px 18px;
    background: #fff;
}

.search-suggest__product:hover,
.search-suggest__category:hover {
    background: #f8f8f8;
}

.search-suggest__media {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border-radius: var(--radius);
    background: var(--surface-soft);
    color: var(--accent);
    font-size: 26px;
    font-weight: 900;
}

.search-suggest__body {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.search-suggest__body strong {
    color: #101820;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.35;
}

.search-suggest__body em {
    color: #9aa1ac;
    font-style: normal;
}

.search-suggest__body b {
    color: #101820;
    font-size: 19px;
    line-height: 1.2;
}

.search-suggest__empty {
    padding: 18px;
    color: var(--muted);
    font-weight: 700;
}

.header-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    min-width: 116px;
    padding: 0 18px;
    border-radius: var(--radius);
    background: var(--accent);
    color: #fff;
    font-weight: 900;
}

.header-action:hover,
.main-slider__content a:hover,
.buy-button:hover {
    background: var(--accent-dark);
}

.header-contacts {
    display: grid;
    gap: 2px;
    min-width: 150px;
    line-height: 1.2;
}

.header-contacts__phone {
    color: #101820;
    font-size: 16px;
    font-weight: 900;
    white-space: nowrap;
}

.header-contacts__telegram {
    color: #2a87c9;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.mobile-header-actions,
.mobile-menu-panel {
    display: none;
}

.cart-count {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #111;
    color: #fff;
    font-size: 12px;
}

.main-slider {
    position: relative;
    overflow: hidden;
    background: #f2f2f2;
}

.main-slide {
    display: none;
}

.main-slide.is-active {
    display: block;
}

.main-slider__inner {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(360px, 1fr);
    align-items: center;
    min-height: 402px;
}

.main-slider__image {
    display: flex;
    justify-content: center;
    align-self: end;
}

.main-slider__image img {
    max-width: min(430px, 100%);
    height: auto;
}

.main-slider__content {
    padding: 48px 0;
}

.main-slider__content h1 {
    margin: 0 0 22px;
    color: #333;
    font-size: clamp(34px, 4vw, 42px);
    line-height: 1.25;
}

.main-slider__content h1 span {
    font-weight: 500;
}

.main-slider__content p {
    max-width: 420px;
    margin: 0 0 24px;
    color: #666;
    font-size: 16px;
}

.main-slider__content a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: var(--radius);
    background: var(--accent);
    color: #fff;
    font-size: 18px;
    font-weight: 900;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    width: 34px;
    height: 34px;
    border: 0;
    border-left: 8px solid #d8d8d8;
    border-bottom: 8px solid #d8d8d8;
    background: transparent;
    cursor: pointer;
}

.slider-arrow--prev {
    left: 7%;
    transform: translateY(-50%) rotate(45deg);
}

.slider-arrow--next {
    right: 7%;
    transform: translateY(-50%) rotate(225deg);
}

.headline-band {
    border-bottom: 1px solid var(--line);
    background: #fff;
    text-align: center;
}

.headline-band h2 {
    margin: 0;
    padding: 58px 0 16px;
    color: #151a20;
    font-size: clamp(30px, 3vw, 38px);
    line-height: 1.2;
}

.popular-section {
    padding: 42px 0 58px;
    background: #fff;
}

.popular-section h2 {
    margin: 0 0 30px;
    color: #151a20;
    font-size: 34px;
}

.popular-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.popular-card {
    position: relative;
    display: grid;
    align-content: start;
    min-height: 270px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
    transition: transform .16s ease, border-color .16s ease;
}

.popular-card:hover {
    transform: translateY(-3px);
    border-color: #d5d5d5;
    box-shadow: none;
}

.popular-card > img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    background: #f7f7f7;
}

.popular-card__placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 210px;
    background: #f7f7f7;
    color: var(--accent);
    font-size: 54px;
    font-weight: 900;
}

.popular-card strong {
    padding: 14px 18px 18px;
    color: #222;
    font-size: 17px;
}

.popular-card__label {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 10px;
    border-radius: 18px;
    background: #fff;
    color: #ff6b00;
    font-size: 13px;
    font-weight: 800;
}

.popular-card__label img {
    width: 18px;
    height: 18px;
}

.stocks-section {
    padding: 56px 0;
    background: #fff;
}

.stocks-banner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(360px, 1fr);
    align-items: center;
    min-height: 300px;
    overflow: hidden;
    background: #060f55;
    color: #fff;
}

.stocks-banner img {
    align-self: end;
    max-width: 500px;
    width: 100%;
    margin-left: 40px;
}

.stocks-banner div {
    padding: 46px 56px;
}

.stocks-banner h2 {
    margin: 0 0 16px;
    font-size: 30px;
    line-height: 1.2;
}

.stocks-banner p {
    max-width: 470px;
    margin: 0;
    color: #fff;
    font-weight: 600;
}

.advantages-section {
    padding: 40px 0;
    background: #f3f3f3;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 56px;
}

.advantages-grid article {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.advantages-grid img {
    width: 30px;
    height: 30px;
}

.advantages-grid h2 {
    margin: 0 0 8px;
    font-size: 18px;
}

.advantages-grid p {
    margin: 0;
    color: #333;
}

.news-section {
    padding: 62px 0 72px;
    background: #fff;
}

.news-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.news-heading h2 {
    margin: 0;
    font-size: 34px;
}

.news-heading a {
    color: var(--accent);
    font-weight: 900;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.news-grid article {
    overflow: hidden;
    background: #fff;
}

.news-grid img {
    width: 100%;
    height: 176px;
    object-fit: cover;
}

.news-grid h3 {
    margin: 16px 0 8px;
    font-size: 20px;
}

.news-grid p {
    margin: 0;
    color: var(--muted);
}

.news-grid a {
    display: block;
}

.news-page,
.news-detail-page {
    padding: 28px 0 76px;
    background: #fff;
}

.news-page__head {
    margin-bottom: 40px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.news-page__head h1,
.news-detail h1,
.news-aside h2 {
    margin: 0;
    font-size: clamp(34px, 4vw, 42px);
}

.news-list-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 46px 20px;
}

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

.news-list-card img {
    width: 100%;
    height: 200px;
    border-radius: var(--radius);
    object-fit: cover;
}

.news-list-card strong,
.news-aside__list strong {
    font-weight: 900;
    line-height: 1.35;
}

.news-list-card span,
.news-aside__list span,
.news-detail time {
    color: var(--muted);
}

.news-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 80px;
    align-items: start;
}

.news-detail time {
    display: block;
    margin: 12px 0 24px;
    color: #111;
}

.news-detail__image {
    width: 100%;
    max-height: 420px;
    border-radius: var(--radius);
    object-fit: cover;
}

.news-detail__body {
    margin-top: 34px;
    color: #3f4650;
    font-size: 16px;
}

.news-detail__body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
}

.news-aside {
    position: sticky;
    top: 110px;
}

.news-aside__list {
    display: grid;
    gap: 34px;
    margin-top: 32px;
}

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

.news-aside__list img {
    width: 100%;
    height: 146px;
    border-radius: var(--radius);
    object-fit: cover;
}

.text-section {
    padding: 34px 0 110px;
    background: #fff;
}

.text-card {
    max-width: 1180px;
    margin: 0 auto;
    padding: 38px 48px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    color: #3d444d;
    font-size: 14px;
}

.text-card p {
    margin: 0;
}

.text-card p + p {
    margin-top: 14px;
}

.telegram-section {
    min-height: 400px;
    margin-top: 0;
    overflow: visible;
    background:
        url("../img/original/subscribe-bg.png") right center / auto 100% no-repeat,
        radial-gradient(80.64% 152.25% at 73.98% 66.12%, #00031e 0, #00126f 100%);
    background-blend-mode: screen;
    color: #fff;
}

.telegram-inner {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) 420px;
    align-items: end;
    min-height: 400px;
}

.telegram-content {
    max-width: 420px;
    padding: 86px 0;
}

.telegram-content h2 {
    margin: 0 0 24px;
    color: #fff;
    font-size: 30px;
    line-height: 1.28;
}

.telegram-content p {
    max-width: 330px;
    margin: 0 0 28px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.telegram-content a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border-radius: var(--radius);
    background: #11aee8;
    color: #fff;
    font-weight: 900;
}

.telegram-phone {
    position: relative;
    height: 400px;
}

.telegram-phone__screen {
    position: absolute;
    right: 70px;
    bottom: 0;
    width: 380px;
    max-width: 100%;
}

.telegram-phone__icon {
    position: absolute;
    right: 0;
    bottom: 32px;
    width: 132px;
    height: 132px;
}

.section {
    padding: 46px 0;
}

.section--muted {
    background: #eef1f5;
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

.about-band,
.catalog-sidebar,
.subcategory-card,
.product-card,
.product-page__gallery,
.product-page__summary,
.product-page__details,
.empty-state {
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.about-band {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    padding: 28px;
}

.about-band h2 {
    margin-bottom: 0;
}

.about-band p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 17px;
}

.about-hero {
    padding: 48px 0 70px;
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .84)),
        url("../img/original/subscribe-bg.png") right center / auto 100% no-repeat,
        #fff;
}

.about-hero h1 {
    margin: 8px 0 0;
    font-size: clamp(38px, 5vw, 58px);
}

.about-triggers-section {
    padding: 42px 0;
    background: #f3f3f3;
}

.about-triggers {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.about-triggers article {
    min-height: 170px;
    padding: 28px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.about-triggers span {
    color: var(--accent);
    font-weight: 900;
}

.about-triggers h2 {
    margin: 12px 0 10px;
    font-size: 22px;
}

.about-triggers p {
    margin: 0;
    color: var(--muted);
}

.about-content-section {
    padding: 42px 0 110px;
    background: #fff;
}

.about-content-card {
    max-width: 1180px;
    margin: 0 auto;
    padding: 34px 48px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.about-content-card p,
.about-content-card li {
    color: #3f4650;
    font-size: 16px;
}

.about-content-card img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
}

.about-map-section {
    padding: 0 0 64px;
    background: #fff;
}

.about-map-shell {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
}

.about-contact-card,
.about-map-frame {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    overflow: hidden;
}

.about-contact-card {
    padding: 28px;
}

.about-contact-card h2 {
    margin: 0 0 18px;
}

.about-contact-text {
    display: grid;
    gap: 14px;
    color: #3f4650;
}

.about-contact-text p {
    margin: 0;
}

.about-contact-text a {
    color: var(--accent);
    text-decoration: underline;
}

.about-map-frame {
    min-height: 380px;
}

.about-map-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 380px;
    border: 0;
}

.catalog-heading,
.product-hero {
    padding: 34px 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

.catalog-heading {
    padding: 28px;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    background-color: #fff;
    overflow: hidden;
}

.catalog-heading--image {
    min-height: 240px;
    background: var(--catalog-hero-image) center center / cover no-repeat;
}

.product-hero {
    min-height: 260px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .82)),
        url("../img/original/subscribe-bg.png") right center / auto 100% no-repeat,
        #fff;
}

.catalog-heading h1,
.product-hero h1 {
    margin-bottom: 12px;
    font-size: clamp(30px, 4vw, 44px);
}

.catalog-heading p:not(.eyebrow),
.product-hero p:not(.eyebrow) {
    max-width: 680px;
    color: var(--muted);
    font-size: 17px;
}

.section--catalog {
    padding-top: 28px;
}

.catalog-shell {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.catalog-sidebar {
    display: grid;
    gap: 18px;
    padding: 16px;
    position: sticky;
    top: 150px;
}

.catalog-sidebar h2,
.catalog-filter-bar h2 {
    margin: 0 0 8px;
    font-size: 18px;
}

.catalog-sidebar__nav {
    display: block;
    width: 100%;
}

.catalog-sidebar__nav > * + *,
.category-tree__children > * + * {
    margin-top: 5px;
}

.catalog-sidebar__nav *,
.category-tree__children * {
    box-sizing: border-box;
    max-width: 100%;
}

.catalog-sidebar__nav details,
.category-tree__children details {
    display: block;
    width: 100%;
}

.category-tree__children {
    display: block;
    width: 100%;
    margin-top: 5px;
}

.catalog-sidebar__nav a,
.catalog-sidebar__nav summary {
    display: block !important;
    width: 100% !important;
    max-width: 100%;
    min-width: 0;
    padding: 9px 10px 9px calc(10px + var(--depth, 0) * 13px);
    border-radius: var(--radius);
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.catalog-sidebar__nav summary {
    cursor: pointer;
    list-style: none;
}

.catalog-sidebar__nav summary::marker {
    content: "";
    font-size: 0;
}

.catalog-sidebar__nav summary::-webkit-details-marker {
    display: none;
}

/*
Legacy tree rules left below intentionally neutralized by the stronger block rules above.
*/
.catalog-sidebar__nav--legacy {
    display: flex;
    gap: 5px;
}

.category-tree__group {
    display: block;
    width: 100%;
}

.catalog-sidebar__nav a:hover,
.catalog-sidebar__nav summary:hover {
    background: #f5f7fa;
    color: var(--text);
}

.catalog-sidebar__nav a.is-active,
.catalog-sidebar__nav summary.is-active {
    background: var(--accent);
    color: #fff;
}

.catalog-content {
    min-width: 0;
}

.catalog-filter-bar {
    display: grid;
    gap: 14px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.catalog-filter-bar fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.catalog-filter-bar legend {
    margin-bottom: 8px;
    padding: 0;
    color: #11151a;
    font-weight: 900;
}

.catalog-filter-bar label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.catalog-filter-bar input,
.catalog-filter-bar select {
    width: 100%;
    min-height: 38px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0 10px;
    background: #f8f8f8;
    color: var(--text);
    outline: 0;
}

.catalog-filter-bar input:focus,
.catalog-filter-bar select:focus {
    border-color: var(--accent);
    background: #fff;
}

.catalog-filter-bar p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.catalog-filter-price {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.catalog-filter-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.catalog-filter-actions button,
.catalog-filter-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    min-width: 0;
    padding: 0 16px;
    border-radius: var(--radius);
    font-weight: 900;
}

.catalog-filter-actions button {
    border: 0;
    background: var(--accent);
    color: #fff;
    cursor: pointer;
}

.catalog-filter-actions a {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--muted);
}

.subcategory-grid,
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.subcategory-card {
    display: grid;
    gap: 10px;
    min-height: 154px;
    padding: 22px;
    transition: transform .18s ease, box-shadow .18s ease;
}

.subcategory-card:hover {
    transform: translateY(-3px);
}

.subcategory-card span,
.product-card__media span,
.empty-state span,
.product-page__image span {
    display: grid;
    place-items: center;
    border-radius: var(--radius);
    background: #f4f4f4;
    color: var(--accent);
    font-weight: 900;
}

.subcategory-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    object-fit: cover;
    background: #f4f4f4;
}

.subcategory-card span {
    width: 46px;
    height: 46px;
    font-size: 22px;
}

.subcategory-card h2 {
    margin: 0;
    font-size: 19px;
}

.subcategory-card p {
    margin: 0;
    color: var(--muted);
}

.product-card {
    display: grid;
    grid-template-rows: 150px 1fr auto;
    overflow: hidden;
    border: 1px solid var(--line);
}

.product-card__media {
    display: grid;
    place-items: center;
    background: var(--surface-soft);
    border-bottom: 1px solid var(--line);
}

.product-card__media img,
.product-page__image img,
.cart-item__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.product-card__media span {
    width: 62px;
    height: 62px;
    font-size: 30px;
}

.product-card__body {
    display: grid;
    gap: 10px;
    padding: 16px;
}

.product-card__body h2 {
    margin: 0;
    font-size: 16px;
    line-height: 1.35;
}

.product-card__body p {
    margin: 0;
    color: var(--muted);
}

.product-card__body strong {
    font-size: 22px;
}

.search-page {
    display: grid;
    gap: 28px;
}

.search-page__form {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto;
    gap: 12px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
}

.search-page__form input {
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0 16px;
    outline: 0;
}

.search-page__form input:focus {
    border-color: var(--accent);
}

.search-page__form button {
    min-height: 48px;
    border: 0;
    border-radius: var(--radius);
    padding: 0 26px;
    background: var(--accent);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.search-section {
    display: grid;
    gap: 18px;
}

.search-section > h2 {
    margin: 0;
    font-size: 30px;
}

/* Premium catalog listing */
.section--catalog {
    padding: 32px 0 56px;
    background: #f7f7f7;
}

.section--catalog > .container,
.catalog-heading > .container {
    width: min(1440px, calc(100% - 48px));
}

.catalog-mobile-toolbar,
.catalog-filter-backdrop,
.catalog-filter-close {
    display: none;
}

.catalog-shell {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 32px;
    min-width: 0;
}

.catalog-sidebar {
    gap: 14px;
    padding: 0;
    top: 20px;
    width: 280px;
    min-width: 0;
}

.catalog-panel {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    padding: 20px;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    background: #fff;
}

.catalog-filter-bar {
    gap: 18px;
    padding-bottom: 0;
    border-bottom: 0;
}

.catalog-filter-bar h2,
.catalog-sidebar__nav h2 {
    margin: 0 0 14px;
    color: #1d1d1f;
    font-size: 17px;
    font-weight: 700;
}

.catalog-filter-bar legend {
    margin-bottom: 8px;
    color: #1d1d1f;
    font-size: 13px;
    font-weight: 700;
}

.catalog-filter-price {
    gap: 10px;
    min-width: 0;
}

.catalog-filter-bar input,
.catalog-filter-bar select {
    min-width: 0;
    min-height: 42px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    background: #fff;
    color: #1d1d1f;
    font-size: 13px;
}

.catalog-filter-actions {
    gap: 12px;
}

.catalog-filter-actions button,
.catalog-filter-actions a {
    min-height: 44px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
}

.catalog-filter-actions button {
    background: #c9233f;
}

.catalog-filter-actions button:hover,
.buy-button:hover {
    background: #b51f38;
}

.catalog-filter-actions a {
    border: 0;
    color: #667085;
    background: transparent;
}

.catalog-sidebar__nav {
    color: #667085;
}

.catalog-sidebar__nav a,
.catalog-sidebar__nav summary {
    padding: 8px 10px 8px calc(10px + var(--depth, 0) * 14px);
    border-radius: 10px;
    color: #667085;
    font-size: 14px;
    font-weight: 600;
}

.category-tree__children a,
.category-tree__children summary {
    font-weight: 400;
}

.catalog-sidebar__nav a:hover,
.catalog-sidebar__nav summary:hover {
    background: #f5f5f7;
    color: #1d1d1f;
}

.catalog-sidebar__nav a.is-active,
.catalog-sidebar__nav summary.is-active {
    background: #c9233f;
    color: #fff;
}

.catalog-content {
    display: grid;
    gap: 24px;
}

.catalog-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: end;
}

.catalog-toolbar__title h1 {
    margin: 0 0 8px;
    color: #1d1d1f;
    font-size: clamp(32px, 3vw, 46px);
    line-height: 1.08;
    letter-spacing: 0;
}

.catalog-toolbar__title p {
    max-width: 660px;
    margin: 0;
    color: #667085;
    font-size: 16px;
}

.catalog-toolbar__meta {
    display: grid;
    gap: 24px;
    justify-items: end;
    color: #667085;
    font-size: 14px;
}

.catalog-toolbar__meta label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.catalog-toolbar__meta select {
    min-height: 44px;
    min-width: 220px;
    padding: 0 14px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    background: #fff;
    color: #1d1d1f;
    font-weight: 600;
}

.quick-filter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.quick-filter-list a {
    min-width: 96px;
    padding: 11px 20px;
    border: 1px solid #e5e5e5;
    border-radius: 999px;
    background: #fff;
    color: #667085;
    text-align: center;
    font-weight: 600;
}

.quick-filter-list a:hover,
.quick-filter-list a.is-active {
    border-color: rgba(201, 35, 63, .28);
    background: rgba(201, 35, 63, .08);
    color: #c9233f;
}

.catalog-text-section {
    padding: 28px;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    background: #fff;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.7;
}

.catalog-text-section > *:first-child {
    margin-top: 0;
}

.catalog-text-section > *:last-child {
    margin-bottom: 0;
}

.catalog-text-section a {
    color: #c9233f;
    text-decoration: underline;
}

.subcategory-grid,
.product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.subcategory-card,
.product-card {
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    background: #fff;
    box-shadow: none;
}

.subcategory-card {
    min-height: 170px;
    padding: 18px;
}

.subcategory-card:hover,
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(29, 29, 31, .08);
}

.product-card {
    display: flex;
    flex-direction: column;
    padding: 16px;
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
}

.product-card__media {
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 236px;
    overflow: hidden;
    border: 0;
    border-radius: 14px;
    background: #fff;
}

.product-card__media img {
    padding: 16px;
}

.product-card__body {
    flex: 1 1 auto;
    gap: 9px;
    padding: 14px 0 16px;
}

.product-card__body h2 {
    min-height: 43px;
    color: #1d1d1f;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.42;
}

.product-card__body h2 a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-card__body p {
    min-height: 20px;
    overflow: hidden;
    color: #8b95a1;
    font-size: 13px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.product-card__body strong {
    color: #1d1d1f;
    font-size: 22px;
    line-height: 1.1;
}

.product-card form {
    flex: 0 0 auto;
    margin: 0;
}

.buy-button {
    width: 100%;
    min-height: 44px;
    border-radius: 10px;
    background: #c9233f;
    font-size: 14px;
    font-weight: 700;
}

.empty-state {
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    background: #fff;
}

.buy-button {
    min-height: 46px;
    border: 0;
    background: var(--accent);
    color: #fff;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.buy-button--large {
    width: 100%;
    min-height: 52px;
    font-size: 17px;
}

.product-page {
    display: grid;
    grid-template-columns: minmax(280px, 430px) minmax(280px, 1fr);
    gap: 22px;
}

.section--product {
    padding: 32px 0 56px;
    background: #f7f7f7;
}

.product-shell {
    width: min(1200px, calc(100% - 48px));
}

.section--product .product-page {
    grid-template-columns: minmax(320px, 520px) minmax(320px, 1fr);
    gap: 24px;
}

.product-page__gallery,
.product-page__summary,
.product-page__details {
    padding: 22px;
}

.product-page__image {
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 1;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-soft);
}

.product-page__image span {
    width: 110px;
    height: 110px;
    font-size: 54px;
}

.product-page__gallery p,
.product-note {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.product-page__summary {
    display: grid;
    align-content: start;
    gap: 18px;
}

.product-meta {
    display: grid;
    gap: 8px;
    color: var(--muted);
}

.product-meta strong {
    color: var(--text);
}

.product-price-box {
    display: grid;
    gap: 4px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff8f8;
}

.product-price-box span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.product-price-box strong {
    font-size: 34px;
    line-height: 1.1;
}

.availability-box {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid #cfe8da;
    border-radius: var(--radius);
    background: #f4fbf7;
    color: var(--green);
    font-weight: 900;
}

.availability-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--green);
}

.product-page__details {
    grid-column: 1 / -1;
}

.product-page__details h2 {
    margin-bottom: 16px;
    font-size: 22px;
}

.product-page__details dl {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin: 0 0 22px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--line);
}

.product-page__details dl div {
    display: grid;
    gap: 4px;
    padding: 14px;
    background: var(--surface);
}

.product-page__details dt {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.product-page__details dd {
    margin: 0;
    font-weight: 800;
}

.product-faq {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.product-faq__item {
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
}

.product-faq__item summary {
    padding: 14px 16px;
    color: #1d1d1f;
    font-weight: 900;
    cursor: pointer;
}

.product-faq__answer {
    padding: 0 16px 16px;
    color: #4b5563;
    line-height: 1.65;
}

.product-faq__answer > *:first-child {
    margin-top: 0;
}

.product-faq__answer > *:last-child {
    margin-bottom: 0;
}

.empty-state {
    display: grid;
    justify-items: center;
    padding: 64px 28px;
    text-align: center;
}

.empty-state span {
    width: 76px;
    height: 76px;
    margin-bottom: 18px;
    border-radius: 50%;
    font-size: 34px;
}

.empty-state p {
    max-width: 520px;
    color: var(--muted);
}

.cart-shell {
    display: grid;
    gap: 18px;
}

.cart-notice {
    padding: 14px 18px;
    border-radius: var(--radius);
    background: #f4fbf7;
    color: var(--green);
    font-weight: 800;
}

.cart-notice--error {
    background: #fff2f4;
    color: var(--accent);
}

.cart-section {
    background: #fff;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumbs--hero {
    width: fit-content;
    max-width: 100%;
    margin-bottom: 18px;
    padding: 8px 10px;
    border: 1px solid rgba(229, 229, 229, .85);
    border-radius: 999px;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(8px);
    font-size: 13px;
}

.breadcrumbs a {
    color: var(--accent);
    font-weight: 800;
}

.breadcrumbs > * + *::before {
    content: "-";
    margin-right: 8px;
    color: #b4bac2;
    font-weight: 400;
}

.breadcrumbs span {
    color: var(--muted);
    font-weight: 700;
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 20px;
    align-items: start;
}

.cart-main {
    display: grid;
    gap: 20px;
}

.cart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cart-head h1 {
    margin: 0;
    font-size: clamp(28px, 4vw, 40px);
}

.cart-clear {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 0;
    background: transparent;
    color: var(--accent);
    font-weight: 800;
    cursor: pointer;
}

.cart-clear b,
.cart-remove::before,
.cart-remove::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    content: "";
}

.cart-clear b {
    transform: rotate(45deg);
}

.cart-clear b::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transform: rotate(90deg);
    content: "";
}

.cart-list {
    display: grid;
}

.cart-item {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr) 150px 150px 42px;
    gap: 24px;
    align-items: center;
    min-height: 132px;
    padding: 16px 22px;
    border: 1px solid var(--line);
    background: #fff;
}

.cart-item + .cart-item {
    border-top: 0;
}

.cart-item:first-child {
    border-radius: var(--radius) var(--radius) 0 0;
}

.cart-item:last-child {
    border-radius: 0 0 var(--radius) var(--radius);
}

.cart-item__media {
    display: grid;
    place-items: center;
    width: 160px;
    height: 100px;
    background: #f2f2f2;
    overflow: hidden;
}

.cart-item__media span {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fff;
    color: var(--accent);
    font-size: 30px;
    font-weight: 900;
}

.cart-item__body {
    display: grid;
    gap: 8px;
}

.cart-item__body a {
    font-size: 19px;
    font-weight: 900;
    line-height: 1.35;
}

.cart-item__body small,
.cart-qty span {
    color: var(--muted);
}

.cart-qty {
    display: grid;
    grid-template-columns: 42px 46px 42px;
    align-items: center;
    justify-content: center;
}

.cart-qty form,
.cart-qty strong {
    min-height: 40px;
}

.cart-qty button {
    width: 42px;
    height: 40px;
    border: 0;
    background: #eeeeee;
    color: var(--accent);
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.cart-qty strong {
    display: grid;
    place-items: center;
    background: #fff;
    color: #243244;
    font-size: 16px;
}

.cart-qty span {
    grid-column: 1 / -1;
    margin-top: 8px;
    font-size: 13px;
    text-align: center;
}

.cart-item__total {
    font-size: 20px;
    text-align: right;
}

.cart-remove {
    position: relative;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    color: #8d8d8d;
    cursor: pointer;
}

.cart-remove::before {
    position: absolute;
    width: 18px;
    transform: rotate(45deg);
}

.cart-remove::after {
    position: absolute;
    width: 18px;
    transform: rotate(-45deg);
}

.checkout-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.checkout-form {
    display: grid;
    gap: 20px;
}

.checkout-card {
    min-height: 260px;
    padding: 36px 48px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.checkout-card--wide {
    min-height: auto;
}

.checkout-card h2 {
    margin: 0 0 20px;
    font-size: 25px;
}

.checkout-fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.checkout-fields label,
.delivery-fields label {
    display: grid;
    gap: 8px;
    color: #111827;
    font-weight: 800;
}

.checkout-fields input,
.checkout-fields textarea,
.delivery-fields input,
.delivery-fields textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8f8f8;
    padding: 13px 14px;
    color: var(--text);
    font-weight: 500;
    outline: none;
}

.checkout-fields textarea,
.delivery-fields textarea {
    resize: vertical;
}

.checkout-fields input:focus,
.checkout-fields textarea:focus,
.delivery-fields input:focus,
.delivery-fields textarea:focus {
    border-color: var(--accent);
    background: #fff;
}

.checkout-field--wide {
    grid-column: 1 / -1;
}

.delivery-fields {
    display: grid;
    gap: 14px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.delivery-fields[hidden] {
    display: none;
}

.field-error {
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
}

.radio-line {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
}

.radio-line label,
.checkout-option {
    cursor: pointer;
}

.radio-line input,
.checkout-option input {
    width: 16px;
    height: 16px;
    accent-color: var(--accent);
}

.checkout-option {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    margin-bottom: 22px;
}

.checkout-option span {
    display: grid;
    gap: 8px;
}

.checkout-option em {
    color: var(--muted);
    font-style: normal;
}

.checkout-option b {
    display: inline-block;
    min-width: 84px;
    margin-left: 8px;
    padding: 2px 10px;
    border-radius: var(--radius);
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    text-align: center;
}

.checkout-option small {
    color: var(--muted);
}

.checkout-option--compact {
    margin-bottom: 14px;
}

.cart-summary {
    position: sticky;
    top: 110px;
    display: grid;
    gap: 14px;
    padding-top: 64px;
}

.cart-summary__line,
.cart-summary__total {
    display: flex;
    justify-content: space-between;
    gap: 18px;
}

.cart-summary__line strong {
    font-weight: 500;
    white-space: nowrap;
}

.cart-summary__line .is-free {
    color: #20a800;
}

.cart-summary__total {
    align-items: baseline;
    margin-top: 6px;
    font-weight: 900;
}

.cart-summary__total span {
    font-size: 19px;
}

.cart-summary__total strong {
    font-size: 24px;
    white-space: nowrap;
}

.cart-table {
    display: grid;
    gap: 10px;
}

.cart-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 140px 150px;
    gap: 18px;
    align-items: center;
    padding: 18px;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
}

.cart-row a {
    font-weight: 900;
}

.cart-row span {
    color: var(--muted);
}

.cart-row strong {
    text-align: right;
    font-size: 18px;
}

.site-footer {
    background: #11151a;
    color: #d9e0e8;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 28px;
    padding: 44px 0;
}

.brand--footer .brand__logo {
    width: 132px;
    filter: brightness(0) invert(1);
}

.footer-grid h2 {
    font-size: 16px;
}

.footer-grid a,
.footer-grid span {
    display: block;
    margin-bottom: 10px;
}

.footer-grid p {
    color: #9aa7b6;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: #9aa7b6;
    font-size: 13px;
}

@media (max-width: 980px) {
    .topline__inner,
    .header-main,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .device-nav {
        width: 100%;
    }

    .header-search,
    .header-action,
    .header-contacts {
        flex: none;
        width: 100%;
    }

    .header-search {
        min-height: 44px;
    }

    .search-suggest {
        width: 100%;
        max-height: 520px;
    }

    .search-page__form {
        grid-template-columns: 1fr;
    }

    .header-contacts {
        align-items: start;
    }

    .main-slider__inner,
    .popular-grid,
    .stocks-banner,
    .advantages-grid,
    .news-grid,
    .telegram-inner,
    .about-band,
    .about-triggers,
    .about-map-shell,
    .news-list-grid,
    .news-detail-layout,
    .catalog-filter-bar,
    .catalog-shell,
    .subcategory-grid,
    .product-grid,
    .product-page,
    .product-page__details dl,
    .cart-layout,
    .checkout-grid,
    .cart-row,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cart-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .cart-item {
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 16px;
        padding: 16px;
    }

    .cart-item__media {
        width: 112px;
        height: 86px;
    }

    .cart-qty,
    .cart-item__total,
    .cart-remove {
        grid-column: 2;
    }

    .cart-qty {
        justify-content: start;
    }

    .cart-item__total {
        text-align: left;
    }

    .checkout-card {
        padding: 26px 22px;
    }

    .cart-summary {
        position: static;
        padding-top: 0;
        padding: 22px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: #fff;
    }

    .checkout-fields {
        grid-template-columns: 1fr;
    }

    .main-slider__content {
        padding: 28px 0;
    }

    .slider-arrow {
        display: none;
    }

    .catalog-sidebar {
        position: static;
        max-height: none;
    }

    .text-section {
        padding-bottom: 42px;
    }

    .text-card {
        padding: 24px;
    }

    .about-content-section {
        padding-bottom: 42px;
    }

    .about-content-card {
        padding: 24px;
    }

    .news-detail-layout {
        gap: 36px;
    }

    .news-aside {
        position: static;
    }

    .telegram-section,
    .telegram-inner {
        min-height: auto;
    }

    .telegram-content {
        padding: 36px 0;
    }

    .telegram-phone {
        height: 320px;
    }

    .telegram-phone__screen {
        right: 58px;
        width: 300px;
    }

    .telegram-phone__icon {
        width: 96px;
        height: 96px;
    }

    .feedback-modal__dialog {
        padding: 44px 22px 28px;
    }

    .feedback-modal__dialog h2 {
        font-size: 28px;
    }

    .feedback-form {
        gap: 16px;
    }
}

@media (max-width: 1280px) {
    .subcategory-grid,
    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .section--catalog > .container,
    .catalog-heading > .container {
        width: min(100% - 24px, 1440px);
    }

    .catalog-mobile-toolbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        margin-bottom: 16px;
        color: #667085;
        font-size: 14px;
    }

    .catalog-filter-open,
    .catalog-filter-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        padding: 0 18px;
        border-radius: 999px;
        background: #c9233f;
        color: #fff;
        font-weight: 700;
        cursor: pointer;
    }

    .catalog-filter-close {
        width: 100%;
        margin-bottom: 12px;
        background: #1d1d1f;
    }

    .catalog-filter-backdrop {
        position: fixed;
        inset: 0;
        z-index: 39;
        display: none;
        background: rgba(0, 0, 0, .28);
    }

    .catalog-filter-toggle:checked ~ .catalog-filter-backdrop {
        display: block;
    }

    .catalog-shell {
        display: block;
    }

    .catalog-sidebar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 40;
        display: block;
        max-height: min(86vh, 720px);
        padding: 14px 14px 24px;
        overflow: auto;
        border-radius: 20px 20px 0 0;
        background: #f7f7f7;
        transform: translateY(105%);
        transition: transform .22s ease;
    }

    .catalog-filter-toggle:checked ~ .catalog-shell .catalog-sidebar {
        transform: translateY(0);
    }

    .catalog-sidebar .catalog-panel + .catalog-panel {
        margin-top: 14px;
    }

    .catalog-content {
        gap: 18px;
    }

    .catalog-toolbar {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .catalog-toolbar__meta {
        justify-items: stretch;
    }

    .catalog-toolbar__meta label {
        justify-content: space-between;
    }

    .catalog-toolbar__meta select {
        min-width: 0;
        width: 100%;
    }

    .quick-filter-list {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 3px;
    }

    .quick-filter-list a {
        min-width: max-content;
    }

    .subcategory-grid,
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .product-card {
        padding: 10px;
        border-radius: 14px;
    }

    .product-card__media {
        border-radius: 12px;
    }

    .product-card__body {
        padding: 10px 0 12px;
    }

    .product-card__body h2 {
        min-height: 39px;
        font-size: 13px;
    }

    .product-card__body p {
        font-size: 12px;
    }

    .product-card__body strong {
        font-size: 18px;
    }

    .buy-button {
        min-height: 40px;
        padding: 0 8px;
        border-radius: 10px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .subcategory-grid,
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .topline {
        font-size: 12px;
    }

    .topline__inner {
        min-height: 0;
        padding: 8px 0;
        gap: 8px;
    }

    .topline__nav {
        display: none;
    }

    .topline__contact {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
        width: 100%;
        gap: 8px;
    }

    .topline__contact strong {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .feedback-link {
        justify-self: end;
        white-space: nowrap;
    }

    .header-main {
        display: grid;
        grid-template-columns: minmax(120px, 1fr) auto;
        grid-template-areas:
            "brand cart"
            "nav nav"
            "search search"
            "contacts contacts";
        align-items: center;
        min-height: 0;
        padding: 10px 0 12px;
        gap: 10px 12px;
    }

    .brand {
        grid-area: brand;
        min-width: 0;
    }

    .brand__logo {
        width: 116px;
    }

    .primary-catalog-nav {
        grid-area: nav;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        gap: 8px;
        overflow: visible;
    }

    .primary-catalog-nav a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 38px;
        padding: 0 10px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #fff;
        font-size: 14px;
    }

    .primary-catalog-nav a + a::before {
        content: none;
    }

    .header-search {
        grid-area: search;
        min-height: 42px;
        width: 100%;
        border: 1px solid var(--line);
        background: #fff;
    }

    .header-search input {
        padding-left: 44px;
    }

    .header-action {
        grid-area: cart;
        width: auto;
        min-width: 112px;
        min-height: 40px;
        padding: 0 12px;
        border-radius: 8px;
        white-space: nowrap;
    }

    .header-contacts {
        grid-area: contacts;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        gap: 10px;
        padding-top: 2px;
        min-width: 0;
    }

    .header-contacts__phone,
    .header-contacts__telegram {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 480px) {
    .topline__contact {
        grid-template-columns: 1fr auto;
    }

    .topline__contact span {
        display: none;
    }

    .header-main {
        grid-template-columns: minmax(92px, 1fr) auto;
        gap: 8px;
    }

    .brand__logo {
        width: 102px;
    }

    .header-action {
        min-width: 96px;
        font-size: 14px;
    }

    .header-contacts {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }
}

@media (max-width: 980px) {
    .site-header {
        position: sticky;
    }

    .topline__inner {
        align-items: center;
        flex-direction: row;
    }

    .header-main {
        display: grid;
        grid-template-columns: minmax(92px, 1fr) auto;
        grid-template-areas:
            "brand mobile-actions"
            "search search"
            "contacts contacts"
            "menu menu";
        align-items: center;
        min-height: 0;
        padding: 10px 0;
        gap: 10px;
    }

    .mobile-header-actions {
        grid-area: mobile-actions;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 6px;
    }

    .mobile-icon-button {
        position: relative;
        display: grid;
        place-items: center;
        width: 40px;
        height: 40px;
        min-width: 40px;
        border: 1px solid var(--line);
        border-radius: 10px;
        background: #fff;
        color: #1d1d1f;
        cursor: pointer;
    }

    .mobile-icon-button:hover,
    .mobile-icon-button.is-active {
        border-color: rgba(193, 43, 66, .35);
        background: rgba(193, 43, 66, .06);
    }

    .mobile-icon {
        display: block;
        width: 21px;
        height: 21px;
        background: currentColor;
    }

    .mobile-icon--search {
        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E") center / contain no-repeat;
        -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E") center / contain no-repeat;
    }

    .mobile-icon--phone {
        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2A19.79 19.79 0 0 1 3.08 5.18 2 2 0 0 1 5.06 3h3a2 2 0 0 1 2 1.72c.12.89.32 1.76.59 2.6a2 2 0 0 1-.45 2.11L9 10.64a16 16 0 0 0 4.36 4.36l1.21-1.21a2 2 0 0 1 2.11-.45c.84.27 1.71.47 2.6.59A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / contain no-repeat;
        -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2A19.79 19.79 0 0 1 3.08 5.18 2 2 0 0 1 5.06 3h3a2 2 0 0 1 2 1.72c.12.89.32 1.76.59 2.6a2 2 0 0 1-.45 2.11L9 10.64a16 16 0 0 0 4.36 4.36l1.21-1.21a2 2 0 0 1 2.11-.45c.84.27 1.71.47 2.6.59A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / contain no-repeat;
    }

    .mobile-burger,
    .mobile-burger::before,
    .mobile-burger::after {
        display: block;
        width: 20px;
        height: 2px;
        border-radius: 2px;
        background: currentColor;
        content: "";
    }

    .mobile-burger {
        position: relative;
    }

    .mobile-burger::before,
    .mobile-burger::after {
        position: absolute;
        left: 0;
    }

    .mobile-burger::before {
        top: -7px;
    }

    .mobile-burger::after {
        top: 7px;
    }

    .mobile-icon-button--cart .cart-count {
        width: 24px;
        height: 24px;
        background: var(--accent);
        color: #fff;
        font-size: 12px;
    }

    .brand {
        grid-area: brand;
    }

    .brand__logo {
        width: 108px;
    }

    .primary-catalog-nav,
    .header-action--cart {
        display: none;
    }

    .header-search,
    .header-contacts,
    .mobile-menu-panel {
        display: none;
        width: 100%;
    }

    .site-header.is-mobile-search-open .header-search {
        grid-area: search;
        display: grid;
        margin-top: 2px;
    }

    .site-header.is-mobile-contacts-open .header-contacts {
        grid-area: contacts;
        display: grid;
        gap: 6px;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 12px;
        background: #fff;
    }

    .site-header.is-mobile-menu-open .mobile-menu-panel {
        grid-area: menu;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 12px;
        background: #fff;
    }

    .mobile-menu-panel strong {
        grid-column: 1 / -1;
        margin-top: 6px;
        color: var(--muted);
        font-size: 12px;
        text-transform: uppercase;
    }

    .mobile-menu-panel strong:first-child {
        margin-top: 0;
    }

    .mobile-menu-panel a {
        display: flex;
        align-items: center;
        min-height: 40px;
        padding: 0 12px;
        border-radius: 9px;
        background: #f5f5f7;
        color: #1d1d1f;
        font-weight: 800;
    }

    .search-suggest {
        width: 100%;
        max-height: min(520px, calc(100vh - 160px));
    }
}

@media (max-width: 480px) {
    .mobile-header-actions {
        gap: 4px;
    }

    .mobile-icon-button {
        width: 36px;
        height: 36px;
        min-width: 36px;
        border-radius: 9px;
    }

    .brand__logo {
        width: 96px;
    }

    .site-header.is-mobile-menu-open .mobile-menu-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    .catalog-heading {
        padding: 20px;
        border-radius: 14px;
    }

    .breadcrumbs--hero {
        display: inline-flex;
        width: auto;
        max-width: 100%;
        margin-bottom: 14px;
        padding: 7px 9px;
        overflow-x: auto;
        flex-wrap: nowrap;
        white-space: nowrap;
        scrollbar-width: none;
    }

    .breadcrumbs--hero::-webkit-scrollbar {
        display: none;
    }

    .catalog-heading--image {
        position: relative;
        display: grid;
        min-height: 0;
        padding-top: 188px;
        background: #fff;
    }

    .catalog-heading--image::before {
        position: absolute;
        top: 38px;
        left: 0;
        right: 0;
        height: 150px;
        border-bottom: 1px solid #ececec;
        background: var(--catalog-hero-image) center center / contain no-repeat #f7f7f7;
        content: "";
    }

    .catalog-heading--image > * {
        position: relative;
        z-index: 1;
    }

    .catalog-heading--image .breadcrumbs--hero {
        position: absolute;
        top: 0;
        left: 12px;
        right: 12px;
        z-index: 2;
        width: auto;
        margin: 0;
        border-color: transparent;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
    }

    .catalog-heading h1 {
        font-size: 30px;
    }

    .catalog-heading p:not(.eyebrow) {
        font-size: 15px;
    }

    .catalog-toolbar {
        padding: 16px;
        border: 1px solid #e5e5e5;
        border-radius: 14px;
        background: #fff;
    }

    .catalog-toolbar__title h1 {
        font-size: 28px;
    }

    .catalog-toolbar__meta {
        gap: 12px;
        justify-items: stretch;
    }

    .catalog-toolbar__meta label {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        width: 100%;
        align-items: stretch;
    }

    .catalog-toolbar__meta label > span {
        display: block;
        color: #667085;
        font-size: 13px;
        line-height: 1.2;
    }

    .catalog-toolbar__meta select {
        display: block;
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        height: 44px;
        min-height: 44px;
        padding: 0 42px 0 12px;
        overflow: hidden;
        border: 1px solid #d8dce2;
        border-radius: 10px;
        appearance: none;
        -webkit-appearance: none;
        background:
            linear-gradient(45deg, transparent 50%, #667085 50%) right 17px center / 6px 6px no-repeat,
            linear-gradient(135deg, #667085 50%, transparent 50%) right 11px center / 6px 6px no-repeat,
            #fff;
        color: #1d1d1f;
        font-size: 14px;
        font-weight: 700;
        line-height: 44px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .catalog-heading {
        padding: 16px;
    }

    .catalog-heading--image {
        padding-top: 154px;
    }

    .catalog-heading--image::before {
        top: 34px;
        height: 120px;
    }

    .catalog-heading--image .breadcrumbs--hero {
        top: 0;
        left: 10px;
        right: 10px;
        max-width: calc(100% - 20px);
    }

    .catalog-heading h1 {
        font-size: 26px;
    }

    .catalog-toolbar {
        padding: 14px;
    }

    .catalog-toolbar__title h1 {
        font-size: 24px;
    }
}

.buy-button {
    border-radius: 10px;
    background: #c9233f;
}
