/* Vendor Catalog */

.vendor-catalog-page {
    background: #0f0d0b;
    color: #f4efe6;
}

.vc-hero {
    position: relative;
    isolation: isolate;
    min-height: min(58vh, 520px);
    display: flex;
    align-items: flex-end;
    padding: clamp(88px, 12vw, 120px) clamp(20px, 4vw, 48px) clamp(40px, 6vw, 56px);
    overflow: hidden;
    background: #0f0d0b;
}

.vc-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.vc-hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.vc-hero-veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(105deg, rgba(12, 10, 8, 0.92) 0%, rgba(12, 10, 8, 0.72) 42%, rgba(12, 10, 8, 0.38) 100%),
        linear-gradient(0deg, rgba(15, 13, 11, 0.88) 0%, transparent 48%);
    pointer-events: none;
}

.vc-hero::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    z-index: 2;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 110, 0.35), transparent);
}

.vc-hero-inner {
    position: relative;
    z-index: 3;
    max-width: 720px;
    animation: vc-rise 0.85s ease both;
}

@media (prefers-reduced-motion: reduce) {
    .vc-hero-video {
        display: none;
    }

    .vc-hero {
        background:
            radial-gradient(ellipse 80% 60% at 10% 0%, rgba(201, 169, 110, 0.14), transparent 55%),
            linear-gradient(180deg, #161310 0%, #0f0d0b 100%);
    }
}

.vc-hero-brand {
    margin: 0 0 10px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #e0c992;
}

.vc-hero h1 {
    margin: 0 0 14px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(40px, 7vw, 64px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #fff8f0;
}

.vc-hero-lead {
    margin: 0 0 18px;
    max-width: 38em;
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(15px, 1.8vw, 17px);
    line-height: 1.55;
    color: rgba(244, 239, 230, 0.78);
}

.vc-hero-report {
    margin: 0;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: rgba(224, 201, 146, 0.9);
}

.vc-hero-report a {
    color: #e0c992;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.vc-hero-report a:hover {
    color: #fff8f0;
}

.vc-section {
    padding: clamp(36px, 6vw, 56px) clamp(20px, 4vw, 48px);
}

.vc-section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.vc-section-header {
    margin-bottom: 22px;
}

.vc-eyebrow {
    margin: 0 0 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(224, 201, 146, 0.75);
}

.vc-section-header h2 {
    margin: 0 0 8px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 500;
    color: #fff8f0;
}

.vc-section-header p {
    margin: 0;
    max-width: 40em;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: rgba(244, 239, 230, 0.62);
}

/* Tools */
.vc-tools {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.vc-tool {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    padding: 22px 22px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.04), transparent 50%),
        #161310;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.vc-tool:hover {
    border-color: rgba(201, 169, 110, 0.45);
    transform: translateY(-2px);
}

.vc-tool h3 {
    margin: 0;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 24px;
    font-weight: 600;
    color: #fff8f0;
}

.vc-tool p {
    margin: 0;
    flex: 1;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    line-height: 1.45;
    color: rgba(244, 239, 230, 0.62);
}

.vc-tool-action {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #e0c992;
}

/* Carousel */
.vc-recent-label {
    margin: 0 0 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(244, 239, 230, 0.55);
}

.vc-carousel-wrap {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    margin-bottom: 18px;
}

.vc-carousel-nav {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: #161310;
    color: rgba(244, 239, 230, 0.75);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.vc-carousel-nav:hover {
    border-color: rgba(201, 169, 110, 0.55);
    color: #e0c992;
}

.vc-carousel {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 2px 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.vc-carousel::-webkit-scrollbar {
    height: 6px;
}

.vc-carousel::-webkit-scrollbar-thumb {
    background: rgba(201, 169, 110, 0.35);
    border-radius: 999px;
}

.vc-carousel-btn {
    flex: 0 0 auto;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 132px;
    height: 72px;
    padding: 10px 12px;
    border: 1px solid #d7d2c8;
    border-radius: 4px;
    background: #ffffff;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.vc-carousel-btn:hover,
.vc-carousel-btn:focus-visible {
    border-color: #c9a96e;
    box-shadow: 0 0 0 2px rgba(201, 169, 110, 0.28);
    transform: translateY(-1px);
    outline: none;
}

.vc-carousel-btn img {
    max-width: 100%;
    max-height: 42px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.vc-carousel-fallback {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #1a1714;
    text-align: center;
    line-height: 1.25;
}

.vc-recent-empty {
    margin: 0;
    padding: 18px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    color: rgba(244, 239, 230, 0.55);
}

.vc-report-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 4px 0 16px;
}

.vc-report-toolbar .vc-btn {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    min-width: 168px;
}

/* Spreadsheet report (matches dealer catalog View Last Report) */
.vc-sheet {
    max-height: min(70vh, 720px);
    overflow: auto;
    padding: 18px 18px 8px;
    border: 1px solid #d7d2c8;
    border-radius: 4px;
    background: #ffffff;
    color: #333;
}

.vc-sheet-month {
    margin-bottom: 22px;
}

.vc-sheet-month-title {
    margin: 0 0 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #444;
}

.vc-sheet-table-wrap {
    overflow-x: auto;
}

.vc-sheet-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    background: #fff;
}

.vc-sheet-table th,
.vc-sheet-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #e6e2da;
}

.vc-sheet-table thead th {
    background: #111;
    color: #c9a96e;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-bottom: 0;
}

.vc-sheet-table tbody tr:nth-child(even) td {
    background: #f7f5f1;
}

.vc-sheet-table tbody td {
    color: #444;
}

.vc-report-empty {
    margin: 8px 0 0;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    color: #666;
}

/* Cards */
.vc-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.vc-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background:
        linear-gradient(165deg, rgba(201, 169, 110, 0.06), transparent 42%),
        #161310;
    scroll-margin-top: 96px;
}

.vc-card-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    padding: 12px;
    border-radius: 10px;
    background: #f4efe6;
}

.vc-card-logo img {
    max-width: 200px;
    max-height: 52px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.vc-card h3 {
    margin: 0;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 26px;
    font-weight: 600;
    color: #fff8f0;
}

.vc-card-meta {
    margin: 0;
    display: grid;
    gap: 6px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    color: rgba(244, 239, 230, 0.62);
}

.vc-card-meta strong {
    color: rgba(244, 239, 230, 0.92);
    font-weight: 600;
}

.vc-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 4px;
}

.vc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.vc-btn--primary {
    background: #c9a96e;
    color: #1a1714;
}

.vc-btn--primary:hover {
    background: #e0c992;
}

.vc-btn--ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.16);
    color: #f4efe6;
}

.vc-btn--ghost:hover {
    border-color: rgba(201, 169, 110, 0.5);
    color: #e0c992;
}

.vc-btn[aria-disabled='true'],
.vc-btn.is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

.vc-status {
    margin: 18px 0 0;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    color: rgba(244, 239, 230, 0.45);
}

.vc-empty,
.vc-error {
    padding: 28px;
    border: 1px dashed rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    font-family: 'DM Sans', sans-serif;
    color: rgba(244, 239, 230, 0.7);
}

@keyframes vc-rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 720px) {
    .vc-tools,
    .vc-grid {
        grid-template-columns: 1fr;
    }

    .vc-carousel-btn {
        width: 148px;
        height: 64px;
    }
}
