.prod-title h1 {
    margin: 0;
}

.product-container {
    display: flex;
    gap: 10px;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-container-left-section {
    width: min(60%, 700px);
}

.gallery-main {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    /* background: #f8f8f8; */
    height: 400px;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    object-fit: contain;
    cursor: zoom-in;
    transition: transform .3s ease;
}

.gallery-main img:hover {
    transform: scale(1.02);
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0);
    border: none;
    font-size: 26px;
    padding: 10px 16px;
    cursor: pointer;
    border-radius: 50%;
    /* box-shadow: 0 3px 10px rgba(0,0,0,0.15); */
    transition: .25s;
    color: var(--link-color);
}


.gallery-arrow.left {
    left: 10px;
}

.gallery-arrow.right {
    right: 10px;
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
    user-select: none;
    cursor: grab;
    padding: 10px;
    background-color: var(--prod-page-sc-bg);
    border-radius: 15px;
}

.gallery-thumbs:active {
    cursor: grabbing;
}

.gallery-thumbs::-webkit-scrollbar {
    height: 6px;
}

.gallery-thumbs::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px;
}

.thumb {
    height: 80px;
    width: 80px;
    object-fit: cover;
    border-radius: 12px;
    opacity: 0.7;
    transition: .25s;
    cursor: pointer;
}

.thumb:hover {
    opacity: 1;
}

.thumb.active {
    outline: 3px solid var(--accent);
    opacity: 1;
}

/* сброс кликов на кнопках */
button {
    outline: none !important;
}

button:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* ЛАЙТБОКС */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    animation: fadeIn .3s ease;
    z-index: 9999;
}

.lightbox.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: scaleIn .3s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox img {
    border-radius: 12px;
    width: 80vh;
    height: 80vh;
    object-fit: contain;
}


.lightbox-close {
    position: absolute;
    top: -45px;
    right: -40px;
    font-size: 32px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    transition: .2s;
}

.lightbox-close:hover {
    color: var(--accent);
}

.product-container-right-section {
    display: flex;
    flex: 1;
    gap: 10px;
    flex-direction: column;
    align-items: center;
}

.product-cart-section,
.product-container-right-info,
.why-do-we-have,
.recommend {
    width: 100%;
    display: flex;
    padding: 10px;
    background-color: var(--prod-page-sc-bg);
    border-radius: 15px;
    height: min-content;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-container-right-info,
.why-do-we-have,
.recommend {
    flex-direction: column;
    align-items: start;
    gap: 10px;
}

.product-container-right-info .specification {
    gap: 10px;
    border: none;
}

.product-container-right-info-title h3,
.why-do-we-have h3,
.recommend h3 {
    font-size: 1.3rem;
}

.why-do-we-have,.recommend {
    background: none;
    border: 5px solid var(--prod-page-sc-bg);
    align-items: start;
}
.recommend-item {
    display: flex;
    gap: 10px;
}

.recommend-item-img {
    height: 80px;
    aspect-ratio: 1;
}

.recommend-item-img img {
    border-radius: 10px;
}

.recommend-item-info {
    flex: 1;
}

.recommend-item-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--link-color);
}

.recommend-item-title:hover {
    text-decoration: none;
    color: var(--link-color);
}

.gallery-thumbs img,
.gallery-main img {
    -webkit-user-drag: none;
    user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    pointer-events: auto;
}

.product-price-section {
    width: min(35%, 150px);
    display: flex;
    flex-direction: column;
}

.product-del-price {
    font-size: 12px;
    color: var(--muted);
    text-decoration: line-through;
}

.product-price {
    font-size: 25px;
    font-weight: 800;
    color: var(--price);
}

