/* ============================================================
   NexoCar Store – Global Stylesheet
   Paleta: #dc2626 (rojo), #1a1a1a (dark), #2d2d2d (gray)
   ============================================================ */

/* ── Tipografía ─────────────────────────────────────────── */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
                 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #111827;
    font-size: 14.5px;
}

html { scroll-behavior: smooth; }

/* ── Section headers ────────────────────────────────────── */
.section-divider {
    display: block;
    width: 52px;
    height: 4px;
    background: linear-gradient(90deg, #dc2626, #f87171);
    border-radius: 9999px;
    margin: 10px auto 0;
}

/* ── Product cards ──────────────────────────────────────── */
.product-card {
    transition: transform 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    border-radius: 1rem !important;
    overflow: hidden !important;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12),
                0 4px 12px rgba(220, 38, 38, 0.08) !important;
}

/* Imagen: overlay oscuro sutil al hacer hover */
.product-image-container {
    position: relative;
    overflow: hidden;
}

.product-image-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.28);
    opacity: 0;
    transition: opacity 0.28s ease;
    pointer-events: none;
    z-index: 3;
}

.product-card:hover .product-image-container::after {
    opacity: 1;
}

/* Texto "Ver Producto" centrado sobre imagen */
.product-image-container .view-product-hint {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.28s ease;
    z-index: 4;
    pointer-events: none;
}

.product-card:hover .product-image-container .view-product-hint {
    opacity: 1;
}

.view-product-hint span {
    background: rgba(220, 38, 38, 0.92);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.45rem 1.1rem;
    border-radius: 9999px;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

/* Line-clamp para nombres largos */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Trust bar (barra de confianza) ─────────────────────── */
.trust-bar {
    background: #ffffff;
    border-bottom: 1px solid #f3f4f6;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1.1rem 1.25rem;
    border-right: 1px solid #f3f4f6;
}

.trust-item:last-child { border-right: none; }

.trust-icon-wrap {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: #fee2e2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dc2626;
    font-size: 1.05rem;
    transition: background 0.2s, transform 0.2s;
}

.trust-item:hover .trust-icon-wrap {
    background: #dc2626;
    color: #fff;
    transform: scale(1.08);
}

.trust-text-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.25;
}

.trust-text-sub {
    font-size: 0.75rem;
    color: #6b7280;
    line-height: 1.25;
    margin-top: 1px;
}

/* ── Category cards ─────────────────────────────────────── */
.category-card {
    border-radius: 1rem !important;
    overflow: hidden !important;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1) !important;
}

.category-card-arrow {
    transition: transform 0.2s ease;
}

.category-card:hover .category-card-arrow {
    transform: translateX(5px);
}

/* ── Cart sidebar ────────────────────────────────────────── */
#cart-overlay {
    z-index: 1100 !important;
}

#cart-sidebar {
    display: flex;
    flex-direction: column;
    z-index: 1110 !important;
}

.cart-sidebar-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 1.125rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.cart-sidebar-header-title {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.cart-sidebar-header-close {
    color: rgba(255,255,255,0.65);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.125rem;
    line-height: 1;
    padding: 0.25rem;
    border-radius: 0.375rem;
    transition: color 0.15s, background 0.15s;
}

.cart-sidebar-header-close:hover {
    color: #f87171;
    background: rgba(255,255,255,0.08);
}

.cart-sidebar-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem 1.5rem;
}

.cart-sidebar-footer {
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid #f3f4f6;
    flex-shrink: 0;
    background: #fafafa;
}

/* ── Filter bar horizontal (products) ──────────────────── */
.filter-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.42rem 0.9rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #374151;
    background: #f9fafb;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
    line-height: 1.4;
}

.filter-pill-btn:hover {
    border-color: #dc2626;
    color: #dc2626;
    background: #fff;
}

.filter-pill-btn.active {
    border-color: #dc2626;
    color: #dc2626;
    background: #fee2e2;
    font-weight: 600;
}

.filter-pill-btn.open .chevron {
    transform: rotate(180deg);
}

