/* =========================================================
   RDHome - Customer Inquiry Portal & AR Experience Styles
   Clean Light Mode Design System (No Neons / No Gradients)
   ========================================================= */

:root {
    --bg-page: #f8fafc;
    --bg-surface: #ffffff;
    --bg-surface-subtle: #f1f5f9;
    --border-light: #e2e8f0;
    --border-input: #cbd5e1;
    --border-focus: #07142b;

    --brand-navy: #07142b;
    --brand-navy-hover: #112a5a;
    --brand-crimson: #c0262b;
    --brand-blue: #2563eb;

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-light: #ffffff;

    --input-bg: #ffffff;
    --input-color: #0f172a;

    --success-bg: #ecfdf5;
    --success-border: #10b981;
    --success-text: #065f46;

    --error-bg: #fef2f2;
    --error-border: #ef4444;
    --error-text: #991b1b;

    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-card: 0 10px 30px rgba(15, 23, 42, 0.08);
}

/* Reset & Box Sizing */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body.inquire-body {
    background-color: var(--bg-page);
    color: var(--text-primary);
    font-family: var(--font-sans);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
    position: relative;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Top Navigation Bar (Clean Light) */
.inquire-navbar {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 12px 32px;
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.brand-logo-badge {
    background: transparent;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    display: block;
}

.brand-text-block {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: var(--brand-navy);
    display: flex;
    align-items: center;
}

.brand-tagline {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Center Fast Section Jump Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 7px 12px;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: var(--brand-navy);
    background-color: var(--bg-surface-subtle);
}

.nav-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    opacity: 0.75;
}

.nav-link:hover svg {
    opacity: 1;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: var(--bg-surface);
    color: var(--brand-navy);
    border: 1px solid var(--border-input);
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.admin-login-btn:hover {
    background-color: var(--bg-surface-subtle);
    border-color: var(--brand-navy);
    color: var(--brand-navy);
}

.admin-login-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Main Container */
.inquire-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 24px 70px 24px;
    gap: 56px;
}

.portal-wrapper {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    background-color: var(--bg-surface);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

/* Left Hero & App Showcase Panel */
.showcase-panel {
    background-color: var(--bg-surface-subtle);
    padding: 44px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px solid var(--border-light);
    scroll-margin-top: 90px;
}

.showcase-content {
    display: flex;
    flex-direction: column;
}

.showcase-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background-color: #e0f2fe;
    border: 1px solid #bae6fd;
    border-radius: 999px;
    color: #0369a1;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    margin-bottom: 18px;
    align-self: flex-start;
}

.showcase-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
    color: var(--brand-navy);
    margin-bottom: 14px;
}

.showcase-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 28px;
}

/* AR Preview Showcase Cards */
.preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 24px;
}

.preview-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background-color: #e2e8f0;
    border: 1px solid var(--border-light);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.preview-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.preview-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.preview-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    padding: 6px 10px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand-navy);
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    pointer-events: none;
}

.preview-badge svg {
    width: 14px;
    height: 14px;
    fill: var(--brand-blue);
    flex-shrink: 0;
}

/* App Download Notice Toast (Triggered when clicking Reserve/AR from Modal) */
.app-download-notice {
    background-color: #eff6ff;
    border: 1.5px solid #93c5fd;
    border-radius: var(--radius-md);
    padding: 14px 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    position: relative;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.notice-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: #2563eb;
    margin-top: 1px;
}

.notice-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.notice-body {
    flex: 1;
    padding-right: 18px;
}

.notice-body strong {
    display: block;
    font-size: 0.88rem;
    color: #1e40af;
    margin-bottom: 2px;
    font-weight: 700;
}

.notice-body p {
    font-size: 0.82rem;
    color: #1e3a8a;
    line-height: 1.45;
    margin: 0;
}

.notice-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 0.85rem;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    line-height: 1;
}

.notice-close-btn:hover {
    color: #0f172a;
}

