:root {
    --sand-white: #F7F1E6;
    --ocean-navy: #173B52;
    --sunset-coral: #EE8168;
    --seafoam: #B9DDD5;
    --pale-yellow: #F4E3A3;
    --deep-blue-gray: #263B43;
    --slate-text: #546E7A;
    --border-light: #E5DDD0;
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--sand-white);
    color: var(--deep-blue-gray);
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--sand-white);
    color: var(--deep-blue-gray);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(0.875rem, 0.85rem + 0.15vw, 1rem);
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

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

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

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

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

.cookie-consent-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--ocean-navy);
    color: var(--sand-white);
    padding: 1rem 1.5rem;
    z-index: 9999;
    border-top: 1px solid #244E6B;
}

.cookie-consent-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .cookie-consent-inner {
        flex-direction: row;
        gap: 1.5rem;
    }
}

.cookie-consent-text {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.4;
    color: var(--sand-white);
}

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

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

.cookie-btn-primary {
    background-color: var(--sunset-coral);
    color: #FFFFFF;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
}

.cookie-btn-secondary {
    background-color: transparent;
    color: var(--sand-white);
    border: 1px solid var(--seafoam);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
}

.cookie-consent-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(23, 59, 82, 0.7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.cookie-consent-dialog {
    background-color: #FFFFFF;
    color: var(--deep-blue-gray);
    max-width: 480px;
    width: 100%;
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.cookie-modal-header {
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
}

.cookie-modal-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--ocean-navy);
    margin: 0;
}

.cookie-modal-desc {
    font-size: 0.875rem;
    color: var(--slate-text);
    margin: 0 0 1rem 0;
}

.cookie-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
}

.cookie-opt-name {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--deep-blue-gray);
}

.cookie-opt-desc {
    display: block;
    font-size: 0.75rem;
    color: var(--slate-text);
}

.cookie-opt-status {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ocean-navy);
}

.cookie-checkbox {
    width: 1.25rem;
    height: 1.25rem;
    accent-color: var(--sunset-coral);
}

.cookie-modal-footer {
    margin-top: 1.25rem;
    display: flex;
    justify-content: flex-end;
}

@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.1rem, 3vw, 1.25rem);
    }

    h5 {
        font-size: 1rem;
    }

    .cookie-consent-text,
    a,
    span,
    p {
        word-break: break-word;
    }
}

/* ===== header_section ===== */
#header {
    position: relative;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box
}

#header nav a,
#header nav button,
.mobile-menu-overlay a,
.mobile-menu-overlay button {
    box-sizing: border-box
}

.mobile-menu-overlay.open {
    display: flex !important
}

/* ===== hero_section ===== */
#hero {
    overflow: hidden;
    position: relative;
}

#hero img {
    object-fit: cover;
}

#hero a,
#hero button {
    transition: all 0.2s ease-in-out;
}

/* ===== outdoor_inspiration_section ===== */
#outdoor-inspiration {
    overflow: hidden;
}

.js-scene-panel {
    width: 100%;
}

/* ===== product_catalog_section ===== */
#catalog {
    width: 100%;
    box-sizing: border-box;
}

#catalog button:focus {
    outline: 2px solid #EE8168;
    outline-offset: 2px;
}

#catalog .js-product-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#catalog .js-product-card:hover {
    transform: translateY(-3px);
}

/* ===== style_board_section ===== */
#style-board {
    overflow: hidden;
}

/* ===== materials_guide_section ===== */
#materials-guide {
    overflow: hidden;
}

#materials-guide h2,
#materials-guide h3 {
    hyphens: auto;
    line-height: 1.2;
}

.active-material-tab {
    background-color: #173B52 !important;
    color: #FFFFFF !important;
    border-color: #173B52 !important;
}

.active-material-tab i {
    color: #B9DDD5 !important;
}

/* ===== the_outdoor_edit_section ===== */
#outdoor-edit {
    overflow: hidden;
}

#outdoor-edit h2,
#outdoor-edit h3 {
    hyphens: auto;
    line-height: 1.2;
}

/* ===== customer_service_section ===== */
#customer-service {
    overflow: hidden;
}

.js-faq-icon.is-active {
    transform: rotate(180deg);
}

/* ===== about_consultation_section ===== */
#consultation {
    hyphens: auto;
}

#consultation input::placeholder,
#consultation textarea::placeholder {
    color: #546E7A;
    opacity: 0.6;
}

/* ===== footer ===== */
#footer {
    background-color: #173B52;
    overflow: hidden;
}

#footer a {
    transition: color 0.2s ease-in-out;
}

#footer h3 {
    hyphens: auto;
    line-height: 1.2;
}