
html {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}


main {
    flex: 1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-page-bg: #FCFBFA;
    --color-text: #2a2a2a;
    --font-display: 'Cormorant Garamond', 'Libre Baskerville', 'Times New Roman', Times, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --section-gap-atelier: 120px;
    --accent-emerald: #0f4039;
    --accent-emerald-deep: #0a2e29;
    --accent-gold: #c9a227;
    --accent-gold-soft: rgba(201, 162, 39, 0.35);
}

body {
    font-family: var(--font-body);
    background-color: var(--color-page-bg);
    color: var(--color-text);
    line-height: 1.65;
    overflow-x: hidden;
    animation: fadeInFromAsh 1.5s ease-out;
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

h1,
h2,
.section-title,
.about-hero h1,
.about-snippet h2,
.promo-banner__title {
    font-family: var(--font-display);
}

@keyframes fadeInFromAsh {
    0% {
        opacity: 0;
        filter: blur(20px);
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        transform: scale(1);
    }
}

/* Top announcement ribbon (e.g. free shipping threshold) */
.promo-ribbon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: linear-gradient(
        90deg,
        rgba(235, 228, 214, 0.95) 0%,
        rgba(244, 240, 232, 0.98) 45%,
        rgba(235, 228, 214, 0.95) 100%
    );
    border-bottom: 1px solid rgba(15, 64, 57, 0.1);
    padding: 0.5rem max(16px, env(safe-area-inset-left)) 0.5rem max(16px, env(safe-area-inset-right));
    text-align: center;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: #1e3531;
    flex-shrink: 0;
}

.promo-ribbon__inner {
    margin: 0;
    max-width: 72rem;
    margin-inline: auto;
    line-height: 1.4;
}

@media (max-width: 480px) {
    .promo-ribbon {
        font-size: 0.75rem;
        letter-spacing: 0.04em;
        padding-top: 0.45rem;
        padding-bottom: 0.45rem;
    }
}

@media (min-width: 1024px) {
    .hero-photos {
        min-height: 640px;
        padding: 56px clamp(40px, 5vw, 72px);
        gap: clamp(22px, 2.5vw, 34px);
    }

    .hero-photo {
        max-width: 32%;
        opacity: 0.82;
    }

    .home-page .Products.portfolio-masonry {
        gap: 34px;
    }

    .home-page .Products.portfolio-masonry > article:not(.Product4) {
        flex-basis: 420px;
        width: min(100%, 440px);
        max-width: 440px;
    }

    .home-page .Products.portfolio-masonry .portfolio-card__media {
        border-radius: 26px 26px 0 0;
        aspect-ratio: 3 / 4;
    }
}

/* ——— Skip link (visible on focus) ——— */
.skip-to-content {
    position: absolute;
    left: -9999px;
    top: 0.75rem;
    z-index: 10050;
    padding: 0.65rem 1.25rem;
    background: var(--accent-emerald-deep);
    color: #fdfbf7;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    border: 1px solid rgba(201, 162, 39, 0.5);
}

.skip-to-content:focus {
    left: max(12px, env(safe-area-inset-left));
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

/* ——— Kinetic header (main site) ——— */
.site-header {
    --dock-max: 700px;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    will-change: transform, opacity;
    transition:
        transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.45s ease,
        background 0.5s ease,
        box-shadow 0.5s ease,
        border-color 0.5s ease,
        max-width 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        padding 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        border-radius 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0 max(20px, env(safe-area-inset-left)) 0 max(20px, env(safe-area-inset-right));
    padding-top: max(12px, env(safe-area-inset-top));
    border-bottom: 1px solid transparent;
}

.site-header__surface {
    display: grid;
    width: 100%;
    max-width: min(1200px, 100%);
    margin-inline: auto;
    align-items: center;
    gap: 0.75rem 1rem;
}

/* at top: pad | logo | tools / nav full row */
.site-header--at-top .site-header__surface {
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto auto;
    grid-template-areas:
        'pad brand tools'
        'nav nav nav';
}

.site-header__pad {
    grid-area: pad;
}

.site-header__brand {
    grid-area: brand;
    justify-self: center;
}

.site-header__tools {
    grid-area: tools;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-header__nav {
    grid-area: nav;
    width: 100%;
    justify-self: stretch;
}

.site-header--at-top {
    background: transparent;
    border-bottom-color: transparent;
    box-shadow: none;
}

.site-header--at-top .site-header__logo-img {
    max-height: clamp(72px, 12vw, 100px);
    width: auto;
    transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header__menu-toggle {
    display: none;
}

/* scrolling down: hide */
.site-header--hidden {
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
}

/* compact dock: light frosted pill (same palette as promo ribbon, not a dark block) */
.site-header--dock {
    background: transparent;
    border-bottom-color: transparent;
    box-shadow: none;
    padding-top: max(8px, env(safe-area-inset-top));
}

.site-header--dock .site-header__surface {
    position: relative;
    width: min(var(--dock-max), calc(100% - 24px));
    margin-inline: auto;
    padding: 10px 18px;
    border-radius: 999px;
    background: linear-gradient(
        180deg,
        rgba(255, 253, 248, 0.94) 0%,
        rgba(250, 245, 235, 0.9) 100%
    );
    backdrop-filter: blur(22px) saturate(1.15);
    -webkit-backdrop-filter: blur(22px) saturate(1.15);
    border: 1px solid rgba(43, 39, 31, 0.09);
    box-shadow:
        0 10px 36px rgba(45, 38, 28, 0.1),
        0 1px 0 rgba(255, 255, 255, 0.75) inset;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto;
    grid-template-areas: 'nav brand tools';
    gap: 0.35rem 0.75rem;
}

.site-header--dock .site-header__surface::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
        115deg,
        rgba(201, 162, 39, 0.22) 0%,
        rgba(235, 228, 214, 0.55) 38%,
        rgba(201, 162, 39, 0.28) 52%,
        rgba(30, 53, 49, 0.08) 100%
    );
    background-size: 200% 100%;
    background-position: calc(50% + var(--kinetic-scroll, 0) * 32%) 50%;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 0;
    opacity: 0.9;
}

.site-header--dock .site-header__surface > * {
    position: relative;
    z-index: 1;
}

.site-header--dock .site-header__pad {
    display: none;
}

.site-header--dock .site-header__nav-list {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
}

.site-header--dock .site-header__logo-img {
    max-height: 40px;
}

.site-header--dock .site-header__link,
.site-header--dock .lang-current {
    color: #2c2c2c;
}

.site-header--dock .profile-icon {
    color: #4b2470;
}

.site-header--dock .dropdown-catalog {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(201, 162, 39, 0.22);
    box-shadow: 0 20px 48px rgba(45, 38, 28, 0.12);
}

/* Nav list */
.site-header__nav-list {
    list-style: none;
    margin: 0;
    padding: 0.5rem 0 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem 1.75rem;
}

.site-header__link {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    color: #2c2c2c;
    position: relative;
    display: inline-block;
    padding: 0.35rem 0;
    will-change: transform;
    transition: color 0.35s ease;
}

.site-header__link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #c9a227, transparent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header__link:hover::after,
.site-header__link:focus-visible::after {
    transform: scaleX(1);
}

.site-header__link:focus-visible {
    outline: 2px solid rgba(201, 162, 39, 0.55);
    outline-offset: 4px;
}

.site-header--dock .site-header__link::after {
    background: linear-gradient(90deg, transparent, #c9a227, transparent);
}

@media (max-width: 900px) {
    .site-header__menu-toggle {
        display: inline-grid;
        place-items: center;
        width: 44px;
        height: 44px;
        margin-right: 0;
        border: 1px solid rgba(0, 0, 0, 0.08);
        background: rgba(255, 255, 255, 0.6);
        border-radius: 12px;
        cursor: pointer;
        color: #1a1a1a;
        flex-shrink: 0;
    }

    .site-header__menu-bars {
        display: block;
        width: 18px;
        height: 2px;
        background: currentColor;
        position: relative;
        border-radius: 1px;
    }

    .site-header__menu-bars::before,
    .site-header__menu-bars::after {
        content: '';
        position: absolute;
        left: 0;
        width: 18px;
        height: 2px;
        background: currentColor;
        border-radius: 1px;
    }

    .site-header__menu-bars::before {
        top: -6px;
    }

    .site-header__menu-bars::after {
        top: 6px;
    }

    body.kinetic-menu-open .site-header__menu-bars {
        background: transparent;
    }

    body.kinetic-menu-open .site-header__menu-bars::before {
        top: 0;
        transform: rotate(45deg);
    }

    body.kinetic-menu-open .site-header__menu-bars::after {
        top: 0;
        transform: rotate(-45deg);
    }

    .site-header--at-top .site-header__surface,
    .site-header--dock .site-header__surface {
        grid-template-columns: 1fr auto auto;
        grid-template-rows: auto;
        grid-template-areas: 'brand tools tools';
    }

    .site-header__pad {
        display: none;
    }

    .site-header__brand {
        grid-area: brand;
        justify-self: start;
    }

    .site-header__tools {
        grid-area: tools;
        justify-self: end;
        gap: 0.25rem;
    }

    .site-header__nav {
        position: fixed;
        inset: 0;
        z-index: 4500;
        padding: max(5.5rem, calc(env(safe-area-inset-top) + 4rem)) 1.5rem 2rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition:
            transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
            opacity 0.35s ease,
            visibility 0.35s;
        background: rgba(14, 12, 18, 0.92);
        backdrop-filter: blur(28px);
        -webkit-backdrop-filter: blur(28px);
    }

    body.kinetic-menu-open .site-header__nav {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .site-header__nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
        padding-top: 0;
    }

    .site-header__link {
        font-size: 0.8rem;
        color: rgba(252, 250, 245, 0.95);
    }

    .site-header--dock .site-header__link {
        color: rgba(252, 250, 245, 0.95);
    }

    .site-header--dock .site-header__surface {
        width: calc(100% - 16px);
        border-radius: 20px;
    }

    .products-menu .dropdown-catalog {
        position: static;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        width: 100%;
        min-height: 0;
        margin-top: 0.75rem;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(201, 162, 39, 0.2);
    }

    body.kinetic-menu-open main {
        transform: scale(0.95);
        transform-origin: center top;
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        will-change: transform;
    }

    body.kinetic-menu-open .fab-consultation,
    body.kinetic-menu-open .back-to-top {
        opacity: 0;
        pointer-events: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-header {
        transition: none;
    }

    .site-header__link::after {
        transition: none;
    }

    .site-header--hidden {
        transform: none;
        opacity: 1;
        pointer-events: auto;
    }

    .site-header--dock {
        background: var(--color-page-bg);
        border-bottom: 1px solid #e8e8e8;
    }

    .site-header--dock .site-header__surface {
        width: 100%;
        max-width: min(1200px, 100%);
        border-radius: 0;
        background: transparent;
        backdrop-filter: none;
        box-shadow: none;
        padding: 0;
        border: none;
    }

    .site-header--dock .site-header__surface::before {
        display: none;
    }

    .site-header--dock .site-header__link,
    .site-header--dock .lang-current {
        color: #2c2c2c;
    }

    body.kinetic-menu-open main {
        transform: none;
    }
}

/* Legacy pages without kinetic shell */
header:not(.site-header) {
    background: var(--color-page-bg);
    padding: 22px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e8e8e8;
}

header:not(.site-header) figure {
    margin: 0 0 18px 0;
}

header:not(.site-header) img {
    display: block;
}

/* Shared nav lists (legacy + dropdowns; exclude kinetic main nav) */
nav:not(.site-header__nav) ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 42px;
    padding: 0;
}

nav:not(.site-header__nav) ul li {
    position: relative;
}

nav:not(.site-header__nav) ul li a {
    text-decoration: none;
    color: #3a3a3a;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -0.2px;
    transition: all 0.3s ease;
    padding: 6px 0;
    display: inline-block;
}

nav:not(.site-header__nav) ul li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

nav:not(.site-header__nav) ul li a:hover {
    color: #1a1a1a;
}

nav:not(.site-header__nav) ul li a:hover::before {
    transform: translateX(-50%) scaleX(1);
}

.products-menu {
    position: relative;
}

.products-menu::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -28px;
    right: -28px;
    height: 24px;
}

.dropdown-catalog {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 4px);
    width: 360px;
    min-height: 240px;
    padding: 16px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1200;
    transition: opacity 0.32s ease, visibility 0.32s ease;
}

.products-menu:hover .dropdown-catalog,
.products-menu:focus-within .dropdown-catalog {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.dropdown-item {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.18);
    background: linear-gradient(135deg, rgba(245, 236, 216, 0.35), rgba(255, 255, 255, 0.95));
    color: #3a3a3a;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.28s ease, background 0.28s ease, color 0.28s ease, box-shadow 0.28s ease;
    position: relative;
    overflow: hidden;
}

.dropdown-item::before {
    display: none;
}

.dropdown-item::after {
    content: '';
    position: absolute;
    inset: -40% -10%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.16) 0%, rgba(212, 175, 55, 0) 65%);
    opacity: 0;
    transition: opacity 0.32s ease;
    pointer-events: none;
}

.dropdown-item:hover {
    color: #1a1a1a;
    background: linear-gradient(135deg, rgba(236, 220, 184, 0.65), rgba(255, 255, 255, 0.98));
    box-shadow: 0 8px 16px rgba(212, 175, 55, 0.2);
}

