
/* ===== ОБЩАЯ ШАПКА ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    font-family: 'Inter', sans-serif;
}

/* ===== ВЕРХНЯЯ ПОЛОСА ===== */
.top-bar {
    /* background: #8BC34A; салатовый */
    
    /* background: #006D6F;бирюза */
    background: rgba(255, 123, 0, 0.96);

    color: white;
    font-size: 14px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 6px 20px;
}

.top-bar a {
    color: white;
    text-decoration: none;
    margin-left: 15px;
    font-weight: 500;
}

.top-bar a:hover {
    text-decoration: underline;
}

/* ===== ОСНОВНОЕ МЕНЮ ===== */
.main-nav {
    background: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 14px 20px;

    border-bottom: 1px solid #eee;
}

/* ЛОГО */
.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 600;
    cursor: pointer;
}

/* МЕНЮ */
.menu {
    display: flex;
    gap: 20px;
}

.menu a {
    text-decoration: none;
    color: #222;
    font-weight: 500;
    font-size: 15px;
    position: relative;
}

.menu a:hover {
    /* color: #8BC34A; */
    color: rgba(255, 123, 0, 0.96);
}

/* ===== ЧТОБЫ КОНТЕНТ НЕ ЛЕЗ ПОД ШАПКУ ===== */
body {
    margin: 0;
    padding-top: 110px; /* важно под sticky шапку */
    padding: 0;
}

h1 {
    margin-top: 0;
}




.promo-bar {
    background: #000;
    color: #fff;

    text-align: center;
    font-size: 14px;
    padding: 8px 10px;

    letter-spacing: 0.3px;
}


.promo-bar {
    background: #000;
    color: #fff;

    display: flex;
    justify-content: center;
    align-items: center;

    position: relative;

    padding: 10px 20px;
}

.promo-text {
    font-size: 14px;
    font-weight: 500;
}


.promo-shop-btn {
    position: absolute;
    right: 20px;
    
    
    background: #fff;
    color: #000;

    border: 1px solid #fff;

    padding: 6px 14px;

    border-radius: 20px;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition: all 0.3s ease;
}

.promo-shop-btn:hover {

    
    /* background: #006D6F; */
    background: rgba(255, 123, 0, 0.96);

    /* background: #8BC34A; */
    border-color: #8BC34A;
    color: #fff;
}

/* =========================
   ХЛЕБНЫЕ КРОШКИ
========================= */

.breadcrumbs {
    display: flex;
    /* justify-content: flex-start; прижать влево  */
    justify-content: flex-end;
    margin-left: 0;
    padding: 0;

    position: sticky;
    top: 120px;
    z-index: 1100;
    background:  #ffffff;

    align-items: center;

    

    
}

.breadcrumbs a {
    color:  rgba(255, 123, 0, 0.96);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color:  rgba(255, 123, 0, 0.96);
    text-decoration: underline;
}

.breadcrumbs span {
    color: #999;
}

.breadcrumbs span:last-child {
    color: #333;
    font-weight: 600;
}

.breadcrumbs-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}
/* 🔘 кнопка назад */
.back-btn {
    background: transparent;
    border: 1px solid #ddd;
    padding: 6px 10px;
    border-radius: 6px;

    cursor: pointer;

    font-size: 13px;

    transition: 0.2s;
}

.back-btn:hover {
    border-color: #b8860b;
    color:  rgba(255, 123, 0, 0.96);
}





/* НИЖЕ БЫЛ КОД */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {

    background: #000;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
        overflow-y: auto;

    /* overflow: hidden; */
}


/* =====================================
   CONTAINER
===================================== */

.story-container {

    position: relative;

    width: 100vw;
    height: 100vh;

    overflow: hidden;

    background: #000;
}


/* =====================================
   MEDIA
===================================== */

.story-media-wrapper {

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;
}

.story-media {

    width: 100%;
    height: 100%;

    /* object-fit: cover; */
    object-fit: contain;

    background: #000;
}


/* =====================================
   OVERLAY
===================================== */

.story-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,0.72),
            rgba(0,0,0,0.12),
            rgba(0,0,0,0.42)
        );

    pointer-events: none;
}


/* =====================================
   PROGRESS
===================================== */

