@media (max-width: 991px) {
    body .header-logo #logo {
        margin: 0;
        position: static;
    }

    body .header-logo #logo img {
        height: 60px;
    }

    body .header-logo #logo>a{
        display: block;
    }
    body .header-logo {
        top:10px;
    }

    body .header-container.fixed {
        padding:0;
    }
}

body .headertop-inner .nav-container .nav-inner #menu.main-menu>ul>li>a {
    text-transform: none;
}

@media (max-width: 767px) {
    body .header-container.fixed .header-logo {
        top: 10px;
    }
}


/* ===== ABOUT BLOCK> ===== */
    .about-block {
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        padding: 60px 0;
        color: #fff;
        font-family: sans-serif;
        position: relative;
    }

    .about-container {
        display: flex;
        flex-wrap: wrap;
        max-width: 1170px;
        margin: 0 auto;
        padding: 0 15px;
        align-items: center;
    }

    .about-left {
        flex: 0 0 33.333%;
        text-align: center;
    }

    .about-left img {
        max-width: 100%;
        height: auto;
    }

    .about-right {
        flex: 0 0 66.666%;
        padding-left: 30px;
    }

    .about-right h4 {
        font-weight: 300;
        font-size: 16px;
        line-height: 1.625;
        color: rgba(255, 255, 255, 0.6);
        margin-bottom: 39px;
    }

    .about-btn {
        display: inline-block;
        padding: 12px 30px;
        border-radius: 50px;
        background-color: transparent;
        border: 2px solid #fff;
        color: #fff;
        text-decoration: none;
        font-size: 1rem;
        transition: all 0.3s ease;
        margin-top: 52px;
    }

    .about-btn i {
        margin-left: 10px;
    }

    .about-btn:hover {
        background-color: #fff;
        color: #000;
    }

    /* ===== Адаптивність ===== */
    @media (max-width: 992px) {
        .about-container {
            flex-direction: column;
            text-align: center;
        }
        .about-left, .about-right {
            flex: 0 0 100%;
            padding: 10px 0;
        }
        .about-right {
            padding-left: 0;
        }
    }

    @media (min-width: 768px) {
        .about-left { width: 33.333%; }
        .about-right { width: 66.666%; }
    }

    @media (min-width: 992px) {
        .about-right h4 { font-size: 20px; display: block; }
    }
/* ===== <ABOUT BLOCK ===== */



body .banners-slider-carousel .box-heading {
    display:block;
    padding-top:20px;
}

