/* --- PRODUCT CARD 1 BASE CSS (editable:false) --- */
.ecom-product-card {
    border-width: 1px;
    border-style: solid;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.ecom-product-card:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}
.ecom-product-image-wrapper {
    position: relative;
    overflow: hidden;
}
.ecom-product-image {
    width: 100%;
    object-fit: cover;
}
.ecom-product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    z-index: 2;
}
.ecom-product-badge.flash {
    background: #ff9500;
}
.ecom-product-badge.stock {
    background: #00b894;
}
.ecom-product-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.ecom-product-title, .ecom-product-title a {
    font-size: 14px;
    margin-bottom: 8px;
    min-height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.ecom-product-price-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto;
}
.ecom-product-old-price {
    font-size: 14px;
    text-decoration: line-through;
}
.ecom-product-price {
    font-size: 16px;
}
.ecom-product-installment {
    font-size: 11px;
    color: #666;
    margin-top: 5px;
}
.ecom-add-to-cart-btn {
    width: 100%;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    margin-top: 12px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.ecom-add-to-cart-btn:hover {
    transform: translateY(-2px);
}
.ecom-add-to-cart-btn:active {
    transform: translateY(0);
}
.ecom-add-to-cart-btn:disabled, .ecom-add-to-cart-btn:disabled:hover {
    box-shadow: none;
    cursor: default;
    transform: none;
}
.owl-stage {
    display: flex !important;
    align-items: stretch;
}
.owl-item {
    display: flex !important;
    flex-direction: column;
    height: auto !important;
}
.owl-item .ecom-product-card {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.product-image-slider .swiper-pagination {
    bottom: 5px !important;
}
.product-image-slider .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    opacity: 0.5;
}
.product-image-slider .swiper-pagination-bullet-active {
    opacity: 1;
    width: 12px;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .swiper-wrapper {
        height: auto;
    }
}
