/* ===============================
   MINI CART PANEL
================================= */
.wc-block-mini-cart__items {
    padding: 20px;
}

.wp-block-woocommerce-filled-mini-cart-contents-block {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ===============================
   TITLE
================================= */
.wc-block-mini-cart__title {
    padding: 20px;
    font-size: 22px;
    font-weight: 600;
    border-bottom: 1px solid #eee;
}

/* ===============================
   PRODUCT ROW CARD STYLE
================================= */
.wc-block-cart-items__row {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.04);
    padding: 15px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.wc-block-cart-items__row:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

/* Product Image */
.wc-block-cart-item__image img {
    border-radius: 10px;
    width: 80px;
    height: auto;
}

/* Product Name */
.wc-block-components-product-name {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    text-decoration: none;
}

.wc-block-components-product-name:hover {
    color: #ff6600;
}

/* Description */
.wc-block-components-product-metadata__description {
    font-size: 13px;
    color: #777;
    margin-top: 5px;
}

/* ===============================
   PRICE
================================= */
.wc-block-components-product-price__value {
    font-size: 16px;
    font-weight: 600;
    color: #111;
}

/* Sale badge */
.wc-block-components-sale-badge {
    background: #ffe8e0;
    color: #ff4d00;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 5px;
    display: inline-block;
}

/* ===============================
   QUANTITY SELECTOR
================================= */
.wc-block-components-quantity-selector {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    display: inline-flex;
}

.wc-block-components-quantity-selector__input {
    border: none;
    width: 45px;
    text-align: center;
    font-weight: 600;
}

.wc-block-components-quantity-selector__button {
    background: #f7f7f7;
    border: none;
    width: 35px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.2s ease;
}

.wc-block-components-quantity-selector__button:hover {
    background: #ff6600;
    color: #fff;
}

/* ===============================
   REMOVE BUTTON
================================= */
.wc-block-cart-item__remove-link {
    font-size: 13px;
    color: #999;
    margin-top: 6px;
    display: inline-block;
}

.wc-block-cart-item__remove-link:hover {
    color: #ff0000;
}

/* ===============================
   SUBTOTAL SECTION
================================= */
.wc-block-mini-cart__footer {
    padding: 20px;
    border-top: 1px solid #eee;
    background: #fafafa;
}

.wc-block-mini-cart__footer-subtotal {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* ===============================
   BUTTONS
================================= */
.wc-block-mini-cart__footer-actions {
    display: flex;
    gap: 12px;
}

.wc-block-mini-cart__footer-cart {
    border-radius: 8px;
    font-weight: 600;
    padding: 12px;
}

.wc-block-mini-cart__footer-checkout {
    background: #ff6600;
    color: #fff !important;
    border-radius: 8px;
    font-weight: 600;
    padding: 12px;
    transition: 0.3s ease;
}

.wc-block-mini-cart__footer-checkout:hover {
    background: #e55a00;
}
body:not(.woocommerce-block-theme-has-button-styles) .wc-block-components-button:not(.is-link) {
    min-height: 1em;
}
.is-medium table.wc-block-cart-items .wc-block-cart-items__row, .is-mobile table.wc-block-cart-items .wc-block-cart-items__row, .is-small table.wc-block-cart-items .wc-block-cart-items__row {
    padding: 16px;
}
h2.wc-block-mini-cart__title {
    font-size: 1.3em;
}
/* ===============================
   RESPONSIVE
================================= */
@media (max-width: 768px) {
    .wc-block-mini-cart__footer-actions {
        flex-direction: column;
    }

    .wc-block-mini-cart__footer-cart,
    .wc-block-mini-cart__footer-checkout {
        width: 100%;
    }
}


/* Custom cart icon for cart and checkout css start */

/* Hide everywhere by default */
.wc-block-mini-cart__button .wc-block-mini-cart__icon {
    display: block;
    height: 2em;
    margin: -.25em;
    width: 2em;
}
.custom-cart-link {
    display: none !important;
}

/* Show only on Cart page */
.woocommerce-cart .custom-cart-link {
    display: inline-block !important;
}

/* Show only on Checkout page */
.woocommerce-checkout .custom-cart-link {
    display: inline-block !important;
}
.woocommerce-cart .wc-block-mini-cart,
.woocommerce-checkout .wc-block-mini-cart {
    display: none !important;
}
.custom-cart-link {
    position: relative;
    display: inline-block;
    color: #777;
}

.cart-svg {
    display: block;
}

.custom-cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #999;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    border-radius: 50%;
}
/* Custom cart icon for cart and checkout css end */

/* Date picker issue fixed */
.ui-datepicker {
    z-index: 999999 !important;
}