.product {
    border-radius: 14px;
    background: #fff;
    padding: 18px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f1f1f1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: auto !important;
    overflow: visible !important;
    position: relative;
}

.product-body {
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 0px !important;
}

.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.product-media,
.product-image {
    width: 100%;
    height: 180px !important;
    overflow: hidden;
    background: #f7f7f7;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-media img,
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: center center;
    padding:20px;
}

.product-media img[src*="placeholder"],
.product-image img[src*="placeholder"] {
    object-fit: cover !important;
    background: #f8f8f8;
}

.wishlist-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ff3d3d;
    font-size: 18px;
    z-index: 20;
    transition: 0.3s ease;
    text-align: center;
}

.wishlist-icon:hover {
    background: #ff3d3d;
    color: #ffffff;
    border-color: #ff3d3d;
}

.wishlist-icon.active i {
    color: #ff0000 !important;
}

.wishlist-icon:hover i {
    color: #ff3d3d;
    -webkit-text-stroke: 1px #ffffff;
}

.product-title {
    font-size: 16px;
    font-weight: 500;
    color: #000000;
    margin-top: 8px;
    margin-bottom: 4px;
    line-height: 1.4;
}

.product-cat a {
    color: #000000;
    font-size: 13px;
}

.product-unit {
    font-size: 15px;
    color: #444;
    font-weight: 300;
}

.product-price,
.new-price {
    color: #000;
    font-size: 18px;
    font-weight: 600;
}

.old-price {
    font-size: 15px;
    color: #888;
    text-decoration: line-through;
    margin-left: 8px;
}

.product-label {
    background: #ff4d4d;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    border-radius: 4px;
    position: absolute;
    left: 10px;
    top: 10px;
}

.product-footer {
    position: relative !important;
    background: transparent !important;
    padding-bottom: 20px !important;
}

.product-action {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.product:hover .product-action {
    opacity: 1 !important;
    visibility: visible !important;
}

.btn-product {
    background: #000000 !important;
    color: #fff !important;
    padding: 8px 14px;
    border-radius: 6px;
    width: 100%;
    text-align: center;
    border: none !important;
    transition: 0.3s;
}

.btn-product:hover {
    background: #d61f1f !important;
}

.btn-product.btn-xs {
    padding: 22px 22px !important;
    font-size: 17px !important;
    font-weight: 600 !important;
}

.qty-btn:hover {
    background: #ff3d3d;
    color: #fff;
    transform: scale(1.1);
}

.qty-btn:active {
    transform: scale(0.95);
}

.qty-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #000;
    padding: 6px 10px;
    border-radius: 22px;
    height: 38px;
}

.qty-btn {
    background: #ffffff;
    color: #000000;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-value {
    display: block !important;
    min-width: 36px !important;
    width: 36px !important;
    height: 26px !important;

    text-align: center !important;
    background: transparent !important;
    border: none !important;

    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 600 !important;

    opacity: 1 !important;
    visibility: visible !important;

    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
}

.qty-value::-webkit-inner-spin-button,
.qty-value::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.qty-value[type="number"] {
    -moz-appearance: textfield;
}

.input-group,
.input-group-prepend,
.input-group-append,
.input-group-spinner {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

@media (max-width: 576px) {
    .fw-banner {
        padding: 25px 20px;
        margin-top: 15px;
    }

    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
}
.product-label.label-sale {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff0000 !important;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 10;
}

.offer-ribbon {
    position: absolute;
    top: 14px;
    left: -38px;
    background: linear-gradient(135deg, rgb(248, 218, 46), rgb(235, 200, 30));
    color: #000;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 40px;
    transform: rotate(-45deg);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    z-index: 15;
    letter-spacing: 0.5px;
}

.product-title-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.stock-dot {
    font-size: 16px;
    color: #999;
    line-height: 1;
    margin-top: 2px;
}

.stock-inline {
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 10px;
    text-transform: capitalize;
    line-height: 1;
}

.stock-inline.in-stock {
    background: #c4ffcc;
    color: #038214;
}

.stock-inline.out-stock {
    background: #ffe1e1;
    color: #b02a37;
}
