@font-face {
    font-family: "InterLocal";
    src: url("../template/assets/fonts/Inter-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "InterLocal";
    src: url("../template/assets/fonts/Inter-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --brand-red: #a62721;
    --brand-red-dark: #761913;
    --gold: #c8a24a;
    --ink: #1d1d1f;
    --muted: #71717a;
    --line: #e7e2dc;
    --paper: #f7f4ef;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(31, 25, 20, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "InterLocal", Arial, sans-serif;
    color: var(--ink);
    background: var(--white);
    font-size: 15px;
    line-height: 1.65;
}

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

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

button,
input,
select,
textarea {
    font: inherit;
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

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

.section-space {
    padding: 72px 0;
}

.section-eyebrow {
    margin: 0 0 10px;
    color: var(--brand-red);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

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

.section-heading h2,
.intro-grid h2,
.featured-copy h2,
.split-content h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 36px);
    line-height: 1.15;
}

.section-heading a,
.text-link {
    color: var(--brand-red);
    font-weight: 700;
}

.featured-band {
    background: linear-gradient(135deg, #fff8f2 0%, #f7f4ef 100%);
}

.featured-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 36px;
    align-items: start;
}

.featured-copy h2 {
    margin-bottom: 14px;
}

.featured-copy p:last-child {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
}

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

.project-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(29, 29, 31, 0.06);
}

.project-card__image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.project-card__body {
    padding: 22px;
}

.project-card__eyebrow {
    margin: 0 0 8px;
    color: var(--brand-red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.project-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.25;
    color: var(--ink);
}

.project-card p {
    margin: 0 0 14px;
    color: var(--muted);
}

.project-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-red);
    font-weight: 700;
}

@media (max-width: 900px) {
    .featured-layout {
        grid-template-columns: 1fr;
    }

    .featured-projects {
        grid-template-columns: 1fr;
    }
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 50;
    width: 100%;
    color: var(--white);
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(10px);
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
    background: rgba(20, 18, 16, 0.95);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.header-main {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    transition: transform 0.25s ease, opacity 0.25s ease, height 0.25s ease, padding 0.25s ease;
}

.site-header.is-header-hidden .header-main {
    height: 0;
    padding: 0;
    border-bottom: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
}

@media (max-width: 1023px) {
    .site-header.is-header-hidden .header-main {
        height: auto;
        padding: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.16);
        overflow: visible;
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }
}

.header-main__inner {
    min-height: 86px;
    display: grid;
    grid-template-columns: 300px 1fr 300px;
    align-items: center;
    gap: 24px;
}

.header-logo {
    justify-self: center;
}

.header-logo img,
.mobile-drawer__logo img {
    max-height: 46px;
    object-fit: contain;
}

.header-search,
.mobile-search {
    height: 44px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    overflow: hidden;
}

.header-search input,
.mobile-search input {
    width: calc(100% - 40px);
    min-width: 0;
    border: 0;
    outline: 0;
    color: var(--white);
    background: transparent;
    padding: 0 0 0 15px;
}

.header-search input::placeholder,
.mobile-search input::placeholder {
    color: rgba(255, 255, 255, 0.84);
}

.header-search button,
.mobile-search button {
    width: 35px;
    height: 35px;
    margin-right: 3px;
    border: 0;
    border-radius: 50%;
    color: var(--white);
    background: var(--brand-red);
    cursor: pointer;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
}

.consult-link,
.product-summary__actions button,
.product-summary__actions a,
.checkout-form button,
.contact-form button,
.order-summary a,
.success-box a,
.footer-form button {
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: var(--brand-red);
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.consult-link {
    padding: 10px 18px;
    text-transform: uppercase;
    font-size: 13px;
}

.consult-link:hover,
.product-summary__actions button:hover,
.product-summary__actions a:hover,
.checkout-form button:hover,
.contact-form button:hover,
.order-summary a:hover,
.success-box a:hover,
.footer-form button:hover {
    background: var(--brand-red-dark);
    transform: translateY(-1px);
}

.cart-summary {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
}

.cart-summary img {
    width: 28px;
}

.cart-summary strong,
.floating-cart span {
    color: var(--gold);
}

.desktop-nav .nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0;
    margin: 0 auto;
    list-style: none;
}

