.shoes-img img {
    mix-blend-mode: darken;
    max-width: 100%;
    height: 120px;
    object-fit: contain;
}

.card-style {
    margin: unset;
    margin-top: -72px;
}

.product-card {
    border-radius: 8px;
    overflow: hidden;
    transition: 0.3s;
}

.product-card.out-of-stock {
    opacity: 0.5;
    pointer-events: none;
}

.stock-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
}

.product-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 5px;
}

.discount-badge {
    background-color: #ff0000;
    color: white;
    padding: 3px 6px;
    font-size: 10px;
    font-weight: bold;
    border-radius: 10px;
    margin-left: 8px;
}

.product-info {
    padding: 8px;
}

.price-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.discount-price {
    display: inline-flex;
    align-items: center;
    background-color: #ffebee;
    color: #d32f2f;
    font-size: 12px;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 20px;
    border: 1px solid #d32f2f;
}

.original-price {
    text-decoration: line-through;
    color: grey;
    font-size: 12px;
}

.blok-terjual {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.cloths-sold-sec.mt-1 p {
    margin: 0;
    font-size: 10px;
    color: #878787;
}

.rating {
    color: #ffc107;
    font-size: 12px;
    font-weight: bold;
    margin-left: auto;
}

.location {
    font-size: 12px;
    color: gray;
}

@media (max-width: 768px) {
    .product-image {
        height: 150px;
    }

    .product-info {
        padding: 5px;
    }

    .product-info h6 {
        font-size: 12px;
        font-weight: 400;
    }

    .discount-price {
        font-size: 10px;
        padding: 3px 6px;
    }

    .original-price {
        font-size: 10px;
        margin-top: 2px;
    }

    .rating {
        color: #ffc107;
        font-size: 12px;
    }

    .location {
        font-size: 12px;
        color: gray;
    }

    .price-container {
        gap: 5px;
    }

    .stock-badge {
        font-size: 0.7rem;
        padding: 3px 6px;
    }

    .category-badge {
        font-size: 10px;
        padding: 2px 6px;
    }

    .shopee-section {
        align-items: center;
        padding: 10px;
        text-align: center;
    }

    .shopee-item {
        width: 100%;
        justify-content: center;
        padding: 8px 0;
        font-size: 13px;
    }

    .shopee-item i {
        font-size: 12px;
        margin-right: 5px;
    }

    .text-small {
        font-size: 12px;
    }

    .wa-alert__inner {
        align-items: flex-start;
    }

    .wa-alert__actions {
        width: 100%;
        margin-left: 0;
    }
}

.shopee-section {
    padding: 5px;
    display: flex;
    background-color: #f3f3f3;
    border-radius: 10px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.shopee-item {
    display: flex;
    align-items: center;
    color: #830006;
    text-decoration: none;
    padding: 10px;
    transition: color 0.3s;
    flex: 1;
}

.shopee-item:hover {
    color: #830006;
}

.shopee-item i {
    font-size: 22px;
    margin-right: 10px;
}

.text-small {
    font-size: 14px;
    color: #830006;
    display: flex;
    align-items: center;
}

.category-badge {
    display: inline-block;
    background-color: #f7c9c9;
    color: #830006;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 500;
    border-radius: 15px;
    text-decoration: none;
    transition: background-color 0.2s ease-in-out;
}

.wa-alert {
    --wa-radius: 16px;
    --wa-pad: 14px 16px;
    --wa-border: 1px;
    --wa-grad1: #ff7a7a;
    --wa-grad2: #FF7171FF;
    --wa-bg: #ff0000;
    --wa-text: #5b2b2b;
    --wa-chip: #fff4f4;
    border: var(--wa-border) solid transparent;
    border-radius: var(--wa-radius);
    padding: 0;
    background: linear-gradient(var(--wa-bg), var(--wa-bg)) padding-box, linear-gradient(135deg, var(--wa-grad1), var(--wa-grad2)) border-box;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .06);
}

.wa-alert__inner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: var(--wa-pad);
    flex-wrap: wrap;
}

.wa-alert__icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffe5e5, #fff1d6);
    display: grid;
    place-items: center;
}

.wa-alert__icon svg {
    width: 22px;
    height: 22px;
    color: #c22;
}

.wa-alert__content {
    display: grid;
    gap: 4px;
    min-width: 220px;
    color: var(--wa-text);
}

.wa-alert__title {
    font-weight: 700;
    line-height: 1.2;
    font-size: 15px;
    color: white;
    letter-spacing: .2px;
}

.wa-alert__desc {
    font-size: 13px;
    color: white;
}

.wa-alert__actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.wa-chip {
    background: var(--wa-chip);
    border: 1px dashed #f3b2b2;
    color: #a24545;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.wa-alert .btn-wa {
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 600;
    border: none;
}

.wa-alert .btn-close {
    position: absolute;
    top: 10px;
    right: 10px;
    filter: invert(18%) sepia(21%) saturate(1008%) hue-rotate(319deg) brightness(90%) contrast(92%);
}

.popup-backdrop {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.popup-animate {
    animation: slideUpMobile 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes slideUpMobile {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.popup-close-btn {
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
    z-index: 10002;
}

.popup-close-btn:hover {
    background: #dc3545;
    transform: rotate(90deg);
}

.popup-close-btn:active {
    transform: scale(0.9);
}

.popup-close-btn svg {
    width: 20px;
    height: 20px;
    pointer-events: none;
}

.transition-transform:hover {
    transform: translateY(-2px);
}

.popup-responsive-size {
    width: 90%;
    max-width: 400px;
}

@media (min-width: 992px) {
    .popup-responsive-size {
        max-width: 320px !important;
    }
}
