:root {
    --bg: #FAF8F1;
    --surface: #FFFFFF;
    --surface-alt: #E8F0F3;
    --text: #1E1B13;
    --text-muted: #6D6655;
    --border: #E4E1D8;
    --primary: #1D3D48;
    --primary-hover: #13272F;
    --accent: #C8AA79;
    --footer-bg: #13282F;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    font-size: 16px;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Gowun Dodum', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-family: 'Gowun Dodum', sans-serif;
    font-weight: 400;
    font-style: normal;
}

h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.25;
}

h2 {
    font-size: clamp(1.625rem, 3vw, 2.25rem);
    line-height: 1.3;
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    line-height: 1.35;
}

h4 {
    font-size: 1.125rem;
    line-height: 1.4;
}

h5,
h6 {
    font-size: 1rem;
    line-height: 1.45;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

a {
    color: inherit;
    transition: color 0.2s ease;
}

a,
a:hover,
a:focus {
    text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

button {
    cursor: pointer;
    border: none;
    font-family: 'Gowun Dodum', sans-serif;
    font-weight: 400;
    font-style: normal;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

input,
textarea,
select,
label {
    font-family: 'Gowun Dodum', sans-serif;
    font-weight: 400;
    font-style: normal;
}

ul,
ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.cookieConsentCard {
    display: none;
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 360px;
    max-width: calc(100vw - 40px);
    background-color: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 20px;
    box-shadow: 0 12px 32px rgba(19, 40, 47, 0.18);
    z-index: 1055;
}

.cookieConsentHeader {
    margin-bottom: 8px;
}

.cookieConsentTitle {
    font-size: 1.125rem;
    line-height: 1.35;
    color: var(--primary);
}

.cookieConsentText {
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.cookieConsentPolicyWrap {
    margin-bottom: 16px;
}

.cookieConsentPolicyLink {
    font-size: 0.875rem;
    color: var(--primary);
    border-bottom: 1px solid var(--primary);
}

.cookieConsentPolicyLink:hover,
.cookieConsentPolicyLink:focus {
    color: var(--primary-hover);
    border-bottom-color: var(--primary-hover);
}

.cookieConsentActions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.cookieConsentBtnPrimary {
    background-color: var(--primary);
    color: var(--surface);
    border: 1px solid var(--primary);
    border-radius: 4px;
    padding: 9px 18px;
    font-size: 0.9375rem;
    line-height: 1.3;
}

.cookieConsentBtnPrimary:hover,
.cookieConsentBtnPrimary:focus {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.cookieConsentBtnSecondary {
    background-color: var(--surface);
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 4px;
    padding: 9px 16px;
    font-size: 0.9375rem;
    line-height: 1.3;
}

.cookieConsentBtnSecondary:hover,
.cookieConsentBtnSecondary:focus {
    background-color: var(--surface-alt);
}

.cookieConsentBackdrop {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(19, 40, 47, 0.55);
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: 1060;
}

.cookieConsentDialog {
    width: 100%;
    max-width: 480px;
    background-color: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 24px;
    box-shadow: 0 12px 32px rgba(19, 40, 47, 0.18);
}

.cookieConsentDialogHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.cookieConsentDialogTitle {
    margin: 0;
    font-size: 1.25rem;
    color: var(--primary);
}

.cookieConsentCloseIcon {
    background-color: transparent;
    color: var(--primary);
    padding: 4px;
    font-size: 1.25rem;
    line-height: 1;
}

.cookieConsentDialogDesc {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.cookieConsentCategoryList {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.cookieConsentCategoryItem {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    background-color: var(--bg);
    border: 1px solid var(--border);
    border-radius: 4px;
}

.cookieConsentCategoryInfo {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cookieConsentCategoryName {
    font-size: 0.9375rem;
    color: var(--text);
}

.cookieConsentCategoryDetail {
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--text-muted);
}

.cookieConsentCheckbox {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--primary);
    flex-shrink: 0;
    cursor: pointer;
}

.cookieConsentDialogFooter {
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 767.98px) {
    h1 {
        font-size: clamp(1.625rem, 6vw, 2.125rem);
    }

    h2 {
        font-size: clamp(1.375rem, 5vw, 1.75rem);
    }

    h3 {
        font-size: clamp(1.125rem, 4vw, 1.375rem);
    }

    h4 {
        font-size: 1.0625rem;
    }

    h5 {
        font-size: 0.9375rem;
    }

    a,
    p,
    span {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .cookieConsentCard {
        left: 12px;
        right: 12px;
        bottom: 12px;
        width: auto;
        max-width: none;
        padding: 16px;
    }

    .cookieConsentActions {
        justify-content: stretch;
    }

    .cookieConsentActions button {
        flex: 1 1 auto;
    }
}

@media (max-width: 639.98px) {
    h1 {
        font-size: 1.625rem;
    }

    h2 {
        font-size: 1.375rem;
    }

    h3 {
        font-size: 1.125rem;
    }
}

/* ===== header ===== */
.site-header {
    background-color: var(--surface);
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 100;
}

.header-logo {
    max-width: 48px;
    height: auto;
    object-fit: contain;
}

.header-brand-title {
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.header-brand-tagline {
    color: var(--text-muted);
    font-size: 0.725rem;
    font-weight: 500;
    line-height: 1.2;
}

.header-brand-title-mobile {
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.header-category-link {
    color: var(--primary);
    background-color: var(--surface-alt);
    border: 1px solid var(--border);
    padding: 0.45rem 0.85rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.header-category-link:hover {
    background-color: var(--border);
    color: var(--primary-hover);
}

.header-category-icon {
    color: var(--primary);
    font-size: 1.125rem;
}

.header-nav-link {
    color: var(--text);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    padding: 0.5rem 0.25rem;
    transition: color 0.2s ease;
}

.header-nav-link:hover {
    color: var(--primary);
}

.header-cta-btn {
    background-color: var(--primary);
    color: var(--surface);
    border: 1px solid var(--primary);
    padding: 0.5rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.header-cta-btn:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: var(--surface);
}

.header-mobile-toggle {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--primary);
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 4px;
}

.header-toggle-icon {
    font-size: 1.5rem;
    color: var(--primary);
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--surface);
    z-index: 1050;
    display: none;
    padding: 1.25rem;
}

.mobile-menu-overlay.open {
    display: block;
}

.mobile-menu-container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.header-mobile-close {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 4px;
}

.header-close-icon {
    font-size: 1.5rem;
    color: var(--text);
}

.mobile-category-chip {
    color: var(--primary);
    background-color: var(--surface-alt);
    border: 1px solid var(--border);
    padding: 0.6rem 1.25rem;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    min-height: 44px;
}

.mobile-nav-link {
    color: var(--text);
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.6rem 1rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.mobile-nav-link:hover {
    color: var(--primary);
}

.mobile-cta-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 260px;
}

.mobile-footer-text {
    color: var(--text-muted);
    font-size: 0.8125rem;
    font-weight: 500;
}

@media (max-width: 767.98px) {
    .header-brand-title {
        font-size: 0.75rem;
    }

    .header-brand-tagline {
        display: none;
    }
}

/* ===== hero ===== */
#hero {
    position: relative;
    overflow: hidden;
    background-color: #E8F0F3;
}

.hero-triptych-box {
    max-width: 1240px;
    margin: 0 auto;
    position: relative;
}

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

.hero-center-content {
    background-color: #E8F0F3;
    border-radius: 6px;
}

.hero-tech-label {
    color: #1D3D48;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
}

.hero-title {
    color: #1E1B13;
    line-height: 1.25;
    hyphens: auto;
    font-size: 2.15rem;
    word-break: keep-all;
}

.hero-accent-word {
    color: #1D3D48;
}

.hero-subtitle {
    color: #1E1B13;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 520px;
    hyphens: auto;
    word-break: keep-all;
}

.hero-btn {
    background-color: #1D3D48;
    color: #FAF8F1;
    border: 1px solid #1D3D48;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.925rem;
    transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.hero-btn:hover {
    background-color: #13272F;
    border-color: #13272F;
    color: #FAF8F1;
    transform: translateY(-1px);
}

.hero-category-links {
    font-size: 0.825rem;
}

.hero-category-link {
    color: #1E1B13;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    padding: 2px 4px;
}

.hero-category-link:hover {
    color: #1D3D48;
    text-decoration: underline;
}

.hero-link-separator {
    color: #1D3D48;
    font-weight: bold;
}

.hero-panel {
    position: relative;
    z-index: 2;
    background-color: #FFFFFF;
    border: 1px solid #E4E1D8;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(29, 61, 72, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-panel:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(29, 61, 72, 0.14);
}

.hero-panel-img {
    object-fit: cover;
    height: 380px;
    display: block;
}

.hero-panel-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 3;
}

.hero-badge-tag {
    display: inline-block;
    background-color: rgba(29, 61, 72, 0.85);
    color: #FAF8F1;
    font-size: 0.725rem;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.04em;
    font-weight: 500;
}

@media (min-width: 992px) {
    .hero-col-left {
        transform: translateY(-18px);
    }

    .hero-col-right {
        transform: translateY(22px);
    }

    .hero-panel-left .hero-panel-img {
        height: 410px;
    }

    .hero-panel-right .hero-panel-img {
        height: 370px;
    }
}

@media (max-width: 991.98px) {
    .hero-title {
        font-size: 1.125rem;
        line-height: 1.25;
    }

    .hero-subtitle {
        font-size: 0.825rem;
        line-height: 1.45;
    }

    .hero-tech-label {
        font-size: 0.7rem;
    }

    .hero-panel-img {
        height: 180px;
    }

    .hero-col-left,
    .hero-col-right {
        width: 50%;
    }

    .hero-btn {
        font-size: 0.85rem;
        padding: 6px 16px;
    }
}

/* ===== categories ===== */
section#categories {
    background-color: var(--bg);
    color: var(--text);
    overflow: hidden;
}

#categories .zq-cat-line {
    width: 32px;
    height: 2px;
    background-color: var(--primary);
    display: inline-block;
}

#categories .zq-cat-tech-label {
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}

#categories .zq-cat-title {
    color: var(--text);
    font-weight: 300;
    font-size: 1.75rem;
    line-height: 1.25;
    hyphens: auto;
}

#categories .zq-cat-title-accent {
    color: var(--primary);
    font-weight: 700;
}

#categories .zq-cat-card {
    background-color: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1.25rem;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    box-shadow: 0 2px 6px rgba(29, 61, 72, 0.06), inset 0 -2px 0 rgba(29, 61, 72, 0.08);
}

#categories .zq-cat-card:hover,
#categories .zq-cat-card:focus-visible {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(29, 61, 72, 0.12), inset 0 -2px 0 var(--primary);
    outline: none;
}