.nav-list > li {
    position: relative;
}

.nav-list > li > a {
    display: block;
    padding: 18px 20px;
    font-weight: 700;
}

.nav-list > li > a.active,
.nav-list > li > a:hover {
    color: var(--gold);
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 260px;
    margin: 0;
    padding: 8px 14px;
    list-style: none;
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
    transform: translateY(12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-list > li:hover .nav-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.nav-dropdown a {
    display: block;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
}

.nav-dropdown a:hover{
    color: var(--brand-red-dark);
}

.mobile-menu-button {
    display: none;
    border: 0;
    color: var(--white);
    background: transparent;
    font-size: 30px;
}

.mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(6, 5, 4, 0.72);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.mobile-drawer.is-open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-drawer__panel {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100vh;
    padding: 28px;
    box-sizing: border-box;
    overflow-y: auto;
    background: linear-gradient(180deg, #151310 0%, #0f0d0c 100%);
    transform: translateX(-100%);
    transition: transform 0.25s ease;
}

.mobile-drawer.is-open .mobile-drawer__panel {
    transform: translateX(0);
}

.mobile-drawer__close {
    float: right;
    border: 0;
    color: var(--white);
    background: transparent;
    font-size: 24px;
}

.mobile-search {
    margin: 28px 0;
}

.mobile-nav {
    clear: both;
    padding: 0;
    margin: 28px 0 0;
    list-style: none;
}

.mobile-nav__item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.mobile-nav__link-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.mobile-nav__link-row a {
    flex: 1;
    display: block;
    padding: 13px 0;
}

.mobile-nav__toggle {
    width: 34px;
    height: 34px;
    line-height: 32px;
    border: 0;
    border-radius: 50%;
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.mobile-nav__toggle:hover {
    background: rgba(255, 255, 255, 0.16);
}

.mobile-nav__toggle i {
    transition: transform 0.2s ease;
}

.mobile-nav__item.is-open .mobile-nav__toggle i {
    transform: rotate(180deg);
}

.mobile-nav__children {
    max-height: 0;
    margin: 0 0 0 12px;
    padding: 0;
    overflow: hidden;
    list-style: none;
    opacity: 0;
    transition: max-height 0.25s ease, opacity 0.2s ease, margin 0.25s ease;
}

.mobile-nav__item.is-open .mobile-nav__children {
    max-height: 100%;
    opacity: 1;
}

.mobile-nav__children a {
    display: block;
    padding: 9px 0;
    color: rgba(255, 255, 255, 0.82);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

.mobile-nav__children a:hover {
    color: var(--gold);
}

.hero-slider {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: #141210;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.55s ease;
}

.hero-slide.is-active {
    opacity: 1;
}

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.18));
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide__content {
    position: absolute;
    left: max(24px, calc((100vw - 1200px) / 2));
    top: 50%;
    z-index: 2;
    width: min(620px, calc(100% - 48px));
    color: var(--white);
    transform: translateY(-42%);
}

.hero-slide__content p {
    margin: 0 0 10px;
    color: var(--gold);
    font-weight: 700;
    text-transform: uppercase;
}

.hero-slide__content h1 {
    margin: 0;
    font-size: clamp(40px, 7vw, 82px);
    line-height: 1.04;
}

.hero-slide__content span {
    display: block;
    max-width: 540px;
    margin: 20px 0 30px;
    font-size: 18px;
}

.hero-slide__content a {
    display: inline-flex;
    padding: 12px 24px;
    border-radius: 999px;
    background: var(--brand-red);
    font-weight: 700;
}

.hero-slider__controls {
    position: absolute;
    right: max(24px, calc((100vw - 1200px) / 2));
    bottom: 42px;
    z-index: 3;
    display: flex;
    gap: 12px;
}

.hero-slider__controls button {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    color: var(--white);
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.home-intro {
    background: var(--paper);
}

.intro-grid,
.split-content {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: start;
}

.category-strip {
    padding: 22px 0;
    background: #191614;
    color: var(--white);
}

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

.category-grid a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 82px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.04);
}

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

.product-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--line);
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.product-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.product-card__image {
    display: block;
    aspect-ratio: 1 / 1;
    background: #f4f1ec;
    overflow: hidden;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-card__image img {
    transform: scale(1.05);
}

.product-card__body {
    padding: 18px;
    text-align: center;
}

.product-card__category {
    margin: 0 0 6px;
    color: var(--muted);
    font-size: 13px;
}

.product-card h3 {
    min-height: 50px;
    margin: 0;
    font-size: 16px;
    line-height: 1.45;
}

.product-card h3 a:hover {
    color: var(--brand-red);
}

.product-card__price {
    min-height: 32px;
    margin: 12px 0 14px;
}

.product-card__price span {
    color: var(--brand-red);
    font-weight: 700;
}

.product-card__price del {
    display: block;
    color: var(--muted);
    font-size: 13px;
}

.product-card__actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.product-card__actions a,
.product-card__actions button {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: var(--white);
    background: var(--brand-red);
    cursor: pointer;
}

.featured-band {
    background: #171411;
    color: var(--white);
}

.featured-layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 42px;
    align-items: center;
}

.featured-copy p:not(.section-eyebrow) {
    color: rgba(255, 255, 255, 0.74);
}

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

.page-hero {
    min-height: 360px;
    padding-top: 170px;
    display: flex;
    align-items: center;
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(20, 14, 10, 0.88), rgba(20, 14, 10, 0.45)),
        url("../library/client/bg_breadcrumb.jpg") center/cover;
}

