/* --- Variables Suzuki (azul #003399, rojo #e20a17, negro, blanco) --- */
:root {
    --suzuki-blue: #003399;
    --suzuki-red: #e20a17;
    --suzuki-orange: #FF6B35;
    --suzuki-dark: #1a1a1a;
    --suzuki-light: #f8f9fa;
    --suzuki-border: #e0e0e0;
    --suzuki-gray: #666666;
}

/* --- Contenedor: forzar layout en page builders (Elementor, etc.) --- */
.smc-catalog-wrapper {
    display: block !important;
    width: 100% !important;
    min-height: 1px;
    box-sizing: border-box;
}

.smc-catalog-container {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box;
}

.smc-categories-view {
    display: block !important;
    width: 100% !important;
}

/* --- Shortcode: header y logo del catálogo --- */
@keyframes smc-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.smc-catalog-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px 0;
    border-bottom: 3px solid var(--suzuki-red);
}

/* Header con corte diagonal (diseño ángulos) */
.smc-catalog-header.smc-header-cut {
    position: relative;
    border-bottom: none;
    padding-bottom: 30px;
}
.smc-catalog-header.smc-header-cut::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--suzuki-red);
    clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 100%, 40px 100%);
}

.smc-catalog-logo {
    max-width: 250px;
    height: auto;
}

/* --- Utilidad: figuras con cortes (ángulos pronunciados) --- */
.smc-card-cut {
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}
.smc-title-cut {
    display: inline-block;
    position: relative;
    padding-bottom: 8px;
}
.smc-title-cut::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
    height: 4px;
    background: var(--suzuki-red);
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 0 100%);
}

/* --- Grid de tipos (Racing, Trabajo, Sports...) --- */
.smc-categories-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 30px;
    width: 100%;
    list-style: none;
    padding: 0;
    margin-left: 0;
    margin-right: 0;
}

.smc-category-card {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    padding: 0;
    background: white;
    border: 2px solid var(--suzuki-border);
    text-decoration: none;
    color: var(--suzuki-dark);
    min-height: 260px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
}

.smc-category-card-image-wrap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 140px;
    background: linear-gradient(180deg, #f0f0f0 0%, #e5e5e5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 24px) 100%, 0 100%);
}

.smc-category-card-image-wrap .smc-category-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Placeholder: silueta de moto genérica (referencia al tipo de vehículo) */
.smc-category-card-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 60' fill='%23999' opacity='0.6'%3E%3Cpath d='M25 42c-6 0-11-4-12-10L8 28h6l4 4h60l4-4h6l-5 4c-1 6-6 10-12 10H25zm-4-14l-3-8c0-2 2-4 4-4h6l4 12h-11zm68 0l-4-12h6c2 0 4 2 4 4l-3 8h-3zm-64-6l2 4h8l-2-4h-8zm72 0l-2 4h8l2-4h-8zM40 20c-8 0-14 6-14 14s6 14 14 14 14-6 14-14-6-14-14-14zm0 22c-4 0-8-4-8-8s4-8 8-8 8 4 8 8-4 8-8 8zm40-22c-8 0-14 6-14 14s6 14 14 14 14-6 14-14-6-14-14-14zm0 22c-4 0-8-4-8-8s4-8 8-8 8 4 8 8-4 8-8 8z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.smc-category-card .smc-category-card-title,
.smc-category-card .smc-category-card-cta,
.smc-category-card .smc-category-card-arrow {
    position: relative;
    z-index: 2;
}

.smc-category-card > .smc-category-card-title {
    margin: 0;
    padding: 16px 20px 4px;
}

.smc-category-card > .smc-category-card-cta {
    padding: 0 20px;
}

.smc-category-card > .smc-category-card-arrow {
    bottom: 20px;
    right: 20px;
}

.smc-category-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--suzuki-red);
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 100%, 0 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.smc-category-card:hover {
    border-color: var(--suzuki-red);
    box-shadow: 0 8px 24px rgba(227, 6, 19, 0.12);
    transform: translateY(-4px);
}

.smc-category-card:hover::before {
    transform: scaleX(1);
}

.smc-category-card-title {
    font-size: 1.4em;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    line-height: 1.2;
}

.smc-category-card-cta {
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--suzuki-red);
    font-weight: 700;
    margin-top: 8px;
}

