/* PROGRESS BAR */
@media screen and (min-width: 1025px) {
    #oppio-cart__progress-bar #shipping-progress-widget {
        width: 58%;
    }
}

/* Flash Message */
.woocommerce-notices-wrapper .woocommerce-message {
    margin-bottom: 25px !important;
}

.woocommerce-cart-form__contents thead {
    display: none !important;
}

.cart-class a {
    color: var(--project-cart-txt) !important;
    font-size: 1rem !important;
    font-weight: bold !important;
}
.cart-class a:hover {
    color: var(--project-green-dark) !important;
}

.woocommerce-message, .woocommerce-error, .woocommerce-info,
.woocommerce-error li, .woocommerce-info li, .woocommerce-message li {
    font-size: 14px !important;
}

.woocommerce .woocommerce-info {
    margin-bottom: 45px !important;
    background-color: var(--project-msg-yellow);
    border-left: 4px solid #f0ad4e;

    padding: 12px 16px;
    margin: 10px 0;
    
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 8px;

    font-size: 14px;
}
@media screen and (min-width: 1025px) {
    .woocommerce .woocommerce-info {
        width: 60%;
    }
}
@media screen and (max-width: 767px) {
    .woocommerce .woocommerce-info {
        font-size: 13px !important;
    }
}
.woocommerce-info::before {
    display: none !important;
}
.woocommerce .woocommerce-info .alg-wc-oma-msg {
    color: var(--project-msg-txt) !important;
    font-size: 14px;
    font-weight: 400 !important;
    padding: 14px;
}

.woocommerce-info p {
    margin: 0 !important;
}
.woocommerce-info p a {
    font-size: 14px !important;
    color: var(--project-green-dark) !important;
}

.elementor-widget-woocommerce-cart .e-cart-section {
    background-color: transparent;
}

.elementor-widget-woocommerce-cart form .e-cart-section {
    border: none !important;
}

@media screen and (max-width: 767px) {
    .elementor-widget-woocommerce-cart form .e-cart-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
}


.elementor-widget-woocommerce-cart .woocommerce table.cart tr {
    display: block !important;
    position: relative;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 16px !important;
    /* padding-bottom: 16px !important; */
}
.elementor-widget-woocommerce-cart .woocommerce table.cart tr .product-name {
    position: absolute;
    /* top: 16px;
    left: 90px; */
    top: 35px;
    left: 100px;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: var(--project-cart-txt) !important;
}
@media screen and (max-width: 767px) {
    .elementor-widget-woocommerce-cart .woocommerce table.cart tr .product-name {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        flex-wrap: wrap;
        padding-left: 0;
        max-width: 185px;
        overflow: auto;
    } 
}
.elementor-widget-woocommerce-cart .woocommerce table.cart tr .product-quantity {
    position: absolute;
    /* top: 60px;
    left: 90px; */
    top: 70px;
    left: 100px;
}
@media screen and (max-width: 767px) {
    .elementor-widget-woocommerce-cart .woocommerce table.cart tr .product-quantity {
        top: 90px;
        left: 100px;
    }
}
.elementor-widget-woocommerce-cart .woocommerce table.cart tr .product-price {
    display: none !important;
}
.elementor-widget-woocommerce-cart .woocommerce table.cart tr .product-subtotal {
    position: absolute;
    top: 35px;
    right: 0;
}
.elementor-widget-woocommerce-cart .woocommerce table.cart tr .product-subtotal span {
    color: var(--project-cart-txt) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
}
@media screen and (max-width: 767px) {
    .elementor-widget-woocommerce-cart .woocommerce table.cart tr .product-subtotal {
        top: 54px;
        left: 85%;
    }  
    .elementor-widget-woocommerce-cart .woocommerce table.cart tr .product-subtotal span .woocommerce-Price-currencySymbol {
        left: 100%;
    }
}

.elementor-widget-woocommerce-cart .woocommerce table.cart tr .product-remove {
    position: absolute;
    /* top: 58px;
    left: 223px; */
    top: 68px;
    left: 228px;
    border: none;
    font-size: 20px;
    width: 25px;
    z-index: 9;
}
@media screen and (max-width: 767px) {
    .elementor-widget-woocommerce-cart .woocommerce table.cart tr .product-remove {
        top: 85px;
    }
}


.elementor-widget-woocommerce-cart .woocommerce table.cart tr.woocommerce-cart-form__cart-item:not(:nth-last-child(2)) {
    border-bottom: 1px solid  #ccc;
}


.elementor-widget-woocommerce-cart .woocommerce .cart th {
    color: var(--project-green-dark) !important;
}

.elementor-widget-woocommerce-cart .woocommerce table.cart td span {
    font-weight: bold !important;
}
@media screen and (max-width: 767px) {
    .elementor-widget-woocommerce-cart .woocommerce table.cart td span {
        position: absolute;
        left: 0;
        top: 0;
    }  
}