.dropdown-item:hover::after {
    opacity: 1;
}


.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: visible;
    background:
        radial-gradient(ellipse at top, rgba(245, 230, 200, 0.4), transparent),
        radial-gradient(ellipse at bottom, rgba(255, 248, 230, 0.3), transparent);
    
    flex: 1 0 auto;
    min-height: 100vh;
}

.hero-photos {
    width: 100%;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 1;
    padding: 40px;
    background: rgba(255, 255, 255, 0.3);
}

/* Let <img> stay flex items when wrapped in <picture> */
.hero-photos picture {
    display: contents;
}

.hero-photo {
    height: 100%;
    max-width: 30%;
    object-fit: cover;
    opacity: 0.7;
    border-radius: 15px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
    animation: photoFloat 4s ease-in-out infinite;
}

.hero-photo-1 {
    animation-delay: 0s;
}

.hero-photo-2 {
    animation-delay: 0.5s;
}

.hero-photo-3 {
    animation-delay: 1s;
}

@keyframes photoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}



.hero::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(245, 230, 200, 0.2), transparent 70%);
    top: -400px;
    right: -200px;
    animation: float 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 245, 220, 0.25), transparent 70%);
    bottom: -300px;
    left: -150px;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

.hero-content {
    max-width: 750px;
    position: relative;
    z-index: 10;
    padding: 80px 30px;
    width: 100%;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: 72px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    line-height: 1.12;
    animation: fadeInUp 0.8s ease-out;
}

.home-page .hero .hero-headline {
    animation: heroHeadlineFade 1.35s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
    opacity: 0;
}

