/* ==========================================================================
   Research & Compare w/ AI — Modal Styles
   ==========================================================================
   Place in: public/css/research-compare-modal.css
   Dependencies: Bootstrap 5.3
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. MODAL SHELL
   -------------------------------------------------------------------------- */
.rc-dialog {
    max-width: 98vw;
    width: 98vw;
    max-height: 98vh;
    height: 98vh;
    margin: 1vh auto;
}

.rc-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 0.5rem;
    overflow: hidden;
}

/* --------------------------------------------------------------------------
   2. HEADER
   -------------------------------------------------------------------------- */
.rc-header {
    flex-shrink: 0;
    padding: 0.65rem 1rem;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rc-header-icon {
    border-radius: 6px;
}

svg.rc-header-icon {
    color: #0d6efd;
}

#rcHeaderIcon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Close button — professional styling */
.rc-header .rc-close-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #dee2e6;
    border-radius: 50%;
    background: #fff;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    flex-shrink: 0;
    margin-left: auto;
}

.rc-header .rc-close-btn:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
    color: #212529;
}

.rc-header .rc-close-btn:active {
    background: #e9ecef;
    transform: scale(0.95);
}

.rc-header .rc-close-btn svg {
    width: 18px;
    height: 18px;
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   3. BODY
   -------------------------------------------------------------------------- */
.rc-body {
    flex: 1 1 0%;
    min-height: 0;
    overflow: hidden;
}

/* --------------------------------------------------------------------------
   4. LEFT SIDEBAR
   -------------------------------------------------------------------------- */
.rc-sidebar {
    flex-shrink: 0;
    width: 80px;
    background: #fff;
    border-right: 1px solid #dee2e6;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem 0;
    gap: 0.25rem;
    overflow-y: auto;
}

.rc-sidebar-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 68px;
    padding: 8px 4px;
    border: 2px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: #495057;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.rc-sidebar-btn:hover {
    background: #f8f9fa;
    border-color: #dee2e6;
}

.rc-sidebar-btn--active,
.rc-sidebar-btn--active:hover {
    background: #e8f4fd;
    border-color: #0d6efd;
    color: #0d6efd;
}

.rc-sidebar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 2px solid #343a40;
    border-radius: 6px;
    background: #f8f9fa;
}

.rc-sidebar-btn--active .rc-sidebar-icon {
    border-color: #0d6efd;
    background: #e8f4fd;
}

.rc-sidebar-label {
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.1;
    text-align: center;
    color: #0d6efd;
    margin-top: 2px;
}

/* --------------------------------------------------------------------------
   5. PANELS CONTAINER
   -------------------------------------------------------------------------- */
.rc-panels {
    min-height: 0;
    height: 100%;
    overflow: hidden;
}

.rc-panel {
    height: 100%;
    overflow: hidden;
}

/* --------------------------------------------------------------------------
   6. THUMBNAILS COLUMN (Videos & Images)
   -------------------------------------------------------------------------- */
.rc-thumbs-col {
    flex-shrink: 0;
    width: 120px;
    border-right: 1px solid #dee2e6;
    overflow-y: auto;
    padding: 8px;
    background: #fafafa;
}

.rc-thumbs-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rc-thumb {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 6px;
    border: 2px solid transparent;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    position: relative;
    background: #eee;
}

.rc-thumb:hover {
    border-color: #6c757d;
}

.rc-thumb--active,
.rc-thumb--active:hover {
    border-color: #0d6efd;
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.25);
}

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

.rc-thumb-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 28px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.rc-thumb-play svg {
    fill: #fff;
    width: 14px;
    height: 14px;
    margin-left: 2px;
}

/* --------------------------------------------------------------------------
   7. VIEWER COLUMN
   -------------------------------------------------------------------------- */
