/* ==========================================================================
   PRODUCTS & ADMIN PORTAL STYLING - KHALIFAH TRADE LINK
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. SHARED AND LAYOUT STYLES
   -------------------------------------------------------------------------- */
.category-page, .admin-page {
    background-color: var(--color-dark-bg);
    font-family: var(--font-body);
    color: var(--text-primary-light);
    min-height: 100vh;
}

.category-hero {
    position: relative;
    padding: 120px 0 60px;
    background: linear-gradient(180deg, rgba(0, 34, 61, 0.6) 0%, rgba(0, 20, 45, 1) 100%);
    text-align: center;
    border-bottom: 1px solid var(--color-dark-border);
    overflow: hidden;
}

.category-hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(circle, var(--color-gold-glow) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(50px);
    pointer-events: none;
    z-index: 1;
}

.category-hero-content {
    position: relative;
    z-index: 2;
}

.category-hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: var(--font-heading);
}

.category-hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary-light);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

.back-home-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-gold);
    font-weight: 500;
    margin-bottom: 24px;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.back-home-link:hover {
    color: var(--color-white);
    transform: translateX(-4px);
}

/* --------------------------------------------------------------------------
   2. DYNAMIC SUB-NAV FILTER CHIPS
   -------------------------------------------------------------------------- */
.filter-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 40px 0 50px;
    position: relative;
    z-index: 5;
}

.filter-chip {
    background: rgba(0, 34, 61, 0.4);
    border: 1px solid var(--color-dark-border);
    color: var(--text-secondary-light);
    padding: 10px 24px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-chip:hover {
    background: rgba(197, 168, 128, 0.1);
    color: var(--color-gold);
    border-color: var(--color-gold);
}

.filter-chip.active {
    background: var(--color-gold);
    color: var(--color-dark-bg);
    border-color: var(--color-gold);
    box-shadow: 0 0 15px var(--color-gold-glow);
}

/* --------------------------------------------------------------------------
   3. PRODUCT GRID & PREMIUM PRODUCT CARD
   -------------------------------------------------------------------------- */
.products-section {
    padding: 20px 0 100px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

@media (max-width: 768px) {
    .products-grid {
        gap: 14px;
    }
    .product-card {
        border-radius: 8px;
    }
    .product-content {
        padding: 14px;
    }
    .product-name {
        font-size: 1.05rem;
        margin-bottom: 6px;
    }
    .product-desc {
        font-size: 0.8rem;
        margin-bottom: 12px;
        -webkit-line-clamp: 2;
    }
    .product-specs {
        margin-bottom: 12px;
        padding-top: 10px;
    }
    .spec-row {
        font-size: 0.72rem;
        padding: 3px 0;
    }
    .btn-inquire {
        padding: 8px 12px;
        font-size: 0.82rem;
        gap: 6px;
    }
    .btn-inquire svg {
        width: 14px;
        height: 14px;
    }
    .product-badge {
        top: 8px;
        right: 8px;
        padding: 3px 8px;
        font-size: 0.65rem;
    }
    .product-category-tag {
        font-size: 0.68rem;
        margin-bottom: 4px;
    }
}

.product-card {
    background: var(--color-dark-card);
    border: 1px solid var(--color-dark-border);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-premium);
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(197, 168, 128, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(197, 168, 128, 0.1);
}

.product-img-wrapper {
    position: relative;
    padding-top: 68%; /* Aspect Ratio 4:3 */
    background: rgba(0, 20, 45, 0.5);
    overflow: hidden;
    border-bottom: 1px solid var(--color-dark-border);
}

.product-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    z-index: 2;
}

.badge-available {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.4);
}

.badge-request {
    background: rgba(241, 196, 15, 0.2);
    color: #f1c40f;
    border: 1px solid rgba(241, 196, 15, 0.4);
}

.badge-outofstock {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.4);
}

.product-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--color-gold);
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 8px;
}

.product-name {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 12px;
    font-family: var(--font-heading);
    line-height: 1.3;
}