.cart-section {
    /* flex: 1; */
    width: min(100%, 400px);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-btn.add-to-cart,
.go-to-the-cart {
    width: min(100%, 400px);
    border-radius: 8px;
    background: linear-gradient(180deg, var(--accent), #f9e093);
    border: none;
    cursor: pointer;
    float: right;
    height: 40px;
    justify-content: center;
}

.go-to-the-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    cursor: pointer;
    text-decoration: none;
}

.go-to-the-cart:hover {
    color: black;
    text-decoration: none;
}

.specifications-description-section {
    width: 100%;
    display: flex;
    justify-content: space-between;
    border-radius: 8px;
}

.specifications-description-section button {
    width: 50%;
    padding: 10px 0;
    border: none;
    background: linear-gradient(180deg, var(--accent), #f9e093);
    cursor: pointer;
}

.specifications-but {
    border-bottom-left-radius: 12px;
    border-top-left-radius: 12px;
}

.description-but {
    border-bottom-right-radius: 12px;
    border-top-right-radius: 12px;
}


.specifications-section,
.description-section {
    padding: 10px;
    width: 100%;
    border-radius: 8px;
    display: none;
}

.specifications-section.active,
.description-section.active {
    display: block;
}

.specifications {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.specification {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid silver;
    color: var(--header-text);
}

.specification span {
    color: rgb(109, 109, 109);
}


@media (max-width: 1100px) {
    .section-container.product-container {
        flex-wrap: wrap;
    }

    .product-container-right-info,
    .why-do-we-have,.recommend {
        display: none;
    }

    .product-container-left-section {
        width: 100%;
    }

    .product-container-right-section {
        position: sticky;
        bottom: 10px;
    }
}


.cart-qty {
    display: flex;
}

.cart-qty button {
    background: linear-gradient(180deg, var(--accent), #f9e093);
    border: none;
    padding: 10px;
    cursor: pointer;
    width: 50px;
}

.cart-qty button:focus,
.cart-qty input:focus {
    outline: none;
}

.qty-btn.minus {
    border-bottom-left-radius: 10px;
    border-top-left-radius: 10px;
}

.qty-btn.plus {
    border-bottom-right-radius: 10px;
    border-top-right-radius: 10px;
}

.cart-qty input {
    background: linear-gradient(180deg, var(--accent), #f9e093);
    border: none;
    text-align: center;
    flex: 1;
}

input[type=number] {
    -moz-appearance: textfield;
    /* Firefox */
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    /* Chrome/Safari */
    margin: 0;
}

.section-container {
    width: min(2200px, 60%);
}

@media (max-width: 1850px) {
    .section-container {
        width: min(2200px, 80%);
    }
}

@media (max-width: 1400px) {
    .section-container {
        width: min(2200px, 95%);
    }
}

.reason {
    display: flex;
    height: 70px;
    gap: 15px;
    width: 400px;
}

.reason-icon {
    padding: 15px;
    background: linear-gradient(180deg, var(--accent), #f9e093);
    border-radius: 50px;
}

.reason-tesxt {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.place-an-order {
    width: 100%;
    height: 50px;
    border-radius: 8px;
    background: linear-gradient(180deg, var(--accent), #f9e093);
    border: none;
    cursor: pointer;
}

.modal-content {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: var(--body-bg);
    background-clip: padding-box;
    border: none;
    border-radius: 0.3rem;
    outline: 0;
}

.modal-dialog {
    max-width: min(95%, 1700px);
}

.massage {
    width: 100%;
}

.order-mail {
    width: 100%;
}

.all-but {
    background: linear-gradient(180deg, var(--accent), #f9e093);
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 10px;
}

.order-section {
    background-color: var(--section-bg);
    padding: 20px 0;
}

.order-mail-inp,
.order-massage .massage {
    background: linear-gradient(180deg, #e6e6e6, #fbfbfb);
    border: none;
    box-shadow: 0 8px 26px rgb(17 17 17 / 29%);
    border-radius: 10px;
    padding: 10px;
}

.order-mail-inp:focus,
.order-massage .massage:focus {
    outline: none;
}

.order-mail input.invalid {
    box-shadow: 0 1px 13px rgb(255 0 0);
    background: linear-gradient(260deg, #ff000061, #ffc3c32e);
}

.log-anim {
    animation: 3s linear 1 log_anim forwards;
}

.success,
.failed {
    position: fixed;
    top: -100px;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: center;
    z-index: 999999999999999;
}

.success-contaoner {
    width: 300px;
    background-color: #008000ab;
    display: flex;
    color: white;
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    gap: 10px;
    padding: 0 10px;
}

.failed-contaoner {
    width: 320px;
    background-color: rgba(255, 0, 0, 0.673);
    display: flex;
    color: white;
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    gap: 10px;
}

@keyframes log_anim {
    0% {
        top: -100px;
    }

    10% {
        top: 10px;
    }

    90% {
        top: 10px;
    }

    100% {
        top: -100px;
    }
}

.product-price {
    font-size: 20px;
}

@media (max-width: 1100px) {
    .modal-backdrop {
        z-index: -1;
    }
}