/* ═══════════════════════════════════════════════════════════
   CatalogoVirtual — Design System CSS (Mobile-First) v2.0
   Premium E-Commerce Catalog
   ═══════════════════════════════════════════════════════════ */

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

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: var(--font-family, 'Inter', system-ui, sans-serif);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    min-height: 100dvh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a { color: var(--acento); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, select, textarea { font: inherit; font-size: 16px; /* Prevent iOS zoom */ }

/* ─── CSS Variables (defaults, overridden by temas) ─── */
:root {
    --acento: #e11d48;
    --acento-hover: #be123c;
    --acento-light: rgba(225, 29, 72, 0.08);
    --acento-rgb: 225, 29, 72;

    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-card: #ffffff;
    --bg-elevated: #ffffff;

    --text-primary: #111827;
    --text-secondary: #6b7280;
    --text-tertiary: #9ca3af;
    --text-inverse: #ffffff;

    --border-color: #e5e7eb;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 20px;
    --border-radius-full: 9999px;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);

    --header-height: 56px;
    --chips-height: 44px;
    --bottom-nav-height: 64px;
    --safe-area-bottom: env(safe-area-inset-bottom, 0px);

    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --transition-smooth: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Header ─── */
.cv-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    transition: transform var(--transition-smooth), box-shadow var(--transition-normal);
}

.cv-header.scrolled { box-shadow: var(--shadow-md); }

.cv-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    padding: 0 16px;
}

.cv-header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    min-width: 0;
}

.cv-header__logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: var(--border-radius-sm);
}

.cv-header__name {
    font-weight: 700;
    font-size: 1.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cv-header__actions { display: flex; align-items: center; gap: 4px; }

.cv-header__icon {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-full);
    color: var(--text-primary);
    font-size: 1.15rem;
    transition: background var(--transition-fast);
    touch-action: manipulation;
}

.cv-header__icon:hover { background: var(--bg-secondary); }

/* Hamburger */
.cv-hamburger { width: 40px; height: 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.cv-hamburger span { display: block; width: 20px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: var(--transition-normal); }
.cv-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.cv-hamburger.active span:nth-child(2) { opacity: 0; }
.cv-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Badge ─── */
.cv-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: var(--border-radius-full);
    background: var(--acento);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    animation: badgePop 0.3s ease;
}

.cv-badge--nav { top: 4px; right: 12px; }

@keyframes badgePop {
    0% { transform: scale(0); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* ─── Category Chips ─── */
.cv-chips {
    height: var(--chips-height);
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-primary);
}

.cv-chips__scroll {
    display: flex;
    gap: 8px;
    padding: 6px 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.cv-chips__scroll::-webkit-scrollbar { display: none; }

.cv-chip {
    flex-shrink: 0;
    padding: 6px 16px;
    border-radius: var(--border-radius-full);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all var(--transition-fast);
    touch-action: manipulation;
}

.cv-chip--active, .cv-chip:hover {
    background: var(--acento);
    color: var(--text-inverse);
}

/* ─── Main Content ─── */
.cv-main {
    padding-top: calc(var(--header-height) + var(--chips-height));
    padding-bottom: calc(var(--bottom-nav-height) + var(--safe-area-bottom) + 16px);
    min-height: 100dvh;
}

/* ─── Bottom Navigation ─── */
.cv-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    height: calc(var(--bottom-nav-height) + var(--safe-area-bottom));
    padding-bottom: var(--safe-area-bottom);
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

.cv-bottom-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: var(--text-tertiary);
    font-size: 0.65rem;
    font-weight: 500;
    text-decoration: none;
    transition: color var(--transition-fast);
    position: relative;
    touch-action: manipulation;
}

.cv-bottom-nav__item i { font-size: 1.2rem; }
.cv-bottom-nav__item.active { color: var(--acento); }
.cv-bottom-nav__item.active i { transform: scale(1.1); }

/* WhatsApp button (centro) */
.cv-bottom-nav__item--wa {
    position: relative;
}

.cv-bottom-nav__item--wa i {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: #fff;
    border-radius: var(--border-radius-full);
    font-size: 1.4rem;
    margin-top: -20px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.cv-bottom-nav__item--wa:active i { transform: scale(0.92); }
.cv-bottom-nav__item--wa span { color: #25D366; margin-top: -2px; }

/* ─── Sidebar ─── */
.cv-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    backdrop-filter: blur(2px);
}

.cv-overlay.active { opacity: 1; visibility: visible; }

.cv-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 201;
    width: 280px;
    max-width: 85vw;
    background: var(--bg-primary);
    transform: translateX(100%);
    transition: transform var(--transition-smooth);
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

.cv-sidebar.active { transform: translateX(0); }

.cv-sidebar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 16px;
    border-bottom: 1px solid var(--border-color);
}

.cv-sidebar__title { font-weight: 700; font-size: 1.1rem; color: var(--text-primary); }
.cv-sidebar__close { font-size: 1.2rem; color: var(--text-secondary); padding: 8px; }

.cv-sidebar__nav { padding: 8px 0; }
.cv-sidebar__nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--text-primary);
    font-weight: 500;
    transition: background var(--transition-fast);
}
.cv-sidebar__nav a:hover { background: var(--acento-light); }
.cv-sidebar__nav a i { width: 20px; text-align: center; color: var(--text-secondary); }
.cv-sidebar__nav hr { border: none; border-top: 1px solid var(--border-color); margin: 8px 16px; }
.cv-sidebar__info { padding: 12px 20px; color: var(--text-secondary); font-size: 0.85rem; display: flex; gap: 12px; align-items: center; }
.cv-sidebar__info i { width: 20px; text-align: center; }