.smc-category-card-arrow {
    position: absolute;
    bottom: 24px;
    right: 24px;
    font-size: 1.2em;
    color: var(--suzuki-red);
    font-weight: bold;
    transition: transform 0.3s ease;
}

.smc-category-card:hover .smc-category-card-arrow {
    transform: translateX(6px);
}

/* --- Sección destacados --- */
.smc-featured-section {
    margin-bottom: 50px;
}

.smc-featured-title {
    font-size: 2em;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--suzuki-dark);
    margin: 0 0 28px 0;
    text-align: center;
}

.smc-featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.smc-featured-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.04);
    border: 2px solid rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    min-height: 460px;
}

.smc-featured-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.08);
    border-color: rgba(0,0,0,0.2);
}
.smc-featured-card:hover .smc-featured-card-image img {
    transform: scale(1.06);
}
.smc-featured-card:hover .smc-featured-card-accent {
    opacity: 1;
    height: 8px;
}

/* Franja de color: barra inferior con corte en esquina; crece un poco en hover */
.smc-featured-card-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 100%, 0 100%);
    opacity: 0.9;
    transition: height 0.35s ease, opacity 0.35s ease;
}

.smc-featured-card-body {
    position: relative;
    padding: 24px;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.smc-featured-card-logo {
    width: 60px;
    height: auto;
    opacity: 0.9;
    margin-bottom: 12px;
}

/* Título negro, misma fuente que el resto del plugin (forzado por especificidad/tema) */
.smc-featured-card-title {
    font-size: 1.4em !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.2 !important;
    color: #000 !important;
    font-family: Arial, Helvetica, sans-serif !important;
}

.smc-featured-card-desc {
    font-size: 0.9em !important;
    color: var(--suzuki-gray) !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.4 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    min-height: 2.8em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.smc-featured-card-spec {
    font-size: 0.85em !important;
    color: var(--suzuki-dark) !important;
    font-weight: 600 !important;
    margin: 0 0 16px 0 !important;
    line-height: 1.3 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    min-height: 1.4em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Marco sutil + iluminación en la imagen — altura fija para que todas las cards coincidan */
.smc-featured-card-image {
    flex: 0 0 220px;
    min-height: 220px;
    margin: 16px 0;
    border: none;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f8f8;
}

.smc-featured-card-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0.15) 0%, transparent 40%, transparent 60%, rgba(0,0,0,0.03) 100%);
    pointer-events: none;
    z-index: 1;
}

.smc-featured-card-image img {
    width: 100%;
    height: 100%;
    max-height: 220px;
    display: block;
    object-fit: contain;
    object-position: center;
    transition: transform 0.4s ease;
}

.smc-featured-card-link {
    display: inline-block;
    font-size: 0.95em !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: var(--suzuki-red) !important;
    margin-top: auto;
    padding-top: 8px;
    transition: transform 0.25s ease, color 0.25s ease;
    font-family: Arial, Helvetica, sans-serif !important;
}

.smc-featured-card:hover .smc-featured-card-link {
    transform: translateX(6px);
}

/* --- Volver a categorías / tipos --- */
.smc-back-to-categories-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--suzuki-border);
}

.smc-back-to-categories-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: white;
    border: 2px solid var(--suzuki-blue);
    color: var(--suzuki-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.smc-back-to-categories-link:hover {
    background: var(--suzuki-blue);
    color: white;
}

.smc-back-to-categories {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: white;
    border: 2px solid var(--suzuki-blue);
    color: var(--suzuki-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.smc-back-to-categories:hover {
    background: var(--suzuki-blue);
    color: white;
}

.smc-back-arrow {
    font-size: 1.1em;
}

.smc-current-category-title {
    font-size: 1.6em;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--suzuki-dark);
    margin: 0;
}

.smc-products-grid {
    margin-top: 20px;
}

.smc-single-category .smc-catalog-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 0;
    border-bottom: 3px solid var(--suzuki-red);
}

.smc-category-title {
    color: var(--suzuki-red);
    font-size: 2.5em;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 20px 0 0 0;
}

.smc-loader-inner {
    text-align: center;
    padding: 40px;
}

.smc-loader-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--suzuki-red);
    border-radius: 50%;
    animation: smc-spin 1s linear infinite;
}

