/**
 * Front público - Lomas Diesel Importadora
 * Paleta: docs/COLORES-WEB-PUBLICA.md
 */
:root {
    /* Primarios */
    --lomas-xiketic: #03071E;
    --lomas-vermilion: #DC2F02;
    --lomas-orange-web: #FAA307;
    /* Secundarios */
    --lomas-dark-sienna: #370617;
    --lomas-rosewood: #6A040F;
    --lomas-dark-red: #9D0208;
    --lomas-rossa-corsa: #D00000;
    --lomas-persimmon: #E85D04;
    --lomas-carrot: #F48C06;
    --lomas-yellow: #FFBA08;
    /* Uso en UI (alias) */
    --lomas-red: var(--lomas-vermilion);
    --lomas-red-dark: var(--lomas-dark-red);
    --lomas-text: var(--lomas-xiketic);
    --lomas-muted: #555;
    --lomas-border: rgba(3, 7, 30, 0.1);
    --lomas-bg: #fff;
    --lomas-glass: rgba(255, 255, 255, 0.95);
    --lomas-shadow: 0 2px 16px rgba(3, 7, 30, 0.08);
    --lomas-radius: 8px;
    --header-mid-h: 72px;
    --sticky-h: 56px;
    --header-full-h: 152px;
    /* Gradientes */
    --lomas-gradient-primary: linear-gradient(90deg, var(--lomas-vermilion) 0%, var(--lomas-orange-web) 100%);
    --lomas-gradient-dark: linear-gradient(90deg, var(--lomas-rosewood) 0%, var(--lomas-xiketic) 100%);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.front-body {
    margin: 0;
    font-family: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--lomas-text);
    background: var(--lomas-bg);
}

.front-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ========== Header contenedor ========== */
.front-header {
    position: relative;
    z-index: 100;
}

.front-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

/* ---------- Franja superior ---------- */
.front-header-top {
    background: #fafafa;
    border-bottom: 1px solid var(--lomas-border);
    font-size: 0.8125rem;
}

.front-header-top .front-header-inner {
    min-height: 32px;
}

.front-header-top-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.front-social-link {
    color: var(--lomas-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    transition: color 0.2s, background 0.2s;
}

.front-social-link:hover {
    color: var(--lomas-red);
    background: rgba(220, 47, 2, 0.1);
}

.front-icon-sm {
    width: 14px;
    height: 14px;
}

.front-header-top-right {
    display: flex;
    align-items: center;
}

.front-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--lomas-muted);
    text-decoration: none;
    font-size: 0.8125rem;
    transition: color 0.2s;
}

.front-contact-link:hover {
    color: var(--lomas-red);
}

.front-icon {
    display: block;
    flex-shrink: 0;
}

/* ---------- Franja central (logo | search | cuenta) ---------- */
.front-header-mid {
    background: var(--lomas-bg);
    border-bottom: 1px solid var(--lomas-border);
    min-height: var(--header-mid-h);
}

.front-header-mid-inner {
    min-height: var(--header-mid-h);
}

.front-header-logo {
    flex-shrink: 0;
}

.front-logo-img {
    display: block;
    height: 48px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.front-header-search-wrap {
    flex: 1;
    max-width: 480px;
    margin: 0 1rem;
}

.front-search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border: 1px solid var(--lomas-border);
    border-radius: var(--lomas-radius);
    overflow: visible;
}

.front-search-input {
    flex: 1;
    min-width: 0;
    height: 44px;
    padding: 0 1rem;
    border: 0;
    background: transparent;
    font-size: 1rem;
}

.front-search-input::placeholder {
    color: var(--lomas-muted);
}

.front-search-input:focus {
    outline: none;
}

.front-search-btn {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: var(--lomas-muted);
    cursor: pointer;
    border-radius: 0 var(--lomas-radius) var(--lomas-radius) 0;
    transition: color 0.2s, background 0.2s;
}

.front-search-btn:hover {
    color: var(--lomas-red);
    background: rgba(0, 0, 0, 0.04);
}

.front-search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 4px;
    background: var(--lomas-bg);
    border: 1px solid var(--lomas-border);
    border-radius: var(--lomas-radius);
    box-shadow: var(--lomas-shadow);
    max-height: 360px;
    overflow-y: auto;
    z-index: 200;
    display: none;
}

.front-search-dropdown.is-open {
    display: block;
}

.front-search-result {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
    text-decoration: none;
    color: var(--lomas-text);
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
}

.front-search-result:last-child {
    border-bottom: 0;
}

.front-search-result:hover {
    background: #f8f8f8;
}

.front-search-result-img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 4px;
    background: #eee;
}

.front-search-result-info {
    flex: 1;
    min-width: 0;
}

.front-search-result-name {
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.front-search-result-meta {
    font-size: 0.8rem;
    color: var(--lomas-muted);
}

.front-header-account {
    flex-shrink: 0;
}

.front-account-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--lomas-text);
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: var(--lomas-radius);
    transition: color 0.2s, background 0.2s;
}

.front-account-link:hover {
    color: var(--lomas-red);
    background: #f8f8f8;
}

@media (max-width: 768px) {
    .front-account-label {
        display: none;
    }
}

/* ---------- Franja nav (Vermilion) ---------- */
.front-header-nav-wrap {
    background: var(--lomas-rossa-corsa);
}

.front-header-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.front-header-nav .front-nav-list {
    justify-content: center;
}

.front-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}

.front-nav-list > li {
    position: relative;
}

.front-nav-list > li > a,
.front-nav-trigger {
    display: inline-flex;
    align-items: center;
    padding: 0.85rem 1.1rem;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
}

