/* ===== MATERIAL.CSS – AUTOPRO B2B GLOBAL STYLES ===== */
:root {
    --primary-dark: #0b1a2f;
    --secondary-dark: #060e1a;
    --accent-blue: #00d2ff;
    --accent-purple: #9d50bb;
    --accent-orange: #ff6b35;
    --text-muted: #64748b;
    --glass-card: rgba(255, 255, 255, 0.03);
    --container-max: 1400px;
    --glow-cyan: 0 0 20px rgba(0, 210, 255, 0.4);
    --glow-orange: 0 0 20px rgba(255, 107, 53, 0.4);
}

/* ----- BASE ----- */
body {
    font-family: 'Inter', sans-serif;
    background: #f0f4f8;
    color: #1a2b3c;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

:focus-visible {
    outline: 3px solid var(--accent-blue) !important;
    outline-offset: 4px;
}

.cursor-pointer {
    cursor: pointer;
}

/* Utility classes */
.fw-800 {
    font-weight: 800;
}

.fs-huge {
    font-size: 4rem;
}

/* ----- SECTION HEADER ----- */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 50px 0 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.section-header h2 {
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 2px;
    font-size: 1.6rem;
    letter-spacing: -0.5px;
}

.section-header p {
    color: var(--text-muted);
    font-weight: 500;
    margin: 0;
    font-size: 0.9rem;
}

/* ----- BOXED CONTAINER (fully responsive) ----- */
.boxed {
    max-width: var(--container-max);
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* ----- DUAL MARQUEES ----- */
.marquee-wrap {
    border-bottom: 2px solid rgba(0, 210, 255, 0.2);
    width: 100%;
}

.m-layer {
    white-space: nowrap;
    display: flex;
    align-items: center;
    padding: 10px 0;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.m-primary {
    background: var(--secondary-dark);
    color: var(--accent-blue);
}

.m-secondary {
    background: #112235;
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.m-track {
    display: flex;
    animation: marqueeRun 40s linear infinite;
}

@keyframes marqueeRun {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.m-item {
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ----- TOP HEADER ----- */
.top-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    padding: 10px 25px;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-link-top {
    color: #4a5568;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
}

.nav-link-top:hover {
    color: var(--accent-blue);
    transform: translateY(-1px);
}

/* ----- STICKY HEADER WRAPPER ----- */
.sticky-header-wrap {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #f0f4f8;
    padding-bottom: 10px;
    transition: box-shadow 0.3s;
}

.sticky-header-wrap.is-stuck {
    z-index: 1000;
    background: rgba(240, 244, 248, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 26, 51, 0.12);
    padding-bottom: 5px;
}

.sticky-header-wrap.is-stuck .main-header {
    border-radius: 0 0 24px 24px;
    box-shadow: 0 15px 40px -10px rgba(0, 40, 80, 0.15);
}

.sticky-header-wrap.is-stuck .menu-bar {
    box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.12);
}

/* ----- MAIN HEADER ----- */
.main-header {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 20px 30px;
    border-radius: 24px;
    box-shadow: 0 15px 35px -10px rgba(0, 40, 80, 0.1);
    position: relative;
    z-index: 100;
}

.main-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple), var(--accent-blue));
    background-size: 200% auto;
    animation: gradientMove 3s linear infinite;
}

@keyframes gradientMove {
    to {
        background-position: 200% center;
    }
}

.search-bar {
    background: #f1f5f9;
    border-radius: 14px;
    border: 2px solid transparent;
    flex-grow: 1;
    max-width: 500px;
    transition: all 0.3s;
    padding: 5px 5px 5px 20px;
}

.search-bar:focus-within {
    background: white;
    border-color: var(--accent-blue);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.2);
}

.search-bar input {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    font-weight: 500;
}

/* ===== MAIN MENU BAR ===== */
.menu-bar {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 60px;
    margin: 15px 0 25px 0;
    padding: 5px;
    box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.1);
    border: 1px solid #eef2f6;
}

.nav-main {
    display: flex;
    gap: 5px;
}

.nav-main .nav-link {
    padding: 12px 24px;
    font-weight: 700;
    color: var(--primary-dark);
    border-radius: 40px;
    transition: all 0.2s;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
}

.nav-main .nav-link:hover {
    background: #f0f7ff;
    color: var(--accent-blue);
}

.nav-main .nav-link.active {
    background: var(--accent-blue);
    color: white;
    box-shadow: var(--glow-cyan);
}

.chat-btn {
    background: linear-gradient(135deg, var(--accent-orange), #d35400);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 40px;
    padding: 10px 25px;
    color: white;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
    font-size: 0.9rem;
}

.chat-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-orange);
}

/* ----- BUTTONS ----- */
.btn-chat {
    background: linear-gradient(135deg, var(--accent-blue), #3b7bd5);
    border: none;
    border-radius: 14px;
    padding: 14px 24px;
    color: white;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-chat:hover {
    transform: scale(1.05);
    box-shadow: var(--glow-cyan);
}

.btn-find {
    background: linear-gradient(90deg, #d35400, #e67e22);
    border: none;
    border-radius: 12px;
    padding: 15px 40px;
    color: white;
    font-weight: 700;
    transition: 0.3s;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-find:hover {
    transform: scale(1.02);
    box-shadow: var(--glow-orange);
}

.btn-add {
    background: white;
    border: 2px solid var(--accent-blue);
    color: var(--accent-blue);
    border-radius: 14px;
    padding: 12px 22px;
    font-weight: 700;
    transition: all 0.25s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-add:hover {
    background: var(--accent-blue);
    color: white;
    box-shadow: var(--glow-cyan);
    transform: scale(1.05);
}

/* ----- PRODUCT CARDS (unified) ----- */
.product-card,
.result-card {
    background: white;
    border-radius: 32px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card {
    padding: 25px;
    overflow: hidden;
}

.result-card {
    padding: 0;
    overflow: hidden;
    min-width: 0;
}

.product-card:hover,
.result-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 50px rgba(0, 149, 255, 0.15);
    border-color: var(--accent-blue);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ffdf7e;
    color: #362d00;
    font-weight: 800;
    font-size: 0.7rem;
    padding: 4px 12px;
    border-radius: 50px;
    z-index: 5;
}

.inventory-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    width: fit-content;
}

.stock-high {
    background: #dcfce7;
    color: #166534;
}

.stock-low {
    background: #fef9c3;
    color: #854d0e;
}

.stock-out {
    background: #fee2e2;
    color: #991b1b;
}

.product-img-box {
    background: #f8fbff;
    border-radius: 24px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: 0.3s;
}

.product-card:hover .product-img-box {
    background: #eef7ff;
}

.product-card h5 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.6em;
    line-height: 1.3;
    margin-bottom: 0.4rem;
    cursor: default;
}

.art-number-link {
    color: var(--accent-blue);
    transition: all 0.2s ease;
    border-bottom: 1px dashed transparent;
}

.art-number-link:hover {
    color: var(--accent-orange);
    border-bottom-color: var(--accent-orange);
}

/* ----- CROSS-REF DATA TABLE (modal) ----- */
.crossref-dt-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    gap: 12px;
    flex-wrap: wrap;
}

.crossref-dt-search-wrap {
    position: relative;
    flex: 1;
    min-width: 200px;
}

.crossref-dt-search-wrap i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-blue);
    font-size: 0.85rem;
}

.crossref-dt-search {
    width: 100%;
    padding: 8px 12px 8px 34px;
    border: 2px solid #e8edf2;
    border-radius: 10px;
    font-size: 0.85rem;
    transition: border-color 0.2s;
    background: #f8fbff;
    outline: none;
}

.crossref-dt-search:focus {
    border-color: var(--accent-blue);
    background: white;
}

.crossref-dt-info {
    font-size: 0.78rem;
    color: #6b7280;
    white-space: nowrap;
    font-weight: 600;
}

.crossref-dt-table-wrap {
    overflow-x: auto;
}

.crossref-dt-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.88rem;
}

.crossref-dt-table thead th {
    background: var(--primary-dark);
    color: white;
    font-weight: 700;
    padding: 10px 14px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

.crossref-dt-table thead th:first-child {
    border-radius: 10px 0 0 0;
}

.crossref-dt-table thead th:last-child {
    border-radius: 0 10px 0 0;
}

.crossref-dt-table tbody tr {
    transition: background 0.15s;
}

.crossref-dt-table tbody tr:hover {
    background: rgba(0, 210, 255, 0.06);
}

.crossref-dt-table tbody tr:nth-child(even) {
    background: #f9fbfd;
}

.crossref-dt-table tbody tr:nth-child(even):hover {
    background: rgba(0, 210, 255, 0.06);
}

.crossref-dt-table tbody td {
    padding: 9px 14px;
    border-bottom: 1px solid #eef2f7;
    vertical-align: middle;
}

.crossref-dt-artno {
    color: var(--accent-blue);
    font-weight: 700;
    text-decoration: none;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.88rem;
    transition: all 0.2s;
    border-bottom: 1px dashed transparent;
}

.crossref-dt-artno:hover {
    color: var(--accent-orange);
    border-bottom-color: var(--accent-orange);
}

.crossref-kind-trade {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(0, 210, 255, 0.1);
    color: var(--accent-blue);
}

.crossref-kind-replace {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(255, 107, 53, 0.1);
    color: var(--accent-orange);
}

.crossref-dt-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eef2f7;
}

.crossref-pg-btn {
    border: none;
    background: #eef2f7;
    color: var(--primary-dark);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.crossref-pg-btn:hover:not(.disabled):not(.active) {
    background: var(--accent-blue);
    color: white;
}

.crossref-pg-btn.active {
    background: var(--primary-dark);
    color: white;
}

.crossref-pg-btn.disabled {
    opacity: 0.4;
    cursor: default;
}

.crossref-pg-dots {
    color: #9ca3af;
    font-size: 0.85rem;
    padding: 0 4px;
}

.price-tier {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 2px;
}

.price-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.price-value span {
    color: var(--accent-blue);
}

/* ----- SEARCH RESULT CARD VARIATIONS ----- */
.result-card .card-image {
    position: relative;
    background: #f1f5f9;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #ecf3fa;
}

.result-card .card-image img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    opacity: 0.9;
    transition: 0.3s;
}

.result-card:hover .card-image img {
    transform: scale(1.05);
}

.brand-logo {
    position: absolute;
    top: 15px;
    left: 15px;
    background: white;
    border-radius: 12px;
    padding: 8px 14px;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--primary-dark);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left: 3px solid var(--accent-orange);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 5px;
}

.brand-logo i {
    color: var(--accent-orange);
}

.card-title {
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 6px;
    color: var(--primary-dark);
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.6em;
    line-height: 1.3;
    word-break: break-word;
}

.card-part-number {
    font-size: 0.75rem;
    color: var(--accent-blue);
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: 15px;
}

.result-card .card-body {
    padding: 20px 22px;
    flex: 1;
}

.card-footer {
    padding: 16px 20px 18px;
    border-top: 1px solid #ecf3fa;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: #fafdff;
    border-radius: 0 0 32px 32px;
    gap: 0;
}

.card-price {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-dark);
}

.card-price span {
    color: var(--accent-blue);
    font-size: 0.9rem;
    font-weight: 600;
    margin-right: 2px;
}

/* ===== REDESIGNED GRID CARD (Session 33+) ===== */

/* Left border color indicators */
.result-card.rc-border-instock {
    border-left: 5px solid #22c55e;
}

.result-card.rc-border-nostock {
    border-left: 5px solid #ef4444;
}

.result-card.rc-border-import {
    border-left: 5px solid #f59e0b;
}

/* Brand header */
.rc-brand-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-bottom: 1px solid #ecf3fa;
    min-height: 44px;
    background: white;
}

.rc-brand-logo {
    height: 22px;
    max-width: 80px;
    object-fit: contain;
}

.rc-brand-name {
    font-weight: 700;
    font-size: 0.85rem;
    color: #495057;
    font-style: italic;
    letter-spacing: 0.3px;
}

/* Stock badge on image (top-right) */
.rc-stock-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.rc-badge-instock {
    background: #22c55e;
}

.rc-badge-nostock {
    background: #ef4444;
}

.rc-badge-import {
    background: #f59e0b;
}

/* Card image — remove old brand-logo overlay since we moved it to header */
.rc-border-instock .brand-logo,
.rc-border-nostock .brand-logo,
.rc-border-import .brand-logo {
    display: none;
}

