/* ========================================
   PRODUCT PAGE FIXES
   1. Breadcrumb styling
   2. Price zone improvements  
   3. Quantity selector
   ======================================== */

/* === BREADCRUMB FIXES === */
.breadcrumb {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 15px 0;
    margin-bottom: 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb-list {
    display: flex !important;
    align-items: center;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    flex-wrap: wrap;
    gap: 8px;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
    list-style: none !important;
}

.breadcrumb-list li::before {
    display: none !important;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '›';
    margin-left: 10px;
    color: #00a8ff;
    font-size: 18px;
    font-weight: bold;
}

.breadcrumb-list li a {
    color: #00a8ff;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
}

.breadcrumb-list li a:hover {
    color: #0088cc;
    text-decoration: underline;
}

.breadcrumb-list li:last-child {
    color: #333;
    font-weight: 600;
    max-width: 400px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* === PRICE ZONE IMPROVEMENTS === */
.price-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #00a8ff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 15px;
    flex-wrap: wrap;
}

.current-price-large {
    font-size: 42px;
    font-weight: 800;
    color: #00a8ff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.old-price-large {
    font-size: 22px;
    color: #999;
    text-decoration: line-through;
    font-weight: 400;
}

.discount-badge {
    background: linear-gradient(135deg, #ff4757 0%, #ff6b7a 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.vat-info {
    font-size: 13px;
    color: #666;
    margin-top: 8px;
}

.vat-info a {
    color: #00a8ff;
}

/* === QUANTITY SELECTOR === */
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.quantity-label {
    font-weight: 600;
    color: #333;
    font-size: 15px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.quantity-btn {
    width: 44px;
    height: 44px;
    border: none;
    background: #f0f0f0;
    color: #333;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover:not(:disabled) {
    background: #00a8ff;
    color: white;
}

.quantity-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.quantity-input {
    width: 60px;
    height: 44px;
    border: none;
    border-left: 2px solid var(--border-color);
    border-right: 2px solid var(--border-color);
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    -moz-appearance: textfield;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-max {
    font-size: 13px;
    color: #666;
    margin-left: 10px;
}

/* === ADD TO CART BUTTON IMPROVEMENT === */
.add-to-cart-btn {
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(135deg, #ff9500 0%, #ff7b00 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 149, 0, 0.3);
}

.add-to-cart-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #ff7b00 0%, #ff5500 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 149, 0, 0.4);
}

.add-to-cart-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: none;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .breadcrumb-list li:last-child {
        max-width: 200px;
    }
    
    .current-price-large {
        font-size: 32px;
    }
    
    .quantity-controls {
        width: 100%;
    }
    
    .quantity-input {
        flex: 1;
    }
}
