@import url(main.css);
@import url("https://fonts.googleapis.com/css2?family=Lobster&display=swap");
@import url("https://fonts.googleapis.com/css2?family=PT+Serif:ital@1&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lora&display=swap");
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Serif:wght@500&display=swap');

/* Title box */

.product-page {
    display: flex;
    box-sizing: border-box;
    flex-direction: column;
    max-width: 1100px;
    margin: 0 auto;
    height: 100%;
    padding: 0 15px;
    margin-bottom: 100px;
}

.product-title-box {
    height: fit-content;    
    margin-bottom: 60px;
}

.product-title-box h1 {
    text-align: center !important;
    font-family: 'Constantia W99 Italic', cursive;
    opacity: 0.85;
    font-size: 36px;
    margin: 0;
    padding: 0px 25px;
    box-sizing: border-box;
}

/* breadcrumbs Box */

.product-breadcrumbs {
    margin-top: 45px;
    box-sizing: border-box;
    height: 22px;
}

.breadcrumbs-container {
    display: inline-block;
    list-style-type: none;
    white-space: nowrap;
    padding: 0;
    height: 100%;
    width: 100%;
    text-align: center !important;
    margin: 0;
}

.breadcrumbs-item {
    display: inherit;
    height: 100%;
}


/* Wrapper Box */

.product-wrapper-container {
    display: flex;
}

.product-img-container {
    box-sizing: border-box;
    aspect-ratio: 1/1;
    position: relative;
}

.product-wrapper-box {
    box-sizing: border-box;
    padding: 22.5px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    margin-left: 20px;
    background: #fffdfa;
    border: 1px solid #0000001f;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.095);
    position: relative;
}


.product-wrapper-favorite-btn-box {
    position: absolute;
    height: 35px;
    right: 20px;
    top: 22.5px;
    aspect-ratio: 1/1;
    cursor: pointer;
    transition: all 0.4s;
}

.product-wrapper-favorite-btn-box.active {
    fill: #f93e33;
}

.product-wrapper-title-box {
    margin-bottom: 30px;
    font-family: "Constantia W99 Italic";
    font-size: 21px;
}

.product-wrapper-article-box {
    font-size: 15px;
    opacity: 0.85;
    font-family: "Lora", sans-serif;
    margin-bottom: 14px;
}

.product-wrapper-description-box {
    padding-left: 16px;
    display: block;
    box-sizing: border-box;
    margin-bottom: 18px;
    font-family: "Lora", serif;
    opacity: 0.8;
}

.product-wrapper-description-box a {
    color: var(--btn-color);
}

.product-desc-wrapper-container {
    height: fit-content;
}

.product-wrapper-order-box {
    height: 40px;
    background: none;
    border: 1px solid #000000c2;
    padding: 4px 4px 4px 0;
    display: flex;
    margin-bottom: 10px;
}

.product-wrapper-order-box > * {
    width: 50%;
}


.product-wrapper-set-box {
    height: fit-content;
    margin-bottom: 20px;
}

.product-set-item * {
    pointer-events: none;
}

.product-set-item {
    display: flex;
    cursor: pointer;
    padding: 14px;
    box-sizing: border-box;
    border: 1px solid #0000001a;
    width: 100%;
    height: 50px;
    margin-bottom: 8px;
}

.product-set-title {
    font-family: 'Lora', sans-serif;
    color: #000000e1;
    font-size: 14px;
    align-items: center;
}

.product-set-article {
    font-family: 'Lora', sans-serif;
    color: #000000c0;
    font-size: 14px;
}

.product-set-price {
    font-family: 'Roboto Mono', monospace;
    color: #000000ee;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -1px;
    justify-content: flex-end;
    align-items: center;
}


.product-set-price > .ruble {
    font-size: 17px;
    margin-left: 6px;
    height: 100%;
}

.product-set-item.active {
    border: solid 1px var(--btn-color);
}

.product-set-item input {
    appearance: none;
    height: 1rem;
    width: 1rem;
    border-radius: 10px;
    border-color: #505050da;
    background-image: url('/media/light-circle.svg');
    background-position: center;
}