/* ─── Toast ─── */
.cv-toast {
    position: fixed;
    bottom: calc(var(--bottom-nav-height) + var(--safe-area-bottom) + 16px);
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    z-index: 300;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--text-primary);
    color: var(--text-inverse);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transition: all var(--transition-smooth);
    white-space: nowrap;
}

.cv-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.cv-toast i { color: #22c55e; font-size: 1.1rem; }

/* ═══════════════════════════════════════════════════════
   HERO SLIDER — Premium Carousel
   ═══════════════════════════════════════════════════════ */
.cv-hero {
    position: relative;
    overflow: hidden;
    margin: 12px 16px 4px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.cv-hero__track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.cv-hero__slide {
    flex: 0 0 100%;
    aspect-ratio: 16/7;
    position: relative;
    overflow: hidden;
}

.cv-hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 6s ease-out;
}

/* Subtle Ken Burns zoom effect on active slide */
.cv-hero__slide.active img {
    transform: scale(1.05);
}

.cv-hero__slide--default {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--acento), #7c3aed, #6366f1);
    background-size: 200% 200%;
    animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.cv-hero__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px 20px 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.55));
    color: #fff;
}

.cv-hero__title { font-size: 1.15rem; font-weight: 700; margin-bottom: 4px; text-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.cv-hero__subtitle { font-size: 0.8rem; opacity: 0.9; text-shadow: 0 1px 2px rgba(0,0,0,0.3); }

.cv-hero__cta {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 16px;
    background: var(--acento);
    color: #fff;
    border-radius: var(--border-radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    transition: transform var(--transition-fast), background var(--transition-fast);
}
.cv-hero__cta:hover { background: var(--acento-hover); transform: scale(1.03); }

/* Navigation arrows */
.cv-hero__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(4px);
    border-radius: var(--border-radius-full);
    color: var(--text-primary);
    font-size: 0.8rem;
    box-shadow: var(--shadow-sm);
    z-index: 5;
    opacity: 0;
    transition: opacity var(--transition-normal);
    touch-action: manipulation;
}

.cv-hero:hover .cv-hero__nav { opacity: 1; }
.cv-hero__nav--prev { left: 8px; }
.cv-hero__nav--next { right: 8px; }
.cv-hero__nav:active { transform: translateY(-50%) scale(0.92); }

/* Dots */
.cv-hero__dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 10px 0 6px;
}

.cv-hero__dot {
    width: 6px;
    height: 6px;
    border-radius: var(--border-radius-full);
    background: var(--text-tertiary);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.cv-hero__dot.active {
    width: 22px;
    background: var(--acento);
}

/* ═══════════════════════════════════════════════════════
   PRODUCT CARD — Premium Design
   ═══════════════════════════════════════════════════════ */
.cv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 16px 16px;
}

