.bambox {
    width: 1240px;
    margin: 24px auto 80px;
    font-family: Arial, Helvetica, sans-serif;
    color: #292828;
}

.bambox .bambox__titlebar {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.bambox .bambox__subtitle{
    font-size: 18px;
    margin-bottom: 20px;
    width: 65%;
}
.bambox .bambox__subtitle ul{
    list-style: none;
    padding: 0px;
    margin-top: 5px;
}

.bambox .bambox__subtitle ul li{
    font-weight: 600;
    font-size: 16px;
}

.bambox .bambox__subtitle ul li img{
    width: 20px;
}

.bambox .bambox__title-icon {

}

.bambox .bambox__title {
    margin: 0px;
    font-size: 36px;
    line-height: 48px;
    font-weight: 600;
    color: #292828;
}

/* ===== LAYOUT ===== */
.bambox .bambox__layout {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
}

.bambox .bambox__catalog {
    width: 608px;
    background: #F6F5F5;
    border: 1px solid #EAE8E3;
    border-radius: 16px;
    padding: 24px;
}

.bambox__summary {
    width: 608px;
    background: #FFFFFF;
    border: 1px solid #EAE8E3;
    border-radius: 16px;
    padding: 24px;
}

/* ===== STEP ===== */
.bambox .bambox__step {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    height: 36px;
    margin-bottom: 24px;
}

.bambox .bambox__step-num {
    width: 36px;
    height: 36px;
    background: #5E5F5F;
    color: #FFFFFF;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.01em;
}

.bambox .bambox__step-text {
    font-weight: 600;
    font-size: 20px;
    line-height: 26px;
    color: #3D3D3D;
}

/* ===== SEARCH ===== */
.bambox .bambox__search {
    width: 100%;
    margin-bottom: 16px;
}

.bambox .bambox__search img {
    margin-bottom: -75px;
    z-index: 1;
    position: relative;
    margin-left: 10px;
}

.bambox .bambox__search input {
    height: 56px;
    width: 100%;
    padding: 0 20px;
    padding-left: 40px;
    border-radius: 12px;
    border: 1px solid #D8D8D8;
}

/* ===== CATEGORIES ===== */
.bambox .bambox__cats {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    margin-top: 16px;
}

.bambox .bambox__cats-label {
    font-weight: 600;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0.02em;
    color: #292828;
}

.bambox .bambox__cats-row {
}

.bambox .bambox__chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 16px;
    height: 36px;
    border: 1px solid #BFAA7D;
    border-radius: 1000px;
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    color: #BFAA7D;
    background: #FFFFFF;
    white-space: nowrap;
    flex: 0 0 auto;
    cursor: pointer;
    margin-bottom: 7px;
}

.bambox .bambox__chip:hover {
    opacity: 0.7;
}

.bambox .bambox__chip.is-active {
    color: #FFFFFF;
    background: #BFAA7D;
    border-color: #BFAA7D;
}

/*.bambox .bambox__chip--fill {
    color: #FFFFFF;
    background: #BFAA7D;
    border-color: #BFAA7D;
}*/
/* ===== FILTERS ===== */
.bambox .bambox__filters {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    width: fit-content;
    height: 16px;
    margin-top: 12px;
    margin-bottom: 12px;
}

.bambox .bambox__filters-title {
    font-weight: 600;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0.02em;
    color: #292828;
}

.bambox .bambox__filters-caret {
    /* width: 16px; */
    /* height: 16px; */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== GRID (LEVI PANEL) ===== */
.bambox .bambox__grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    width: 560px;
    width: 100%;
    justify-content: flex-start;
    align-items: center;
}

.bambox .bambox__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 241px;
    flex: 0 0 32%;
    cursor: pointer;
}

.bambox .bambox__card-img {
    width: 160px;
    height: 160px;
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid #EAE8E3;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bambox .bambox__card-img .btn-info-more {
    border: none;
    background: none;
    position: absolute;
    top: 10px;
    right: 10px;
    outline: none !important;
    box-shadow: none !important;
}

.bambox .bambox__card-img .btn-info-more:focus, .bambox .bambox__card-img .btn-info-more:active {
    outline: none !important;
    box-shadow: none !important;
}

.bambox .bambox__card-img .btn-info-more img {
    background-color: #ffffff;
    border-radius: 50%;
}