.front-nav-trigger {
    gap: 0.25rem;
}

.front-nav-trigger::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    margin-left: 0.2rem;
}

.front-nav-list > li > a:hover,
.front-nav-trigger:hover {
    background: rgba(0, 0, 0, 0.2);
}

/* ---------- Mega Menu (submenús) ---------- */
.front-header-nav-wrap {
    position: relative;
}

.front-nav-has-dropdown .front-nav-dropdown {
    position: fixed;
    top: var(--header-full-h);
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    width: min(calc(100vw - 2rem), 1100px);
    max-width: calc(100vw - 2rem);
    box-sizing: border-box;
    background: #fff;
    border-top: 1px solid var(--lomas-border);
    border-radius: 0 0 var(--lomas-radius) var(--lomas-radius);
    box-shadow: 0 12px 40px rgba(3, 7, 30, 0.12);
    padding: 1.25rem 1rem 1.5rem;
    z-index: 150;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
}

.front-nav-has-dropdown.is-open .front-nav-dropdown,
.front-nav-has-dropdown:hover .front-nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.front-header-sticky .front-nav-has-dropdown .front-nav-dropdown {
    top: var(--sticky-h);
}

.front-nav-dropdown-header {
    max-width: 1200px;
    margin: 0 auto 1rem;
    padding: 0 0 0.75rem;
    border-bottom: 1px solid var(--lomas-border);
}

.front-nav-dropdown-title {
    margin: 0 0 0.25rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--lomas-text);
}

.front-nav-dropdown-subtitle {
    margin: 0;
    font-size: 0.875rem;
    color: var(--lomas-muted);
    font-weight: 400;
}

.front-nav-dropdown-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
}

.front-nav-dropdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 0.5rem;
    color: var(--lomas-text);
    text-decoration: none;
    border-radius: var(--lomas-radius);
    font-size: 0.875rem;
    font-weight: 600;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    background: #fafafa;
    border: 1px solid transparent;
}

.front-nav-dropdown-item:hover {
    background: #fff;
    color: var(--lomas-red);
    border-color: rgba(220, 47, 2, 0.2);
    box-shadow: 0 4px 12px rgba(220, 47, 2, 0.08);
}

.front-nav-thumb {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: var(--lomas-radius);
    flex-shrink: 0;
    display: block;
}

.front-nav-thumb-placeholder {
    width: 64px;
    height: 64px;
    border-radius: var(--lomas-radius);
    background: #eee;
    flex-shrink: 0;
    display: block;
}

/* ---------- Sticky header ---------- */
.front-header-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--sticky-h);
    background: var(--lomas-bg);
    border-bottom: 1px solid var(--lomas-border);
    box-shadow: var(--lomas-shadow);
    z-index: 99;
    transform: translateY(-100%);
    transition: transform 0.25s ease;
    pointer-events: none;
}

.front-header-sticky.is-visible {
    transform: translateY(0);
    pointer-events: auto;
}

.front-header-sticky-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.front-header-sticky-logo img {
    height: 32px;
    width: auto;
    display: block;
}

.front-header-sticky-nav .front-nav-list > li > a,
.front-header-sticky-nav .front-nav-trigger {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
}

.front-header-sticky-nav .front-header-nav-wrap {
    background: transparent;
}

.front-header-sticky .front-header-nav-wrap {
    background: transparent;
}

.front-header-sticky-nav .front-nav-list > li > a,
.front-header-sticky-nav .front-nav-trigger {
    color: var(--lomas-text);
}

.front-header-sticky-nav .front-nav-trigger::after {
    border-top-color: var(--lomas-text);
}

.front-header-sticky-nav .front-nav-list > li > a:hover,
.front-header-sticky-nav .front-nav-trigger:hover {
    background: #f0f0f0;
    color: var(--lomas-red);
}

/* ========== Mobile bar (solo visible en móvil) ========== */
.front-mobile-bar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: var(--lomas-bg);
    border-bottom: 1px solid var(--lomas-border);
    z-index: 101;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    box-shadow: var(--lomas-shadow);
}

.front-mobile-logo img {
    height: 32px;
    width: auto;
    display: block;
}

.front-mobile-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.front-mobile-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: var(--lomas-text);
    cursor: pointer;
    border-radius: var(--lomas-radius);
    transition: background 0.2s, color 0.2s;
}

.front-mobile-btn:hover {
    background: #f0f0f0;
    color: var(--lomas-red);
}

.front-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.front-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.3s, opacity 0.3s;
}

.front-mobile-menu-btn.is-open .front-hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.front-mobile-menu-btn.is-open .front-hamburger span:nth-child(2) {
    opacity: 0;
}

.front-mobile-menu-btn.is-open .front-hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Overlay + menú fullscreen móvil */
.front-mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 102;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.front-mobile-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.front-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    max-height: 100vh;
    background: var(--lomas-glass);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 103;
    padding: 0;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.front-mobile-menu.is-open {
    transform: translateX(0);
}

.front-mobile-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: rgba(0, 0, 0, 0.06);
    color: var(--lomas-text);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.front-mobile-menu-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--lomas-red);
}

.front-mobile-menu-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 4rem 1.5rem 1.5rem;
    -webkit-overflow-scrolling: touch;
}

.front-mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.front-mobile-nav-list > li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.front-mobile-nav-list > li > a {
    display: block;
    padding: 1rem 0;
    color: var(--lomas-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.2s;
}

.front-mobile-nav-list > li > a:hover {
    color: var(--lomas-red);
}

.front-mobile-nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.front-mobile-nav-link {
    flex: 1;
    padding: 1rem 0;
    color: var(--lomas-text);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: color 0.2s;
}

.front-mobile-nav-link:hover {
    color: var(--lomas-red);
}

.front-mobile-nav-expand-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0.5rem;
    border: 0;
    background: none;
    color: var(--lomas-text);
    font-family: inherit;
    cursor: pointer;
    transition: color 0.2s;
}