#categories .zq-cat-card.is-active {
    border-color: var(--primary);
    background-color: var(--surface);
    box-shadow: 0 6px 16px rgba(29, 61, 72, 0.14), inset 0 -3px 0 var(--accent);
}

#categories .zq-cat-icon {
    color: var(--primary);
    font-size: 1.875rem;
    line-height: 1;
    display: inline-block;
}

#categories .zq-cat-count {
    color: var(--primary);
    background-color: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    line-height: 1.2;
}

#categories .zq-cat-card-title {
    color: var(--text);
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.3;
    hyphens: auto;
}

#categories .zq-cat-card-desc {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.5;
}

#categories .zq-cat-card-bar {
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 45%, var(--border) 100%);
    transition: background 0.2s ease;
}

#categories .zq-cat-card:hover .zq-cat-card-bar,
#categories .zq-cat-card.is-active .zq-cat-card-bar {
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

@media (max-width:767.98px) {
    #categories .zq-cat-title {
        font-size: 1rem;
        line-height: 1.25;
    }

    #categories .zq-cat-card-title {
        font-size: 0.875rem;
        line-height: 1.25;
    }
}

/* ===== catalog ===== */
#catalog .card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#catalog .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(19, 40, 47, 0.12) !important;
}

#catalog .js-filter-btn {
    transition: all 0.2s ease;
}