.filter-pill-btn .chevron {
    transition: transform 0.2s ease;
}

.filter-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 200px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.875rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    z-index: 60;
    overflow: hidden;
    animation: dropIn 0.15s ease;
}

@keyframes dropIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.filter-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    color: #374151;
    text-decoration: none;
    transition: background 0.12s, color 0.12s;
    cursor: pointer;
    gap: 0.5rem;
}

.filter-dropdown-item:hover {
    background: #fef2f2;
    color: #dc2626;
}

.filter-dropdown-item.active-item {
    background: #dc2626;
    color: #fff;
    font-weight: 600;
}

.filter-dropdown-item.active-item .cat-count {
    background: #fff;
    color: #dc2626;
}

.active-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.18rem 0.6rem;
    border-radius: 9999px;
    font-size: 0.73rem;
    font-weight: 500;
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* ── Fin filter bar ──────────────────────────────────────── */
.filter-section-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #374151;
    padding-bottom: 0.5rem;
    margin-bottom: 0.75rem;
    border-bottom: 2px solid #dc2626;
}

.filter-cat-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.45rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: #374151;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    cursor: pointer;
}

.filter-cat-link:hover {
    background: #fef2f2;
    color: #dc2626;
}

.filter-cat-link.active-cat {
    background: #dc2626;
    color: #ffffff;
}

.filter-cat-link.active-cat .cat-count {
    background: #ffffff;
    color: #dc2626;
}

.cat-count {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 9999px;
    background: #fee2e2;
    color: #dc2626;
    transition: background 0.15s, color 0.15s;
    line-height: 1.4;
}

/* ── Badges unificados ───────────────────────────────────── */
.badge-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.65rem;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.4;
}

.badge-offer  { background: #dc2626; color: #fff; }
.badge-stock  { background: #6b7280; color: #fff; }
.badge-low    { background: #f97316; color: #fff; }
.badge-feat   { background: #eab308; color: #fff; }

/* ── Page header band (products / detail) ───────────────── */
.page-header-band {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 1.125rem 0;
    border-bottom: 3px solid #dc2626;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn-primary-red {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: #fff;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.75rem 1.75rem;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    transition: filter 0.2s, box-shadow 0.2s, transform 0.2s;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.32);
    text-decoration: none;
}

.btn-primary-red:hover {
    filter: brightness(1.07);
    box-shadow: 0 8px 22px rgba(220, 38, 38, 0.42);
    transform: translateY(-1px);
    color: #fff;
}

/* ── Footer mejorado ─────────────────────────────────────── */
.footer-brand-name .red { color: #dc2626; }

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.375rem;
    height: 2.375rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.75);
    font-size: 1rem;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    text-decoration: none;
}

.footer-social-link:hover {
    background: #dc2626;
    color: #fff;
    transform: translateY(-2px);
}

/* ── Breadcrumb ──────────────────────────────────────────── */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: #6b7280;
    flex-wrap: wrap;
    padding: 0.75rem 0;
}

.breadcrumb-nav a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.15s;
}

.breadcrumb-nav a:hover { color: #dc2626; }

.breadcrumb-nav .sep {
    color: #d1d5db;
    font-size: 0.625rem;
}

.breadcrumb-nav .current {
    color: #1a1a1a;
    font-weight: 500;
}

/* ── Offer badge pulsing ─────────────────────────────────── */
@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.06); }
}

.offer-badge-anim {
    animation: badgePulse 2.8s ease-in-out infinite;
}

/* ── Smooth image thumbnail active ─────────────────────── */
.thumb-img {
    cursor: pointer;
    transition: ring 0.15s, opacity 0.15s;
    opacity: 0.75;
}

.thumb-img:hover, .thumb-img.active {
    opacity: 1;
    outline: 3px solid #dc2626;
    outline-offset: 2px;
}

/* ── Input focus ring con color de marca ────────────────── */
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.18) !important;
}

/* ── HEADER — navegación ────────────────────────────────── */