.front-mobile-nav-expand-trigger:hover {
    color: var(--lomas-red);
}

.front-mobile-nav-chevron {
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.front-mobile-nav-expand-wrap.is-open .front-mobile-nav-chevron {
    transform: rotate(180deg);
}

.front-mobile-nav-cards {
    max-height: 0;
    overflow: hidden;
    padding-bottom: 0;
    transition: max-height 0.35s ease;
}

.front-mobile-nav-expand-wrap.is-open .front-mobile-nav-cards {
    max-height: 80vh;
    padding-bottom: 1rem;
}

.front-mobile-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    padding-top: 0.5rem;
}

.front-mobile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--lomas-text);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: border-color 0.2s, box-shadow 0.2s, color 0.2s;
    overflow: hidden;
}

.front-mobile-card:hover {
    border-color: var(--lomas-red);
    color: var(--lomas-red);
    box-shadow: 0 4px 12px rgba(220, 47, 2, 0.12);
}

.front-mobile-card-img-wrap {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
    background: #eee;
}

.front-mobile-card-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 8px;
}

.front-mobile-card-placeholder {
    width: 100%;
    aspect-ratio: 1;
    min-height: 48px;
    background: #eee;
    display: block;
}

.front-mobile-card-name {
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    min-height: 2.2em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.front-mobile-menu-ingreso {
    padding: 1.25rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.front-mobile-btn-ingreso {
    display: block;
    width: 100%;
    padding: 0.85rem 1.25rem;
    background: var(--lomas-red);
    color: #fff !important;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s;
}

.front-mobile-btn-ingreso:hover {
    background: var(--lomas-red-dark);
}

.front-mobile-menu-footer {
    padding: 1.25rem 0 0;
    margin-top: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.front-mobile-footer-contact {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--lomas-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.front-mobile-footer-contact:hover {
    color: var(--lomas-red);
}

.front-mobile-footer-social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.front-mobile-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--lomas-muted);
    background: rgba(0, 0, 0, 0.05);
    transition: color 0.2s, background 0.2s;
}

.front-mobile-social-link:hover {
    color: var(--lomas-red);
    background: rgba(220, 47, 2, 0.1);
}

/* Móvil: buscador expandible */
.front-mobile-search {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    padding: 0.75rem 1rem;
    background: var(--lomas-bg);
    border-bottom: 1px solid var(--lomas-border);
    z-index: 104;
    box-shadow: var(--lomas-shadow);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s, visibility 0.25s;
}

.front-mobile-search.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.front-mobile-search .front-search-box {
    max-width: 100%;
}

.front-mobile-search .front-search-dropdown {
    max-height: 60vh;
}

/* Breakpoint: ocultar header desktop y mostrar móvil */
@media (max-width: 991px) {
    .front-header-top,
    .front-header-mid,
    .front-header-nav-wrap,
    .front-header-sticky {
        display: none !important;
    }

    .front-mobile-bar {
        display: flex;
    }

    .front-mobile-search {
        display: block;
    }

    .front-body {
        padding-top: 56px;
    }
}

@media (min-width: 992px) {
    .front-mobile-bar,
    .front-mobile-overlay,
    .front-mobile-menu,
    .front-mobile-search {
        display: none !important;
    }
}

/* Main */
.front-main {
    min-height: 60vh;
}

/* ========== Home: Hero Slider ========== */
.front-hero-slider {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 400px;
    overflow: hidden;
}

.front-hero-track {
    position: absolute;
    inset: 0;
}

.front-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s;
}

.front-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.front-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: opacity 0.8s ease;
}

.front-hero-slide:not(.is-active) .front-hero-bg {
    opacity: 0;
}

.front-hero-gradient {
    position: absolute;
    inset: 0;
    /* Degradado más suave: menos opacidad para que se vea mejor imagen/video */
    background: linear-gradient(
        to top right,
        rgba(208, 0, 0, 0.42) 0%,
        rgba(208, 0, 0, 0.22) 32%,
        rgba(208, 0, 0, 0.08) 58%,
        transparent 82%
    );
    pointer-events: none;
}

.front-hero-content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 800px;
    padding: 0 2rem;
    text-align: center;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.front-hero-slide.is-active .front-hero-content {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.front-hero-slide:not(.is-active) .front-hero-content {
    opacity: 0;
    transform: translate(-50%, -60%);
}

.front-hero-title {
    margin: 0 0 0.75rem;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.front-hero-separator {
    width: 80px;
    height: 4px;
    margin: 0 auto 1rem;
    background: rgba(255,255,255,0.9);
    border-radius: 2px;
}

.front-hero-subtitle {
    margin: 0 0 1rem;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 400;
    color: rgba(255,255,255,0.95);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.front-hero-cta {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.7rem 1.5rem;
    background: #fff;
    color: var(--lomas-rossa-corsa) !important;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--lomas-radius);
    transition: background 0.2s;
}

.front-hero-cta:hover {
    background: rgba(255,255,255,0.9);
}

.front-hero-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 3;
}

.front-hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.8);
    background: transparent;
    cursor: pointer;
    transition: background 0.2s;
}

.front-hero-dot:hover,
.front-hero-dot.is-active {
    background: #fff;
}

