:root {
    --bg: #FAF7F2;
    --surface: #FFFFFF;
    --surface-alt: #E6F3F0;
    --text: #1F1B13;
    --text-muted: #726A5A;
    --border: #E4E0D8;
    --primary: #377B6A;
    --primary-hover: #2C6255;
    --accent: #DBA484;
    --dark-band: #16322B;
}

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

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

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Asta Sans', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Asta Sans', sans-serif;
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.25;
}

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

a,
a:hover,
a:focus {
    text-decoration: none;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: 'Asta Sans', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

#cookieConsentBanner {
    display: none;
}

#cookieConsentOverlay {
    display: none;
}

@media (max-width: 768px) {
    h1 {
        font-size: clamp(1.75rem, 5vw, 2.25rem);
    }

    h2 {
        font-size: clamp(1.5rem, 4vw, 1.875rem);
    }

    h3 {
        font-size: clamp(1.25rem, 3.5vw, 1.5rem);
    }

    h4 {
        font-size: clamp(1.125rem, 3vw, 1.25rem);
    }

    h5 {
        font-size: clamp(1rem, 2.5vw, 1.125rem);
    }

    a,
    p,
    span,
    li,
    input,
    textarea,
    select {
        overflow-wrap: break-word;
        word-break: break-all;
    }
}

/* ===== header ===== */
#header {
    overflow: hidden;
}

#header .js-mobile-menu.open {
    display: block !important;
}

/* ===== hero ===== */
#hero {
    overflow: hidden;
}

@media (min-width:1024px) {
    .writing-mode-vertical {
        writing-mode: vertical-rl;
        text-orientation: mixed;
    }
}

/* ===== about_block ===== */
#about {
    background-color: #E6F3F0;
    overflow: hidden;
}

#about h2,
#about h3,
#about p {
    hyphens: auto;
    word-break: keep-all;
}

/* ===== catalog_block ===== */
#catalog {
    overflow: hidden;
}

#catalog article {
    -webkit-hyphens: auto;
    hyphens: auto;
}

#catalog input::placeholder,
#catalog textarea::placeholder {
    color: #726A5A;
}

/* ===== curations_block ===== */
#curations {
    overflow: hidden;
}

#curations * {
    hyphens: auto;
}

/* ===== comparison_block ===== */
#comparison {
    overflow: hidden;
}

#comparison * {
    box-sizing: border-box;
    hyphens: auto;
}

@media (max-width: 767px) {
    #comparison h2 {
        font-size: 16px;
        line-height: 1.25;
    }

    #comparison h3 {
        font-size: 14px;
        line-height: 1.2;
    }
}

/* ===== delivery_returns_block ===== */
#delivery-returns {
    overflow: hidden;
}

#delivery-returns a {
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
}

/* ===== faq_block ===== */
#faq {
    overflow: hidden;
    hyphens: auto;
}

#faq .js-faq-item.is-active {
    border-color: #377B6A;
    box-shadow: 0 4px 12px rgba(55, 123, 106, 0.08);
}

/* ===== order_form_block ===== */
#order-form {
    overflow: hidden;
}

#order-form input::placeholder,
#order-form textarea::placeholder {
    color: #726A5A;
}

/* ===== contacts_block ===== */
#contacts {
    hyphens: auto;
}

#contacts a {
    text-decoration: none;
}

/* ===== footer ===== */
.footer-root {
    overflow: hidden;
    background-color: var(--dark-band);
    color: #FFFFFF;
    hyphens: auto;
}

.footer-muted-text {
    color: #C3BFB6;
}

.footer-banner {
    background-color: var(--primary);
    border: 2px solid var(--accent);
}

.footer-badge {
    background-color: var(--accent);
    color: #16322B;
}

.footer-title-underline {
    display: inline-block;
    padding-bottom: 6px;
    border-bottom: 3px solid var(--accent);
}

.footer-col-heading {
    border-bottom: 2px solid var(--accent);
}

.footer-logo-box {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    max-width: 52px;
    height: auto;
}

.footer-cta-btn {
    background-color: var(--accent);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.footer-cta-btn:hover {
    background-color: #E5B79C;
    transform: translateY(-2px);
}

.footer-nav-link {
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-nav-link:hover {
    color: var(--accent);
    transform: translateX(3px);
}

.footer-info-card {
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-outline-cta {
    border: 1.5px solid var(--accent);
    background-color: transparent;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.footer-outline-cta:hover {
    background-color: var(--primary-hover);
}

.footer-legal-link {
    color: #C3BFB6;
    transition: color 0.2s ease;
}

.footer-legal-link:hover {
    color: #FFFFFF;
    text-decoration: underline;
}
@media (max-width: 767px) {
    .legal-page-main {
        padding-top: 0 !important;
    }

    .legal-page-main > .legal-content-wrapper > main,
    .legal-page-main > .legal-content-wrapper > section {
        padding-top: 36px !important;
    }
}