/* ===== upcoming-books> ===== */

    .upcoming-books-block {
        display: flex;
        flex-direction: column;
        font-family: 'Jost', sans-serif;
        color: #000;
    }

    .upcoming-books-heading {
        width: 100%;
        text-align: center;
        margin-top: 20px;
    }

    .upcoming-books-title {
        position: relative;
        font-size: 36px;
        font-weight: 600;
        line-height: 40px;
        padding-bottom: 30px;
        text-transform: capitalize;
        color: #000;
        letter-spacing: 0;
    }

    .upcoming-books-title::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        border-bottom: 2px solid #c27c3e;
        transition: all 0.5s ease;
    }

    .upcoming-books-title:hover::after {
        width: 100px;
    }

    .upcoming-books {
        background-color: #f9f9f9;
        padding: 40px 0;
    }

    .upcoming-container {
        max-width: 1170px;
        margin: 0 auto;
        padding: 0 15px;
    }

    .upcoming-item {
        display: flex;
        align-items: flex-start;
        margin-bottom: 30px;
    }

    .upcoming-icon {
        font-size: 56px;
        color: #c27c3e;
        width: 80px;
        height: 80px;
        margin-right: 25px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .upcoming-icon i::before {
        content: '';
        display: inline-block;
        width: 56px;
        height: 56px;
        background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='83' height='57' viewBox='0 0 83 57' preserveAspectRatio='xMidYMid meet'%3E%3Cg transform='translate(0,57) scale(0.1,-0.1)' fill='%23c27c3e' stroke='none'%3E%3Cpath d='M176 502 c-27 -10 -51 -22 -53 -27 -4 -13 -52 -409 -50 -412 1 -1 33 9 71 23 85 30 176 32 227 6 34 -17 36 -17 65 0 37 23 136 24 201 2 26 -9 59 -20 73 -24 l25 -7 -24 208 -25 208 -40 17 c-66 26 -137 29 -194 9 -47 -17 -52 -17 -91 -2 -53 22 -123 21 -185 -1z m195 -40 c34 -17 36 -17 65 0 51 31 224 19 224 -15 0 -7 9 -83 20 -171 12 -87 19 -160 17 -163 -3 -2 -32 5 -66 17 -73 24 -127 25 -181 4 -38 -15 -45 -15 -92 0 -66 21 -103 20 -179 -4 -35 -10 -65 -17 -67 -15 -4 4 22 239 35 312 6 40 33 51 123 52 45 1 77 -5 101 -17z'/%3E%3Cpath d='M199 449 c-24 -9 -26 -15 -41 -151 -9 -79 -15 -144 -13 -146 2 -2 20 1 42 7 52 15 133 14 179 -2 32 -12 44 -12 69 -1 17 7 45 13 63 14 37 0 37 -2 25 184 l-6 108 -29 -6 c-17 -3 -42 -15 -58 -26 l-29 -20 -37 25 c-39 27 -113 33 -165 14z'/%3E%3C/g%3E%3C/svg%3E");
        background-size: contain;
        background-repeat: no-repeat;
    }

    .upcoming-content h3 {
        margin: 0 0 10px;
        font-size: 20px;
        font-weight: 700;
        color: #3d4045;
    }

    .upcoming-content p {
        margin: 0;
        font-weight: 300;
        line-height: 1.5;
        color: #555;
    }

    @media (max-width: 768px) {
        .upcoming-item {
            flex-direction: column;
            align-items: center;
            text-align: center;
        }
        .upcoming-icon {
            margin-bottom: 15px;
            margin-right: 0;
        }
    }

    @media (max-width: 991px) {
        .upcoming-books-title {
            font-size: 26px;
            line-height: 35px;
        }
    }
/* ===== <upcoming-books ===== */

/* ===== brand-carousel> ===== */

	.banners-slider-carousel.box .carousel-block .owl-carousel .owl-item .product-block img{

		filter: grayscale(100%);
		transition: 0.3s ease;
		&:hover{
			filter: grayscale(0%);
		}
	}
/* ===== <brand-carousel ===== */

/* ===== service-block> ===== */

.service-icon1::after {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 276'%3E%3Cdefs%3E%3CclipPath id='clip-1'%3E%3Crect x='0' y='0' transform='scale(0.17857,0.17857)' width='1680' height='1544' fill='none'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg clip-path='url(%23clip-1)' fill='none' fill-rule='nonzero'%3E%3Cpath d='M33.50857,17.04382c14.10125,-0.50846 26.15821,2.05761 33.76804,15.14939c5.79946,-0.16 11.6,-0.28054 17.40107,-0.36125c10.80786,-0.14661 22.17786,0.13589 33.07571,0.13768l82.16446,0.00268l37.82679,-0.00464c7.87679,-0.00571 15.68214,-0.26446 23.53393,0.51482c12.87143,1.2775 20.13571,12.21321 17.05893,24.62714c-1.20893,4.87857 -2.55536,9.76375 -3.87679,14.63339l-6.62857,24.62196c-2.03929,7.74321 -4.15,15.46679 -6.33571,23.16964c-1.15179,4.06125 -2.42143,9.30786 -4.13393,13.22321c-3.38929,7.75286 -12.59286,16.595 -20.975,18.34875c-6.07143,1.09661 -12.29464,1.4575 -18.44107,1.67536c-12.65893,0.44875 -25.35536,0.05446 -38.02143,0.06161l-88.69571,0.19036c0.99536,6.10804 1.52411,14.52857 5.97232,19.20429c1.89339,1.99 8.29554,2.7825 11.05625,3.00196c2.53732,0.29589 6.72946,0.35143 9.32054,0.42411c8.96696,0.25161 17.98357,-0.03482 26.94143,-0.11161l60.70339,-0.01196l16.69107,-0.03214c5.99821,-0.06482 11.83929,-0.28268 17.84286,0.21768c5.24464,0.43732 9.55179,1.18893 10.98214,6.96125c1.26964,5.05357 -0.85714,13.14286 -6.825,14.11786c-9.37321,1.53214 -19.41786,0.88929 -28.91607,0.86964l-44.23696,-0.00536l-42.08,0.00536c-13.55821,0.03036 -30.68482,1.77321 -42.65946,-5.54821c-12.97607,-7.93393 -14.99286,-22.47821 -17.45429,-36.18125c-1.22929,-6.90964 -2.50214,-13.81143 -3.81893,-20.705l-9.60732,-50.62679c-1.73232,-9.14571 -3.40036,-18.30196 -5.13018,-27.44661c-1.06821,-5.64714 -2.42786,-11.21571 -3.66857,-16.82161c-3.59554,-0.71429 -5.31661,-0.85804 -8.95893,-0.90214c-6.97839,-0.13625 -16.72875,2.19911 -22.46361,-2.88946c-3.07077,-3.22036 -4.60407,-6.34339 -3.4632,-10.70304c2.61209,-9.98162 13.54537,-8.44909 22.0518,-8.80707z' fill='%23c27c3e'/%3E%3Cpath d='M165.83946,53.39821c0.25571,-0.01964 0.51196,-0.03089 0.76839,-0.03375c15.89571,-0.205 11.62339,19.20804 11.62875,29.63839c9.06518,0.80786 29.96161,-3.98107 29.87411,10.155c-0.07143,11.66929 -22.49107,8.68196 -29.83786,8.61393c-0.11625,6.06946 1.145,18.82714 -0.99839,23.91143c-1.17732,2.79304 -3.25375,4.58268 -6.01393,5.73125c-4.32839,1.21786 -8.75661,-0.62982 -10.51089,-4.77446c-3.16786,-7.48411 -1.74589,-16.94643 -1.59036,-24.86089c-6.49732,0.19839 -12.88911,0.46589 -19.41036,-0.24857c-5.375,-0.58893 -10.49339,-2.63786 -10.73911,-8.82857c-0.09286,-2.34304 0.97643,-4.25679 2.54482,-5.90714c4.82286,-5.07482 11.10554,-3.70304 17.29536,-3.58893c3.39786,0.00357 6.91643,-0.14036 10.30196,-0.18018c-0.04607,-7.315 -0.77821,-15.64732 0.65482,-22.78179c0.66018,-3.28661 3.26643,-5.23071 6.03268,-6.84571z' fill='%23ffffff'/%3E%3Cpath d='M91.67786,212.81071c12.37679,-1.01786 23.24054,8.17857 24.27982,20.55357c1.03911,12.375 -8.13857,23.25536 -20.51179,24.31607c-12.40339,1.0625 -23.31518,-8.14286 -24.35696,-20.54821c-1.04179,-12.40536 8.18196,-23.3 20.58893,-24.32143z' fill='%23c27c3e'/%3E%3Cpath d='M227.30714,212.79286c12.41964,-0.84464 23.16607,8.55179 23.98571,20.97143c0.81786,12.41964 -8.6,23.14643 -21.02321,23.93929c-12.38393,0.79107 -23.07143,-8.59286 -23.88929,-20.97679c-0.81607,-12.38393 8.54643,-23.09107 20.92679,-23.93393z' fill='%23c27c3e'/%3E%3C/g%3E%3C/svg%3E");
    display: block;
    width: 55px;
    height: 55px;
}

.service-icon2::after {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Crect x='25' y='15' width='40' height='18' rx='5' fill='%23c27c3e'/%3E%3Crect x='40' y='33' width='10' height='7' fill='%23c27c3e'/%3E%3Cpath d='M20 40H80C85 40 85 45 85 50V75C85 82 80 85 75 85H25C20 85 15 82 15 75V50C15 45 15 40 20 40' fill='%23c27c3e'/%3E%3Ccircle cx='32' cy='52' r='3.5' fill='white'/%3E%3Ccircle cx='44' cy='52' r='3.5' fill='white'/%3E%3Ccircle cx='56' cy='52' r='3.5' fill='white'/%3E%3Ccircle cx='68' cy='52' r='3.5' fill='white'/%3E%3Ccircle cx='32' cy='64' r='3.5' fill='white'/%3E%3Ccircle cx='44' cy='64' r='3.5' fill='white'/%3E%3Ccircle cx='56' cy='64' r='3.5' fill='white'/%3E%3Ccircle cx='68' cy='64' r='3.5' fill='white'/%3E%3Crect x='25' y='74' width='50' height='4' rx='2' fill='white'/%3E%3C/svg%3E");
    display: block;
    width: 55px;
    height: 55px;
}

.service-icon3::after {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M30 40C30 15 70 15 70 40' fill='none' stroke='%23c27c3e' stroke-width='8' stroke-linecap='round'/%3E%3Crect x='15' y='40' width='70' height='50' rx='10' fill='%23c27c3e'/%3E%3Ccircle cx='38' cy='52' r='4' fill='white'/%3E%3Ccircle cx='62' cy='52' r='4' fill='white'/%3E%3C/svg%3E");
    display: block;
    width: 55px;
    height: 55px;
}

.service-icon1,
.service-icon2,
.service-icon3 {
    width: 55px;
    margin-right: 20px;
}

body #czservicecmsblock .service_container .service-area .service-fourth .service-content {
    margin-left: 0;
}