/* ========== Home: Logo Slider Infinito ========== */
.front-logos-slider {
    padding: 2rem 0;
    overflow: hidden;
    background: #fafafa;
}

.front-logos-track {
    display: flex;
    gap: 3rem;
    animation: front-logos-scroll 30s linear infinite;
}

.front-logos-slider:hover .front-logos-track {
    animation-play-state: paused;
}

@keyframes front-logos-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.front-logos-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    padding: 0 1rem;
    text-decoration: none;
    color: var(--lomas-muted);
    transition: color 0.2s;
}

.front-logos-item:hover {
    color: var(--lomas-red);
}

.front-logos-item img {
    max-height: 50px;
    max-width: 120px;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.front-logos-item:hover img {
    transform: scale(1.12);
}

.front-logos-item:hover span {
    transform: scale(1.05);
}

.front-logos-item span {
    display: inline-block;
    transition: transform 0.25s ease;
}

/* Scroll reveal (animación al entrar en viewport) */
.front-animate-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.front-animate-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== Home: Secciones ========== */
.front-section {
    padding: 3rem 0;
}

.front-section-title {
    margin: 0 0 0.5rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--lomas-text);
    text-align: center;
}

.front-section-lead {
    margin: 0 0 1.5rem;
    text-align: center;
    color: var(--lomas-muted);
}

.front-section-footer {
    text-align: center;
    margin-top: 2rem;
}

.front-productos-destacados .front-productos-grid {
    grid-template-columns: repeat(4, 1fr);
}
.front-productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}

@media (max-width: 992px) {
    .front-productos-destacados .front-productos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .front-productos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .front-producto-card {
        isolation: isolate;
    }

    .front-producto-img-wrap {
        aspect-ratio: 1;
    }

    .front-producto-info {
        padding: 0.65rem 0.5rem;
    }

    .front-producto-name {
        font-size: 0.9rem;
    }

    .front-producto-desc {
        display: none;
    }

    .front-producto-marca-wrap {
        margin: 0.25rem 0;
    }

    .front-producto-marca-wrap img {
        max-height: 20px;
        max-width: 50px;
    }

    .front-producto-compat {
        font-size: 0.65rem;
        margin: 0 0 0.5rem;
    }

    .front-producto-cta {
        padding: 0.4rem 0.5rem;
        font-size: 0.8rem;
    }
}

.front-producto-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--lomas-text);
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--lomas-border);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s, border-color 0.2s;
    position: relative;
    z-index: 1;
}

.front-producto-card:hover {
    border-color: rgba(208,0,0,0.3);
    box-shadow: 0 8px 24px rgba(208,0,0,0.12);
}

.front-producto-img-wrap {
    position: relative;
    aspect-ratio: 1.1;
    overflow: hidden;
    background: #f8f8f8;
}

.front-producto-badges {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    right: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    pointer-events: none;
    z-index: 1;
}

.front-producto-badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.front-producto-badge-tipo {
    background: var(--lomas-xiketic);
    color: #fff;
}

.front-producto-badge-cat {
    background: var(--lomas-vermilion);
    color: #fff;
}

.front-producto-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.front-producto-placeholder {
    display: block;
    width: 100%;
    aspect-ratio: 1.1;
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
}

.front-producto-info {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.front-producto-name {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    font-weight: 700;
}

.front-producto-desc {
    margin: 0 0 0.5rem;
    font-size: 0.875rem;
    color: var(--lomas-muted);
    line-height: 1.4;
}

.front-producto-marca-wrap {
    margin: 0.5rem 0;
}

.front-producto-marca-wrap img {
    max-height: 28px;
    max-width: 80px;
    object-fit: contain;
}

.front-producto-compat {
    margin: 0 0 1rem;
    font-size: 0.8rem;
    color: var(--lomas-muted);
}

.front-producto-cta {
    display: inline-block;
    width: 100%;
    padding: 0.6rem 1rem;
    background: linear-gradient(90deg, var(--lomas-rossa-corsa) 0%, var(--lomas-vermilion) 100%);
    color: #fff !important;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    border-radius: 10px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.front-producto-cta:hover {
    opacity: 0.9;
}

.front-producto-meta {
    margin: 0;
    font-size: 0.85rem;
    color: var(--lomas-muted);
}

/* ========== Página detalle producto ========== */
.front-producto-detalle {
    padding: 2rem 0 4rem;
}

.front-breadcrumb {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--lomas-muted);
}

.front-breadcrumb a {
    color: var(--lomas-text);
    text-decoration: none;
}

.front-breadcrumb a:hover {
    color: var(--lomas-red);
}

.front-breadcrumb-sep {
    margin: 0 0.4rem;
}

.front-producto-detalle-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .front-producto-detalle-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.front-producto-detalle-main-img-wrap {
    aspect-ratio: 1;
    background: #f5f5f5;
    border-radius: var(--lomas-radius);
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.front-producto-detalle-main-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.front-producto-placeholder-lg {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    background: #e8e8e8;
    border-radius: var(--lomas-radius);
}

.front-producto-detalle-thumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.front-producto-thumb-btn {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border: 1px solid var(--lomas-border);
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--lomas-muted);
}

.front-producto-thumb-btn:hover {
    border-color: var(--lomas-red);
    color: var(--lomas-red);
}

.front-producto-thumbs-track {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.25rem 0;
}

.front-producto-thumb {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: #f0f0f0;
    transition: border-color 0.2s;
}

.front-producto-thumb.is-active {
    border-color: var(--lomas-red);
}

.front-producto-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.front-producto-detalle-title {
    margin: 0 0 1rem;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
}

.front-producto-detalle-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--lomas-border);
}