@media (min-width: 768px) {
    .cv-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 0 24px 24px; }
}

@media (min-width: 1024px) {
    .cv-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}

.cv-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    position: relative;
    display: flex;
    flex-direction: column;
}

.cv-card:active { transform: scale(0.98); }

@media (hover: hover) {
    .cv-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
}

.cv-card__img-wrap {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg-secondary);
    display: block;
    flex-shrink: 0;
}

.cv-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.cv-card:hover .cv-card__img { transform: scale(1.06); }

.cv-card__badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 4px 10px;
    border-radius: var(--border-radius-sm);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.cv-card__badge--new { background: #3b82f6; color: #fff; }
.cv-card__badge--hot { background: var(--acento); color: #fff; }
.cv-card__badge--sale { background: #f59e0b; color: #fff; }

.cv-card__fav {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(4px);
    border-radius: var(--border-radius-full);
    color: var(--text-tertiary);
    font-size: 0.85rem;
    transition: all var(--transition-fast);
    touch-action: manipulation;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.cv-card__fav.active { color: #ef4444; }
.cv-card__fav.active i { animation: heartPop 0.4s ease; }

@keyframes heartPop {
    0% { transform: scale(1); }
    30% { transform: scale(1.4); }
    60% { transform: scale(0.9); }
    100% { transform: scale(1); }
}
/* ─── SKU / Product Code ─── */

.cv-detail__sku {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    color: #64748b;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 6px;
    margin: 4px 0 2px;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    letter-spacing: 0.5px;
}
.cv-detail__sku i { font-size: 0.7rem; color: #94a3b8; }
.cv-detail__sku strong { color: #334155; font-weight: 700; }

/* ─── LOW STOCK — High-Impact Scarcity Indicator ─── */

/* The card itself gets an animated glowing red line */
.cv-card--low-stock {
    position: relative;
    box-shadow: 0 2px 12px rgba(239, 68, 68, 0.1);
    overflow: visible;
}

/* Base red line with ambient glow */
.cv-card--low-stock::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 3.5px;
    background: #ef4444;
    border-radius: 3px 0 0 3px;
    z-index: 3;
    box-shadow: 0 0 6px rgba(239, 68, 68, 0.4),
                0 0 12px rgba(239, 68, 68, 0.15);
    animation: line-ambient 3s ease-in-out infinite;
}

/* Comet spark with trailing tail */
.cv-card--low-stock::after {
    content: '';
    position: absolute;
    left: -1px;
    width: 5.5px;
    height: 30%;
    border-radius: 3px;
    z-index: 4;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(239, 68, 68, 0.2) 25%,
        rgba(252, 165, 165, 0.6) 50%,
        #fff 70%,
        rgba(255, 255, 255, 0.95) 75%,
        transparent 100%
    );
    filter: blur(0.5px);
    animation: comet-sweep 2.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes line-ambient {
    0%, 100% { box-shadow: 0 0 6px rgba(239, 68, 68, 0.3), 0 0 12px rgba(239, 68, 68, 0.1); }
    50% { box-shadow: 0 0 8px rgba(239, 68, 68, 0.55), 0 0 16px rgba(239, 68, 68, 0.2); }
}

@keyframes comet-sweep {
    0% { top: -30%; opacity: 0; }
    10% { opacity: 1; }
    80% { opacity: 1; }
    100% { top: 105%; opacity: 0; }
}

.cv-card__stock-low {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px 10px;
    background: linear-gradient(to right, #fef2f2, rgba(254, 242, 242, 0.95));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
    border-top: 1px solid #fecaca;
}

.cv-card__stock-low .stock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
    flex-shrink: 0;
    box-shadow: 0 0 6px rgba(239, 68, 68, 0.5);
    animation: stock-breathe 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.cv-card__stock-low .stock-text {
    font-size: 0.72rem;
    font-weight: 600;
    color: #7f1d1d;
    letter-spacing: 0.1px;
    line-height: 1;
    white-space: nowrap;
}

.cv-card__stock-low .stock-num {
    font-weight: 900;
    font-size: 0.95rem;
    color: #dc2626;
    font-variant-numeric: tabular-nums;
}

.cv-card__stock-low .stock-bar {
    flex: 1;
    height: 4px;
    background: #fecaca;
    border-radius: 2px;
    overflow: hidden;
    min-width: 20px;
}

.cv-card__stock-low .stock-bar-fill {
    height: 100%;
    background: #ef4444;
    border-radius: 2px;
    transition: width 1s ease;
    animation: bar-pulse 2s ease-in-out infinite;
}

@keyframes stock-breathe {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 6px rgba(239, 68, 68, 0.5); }
    50% { opacity: 0.35; transform: scale(0.7); box-shadow: 0 0 10px rgba(239, 68, 68, 0.8); }
}

@keyframes bar-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* ─── OUT OF STOCK — Frosted overlay ─── */
.cv-card--agotado .cv-card__img-wrap {
    position: relative;
}

.cv-card--agotado .cv-card__img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(1.5px) saturate(0.7);
    -webkit-backdrop-filter: blur(1.5px) saturate(0.7);
    z-index: 1;
    transition: opacity 0.3s;
}

.cv-card--agotado:hover .cv-card__img-wrap::after {
    opacity: 0.85;
}

.cv-card--agotado .cv-card__img {
    filter: grayscale(30%);
    transition: filter 0.4s ease;
}

.cv-card--agotado:hover .cv-card__img {
    filter: grayscale(15%);
}

.cv-card__out-of-stock {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
}

.cv-card__out-of-stock .oos-line {
    width: 20px;
    height: 2px;
    background: #374151;
    border-radius: 1px;
}

.cv-card__out-of-stock .oos-text {
    font-size: 0.7rem;
    font-weight: 700;
    color: #374151;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.cv-card--agotado .cv-card__action {
    display: none;
}

.cv-card--agotado .cv-card__price {
    color: var(--text-muted);
}

.cv-card__body { padding: 10px 12px 40px; }

.cv-card__name {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.2em;
    text-decoration: none;
}

.cv-card__desc {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.35;
    margin-top: 3px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cv-card__prices { display: flex; align-items: baseline; gap: 6px; margin-top: 6px; flex-wrap: wrap; }

.cv-card__price {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--acento);
}

.cv-card__price-old {
    font-size: 0.78rem;
    color: var(--text-tertiary);
    text-decoration: line-through;
}

.cv-card__action {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--acento);
    color: var(--text-inverse);
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(var(--acento-rgb), 0.3);
    transition: transform var(--transition-fast), background var(--transition-fast);
    touch-action: manipulation;
}

.cv-card__action:active { transform: scale(0.85); }
.cv-card__action:hover { background: var(--acento-hover); }

/* ─── Skeleton Loader ─── */
.cv-skeleton {
    background: linear-gradient(90deg, var(--bg-secondary) 25%, var(--border-color) 50%, var(--bg-secondary) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--border-radius-sm);
}

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

.cv-skeleton--img { aspect-ratio: 1; border-radius: var(--border-radius) var(--border-radius) 0 0; }
.cv-skeleton--text { height: 14px; margin-bottom: 6px; }
.cv-skeleton--text-sm { height: 10px; width: 60%; }
.cv-skeleton--price { height: 18px; width: 40%; margin-top: 8px; }
.cv-skeleton--banner { aspect-ratio: 16/7; border-radius: var(--border-radius-lg); margin: 12px 16px 4px; }

/* ═══════════════════════════════════════════════════════
   SECTION TITLES & CATEGORY SECTIONS
   ═══════════════════════════════════════════════════════ */
.cv-section {
    padding: 20px 16px 0;
}

.cv-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.cv-section__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.cv-section__link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--acento);
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    transition: opacity var(--transition-fast);
}

.cv-section__link:active { opacity: 0.7; }

/* Category Section — for per-category product rows */
.cv-cat-section {
    margin-top: 8px;
    padding: 0 0 4px;
}

.cv-cat-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 16px 10px;
}

.cv-cat-section__title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-left: 12px;
}

