:root {
    --primary_bg: #FDFCF0;
    --secondary_bg: #F5F5DC;
    --accent_bg: #E5E4E2;
    --text_main: #1A1A1A;
    --text_secondary: #4A4A4A;
    --text_on_dark: #F9FAF0;
    --dark_bg: #2C2C2C;
    --button_bg: #1A1A1A;
    --button_text: #FDFCF0;
    --font_serif: 'Playfair Display', serif;
    --font_sans: 'Montserrat', sans-serif;
    --border_radius: 0px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--primary_bg);
    color: var(--text_main);
    font-family: var(--font_sans);
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font_serif);
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

a {
    text-decoration: none;
    transition: color 0.3s ease;
    color: inherit;
}

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

button {
    cursor: pointer;
    border: none;
    outline: none;
    transition: opacity 0.2s ease;
    border-radius: var(--border_radius);
}

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

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

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

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

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

    .mobile-text-sm {
        font-size: 0.875rem;
        word-break: break-all;
    }
}

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

.js-mobile-menu-overlay.open {
    display: flex
}

.js-mobile-link {
    padding: 12px 24px;
    width: 100%;
    text-align: center;
    hyphens: auto;
    line-height: 1.2
}

/* ===== hero_section ===== */
#hero {
    position: relative;
    width: 100%;
}

.hero-cta-btn,
.hero-cta-btn:hover,
.hero-cta-btn:focus {
    color: #FDFCF0 !important;
}

.hero-cta-btn:hover,
.hero-cta-btn:focus {
    transform: none !important;
}

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

/* ===== about_studio ===== */
#about {
    overflow: hidden;
}

.font-serif {
    font-family: 'Playfair Display', serif;
}

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

.js-product-card {
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.js-product-card:hover {
    border-color: var(--text_main);
}

#product-modal::-webkit-scrollbar {
    width: 6px;
}

#product-modal::-webkit-scrollbar-track {
    background: var(--accent_bg);
}

#product-modal::-webkit-scrollbar-thumb {
    background: var(--text_secondary);
}

/* ===== features ===== */
#advantages {
    overflow: hidden;
    background-color: var(--primary_bg);
}

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

.ri-brush-line::before {
    content: '\ec61';
}

.ri-palette-line::before {
    content: '\ef84';
}

.ri-fingerprint-line::before {
    content: '\ed50';
}

.ri-home-4-line::before {
    content: '\ee2a';
}

.ri-shining-line::before {
    content: '\f110';
}

/* ===== order_info ===== */
#custom-order {
    --tw-bg-opacity: 1;
}

.container {
    width: 100%;
}

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

.font-serif {
    font-family: Georgia, serif;
}

/* ===== testimonials ===== */
#reviews {
    overflow: hidden;
}

#reviews .ri-star-fill {
    font-size: 18px;
    color: var(--button_bg);
}

#reviews p {
    hyphens: auto;
    line-height: 1.6;
}

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

#footer a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

#footer address {
    color: #F9FAF0;
}

#footer h3 {
    color: #F9FAF0;
}