.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.product-grid .product {
    border: 1px solid #eee;
    padding: 15px;
    background: #fff;
    text-align: center;
    border-radius: 6px;
}

.my-product-card:hover {
    transform: translateY(0px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

/* IMAGE */
.my-product-thumb img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

/* TITLE */
.my-product-title {
    font-size: 18px;
    margin: 12px 0;
    font-weight: 600;
    color: #222;
    letter-spacing: 0.2px;
}

/* PRICE */
.my-product-price {
    font-size: 16px;
    margin-bottom: 15px;
    color: #111;
}

.my-product-price del {
    color: #a1a1a1;
}

/* ADD TO CART */
.my-add-cart a {
    width: auto;
    display: inline-block;
    padding: 10px 18px;
    background: rgba(0, 0, 0, 0.6);
    color: white !important;
    border-radius: 6px;
    text-decoration: none !important;
    font-weight: 600;
    transition: background 0.3s ease;
    border: 1px solid #fff !important;
    text-align: center;
}

.my-add-cart a:hover {
    background: #000;
}

.my-product-card {
    list-style: none;
    /* border: 1px solid #e5e5e5; */
    border-radius: 10px;
    /* padding: 15px; */
    /* background: #fff; */
    transition: all 0.3s ease;
    text-align: center;
    /* max-width: 280px;
    margin: 20px auto; */
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.07);
    position: relative;

}

/* Always visible sale badge */
.onsale {
    background: #d90000 !important;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    display: inline-block !important;
    opacity: 1 !important;
}

/* Ensure hover does NOT affect badge */
.my-product-card:hover .onsale,
.my-product-thumb:hover .onsale {
    opacity: 1 !important;
    transform: none !important;
}

.woocommerce-cart table.cart th,
.woocommerce-cart table.cart td {
    vertical-align: middle;
}

.woocommerce-cart .cart_totals {
    border: none;
}

.woocommerce-cart .button {
    text-transform: uppercase;
}

.woocommerce-cart .table td .quantity input {
    max-width: 70px;
    text-align: center;
}

/* Cart Table Styling */
.wp-block-woocommerce-cart table {
    width: 100%;
    border-collapse: collapse;
}

.wp-block-woocommerce-cart th,
.wp-block-woocommerce-cart td {
    padding: 0.75rem;
    border: 1px solid #dee2e6;
    vertical-align: middle;
}

/* Totals Box Styling */
.wp-block-woocommerce-cart .wc-block-cart__totals-title {
    font-weight: 600;
    margin-bottom: 1rem;
}

.wp-block-woocommerce-cart .wc-block-cart__submit-button {
    background-color: #0d6efd;
    color: #fff;
    border-radius: 5px;
    padding: 10px 20px;
    width: 100%;
    text-align: center;
    display: inline-block;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .wp-block-columns {
        flex-direction: column;
    }

    .wp-block-column {
        flex-basis: 100% !important;
        margin-bottom: 20px;
    }
}

.added_to_cart.wc-forward {
    /* display: none; */
}



.custom-bg {
    background-image: url(https://50centsias.com/wp-content/uploads/2025/12/wave-bg.webp);
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    height: 100%;
    padding-top: 50px;
}

.single-product-custom img {
    width: 100%;
    height: 100%;
}

.single-product-custom h1 {
    font-size: 2rem;
    margin: 0;
    padding: 12px;
}

.header-cart a {
    display: inline-block;
    padding: 12px;
    /* border: 1px solid #fff; */
    color: #fff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    position: relative;
}

.header-cart a span {
    position: absolute;
    top: 0px;
    z-index: 112;
    width: 100%;
    /* background: rgba(255, 255, 255, 0.6); */
    text-align: center;
    width: 33px;
    height: 28px;
    border: rebeccapurple;
    right: -10px;
    font-size: 16px;
}