.site-main .container{
    padding: 20px 20px 120px;
}
#breadcrumbs{
    grid-column: span 2;
    margin-bottom: 20px;
}
div.product{
    display: grid;
    grid-template-columns: minmax(0,52%) minmax(0,1fr);
    grid-template-rows: auto;
    align-items: stretch;
    column-gap: 30px;
}

/* GALERIJA SLIKA PROIZVODA */
.woo-variation-gallery-wrapper{
    position: sticky;
    top: 20px;
}
.woo-variation-product-gallery{
    margin-bottom: 0;
}
.woo-variation-gallery-thumbnail-slider img{
    aspect-ratio: 0.7;
    object-fit: cover;
}
.woo-variation-gallery-slider-wrapper .wvg-slider-next-arrow{
    right: 10px !important;
}
.woo-variation-gallery-slider-wrapper .wvg-slider-prev-arrow{
    left: 10px !important;
}
.woo-variation-gallery-slider-wrapper .wvg-slider-next-arrow,
.woo-variation-gallery-slider-wrapper .wvg-slider-prev-arrow{
    opacity: 1;
    background: white;
    width: 30px;
    height: 30px;
    margin-top: -15px;
    border-radius: 50%;
    font-size: 22px;
    line-height: 30px;
    text-align: center;
}
.woo-variation-gallery-slider-wrapper .wvg-slider-next-arrow:hover,
.woo-variation-gallery-slider-wrapper .wvg-slider-prev-arrow:hover{
    background: white;
}
.woo-variation-gallery-slider-wrapper .wvg-slider-next-arrow:before,
.woo-variation-gallery-slider-wrapper .wvg-slider-prev-arrow:before{
    color: #000000;
}
@media(min-width: 767px){
    .woo-variation-gallery-thumbnail-position-left-bottom .woo-variation-gallery-container .woo-variation-gallery-slider-wrapper{
        width: 81%;
    }
    .woo-variation-gallery-thumbnail-position-left-bottom .woo-variation-gallery-container .woo-variation-gallery-thumbnail-wrapper{
        width: 19%;
    }
}

.woocommerce-tabs, .related.products{
    grid-column: span 2;
}
h1{
    font-size: 30px;
    line-height: 1.2;
    margin-bottom: 25px;
    text-transform: initial;
}
.summary{
    max-width: 444px;
    justify-self: center;
}
.summary > .price {
    width: 100%;
    font-weight: 700;
    font-size: 30px;
    line-height: 1.2;
    color: #241F1F;
    padding-bottom: 16px;
    border-bottom: 1px solid #E2E2E2;
    margin-bottom: 20px;
}
.woocommerce-product-details__short-description p{
    font-weight: 400;
    font-size: 14px;
    line-height: 1.43;
    color: #241F1F80;
    margin-bottom: 20px;
}
.summary .qty, .summary .minus, .summary .plus{
    font-size: 20px;
}
/*   V A R I J A C I J E   */
.product-type-simple .summary .cart,
.product-type-variable .summary .cart > div,
.woocommerce-variation-add-to-cart{
    display: flex;
    flex-flow: row wrap;
    justify-content: start;
    align-items: stretch;
}
.variations, .variations tbody, .variations tr, .variations th, .variations td{
    display: block;
    width: 100%;
    text-align: left;
}
.woocommerce-product-attributes th, .woocommerce-product-attributes td{
    text-align: left;
}
.woocommerce-product-attributes th{
    padding-right: 10px;
}
.woocommerce-product-attributes th:after{
    content: ":";
}
.variations tr{
    margin-bottom: 20px;
}
.variations th{
    font-weight: 400;
    font-size: 14px;
    text-align: left;
    line-height: 1.16;
    color: #241F1F;
    margin-bottom: 15px;
}
.attribute-value{
    text-transform: uppercase;
}
.reset_variations{
    display: block;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.16;
    color: #AD8D7C;
    margin-top: 10px;
}
.woocommerce-variation-availability{
    margin-bottom: 20px;
}

