﻿/* Pro Product Page - Complete CSS with All Classes */
.Pro-container {
    font-family: 'Vazir';
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.Pro-product-section {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin: 20px 0;
    overflow: hidden;
}

.Pro-product-header {
    padding: 30px;
    border-bottom: 1px solid #f0f0f0;
}

.Pro-product-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
    line-height: 1.3;
    text-align: right;
}

.Pro-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 15px 0;
    color: #718096;
    font-size: 1.1rem;
}

.Pro-seller-contact {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.Pro-contact-btn {
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.Pro-whatsapp {
    background: #25D366;
    color: white;
}

.Pro-rubika {
    background: linear-gradient(128deg, #392ee6 0%, #b906bb 28%, #e0650f 55%, #dada0f 84%, #ffae03 100%);
    color: white;
    padding: 8px 20px;
}

.Pro-product-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 0 30px;
}

.Pro-gallery-section {
    flex: 1;
    min-width: 300px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
}

.Pro-main-image-container {
    background: #ffffff;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.Pro-main-image {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    border-radius: 10px;
    background: #ffffff;
}

.Pro-video-player {
    width: 100%;
    height: 500px;
    border-radius: 15px;
    margin-bottom: 20px;
    display: none;
    background: #ffffff;
}

    .Pro-video-player iframe {
        width: 100%;
        height: 100%;
        border-radius: 10px;
        border: none;
    }

.Pro-thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
}

.Pro-thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background: #ffffff;
}

    .Pro-thumbnail:hover {
        transform: scale(1.1);
        border-color: #667eea;
    }

.Pro-thumbnail-container {
    width: 80px;
    height: 80px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background: #ffffff;
}

    .Pro-thumbnail-container:hover {
        transform: scale(1.1);
        border-color: #667eea;
    }

.Pro-play-icon {
    width: 40px;
    height: 40px;
}