.smc-loader-text {
    margin-top: 20px;
    color: var(--suzuki-red);
    font-weight: bold;
}

.smc-card-no-image {
    width: 100%;
    height: 200px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.smc-catalog-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--suzuki-gray);
}

/* --- Catálogo Principal --- */
.smc-catalog-filters { 
    margin-bottom: 30px; 
    text-align: center; 
    padding: 20px 0;
    border-bottom: 2px solid var(--suzuki-blue);
}

.smc-filter-btn {
    background: white;
    border: 2px solid var(--suzuki-blue);
    color: var(--suzuki-blue);
    padding: 12px 25px;
    margin: 0 10px 10px 0;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0;
}

.smc-filter-btn:hover,
.smc-filter-btn.active {
    background: var(--suzuki-blue);
    color: white;
    border-color: var(--suzuki-blue);
}

.smc-catalog-grid,
.smc-products-grid { 
    display: grid !important; 
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
    gap: 30px; 
    margin-top: 24px;
    width: 100%;
}

/* --- Tarjeta de Moto (con cortes) --- */
.smc-moto-card { 
    background: white;
    border-radius: 0;
    overflow: hidden; 
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: relative;
    height: 500px;
    display: flex;
    flex-direction: column;
}

.smc-moto-card.smc-card-cut {
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

.smc-moto-card:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 12px 30px rgba(0,0,0,0.15); 
}

.smc-moto-card a { 
    text-decoration: none; 
    color: inherit; 
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Banda Superior con Título (corte muy pequeño o ninguno) */
.smc-card-top-band {
    background: var(--suzuki-gray);
    color: white;
    padding: 20px;
    position: relative;
    overflow: hidden;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    clip-path: none;
}

.smc-card-top-band::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 60px 120px 0;
    border-color: transparent rgba(255,255,255,0.1) transparent transparent;
}

.smc-card-title {
    font-size: 2.2em;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    position: relative;
    z-index: 2;
    line-height: 1;
}

.smc-card-model-number {
    font-size: 3.5em;
    font-weight: 900;
    margin: 5px 0 0 0;
    opacity: 0.9;
    position: relative;
    z-index: 2;
    line-height: 1;
}

.smc-card-logo {
    position: absolute;
    top: 15px;
    right: 20px;
    width: 120px;
    height: auto;
    opacity: 0.9;
    z-index: 3;
}

/* Área de Imagen Central */
.smc-card-image-area {
    flex: 1;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

.smc-card-image-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.8) 0%, transparent 70%);
    z-index: 1;
}

.smc-card-image-area img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}

.smc-moto-card:hover .smc-card-image-area img {
    transform: scale(1.05);
}

/* Banda Inferior con Precio / Ver detalles (corte muy pequeño o ninguno) */
.smc-card-bottom-band {
    background: var(--suzuki-gray);
    color: white;
    padding: 20px;
    position: relative;
    overflow: hidden;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: none;
}

.smc-card-bottom-band::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 80px 60px;
    border-color: transparent transparent rgba(255,255,255,0.1) transparent;
}

.smc-card-price {
    font-size: 1.8em;
    font-weight: 900;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.smc-card-price-regular {
    font-size: 0.7em;
    opacity: 0.8;
    text-decoration: line-through;
    display: block;
    margin-bottom: 5px;
}

/* --- Página de Detalle (Single Moto) --- */
/* Evitar scroll horizontal por 100vw del hero (solo en páginas de detalle) */
body.single-smc_moto,
body.single-smc_motor {
    overflow-x: hidden;
}
.smc-single-container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
    font-family: 'Arial', sans-serif;
    background: white;
    overflow-x: hidden;
}

/* Wrapper del hero: 100% del ancho de la página, evita scroll horizontal */
.smc-single-hero-wrapper {
    width: 100%;
    overflow-x: hidden;
}

/* Hero: ocupa el 100% del espacio, solo un corte en esquina inferior derecha */
.smc-single-hero {
    width: 100%;
    position: relative;
    min-height: 480px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    /* Solo un corte en la esquina inferior derecha */
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), calc(100% - 80px) 100%, 0 100%);
    overflow: hidden;
}

.smc-single-hero-overlay {
    position: absolute;
    inset: 0;
    /* Filtro oscuro tintado: iluminación desde abajo (PHP inicial, JS al cambiar color) */
    pointer-events: none;
    transition: background 0.5s ease;
}

