:root {
    --primary-background: #211A2B;
    --contrast-background: #E9E1F3;
    --card-background: #393046;
    --accent-primary: #E4F45C;
    --accent-secondary: #BFC1CB;
    --text-light: #F7F4FA;
    --text-dark: #181320;
    --text-muted-dark-bg: #BFC1CB;
    --border-dark-mode: #483E58;
    --border-light-mode: #D3C7E2;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--primary-background);
    color: var(--text-light);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Syne', sans-serif;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 0.75rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

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

a,
a:hover,
a:focus {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease-out, opacity 0.3s ease-out;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    transition: transform 0.25s ease-out, background-color 0.25s ease-out, color 0.25s ease-out;
}

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

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

input,
select,
textarea {
    font-family: inherit;
}

.cookie-consent-card {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    max-width: 24rem;
    width: calc(100% - 3rem);
    background-color: var(--card-background);
    border: 1px solid var(--border-dark-mode);
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
    color: var(--text-light);
}

.cookie-consent-inner {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cookie-consent-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-consent-icon {
    font-size: 1.25rem;
    color: var(--accent-primary);
}

.cookie-consent-title {
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
}

.cookie-consent-description {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--text-muted-dark-bg);
    margin-bottom: 0.25rem;
}

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

.cookie-consent-link:hover {
    text-decoration: underline;
}

.cookie-consent-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.cookie-btn {
    flex: 1;
    padding: 0.625rem 1rem;
    border-radius: 0.625rem;
    font-size: 0.8125rem;
    font-weight: 500;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

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

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

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

.cookie-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.cookie-consent-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.cookie-consent-modal-backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(14, 10, 20, 0.75);
    backdrop-filter: blur(4px);
}

.cookie-consent-modal-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 30rem;
    background-color: var(--card-background);
    border: 1px solid var(--border-dark-mode);
    border-radius: 1.25rem;
    padding: 1.5rem;
    color: var(--text-light);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.cookie-consent-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.cookie-consent-modal-title {
    font-size: 1.25rem;
    font-weight: 500;
    margin: 0;
}

.cookie-consent-close {
    color: var(--text-muted-dark-bg);
    font-size: 1.5rem;
    line-height: 1;
    padding: 0.25rem;
}

.cookie-consent-close:hover {
    color: var(--text-light);
}

.cookie-consent-modal-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cookie-consent-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.875rem;
    background-color: rgba(33, 26, 43, 0.6);
    border: 1px solid var(--border-dark-mode);
    border-radius: 0.75rem;
}

.cookie-consent-group-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cookie-consent-group-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-light);
}

.cookie-consent-group-desc {
    font-size: 0.75rem;
    color: var(--text-muted-dark-bg);
    line-height: 1.4;
}

.cookie-consent-checkbox {
    width: 1.25rem;
    height: 1.25rem;
    accent-color: var(--accent-primary);
    cursor: pointer;
}

@media (max-width: 768px) {
    h1 {
        font-size: clamp(2rem, 8vw, 2.75rem);
        word-break: break-word;
    }

    h2 {
        font-size: clamp(1.625rem, 6vw, 2.125rem);
        word-break: break-word;
    }

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

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

    .cookie-consent-card {
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 1rem 1rem 0 0;
        border-left: none;
        border-right: none;
        border-bottom: none;
        padding: 1.25rem 1rem;
    }

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

/* ===== header ===== */
#site-header {
    position: relative;
    background-color: #211A2B;
    border-bottom: 1px solid #483E58;
    width: 100%;
}

#site-header .js-mobile-dropdown.is-open {
    max-height: 360px;
}

/* ===== hero ===== */
#hero .js-hero-cta {
    box-shadow: 0 0 24px rgba(228, 244, 92, 0.15)
}

#hero .js-hero-cta:hover {
    box-shadow: 0 0 32px rgba(228, 244, 92, 0.3)
}

/* ===== shape_collections ===== */
#collections {
    overflow: hidden;
}

#collections * {
    box-sizing: border-box;
}

#collections h2,
#collections h3 {
    hyphens: auto;
}

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

    #collections h3 {
        font-size: 14px;
        line-height: 1.25;
    }
}

/* ===== product_gallery ===== */
.js-catalog-container::-webkit-scrollbar {
    width: 6px;
}

.js-catalog-container::-webkit-scrollbar-track {
    background: var(--primary-background);
    border-radius: 9999px;
}

.js-catalog-container::-webkit-scrollbar-thumb {
    background: var(--border-dark-mode);
    border-radius: 9999px;
}

.js-catalog-container::-webkit-scrollbar-thumb:hover {
    background: var(--accent-secondary);
}

/* ===== design_lab ===== */
#design-lab {
    overflow: hidden;
}

#design-lab .js-swatch-btn {
    outline: none;
}

#design-lab .js-swatch-btn:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

#design-lab .js-product-btn:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

/* ===== perspective_dimensions ===== */
#perspective {
    hyphens: auto;
}

#perspective .js-benchmark-btn {
    cursor: pointer;
    outline: none;
}

#perspective .js-benchmark-btn:focus-visible {
    ring: 2px solid #E4F45C;
}

/* ===== curated_spaces ===== */
#curated-spaces {
    overflow: hidden;
}

#curated-spaces h2,
#curated-spaces h3 {
    hyphens: auto;
}

@media (max-width: 767px) {
    #curated-spaces h2 {
        line-height: 1.25;
    }

    #curated-spaces h3 {
        line-height: 1.2;
    }
}

.js-hotspot-popover::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #211A2B transparent transparent transparent;
}

/* ===== designers_notes ===== */
#designers-notes {
    background-color: var(--primary-background);
    color: var(--text-light);
}

#designers-notes .js-accordion-panel {
    background-color: var(--card-background);
    border-color: var(--border-dark-mode);
}

#designers-notes .js-accordion-trigger:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: -2px;
}

/* ===== delivery_and_service ===== */
#delivery-service {
    hyphens: auto;
}

#delivery-service .js-faq-trigger[aria-expanded="true"] .js-faq-icon {
    transform: rotate(180deg);
}

/* ===== contact ===== */
#contact input::placeholder,
#contact textarea::placeholder {
    color: #BFC1CB;
    opacity: 0.7
}

#contact select option {
    background-color: #211A2B;
    color: #F7F4FA
}

/* ===== footer ===== */
#site-footer {
    hyphens: auto;
}

#site-footer a:focus-visible {
    outline: 2px solid #E4F45C;
    outline-offset: 2px;
}