@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap");


.productpage{
    padding: 50px 0;
    background: #F7F7F7;
}
.productcard{
    background: #fff;
    border: 1px solid #e0e2e6;
    overflow: hidden;
}
.productcard-left{
    max-height: none;
    overflow: visible;
}
.productcard-right p.category{
    font-size: 14px;
    color: #878e99;
    font-family: 'Switzer-Light';
}
.productcard-right .p-short-des{
    font-size: 14px;
    color: #657283;
    font-family: 'Switzer-Regular';
}

.productcard .prod-slider .popup{
    border: 0 !important;
    display:block;
    width:100%;
    height:100%;
}
#prod-pager{
    display:flex;
    flex-direction:column;
    gap:12px;
    width:100%;
    padding:0 10px;
}

#prod-pager a{
    display:block;
    width:100%;
    text-decoration:none;
    flex:0 0 auto;
}

.prod-pager-thumb{
    width:100%;
    aspect-ratio:1/1.32;
    min-height:82px;
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    border:1px solid #eceff0;
    background-color:#f7f7f7;
}
.discount-badge{
    padding: 3px 10px;
    background-color: #f00;
    font-weight: 600;
    font-family: 'Inter';
    font-size: 14px;
    color: #fff;
    margin-left: 15px;
}

.productviews{
    display:flex;
    align-items:center;
    gap:8px;

    color:#6b7280;

    font-size:15px;
    font-weight:500;
}

.productviews svg{
    opacity:.8;
}


.product-meta-row{
    display:flex;
    align-items:center;
    justify-content:space-between;

    width:100%;

    margin-bottom:10px;

}

.productviews,
.product-rating-summary{
    display:flex;
    align-items:center;
    gap:8px;
}

.product-rating-summary{
    display:flex;
    align-items:center;
    gap:12px;
    flex-direction: flex-end;
    margin-top:0 !important;
}

.rating-stars{
    display:flex;
    align-items:center;
    gap:4px;
}

.rating-stars .star{
    width:18px;
    height:18px;

    color:#d1d5db;
}

.rating-stars .star.filled{
    color:#fbbf24;
}



.review-section{
    margin-top:60px;
}

.review-title{
    font-size:24px;
    font-weight:700;
    margin-bottom:25px;
}

.review-form{
    display:flex;
    flex-direction:column;
    gap:16px;
    margin-bottom:40px;
}

.review-form textarea{
    width:100%;
    border:1px solid #e5e7eb;
    border-radius:0;
    padding:14px;
}

.review-form textarea{
    height:120px;
    resize:none;
    font-size: 16px;
}

.review-form button{
    width:fit-content;
    height:45px;
    padding:0 24px;
    font-size: 16px;
    border:none;
    border-radius:0;

    background:#111;
    color:#fff;

    font-weight:400;
}

.review-card{
    padding:15px 15px 5px;
    border:1px solid #ececec;
    border-radius:0;
    margin-bottom:18px;
}

.review-user{
    display:flex;
    align-items:center;
    gap:14px;
}

.review-user img{
    width:44px;
    height:44px;
    border-radius:50%;
    object-fit:cover;
}

.review-stars{
    color:#fbbf24;
    font-size: 26px;
    letter-spacing: -2px;
    margin-top:-15px;

}

.review-comment{
    margin-top:16px;
    font-size: 14px;
    color:#4b5563;
}
.rating-wrapper{
    display:flex;
    align-items:center;
    gap:14px;

    margin-bottom:10px;
}

.rating-label{
    font-size:17px;
    font-weight:600;
    color:#111;
}

.rating-select{
    display:flex;
    flex-direction:row-reverse;
    justify-content:flex-end;
    gap:4px;
}

.rating-select input{
    display:none;
}

.rating-select label{
    font-size:34px;
    line-height:1;

    color:#d1d5db;

    cursor:pointer;

    transition:.2s ease;
}

.rating-select label:hover,
.rating-select label:hover ~ label{
    color:#fbbf24;
}

.rating-select input:checked ~ label{
    color:#fbbf24;
}

.ribbon {
    width: 140px;
    height: 40px;
    background-color: #f00;
    color: #fff;
    text-align: center;
    line-height: 40px;
    font-family: "Switzer-Regular";
    font-size: 16px;
    position: absolute;
    top: 15px;
    left: -35px;
    transform: rotate(-45deg);
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    z-index: 10;
}
.discountbadge{
    width: 140px;
    height: 40px;
    background-color: rgb(0, 0, 0);
    color: #fff;
    text-align: center;
    line-height: 40px;
    font-family: "Switzer-Regular";
    font-size: 16px;
    position: absolute;
    z-index: 11;
    top: 15px;
    right: 0;
}
.product-wrapper {
    position: relative; /* za pozicioniranje trakice preko slike */
    overflow: hidden;
}