body #czservicecmsblock .service_container .service-area .service-fourth {
    display: flex;
    width: 30%;
}

body #czservicecmsblock .service_container .service-area .service-fourth.service3::before,
body #czservicecmsblock .service_container .service-area .service-fourth.service1::before,
body #czservicecmsblock .service_container .service-area .service-fourth.service2::before {
    content: none;
}

.service-area {
    display: flex;
    justify-content: space-between;
}

body #czservicecmsblock .service_container .service-area .service-fourth .service-content .service-heading {
    text-transform: none;
}

@media (max-width: 680px) {
    #czservicecmsblock .service_container .service-area {
        flex-direction:column;
    }

    body #czservicecmsblock .service_container .service-area .service-fourth{
        width: 100%;
        justify-content: start;
    }

    body #czservicecmsblock .service_container .service-area .service-fourth.service1,
        body #czservicecmsblock .service_container .service-area .service-fourth.service2,
        body #czservicecmsblock .service_container .service-area .service-fourth.service3 {
        flex-direction: column;
    }


    body #czservicecmsblock .service_container .service-area .service-fourth .service-icon1,
    body #czservicecmsblock .service_container .service-area .service-fourth .service-icon2,
    body #czservicecmsblock .service_container .service-area .service-fourth .service-icon3 {
        display: flex;
        justify-content: center;
        width: 100%;
    }

}

