/* استایل صفحهٔ product — استخراج‌شده از resources/views/products/show.blade.php برای کش شدن توسط مرورگر */

.product-detail-page {
        width: 100%;
        background: var(--bone-white);
        min-height: 100vh;
        padding: 40px 20px;
    }

    .product-container {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
    }

    .breadcrumb {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 24px;
        font-size: 14px;
        color: var(--text-muted);
        flex-wrap: wrap;
    }

    .breadcrumb a {
        color: var(--text-muted);
        text-decoration: none;
        transition: color 0.3s;
    }

    .breadcrumb a:hover {
        color: var(--gold-medium);
    }

    .breadcrumb-separator {
        color: var(--text-light);
    }

    .product-main-section {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        margin-bottom: 40px;
    }

    .product-gallery {
        background: white;
        border-radius: 16px;
        padding: 24px;
        box-shadow: 0 2px 8px rgba(43, 43, 43, 0.08);
    }

    .main-image-wrapper {
        position: relative;
        width: 100%;
        padding-top: 100%;
        background: #f5f5f5;
        border-radius: 12px;
        overflow: hidden;
        margin-bottom: 16px;
    }

    .main-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .thumbnails {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }

    .thumbnail {
        position: relative;
        padding-top: 100%;
        background: #f5f5f5;
        border-radius: 8px;
        overflow: hidden;
        cursor: pointer;
        border: 2px solid transparent;
        transition: border-color 0.3s;
    }

    .thumbnail:hover,
    .thumbnail.active {
        border-color: var(--gold-medium);
    }

    .thumbnail img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .product-info {
        background: white;
        border-radius: 16px;
        padding: 32px;
        box-shadow: 0 2px 8px rgba(43, 43, 43, 0.08);
    }

    .product-header {
        margin-bottom: 24px;
        padding-bottom: 24px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .product-title {
        font-size: 24px;
        font-weight: 700;
        color: var(--text-primary);
        margin-bottom: 12px;
        line-height: 1.4;
    }

    .product-meta {
        display: flex;
        align-items: center;
        gap: 16px;
        flex-wrap: wrap;
    }

    .meta-item {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 14px;
        color: var(--text-muted);
    }

    .seller-link {
        color: var(--gold-medium);
        text-decoration: none;
        font-weight: 600;
        transition: color 0.3s;
    }

    .seller-link:hover {
        color: var(--gold-accent);
    }

    .product-type-label {
        display: inline-block;
        padding: 6px 12px;
        background: rgba(194, 162, 95, 0.1);
        color: var(--gold-accent);
        border-radius: 8px;
        font-size: 13px;
        font-weight: 600;
    }

    .price-section {
        margin-bottom: 24px;
        padding: 20px;
        background: linear-gradient(135deg, rgba(194, 162, 95, 0.05) 0%, rgba(179, 149, 91, 0.08) 100%);
        border-radius: 12px;
    }

    .price-wrapper {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
    }

    .current-price {
        font-size: 32px;
        font-weight: 700;
        color: var(--gold-accent);
    }

    .original-price {
        font-size: 18px;
        color: #999;
        text-decoration: line-through;
    }

    .discount-badge {
        display: inline-block;
        padding: 6px 12px;
        background: linear-gradient(135deg, #f44336 0%, #e91e63 100%);
        color: white;
        border-radius: 20px;
        font-size: 14px;
        font-weight: 700;
    }

    .product-description {
        margin-bottom: 24px;
    }

    .description-title {
        font-size: 16px;
        font-weight: 600;
        color: var(--text-primary);
        margin-bottom: 12px;
    }

    .description-text {
        font-size: 14px;
        color: var(--text-secondary);
        line-height: 1.8;
    }

    .product-actions {
        margin-top: 32px;
    }

    .seller-info-card {
        background: white;
        border-radius: 16px;
        padding: 24px;
        box-shadow: 0 2px 8px rgba(43, 43, 43, 0.08);
        margin-bottom: 24px;
    }

    .seller-header {
        display: flex;
        align-items: center;
        gap: 16px;
        margin-bottom: 20px;
    }

    .seller-avatar {
        width: 64px;
        height: 64px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--gold-light), var(--gold-medium));
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 32px;
    }

    .seller-details h3 {
        font-size: 18px;
        font-weight: 700;
        color: var(--text-primary);
        margin-bottom: 4px;
    }

    .seller-details p {
        font-size: 14px;
        color: var(--text-muted);
        margin: 0;
    }

    .seller-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        padding: 16px;
        background: rgba(194, 162, 95, 0.05);
        border-radius: 12px;
    }

    .stat-item {
        text-align: center;
    }

    .stat-value {
        display: block;
        font-size: 20px;
        font-weight: 700;
        color: var(--gold-accent);
        margin-bottom: 4px;
    }

    .stat-label {
        display: block;
        font-size: 13px;
        color: var(--text-muted);
    }

    .shipping-method-item {
        cursor: pointer;
        transition: all 0.3s;
        padding: 12px;
        border: 2px solid rgba(0,0,0,0.12);
        border-radius: 8px;
    }

    .shipping-method-item:hover {
        border-color: var(--gold-medium) !important;
        background: rgba(194, 162, 95, 0.05);
    }

    .shipping-method-item:has(input:checked) {
        border-color: var(--gold-medium) !important;
        background: rgba(194, 162, 95, 0.1);
    }

    @media (max-width: 768px) {
        .product-main-section {
            grid-template-columns: 1fr;
            gap: 24px;
        }

        .current-price {
            font-size: 24px;
        }

        .seller-stats {
            grid-template-columns: repeat(3, 1fr);
        }

        .shipping-method-price {
            align-self: flex-end;
        }
    }