#catalog .js-filter-btn:hover:not(.active) {
    background-color: var(--surface-alt) !important;
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

#catalog .js-open-modal-btn:hover {
    background-color: var(--primary-hover) !important;
}

#catalog .nav-tabs .nav-link {
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: transparent;
}

#catalog .nav-tabs .nav-link.active {
    border-bottom: 2px solid var(--primary);
    background-color: transparent !important;
    color: var(--primary) !important;
    font-weight: 700;
}

#catalog .table td,
#catalog .table th {
    border-color: var(--border);
}

/* ===== comparison ===== */
#comparison {
    overflow: hidden;
    background-color: var(--bg);
    hyphens: auto;
}

#comparison .comp-tab-btn {
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

#comparison .comp-tab-btn.active {
    background-color: var(--primary) !important;
    color: var(--surface) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 2px 6px rgba(29, 61, 72, 0.2);
}

#comparison .comp-custom-table {
    border-collapse: collapse;
    width: 100%;
}

#comparison .comp-custom-table th,
#comparison .comp-custom-table td {
    padding: 0.95rem 1rem;
    vertical-align: middle;
    border-color: var(--border);
}

#comparison .comp-custom-table tbody tr:hover {
    background-color: #dfebee !important;
}

@media(max-width:767.98px) {
    #comparison h2.comp-title {
        font-size: 1rem;
        line-height: 1.2;
    }

    #comparison h3 {
        font-size: 0.875rem;
        line-height: 1.2;
    }

    #comparison .comp-tab-btn {
        font-size: 0.75rem;
        padding: 0.35rem 0.65rem;
    }

    #comparison .comp-custom-table th,
    #comparison .comp-custom-table td {
        font-size: 0.78rem;
        padding: 0.7rem 0.6rem;
    }
}