.product-desc {
    font-size: 0.92rem;
    color: var(--text-secondary-light);
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-specs {
    margin-bottom: 24px;
    border-top: 1px solid rgba(212, 175, 55, 0.08);
    padding-top: 16px;
    flex-grow: 1;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    padding: 5px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.04);
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-label {
    color: var(--text-secondary-light);
    font-weight: 500;
}

.spec-value {
    color: var(--color-white);
    font-weight: 600;
}

.product-actions {
    margin-top: auto;
}

.btn-inquire {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-inquire:hover {
    background: var(--color-gold);
    color: var(--color-dark-bg);
    box-shadow: 0 8px 20px var(--color-gold-glow);
}

.btn-inquire svg {
    width: 18px;
    height: 18px;
}

/* --------------------------------------------------------------------------
   4. SKELETON LOADERS & EMPTY STATE
   -------------------------------------------------------------------------- */
.skeleton-card {
    background: var(--color-dark-card);
    border: 1px solid var(--color-dark-border);
    border-radius: 12px;
    overflow: hidden;
    height: 380px;
    position: relative;
}

.skeleton-shimmer {
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(0, 34, 61, 0.1) 25%,
        rgba(197, 168, 128, 0.08) 37%,
        rgba(0, 34, 61, 0.1) 63%
    );
    background-size: 400% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: -100% 0;
    }
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
    max-width: 500px;
    margin: 0 auto;
}

.empty-icon {
    font-size: 3rem;
    color: var(--color-gold);
    margin-bottom: 20px;
    opacity: 0.6;
}

.empty-title {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    margin-bottom: 12px;
}

.empty-desc {
    color: var(--text-secondary-light);
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   5. ADMIN PORTAL STYLES (LOGIN & DASHBOARD)
   -------------------------------------------------------------------------- */
.admin-login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background: radial-gradient(circle at center, #00223D 0%, #00142D 100%);
}

.login-card {
    background: rgba(0, 34, 61, 0.7);
    border: 1px solid var(--color-dark-border);
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-premium);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.login-logo {
    display: block;
    width: 65px;
    height: 65px;
    margin: 0 auto 20px;
    border-radius: 50%;
    border: 2px solid var(--color-gold);
    object-fit: cover;
}

.login-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.login-subtitle {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary-light);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label,
.form-label {
    font-size: 0.88rem;
    color: var(--color-gold);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.form-input {
    background: rgba(0, 20, 45, 0.6);
    border: 1px solid var(--color-dark-border);
    border-radius: 6px;
    padding: 12px 16px;
    color: var(--color-white);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.form-input:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 10px rgba(197, 168, 128, 0.2);
}

.btn-primary {
    background: var(--color-gold);
    color: var(--color-dark-bg);
    border: 1px solid var(--color-gold);
    border-radius: 6px;
    padding: 13px 20px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    width: 100%;
    margin-top: 10px;
}

.btn-primary:hover {
    background: var(--color-gold-hover);
    border-color: var(--color-gold-hover);
    box-shadow: 0 8px 20px var(--color-gold-glow);
}

.login-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    color: var(--text-secondary-light);
    font-size: 0.85rem;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--color-dark-border);
}

.login-divider:not(:empty)::before {
    margin-right: .8em;
}

.login-divider:not(:empty)::after {
    margin-left: .8em;
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--color-dark-border);
    border-radius: 6px;
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-white);
    cursor: pointer;
    transition: var(--transition-fast);
    width: 100%;
}

.btn-google:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.05);
}

.btn-google:active {
    transform: scale(0.98);
}

.google-icon {
    display: block;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   6. ADMIN DASHBOARD LAYOUT
   -------------------------------------------------------------------------- */
.admin-header {
    background: rgba(0, 34, 61, 0.9);
    border-bottom: 1px solid var(--color-dark-border);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
}

.admin-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-brand img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--color-gold);
}

.admin-brand h1 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.05em;
}

.admin-brand span {
    font-size: 0.75rem;
    background: rgba(197, 168, 128, 0.15);
    color: var(--color-gold);
    border: 1px solid var(--color-dark-border);
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
}

.admin-user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.admin-user-email {
    font-size: 0.88rem;
    color: var(--text-secondary-light);
}

.btn-signout {
    padding: 6px 14px;
    border: 1px solid rgba(231, 76, 60, 0.5);
    background: transparent;
    color: #e74c3c;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.btn-signout:hover {
    background: #e74c3c;
    color: var(--color-white);
}

.admin-dashboard-container {
    padding: 40px 0 80px;
}

.admin-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 30px;
}