/* Product name link */
.rc-product-name {
    font-weight: 800;
    font-size: 1rem;
    color: var(--primary-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.4em;
    line-height: 1.25;
    word-break: break-word;
    margin-bottom: 8px;
    text-decoration: none;
    transition: color 0.2s;
}

.rc-product-name:hover {
    color: var(--accent-blue);
}

/* Article number */
.rc-article-number {
    font-size: 0.82rem;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.rc-article-number .rc-label {
    color: #8b95a5;
    font-weight: 500;
}

.rc-article-number .rc-value {
    color: var(--accent-blue);
    font-weight: 700;
    font-size: 0.9rem;
}

/* EAN line */
.rc-ean-line {
    font-size: 0.75rem;
    color: #7c8a9a;
    margin-bottom: 4px;
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.rc-ean-line .rc-label {
    color: #8b95a5;
    font-weight: 500;
}

.rc-ean-value {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    letter-spacing: 0.3px;
}

/* Badges row */
.rc-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.rc-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 50px;
    background: rgba(100, 116, 139, 0.08);
    color: #475569;
    border: 1px solid rgba(100, 116, 139, 0.15);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rc-category-badge i {
    font-size: 0.6rem;
}

.rc-status-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
}

.rc-status-normal {
    background: #dcfce7;
    color: #166534;
}

.rc-status-out {
    background: #fee2e2;
    color: #991b1b;
}

.rc-status-import {
    background: #fef3c7;
    color: #92400e;
}

/* Technical Details display (below status badges) */
.rc-tech-details,
.lc-tech-details {
    margin-top: 6px;
    padding: 6px 10px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e8f4fd 100%);
    border: 1px solid #bae6fd;
    border-radius: 10px;
    font-size: 0.72rem;
    line-height: 1.4;
}

.rc-tech-label {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-weight: 700;
    color: var(--accent-blue, #00d2ff);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 2px;
}

.rc-tech-value {
    display: block;
    color: #334155;
    font-weight: 500;
    word-break: break-word;
}

/* List view tech details: allow more text */
.lc-tech-details {
    margin-top: 5px;
}

/* Modal: Our Technical Details block (visually distinct at top) */
.our-tech-details-block {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 2px solid #93c5fd;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 12px;
}

.our-tech-header {
    font-size: 0.82rem;
    font-weight: 800;
    color: #1e40af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 2px solid #93c5fd;
}

.our-tech-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.our-tech-row {
    font-size: 0.88rem;
    color: #1e293b;
}

.our-tech-label {
    font-weight: 700;
    color: #1e40af;
}

.our-tech-value {
    font-weight: 500;
}

/* External links (Manufacturer URL + Video) */
.rc-external-links {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
}

.rc-ext-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 0.82rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.rc-ext-manuf {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

.rc-ext-manuf:hover {
    background: #2563eb;
    color: white;
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.3);
    transform: scale(1.12);
}

.rc-ext-video {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.rc-ext-video:hover {
    background: #dc2626;
    color: white;
    box-shadow: 0 3px 10px rgba(220, 38, 38, 0.3);
    transform: scale(1.12);
}

/* List view external links alignment */
.lc-external-links {
    margin-left: 12px;
}

/* Quick View: AdditionalDescription block */
.qv-additional-desc {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px 16px;
    margin-top: 12px;
}

.qv-addesc-header {
    font-size: 0.78rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e2e8f0;
}

.qv-addesc-content {
    font-size: 0.85rem;
    color: #334155;
    line-height: 1.55;
    word-break: break-word;
}

.qv-addesc-toggle {
    display: inline-flex;
    align-items: center;
    background: none;
    border: none;
    color: var(--accent-blue, #00d2ff);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    padding: 4px 0;
    margin-top: 6px;
    transition: color 0.2s;
}

.qv-addesc-toggle:hover {
    color: #0284c7;
}

/* Divider between our details and TecDoc specs */
.tech-divider {
    border: 0;
    border-top: 2px dashed #cbd5e1;
    margin: 14px 0;
}

/* TecDoc specs section header in modal */
.tecdoc-specs-header {
    font-size: 0.82rem;
    font-weight: 800;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

/* Footer price block */
.rc-price-block {
    margin-bottom: 10px;
}

.rc-price {
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--primary-dark);
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    line-height: 1.2;
}

.rc-currency {
    color: var(--accent-blue);
    font-size: 0.85rem;
    font-weight: 600;
}

.rc-price-request {
    font-size: 0.9rem;
    color: #8b95a5;
    font-style: italic;
    font-weight: 600;
}

.rc-discount-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 50px;
    background: #ef4444;
    color: white;
    margin-left: 6px;
    vertical-align: middle;
}

.rc-vat {
    font-size: 0.72rem;
    color: #22c55e;
    font-weight: 600;
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.rc-vat i {
    font-size: 0.65rem;
}

.rc-stock-line {
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 3px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.rc-stock-positive {
    color: #22c55e;
}

.rc-stock-positive i {
    font-size: 0.65rem;
}

.rc-stock-zero {
    color: #ef4444;
}

.rc-stock-zero i {
    font-size: 0.65rem;
}

/* Cart section */
.rc-cart-section {
    margin-top: 0;
}

.rc-add-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent-blue), #0098b3);
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.25s;
    position: relative;
}

.rc-add-btn:hover {
    transform: scale(1.02);
    box-shadow: var(--glow-cyan);
    background: linear-gradient(135deg, #00b8e6, var(--accent-blue));
}

.rc-qty-hint {
    font-weight: 500;
    font-size: 0.75rem;
    opacity: 0.85;
    margin-left: auto;
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 8px;
}

.rc-import-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    border: 2px solid #f59e0b;
    border-radius: 14px;
    background: transparent;
    color: #92400e;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none;
}

.rc-import-btn:hover {
    background: #fef3c7;
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.25);
    color: #92400e;
}

.rc-admin-stock {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: #475569;
    padding: 8px 12px;
    background: #f1f5f9;
    border-radius: 10px;
}

.rc-admin-stock i {
    color: var(--accent-blue);
}

/* Override old card-body padding for result-card */
.result-card .card-body {
    padding: 14px 20px 10px;
    flex: 1;
}

/* Override card-footer for new layout */
.result-card .card-footer {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 20px 18px;
    gap: 0;
}

/* ----- SIDEBAR NEW PRODUCTS SWIPER ----- */
.sidebar-products-card {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 40px -12px rgba(0, 40, 80, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.03);
    margin-top: 24px;
    margin-bottom: 20px;
}

.sidebar-products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid #eef2f6;
}

.sidebar-products-header h6 {
    margin: 0;
    font-weight: 800;
    color: var(--primary-dark);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.sidebar-products-header h6 i {
    color: var(--accent-orange);
    font-size: 1rem;
}

.sidebar-nav-btns {
    display: flex;
    gap: 6px;
}

.sidebar-nav-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}

.sidebar-nav-btn:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: white;
    box-shadow: var(--glow-cyan);
}

.sidebar-products-body {
    padding: 15px;
}

.sidebar-product-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 16px;
    transition: background 0.2s;
    text-decoration: none;
    color: inherit;
}

.sidebar-product-item:hover {
    background: #f0f7ff;
}

.sidebar-product-thumb {
    width: 52px;
    height: 52px;
    background: #f1f5f9;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
}

.sidebar-product-item:hover .sidebar-product-thumb {
    background: #e0efff;
}

.sidebar-product-thumb .material-symbols-outlined {
    font-size: 1.6rem;
    color: var(--accent-orange);
}

.sidebar-product-info {
    flex: 1;
    min-width: 0;
}

.sidebar-product-info .name {
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--primary-dark);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-product-info .price {
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--primary-dark);
    margin-top: 2px;
}

.sidebar-product-info .price span {
    color: var(--accent-blue);
    font-size: 0.7rem;
    margin-right: 1px;
}

.sidebar-product-badge {
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    display: inline-block;
    margin-top: 3px;
}

.sidebar-product-badge.new {
    background: #ffdf7e;
    color: #362d00;
}

.sidebar-product-badge.hot {
    background: #fee2e2;
    color: #991b1b;
}

/* ----- ACTIVE FILTERS BAR (above results) ----- */
.active-filters-bar {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    border-radius: 16px;
    padding: 14px 20px;
    margin-bottom: 20px;
}

.active-filters-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.active-filters-label {
    font-weight: 700;
    font-size: 0.8rem;
    color: #475569;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.active-filters-label i {
    color: var(--accent-blue);
}

.active-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1;
}

.active-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    color: white;
    cursor: default;
    white-space: nowrap;
}

