.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -50px;
    margin-left: -50px;
    border: 16px solid #ffc737;
    border-radius: 50%;
    border-top: 16px solid #fa9f34;
    width: 100px;
    height: 100px;
    -webkit-animation: spin 2s linear infinite;
    /* Safari */
    animation: spin 2s linear infinite;
    z-index: 99999;
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hide-wrapper {
    display: none;
}

/* width */
::-webkit-scrollbar {
    width: 5px;
    height: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #ffc737;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #fa9f34;
}

.validation_error_block p,
.validation_error_block {
    padding: 3px 0 3px 0;
    color: red;
    font-size: 16px;
}

.validation_success_block p,
.validation_success_block {
    padding: 3px 0 3px 0;
    color: #fa9f34;
    font-size: 20px;
}

.disabled {
    cursor: not-allowed;
    pointer-events: none;
}

.sticky {
    position: -webkit-fixed;
    position: fixed;
    bottom: 0;
    background-color: #f9fafc;
    padding: 12px 40px 0 40px;
    font-size: 15px;
    width: 100%;
    z-index: 99999;
    display: inline-flex;
}

#cookiesconfirm {
    background-color: #fa9f34;
    color: white;

    font-size: 14px;
    text-transform: uppercase;
    border: none;
    padding: 0 40px;
    line-height: 45px;
    margin-bottom: 10px;
}

@media screen and (max-width: 900px) {
    .sticky {
        display: inline-block;
    }

    .sticky_div {
        width: 100% !important;
    }

    #cookiesconfirm {
        margin-top: 10px;
    }
}

.close-cookies {
    display: none;
}

#map,
#map-stores {
    width: 100%;
    height: 100%;
}

.required {
    border: 1px solid red;
}

.disabled_date .date-catalog__day,
.disabled_date .date-catalog__date {
    color: gray !important;
}

.disabled_date {
    pointer-events: none !important;
    cursor: not-allowed !important;
}

.cigar {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -100px;
    margin-top: -50px;
    width: 200px;
    height: 20px;
    background: #964b00;
    border-radius: 10px;
    box-shadow: inset -3px -3px 5px rgba(0, 0, 0, 0.5), inset 3px 3px 5px rgba(255, 255, 255, 0.2);
    z-index: 99999;
}

.ember {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, #ff4500, #8b0000);
    border-radius: 50%;
    animation: glow 1.5s infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 10px 5px rgba(255, 69, 0, 0.8);
    }

    to {
        box-shadow: 0 0 20px 10px rgba(255, 69, 0, 0.4);
    }
}

.smoke {
    position: absolute;
    right: -20px;
    top: -30px;
    width: 10px;
    height: 80px;
    background: linear-gradient(to top, rgba(189, 195, 199), rgba(189, 195, 199));
    border-radius: 50%;
    animation: rise 3s infinite;
    opacity: 0.8;
}

@keyframes rise {
    0% {
        transform: translateY(0) scale(0.8);
        opacity: 0.8;
    }

    50% {
        transform: translateY(-20px) scale(1);
        opacity: 0.5;
    }

    100% {
        transform: translateY(-50px) scale(1.2);
        opacity: 0;
    }
}

.product-cigar__image img {
    height: 63px;
    object-fit: contain;
}

.product-cigar__name,
.product-cigar__image,
.product__image,
.product__name {
    cursor: pointer;
}

.empty_products {
    height: 150px;
}

.sidebar-catalog__list li._active a {
    border-color: #FF0E14;
    border-bottom: 2px solid #FF0E14;
}

.accessory_img {
    object-fit: contain !important;
}

.catalog__body>.product-section__item,
.some-products__content>.product-section__item {
    min-width: 326px;
}

.sidebar-catalog__name>a {
    color: #200906;
    font-size: 16px;
    font-weight: 400;
}

.catalog_title {
    font-size: 40px;
    font-weight: 500;
    max-width: 1400px;
    margin: auto;
}

@media screen and (max-width: 900px) {
    .catalog_title {
        text-align: center;
    }
}

.error {
    padding: 70px 0;
}

.error__container {
    max-width: 510px;
}

.error__image {
    width: 100%;
    max-width: 100%;
}

.error__image img,
.error__image svg {
    width: 100%;
    max-width: 100%;
}

.error__body {
    margin-top: 30px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    row-gap: 20px;
}

.error__title {
    text-align: center;
}

.error__text {
    text-align: center;
    color: #200906;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.4;
    width: 100%;
    max-width: 415px;
}

.error__button {
    width: 100%;
    max-width: 344px;
}

.error h1._title {
    color: #200906;
    font-size: 32px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    text-transform: uppercase;
}

.about__description {
    line-height: 1.6em;
}

.about__description p {
    padding: 8px 0 8px 0;
}

blockquote {
    font-style: italic;
}

#age-check-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #FCF9F6;
    padding: 20px;
    border: 1px solid #FCF9F6;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    width: 300px;
    z-index: 1000;
    text-align: center;
    column-gap: 20px;
    display: grid;
    padding: 30px;
    width: 420px;
    height: 408px;
}

@media screen and (max-width: 900px) {
    #age-check-popup {
        width: 340px;
    }
}

#age-check-popup h1 {
    font-size: 25px;
    line-height: 24px;
    color: #200906;
    margin-bottom: 10px;
}

#age-check-popup p {
    line-height: 20px;
    font-size: 16px;
    margin-bottom: 10px;
}

#submit-btn, #cancel-btn {
    margin-bottom: 10px;
    /* background: #200906; */
    color: white;
    font-size: 14px;
    padding: 14px 10px;
    border-radius: 25px;
}

#submit-btn {
    background: #200906;
}

#cancel-btn {
    background: transparent;
    color: #200906;
    border: 1px solid #200906;
}

#age-check-popup img {
    margin: auto auto 15px auto;
    width: 65px;
    height: 65px;
}
.product-cigar__image {
    flex: 1 1 auto;
}

/* Style the overlay to dim the background */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Semi-transparent background */
    z-index: 900;
    /* Ensure the overlay is behind the popup */
}