/* Línea inferior con acento rojo */
header.sticky-header {
    border-bottom: 1px solid rgba(220, 38, 38, 0.35) !important;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.45) !important;
}

/* Links: estilo limpio con subrayado activo */
.header-nav-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.375rem !important;
    padding: 0.35rem 0.7rem !important;
    border-radius: 0 !important;
    color: rgba(255, 255, 255, 0.6) !important;
    font-weight: 500 !important;
    font-size: 0.875rem !important;
    letter-spacing: 0.01em !important;
    transition: color 0.2s ease !important;
    background: none !important;
    position: relative;
    text-decoration: none;
}

.header-nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #dc2626;
    border-radius: 9999px;
    transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-nav-link:hover,
.header-nav-link--active {
    color: #ffffff !important;
    background: none !important;
}

.header-nav-link:hover::after,
.header-nav-link--active::after {
    width: 75%;
}

/* Icono del link ligeramente más pequeño */
.header-nav-link i {
    font-size: 0.8rem;
    opacity: 0.85;
}

/* ── Fin header ──────────────────────────────────────────── */

/* ── Separadores de sección con gradiente ───────────────── */
.section-rule {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e5e7eb 30%, #e5e7eb 70%, transparent);
    margin: 0;
}

/* ── Hero con video de fondo ─────────────────────────────── */
.hero-video {
    position: relative;
    min-height: clamp(420px, 72vh, 680px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.hero-video__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video__video {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background: #1a1a1a;
}

.hero-video__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0.65) 100%),
        linear-gradient(135deg, rgba(26, 26, 26, 0.75) 0%, rgba(220, 38, 38, 0.15) 100%);
}

.hero-video__content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 3rem 0;
}

.hero-video__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    margin-bottom: 1.25rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-video__title {
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.hero-video__subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero-video__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hero-video__trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.95rem;
    border-radius: 9999px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.8125rem;
    font-weight: 600;
    backdrop-filter: blur(6px);
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

a.hero-video__trust-item:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.28);
    transform: translateY(-1px);
    color: #fff;
}

.hero-video__trust-item i {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
}

.hero-video__trust-item--highlight {
    background: rgba(220, 38, 38, 0.28);
    border-color: rgba(248, 113, 113, 0.45);
}

.hero-video__trust-item--highlight i {
    color: #fca5a5;
}

a.hero-video__trust-item--highlight:hover {
    background: rgba(220, 38, 38, 0.42);
    border-color: rgba(248, 113, 113, 0.65);
}

.hero-video__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
    justify-content: center;
    align-items: center;
}

.hero-video__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: min(100%, 220px);
    padding: 0.875rem 1.75rem;
    border-radius: 0.75rem;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.hero-video__btn:hover {
    transform: translateY(-2px);
}

.hero-video__btn--primary {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: #fff;
    box-shadow: 0 12px 28px rgba(220, 38, 38, 0.35);
}

.hero-video__btn--primary:hover {
    box-shadow: 0 16px 32px rgba(220, 38, 38, 0.45);
}

.hero-video__btn--secondary {
    background: rgba(255, 255, 255, 0.95);
    color: #1a1a1a;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.hero-video__btn--secondary:hover {
    background: #fff;
}

.hero-video__scroll {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.25rem;
    animation: hero-scroll-bounce 2s ease-in-out infinite;
}

@keyframes hero-scroll-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-video__scroll {
        animation: none;
    }
}