.active-filter-chip.chip-brand {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.active-filter-chip.chip-category {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.active-filter-chip.chip-stock {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.active-filter-chip .bi-check-lg {
    font-size: 0.7rem;
}

.chip-remove {
    background: rgba(255, 255, 255, 0.25);
    border: none;
    color: white;
    cursor: pointer;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-left: 2px;
    transition: background 0.2s;
    font-size: 0.75rem;
    line-height: 1;
}

.chip-remove:hover {
    background: rgba(255, 255, 255, 0.45);
}

.clear-all-filters-btn {
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
    white-space: nowrap;
}

.clear-all-filters-btn:hover {
    background: #dc2626;
    transform: scale(1.03);
}

/* ----- FILTER SIDEBAR (search page) ----- */
.filter-sidebar {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 40px -12px rgba(0, 40, 80, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

/* Sidebar Active Filters Summary */
.sidebar-active-filters {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 18px;
}

.sidebar-active-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px dashed #86efac;
}

.sidebar-active-header h6 {
    margin: 0;
    font-weight: 700;
    font-size: 0.85rem;
    color: #166534;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sidebar-active-header h6 i {
    color: #22c55e;
}

.btn-clear-all {
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 3px 10px;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-clear-all:hover {
    background: #dc2626;
}

.sidebar-active-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sidebar-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    white-space: nowrap;
}

.sidebar-chip.chip-brand {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.sidebar-chip.chip-category {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.sidebar-chip.chip-stock {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.sidebar-chip .chip-remove {
    background: rgba(255, 255, 255, 0.25);
    border: none;
    color: white;
    cursor: pointer;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 0.65rem;
    line-height: 1;
}

.sidebar-chip .chip-remove:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Filter Section */
.filter-section {
    margin-bottom: 16px;
    padding-bottom: 0;
    border-bottom: none;
}

.filter-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 10px 14px;
    user-select: none;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
}

.filter-section-header:hover {
    background: #f1f5f9;
}

.filter-section-header h6 {
    font-weight: 700;
    color: var(--primary-dark, #0b1a2f);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.filter-section-header h6 i {
    color: var(--accent-blue, #3b82f6);
    font-size: 0.95rem;
}

.filter-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-section-header i.bi-chevron-down {
    transition: transform 0.3s;
    color: var(--accent-blue, #3b82f6);
    font-size: 0.8rem;
}

.filter-section-header.collapsed i.bi-chevron-down {
    transform: rotate(-90deg);
}

.filter-selected-badge {
    background: #22c55e;
    color: white;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    white-space: nowrap;
}

/* Per-Section Search Box */
.filter-search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    border-radius: 10px;
    padding: 6px 12px;
    margin: 10px 0 6px 0;
    border: 1.5px solid transparent;
    transition: all 0.3s;
}

.filter-search-box:focus-within {
    background: white;
    border-color: var(--accent-blue, #3b82f6);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.filter-search-box i {
    color: #94a3b8;
    font-size: 0.8rem;
}

.filter-section-search {
    border: none;
    background: transparent;
    width: 100%;
    outline: none;
    font-size: 0.82rem;
    font-weight: 500;
    color: #334155;
}

.filter-section-search::placeholder {
    color: #94a3b8;
}

/* Scrollable Filter List */
.filter-scroll-list {
    max-height: 320px;
    overflow-y: auto;
    padding: 4px 0;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.filter-scroll-list::-webkit-scrollbar {
    width: 5px;
}

.filter-scroll-list::-webkit-scrollbar-track {
    background: transparent;
}

.filter-scroll-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.filter-scroll-list::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.filter-scroll-list[data-section="categories"] {
    max-height: 280px;
}

/* Filter Checkbox Items */
.filter-checkbox-list {
    padding: 8px 0 4px 0;
}

.filter-checkbox-item {
    display: flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 10px;
    transition: all 0.2s;
    border: 1.5px solid transparent;
    margin-bottom: 2px;
}

.filter-checkbox-item:hover {
    background: #f0f7ff;
    border-color: #dbeafe;
}

.filter-checkbox-item.active {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-color: #3b82f6;
    border-left: 3px solid #3b82f6;
}

.filter-checkbox-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-right: 10px;
    accent-color: #3b82f6;
    cursor: pointer;
    flex-shrink: 0;
}

.filter-checkbox-item label {
    font-weight: 500;
    color: #1e293b;
    cursor: pointer;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 0.84rem;
    overflow: hidden;
}

.filter-checkbox-item.active label {
    color: #1d4ed8;
    font-weight: 600;
}

.brand-logo-sm {
    height: 20px;
    max-width: 50px;
    object-fit: contain;
    flex-shrink: 0;
}

.filter-item-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.filter-count-badge {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: auto;
    padding-left: 6px;
}

.filter-checkbox-item.active .filter-count-badge {
    color: #2563eb;
}

/* ----- SEARCH TOP BAR (search page) ----- */
.search-top-bar {
    background: white;
    border-radius: 16px;
    padding: 0;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px -8px rgba(0, 40, 80, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.stb-row-1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px;
    gap: 12px;
}

.result-count {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 0.85rem;
    white-space: nowrap;
}

.result-count i {
    color: var(--accent-blue);
    font-size: 0.9rem;
}

.result-query {
    color: #64748b;
    font-weight: 500;
}

.stb-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-control {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #f8fafc;
    padding: 5px 10px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.filter-control label {
    font-weight: 600;
    color: #334155;
    font-size: 0.78rem;
    white-space: nowrap;
    margin-bottom: 0;
}

.filter-control select {
    border: none;
    background: transparent;
    font-weight: 600;
    color: var(--primary-dark);
    outline: none;
    cursor: pointer;
    padding: 2px 0;
    font-size: 0.78rem;
}

.view-toggle {
    display: flex;
    gap: 2px;
}

.view-toggle-btn {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 8px;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
}

.view-toggle-btn:hover {
    background: #e0f2fe;
    color: var(--accent-blue);
    border-color: #bae6fd;
}

.view-toggle-btn.active {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
    box-shadow: 0 2px 8px rgba(0, 210, 255, 0.25);
}

/* Client-side instant search row */
.stb-search-row {
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid #f1f5f9;
    padding: 6px 18px;
    background: #fafbfc;
}

.client-search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 5px 12px;
    transition: border-color 0.2s;
}

.client-search-box:focus-within {
    border-color: var(--accent-cyan, #00d2ff);
    box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.1);
}

.client-search-box>i {
    color: #94a3b8;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.client-search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.82rem;
    color: #334155;
    padding: 2px 0;
}

.client-search-input::placeholder {
    color: #94a3b8;
}

.client-search-count {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 10px;
}

.client-search-count.has-filter {
    background: #fef3c7;
    color: #92400e;
}

.client-search-clear {
    border: none;
    background: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 2px;
    display: flex;
    align-items: center;
    transition: color 0.15s;
}

.client-search-clear:hover {
    color: #ef4444;
}

/* Price row */
.stb-price-row {
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid #f1f5f9;
    padding: 8px 18px;
    background: #fafbfc;
}

.stb-price-row>i {
    color: var(--accent-blue);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.price-label {
    font-weight: 600;
    color: #334155;
    font-size: 0.8rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.price-val {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 0.8rem;
    min-width: 30px;
    text-align: center;
    flex-shrink: 0;
}

.price-currency {
    font-weight: 500;
    color: #94a3b8;
    font-size: 0.78rem;
    flex-shrink: 0;
}

.stb-price-row input[type=range] {
    flex: 1;
    min-width: 80px;
    margin: 0;
    -webkit-appearance: none;
    background: transparent;
}

.stb-price-row input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    background: #e2e8f0;
    border-radius: 10px;
}

.stb-price-row input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: var(--accent-blue);
    border-radius: 50%;
    margin-top: -6px;
    box-shadow: 0 1px 4px rgba(0, 210, 255, 0.3);
    cursor: pointer;
    transition: 0.15s;
}

.stb-price-row input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.stb-price-row input[type=range]::-moz-range-track {
    width: 100%;
    height: 4px;
    background: #e2e8f0;
    border-radius: 10px;
    border: none;
}

.stb-price-row input[type=range]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: var(--accent-blue);
    border-radius: 50%;
    border: none;
    box-shadow: 0 1px 4px rgba(0, 210, 255, 0.3);
    cursor: pointer;
}

/* ----- RESULTS GRID (search page) ----- */
.result-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

/* ----- PAGINATION ----- */
.pagination-wrap {
    display: flex;
    justify-content: center;
    margin: 40px 0 30px;
}

.pagination .page-item .page-link {
    border: none;
    background: white;
    margin: 0 5px;
    border-radius: 14px !important;
    font-weight: 600;
    color: var(--primary-dark);
    padding: 12px 18px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.2s;
}

.pagination .page-item.active .page-link {
    background: var(--accent-blue);
    color: white;
    box-shadow: var(--glow-cyan);
}

.pagination .page-item .page-link:hover {
    background: var(--accent-blue);
    color: white;
    transform: translateY(-2px);
}

/* ----- HERO SWIPER (home page) ----- */
.hero-swiper {
    width: 100%;
    height: 540px;
    border-radius: 40px;
    margin: 30px 0;
    box-shadow: 0 40px 70px -20px rgba(0, 26, 51, 0.4);
    overflow: hidden;
}

.swiper-slide-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f8f0f0;
}

.swiper-slide-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.92) 45%, rgba(255, 255, 255, 0.4) 75%, transparent 100%);
}

.swiper-slide-hero .container {
    position: relative;
    z-index: 5;
}

.hero-content {
    position: relative;
    z-index: 9;
}

.hero-content .hero-subtitle {
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--accent-orange, #ff6b35);
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.hero-content .hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.2rem;
    color: var(--primary-navy, #0b1a2f);
    text-transform: uppercase;
}

.hero-content .hero-title span {
    color: var(--accent-orange, #ff6b35);
}

.hero-content .hero-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 2rem;
    max-width: 520px;
}

.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-orange, #ff6b35);
    color: #fff;
    border: 2px solid var(--accent-orange, #ff6b35);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 36px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.hero-cta-btn:hover {
    background: var(--primary-navy, #0b1a2f);
    border-color: var(--primary-navy, #0b1a2f);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(11, 26, 47, 0.3);
}

.hero-layer-img {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 3;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-layer-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.05);
    transition: transform 1.2s ease;
}

.swiper-slide-active .hero-layer-img img {
    transform: scale(1);
}

/* Slide-in animations */
.swiper-slide-active .hero-content>* {
    animation: heroFadeInUp 0.8s ease both;
}

.swiper-slide-active .hero-subtitle {
    animation-delay: 0.2s;
}

.swiper-slide-active .hero-title {
    animation-delay: 0.4s;
}

.swiper-slide-active .hero-desc {
    animation-delay: 0.6s;
}

.swiper-slide-active .hero-cta-btn {
    animation-delay: 0.8s;
}

@keyframes heroFadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* ----- VEHICLE FINDER (home page) ----- */
.finder-card {
    background: var(--primary-dark);
    border-radius: 30px;
    padding: 40px;
    color: white;
    margin-top: -80px;
    position: relative;
    z-index: 110;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    border-top: 3px solid var(--accent-orange);
}

.finder-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.finder-title i {
    color: var(--accent-orange);
    font-size: 2rem;
}

.finder-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.finder-tab {
    flex: 1;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    cursor: pointer;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.finder-tab.active {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    color: white;
    box-shadow: var(--glow-orange);
}

.finder-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
}

.finder-select {
    background: #fff;
    border-radius: 12px;
    border: none;
    padding: 15px;
    width: 100%;
    font-weight: 500;
    color: #1a2b3c;
    appearance: none;
    cursor: pointer;
}

/* ----- WHY CHOOSE US (home page & trust strip) ----- */
.why-section {
    background: var(--secondary-dark);
    padding: 100px 0;
    margin: 80px 0;
    border-radius: 60px;
    color: white;
    text-align: center;
}

.why-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    padding: 50px 25px;
    transition: 0.3s;
    height: 100%;
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-8px);
    border-color: var(--accent-orange);
}

.why-icon {
    font-size: 3.5rem;
    color: var(--accent-orange);
    margin-bottom: 25px;
    filter: drop-shadow(var(--glow-orange));
}

/* Trust seals (used in footer and why section) */
.trust-seals {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.seal {
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
    font-weight: 700;
    color: #a0c0e0;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ----- TESTIMONIAL CARD (home page) ----- */
.testimonial-card {
    background: white;
    border-radius: 32px;
    padding: 40px;
    border: 1px solid #eef2f6;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.quote-icon {
    font-size: 2rem;
    color: var(--accent-blue);
    opacity: 0.3;
    margin-bottom: 20px;
}

.user-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
}

.user-meta img {
    width: 55px;
    height: 55px;
    border-radius: 18px;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ----- BRAND SLIDER (home page) ----- */
.brand-item {
    opacity: 0.4;
    filter: grayscale(100%);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 25px;
    border-radius: 20px;
}

.brand-item:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.15);
    background: white;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

/* ----- ACTION STRIP (home page & optional on search) ----- */
.action-strip {
    background: white;
    margin: 40px 0;
    padding: 25px;
    border-radius: 28px;
    box-shadow: 0 10px 30px rgba(0, 40, 80, 0.05);
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 15px;
}

.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.action-item i,
.action-item span {
    font-size: 2.2rem;
    color: #64748b;
    transition: color 0.2s, transform 0.2s;
}

.action-item:hover i,
.action-item:hover span {
    color: var(--accent-blue);
    transform: scale(1.2);
    filter: drop-shadow(0 0 12px rgba(0, 210, 255, 0.5));
}

/* ----- FOOTER (rich) ----- */
.footer-full {
    background: var(--primary-dark);
    padding: 100px 0 40px;
    color: white;
    position: relative;
    overflow: hidden;
    margin-top: 60px;
}

.footer-full::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), var(--accent-purple), transparent);
    animation: sweep 4s infinite linear;
}

@keyframes sweep {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.footer-link {
    color: #a0c0e0;
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    font-weight: 500;
    transition: 0.2s;
}

.footer-link:hover {
    color: var(--accent-blue);
    transform: translateX(8px);
}

.newsletter-input {
    background: #1f344a;
    border: 2px solid #2e4b6a;
    border-radius: 60px;
    padding: 14px 25px;
    color: white;
    width: 100%;
    outline: none;
    transition: 0.3s;
}

.newsletter-input:focus {
    border-color: var(--accent-blue);
    box-shadow: var(--glow-cyan);
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    display: inline-block;
    animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* ----- RESPONSIVE TWEAKS ----- */
@media (max-width: 1200px) {
    .result-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content .hero-title {
        font-size: 3rem;
    }

    .hero-layer-img {
        max-width: 50%;
    }
}

@media (max-width: 992px) {
    .main-header {
        flex-wrap: wrap;
    }

    .search-bar {
        max-width: 100%;
        order: 3;
        margin-top: 15px;
    }

    .finder-card {
        margin-top: 0;
    }

    .hero-content .hero-title {
        font-size: 2.4rem;
    }

    .hero-layer-img {
        max-width: 45%;
    }

    .result-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .result-grid {
        grid-template-columns: 1fr;
    }

    .top-header {
        flex-direction: column;
        align-items: start;
        gap: 10px;
    }

    .filter-sidebar {
        position: static;
        margin-bottom: 20px;
    }

    .action-strip {
        flex-wrap: wrap;
    }

    .action-item {
        flex: 1 0 40%;
    }

    .hero-swiper {
        height: 400px;
    }

    .hero-content .hero-title {
        font-size: 1.8rem;
    }

    .hero-content .hero-desc {
        font-size: 0.95rem;
    }

    .hero-layer-img {
        max-width: 40%;
    }

    .finder-tabs {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .result-grid {
        grid-template-columns: 1fr;
    }

    .boxed {
        padding: 0 15px;
    }

    .main-header {
        padding: 15px;
    }

    .footer-full .row>div {
        margin-bottom: 30px;
    }
}

/* ----- CUSTOM SCROLLBAR ----- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
}

/* ===== LIST VIEW CARD (Redesigned Compact) ===== */
.list-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 16px -4px rgba(0, 40, 80, 0.08);
    border: 1px solid #e8edf2;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    margin-bottom: 12px;
    position: relative;
}

/* Left border color indicators */
.list-card.lc-border-instock {
    border-left: 5px solid #22c55e;
}

.list-card.lc-border-nostock {
    border-left: 5px solid #ef4444;
}

.list-card.lc-border-import {
    border-left: 5px solid #f59e0b;
}

.list-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -8px rgba(0, 149, 255, 0.15);
    border-color: rgba(0, 210, 255, 0.3);
}

/* ── Image Column ── */
.lc-image-col {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #f8fafc;
    border-right: 1px solid #ecf3fa;
    position: relative;
}

.lc-brand-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 10px;
    background: white;
    border-bottom: 1px solid #ecf3fa;
    min-height: 36px;
}

.lc-brand-logo {
    height: 18px;
    max-width: 60px;
    object-fit: contain;
}

.lc-brand-name {
    font-weight: 700;
    font-size: 0.75rem;
    color: #495057;
    font-style: italic;
}

.lc-img-link {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 10px;
    text-decoration: none;
    min-height: 90px;
}

.lc-img-link img {
    max-width: 100%;
    max-height: 90px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.08));
    transition: transform 0.3s;
}

.list-card:hover .lc-img-link img {
    transform: scale(1.05);
}

.lc-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.lc-img-placeholder .material-symbols-outlined {
    font-size: 2.5rem;
    color: #b0bec5;
}

.lc-badges-overlay {
    position: absolute;
    bottom: 6px;
    left: 6px;
    display: flex;
    gap: 3px;
    z-index: 5;
}

/* ── Info Column ── */
.lc-info-col {
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
}

.lc-name-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}

.lc-product-name {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--primary-dark);
    line-height: 1.25;
    text-decoration: none;
    transition: color 0.2s;
    flex: 1;
}

.lc-product-name:hover {
    color: var(--accent-blue);
}

.lc-stock-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
    white-space: nowrap;
    flex-shrink: 0;
}

.lc-chip-instock {
    background: #dcfce7;
    color: #166534;
}

.lc-chip-nostock {
    background: #fee2e2;
    color: #991b1b;
}

.lc-chip-import {
    background: #fef3c7;
    color: #92400e;
}

.lc-stock-chip i {
    font-size: 0.6rem;
}

/* Meta row: article + EAN */
.lc-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 6px;
}

.lc-article-no,
.lc-ean {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.82rem;
}

.lc-meta-label {
    color: #8b95a5;
    font-weight: 500;
    font-size: 0.78rem;
}

.lc-meta-value {
    color: var(--accent-blue);
    font-weight: 700;
    font-size: 0.88rem;
}

.lc-ean-value {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    color: #64748b;
    font-size: 0.78rem;
    letter-spacing: 0.3px;
}

/* Tags row: category + status */
.lc-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 6px;
}

/* Actions row */
.lc-actions-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

/* Override grid-action-btn hidden state inside list cards */
.list-card .grid-action-btn {
    opacity: 1 !important;
    transform: scale(1) !important;
    pointer-events: auto !important;
    width: auto;
    height: auto;
    border-radius: 30px;
}

/* ── Commerce Column ── */
.lc-commerce-col {
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    border-left: 1px solid #eef2f6;
    background: linear-gradient(180deg, #fafcff, #f8fafc);
    position: relative;
}

.lc-price-section {
    margin-bottom: 6px;
}

.lc-price {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-dark);
    line-height: 1.15;
}

