/* Product Slider Pro - Frontend Styles */

.psp-slider-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: 'Josefin Sans', sans-serif;
}

/* Product Card */
.psp-product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    margin: 10px;
}

.psp-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* Product Image */
.psp-product-image {
    position: relative;
    overflow: hidden;
}

.psp-product-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.psp-product-card:hover .psp-product-image img {
    transform: scale(1.1);
}

/* Product Actions */
.psp-product-actions {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background: rgba(138, 160, 75, 0.95);
    display: flex;
    align-items: center;
    transition: bottom 0.3s ease;
    z-index: 2;
}

.psp-product-card:hover .psp-product-actions {
    bottom: 0;
}

.psp-add-to-cart,
.psp-quick-view {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: background 0.3s ease;
    font-size: 14px;
}

.psp-add-to-cart {
    flex: 1;
    gap: 8px;
    font-weight: 300;
}

.psp-add-to-cart.loading {
    opacity: 0.7;
    pointer-events: none;
}

.psp-add-to-cart.added {
    background: #27ae60;
}

.psp-quick-view {
    width: 50px;
    border-left: 1px solid rgba(255,255,255,0.3);
    font-size: 18px;
}

.psp-add-to-cart:hover,
.psp-quick-view:hover {
    background: rgba(0,0,0,0.1);
    color: #fff;
}

/* Sale Badge */
.psp-sale-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e74c3c;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

/* Out of Stock Badge */
.psp-out-of-stock-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #95a5a6;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

/* Product Info */
.psp-product-info {
    padding: 15px;
    text-align: center;
}

.psp-category {
    font-size: 12px;
    color: #8aa04b;
    margin-bottom: 8px;
    font-weight: 300;
}

.psp-category a {
    color: #8aa04b;
    text-decoration: none;
}

.psp-category a:hover {
    text-decoration: underline;
}

.psp-product-title {
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 400;
}

.psp-product-title a {
    color: #333;
    text-decoration: none;
}

.psp-product-title a:hover {
    color: #8aa04b;
}

.psp-price {
    font-size: 16px;
    font-weight: 600;
    color: #DC9A0E;
    margin-bottom: 8px;
}

.psp-price del {
    color: #999;
    font-size: 14px;
    margin-right: 5px;
}

.psp-price ins {
    text-decoration: none;
}

.psp-rating {
    font-size: 14px;
    color: #f1c40f;
}

/* Owl Carousel Customization */
.owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.owl-prev,
.owl-next {
    pointer-events: auto;
    width: 40px;
    height: 40px;
    background: #8aa04b !important;
    border-radius: 4px !important;
    color: #fff !important;
    font-size: 20px !important;
    transition: background 0.3s ease;
}

.owl-prev:hover,
.owl-next:hover {
    background: #6b8235 !important;
}

.owl-dots {
    text-align: center;
    margin-top: 30px;
}

.owl-dot {
    display: inline-block;
    margin: 0 5px;
}

.owl-dot span {
    display: block;
    width: 10px;
    height: 10px;
    background: #ddd;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.owl-dot.active span {
    background: #8aa04b;
    transform: scale(1.2);
}

/* Style 2 - Modern */
.psp-style-style2 .psp-product-card {
    border-radius: 0;
    box-shadow: none;
    border: 1px solid #eee;
}

.psp-style-style2 .psp-product-image img {
    height: 300px;
}

/* Style 3 - Minimal */
.psp-style-style3 .psp-product-card {
    box-shadow: none;
    border: none;
}

.psp-style-style3 .psp-product-info {
    padding: 15px 0;
}


/* Add to Cart Message */
.psp-add-to-cart-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    z-index: 10;
    animation: psp-fadeIn 0.3s ease;
}

.psp-add-to-cart-message.success {
    background: #27ae60;
}

.psp-add-to-cart-message.error {
    background: #e74c3c;
}

@keyframes psp-fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Loading State */
.psp-add-to-cart.loading {
    opacity: 0.7;
    cursor: wait;
    pointer-events: none;
}

.psp-add-to-cart.added {
    background: #27ae60 !important;
}

/* Cart Count Badge */
.cart-count {
    background: #e74c3c;
    color: #fff;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 11px;
    position: relative;
    top: -10px;
    left: -5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .psp-slider-container {
        padding: 20px 15px;
    }
    
    .psp-add-to-cart span {
        display: none;
    }
    
    .psp-add-to-cart i {
        font-size: 18px;
    }
}