.story-progress {

    position: absolute;

    top: 14px;
    left: 14px;
    right: 14px;

    height: 4px;

    background: rgba(255,255,255,0.25);

    border-radius: 999px;

    overflow: hidden;

    z-index: 20;
}

.story-progress-bar {

    width: 0%;

    height: 100%;

    background: white;
}


/* =====================================
   TOP
===================================== */

.story-top {

    position: absolute;

    top: 34px;
    left: 18px;
    right: 18px;

    z-index: 30;
}

.story-title {

    color: white;

    font-size: 22px;

    font-weight: 700;

    text-shadow:
        0 4px 14px rgba(0,0,0,0.5);
}


/* =====================================
   BOTTOM
===================================== */

.story-bottom {

    position: absolute;

    left: 20px;
    right: 20px;
    bottom: 0px;

    z-index: 30;
}

.story-description {

    color: rgba(255,255,255,0.92);

    font-size: 15px;

    line-height: 1.5;

    margin-bottom: 18px;

    text-shadow:
        0 4px 12px rgba(0,0,0,0.5);
}


/* =====================================
   BUTTON
===================================== */

.story-button {

    width: 100%;

    border: none;

    padding: 6px;

    border-radius: 18px;

    cursor: pointer;

    font-size: 16px;
    font-weight: 700;

    color: white;

    

    background: linear-gradient(
        135deg,
        #ff9f43 0%,
        #ff7b00 100%
    );    

    
    box-shadow: 0 12px 30px rgba(255, 123, 0, 0.35);    

    transition: 0.2s ease;
}

.story-button:hover {
    box-shadow: 0 18px 40px rgba(255, 123, 0, 0.45);

    transform: translateY(-2px);
}


/* .story-button {
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #ff9f43, #ff7b00);
    box-shadow: 0 8px 20px rgba(255,123,0,.3);
    transition: .2s;
}

.story-button:hover {
    transform: translateY(-2px);
} */

/* =====================================
   CLOSE
===================================== */

.story-close {

    position: absolute;

    top: 24px;
    right: 20px;

    width: 42px;
    height: 42px;

    border-radius: 50%;

    border: none;

    cursor: pointer;

    z-index: 40;

    font-size: 18px;

    color: white;

    background:
        rgba(0,0,0,0.45);

    backdrop-filter: blur(10px);
}


/* =====================================
   NAVIGATION
===================================== */

.story-nav {

    position: absolute;

    top: 0;
    bottom: 0;

    width: 30%;

    z-index: 35;
}

.story-nav.left {

    left: 0;
}

.story-nav.right {

    right: 0;
}


.story-nav {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 50px;
    height: 50px;

    border: none;

    border-radius: 50%;

    cursor: pointer;

    background: rgba(0,0,0,.5);

    color: white;

    font-size: 28px;

    z-index: 100;

    display: flex;

    align-items: center;

    justify-content: center;
}

.story-nav.left {

    left: 15px;
}

.story-nav.right {

    right: 15px;
}

.story-nav:hover {

    background: rgba(0,0,0,.8);
}











/* звук */

.sound-btn {

    position: absolute;

    top: 70px;
    right: 20px;

    width: 48px;
    height: 48px;

    border: none;

    border-radius: 50%;

    cursor: pointer;

    background: rgba(0,0,0,.55);

    color: white;

    font-size: 20px;

    z-index: 100;
}

.sound-btn:hover {

    background: rgba(0,0,0,.8);
}


/*  Стиль скрол-прокрутка вниз */

.scroll-down-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;

    width: 52px;
    height: 52px;

    border: none;
    border-radius: 50%;

    background: rgba(255,123,0,.96);
    color: #fff;

    font-size: 28px;
    cursor: pointer;

    display: none;

    z-index: 9999;

    box-shadow: 0 4px 12px rgba(0,0,0,.25);

    transition: .3s;
}

.scroll-down-btn:hover {
    background: #e66a00;
    transform: scale(1.08);
}



/* Футер */

.footer {
    margin-top: 80px;

    background: linear-gradient(
    135deg,
    #fff6ea 0%,
    #ffe0b8 45%,
    #ffc26b 100%
    );

    padding: 60px 40px;

    color: #2f2f2f;

    border-top: 1px solid rgba(0,0,0,.08);
}



.footer-container {

    max-width: 1400px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(250px, 1fr));

    gap: 40px;
}




