:root{
    --bg: #F8FFFAFF;
    --line: #d9d3cc;
    --text: #111111;
    --muted:#7b756f;
    --card:#F5FFFA;
    --maxw:900px;
    --gap:72px;
    --swiper-navigation-color:#7b756f;
    font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
    margin:0;
    background:var(--bg);
    color:var(--text);
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
    min-width: 360px;
    padding:48px 20px;
    display:flex;
    justify-content:center;
    font-size:18px;
}

/* 1. Стилі для контейнера банера */
.top-banner-wr {
    height: 30px;
}
.top-banner {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    background-color: #931F1F; /* ✨ ЗМІНА: Насичений Різдвяний Червоний */
    /*background-color: #4CAF50; !* Насичений зелений колір *!*/
    overflow: hidden; /* Обрізає вміст, який виходить за межі, щоб створити ефект біжучого рядка */
    white-space: nowrap; /* Запобігає переносу тексту на новий рядок */
    padding: 5px 0; /* Робить банер вузьким */
    /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); !* Додає легку тінь для виділення *!*/
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* --- СВЯТКОВЕ МЕРЕХТІННЯ НА ФОНІ --- */
.top-banner::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Поверх фону, але під текстом */

    /* Створення світлого градієнта для блиску */
    background-image: linear-gradient(
            90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.4) 50%, /* Блиск */
            rgba(255, 255, 255, 0) 100%
    );
    background-size: 20% 100%; /* Ширина блискучої смуги */
    background-repeat: no-repeat;

    /* Застосування анімації руху */
    animation: shine 7s linear infinite;
}

/* Визначення анімації мерехтіння */
@keyframes shine {
    0% {
        background-position: -200% 0; /* Початок за екраном зліва */
    }
    100% {
        background-position: 200% 0; /* Кінець за екраном справа */
    }
}

/* 2. Стилі для тексту всередині банера */
.top-banner span {
    z-index: 2; /* Вище, ніж ::after */
    position: relative; /* Необхідно для роботи z-index */
    display: inline-block;
    padding-left: 100%; /* Початкова позиція тексту за межами екрана */
    /*color: #FFFFFF; !* Білий колір тексту *!*/
    color: #FFD700;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    animation: marquee 25s linear infinite; /* Застосування анімації */
}

/* 3. Визначення анімації (біжучий рядок) */
@keyframes marquee {
    0% {
        transform: translate(0, 0); /* Початкова позиція (справа) */
    }
    100% {
        transform: translate(-100%, 0); /* Кінцева позиція (повністю зсувається вліво) */
    }
}

.container{
    width:100%;
    max-width:var(--maxw);
}

header{ text-align:center; margin-bottom:40px;}
header h1 {
    margin:0;
    font-weight: 1000;
    font-size: 40px;
    font-style: italic;
    text-decoration: none;
    color: var(--text);
}
header h1 a {
    text-decoration: none;
    color: var(--text);
}

header h2 {
    text-align: center;
    color: var(--muted);
    line-height: 1.6;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    font-weight: normal;
}

/* адаптив */
@media (max-width:640px){
    header h1{ font-size:25px; }
    .placeholder{ height:200px; }
    .title{ font-size:18px }
}


section{
    background:transparent;
    padding:48px 0;
    border-top:1px solid var(--line);
}

.section-inner{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:20px;
    padding:0 20px;
}

.title{
    font-size:22px;
    letter-spacing:4px;
    text-transform:uppercase;
    margin-bottom:12px;
    text-align: center;
}

.text-block{
    max-width:720px;
    text-align: center;
    color:var(--muted);
    line-height:1.6;
    font-family: Georgia, "Times New Roman", serif;
}

.placeholder {
    border:1px solid transparent;
    box-shadow: 0 4px 14px rgba(15,15,15,0.02);
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--muted);
    font-size:16px;
    background:var(--card);
}

@media (min-width: 640px) {
    .slide {
        width: 320px;
        height: 260px;
    }
}

.section-inner .text-block-after-grid {
    margin-top: 18px;
}

/* --- СТИЛІ КНОПКИ 'Voir toutes les nouveautés' --- */
.button-link {
    text-decoration: none;
    color: var(--text);
    border: 1px solid var(--line);
    background: transparent;
    padding: 10px 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    transition: background 0.3s, color 0.3s;
    text-align: center;
}

.button-link:hover {
    background: var(--card); /* Світлий фон при наведенні */
    color: var(--text);
    box-shadow: 0 2px 4px rgba(15,15,15,0.05); /* Легка тінь */
}


.grid-single{ display:flex; justify-content:center; width:100% }

/* контакти */
.contact-card{
    width: 100%;
    padding: 28px 0;
    border: 1px solid var(--line);
    background: var(--card);
    text-align: center;
}
.contact-card p{ margin:10px 0; color:var(--muted); }

footer {
    text-align:center;
    color:var(--muted);
    font-size:14px;
    padding-bottom: 30px;
}



/** slider */
.product-code {
    font-family: monospace;
    font-size: 13px;
    color: var(--muted);
    text-align: right;
    margin-bottom: 5px;
    width: 100%;
    padding-right: 10px;
}
@media (min-width: 640px) {
    .product-code {padding-right: 2px;}
}

.swiper {
    width: 320px;
    margin: 0 auto;
}
.swiper-slide {
    width: 280px;
    height: 400px;
    flex-shrink: 0;
}
.slide-content {
    width: 280px;
    height: 373px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--line);
    background: var(--card);
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 640px) {
    .swiper {
        width: 530px;
    }
    .swiper-slide {
        width: 230px;
        height: 307px;
        flex-shrink: 0;
    }
    .slide-content {
        width: 234px;
        height: 309px;
    }
}

@media (min-width: 900px) {
    .swiper {
        width: 810px;
        max-width: var(--maxw);
    }
}

.slide-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 640px) {
    .swiper-button-prev,
    .swiper-button-next {
        display: none !important;
    }
}

.swiper-pagination-bullet-active {
    background: var(--text) !important;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
    color: var(--text);

}