.bambox .bambox__card-img .add-to-cart {
    width: 36px;
    height: 36px;
    position: absolute;
    bottom: 10px;
    right: 10px;
    border: 1px solid #EAE8E3;
    background-color: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bambox .bambox__card-img .add-to-cart:hover{
    background-color: #eae8e4;
}

.bambox .bambox__card-img .add-to-cart img {
}

.bambox .bambox__card-img .add-to-cart-done {
    width: 36px;
    height: 36px;
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: #85B023;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bambox .bambox__card-img .add-to-cart-done img {
}

.bambox .bambox__card-img .already-in-box {
    width: 36px;
    height: 36px;
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: #85B023;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bambox .bambox__card-title {
    /*    width: 160px;*/
    padding: 8px 4px;
    /*    font-weight: 700;*/
    font-size: 16px;
    line-height: 100%;
    color: #292828;
}

.bambox .bambox__card-price {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 0px 4px;
}

.bambox .bambox__price-old {
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    text-decoration: line-through;
    color: #5E5F5F;
}

.bambox .bambox__price-new {
    font-weight: 700;
    font-size: 16px;
    line-height: 19px;
    color: #292828;
}

.bambox .bambox__card-cta {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid #EAE8E3;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
}

.bambox .bambox__card-cta--green {
    border: 0px;
    background: #85B023;
    color: #FFFFFF;
}

/* ===== SUMMARY HEAD ===== */
.bambox__sum-head {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 36px 24px;
    border: 1px solid #EAE8E3;
    border-radius: 16px 16px 0px 0px;
    position: relative;
    overflow: hidden;
    width: 560px;
}

.bambox__sum-avatar {
    width: 64px;
    height: 64px;
    background: #F7F4ED;
    border-radius: 32px;
    display: none;
}

.bambox__sum-texts {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1 0 auto;
}

.bambox__sum-title {
    font-weight: 700;
    font-size: 22px;
    line-height: 28px;
    color: #292828;
}

.bambox__sum-sub {
    font-weight: 300;
    font-size: 18px;
    line-height: 100%;
    display: none;
}

.bambox__sum-pricewrap {
    display: flex;
    align-items: center;
    gap: 9px;
}

.bambox__sum-price-old {
    font-weight: 600;
    font-size: 18px;
    line-height: 14px;
    color: #999999;
    text-decoration: line-through;
}

.bambox__sum-price-new {
    font-weight: 800;
    font-size: 32px;
    line-height: 32px;
    color: #292828;
}

.bambox__sum-badge {
    position: absolute;
    right: 0;
    top: 0;
    height: 32px;
    padding: 4px 10px;
    background: #205F32;
    color: #FFFFFF;
    font-weight: 800;
    font-size: 16px;
    line-height: 24px;
    border-bottom-left-radius: 10px;
}

/* ===== SUMMARY DISCOUNT + SKALA + DARILA ===== */
.bambox__sum-discount {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 560px;
    padding: 20px 24px;
    border: 1px solid #EAE8E3;
    border-top: 0px;
    border-radius: 0px 0px 16px 16px;
}

.bambox__sum-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.bambox__sum-msg {
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    color: #292828;
}

.bambox__sum-pill {
    padding: 6px 12px;
    background: #C9B07F;
    color: #FFFFFF;
    font-weight: 800;
    font-size: 14px;
    line-height: 18px;
    border-bottom-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* ===== CTA ===== */
.bambox__cta {
    width: 560px;
    height: 44px;
    border: 0px;
    border-radius: 8px;
    background: #7FB13A;
    color: #FFFFFF;
    font-weight: 800;
    font-size: 14px;
    line-height: 14px;
    cursor: pointer;
    transition: .3s;
}

.bambox__cta--block {
    margin-top: 16px;
    margin-bottom: 5px;
}

.bambox__cta:hover {
    opacity: 0.7;
}

/* ===== SLOTS (3 v vrsti) ===== */
.bambox__slots {
    width: 560px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-start;
    max-width: 100%;
    padding-top: 20px;
}

.bambox__slot {
    width: 176px;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    border: none;
    justify-content: center;
}


.bambox__slot--empty {
    justify-content: flex-start;
    background-image: url('../images/box/empty-frame.png');
    height: 160px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.bambox__slot-x {
    position: absolute;
    right: 10px;
    top: 7px;
    width: 15px;
    height: 15px;
    z-index: 2;
    border: none;
    background: none;
}

.bambox__slot-x img {
}

.bambox__slot-thumb {
    width: 100%;
    height: 160px;
    border-radius: 12px;
    margin-bottom: 10px;
    border: 1px solid #EAE8E3;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.bambox__slot-thumb img {
    height: 113px;
    width: auto;
    object-fit: contain;
}

.bambox__slot-thumb img.gift-img {
    width: 61px;
    position: absolute;
    right: -10px;
    top: -15px;
    height: 60px;
}

.bambox__slot-title {
    /* width: 152px; */
    /*    font-weight: 700;*/
    font-size: 16px;
    color: #292828;
    margin-bottom: 4px;
    text-align: left;
    line-height: 100%;
    width: 100%;
}

.bambox__slot-sub {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 10px;
    text-align: left;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bambox__slot-qty {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    position: absolute;
    background-color: #ffffff;
    bottom: 12px;
    border: 1px solid #DDDDDD;
    height: 36px;
    border-radius: 8px;
    width: 123px;
    text-align: center;
}

.bambox__slot-btn {
    width: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    color: #6D6D6D;
    border: none;
}

.bambox__slot-num {
    width: 35px;
    text-align: center;
    font-weight: 700;
    color: #292828;
}

.bambox__card-img .main-img {
    height: 92px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.loader-upsell {
    border: 4px solid #f3f3f3;
    /* siva podlaga */
    border-top: 4px solid #d8b588;
    border-radius: 50%;
    /* krog */
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
    /* center horizontalno */
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.upsell-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.upsell-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.5);
}

.upsell-modal-content {
    position: relative;
    background: #fff;
    border-radius: 12px;
    max-width: 712px;
    width: 90%;
    max-height: 90%;
    overflow-y: auto;
    padding: 24px;
    z-index: 10001;
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
    animation: fadeInUp .25s ease;
}

.upsell-modal-close {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 22px;
    border: none;
    background: transparent;
    cursor: pointer;
    background-color: #3E291073;
    width: 24px;
    color: #ffffff;
    border-radius: 50%;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.upsell-modal-close:hover {
    cursor: pointer;
}

@keyframes fadeInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-product-info {
    background-color: #F6F5F5;
    border-radius: 16px;
    overflow: hidden;
    padding: 20px;
    border: 1px solid #EAE8E3;
}

/* Galerija: horizontalni drsnik (sistemski skrijemo) */
.modal-product-info .gallery {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* Firefox: skrij */
    -ms-overflow-style: none;
    /* stari IE/Edge */
    padding-bottom: 8px;
    /* malo prostora za naÃƒâ€¦Ã‚Â¡o ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œtirnicoÃƒÂ¢Ã¢â€šÂ¬Ã‚Â spodaj */
}

.modal-product-info .gallery::-webkit-scrollbar {
    display: none;
}

/* Vedno viden custom scrollbar (tirnica) */
.modal-product-info .gallery-scrollbar {
    position: relative;
    height: 8px;
    background: #f1f1f1;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 6px;
    /* odmik od galerije */
}

/* Palica (thumb), ki se premika */
.modal-product-info .gallery-scrollbar__thumb {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 40px;
    /* bo nadomeÃƒâ€¦Ã‚Â¡Ãƒâ€žÃ‚Âeno dinamiÃƒâ€žÃ‚Âno */
    background: #BFAA7D;
    border-radius: 4px;
    transition: left 0.05s linear, width 0.1s ease;
    /* gladko */
}

/* Slikam prepreÃƒâ€žÃ‚Âimo krÃƒâ€žÃ‚Âenje */
.modal-product-info .gallery img {
    flex-shrink: 0;
    width: 120px;
    /* po Ãƒâ€¦Ã‚Â¾elji */
    height: auto;
    border-radius: 6px;
    object-fit: cover;
}

/* --- Slike v vrstici --- */
.modal-product-info .gallery img {
    flex-shrink: 0;
    width: 120px;
    /* ali kolikor Ãƒâ€¦Ã‚Â¾eliÃƒâ€¦Ã‚Â¡ */
    height: auto;
    border-radius: 6px;
    object-fit: cover;
    cursor: pointer;
}

.modal-product-info .gallery img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 13px;
    flex: 0 0 30%;
}

.modal-product-info .content {
}

.modal-product-info .content h3 {
    font-size: 36px;
    font-family: 'Playfair Display', serif;
    margin-top: 10px;
    margin-bottom: 10px;
}

.modal-product-info .content .ratings {
    display: inline-block;
}

.modal-product-info .content .ratings li {
    margin-right: 4px;
}

.modal-product-info .content .ratings img {
    width: 15px;
    filter: invert(88%) sepia(22%) saturate(677%) hue-rotate(341deg) brightness(82%) contrast(90%);
}

.modal-product-info .content .grades {
    text-decoration: underline;
    font-size: 14px;
}

.modal-product-info .content .price {
    font-size: 32px;
    font-weight: 700;
    display: flex;
    align-items: center;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
}

.modal-product-info .content .price .tax {
    font-size: 14px;
    margin-left: 10px;
}

.modal-product-info .content .price .per_kg {
    font-size: 14px;
    font-weight: 400;
    margin-left: 10px;
}

.modal-product-info .content .short {
    font-size: 16px;
    margin-bottom: 20px;
}

.modal-product-info .content .upsell-add-btn {
    height: 56px;
    font-size: 18px;
    text-transform: uppercase;
    padding: 0 40px;
}

/* --- Skeleton za BAMBox summary --- */
.bambox__summary.is-loading {
    position: relative;
    --skel-bg: #ececec;
    --skel-shine: rgba(255,255,255,.6);
    --skel-radius: 8px;
    --skel-minh: 16px;
    opacity: 0.9;
    pointer-events: none;
}

.bambox__summary.is-loading [data-skel] {
    position: relative;
    color: transparent !important;
    background: var(--skel-bg);
    border-radius: var(--skel-radius);
    min-height: var(--skel-minh);
    display: inline-block;
}

#sumOld[data-skel] {
    min-width: 80px;
    min-height: 20px;
}

#sumNew[data-skel] {
    min-width: 90px;
    min-height: 28px;
}

#sumBadge[data-skel] {
    min-width: 56px;
    min-height: 28px;
}

#nextPill[data-skel] {
    min-width: 120px;
    min-height: 32px;
}

