/* Page Title Section */
.page-title {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--light-blue) 100%) !important;
    position: relative;
    overflow: hidden;
}

.page-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><radialGradient id="a" cx="50" cy="40" r="50"><stop offset="0" stop-color="white" stop-opacity=".1"/><stop offset="1" stop-color="white" stop-opacity="0"/></radialGradient></defs><circle cx="10" cy="10" r="1" fill="url(%23a)"/><circle cx="30" cy="5" r="1" fill="url(%23a)"/><circle cx="60" cy="15" r="1" fill="url(%23a)"/><circle cx="80" cy="8" r="1" fill="url(%23a)"/></svg>') repeat;
    opacity: 0.1;
}

/* Product Display Section */
.product-display-section {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    height: fit-content;
    position: sticky;
    top: 0;
}

.product-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.product-image-container img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: all 0.4s ease;
    border-radius: 16px;
}

.product-image-container:hover img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.product-name {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.product-description {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.product-features {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid #bae6fd;
}

.product-features h6 {
    font-weight: 700;
    color: #0c4a6e;
    margin-bottom: 1rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-features h6::before {
    content: '✨';
    font-size: 1.1rem;
}

.product-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-features li {
    padding: 0.6rem 0;
    font-size: 0.9rem;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.product-features li:hover {
    color: #1f2937;
    transform: translateX(4px);
}

.product-features li::before {
    content: '✓';
    color: #10b981;
    font-weight: bold;
    font-size: 1rem;
    width: 20px;
    height: 20px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Form Section */
.inquiry-form-section {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.form-section-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1e40af;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    letter-spacing: -0.025em;
}

.form-section-title i {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    padding: 0.6rem;
    border-radius: 12px;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.form-section-title::after {
    content: '';
    flex: 1;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6 0%, #06b6d4 50%, transparent 100%);
    border-radius: 2px;
    margin-left: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-row.single {
    grid-template-columns: 1fr;
}

.enhanced-form-group {
    position: relative;
}

.enhanced-form-label {
    font-weight: 700;
    color: #374151;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.enhanced-form-label i {
    color: #3b82f6;
    font-size: 0.9rem;
    width: 18px;
    flex-shrink: 0;
}

.enhanced-form-label .required {
    color: #ef4444;
    margin-left: auto;
    font-weight: 800;
    font-size: 0.8rem;
}

.enhanced-form-control {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f8fafc;
    font-weight: 500;
    width: 100%;
    position: relative;
}

.enhanced-form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    background: white;
    transform: translateY(-2px);
    outline: none;
}

.enhanced-form-control:hover:not(:focus) {
    border-color: #94a3b8;
    background: white;
    transform: translateY(-1px);
}

.enhanced-form-control.is-valid {
    border-color: #10b981;
    background-color: rgba(16, 185, 129, 0.05);
}

.enhanced-form-control.is-invalid {
    border-color: #ef4444;
    background-color: rgba(239, 68, 68, 0.05);
}

.form-help-text {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 0.5rem;
    font-style: italic;
    font-weight: 400;
    opacity: 0.8;
}

/* Custom Select Styling */
.enhanced-form-control select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 1rem center;
    background-repeat: no-repeat;
    background-size: 16px 16px;
    padding-right: 3rem;
}

/* Modal Footer */
.enhanced-modal .modal-footer {
    padding: 2rem 2.5rem 2.5rem;
    border: none;
    background: linear-gradient(135deg, white 0%, #f8fafc 100%);
    gap: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
}

/* Enhanced Buttons */
.enhanced-btn {
    padding: 1rem 2.5rem;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    min-width: 160px;
    justify-content: center;
}

.enhanced-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.enhanced-btn:hover::before {
    left: 100%;
}

.enhanced-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.enhanced-btn:active {
    transform: translateY(-1px);
}

.enhanced-btn-primary {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #06b6d4 100%);
    color: white;
    box-shadow: 0 8px 32px rgba(30, 64, 175, 0.3);
}

.enhanced-btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #20c55a 50%, #16a34a 100%);
    color: white;
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.3);
}

.enhanced-btn-secondary {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    color: white;
    box-shadow: 0 8px 32px rgba(100, 116, 139, 0.3);
}
.enhanced-btn-secondary:hover,.enhanced-btn-whatsapp:hover,.enhanced-btn-primary:hover {
    background: linear-gradient(135deg, #8b6a64 0%, #6d819d 100%) !important;
    color: white;
    box-shadow: 0 8px 32px rgba(100, 116, 139, 0.3);
}

/* Loading State */
.btn-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    top: 50%;
    left: 50%;
    margin-left: -12px;
    margin-top: -12px;
    border: 3px solid transparent;
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Alert Styles */
.alert {
    border: none;
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.alert-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.3);
}

.alert-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    box-shadow: 0 8px 32px rgba(239, 68, 68, 0.3);
}

.alert-info {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3);
}

.alert-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    box-shadow: 0 8px 32px rgba(245, 158, 11, 0.3);
}

/* Enhanced Product Filters Section */
.product-filters {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

/* Search Filter Container */
.search-filter-container {
    position: relative;
}

.search-filter-container .form-label {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: #1e40af;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-input {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.search-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1), 0 4px 12px rgba(0, 0, 0, 0.1);
    outline: none;
}

.search-input::placeholder {
    color: #94a3b8;
    font-style: italic;
}

/* Category Dropdown Filter */
.dropdown-filter-container {
    position: relative;
}

.category-select {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
    background: white;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%233b82f6' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 1rem center;
    background-repeat: no-repeat;
    background-size: 16px 16px;
    padding-right: 3rem;
    cursor: pointer;
}

.category-select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1), 0 4px 12px rgba(0, 0, 0, 0.1);
    outline: none;
}