.notice-bounce {
    animation: noticePop 0.4s ease;
}

@keyframes noticePop {
    0% { transform: scale(0.95); opacity: 0.5; }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); opacity: 1; }
}

.btn-pulse-highlight {
    animation: btnPulse 1.2s infinite;
}

@keyframes btnPulse {
    0% { box-shadow: 0 0 0 0 rgba(7, 20, 43, 0.4); }
    70% { box-shadow: 0 0 0 14px rgba(7, 20, 43, 0); }
    100% { box-shadow: 0 0 0 0 rgba(7, 20, 43, 0); }
}

/* App Download Banner */
.download-banner {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.download-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.download-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    background-color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
}

.download-icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.download-titles h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 2px;
}

.download-titles p {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    background-color: var(--brand-navy);
    color: #ffffff;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.download-btn:hover {
    background-color: var(--brand-navy-hover);
    transform: translateY(-1px);
}

.download-btn svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

/* Right Form Panel */
.form-panel {
    padding: 44px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--bg-surface);
    scroll-margin-top: 90px;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.form-header {
    margin-bottom: 24px;
}

.form-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--brand-crimson);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.form-header-badge svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.form-title {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--brand-navy);
    letter-spacing: -0.4px;
    margin-bottom: 6px;
}

.form-subtitle {
    font-size: 0.92rem;
    color: var(--text-secondary);
}

/* Alert Boxes */
.alert-box {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    margin-bottom: 22px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.alert-success {
    background-color: var(--success-bg);
    border: 1px solid var(--success-border);
    color: var(--success-text);
}

.alert-danger {
    background-color: var(--error-bg);
    border: 1px solid var(--error-border);
    color: var(--error-text);
}

.alert-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 1px;
}

.alert-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.alert-body {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.5;
}

.alert-body strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 2px;
    font-weight: 700;
}

/* Form Groups & Controls */
.form-group {
    margin-bottom: 18px;
    position: relative;
}

.form-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.88rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.form-label-text {
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-label-text svg {
    width: 15px;
    height: 15px;
    fill: #64748b;
}

.form-label-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background-color: var(--input-bg);
    border: 1px solid var(--border-input);
    border-radius: var(--radius-md);
    color: var(--input-color);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.form-control:focus {
    background-color: #ffffff;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

/* Select Control */
.select-wrapper {
    position: relative;
    width: 100%;
}

.select-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    padding-right: 40px;
}

.select-control option {
    background-color: #ffffff;
    color: #0f172a;
    padding: 10px;
}

.select-control:has(option[value=""]:checked),
.select-control:invalid {
    color: #94a3b8;
}

.select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #64748b;
    display: flex;
    align-items: center;
}

.select-arrow svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Textarea */
textarea.form-control {
    min-height: 105px;
    resize: vertical;
    line-height: 1.5;
}

/* Submit Button (Solid Brand Navy) */
.submit-btn-wrapper {
    margin-top: 24px;
}