#needValue[data-skel] {
    min-width: 64px;
}

/* shimmer efekt */
.bambox__summary.is-loading [data-skel]::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, var(--skel-shine), transparent);
    animation: bambox-shimmer 1.1s infinite;
}

@keyframes bambox-shimmer {
    100% {
        transform: translateX(100%);
    }
}

.bambox__slot-num {
    width: 36px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 600;
    font-size: 14px;
    color: #0A0A0A;
    appearance: textfield;
}

.bambox__slot-num::-webkit-outer-spin-button, .bambox__slot-num::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.bambox__sum-scale {
    position: relative;
}

.bambox__sum-gifts {
    position: absolute;
    left: 0;
    right: 0;
    top: 55%;
    height: 0;
    transform: translateY(-50%);
    pointer-events: none;
    /* kliki gredo skozi */
    z-index: 3;
}

/* === SCALE (enotna os za caps/track/gifts) === */
.bambox .bambox__sum-scale {
    position: relative;
    height: 82px;
    --pad: 0px;
    --track-top: 38px;
}

.bambox .bambox__sum-scale-caps {
    position: absolute;
    left: var(--pad);
    right: var(--pad);
    top: 0;
    display: flex;
    justify-content: space-between;
    font-weight: 800;
    font-size: 14px;
    line-height: 18px;
    color: #7E6A42;
}

