:root {
    --bg-color: #f4efe6;
    --text-color: #2c2926;
    --accent-color: #8c7b6c;
}

html { 
    font-size: 18px;
    scroll-behavior: smooth;
}
@media (min-width: 1920px) { html { font-size: 22px; } }

body {
    font-family: 'Alice', serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Шум бумаги */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 9999; opacity: 0.06;
    filter: url(#paper-noise);
}

/* Типографика */
h1, h2, h3, .slavic-font {
    font-family: 'Yeseva One', serif;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 0.02em;
}
.serif-text { font-family: 'Alice', serif; }

/* Декор */
.ornament-line {
    height: 1px;
    background: #2c2926;
    margin: 2rem auto;
    width: 100%;
    max-width: 150px;
    position: relative;
    opacity: 0.4;
}
.ornament-line::after {
    content: "♦";
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-color);
    padding: 0 10px;
    font-size: 20px;
}

/* Карточки */
.product-card {
    background-color: #fffbf2;
    border: 1px solid #dcd6ce;
    box-shadow: 6px 6px 0px rgba(44, 41, 38, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 12px 12px 0px rgba(44, 41, 38, 0.12);
    border-color: #8c7b6c;
}

/* Кнопки */
.btn-primary {
    background-color: #2c2926;
    color: #f4efe6;
    border: 2px solid #2c2926;
    padding: 12px 24px;
    text-transform: uppercase;
    font-family: 'Yeseva One', serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.15);
    cursor: pointer;
}
.btn-primary:hover img { filter: brightness(0.1); }
.btn-primary:hover {
    background-color: transparent;
    color: #2c2926;
    box-shadow: 2px 2px 0px rgba(0,0,0,0.15);
    transform: translate(2px, 2px);
}

.btn-secondary {
    background-color: transparent;
    color: #2c2926;
    border: 2px solid #2c2926;
    padding: 12px 24px;
    font-family: 'Yeseva One', serif;
    text-transform: uppercase;
    font-size: 1rem;
    transition: all 0.3s;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-secondary:hover {
    background-color: #2c2926;
    color: #f4efe6;
}

/* Наверх */
.scroll-to-top {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 50px; height: 50px;
    background-color: #2c2926;
    color: #f4efe6;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 9000;
    transition: all 0.3s ease;
    opacity: 0; visibility: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.scroll-to-top.visible { opacity: 1; visibility: visible; }
.scroll-to-top:hover { transform: translateY(-5px); background-color: #4a4540; }

/* Анимации */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Параллакс */
.hero-sketch {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
    mix-blend-mode: multiply;
    will-change: transform;
}