/* ===== delivery_returns ===== */
#delivery-returns {
    overflow: hidden;
    background-color: var(--surface-alt);
}

.delivery-returns-accent-line {
    width: 32px;
    height: 2px;
    background-color: var(--primary);
    display: inline-block;
}

.delivery-returns-meta {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: var(--primary);
}

.delivery-returns-heading {
    color: var(--text);
    font-size: 1.75rem;
    line-height: 1.3;
    hyphens: auto;
}

.delivery-returns-model {
    color: var(--primary);
}

.delivery-returns-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(29, 61, 72, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.delivery-returns-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(29, 61, 72, 0.12);
}

.delivery-returns-icon-wrap {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.delivery-returns-icon {
    font-size: 40px;
    color: var(--primary);
    line-height: 1;
}

.delivery-returns-card-title {
    color: var(--text);
    font-size: 1.25rem;
    line-height: 1.3;
}

.delivery-returns-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.delivery-returns-list-icon {
    font-size: 1.2rem;
    color: var(--primary);
    line-height: 1.4;
}

.delivery-returns-list-text {
    color: var(--text);
    font-size: 0.9rem;
    line-height: 1.5;
    hyphens: auto;
}

.delivery-returns-list-text strong {
    color: var(--primary);
}

.delivery-returns-card-footer {
    border-color: var(--border) !important;
}

.delivery-returns-link {
    color: var(--primary);
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.delivery-returns-link:hover {
    color: var(--primary-hover);
}

@media (max-width: 767.98px) {
    .delivery-returns-heading {
        font-size: 1rem !important;
        line-height: 1.2;
    }

    .delivery-returns-card-title {
        font-size: 0.875rem !important;
        line-height: 1.2;
    }

    .delivery-returns-desc,
    .delivery-returns-list-text,
    .delivery-returns-link {
        font-size: 0.825rem;
    }

    .delivery-returns-icon {
        font-size: 32px;
    }
}

/* ===== faq ===== */
#faq {
    background-color: var(--bg);
    color: var(--text);
}

.faq-indicator {
    display: inline-block;
    width: 20px;
    height: 2px;
    background-color: var(--primary);
}

.faq-tech-label {
    color: var(--primary);
    letter-spacing: 0.08em;
}

.faq-section-title {
    color: var(--text);
}

.faq-highlight {
    color: var(--primary);
}

.faq-description {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.faq-item {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(29, 61, 72, 0.04);
}

.faq-btn {
    background-color: var(--surface);
    color: var(--text);
    border: none;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 4px;
    padding: 1.1rem 1.25rem;
    box-shadow: none;
    transition: background-color 0.15s ease-in-out;
}

.faq-btn:not(.collapsed) {
    background-color: var(--surface-alt);
    color: var(--primary);
    box-shadow: none;
}

.faq-btn:focus {
    box-shadow: none;
}

.faq-icon {
    color: var(--primary);
    font-size: 1.25rem;
    vertical-align: middle;
}

.faq-body {
    background-color: var(--surface);
    color: var(--text-muted);
    font-size: 0.925rem;
    line-height: 1.65;
    border-top: 1px solid var(--border);
    padding: 1rem 1.25rem;
}

.collapsing {
    transition: height 0.15s ease-in-out;
}

@media (max-width: 767px) {
    #faq h2 {
        font-size: 1rem;
        line-height: 1.25;
        hyphens: auto;
    }

    #faq h3 {
        font-size: 0.875rem;
        line-height: 1.25;
        hyphens: auto;
    }

    .faq-btn {
        font-size: 0.875rem;
        padding: 0.85rem 1rem;
    }

    .faq-body {
        font-size: 0.825rem;
        padding: 0.85rem 1rem;
    }
}