.bambox .bambox__sum-scale-track {
    position: absolute;
    left: var(--pad);
    right: var(--pad);
    top: var(--track-top);
    height: 16px;
    background: #EAE8E3;
    border-radius: 100px;
    overflow: hidden;
}

.bambox .bambox__sum-scale-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0%;
    background: #C9B07F;
    border-radius: inherit;
    transition: width .25s ease;
}

.bambox .bambox__sum-gifts {
    position: absolute;
    left: var(--pad);
    right: var(--pad);
    top: calc(var(--track-top) + 8px);
    /* sredina tracka (16/2) */
    height: 0;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 3;
    display: block;
}

.bambox .bambox__gift {
    position: absolute;
    top: 0;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bambox .bambox__gift img {
    width: 32px;
    height: 32px;
    display: block;
}

.bambox .bambox__gift.is-active {
    border-color: #7fb13a;
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.12);
}

.bambox .bambox__gift.is-end {
    transform: translate(-90%, -50%);
}

/* ===== STICKY BAR ===== */
.bamsticky {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 9999;
    background: #fff;
    border-bottom: 1px solid #EAE8E3;
    box-shadow: 0 6px 16px rgba(0,0,0,.06);
    transform: translateY(-100%);
    opacity: 0;
    transition: transform .25s ease, opacity .2s ease;
    pointer-events: none;
    /* da ne lovi klikov ko je skrit */
}

.bamsticky.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.bamsticky__inner {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 310px 1fr 220px;
    gap: 16px;
    align-items: center;
    padding: 10px 16px;
}

.bamsticky__left {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.bamsticky__title {
    font-weight: 700;
}

.bamsticky__old {
    color: #999;
    text-decoration: line-through;
}

.bamsticky__new {
    font-weight: 800;
    font-size: 18px;
}

.bamsticky__badge {
    background: #205F32;
    color: #fff;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 6px;
    margin-left: 6px;
}

.bamsticky__scale {
    position: relative;
    height: 60px;
    --pad: 0;
    --track-top: 26px;
}

.bamsticky__caps {
    position: absolute;
    left: var(--pad);
    right: var(--pad);
    top: 0;
    display: flex;
    justify-content: space-between;
    font-weight: 800;
    font-size: 13px;
    color: #7E6A42;
}

.bamsticky__track {
    position: absolute;
    left: var(--pad);
    right: var(--pad);
    top: var(--track-top);
    height: 14px;
    background: #EAE8E3;
    border-radius: 999px;
    overflow: hidden;
}

.bamsticky__fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0%;
    background: #C9B07F;
    border-radius: inherit;
    transition: width .25s ease;
}