.cv-cat-section__title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    bottom: 2px;
    width: 3.5px;
    background: var(--acento);
    border-radius: 2px;
}

.cv-cat-section__link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--acento);
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.cv-cat-section__link:active { opacity: 0.7; }

/* ─── Horizontal scroll product row (for Featured) ─── */
.cv-hscroll {
    display: flex;
    gap: 12px;
    padding: 0 16px 12px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-padding-left: 16px;
}

.cv-hscroll::-webkit-scrollbar { display: none; }

.cv-hscroll .cv-card {
    flex: 0 0 44vw;
    max-width: 220px;
    scroll-snap-align: start;
}

/* ─── Category Grid (horizontal scroll on mobile, grid on desktop) ─── */
.cv-catgrid {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    padding: 0 16px 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-padding-left: 16px;
}

.cv-catgrid::-webkit-scrollbar { display: none; }

.cv-catgrid > .cv-card {
    flex: 0 0 42vw;
    min-width: 150px;
    max-width: 200px;
    scroll-snap-align: start;
}

@media (min-width: 768px) {
    .cv-hscroll .cv-card { flex: 0 0 200px; max-width: 240px; }
    .cv-catgrid { gap: 14px; padding: 0 24px 20px; }
    .cv-catgrid > .cv-card { flex: 0 0 190px; min-width: 180px; max-width: 220px; }
}