.front-producto-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    background: #f5f5f5;
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--lomas-text);
}

.front-producto-meta-chip-tipo {
    background: rgba(208, 0, 0, 0.08);
    color: var(--lomas-red);
}

.front-producto-meta-label {
    font-weight: 600;
    color: var(--lomas-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.front-producto-detalle-block {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--lomas-border);
}

.front-producto-detalle-block:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.front-producto-detalle-block-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--lomas-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
}

.front-producto-detalle-excerpt {
    line-height: 1.65;
    color: var(--lomas-text);
}

.front-producto-detalle-excerpt.front-producto-detalle-block {
    padding-bottom: 1.25rem;
}

.front-producto-detalle-logos {
    padding-bottom: 1.25rem;
}

.front-producto-marcas-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.front-producto-marca-logo {
    width: 56px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem;
    background: #fff;
    border: 1px solid var(--lomas-border);
    border-radius: 6px;
    overflow: hidden;
}

.front-producto-marca-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.front-producto-marca-logo-fallback {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--lomas-muted);
    text-align: center;
    line-height: 1.2;
}

.front-producto-detalle-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.front-producto-tag {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    background: #f0f0f0;
    color: var(--lomas-text);
    font-size: 0.85rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.front-producto-tag:hover {
    background: var(--lomas-red);
    color: #fff;
}

.front-producto-detalle-subtitle {
    margin: 1rem 0 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.front-producto-specs {
    margin: 0;
    display: grid;
    border: 1px solid var(--lomas-border);
    border-radius: 8px;
    overflow: hidden;
    background: #fafafa;
}

.front-producto-spec-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 0.75rem;
    font-size: 0.9rem;
    padding: 0.5rem 0.85rem;
    border-bottom: 1px solid var(--lomas-border);
}

.front-producto-spec-row:last-child {
    border-bottom: none;
}

.front-producto-spec-row dt {
    margin: 0;
    font-weight: 500;
    color: var(--lomas-muted);
}

.front-producto-spec-row dd {
    margin: 0;
    font-weight: 500;
}

.front-producto-detalle-actions {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--lomas-border);
}

.front-producto-detalle-section-title {
    margin: 0 0 1rem;
    font-size: 1.35rem;
    font-weight: 700;
}

.front-producto-compatibilidad {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--lomas-border);
}

.front-producto-compat-intro {
    margin: 0 0 1rem;
    color: var(--lomas-muted);
    font-size: 0.95rem;
}

.front-producto-compat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}

.front-producto-compat-tipo {
    background: #f8f8f8;
    border-radius: var(--lomas-radius);
    padding: 1rem;
}

.front-producto-compat-tipo-title {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.front-producto-compat-list {
    margin: 0;
    padding-left: 1.25rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.front-producto-descripcion {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--lomas-border);
}

.front-producto-descripcion-body {
    line-height: 1.7;
    color: var(--lomas-text);
}

.front-producto-relacionados {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--lomas-border);
}

.front-producto-relacionados-intro {
    margin: 0 0 1.25rem;
    color: var(--lomas-muted);
    font-size: 0.95rem;
}

.front-productos-grid-relacionados {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}

@media (max-width: 576px) {
    .front-productos-grid-relacionados {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Banner Buscar */
.front-banner-buscar {
    background: var(--lomas-xiketic);
    color: #fff;
    padding: 4.5rem 0;
    position: relative;
    z-index: 10;
}

.front-banner-title {
    margin: 0 0 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
}

.front-banner-search {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.front-banner-search .front-search-box {
    background: #fff;
}

.front-search-box-lg .front-search-input {
    height: 50px;
}

.front-search-box-lg .front-search-btn {
    width: 50px;
    height: 50px;
    color: var(--lomas-muted);
}

.front-search-box-lg .front-search-btn:hover {
    color: var(--lomas-red);
}

.front-banner-search .front-search-dropdown {
    background: #fff;
    border: 1px solid var(--lomas-border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    z-index: 1000;
}

/* Nosotros */
.front-nosotros {
    position: relative;
    padding: 6rem 0;
    min-height: 420px;
    text-align: center;
}

.front-nosotros-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.front-nosotros-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(208,0,0,0.88) 0%, rgba(157,2,8,0.9) 100%);
}

.front-nosotros-inner {
    position: relative;
    z-index: 1;
}

.front-nosotros-title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #fff;
}

.front-nosotros-subtitle {
    margin: 0 0 1.5rem;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.95);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.front-btn-primary.front-btn-light {
    background: #fff !important;
    color: var(--lomas-rossa-corsa) !important;
    transition: transform 0.2s ease;
}

.front-btn-primary.front-btn-light:hover {
    background: #fff !important;
    color: var(--lomas-rossa-corsa) !important;
    transform: scale(1.05);
}

/* Cotización section */
.front-cotizacion {
    text-align: center;
    padding: 4.5rem 0;
}

/* Tipos Maquinaria */
.front-tipos-maquinaria {
    padding: 4.5rem 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.front-tipos-maquinaria .front-container {
    position: relative;
    z-index: 1;
}
.front-tipos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.front-tipo-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--lomas-text);
    padding: 1rem;
    background: #fff;
    border-radius: var(--lomas-radius);
    border: 1px solid var(--lomas-border);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.25s ease;
    min-width: 160px;
    flex: 0 0 160px;
}

.front-tipo-card:hover {
    border-color: var(--lomas-red);
    box-shadow: 0 4px 12px rgba(220,47,2,0.08);
    transform: scale(1.04);
}

.front-tipo-img-wrap {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
}

.front-tipo-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.front-tipo-placeholder {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
}

.front-tipo-name {
    margin-top: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
}