.bamsticky__gifts {
    position: absolute;
    left: var(--pad);
    right: var(--pad);
    top: calc(var(--track-top) + 7px);
    height: 0;
    transform: translateY(-50%);
    z-index: 3;
    pointer-events: none;
}

.bamsticky__gifts .bambox__gift {
    /* uporabi isto gift stilizacijo kot prej */
    position: absolute;
    top: 0;
    transform: translate(-50%,-50%);
    width: 36px;
    height: 36px;
    /* border-radius: 10px; */
    background: #fff;
    /* border: 1px solid rgba(0,0,0,.08); */
    /* box-shadow: 0 2px 6px rgba(0,0,0,.08); */
    display: flex;
    align-items: center;
    justify-content: center;
}

.bamsticky__gifts .bambox__gift img {
    /* width: 20px; */
    /* height: 20px; */
}

.bamsticky__gifts .bambox__gift.is-end {
    transform: translate(-90%,-50%);
}

.bamsticky__right {
    display: flex;
    justify-content: flex-end;
}

.bamsticky .bambox__cta {
    height: 48px;
    padding: 0 18px;
    background-color: #85B023;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    color: #ffffff;
    font-weight: 700;
}

.confetti-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 100000;
    /* nad vsem */
}

/* Fallback PNG animacija */
.confetti-layer.is-fallback {
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    animation: confetti-fade 1.2s ease forwards;
}

@keyframes confetti-fade {
    0% {
        opacity: 0;
        transform: scale(.96);
    }

    10% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(1.02);
    }
}

/* container (flex center) */
.wheel-modal {
    position: fixed;
    inset: 0;
    display: none;
    opacity: 0;
    pointer-events: none;
    z-index: 2147483000;
    transition: opacity .25s ease;
    align-items: center;
    justify-content: center;
}

.wheel-modal.is-open {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

.wheel-modal[hidden] {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.wheel-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 0;
}

/* dialog */
.wheel-dialog {
    position: relative;
    z-index: 1;
    width: min(96vw, 980px);
    background: #fff;
    border-radius: 22px;
    padding: 34px 32px 24px;
    box-shadow: 0 18px 40px rgba(0,0,0,.22);
    animation: wheelFadeIn .3s ease;
    padding-bottom: 0px;
}

@keyframes wheelFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.wheel-close {
    position: absolute;
    right: 14px;
    top: 12px;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    color: #3a2e19;
    cursor: pointer;
}

#wheelTitle.wheel-title {
    font-family: "Playfair Display",serif;
    font-weight: 400;
    font-size: 48px;
    text-align: center;
    color: #3a2e19;
    margin: 0 0 6px;
}

#wheelTitle.wheel-title strong {
    font-weight: 800;
    display: block;
}

.wheel-sub {
    text-align: center;
    font-weight: 500;
    color: #3E2910;
    font-size: 24px;
}

/* wrap */
.wheel-wrap {
    position: relative;
}

.wheel-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 7;
    overflow: hidden;
    border-radius: 10px;
    border: none;
}

#wheelCanvas {
    border: none;
}

#wheelCanvas {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    display: block;
    border-radius: 50%;
    box-shadow: 0 0 0 18px #111;
    outline: none;
    transform-origin: 50% 50%;
}

/* CTA na sredini loka */
.wheel-cta-floating {
    position: absolute;
    left: 50%;
    top: 68%;
    transform: translate(-50%,-50%);
    padding: 16px 30px;
    border-radius: 16px;
    background: #cf4a2f;
    color: #fff;
    font-weight: 800;
    letter-spacing: .04em;
    border: none;
    cursor: pointer;
    z-index: 4;
    box-shadow: 0 12px 28px rgba(207,74,47,.4);
}

.wheel-cta-floating:disabled {
    opacity: .6;
    cursor: not-allowed;
}

/* rezultat (zeleni toast) */
.wheel-result {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 16px;
}

.wheel-result[hidden] {
    display: none !important;
}

.wheel-result img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.wheel-res-title {
    font-weight: 800;
}

#wheelClaimBtn {
    min-width: 220px;
}

.confetti-layer {
    position: fixed;
    inset: 0;
    z-index: 2147482000;
    pointer-events: none;
}

/* ===== GOLD MARKER (namesto trikotnika) ===== */
.wheel-pointer {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    width: 48px;
    height: 130px;
    top: 36px;
    background: url('../images/box/whelie-vector.png') no-repeat center/contain;
    border: none;
    filter: drop-shadow(0 8px 12px rgba(0,0,0,.35));
    pointer-events: none;
}

/* mehki fade-out celotnega modala ob zapiranju */
.wheel-dialog.closing {
    animation: fadeOut .25s ease forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateY(6px);
    }
}