.lc-currency {
    color: var(--accent-blue);
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: 2px;
}

.lc-price-muted {
    font-size: 0.95rem;
    color: #8b95a5;
    font-style: italic;
    font-weight: 600;
}

.lc-availability {
    margin-bottom: 8px;
}

.lc-avail-label {
    font-size: 0.68rem;
    font-weight: 700;
    color: #8b95a5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.lc-avail-line {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 700;
}

.lc-avail-in {
    color: #22c55e;
}

.lc-avail-in i {
    font-size: 0.85rem;
}

.lc-avail-out {
    color: #ef4444;
}

.lc-avail-out i {
    font-size: 0.85rem;
}

.lc-avail-import {
    color: #f59e0b;
}

.lc-avail-import i {
    font-size: 0.85rem;
}

.lc-cart-section {
    margin-top: auto;
}

.lc-detail-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    color: #475569;
    font-weight: 600;
    font-size: 0.82rem;
    text-decoration: none;
    transition: all 0.2s;
}

.lc-detail-btn:hover {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
}

/* Old classes kept for backward compat */
.brand-chip {
    position: absolute;
    top: 15px;
    left: 15px;
    background: white;
    border-radius: 12px;
    padding: 8px 14px;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--primary-dark);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left: 3px solid var(--accent-orange);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 5px;
}

.brand-chip i {
    color: var(--accent-orange);
}

.meta-chip {
    background: #f0f7ff;
    border-radius: 30px;
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #334155;
}

.description-tag {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    padding: 6px 14px;
    font-size: 0.82rem;
    color: #334155;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 1rem 0 4px 0;
    width: fit-content;
}

.description-tag i {
    color: var(--accent-orange);
}

/* Combined action row: spec buttons + quick actions on one line (used in both old list + new lc-actions-row) */
.card-actions-row,
.lc-actions-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
}

.spec-btn {
    background: transparent;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    padding: 5px 10px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.spec-btn i {
    color: var(--accent-blue);
}

.spec-btn:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: white;
}

.spec-btn:hover i {
    color: white;
}

.spec-badge {
    background: var(--accent-orange);
    color: white;
    border-radius: 20px;
    padding: 2px 7px;
    font-size: 0.6rem;
}

.list-card-price {
    background: #fafdff;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-left: 1px solid #eef2f6;
    height: 100%;
    position: relative;
}

.price-large {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1;
}

.price-large span {
    color: var(--accent-blue);
    font-size: 0.85rem;
    margin-right: 2px;
}

.stock-info {
    margin: 8px 0;
}

.stock-indicator {
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.stock-indicator.in {
    color: #22c55e;
}

.stock-indicator.low {
    color: #eab308;
}

.stock-indicator.out {
    color: #ef4444;
}

.warehouse-badge {
    background: #e2e8f0;
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #334155;
    display: inline-block;
    margin-right: 6px;
    margin-top: 6px;
}

/* Quantity selector & cart */
.cart-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 40px;
    padding: 4px;
    width: fit-content;
}

.qty-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 50%;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.qty-btn:hover:not(:disabled) {
    background: var(--accent-blue);
    color: white;
}

.qty-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.qty-value {
    width: 50px;
    text-align: center;
    border: none;
    font-weight: 700;
    background: transparent;
    color: var(--primary-dark);
}

.add-to-cart-btn {
    background: linear-gradient(145deg, var(--accent-orange), #d35400);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    padding: 0;
    color: white;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: 0.3s;
}

.add-to-cart-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.4);
}

.add-to-cart-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #94a3b8;
}

/* Discount toggle button & info */
.discount-toggle-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    background: white;
    color: var(--accent-purple);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 3;
}

.discount-toggle-btn:hover {
    background: var(--accent-purple);
    border-color: var(--accent-purple);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(157, 80, 187, 0.35);
}

.discount-toggle-btn.active {
    background: var(--accent-purple);
    border-color: var(--accent-purple);
    color: white;
    box-shadow: 0 8px 20px rgba(157, 80, 187, 0.35);
}

.price-large.has-discount {
    font-size: 1rem;
    color: #94a3b8;
    text-decoration: line-through;
}

.price-large.has-discount span {
    color: #94a3b8;
    font-size: 0.7rem;
}

.discount-info {
    margin: 6px 0;
}

.discount-badge {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 1px solid #f59e0b;
    color: #92400e;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.discount-badge i {
    color: #d97706;
}

.discount-amount {
    color: #ef4444;
    font-weight: 800;
    margin-left: 4px;
}

.price-discounted {
    font-size: 1.6rem;
    font-weight: 800;
    color: #16a34a;
    line-height: 1;
    margin-top: 4px;
}

.price-discounted span {
    color: #16a34a;
    font-size: 0.85rem;
    margin-right: 2px;
}

.out-of-stock-message {
    color: #ef4444;
    font-weight: 700;
    font-size: 0.9rem;
    text-align: center;
    padding: 12px;
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 40px;
    background: rgba(239, 68, 68, 0.05);
}

.card-footer-strip {
    background: #f8fafc;
    border-top: 1px solid #eef2f6;
    padding: 8px 20px;
    font-size: 0.75rem;
    color: #64748b;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.card-footer-strip i {
    color: var(--accent-blue);
    margin-right: 4px;
}

/* ===== EXPANDABLE PANELS (Specs / OE / Cross-Ref) ===== */
.expand-panel {
    border-top: 1px solid #eef2f6;
    background: #f8fafc;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.3s ease,
        border-top-color 0.3s ease;
    border-top-color: transparent;
}

.expand-panel.open {
    max-height: 800px;
    opacity: 1;
    border-top-color: #eef2f6;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.35s ease 0.05s,
        border-top-color 0.3s ease;
}

.expand-panel-header {
    padding: 12px 20px;
    font-weight: 800;
    font-size: 0.8rem;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #eef2f6;
    background: linear-gradient(135deg, #f0f7ff, #f8fafc);
    transform: translateY(-5px);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.25s ease;
}

.expand-panel.open .expand-panel-header {
    transform: translateY(0);
    opacity: 1;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) 0.05s,
        opacity 0.3s ease 0.06s;
}

.expand-panel-header i {
    color: var(--accent-blue);
    font-size: 1rem;
}

.expand-panel-body {
    padding: 16px 20px;
    transform: translateY(-8px);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.3s ease;
}

.expand-panel.open .expand-panel-body {
    transform: translateY(0);
    opacity: 1;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s,
        opacity 0.35s ease 0.12s;
}

/* Spec grid inside expand panel */
.expand-spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.expand-spec-item {
    background: white;
    border: 1px solid #eef2f6;
    border-radius: 14px;
    padding: 12px 16px;
}

.expand-spec-label {
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 4px;
}

.expand-spec-value {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-dark);
}

/* OE / Cross-Ref list inside expand panel */
.expand-oe-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.expand-oe-item {
    background: white;
    border: 1px solid #eef2f6;
    border-radius: 12px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: border-color 0.2s;
}

.expand-oe-item:hover {
    border-color: var(--accent-blue);
}

.expand-oe-number {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.expand-oe-number i {
    color: var(--accent-blue);
    font-size: 0.95rem;
}

.expand-oe-brand {
    background: #f0f7ff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 3px 12px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #334155;
}

/* Active state for spec buttons when panel is open */
.spec-btn.active {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: white;
}

.spec-btn.active i {
    color: white;
}

@media (max-width: 576px) {
    .expand-spec-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== GRID CARD ACTION BUTTONS ===== */

/* ── Action Bar: horizontal row below image, always visible ── */
.grid-action-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 5px 0 6px;
    border-bottom: 1px solid #ecf3fa;
    background: #f8fafc;
}

/* ── Side Actions: Wishlist + Compare, vertical on right side of image ── */
.grid-side-actions {
    position: absolute;
    top: 10px;
    right: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 10;
}

.grid-side-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid #e2e8f0;
    background: rgba(255, 255, 255, 0.92);
    color: #94a3b8;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
    padding: 0;
}

.grid-side-btn:hover {
    background: #fff;
    color: var(--accent-blue);
    border-color: var(--accent-blue);
    box-shadow: 0 4px 12px rgba(0, 210, 255, 0.25);
    transform: scale(1.1);
}

.grid-side-btn.wishlist-toggle-btn:hover {
    color: #ef4444;
    border-color: #ef4444;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

/* ── Shared action button base (used in action bar + list view) ── */
.grid-action-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    background: white;
    color: var(--accent-blue);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
    padding: 0;
}

.grid-action-btn:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: white;
    transform: scale(1.12);
    box-shadow: 0 6px 16px rgba(0, 210, 255, 0.3);
}

/* Quick View button in action bar — orange accent */
.grid-action-bar .grid-action-btn[data-modal="quickview"] {
    color: var(--accent-orange);
    border-color: var(--accent-orange);
}

.grid-action-bar .grid-action-btn[data-modal="quickview"]:hover {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    color: white;
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.35);
}

/* Hide count badges in compact action bar */
.grid-action-bar .grid-action-badge {
    display: none;
}

/* ── Image Lightbox Modal ── */
.lightbox-close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    z-index: 10;
    font-size: 1.2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.lightbox-body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    min-height: 300px;
}

.lightbox-body img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 8px;
}

.grid-action-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--accent-orange);
    color: white;
    border-radius: 20px;
    padding: 1px 5px;
    font-size: 0.55rem;
    font-weight: 700;
    line-height: 1.3;
    min-width: 16px;
    text-align: center;
}

/* Ensure result-card has position:relative for absolute hover-actions */
.result-card {
    position: relative;
}

/* Price label */
.price-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 4px;
}

/* Quick action buttons (list view) */
.quick-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-blue);
    background: #f0f7ff;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    transition: all 0.2s;
}

.quick-action-btn:hover {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
}

.quick-action-btn i {
    font-size: 0.85rem;
}

/* Divider dot between spec buttons and action buttons */
.card-actions-row .actions-divider {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #cbd5e1;
    flex-shrink: 0;
}

/* View toggle (grid/list switch) */
.view-toggle {
    display: flex;
    background: #f1f5f9;
    border-radius: 40px;
    padding: 3px;
    border: 1px solid #e2e8f0;
}

.view-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 36px;
    border: none;
    background: transparent;
    border-radius: 30px;
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: all 0.2s;
    cursor: pointer;
}

.view-toggle-btn.active {
    background: white;
    color: var(--accent-blue);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.view-toggle-btn:hover:not(.active) {
    color: var(--primary-dark);
}

/* List card responsive */
@media (max-width: 992px) {
    .list-card .row {
        flex-direction: column;
    }

    .lc-image-col {
        flex-direction: row;
        border-right: none;
        border-bottom: 1px solid #ecf3fa;
    }

    .lc-brand-strip {
        border-bottom: none;
        border-right: 1px solid #ecf3fa;
        flex-direction: column;
        padding: 8px;
    }

    .lc-img-link {
        min-height: 100px;
    }

    .lc-commerce-col {
        border-left: none;
        border-top: 1px solid #eef2f6;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
        align-items: center;
    }

    .lc-price-section {
        margin-bottom: 0;
    }

    .lc-availability {
        margin-bottom: 0;
    }

    .quantity-selector {
        margin-left: 0;
    }
}

@media (max-width: 576px) {
    .lc-img-link {
        min-height: 80px;
    }

    .lc-info-col {
        padding: 10px 12px;
    }

    .lc-commerce-col {
        padding: 10px 12px;
    }

    .lc-name-row {
        flex-direction: column;
        gap: 4px;
    }
}

/* ===== QUICK VIEW MODAL (Redesigned) ===== */
.qv-modal {
    background: white;
    border: none;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 20, 40, 0.35);
}

/* -- Header -- */
.qv-header {
    background: linear-gradient(135deg, var(--primary-dark), #1a2f44);
    padding: 18px 25px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

.qv-header-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.qv-part-number {
    font-weight: 800;
    font-size: 1.4rem;
    color: white;
    letter-spacing: -0.3px;
}

.qv-header-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.qv-badge-brand {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid var(--accent-blue);
    color: white;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 8px;
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
}

.qv-badge-desc {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 8px;
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
    border: none;
}

.qv-close-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.qv-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* -- Body -- */
.qv-body {
    padding: 24px;
    background: #f4f7fa;
}

/* Image box */
.qv-image-box {
    background: white;
    border-radius: 20px;
    border: 1px solid #eef2f6;
    box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.06);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 260px;
    padding: 20px;
    margin-bottom: 16px;
}

.qv-image-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.08));
    cursor: pointer;
    transition: transform 0.2s ease;
}

.qv-image-box img:hover {
    transform: scale(1.03);
}

/* Info card */
.qv-info-card {
    background: white;
    border-radius: 20px;
    border: 1px solid #eef2f6;
    padding: 18px 20px;
    box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.06);
}

.qv-info-card h6 {
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--primary-dark);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.qv-info-card h6 i {
    color: var(--accent-blue);
    font-size: 1rem;
}

.qv-info-table {
    width: 100%;
}

.qv-info-table tr {
    border-bottom: 1px solid #f1f5f9;
}

.qv-info-table tr:last-child {
    border-bottom: none;
}

.qv-info-table td {
    padding: 10px 0;
    font-size: 0.85rem;
}

.qv-info-table td:first-child {
    font-weight: 600;
    color: #64748b;
    width: 40%;
    display: flex;
    align-items: center;
    gap: 8px;
}