/* Botones */
.front-btn-primary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--lomas-vermilion);
    color: #fff !important;
    font-weight: 600;
    text-decoration: none;
    border: 0;
    border-radius: var(--lomas-radius);
    cursor: pointer;
    transition: background 0.2s;
}

.front-btn-primary:hover {
    background: var(--lomas-dark-red);
}

.front-btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #f0f0f0;
    color: var(--lomas-text);
    font-weight: 600;
    text-decoration: none;
    border: 0;
    border-radius: var(--lomas-radius);
    cursor: pointer;
    transition: background 0.2s;
}

/* Modal */
.front-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.front-modal[hidden] {
    display: none;
}

.front-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}

.front-modal-dialog {
    position: relative;
    background: #fff;
    border-radius: var(--lomas-radius);
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    max-width: 480px;
    width: 100%;
}

.front-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--lomas-border);
}

.front-modal-header h2 {
    margin: 0;
    font-size: 1.25rem;
}

.front-modal-close {
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--lomas-muted);
}

.front-modal-body {
    padding: 1.25rem;
}

.front-modal-footer {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--lomas-border);
}

.front-form-group {
    margin-bottom: 1rem;
}

.front-form-group label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 500;
}

.front-form-group input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--lomas-border);
    border-radius: 6px;
}

.front-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.front-cotiz-producto-wrap {
    position: relative;
}

.front-cotiz-producto-wrap .front-search-dropdown {
    top: 100%;
}

/* ========== Footer nuevo ========== */
.front-footer {
    padding: 2.5rem 0;
    background: #fafafa;
    border-top: 1px solid var(--lomas-border);
    font-size: 0.9rem;
}

.front-footer-inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.front-footer-logo {
    margin-bottom: 1.25rem;
}

.front-footer-logo img {
    max-height: 48px;
    width: auto;
}

.front-footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.5rem;
    margin-bottom: 1.25rem;
}

.front-footer-nav a {
    color: var(--lomas-text);
    text-decoration: none;
    font-weight: 500;
}

.front-footer-nav a:hover {
    color: var(--lomas-red);
}

.front-footer-social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.front-footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--lomas-muted);
    background: rgba(0,0,0,0.05);
    transition: color 0.2s, background 0.2s;
}

.front-footer-social-link:hover {
    color: var(--lomas-red);
    background: rgba(220,47,2,0.1);
}

.front-footer-copy {
    color: var(--lomas-muted);
}

.front-footer-copy p {
    margin: 0.25rem 0;
}

.front-footer-dev a {
    color: var(--lomas-red);
    text-decoration: none;
}

/* ========== Página Productos (Tienda) ========== */
.front-tienda {
    padding: 2rem 0 4rem;
}

.front-tienda-title {
    margin: 0 0 0.25rem;
    font-size: 2rem;
    font-weight: 700;
    color: var(--lomas-text);
}

.front-tienda-lead {
    margin: 0 0 1.5rem;
    color: var(--lomas-muted);
}

.front-tienda-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--lomas-border);
    margin-bottom: 1.5rem;
}

.front-tienda-tab {
    padding: 0.75rem 1.25rem;
    border: 0;
    background: transparent;
    font-size: 1rem;
    font-weight: 600;
    color: var(--lomas-muted);
    cursor: pointer;
    position: relative;
    bottom: -2px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s;
}

.front-tienda-tab:hover {
    color: var(--lomas-text);
}

.front-tienda-tab.is-active {
    color: var(--lomas-rossa-corsa);
    border-bottom-color: var(--lomas-rossa-corsa);
}

.front-tienda-panel {
    display: none;
}

.front-tienda-panel.is-active {
    display: block;
}

.front-tienda-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
}

@media (max-width: 992px) {
    .front-tienda-layout {
        grid-template-columns: 1fr;
    }
}

.front-tienda-sidebar {
    background: #fafafa;
    border-radius: var(--lomas-radius);
    padding: 1.25rem;
    border: 1px solid var(--lomas-border);
    height: fit-content;
    position: sticky;
    top: 100px;
}

@media (max-width: 992px) {
    .front-tienda-sidebar {
        position: static;
    }
}

.front-tienda-search {
    margin-bottom: 1.25rem;
}

.front-tienda-filter-title {
    margin: 1rem 0 0.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--lomas-text);
}

.front-tienda-filter-title:first-child {
    margin-top: 0;
}

.front-tienda-filter-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.front-tienda-filter-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--lomas-text);
}

.front-tienda-filter-item input {
    margin: 0;
}

.front-tienda-filter-empty {
    margin: 0;
    font-size: 0.85rem;
    color: var(--lomas-muted);
}

.front-tienda-filter-marcas {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 0.5rem;
}

.front-tienda-marca-card {
    cursor: pointer;
    display: block;
}

.front-tienda-marca-card input {
    display: none;
}

.front-tienda-marca-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    background: #fff;
    border: 2px solid var(--lomas-border);
    border-radius: var(--lomas-radius);
    transition: border-color 0.2s, box-shadow 0.2s;
    min-height: 70px;
}

.front-tienda-marca-card input:checked + .front-tienda-marca-inner {
    border-color: var(--lomas-rossa-corsa);
    box-shadow: 0 0 0 1px var(--lomas-rossa-corsa);
}

.front-tienda-marca-inner img {
    max-height: 36px;
    max-width: 60px;
    object-fit: contain;
}

.front-tienda-marca-inner span {
    font-size: 0.7rem;
    text-align: center;
    color: var(--lomas-text);
}