/* toast nad kolesom */
#wheelResult {
    position: relative;
    z-index: 3;
}

#wheelStage2 {
    display: block;
    visibility: visible;
    padding: 28px 0 6px;
}

.stage2-wrap {
    display: flex;
    align-items: flex-start;
    gap: 0px;
    min-height: 320px;
    justify-content: center;
}

.product-strip {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-right: -63px;
    z-index: 1;
    position: relative;
}

.product-strip img {
    display: block;
    height: auto;
    /* filter: drop-shadow(0 10px 18px rgba(0,0,0,.20)); */
}

/* velikosti slik (desktop) */
.product-strip .p1 {
    transform: translateY(0);
    height: 200px;
    width: auto;
    margin-top: 20px;
}

.product-strip .p2 {
    transform: translateY(6px);
    height: 117px;
    width: auto;
}

.product-strip .p3 {
    transform: translateY(10px);
    opacity: 1;
    height: 84px;
    margin-top: 20px;
}

.product-strip .p4 {
    transform: translateY(14px);
    height: 58px;
    width: auto;
    margin-top: 40px;
}

/* desna stran: slot */
.stage2-right {
    width: min(280px, 42vw);
    display: flex;
    justify-content: center;
}

.gift-slot {
    position: relative;
    width: min(240px, 36vw);
    height: min(240px, 36vw);
}

.gift-slot__dash {
    position: absolute;
    inset: 0;
    border: 2px dashed rgba(0,0,0,.25);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    height: 160px;
    width: 160px;
}

.gift-slot .plus {
    font-size: 64px;
    line-height: 1;
    opacity: .6
}

.gift-slot__ribbon {
    position: absolute;
    right: -14px;
    top: -14px;
    width: 58px;
    height: auto;
    pointer-events: none;
}

.gift-slot__gift {
    position: absolute;
    left: -14px;
    top: -14px;
    width: 38px;
    height: auto;
    opacity: .85;
    pointer-events: none;
}

/* zeleni toast naj bo nad kolesom */
#wheelResult {
    position: relative;
    z-index: 3;
}

.product-strip img {
    opacity: 0 !important;
    transition: opacity .25s ease;
}

.product-strip img.active {
    opacity: 1 !important;
}

.modal-guard {
    text-align: center;
    width: 500px;
    height: auto;
}

.modal-guard .bambox-title {
    font-size: 24px;
    font-family: 'Playfair Display';
    margin-bottom: 10px;
}

.modal-guard .bambox-sum-sub {
    font-size: 16px;
    margin-bottom: 20px;
}

.modal-guard .action-box {
}

.modal-guard .action-box {
    margin-bottom: 20px;
}

.modal-guard .action-box .bambox-cta-1 {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 6px;
    background-color: #85B023;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
}

.modal-guard .action-box .bambox-cta-2 {
    width: 100%;
    height: 48px;
    border: 1px solid #85B023;
    font-size: 18px;
    font-weight: 600;
    background: none;
    color: #85B023;
}

.modal-guard .action-box .bambox-cta-1:hover, .modal-guard .action-box .bambox-cta-2:hover {
    opacity: 0.8;
}

.bambox .bambox__slot-sub .old-price {
    color: #5E5F5F;
    font-weight: 400;
    font-size: 14px;
    text-decoration: line-through;
}

.bambox .bambox__slot-sub .price {
}

.wheel-res-text {
    background-color: #225F30;
    text-align: center;
    padding: 15px 20px;
    display: block;
    width: max-content;
    margin: 0 auto;
    border-radius: 8px;
    font-size: 24px;
    color: #ffffff;
}

/* --- Filters panel --- */
.bambox__filters-wrap {
    position: relative;
    margin-bottom: 16px;
}

.bambox__filters {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    cursor: pointer;
    user-select: none;
}

.bambox__filters-title {
    font-weight: 700;
    font-size: 22px;
    letter-spacing: .3px;
}

.bambox__filters-caret img {
    transition: transform .2s ease;
}

.bambox__filters[aria-expanded="true"] .bambox__filters-caret img {
    transform: rotate(180deg);
}

.bambox__filters-panel {
    position: absolute;
    top: 100%;
    left: 0;
    width: max-content;
    background: #fff;
    border-radius: 22px;
    padding: 22px 18px;
    margin-top: 8px;
    box-shadow: 0 6px 22px rgba(0,0,0,.08);
    z-index: 50;
}