.submit-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    background-color: var(--brand-navy);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(7, 20, 43, 0.12);
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.submit-btn:hover {
    background-color: var(--brand-navy-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(7, 20, 43, 0.18);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.form-pulse-highlight {
    animation: formGlow 2.5s ease-in-out;
}

@keyframes formGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.5);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(37, 99, 235, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

/* =========================================================
   Public Web Furniture Catalog Section Styles
   ========================================================= */
.catalog-section {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    scroll-margin-top: 90px;
}

.catalog-header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.catalog-header-text {
    max-width: 640px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background-color: #fee2e2;
    border: 1px solid #fecaca;
    border-radius: 999px;
    color: var(--brand-crimson);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-badge svg {
    width: 13px;
    height: 13px;
    fill: currentColor;
}

.section-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--brand-navy);
    letter-spacing: -0.5px;
    line-height: 1.25;
    margin-bottom: 8px;
}

.section-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* Search Box */
.catalog-search-box {
    min-width: 340px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.search-icon {
    position: absolute;
    left: 14px;
    width: 18px;
    height: 18px;
    fill: #94a3b8;
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 12px 38px 12px 42px;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-input);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    outline: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
}

.search-input:focus {
    border-color: var(--brand-navy);
    box-shadow: 0 0 0 3px rgba(7, 20, 43, 0.08);
}

.clear-search-btn {
    position: absolute;
    right: 12px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #e2e8f0;
    border: none;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.clear-search-btn:hover {
    background-color: #cbd5e1;
    color: #0f172a;
}

.catalog-stats {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: right;
}

/* Category Filter Pills */
.category-pills-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
    margin-bottom: 26px;
    scrollbar-width: thin;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.category-pill:hover {
    border-color: #cbd5e1;
    color: var(--brand-navy);
    background-color: var(--bg-surface-subtle);
}

.category-pill.active {
    background-color: var(--brand-navy);
    color: #ffffff;
    border-color: var(--brand-navy);
    box-shadow: 0 2px 8px rgba(7, 20, 43, 0.15);
}

.pill-count {
    display: inline-block;
    padding: 1px 7px;
    background-color: var(--bg-surface-subtle);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
}

.category-pill.active .pill-count {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* Catalog Product Grid */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.catalog-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    outline: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.catalog-card:hover,
.catalog-card:focus-visible {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: #cbd5e1;
}

.card-media-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: #f1f5f9;
    overflow: hidden;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.catalog-card:hover .card-img {
    transform: scale(1.04);
}

.card-badge {
    position: absolute;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.card-badge.in-stock {
    top: 10px;
    right: 10px;
    background-color: rgba(236, 253, 245, 0.96);
    color: #065f46;
    border: 1px solid #a7f3d0;
    backdrop-filter: blur(4px);
}

.card-badge.out-of-stock {
    top: 10px;
    right: 10px;
    background-color: rgba(254, 242, 242, 0.96);
    color: #991b1b;
    border: 1px solid #fecaca;
    backdrop-filter: blur(4px);
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #10b981;
    display: inline-block;
}

.card-badge.discount-badge {
    top: 10px;
    left: 10px;
    background-color: var(--brand-crimson);
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 0.3px;
}

.card-hover-cue {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px 12px;
    background: linear-gradient(to top, rgba(7, 20, 43, 0.85) 0%, rgba(7, 20, 43, 0) 100%);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.card-hover-cue svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.catalog-card:hover .card-hover-cue {
    opacity: 1;
    transform: translateY(0);
}

.card-info {
    padding: 18px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.card-category {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-muted);
}

.card-views {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 600;
}

.card-views svg {
    width: 13px;
    height: 13px;
    fill: currentColor;
}

.card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--brand-navy);
    line-height: 1.35;
    margin-bottom: 10px;
}

.card-dimensions {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--text-secondary);
    background-color: var(--bg-surface-subtle);
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    font-weight: 500;
}

.card-dimensions svg {
    width: 14px;
    height: 14px;
    fill: #64748b;
    flex-shrink: 0;
}

.card-swatches-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.swatches-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

.swatches-list {
    display: flex;
    align-items: center;
    gap: 5px;
}

.swatch-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1.5px solid #ffffff;
    box-shadow: 0 0 0 1px #cbd5e1;
    display: inline-block;
}

.swatch-more {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 700;
    margin-left: 2px;
}

.card-pricing-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-light);
    padding-top: 14px;
    margin-top: auto;
}

.pricing-values {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.price-final {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--brand-navy);
}

.price-discounted {
    color: var(--brand-crimson);
}

.price-original {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.card-action-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--bg-surface-subtle);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-navy);
    transition: all 0.2s ease;
}

.card-action-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.catalog-card:hover .card-action-icon {
    background-color: var(--brand-navy);
    color: #ffffff;
    border-color: var(--brand-navy);
}