@media (max-width: 992px) {
    .admin-grid {
        grid-template-columns: 1fr;
    }
}

.admin-panel-card {
    background: var(--color-dark-card);
    border: 1px solid var(--color-dark-border);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-premium);
    height: fit-content;
}

.admin-panel-title {
    font-size: 1.4rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-gold);
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    padding-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Form Styles */
.form-select {
    background: rgba(0, 20, 45, 0.6);
    border: 1px solid var(--color-dark-border);
    border-radius: 6px;
    padding: 12px 16px;
    color: var(--color-white);
    font-size: 0.95rem;
    cursor: pointer;
    outline: none;
    transition: var(--transition-fast);
}

.form-select option {
    background: var(--color-dark-card);
    color: var(--color-white);
}

.form-select:focus {
    border-color: var(--color-gold);
}

.form-textarea {
    background: rgba(0, 20, 45, 0.6);
    border: 1px solid var(--color-dark-border);
    border-radius: 6px;
    padding: 12px 16px;
    color: var(--color-white);
    font-size: 0.95rem;
    min-height: 100px;
    resize: vertical;
    transition: var(--transition-fast);
}

.form-textarea:focus {
    border-color: var(--color-gold);
}

/* File Upload Styles */
.file-upload-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.file-upload-row {
    display: flex;
    gap: 10px;
}

.btn-file-dummy {
    background: rgba(0, 34, 61, 0.6);
    border: 1px solid var(--color-dark-border);
    color: var(--color-white);
    border-radius: 6px;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 500;
    transition: var(--transition-fast);
    text-align: center;
    flex-grow: 1;
}

.btn-file-dummy:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

/* Specifications Dynamic Editor */
.specs-editor-container {
    border: 1px solid rgba(212, 175, 55, 0.08);
    border-radius: 6px;
    padding: 15px;
    background: rgba(0, 20, 45, 0.3);
}

.spec-editor-row {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.spec-editor-row input {
    flex: 1;
    padding: 8px 12px;
    font-size: 0.85rem;
}

.btn-remove-spec {
    background: transparent;
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-fast);
}

.btn-remove-spec:hover {
    background: rgba(231, 76, 60, 0.1);
    border-color: #e74c3c;
}

.btn-add-spec {
    background: transparent;
    color: var(--color-gold);
    border: 1px dashed var(--color-gold);
    border-radius: 6px;
    padding: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    transition: var(--transition-fast);
    text-align: center;
}

.btn-add-spec:hover {
    background: rgba(197, 168, 128, 0.05);
}

/* Product list table */
.admin-table-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

@media (max-width: 576px) {
    .admin-table-filters {
        flex-direction: column;
    }
}

.admin-search-input {
    flex: 1;
}

.products-table-wrapper {
    overflow-x: auto;
    border: 1px solid var(--color-dark-border);
    border-radius: 8px;
}

.admin-products-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.92rem;
}

.admin-products-table th, 
.admin-products-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--color-dark-border);
}

.admin-products-table th {
    background: rgba(0, 34, 61, 0.5);
    color: var(--color-gold);
    font-weight: 600;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

.admin-products-table tr:last-child td {
    border-bottom: none;
}

.admin-products-table tr:hover td {
    background: rgba(0, 34, 61, 0.2);
}

.admin-table-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--color-dark-border);
    background: rgba(0, 0, 0, 0.2);
}

.admin-status-pill {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
}

.admin-actions-cell {
    display: flex;
    gap: 8px;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-icon-edit {
    border-color: rgba(197, 168, 128, 0.3);
    color: var(--color-gold);
    background: transparent;
}

.btn-icon-edit:hover {
    background: var(--color-gold);
    color: var(--color-dark-bg);
}

.btn-icon-delete {
    border-color: rgba(231, 76, 60, 0.3);
    color: #e74c3c;
    background: transparent;
}

.btn-icon-delete:hover {
    background: #e74c3c;
    color: var(--color-white);
}

/* System Alerts / Placeholders Banner */
.firebase-alert-banner {
    background: rgba(243, 156, 18, 0.1);
    border: 1px solid rgba(243, 156, 18, 0.3);
    color: #f39c12;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.92rem;
    line-height: 1.5;
}

.firebase-alert-banner h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: #e67e22;
}

.firebase-alert-banner ol {
    margin-left: 20px;
}