/* ==============================================
WOOCOMMERCE QUANTITY SELECTOR STYLING
============================================== */
/* Skry defaultné šípky */
/* Chrome, Safari, Edge, Opera */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.custom-qty-wrapper {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    background: #f9f7ed;
}

.elementor-widget-woocommerce-cart .woocommerce .input-text, 
.elementor-widget-woocommerce-cart .woocommerce select {
    background-color: transparent !important;
}

.custom-qty-wrapper button {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    font-size: 18px;
    cursor: pointer;
    user-select: none;
}

.custom-qty-wrapper input.checkout-qty {
    width: 48px;
    height: 32px;
    border: none;
    text-align: center;
    font-size: 16px;
    background: transparent;
    outline: none;
}


.woocommerce-cart-form__cart-item.cart_item .product-quantity button.checkout-qty-minus,
.woocommerce-cart-form__cart-item.cart_item .product-quantity button.checkout-qty-plus {
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    font-size: 14px;
    font-weight: bold;
}
.woocommerce-cart-form__cart-item.cart_item .product-quantity button.checkout-qty-plus {
    font-weight: bold;
}
.woocommerce-cart-form__cart-item.cart_item .product-quantity button.checkout-qty-minus:hover {
    background-color: var(--project-light-2) !important;
    color: var(--project-green-dark) !important;
}
.woocommerce-cart-form__cart-item.cart_item .product-quantity button.checkout-qty-plus:hover {
    background-color: var(--project-green-dark) !important;
    color: var(--project-light) !important;
}
.woocommerce-cart-form__cart-item.cart_item .product-quantity button.checkout-qty-minus {
    border-right: 1px solid rgba(0,0,0,.15) !important;
}
.woocommerce-cart-form__cart-item.cart_item .product-quantity button.checkout-qty-plus {
    border-left: 1px solid rgba(0,0,0,.15) !important;
}
.woocommerce-cart-form__cart-item.cart_item .product-quantity .input-text.checkout-qty {
    border: 0;
    text-align: center;
}


/* MOBILE */
.elementor-43 .elementor-element .e-shop-table .cart td::before {
    display: none !important;
}

.woocommerce table.cart .product-thumbnail, 
.woocommerce-page #content table.cart .product-thumbnail, 
.woocommerce-page table.cart .product-thumbnail {
    display: block !important;
}

/* @media screen and (max-width: 1024px) {
    .woocommerce table.cart .product-subtotal, 
    .woocommerce-page #content table.cart .product-subtotal, 
    .woocommerce-page table.cart .product-subtotal {
        display: none !important;
    }
} */

/* REMOVE ICON */
.woocommerce a.remove {
  font-size: 0 !important; /* Skryje pôvodné "x" */
  position: relative;
  display: inline-block;
  width: 24px !important;
  height: 24px !important;
  top: -16px !important;
}

/* Ikona sama o sebe */
.woocommerce a.remove::before {
  content: "\f2ed"; /* fa-trash-alt */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 15px;
  color: rgba(0, 0, 0, .5);
  position: absolute;
  top: 0;
  left: 0;
  /* transform: translate(-50%, -18px); */
  transition: all 0.3s ease;
  background: transparent;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
}

/* Červený kruh na hover */
.elementor-widget-woocommerce-cart .woocommerce a.remove:hover::before {
  background-color: #e74c3c;
  color: #fff;
}


/* CHECKOUT BUTTON */
.elementor-widget-woocommerce-cart .woocommerce .wc-proceed-to-checkout .checkout-button {
    border-radius: 50px !important;
    background: var(--project-green-dark) !important;
    color: var(--project-light) !important;
    border-color: var(--project-green-dark) !important;
    padding-top: 24px !important;
    padding-bottom: 24px !important;
}

.elementor-widget-woocommerce-cart .woocommerce .wc-proceed-to-checkout .checkout-button:hover,
.elementor-widget-woocommerce-cart .woocommerce .wc-proceed-to-checkout .checkout-button:focus {
    background-color: var(--project-light) !important;
    color: var(--project-green-dark) !important;
}