@media (min-width: 1024px) {
    .cv-hscroll .cv-card { flex: 0 0 220px; max-width: 260px; }
    /* Switch to grid layout on desktop */
    .cv-catgrid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
        padding: 0 32px 24px;
        overflow-x: visible;
    }
    .cv-catgrid > .cv-card {
        flex: none;
        min-width: unset;
        max-width: none;
    }
}

@media (min-width: 1280px) {
    .cv-catgrid { grid-template-columns: repeat(5, 1fr); gap: 20px; }
}

/* ─── Scroll Container with Fade + Arrow Indicator ─── */
.cv-scroll-wrap {
    position: relative;
}

.cv-scroll-fade {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: calc(100% - 16px);
    background: linear-gradient(to right, transparent, var(--bg-primary, #f0f2f5) 85%);
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cv-scroll-fade::after {
    content: '›';
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-60%);
    width: 26px;
    height: 26px;
    background: rgba(0,0,0,0.45);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
    animation: swipeHint 1.5s ease-in-out infinite;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

@keyframes swipeHint {
    0%, 100% { transform: translateY(-60%) translateX(0); opacity: 0.9; }
    50% { transform: translateY(-60%) translateX(-4px); opacity: 1; }
}

.cv-scroll-fade.hidden {
    opacity: 0;
}

@media (min-width: 1024px) {
    .cv-scroll-fade { display: none; }
}

/* ─── Section Divider ─── */
.cv-divider {
    height: 6px;
    background: var(--bg-secondary);
    margin: 8px 0;
}

/* ═══════════════════════════════════════════════════════
   ANIMATIONS — Scroll Reveal
   ═══════════════════════════════════════════════════════ */
@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

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

/* Elements waiting to be revealed — start visible, animate when class added */
.cv-reveal {
    opacity: 1;
    transform: translateY(0);
}

.cv-reveal.cv-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.cv-reveal.cv-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children — cards always visible, animated optionally */
.cv-stagger.cv-animate .cv-card {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.cv-stagger.cv-animate.visible .cv-card {
    opacity: 1;
    transform: translateY(0);
}

.cv-stagger.visible .cv-card:nth-child(1) { transition-delay: 0ms; }
.cv-stagger.visible .cv-card:nth-child(2) { transition-delay: 60ms; }
.cv-stagger.visible .cv-card:nth-child(3) { transition-delay: 120ms; }
.cv-stagger.visible .cv-card:nth-child(4) { transition-delay: 180ms; }
.cv-stagger.visible .cv-card:nth-child(5) { transition-delay: 240ms; }
.cv-stagger.visible .cv-card:nth-child(6) { transition-delay: 300ms; }
.cv-stagger.visible .cv-card:nth-child(7) { transition-delay: 360ms; }
.cv-stagger.visible .cv-card:nth-child(8) { transition-delay: 420ms; }

/* Page entrance — gentle fade */
.cv-main > * { animation: fadeIn 0.35s ease-out; }

/* ═══════════════════════════════════════════════════════
   EMPTY STATE, BUTTONS, UTILITIES
   ═══════════════════════════════════════════════════════ */
.cv-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    text-align: center;
}

.cv-empty__icon { font-size: 3rem; color: var(--text-tertiary); margin-bottom: 16px; }
.cv-empty__title { font-size: 1.1rem; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; }
.cv-empty__text { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 20px; }

/* ─── Button ─── */
.cv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    font-weight: 600;
    transition: all var(--transition-fast);
    touch-action: manipulation;
    white-space: nowrap;
}

.cv-btn--primary { background: var(--acento); color: var(--text-inverse); }
.cv-btn--primary:hover { background: var(--acento-hover); }
.cv-btn--primary:active { transform: scale(0.97); }

.cv-btn--outline { border: 2px solid var(--acento); color: var(--acento); background: transparent; }
.cv-btn--outline:hover { background: var(--acento-light); }

.cv-btn--wa { background: #25D366; color: #fff; }
.cv-btn--wa:hover { background: #1fb855; }

.cv-btn--disabled {
    background: #9ca3af !important;
    color: #fff !important;
    cursor: not-allowed;
    opacity: 0.7;
    pointer-events: none;
}

.cv-btn--block { width: 100%; }
.cv-btn--lg { padding: 14px 28px; font-size: 1rem; }
.cv-btn--sm { padding: 8px 16px; font-size: 0.85rem; }

/* ─── Explore All CTA ─── */
.cv-explore-all {
    text-align: center;
    padding: 12px 16px 4px;
}

.cv-explore-all__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-radius: var(--border-radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    border: 1.5px solid var(--border-color);
    transition: all var(--transition-normal);
}

.cv-explore-all__btn:hover {
    background: var(--acento-light);
    border-color: var(--acento);
    color: var(--acento);
}

.cv-explore-all__btn:active { transform: scale(0.97); }

/* ─── Scrollbar hide global ─── */
.no-scrollbar { scrollbar-width: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }

/* ─── Loading spinner ─── */
.cv-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--border-color);
    border-top-color: var(--acento);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 24px auto;
}

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

/* ─── Pull to refresh ─── */
.cv-ptr {
    text-align: center;
    padding: 12px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    transition: all var(--transition-normal);
    overflow: hidden;
    max-height: 0;
}

.cv-ptr.pulling { max-height: 60px; }

/* ─── Footer mini ─── */
.cv-footer-mini {
    text-align: center;
    padding: 16px;
    color: var(--text-tertiary);
    font-size: 0.75rem;
    border-top: 1px solid var(--border-color);
    margin-top: 12px;
}

/* ─── Utilities ─── */
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.px-1 { padding-left: 16px; padding-right: 16px; }
.hidden { display: none !important; }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — Tablet (768px+)
   ═══════════════════════════════════════════════════════ */
@media (min-width: 768px) {
    .cv-hero { margin: 16px 24px 8px; }
    .cv-hero__slide { aspect-ratio: 16/6; }
    .cv-hero__nav { opacity: 0.7; }
    .cv-hero__title { font-size: 1.6rem; }
    .cv-hero__subtitle { font-size: 1rem; }
    .cv-section { padding: 24px 24px 0; }
    .cv-section__title { font-size: 1.25rem; }
    .cv-section__link { font-size: 0.92rem; }
    .cv-cat-section__header { padding: 22px 24px 14px; }
    .cv-cat-section__title { font-size: 1.05rem; letter-spacing: 0.8px; }
    .cv-cat-section__link { font-size: 0.9rem; }
    .cv-hscroll { padding: 0 24px 16px; gap: 14px; }
    .cv-card__body { padding: 12px 14px 44px; }
    .cv-card__name { font-size: 0.95rem; }
    .cv-card__desc { font-size: 0.82rem; }
    .cv-card__price { font-size: 1.1rem; }
    .cv-card__price-old { font-size: 0.82rem; }
    .cv-card__badge { font-size: 0.72rem; padding: 4px 10px; }
    .cv-card__fav { width: 36px; height: 36px; font-size: 0.9rem; }
    .cv-card__action { width: 34px; height: 34px; font-size: 0.95rem; }
    .cv-chips { height: 48px; gap: 10px; }
    .cv-chip { padding: 7px 18px; font-size: 0.88rem; }
    .cv-explore-all__btn { font-size: 1rem; padding: 14px 36px; }
    .cv-divider { margin: 12px 0; }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — Laptop (1024px+)
   ═══════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
    .cv-hero__slide { aspect-ratio: 16/5; }
    .cv-hero__title { font-size: 2rem; }
    .cv-hero__subtitle { font-size: 1.1rem; }
    .cv-hero__cta { padding: 10px 28px; font-size: 0.92rem; }
    .cv-section { padding: 28px 32px 0; }
    .cv-section__title { font-size: 1.35rem; }
    .cv-cat-section__header { padding: 24px 32px 14px; }
    .cv-cat-section__title { font-size: 1.15rem; }
    .cv-cat-section__link { font-size: 0.95rem; }
    .cv-hscroll { padding: 0 32px 20px; gap: 16px; }
    .cv-card__body { padding: 14px 16px 48px; }
    .cv-card__name { font-size: 1rem; min-height: 2.4em; }
    .cv-card__desc { font-size: 0.85rem; -webkit-line-clamp: 2; }
    .cv-card__price { font-size: 1.15rem; }
    .cv-card__price-old { font-size: 0.85rem; }
    .cv-card__badge { font-size: 0.75rem; padding: 5px 12px; }
    .cv-card__fav { width: 38px; height: 38px; font-size: 1rem; }
    .cv-card__action { width: 36px; height: 36px; font-size: 1rem; }
    .cv-explore-all__btn { font-size: 1.05rem; padding: 16px 40px; }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — Large Desktop (1280px+)
   ═══════════════════════════════════════════════════════ */
@media (min-width: 1280px) {
    .cv-main { max-width: 1400px; margin: 0 auto; }
    .cv-hero { margin: 20px 40px 12px; }
    .cv-hero__title { font-size: 2.4rem; }
    .cv-hero__subtitle { font-size: 1.15rem; }
    .cv-section { padding: 32px 40px 0; }
    .cv-section__title { font-size: 1.5rem; }
    .cv-cat-section__header { padding: 28px 40px 16px; }
    .cv-cat-section__title { font-size: 1.25rem; }
    .cv-hscroll { padding: 0 40px 24px; gap: 20px; }
    .cv-card__body { padding: 16px 18px 52px; }
    .cv-card__name { font-size: 1.05rem; }
    .cv-card__desc { font-size: 0.88rem; }
    .cv-card__price { font-size: 1.2rem; }
    .cv-card__price-old { font-size: 0.88rem; }
}

/* ═══════════════════════════════════════════════════════
   PREMIUM CART ENHANCEMENTS — Ultra Premium UI
   ═══════════════════════════════════════════════════════ */

/* ─── Floating Checkout Bar ─── */
.cv-floating-checkout {
    position: fixed;
    bottom: calc(var(--bottom-nav-height) + var(--safe-area-bottom) + 12px);
    left: 14px;
    right: 14px;
    z-index: 95;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-lg);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    transform: translateY(120px);
    transition: transform 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.15), opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.cv-floating-checkout.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.cv-floating-checkout__info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.cv-floating-checkout__label {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cv-floating-checkout__total {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
}

.cv-floating-checkout__btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--acento);
    color: #fff;
    padding: 10px 20px;
    border-radius: var(--border-radius-full);
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 4px 12px var(--acento-light);
    transition: transform 0.2s ease, filter 0.2s ease;
}

.cv-floating-checkout__btn:active {
    transform: scale(0.95);
}

.cv-floating-checkout__close {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 26px;
    height: 26px;
    background: #fff;
    color: var(--text-secondary);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    z-index: 2;
    transition: transform 0.2s ease;
}

.cv-floating-checkout__close:active {
    transform: scale(0.9);
}

/* ─── Ultra Premium Animations ─── */

/* Badge Pulse - Infinite soft heartbeat */
.cv-badge.pulse {
    animation: badgePulse 1.8s ease-in-out infinite;
    transform-origin: center;
}

@keyframes badgePulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(var(--acento-rgb), 0.7); }
    50% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(var(--acento-rgb), 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(var(--acento-rgb), 0); }
}