.qv-info-table td:first-child i {
    color: var(--accent-blue);
    font-size: 0.9rem;
}

.qv-info-table td:last-child {
    font-weight: 700;
    color: var(--primary-dark);
}

/* Tabs card */
.qv-tabs-card {
    background: white;
    border-radius: 20px;
    border: 1px solid #eef2f6;
    padding: 20px;
    box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.06);
    margin-bottom: 16px;
}

.qv-nav-tabs {
    border-bottom: 2px solid #eef2f6;
    margin-bottom: 16px;
}

.qv-nav-tabs .nav-link {
    border: none;
    color: #64748b;
    font-weight: 700;
    padding: 10px 18px;
    font-size: 0.88rem;
    background: transparent;
    position: relative;
    border-radius: 0;
}

.qv-nav-tabs .nav-link i {
    margin-right: 6px;
    color: var(--accent-blue);
}

.qv-nav-tabs .nav-link.active {
    color: var(--primary-dark);
    background: transparent;
}

.qv-nav-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    border-radius: 3px 3px 0 0;
}

.qv-tab-badge {
    background: var(--accent-blue);
    color: white;
    border-radius: 20px;
    padding: 2px 8px;
    font-size: 0.65rem;
    font-weight: 700;
    margin-left: 4px;
    vertical-align: middle;
}

.qv-tab-content {
    min-height: 120px;
}

/* Spec grid */
.qv-spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.qv-spec-item {
    background: #f8fafc;
    border: 1px solid #eef2f6;
    border-radius: 14px;
    padding: 14px 16px;
}

.qv-spec-label {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 4px;
}

.qv-spec-value {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-dark);
}

/* OE list */
.qv-oe-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.qv-oe-list li {
    background: #f8fafc;
    border: 1px solid #eef2f6;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.qv-oe-list li i {
    color: var(--accent-blue);
    font-size: 1rem;
}

/* Availability section */
.qv-availability {
    background: white;
    border-radius: 20px;
    border: 1px solid #eef2f6;
    overflow: hidden;
    box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.06);
}

.qv-avail-header {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    padding: 12px 20px;
    font-weight: 800;
    font-size: 0.88rem;
    color: #16a34a;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #bbf7d0;
}

.qv-avail-header i {
    font-size: 1.1rem;
}

.qv-avail-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid #f1f5f9;
    background: #f8fffe;
}

.qv-avail-total-label {
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
}

.qv-avail-total-label i {
    color: var(--accent-blue);
}

.qv-avail-total-count {
    background: #16a34a;
    color: white;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 4px 14px;
    border-radius: 20px;
    min-width: 36px;
    text-align: center;
}

.qv-avail-location {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
}

.qv-avail-location>span:first-child {
    font-weight: 600;
    font-size: 0.85rem;
    color: #334155;
    display: flex;
    align-items: center;
}

.qv-avail-location>span:first-child i {
    color: #ef4444;
}

.qv-avail-loc-count {
    font-weight: 800;
    font-size: 0.9rem;
    color: #16a34a;
}