.footer-column h3,
.footer-column h4 {

    color: #6b4ca5;

    font-weight: 600;
}

.footer-column p {

    margin-bottom: 10px;

    /* color: rgba(255,255,255,.8); */
    color: #333;

    line-height: 1.6;
}





.footer-column a {

    /* color: #3a7f7a; */
    color: rgba(255, 123, 0, 0.96);

    text-decoration: none;

    transition: .3s;
}

.footer-column a:hover {

    color: #6b4ca5;
}



/*  Ниже мобильные версии шапки футера и крошек 06.10.26 */

/* НИЖЕ МОБИЛЬНЫЕ СТИЛИ */



/* =========================================================
   МОБИЛЬНАЯ ВЕРСИЯ
   DESKTOP НЕ ТРОГАЕМ
   ========================================================= */

@media (max-width: 1024px) {

    /* =====================================================
       ЗАЩИТА ОТ ВЫЛЕЗАНИЯ ЗА ЭКРАН
       ===================================================== */

    .site-header,
    .site-header *,
    .breadcrumbs,
    .breadcrumbs * {
        box-sizing: border-box;
    }

    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }


    /* =====================================================
       ВСЯ ШАПКА
       ===================================================== */

    .site-header {
        position: relative;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
        overflow: hidden;
    }


    /* =====================================================
       ВЕРХНЯЯ ПОЛОСА
       ===================================================== */

    .top-bar {
        width: 100%;
        max-width: 100%;

        display: flex;
        flex-direction: column;

        justify-content: center;
        align-items: center;

        gap: 6px;

        padding: 9px 10px;

        font-size: 15px;
        line-height: 1.4;

        text-align: center;

        overflow: hidden;
    }

    .top-bar-left,
    .top-bar-right {
        width: 100%;
        max-width: 100%;

        display: flex;

        justify-content: center;
        align-items: center;

        flex-wrap: wrap;

        gap: 5px 10px;

        min-width: 0;
    }

    .top-bar-left {
        overflow-wrap: anywhere;
    }

    .top-bar a {
        display: inline-block;

        font-size: 15px;

        margin: 0;
        padding: 3px 0;

        white-space: nowrap;
    }


    /* =====================================================
       ОСНОВНАЯ НАВИГАЦИЯ
       ===================================================== */

    .main-nav {
        width: 100%;
        max-width: 100%;

        display: flex;
        flex-direction: column;

        justify-content: center;
        align-items: center;

        gap: 12px;

        padding: 14px 8px 12px;

        overflow: hidden;
    }


    /* =====================================================
       ЛОГОТИП
       ===================================================== */

    .logo {
        width: 100%;
        max-width: 100%;

        text-align: center;

        font-size: 30px !important;
        line-height: 1.15;

        font-weight: 600;

        padding: 3px 5px;

        overflow-wrap: break-word;
        word-break: normal;
    }


    /* =====================================================
       МЕНЮ
       ===================================================== */

    .menu {
        width: 100%;
        max-width: 100%;

        display: flex;

        flex-wrap: wrap;

        justify-content: center;
        align-items: stretch;

        gap: 7px;

        min-width: 0;

        overflow: hidden;
    }


    /* =====================================================
       ПУНКТЫ МЕНЮ
       ===================================================== */

    .menu a {
        display: flex;

        align-items: center;
        justify-content: center;

        min-height: 44px;

        max-width: 100%;

        padding: 9px 11px;

        border: 1px solid #e5e5e5;
        border-radius: 8px;

        background: #fafafa;

        color: #222;

        font-size: 16px !important;
        font-weight: 600;

        line-height: 1.2;

        text-align: center;

        white-space: normal;

        overflow-wrap: break-word;
        word-break: normal;

        flex: 0 1 auto;

        transition: all 0.2s ease;
    }


    .menu a:active {
        background: rgba(255, 123, 0, 0.96);
        color: white;
    }


    /* =====================================================
       ПРОФИЛЬ
       ===================================================== */

    .menu .profile-link {
        font-size: 16px !important;
    }


    /* =====================================================
       КОРЗИНА
       ===================================================== */

    .menu .cart-link {
        min-width: 50px;

        font-size: 23px !important;

        padding-left: 12px;
        padding-right: 12px;
    }


    /* =====================================================
       PROMO
       ===================================================== */

    .promo-bar {
        position: relative;

        width: 100%;
        max-width: 100%;

        display: flex;

        justify-content: center;
        align-items: center;

        padding: 11px 10px;

        font-size: 15px !important;

        line-height: 1.45;

        text-align: center;

        letter-spacing: 0.1px;

        white-space: normal;

        overflow-wrap: anywhere;

        overflow: hidden;
    }


    .promo-text {
        width: 100%;
        max-width: 100%;

        font-size: 15px !important;
        font-weight: 500;

        line-height: 1.45;

        white-space: normal;

        overflow-wrap: anywhere;
    }


    /* =====================================================
       КНОПКА МАГАЗИНА В PROMO
       ===================================================== */

    .promo-shop-btn {
        position: static;

        margin-top: 7px;

        padding: 8px 14px;

        font-size: 15px;

        border-radius: 20px;

        max-width: 100%;
    }


    /* =====================================================
       TOOLBAR
       ===================================================== */

    .shop-toolbar {
        position: relative;

        top: auto;

        width: 100%;
        max-width: 100%;

        display: block;

        padding: 10px;

        background: #fff;

        border-bottom: 1px solid #eee;

        z-index: 10;

        overflow: hidden;
    }


    /* =====================================================
       ХЛЕБНЫЕ КРОШКИ
       ===================================================== */

    .breadcrumbs {
        width: 100%;
        max-width: 100%;

        display: flex;

        flex-wrap: wrap;

        justify-content: flex-start;
        align-items: center;

        gap: 4px 7px;

        margin: 0;
        padding: 8px 10px;

        font-size: 16px;

        line-height: 1.45;

        overflow: hidden;
    }


    .breadcrumbs a {
        max-width: 100%;

        font-size: 16px !important;

        font-weight: 500;

        padding: 3px 0;

        color: rgba(255, 123, 0, 0.96);

        white-space: normal;

        overflow-wrap: anywhere;
    }


    .breadcrumbs span {
        font-size: 16px !important;

        color: #999;

        line-height: 1.45;

        max-width: 100%;
    }


    .breadcrumbs span:last-child {
        font-size: 16px !important;

        color: #333;

        font-weight: 700;

        overflow-wrap: anywhere;
    }


    /* =====================================================
       НАЗАД
       ===================================================== */

    .breadcrumbs .crumb-back {
        font-size: 17px !important;

        font-weight: 600;

        white-space: nowrap;
    }
}