/* Empty State */
.catalog-empty-state {
    text-align: center;
    padding: 60px 24px;
    background-color: var(--bg-surface);
    border: 1px dashed var(--border-light);
    border-radius: var(--radius-xl);
    margin-top: 20px;
}

.empty-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: var(--bg-surface-subtle);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    margin-bottom: 14px;
}

.empty-icon svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

.catalog-empty-state h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 6px;
}

.catalog-empty-state p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    max-width: 440px;
    margin: 0 auto 18px auto;
}

.reset-filter-btn {
    padding: 8px 18px;
    background-color: var(--brand-navy);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.reset-filter-btn:hover {
    background-color: var(--brand-navy-hover);
}

/* =========================================================
   Product Details Modal Dialog Styles
   ========================================================= */
.product-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(7, 20, 43, 0.72);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: modalFadeIn 0.25s ease forwards;
}

.product-modal-dialog {
    background-color: var(--bg-surface);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.28);
    max-width: 960px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.modal-close-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-surface-subtle);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.2s ease;
    z-index: 10;
}

.modal-close-btn:hover {
    background-color: #fee2e2;
    color: #ef4444;
    border-color: #fca5a5;
}

.modal-close-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 36px;
    padding: 36px;
}

/* Modal Left: Visual Column */
.modal-visual-col {
    display: flex;
    flex-direction: column;
}

.modal-main-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: #f1f5f9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    margin-bottom: 14px;
}

.modal-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.2s ease;
}

.modal-stock-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.modal-stock-badge.in-stock {
    background-color: rgba(236, 253, 245, 0.96);
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.modal-stock-badge.out-of-stock {
    background-color: rgba(254, 242, 242, 0.96);
    color: #991b1b;
    border: 1px solid #fecaca;
}

.modal-discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--brand-crimson);
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.78rem;
    box-shadow: 0 2px 6px rgba(192, 38, 43, 0.3);
}

.modal-thumbnails-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin-bottom: 18px;
    padding-bottom: 4px;
}

.thumb-btn {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    border: 2px solid var(--border-light);
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    background: none;
    padding: 0;
    opacity: 0.7;
    transition: all 0.2s ease;
}

.thumb-btn:hover,
.thumb-btn.active {
    border-color: var(--brand-blue);
    opacity: 1;
}

.thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-ar-banner {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: var(--radius-md);
    padding: 14px 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.ar-icon-box {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background-color: #16a34a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ar-icon-box svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.ar-text strong {
    display: block;
    font-size: 0.86rem;
    color: #14532d;
    font-weight: 700;
    margin-bottom: 2px;
}

.ar-text p {
    font-size: 0.78rem;
    color: #166534;
    line-height: 1.4;
    margin: 0;
}

/* Modal Right: Details Column */
.modal-details-col {
    display: flex;
    flex-direction: column;
}

.modal-header-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
    padding-right: 36px;
}

.modal-category-badge {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--brand-blue);
}

.modal-views-meta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
}

.modal-views-meta svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.modal-title {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--brand-navy);
    line-height: 1.25;
    margin-bottom: 12px;
}

.modal-price-box {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-light);
}

.modal-price-current {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--brand-navy);
}

.modal-price-current.price-discounted {
    color: var(--brand-crimson);
}

.modal-price-original {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.modal-discount-tag {
    background-color: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
}

/* Dimensions Box */
.modal-dims-box {
    display: flex;
    align-items: center;
    background-color: var(--bg-surface-subtle);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 10px 16px;
    margin-bottom: 16px;
}

.dim-item {
    flex: 1;
    text-align: center;
}

.dim-label {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.dim-value {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--brand-navy);
}

.dim-divider {
    font-size: 1rem;
    color: #cbd5e1;
    font-weight: 600;
    padding: 0 4px;
}

.modal-section-block {
    margin-bottom: 18px;
}

.modal-section-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 6px;
}

.modal-description-text {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Variant Selector */
.variant-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.selected-color-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--brand-navy);
}