/* ===== contacts ===== */
.contacts-section {
    background-color: var(--surface-alt);
    position: relative;
    color: var(--text);
    font-family: inherit
}

.contacts-header {
    position: relative
}

.contacts-line-accent {
    width: 48px;
    height: 2px;
    background-color: var(--primary);
    margin-bottom: 8px
}

.contacts-tech-label {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: var(--primary);
    display: inline-block
}

.contacts-title {
    color: var(--text);
    font-weight: 300;
    font-size: 1.75rem;
    line-height: 1.2;
    hyphens: auto
}

.contacts-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 620px
}

.contacts-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(29, 61, 72, 0.04), 0 1px 0 rgba(200, 170, 121, 0.2)
}

.contacts-card-title {
    color: var(--primary);
    font-size: 1.15rem;
    font-weight: 600
}

.contacts-card-sub {
    color: var(--text-muted);
    font-size: 0.85rem
}

.contacts-icon {
    color: var(--primary);
    font-size: 1.35rem;
    flex-shrink: 0;
    line-height: 1
}

.contacts-item-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 2px
}

.contacts-item-value {
    color: var(--text);
    font-size: 0.9rem;
    word-break: keep-all
}

.contacts-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease
}

.contacts-link:hover {
    color: var(--primary-hover);
    text-decoration: underline
}

.contacts-meta-panel {
    background-color: var(--surface-alt);
    border-left: 2px solid var(--accent);
    border-radius: 2px
}

.contacts-meta-tag {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.05em
}

.contacts-meta-desc {
    font-size: 0.8rem;
    color: var(--text);
    line-height: 1.45
}

.contacts-form-label {
    font-size: 0.85rem;
    color: var(--text);
    font-weight: 600;
    margin-bottom: 6px
}

.contacts-input,
.contacts-textarea {
    background-color: #ffffff;
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text);
    padding: 10px 14px;
    font-size: 0.9rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%
}

.contacts-input::placeholder,
.contacts-textarea::placeholder {
    color: var(--text-muted)
}

.contacts-input:focus,
.contacts-textarea:focus {
    background-color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(29, 61, 72, 0.15);
    color: var(--text);
    outline: none
}