/* =========================================================
   МАЛЕНЬКИЕ ТЕЛЕФОНЫ
   ========================================================= */

@media (max-width: 430px) {

    .top-bar {
        padding: 8px 7px;
        font-size: 14px;
    }

    .top-bar a {
        font-size: 14px;
    }


    .main-nav {
        padding: 12px 6px 10px;
        gap: 11px;
    }


    .logo {
        font-size: 28px !important;
        padding-left: 3px;
        padding-right: 3px;
    }


    .menu {
        gap: 6px;
    }


    .menu a {
        min-height: 42px;

        padding: 8px 9px;

        font-size: 15px !important;
    }


    .menu .cart-link {
        min-width: 48px;
        font-size: 22px !important;
    }


    .promo-bar {
        padding: 10px 8px;

        font-size: 14px !important;
    }


    .promo-text {
        font-size: 14px !important;
    }


    .breadcrumbs {
        padding: 7px 8px;

        gap: 3px 6px;

        font-size: 15px;
    }


    .breadcrumbs a,
    .breadcrumbs span {
        font-size: 15px !important;
    }


    .breadcrumbs .crumb-back {
        font-size: 16px !important;
    }
}


/* =========================================
   ANNACOS — ЛОГОТИП СЛЕВА В ШАПКЕ
========================================= */

.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    width: 250px;
    height: 44px;

    padding: 0;
    margin: 0;

    flex-shrink: 0;
    overflow: visible;

    cursor: pointer;
    text-decoration: none;
}

.logo-img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: left center;

    transform: scale(1.35);
    transform-origin: left center;
}

/* МОБИЛЬНАЯ ВЕРСИЯ */

@media (max-width: 768px) {
    .logo {
        width: 150px;
        height: 38px;
    }

    .logo-img {
        transform: scale(1.1);
        transform-origin: left center;
    }
}


