.product-set-item.full-set.active input[checked="checked"] {
    background-color: #328a32 !important;
    border: none;
}


.product-set-item input:not(:checked) {
    border: 2px solid rgba(0, 0, 0, 0.1);
}
 
.product-set-item input[checked="checked"] {
    background-color: var(--btn-color) !important;
    border-color: var(--btn-color) !important;
}

.product-set-item.full-set.active {
    border: solid 1px #698269;
    background: #91d691;

}

.product-set-radiobox {
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    height: 100%;
    width: 18px;
    max-width: 100%;
    margin-right: 12px;
    display: flex;
    align-items: center;
}

.product-set-description-container {
    display: inline-block;
    flex: 1;
    display: flex;
}

.product-set-description-container > * {
    width: 100%;
    display: inherit;
}

.product-set-radiobox > input {
    margin: 0;
}

.product-set-list {
    list-style-type: none;
    padding: 0;
}

.product-wrapper-price-box {
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 18px;
    font-size: 24px;
    font-family: 'Roboto Mono', monospace;
    
}

.ruble {
    position: relative;
    font-weight: 700;
}


.product-order-count-box {
    display: flex;
    margin-left: 10px;
}

.product-order-count-box > * {
    background: none;
    border: none;
    padding: 0;
    text-align: center;
}

.product-order-count-box > button {
    aspect-ratio: 1/1;
    height: 100%;
    opacity: 0.8;
    display: inline-block;
    cursor: pointer;
} 

.product-order-count-box > input {
    font-size: 15px;
}

.product-order-count-box > button > i {
    pointer-events: none;
    aspect-ratio: 1/1;
    height: 60%;
    line-height: 200%;
    text-align: center;
}

.product-order-btn {
    background: var(--btn-color);
    text-transform: lowercase;
    font-family: "Constantia W99 Italic";
    border: none;
    color: #ffffff;
    height: 100%;
    width: 100%;
    padding: 0;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    font-size: 21px;
}


.product-order-btn::after {
    content: '';
    z-index: 2;
    width: 30%;
    height: 100%;
    position: absolute;
    top: 0;
    left: -50%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .3) 100%);
    transform: skewX(-35deg);
    overflow: hidden;
}

.product-order-btn:hover::after {
    -webkit-animation: movelight 0.8s;
    animation: movelight 0.8s;
}

@keyframes movelight {
    from {
        left: -75%;
    }

    to {
        left: 150%;
    }
}

.product-input-count {
    outline: none;
    height: 100%;
    width: 100%;
    border: none;
    -webkit-appearance: textfield;
       -moz-appearance: textfield;
            appearance: textfield;
}

.product-order-btn-box {
    margin-left: 10px;
}

@media (min-width: 1024px) {
    .product-img-container,
    .product-desc-wrapper-container {
        width: 50%;
    }
}
@media (max-width: 1024px) and (min-width: 770px) {
    .product-img-container {
        width: 55%;
    }
    .product-desc-wrapper-container {
        width: 45%;
    }
}

@media (max-width: 770px) {
    .product-img-container {
        width: 100%;
    }
    .product-desc-wrapper-container {
        width: 100%;
    }
    .product-wrapper-container {
        flex-direction: column;
    }
    .product-wrapper-box {
        margin-left: 0;
        margin-top: 20px;
    }
}

.product-img-container {
    aspect-ratio: 1/1;
    min-width: 0;
    margin-bottom: auto;
}


/* Swiper Style */

.swiper {
    height: 100%;
    width: 100%;
}

.swiper-slide img {
    width: 100%;
    max-width: 100%;
    object-fit: cover;
    
}


.swiper-button-next, .swiper-button-prev {
    height: 40px !important;
    width: 40px !important;
}

.swiper-button-prev img {
    transform: rotate(180deg);
}

.swiper-button-prev img, .swiper-button-next img {
    height: 100%;
    width: 100%;
}


.swiper-button-prev::after, .swiper-button-next::after {
    display: none;
}