.contacts-checkbox {
    border-color: var(--border);
    border-radius: 3px;
    cursor: pointer
}

.contacts-checkbox:checked {
    background-color: var(--primary);
    border-color: var(--primary)
}

.contacts-consent-label {
    font-size: 0.8rem;
    color: var(--text);
    line-height: 1.4;
    cursor: pointer
}

.contacts-policy-link {
    color: var(--primary);
    text-decoration: underline
}

.contacts-policy-link:hover {
    color: var(--primary-hover)
}

.contacts-submit-btn {
    background-color: var(--primary);
    color: #ffffff;
    border: 1px solid var(--primary);
    border-radius: 4px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background-color 0.2s ease, border-color 0.2s ease
}

.contacts-submit-btn:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: #ffffff
}

@media (max-width:767.98px) {
    .contacts-title {
        font-size: 1rem;
        line-height: 1.2
    }

    .contacts-card-title {
        font-size: 0.875rem
    }

    .contacts-card {
        padding: 1.25rem !important
    }
}

/* ===== footer ===== */
.footer-section {
    background-color: var(--footer-bg);
    color: #FFFFFF;
    position: relative;
    width: 100%;
    border-top: 1px solid rgba(200, 170, 121, 0.2);
}

.footer-top-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(29, 61, 72, 0) 0%, rgba(200, 170, 121, 0.8) 50%, rgba(29, 61, 72, 0) 100%);
    box-shadow: 0 0 12px rgba(200, 170, 121, 0.4);
}

.footer-brand-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: -0.02em;
}

.footer-tech-tag {
    font-size: 0.65rem;
    color: var(--accent);
    background-color: rgba(200, 170, 121, 0.1);
    border: 1px solid rgba(200, 170, 121, 0.3);
    border-radius: 2px;
    padding: 2px 6px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.footer-company-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #C3C0B6;
    hyphens: auto;
}

.footer-col-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-heading-accent {
    display: inline-block;
    width: 3px;
    height: 14px;
    background-color: var(--accent);
    border-radius: 1px;
}

.footer-col-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.footer-contact-item {
    font-size: 0.875rem;
    color: #C3C0B6;
}

.footer-contact-text {
    color: #C3C0B6;
}

.footer-contact-link {
    color: #C3C0B6;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact-link:hover {
    color: #FFFFFF;
}

.footer-icon {
    font-size: 1rem;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-nav-link {
    color: #C3C0B6;
    text-decoration: none;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-nav-link:hover {
    color: #FFFFFF;
    transform: translateX(2px);
}

.footer-copyright {
    font-size: 0.8rem;
    color: #C3C0B6;
}

.footer-badge-bar {
    display: flex;
    flex-wrap: wrap;
}

.footer-spec-badge {
    font-size: 0.65rem;
    color: #FFFFFF;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    padding: 3px 8px;
    font-weight: 500;
    letter-spacing: 0.04em;
}

@media (max-width: 767.98px) {
    .footer-col-title {
        font-size: 0.875rem;
        line-height: 1.2;
    }

    .footer-brand-title {
        font-size: 0.8rem;
    }

    .footer-company-desc {
        font-size: 0.825rem;
    }
}
/* Purchase dialog and confirmation follow the catalog palette. */
.purchase-form .form-label { font-size: .875rem; font-weight: 600; color: var(--primary); }
.purchase-form .form-control { border-color: var(--border); border-radius: 4px; min-height: 44px; }
.purchase-form .form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(29,61,72,.15); }
.purchase-form input[readonly] { background: var(--surface-alt); }
.order-confirmation { border: 1px solid var(--border); color: var(--text); }
.order-number-box { background: var(--surface-alt); color: var(--primary); padding: 16px; border-radius: 4px; overflow-wrap: anywhere; }
.header-mobile-close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; }
.header-toggle-icon, .header-close-icon { flex-shrink: 0; }
#catalog, #categories { scroll-margin-top: 90px; }