.front-tienda-filter-tipos {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.front-tienda-tipo-card {
    cursor: pointer;
}

.front-tienda-tipo-card input {
    display: none;
}

.front-tienda-tipo-inner {
    display: block;
    padding: 0.5rem 0.75rem;
    background: #fff;
    border: 2px solid var(--lomas-border);
    border-radius: var(--lomas-radius);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--lomas-text);
    transition: border-color 0.2s, background 0.2s;
}

.front-tienda-tipo-card input:checked + .front-tienda-tipo-inner {
    border-color: var(--lomas-rossa-corsa);
    background: rgba(208,0,0,0.06);
}

.front-tienda-modelos-wrap {
    margin-top: 1rem;
}

.front-tienda-back {
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0.35rem 0;
    border: 0;
    background: none;
    font-size: 0.9rem;
    color: var(--lomas-rossa-corsa);
    cursor: pointer;
    font-weight: 500;
}

.front-tienda-back:hover {
    text-decoration: underline;
}

.front-tienda-modelo-grupo {
    margin-bottom: 1rem;
}

.front-tienda-modelo-grupo-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--lomas-xiketic);
    margin-bottom: 0.5rem;
}

.front-tienda-empty,
.front-tienda-loading {
    text-align: center;
    padding: 2rem;
    color: var(--lomas-muted);
}

.front-tienda-main {
    position: relative;
    z-index: 0;
}

.front-tienda-main .front-productos-grid {
    min-height: 200px;
}

@media (max-width: 576px) {
    .front-tienda-main .front-productos-grid {
        min-height: 150px;
    }
}

/* ========== Página Nosotros ========== */
.front-nosotros-page {
    padding: 2rem 0 4rem;
}

.front-nosotros-page-title {
    margin: 0 0 0.5rem;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
}

.front-nosotros-page-lead {
    margin: 0 auto 2rem;
    max-width: 640px;
    font-size: 1.1rem;
    color: var(--lomas-muted);
    text-align: center;
    line-height: 1.6;
}

.front-nosotros-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2.5rem;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, var(--lomas-rossa-corsa) 0%, var(--lomas-vermilion) 100%);
    border-radius: 16px;
    color: #fff;
    box-shadow: 0 8px 32px rgba(208, 0, 0, 0.2);
}

.front-nosotros-stat {
    text-align: center;
    min-width: 140px;
}

.front-nosotros-stat-num {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.front-nosotros-stat-label {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.95rem;
    opacity: 0.95;
}

.front-nosotros-content {
    margin-bottom: 2.5rem;
    text-align: center;
}

.front-nosotros-content p {
    margin: 0 auto 1rem;
    max-width: 720px;
    line-height: 1.7;
}

.front-nosotros-content .front-btn-primary {
    margin-top: 0.5rem;
}

.front-nosotros-section-title {
    margin: 0 0 1rem;
    font-size: 1.35rem;
    font-weight: 700;
    text-align: center;
}

.front-nosotros-marcas {
    padding-top: 2rem;
    border-top: 1px solid var(--lomas-border);
    text-align: center;
}

.front-nosotros-marcas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.front-nosotros-marca-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: #f8f8f8;
    border-radius: var(--lomas-radius);
    border: 1px solid var(--lomas-border);
    text-decoration: none;
    color: var(--lomas-text);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.front-nosotros-marca-item:hover {
    border-color: var(--lomas-red);
    box-shadow: 0 2px 12px rgba(208,0,0,0.1);
}

.front-nosotros-marca-item img {
    max-height: 40px;
    max-width: 90px;
    object-fit: contain;
}

.front-nosotros-marca-item span {
    font-size: 0.85rem;
    font-weight: 600;
}

.front-nosotros-marcas-link {
    display: inline-block;
    margin-top: 0.5rem;
    color: var(--lomas-red);
    font-weight: 600;
    text-decoration: none;
}

.front-nosotros-marcas-link:hover {
    text-decoration: underline;
}

/* ========== Página Contacto ========== */
.front-contacto {
    padding: 2rem 0 4rem;
}

.front-contacto-title {
    margin: 0 0 0.5rem;
    font-size: 2rem;
    font-weight: 700;
}

.front-contacto-lead {
    margin: 0 0 2rem;
    font-size: 1.1rem;
    color: var(--lomas-muted);
}

.front-contacto-layout {
    display: grid;
    padding-top: 3rem;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 992px) {
    .front-contacto-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.front-contacto-info {
    padding-right: 1rem;
}

.front-contacto-info-headline {
    margin: 0 0 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--lomas-red);
}

.front-contacto-info-title {
    margin: 0 0 0.75rem;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--lomas-text);
}

.front-contacto-info-desc {
    margin: 0 0 1.5rem;
    font-size: 1rem;
    color: var(--lomas-muted);
    line-height: 1.6;
}

.front-contacto-datos {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.front-contacto-dato {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 0;
    text-decoration: none;
    color: var(--lomas-text);
    transition: color 0.2s;
}

.front-contacto-dato:hover {
    color: var(--lomas-red);
}

.front-contacto-dato-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(208, 0, 0, 0.08);
    color: var(--lomas-red);
    border-radius: 10px;
}