/* ── Barra envío nacional ────────────────────────────────── */
.shipping-bar {
    background: linear-gradient(90deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    border-bottom: 3px solid #dc2626;
    padding: 1.25rem 0;
}

.shipping-bar__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .shipping-bar__inner {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

.shipping-bar__item {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    color: #fff;
}

.shipping-bar__item--main .shipping-bar__title {
    color: #fca5a5;
}

.shipping-bar__icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    background: rgba(220, 38, 38, 0.2);
    color: #f87171;
    font-size: 1.1rem;
}

.shipping-bar__title {
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 0.2rem;
}

.shipping-bar__text {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.45;
    margin: 0;
}

/* ── Home: Cómo comprar ─────────────────────────────────── */
.home-steps {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .home-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .home-steps {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.home-step-card {
    position: relative;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.5rem 1.25rem;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.home-step-number {
    width: 2.5rem;
    height: 2.5rem;
    margin: 0 auto 1rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-step-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 0.875rem;
    border-radius: 0.875rem;
    background: #fef2f2;
    color: #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* ── Home: Sucursales ───────────────────────────────────── */
.home-branch-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .home-branch-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.home-branch-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.home-branch-map {
    width: 100%;
    height: 180px;
    border: 0;
    display: block;
}

.home-branch-body {
    padding: 1.25rem 1.5rem 1.5rem;
}

.home-branch-title {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.home-branch-badge {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.625rem;
    background: #fef2f2;
    color: #dc2626;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ── Home: FAQ ──────────────────────────────────────────── */
.home-faq-list {
    max-width: 48rem;
    margin: 0 auto;
}

.home-faq-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.875rem;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.home-faq-item.is-open {
    border-color: rgba(220, 38, 38, 0.35);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.08);
}

.home-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
}

.home-faq-question i {
    color: #dc2626;
    transition: transform 0.2s ease;
}

.home-faq-item.is-open .home-faq-question i {
    transform: rotate(180deg);
}

.home-faq-answer {
    display: none;
    padding: 0 1.25rem 1.125rem;
    color: #4b5563;
    font-size: 0.875rem;
    line-height: 1.65;
}

.home-faq-item.is-open .home-faq-answer {
    display: block;
}

/* ── Home: Ayuda / WhatsApp ─────────────────────────────── */
.home-help-cta {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 1.25rem;
    padding: 2rem 1.5rem;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.home-help-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(220, 38, 38, 0.25), transparent 55%);
    pointer-events: none;
}

.home-help-cta__inner {
    position: relative;
    z-index: 1;
}

.home-help-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    margin-top: 1.25rem;
    padding: 0.875rem 1.75rem;
    border-radius: 9999px;
    background: #25d366;
    color: #fff;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.home-help-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
    color: #fff;
}

/* ── Home: Redes sociales ───────────────────────────────── */
.home-social-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: 72rem;
    margin: 0 auto;
    align-items: start;
}

@media (min-width: 768px) {
    .home-social-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.home-social-card {
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: #fff;
    box-shadow: 0 4px 20px rgba(26, 26, 26, 0.06);
    display: flex;
    flex-direction: column;
}

.home-social-card__header {
    padding: 1.25rem 1.5rem;
    background: #1a1a1a;
    border-bottom: 3px solid #dc2626;
    flex-shrink: 0;
}

.home-social-card__header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.home-social-network-tag {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fca5a5;
}

.home-social-card__identity {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
}

.home-social-icon-badge {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid rgba(220, 38, 38, 0.35);
    color: #fca5a5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.home-social-handle {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.25rem;
    line-height: 1.3;
}

.home-social-subtitle {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
    line-height: 1.45;
}

.home-social-header-link {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
    padding: 0.4rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.home-social-header-link:hover {
    border-color: rgba(220, 38, 38, 0.6);
    background: rgba(220, 38, 38, 0.12);
    color: #fff;
}

.home-social-header-link i {
    font-size: 0.625rem;
    margin-left: 0.25rem;
}

.home-social-embed {
    flex: 0 0 auto;
    background: #fff;
}

.home-social-embed--instagram {
    line-height: 0;
    overflow: hidden;
}

.home-social-embed--instagram iframe {
    width: 100%;
    height: 620px;
    border: 0;
    display: block;
    background: #fff;
}

@media (max-width: 640px) {
    .home-social-embed--instagram iframe {
        height: 520px;
    }
}

.home-social-embed--tiktok {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 1rem;
    background: #f9fafb;
}

.home-social-embed--tiktok .tiktok-embed {
    width: 100%;
}

.home-social-card__footer {
    padding: 1rem 1.25rem 1.25rem;
    text-align: center;
    margin-top: auto;
    border-top: 1px solid #f3f4f6;
    background: #fff;
}

.home-social-follow-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.35rem;
    border-radius: 0.625rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-social-follow-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.32);
    color: #fff;
}

.home-social-follow-btn--outline {
    color: #1a1a1a;
    background: #fff;
    border: 1px solid #d1d5db;
    box-shadow: none;
}

.home-social-follow-btn--outline:hover {
    border-color: #dc2626;
    color: #dc2626;
    background: #fef2f2;
    box-shadow: none;
}

/* ── WhatsApp flotante ───────────────────────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 900;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    color: white;
}

.whatsapp-float i {
    animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 26px;
    }
}

/* ── Utilidades ──────────────────────────────────────────── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ── Inicio: responsive móvil ────────────────────────────── */
@media (max-width: 767px) {
    body {
        overflow-x: hidden;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Header */
    .sticky-header .flex.flex-wrap.items-center {
        gap: 0.5rem;
    }

    .sticky-header img[alt="NexoCar"] {
        max-height: 2.5rem !important;
        max-width: 140px !important;
    }

    .mobile-header-search .header-search-input {
        padding-right: 3rem;
        font-size: 0.9375rem;
    }

    .mobile-header-search .header-search-button {
        padding: 0.35rem 0.65rem;
        font-size: 0.875rem;
    }

    /* Hero */
    .hero-video {
        min-height: clamp(360px, 78vh, 520px);
    }

    .hero-video__content {
        padding: 2rem 0 2.5rem;
    }

    .hero-video__badge {
        font-size: 0.6875rem;
        padding: 0.35rem 0.75rem;
        margin-bottom: 1rem;
    }

    .hero-video__title {
        font-size: clamp(1.625rem, 8vw, 2.25rem);
        padding: 0 0.25rem;
    }

    .hero-video__subtitle {
        font-size: 0.9375rem;
        line-height: 1.55;
    }

    .hero-video__trust {
        gap: 0.5rem;
    }

    .hero-video__trust-item {
        font-size: 0.75rem;
        padding: 0.4rem 0.75rem;
    }

    .hero-video__actions {
        flex-direction: column;
        width: 100%;
        max-width: 20rem;
        margin: 0 auto;
    }

    .hero-video__btn {
        width: 100%;
        min-width: 0;
        padding: 0.8rem 1.25rem;
        font-size: 0.9375rem;
    }

    /* Barra envío */
    .shipping-bar {
        padding: 1rem 0;
    }

    .shipping-bar__item {
        gap: 0.75rem;
    }

    .shipping-bar__title {
        font-size: 0.875rem;
    }

    .shipping-bar__text {
        font-size: 0.75rem;
    }

    /* Banners */
    .banner-nav-btn {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 0.875rem;
    }

    .banner-indicator {
        width: 0.5rem !important;
        height: 0.5rem !important;
    }

    /* Productos */
    .product-card h4 {
        font-size: 0.8125rem;
    }

    .product-card .p-4 {
        padding: 0.75rem;
        gap: 0.35rem;
    }

    .product-card .text-xl {
        font-size: 1rem;
    }

    .product-card .product-image-container img,
    .product-card .product-image-container > div {
        height: 9rem;
    }

    .product-card .flex.items-center.justify-between {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .product-card .flex.items-center.justify-between button,
    .product-card .flex.items-center.justify-between > span:first-child {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .product-card .flex.items-center.justify-between button {
        display: flex;
    }

    .badge-pill {
        font-size: 0.625rem;
        padding: 0.2rem 0.45rem;
    }

    .btn-primary-red {
        width: 100%;
        max-width: 20rem;
        justify-content: center;
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }

    /* Secciones home */
    #productos,
    #ofertas,
    #categorias,
    #sucursales,
    #como-comprar,
    #faq,
    #ayuda,
    #redes {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    #productos h3,
    #ofertas h3,
    #categorias h3,
    #sucursales h3,
    #como-comprar h3,
    #faq h3,
    #ayuda h3,
    #redes h3 {
        font-size: 1.375rem;
    }

    #sucursales p.text-gray-500,
    #como-comprar p.text-gray-500,
    #redes p.text-gray-500 {
        font-size: 0.875rem;
        padding: 0 0.25rem;
    }

    .home-step-card {
        padding: 1.125rem 1rem;
    }

    .home-branch-map {
        height: 160px;
    }

    .home-branch-body {
        padding: 1rem 1.125rem 1.125rem;
    }

    .home-branch-title {
        font-size: 1rem;
    }

    .home-faq-question {
        font-size: 0.875rem;
        padding: 0.875rem 1rem;
    }

    .home-faq-answer {
        font-size: 0.8125rem;
        padding: 0 1rem 1rem;
    }

    .home-help-cta {
        padding: 1.5rem 1.125rem;
        border-radius: 1rem;
    }

    .home-help-cta h3 {
        font-size: 1.375rem;
    }

    .home-help-cta p {
        font-size: 0.875rem;
    }

    .home-help-btn {
        width: 100%;
        max-width: none;
        font-size: 0.9375rem;
    }

    /* Redes sociales */
    .home-social-card__header {
        padding: 1rem 1.125rem;
    }

    .home-social-card__header-top {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .home-social-header-link {
        font-size: 0.6875rem;
        padding: 0.35rem 0.6rem;
    }

    .home-social-handle {
        font-size: 0.9375rem;
    }

    .home-social-subtitle {
        font-size: 0.75rem;
    }

    .home-social-embed--instagram iframe {
        height: 460px;
    }

    .home-social-embed--tiktok {
        padding: 0.75rem 0.5rem;
        min-height: 0;
    }

    .home-social-follow-btn {
        width: 100%;
        max-width: none;
    }

    /* Carrito */
    #cart-sidebar {
        width: 100%;
        max-width: 100%;
    }

    .cart-sidebar-body {
        padding: 1rem;
    }

    /* Footer */
    footer#contacto {
        padding-top: 2.5rem;
    }

    footer#contacto .grid {
        gap: 2rem;
    }
}

@media (max-width: 380px) {
    .hero-video__trust-item {
        width: 100%;
        justify-content: center;
    }

    .product-card .product-image-container img,
    .product-card .product-image-container > div {
        height: 7.5rem;
    }
}

/* Banner slider controls */
.banner-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: none;
    border-radius: 9999px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 5;
}