/* ===== <service-block ===== */

/* ===== czsubbannercmsblock> ===== */
body span.sub-title {
    max-width: 70%;
}

body #czsubbannercmsblock .subbanners .subbanner .subbanner-text {
    top: 30px;
}

body #czsubbannercmsblock .subbanners .subbanner .subbanner-text .shop-now {
    font-size: 24px;
    color: #c27c3e;
}

body #czsubbannercmsblock {
    margin-top: 25px;
}

body #czsubbannercmsblock .subbanners {
    display: flex;
    gap: 10px;
}

body #czsubbannercmsblock .subbanners .one-third {
    border: 1px solid #b9b9b9;
    border-radius: 15px;
}


body #czsubbannercmsblock .subbanners .one-third {
    border: 1px solid #b9b9b9;
    border-radius: 15px;
}

body #czsubbannercmsblock .subbanners {
    display: flex;
    gap: 10px;
}

body #czsubbannercmsblock {
    margin-top: 25px;
}

@media (max-width: 1200px) {
    body #czsubbannercmsblock .subbanners .subbanner .subbanner-text {
        top: 0;
    }
}

body #czsubbannercmsblock .subbanners .subbanner .subbanner-text .shop-now {
    font-size: 24px;
    color: #c27c3e;
}

body #czsubbannercmsblock .subbanners .subbanner .subbanner-text {
    top: 30px;
}

body span.sub-title {
    max-width: 70%;
}

@media (max-width: 1200px) {
    body #czsubbannercmsblock .subbanners .subbanner .subbanner-text {
        top: 0;
    }
}

@media (max-width: 991px) {
    body #czsubbannercmsblock .subbanners .subbanner .subbanner-text .sub-title {
        font-size: 16px;
        line-height: 20px;
        margin-top: 10px;
    }

    body #czsubbannercmsblock .subbanners .subbanner .subbanner-text .shop-now {
        font-size: 18px;
    }

    body #czsubbannercmsblock .subbanners .subbanner .subbanner-text .shop-now {
        line-height: 20px;
    }
}