.front-contacto-dato-content {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.front-contacto-dato-label {
    font-size: 0.85rem;
    color: var(--lomas-muted);
}

.front-contacto-dato-valor {
    font-size: 1rem;
    font-weight: 500;
}

.front-contacto-form-wrap {
    position: relative;
}

.front-contacto-form {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--lomas-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.front-contacto-form .front-form-group input,
.front-contacto-form .front-form-group textarea {
    background: #f8f8f8;
    border: 1px solid var(--lomas-border);
    border-radius: 8px;
    padding: 0.65rem 1rem;
}

.front-contacto-form .front-form-group input:focus,
.front-contacto-form .front-form-group textarea:focus {
    background: #fff;
    outline: none;
    border-color: var(--lomas-red);
}

.front-form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.front-form-actions {
    margin-bottom: 0;
}

.front-form-feedback {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
}

.front-form-feedback-success {
    background: #e8f5e9;
    color: #2e7d32;
}

.front-form-feedback-error {
    background: #ffebee;
    color: #c62828;
}

/* ========== Home: Envíos, Reseñas, Contactos, Video, Marcas producto ========== */
.front-envios-pais {
    padding: 4rem 0;
}
.front-envios-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
@media (max-width: 768px) {
    .front-envios-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
.front-envios-tag {
    display: inline-block;
    background: var(--lomas-xiketic);
    color: #fff;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 4px;
    margin-bottom: 1rem;
}
.front-envios-titulo {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--lomas-text);
    margin: 0 0 1.25rem;
}
.front-envios-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}
.front-envios-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.6rem;
}
.front-envios-list li::before {
    content: "+";
    position: absolute;
    left: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--lomas-red);
    color: #fff;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 700;
}
.front-envios-cta {
    display: inline-flex;
    align-items: center;
}
.front-envios-imagen img {
    width: 100%;
    height: auto;
    border-radius: var(--lomas-radius);
    object-fit: cover;
}
.front-envios-placeholder {
    min-height: 280px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    border-radius: var(--lomas-radius);
}

/* Testimonials carousel */
.front-testimonials {
    background: var(--lomas-xiketic);
    padding: 4rem 0;
}
.front-testimonials-title {
    color: #fff;
    text-align: center;
    margin-bottom: 2rem;
}
.front-testimonials-wrap {
    position: relative;
    max-width: 680px;
    margin: 0 auto;
}
.front-testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.4);
    background: #fff;
    color: var(--lomas-xiketic);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 3;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.front-testimonial-nav:hover {
    background: var(--lomas-red);
    border-color: var(--lomas-red);
    color: #fff;
}
.front-testimonial-prev { left: -1rem; }
.front-testimonial-next { right: -1rem; }
.front-testimonials-track-wrap {
    overflow: hidden;
    padding: 1.25rem 3rem 2rem;
}
.front-testimonials-track {
    display: flex;
    gap: 24px;
    transition: transform 0.45s ease;
}
.front-testimonial-card {
    flex: 0 0 calc(100% - 48px);
    min-width: 0;
    padding: 2rem;
    background: #fff;
    border-radius: var(--lomas-radius);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.front-testimonial-quote {
    display: block;
    font-size: 2.5rem;
    line-height: 1;
    color: rgba(3, 7, 30, 0.15);
    font-family: Georgia, serif;
}
.front-testimonial-text {
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
    margin: 0 0 1rem;
}
.front-testimonial-sep {
    border: 0;
    height: 1px;
    background: rgba(3, 7, 30, 0.1);
    margin: 0 0 1rem;
}
.front-testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.front-testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}
.front-testimonial-initials {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--lomas-xiketic);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}
.front-testimonial-author strong {
    color: var(--lomas-xiketic);
}
.front-testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}
.front-testimonials-dots .front-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    padding: 0;
}
.front-testimonials-dots .front-dot.is-active {
    background: #fff;
}

/* Contactos home (fondo rojo contrastado) */
.front-contactos-home {
    position: relative;
    padding: 4rem 0;
}
.front-contactos-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--lomas-rossa-corsa) 0%, var(--lomas-dark-red) 50%, var(--lomas-rosewood) 100%);
    z-index: 0;
}
.front-contactos-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}
.front-contactos-tag {
    display: block;
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
}
.front-contactos-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    color: #fff;
    font-size: 1rem;
}
.front-contactos-list p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.15);
    padding: 0.6rem 1rem;
    border-radius: var(--lomas-radius);
    border: 1px solid rgba(255,255,255,0.2);
}
.front-contactos-list a {
    color: #fff;
}
.front-contactos-icon {
    flex-shrink: 0;
}
.front-contactos-horario {
    font-size: 0.9rem;
    opacity: 0.95;
}

/* Video home */
.front-video-home {
    position: relative;
    padding: 4rem 0;
    background: #000;
}
.front-video-bg {
    position: absolute;
    inset: 0;
    background: #000;
    z-index: 0;
}
.front-video-inner {
    position: relative;
    z-index: 1;
}
.front-video-titulo {
    color: #fff;
    font-size: 1.75rem;
    margin: 0 0 0.5rem;
}
.front-video-desc {
    color: rgba(255,255,255,0.85);
    margin: 0 0 1rem;
}
.front-video-cta {
    color: var(--lomas-orange-web);
    text-decoration: underline;
    margin-bottom: 1.5rem;
    display: inline-block;
}
.front-video-embed-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}
.front-video-embed-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Marcas producto slider */
.front-marcas-producto-slider {
    padding: 2rem 0;
}
.front-marcas-producto-track {
    display: flex;
    align-items: center;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0;
    -webkit-overflow-scrolling: touch;
}
.front-marcas-producto-item {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 100px;
    text-decoration: none;
    color: inherit;
}
.front-marcas-producto-item:hover {
    opacity: 0.9;
}
.front-marcas-producto-item img {
    max-height: 48px;
    max-width: 80px;
    object-fit: contain;
}
.front-hero-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.front-hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100%;
    min-width: 177.78vh;
    transform: translate(-50%, -50%);
}

.front-marcas-producto-placeholder {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--lomas-vermilion);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