.banner-nav-btn:hover {
    background: rgba(0, 0, 0, 0.72);
}

.banner-nav-btn:active {
    filter: brightness(0.88);
}

/* Barra inferior móvil */
.has-mobile-nav {
    padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
}

.mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 920;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.15rem;
    padding: 0.35rem 0.4rem calc(0.35rem + env(safe-area-inset-bottom, 0px));
    background: rgba(26, 26, 26, 0.98);
    border-top: 2px solid #dc2626;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(8px);
}

.mobile-bottom-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    min-height: 3.25rem;
    padding: 0.25rem 0.15rem;
    color: #d1d5db;
    font-size: 0.625rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    background: transparent;
    transition: color 0.2s ease, transform 0.15s ease;
}

.mobile-bottom-nav__item i {
    font-size: 1.05rem;
}

.mobile-bottom-nav__item.is-active,
.mobile-bottom-nav__item:active {
    color: #fff;
    transform: translateY(-1px);
}

.mobile-bottom-nav__item.is-active i {
    color: #dc2626;
}

.mobile-bottom-nav__item--whatsapp i {
    color: #25d366;
}

.mobile-bottom-nav__icon-wrap {
    position: relative;
    display: inline-flex;
}

.mobile-bottom-nav__badge {
    position: absolute;
    top: -0.35rem;
    right: -0.55rem;
    min-width: 1rem;
    height: 1rem;
    padding: 0 0.25rem;
    border-radius: 9999px;
    background: #dc2626;
    color: #fff;
    font-size: 0.625rem;
    line-height: 1rem;
    text-align: center;
    font-weight: 700;
}