.variant-pills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.variant-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-input);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-primary);
}

.variant-pill-btn:hover {
    border-color: var(--brand-navy);
    background-color: var(--bg-surface-subtle);
}

.variant-pill-btn.active {
    border-color: var(--brand-navy);
    background-color: #f8fafc;
    box-shadow: 0 0 0 2px var(--brand-navy);
}

.pill-color-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.pill-stock-indicator {
    font-size: 0.75rem;
    font-weight: 600;
}

.pill-stock-indicator.in {
    color: #059669;
}

.pill-stock-indicator.out {
    color: #dc2626;
}

/* Modal Action Buttons */
.modal-actions-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
    margin-bottom: 14px;
}

.modal-action-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 20px;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
}

.btn-inquire {
    background-color: var(--brand-navy);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(7, 20, 43, 0.15);
}

.btn-inquire:hover {
    background-color: var(--brand-navy-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(7, 20, 43, 0.22);
}

.btn-inquire svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.btn-reserve-ar {
    background-color: #ffffff;
    color: var(--brand-crimson);
    border: 2px solid var(--brand-crimson);
}

.btn-reserve-ar:hover {
    background-color: #fef2f2;
    transform: translateY(-1px);
}

.btn-reserve-ar svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.modal-exclusive-notice {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.76rem;
    color: var(--text-muted);
    line-height: 1.4;
    padding: 8px 12px;
    background-color: var(--bg-surface-subtle);
    border-radius: var(--radius-sm);
}

.modal-exclusive-notice svg {
    width: 15px;
    height: 15px;
    fill: #64748b;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Modal Animations */
@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalSlideUp {
    from {
        transform: translateY(24px) scale(0.98);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* Dynamic color options in inquiry form */
#color-group {
    transition: all 0.2s ease;
}

/* Footer */
.inquire-footer {
    text-align: center;
    padding: 24px 16px;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid var(--border-light);
    background-color: var(--bg-surface);
}

.inquire-footer a {
    color: var(--brand-navy);
    text-decoration: none;
    font-weight: 600;
}

.inquire-footer a:hover {
    text-decoration: underline;
}

/* =========================================================
   Responsive Breakpoints
   ========================================================= */
@media (max-width: 980px) {
    .inquire-navbar {
        padding: 12px 20px;
    }

    .portal-wrapper {
        grid-template-columns: 1fr;
        border-radius: var(--radius-lg);
    }

    .showcase-panel {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
        padding: 32px 24px;
    }

    .form-panel {
        padding: 32px 24px;
    }

    .showcase-title {
        font-size: 1.85rem;
    }

    .catalog-header-wrap {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .catalog-search-box {
        min-width: 100%;
    }

    .catalog-stats {
        text-align: left;
    }

    .modal-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 28px 24px;
    }
}

@media (max-width: 680px) {
    .inquire-navbar {
        padding: 10px 14px;
    }

    .brand-logo-img {
        height: 32px;
    }

    .brand-tagline {
        display: none;
    }

    .nav-links {
        display: none;
    }

    .admin-login-btn span {
        display: none;
    }

    .admin-login-btn {
        padding: 8px 10px;
    }

    .inquire-main {
        padding: 16px 12px 40px 12px;
        gap: 36px;
    }

    .showcase-panel,
    .form-panel {
        padding: 24px 18px;
    }

    .preview-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .download-banner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .download-meta {
        flex-direction: column;
    }

    .download-btn {
        justify-content: center;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .catalog-grid {
        grid-template-columns: 1fr;
    }

    .product-modal-backdrop {
        padding: 12px;
    }

    .product-modal-dialog {
        border-radius: var(--radius-lg);
        max-height: 94vh;
    }

    .modal-grid {
        padding: 20px 16px;
    }

    .modal-title {
        font-size: 1.35rem;
    }

    .modal-price-current {
        font-size: 1.45rem;
    }
}
