:root {
    --primary-background: #FDFBF9;
    --primary-text: #2C2420;
    --secondary-background: #F5F1ED;
    --secondary-text: #5E544F;
    --accent-color: #8B5E3C;
    --accent-text: #FFFFFF;
    --error-color: #B44D4D;
    --success-color: #5F7A61;
    --input-background: #FFFFFF;
    --border-color: #E6DFD5;
    --container-max-width: 1280px;
    --border-radius: 4px;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --transition-speed: 300ms ease-in-out;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--primary-background);
    color: var(--primary-text);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

@media (max-width: 768px) {
    h1 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    h3 {
        font-size: clamp(1.3rem, 5vw, 1.75rem);
    }

    body {
        font-size: 15px;
    }
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover,
a:focus {
    text-decoration: none;
    color: var(--accent-color);
}

a.js-buy-btn:hover,
a.js-buy-btn:focus,
a.js-buy-btn:active,
a.js-scroll-link:hover,
a.js-scroll-link:focus,
a.js-scroll-link:active,
a.js-smooth-scroll:hover,
a.js-smooth-scroll:focus,
a.js-smooth-scroll:active,
a.js-nav-link[class*="bg-"]:hover,
a.js-nav-link[class*="bg-"]:focus,
a.js-nav-link[class*="bg-"]:active {
    color: var(--accent-text);
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    transition: background-color var(--transition-speed), transform var(--transition-speed), border-color var(--transition-speed), box-shadow var(--transition-speed), filter var(--transition-speed);
    font-family: inherit;
}

button.js-submit-btn,
button.js-submit-btn:hover,
button.js-submit-btn:focus,
button.js-submit-btn:active,
button.cookie-consent-btn-primary,
button.cookie-consent-btn-primary:hover,
button.cookie-consent-btn-primary:focus,
button.cookie-consent-btn-primary:active {
    color: var(--accent-text);
}

button.cookie-consent-btn-secondary,
button.cookie-consent-btn-secondary:hover,
button.cookie-consent-btn-secondary:focus,
button.cookie-consent-btn-secondary:active {
    color: var(--secondary-text);
}

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

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

.cookie-consent-wrapper {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-background);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.08);
    z-index: 99999;
    padding: 1.5rem 1rem;
}

.cookie-consent-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .cookie-consent-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.cookie-consent-text {
    font-size: 0.95rem;
    color: var(--secondary-text);
    margin: 0;
}

.cookie-consent-link {
    text-decoration: underline !important;
    color: var(--accent-color);
}

.cookie-consent-actions {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    width: auto;
    flex-shrink: 0;
}

.cookie-consent-btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cookie-consent-btn-primary {
    background-color: var(--accent-color);
    color: var(--accent-text);
}

.cookie-consent-btn-primary:hover {
    filter: brightness(1.1);
}

.cookie-consent-btn-secondary {
    background-color: transparent;
    color: var(--secondary-text);
    border: 1px solid var(--border-color);
}

.cookie-consent-btn-secondary:hover {
    background-color: var(--secondary-background);
}

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

.js-menu-overlay {
    background-color: var(--primary-background);
}

.js-nav-link {
    hyphens: auto;
    line-height: 1.2;
}

@media (max-width: 767px) {
    .js-nav-link {
        font-size: 14px;
    }
}

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

#hero h1 {
    hyphens: auto;
}

.js-scroll-link {
    text-decoration: none;
    cursor: pointer;
}

/* ===== product_grid ===== */
#catalog {
    hyphens: auto;
}

.js-buy-btn {
    cursor: pointer;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.js-buy-btn:hover {
    background-color: #714a2f;
}

#catalog h2,
#catalog h3 {
    color: var(--primary-text);
}

#catalog p,
#catalog li {
    color: var(--secondary-text);
}

/* ===== interactive_interior ===== */
.js-product-card::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: var(--primary-background) transparent transparent transparent
}

.js-hotspot-container {
    z-index: 10
}

.js-product-card {
    animation: fadeInUp 0.3s ease-out
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, 10px)
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0)
    }
}

/* ===== quality_section ===== */
#quality {
    overflow: hidden;
}

.js-quality-card {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.js-quality-card:hover {
    border-color: #E6DFD5;
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* ===== process_steps ===== */
#process {
    overflow: hidden;
}

.js-process-card {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.js-process-card i {
    line-height: 1;
}

/* ===== shipping_assembly ===== */
#shipping {
    font-family: inherit;
}

.hyphens-auto {
    hyphens: auto;
    -webkit-hyphens: auto;
}

/* ===== why_us_section ===== */
#benefits h2,
#benefits h3 {
    hyphens: auto;
}

#benefits i {
    line-height: 1;
}

/* ===== faq_accordion ===== */
.js-faq-content {
    transition: max-height 0.3s ease-out;
}

.js-faq-icon {
    transform-origin: center;
}

#faq {
    hyphens: auto;
}

/* ===== shop_form ===== */
#order-form h2 {
    line-height: 1.2;
    hyphens: auto;
}

#order-form input::placeholder,
#order-form textarea::placeholder {
    color: var(--secondary-text);
    opacity: 0.6;
}

#order-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235E544F'%3E%3Cpath d='M12 16L6 10H18L12 16Z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.5em;
}

/* ===== footer ===== */
.js-smooth-scroll {
    cursor: pointer;
}

.hyphens-auto {
    hyphens: auto;
    -webkit-hyphens: auto;
}