.mobile-bottom-nav__badge.hidden {
    display: none;
}

.home-mobile-section__toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    margin-bottom: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.9rem;
    background: #fff;
    box-shadow: 0 4px 14px rgba(26, 26, 26, 0.05);
    text-align: left;
}

.home-mobile-section__toggle span {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.home-mobile-section__toggle strong {
    color: #1a1a1a;
    font-size: 1rem;
}

.home-mobile-section__toggle small {
    color: #6b7280;
    font-size: 0.8125rem;
}

.home-mobile-section.is-open .home-mobile-section__toggle i {
    transform: rotate(180deg);
}

.home-mobile-section__toggle i {
    color: #dc2626;
    transition: transform 0.2s ease;
}

.home-social-embed-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 220px;
    color: #6b7280;
    background: linear-gradient(180deg, #f9fafb 0%, #f3f4f6 100%);
}

.home-social-embed-placeholder i {
    font-size: 2rem;
    color: #dc2626;
}

.hero-video--poster .hero-video__video {
    opacity: 0;
}

.hero-video--poster .hero-video__media::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--hero-poster, linear-gradient(135deg, #1a1a1a, #2d2d2d));
    background-size: cover;
    background-position: center;
}

@media (min-width: 768px) {
    .has-mobile-nav {
        padding-bottom: 0;
    }

    .mobile-bottom-nav {
        display: none;
    }

    .home-mobile-section__toggle {
        display: none;
    }
}

@media (max-width: 767px) {
    .whatsapp-float {
        bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
    }

    #como-comprar,
    #faq,
    #redes {
        padding-top: 1.25rem;
        padding-bottom: 1.25rem;
    }
}