.color-options {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.color-radio input{
    display:none;
}

.color-circle{
    width:34px;
    height:34px;
    border-radius:50%;
    display:block;

    background:#fff;
    border:3px solid var(--color-border);

    cursor:pointer;
    transition:.25s ease;
}

.color-radio input:checked + .color-circle{
    background:var(--color-bg);
    transform:scale(1.08);

}

.color-radio:hover .color-circle{
    transform:scale(1.03);
}

.productcard-right{
    max-height: 800px; /* ili koliko želiš */
    overflow-y: auto;
    background: #fff;
}
@media only screen and (max-width: 768px) {
    .productcard-right {
        max-height: none !important;
        overflow: visible !important;
        height: auto !important;
    }
    .bottominfotext{
        font-size: 12px !important;
    }
    .bx-wrapper,
.bx-wrapper .bx-viewport{
    border:none !important;
    box-shadow:none !important;
    background:transparent !important;
    left:0 !important;
}
    
}
.productcard-right .p-quantity {
  font-weight: 600;
  font-family: "Inter", sans-serif;
  line-height: 30px;
  margin-bottom: 35px;
  font-size: 14px;
}

.productcard-right .p-quantity input[type="number"] {
  height: 30px;
  width: 100px;
  border: 2px solid #c7c7c7;
  padding-left: 5px;
}

.btn-addtocart {
    position: relative;
    width: 100%;
    padding: 15px 0;
    background: #000;
    border: 0;
    outline: 0;
    color: #fff;
    font-size: 15px;
}

.btn-addtocart.loading {
    pointer-events: none;
    opacity: .85;
}

.btn-addtocart .btn-loader {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .7s linear infinite;
    margin-left: 10px;
}

.btn-addtocart.loading .btn-loader {
    display: inline-block;
}

.btn-addtocart.loading .btn-text {
    opacity: .8;
    color: #fff;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
.btn-addtocart:hover{
    opacity: 0.5;
}
.btn-addtofav{
    width: 50px;
    height: 45px;
    background-color: #f5f4f4;
    border-radius: 150px;
    border: 1px solid #878e99;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.btn-addtofav:hover{
    border: 1px solid #878e995b;
    color: rgb(233, 60, 60);
}

.productcard-right .accordion-item {
    border: none;
    border-bottom: 1px solid #e0e0e0;
}

.productcard-right .accordion-button {
    padding: 20px 0;
    font-weight: 600;
    color: #333;
    background-color: transparent;
}
.productcard-right .accordion-header button{
    font-size: 16px;
    font-family: "Inter", sans-serif;
}
.productcard-right .accordion-button:not(.collapsed) {
    color: #333;
    background-color: transparent;
    box-shadow: none;
}

.productcard-right .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.productcard-right .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.productcard-right .accordion-body {
    padding: 0 0 20px 0;
    font-size: 15px !important;
    text-decoration: none!;
}


.bottominfoitem{
    background: #f1f3f3;
    border: 2px solid #c6cbd3;
    padding: 6px 0 10px;

    display: flex;
    flex-direction: column;
    align-items: center;
}
.bottominfotitle{
    font-size: 16px;
    font-family: 'Switzer-Medium';
}
.bottominfotext{
    line-height: 0.6;
    font-size: 14px;
    font-family: 'Switzer-Regular';
    color: #657283;
    text-align: center;
    white-space: nowrap;
}

/* =========================================
   RESPONSIVE PRODUCT GALLERY FIX
   - mobile featured image visible fully
   - thumbnails fit column / horizontal on mobile
   - breadcrumb wraps cleanly
========================================= */

.product-breadcrumb ul{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:7px;
    padding:0;
    margin:0;
    list-style:none;
    min-width:0;
}

.product-breadcrumb li{
    min-width:0;
    font-size:14px;
    line-height:1.5;
}

.product-breadcrumb a{
    color:inherit;
    text-decoration:none;
}

.product-gallery-row{
    align-items:stretch;
}

.product-gallery-main,
.product-wrapper,
.prod-slider,
.prod-slider li,
.bx-wrapper,
.bx-wrapper .bx-viewport{
    min-width:0;
}

.product-wrapper{
    width:100%;
    height:100%;
    background:#fff;
}

.prod-slider{
    margin:0 !important;
    padding:0 !important;
}

.prod-slider li{
    width:100%;
    min-height:620px;
    background-size:contain !important;
    background-repeat:no-repeat !important;
    background-position:center center !important;
    background-color:#fff;
}

.bx-wrapper,
.bx-wrapper .bx-viewport{
    border:0 !important;
    box-shadow:none !important;
    background:transparent !important;
    left:0 !important;
    margin:0 !important;
}

.bx-wrapper img{
    max-width:100%;
}

@media only screen and (max-width: 991px){

    .productpage{
        padding:20px 0 35px;
    }

    .poroductcard-header{
        --bs-gutter-x:0;
        padding-left:14px;
        padding-right:14px;
    }

    .product-breadcrumb{
        margin-bottom:12px;
        overflow:hidden;
    }

    .product-breadcrumb ul{
        gap:5px 7px;
    }

    .product-breadcrumb li{
        font-size:12px;
        color:#6b7280;
        white-space:nowrap;
    }

    .product-breadcrumb li:last-child{
        flex-basis:100%;
        color:#111;
        font-weight:700;
        overflow:hidden;
        text-overflow:ellipsis;
        white-space:nowrap;
        margin-top:2px;
    }

    .product-breadcrumb br{
        display:none !important;
    }

    .productcard{
        border:0;
        border-radius:0;
    }

    .productcard-left{
        max-height:none !important;
        overflow:visible !important;
    }

    .product-gallery-main{
        width:100%;
    }

    .product-wrapper{
        overflow:visible;
    }

    .prod-slider li{
        min-height:auto;
        height:auto !important;
        aspect-ratio: 4 / 5;
        background-size:contain !important;
        background-repeat:no-repeat !important;
        background-position:center center !important;
        background-color:#fff;
    }

    .productcard .prod-slider .popup{
        border:0 !important;
    }

    .product-gallery-thumbs{
        margin-top:10px;
        padding:0 !important;
    }

    #prod-pager.product-thumbs-wrapper{
        flex-direction:row !important;
        gap:10px;
        overflow-x:auto;
        overflow-y:hidden;
        padding:0 14px 10px;
        -webkit-overflow-scrolling:touch;
        scrollbar-width:none;
    }

    #prod-pager.product-thumbs-wrapper::-webkit-scrollbar{
        display:none;
    }

    #prod-pager.product-thumbs-wrapper a{
        width:auto;
        flex:0 0 auto;
    }

    .prod-pager-thumb{
        width:62px;
        height:82px;
        min-height:82px;
        aspect-ratio:auto;
        border-radius:14px;
        background-size:cover;
        background-position:center;
    }

    .productcard-right{
        padding-left:18px !important;
        padding-right:18px !important;
    }

    .product-meta-row{
        gap:12px;
        flex-wrap:wrap;
    }

    .prices-wrapper{
        display:flex;
        align-items:center;
        flex-wrap:wrap;
        gap:8px 12px;
    }

    .discount-badge{
        margin-left:0;
    }
}

