/* ==============================================
   KOŠÍK – KROKY OBJEDNÁVKY & WIDGET
   Upravuje: progress bar, kroky, mini košík v hlavičce
   ============================================== */

/* ==================================================
   OPRAVA VELIKOSTI FONTU V KOSIKU
   ================================================== */

@media (max-width: 991px) {
    .cart-table .p-price .price-final, .cart-table .unit-value
 {
        color: #aaa;
        font-size: 18px !important;
    }
}

.cart-table .p-price .price-final {
    font-size: 18px !important;
    color: var(--rc-navy) !important;
    font-weight: 600 !important;
}

.cart-table .p-total .price-final {
    /* font-weight: 600 !important; */
    font-size: 18px !important;
}

.cart-related-button .price-final {
    display: block;
    margin-bottom: 11px;
    font-size: 18px !important;
}

/* ==================================================
   KOŠÍK: "CLEAN SLATE" (ČISTÝ STŮL)
   1. Vypne úplně všechno původní stylování
   2. Nasadí vlastní, kontrolovaný vzhled
   ================================================== */

/* 1. RESET VŠEHO UVNITŘ LIŠTY (Zabije duchy a dvojité bubliny) */
ol.cart-header,
ol.cart-header li,
ol.cart-header a,
ol.cart-header span,
ol.cart-header strong {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    position: static !important;
}

ol.cart-header li::after,
ol.cart-header a::before, ol.cart-header a::after,
ol.cart-header span::before, ol.cart-header span::after,
ol.cart-header strong::before, ol.cart-header strong::after {
    content: none !important;
    display: none !important;
}

ol.cart-header {
    display: flex !important;
    width: 100% !important;
    height: 50px !important;
    margin: 0 0 20px 0 !important;
    background: #fff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    counter-reset: cart-steps !important;
}

@media (max-width: 767px) {
    ol.cart-header {
        margin: 20px 0 20px 0 !important;
    }
}

ol.cart-header li {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-right: 1px solid #eee !important;
    background: #f8f8f8 !important;
    padding: 0 5px !important;
    margin: 0 !important;
}

ol.cart-header li:last-child {
    border-right: none !important;
}

ol.cart-header li::before {
    counter-increment: cart-steps !important;
    content: counter(cart-steps) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    background: #ccc !important;
    color: #fff !important;
    border-radius: 50% !important;
    font-size: 12px !important;
    font-weight: bold !important;
    margin-right: 10px !important;
    flex-shrink: 0 !important;
}

ol.cart-header li a,
ol.cart-header li strong,
ol.cart-header li span {
    display: inline-block !important;
    color: #777 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    line-height: 1.2 !important;
    text-align: left !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

ol.cart-header li.active {
    background: #fff !important;
}

ol.cart-header li.active::before {
    background: var(--rc-gold) !important;
}

ol.cart-header li.active strong,
ol.cart-header li.active span {
    color: #000 !important;
    font-weight: 700 !important;
}

@media (max-width: 600px) {
    ol.cart-header li {
        flex-direction: column !important;
        justify-content: center !important;
        padding: 5px !important;
    }
    ol.cart-header li::before {
        margin-right: 0 !important;
        margin-bottom: 3px !important;
        width: 20px !important;
        height: 20px !important;
        font-size: 10px !important;
    }
    ol.cart-header li a,
    ol.cart-header li strong,
    ol.cart-header li span {
        font-size: 11px !important;
        text-align: center !important;
    }
}

/* ==================================================
   TLAČÍTKA V KOSŠKU + CART WIDGET
  ================================================== */

.btn.btn-cart, .btn.btn-conversion, a.btn.btn-cart, a.btn.btn-conversion {
    background-color: var(--rc-gold);
    border-color: var(--color-secondary);
    color: #ffffff;
}

.btn.btn-cart:hover, .btn.btn-conversion:hover, a.btn.btn-cart:hover, a.btn.btn-conversion:hover {
    background-color: var(--rc-gold-dark);
    border-color: var(--color-secondary);
    color: #ffffff;
}

.cart-widget-product {
    border-bottom-style: solid;
    border-bottom-width: 1px;
    display: table;
    padding: 15px 15px 15px 5px;
    table-layout: fixed;
    width: 98%;
}