/* Búsqueda inteligente */
.smart-search-form {
    width: 100%;
}

.smart-search__panel {
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 0;
    right: 0;
    z-index: 120;
    max-height: min(70vh, 26rem);
    overflow: auto;
    border-radius: 0.9rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 18px 40px rgba(26, 26, 26, 0.18);
}

.smart-search__section + .smart-search__section {
    border-top: 1px solid #f3f4f6;
}

.smart-search__label {
    margin: 0;
    padding: 0.65rem 0.9rem 0.35rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9ca3af;
}

.smart-search__list {
    list-style: none;
    margin: 0;
    padding: 0 0.35rem 0.35rem;
}

.smart-search__option,
.smart-search__product {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.55rem;
    border: none;
    border-radius: 0.65rem;
    background: transparent;
    color: #1a1a1a;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.smart-search__option:hover,
.smart-search__product:hover,
.smart-search__option.is-active,
.smart-search__product.is-active {
    background: #fef2f2;
}

.smart-search__option i {
    width: 1rem;
    color: #dc2626;
    flex-shrink: 0;
}

.smart-search__option span:not(.smart-search__remove) {
    flex: 1;
    min-width: 0;
    font-size: 0.875rem;
}

.smart-search__remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 9999px;
    color: #9ca3af;
}

.smart-search__remove:hover {
    background: #fee2e2;
    color: #dc2626;
}

.smart-search__product img {
    width: 2.75rem;
    height: 2.75rem;
    object-fit: cover;
    border-radius: 0.55rem;
    background: #f3f4f6;
    flex-shrink: 0;
}

.smart-search__product-copy {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
    flex: 1;
}

.smart-search__product-copy strong {
    font-size: 0.875rem;
    line-height: 1.25;
}

.smart-search__product-copy small {
    font-size: 0.75rem;
    color: #6b7280;
}

.smart-search__product-price {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #dc2626;
    white-space: nowrap;
}

.smart-search__empty {
    padding: 1.25rem 1rem;
    text-align: center;
    color: #6b7280;
}

.smart-search__empty i {
    color: #dc2626;
    font-size: 1.25rem;
    margin-bottom: 0.35rem;
}

.mobile-header-search .smart-search__panel {
    left: 0;
    right: 0;
}

#sucursales,
#redes,
#tiktok-video {
    scroll-margin-top: 5.5rem;
}