.firebase-alert-banner li {
    margin-bottom: 6px;
}

.firebase-alert-banner code {
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 6px;
    border-radius: 3px;
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--color-white);
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--color-dark-card);
    border-left: 4px solid var(--color-gold);
    color: var(--color-white);
    padding: 16px 24px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-success {
    border-left-color: #2ecc71;
}

.toast-error {
    border-left-color: #e74c3c;
}

.toast-info {
    border-left-color: var(--color-gold);
}

/* Confirmation modal overlay */
.confirm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 20, 45, 0.8);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.confirm-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.confirm-card {
    background: var(--color-dark-card);
    border: 1px solid var(--color-dark-border);
    border-radius: 12px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow-premium);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.confirm-overlay.open .confirm-card {
    transform: scale(1);
}

.confirm-title {
    font-size: 1.3rem;
    font-family: var(--font-heading);
    margin-bottom: 12px;
    color: var(--color-white);
}

.confirm-desc {
    color: var(--text-secondary-light);
    font-size: 0.92rem;
    margin-bottom: 24px;
    line-height: 1.5;
}

.confirm-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.btn-cancel {
    background: transparent;
    border: 1px solid var(--color-dark-border);
    color: var(--text-secondary-light);
    border-radius: 6px;
    padding: 10px 18px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition-fast);
}

.btn-cancel:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-white);
}

.btn-danger {
    background: #e74c3c;
    border: 1px solid #e74c3c;
    color: var(--color-white);
    border-radius: 6px;
    padding: 10px 18px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-fast);
}

.btn-danger:hover {
    background: #c0392b;
    border-color: #c0392b;
    box-shadow: 0 8px 15px rgba(231,76,60,0.3);
}

/* --------------------------------------------------------------------------
   7. INQUIRY POP-UP MODAL STYLES
   -------------------------------------------------------------------------- */
.inquiry-modal-container {
    max-width: 900px;
    width: 90%;
    background: #00223D;
    border: 1px solid rgba(212, 175, 55, 0.25);
    padding: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow-premium);
}

.inquiry-modal-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    min-height: 520px;
}

@media (max-width: 768px) {
    .inquiry-modal-content {
        grid-template-columns: 1fr;
    }
    .inquiry-modal-media {
        height: 220px;
        border-right: none;
        border-bottom: 1px solid var(--color-dark-border);
    }
    .inquiry-modal-container {
        width: 92%;
        margin: 20px auto;
        overflow-y: auto;
        max-height: 90vh;
    }
}

.inquiry-modal-media {
    position: relative;
    background: rgba(0, 20, 45, 0.4);
    border-right: 1px solid var(--color-dark-border);
    overflow: hidden;
}

.inquiry-modal-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.inquiry-modal-details {
    padding: 40px 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-height: 90vh;
    overflow-y: auto;
}

@media (max-width: 768px) {
    .inquiry-modal-details {
        padding: 24px 20px;
        max-height: unset;
    }
}

.inquiry-modal-title-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-white);
    font-family: var(--font-heading);
    margin: 8px 0 10px;
    line-height: 1.25;
}

.inquiry-modal-desc {
    font-size: 0.9rem;
    color: var(--text-secondary-light);
    line-height: 1.55;
    margin-bottom: 18px;
}

.inquiry-modal-specs {
    margin-bottom: 22px;
    border-top: 1px solid rgba(212, 175, 55, 0.12);
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
    padding: 12px 0;
}

.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.inquiry-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 576px) {
    .inquiry-form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.inquiry-qty-wrapper {
    display: flex;
    align-items: center;
    background: rgba(0, 20, 45, 0.6);
    border: 1px solid var(--color-dark-border);
    border-radius: 6px;
    padding: 2px;
}

.qty-btn {
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    color: var(--color-gold);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    color: var(--color-white);
    background: rgba(197, 168, 128, 0.1);
    border-radius: 4px;
}

.qty-input {
    flex: 1;
    width: 60px;
    border: none !important;
    background: transparent !important;
    text-align: center;
    font-weight: 600;
    color: var(--color-white);
    padding: 0 !important;
    box-shadow: none !important;
}

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

.qty-unit {
    padding-right: 14px;
    font-size: 0.85rem;
    color: var(--color-gold);
    font-weight: 600;
    text-transform: uppercase;
}

.btn-inquire-send {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