.smc-single-hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 30px 50px 30px;
    width: 100%;
}

.smc-single-title {
    font-size: 3.2em;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0 0 12px 0;
    color: #fff !important;
    text-shadow: 0 2px 16px rgba(0,0,0,0.7), 0 0 1px rgba(0,0,0,0.8);
    line-height: 1.1;
}

.smc-single-model {
    font-size: 4em;
    font-weight: 900;
    margin: 0;
    opacity: 0.95;
    color: #fff !important;
    text-shadow: 0 2px 16px rgba(0,0,0,0.7), 0 0 1px rgba(0,0,0,0.8);
    line-height: 1;
}

.smc-single-breadcrumbs {
    font-size: 0.95em;
    color: rgba(255,255,255,0.95) !important;
    margin-top: 14px;
    letter-spacing: 0.5px;
}

.smc-single-breadcrumbs a,
.smc-single-breadcrumbs .smc-breadcrumb-cat,
.smc-single-breadcrumbs .smc-breadcrumb-current {
    color: #fff !important;
    text-decoration: none;
}

.smc-single-breadcrumbs a:hover {
    text-decoration: underline;
}

.smc-breadcrumb-sep {
    margin: 0 8px;
    opacity: 0.9;
    color: rgba(255,255,255,0.9);
}

.smc-breadcrumb-current {
    font-weight: 700;
    color: #fff !important;
}

.smc-single-hero-logo {
    position: absolute;
    top: 24px;
    right: 30px;
    width: 160px;
    height: auto;
    z-index: 3;
    filter: brightness(0) invert(1);
}

/* Compatibilidad con header antiguo si se usa en otros contextos */
.smc-single-header {
    background: var(--suzuki-gray);
    color: white;
    padding: 40px;
    margin: 0 -20px 40px -20px;
    position: relative;
    overflow: hidden;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), calc(100% - 80px) 100%, 0 100%);
}

.smc-suzuki-logo {
    position: absolute;
    top: 30px;
    right: 40px;
    width: 200px;
    height: auto;
    z-index: 3;
}

/* Layout: espacio fijo entre hero y card de imagen (con o sin video) */
.smc-main-content-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.smc-image-column {
    width: 100%;
}

.smc-info-column {
    padding: 20px 0;
}

.smc-bottom-section {
    width: 100%;
    margin-top: 40px;
}

/* SELECTOR DE VISTA - ESTILO COMO TABS DE ESPECIFICACIONES */
.smc-view-selector {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 25px;
    background: transparent;
    padding: 14px 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 2px;
    overflow: hidden;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.smc-view-btn {
    background: var(--suzuki-light) !important;
    border: none !important;
    color: var(--suzuki-dark) !important;
    padding: 14px 20px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    border-radius: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-size: 1.1em !important;
    text-decoration: none !important;
    outline: none !important;
    box-shadow: none !important;
    min-width: 160px;
    justify-content: center;
    font-family: inherit !important;
    line-height: 1 !important;
    flex: 1;
    position: relative;
}

.smc-view-btn:hover {
    background: white !important;
    color: var(--suzuki-blue) !important;
}

.smc-view-btn.active {
    background: white !important;
    color: var(--suzuki-blue) !important;
    transform: none;
    box-shadow: none !important;
}

.smc-view-btn .dashicons {
    font-size: 18px !important;
    width: 18px !important;
    height: 18px !important;
    line-height: 1 !important;
}

/* Imagen Principal con Bandas Dinámicas y tamaño fijo */
.smc-main-image-container {
    position: relative;
    background: white;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    display: none; /* Cambiado: oculto por defecto */
}

.smc-dynamic-top-band,
.smc-dynamic-bottom-band {
    height: 80px;
    background: var(--suzuki-gray);
    position: relative;
    transition: background-color 0.4s ease;
}

.smc-dynamic-top-band::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 80px 80px 0;
    border-color: transparent rgba(255,255,255,0.2) transparent transparent;
}

.smc-dynamic-bottom-band::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 80px 80px;
    border-color: transparent transparent rgba(255,255,255,0.2) transparent;
}

.smc-main-image { 
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px; /* Altura fija */
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.smc-main-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.8) 0%, transparent 70%);
    z-index: 1;
}