/* Footer */
.qv-footer {
    border-top: 1px solid #eef2f6;
    padding: 16px 24px;
    background: white;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.qv-btn-close {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 0.88rem;
    color: #334155;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s;
}

.qv-btn-close:hover {
    background: #e2e8f0;
}

.qv-btn-details {
    background: linear-gradient(135deg, #16a34a, #15803d);
    border: none;
    border-radius: 14px;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 0.88rem;
    color: white;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 8px 20px -5px rgba(22, 163, 74, 0.4);
}

.qv-btn-details:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px -5px rgba(22, 163, 74, 0.5);
    color: white;
}

/* Responsive */
@media (max-width: 992px) {
    .qv-body .row {
        flex-direction: column;
    }

    .qv-spec-grid {
        grid-template-columns: 1fr;
    }

    .qv-header-info {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .qv-header {
        flex-direction: column;
    }

    .qv-footer {
        flex-direction: column;
    }

    .qv-btn-close,
    .qv-btn-details {
        width: 100%;
        justify-content: center;
    }
}

/* ===== DETAIL PAGE ===== */

/* Sticky navigation bar */
.detail-nav {
    background: linear-gradient(135deg, var(--primary-dark), #1a2f44);
    padding: 12px 25px;
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.detail-nav .back-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    transition: 0.2s;
}

.detail-nav .back-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

.detail-nav .breadcrumb {
    margin: 0;
    background: transparent;
    color: #a0c0e0;
    font-weight: 500;
}

.detail-nav .breadcrumb .active {
    color: white;
    font-weight: 700;
}

/* Gallery */
.gallery-container {
    background: white;
    border-radius: 28px;
    padding: 20px;
    box-shadow: 0 15px 35px -10px rgba(0, 40, 80, 0.1);
    margin-bottom: 20px;
}

/* Swiper gallery slides */
.detail-gallery-swiper {
    border-radius: 20px;
    overflow: hidden;
}

.detail-gallery-swiper .swiper-slide {
    text-align: center;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-gallery-swiper .swiper-slide img {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.detail-gallery-swiper .swiper-button-prev,
.detail-gallery-swiper .swiper-button-next {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #eef2f6;
    transition: all 0.2s;
}

.detail-gallery-swiper .swiper-button-prev:hover,
.detail-gallery-swiper .swiper-button-next:hover {
    background: var(--accent-blue);
}

.detail-gallery-swiper .swiper-button-prev::after,
.detail-gallery-swiper .swiper-button-next::after {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-dark);
}

.detail-gallery-swiper .swiper-button-prev:hover::after,
.detail-gallery-swiper .swiper-button-next:hover::after {
    color: white;
}

.detail-gallery-swiper .swiper-pagination-bullet {
    background: var(--primary-dark);
    opacity: 0.3;
}

.detail-gallery-swiper .swiper-pagination-bullet-active {
    background: var(--accent-blue);
    opacity: 1;
}

/* Article info card */
.info-card {
    background: white;
    border-radius: 24px;
    padding: 20px;
    border: 1px solid #eef2f6;
    box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.info-card h6 {
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-card h6 i {
    color: var(--accent-orange);
}

.info-table {
    width: 100%;
}

.info-table td {
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
}

.info-table td:first-child {
    font-weight: 600;
    color: #334155;
    width: 40%;
}

.info-table td:last-child {
    color: var(--primary-dark);
    font-weight: 500;
}

.share-btn {
    background: transparent;
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue);
    border-radius: 30px;
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
}

.share-btn:hover {
    background: var(--accent-blue);
    color: white;
}

/* Category chips */
.category-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.category-chip {
    background: #f0f7ff;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-dark);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.category-chip i {
    color: var(--accent-blue);
}

/* Price & stock section */
.price-stock-box {
    background: white;
    border-radius: 28px;
    padding: 25px;
    box-shadow: 0 15px 35px -10px rgba(0, 40, 80, 0.1);
    margin-bottom: 20px;
}

.current-price-large {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1;
}

.current-price-large span {
    color: var(--accent-blue);
    font-size: 1.2rem;
    margin-right: 4px;
}

.stock-badge-large {
    background: #dcfce7;
    color: #166534;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 40px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

.stock-badge-large.out {
    background: #fee2e2;
    color: #991b1b;
}

.warehouse-detail {
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 12px;
}

.warehouse-detail i {
    color: var(--accent-blue);
    margin-right: 4px;
}

/* Technical specs table */
.specs-section {
    background: white;
    border-radius: 28px;
    padding: 25px;
    box-shadow: 0 15px 35px -10px rgba(0, 40, 80, 0.1);
    margin-bottom: 20px;
}

.specs-section h4 {
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.specs-section h4 i {
    color: var(--accent-orange);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid #f1f5f9;
}

.specs-table tr:last-child {
    border-bottom: none;
}

.specs-table td {
    padding: 12px 15px;
    background: #f8fafc;
}

.specs-table td:first-child {
    font-weight: 600;
    color: #334155;
    width: 40%;
    border-radius: 12px 0 0 12px;
}

.specs-table td:last-child {
    font-weight: 700;
    color: var(--primary-dark);
    border-radius: 0 12px 12px 0;
}

.specs-table tr:nth-child(odd) td {
    background: #ffffff;
}

/* Trust indicators */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 30px 0;
}

.trust-item {
    background: white;
    border-radius: 20px;
    padding: 20px 15px;
    text-align: center;
    box-shadow: 0 8px 20px -5px rgba(0, 0, 0, 0.05);
    border: 1px solid #eef2f6;
}

.trust-item i {
    font-size: 2.2rem;
    color: var(--accent-blue);
    margin-bottom: 12px;
}

.trust-item .title {
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.trust-item .sub {
    font-size: 0.8rem;
    color: #64748b;
}

/* Cross-references section */
.crossref-section {
    margin: 50px 0;
}

.crossref-section h4 {
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.crossref-section h4 i {
    color: var(--accent-orange);
}

.crossref-card {
    background: white;
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.05);
    border: 1px solid #eef2f6;
    height: 100%;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.crossref-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
    box-shadow: 0 20px 30px -10px rgba(0, 149, 255, 0.2);
}

.crossref-card .brand {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.crossref-card .brand img {
    height: 20px;
}

.crossref-card .part-number {
    font-size: 0.8rem;
    color: var(--accent-blue);
    font-weight: 600;
    margin-bottom: 10px;
}

.crossref-card .description {
    font-size: 0.9rem;
    color: #334155;
    margin-bottom: 15px;
    flex: 1;
}

.crossref-card .tecdoc-badge {
    background: #e6f7ff;
    border: 1px solid var(--accent-blue);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary-dark);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    margin-bottom: 15px;
}

.crossref-card .tecdoc-badge i {
    color: var(--accent-blue);
}

.crossref-card .btn-search {
    background: white;
    border: 2px solid var(--accent-blue);
    color: var(--accent-blue);
    border-radius: 40px;
    padding: 10px 20px;
    font-weight: 700;
    width: 100%;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
}

.crossref-card .btn-search:hover {
    background: var(--accent-blue);
    color: white;
}

/* Brand logo heights (moved from inline styles) */
.brand-logo-sm {
    height: 30px;
}

.brand-logo-md {
    height: 35px;
}

.brand-logo-lg {
    height: 40px;
}

/* ===== MOBILE HAMBURGER MENU ===== */
.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 14px;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}

.mobile-menu-toggle:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: white;
    box-shadow: var(--glow-cyan);
}

/* Off-canvas mobile nav */
.mobile-offcanvas {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    background: linear-gradient(180deg, var(--primary-dark), #0d2340);
    z-index: 9999;
    transition: left 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow-y: auto;
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
}

.mobile-offcanvas.open {
    left: 0;
}

.mobile-offcanvas-header {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-offcanvas-header .logo-text {
    font-weight: 800;
    color: white;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-offcanvas-header .logo-text .material-symbols-outlined {
    color: var(--accent-blue);
}

.mobile-offcanvas-close {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.mobile-offcanvas-close:hover {
    background: rgba(255, 255, 255, 0.15);
}

.mobile-offcanvas-nav {
    padding: 15px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.mobile-offcanvas-nav a {
    color: #a0c0e0;
    text-decoration: none;
    padding: 14px 18px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-offcanvas-nav a:hover,
.mobile-offcanvas-nav a.active {
    background: rgba(0, 210, 255, 0.12);
    color: white;
}

.mobile-offcanvas-nav a.active {
    background: linear-gradient(135deg, var(--accent-blue), #0099cc);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 210, 255, 0.3);
}

.mobile-offcanvas-nav a i {
    font-size: 1.1rem;
    width: 22px;
    text-align: center;
}

.mobile-offcanvas-footer {
    padding: 16px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-offcanvas-footer .chat-btn-mobile {
    background: linear-gradient(135deg, var(--accent-orange), #d35400);
    border: none;
    border-radius: 14px;
    padding: 14px;
    color: white;
    font-weight: 700;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    transition: 0.3s;
}

.mobile-offcanvas-footer .chat-btn-mobile:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-orange);
}

.mobile-offcanvas-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.mobile-offcanvas-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* ===== MOBILE FILTER SLIDE-IN ===== */
.mobile-filter-toggle {
    display: none;
    background: linear-gradient(135deg, var(--accent-blue), #0099cc);
    border: none;
    border-radius: 14px;
    padding: 10px 20px;
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    box-shadow: var(--glow-cyan);
    transition: 0.3s;
    width: 100%;
}

.mobile-filter-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 210, 255, 0.4);
}

.filter-offcanvas {
    position: fixed;
    top: 0;
    left: -360px;
    width: 340px;
    height: 100vh;
    background: white;
    z-index: 9997;
    transition: left 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow-y: auto;
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.filter-offcanvas.open {
    left: 0;
}

.filter-offcanvas-header {
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #eef2f6;
    background: linear-gradient(135deg, #f0f7ff, white);
    flex-shrink: 0;
}

.filter-offcanvas-header h6 {
    margin: 0;
    font-weight: 800;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-offcanvas-header h6 i {
    color: var(--accent-blue);
}

.filter-offcanvas-close {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    background: white;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-offcanvas-close:hover {
    background: #fee2e2;
    border-color: #ef4444;
    color: #ef4444;
}

.filter-offcanvas-body {
    padding: 20px;
    flex: 1;
    overflow-y: auto;
}

.filter-offcanvas-footer {
    padding: 16px 20px;
    border-top: 2px solid #eef2f6;
    flex-shrink: 0;
}

.filter-apply-btn {
    background: linear-gradient(135deg, var(--accent-blue), #0099cc);
    border: none;
    border-radius: 14px;
    padding: 14px;
    color: white;
    font-weight: 700;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: 0.3s;
}

.filter-apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-cyan);
}

.filter-offcanvas-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 9996;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.filter-offcanvas-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* ===== MOBILE BOTTOM NAVIGATION ===== */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 -5px 30px rgba(0, 26, 51, 0.1);
    z-index: 9990;
    padding: 6px 0 env(safe-area-inset-bottom, 6px);
}

.mobile-bottom-nav-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
}

.mobile-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-decoration: none;
    color: #64748b;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 12px;
    transition: all 0.2s;
    position: relative;
}

.mobile-bottom-nav-item i {
    font-size: 1.3rem;
    transition: all 0.2s;
}

.mobile-bottom-nav-item.active {
    color: var(--accent-blue);
}

.mobile-bottom-nav-item.active i {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(0, 210, 255, 0.4));
}

.mobile-bottom-nav-item:hover {
    color: var(--accent-blue);
}

.mobile-bottom-nav-badge {
    position: absolute;
    top: 0;
    right: 4px;
    width: 16px;
    height: 16px;
    background: var(--accent-orange);
    color: white;
    border-radius: 50%;
    font-size: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

/* ===== RESPONSIVE: ENHANCED BREAKPOINTS ===== */

/* Trust grid: tablet 2-column step */
@media (max-width: 992px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .trust-grid {
        grid-template-columns: 1fr;
    }

    .detail-nav {
        flex-direction: column;
        align-items: start;
    }

    /* Mobile hamburger appears */
    .mobile-menu-toggle {
        display: flex;
    }

    .menu-bar {
        display: none;
    }

    /* Mobile filter toggle */
    .mobile-filter-toggle {
        display: flex;
    }

    /* Mobile bottom nav */
    .mobile-bottom-nav {
        display: block;
    }

    body {
        padding-bottom: 70px;
    }

    /* Hide top header on mobile */
    .top-header {
        display: none !important;
    }

    /* Compact main header for mobile */
    .main-header {
        padding: 12px 16px;
        border-radius: 16px;
        gap: 10px;
    }

    .main-header .logo h4 {
        font-size: 1rem;
    }

    .main-header .logo small {
        font-size: 0.6rem;
    }

    .search-bar {
        order: 0;
        margin-top: 0;
    }

    /* Search top bar stacks */
    .stb-row-1 {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .stb-right {
        flex-wrap: wrap;
        justify-content: center;
    }

    .stb-price-row {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Filter sidebar hidden on mobile (replaced by offcanvas) */
    .filter-sidebar {
        display: none;
    }

    .sidebar-products-card {
        display: none;
    }

    /* Hero padding fix */
    .hero-swiper {
        height: auto;
        border-radius: 24px;
    }

    .swiper-slide-hero {
        flex-direction: column-reverse;
        height: auto;
        padding: 2rem 0;
    }

    .hero-content .hero-title {
        font-size: 1.5rem;
    }

    .hero-content .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-content .hero-desc {
        font-size: 0.9rem;
    }

    .hero-layer-img {
        position: relative;
        max-width: 80%;
        margin: 0 auto 1rem;
    }

    .hero-cta-btn {
        padding: 10px 24px;
        font-size: 0.9rem;
    }

    /* Vehicle Finder */
    .finder-card {
        padding: 24px 16px;
        border-radius: 20px;
    }

    .finder-title h3 {
        font-size: 1.1rem;
    }

    /* List card layout fix */
    .list-card .row {
        flex-direction: column;
    }

    .list-card-image {
        border-right: none;
        border-bottom: 1px solid #ecf3fa;
        height: 150px;
        padding: 15px;
    }

    .list-card-content {
        padding: 12px 16px;
    }

    .list-card-price {
        border-left: none;
        border-top: 1px solid #eef2f6;
        flex-direction: row;
        align-items: center;
        gap: 12px;
        padding: 12px 16px;
    }

    .list-card-title {
        font-size: 1.1rem;
    }
}

/* Hero progressive padding */
@media (max-width: 576px) {
    .hero-swiper {
        border-radius: 20px;
    }

    .hero-content .hero-title {
        font-size: 1.3rem;
    }

    .finder-card {
        padding: 20px 14px;
    }
}

/* Vehicle Finder gradual overlap reduction */
@media (max-width: 1200px) {
    .finder-card {
        margin-top: -60px;
    }
}

@media (max-width: 992px) {
    .finder-card {
        margin-top: -30px;
    }
}

@media (max-width: 768px) {
    .finder-card {
        margin-top: 0;
    }
}

/* List card layout fix between 768-992px */
@media (min-width: 768px) and (max-width: 992px) {
    .list-card .col-md-3:first-child {
        flex: 0 0 30%;
        max-width: 30%;
    }

    .list-card .col-md-6 {
        flex: 0 0 45%;
        max-width: 45%;
    }

    .list-card .col-md-3:last-child {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .list-card-title {
        font-size: 1.1rem;
    }

    .list-card-content {
        padding: 10px 14px;
    }

    .list-card-price {
        padding: 10px 12px;
    }

    .price-large {
        font-size: 1.3rem;
    }
}

/* ===== CART PAGE ===== */
.cart-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.cart-page-header h2 {
    font-weight: 800;
    color: var(--primary-dark);
    font-size: 1.6rem;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-page-header h2 i {
    color: var(--accent-blue);
}

.cart-count-badge {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: white;
    font-size: 0.8rem;
    padding: 4px 14px;
    border-radius: 30px;
    font-weight: 700;
}

.cart-table-card {
    background: white;
    border-radius: 28px;
    box-shadow: 0 20px 40px -12px rgba(0, 40, 80, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table thead {
    background: var(--primary-dark);
    color: white;
}

.cart-table thead th {
    padding: 16px 20px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cart-table thead th:first-child {
    border-radius: 0;
}

.cart-table thead th:last-child {
    border-radius: 0;
}

.cart-table tbody tr {
    border-bottom: 1px solid #f0f4f8;
    transition: background 0.2s;
}

.cart-table tbody tr:hover {
    background: #f8fbff;
}

.cart-table tbody tr:last-child {
    border-bottom: none;
}

.cart-table tbody td {
    padding: 18px 20px;
    vertical-align: middle;
}

.cart-item-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cart-item-thumb {
    width: 70px;
    height: 70px;
    background: #f1f5f9;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.cart-item-thumb img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
}

.cart-item-details h6 {
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 3px;
    font-size: 0.95rem;
}

.cart-item-pn {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
}

.cart-item-brand {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: white;
    border: 1px solid #eef2f6;
    border-radius: 8px;
    padding: 3px 10px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary-dark);
    border-left: 3px solid var(--accent-orange);
    margin-top: 5px;
}

.cart-qty {
    display: flex;
    align-items: center;
    gap: 0;
    background: #f1f5f9;
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.cart-qty:focus-within {
    border-color: var(--accent-blue);
    box-shadow: 0 0 12px rgba(0, 210, 255, 0.15);
}

.cart-qty button {
    width: 38px;
    height: 38px;
    border: none;
    background: transparent;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--primary-dark);
    cursor: pointer;
    transition: 0.2s;
}

.cart-qty button:hover {
    background: rgba(0, 210, 255, 0.1);
    color: var(--accent-blue);
}

.cart-qty input {
    width: 50px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 700;
    font-size: 0.95rem;
    outline: none;
}

.cart-price {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--primary-dark);
}

.cart-price span {
    color: var(--accent-blue);
}

.cart-subtotal {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--primary-dark);
}

.cart-remove-btn {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: 2px solid #fee2e2;
    background: white;
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
}

.cart-remove-btn:hover {
    background: #ef4444;
    color: white;
    border-color: #ef4444;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.3);
}

/* Cart Summary / Order Summary */
.cart-summary-card {
    background: white;
    border-radius: 28px;
    padding: 30px;
    box-shadow: 0 20px 40px -12px rgba(0, 40, 80, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 120px;
}

.cart-summary-card h5 {
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.cart-summary-card h5 i {
    color: var(--accent-blue);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f4f8;
}

.summary-row:last-of-type {
    border-bottom: none;
}

.summary-row .label {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.summary-row .value {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 0.95rem;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0 0;
    margin-top: 10px;
    border-top: 2px solid var(--primary-dark);
}

.summary-total .label {
    font-weight: 800;
    color: var(--primary-dark);
    font-size: 1.1rem;
}

.summary-total .value {
    font-weight: 800;
    color: var(--primary-dark);
    font-size: 1.4rem;
}

.summary-total .value span {
    color: var(--accent-blue);
}

.btn-place-order {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 30px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent-blue), #3b7bd5);
    color: white;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 20px;
}

.btn-place-order:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 210, 255, 0.35);
}

.btn-place-order:active {
    transform: translateY(0);
}

.btn-continue-shopping {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    background: white;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 12px;
}

.btn-continue-shopping:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    background: #f0f9ff;
}

.promo-code-input {
    display: flex;
    gap: 8px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f4f8;
}

.promo-code-input input {
    flex: 1;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 0.85rem;
    outline: none;
    transition: 0.3s;
}

.promo-code-input input:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 12px rgba(0, 210, 255, 0.15);
}

.promo-code-input button {
    background: var(--primary-dark);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 20px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.3s;
    white-space: nowrap;
}

.promo-code-input button:hover {
    background: #162d4a;
}

.shipping-info-card {
    background: linear-gradient(135deg, #f0f9ff, #f0f4f8);
    border-radius: 16px;
    padding: 18px;
    margin-top: 20px;
    border: 1px solid #e0ecf5;
}

.shipping-info-card h6 {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.shipping-info-card h6 i {
    color: var(--accent-blue);
}

.shipping-info-card p {
    margin: 0;
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
    line-height: 1.6;
}

/* =============================================
   Cart Merged Sidebar — Delivery & Order Form (S49)
   ============================================= */
.cart-sidebar-section-title {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 0.95rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-sidebar-section-title i {
    color: var(--accent-blue);
}

.cart-shipping-suggestion {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border-radius: 10px;
    padding: 8px 12px;
    margin-top: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.cart-shipping-suggestion i {
    color: #16a34a;
    margin-right: 4px;
}

.cart-security-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid #f0f4f8;
}

.cart-summary-card .form-select {
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 10px 14px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.cart-summary-card .form-select:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 12px rgba(0, 210, 255, 0.15);
}

.cart-summary-card .form-control {
    border: 2px solid #e2e8f0;
    font-size: 0.85rem;
    border-radius: 12px;
}

.cart-summary-card .form-control:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 12px rgba(0, 210, 255, 0.15);
}

.cart-empty-state {
    text-align: center;
    padding: 80px 40px;
}

.cart-empty-state i {
    font-size: 4rem;
    color: #cbd5e1;
    margin-bottom: 20px;
    display: block;
}

.cart-empty-state h4 {
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.cart-empty-state p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

/* Cart responsive */
@media (max-width: 992px) {
    .cart-table-card {
        border-radius: 20px;
    }

    .cart-summary-card {
        position: static;
        margin-top: 24px;
    }
}

@media (max-width: 768px) {
    .cart-table thead {
        display: none;
    }

    .cart-table tbody tr {
        display: flex;
        flex-wrap: wrap;
        padding: 16px;
        gap: 12px;
        position: relative;
    }

    .cart-table tbody td {
        padding: 0;
        border: none;
    }

    .cart-table tbody td.td-product {
        flex: 1 1 100%;
    }

    .cart-table tbody td.td-price {
        flex: 0 0 auto;
    }

    .cart-table tbody td.td-qty {
        flex: 0 0 auto;
    }

    .cart-table tbody td.td-subtotal {
        flex: 1;
        text-align: right;
    }

    .cart-table tbody td.td-remove {
        position: absolute;
        top: 16px;
        right: 16px;
    }

    .cart-item-thumb {
        width: 56px;
        height: 56px;
    }
}

/* ===== CHECKOUT PAGE ===== */
.ck-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #162d4a 100%);
    border-radius: 24px;
    padding: 32px 36px;
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
}

.ck-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.ck-hero h2 {
    color: white;
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ck-hero h2 i {
    color: var(--accent-blue);
}

.ck-hero p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    margin: 0;
    font-weight: 500;
}

.ck-steps {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
}

.ck-step {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
}

.ck-step.active {
    color: var(--accent-blue);
}

.ck-step .step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: transparent;
}

.ck-step.active .step-num {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: white;
}

.ck-step.done .step-num {
    background: rgba(0, 210, 255, 0.2);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.ck-step.done {
    color: rgba(255, 255, 255, 0.6);
}

.ck-step-line {
    width: 30px;
    height: 2px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
}

.ck-step.done+.ck-step-line {
    background: rgba(0, 210, 255, 0.4);
}

/* Checkout section cards */
.ck-section {
    background: white;
    border-radius: 20px;
    border: 1px solid #eef2f6;
    box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.04);
    margin-bottom: 20px;
    overflow: hidden;
}

.ck-section-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 24px;
    border-bottom: 1px solid #f0f4f8;
    background: #fafbfc;
}

.ck-section-head i {
    font-size: 1.2rem;
    color: var(--accent-blue);
}

.ck-section-head h5 {
    margin: 0;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary-dark);
}

.ck-section-head .ck-badge {
    margin-left: auto;
    background: #f0f7ff;
    color: var(--accent-blue);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.ck-section-body {
    padding: 22px 24px;
}

/* Checkout items table */
.ck-items-table {
    width: 100%;
    border-collapse: collapse;
}

.ck-items-table thead th {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0 0 14px;
    border-bottom: 2px solid #f0f4f8;
}

.ck-items-table tbody td {
    padding: 14px 0;
    border-bottom: 1px solid #f5f7fa;
    vertical-align: middle;
    font-size: 0.88rem;
}

.ck-items-table tbody tr:last-child td {
    border-bottom: none;
}

.ck-item-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ck-item-thumb {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #eef2f6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.ck-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ck-item-name {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 0.85rem;
    line-height: 1.3;
}

.ck-item-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.ck-item-price {
    font-weight: 700;
    color: var(--primary-dark);
}

.ck-item-price-old {
    font-size: 0.78rem;
    color: #94a3b8;
    text-decoration: line-through;
}

.ck-item-discount {
    display: inline-block;
    background: #dcfce7;
    color: #166534;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
}

.ck-item-qty {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f0f4f8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary-dark);
}

.ck-item-total {
    font-weight: 800;
    color: var(--primary-dark);
    font-size: 0.9rem;
}

.ck-item-stock-warn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #fef3c7;
    color: #92400e;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    margin-top: 4px;
}

/* Shipping / Payment option cards */
.ck-option-card {
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 18px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    background: white;
}

.ck-option-card:hover {
    border-color: #cbd5e1;
    background: #fafbfc;
}

.ck-option-card.selected {
    border-color: var(--accent-blue);
    background: #f0f9ff;
    box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.1);
}

.ck-option-card .form-check-input {
    position: absolute;
    top: 16px;
    right: 14px;
}

.ck-option-card .form-check-input:checked {
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
}

.ck-option-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f0f7ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.ck-option-card.selected .ck-option-icon {
    background: rgba(0, 210, 255, 0.15);
}

.ck-option-name {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 0.88rem;
    margin-bottom: 4px;
}

.ck-option-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.ck-option-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 0.72rem;
    font-weight: 700;
    margin-top: 8px;
}

.ck-option-badge.free {
    background: #dcfce7;
    color: #166534;
}

.ck-option-badge.cost {
    background: #f0f7ff;
    color: var(--accent-blue);
}

.ck-option-promo {
    font-size: 0.75rem;
    color: #16a34a;
    font-weight: 600;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.ck-option-days {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Checkout summary sidebar */
.ck-summary {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 50px -12px rgba(0, 40, 80, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 100px;
    overflow: hidden;
}

.ck-summary-head {
    background: linear-gradient(135deg, var(--primary-dark), #162d4a);
    padding: 20px 24px;
    color: white;
}

.ck-summary-head h5 {
    margin: 0;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ck-summary-head h5 i {
    color: var(--accent-blue);
}

.ck-summary-body {
    padding: 24px;
}

.ck-summary-items {
    max-height: 240px;
    overflow-y: auto;
    margin-bottom: 18px;
    padding-right: 4px;
}

.ck-summary-items::-webkit-scrollbar {
    width: 4px;
}

.ck-summary-items::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.ck-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f5f7fa;
}

.ck-summary-item:last-child {
    border-bottom: none;
}

.ck-summary-item-name {
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--primary-dark);
    max-width: 170px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ck-summary-item-qty {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.ck-summary-item-price {
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--primary-dark);
    white-space: nowrap;
}

.ck-summary-divider {
    height: 1px;
    background: #f0f4f8;
    margin: 4px 0;
}

.ck-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.ck-summary-row .label {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.ck-summary-row .value {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 0.88rem;
}

.ck-summary-row.discount .value {
    color: #16a34a;
}

.ck-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0 0;
    margin-top: 8px;
    border-top: 2px solid var(--primary-dark);
}

.ck-summary-total .label {
    font-weight: 800;
    color: var(--primary-dark);
    font-size: 1.05rem;
}

.ck-summary-total .value {
    font-weight: 800;
    color: var(--primary-dark);
    font-size: 1.3rem;
}

.ck-summary-total .value span {
    color: var(--accent-blue);
}

.ck-btn-order {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 30px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent-blue), #3b7bd5);
    color: white;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 20px;
}

.ck-btn-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 210, 255, 0.35);
}

.ck-btn-order:active {
    transform: translateY(0);
}

.ck-btn-order:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.ck-btn-back {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 24px;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    background: white;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
    text-decoration: none;
}

.ck-btn-back:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    background: #f0f9ff;
}

.ck-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 0 0;
    margin-top: 16px;
    border-top: 1px solid #f0f4f8;
}

.ck-security i {
    color: #16a34a;
    font-size: 1.1rem;
}

.ck-security span {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

.ck-suggestion {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 12px 16px;
    margin-top: 14px;
    font-size: 0.8rem;
    color: #166534;
    font-weight: 600;
    display: none;
}

.ck-suggestion i {
    color: #16a34a;
    margin-right: 4px;
}

/* Checkout responsive */
@media (max-width: 992px) {
    .ck-hero {
        padding: 24px;
        border-radius: 16px;
    }

    .ck-summary {
        position: static;
        margin-top: 24px;
    }

    .ck-steps {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .ck-hero {
        margin-left: -12px;
        margin-right: -12px;
        border-radius: 0;
    }

    .ck-hero h2 {
        font-size: 1.2rem;
    }

    .ck-section-body {
        padding: 16px;
    }

    .ck-items-table thead {
        display: none;
    }

    .ck-items-table tbody tr {
        display: flex;
        flex-wrap: wrap;
        padding: 12px 0;
        gap: 8px;
    }

    .ck-items-table tbody td {
        border-bottom: none;
        padding: 4px 0;
    }

    .ck-items-table tbody td.ck-td-product {
        flex: 1 1 100%;
    }

    .ck-items-table tbody td.ck-td-price {
        display: none;
    }

    .ck-items-table tbody td.ck-td-qty {
        flex: 0 0 auto;
    }

    .ck-items-table tbody td.ck-td-total {
        flex: 1;
        text-align: right;
    }

    .ck-option-card {
        padding: 12px 14px;
    }
}

/* ===== ORDERS LIST PAGE ===== */
.orders-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.orders-page-header h2 {
    font-weight: 800;
    color: var(--primary-dark);
    font-size: 1.6rem;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.orders-page-header h2 i {
    color: var(--accent-blue);
}

.orders-filter-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.orders-filter-btn {
    padding: 10px 20px;
    border-radius: 30px;
    border: 2px solid #e2e8f0;
    background: white;
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--primary-dark);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.orders-filter-btn:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    background: #f0f9ff;
}

.orders-filter-btn.active {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
    box-shadow: var(--glow-cyan);
}

.orders-filter-btn .count {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.7rem;
}

.orders-filter-btn.active .count {
    background: rgba(255, 255, 255, 0.25);
}

.orders-search-bar {
    background: #f1f5f9;
    border-radius: 14px;
    border: 2px solid transparent;
    padding: 5px 5px 5px 16px;
    display: flex;
    align-items: center;
    transition: all 0.3s;
    min-width: 250px;
}

.orders-search-bar:focus-within {
    background: white;
    border-color: var(--accent-blue);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.15);
}

.orders-search-bar input {
    border: none;
    outline: none;
    background: transparent;
    font-weight: 500;
    font-size: 0.85rem;
    width: 100%;
}

.orders-search-bar i {
    color: var(--text-muted);
    margin-right: 10px;
}

.order-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 30px -8px rgba(0, 40, 80, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.03);
    margin-bottom: 16px;
    transition: all 0.3s;
    overflow: hidden;
}

.order-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(0, 149, 255, 0.12);
    border-color: rgba(0, 210, 255, 0.2);
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #f0f4f8;
    flex-wrap: wrap;
    gap: 12px;
}

.order-card-id {
    font-weight: 800;
    font-size: 1rem;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.order-card-id i {
    color: var(--accent-blue);
}

.order-card-date {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.order-status {
    padding: 6px 16px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.order-status.status-completed {
    background: #dcfce7;
    color: #166534;
}

.order-status.status-processing {
    background: #dbeafe;
    color: #1e40af;
}

.order-status.status-shipped {
    background: #fef3c7;
    color: #92400e;
}

.order-status.status-pending {
    background: #f3f4f6;
    color: #374151;
}

.order-status.status-cancelled {
    background: #fee2e2;
    color: #991b1b;
}

.order-card-body {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.order-items-preview {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.order-item-thumb {
    width: 52px;
    height: 52px;
    background: #f1f5f9;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.order-item-thumb img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.order-item-thumb.more {
    background: var(--primary-dark);
    color: white;
    font-weight: 800;
    font-size: 0.75rem;
}

.order-card-meta {
    flex: 1;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.order-meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.order-meta-item .meta-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-meta-item .meta-value {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 0.95rem;
}

.order-meta-item .meta-value span {
    color: var(--accent-blue);
}

.order-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: #f8fbff;
    border-top: 1px solid #f0f4f8;
}

.btn-order-details {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 14px;
    background: var(--primary-dark);
    color: white;
    font-weight: 700;
    font-size: 0.82rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-order-details:hover {
    background: var(--accent-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--glow-cyan);
}

.btn-reorder {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 14px;
    border: 2px solid #e2e8f0;
    background: white;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
    transition: 0.2s;
    text-decoration: none;
}

.btn-reorder:hover {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
    background: #fff7f0;
}

/* Orders stats cards */
.order-stat-card {
    background: white;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 10px 25px -8px rgba(0, 40, 80, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s;
}

.order-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px -10px rgba(0, 40, 80, 0.12);
}

.order-stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.order-stat-icon.blue {
    background: #dbeafe;
    color: #2563eb;
}

.order-stat-icon.green {
    background: #dcfce7;
    color: #16a34a;
}

.order-stat-icon.orange {
    background: #ffedd5;
    color: #ea580c;
}

.order-stat-icon.purple {
    background: #f3e8ff;
    color: #9333ea;
}

.order-stat-info .stat-value {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--primary-dark);
    line-height: 1.2;
}

.order-stat-info .stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Orders responsive */
@media (max-width: 768px) {
    .order-card-header {
        padding: 16px;
    }

    .order-card-body {
        padding: 16px;
        flex-direction: column;
        align-items: flex-start;
    }

    .order-card-footer {
        padding: 14px 16px;
        flex-direction: column;
        gap: 10px;
    }

    .order-card-footer a,
    .order-card-footer button {
        width: 100%;
        justify-content: center;
    }

    .orders-filter-bar {
        width: 100%;
    }

    .orders-filter-btn {
        flex: 1;
        justify-content: center;
        font-size: 0.75rem;
        padding: 8px 12px;
    }

    .orders-search-bar {
        min-width: 100%;
    }
}

/* ===== ORDER DETAIL PAGE ===== */
.order-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 30px 0 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.order-detail-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.order-detail-title h2 {
    font-weight: 800;
    color: var(--primary-dark);
    font-size: 1.6rem;
    letter-spacing: -0.5px;
    margin: 0;
}

.order-detail-title h2 i {
    color: var(--accent-blue);
}

.order-detail-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-print {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 14px;
    border: 2px solid #e2e8f0;
    background: white;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
    transition: 0.2s;
    text-decoration: none;
}

.btn-print:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    background: #f0f9ff;
}

/* Timeline / Progress */
.order-progress-card {
    background: white;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 15px 35px -10px rgba(0, 40, 80, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    margin-bottom: 24px;
}

.order-progress-card h5 {
    font-weight: 800;
    color: var(--primary-dark);
    font-size: 1rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.order-progress-card h5 i {
    color: var(--accent-blue);
}

.progress-timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    padding: 0 10px;
}

.progress-timeline::before {
    content: '';
    position: absolute;
    top: 22px;
    left: 40px;
    right: 40px;
    height: 4px;
    background: #e2e8f0;
    border-radius: 4px;
    z-index: 0;
}

.progress-timeline::after {
    content: '';
    position: absolute;
    top: 22px;
    left: 40px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    border-radius: 4px;
    z-index: 1;
    transition: width 0.5s;
}

.progress-timeline.step-1::after {
    width: 0%;
}

.progress-timeline.step-2::after {
    width: 33%;
}

.progress-timeline.step-3::after {
    width: 66%;
}

.progress-timeline.step-4::after {
    width: calc(100% - 80px);
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 2;
    position: relative;
}

.progress-step-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: all 0.3s;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.progress-step.completed .progress-step-icon {
    background: linear-gradient(135deg, var(--accent-blue), #3b7bd5);
    color: white;
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.3);
}

.progress-step.active .progress-step-icon {
    background: linear-gradient(135deg, var(--accent-orange), #d35400);
    color: white;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
    }

    50% {
        box-shadow: 0 6px 30px rgba(255, 107, 53, 0.5);
    }
}

.progress-step-label {
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    max-width: 90px;
}

.progress-step.completed .progress-step-label,
.progress-step.active .progress-step-label {
    color: var(--primary-dark);
}

.progress-step-date {
    font-size: 0.68rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Order info cards */
.order-info-card {
    background: white;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 10px 25px -8px rgba(0, 40, 80, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 100%;
}

.order-info-card h6 {
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.order-info-card h6 i {
    color: var(--accent-blue);
}

.order-info-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0f4f8;
    font-size: 0.85rem;
}

.order-info-row:last-child {
    border-bottom: none;
}

.order-info-row .info-label {
    color: var(--text-muted);
    font-weight: 600;
}

.order-info-row .info-value {
    font-weight: 700;
    color: var(--primary-dark);
    text-align: right;
}

/* Order items table in detail */
.order-items-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 15px 35px -10px rgba(0, 40, 80, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    overflow: hidden;
    margin-bottom: 24px;
}

.order-items-card h5 {
    font-weight: 800;
    color: var(--primary-dark);
    font-size: 1rem;
    padding: 24px 24px 0;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.order-items-card h5 i {
    color: var(--accent-blue);
}

.order-items-table {
    width: 100%;
    border-collapse: collapse;
}

.order-items-table thead {
    background: #f8fbff;
}

.order-items-table thead th {
    padding: 14px 20px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    border-bottom: 2px solid #f0f4f8;
}

.order-items-table tbody tr {
    border-bottom: 1px solid #f0f4f8;
    transition: background 0.2s;
}

.order-items-table tbody tr:hover {
    background: #f8fbff;
}

.order-items-table tbody tr:last-child {
    border-bottom: none;
}

.order-items-table tbody td {
    padding: 16px 20px;
    vertical-align: middle;
}

/* Order detail responsive */
@media (max-width: 768px) {
    .order-detail-header {
        flex-direction: column;
    }

    .order-detail-actions {
        width: 100%;
    }

    .order-detail-actions a,
    .order-detail-actions button {
        flex: 1;
        justify-content: center;
    }

    .progress-timeline {
        flex-direction: column;
        gap: 16px;
        padding: 0;
    }

    .progress-timeline::before {
        top: 0;
        bottom: 0;
        left: 22px;
        right: auto;
        width: 4px;
        height: auto;
    }

    .progress-timeline::after {
        top: 0;
        left: 22px;
        right: auto;
        width: 4px;
        height: auto;
    }

    .progress-timeline.step-2::after {
        height: 33%;
        width: 4px;
    }

    .progress-timeline.step-3::after {
        height: 66%;
        width: 4px;
    }

    .progress-timeline.step-4::after {
        height: 100%;
        width: 4px;
    }

    .progress-step {
        flex-direction: row;
        gap: 16px;
    }

    .progress-step-label {
        text-align: left;
        max-width: none;
    }

    .order-items-table thead {
        display: none;
    }

    .order-items-table tbody tr {
        display: flex;
        flex-wrap: wrap;
        padding: 16px;
        gap: 8px;
    }

    .order-items-table tbody td {
        padding: 0;
    }
}

/* ===== ORDER DETAIL — REDESIGN (od-*) ===== */
.od-hero {
    background: linear-gradient(135deg, var(--primary-dark), #162d4a);
    border-radius: 20px;
    padding: 28px 32px;
    margin: 20px 0 24px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.od-hero-title {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin: 0;
}

.od-hero-title i {
    color: var(--accent-cyan);
}

.od-hero-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.od-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
}

.od-badge-pending {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.od-badge-confirmed {
    background: rgba(13, 202, 240, 0.2);
    color: #0dcaf0;
}

.od-badge-processing {
    background: rgba(13, 110, 253, 0.2);
    color: #6ea8fe;
}

.od-badge-readytoship {
    background: rgba(13, 110, 253, 0.2);
    color: #6ea8fe;
}

.od-badge-shipped {
    background: rgba(13, 202, 240, 0.2);
    color: #0dcaf0;
}

.od-badge-delivered {
    background: rgba(25, 135, 84, 0.2);
    color: #75b798;
}

.od-badge-cancelled {
    background: rgba(220, 53, 69, 0.2);
    color: #ea868f;
}

.od-badge-returned {
    background: rgba(108, 117, 125, 0.2);
    color: #adb5bd;
}

.od-badge-refunded {
    background: rgba(108, 117, 125, 0.2);
    color: #adb5bd;
}

.od-badge-onhold {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.od-hero-date {
    font-size: 0.85rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 6px;
}

.od-hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.od-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    transition: 0.2s;
    text-decoration: none;
}

.od-hero-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
}

.od-hero-btn.od-btn-return {
    border-color: rgba(255, 107, 53, 0.4);
    background: rgba(255, 107, 53, 0.15);
}

.od-hero-btn.od-btn-return:hover {
    background: rgba(255, 107, 53, 0.3);
}

.od-hero-btn.od-btn-reorder {
    border-color: rgba(0, 210, 255, 0.4);
    background: rgba(0, 210, 255, 0.15);
}

.od-hero-btn.od-btn-reorder:hover {
    background: rgba(0, 210, 255, 0.3);
}

/* Od section card (generic) */
.od-section {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 25px -8px rgba(0, 40, 80, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.03);
    margin-bottom: 20px;
    overflow: hidden;
}

.od-section-head {
    padding: 18px 24px;
    border-bottom: 1px solid #f0f4f8;
    display: flex;
    align-items: center;
    gap: 10px;
}

.od-section-head h5 {
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--primary-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.od-section-head h5 i {
    color: var(--accent-blue);
}

.od-section-head .badge {
    font-size: 0.72rem;
}

.od-section-body {
    padding: 20px 24px;
}

.od-section-body.p-0 {
    padding: 0;
}

/* Od info row (for sidebar info cards) */
.od-info-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid #f0f4f8;
    font-size: 0.84rem;
    gap: 8px;
}

.od-info-row:last-child {
    border-bottom: none;
}

.od-info-row .od-label {
    color: var(--text-muted);
    font-weight: 600;
    white-space: nowrap;
    min-width: 80px;
}

.od-info-row .od-value {
    font-weight: 700;
    color: var(--primary-dark);
    text-align: right;
    word-break: break-word;
}

/* Od items table */
.od-items-table {
    width: 100%;
    border-collapse: collapse;
}

.od-items-table thead {
    background: #f8fbff;
}

.od-items-table thead th {
    padding: 14px 20px;
    font-weight: 700;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    border-bottom: 2px solid #f0f4f8;
}

.od-items-table tbody tr {
    border-bottom: 1px solid #f0f4f8;
    transition: background 0.2s;
}

.od-items-table tbody tr:hover {
    background: #f8fbff;
}

.od-items-table tbody tr:last-child {
    border-bottom: none;
}

.od-items-table tbody td {
    padding: 14px 20px;
    vertical-align: middle;
    font-size: 0.85rem;
}

.od-item-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.od-item-thumb {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    background: #f8fbff;
}

.od-item-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.od-item-name {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 0.84rem;
    line-height: 1.3;
}

.od-item-pn {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.od-item-brand {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.od-item-price {
    font-weight: 700;
    color: var(--primary-dark);
    white-space: nowrap;
}

.od-item-qty {
    font-weight: 700;
    text-align: center;
}

.od-item-total {
    font-weight: 800;
    color: var(--accent-blue);
    white-space: nowrap;
}

/* Od totals (summary in left column) */
.od-totals {
    padding: 20px 24px;
    border-top: 2px solid #f0f4f8;
}

.od-totals-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.88rem;
}

.od-totals-row .od-t-label {
    color: var(--text-muted);
    font-weight: 600;
}

.od-totals-row .od-t-value {
    font-weight: 700;
    color: var(--primary-dark);
}

.od-totals-row.od-totals-final {
    border-top: 2px solid var(--primary-dark);
    margin-top: 8px;
    padding-top: 14px;
}

.od-totals-row.od-totals-final .od-t-label {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.od-totals-row.od-totals-final .od-t-value {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--accent-blue);
}

/* ===== ORDER HISTORY TIMELINE ===== */
.od-timeline {
    position: relative;
    padding: 0;
}

.od-timeline-item {
    position: relative;
    padding-left: 32px;
    padding-bottom: 20px;
}

.od-timeline-item:last-child {
    padding-bottom: 0;
}

.od-timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 22px;
    height: calc(100% - 2px);
    width: 2px;
    background: #e2e8f0;
}

.od-timeline-dot {
    position: absolute;
    left: 0;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-blue);
    border: 3px solid white;
    box-shadow: 0 0 0 2px #e2e8f0;
    z-index: 1;
}

.od-timeline-item:first-child .od-timeline-dot {
    background: var(--accent-blue);
    box-shadow: 0 0 0 2px var(--accent-blue), 0 0 8px rgba(0, 210, 255, 0.3);
}

.od-timeline-dot.dot-pending {
    background: #ffc107;
    box-shadow: 0 0 0 2px #ffeeba;
}

.od-timeline-dot.dot-confirmed {
    background: #0dcaf0;
    box-shadow: 0 0 0 2px #b6effb;
}

.od-timeline-dot.dot-processing {
    background: #0d6efd;
    box-shadow: 0 0 0 2px #b6d4fe;
}

.od-timeline-dot.dot-readytoship {
    background: #0d6efd;
    box-shadow: 0 0 0 2px #b6d4fe;
}

.od-timeline-dot.dot-shipped {
    background: #0dcaf0;
    box-shadow: 0 0 0 2px #b6effb;
}

.od-timeline-dot.dot-delivered {
    background: #198754;
    box-shadow: 0 0 0 2px #badbcc;
}

.od-timeline-dot.dot-cancelled {
    background: #dc3545;
    box-shadow: 0 0 0 2px #f5c2c7;
}

.od-timeline-dot.dot-returned {
    background: #6c757d;
    box-shadow: 0 0 0 2px #d3d5d7;
}

.od-timeline-dot.dot-refunded {
    background: #6c757d;
    box-shadow: 0 0 0 2px #d3d5d7;
}

.od-timeline-dot.dot-onhold {
    background: #ffc107;
    box-shadow: 0 0 0 2px #ffeeba;
}

.od-timeline-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.od-timeline-title {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--primary-dark);
    line-height: 1.3;
}

.od-timeline-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

.od-timeline-notes {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
    line-height: 1.4;
}

.od-timeline-author {
    font-size: 0.72rem;
    color: #94a3b8;
    margin-top: 4px;
}

/* Od sidebar action card */
.od-action-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.od-action-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 14px;
    border: 2px solid #e2e8f0;
    background: white;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
    transition: 0.2s;
    text-decoration: none;
    width: 100%;
    text-align: left;
}

.od-action-btn:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    background: #f0f9ff;
}

.od-action-btn i {
    font-size: 1rem;
}

.od-action-btn.od-act-return {
    border-color: #fed7aa;
    color: #ea580c;
}

.od-action-btn.od-act-return:hover {
    background: #fff7ed;
}

.od-action-btn.od-act-reorder {
    border-color: #a5f3fc;
    color: #0891b2;
}

.od-action-btn.od-act-reorder:hover {
    background: #ecfeff;
}

.od-action-btn.od-act-invoice {
    border-color: #c7d2fe;
    color: #4f46e5;
}

.od-action-btn.od-act-invoice:hover {
    background: #eef2ff;
}

/* Tracking link */
.od-tracking-link {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.od-tracking-link:hover {
    text-decoration: underline;
}

.od-copy-btn {
    border: 1px solid #e2e8f0;
    background: white;
    border-radius: 6px;
    padding: 2px 6px;
    cursor: pointer;
    font-size: 0.7rem;
    color: var(--text-muted);
    transition: 0.2s;
    margin-left: 6px;
}

.od-copy-btn:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

/* Od responsive */
@media (max-width: 991px) {
    .od-hero {
        padding: 22px 20px;
    }

    .od-hero-title {
        font-size: 1.25rem;
    }

    .od-hero-actions {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .od-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .od-hero-actions {
        width: 100%;
    }

    .od-hero-btn {
        flex: 1;
        justify-content: center;
        font-size: 0.75rem;
        padding: 8px 14px;
    }

    .od-items-table thead {
        display: none;
    }

    .od-items-table tbody tr {
        display: flex;
        flex-wrap: wrap;
        padding: 14px 16px;
        gap: 8px;
    }

    .od-items-table tbody td {
        padding: 0;
    }

    .od-items-table tbody td:first-child {
        width: 100%;
    }
}

/* Od admin-specific enhancements */
.admin-body .od-hero {
    margin: 0 0 20px;
    border-radius: 16px;
}

.od-timeline-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.68rem;
    font-weight: 700;
    margin-left: 8px;
    vertical-align: middle;
}

.od-timeline-internal {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.od-timeline-author {
    font-size: 0.72rem;
    color: #94a3b8;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.od-workflow-bar {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 14px;
    padding: 14px 20px;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.od-workflow-bar .od-wf-label {
    color: white;
    font-weight: 700;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.od-note-form textarea {
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    padding: 12px 14px;
    font-size: 0.88rem;
    transition: border-color 0.2s;
    resize: vertical;
}

.od-note-form textarea:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.12);
    outline: none;
}

.od-note-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 12px;
    border: 2px solid #ff6b35;
    background: transparent;
    color: #ff6b35;
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
    transition: 0.2s;
    width: 100%;
}

.od-note-btn:hover {
    background: #ff6b35;
    color: white;
}

/* ===== PAGE BREADCRUMB ===== */
.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 0 0;
    font-size: 0.82rem;
    font-weight: 600;
}

.page-breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.2s;
}

.page-breadcrumb a:hover {
    color: var(--accent-blue);
}

.page-breadcrumb .separator {
    color: #cbd5e1;
}

.page-breadcrumb .current {
    color: var(--primary-dark);
    font-weight: 700;
}

/* ===== SECURE CHECKOUT BANNER ===== */
.secure-banner {
    background: linear-gradient(135deg, var(--primary-dark), #162d4a);
    border-radius: 20px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.secure-banner-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.82rem;
    font-weight: 600;
}

.secure-banner-item i {
    color: var(--accent-blue);
    font-size: 1.1rem;
}