.page-hero p,
.page-hero span {
    color: rgba(255, 255, 255, 0.78);
}

.page-hero h1 {
    margin: 4px 0 10px;
    font-size: clamp(28px, 6vw, 40px);
    line-height: 1.08;
}

.catalog-layout,
.checkout-layout,
.contact-layout,
.cart-layout,
.article-detail-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: start;
}

.catalog-sidebar,
.order-summary,
.contact-panel,
.related-news {
    border: 1px solid var(--line);
    background: var(--paper);
    padding: 24px;
}

.catalog-sidebar {
    position: sticky;
    top: 140px;
}

.catalog-sidebar h2,
.order-summary h2,
.contact-panel h2,
.related-news h2 {
    margin: 0 0 16px;
    font-size: 22px;
}

.catalog-sidebar a,
.related-news a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.catalog-sidebar a.active,
.catalog-sidebar a:hover,
.related-news a:hover {
    color: var(--brand-red);
    font-weight: 700;
}

.catalog-toolbar {
    display: grid;
    grid-template-columns: 1fr 180px 110px;
    gap: 12px;
    margin-bottom: 24px;
}

.catalog-toolbar input,
.catalog-toolbar select,
.catalog-toolbar button,
.checkout-form input,
.checkout-form textarea,
.contact-form input,
.contact-form select,
.contact-form textarea,
.footer-form input,
.inline-consult-form input {
    width: 100%;
    border: 1px solid var(--line);
    outline: 0;
    background: var(--white);
    padding: 12px 14px;
}

.catalog-toolbar button {
    border: 0;
    color: var(--white);
    background: var(--brand-red);
    font-weight: 700;
    cursor: pointer;
}

.pagination-clean {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 36px;
}

.pagination-clean a {
    min-width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    padding: 0 12px;
}

.pagination-clean a:hover,
.pagination-clean a.active {
    color: var(--white);
    background: var(--brand-red);
    border-color: var(--brand-red);
    box-shadow: 0 6px 16px rgba(190, 32, 46, 0.2);
}

.cart-toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    background: var(--brand-red);
    color: var(--white);
    padding: 12px 16px;
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.25s ease;
    pointer-events: none;
    font-weight: 600;
}

.cart-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.product-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 46px;
}

.product-gallery__main {
    aspect-ratio: 1 / 1;
    border: 1px solid var(--line);
    background: var(--paper);
}