.Pro-price-section {
    flex: 1;
    min-width: 300px;
    padding: 25px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.Pro-price-content {
    width: 100%;
}

.Pro-current-price {
    color: white !important;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.Pro-old-price {
    color: darkred !important;
    font-size: 1.4rem;
    text-decoration: line-through;
    opacity: 0.8;
    margin-bottom: 10px;
}

.Pro-discount-badge {
    background: #ff4757;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin: 10px 0;
}

.Pro-special-offer {
    background: linear-gradient(135deg, #ffd700 0%, #ffb347 100%);
    color: #2d3748;
    border: 2px solid #ff6b35;
    border-radius: 15px;
    padding: 20px;
    margin: 15px 0;
    text-align: center;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.Pro-countdown {
    font-size: 1.3rem;
    font-weight: 700;
    color: #d63031;
    margin: 10px 0;
}

.Pro-add-to-cart {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 10px auto;
    text-decoration: none;
}

    .Pro-add-to-cart:hover {
        background: #45a049;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
    }

    .Pro-add-to-cart:disabled {
        background: #ccc;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

.Pro-added-to-cart {
    background: linear-gradient(135deg, #22D3EE 0%, #10B981 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 10px auto;
    text-decoration: none !important;
}

    .Pro-added-to-cart:hover {
        background: linear-gradient(135deg, #22D3EE 0%, #10B981 100%);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
    }

.Pro-out-of-stock {
    text-align: center;
}

.Pro-out-of-stock-text {
    color: #dc3545;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

.Pro-features-section {
    padding: 30px;
    background: #f8f9fa;
    margin: 30px;
    border-radius: 15px;
}

.Pro-accessories-section {
    padding: 30px;
    background: #fff;
    margin: 20px 30px;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
}

.Pro-description-section {
    padding: 30px;
    line-height: 1.8;
    font-size: 1.1rem;
    color: #4a5568;
}

    .Pro-description-section h3 {
        color: #2d3748;
        margin-bottom: 20px;
        font-size: 1.5rem;
        border-bottom: 2px solid #667eea;
        padding-bottom: 10px;
    }

.Pro-comments-section {
    max-width: 1170px;
    padding: 30px;
    background: #fff;
    margin: 20px auto;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.Pro-comments-header {
    text-align: center;
    margin-bottom: 30px;
}

    .Pro-comments-header h2 {
        color: #2d3748;
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

.Pro-comments-content {
    width: 100%;
}

.Pro-seller-info {
    max-width: 1170px;
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px;
    margin: 20px auto;
}

.Pro-seller-header {
    text-align: center;
    margin-bottom: 25px;
}

    .Pro-seller-header h3 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }

.Pro-seller-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
}

.Pro-seller-main {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    flex: 1;
    min-width: 250px;
}

    .Pro-seller-main h4 {
        font-size: 1.3rem;
        margin: 0;
    }

.Pro-seller-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid white;
    object-fit: cover;
}

.Pro-seller-details {
    flex: 2;
    min-width: 300px;
}

    .Pro-seller-details p {
        margin: 12px 0;
        font-size: 1.3rem;
        line-height: 1.6;
    }

    .Pro-seller-details strong {
        color: #ffd700;
    }

    .Pro-seller-details a {
        color: white;
        text-decoration: underline;
        transition: opacity 0.3s ease;
    }

        .Pro-seller-details a:hover {
            opacity: 0.8;
        }

.Pro-related-products {
    max-width: 1160px;
    padding: 30px 0;
    margin: 20px auto;
}

.Pro-floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.Pro-floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

    .Pro-floating-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    }

.Pro-whatsapp-btn {
    background: #25D366;
}

.Pro-rubika-btn {
    background: linear-gradient(128deg, #392ee6 0%, #b906bb 28%, #e0650f 55%, #dada0f 84%, #ffae03 100%);
}

    .Pro-rubika-btn img {
        width: 24px;
        height: 24px;
    }

/* استایل‌های ریسپانسیو */
@media (max-width: 768px) {
    .Pro-product-header {
        padding: 20px;
    }

    .Pro-product-title {
        font-size: 1.6rem;
        text-align: center;
    }

    .Pro-product-meta {
        justify-content: center;
        text-align: center;
        gap: 10px;
    }

    .Pro-seller-contact {
        justify-content: center;
        text-align: center;
    }

    .Pro-contact-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .Pro-product-content {
        flex-direction: column;
        padding: 0 20px;
        gap: 20px;
    }

    .Pro-gallery-section {
        padding: 20px;
    }

    .Pro-main-image-container {
        padding: 15px;
    }

    .Pro-main-image {
        max-height: 300px;
    }

    .Pro-video-player {
        height: 250px;
    }

    .Pro-thumbnails {
        padding: 10px;
        gap: 8px;
    }

    .Pro-thumbnail,
    .Pro-thumbnail-container {
        width: 60px;
        height: 60px;
    }

    .Pro-price-section {
        padding: 20px;
        margin: 0;
    }

    .Pro-current-price {
        font-size: 1.8rem;
    }

    .Pro-old-price {
        font-size: 1.2rem;
    }

    .Pro-add-to-cart {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .Pro-features-section {
        padding: 20px;
        margin: 20px;
    }

    .Pro-accessories-section {
        padding: 20px;
        margin: 20px;
    }

    .Pro-description-section {
        padding: 20px;
    }

    .Pro-comments-section {
        padding: 20px;
    }

    .Pro-seller-info {
        padding: 20px;
    }

    .Pro-seller-content {
        flex-direction: column;
        gap: 20px;
    }

    .Pro-seller-main {
        justify-content: center;
        text-align: center;
    }

    .Pro-floating-buttons {
        bottom: 20px;
        right: 20px;
    }

    .Pro-floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .Pro-container {
        padding: 0 10px;
    }

    .Pro-product-section {
        margin: 10px 0;
        border-radius: 10px;
    }

    .Pro-product-header,
    .Pro-gallery-section,
    .Pro-features-section,
    .Pro-description-section {
        padding: 15px 10px;
    }

    .Pro-product-title {
        font-size: 1.4rem;
    }

    .Pro-seller-contact {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .Pro-main-image {
        max-height: 250px;
    }

    .Pro-thumbnail,
    .Pro-thumbnail-container {
        width: 50px;
        height: 50px;
    }

    .Pro-current-price {
        font-size: 1.6rem;
    }

    .Pro-seller-main {
        flex-direction: column;
        text-align: center;
    }

    .Pro-seller-avatar {
        width: 80px;
        height: 80px;
    }
}

/* استایل‌های کمکی */
.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin: 15px 0;
    text-align: center;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.text-center {
    text-align: center;
}

.pull-right {
    float: right;
}

.pull-left {
    float: left;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}