@media only screen and (max-width: 576px){

    .productpage{
        padding-top:12px;
    }

    .prod-slider li{
        aspect-ratio: 1 / 1.28;
        background-size:contain !important;
    }

    .prod-pager-thumb{
        width:56px;
        height:74px;
        min-height:74px;
        border-radius:12px;
    }

    .ribbon{
        width:120px;
        height:34px;
        line-height:34px;
        font-size:13px;
        top:13px;
        left:-32px;
    }

    .discountbadge{
        width:auto;
        min-width:112px;
        height:34px;
        line-height:34px;
        font-size:13px;
        padding:0 10px;
    }

    .productcard-right .p-title h2,
    .p-title h2{
        font-size:22px;
        line-height:1.25;
    }

    .bottominfos .row{
        --bs-gutter-x:6px;
    }

    .bottominfoitem{
        padding:8px 4px 10px;
    }

    .bottominfotitle{
        font-size:13px;
    }

    .bottominfotext{
        font-size:11px !important;
        line-height:1.2;
        white-space:normal;
    }
}
.mini-cart-popup{
    position:fixed;
    left:50%;
    bottom:30px;

    transform:translateX(-50%);

    z-index:999999;

    opacity:0;
    visibility:hidden;

    transition:.22s ease;
}

.mini-cart-popup.active{
    opacity:1;
    visibility:visible;
    bottom:42px;
}

.mini-cart-popup-box{
    display:flex;
    align-items:center;
    gap:14px;

    min-width:320px;
    max-width:92vw;

    padding:16px 18px;

    border-radius:22px;

    background:rgba(255,255,255,.82);

    backdrop-filter:blur(18px);

    box-shadow:
        0 20px 50px rgba(0,0,0,.14),
        inset 0 1px 0 rgba(255,255,255,.65);
}

.mini-cart-popup-icon{
    width:42px;
    height:42px;

    border-radius:50%;

    background:#fee2e2;
    color:#b91c1c;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:22px;
    font-weight:900;

    flex-shrink:0;
}

.mini-cart-popup-content h4{
    margin:0;
    color:#111;
    font-size:15px;
    font-weight:800;
}

.mini-cart-popup-content p{
    margin:2px 0 0;
    color:#6b7280;
    font-size:13px;
    line-height:1.5;
}

@media(max-width:768px){

    .mini-cart-popup{
        left:16px;
        right:16px;
        bottom:20px;

        transform:none;
    }

    .mini-cart-popup.active{
        bottom:32px;
    }

    .mini-cart-popup-box{
        min-width:auto;
        width:100%;
        border-radius:20px;
    }

}