.rc-viewer-col {
    display: flex;
    justify-content: center;
    min-height: 0;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.rc-viewer-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.rc-video-frame-wrap {
    width: 100%;
    height: 100%;
}

.rc-video-frame {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

/* .rc-image-display {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    display: block;
} */

.rc-image-display {
    max-width: calc(98vw - 80px - 120px - 2rem);  /* viewport - sidebar - thumbs - padding */
    max-height: calc(98vh - 70px - 1rem);          /* viewport - header - padding */
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    display: block;
}

/* --------------------------------------------------------------------------
   8. COMPARE PANEL — PRODUCT CARDS
   -------------------------------------------------------------------------- */
.rc-product-card {
    position: relative;
    width: 180px;
    min-height: 120px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fff;
    flex-shrink: 0;
    transition: border-color 0.15s ease;
}

.rc-product-card:hover {
    border-color: #adb5bd;
}

.rc-product-card__img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 4px;
    margin-bottom: 6px;
}

.rc-product-card__name {
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.2;
    color: #0d6efd;
    margin-bottom: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rc-product-card__price {
    font-size: 0.78rem;
    font-weight: 700;
    color: #212529;
}

.rc-product-card__cashback {
    font-size: 0.68rem;
    color: #6c757d;
}

.rc-product-card__stock {
    font-size: 0.68rem;
    font-weight: 600;
}

.rc-product-card__stock--in {
    color: #198754;
}

.rc-product-card__stock--out {
    color: #dc3545;
}

.rc-product-card__remove {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: none;
    background: #dc3545;
    color: #fff;
    font-size: 0.7rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.15s ease;
    z-index: 2;
}

.rc-product-card:hover .rc-product-card__remove {
    opacity: 1;
}

/* Add-to-compare placeholder card */
.rc-add-card {
    width: 180px;
    min-height: 120px;
    border: 2px dashed #adb5bd;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fafafa;
    flex-shrink: 0;
}

.rc-add-card:hover {
    border-color: #0d6efd;
    color: #0d6efd;
    background: #f0f7ff;
}

.rc-add-card svg {
    width: 28px;
    height: 28px;
    margin-bottom: 4px;
}

.rc-add-card span {
    font-size: 0.75rem;
    text-align: center;
    line-height: 1.2;
}

/* --------------------------------------------------------------------------
   9. PRODUCT SEARCH
   -------------------------------------------------------------------------- */
#rcCompareSearchArea {
    margin-top: 0.75rem;
}

#rcCompareSearchArea .input-group:focus-within .input-group-text {
    border-color: #86b7fe;
    box-shadow: none;
}

#rcCompareSearchArea .input-group:focus-within .form-control {
    box-shadow: none;
}

#rcCompareSearchArea .input-group {
    border-radius: 0.375rem;
    transition: box-shadow 0.15s ease-in-out;
}

#rcCompareSearchArea .input-group:focus-within {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    border-radius: 0.375rem;
}

.rc-search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 240px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #dee2e6;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 50;
}

.rc-search-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    cursor: pointer;
    transition: background 0.12s ease;
    border-bottom: 1px solid #f1f3f5;
}

.rc-search-item:last-child {
    border-bottom: none;
}

.rc-search-item:hover {
    background: #f0f7ff;
}

.rc-search-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 4px;
    flex-shrink: 0;
}

.rc-search-item__info {
    flex: 1;
    min-width: 0;
}

.rc-search-item__name {
    font-size: 0.82rem;
    font-weight: 600;
    color: #212529;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rc-search-item__meta {
    font-size: 0.72rem;
    color: #6c757d;
}

.rc-search-empty {
    padding: 12px;
    text-align: center;
    color: #6c757d;
    font-size: 0.82rem;
}

.rc-search-loading {
    padding: 12px;
    text-align: center;
    color: #6c757d;
    font-size: 0.82rem;
}

/* --------------------------------------------------------------------------
   10. ACTION BUTTONS
   -------------------------------------------------------------------------- */