.product-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.product-gallery__thumbs button {
    aspect-ratio: 1 / 1;
    padding: 0;
    border: 1px solid var(--line);
    background: var(--white);
    cursor: pointer;
}

.product-gallery__thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-summary h1 {
    margin: 0 0 18px;
    font-size: clamp(30px, 4vw, 30px);
    line-height: 1.15;
}

.detail-attrs {
    padding: 0;
    margin: 0 0 20px;
    list-style: none;
    border-top: 1px solid var(--line);
}

.detail-attrs li,
.order-summary div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.detail-attrs span,
.order-summary span {
    color: var(--muted);
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.checkout-item span {
    color: var(--text);
    line-height: 1.45;
}

.checkout-item strong {
    color: var(--brand-red);
    font-size: 14px;
    white-space: nowrap;
}

.order-summary [data-checkout-items] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.product-price strong {
    color: var(--brand-red);
}

.product-price del {
    color: var(--muted);
    font-size: 13px;
}

.quantity-control {
    width: 146px;
    min-height: 46px;
    display: grid;
    grid-template-columns: 42px 1fr 42px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    overflow: hidden;
    background: var(--white);
}

.quantity-control.compact {
    width: 122px;
    min-height: 40px;
}

.quantity-control button {
    height: 100%;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
}

.quantity-control input {
    width: 100%;
    height: 100%;
    border: 0;
    background: transparent;
    text-align: center;
    outline: 0;
    appearance: textfield;
    -moz-appearance: textfield;
}

.quantity-control input::-webkit-outer-spin-button,
.quantity-control input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.product-summary__actions {
    display: flex;
    gap: 12px;
    margin: 22px 0;
}

.product-summary__actions button,
.product-summary__actions a,
.checkout-form button,
.contact-form button,
.order-summary a,
.success-box a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
}

.inline-consult-form {
    display: grid;
    grid-template-columns: 1fr 92px;
    gap: 10px;
    margin-top: 18px;
}

.inline-consult-form button {
    border: 0;
    color: var(--white);
    background: var(--brand-red);
}

.tab-buttons {
    display: flex;
    gap: 10px;
    border-bottom: 1px solid var(--line);
}

.tab-buttons button {
    border: 0;
    padding: 14px 20px;
    background: transparent;
    cursor: pointer;
    font-weight: 700;
}

.tab-buttons button.active {
    color: var(--white);
    background: var(--brand-red);
}

.tab-panel {
    display: none;
    padding: 24px 0 0;
}

.tab-panel.active {
    display: block;
}

.cart-layout,
.checkout-layout,
.contact-layout,
.article-detail-layout {
    grid-template-columns: 1fr 360px;
}

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

.cart-row {
    display: grid;
    grid-template-columns: 92px 1fr 130px 130px 44px;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--line);
}