.smc-main-image img { 
    max-width: 100%; 
    max-height: 100%; 
    width: auto;
    height: auto;
    object-fit: contain; 
    transition: transform 0.4s ease;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.15));
}

.smc-main-image:hover img { 
    transform: scale(1.08); 
}

.smc-no-image {
    background: #f0f0f0; 
    width: 100%;
    height: 100%;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: #666; 
    font-size: 18px;
    position: relative;
    z-index: 2;
}

/* Contenedor de Video - VISIBLE POR DEFECTO */
.smc-main-video-container {
    background: white;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: relative;
    min-height: 400px;
    display: block; /* Cambiado: visible por defecto */
}

.smc-video-wrapper {
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.smc-video-wrapper iframe,
.smc-video-wrapper video {
    width: 100%;
    max-width: 800px;
    height: 450px;
    border: none;
    border-radius: 2px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.smc-video-wrapper video {
    background: #000;
}

/* Icono de lightbox */
.smc-lightbox-trigger {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(0, 102, 204, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 3;
}

.smc-lightbox-trigger:hover {
    background: var(--suzuki-blue);
    transform: scale(1.1);
}

.smc-zoom-icon {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}

/* Información en columna lateral */
.smc-info-column .smc-price-wrapper {
    margin-bottom: 30px;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.smc-info-column .smc-item-description {
    text-align: left;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 30px;
}

.smc-item-description { 
    line-height: 1.8; 
    color: #444; 
    margin-bottom: 40px; 
    font-size: 1.1em;
}

.smc-price-wrapper { 
    margin-bottom: 40px; 
    padding: 30px;
    background: var(--suzuki-light);
    border-radius: 2px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.smc-price-wrapper .smc-price-regular { 
    color: #888; 
    margin: 0 0 10px 0; 
    font-size: 1.2em; 
    text-decoration: line-through;
}

.smc-price-wrapper .smc-price-promo { 
    color: var(--suzuki-blue); 
    font-size: 2.8em; 
    font-weight: 900; 
    margin: 0; 
    line-height: 1;
}

/* Características Generales - SIN BORDES, CON SOMBRA */
.smc-characteristics-section {
    background: white;
    padding: 30px;
    border: none !important;
    box-shadow: 0px 0px 10px #00000033;
    margin-bottom: 30px;
    border-radius: 2px;
}

.smc-characteristics-list {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
}

.smc-characteristics-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--suzuki-border);
    font-size: 1em;
    line-height: 1.4;
    color: var(--suzuki-dark);
}

.smc-characteristics-list li:last-child {
    border-bottom: none;
}

/* Selector de Colores: en desktop un poco más compacto */
.smc-color-selector { 
    background: white; 
    padding: 30px; 
    border: none !important;
    box-shadow: 0px 0px 10px #00000033;
    margin-bottom: 40px;
    text-align: center;
    border-radius: 2px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.smc-color-selector-wrapper {
    display: none;
    transition: opacity 0.3s ease;
}

.smc-selector-label { 
    margin: 0 0 20px 0; 
    font-weight: bold; 
    font-size: 1.3em;
    color: var(--suzuki-blue);
    text-transform: uppercase;
}

.smc-swatches { 
    display: flex; 
    gap: 18px; 
    flex-wrap: wrap;
    justify-content: center;
}

.smc-swatch { 
    width: 80px; 
    height: 80px; 
    border-radius: 2px; 
    cursor: pointer; 
    border: 4px solid #ddd; 
    transition: all 0.3s ease; 
    background-size: cover; 
    background-position: center;
    position: relative;
}

/* Tarjeta de color: en desktop un poco más pequeña */
.smc-swatch.smc-swatch-card {
    width: 88px;
    height: 88px;
    border-width: 4px;
    border-radius: 0;
    overflow: hidden;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
    border-color: var(--smc-swatch-color, #ddd);
    background: #f5f5f5;
}

.smc-swatch-preview {
    display: block;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.smc-swatch:hover { 
    border-color: #888; 
    transform: scale(1.05);
}

.smc-swatch.smc-swatch-card:hover {
    border-color: var(--smc-swatch-color);
    transform: scale(1.06);
}

.smc-swatch.active { 
    border-color: var(--suzuki-blue); 
    transform: scale(1.1); 
    box-shadow: 0 0 15px rgba(0, 102, 204, 0.4);
}

.smc-swatch.smc-swatch-card.active {
    border-color: var(--smc-swatch-color);
    box-shadow: 0 0 0 2px #fff, 0 0 0 5px var(--smc-swatch-color);
}

/* Botón de Cotización */
.smc-cotizar-btn { 
    display: inline-block; 
    padding: 18px 40px; 
    font-size: 1.3em; 
    font-weight: 900; 
    text-align: center; 
    text-decoration: none; 
    background: var(--suzuki-blue);
    color: white; 
    border: none;
    border-radius: 2px;
    transition: all 0.3s ease; 
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 20px auto;
    display: block;
    max-width: 300px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.smc-cotizar-btn:hover { 
    background: var(--suzuki-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
}

/* Especificaciones Técnicas - SIN BORDES, CON SOMBRA */
.smc-specs-section { 
    border-top: none !important;
    padding-top: 50px; 
    margin-top: 60px; 
    background: white;
    border-radius: 2px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 40px;
}

.smc-specs-title {
    color: var(--suzuki-blue);
    font-size: 2.5em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 900;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    line-height: 1.5 !important;
}

.smc-specs-tabs { 
    display: flex; 
    justify-content: center;
    border-bottom: none !important;
    margin-bottom: 40px; 
    flex-wrap: wrap; 
    gap: 8px;
    padding: 14px 16px;
    background: transparent;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 2px;
    overflow: hidden;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.smc-spec-tab-btn { 
    padding: 14px 20px; 
    border: none; 
    background: var(--suzuki-light); 
    cursor: pointer; 
    font-size: 1.1em; 
    font-weight: bold; 
    color: var(--suzuki-dark); 
    border-bottom: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0;
    flex: 1;
    min-width: 140px;
}

.smc-spec-tab-btn:hover { 
    background: white;
    color: var(--suzuki-blue);
}

.smc-spec-tab-btn.active { 
    background: white;
    color: var(--suzuki-blue); 
    border-bottom: none;
}

.smc-specs-content {
    min-height: 300px;
    background: white;
    padding: 30px;
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.smc-spec-tab-panel { 
    display: none; 
    animation: fadeInUp 0.5s ease;
}

.smc-spec-tab-panel.active { 
    display: block; 
}

.smc-spec-table { 
    width: 100%; 
    border-collapse: collapse; 
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 2px;
    overflow: hidden;
}

.smc-spec-table tr { 
    border-bottom: 2px solid var(--suzuki-light); 
    transition: background-color 0.2s ease;
}

.smc-spec-table tr:hover {
    background-color: var(--suzuki-light);
}

.smc-spec-table tr:last-child {
    border-bottom: none;
}

.smc-spec-table td { 
    padding: 15px 20px; 
    vertical-align: top;
    font-size: 1em;
}

.smc-spec-table tr td:first-child { 
    font-weight: 700; 
    color: var(--suzuki-dark); 
    width: 35%; 
    background-color: var(--suzuki-light);
}

.smc-spec-table tr td:last-child {
    color: #555;
}

/* Galería de Imágenes - SIN BORDES, CON SOMBRA */
.smc-gallery-section {
    border-top: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: white;
    border-radius: 2px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 40px !important;
    margin-top: 60px !important;
}

.smc-gallery-title {
    color: var(--suzuki-red);
    font-size: 2.5em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 900;
}

.smc-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.smc-gallery-item {
    background: white;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.smc-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.smc-gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: block;
}

.smc-gallery-image:hover {
    transform: scale(1.02);
}

.smc-gallery-caption {
    padding: 15px;
    font-weight: bold;
    color: var(--suzuki-dark);
    text-align: center;
    background: var(--suzuki-light);
}

/* Lightbox */
.smc-lightbox-overlay { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0, 0, 0, 0.95); 
    display: none; 
    align-items: center; 
    justify-content: center; 
    z-index: 10000; 
    animation: fadeIn 0.3s; 
    padding: 20px; 
    box-sizing: border-box; 
}

.smc-lightbox-content { 
    position: relative; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    width: 100%; 
    height: 100%; 
}

.smc-lightbox-content img { 
    display: block; 
    max-width: 100%; 
    max-height: 100%; 
    width: auto; 
    height: auto; 
    object-fit: contain; 
}

.smc-lightbox-close { 
    position: fixed; 
    top: 30px; 
    right: 40px; 
    font-size: 3em; 
    color: white; 
    cursor: pointer; 
    text-decoration: none; 
    opacity: 0.8; 
    transition: opacity 0.2s; 
    z-index: 10001;
    background: var(--suzuki-blue);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.smc-lightbox-close:hover { 
    opacity: 1; 
    transform: scale(1.1);
}

/* Animaciones */
@keyframes fadeIn { 
    from { opacity: 0; } 
    to { opacity: 1; } 
}

@keyframes fadeInUp { 
    from { opacity: 0; transform: translateY(30px); } 
    to { opacity: 1; transform: translateY(0); } 
}

/* Estados de carga */
#smc-loader {
    text-align: center;
    padding: 40px;
    font-size: 1.2em;
    color: var(--suzuki-blue);
    font-weight: bold;
}

/* Transiciones suaves para cambio de vista */
.smc-main-image.changing-color {
    opacity: 0.7;
    transition: opacity 0.4s ease;
}

/* Estados generales */
body.lightbox-open {
    overflow: hidden;
}

.smc-moto-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.smc-moto-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Efectos hover para video */
.smc-main-video-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

/* Estados de carga para video */
.smc-video-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    background: var(--suzuki-light);
    color: var(--suzuki-orange);
    font-size: 1.2em;
    font-weight: bold;
}

.smc-video-error {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    background: #ffe6e6;
    color: #d32f2f;
    font-size: 1.1em;
    text-align: center;
    padding: 20px;
}

/* Responsividad */
@media (max-width: 1024px) {
    .smc-main-content-layout {
        grid-template-columns: 1fr 350px;
        gap: 30px;
    }
    
    .smc-single-title {
        font-size: 3em;
    }
    
    .smc-single-model {
        font-size: 4em;
    }
    
    .smc-suzuki-logo {
        width: 150px;
    }

    .smc-video-wrapper iframe,
    .smc-video-wrapper video {
        height: 400px;
    }
}

@media (max-width: 768px) { 
    .smc-categories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .smc-featured-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .smc-featured-card {
        min-height: 400px;
    }
    .smc-featured-card-image {
        flex: 0 0 200px;
        min-height: 200px;
    }
    .smc-featured-card-image img {
        max-height: 200px;
    }
    .smc-back-to-categories-wrap {
        flex-direction: column;
        align-items: flex-start;
    }
    .smc-catalog-grid { 
        grid-template-columns: 1fr; 
        gap: 30px; 
    }
    
    /* Single detalle: espaciado compacto, sin min-heights enormes */
    .smc-single-container {
        padding: 0 12px;
    }
    .smc-main-content-layout {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 16px;
        margin-bottom: 20px;
    }
    .smc-info-column {
        padding: 8px 0;
    }
    .smc-info-column .smc-price-wrapper {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 16px;
    }
    .smc-info-column .smc-item-description {
        text-align: center;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .smc-bottom-section {
        margin-top: 16px;
    }
    /* Características Técnicas: mismo padding horizontal que la galería, fuentes más pequeñas */
    .smc-specs-section {
        padding: 16px 12px;
        margin-top: 24px;
        margin-bottom: 16px;
    }
    .smc-specs-content {
        min-height: 0;
        padding: 16px 12px;
    }
    .smc-specs-title {
        font-size: 1.15em;
        margin-bottom: 16px;
        padding: 0;
        line-height: 1.5 !important;
    }
    .smc-specs-tabs {
        padding: 12px 16px;
        margin-bottom: 20px;
        justify-content: center;
        max-width: 100%;
    }
    .smc-spec-tab-btn {
        font-size: 0.9em;
        padding: 12px 14px;
    }
    .smc-spec-table td {
        padding: 10px 12px;
        font-size: 0.9em;
    }
    .smc-characteristics-section {
        padding: 12px 0;
        margin-bottom: 0;
    }
    .smc-color-selector {
        padding: 16px 12px;
        margin-bottom: 16px;
        max-width: 100%;
    }
    .smc-cotizar-btn {
        margin: 12px auto;
        padding: 12px 24px;
        font-size: 1em;
    }
    
    .smc-single-hero {
        min-height: 320px;
        /* Solo corte en esquina inferior derecha */
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 56px) 100%, 0 100%);
    }
    
    .smc-single-hero-content {
        padding: 20px 16px 28px 16px;
    }
    
    .smc-single-title { 
        font-size: 1.5em !important; 
    }
    
    .smc-single-model {
        font-size: 2em !important;
    }
    
    .smc-single-breadcrumbs {
        font-size: 0.85em;
    }
    
    .smc-single-hero-logo {
        width: 100px;
        top: 16px;
        right: 20px;
    }
    
    .smc-single-header {
        padding: 30px 20px;
        margin: 0 -20px 30px -20px;
        min-height: 150px;
    }
    
    .smc-suzuki-logo {
        width: 120px;
        top: 20px;
        right: 20px;
    }
    
    .smc-card-title {
        font-size: 1.8em;
    }
    
    .smc-card-model-number {
        font-size: 2.8em;
    }
    
    .smc-card-logo {
        width: 80px;
    }
    
    .smc-dynamic-top-band,
    .smc-dynamic-bottom-band {
        height: 48px;
    }
    
    .smc-main-image-container {
        padding: 0;
    }
    .smc-main-image {
        height: 220px;
        min-height: 0;
        padding: 16px;
    }
    
    .smc-price-wrapper .smc-price-promo { 
        font-size: 2.2em; 
    }
    
    .smc-spec-table tr td:first-child { 
        width: 40%; 
    }
    
    /* Galería: mismo padding que specs, compacto */
    .smc-gallery-section {
        padding: 16px 12px !important;
        margin-top: 24px !important;
    }
    .smc-gallery-title {
        font-size: 1.2em;
        margin-bottom: 16px;
    }
    .smc-gallery-grid {
        gap: 12px;
        margin-bottom: 24px;
    }
    
    .smc-moto-card {
        height: 450px;
    }
    
    .smc-swatches {
        gap: 12px;
    }
    
    .smc-swatch {
        width: 60px;
        height: 60px;
    }
    
    .smc-swatch.smc-swatch-card {
        width: 80px;
        height: 80px;
        clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
    }
    
    .smc-gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 12px;
        margin-bottom: 24px;
    }
    .smc-gallery-image {
        height: 160px;
    }
    
    .smc-lightbox-trigger {
        width: 35px;
        height: 35px;
        top: 15px;
        right: 15px;
    }
    
    .smc-zoom-icon {
        width: 16px;
        height: 16px;
    }

    /* Selector de vista: 2 columnas, padding vertical y lateral moderado */
    .smc-view-selector {
        flex-direction: row;
        gap: 8px;
        padding: 12px 16px;
        margin-bottom: 12px;
        max-width: 100%;
    }
    .smc-view-btn {
        min-width: auto !important;
        flex: 1 !important;
        font-size: 0.85em !important;
        padding: 12px 14px !important;
    }
    
    /* Video: contain con padding, sin min-height enorme */
    .smc-main-video-container {
        min-height: 0;
    }
    .smc-video-wrapper {
        padding: 12px;
        min-height: 0;
    }
    .smc-video-wrapper iframe,
    .smc-video-wrapper video {
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 9;
        max-height: 220px;
    }
}

@media (max-width: 480px) {
    .smc-view-btn {
        font-size: 0.8em !important;
        padding: 8px 10px !important;
    }
    .smc-video-wrapper {
        padding: 10px;
    }
    .smc-video-wrapper iframe,
    .smc-video-wrapper video {
        max-height: 200px;
    }
    .smc-main-image {
        height: 200px;
        padding: 12px;
    }
}

/* Estado inicial según clase del contenedor (server-side) */
.smc-initial-view-video #smc-image-view {
    display: none;
}

.smc-initial-view-video #smc-video-view {
    display: block;
}

.smc-initial-view-images #smc-image-view {
    display: block;
}

.smc-initial-view-images #smc-video-view {
    display: none;
}

#smc-image-view.visible {
    display: block !important;
}

#smc-video-view.hidden {
    display: none !important;
}

/* Transiciones suaves entre vistas */
#smc-image-view, 
#smc-video-view {
    transition: opacity 0.3s ease;
}

.smc-color-selector-wrapper.visible {
    display: block !important;
}

.smc-color-selector-wrapper.hidden {
    display: none !important;
}