/* Aswaqna homepage product card — square, clean, no shadow */
.aswaq-product-card {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border: 0 !important;
    border-radius: 0 !important;
    overflow: hidden;
    box-shadow: none !important;
    transition: none !important;
}

.aswaq-product-card:hover {
    transform: none !important;
    box-shadow: none !important;
}

.aswaq-product-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.08;
    overflow: hidden;
    background: #f5f5f5;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.aswaq-product-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.aswaq-product-image-link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: none !important;
}

.aswaq-product-card:hover .aswaq-product-image-link img {
    transform: none !important;
}

.aswaq-discount-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    min-width: 52px;
    padding: 7px 10px;
    border-radius: 0 !important;
    background: #ffd52f;
    color: #111111;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    box-shadow: none !important;
}

html[dir="ltr"] .aswaq-discount-badge {
    right: auto;
    left: 12px;
}

button.addToWishlist.aswaq-wishlist-button {
    appearance: none;
    -webkit-appearance: none;
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    right: auto !important;
    z-index: 4 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: rgba(255, 255, 255, 0.96) !important;
    color: #111111 !important;
    box-shadow: none !important;
    line-height: 1 !important;
    cursor: pointer;
    transform: none !important;
}

html[dir="ltr"] button.addToWishlist.aswaq-wishlist-button {
    left: auto !important;
    right: 12px !important;
}

button.addToWishlist.aswaq-wishlist-button:hover,
button.addToWishlist.aswaq-wishlist-button:focus,
button.addToWishlist.aswaq-wishlist-button:active {
    background: #ffffff !important;
    color: #111111 !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    transform: none !important;
}

button.addToWishlist.aswaq-wishlist-button svg {
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.8 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    pointer-events: none;
}

button.addToWishlist.aswaq-wishlist-button svg path {
    fill: none !important;
    stroke: currentColor !important;
}

.aswaq-sold-out {
    position: absolute;
    left: 50%;
    bottom: 14px;
    z-index: 3;
    transform: translateX(-50%);
    padding: 8px 14px;
    border-radius: 0 !important;
    background: rgba(17, 17, 17, 0.86);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: none !important;
}

.aswaq-product-info {
    padding: 15px 14px 17px;
    text-align: center;
    background: #ffffff;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.aswaq-product-brand {
    margin: 0 0 5px;
    color: #8a8a8a;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.aswaq-product-title {
    margin: 0;
    min-height: 44px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.aswaq-product-title a {
    display: -webkit-box;
    overflow: hidden;
    color: #171717;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.aswaq-product-title a:hover {
    color: var(--bs-primary-color, #111111);
}

.aswaq-product-description {
    display: -webkit-box;
    overflow: hidden;
    margin: 7px 0 0;
    min-height: 38px;
    color: #777777;
    font-size: 12px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.aswaq-product-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 11px;
}

.aswaq-current-price {
    color: #e53935;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
}

.aswaq-current-price--regular {
    color: #171717;
}

.aswaq-old-price {
    color: #969696;
    font-size: 13px;
    font-weight: 600;
}

.products-slider .slick-slide,
.products-slider .slick-track,
.products-slider .box {
    box-shadow: none !important;
}

@media (max-width: 767.98px) {
    .aswaq-product-card,
    .aswaq-product-media,
    .aswaq-product-image-link img,
    .aswaq-product-info {
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .aswaq-product-media {
        aspect-ratio: 1 / 1.12;
    }

    .aswaq-product-info {
        padding: 11px 9px 13px;
    }

    .aswaq-product-title {
        min-height: 38px;
        font-size: 13px;
    }

    .aswaq-product-description {
        display: none;
    }

    .aswaq-product-brand {
        font-size: 10px;
    }

    .aswaq-current-price {
        font-size: 13px;
    }

    .aswaq-old-price {
        font-size: 11px;
    }

    .aswaq-discount-badge {
        top: 8px;
        right: 8px;
        min-width: 44px;
        padding: 6px 8px;
        border-radius: 0 !important;
        font-size: 11px;
    }

    html[dir="ltr"] .aswaq-discount-badge {
        right: auto;
        left: 8px;
    }

    button.addToWishlist.aswaq-wishlist-button {
        top: 8px !important;
        left: 8px !important;
        width: 36px !important;
        min-width: 36px !important;
        height: 36px !important;
        border-radius: 0 !important;
    }

    html[dir="ltr"] button.addToWishlist.aswaq-wishlist-button {
        left: auto !important;
        right: 8px !important;
    }
}