@media (max-width: 767px) {
    body #czsubbannercmsblock .subbanners {
        flex-direction: column;
    }

    body #czsubbannercmsblock .subbanners .one-third .subbanner img {
        max-width: 75%;
    }

    body #czsubbannercmsblock .subbanners .one-third {
        width: auto;
    }

    body #czsubbannercmsblock .subbanners .one-third .banner-anchor {
        display: flex;
        justify-content: end;
        padding-right: 35px;
        pointer-events: none;
    }
}

@media (max-width: 767px) {

    body #czsubbannercmsblock .subbanners .one-third .subbanner img {
        min-height: 100px;
        max-width: 75%;
    }

}
/* ===== <czsubbannercmsblock ===== */

/* ===== manufacturer-page> ===== */
.manufacturer-info {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto 1fr;
    grid-template-areas:
        "title image"
        "content image";
    gap: 10px;
}

.manufacturer-info > h1 {
    grid-area: title;
}

.manufacturer-info > .row {
    grid-area: content;
}

.manufacturer-info > .manufacturer-image {
    grid-area: image;
    max-width: 100%;
    justify-self: end;
}

/* ===== <manufacturer-page ===== */


/* ===== partners-page> ===== */
.partners-list {
    color: #2f2f2f;
}

.partners-list a {
    color: #c27c3e;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color .2s ease, border-color .2s ease;
}
.partners-list a:hover {
    color: #a6662f;
    border-bottom-color: rgba(194, 124, 62, 0.35);
}

.partners-wrap {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.partners-wrap .partners-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.features-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: box-shadow .2s ease, transform .2s ease;
}
.features-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.img-icon {
    width: 165px;
    min-width: 165px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    overflow: hidden;
}
.img-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.partner-info {
    padding-top: 4px;
}
.partner-info h3 {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.3;
    color: #1f1f1f;
}
.partner-info p {
    margin: 0;
    line-height: 1.55;
    color: #6e6e6e;
}

@media (max-width: 991px) {
    .partners-wrap .partners-row {
        grid-template-columns: 1fr;
    }

    .partners-wrap {
        gap: 20px;
    }
}
/* ===== <partners-page ===== */


#onepcheckout .checkout-address #opc-shipping-address .customSelect.form-control {
    display: none !important;
}


#onepcheckout .checkout-address #opc-shipping-address .select2-container {
        min-width: 100%;
}

/* Prevent "Capitalize Each Word" on product titles/links */
#content h3.product-title,
.product-thumb h4 a,
.box .box-content ul li a,
#content .content ul li a {
    text-transform: none !important;
}

body * {
  text-transform: none !important;
}


@media (min-width: 992px) {

    .header-main {
        display: flex;
        justify-content: space-around;
    }

    .header-main .header-logo {
        order: -10;
    }

    .header-main .headertop-inner {
        order: 20;
    }

    .header-main #search.input-group {
        order: 40;
		margin-left: 15px;
    }

    .header-main .wishlist-info {
        order: 60;
    }

    .header-main .dropdown.myaccount {
        order: 80;
    }

    .header-main .header-cart {
        order: 100;
    }

    .headertop-inner .nav-container .nav-inner #menu .nav.navbar-nav {
        display: flex !important;
        width: 100%;
        height: 100%;
        align-items: center;
        justify-content: space-between;
        gap: 30px;
    }

    .headertop-inner .nav-container .nav-inner #menu .nav.navbar-nav > li > a {
        margin: 0;
        padding: 0;
    }

    .headertop-inner {
        width: auto;
    }

    .nav-container {
        height: 100%;
        width: auto;
    }

    .nav-inner {
        height: 100%;
        width: auto;
    }

    #menu {
        height: 100%;
        width: auto;
    }

    #logo {
        min-width: 72px;
    }
	
    .header-container.fixed {
        position: static;
    }
    .header-container.fixed .header-main .header-logo {
        padding: 10px;
    }
}

.stagem-header-top-bar {
    --stagem-topbar-bg: #f5f5f5;
    --stagem-topbar-text: #333333;
    --stagem-topbar-muted: #555555;
    --stagem-topbar-accent: #d32f2f;
    --stagem-topbar-border: #e8e8e8;
    background: var(--stagem-topbar-bg);
    border-bottom: 1px solid var(--stagem-topbar-border);
    font-family: Jost, "Segoe UI", system-ui, sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
}

.stagem-header-top-bar__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 20px;
    padding: 10px 0;
    min-height: 40px;
}

.stagem-header-top-bar__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 30px;
    margin: 0;
    padding: 0;
	font-size: 16px; 
}

