:root {
    --primary-background: #FFFBF2;
    --primary-accent: #C9E1F0;
    --secondary-accent: #F5DF9E;
    --tertiary-accent: #E9B6A6;
    --contrast-accent: #708B78;
    --primary-text: #34464D;
    --muted-text: #61757D;
    --card-background: #FFFFFF;
    --surface-warm: #FAF5EA;
    --border-subtle: #EADECB;
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--primary-background);
    color: var(--primary-text);
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--primary-background);
    color: var(--primary-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Quicksand', sans-serif;
    margin-top: 0;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

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

button {
    cursor: pointer;
    border: none;
    background: transparent;
    font-family: inherit;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

button:active {
    transform: scale(0.98);
}

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

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

:focus-visible {
    outline: 2px solid var(--contrast-accent);
    outline-offset: 3px;
}

#cookieConsentBanner {
    display: none;
}

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

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

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

    h4,
    h5,
    h6 {
        font-size: 1.125rem;
    }

    a[href^="mailto:"],
    a[href^="tel:"],
    .break-words-mobile {
        word-break: break-word;
        overflow-wrap: break-word;
    }
}

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

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

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

#hero a {
    -webkit-tap-highlight-color: transparent;
}

/* ===== age_selection ===== */
#age-groups {
    hyphens: auto;
}

#age-groups .js-age-card {
    will-change: transform, border-color;
    box-shadow: 0 4px 18px -2px rgba(52, 70, 77, 0.05);
}

#age-groups .js-age-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -4px rgba(52, 70, 77, 0.08);
}

#age-groups .js-age-card.is-active {
    border-color: var(--contrast-accent);
    background-color: var(--surface-warm);
}

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

#catalog .js-catalog-item {
    height: 100%;
}

#catalog .js-details-panel {
    transition: all 0.25s ease-in-out;
}

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

#moodboard button,
#moodboard a {
    touch-action: manipulation;
}

/* ===== room_ideas ===== */
#room-ideas {
    overflow: hidden;
    width: 100%;
}

#room-ideas h2,
#room-ideas h3 {
    hyphens: auto;
}

/* ===== safety_care ===== */
#safety-care {
    overflow: hidden;
}

#safety-care h2,
#safety-care h3 {
    hyphens: auto;
}

#safety-care .js-accordion-icon.is-active {
    transform: rotate(180deg);
}

/* ===== delivery_faq ===== */
#delivery-returns {
    hyphens: auto;
}

.js-faq-content {
    will-change: max-height;
}

/* ===== about_contact ===== */
#about-contact {
    overflow: hidden;
}

#about-contact input::placeholder,
#about-contact textarea::placeholder {
    color: #61757D;
    opacity: 1;
}

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