.rc-action-btn {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 0.25rem;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    color: #495057;
    background: #fff;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.rc-action-btn:hover:not(:disabled) {
    border-color: #0d6efd;
    color: #0d6efd;
    background: #f0f7ff;
}

.rc-action-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    border-color: #dee2e6;
    color: #adb5bd;
}

.rc-action-btn--active,
.rc-action-btn--active:hover {
    border-color: #212529;
    color: #212529;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Get Quote button specific styling */
#rcActQuote {
    border-color: #198754;
    color: #198754;
}

#rcActQuote:hover {
    background: #f0fdf4;
    border-color: #198754;
    color: #198754;
}

#rcActQuote.rc-action-btn--active {
    border-color: #198754;
    color: #198754;
    background: #f0fdf4;
}

/* --------------------------------------------------------------------------
   11. CHAT AREA
   -------------------------------------------------------------------------- */
.rc-chat-scroll {
    scrollbar-width: thin;
    scrollbar-color: #ced4da transparent;
}

.rc-chat-scroll::-webkit-scrollbar {
    width: 6px;
}

.rc-chat-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.rc-chat-scroll::-webkit-scrollbar-thumb {
    background: #ced4da;
    border-radius: 3px;
}

/* Chat messages */
.rc-msg {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    animation: rcFadeIn 0.25s ease;
}

.rc-msg--user {
    flex-direction: row-reverse;
}

.rc-msg__avatar {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
}

.rc-msg--user .rc-msg__avatar {
    background: #0d6efd;
}

.rc-msg--ai .rc-msg__avatar {
    background: #6f42c1;
}

.rc-msg__bubble {
    max-width: 75%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.88rem;
    line-height: 1.5;
    word-wrap: break-word;
}

.rc-msg--user .rc-msg__bubble {
    background: #0d6efd;
    color: #fff;
    border-bottom-right-radius: 4px;
}

.rc-msg--ai .rc-msg__bubble {
    background: #f1f3f5;
    color: #212529;
    border-bottom-left-radius: 4px;
}

.rc-msg__bubble p:last-child {
    margin-bottom: 0;
}

.rc-msg__bubble ul,
.rc-msg__bubble ol {
    padding-left: 1.2rem;
    margin-bottom: 0.5rem;
}

.rc-msg__bubble table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.8rem;
    line-height: 1.5;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    overflow: hidden;
    margin: 0.5rem 0;
}

.rc-msg__bubble table th {
    background: #1e293b;
    color: #fff;
    font-weight: 600;
    font-size: 0.78rem;
    padding: 7px 10px;
    border: none;
    border-bottom: 2px solid #0d6efd;
    white-space: nowrap;
}

.rc-msg__bubble table td {
    padding: 6px 10px;
    border: none;
    border-bottom: 1px solid #e9ecef;
    vertical-align: top;
    color: #374151;
}

.rc-msg__bubble table td:first-child {
    font-weight: 600;
    color: #1e293b;
    background: #f8fafc;
}

.rc-msg__bubble table tr:nth-child(even) td {
    background: #f8fafc;
}

.rc-msg__bubble table tr:last-child td {
    border-bottom: none;
}

/* Typing indicator */
.rc-typing {
    display: inline-flex;
    gap: 4px;
    padding: 8px 14px;
}

.rc-typing span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #adb5bd;
    animation: rcBounce 1.4s infinite ease-in-out both;
}

.rc-typing span:nth-child(1) { animation-delay: -0.32s; }
.rc-typing span:nth-child(2) { animation-delay: -0.16s; }

@keyframes rcBounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

@keyframes rcFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Brief description area */
.rc-brief {
    font-size: 0.9rem;
    line-height: 1.65;
    color: #212529;
    margin-bottom: 0.75rem;
}

.rc-brief h1, .rc-brief h2, .rc-brief h3,
.rc-brief h4, .rc-brief h5, .rc-brief h6 {
    margin-top: 0.75rem;
    margin-bottom: 0.35rem;
}