.stagem-header-top-bar__link {
    color: var(--stagem-topbar-muted);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s ease;
}

.stagem-header-top-bar__link:hover,
.stagem-header-top-bar__link:focus {
    color: var(--stagem-topbar-text);
    text-decoration: none;
}

.stagem-header-top-bar__right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 20px;
    flex-shrink: 0;
}

.stagem-header-top-bar__social {
    display: flex;
    align-items: center;
    gap: 14px;
}

.stagem-header-top-bar__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--stagem-topbar-muted);
    font-size: 16px;
    line-height: 1;
    text-decoration: none;
    transition: color 0.15s ease;
}

.stagem-header-top-bar__social-link:hover,
.stagem-header-top-bar__social-link:focus {
    color: var(--stagem-topbar-accent);
    text-decoration: none;
}

.stagem-lang-dropdown {
    position: relative;
}

.stagem-lang-dropdown__toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    color: var(--stagem-topbar-text);
    cursor: pointer;
    line-height: 1.2;
}

.stagem-lang-dropdown__toggle:hover,
.stagem-lang-dropdown__toggle:focus {
    color: var(--stagem-topbar-accent);
    outline: none;
}

.stagem-lang-dropdown__toggle .fa-angle-down {
    font-size: 14px;
    opacity: 0.75;
}

.stagem-lang-dropdown__menu {
    margin-top: 8px;
    min-width: 140px;
    padding: 6px 0;
    border: 1px solid var(--stagem-topbar-border);
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.stagem-lang-dropdown__menu > li > a {
    padding: 8px 16px;
    font-size: 13px;
    color: var(--stagem-topbar-muted);
}

.stagem-lang-dropdown__menu > li > a:hover {
    background: #fafafa;
    color: var(--stagem-topbar-text);
}

/* Language dropdown (OpenCart default markup inside top bar) */
.stagem-header-top-bar__lang--oc .pull-left {
    float: none !important;
}

.stagem-topbar-language-native {
    display: none;
}

.stagem-topbar-language-custom {
    position: relative;
}

.stagem-topbar-language-custom__toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid var(--stagem-topbar-border);
    border-radius: 6px;
    background: #fff;
    color: var(--stagem-topbar-text);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
}

.stagem-topbar-language-custom__toggle:hover,
.stagem-topbar-language-custom__toggle:focus {
    border-color: #d7d7d7;
    outline: none;
}

.stagem-topbar-language-custom__menu {
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 1200;
    min-width: 76px;
    padding: 6px 0;
    margin: 0;
    list-style: none;
    background: #fff;
    border: 1px solid var(--stagem-topbar-border);
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    display: none;
}

.stagem-header-top-bar__lang--oc.stagem-lang-open .stagem-topbar-language-custom__menu {
    display: block;
}

.stagem-topbar-language-custom__item {
    width: 100%;
    text-align: center;
    padding: 8px 12px;
    border: 0;
    background: transparent;
    font-size: 13px;
    font-weight: 600;
    color: var(--stagem-topbar-muted);
    cursor: pointer;
}

.stagem-topbar-language-custom__item:hover,
.stagem-topbar-language-custom__item:focus {
    background: #f3f3f3;
    color: var(--stagem-topbar-text);
    outline: none;
}

/* keep old OC styles only if native is displayed somewhere else */
.stagem-header-top-bar__lang--oc #form-language {
    margin: 0;
}

/* Hide original (default header) language switcher in #top */
#top #form-language {
    display: none !important;
}

/* Hide Bookmart header account-dropdown language/currency block */
.lang-curr #form-language {
    display: none !important;
}

.lang-curr {
    width: 100%;
    padding: 0 !important;
}

/* remove border from language wrapper (we hide it anyway) */
.lang-curr .pull-left {
    border-top: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* move separator border to currency form */
.lang-curr #form-currency {
    border-top: 1px solid #e5e5e5;
    padding-top: 10px;
    margin-top: 10px;
}

.stagem-header-top-bar__lang--oc .btn-group {
    position: relative;
}

.stagem-header-top-bar__lang--oc .btn-group > .btn.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--stagem-topbar-text);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
}

.stagem-header-top-bar__lang--oc .btn-group > .btn.btn-link:hover,
.stagem-header-top-bar__lang--oc .btn-group > .btn.btn-link:focus {
    color: var(--stagem-topbar-accent);
    outline: none;
}