/* Nav Item Glow - Sutil ambient aura when cart has items */
.cv-bottom-nav__item[data-page="cart"].has-items::after {
    content: '';
    position: absolute;
    inset: 4px;
    background: var(--acento-light);
    border-radius: var(--border-radius);
    z-index: -1;
    animation: navGlow 2.5s ease-in-out infinite;
    opacity: 0;
}

@keyframes navGlow {
    0%, 100% { opacity: 0; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.05); filter: blur(4px); }
}

/* Cart Icon Bounce - triggered on add (via class) */
.cv-cart-bounce {
    animation: cartBounce 0.6s cubic-bezier(0.36, 0, 0.66, -0.56);
}

@keyframes cartBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Glassmorphism utility */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ═══════════════════════════════════════════════════════
   PREMIUM FOOTER — Compact & Elegant
   ═══════════════════════════════════════════════════════ */

.cv-footer {
    margin-top: 0;
}

/* ─── Store Info Section ─── */
.cv-footer__store {
    padding: 12px 20px 10px;
    text-align: center;
}

.cv-footer__divider {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    margin: 0 auto 10px;
    border-radius: 1px;
}

.cv-footer__name {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.3px;
    margin-bottom: 4px;
}

.cv-footer__tagline {
    font-size: 0.68rem;
    color: var(--text-tertiary);
    margin-bottom: 10px;
}