.elementor-widget-woocommerce-cart .woocommerce .wc-proceed-to-checkout .checkout-button.disable-checkout-btn {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

/* IMAGE miniatura */
.elementor-widget-woocommerce-cart .woocommerce table.cart img {
    /* width: 80px; */
    width: 100px;
}


/* BTN aktualizovat */
.elementor-widget-woocommerce-cart .woocommerce table.shop_table.cart .actions .button[name="update_cart"] {
    display: none !important;
}
/*
button[name="update_cart"] {
    background-color: var(--project-light) !important;
    border: 1px solid var(--project-green-dark) !important;
    color: var(--project-green-dark) !important;
    border-radius: 50px !important;
    padding: 12px 24px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
}
button[name="update_cart"]:not([disabled]) {
    background-color: var(--project-green-dark) !important;
    color: var(--project-light) !important;
    border: 1px solid var(--project-green-dark) !important;
}

button[name="update_cart"]:not([disabled]):hover {
    background-color: var(--project-green-light) !important;
}
    */


/* SIDE */
.cart_totals > h2 {
    font-weight: 600 !important;
    color: var(--project-cart-txt) !important;
}

.cart_totals .shop_table td::before {
    font-size: 14px !important;
    font-weight: 400 !important;
    color: var(--project-cart-txt) !important;
}
.cart_totals .shop_table .cart-discount td::before {
    text-align: left !important;
}

#shipping_method li label {
    display: block !important;
    width: 100%;
    font-size: 14px !important;
}
.woocommerce .e-cart-totals ul#shipping_method .amount {
    float: right;
}
.woocommerce .e-cart-totals ul#shipping_method .amount,
.e-cart-totals .woocommerce-Price-amount.amount {
    font-weight: bold !important;
    color: var(--black) !important;
}

.elementor-widget-woocommerce-cart .e-cart-content {
    font-size: 14px !important;
}

.elementor-widget-woocommerce-cart .woocommerce table.shop_table tr > td {
    padding-right: 0 !important;
}

small.includes_tax {
  font-size: 0; /* Skryje pôvodný text */
  position: relative;
}

small.includes_tax span {
    display: none !important;
}

small.includes_tax::after {
  content: "s DPH";
  font-size: 14px; /* nastav podľa potreby */
}


/* CART FORM DISPLAY FLEX */
.woocommerce-cart-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}

/* .woocommerce-cart-form .e-cart-section.coupon {
    order: 1;
}

.woocommerce-cart-form .e-cart-section {
    order: 2;
} */

/* Tlacitko KUPON */
.elementor-widget-woocommerce-cart .woocommerce .coupon .button {
    border-radius: 50px !important;
    border: 1px solid var(--project-green-dark) !important;
    background-color: var(--project-green-dark) !important;
    color: var(--project-light) !important;
    font-weight: bold !important;
}
.elementor-widget-woocommerce-cart .woocommerce .coupon .button:hover,
.elementor-widget-woocommerce-cart .woocommerce .coupon .button:focus {
    background-color: var(--project-green-light) !important;
    border: 1px solid var(--project-green-light) !important;
    color: var(--project-light-2) !important;
}

.elementor-widget-woocommerce-cart .woocommerce .coupon-col-start {
    display: flex;
    align-items: center;
}


/* S DPH */
.woocommerce-cart .cart-collaterals .cart_totals table small {
    color: var(--project-msg-txt) !important;
}

/* Display none */
.order-total small,
.woocommerce-shipping-destination .woocommerce-shipping-estimate-html.e-checkout-message.e-cart-content {
    display: none !important;
}





/* HIDE kupon */
.cart-widget .woocommerce-remove-coupon,
.page-id-43 .coupon {
    display: none !important;
}

.cart-widget .woocommerce-error {
    margin-bottom: 14px !important;
}

@media screen and (min-width: 991px) {
    .elementor-widget-woocommerce-cart .woocommerce-error,
    .cart-widget .woocommerce-error {
        width: 60% !important;
    }      
}


/* Skryje + / − a input len pre produkt "Ochutnávkový box" v košíku */
/* Skryje quantity len pre Ochutnávkový box - cez product ID 7289 */
/* tr.cart_item:has(a.remove[data-product_id="7289"]) .custom-qty-wrapper,
tr.cart_item:has(a.remove[data-product_id="7291"]) .custom-qty-wrapper,
tr.cart_item:has(a.remove[data-product_id="7294"]) .custom-qty-wrapper {
    display: none !important;
} */

/* Bez :has pre staršie browsery */
/* a[data-product_id="7289"] ~ * ~ * ~ * .custom-qty-wrapper,
a[data-product_id="7291"] ~ * ~ * ~ * .custom-qty-wrapper,
a[data-product_id="7294"] ~ * ~ * ~ * .custom-qty-wrapper {
    display: none !important;
} */


.coupon.shop_table {
    display: none !important;
}

.e-cart-totals .cart-discount.coupon-predplatne-tyzdenne,
.e-cart-totals .cart-discount.coupon-predplatne-mesacne,
.e-cart-totals .cart-discount.coupon-predplatne-denne {
    display: block !important;
}
.e-cart-totals .cart-discount.coupon-predplatne-tyzdenne td,
.e-cart-totals .cart-discount.coupon-predplatne-mesacne td,
.e-cart-totals .cart-discount.coupon-predplatne-denne td {
    display: flex !important;
    justify-content: flex-end;
}
.e-cart-totals .cart-discount.coupon-predplatne-tyzdenne td::before,
.e-cart-totals .cart-discount.coupon-predplatne-mesacne td::before,
.e-cart-totals .cart-discount.coupon-predplatne-denne td::before {
    margin-right: auto;
}