/* Container Styles */
.prk-flash-sale-container {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

/* Header Styles */
.prk-flash-sale-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.prk-flash-sale-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.prk-sale-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(45deg, #ff6b6b, #ff5252);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Product Slider */
.prk-products-wrapper {
    position: relative;
}

.prk-product-slider {
    min-height: 400px;
}

.prk-current-product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

/* Product Image */
.prk-product-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f8f8;
}

.prk-product-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.prk-product-image:hover img {
    transform: scale(1.05);
}

.prk-discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff6b6b;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: bold;
}

/* Product Info */
.prk-product-info {
    padding: 20px;
}

.prk-product-title {
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.prk-product-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.prk-product-title a:hover {
    color: #ff6b6b;
}

/* Price Styles */
.prk-price-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.prk-regular-price {
    color: #999;
    font-size: 16px;
    text-decoration: line-through;
}

.prk-sale-price {
    color: #ff6b6b;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
}

/* Sold Info */
.prk-sold-info {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f0f0f0;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 14px;
    margin-bottom: 20px;
}

.prk-sold-count {
    font-weight: bold;
    color: #ff6b6b;
}

/* Countdown Timer */
.prk-countdown-timer {
    margin: 20px 0;
    padding: 15px;
    background: #fff8f8;
    border-radius: 8px;
    border: 1px solid #ffe0e0;
}

.prk-timer-title {
    text-align: center;
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.prk-timer-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.prk-timer-box {
    background: #ff6b6b;
    color: white;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    min-width: 50px;
}

.prk-timer-digit {
    display: block;
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
}

.prk-timer-label {
    display: block;
    font-size: 12px;
    margin-top: 5px;
}

.prk-timer-separator {
    color: #ff6b6b;
    font-size: 24px;
    font-weight: bold;
}

/* View Product Button */
.prk-view-product-btn {
    display: inline-block;
    background: linear-gradient(45deg, #ff6b6b, #ff5252);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    margin-top: 10px;
}

.prk-view-product-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

/* Product Dots */
.prk-product-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.prk-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prk-dot.active {
    background: #ff6b6b;
    transform: scale(1.2);
}

.prk-dot:hover {
    background: #ff6b6b;
}

/* Responsive Design */
@media (max-width: 768px) {
    .prk-current-product {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .prk-flash-sale-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .prk-product-info {
        padding: 15px 0;
    }

    .prk-timer-box {
        min-width: 40px;
        padding: 8px;
    }

    .prk-timer-digit {
        font-size: 18px;
    }

    .prk-timer-label {
        font-size: 10px;
    }

    .prk-price-wrapper {
        justify-content: center;
    }
}

/* RTL Support */
.rtl .prk-product-image .prk-discount-badge {
    right: auto;
    left: 10px;
}

.rtl .prk-price-wrapper {
    direction: rtl;
}

.rtl .prk-sale-badge svg {
    margin-right: 0;
    margin-left: 8px;
}