.btn:focus,
.btn {
    margin-bottom: 15px;
    width: 200px;
    height: 50px;
    padding: 0 16px;

    border: 2px solid #e30613;
    border-radius: 8px;
    color: black;
    background: white;
    cursor: pointer;
}

.btn-animated {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
    width: 200px;
    height: 50px;
    padding: 0 16px;

    border: 0;
    border-radius: 8px;

    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;

    color: #ffffff;
    background: #e30613;
    cursor: pointer;

    transition: background-color 160ms ease, box-shadow 160ms ease, transform 120ms ease;
    overflow: hidden;
}



.btn:hover,
.btn-animated:hover {
    background: #b1050f;
    color: white
}

.btn-animated:active {
    transform: translateY(1px);
    background: #e30613;
}

.btn-animated:focus {
    outline: none;
}

.btn-animated:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-animated::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -60%;
    width: 34px;
    height: 200%;

    background: rgba(255, 255, 255, 0.55);
    transform: rotate(35deg);
    z-index: 1;

    animation: btn-shine 2s ease-in-out infinite;
}

.btn-animated>* {
    position: relative;
    z-index: 2;
}

@keyframes btn-shine {
    0% {
        left: -60%;
        opacity: 0;
    }

    10% {
        opacity: 0.55;
    }

    50% {
        left: 115%;
        opacity: 0.55;
    }

    60% {
        opacity: 0;
    }

    100% {
        left: 115%;
        opacity: 0;
    }
}


.gallerylist {
    list-style: none;
    padding-left: 0;
}

.gallerylist::after {
    content: "";
    display: block;
    clear: both;
}

.galleryimage {
    max-width: 200px;
    max-height: 200px;
    float: left;
    border: 3px solid #f6f6f6;
    margin: 0 10px 20px 0;
    overflow: hidden;
}

.galleryitem {
    display: block;
    object-fit: contain;
    width: 200px;
    height: 200px;
}

.galleryimage:hover {
    border: 3px solid #d5d5d5;
}

.galleryimage:hover .galleryitem {
    transform: scale(1.07);
}

.galleryimage .galleryitem {
    transition: transform 0.2s ease;
}


.gallery-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(0, 0, 0, 0.85);
    z-index: 99999;

    --ctl-size: 44px;
    --ctl-font: 28px;
    --ctl-inset: 16px;
}

.gallery-modal.is-open {
    display: flex;
}

.gallery-modal__img {
    max-width: 95vw;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    background: #111;
    box-shadow: 0 14px 45px rgba(0, 0, 0, 0.45);
}

.gallery-modal__close {
    position: absolute;
    border: 0;
    padding: 0;

    width: 40px;
    height: 40px;
    width: var(--ctl-size);
    height: var(--ctl-size);

    border-radius: 10px;
    cursor: pointer;

    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);

    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.gallery-modal__close::before,
.gallery-modal__close::after {
    content: "";
    position: absolute;

    width: 18px;
    width: calc(var(--ctl-size) * 0.45);

    height: 2px;
    background: #fff;
    border-radius: 2px;
}

.gallery-modal__close::before {
    transform: rotate(45deg);
}

.gallery-modal__close::after {
    transform: rotate(-45deg);
}

.gallery-modal__close:hover {
    background: rgba(255, 255, 255, 0.18);
}

.gallery-modal__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 44px;
    height: 44px;
    font-size: 28px;
    width: var(--ctl-size);
    height: var(--ctl-size);
    font-size: var(--ctl-font);

    border: 0;
    border-radius: 10px;
    cursor: pointer;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
    color: #fff;
    line-height: 1;
    z-index: 100000;
}

.gallery-modal__prev {
    left: 16px;
    left: var(--ctl-inset);
}

.gallery-modal__next {
    right: 16px;
    right: var(--ctl-inset);
}

.gallery-modal__nav:hover {
    background: rgba(255, 255, 255, 0.18);
}

@media (max-width: 768px) {
    .right-section {
        margin: auto;
    }

    .gallery-modal {
        padding: 10px;
    }

    .gallery-modal__img {
        max-width: 96vw;
        max-height: 80vh;
        border-radius: 8px;
    }

    .gallery-modal__close {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .product-info {
        flex-direction: column;
        gap: 0px !important;
    }

    .product-info .left-section,
    .product-info .right-section {
        flex: 0 0 auto;
        width: 100%;
    }

    .product-info .right-section img {
        max-width: 100%;
    }

    .product-image-slider .slick-prev,
    .product-image-slider .slick-next,
    .product-image-slider .swiper-button-prev,
    .product-image-slider .swiper-button-next,
    .product-image-slider .prev,
    .product-image-slider .next,
    .product-image-slider .slider-prev,
    .product-image-slider .slider-next,
    .product-image-slider button[aria-label="Previous"],
    .product-image-slider button[aria-label="Next"] {
        display: none !important;
    }
}


@media (max-width: 480px) {
    .gallery-modal {
        --ctl-size: 32px;
        --ctl-font: 20px;
        --ctl-inset: 10px;
    }
}

@media (max-width: 360px) {
    .gallery-modal {
        --ctl-size: 28px;
        --ctl-font: 18px;
        --ctl-inset: 8px;
    }
}