/* ============================================================
   APPLE STYLE PRODUCT CARD – OPTIMIZED CLEAN VERSION
============================================================ */

/* Product Card */
.woocommerce ul.products li.product {
    background: #fff;
    border-radius: 20px;
    padding: 18px 18px 16px !important;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.06);
    transition: transform .25s ease, box-shadow .25s ease;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.10);
}

/* Product Image */
.woocommerce ul.products li.product .woocommerce-LoopProduct-link {
    display: block;
    overflow: hidden;
    border-radius: 14px;
    position: relative;
}

.woocommerce ul.products li.product .woocommerce-LoopProduct-link img {
    width: 100%;
    transition: transform .25s ease;
}

.woocommerce ul.products li.product:hover .woocommerce-LoopProduct-link img {
    transform: scale(1.04);
}

/* Secondary Hover Image */
.aw-product-thumb-secondary {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    transform: scale(1.02) !important;
    z-index: 2 !important;
    overflow: hidden !important;
    border-radius: inherit !important;
}

.aw-product-thumb-secondary img {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 1/1 !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: inherit !important;
}

.woocommerce ul.products li.product:not(.aw-has-active-swatch):hover .aw-product-thumb-secondary {
    opacity: 1 !important;
    visibility: visible !important;
    transform: scale(1.04) !important;
}

/* Wrapper to position absolute */
.aw-loop-cart-wrapper {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 20;
}

/* The Button */
.aw-loop-cart-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #fff !important;
    border-radius: 50% !important;
    color: #111 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all .3s ease;
    padding: 0 !important;
    line-height: 1 !important;
    position: relative;
    border: none !important;
}

.aw-loop-cart-btn:hover {
    background: #111 !important;
    color: #fff !important;
    transform: translateY(-2px);
}

.aw-loop-cart-btn svg {
    width: 20px;
    text-decoration: none;
}

/* ============================================================
   QUANTITY BADGE ON PRODUCT CARD
   ============================================================ */
.aw-qty-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    z-index: 5;
}

.orderby {
    border-radius: 90px !important;
    height: auto;
}

.woocommerce-pagination ul li {
    border-radius: 90px !important;
}