.cart-row img {
    width: 92px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.cart-row h2 {
    margin: 0;
    font-size: 17px;
}

.cart-row p {
    margin: 4px 0 0;
    color: var(--muted);
}

.remove-row {
    width: 40px;
    height: 40px;
    border: 0;
    color: var(--brand-red);
    background: #f5e7e5;
    cursor: pointer;
}

.order-summary {
    position: sticky;
    top: 140px;
}

.order-summary__total strong {
    color: var(--brand-red);
    font-size: 20px;
}

.order-summary a {
    width: 100%;
    margin-top: 20px;
}

.contact-form,
.checkout-form {
    border: 1px solid var(--line);
    padding: 28px;
}

.contact-form h2,
.checkout-form h2 {
    margin: 0 0 18px;
    font-size: 24px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.contact-form label,
.checkout-form label {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
    font-weight: 700;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0 24px;
    padding: 14px;
    border: 1px solid var(--line);
}

.payment-option input {
    width: auto;
}

.success-box {
    max-width: 680px;
    text-align: center;
}

.success-box i {
    color: var(--brand-red);
    font-size: 64px;
}

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

.article-card {
    border: 1px solid var(--line);
    background: var(--white);
}

.article-card__image {
    display: block;
    aspect-ratio: 1.35 / 1;
    overflow: hidden;
}

.article-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-card__body {
    padding: 20px;
}

.article-card time {
    color: var(--brand-red);
    font-weight: 700;
    font-size: 13px;
}

.article-card h3 {
    margin: 8px 0;
    font-size: 20px;
    line-height: 1.35;
}

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

.article-detail img {
    width: 100%;
    margin-bottom: 22px;
}

.rich-text p {
    margin: 0 0 16px;
    color: #3f3f46;
}

.contact-panel p {
    display: flex;
    gap: 10px;
}

.article-detail__header h2{
    line-height: 1.2;
}

.article-detail__header p{
    border-bottom: 1px solid #ddd;
}

.map-placeholder {
    min-height: 220px;
    display: grid;
    place-items: center;
    margin-top: 20px;
    color: var(--muted);
    background: #eee8df;
    text-align: center;
}

.site-footer {
    background: #171411;
    color: var(--white);
}

.footer-article {
    padding: 60px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.9fr;
    gap: 34px;
}

.footer-grid h2 {
    margin: 0 0 16px;
    color: var(--gold);
    font-size: 20px;
    text-transform: uppercase;
}

.footer-grid p,
.footer-links a,
.footer-contact span,
.footer-note {
    color: rgba(255, 255, 255, 0.72);
}

.footer-contact,
.footer-links {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-contact li,
.footer-links li {
    margin-bottom: 10px;
}

.footer-contact li {
    display: flex;
    gap: 10px;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-form {
    display: grid;
    grid-template-columns: 1fr 76px;
    gap: 8px;
}

.footer-form button {
    border-radius: 0;
}

.footer-powered {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-powered .wrap-content {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-powered p {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
}

.floating-cart,
.back-to-top {
    position: fixed;
    right: 20px;
    z-index: 45;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: var(--brand-red);
    box-shadow: var(--shadow);
}

.floating-cart {
    bottom: 82px;
}

.floating-cart span {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: var(--gold);
    font-size: 12px;
}

.back-to-top {
    bottom: 20px;
    border: 0;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.empty-state {
    padding: 28px;
    border: 1px dashed var(--line);
    color: var(--muted);
    background: var(--paper);
}

.specification-table-wrap {
    overflow-x: auto;
}

.specification-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border: 1px solid var(--line);
}

.specification-table th,
.specification-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    border-right: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.specification-table th:last-child,
.specification-table td:last-child {
    border-right: 0;
}

.specification-table th {
    background: var(--paper);
    color: var(--ink);
    font-weight: 700;
}

.specification-table tr:last-child td {
    border-bottom: 0;
}

@media (max-width: 1100px) {
    .header-main__inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .header-search,
    .desktop-nav,
    .header-actions {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

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

    .category-grid,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-layout,
    .catalog-layout,
    .cart-layout,
    .checkout-layout,
    .contact-layout,
    .article-detail-layout {
        grid-template-columns: 1fr;
    }

    .catalog-sidebar,
    .order-summary {
        position: static;
    }
}

@media (max-width: 820px) {
    .section-space {
        padding: 52px 0;
    }

    .hero-slider {
        min-height: 680px;
    }

    .intro-grid,
    .split-content,
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .product-grid,
    .featured-products,
    .article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .catalog-toolbar,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .cart-row {
        grid-template-columns: 78px 1fr;
    }

    .cart-row > strong,
    .cart-row .quantity-control,
    .cart-row .remove-row {
        justify-self: start;
    }
}

@media (max-width: 560px) {
    .wrap-content {
        width: min(100% - 24px, 1200px);
    }

    .header-main__inner {
        min-height: 72px;
    }

    .hero-slider {
        min-height: 620px;
    }

    .hero-slide__content {
        transform: translateY(-34%);
    }

    .hero-slide__content span {
        font-size: 16px;
    }

    .section-heading {
        display: block;
    }

    .product-grid,
    .featured-products,
    .article-grid,
    .category-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .product-summary__actions,
    .tab-buttons {
        flex-direction: column;
    }

    .inline-consult-form,
    .footer-form {
        grid-template-columns: 1fr;
    }

    .page-hero {
        min-height: 300px;
        padding-top: 120px;
    }
}