/* --- Tag pills --- */
.bambox__tags {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bambox__tag {
    display: flex;
    align-items: center;
    gap: 5px;
    width: max-content;
    border: 1px solid #C8B78E;
    background: #fff;
    color: #B49E6B;
    font-weight: 600;
    font-size: 12px;
    height: 24px;
    text-transform: uppercase;
    border-radius: 50px;
    padding: 0 10px;
    transition: background .15s ease, color .15s ease, border-color .15s ease, transform .05s ease;
}

.bambox__tag:active {
    transform: scale(.99);
}

.bambox__tag.is-active {
    background: #F6F2E6;
    border-color: #B49E6B;
    color: #9E8753;
}

.bambox__tag-ico {
}

.bambox__tag-ico img {
    width: 16px;
    height: 16px;
    display: block;
}

.bambox__tag-txt {
    line-height: 1;
}

.bambox__sum-avatar {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 66%;
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
    transition: transform .12s ease;
}

.bambox__sum-avatar.bump {
    transform: scale(1.06);
}

.bambox__sum-avatar.is-empty {
    background-color: #F6F2E6;
}

/* ===== Payment modal (vizual, brez funkcionalnosti) ===== */
.paymodal .upsell-modal-content {
    width: 600px;
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    max-width: 100%;
}

.paymodal__wrap {
    padding: 28px;
    background: #fff;
}

.paymodal__title {
    font-size: 20px;
    color: #3D3D3D;
    font-weight: 600;
    margin-bottom: 20px;
}

.paycard {
    position: relative;
    border: 1px solid #e7e5e4;
    border-radius: 16px;
    padding: 18px;
    overflow: hidden;
}

.paycard__badge {
    position: absolute;
    top: 0px;
    right: 0;
    background: #7a0c0c;
    color: #fff;
    font-weight: 800;
    padding: 8px 15px;
    border-bottom-left-radius: 12px;
    font-size: 20px;
}

.paycard__head {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 8px;
}

.paycard__ico {
    width: 20px;
    height: 20px;
    background-color: #CAB180;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.paycard__ico .dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #CAB180;
    border: 3px solid #ffffff;
}

.paycard__title {
    font-weight: 800;
    color: #292828;
    font-size: 18px;
}

.paycard__prices {
    display: flex;
    gap: 10px;
    font-size: 18px;
}

.paycard__prices .old {
    color: #999999;
    text-decoration: line-through;
    font-weight: 700;
    font-size: 16px;
}

.paycard__prices .new {
    color: #5E5F5F;
    font-weight: 700;
    font-size: 16px;
}

.paycard__benefits {
    list-style: none;
    margin: 10px 0px;
    padding: 0px;
}

.paycard__benefits li {
    position: relative;
    color: #374151;
    font-size: 14px;
    padding-left: 25px;
}

.paycard__benefits li:before {
    content: '';
    position: absolute;
    background-image: url('../images/box/check.svg');
    width: 18px;
    height: 18px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 15px;
    left: 0px;
}

.paycard__gift {
    display: flex;
    gap: 12px;
    align-items: center;
    border: 1px solid #CAB180;
    border-radius: 12px;
    padding: 10px 20px;
    font-size: 14px;
}

.paycard__gift .gift-ico {
    font-size: 20px;
}

.paycard__gift span {
    text-decoration: underline;
}

.gift-title {
    font-weight: 600;
    color: #292828;
}

.gift-link {
    color: #1d4ed8;
    text-decoration: underline;
}

.paycard__freq {
    margin: 14px 0 0;
}

.freq-btn {
    width: 100%;
    text-align: left;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    border-radius: 10px;
    padding: 12px 14px;
    font-weight: 600;
    color: #374151;
}

.freq-btn .caret {
    float: right;
}

.paymodal__actions {
    margin-top: 16px;
    display: grid;
    gap: 12px;
}

.bambox__cta--outline.paymodal__decline {
    color: #85B023;
    border: 1px solid #85B023;
    border-radius: 6px;
    background: none;
    height: 48px;
    font-size: 18px;
    font-weight: 700;
    transition: .3s;
}

.paymodal__actions .bambox__cta--block {
    height: 48px;
    border: none;
    background-color: #85b024;
    color: #ffffff;
    font-weight: 700;
    font-size: 18px;
    border-radius: 6px;
    transition: .3s;
}

.bambox__cta--outline.paymodal__decline:hover, .paymodal__actions .bambox__cta--block:hover {
    opacity: 0.7;
}

.bambox__slot-qty.is-over::after, .bambox__slot-qty[data-over="1"]::after {
    content: "ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢";
    display: inline-block;
    margin-left: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #b91c1c;
    /* rdeÃƒâ€žÃ‚Âa */
}


.is-hidden{
    display: none;
}

@media screen and (max-width: 1200px) {
    .bambox .bambox__layout {
        flex-direction: column;
    }

    .bambox .bambox__summary, .bambox .bambox__sum-head, .bambox .bambox__catalog, .bambox .bambox__sum-discount,.bambox .bambox__cta {
        width: 100%;
    }

    .bambox {
        width: 100%;
        padding: 0 10px;
    }
}

@media screen and (max-width: 768px) {
    #wheelTitle.wheel-title {
        font-size: 25px;
    }

    .wheel-sub {
        font-size: 16px;
    }

    .bambox .bambox__catalog {
        padding: 0px;
        background: none;
        border: none;
    }

    .bambox .bambox__titlebar {
        margin-top: 30px;
    }

    .bambox .bambox__title {
        font-size: 20px;
        line-height: normal;
    }

    .bambox .bambox__step {
        height: auto;
        margin-bottom: 0;
    }

    .bambox .bambox__card-img {
        width: 100%;
    }

    .bambox .bambox__card{
        width: 50%;
        flex: 0 0 48%;
    }

    .bambox .bambox__summary {
        padding: 0px;
    }


    .bambox .bambox__step-num{
        width: 24px;
        height: 24px;
        flex: 0 0 24px;
    }

    .bambox .bambox__step-text{
        font-size: 16px;
        line-height: normal;
    }

    .upsell-modal-content{
        width: 97%;
        padding: 10px;
    }

    .modal-product-info .gallery img{
        height: 140px;
        width: 140px;
        flex: 0 0 135px;
    }

    .modal-product-info .content h3{
        font-size: 21px;
    }

    .modal-product-info .content .short{
        font-size: 14px;
    }

    .wheel-viewport {
        position: relative;
        width: 100%;
        height: clamp(240px, 58vw, 400px); /* dovolj prostora za kolo + pointer */

    }

    .wheel-pointer{
        width: 30px;
        height: 120px;
    }

    .wheel-dialog{
        padding: 20px 0;
    }

    .wheel-wrap{
        margin-top: 20px;
    }

    .product-strip{
        /*        flex-direction: column;*/
    }

    .gift-slot__dash{
        position: relative;
    }

    .wheel-res-text{
        font-size: 18px;
    }

    .stage2-wrap{
        /*        flex-direction: column;*/
        min-height: auto;
    }


    .bambox .bambox__grid{
        gap: 10px;
    }

    .bambox .bambox__title-icon img{

    }
}



