/* Order Page Specific Styles */

.order-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-section {
    margin-bottom: clamp(32px, 5vw, 48px);
}

.form-section-title {
    font-size: clamp(1.1rem, 2.2vw, 1.3rem);
    font-weight: 300;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-primary);
    color: var(--text-primary);
}

/* Watch Details Section */
.watch-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: clamp(16px, 3vw, 24px);
    margin-bottom: 24px;
}

.spec-item {
    background: var(--bg-elevated);
    border: 1px solid var(--border-primary);
    border-radius: 2px;
    padding: clamp(16px, 3vw, 20px);
    transition: all 0.3s ease;
}

.spec-item:hover {
    border-color: var(--border-hover);
}

.spec-label {
    font-size: clamp(0.75rem, 1.4vw, 0.8rem);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.spec-value {
    font-size: clamp(0.95rem, 1.8vw, 1rem);
    color: var(--text-primary);
    font-weight: 300;
}

/* Image Upload Section */
.image-upload-container {
    background: var(--bg-elevated);
    border: 1px dashed var(--border-primary);
    border-radius: 2px;
    padding: clamp(30px, 5vw, 40px);
    text-align: center;
    transition: all 0.3s ease;
}

.image-upload-container:hover {
    border-color: var(--accent-gold);
    background: var(--bg-secondary);
}

.upload-icon {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--text-muted);
    margin-bottom: 16px;
}

.upload-text {
    color: var(--text-secondary);
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    margin-bottom: 8px;
}

.upload-subtext {
    color: var(--text-muted);
    font-size: clamp(0.8rem, 1.5vw, 0.85rem);
    letter-spacing: 0.05em;
}

/* Condition Selection */
.condition-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: clamp(12px, 2vw, 16px);
}

.condition-option {
    background: var(--bg-elevated);
    border: 1px solid var(--border-primary);
    border-radius: 2px;
    padding: clamp(20px, 3vw, 24px);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.condition-option input[type="radio"] {
    display: none;
}

.condition-option:hover {
    border-color: var(--accent-gold);
}

.condition-option input[type="radio"]:checked + label {
    color: var(--accent-gold);
}

.condition-option.selected {
    border-color: var(--accent-gold);
    background: var(--accent-gold-muted);
}

.condition-option.selected::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gold);
}

.condition-label {
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    font-weight: 300;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
}

.condition-description {
    font-size: clamp(0.75rem, 1.4vw, 0.8rem);
    color: var(--text-muted);
    margin-top: 8px;
    line-height: 1.4;
}

/* Price Input */
.price-input-group {
    position: relative;
}

.price-input-group input {
    padding-left: 40px;
    font-size: clamp(1.1rem, 2.2vw, 1.3rem);
    font-weight: 300;
}

.currency-symbol {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-gold);
    font-size: clamp(1.1rem, 2.2vw, 1.3rem);
    pointer-events: none;
}

/* Contact Information */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: clamp(16px, 3vw, 24px);
}

/* Terms & Conditions */
.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-primary);
    border-radius: 2px;
    margin-bottom: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.terms-checkbox:hover {
    border-color: var(--border-hover);
}

.terms-checkbox input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--accent-gold);
}

.terms-text {
    font-size: clamp(0.85rem, 1.6vw, 0.9rem);
    color: var(--text-secondary);
    line-height: 1.6;
}

.terms-text a {
    color: var(--accent-gold);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.terms-text a:hover {
    border-bottom-color: var(--accent-gold);
}

/* Order Summary */
.order-summary {
    background: var(--bg-elevated);
    border: 1px solid var(--border-primary);
    border-radius: 2px;
    padding: clamp(24px, 4vw, 32px);
    margin-top: 32px;
    position: sticky;
    top: 20px;
}

.summary-title {
    font-size: clamp(1.1rem, 2.2vw, 1.3rem);
    font-weight: 300;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-primary);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    color: var(--text-secondary);
    font-size: clamp(0.9rem, 1.8vw, 0.95rem);
}

.summary-item.total {
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border-primary);
    color: var(--text-primary);
    font-size: clamp(1.1rem, 2.2vw, 1.2rem);
    font-weight: 300;
}

.summary-value {
    color: var(--accent-gold);
}

/* Success/Error Messages */
.message-box {
    padding: clamp(16px, 3vw, 20px);
    border-radius: 2px;
    margin-bottom: 24px;
    border: 1px solid;
    font-size: clamp(0.9rem, 1.8vw, 0.95rem);
}

.message-box.success {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.message-box.error {
    background: rgba(255, 59, 48, 0.1);
    border-color: rgba(255, 59, 48, 0.5);
    color: rgba(255, 59, 48, 0.9);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .watch-specs {
        grid-template-columns: 1fr;
    }
    
    .condition-selector {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .order-summary {
        position: static;
        margin-top: 24px;
    }
}

@media (max-width: 480px) {
    .spec-item {
        padding: 16px;
    }
    
    .terms-checkbox {
        padding: 16px;
    }
}