/* NOVE CUSTOM VARIJACIJE */
.variation-images-wrapper,
.variation-buttons-wrapper{
    display: flex;
    flex-flow: row wrap;
    justify-content: start;
    align-items: stretch;
    column-gap: 10px;
    row-gap: 5px;
}
.variation-image-item{
    max-width: 40px;
}
.variation-image-item.selected{
    border: 1px solid #241F1F;
}
.variation-image-item img{
    width: 100%;
    height: auto;
    aspect-ratio: 0.8;
    object-fit: cover;
}
.variation-button{
    min-width: 32px;
    height: 32px;
    border: 1px solid #E2E2E2;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    color: #241F1F;
}
.variation-button.selected{
    border: 1px solid #241F1F;
}

/*   T A B E L A   V E L I Č I N A   */
.size-guide-wrapper{
    display: block;
    width: 100%;
    margin-bottom: 40px;
}
#open-size-guide{
    display: flex;
    flex-flow: row nowrap;
    justify-content: start;
    align-items: center;
    column-gap: 10px;
}
#open-size-guide span{
    font-weight: 400;
    font-size: 12px;
    line-height: 100%;
    text-decoration: underline;
    text-underline-offset: 3px;
    color: #241F1F;
}
.size-guide-container{
    position: fixed;
    top: 0;
    right: -9999px;
    max-width: 470px;
    width: 100%;
    height: 100vh;
    background: white;
    padding: 20px 20px 80px;
    z-index: 400;
    transition: all 0.3s ease;
    overflow-y: auto;
}
.size-guide-container.visible{
    right: 0;
}
#close-size-guide{
    position: absolute;
    top: 20px;
    right: 20px;
}
.size-guide-heading{
    display: block;
    max-width: calc(100% - 20px);
    font-weight: 700;
    font-size: 20px;
    line-height: 1.3;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.size-guide-description{
    display: block;

    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
    color: #241F1F80;
    margin-bottom: 20px;
}
.size-guide-content h3{
    padding-top: 40px;
    border-top: 1px solid #00000080;
    margin-bottom: 30px;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.25;
}
.size-guide-content img{
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 40px;
}
.table-wrapper{
    overflow-x: auto;
}
.size-guide-table {
    width: 100%;
    border-collapse: collapse;
}
.size-guide-table th,
.size-guide-table td {
    border: 1px solid #7676801F;
    border-collapse: collapse;
    text-align: left;
}
.size-guide-table thead th{
    padding: 23px 18px;
    font-weight: 700;
    font-size: 12px;
    line-height: 1.16;
    background: #F2F2F2;
    width: 62px;
}
.size-guide-table thead th:not(:first-child),
.size-guide-table tbody td:not(:first-child){
    width: 62px;
}
.size-guide-table tbody td:first-child{
    padding: 18px 10px;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.16;
    color: #241F1F80;
    text-align: left;
}
.size-guide-table tbody td{
    padding: 18px 10px;
    font-weight: 400;
    font-size: 10px;
    line-height: 1.2;
    color: #241F1F80;
}
.size-guide-table thead th:not(:first-child),
.size-guide-table tbody td{
    text-align: center;
}

/*   A D D   T O   C A R T   */
.single_variation_wrap{
    width: 100%
}
.woocommerce-variation-add-to-cart{
    flex-flow: row wrap;
    justify-content: start;
    align-items: stretch;
}

.single_add_to_cart_button{
    background: #AD8D7C;
    color: white;
    flex-grow:1;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
    margin: 0 15px;
    min-width: 140px;
}
/* Stock */
.stock{
    font-weight: 400;
    text-transform: uppercase;
    font-size: 12px;
    margin: 10px 0;
    display: block;
}
/* wishlist */
.yith-add-to-wishlist-button-block{
    order: 99;
    margin: 0;
}
.yith-add-to-wishlist-button-block a{
    width: 43px;
    height: auto;
    aspect-ratio: 1;
    border: 1px solid #E2E2E2;
    justify-content: center!important;
}
.yith-add-to-wishlist-button-block a svg{
    width: 22px;
    height: 22px;
}
.yith-add-to-wishlist-button-block a svg path{
    stroke: #241F1F;
}
.yith-wcwl-add-to-wishlist-button__label{
    display: none;
}

/* Dodatne informacije */
.product-info{
    margin-top: 40px;
}
.product-info-item{
    display: grid;
    grid-template-columns: 43px minmax(0,1fr);
    grid-template-rows: auto;
    align-items: center;
    column-gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #E2E2E2;
}
.product-info-item:first-child{
    border-top: 1px solid #E2E2E2;
}
.product-info-item__image{
    width: 100%;
    padding: 12px 0;
    justify-self: center;
    border-right: 1px solid #E2E2E2;
}
.product-info-item__image img{
    max-width: 33px;
}
.product-info-item__text{
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: #241F1F80;
    max-width: 300px;
}
.product-info-item__text strong{
    display: block;
    color: #241F1F;
}

/*Iskombinu sa - crossell proizvod*/
.combine-with{
    margin-top: 40px;
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,38%);
    grid-template-rows: auto;
    column-gap: 20px;
    align-items: center;
}
.combine-with__image img{
    width: 100%;
    height: auto;
    aspect-ratio: 0.8;
    object-fit: cover;
    background: #DCCAC6;
}
.combine-with__heading{
    font-weight: 700;
    font-size: 20px;
    line-height: 1.2;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.combine-with__title{
    font-weight: 700;
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 10px;
}
.combine-with .price{
    padding: 0;
    border: 0;
    margin-bottom: 20px;
}
.combine-with .dafore-button{
    background: #241F1F;
    color: white;
}

/* Customer safety */
.customer-safety{
    margin-top: 20px;
    padding: 20px 20px;
    background: #F2F2F2;
}
.customer-safety p{
    font-weight: 400;
    font-size: 14px;
    line-height: 1.16;
    text-align: center;
    margin-bottom: 24px;
}
.customer-safety .card-item:not(:last-child){
    border: none;
}
/*   T A B O V I  */
.wc-tabs{
    list-style-type: none;
    margin: 120px 0 50px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: stretch;
    column-gap: 3%;
    border-bottom: 1px solid #E2E2E2;
}
.wc-tabs > li{
    padding: 0 0 25px;
    border-bottom: 1px solid #00000000;
    margin-bottom: -1px;
}
.wc-tabs > li a{
    font-weight: 700;
    font-size: 26px;
    line-height: 1.23;
    text-align: center;
    text-transform: uppercase;
    color: #241F1F80;
}
.wc-tabs > li.active{
    border-color: #241F1F;
}
.wc-tabs > li.active a{
    color: #241F1F;
}
.wc-tab{
    max-width: 79%;
    margin: 0 auto;
}
.wc-tab h2{
    color: #241F1F80;
    font-size: 22px;
    line-height: 1.23;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.wc-tab h3{
    color: #241F1F80;
    font-size: 18px;
    line-height: 1.23;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.wc-tab p, .wc-tab li{
    font-weight: 400;
    font-size: 14px;
    line-height: 1.21;
    color: #241F1F80;
}
.wc-tab ol, .wc-tab ul{
    padding-left: 20px;
}
/*  recenzije  */
.wc-tab p.woocommerce-noreviews {
    color: #AD8D7C;
    font-size: 18px;
    margin-bottom: 30px;
}
.comment-reply-title{
    display: block;
    font-size: 18px;
    margin-bottom: 20px;
}
.comment-form{
    max-width: 780px;
}
.comment-form-comment,
.comment-form-author,
.comment-form-email{
    display: flex;
    flex-flow: column nowrap;
    justify-content: start;
    margin-top: 20px;
}
.comment-form-cookies-consent{
    margin-top: 10px;
}
.comment-form-rating label,
.comment-form-comment label,
.comment-form-author label,
.comment-form-email label{
    display: block;
    font-size: 16px;
    color: #241F1F;
    margin-bottom: 8px;
}
.woocommerce-Reviews-title span{
    color: #241F1F;
    text-decoration: underline;
    white-space: nowrap;
}
.comment-notes{
    display: block;
    margin-bottom: 5px;
}
#reviews textarea,
.comment-form-author input,
.comment-form-email input{
    padding: 8px 20px;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.57;
    color: #241F1F;
    outline: none;
}
#reviews textarea::placeholder{
    opacity: 1;
    color: #241F1F80;
}
#reviews .submit{
    display: inline-block;
    padding: 12px 52px;
    border: 1px solid #241F1F;
    background: #241F1F;
    margin-top: 20px;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.25;
    text-align: center;
    color: white;
}
/*zvezdice*/
span[role="group"][aria-labelledby="comment-form-rating-label"]{
    --star-empty: url('../images/star-empty.svg');
    --star-full:  url('../images/star.svg');
    display:inline-flex;
    gap: 0;
}
span[role="group"][aria-labelledby="comment-form-rating-label"] a[role="radio"]{
    width:25px; height:24px; display:inline-block;
    background: var(--star-empty) no-repeat center/contain;
    text-indent:-9999px; white-space:nowrap; overflow:hidden;
    cursor:pointer; border-radius:4px; outline: none;
}
span[role="group"][aria-labelledby="comment-form-rating-label"]:hover a[role="radio"]{
    background-image: var(--star-full);
}
span[role="group"][aria-labelledby="comment-form-rating-label"] a[role="radio"]:hover ~ a{
    background-image: var(--star-empty);
}
span[role="group"][aria-labelledby="comment-form-rating-label"]:has(a[role="radio"][aria-checked="true"]) a[role="radio"]{
    background-image: var(--star-full);
}
span[role="group"][aria-labelledby="comment-form-rating-label"]:has(a[role="radio"][aria-checked="true"])
a[role="radio"][aria-checked="true"] ~ a{
    background-image: var(--star-empty);
}
span[role="group"][aria-labelledby="comment-form-rating-label"] a[role="radio"]:focus-visible{
    outline:2px solid #241F1F; outline-offset:2px;
}
.star-rating::before,
.star-rating span::before{
    content:'' !important;
}
.star-rating{
    --star-empty: url('../images/star-empty.svg');;
    --star-full:  url('../images/star.svg');
    --star-size:  25px;
    --star-size-h:  24px;

    position: relative;
    display: inline-block;
    width:  calc(var(--star-size) * 5);
    height: var(--star-size-h);
    line-height: 0;
    background-image: var(--star-empty);
    background-position: left center;
    background-size: var(--star-size) var(--star-size-h);
    background-repeat: repeat-x;
    overflow: hidden;
}
.star-rating > span{
    position: absolute;
    top: 0; left: 0; height: 100%;
    display: block;
    background-image: var(--star-full);
    background-position: left center;
    background-size: var(--star-size) var(--star-size-h);
    background-repeat: repeat-x;
    text-indent: -9999px;
    white-space: nowrap;
    overflow: hidden;
}
.wc-tab ol.commentlist{
    list-style-type: none;
    margin: 30px 0;
    padding: 0;
}
.wc-tab ol.commentlist li:not(:last-child){
    margin-bottom: 30px;
}
.comment_container{
    display: grid;
    grid-template-columns: minmax(0,80px) minmax(0,1fr);
    grid-template-rows: auto;
    align-items: start;
    column-gap: 20px;
}
.comment_container img{
    width: 100%;
    height: auto;
}
.comment-text{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    column-gap: 20px;
    row-gap: 15px;
}
.comment-text .description{
    width: 100%;
}
.comment-text .description p{
    font-size: 16px;
}
.comment-text .meta{
    color: #241F1F;
}
.related{
    margin-top: 120px;
}
.related > h2{
    font-weight: 700;
    font-size: 30px;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 25px;
}
.related ul{
    padding: 0;
    margin: 0;
}
@media(max-width: 1024px){
    .site-main .container{
        padding: 20px 20px 80px;
    }
    #main-carousel{
        max-width: calc(100% - 70px);
    }
    #thumbnail-carousel{
        max-width: 50px;
    }
    /*   T A B O V I  */
    .wc-tabs{
        margin: 80px 0 50px;
        column-gap: 20px;
    }
    .wc-tabs li a{
        font-size: 20px;
    }
    .wc-tab{
        max-width: 800px;
    }
    .wc-tab h2{
        font-size: 18px;
    }
    .wc-tab h3{
        font-size: 16px;
    }
}
@media(max-width: 767px){
    .site-main .container{
        padding: 12px 20px 60px;
    }
    div.product{
        grid-template-columns: minmax(0,1fr);
    }
    div.product > *{
        grid-column: span 1 !important;
    }
    .woo-variation-product-gallery{
        order: -1;
    }
    .woo-variation-gallery-thumbnail-slider{
        display: none !important;
    }
    #breadcrumbs{
        margin: 10px 0 15px;
    }
    .summary{
        max-width: 100%;
    }
    .summary > .price {
        padding-bottom: 10px;
        font-size: 26px;
    }
    .customer-safety p{
        font-size: 12px;
    }
    .woocommerce-product-attributes th{
        font-size: 14px;
    }
    .wc-tabs{
        margin: 60px 0 0;
        column-gap: 20px;
        flex-flow: column nowrap;
        justify-content: start;
        align-items: stretch;
        border-bottom: none;
    }
    .wc-tabs > li{
        padding: 0;
        border: none;
        margin-bottom: 10px;
    }
    .wc-tabs > li a{
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-between;
        align-items: center;
        column-gap: 10px;
        font-size: 20px;
        color: #241F1F;
        padding: 0 0 10px;
        border-bottom: 1px solid #E2E2E2 !important;
    }
    .wc-tabs > li a:after{
        content: url("../images/carret.svg");
        display: inline-block;
    }
    .tab-panel-placeholder{
        display: none;
    }
    .wc-tab{
        padding: 40px 0;
    }
    .wc-tab ul{
        list-style-type: disc;
        margin-bottom: 20px;
    }
    .wc-tab p:not(:last-child){
        margin-bottom: 20px;
    }
    .wc-tabs > li:last-child .wc-tab{
        padding-bottom: 0;
    }
    /*   A D D   T O   C A R T   */
    .single_add_to_cart_button{
        background: #241F1F;
        color: white;
    }
    /* Dodatne informacije */
    .product-info{
        margin-top: 30px;
    }
    /*Iskombinu sa - crossell proizvod*/
    .combine-with{
        margin-top: 20px;
        grid-template-columns: repeat(2, minmax(0,1fr));
        column-gap: 30px;
        max-width: 450px;
    }
    .combine-with__heading{
        font-size: 18px;
    }
    .combine-with__title{
        font-size: 14px;
    }
    .combine-with .price{
        font-size: 20px;
        padding: 0;
    }
    .combine-with .dafore-button{
        padding: 12px;
        width: 100%;
        max-width: 160px;
    }
    /* Customer safety */
    .customer-safety{
        padding: 20px 32px;
    }
    .customer-safety p{
        margin-bottom: 15px;
    }
}
@media(max-width: 576px){
    .related{
        margin-top: 80px;
    }
    .related > h2{
        font-size: 26px;
        text-align: left;
        margin-bottom: 20px;
    }
    /*  recenzije  */
    .wc-tab p.woocommerce-noreviews {
        font-size: 16px;
        margin-bottom: 20px;
    }
    .comment-reply-title{
        font-size: 16px;
    }
    .woocommerce-Reviews-title{
        font-size: 16px !important;
    }
    span[role="group"][aria-labelledby="comment-form-rating-label"] a[role="radio"]{
        width:20px; height:19px; display:inline-block;
    }
    .star-rating{
        --star-size:  20px;
        --star-size-h:  19px;
    }
    .wc-tab ol.commentlist li:not(:last-child){
        margin-bottom: 20px;
    }
    #reviews textarea{
        max-height: 120px;
    }
    .comment_container{
        grid-template-columns: minmax(0,50px) minmax(0,1fr);
    }
    .comment-form-author,
    .comment-form-email{
        margin-top: 10px;
    }
    .comment-text{
        column-gap: 10px;
        row-gap: 15px;
    }
    .comment-text .description p{
        font-size: 14px;
    }
    .size-guide-content{
        overflow: auto;
    }
    .size-guide-content h3{
        padding-top: 30px;
    }
    .size-guide-content img{
        margin-bottom: 30px;
    }
    .size-guide-table th:first-child,
    .size-guide-table td:first-child {
        position: sticky;
        left: 0;
        z-index: 2;
    }
    .size-guide-table td:first-child{
        background: #fff;
    }
}