/* app bottom */
@media screen and (max-width: 768px) {

    .bbar{
        position:fixed;
        left:0;
        right:0;
        bottom:0;
        z-index:1200;
        background:#fff;
        border-radius:16px 16px 0 0;
        box-shadow:0 -8px 24px rgba(0,0,0,.15);
        overflow:hidden
    }
    .bbar__handle{
        display:flex;
        justify-content:center;
        width:100%;
        padding:10px 0 6px;
        border:0;
        background:transparent;
        cursor:pointer
    }
    .bbar__grabber{
        width:56px;
        height:5px;
        background:#d4d4d4;
        border-radius:4px;
        display:inline-block
    }
    .bbar__inner{
        padding:8px 16px 16px
    }
    .bbar--peek .bbar__inner{
        display:block
    }
    .bbar--peek .bbar__expand{
        display:none
    }

    .bbar--open .bbar__inner{
        display:none
    }
    .bbar--open .bbar__expand{
        display:block;
        overflow: scroll;
    }
    .bbar__expand{
        max-height:80vh;
        overflow:auto;
        padding:8px 12px 12px
    }

    /* Fallback za CTA (Ã„Âe tvoj globalni CSS Ã…Â¡e ni prilepljen) */
    .bambox__cta{
        display:block;
        width:100%;
        border:0;
        border-radius: 6px;
        padding:14px 16px;
        font-weight:900;
        font-size:18px;
        background:#88b105;
        color:#fff
    }
    .bambox__cta--block{
        width:100%
    }


    .bambox__summary{
        max-width: 100%;
        padding: 0px;
        border: none;
    }


    .bambox__sum-head{
        max-width: 100%;
        flex-wrap: wrap;
        padding: 15px;
        padding-top: 50px;
    }


    .bambox__slots{
        max-width: 100%;
        overflow: scroll;
        height: auto;
    }

    .bambox__sum-avatar{
        display: none;
    }


    .bambox__sum-price-old{

    }


    .bambox__sum-price-new{

    }

    .bambox__sum-pill{
        display: inline-block;
    }


    .bambox__sum-discount{
        margin-bottom: 20px;
        max-width: 100%;
    }

    .bambox__slot{
        flex: 0 0 48%;
        width: 44%;
    }

    .buttom-box-bar{
        position: fixed;
        background-color: #ffffff;
        bottom: 0px;
        width: 100%;
        left: 0px;
        right: 0px;
        padding: 10px 7px;
    }
    .bambox__cta--block.bbar-close{

    }

    .bambox__sum-sub{
        display: none;
    }


    .stage2-left{
        flex: 1;
    }

    .stage2-right{
        flex: 1;
    }
    
    .bambox .bambox__subtitle{
        width: 100%;
    }
}