/* Quick Filters */
.quick-filters .form-label {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: #1e40af;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-buttons .btn {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border: 2px solid #e2e8f0;
    background: white;
    color: #64748b;
}

.filter-buttons .btn:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.filter-buttons .btn.active {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    border-color: #3b82f6;
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Results Info */
.results-info {
    background: rgba(255, 255, 255, 0.8);
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.results-info span {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

.results-info button {
    color: #3b82f6;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.results-info button:hover {
    color: #1e40af;
    text-decoration: underline !important;
}

/* Filter Highlight Animation */
@keyframes filterHighlight {
    0% {
        background-color: rgba(59, 130, 246, 0.1);
        transform: scale(1.02);
    }
    100% {
        background-color: transparent;
        transform: scale(1);
    }
}

.filter-highlight {
    animation: filterHighlight 0.6s ease-out;
}

/* Product Card with Hover Details Effect */
.product-card {
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: relative;
}

.product-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.product-card .card-img-top {
    transition: all 0.4s ease;
    height: 500px;
    object-fit: cover;
    width: 100%;
}

.product-card:hover .card-img-top {
    transform: scale(1.05);
}

/* Card Body - Details Container */
.product-card .card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7), transparent);
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: all 0.4s ease;
    opacity: 0;
}

/* Show details on hover */
.product-card:hover .card-body {
    transform: translateY(0);
    opacity: 1;
}

.product-card .badge {
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(59, 130, 246, 0.9);
    border: none;
    color: white;
    display: inline-block;
    margin-bottom: 0.8rem;
}

.product-card .card-title {
    font-weight: 700;
    color: white;
    font-size: 1.2rem;
    line-height: 1.3;
    margin-bottom: 0.8rem;
}

.product-card .card-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
}

.product-card .btn {
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-size: 0.85rem;
    background: rgba(59, 130, 246, 1);
    border: none;
    color: white;
    padding: 0.7rem 1.5rem;
}

.product-card .btn:hover {
    background: rgba(37, 99, 235, 1);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

/* Alternative overlay effect for better readability */
.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: all 0.4s ease;
    z-index: 1;
}

.product-card:hover::before {
    background: rgba(0, 0, 0, 0.3);
    color: white !important;
}

.product-card .card-body {
    z-index: 2;
}

/* Custom Scrollbar */
.enhanced-modal .modal-body::-webkit-scrollbar {
    width: 8px;
}

.enhanced-modal .modal-body::-webkit-scrollbar-track {
    background: rgba(241, 245, 249, 0.5);
    border-radius: 4px;
}

.enhanced-modal .modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    border-radius: 4px;
}