/* Testimonios slider — siempre 1 tarjeta visible */
.home-testimonials-slider {
    position: relative;
    padding: 0 3rem 2.85rem;
    max-width: 40rem;
    margin: 0 auto;
}

.home-testimonials-viewport {
    overflow: hidden;
    width: 100%;
}

.home-testimonials-track {
    display: flex;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.home-testimonial-slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    box-sizing: border-box;
}

.home-testimonial-card {
    position: relative;
    min-height: 18.5rem;
    padding: 1.35rem 1.35rem 1.15rem;
    border-radius: 1.1rem;
    border: 1px solid #e8ebf0;
    background: #fff;
    box-shadow: 0 10px 32px rgba(26, 26, 26, 0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.home-testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc2626 0%, #ef4444 100%);
}

.home-testimonial-card__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.home-testimonials-nav {
    position: absolute;
    top: 50%;
    transform: translateY(calc(-50% - 1.25rem));
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.65rem;
    height: 2.65rem;
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    background: #fff;
    color: #374151;
    box-shadow: 0 6px 18px rgba(26, 26, 26, 0.1);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.home-testimonials-nav:hover {
    background: #dc2626;
    border-color: #dc2626;
    color: #fff;
    transform: translateY(calc(-50% - 1.25rem)) scale(1.04);
}

.home-testimonials-nav--prev {
    left: 0;
}

.home-testimonials-nav--next {
    right: 0;
}

.home-testimonials-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.45rem;
}

.home-testimonials-dot {
    width: 0.5rem;
    height: 0.5rem;
    padding: 0;
    border: none;
    border-radius: 9999px;
    background: #d1d5db;
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.home-testimonials-dot.is-active {
    width: 1.5rem;
    background: #dc2626;
}

.home-testimonial-stars {
    display: flex;
    gap: 0.2rem;
    color: #f59e0b;
    font-size: 0.9rem;
}

.home-testimonial-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    border-radius: 9999px;
    background: #fef2f2;
    color: #dc2626;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

.home-testimonial-quote {
    position: relative;
    margin: 0 0 1.15rem;
    padding-left: 0.15rem;
    color: #4b5563;
    line-height: 1.7;
    font-size: 0.9375rem;
    flex: 1;
}

.home-testimonial-quote__icon {
    display: block;
    margin-bottom: 0.5rem;
    color: #fca5a5;
    font-size: 1.1rem;
}

.home-testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.home-testimonial-avatar {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #1a1a1a 0%, #374151 100%);
    color: #fff !important;
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px #fff, 0 0 0 5px #fecaca;
}

.home-testimonial-avatar--alt {
    box-shadow: 0 0 0 3px #fff, 0 0 0 5px #fde68a;
}

.home-testimonial-author__info {
    min-width: 0;
}

.home-testimonial-author__info strong {
    display: block;
    color: #111827;
    font-size: 0.975rem;
    line-height: 1.3;
    margin-bottom: 0.15rem;
}

.home-testimonial-meta {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    color: #6b7280 !important;
    font-size: 0.8125rem;
    line-height: 1.4;
}

.home-testimonial-meta i {
    color: #dc2626;
    font-size: 0.7rem;
}

.home-testimonial-meta .fa-check-circle {
    color: #16a34a;
}

@media (min-width: 640px) {
    .home-testimonial-card {
        padding: 1.6rem 1.6rem 1.25rem;
        min-height: 19.5rem;
    }

    .home-testimonial-quote {
        font-size: 1rem;
    }
}

@media (max-width: 639px) {
    .home-testimonials-slider {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }

    .home-testimonials-nav {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 0.72rem;
    }

    .home-testimonial-card__top {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-testimonial-quote {
        font-size: 0.875rem;
        line-height: 1.65;
    }

    .home-testimonial-tag {
        font-size: 0.6875rem;
    }

    .home-testimonial-avatar {
        width: 2.75rem;
        height: 2.75rem;
        font-size: 0.8125rem;
    }
}