.rc-brief ul, .rc-brief ol {
    padding-left: 1.25rem;
}

/* --------------------------------------------------------------------------
   12. CHAT INPUT BAR
   -------------------------------------------------------------------------- */
.rc-chat-bar {
    flex-shrink: 0;
    background: #fff;
    border-top: 1px solid #e9ecef;
}

.rc-chat-input {
    border-radius: 24px 0 0 24px;
    border-right: none;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.rc-chat-input:focus {
    box-shadow: none;
    border-color: #86b7fe;
}

.rc-chat-send {
    border-radius: 0 24px 24px 0;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
}

/* --------------------------------------------------------------------------
   13. QUOTE SECTION
   -------------------------------------------------------------------------- */
.rc-quote-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin-bottom: 8px;
    background: #fafafa;
}

.rc-quote-item__img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 4px;
    flex-shrink: 0;
}

.rc-quote-item__info {
    flex: 1;
    min-width: 0;
}

.rc-quote-item__name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #0d6efd;
    margin-bottom: 1px;
}

.rc-quote-item__meta {
    font-size: 0.72rem;
    color: #6c757d;
}

.rc-quote-item__qty {
    flex-shrink: 0;
}

.rc-quote-item__qty select {
    width: 60px;
    font-size: 0.82rem;
    padding: 0.2rem 0.4rem;
}

.rc-quote-item__remove {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: #adb5bd;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.15s ease;
}

.rc-quote-item__remove:hover {
    background: #fee2e2;
    color: #dc3545;
}

/* --------------------------------------------------------------------------
   14. COMPARE RESULTS TABLE
   -------------------------------------------------------------------------- */
.rc-compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.rc-compare-table th,
.rc-compare-table td {
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    vertical-align: top;
}

.rc-compare-table th {
    background: #f8f9fa;
    font-weight: 600;
    white-space: nowrap;
    width: 140px;
}

.rc-compare-table td {
    min-width: 160px;
}

/* --------------------------------------------------------------------------
   14b. AI COMPARISON OUTPUT TABLE (inside #rcCompareResults .rc-brief)
   -------------------------------------------------------------------------- */

/* Scrollable wrapper so wide tables don't overflow the panel */
#rcCompareResults .rc-brief {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
}

#rcCompareResults .rc-brief table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.84rem;
    line-height: 1.55;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
}

/* Header row */
#rcCompareResults .rc-brief table th {
    background: #1e293b;
    color: #fff;
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 10px 14px;
    border: none;
    border-bottom: 2px solid #0d6efd;
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 1;
}

/* First header cell (feature/attribute column) */
#rcCompareResults .rc-brief table th:first-child {
    text-align: left;
    min-width: 140px;
}

/* Data cells */
#rcCompareResults .rc-brief table td {
    padding: 9px 14px;
    border: none;
    border-bottom: 1px solid #e9ecef;
    vertical-align: top;
    color: #374151;
    min-width: 150px;
}

/* First column (feature labels) — slightly bolder */
#rcCompareResults .rc-brief table td:first-child {
    font-weight: 600;
    color: #1e293b;
    background: #f8fafc;
    white-space: nowrap;
}

/* Zebra striping */
#rcCompareResults .rc-brief table tr:nth-child(even) td {
    background: #f8fafc;
}

#rcCompareResults .rc-brief table tr:nth-child(even) td:first-child {
    background: #f1f5f9;
}

/* Hover row highlight */
#rcCompareResults .rc-brief table tr:hover td {
    background: #eff6ff;
}

#rcCompareResults .rc-brief table tr:hover td:first-child {
    background: #e0ecff;
}

/* Remove bottom border on last row */
#rcCompareResults .rc-brief table tr:last-child td {
    border-bottom: none;
}

/* --------------------------------------------------------------------------
   15. LOADING STATES
   -------------------------------------------------------------------------- */
.rc-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: #6c757d;
}

.rc-spinner {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: rcSpin 0.65s linear infinite;
    margin-right: 0.5rem;
}