@keyframes heroHeadlineFade {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-page .hero .hero-headline {
        animation: none;
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-subtitle {
    font-size: 22px;
    color: #5a5a5a;
    margin-bottom: 45px;
    font-weight: 400;
    letter-spacing: -0.3px;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}


.hero-btn {
    display: inline-block;
    padding: 16px 42px;
    background: linear-gradient(145deg, #155a52 0%, var(--accent-emerald) 45%, var(--accent-emerald-deep) 100%);
    color: #fdfbf7;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: 1px solid rgba(201, 162, 39, 0.45);
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    box-shadow: 0 10px 28px rgba(15, 64, 57, 0.28);
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 40%, rgba(201, 162, 39, 0.2) 50%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.hero-btn:hover::before {
    opacity: 1;
}

.hero-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(15, 64, 57, 0.35);
    border-color: rgba(201, 162, 39, 0.65);
}

.hero-btn:active {
    transform: translateY(-2px) scale(1.02);
}


.about-snippet {
    max-width: 850px;
    margin: var(--section-gap-atelier) auto;
    padding: 50px 40px;
    text-align: center;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.home-categories {
    padding: 0 clamp(16px, 4vw, 24px);
    margin: calc(var(--section-gap-atelier) * 0.45) auto 0;
    max-width: 1120px;
}

.home-categories__inner {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 32px;
    box-shadow: 0 12px 36px rgba(31, 24, 18, 0.08);
    padding: clamp(18px, 3vw, 28px);
}

.home-categories__title {
    margin: 0 0 18px;
    text-align: center;
    font-size: clamp(1.55rem, 3.2vw, 2.2rem);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.home-categories__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.home-categories__card {
    text-decoration: none;
    color: inherit;
    border-radius: 22px;
    padding: 18px 18px 16px;
    border: 1px solid rgba(15, 64, 57, 0.12);
    background: linear-gradient(145deg, rgba(245, 236, 216, 0.38), rgba(255, 255, 255, 0.92));
    box-shadow: 0 10px 26px rgba(31, 24, 18, 0.06);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, filter 220ms ease;
}

.home-categories__card:hover,
.home-categories__card:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(201, 162, 39, 0.55);
    box-shadow: 0 16px 36px rgba(31, 24, 18, 0.12);
    filter: brightness(1.01);
}

.home-categories__name {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #1a1a1a;
}

.home-categories__subtitle {
    margin: 8px 0 0;
    font-size: 0.95rem;
    color: #4a4a4a;
    line-height: 1.55;
}

@media (max-width: 820px) {
    .home-categories {
        margin-top: 34px;
    }

    .home-categories__grid {
        grid-template-columns: 1fr;
    }
}

.about-snippet h2 {
    font-size: 42px;
    color: #1a1a1a;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -1px;
}

.about-snippet p {
    font-size: 19px;
    line-height: 1.8;
    color: #4a4a4a;
    font-weight: 400;
}

/* Homepage: promotional card between hero and welcome block */
.promo-banner {
    --promo-bg: #f7f5f2;
    --promo-accent: #ebe4d6;
    --promo-text: #1a1a1a;
    --promo-muted: #3d3d3d;
    padding: 3.5rem 1.5rem 2.75rem;
    max-width: 1120px;
    margin: var(--section-gap-atelier) auto 0;
}

.promo-banner__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: clamp(1.75rem, 4vw, 3rem);
    padding: clamp(1.75rem, 3.5vw, 2.75rem) clamp(1.5rem, 4vw, 3rem);
    background: var(--promo-bg);
    border-radius: 40px;
    border: 1px solid rgba(230, 220, 195, 0.85);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06), 0 2px 12px rgba(0, 0, 0, 0.04);
}

.promo-banner__inner--prize {
    align-items: stretch;
    background: linear-gradient(135deg, #fdfbf7 0%, #f5efe6 45%, #efe8dd 100%);
    border: 1px solid rgba(201, 162, 39, 0.18);
    box-shadow:
        0 16px 48px rgba(30, 53, 49, 0.08),
        0 2px 0 rgba(255, 255, 255, 0.65) inset;
}

.promo-banner__content {
    flex: 1 1 280px;
    max-width: 32rem;
    text-align: left;
}

.promo-banner__eyebrow {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #8a7a62;
    margin: 0 0 0.6rem;
}

.promo-banner__title {
    font-size: clamp(1.75rem, 4vw, 2.375rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--promo-text);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.promo-banner__text {
    font-size: clamp(1rem, 2.2vw, 1.125rem);
    line-height: 1.75;
    color: var(--promo-muted);
    margin-bottom: 0.9rem;
    font-weight: 400;
}

.promo-banner__threshold {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    margin: 0 0 1.1rem;
    padding: 0.5rem 1rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1e3531;
    background: linear-gradient(130deg, #e8d4a8, #f2e4c4);
    border: 1px solid rgba(201, 162, 39, 0.45);
    border-radius: 999px;
    box-shadow: 0 3px 12px rgba(201, 162, 39, 0.2);
}

.promo-banner__subtext {
    font-size: clamp(0.9rem, 1.8vw, 0.98rem);
    line-height: 1.7;
    color: #5c5348;
    margin: 0 0 1.5rem;
    font-weight: 500;
    font-style: italic;
    padding: 0.75rem 0 0;
    border-top: 1px solid rgba(201, 162, 39, 0.15);
}

.promo-banner__cta {
    margin-top: 0.25rem;
}

.promo-banner__gallery {
    flex: 1.15 1 320px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(0.65rem, 2vw, 1.15rem);
    align-items: stretch;
    min-width: 0;
}

.promo-banner__gallery--single {
    flex: 1.25 1 340px;
    grid-template-columns: 1fr;
    max-width: min(520px, 100%);
    margin-left: auto;
    margin-right: auto;
}

.promo-banner__media {
    flex: 1 1 260px;
    min-width: 0;
    margin: 0;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.1);
    background: var(--promo-accent);
}

.promo-banner__media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.promo-banner__gallery .promo-banner__media {
    flex: unset;
    display: block;
    height: 100%;
}

.promo-banner__gallery .promo-banner__media img {
    width: 100%;
    height: 100%;
    min-height: clamp(200px, 32vw, 320px);
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.promo-banner__media--main {
    position: relative;
    border-radius: 32px;
    box-shadow:
        0 20px 50px rgba(30, 45, 40, 0.14),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}

.promo-banner__media--main::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(160deg, transparent 40%, rgba(30, 53, 49, 0.06) 100%);
}

.promo-banner__gallery--single .promo-banner__media--main img {
    min-height: clamp(280px, 40vw, 480px);
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

@media (max-width: 420px) {
    .promo-banner__gallery {
        grid-template-columns: 1fr;
    }

    .promo-banner__gallery .promo-banner__media img {
        min-height: 220px;
        aspect-ratio: 4 / 3;
    }

    .promo-banner__gallery--single .promo-banner__media--main img {
        min-height: 260px;
        aspect-ratio: 3 / 4;
    }
}


main h2:not(.section-title) {
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 20px;
}

main h3 {
    font-size: 15px;
    line-height: 1.7;
    color: #4a4a4a;
    margin-bottom: 16px;
    font-weight: 400;
}

main p {
    font-size: 15px;
    color: #5a5a5a;
    margin-bottom: 12px;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4.5vw, 3rem);
    color: #1a1a1a;
    margin: var(--section-gap-atelier) 0 48px 0;
    font-weight: 600;
    letter-spacing: -0.02em;
}


.Products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 24px);
}

/* Homepage: portfolio grid (flex centers sparse rows; avoids broken multi-column) */
.home-page .Products.portfolio-masonry {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 28px;
}

.home-page .Products.portfolio-masonry > article:not(.Product4) {
    box-sizing: border-box;
    flex: 0 1 340px;
    width: min(100%, 360px);
    max-width: 360px;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.home-page .Products.portfolio-masonry .Product1 figure,
.home-page .Products.portfolio-masonry .Product2 figure,
.home-page .Products.portfolio-masonry .Product3 figure {
    aspect-ratio: auto;
    border-bottom: none;
}

.home-page .Products.portfolio-masonry .portfolio-card__media {
    position: relative;
    overflow: hidden;
    border-radius: 22px 22px 0 0;
    aspect-ratio: 4 / 5;
    background: linear-gradient(145deg, #f3f0eb, #e8e4dc);
}

.home-page .Products.portfolio-masonry .portfolio-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: linear-gradient(145deg, #f3f0eb, #e8e4dc);
}

.home-page .Products.portfolio-masonry .portfolio-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1.35rem 1rem 1.5rem;
    background: linear-gradient(to top, rgba(10, 46, 41, 0.88) 0%, rgba(10, 46, 41, 0.2) 45%, transparent 72%);
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
}

.home-page .Products.portfolio-masonry .Product1:hover .portfolio-card__overlay,
.home-page .Products.portfolio-masonry .Product2:hover .portfolio-card__overlay,
.home-page .Products.portfolio-masonry .Product3:hover .portfolio-card__overlay,
.home-page .Products.portfolio-masonry .product-link:focus-visible .portfolio-card__overlay {
    opacity: 1;
}

.home-page .Products.portfolio-masonry .portfolio-card__overlay-text {
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 2.5vw, 1.35rem);
    font-weight: 600;
    color: #fdfbf7;
    text-align: center;
    line-height: 1.35;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
    transform: translateY(10px);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-page .Products.portfolio-masonry .Product1:hover .portfolio-card__overlay-text,
.home-page .Products.portfolio-masonry .Product2:hover .portfolio-card__overlay-text,
.home-page .Products.portfolio-masonry .Product3:hover .portfolio-card__overlay-text,
.home-page .Products.portfolio-masonry .product-link:focus-visible .portfolio-card__overlay-text {
    transform: translateY(0);
}

@media (max-width: 900px) {
    .home-page .Products.portfolio-masonry {
        gap: 22px;
    }
}

@media (max-width: 520px) {
    .home-page .Products.portfolio-masonry > article:not(.Product4) {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

.Products > article {
    display: flex;
    flex-direction: column;
    position: relative;
    min-width: 0;
}

.Product1, .Product2, .Product3 {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.9);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    cursor: pointer;
    position: relative;
}

.Product1:hover,
.Product2:hover,
.Product3:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.Product1 figure, .Product2 figure, .Product3 figure {
    margin: 0;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: linear-gradient(145deg, #fafafa, #f0f0f0);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.Product1 img, .Product2 img, .Product3 img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.Product1:hover img,
.Product2:hover img,
.Product3:hover img {
    transform: scale(1.06);
}

.Product1 figcaption, .Product2 figcaption, .Product3 figcaption { display: none; }

.Product1 h3, .Product2 h3, .Product3 h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    margin: 26px 24px 12px 24px;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-link:hover h3 {
    color: #1a1a1a;
    text-decoration: none;
}

.product-desc {
    font-size: 15px;
    color: #6a6a6a;
    margin: 10px 24px;
    line-height: 1.6;
}

.product-composition {
    font-size: 14px;
    color: #9a9a9a;
    margin: 8px 24px;
    font-style: italic;
}

.product-price {
    font-size: 26px;
    font-weight: 700;
    color: #c9a961;
    margin: 20px 24px 28px 24px;
    letter-spacing: -0.8px;
}

.Products > article .product-price {
    position: static;
    display: inline-flex;
    align-items: center;
    margin: 16px 24px 26px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    color: #1a1a1a;
    font-size: 18px;
    letter-spacing: -0.2px;
    z-index: auto;
}

.Products > article .product-composition {
    margin-bottom: 8px;
}

/* Keep language switcher in normal page flow to avoid drifting on mobile. */
.language-switcher {
    position: static;
    top: auto;
    right: auto;
    transform: none;
    flex-direction: row;
    align-self: center;
    margin: 12px auto 6px;
    z-index: 10;
}


.about-page {
    max-width: 950px;
    margin: 0 auto;
    padding: 80px 35px;
}

.about-us-page a {
    text-decoration: none;
}

.about-founder {
    margin: 0 0 32px;
    padding: 28px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 34px rgba(31, 24, 18, 0.08);
}

.about-founder__grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 22px;
    align-items: center;
}

.about-founder__title {
    margin: 0 0 10px;
    font-family: var(--font-display);
    font-size: 28px;
    letter-spacing: -0.02em;
    color: #1a1a1a;
}

.about-founder__text {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: #4a4a4a;
}

.about-founder__media {
    margin: 0;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(145deg, #f3f0eb, #e8e4dc);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.about-founder__media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

@media (max-width: 820px) {
    .about-founder {
        padding: 18px;
    }

    .about-founder__grid {
        grid-template-columns: 1fr;
    }

    .about-founder__media {
        order: -1;
        border-radius: 18px;
    }
}

.about-hero {
    text-align: center;
    margin-bottom: 70px;
}

.about-hero h1 {
    font-size: 56px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -1.5px;
}

.about-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 42px;
    margin-bottom: 28px;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.4s ease;
}

.about-card:hover {
    transform: translateX(12px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.about-card h2 {
    font-size: 30px;
    margin-bottom: 18px;
    color: #1a1a1a;
    font-weight: 600;
    letter-spacing: -0.6px;
}

.about-card p {
    font-size: 17px;
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 15px;
}

.about-card ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.about-card ul li {
    font-size: 17px;
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 14px;
    padding-left: 28px;
    position: relative;
}

.about-card ul li::before {
    content: "◆";
    position: absolute;
    left: 6px;
    color: #d4af37;
    font-size: 14px;
}

.about-card strong {
    color: #c9a961;
    font-weight: 600;
}


.Contact-page {
    max-width: 1150px;
    margin: 0 auto;
    padding: 90px 35px;
}

.Contact-hero {
    text-align: center;
    margin-bottom: 75px;
}

.Contact-hero h1 {
    font-size: 62px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -1.8px;
    margin-bottom: 16px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-bottom: 60px;
}

.contact-item {
    position: relative;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 45px 38px;
    border-radius: 28px;
    text-decoration: none;
    color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.9);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
}

.contact-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(245, 230, 200, 0.3), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.contact-item:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 18px 45px rgba(201, 169, 97, 0.25);
}

.contact-item:hover::after {
    opacity: 1;
}

.contact-icon {
    font-size: 46px;
    margin-bottom: 20px;
    display: inline-block;
    position: relative;
    z-index: 1;
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.contact-item:hover .contact-icon {
    transform: scale(1.2) rotate(-8deg);
}

.contact-item h3 {
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1a1a1a;
    letter-spacing: -0.4px;
    position: relative;
    z-index: 1;
}

.contact-item p {
    font-size: 16px;
    color: #5a5a5a;
    position: relative;
    z-index: 1;
}

.contact-arrow {
    position: absolute;
    bottom: 35px;
    right: 35px;
    font-size: 24px;
    color: #c9a961;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1;
}

.contact-item:hover .contact-arrow {
    transform: translateX(8px) rotate(45deg) scale(1.3);
}


footer {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 40px 35px 22px 35px;
    margin-top: 100px;
    margin-left: 0;
    margin-right: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    width: 100%;
}

.auth-footer {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.08);
}

.auth-footer a {
    margin-left: 14px;
}

.site-footer {
    padding: 56px 28px 22px;
}

.site-footer__container {
    width: min(1200px, 100%);
    margin: 0 auto;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr 0.9fr 1.1fr;
    gap: clamp(18px, 3vw, 40px);
    align-items: start;
}

.site-footer__title {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.4px;
    color: #1a1a1a;
}

.site-footer__tagline {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.7;
    color: #5a5a5a;
    max-width: 32ch;
}

.site-footer__social {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.site-footer__social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    color: #2a2a2a;
    font-size: 13px;
    font-weight: 600;
    transition: transform 200ms ease, box-shadow 200ms ease, background-color 200ms ease, filter 200ms ease;
}

.site-footer__social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
    filter: brightness(1.03);
}

.site-footer__social-link:focus {
    outline: none;
}

.site-footer__social-link:focus-visible {
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.42), 0 12px 26px rgba(0, 0, 0, 0.12);
}

.site-footer__heading {
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(15, 64, 57, 0.78);
}

.site-footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.site-footer__link {
    color: #5a5a5a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 2px 0;
    transition: color 200ms ease;
}

.site-footer__link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 1px;
    background: rgba(201, 162, 39, 0.7);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 220ms ease;
}

.site-footer__link:hover,
.site-footer__link:focus-visible {
    color: #1a1a1a;
}

.site-footer__link:hover::after,
.site-footer__link:focus-visible::after {
    transform: scaleX(1);
}

.site-footer__contact {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    display: grid;
    gap: 10px;
}

.site-footer__contact-line {
    margin: 0;
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 12px;
    align-items: baseline;
}

.site-footer__contact-label {
    font-size: 12px;
    font-weight: 700;
    color: rgba(15, 64, 57, 0.72);
    letter-spacing: 0.06em;
}

.site-footer__contact-value {
    font-size: 14px;
    color: #4a4a4a;
}

.site-footer__bottom {
    margin-top: clamp(22px, 3vw, 34px);
    padding-top: 18px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.site-footer__legal {
    margin: 0;
    font-size: 13px;
    color: #5a5a5a;
}

.site-footer__legal-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.site-footer__legal-links .site-footer__link {
    font-size: 13px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 26px;
}

.footer-content > p {
    font-size: 15px;
    color: #5a5a5a;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a,
.footer-social a {
    color: #5a5a5a;
    text-decoration: none;
    font-size: 15px;
    position: relative;
    transition: all 0.3s ease;
}

.footer-links a::after,
.footer-social a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, #c9a961, transparent);
    transition: width 0.4s ease;
}

.footer-links a:hover,
.footer-social a:hover {
    color: #1a1a1a;
}

.footer-links a:hover::after,
.footer-social a:hover::after {
    width: 100%;
}

.footer-social {
    display: flex;
    gap: 26px;
}

.legal-text {
    text-align: center;
    font-size: 12px;
    color: #9a9a9a;
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

@media (max-width: 980px) {
    .site-footer__grid {
        grid-template-columns: 1.3fr 1fr 1fr;
    }

    .site-footer__support {
        grid-column: 1 / -1;
    }
}

@media (max-width: 820px) {
    .site-footer {
        padding: 34px 14px 18px;
        margin-top: 46px;
    }

    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 18px 16px;
    }

    .site-footer__brand {
        grid-column: 1 / -1;
    }

    .site-footer__tagline {
        max-width: none;
    }

    .site-footer__contact-line {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .site-footer__bottom {
        justify-content: center;
        text-align: center;
    }

    .site-footer__legal-links {
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-footer__social-link,
    .site-footer__link,
    .site-footer__link::after {
        transition: none !important;
    }

    .site-footer__social-link:hover {
        transform: none;
        box-shadow: none;
        filter: none;
    }
}


.cookie-banner {
    position: fixed;
    bottom: -350px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    color: #1a1a1a;
    padding: 32px 28px;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transition: bottom 0.7s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-top: 1px solid rgba(255, 255, 255, 0.9);
}

.cookie-banner.show { bottom: 0; }

.cookie-content {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 35px;
    flex-wrap: wrap;
}

.cookie-text h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #1a1a1a;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.cookie-text p {
    font-size: 15px;
    color: #4a4a4a;
    line-height: 1.7;
    margin: 0;
}

.cookie-buttons { display: flex; gap: 16px; }

.cookie-buttons button {
    padding: 14px 36px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.btn-accept {
    background: linear-gradient(135deg, #ecdcb8, #f0e4c8);
    color: #2a2a2a;
}

.btn-accept:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 10px 28px rgba(212, 175, 55, 0.4);
}

.btn-decline {
    background: rgba(255, 255, 255, 0.5);
    color: #4a4a4a;
    border: 1.5px solid rgba(0, 0, 0, 0.1);
}

.btn-decline:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}


.back-to-top {
    position: fixed;
    bottom: 35px;
    right: 35px;
    width: 54px;
    height: 54px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    color: #2a2a2a;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 9998;
}

.back-to-top.show { opacity: 1; visibility: visible; }

.back-to-top:hover {
    transform: translateY(-8px) scale(1.15) rotate(8deg);
    box-shadow: 0 15px 35px rgba(201, 169, 97, 0.35);
}

.back-to-top span {
    display: block;
    line-height: 54px;
}

/* Floating consultation CTA (homepage) */
.fab-consultation {
    position: fixed;
    right: max(18px, env(safe-area-inset-right));
    bottom: max(22px, env(safe-area-inset-bottom));
    z-index: 10000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #fdfbf7;
    text-decoration: none;
    white-space: nowrap;
    background: linear-gradient(145deg, #155a52 0%, var(--accent-emerald) 50%, var(--accent-emerald-deep) 100%);
    border: 1px solid rgba(201, 162, 39, 0.48);
    border-radius: 999px;
    box-shadow: 0 12px 32px rgba(15, 64, 57, 0.38);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.fab-consultation:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 38px rgba(15, 64, 57, 0.45);
    border-color: rgba(201, 162, 39, 0.7);
}

.fab-consultation:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 3px;
}

.home-page .back-to-top {
    bottom: calc(88px + env(safe-area-inset-bottom, 0px));
    right: max(22px, env(safe-area-inset-right));
}


.language-switcher {
    position: fixed;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 8px;
    border-radius: 30px;
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.site-header__tools .language-switcher {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;
    flex-direction: row !important;
    margin: 0 !important;
    z-index: 5;
}

.site-header__tools .profile-icon {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    width: 44px;
    height: 44px;
}

.lang-btn {
    width: 48px;
    height: 48px;
    background: transparent;
    border: none;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    color: #5a5a5a;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    letter-spacing: 0.5px;
    position: relative;
}

.lang-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #ecdcb8, #f0e4c8);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.lang-btn:hover { color: #2a2a2a; transform: scale(1.15); }
.lang-btn:hover::before { opacity: 0.3; }
.lang-btn.active { color: #2a2a2a; transform: scale(1.1); }
.lang-btn.active::before { opacity: 1; }

@media (max-width: 768px) {
    .language-switcher {
        position: static;
        top: auto;
        right: auto;
        transform: none;
        flex-direction: row;
        padding: 8px;
        margin: 10px auto 6px;
    }
    .profile-icon {
        top: 74px;
        right: 15px;
        width: 48px;
        height: 48px;
    }
    .lang-btn {
        width: 42px;
        height: 42px;
        font-size: 12px;
    }
}



.product-page {
    max-width: 1300px;
    margin: 0 auto;
    padding: 40px 30px 80px 30px;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
    font-size: 14px;
    color: #6a6a6a;
}

.breadcrumbs a {
    color: #6a6a6a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover { color: #c9a961; }

.breadcrumbs span:last-child {
    color: #1a1a1a;
    font-weight: 600;
}

.product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.product-gallery {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.main-image {
    width: 100%;
    aspect-ratio: 4 / 5;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.88);
}

.thumbnail-images {
    display: flex;
    gap: 15px;
}

.thumbnail {
    width: calc(33.333% - 10px);
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 15px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.88);
}

.thumbnail:hover { border-color: #c9a961; transform: scale(1.05); }
.thumbnail.active { border-color: #c9a961; }

.product-info h1 {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    letter-spacing: -1px;
}


.profile-icon {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 2000;
}

.profile-icon:hover {
    transform: translateY(-6px) scale(1.1);
    box-shadow: 0 16px 38px rgba(201, 169, 97, 0.35);
    border-color: rgba(212, 175, 55, 0.5);
}

.profile-icon svg {
    width: 24px;
    height: 24px;
    stroke: #1a1a1a;
    stroke-width: 2.2;
    transition: stroke 0.3s ease;
}

.profile-icon:hover svg {
    stroke: #c9a961;
}


.profile-hero {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 400px;
    width: min(400px, 90vw);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px 30px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    text-align: center;
    z-index: 3000;
}


.profile-container{
    width: 100%;
    padding: 80px 0;
}

.profile-container .parent{
    width: min(1200px, 90vw);
    margin: 0 auto;
    min-height: 320px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "one five"
        "one six";

    align-items: center;
    row-gap: 60px;
}

.profile-container .div1{ grid-area: one; justify-self: start; }
.profile-container .div5{ grid-area: five; justify-self: end; }
.profile-container .div6{ grid-area: six; justify-self: end; }

.profile-container .div1,
.profile-container .div5,
.profile-container .div6{
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
}

@media (max-width: 600px){
    .profile-container .parent{
        grid-template-columns: 1fr;
        grid-template-areas:
            "one"
            "five"
            "six";
        row-gap: 24px;
        justify-items: center;
        min-height: auto;
    }
    .profile-container .div1,
    .profile-container .div5,
    .profile-container .div6{
        justify-self: center;
    }
}



.product-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.product-rating .stars {
    font-size: 18px;
    color: #d4af37;
    letter-spacing: 2px;
}

.product-rating .reviews {
    font-size: 15px;
    color: #6a6a6a;
}

.product-price-large {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.product-description {
    font-size: 16px;
    color: #4a4a4a;
    line-height: 1.8;
    margin-bottom: 30px;
}

.product-details {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.product-details h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 18px;
}

.product-details ul {
    list-style: none;
}

.product-details li {
    font-size: 15px;
    color: #4a4a4a;
    padding: 10px 0;
    line-height: 1.6;
}

.product-details strong {
    color: #1a1a1a;
    font-weight: 600;
}

.product-specs-primary {
    margin-bottom: 0.5rem;
}

.product-specs-secondary {
    margin-top: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
}

/* Bento / product color swatches (product detail) */
.bento-color-picker {
    margin: 1.5rem 0 1.75rem;
    padding: 1.25rem 1.35rem 1.2rem;
    background: linear-gradient(155deg, rgba(255, 255, 253, 0.98) 0%, rgba(250, 246, 238, 0.92) 45%, rgba(245, 236, 220, 0.55) 100%);
    border: 1px solid rgba(201, 169, 97, 0.22);
    border-radius: 18px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.85) inset,
        0 8px 28px rgba(26, 26, 26, 0.05);
}

.bento-color-picker__title {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #7a6a58;
    margin: 0 0 1rem;
}

.bento-color-picker__swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.65rem;
    align-items: flex-start;
}

.bento-swatch {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    min-width: 3.35rem;
    padding: 0.45rem 0.35rem 0.4rem;
    margin: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 14px;
    -webkit-appearance: none;
    appearance: none;
    font: inherit;
    color: inherit;
    transition:
        background 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.18s ease;
}

.bento-swatch:focus {
    outline: none;
}

.bento-swatch:focus-visible {
    box-shadow: 0 0 0 2px rgba(201, 169, 97, 0.45);
    background: rgba(255, 255, 255, 0.55);
}

.bento-swatch:hover {
    background: rgba(255, 255, 255, 0.65);
    transform: translateY(-1px);
}

.bento-swatch:active {
    transform: translateY(0);
}

.bento-swatch.is-active {
    background: rgba(255, 255, 255, 0.75);
    box-shadow:
        0 0 0 1px rgba(201, 169, 97, 0.35),
        0 6px 18px rgba(212, 175, 55, 0.12);
}

.bento-swatch__dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    flex-shrink: 0;
    box-sizing: border-box;
    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.1),
        0 1px 2px rgba(0, 0, 0, 0.06),
        inset 0 2px 4px rgba(255, 255, 255, 0.45);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.bento-swatch:hover .bento-swatch__dot {
    transform: scale(1.07);
    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.14),
        inset 0 2px 5px rgba(255, 255, 255, 0.5);
}

.bento-swatch.is-active .bento-swatch__dot {
    transform: scale(1.02);
    box-shadow:
        0 0 0 2px #fffefc,
        0 0 0 4px rgba(212, 175, 55, 0.85),
        0 6px 16px rgba(212, 175, 55, 0.2);
}

.bento-swatch:first-child .bento-swatch__dot {
    border: 2px solid rgba(0, 0, 0, 0.08);
}

.bento-swatch__label {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #5c5248;
    max-width: 5.2rem;
    text-align: center;
    line-height: 1.25;
}

.bento-swatch.is-active .bento-swatch__label {
    color: #1a1a1a;
    font-weight: 600;
}

@media (max-width: 520px) {
    .bento-color-picker {
        padding: 1.1rem 1rem;
    }

    .bento-color-picker__swatches {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.35rem;
        margin: 0 -0.25rem;
        padding-left: 0.25rem;
        padding-right: 0.25rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .bento-swatch {
        flex: 0 0 auto;
    }

    .bento-swatch__dot {
        width: 34px;
        height: 34px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bento-swatch,
    .bento-swatch__dot {
        transition: none;
    }

    .bento-swatch:hover,
    .bento-swatch:active {
        transform: none;
    }

    .bento-swatch:hover .bento-swatch__dot,
    .bento-swatch.is-active .bento-swatch__dot {
        transform: none;
    }
}


.quantity-section {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.quantity-section label {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    white-space: nowrap;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    border-radius: 50px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.8);
}

.quantity-selector button {
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    font-size: 20px;
    color: #1a1a1a;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
}

.quantity-selector button:hover {
    background: rgba(212, 175, 55, 0.1);
    color: #c9a961;
}

.quantity-selector input {
    width: 60px;
    height: 44px;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.quantity-selector input:focus {
    outline: none;
}


.product-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.btn-add-cart,
.btn-add-to-cart {
    flex: 1;
    padding: 16px 36px;
    background: linear-gradient(135deg, #ecdcb8, #f0e4c8);
    color: #1a1a1a;
    border: none;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    letter-spacing: -0.3px;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.2);
}

.btn-order {
    flex: 1;
    padding: 16px 28px;
    background: rgba(255, 255, 255, 0.9);
    color: #1a1a1a;
    border: 1.5px solid rgba(0, 0, 0, 0.15);
    border-radius: 50px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    letter-spacing: -0.3px;
}

.btn-add-cart:hover,
.btn-add-to-cart:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 32px rgba(212, 175, 55, 0.4);
}

.btn-order:hover {
    transform: translateY(-4px) scale(1.05);
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 12px 28px rgba(212, 175, 55, 0.25);
}

.btn-add-cart:active,
.btn-add-to-cart:active {
    transform: translateY(-2px) scale(1.02);
}

.btn-order:active {
    transform: translateY(-2px) scale(1.02);
}

.btn-wishlist {
    width: 54px;
    height: 54px;
    border: 1.5px solid rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    color: #5a5a5a;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-wishlist:hover {
    border-color: rgba(212, 175, 55, 0.5);
    background: rgba(255, 255, 255, 0.95);
    transform: scale(1.1) rotate(-8deg);
}

.btn-wishlist:active {
    transform: scale(0.95);
}


.product-features {
    display: flex;
    gap: 30px;
    padding-top: 30px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #4a4a4a;
    font-weight: 500;
}

.feature .icon {
    font-size: 24px;
}


.related-products {
    margin-top: 100px;
    padding-top: 60px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.related-products h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.related-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.related-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.related-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.related-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    padding: 20px 20px 12px;
}

.related-card .price {
    font-size: 20px;
    font-weight: 700;
    color: #c9a961;
    padding: 0 20px 20px;
}

@media (max-width: 1024px) {
    .Products {
        grid-template-columns: repeat(2, 1fr);
        width: min(900px, 100%);
        padding: 0 16px;
    }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 48px; }
    .hero-subtitle { font-size: 18px; }
    .section-title { font-size: 36px; }
    .Products { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    nav ul { gap: 24px; }
    nav ul li a { font-size: 15px; }
    .dropdown-catalog {
        width: 280px;
        min-height: 180px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .dropdown-item {
        min-height: 48px;
        font-size: 13px;
    }
    .cookie-content { flex-direction: column; text-align: center; }
    .cookie-buttons { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 36px; }

    .back-to-top {
        width: 48px;
        height: 48px;
        bottom: 20px;
        right: 20px;
        font-size: 20px;
    }

    .home-page .back-to-top {
        bottom: calc(76px + env(safe-area-inset-bottom, 0px));
        right: max(16px, env(safe-area-inset-right));
    }

    .fab-consultation {
        font-size: 13px;
        padding: 12px 16px;
        white-space: normal;
        text-align: center;
        max-width: min(260px, calc(100vw - 32px));
        line-height: 1.25;
    }

    .back-to-top span {
        line-height: 48px;
    }
}

.profile-section {
background: linear-gradient(
    135deg,
    #dcd6cb 0%,
    #cfc7b8 100%
);
padding: 100px 0;
font-family: Arial, sans-serif;
}

.profile-section .profile-container {
width: 85%;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
gap: 60px;
}

.profile-left h1 {
font-size: 60px;
font-weight: 700;
line-height: 1.1;
color: #2d2d2d;
margin: 0;
}

.profile-center {
max-width: 400px;
}

.profile-center p {
font-size: 20px;
line-height: 1.6;
color: #333;
margin: 0;
}

.profile-right {
display: flex;
flex-direction: column;
gap: 15px;
}

.edit-btn {
padding: 10px 20px;
border: 1px solid #555;
background: #e6e1d7;
cursor: pointer;
font-size: 16px;
transition: 0.3s ease;
}

.edit-btn:hover {
background: #d8d2c6;
}

.profile-link {
font-size: 18px;
color: #0044ff;
text-decoration: underline;
transition: 0.3s ease;
}

.profile-link:hover {
opacity: 0.7;
}


@media (max-width: 992px) {
.profile-section .profile-container {
    flex-direction: column;
    text-align: center;
}

.profile-left h1 {
    font-size: 42px;
}

.profile-center {
    max-width: 100%;
}

.profile-right {
    align-items: center;
}
}

.profile-page {
    background:
        radial-gradient(120% 90% at 12% 8%, rgba(244, 226, 190, 0.55) 0%, rgba(244, 226, 190, 0) 55%),
        radial-gradient(90% 80% at 88% 92%, rgba(214, 186, 130, 0.28) 0%, rgba(214, 186, 130, 0) 60%),
        linear-gradient(135deg, #ebe1d0 0%, #d7c6aa 52%, #c4b094 100%);
    padding: 80px 0 100px;
}

.profile-hero-panel {
    width: min(1100px, 90vw);
    margin: 0 auto 36px;
    padding: 36px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.profile-hero-copy h1 {
    font-size: 48px;
    color: #1f1f1f;
    margin-bottom: 10px;
}

.profile-hero-copy p {
    font-size: 18px;
    color: #4a4a4a;
    max-width: 640px;
    line-height: 1.6;
}

.profile-hero-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 220px;
}

.profile-page .edit-btn {
    text-align: center;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #ecdcb8, #f0e4c8);
    color: #1a1a1a;
    font-weight: 600;
    text-decoration: none;
}

.profile-page .edit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(212, 175, 55, 0.25);
}

.profile-page .profile-link {
    text-align: center;
    text-decoration: none;
    color: #1a1a1a;
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-radius: 999px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.75);
    font-weight: 500;
}

.profile-page .profile-link:hover {
    background: rgba(255, 255, 255, 0.95);
    opacity: 1;
}

.profile-grid {
    width: min(1100px, 90vw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.profile-card {
    border-radius: 20px;
    padding: 28px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

.profile-card h2 {
    font-size: 24px;
    color: #1f1f1f;
    margin-bottom: 14px;
}

.profile-account-card {
    display: flex;
    align-items: center;
    gap: 18px;
}

.profile-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ecdcb8, #f0e4c8);
    color: #1a1a1a;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-account-info p {
    color: #4b4b4b;
    line-height: 1.5;
}

.profile-orders-card ul {
    list-style: none;
    display: grid;
    gap: 10px;
}

.profile-orders-card li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding-bottom: 10px;
    color: #3a3a3a;
}

.profile-orders-card li strong {
    color: #c9a961;
}

.profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.profile-tags span {
    border-radius: 999px;
    padding: 8px 14px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.75);
    color: #333;
    font-size: 14px;
}

@media (max-width: 992px) {
    .profile-hero-panel {
        flex-direction: column;
        align-items: flex-start;
    }

    .profile-hero-actions {
        width: 100%;
    }

    .profile-grid {
        grid-template-columns: 1fr;
    }

    .profile-hero-copy h1 {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    html,
    body {
        overflow-x: hidden;
        overscroll-behavior-x: none;
    }

    body {
        position: relative;
    }

    html {
        -webkit-text-size-adjust: 100%;
    }

    body {
        animation: none;
    }

    header {
        padding: 14px 16px;
    }

    header figure {
        margin: 0 0 12px 0;
    }

    header img {
        width: min(200px, 58vw);
        height: auto;
    }

    nav ul {
        gap: 16px;
        flex-wrap: wrap;
        row-gap: 8px;
    }

    nav ul li a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 8px 0;
        font-size: 14px;
    }

    .profile-icon {
        top: 68px;
        right: 14px;
    }

    .hero {
        min-height: auto;
        overflow: hidden;
    }

    .hero::before,
    .hero::after,
    .hero-btn::before {
        animation: none;
    }

    .hero-photos {
        min-height: auto;
        padding: 18px 12px;
        gap: 10px;
    }

    .hero-photo {
        max-width: calc(33.333% - 8px);
        border-radius: 12px;
        animation: photoFloatMobile 3.6s ease-in-out infinite;
    }

    .hero-photo-1 { animation-delay: 0s; }
    .hero-photo-2 { animation-delay: 0.4s; }
    .hero-photo-3 { animation-delay: 0.8s; }

    @keyframes photoFloatMobile {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-8px); }
    }

    .hero-content {
        padding: 44px 16px 56px;
    }

    .hero h1 {
        font-size: clamp(34px, 9vw, 46px);
        letter-spacing: -1px;
        margin-bottom: 14px;
    }

    .hero-subtitle {
        font-size: 17px;
        margin-bottom: 28px;
    }

    .hero-btn {
        min-height: 48px;
        padding: 14px 28px;
        font-size: 16px;
        animation: fadeInUp 0.6s ease-out;
    }

    .about-snippet {
        margin: 44px 14px;
        padding: 28px 18px;
        border-radius: 20px;
    }

    .about-snippet h2 {
        font-size: clamp(28px, 7.5vw, 36px);
        margin-bottom: 12px;
    }

    .about-snippet p {
        font-size: 16px;
        line-height: 1.7;
    }

    .promo-banner {
        padding: 2.25rem 14px 1.75rem;
    }

    .promo-banner__inner {
        flex-direction: column;
        border-radius: 28px;
        padding: 1.5rem 1.25rem;
        gap: 1.5rem;
    }

    .promo-banner__content {
        max-width: none;
        text-align: center;
        order: 2;
    }

    .promo-banner__content .promo-banner__threshold {
        margin-left: auto;
        margin-right: auto;
    }

    .promo-banner__subtext {
        text-align: left;
        max-width: 32rem;
        margin-left: auto;
        margin-right: auto;
    }

    .promo-banner__gallery {
        order: 1;
        width: 100%;
    }

    .promo-banner__gallery--single {
        max-width: none;
    }

    .promo-banner__gallery .promo-banner__media {
        border-radius: 22px;
    }

    .promo-banner__cta {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }

    .section-title {
        font-size: clamp(30px, 8vw, 38px);
        margin: 36px 0 26px;
    }

    .Products {
        padding: 0 14px;
        gap: 18px;
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .Product1,
    .Product2,
    .Product3,
    .contact-item,
    .related-card,
    .about-card {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .product-page {
        padding: 24px 14px 54px;
    }

    .breadcrumbs {
        margin-bottom: 20px;
        font-size: 13px;
        flex-wrap: wrap;
        row-gap: 4px;
    }

    .product-container {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .product-gallery {
        position: static;
    }

    .product-info h1 {
        font-size: clamp(30px, 8vw, 38px);
    }

    .product-actions {
        flex-direction: column;
    }

    .btn-add-cart,
    .btn-add-to-cart,
    .btn-wishlist,
    .quantity-selector button {
        min-height: 48px;
    }

    .btn-wishlist {
        width: 100%;
        border-radius: 999px;
        font-size: 21px;
    }

    .Contact-page,
    .about-page {
        padding-left: 14px;
        padding-right: 14px;
    }

    .Contact-hero h1,
    .about-hero h1,
    .profile-hero-copy h1 {
        font-size: clamp(34px, 9vw, 44px);
        letter-spacing: -1px;
    }

    .contact-item {
        padding: 28px 20px;
        border-radius: 20px;
    }

    .contact-item h3 {
        font-size: 22px;
    }

    .contact-arrow {
        bottom: 20px;
        right: 20px;
    }

    .profile-page {
        padding: 48px 0 68px;
    }

    .profile-hero-panel,
    .profile-grid {
        width: min(1100px, 94vw);
    }

    .profile-hero-panel {
        padding: 22px;
        border-radius: 18px;
    }

    .profile-card {
        padding: 20px;
        border-radius: 16px;
    }

    .footer-content {
        justify-content: center;
        text-align: center;
    }

    .footer-links,
    .footer-social {
        gap: 18px;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .language-switcher {
        position: static;
        right: auto;
        top: auto;
        padding: 6px;
        gap: 6px;
        margin: 8px auto 6px;
    }

    .lang-btn {
        width: 38px;
        height: 38px;
        font-size: 11px;
    }

    .profile-icon {
        top: 58px;
        right: 10px;
        width: 42px;
        height: 42px;
    }

    .profile-icon svg {
        width: 20px;
        height: 20px;
    }

    .dropdown-catalog {
        width: min(92vw, 320px);
        left: 50%;
        transform: translate(-50%, 4px);
    }

    .hero-photos {
        padding: 14px 10px;
    }

    .hero-photo {
        max-width: calc(33.333% - 6px);
    }

    .hero-content {
        padding: 34px 12px 46px;
    }

    .product-features {
        gap: 14px;
        padding-top: 20px;
    }

    .feature {
        font-size: 14px;
    }

    .feature .icon {
        font-size: 20px;
    }

    .back-to-top {
        bottom: 14px;
        right: 14px;
    }
}

@media (max-width: 768px) and (hover: none) {
    .hero-btn:hover,
    .Product1:hover,
    .Product2:hover,
    .Product3:hover,
    .contact-item:hover,
    .related-card:hover,
    .about-card:hover,
    .profile-icon:hover,
    .btn-add-cart:hover,
    .btn-add-to-cart:hover,
    .btn-order:hover,
    .btn-wishlist:hover {
        transform: none;
    }

    .contact-item:hover,
    .related-card:hover,
    .about-card:hover,
    .btn-add-cart:hover,
    .btn-add-to-cart:hover,
    .btn-order:hover,
    .btn-wishlist:hover {
        box-shadow: none;
    }
}

@media (max-width: 768px) {
    .Products {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 12px;
        gap: 14px;
    }

    .products-menu::after {
        left: -12px;
        right: -12px;
    }

    .dropdown-catalog {
        max-width: calc(100vw - 24px);
    }

    .Product1,
    .Product2,
    .Product3 {
        border-radius: 18px;
    }

    .Product1 figure,
    .Product2 figure,
    .Product3 figure {
        aspect-ratio: 4 / 3;
        max-height: none;
    }

    .Product1 h3,
    .Product2 h3,
    .Product3 h3 {
        font-size: 19px;
        margin: 16px 16px 8px;
        line-height: 1.3;
    }

    .product-desc {
        font-size: 14px;
        margin: 6px 16px;
        line-height: 1.45;
    }

    .product-composition {
        font-size: 13px;
        margin: 4px 16px;
        line-height: 1.35;
    }

    .Products > article .product-price {
        position: static;
        display: inline-flex;
        align-items: center;
        margin: 8px 16px 12px;
        padding: 4px 10px;
        font-size: 16px;
        line-height: 1.2;
        border-radius: 999px;
    }

    .Products > article .product-composition {
        margin-bottom: 6px;
    }

    .Product1:hover,
    .Product2:hover,
    .Product3:hover,
    .Product1:hover img,
    .Product2:hover img,
    .Product3:hover img {
        transform: none;
    }

    .product-page {
        max-width: 100%;
        padding: 18px 12px 42px;
    }

    .product-page .breadcrumbs {
        margin-bottom: 14px;
        font-size: 12px;
        gap: 6px;
    }

    .product-page .product-container {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 44px;
    }

    .product-page .product-gallery {
        position: static;
        top: auto;
    }

    .product-page .main-image {
        border-radius: 16px;
        margin-bottom: 10px;
    }

    .product-page .thumbnail-images {
        gap: 8px;
    }

    .product-page .thumbnail {
        width: calc(33.333% - 6px);
        border-radius: 10px;
    }

    .product-page .product-info h1 {
        font-size: 30px;
        line-height: 1.2;
        margin-bottom: 10px;
    }

    .product-page .product-rating {
        margin-bottom: 12px;
    }

    .product-page .product-price-large {
        font-size: 30px;
        margin-bottom: 12px;
    }

    .product-page .product-description {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .product-page .product-details {
        margin-bottom: 20px;
        padding-bottom: 18px;
    }

    .product-page .product-details h3 {
        font-size: 17px;
        margin-bottom: 12px;
    }

    .product-page .product-details li {
        font-size: 14px;
        padding: 6px 0;
    }

    .product-page .quantity-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 18px;
    }

    .product-page .quantity-selector {
        width: 100%;
        max-width: 210px;
    }

    .product-page .quantity-selector button {
        width: 48px;
        height: 48px;
    }

    .product-page .quantity-selector input {
        height: 48px;
        font-size: 15px;
    }

    .product-page .product-actions {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 20px;
    }

    .product-page .btn-add-cart,
    .product-page .btn-add-to-cart,
    .product-page .btn-order,
    .product-page .btn-wishlist {
        width: 100%;
        min-height: 48px;
    }

    .product-page .btn-wishlist {
        border-radius: 14px;
    }

    .product-page .product-features {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        padding-top: 16px;
    }

    .product-page .feature {
        font-size: 14px;
        gap: 10px;
    }

    .product-page .related-products {
        margin-top: 44px;
        padding-top: 26px;
    }

    .product-page .related-products h2 {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .product-page .related-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .product-page .related-card img {
        height: 190px;
    }
}

@media (max-width: 480px) {
    html,
    body {
        overflow-x: hidden;
    }

    .Product1 figure,
    .Product2 figure,
    .Product3 figure {
        max-height: none;
    }

    .Product1 h3,
    .Product2 h3,
    .Product3 h3 {
        font-size: 17px;
    }

    .product-desc {
        font-size: 13px;
    }

    .product-composition {
        font-size: 12px;
    }

    .Products > article .product-price {
        margin: 6px 14px 10px;
        padding: 3px 9px;
        font-size: 15px;
    }

    .Products > article .product-composition {
        margin-bottom: 4px;
    }

    .product-page {
        padding: 16px 10px 34px;
    }

    .product-page .product-info h1 {
        font-size: 26px;
    }

    .product-page .product-price-large {
        font-size: 26px;
    }

    .product-page .product-description {
        font-size: 14px;
    }

    .product-page .main-image {
        border-radius: 14px;
    }

    .product-page .related-card img {
        height: 170px;
    }
}

@media (max-width: 820px) {
    html,
    body {
        overflow-x: hidden;
        overscroll-behavior-x: none;
    }

    body {
        min-width: 0;
    }

    header {
        position: static;
        top: auto;
        z-index: auto;
        padding: 12px 12px 10px;
    }

    header img {
        width: min(190px, 58vw);
        height: auto;
    }

    nav {
        width: 100%;
    }

    nav ul {
        width: 100%;
        justify-content: center;
        gap: 10px;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0 44px 4px;
        scrollbar-width: none;
    }

    nav ul::-webkit-scrollbar {
        display: none;
    }

    nav ul li {
        flex: 0 0 auto;
    }

    nav ul li a {
        white-space: nowrap;
        font-size: 14px;
        min-height: 40px;
        padding: 8px 4px;
    }

    .products-menu::after,
    .products-menu:hover .dropdown-catalog,
    .products-menu:focus-within .dropdown-catalog,
    .products-menu .dropdown-catalog {
        display: none;
    }

    .language-switcher {
        position: static;
        top: auto;
        right: auto;
        padding: 5px;
        gap: 5px;
        z-index: 10;
        margin: 8px auto 6px;
    }

    .lang-btn {
        width: 34px;
        height: 34px;
        font-size: 10px;
    }

    .profile-icon {
        top: 50px;
        right: 8px;
        width: 40px;
        height: 40px;
    }

    .profile-icon svg {
        width: 18px;
        height: 18px;
    }

    .hero {
        overflow: hidden;
    }

    .hero-photos {
        gap: 8px;
        padding: 10px 8px;
        min-height: auto;
    }

    .hero-photo {
        max-width: calc(33.333% - 6px);
        border-radius: 10px;
    }

    .hero-content {
        padding: 30px 10px 38px;
    }

    .hero h1 {
        font-size: clamp(30px, 8.6vw, 40px);
        margin-bottom: 10px;
    }

    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 18px;
    }

    .hero-btn {
        min-height: 44px;
        padding: 12px 22px;
        font-size: 15px;
    }

    .about-snippet {
        margin: 24px 10px;
        padding: 18px 14px;
        border-radius: 16px;
    }

    .about-snippet h2 {
        font-size: clamp(24px, 7vw, 32px);
    }

    .about-snippet p {
        font-size: 14px;
        line-height: 1.55;
    }

    .promo-banner {
        padding: 1.5rem 10px 1.25rem;
    }

    .promo-banner__inner {
        border-radius: 22px;
        padding: 1.25rem 1rem;
    }

    .promo-banner__title {
        margin-bottom: 0.65rem;
    }

    .promo-banner__text {
        margin-bottom: 1.25rem;
        font-size: 0.95rem;
    }

    .section-title {
        font-size: clamp(26px, 7.6vw, 34px);
        margin: 24px 0 16px;
    }

    .Products {
        grid-template-columns: 1fr;
        gap: 12px;
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding: 0 12px;
    }

    .Product1,
    .Product2,
    .Product3 {
        border-radius: 14px;
    }

    .Product1 figure,
    .Product2 figure,
    .Product3 figure {
        aspect-ratio: 16 / 10;
        max-height: none;
    }

    .Product1 h3,
    .Product2 h3,
    .Product3 h3 {
        margin: 12px 12px 6px;
        font-size: 16px;
    }

    .product-desc {
        margin: 4px 12px;
        font-size: 13px;
        line-height: 1.38;
    }

    .product-composition {
        margin: 3px 12px 2px;
        font-size: 12px;
        line-height: 1.3;
    }

    .Products > article .product-price {
        margin: 4px 12px 10px;
        font-size: 14px;
        padding: 3px 8px;
        border-width: 1px;
        box-shadow: none;
    }

    .product-page {
        padding: 14px 10px 26px;
    }

    .product-page .breadcrumbs {
        margin-bottom: 10px;
        font-size: 11px;
        line-height: 1.35;
    }

    .product-page .product-container {
        gap: 14px;
        margin-bottom: 26px;
    }

    .product-page .main-image {
        border-radius: 12px;
        margin-bottom: 8px;
    }

    .product-page .thumbnail-images {
        gap: 6px;
    }

    .product-page .thumbnail {
        width: calc(33.333% - 4px);
        border-radius: 8px;
    }

    .product-page .product-info h1 {
        font-size: clamp(22px, 6.5vw, 28px);
        margin-bottom: 8px;
    }

    .product-page .product-rating {
        margin-bottom: 8px;
    }

    .product-page .product-rating .stars {
        font-size: 16px;
        letter-spacing: 1px;
    }

    .product-page .product-rating .reviews {
        font-size: 13px;
    }

    .product-page .product-price-large {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .product-page .product-description {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 14px;
    }

    .product-page .product-details {
        margin-bottom: 14px;
        padding-bottom: 12px;
    }

    .product-page .product-details h3 {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .product-page .product-details li {
        font-size: 13px;
        padding: 4px 0;
    }

    .product-page .quantity-section {
        gap: 6px;
        margin-bottom: 12px;
    }

    .product-page .quantity-section label {
        font-size: 14px;
    }

    .product-page .quantity-selector {
        max-width: 200px;
    }

    .product-page .quantity-selector button,
    .product-page .quantity-selector input {
        height: 42px;
        width: 42px;
        font-size: 16px;
    }

    .product-page .quantity-selector input {
        width: 52px;
    }

    .product-page .product-actions {
        gap: 8px;
        margin-bottom: 12px;
    }

    .product-page .btn-add-cart,
    .product-page .btn-add-to-cart,
    .product-page .btn-order,
    .product-page .btn-wishlist {
        min-height: 44px;
        border-radius: 12px;
        font-size: 15px;
    }

    .product-page .btn-wishlist {
        font-size: 19px;
    }

    .product-page .product-features {
        gap: 8px;
        padding-top: 10px;
    }

    .product-page .feature {
        font-size: 13px;
    }

    .product-page .feature .icon {
        font-size: 17px;
    }

    .product-page .related-products {
        margin-top: 24px;
        padding-top: 14px;
    }

    .product-page .related-products h2 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .product-page .related-grid {
        gap: 10px;
    }

    .product-page .related-card img {
        height: 140px;
    }

    .about-page,
    .Contact-page {
        padding: 18px 10px 32px;
    }

    .about-hero,
    .Contact-hero {
        margin-bottom: 20px;
    }

    .about-hero h1,
    .Contact-hero h1 {
        font-size: clamp(28px, 8vw, 36px);
        margin-bottom: 8px;
    }

    .about-card,
    .contact-item {
        border-radius: 16px;
        padding: 16px 14px;
    }

    .about-card h2,
    .contact-item h3 {
        font-size: 19px;
        margin-bottom: 8px;
    }

    .about-card p,
    .about-card ul li,
    .contact-item p {
        font-size: 14px;
        line-height: 1.5;
    }

    .contact-icon {
        font-size: 30px;
        margin-bottom: 10px;
    }

    .contact-arrow {
        right: 14px;
        bottom: 14px;
        font-size: 18px;
    }

    .profile-page {
        padding: 20px 0 34px;
    }

    .profile-hero-panel,
    .profile-grid {
        width: min(1100px, 96vw);
    }

    .profile-hero-panel {
        padding: 14px;
        gap: 12px;
        border-radius: 14px;
        margin-bottom: 14px;
    }

    .profile-hero-copy h1 {
        font-size: clamp(24px, 7vw, 32px);
        margin-bottom: 6px;
    }

    .profile-hero-copy p {
        font-size: 14px;
    }

    .profile-card {
        border-radius: 14px;
        padding: 14px;
    }

    .profile-card h2 {
        font-size: 19px;
        margin-bottom: 10px;
    }

    .profile-avatar {
        width: 54px;
        height: 54px;
    }

    .profile-account-info p,
    .profile-orders-card li,
    .profile-tags span {
        font-size: 13px;
    }

    footer {
        padding: 22px 12px 16px;
        margin-top: 36px;
    }

    .footer-content {
        gap: 12px;
    }

    .footer-content > p,
    .footer-links a,
    .footer-social a {
        font-size: 13px;
    }

    .cookie-banner {
        padding: 16px 12px;
    }

    .cookie-text h3 {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .cookie-text p {
        font-size: 13px;
    }

    .cookie-buttons {
        width: 100%;
        gap: 8px;
    }

    .cookie-buttons button,
    .cookie-policy-link {
        width: 100%;
        min-height: 42px;
        text-align: center;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        right: 10px;
        bottom: 10px;
        font-size: 18px;
    }

    .back-to-top span {
        line-height: 40px;
    }
}

@media (max-width: 380px) {
    .Product1 figure,
    .Product2 figure,
    .Product3 figure {
        max-height: none;
    }

    .Product1 h3,
    .Product2 h3,
    .Product3 h3 {
        font-size: 15px;
    }

    .product-page .product-info h1 {
        font-size: 22px;
    }

    .product-page .product-price-large {
        font-size: 21px;
    }

    .product-page .related-card img {
        height: 124px;
    }

    .lang-btn {
        width: 32px;
        height: 32px;
    }

    .profile-icon {
        width: 38px;
        height: 38px;
    }

    .home-page .Products.portfolio-masonry .Product1 figure {
        max-height: none;
    }
}

@media (max-width: 900px) {
    :root {
        --safe-top: env(safe-area-inset-top, 0px);
        --safe-right: env(safe-area-inset-right, 0px);
        --safe-bottom: env(safe-area-inset-bottom, 0px);
        --safe-left: env(safe-area-inset-left, 0px);
    }

    body {
        /* Keep mobile layout centered even when safe-area is present only on one side. */
        padding-left: max(var(--safe-left), var(--safe-right));
        padding-right: max(var(--safe-left), var(--safe-right));
    }

    header {
        padding-top: calc(12px + var(--safe-top));
    }

    .language-switcher {
        top: auto;
        right: auto;
    }

    .profile-icon {
        top: calc(50px + var(--safe-top));
        right: calc(8px + var(--safe-right));
    }

    footer {
        padding-bottom: calc(16px + var(--safe-bottom));
    }

    .cookie-banner {
        padding-bottom: calc(16px + var(--safe-bottom));
    }

    .back-to-top {
        right: calc(10px + var(--safe-right));
        bottom: calc(10px + var(--safe-bottom));
    }
}

@media (max-width: 900px) and (pointer: coarse) {
    * {
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.08);
    }

    .hero,
    .Product1,
    .Product2,
    .Product3,
    .about-card,
    .contact-item,
    .related-card,
    .profile-card,
    .profile-hero-panel,
    .cookie-banner,
    .language-switcher,
    .profile-icon,
    .main-image {
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        transform: translateZ(0);
    }

    .hero::before,
    .hero::after,
    .hero-btn::before {
        display: none;
    }

    .Product1,
    .Product2,
    .Product3,
    .about-card,
    .contact-item,
    .related-card,
    .profile-card {
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .language-switcher,
    .profile-icon,
    .cookie-banner,
    .hero-photos,
    .about-snippet,
    .Product1,
    .Product2,
    .Product3,
    .about-card,
    .contact-item,
    .related-card,
    .profile-hero-panel,
    .profile-card,
    .main-image {
        background: rgba(255, 255, 255, 0.96);
    }
}

@media (min-width: 390px) and (max-width: 900px) {
    .Products {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
        padding-left: 12px;
        padding-right: 12px;
    }

    .Product1 figure,
    .Product2 figure,
    .Product3 figure {
        max-height: 180px;
    }

    .product-page .main-image {
        max-width: 100%;
    }
}

/* Final language switcher behavior: compact animated dropdown on mobile. */
.lang-current {
    display: none;
}

.language-switcher .lang-options {
    display: flex;
    gap: 12px;
}

@media (max-width: 820px) {
    .language-switcher {
        position: static;
        transform: none;
        flex-direction: column;
        align-items: center;
        margin: 10px auto 8px;
        width: fit-content;
        max-width: calc(100% - 24px);
        overflow: visible;
    }

    .lang-current {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 64px;
        height: 40px;
        padding: 0 14px;
        border: none;
        border-radius: 999px;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.4px;
        color: #2a2a2a;
        background: linear-gradient(135deg, #ecdcb8, #f0e4c8);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
        cursor: pointer;
    }

    .lang-current::after {
        content: '▾';
        margin-left: 8px;
        font-size: 10px;
        transition: transform 0.28s ease;
    }

    .language-switcher.expanded .lang-current::after {
        transform: rotate(180deg);
    }

    .language-switcher .lang-options {
        display: flex;
        flex-direction: column;
        gap: 6px;
        margin-top: 0;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        pointer-events: none;
        transform: translateY(-6px);
        transition: max-height 0.32s ease, opacity 0.24s ease, transform 0.32s ease, margin-top 0.24s ease;
    }

    .language-switcher.expanded .lang-options {
        max-height: 180px;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
        margin-top: 8px;
    }

    .language-switcher .lang-btn {
        width: 40px;
        height: 40px;
        font-size: 11px;
    }
}

@media (min-width: 821px) {
    .lang-current {
        display: none;
    }

    .language-switcher .lang-options {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
}

/* Homepage product cards: contact-style concept */
.Products > .Product1,
.Products > .Product2,
.Products > .Product3 {
    position: relative;
    border-radius: 28px;
    padding: 0 0 14px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.Products > .Product1::after,
.Products > .Product2::after,
.Products > .Product3::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(245, 230, 200, 0.28), transparent 70%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.Products > .Product1:hover,
.Products > .Product2:hover,
.Products > .Product3:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 18px 44px rgba(201, 169, 97, 0.24);
}

.Products > .Product1:hover::after,
.Products > .Product2:hover::after,
.Products > .Product3:hover::after {
    opacity: 1;
}

.Products > article .product-link {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px 18px 0;
}

.Products > article figure {
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: linear-gradient(145deg, #fafafa, #f0f0f0);
    aspect-ratio: 1 / 1;
}

.Products > article h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.25;
}

.Products > article .product-desc,
.Products > article .product-composition,
.Products > article .product-price {
    margin-left: 18px;
    margin-right: 18px;
}

.Products > article .product-desc {
    margin-top: 10px;
    margin-bottom: 8px;
}

.Products > article .product-composition {
    margin-top: 0;
    margin-bottom: 10px;
}

.Products > article .product-price {
    margin-top: 2px;
    margin-bottom: 6px;
    align-self: flex-start;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: none;
}

@media (max-width: 820px) {
    .Products > .Product1,
    .Products > .Product2,
    .Products > .Product3 {
        border-radius: 20px;
        padding-bottom: 10px;
    }

    .Products > article .product-link {
        padding: 12px 12px 0;
        gap: 10px;
    }

    .Products > article figure {
        border-radius: 12px;
    }

    .Products > article h3 {
        font-size: 18px;
    }

    .Products > article .product-desc,
    .Products > article .product-composition,
    .Products > article .product-price {
        margin-left: 12px;
        margin-right: 12px;
    }
}

.Product4 {
    position: relative;
    width: min(1120px, 100%);
    margin: 22px auto 0;
    padding: 22px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.Product4::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(245, 230, 200, 0.28), transparent 70%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.Product4:hover {
    transform: translateY(-8px) scale(1.005);
    box-shadow: 0 18px 44px rgba(201, 169, 97, 0.24);
}

.Product4:hover::after {
    opacity: 1;
}

.Product4 .product-link {
    display: block;
    position: relative;
    z-index: 1;
}

.Product4 h3 {
    margin: 0;
    font-size: 26px;
    font-weight: 600;
    color: #1a1a1a;
}

.Product4 .product-desc {
    margin: 8px 0 0;
    position: relative;
    z-index: 1;
    font-size: 16px;
    color: #5a5a5a;
}

@media (max-width: 820px) {
    .Product4 {
        width: calc(100% - 24px);
        margin-top: 14px;
        border-radius: 20px;
        padding: 14px;
    }

    .Product4 h3 {
        font-size: 19px;
    }

    .Product4 .product-desc {
        font-size: 14px;
    }
}

@media (max-width: 820px) {
    .language-switcher {
        position: fixed;
        right: 12px;
        bottom: 12px;
        top: auto;
        margin: 0;
        z-index: 3500;
        border-radius: 16px;
        padding: 8px;
        box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
    }

    .language-switcher .lang-options {
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transform: translateY(6px);
        transition: max-height 0.32s ease, opacity 0.24s ease, transform 0.32s ease, margin-top 0.24s ease;
        margin-top: 0;
        pointer-events: none;
    }

    .language-switcher.expanded .lang-options {
        max-height: 180px;
        opacity: 1;
        transform: translateY(0);
        margin-top: 8px;
        pointer-events: auto;
    }

    .lang-current {
        display: inline-flex;
    }

    .language-switcher .lang-btn {
        width: 36px;
        height: 36px;
        font-size: 10px;
    }

    .home-page .Products > article {
        text-align: center;
        align-items: center;
    }

    .home-page .Products > article .product-link {
        align-items: center;
        text-align: center;
    }

    .home-page .Products > article .product-desc,
    .home-page .Products > article .product-composition,
    .home-page .Products > article h3 {
        text-align: center;
    }

    .home-page .Products > article .product-price {
        align-self: center;
    }
}

/* Homepage hero photo marquee: continuous scroll right to left. */
/* Prevent main from stretching to fill the viewport (empty “infinite” area below products). */
.home-page main {
    flex: 0 1 auto;
}

.home-page .Products > .Product4 {
    grid-column: 1 / -1;
    max-width: 520px;
    margin: 0 auto;
    justify-self: center;
}

.home-page .Products.portfolio-masonry > .Product4 {
    flex: 1 0 100%;
    width: min(520px, 100%);
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    align-self: center;
}

.home-page .hero {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@supports (height: 100svh) {
    .home-page .hero {
        min-height: 100svh;
    }
}

.home-page .hero-photos {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    overflow: hidden;
    min-height: 450px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.3);
}

.home-page .hero-photo {
    height: 100%;
    max-width: 30%;
    object-fit: cover;
    opacity: 0.82;
    border-radius: 15px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
    animation: photoFloat 4s ease-in-out infinite;
}

.home-page .hero-content {
    position: relative;
    z-index: 4;
    overflow: visible;
}

.home-page .hero-content-bg {
    --hero-gap: 18px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    z-index: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    pointer-events: none;
    opacity: 0.3;
    mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.home-page .hero-content > :not(.hero-content-bg) {
    position: relative;
    z-index: 1;
}

.home-page .hero-bg-track {
    display: flex;
    align-items: center;
    gap: var(--hero-gap);
    width: max-content;
    animation: heroMarquee 38s linear infinite;
    will-change: transform;
}

.home-page .hero-bg-track picture {
    display: contents;
}

.home-page .hero-bg-photo {
    flex: 0 0 auto;
    width: clamp(180px, 26vw, 300px);
    height: clamp(170px, 22vw, 260px);
    max-width: none;
    border-radius: 16px;
    opacity: 0.92;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
    object-fit: cover;
    animation: none;
}

@keyframes heroMarquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - (var(--hero-gap) / 2)));
    }
}

@media (max-width: 820px) {
    .home-page .hero-photos {
        gap: 12px;
        min-height: 300px;
        padding: 16px;
    }

    .home-page .hero-photo {
        max-width: 31%;
    }

    .home-page .hero-content-bg {
        --hero-gap: 10px;
        opacity: 0.24;
        mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
        -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
    }

    .home-page .hero-bg-track {
        animation-duration: 24s;
    }

    .home-page .hero-bg-photo {
        width: clamp(128px, 40vw, 168px);
        height: clamp(120px, 36vw, 154px);
        border-radius: 12px;
    }
}

@media (max-height: 680px) {
    .home-page .hero-photos {
        min-height: 180px;
        padding: 12px 10px;
    }

    .home-page .hero-content {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

/* Final global mobile optimization pass */
@media (max-width: 900px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    img,
    video,
    canvas,
    svg {
        max-width: 100%;
        height: auto;
    }

    header,
    main,
    footer,
    .about-page,
    .Contact-page,
    .product-page,
    .profile-page,
    .about-snippet,
    .promo-banner,
    .profile-hero-panel,
    .profile-grid,
    .Product4 {
        width: 100%;
        max-width: 100%;
    }

    header {
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
    }

    nav {
        width: 100%;
        max-width: 100%;
    }

    nav ul {
        padding-left: 8px;
        padding-right: 8px;
    }

    .Products {
        width: 100%;
        max-width: 100%;
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
        margin-left: auto;
        margin-right: auto;
    }

    .Products > article,
    .Product4 {
        min-width: 0;
    }

    .Products > article .product-link,
    .Products > article .product-desc,
    .Products > article .product-composition,
    .Products > article .product-price {
        word-break: break-word;
    }

    .cookie-banner {
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
    }

    .cookie-content {
        width: 100%;
        max-width: 100%;
    }

    .cookie-buttons {
        width: 100%;
        flex-wrap: wrap;
    }

    .cookie-buttons button,
    .cookie-policy-link {
        min-height: 44px;
    }

    .footer-content {
        width: 100%;
        max-width: 100%;
        padding-left: 4px;
        padding-right: 4px;
    }

    a,
    button,
    input,
    .lang-btn,
    .lang-current,
    .hero-btn,
    .btn-add-cart,
    .btn-add-to-cart,
    .btn-order,
    .btn-decline,
    .btn-accept {
        touch-action: manipulation;
    }
}

@media (max-width: 480px) {
    .Products {
        padding-left: 10px;
        padding-right: 10px;
    }

    .Product4 {
        width: calc(100% - 20px);
    }

    .footer-links,
    .footer-social {
        gap: 12px;
    }

    .legal-text {
        font-size: 11px;
    }
}

/* Final motion overrides: keep animations subtle and consistent site-wide. */
html {
    scroll-behavior: smooth;
}

nav ul li a {
    position: relative;
}

nav ul li a::before {
    content: none;
}

nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: rgba(42, 42, 42, 0.55);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 260ms ease;
}

nav ul li a:hover::after,
nav ul li a:focus-visible::after {
    transform: scaleX(1);
}

.Products > .Product1,
.Products > .Product2,
.Products > .Product3,
.related-card,
.Product4 {
    transition: transform 240ms ease, box-shadow 240ms ease;
}

.Products > .Product1:hover,
.Products > .Product2:hover,
.Products > .Product3:hover,
.related-card:hover,
.Product4:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}

.Products > article img,
.related-card img {
    transition: transform 240ms ease;
}

/* Newsletter section: restore missing footer subscription styling */
.newsletter-section {
    width: min(1120px, calc(100% - 40px));
    margin: 56px auto 22px;
    padding: 34px 30px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(252, 248, 236, 0.95), rgba(246, 236, 214, 0.95));
    border: 1px solid rgba(225, 205, 158, 0.45);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

.newsletter-container {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 24px;
    align-items: center;
}

.newsletter-title {
    margin: 0 0 10px;
    font-size: clamp(26px, 3.2vw, 34px);
    font-weight: 700;
    color: #1f1a12;
}

.newsletter-subtitle {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #5a513f;
}

.newsletter-form {
    width: 100%;
}

.newsletter-input-wrapper {
    display: flex;
    gap: 10px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(210, 189, 142, 0.45);
}

.newsletter-input {
    flex: 1;
    min-width: 0;
    height: 50px;
    border: none;
    outline: none;
    background: transparent;
    padding: 0 14px;
    font-size: 15px;
    color: #2a2419;
}

.newsletter-input::placeholder {
    color: #8a806a;
}

.newsletter-btn {
    height: 50px;
    padding: 0 24px;
    border: 1px solid rgba(196, 160, 80, 0.8);
    border-radius: 999px;
    background: linear-gradient(135deg, #ecdcb8, #f0e4c8);
    color: #2a2a2a;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.24s ease, box-shadow 0.24s ease, filter 0.24s ease;
}

.newsletter-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
    box-shadow: 0 8px 20px rgba(201, 169, 97, 0.34);
}

.newsletter-message {
    min-height: 22px;
    margin-top: 10px;
    font-size: 13px;
    color: #6c614c;
}

@media (max-width: 900px) {
    .newsletter-section {
        width: calc(100% - 24px);
        margin: 36px auto 16px;
        padding: 22px 16px;
        border-radius: 16px;
    }

    .newsletter-container {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .newsletter-input-wrapper {
        flex-direction: column;
        border-radius: 14px;
        padding: 10px;
    }

    .newsletter-btn,
    .newsletter-input {
        width: 100%;
    }
}

.Products > .Product1:hover img,
.Products > .Product2:hover img,
.Products > .Product3:hover img,
.related-card:hover img {
    transform: scale(1.05);
}

.hero-btn,
.btn-add-cart,
.btn-add-to-cart,
.btn-order,
.btn-accept,
.btn-decline,
.edit-btn,
.profile-link,
.cookie-policy-link,
.quantity-selector button,
.btn-wishlist,
.back-to-top {
    transition: transform 200ms ease, filter 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}

.hero-btn:hover,
.btn-add-cart:hover,
.btn-add-to-cart:hover,
.btn-order:hover,
.btn-accept:hover,
.btn-decline:hover,
.edit-btn:hover,
.profile-link:hover,
.cookie-policy-link:hover,
.quantity-selector button:hover,
.btn-wishlist:hover,
.back-to-top:hover {
    filter: brightness(1.05);
    transform: scale(1.03);
}

header figure {
    position: relative;
}

header figure::after {
    content: '';
    position: absolute;
    top: 12px;
    right: -12px;
    width: 8px;
    height: 14px;
    border-radius: 60% 60% 65% 65%;
    background: radial-gradient(circle at 50% 25%, #fff8dc 0%, #f6c26b 50%, rgba(246, 194, 107, 0) 100%);
    transform-origin: center bottom;
    animation: candleFlicker 2.2s ease-in-out infinite;
    pointer-events: none;
    opacity: 0.78;
    transition: opacity 220ms ease;
}

body.is-loaded header figure::after {
    animation: none;
    opacity: 0;
}

@keyframes candleFlicker {
    0%,
    100% {
        transform: translateY(0) rotate(-1deg) scale(1);
        opacity: 0.74;
    }
    25% {
        transform: translateY(-0.4px) rotate(1deg) scale(1.04, 0.98);
        opacity: 0.84;
    }
    55% {
        transform: translateY(0.3px) rotate(-0.8deg) scale(0.98, 1.03);
        opacity: 0.7;
    }
    75% {
        transform: translateY(-0.2px) rotate(0.6deg) scale(1.02, 0.99);
        opacity: 0.82;
    }
}

/* Scroll reveal: base (fade + 20px lift) */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Text blocks: blur → clear */
.reveal-on-scroll--text {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(18px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.85s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-on-scroll--text.is-visible {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* Homepage masonry portfolio: section container visible; cards stagger in */
.home-page .portfolio-masonry.reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
}

.home-page .portfolio-masonry.reveal-on-scroll > article {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-page .portfolio-masonry.reveal-on-scroll.is-visible > article {
    opacity: 1;
    transform: translateY(0);
}

.home-page .portfolio-masonry.reveal-on-scroll.is-visible > article:nth-child(1) {
    transition-delay: 0ms;
}
.home-page .portfolio-masonry.reveal-on-scroll.is-visible > article:nth-child(2) {
    transition-delay: 75ms;
}
.home-page .portfolio-masonry.reveal-on-scroll.is-visible > article:nth-child(3) {
    transition-delay: 150ms;
}
.home-page .portfolio-masonry.reveal-on-scroll.is-visible > article:nth-child(4) {
    transition-delay: 225ms;
}
.home-page .portfolio-masonry.reveal-on-scroll.is-visible > article:nth-child(5) {
    transition-delay: 300ms;
}
.home-page .portfolio-masonry.reveal-on-scroll.is-visible > article:nth-child(6) {
    transition-delay: 375ms;
}
.home-page .portfolio-masonry.reveal-on-scroll.is-visible > article:nth-child(7) {
    transition-delay: 450ms;
}
.home-page .portfolio-masonry.reveal-on-scroll.is-visible > article:nth-child(8) {
    transition-delay: 525ms;
}
.home-page .portfolio-masonry.reveal-on-scroll.is-visible > article:nth-child(9) {
    transition-delay: 600ms;
}
.home-page .portfolio-masonry.reveal-on-scroll.is-visible > article:nth-child(10) {
    transition-delay: 675ms;
}
.home-page .portfolio-masonry.reveal-on-scroll.is-visible > article:nth-child(11) {
    transition-delay: 750ms;
}
.home-page .portfolio-masonry.reveal-on-scroll.is-visible > article:nth-child(12) {
    transition-delay: 825ms;
}

/* Masonry product image: zoom inside clipped media (hover 2.0) */
.home-page .Products.portfolio-masonry .portfolio-card__media img {
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-page .Products.portfolio-masonry .Product1:hover .portfolio-card__media img,
.home-page .Products.portfolio-masonry .Product2:hover .portfolio-card__media img,
.home-page .Products.portfolio-masonry .Product3:hover .portfolio-card__media img {
    transform: scale(1.03);
}

@media (hover: none) {
    .Products > .Product1:hover,
    .Products > .Product2:hover,
    .Products > .Product3:hover,
    .related-card:hover,
    .Product4:hover,
    .hero-btn:hover,
    .btn-add-cart:hover,
    .btn-order:hover,
    .btn-accept:hover,
    .btn-decline:hover,
    .edit-btn:hover,
    .profile-link:hover,
    .cookie-policy-link:hover,
    .quantity-selector button:hover,
    .btn-wishlist:hover,
    .back-to-top:hover {
        transform: none;
        filter: none;
    }
}

@media (max-width: 820px) {
    header figure::after {
        top: 8px;
        right: -8px;
        width: 6px;
        height: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal-on-scroll,
    .reveal-on-scroll.is-visible,
    .reveal-on-scroll--text,
    .reveal-on-scroll--text.is-visible,
    .home-page .portfolio-masonry.reveal-on-scroll > article,
    .home-page .portfolio-masonry.reveal-on-scroll.is-visible > article,
    .Products > .Product1,
    .Products > .Product2,
    .Products > .Product3,
    .related-card,
    .Product4,
    .hero-btn,
    .btn-add-cart,
    .btn-order,
    .btn-accept,
    .btn-decline,
    .edit-btn,
    .profile-link,
    .cookie-policy-link,
    .quantity-selector button,
    .btn-wishlist,
    .back-to-top,
    nav ul li a::after,
    header figure::after {
        transition: none !important;
        animation: none !important;
        transform: none !important;
        opacity: 1 !important;
        filter: none !important;
    }

    .home-page .Products.portfolio-masonry .portfolio-card__media img {
        transform: none !important;
    }
}

/* Profile dashboard page */
.profile-dashboard-page {
    font-family: 'Inter', Arial, sans-serif;
    background: linear-gradient(160deg, #f5efe4 0%, #f8f3ea 45%, #efe7d7 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.profile-dashboard {
    width: min(980px, 92vw);
    margin: 42px auto 64px;
    display: grid;
    gap: 24px;
    flex: 1;
}

.profile-user-card,
.profile-orders-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 22px;
    box-shadow: 0 14px 34px rgba(31, 24, 18, 0.1);
    padding: 28px;
}

.profile-user-card {
    text-align: center;
}

.profile-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #e8d3aa, #d9bb7d);
    color: #1f1f1f;
    font-size: 34px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(170, 130, 60, 0.28);
}

.profile-user-card h1 {
    font-size: 34px;
    margin: 0;
    color: #1f1f1f;
}

.profile-user-name {
    margin: 8px 0 16px;
    color: #6d6457;
}

.profile-nav-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.profile-nav-links a {
    text-decoration: none;
    color: #2b2b2b;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.9);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.profile-nav-links a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.profile-orders-card h2 {
    margin: 0 0 16px;
    color: #1f1f1f;
}

.orders-list {
    display: grid;
    gap: 14px;
}

.order-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.92);
}

.order-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.order-card-top h3 {
    margin: 0;
    color: #222;
}

.order-status-badge {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 6px 10px;
    border-radius: 999px;
}

.status-delivered {
    background: #d9f8e5;
    color: #137a38;
}

.status-transit {
    background: #f4d03f;
    color: #5e4900;
}

.status-pending {
    background: #ececec;
    color: #5a5a5a;
}

.status-neutral {
    background: #ececec;
    color: #5a5a5a;
}

.order-meta {
    margin: 5px 0;
    color: #5a5349;
}

.order-items-list {
    margin: 12px 0;
    padding-left: 18px;
    color: #403a31;
}

.profile-pay-btn {
    border: none;
    border-radius: 999px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #ecdcb8, #f0e4c8);
    color: #1f1f1f;
    font-weight: 700;
    cursor: pointer;
}

.profile-empty-state {
    color: #645a4d;
}

/* Final header polish: keep all controls inside the header, never as floating side widgets. */
.site-header {
    padding: max(10px, env(safe-area-inset-top)) clamp(18px, 4vw, 56px) 14px;
    background: rgba(253, 251, 247, 0.9);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(43, 39, 31, 0.06);
}

.site-header--at-top {
    background: rgba(253, 251, 247, 0.72);
}

.site-header__surface {
    gap: 0.5rem 1rem;
}

.site-header--at-top .site-header__logo-img {
    display: block;
    max-height: clamp(58px, 8vw, 78px);
}

.site-header__logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.site-header__tools {
    align-self: center;
    gap: 0.55rem;
    position: relative;
    z-index: 5000;
}

.site-header__nav-list {
    padding-top: 0.15rem;
    gap: 0.45rem clamp(1.05rem, 2.4vw, 2rem);
}

.site-header__link {
    padding: 0.45rem 0.05rem;
    font-size: clamp(0.68rem, 0.68vw, 0.76rem);
    letter-spacing: 0.19em;
}

.site-header__tools .language-switcher {
    position: relative !important;
    inset: auto !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    height: auto;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: 20;
}

.site-header__tools .lang-current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 42px;
    padding: 0 13px;
    border: 1px solid rgba(35, 31, 25, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.84);
    color: #25231f;
    box-shadow: 0 8px 22px rgba(31, 24, 16, 0.08);
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header__tools .lang-current::after {
    content: '';
    width: 6px;
    height: 6px;
    margin-left: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 180ms ease;
}

.site-header__tools .language-switcher.expanded .lang-current::after,
.site-header__tools .language-switcher:focus-within .lang-current::after {
    transform: translateY(1px) rotate(225deg);
}

.site-header__tools .lang-options {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: grid !important;
    grid-template-columns: repeat(4, 38px);
    gap: 6px;
    width: max-content;
    max-height: none !important;
    margin: 0 !important;
    padding: 8px;
    overflow: visible !important;
    border: 1px solid rgba(35, 31, 25, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 18px 42px rgba(31, 24, 16, 0.14);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.site-header__tools .language-switcher.expanded .lang-options,
.site-header__tools .language-switcher:hover .lang-options,
.site-header__tools .language-switcher:focus-within .lang-options {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.site-header__tools .lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #5d5649;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    transform: none;
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-header__tools .lang-btn::before {
    content: none;
}

.site-header__tools .lang-btn:hover,
.site-header__tools .lang-btn:focus-visible,
.site-header__tools .lang-btn.active {
    background: linear-gradient(135deg, #ecdcb8, #f0e4c8);
    color: #25231f;
    transform: none;
}

.site-header__tools .profile-icon {
    position: relative !important;
    inset: auto !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: 0;
    border: 1px solid rgba(35, 31, 25, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    color: #4b2470;
    box-shadow: 0 8px 22px rgba(31, 24, 16, 0.08);
    transform: none;
}

.site-header__tools .profile-icon svg {
    width: 20px;
    height: 20px;
}

.site-header__tools .profile-icon:hover,
.site-header__tools .profile-icon:focus-visible,
.site-header__tools .lang-current:hover,
.site-header__tools .lang-current:focus-visible {
    border-color: rgba(201, 162, 39, 0.48);
    box-shadow: 0 12px 28px rgba(31, 24, 16, 0.12);
    transform: translateY(-1px);
}

.site-header--dock {
    padding-top: max(8px, env(safe-area-inset-top));
}

.site-header--dock .site-header__surface {
    width: min(960px, calc(100% - 24px));
    padding: 10px 14px;
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas: 'nav brand tools';
}

.site-header--dock .site-header__logo-img {
    max-height: 34px;
}

.site-header--dock .site-header__tools .lang-current,
.site-header--dock .site-header__tools .profile-icon {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(35, 31, 25, 0.1);
    color: #25231f;
    box-shadow: 0 6px 18px rgba(31, 24, 16, 0.07);
}

.site-header--dock .site-header__tools .lang-options {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(201, 162, 39, 0.22);
    box-shadow: 0 16px 40px rgba(45, 38, 28, 0.12);
}

.site-header--dock .site-header__tools .lang-btn {
    color: #5d5649;
}

.site-header--dock .site-header__tools .lang-btn:hover,
.site-header--dock .site-header__tools .lang-btn:focus-visible,
.site-header--dock .site-header__tools .lang-btn.active {
    color: #25231f;
}

@media (max-width: 900px) {
    .site-header {
        padding: max(8px, env(safe-area-inset-top)) 12px 8px;
    }

    .site-header--at-top .site-header__surface,
    .site-header--dock .site-header__surface {
        width: 100%;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas: 'brand tools';
        gap: 0.75rem;
        padding: 8px 10px;
        border-radius: 20px;
    }

    .site-header--at-top .site-header__surface,
    .site-header--dock .site-header__surface {
        background: rgba(255, 255, 255, 0.88);
        border: 1px solid rgba(255, 255, 255, 0.9);
        box-shadow: 0 10px 28px rgba(31, 24, 16, 0.08);
    }

    .site-header__brand {
        min-width: 0;
    }

    .site-header--at-top .site-header__logo-img,
    .site-header--dock .site-header__logo-img {
        max-height: 46px;
        max-width: min(180px, 42vw);
    }

    .site-header__tools {
        gap: 0.4rem;
    }

    .site-header__menu-toggle {
        display: inline-grid;
        width: 40px;
        height: 40px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.88);
        box-shadow: 0 8px 22px rgba(31, 24, 16, 0.08);
    }

    .site-header__tools .lang-current,
    .site-header__tools .profile-icon {
        width: 40px;
        min-width: 40px;
        height: 40px;
        padding: 0;
    }

    .site-header__tools .lang-current::after {
        content: none;
    }

    .site-header__tools .lang-options {
        top: calc(100% + 8px);
        right: 0;
        grid-template-columns: 1fr;
        border-radius: 18px;
        padding: 7px;
    }

    .site-header__nav {
        z-index: 4500;
        padding-top: max(6rem, calc(env(safe-area-inset-top) + 5rem));
    }

    .site-header__nav-list {
        width: min(360px, 100%);
        margin: 0 auto;
        align-items: stretch;
        gap: 0.9rem;
    }

    .site-header__link {
        display: block;
        padding: 0.85rem 0;
        font-size: 0.92rem;
        letter-spacing: 0.16em;
    }
}

@media (max-width: 420px) {
    .site-header__tools {
        gap: 0.3rem;
    }

    .site-header--at-top .site-header__logo-img,
    .site-header--dock .site-header__logo-img {
        max-width: min(150px, 38vw);
    }

    .site-header__tools .profile-icon,
    .site-header__tools .lang-current,
    .site-header__menu-toggle {
        width: 38px;
        min-width: 38px;
        height: 38px;
    }
}

/* Final product grid: desktop rows stay three cards wide and aligned. */
.Products,
.home-page .Products.portfolio-masonry {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    justify-content: center;
    width: min(1120px, calc(100% - 32px));
    max-width: 1120px;
    margin-inline: auto;
    padding-inline: 0;
    gap: clamp(18px, 2.4vw, 32px);
}

.home-page .Products.portfolio-masonry > article:not(.Product4) {
    width: 100%;
    max-width: none;
    min-width: 0;
    flex: none;
}

.home-page .Products > .Product4,
.home-page .Products.portfolio-masonry > .Product4 {
    grid-column: auto;
    width: 100%;
    max-width: none;
    margin: 0;
    justify-self: stretch;
    flex: none;
}

.catalog-layout {
    width: min(1280px, calc(100% - 32px));
    grid-template-columns: 240px minmax(0, 1fr);
}

.catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
    .Products,
    .home-page .Products.portfolio-masonry {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: min(760px, calc(100% - 24px));
        gap: 18px;
    }

    .catalog-layout {
        width: min(760px, calc(100% - 24px));
        grid-template-columns: 1fr;
    }

    .catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .Products,
    .home-page .Products.portfolio-masonry,
    .catalog-grid {
        grid-template-columns: 1fr;
    }
}

/* Clean product presentation: keep product photos visible and controls readable. */
.home-page .Products.portfolio-masonry .portfolio-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 5;
    background: #f4f1ea;
}

.home-page .Products.portfolio-masonry .portfolio-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transform: none;
}

.Products > article {
    text-align: center;
}

.Products > article .product-link,
.Products > article .add-cart-form {
    width: 100%;
}

.Products > article .product-desc {
    display: -webkit-box;
    min-height: 4.8em;
    overflow: hidden;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.Products > article .product-price {
    margin-inline: auto;
}

.Products > article .btn-add-to-cart,
.Products > article .btn-order {
    width: calc(100% - 36px);
    max-width: 260px;
    min-height: 52px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.Products > article .btn-order {
    margin-top: 10px;
    margin-bottom: 10px;
}

@media (max-width: 560px) {
    body.home-page {
        padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px));
    }

    .Products,
    .home-page .Products.portfolio-masonry {
        width: min(100% - 24px, 420px);
        gap: 22px;
    }

    .Products > .Product1,
    .Products > .Product2,
    .Products > .Product3,
    .Product4 {
        border-radius: 18px;
    }

    .Products > article .product-link {
        padding: 12px 12px 0;
        gap: 14px;
    }

    .home-page .Products.portfolio-masonry .portfolio-card__media {
        aspect-ratio: auto;
        min-height: 0;
        max-height: none;
        overflow: visible;
        border-radius: 14px;
    }

    .home-page .Products.portfolio-masonry .portfolio-card__media img {
        height: auto;
        max-height: 430px;
    }

    .home-page .Products.portfolio-masonry .portfolio-card__overlay {
        border-radius: 14px;
    }

    .Products > article h3 {
        font-size: 24px;
        line-height: 1.2;
    }

    .Products > article .product-desc {
        min-height: 0;
        margin-top: 12px;
        font-size: 15px;
    }

    .Products > article .product-composition {
        font-size: 14px;
    }

    .Products > article .product-price {
        margin-top: 8px;
        margin-bottom: 14px;
    }

    .Products > article .btn-add-to-cart,
    .Products > article .btn-order {
        width: calc(100% - 24px);
        max-width: none;
        min-height: 50px;
        padding: 13px 18px;
        font-size: 16px;
        line-height: 1.2;
    }

    .fab-consultation {
        left: max(14px, env(safe-area-inset-left));
        right: max(14px, env(safe-area-inset-right));
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        width: auto;
        max-width: none;
        min-height: 48px;
        padding: 12px 18px;
        font-size: 14px;
        letter-spacing: 0.02em;
        text-align: center;
        white-space: normal;
        box-shadow: 0 10px 24px rgba(15, 64, 57, 0.32);
    }

    .home-page .back-to-top {
        bottom: calc(76px + env(safe-area-inset-bottom, 0px));
        right: max(14px, env(safe-area-inset-right));
    }
}
