/* Brand Colors Setup */
:root {
    --brand-primary: #ef7f1b;
    --brand-secondary: #ae231e;
    --brand-bg: #f5f5f5;
}

.product-enquiry-page {
    background-color: var(--brand-bg);
    min-height: 100vh;
}

/* Card Styling */
.card {
    border: none !important;
    box-shadow: 0 4px 15px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.04);
}

.card-header {
    background-color: #fff !important;
    border-bottom: 2px solid #efefef !important;
}

.card-header h4 i, .card-header .fa-solid {
    color: var(--brand-primary) !important;
}

/* Form Headings */
h5.text-primary.section-heading {
    color: var(--brand-secondary) !important;
    border-left: none !important;
    border-bottom: 1.2px solid var(--brand-primary) !important;
    padding-bottom: 8px;
    padding-left: 0 !important;
    margin-bottom: 1.8rem !important;
    display: inline-block;
}

/* Input & Form Control Fixes */
.form-label {
    color: #333;
    font-size: 0.9rem;
    font-weight: 600;
}

.form-control, .form-select, textarea.form-control {
    background-color: #ffffff !important;
    border: 1.2px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    color: #334155;
    transition: all 0.2s ease;
    box-shadow: none !important;
}

.form-control:focus, .form-select:focus {
    border-color: var(--brand-primary) !important;
    box-shadow: none !important;
    outline: 0 !important;
}

.input-group-text {
    background-color: #fcfcfc;
    border-color: #ddd;
    color: var(--brand-secondary);
}

/* Product Sidebar Details */
.product-price-summary {
    background-color: #fff;
    border: 1px dashed var(--brand-primary);
    border-radius: 10px;
}

.product-price-summary .text-primary {
    color: var(--brand-secondary) !important;
}

/* Submit Button Custom Styling */
.enquiry-submit-btn {
    background-color: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    color: #fff !important;
}

.enquiry-submit-btn:hover {
    background-color: var(--brand-secondary) !important;
    border-color: var(--brand-secondary) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(174, 35, 30, 0.2) !important;
}

.sticky-lg-top {
    position: sticky;
    top: 30px;
}

img.rounded-circle {
    border-color: var(--brand-primary) !important;
}

/* Quantity Selector Styles */
.quantity-selector .btn {
    border-color: #d1d5db;
    background-color: #f9fafb;
    color: #4b5563;
    width: 45px;
}

.quantity-selector .btn:hover {
    background-color: var(--brand-primary);
    color: #fff;
    border-color: var(--brand-primary);
}

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

.quantity-selector input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

/* Validation Styles */
.is-invalid {
    border-color: var(--brand-secondary) !important;
}

.error-placeholder, div.error {
    color: #ae231e !important;
    font-size: 0.8rem !important;
    font-weight: 500;
    margin-top: 4px;
}

@media (max-width: 991px) {
    .sticky-lg-top {
        position: static !important;
    }
}