@keyframes rcSpin {
    to { transform: rotate(360deg); }
}

/* --------------------------------------------------------------------------
   16. FOOTER / DISCLAIMER
   -------------------------------------------------------------------------- */
.rc-footer {
    flex-shrink: 0;
    padding: 0.5rem 1rem;
    background: #fff;
    border-top: 1px solid #dee2e6;
}

/* --------------------------------------------------------------------------
   17. SCROLLBAR UTILITY
   -------------------------------------------------------------------------- */
.rc-thumbs-col,
.rc-search-dropdown,
.rc-subpanel {
    scrollbar-width: thin;
    scrollbar-color: #ced4da transparent;
}

.rc-thumbs-col::-webkit-scrollbar,
.rc-search-dropdown::-webkit-scrollbar,
.rc-subpanel::-webkit-scrollbar {
    width: 5px;
}

.rc-thumbs-col::-webkit-scrollbar-thumb,
.rc-search-dropdown::-webkit-scrollbar-thumb,
.rc-subpanel::-webkit-scrollbar-thumb {
    background: #ced4da;
    border-radius: 3px;
}

/* --------------------------------------------------------------------------
   18. RESPONSIVE — TABLET
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .rc-sidebar {
        width: 60px;
        padding: 0.5rem 0;
    }

    .rc-sidebar-label {
        font-size: 0.6rem;
    }

    .rc-sidebar-icon {
        width: 36px;
        height: 36px;
    }

    .rc-sidebar-icon img {
        width: 28px;
        height: 28px;
    }

    .rc-thumbs-col {
        width: 90px;
    }

    .rc-product-card {
        width: 150px;
        min-height: 100px;
    }

    .rc-add-card {
        width: 150px;
        min-height: 100px;
    }
}

/* --------------------------------------------------------------------------
   19. RESPONSIVE — MOBILE
   -------------------------------------------------------------------------- */
@media (max-width: 575.98px) {
    .rc-dialog {
        max-width: 100vw;
        width: 100vw;
        max-height: 100vh;
        height: 100vh;
        margin: 0;
    }

    .rc-content {
        border-radius: 0;
    }

    .rc-sidebar {
        width: 50px;
        padding: 0.35rem 0;
    }

    .rc-sidebar-btn {
        width: 44px;
        padding: 6px 2px;
    }

    .rc-sidebar-icon {
        width: 30px;
        height: 30px;
        border-width: 1.5px;
    }

    .rc-sidebar-icon svg {
        width: 18px;
        height: 18px;
    }

    .rc-sidebar-icon img {
        width: 24px;
        height: 24px;
    }

    .rc-sidebar-label {
        font-size: 0.55rem;
    }

    .rc-thumbs-col {
        width: 70px;
        padding: 4px;
    }

    .rc-product-card {
        width: 130px;
        min-height: 90px;
        padding: 8px;
    }

    .rc-product-card__img {
        width: 44px;
        height: 44px;
    }

    .rc-product-card__name {
        font-size: 0.72rem;
    }

    .rc-add-card {
        width: 130px;
        min-height: 90px;
    }

    .rc-action-btn {
        font-size: 0.75rem;
        padding: 0.4rem 0.15rem;
    }

    .rc-msg__bubble {
        max-width: 85%;
        font-size: 0.82rem;
    }

    .rc-header {
        padding: 0.5rem 0.75rem;
    }

    .rc-header-icon {
        width: 32px;
        height: 32px;
    }

    #rcModalTitle {
        font-size: 1rem;
    }

    .rc-header .rc-close-btn {
        width: 30px;
        height: 30px;
    }

    .rc-header .rc-close-btn svg {
        width: 15px;
        height: 15px;
    }
}

/* --------------------------------------------------------------------------
   20. PRINT (hide modal on print)
   -------------------------------------------------------------------------- */
@media print {
    .rc-dialog { display: none !important; }
}