/* Social Icons Row */
.cv-footer__social {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
}

.cv-footer__social-link {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-full);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 1rem;
    transition: all var(--transition-fast);
    touch-action: manipulation;
    text-decoration: none;
}

.cv-footer__social-link:active {
    transform: scale(0.92);
}

.cv-footer__social-link--ig:hover,
.cv-footer__social-link--ig:active {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
}

.cv-footer__social-link--fb:hover,
.cv-footer__social-link--fb:active {
    background: #1877f2;
    color: #fff;
}

.cv-footer__social-link--tk:hover,
.cv-footer__social-link--tk:active {
    background: #010101;
    color: #fff;
}

.cv-footer__social-link--wa:hover,
.cv-footer__social-link--wa:active {
    background: #25D366;
    color: #fff;
}

/* Trust Badges */
.cv-footer__trust {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.cv-footer__trust-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.68rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

.cv-footer__trust-item i {
    font-size: 0.72rem;
    color: var(--text-tertiary);
}

/* ─── Developer Credit (Nivel 2 - Sutil) ─── */
.cv-footer__credit {
    padding: 6px 20px 2px;
    text-align: center;
}

.cv-footer__credit-text {
    font-size: 0.62rem;
    color: var(--text-tertiary);
    opacity: 0.7;
    letter-spacing: 0.2px;
    line-height: 1.5;
}

.cv-footer__credit-link {
    color: var(--text-tertiary);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-fast);
}

.cv-footer__credit-link:hover,
.cv-footer__credit-link:active {
    color: var(--acento);
}

/* ─── Explore All CTA (refined) ─── */
.cv-footer-mini {
    text-align: center;
    padding: 12px 20px 4px;
    font-size: 0.78rem;
    color: var(--text-tertiary);
}

/* ─── Share Catalog Button ─── */
.cv-footer__share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    padding: 8px 20px;
    border-radius: var(--border-radius-full);
    border: 1.5px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    touch-action: manipulation;
}

.cv-footer__share-btn:hover,
.cv-footer__share-btn:active {
    border-color: var(--acento);
    color: var(--acento);
    background: var(--acento-light);
}

.cv-footer__share-btn:active {
    transform: scale(0.96);
}

/* ─── Recently Viewed Section ─── */
.cv-recent-section {
    border-top: 1px solid var(--border-color);
    margin-top: 4px;
    padding-top: 14px !important;
}