.enhanced-modal .modal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

/* Animation Classes */
.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-slide-in {
    animation: modalSlideIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-60px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive Design */
@media (max-width: 1399px) {
    .enhanced-modal {
        --bs-modal-width: 95vw;
    }
    
    .enhanced-modal .modal-body {
        padding: 2rem;
    }
    
    .product-display-section,
    .inquiry-form-section {
        padding: 1.5rem;
    }
}

@media (max-width: 1199px) {
    .enhanced-modal .modal-title {
        font-size: 1.6rem;
    }
    
    .modal-content-wrapper {
        gap: 2rem;
    }
    
    .product-image-container img {
        height: 250px;
    }
}

@media (max-width: 991px) {
    .enhanced-modal {
        --bs-modal-margin: 1rem;
    }
    
    .modal-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-display-section {
        position: static;
        order: 1;
    }
    
    .inquiry-form-section {
        order: 2;
    }
    
    .enhanced-modal .modal-body {
        padding: 1.5rem;
        min-height: auto;
    }
    
    .enhanced-modal .modal-header {
        padding: 1.5rem 2rem;
    }
    
    .product-image-container img {
        height: 240px;
    }
    
    /* Mobile Filter Layout */
    .product-filters .row {
        flex-direction: column;
    }
    
    .product-filters .col-lg-4,
    .product-filters .col-lg-3,
    .product-filters .col-lg-5 {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .quick-filters .filter-buttons {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .enhanced-modal {
        --bs-modal-width: 98vw;
        --bs-modal-margin: 0.5rem;
    }
    
    .enhanced-modal .modal-content {
        border-radius: 20px;
    }
    
    .enhanced-modal .modal-header {
        padding: 1.25rem 1.5rem;
    }
    
    .enhanced-modal .modal-title {
        font-size: 1.3rem;
        gap: 0.5rem;
    }
    
    .enhanced-modal .modal-title i {
        width: 44px;
        height: 44px;
        padding: 0.5rem;
        font-size: 1rem;
    }
    
    .enhanced-modal .modal-body {
        padding: 1.25rem;
    }
    
      .enhanced-modal .modal-footer {
        padding: 1.5rem;
        flex-direction: row-reverse;
        justify-content: center;
        gap: 0.75rem;
    }

    
    .enhanced-btn {
        padding: 0.675rem 1rem;
        font-size: 0.8rem;
    }
    
    .product-image-container img {
        height: 250px;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 575px) {
    .product-image-container img {
    height: 450px !important;
}
.product-card .card-img-top {
    transition: all 0.4s ease;
    height: 500px !important;
    object-fit: cover;
}

}

/* Focus Styles for Accessibility */
.enhanced-form-control:focus,
.enhanced-btn:focus,
.search-input:focus,
.category-select:focus {
    outline: 3px solid rgba(59, 130, 246, 0.5);
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .enhanced-form-control,
    .search-input,
    .category-select {
        border-width: 3px;
    }
    
    .enhanced-btn {
        border: 2px solid currentColor;
    }
    
    .filter-buttons .btn {
        border-width: 3px;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .enhanced-modal .modal-dialog,
    .enhanced-btn,
    .enhanced-form-control,
    .product-image-container img,
    .product-card,
    .filter-buttons .btn,
    .search-input,
    .category-select,
    .whatsapp-btn {
        animation: none;
        transition: none;
    }
    
    .product-image-container:hover img,
    .enhanced-btn:hover,
    .product-card:hover,
    .filter-buttons .btn:hover,
    .whatsapp-btn:hover {
        transform: none;
    }
    
    .filter-highlight {
        animation: none;
    }
}

/* Dark Mode Support (if needed in future) */
@media (prefers-color-scheme: dark) {
    .product-filters {
        background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    }
    
    .search-input,
    .category-select {
        background: #374151;
        border-color: #4b5563;
        color: #f9fafb;
    }
    
    .search-input::placeholder {
        color: #9ca3af;
    }
    
    .results-info {
        background: rgba(55, 65, 81, 0.8);
        border-color: rgba(75, 85, 99, 0.3);
    }
    
    .results-info span {
        color: #d1d5db;
    }
    
    .filter-buttons .btn {
        background: #374151;
        border-color: #4b5563;
        color: #d1d5db;
    }
    
    .product-card {
        background: rgba(55, 65, 81, 0.95);
        border-color: rgba(75, 85, 99, 0.3);
    }
    
    .product-card .card-title {
        color: #f9fafb;
    }
    
    .product-card .card-text {
        color: #d1d5db;
    }
}

/* Print Styles */
@media print {
    .product-filters,
    .whatsapp-float,
    .enhanced-modal,
    .filter-buttons,
    .search-filter-container,
    .dropdown-filter-container {
        display: none !important;
    }
    
    .product-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #000;
    }
    
    .product-card .btn {
        display: none;
    }
}

/* Loading States */
.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Tooltip Styles */
.tooltip-custom {
    position: relative;
    cursor: help;
}

.tooltip-custom::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #1f2937;
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.tooltip-custom:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

/* Error States */
.error-state {
    border-color: #ef4444 !important;
    background-color: rgba(239, 68, 68, 0.05) !important;
}

.error-message {
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

/* Success States */
.success-state {
    border-color: #10b981 !important;
    background-color: rgba(16, 185, 129, 0.05) !important;
}

.success-message {
    color: #10b981;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

/* Custom Checkbox/Radio Styles */
.custom-checkbox,
.custom-radio {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    background: white;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
}

.custom-radio {
    border-radius: 50%;
}

.custom-checkbox:checked,
.custom-radio:checked {
    background: #3b82f6;
    border-color: #3b82f6;
}

.custom-checkbox:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.custom-radio:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

/* Badge Variations */
.badge-new {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    animation: pulse-badge 2s infinite;
}

.badge-popular {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.badge-limited {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-custom {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
}

.blur-backdrop {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.glass-effect {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
} {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        min-width: auto;
    }
    
    .product-display-section,
    .inquiry-form-section {
        padding: 1.25rem;
        border-radius: 16px;
    }
    
    .product-image-container img {
        height: 500px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .enhanced-form-control {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
    
    .product-name {
        font-size: 1.4rem;
    }
    
    .form-section-title {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    /* Mobile Filter Adjustments */
    .filter-buttons .btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .search-input,
    .category-select {
        font-size: 0.9rem;
        padding: 0.75rem 0.875rem;
    }
}

@media (max-width: 575px) {
    .enhanced-modal {
        --bs-modal-margin: 0.25rem;
    }
    
    .enhanced-modal .modal-header {
        padding: 1rem 1.25rem;
    }
    
    .enhanced-modal .modal-title {
        font-size: 1.2rem;
    }
    
    .enhanced-modal .modal-title i {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .enhanced-modal .modal-body {
        padding: 1rem;
    }
    
    .enhanced-modal .modal-footer {
        padding: 1.25rem;
    }
    
    .product-display-section,
    .inquiry-form-section {
        padding: 1rem;
        border-radius: 14px;
    }
    
    .product-image-container img {
        height: 180px;
    }
    
    .enhanced-form-control {
        padding: 0.75rem 0.875rem;
        font-size: 0.9rem;
    }
    
    .enhanced-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }
    
    .product-features {
        padding: 1.25rem;
    }
    
    .product-features li {
        font-size: 0.85rem;
        padding: 0.5rem 0;
    }
    
    .form-section-title {
        font-size: 1.1rem;
    }
    
    .product-name {
        font-size: 1.25rem;
    }
    
    .product-description {
        font-size: 0.9rem;
    }
    
    .filter-buttons {
        justify-content: center;
        gap: 0.3rem;
    }
    
    .filter-buttons .btn {
        font-size: 0.75rem;
        padding: 0.35rem 0.7rem;
    }
}

@media (max-width: 479px) {
    .enhanced-modal .modal-header {
        padding: 0.875rem 1rem;
    }
    
    .enhanced-modal .modal-title {
        font-size: 1.1rem;
    }
    
    .enhanced-modal .modal-body {
        padding: 0.875rem;
    }
    
    .enhanced-modal .modal-footer {
        padding: 1rem;
    }
    
    .product-display-section,
    .inquiry-form-section {
        padding: 0.875rem;
    }
    
}