/* ===== PRODUCT PAGE STYLES ===== */

.product-page {
    padding: 48px 0 100px;
    background: var(--bg-secondary);
}

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

.breadcrumb a {
    color: var(--text-secondary);
    transition: var(--transition);
}

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

.product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    margin-bottom: 80px;
}

/* Product Images */
.product-images {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.main-image {
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Product Details */
.product-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.product-page-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.product-venue-name {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-weight: 500;
}

.product-price-from {
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.product-price-from strong {
    color: var(--primary-color);
    font-size: 32px;
    font-weight: 700;
    display: block;
    margin-top: 8px;
}

/* Variant Section */
.variant-section {
    background: var(--bg-tertiary);
    border-radius: 18px;
    padding: 32px;
    border: none;
}

.variant-title {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

/* Date Select Dropdown */
.date-select {
    width: 100%;
    padding: 18px 24px;
    font-size: 17px;
    font-weight: 600;
    font-family: inherit;
    color: var(--text-primary);
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 14px;
    cursor: pointer;
    transition: var(--transition);
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 22px;
    padding-right: 56px;
    box-shadow: var(--shadow-sm);
}

.date-select:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
    background: #fefefe;
}

.date-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(26, 26, 26, 0.08);
    background: white;
}

.date-select option {
    padding: 16px;
    font-weight: 500;
}

/* Categories List with Quantity */
.categories-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.category-row-qty {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 24px 28px;
    background: white;
    border: 2px solid var(--border-light);
    border-radius: 14px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.category-row-qty:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.category-info {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.category-name {
    font-weight: 700;
    font-size: 16px;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.category-price {
    font-weight: 800;
    font-size: 22px;
    color: var(--primary-color);
}

/* Quantity Selector */
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--border-color);
}

.qty-btn {
    width: 44px;
    height: 44px;
    background: white;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    transition: var(--transition);
    border: none;
}

.qty-btn:hover {
    background: var(--primary-color);
    color: white;
}

.qty-btn:active {
    transform: scale(0.95);
}

.qty-input {
    width: 56px;
    text-align: center;
    font-size: 20px;
    font-weight: 800;
    border: none;
    background: white;
    color: var(--text-primary);
    border-left: 2px solid var(--border-color);
    border-right: 2px solid var(--border-color);
    height: 44px;
}

.qty-input:focus {
    outline: none;
}

/* Cart Summary Box */
.cart-summary-box {
    background: linear-gradient(135deg, #f9f9f9 0%, #f1f1f1 100%);
    border-radius: 16px;
    padding: 28px 32px;
    border: 2px solid #d4d4d4;
    box-shadow: var(--shadow);
}

.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    font-size: 17px;
}

.summary-line span:first-child {
    color: var(--text-secondary);
    font-weight: 600;
}

.summary-line span:last-child {
    font-weight: 800;
    color: var(--text-primary);
    font-size: 19px;
}

.summary-total-line {
    margin-top: 20px;
    margin-bottom: 0;
    padding-top: 20px;
    border-top: 2px solid #d4d4d4;
    font-size: 20px;
}

.summary-total-line span:first-child {
    font-weight: 700;
    font-size: 18px;
}

.summary-total-line span:last-child {
    color: var(--primary-color);
    font-size: 34px;
    font-weight: 900;
}

/* Add to Cart Button */
.btn-large {
    padding: 18px 40px;
    font-size: 17px;
    font-weight: 700;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--bg-tertiary);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

.btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Stadium Plan */
.stadium-plan {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 28px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.stadium-plan h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.stadium-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

/* Product Description */
.product-description {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 48px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.product-description h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.product-description h3 {
    font-size: 24px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.product-description p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 16px;
}

.product-description ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.product-description ul li {
    color: var(--text-secondary);
    line-height: 1.6;
    padding-left: 5px;
    font-size: 15px;
}

/* Notifications */
.notification {
    position: fixed;
    top: 100px;
    right: -400px;
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    z-index: 10000;
    transition: right 0.3s ease;
    min-width: 320px;
    font-weight: 500;
}

.notification.show {
    right: 24px;
}

.notification-success {
    border-left: 4px solid #10b981;
    background: #f0fdf4;
}

.notification-error {
    border-left: 4px solid #ef4444;
    background: #fef2f2;
}

.notification-info {
    border-left: 4px solid #1a1a1a;
    background: #f5f5f5;
}

/* Responsive */
@media (max-width: 1024px) {
    .product-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .product-images {
        position: static;
    }
}

@media (max-width: 768px) {
    .product-page-title {
        font-size: 28px;
    }
    
    .category-row-qty {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    
    .category-info {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .quantity-selector {
        justify-content: center;
    }
    
    .product-description {
        padding: 32px;
    }
    
    .product-description h2 {
        font-size: 26px;
    }
    
    .notification {
        min-width: calc(100% - 48px);
        right: -100%;
    }
    
    .notification.show {
        right: 24px;
    }
}

@media (max-width: 480px) {
    .category-row-qty {
        padding: 16px 18px;
    }
    
    .category-name {
        font-size: 13px;
    }
    
    .category-price {
        font-size: 16px;
    }
    
    .qty-btn {
        width: 32px;
        height: 32px;
    }
    
    .qty-input {
        width: 40px;
        font-size: 16px;
    }
    
    .product-description {
        padding: 24px;
    }
}