/* Hide 'Мова' label, keep only current language dropdown affordance */
.stagem-header-top-bar__lang--oc .btn-group > .btn.btn-link .hidden-xs.hidden-sm.hidden-md {
    display: none;
}

.stagem-header-top-bar__lang--oc .btn-group > .btn.btn-link {
    position: relative;
}

/* Current language short label in the toggle (UA/EN) */
.stagem-header-top-bar__lang--oc[data-lang-short="UA"] .btn-group > .btn.btn-link:before {
    content: "UA";
}

.stagem-header-top-bar__lang--oc[data-lang-short="EN"] .btn-group > .btn.btn-link:before {
    content: "EN";
}

/* Fallback: show first 2 letters if unknown (will be empty without specific rule) */
.stagem-header-top-bar__lang--oc .btn-group > .btn.btn-link:before {
    display: inline-block;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.stagem-header-top-bar__lang--oc .btn-group > .btn.btn-link .fa-angle-down,
.stagem-header-top-bar__lang--oc .btn-group > .btn.btn-link .fa-caret-down {
    font-size: 14px;
    opacity: 0.75;
}

/* The menu is 'ul.language-menu' (theme Bookmart) */
.stagem-header-top-bar__lang--oc .language-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 1000;
    min-width: 170px;
    padding: 6px 0;
    margin: 0;
    list-style: none;
    background: #fff;
    border: 1px solid var(--stagem-topbar-border);
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: none;
}

/* Show on hover/focus (works even if theme JS isn't toggling classes) */
.stagem-header-top-bar__lang--oc .btn-group:hover .language-menu,
.stagem-header-top-bar__lang--oc .btn-group:focus-within .language-menu {
    display: block;
}

.stagem-header-top-bar__lang--oc .language-menu li button.btn.btn-link {
    width: 100%;
    text-align: left;
    padding: 8px 14px;
    color: var(--stagem-topbar-muted);
    font-size: 13px;
    font-weight: 400;
    text-decoration: none;
}

/* Replace language names with UA/EN (CSS-only) */
.stagem-header-top-bar__lang--oc .language-menu li button.btn.btn-link {
    font-size: 0; /* hide original text (Українська/English) */
}

.stagem-header-top-bar__lang--oc .language-menu li button.btn.btn-link:after {
    font-size: 13px;
    font-weight: 500;
    color: inherit;
    content: attr(name); /* fallback (will be overridden below) */
}

.stagem-header-top-bar__lang--oc .language-menu li button.btn.btn-link[name="uk-ua"]:after {
    content: "UA";
}

.stagem-header-top-bar__lang--oc .language-menu li button.btn.btn-link[name="en-gb"]:after {
    content: "EN";
}

.stagem-header-top-bar__lang--oc .language-menu img {
    display: none; /* on the reference screenshot there are no flags */
}

.stagem-header-top-bar__lang--oc .language-menu li button.btn.btn-link:hover,
.stagem-header-top-bar__lang--oc .language-menu li button.btn.btn-link:focus {
    background: #fafafa;
    color: var(--stagem-topbar-text);
    outline: none;
}

.stagem-header-top-bar__lang--oc .language-menu li.language-active button.btn.btn-link {
    color: var(--stagem-topbar-text);
    font-weight: 500;
}

.stagem-header-top-bar__lang--oc .language-menu img {
    width: 16px;
    height: 12px;
    object-fit: cover;
    margin-right: 8px;
    vertical-align: middle;
}

@media (max-width: 767px) {
    .stagem-header-top-bar__inner {
        flex-direction: column;
        align-items: stretch;
        padding: 8px 0;
    }

    .stagem-header-top-bar__links {
        justify-content: center;
        gap: 8px 14px;
    }

    .stagem-header-top-bar__right {
        justify-content: center;
    }
}


@media (max-width: 768px) {
  #cart .dropdown-menu.pull-right.cart-menu .text-right.button-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
}
#cart .dropdown-menu.pull-right.cart-menu {
	width: auto;
	max-width: 80vw;
}
@media (max-width: 991px) {
	.header-container {
		min-height: 80px;
	}
}

.stagem-header-top-bar .fa-facebook:before {
	font-size: 18px;
}

.stagem-header-top-bar .fa-instagram:before { 
	font-size: 20px;
}