/* ============================================================
   DONADIO CONFIGURADOR — Estilos frontend
   Danila Digital — v1.0.0
   ============================================================ */

:root {
    --dnd-red:      #E30613;
    --dnd-red-dark: #b80510;
    --dnd-black:    #111111;
    --dnd-dark:     #1a1a1a;
    --dnd-dark2:    #242424;
    --dnd-white:    #ffffff;
    --dnd-gray:     #f2f2f2;
    --dnd-gray2:    #e8e8e8;
    --dnd-muted:    #555555;
    --dnd-font-d:   'Raleway', sans-serif;
    --dnd-font-b:   'Raleway', sans-serif;
}

/* ── BADGES COMPARTIDOS ── */
.dnd-badge--std { background: var(--dnd-red);   color: var(--dnd-white); }
.dnd-badge--pro { background: var(--dnd-gray);  color: var(--dnd-red);  }
.dnd-badge--arr { background: #2e2e2e; color: #aaa; border: 1px solid #3a3a3a; }

/* ============================================================
   CONFIGURADOR
   ============================================================ */
.dnd-conf {
    background: var(--dnd-white);
    border: 1px solid var(--dnd-gray2);
    border-radius: 4px;
    overflow: hidden;
    font-family: var(--dnd-font-b);
}

.dnd-conf__header {
    background: var(--dnd-dark);
    padding: 16px 20px;
    border-bottom: 3px solid var(--dnd-red);
}
.dnd-conf__header-title {
    font-family: var(--dnd-font-d);
    font-weight: 900;
    font-size: 20px;
    color: var(--dnd-white);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.dnd-conf__header-sub {
    font-size: 0.8em;
    color: #aaaaaa;
	font-weight: 500;
    margin-top: 2px;
}

.dnd-conf__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.dnd-conf__step-label {
    font-family: var(--dnd-font-d);
    font-weight: 700;
    font-size: 11px;
    color: var(--dnd-red);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.dnd-conf__step-num {
    width: 18px;
    height: 18px;
    background: var(--dnd-red);
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 900;
    color: var(--dnd-white);
    flex-shrink: 0;
}

.dnd-conf__select {
    width: 100%;
    background: var(--dnd-gray);
    border: 1px solid var(--dnd-gray2);
    border-radius: 3px;
    padding: 10px 32px 10px 12px;
    font-family: var(--dnd-font-b);
    font-size: 13px;
    color: var(--dnd-black);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: border-color 0.2s;
}
.dnd-conf__select:focus {
    outline: none;
    border-color: var(--dnd-red);
}

.dnd-conf__opcionales {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.dnd-conf__opcion {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: var(--dnd-gray);
    border: 1px solid var(--dnd-gray2);
    border-radius: 3px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    gap: 8px;
    user-select: none;
}
.dnd-conf__opcion:hover {
    border-color: #ccc;
}
.dnd-conf__opcion.is-selected {
    border-color: var(--dnd-red);
    background: rgba(227, 6, 19, 0.04);
}
.dnd-conf__opcion-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.dnd-conf__checkbox {
    width: 16px;
    height: 16px;
    border: 1.5px solid #ccc;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--dnd-white);
    transition: all 0.15s;
    color: transparent;
}
.dnd-conf__checkbox svg {
    width: 10px;
    height: 10px;
}
.dnd-conf__opcion.is-selected .dnd-conf__checkbox {
    background: var(--dnd-red);
    border-color: var(--dnd-red);
    color: var(--dnd-white);
}
.dnd-conf__opcion-name {
    font-size: 12px;
    color: var(--dnd-black);
    font-weight: 500;
    line-height: 1.3;
}
.dnd-conf__opcion-price {
    font-family: var(--dnd-font-d);
    font-size: 13px;
    font-weight: 700;
    color: var(--dnd-muted);
    white-space: nowrap;
    flex-shrink: 0;
}
.dnd-conf__opcion.is-selected .dnd-conf__opcion-price {
    color: var(--dnd-red);
}

.dnd-conf__divider {
    height: 1px;
    background: var(--dnd-gray2);
}

.dnd-conf__cotizacion {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--dnd-gray);
    border-radius: 3px;
    padding: 8px 12px;
}
.dnd-conf__cotizacion-label {
    font-size: 11px;
    color: var(--dnd-muted);
}
.dnd-conf__cotizacion-val {
    font-family: var(--dnd-font-d);
    font-size: 13px;
    font-weight: 700;
    color: var(--dnd-black);
}

.dnd-conf__price-block {
    background: var(--dnd-dark);
    border-radius: 3px;
    padding: 16px;
    text-align: center;
}
.dnd-conf__price-label {
    font-size: 12px;
    color: #aaaaaa;
	font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.dnd-conf__price {
    font-family: var(--dnd-font-d);
    font-weight: 900;
    font-size: 36px;
    color: var(--dnd-white);
    line-height: 1;
    letter-spacing: -0.01em;
}
.dnd-conf__price-sub {
    font-size: 10px;
    color: #aaaaaa;
	font-weight: 600;
    margin-top: 4px;
}

.dnd-conf__form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.dnd-conf__form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.dnd-conf__input {
    background: var(--dnd-gray);
    border: 1px solid var(--dnd-gray2);
    border-radius: 3px;
    padding: 10px 12px;
    font-family: var(--dnd-font-b);
    font-size: 13px;
    color: var(--dnd-black);
    transition: border-color 0.2s;
    width: 100%;
    box-sizing: border-box;
}
.dnd-conf__input:focus {
    outline: none;
    border-color: var(--dnd-red);
}
.dnd-conf__input::placeholder {
    color: #bbb;
}
.dnd-conf__btn-wa {
    width: 100%;
    background: #25D366;
    color: var(--dnd-white);
    font-family: var(--dnd-font-d);
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 13px 20px;
    border-radius: 3px;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.dnd-conf__btn-wa svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
.dnd-conf__btn-wa:hover {
    background: #1fba58;
}
.dnd-conf__disclaimer {
    font-size: 10px;
    color: #bbb;
    text-align: center;
    line-height: 1.5;
}
.dnd-conf__empty {
    font-size: 13px;
    color: var(--dnd-muted);
    padding: 8px 0;
}

/* ============================================================
   CATÁLOGO
   ============================================================ */
.dnd-catalogo {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.dnd-catalogo__row {
    display: grid;
    grid-template-columns: 360px 1fr;
    border: 1px solid var(--dnd-gray2);
    border-radius: 4px;
    overflow: hidden;
    transition: border-color 0.2s;
    background: var(--dnd-white);
    position: relative;
}
.dnd-catalogo__link-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.dnd-catalogo__cta {
    position: relative;
    z-index: 2;
}
.dnd-catalogo__row:hover {
    border-color: var(--dnd-red);
}

.dnd-catalogo__thumb {
    background: var(--dnd-dark);
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.dnd-catalogo__thumb-placeholder {
    font-family: var(--dnd-font-d);
    font-size: 11px;
    color: #3a3a3a;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.dnd-catalogo__thumb-accent {
    display: none;
}
.dnd-catalogo__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-family: var(--dnd-font-d);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 2px;
}

.dnd-catalogo__body {
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.dnd-catalogo__name {
    font-family: var(--dnd-font-d);
    font-weight: 900;
    font-size: 36px;
    color: var(--dnd-black);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0 0 6px;
    line-height: 1;
}
.dnd-catalogo__desc {
    font-size: 13px;
    color: #666;
    line-height: 1.7;
    margin: 0 0 16px;
}

.dnd-catalogo__specs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid var(--dnd-gray2);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 16px;
}
.dnd-catalogo__spec {
    padding: 10px 12px;
    border-right: 1px solid var(--dnd-gray2);
    background: var(--dnd-gray);
}
.dnd-catalogo__spec:last-child { border-right: none; }
.dnd-catalogo__spec-val {
    font-family: var(--dnd-font-d);
    font-weight: 800;
    font-size: 16px;
    color: var(--dnd-black);
    line-height: 1;
    margin-bottom: 3px;
}
.dnd-catalogo__spec-key {
    font-size: 10px;
    color: var(--dnd-muted);
    letter-spacing: 0.04em;
}

.dnd-catalogo__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--dnd-gray2);
    flex-wrap: wrap;
    gap: 10px;
}
.dnd-catalogo__motors {
    font-size: 12px;
    color: var(--dnd-muted);
}
.dnd-catalogo__cta {
    font-family: var(--dnd-font-d);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--dnd-red);
    color: var(--dnd-white);
    padding: 10px 20px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
    text-decoration: none;
}
.dnd-catalogo__cta:hover {
    background: var(--dnd-red-dark);
    color: var(--dnd-white);
}
.dnd-catalogo__cta svg {
    width: 14px;
    height: 14px;
}

/* ============================================================
   CARDS HOME
   ============================================================ */
.dnd-home-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.dnd-home-card {
    background: var(--dnd-white);
    border: 1px solid var(--dnd-gray2);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
    position: relative;
}
.dnd-home-card__link-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.dnd-home-card__link {
    position: relative;
    z-index: 2;
}
.dnd-home-card:hover {
    transform: translateY(-4px);
    border-color: var(--dnd-red);
}

.dnd-home-card__thumb {
    background: var(--dnd-dark);
    height: 256px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}
.dnd-home-card__thumb-label {
    font-family: var(--dnd-font-d);
    font-size: 11px;
    color: #3a3a3a;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.dnd-home-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-family: var(--dnd-font-d);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 2px;
}

.dnd-home-card__body {
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.dnd-home-card__name {
    font-family: var(--dnd-font-d);
    font-weight: 900;
    font-size: 22px;
    color: var(--dnd-black);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0 0 4px;
    line-height: 1;
}
.dnd-home-card__desc {
    font-size: 0.8em;
    color: var(--dnd-muted);
    line-height: 1.3;
    margin: 0 0 12px;
    flex: 1;
}

.dnd-home-card__specs {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--dnd-gray2);
}
.dnd-home-card__spec strong {
    display: block;
    font-family: var(--dnd-font-d);
    font-weight: 700;
    font-size: 14px;
    color: var(--dnd-black);
    line-height: 1;
}
.dnd-home-card__spec span {
    font-size: 10px;
    color: var(--dnd-muted);
    margin-top: 2px;
    display: block;
}

.dnd-home-card__link {
    font-family: var(--dnd-font-d);
    font-weight: 700;
    font-size: 12px;
    color: var(--dnd-red);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: gap 0.2s;
}
.dnd-home-card:hover .dnd-home-card__link {
    gap: 10px;
}
.dnd-home-card__link svg {
    width: 14px;
    height: 14px;
}


/* ============================================================
   FICHA DE PRODUCTO
   ============================================================ */
.dnd-ficha {
    font-family: 'Raleway', sans-serif;
}

.dnd-ficha__breadcrumb {
    background: var(--dnd-gray);
    border-bottom: 1px solid var(--dnd-gray2);
    padding: 10px 24px;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 0;
    max-width: 100%;
    flex-wrap: nowrap;
    overflow: hidden;
}
.dnd-ficha__breadcrumb a,
.dnd-ficha__breadcrumb span {
    white-space: nowrap;
}
.dnd-ficha__current {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}
.dnd-ficha__breadcrumb-inner {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
}
.dnd-ficha__breadcrumb a {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #888;
    text-decoration: none;
    transition: color 0.2s;
}
.dnd-ficha__breadcrumb a:hover { color: var(--dnd-red); }
.dnd-ficha__sep { color: #ccc; font-size: 13px; }
.dnd-ficha__current { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dnd-black); }

.dnd-ficha__layout {
    display: grid;
    grid-template-columns: 1fr 512px;
    gap: 0;
    align-items: start;
    margin-top: 0;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

/* ── COLUMNA IZQUIERDA ── */
.dnd-ficha__left {
    padding: 40px 48px 60px 0;
    border-right: 1px solid var(--dnd-gray2);
}

.dnd-ficha__hero-img {
    background: var(--dnd-dark);
    border-radius: 4px;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 32px;
}
.dnd-ficha__hero-bg {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(255,255,255,0.012) 20px, rgba(255,255,255,0.012) 21px);
}
.dnd-ficha__hero-placeholder {
    font-size: 12px;
    color: #3a3a3a;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 1;
}
.dnd-ficha__hero-accent {
    display: none;
}
.dnd-ficha__badge {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 2px;
    z-index: 2;
}

.dnd-ficha__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--dnd-red);
    margin-bottom: 8px;
}
.dnd-ficha__tag::before {
    content: '';
    width: 20px;
    height: 2px;
    background: var(--dnd-red);
    display: block;
}
.dnd-ficha__name {
    font-weight: 900;
    font-size: clamp(36px, 5vw, 52px);
    line-height: 0.95;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin-bottom: 6px;
    color: var(--dnd-black);
}
.dnd-ficha__tagline {
    font-weight: 600;
    font-size: 0.9em;
    color: var(--dnd-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.dnd-ficha__desc {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 32px;
}
.dnd-ficha__desc p { margin-bottom: 12px; }
.dnd-ficha__desc p:last-child { margin-bottom: 0; }

.dnd-ficha__specs-title {
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--dnd-black);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--dnd-black);
}
.dnd-ficha__specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid var(--dnd-gray2);
    border-radius: 3px;
    overflow: clip;
    margin-bottom: 32px;
}
.dnd-ficha__spec-key {
    padding: 10px 14px;
    font-size: 14px;
    color: var(--dnd-muted);
    background: var(--dnd-gray);
    border-bottom: 1px solid var(--dnd-gray2);
    border-right: 1px solid var(--dnd-gray2);
    letter-spacing: 0.02em;
}
.dnd-ficha__spec-val {
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--dnd-black);
    background: var(--dnd-white);
    border-bottom: 1px solid var(--dnd-gray2);
}
.dnd-ficha__spec-key:last-of-type,
.dnd-ficha__spec-val:last-of-type { border-bottom: none; }

/* ── COLUMNA DERECHA ── */
.dnd-ficha__right {
    position: sticky;
    top: 80px;
    padding: 32px 0 32px 36px;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .dnd-ficha__layout { grid-template-columns: 1fr 320px; width: 100%; padding: 0; }
    .dnd-ficha__left { padding-right: 32px; }
    .dnd-ficha__right { padding-left: 24px; }
    .dnd-ficha__breadcrumb { padding: 10px 5%; }
}
@media (max-width: 768px) {
    .dnd-ficha__layout { grid-template-columns: 1fr; width: 100%; padding: 0; }
    .dnd-ficha__left { padding: 0; border-right: none; border-bottom: 1px solid var(--dnd-gray2); }
    .dnd-ficha__right { position: static; padding: 24px 0; }
    .dnd-ficha__specs-grid { grid-template-columns: 1fr 1fr; }
    .dnd-conf__form-row { grid-template-columns: 1fr; }
    .dnd-ficha__breadcrumb { padding: 10px 5%; }
    .dnd-ficha__hero-img { border-radius: 0; width: 100%; }
}
@media (max-width: 480px) {
    .dnd-ficha__name { font-size: 36px; }
    .dnd-ficha__specs-grid { grid-template-columns: 1fr; }
    .dnd-ficha__spec-key { border-right: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .dnd-catalogo__row {
        grid-template-columns: 1fr;
    }
    .dnd-catalogo__thumb {
        min-height: 200px;
    }
    .dnd-catalogo__thumb-accent {
        top: 0; left: 0; right: 0; bottom: auto;
        width: auto; height: 4px;
    }
    .dnd-catalogo__specs {
        grid-template-columns: 1fr 1fr;
    }
    .dnd-catalogo__spec:nth-child(2) { border-right: none; }
    .dnd-catalogo__spec:nth-child(3) { border-top: 1px solid var(--dnd-gray2); }
    .dnd-catalogo__spec:nth-child(4) { border-top: 1px solid var(--dnd-gray2); }
    .dnd-home-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .dnd-home-grid {
        grid-template-columns: 1fr;
    }
    .dnd-catalogo__specs {
        grid-template-columns: 1fr 1fr;
    }
    .dnd-conf__form-row {
        grid-template-columns: 1fr;
    }
}

/* ── MOBILE CONFIGURADOR — font sizes ── */
@media (max-width: 600px) {
    .dnd-conf__header-title { font-size: 22px; }
    .dnd-conf__header-sub   { font-size: 13px; }
    .dnd-conf__step-label   { font-size: 13px; }
    .dnd-conf__select       { font-size: 15px; padding: 12px 36px 12px 14px; }
    .dnd-conf__opcion-name  { font-size: 14px; }
    .dnd-conf__opcion-price { font-size: 15px; }
    .dnd-conf__price        { font-size: 40px; }
    .dnd-conf__price-label  { font-size: 12px; }
    .dnd-conf__price-sub    { font-size: 12px; }
    .dnd-conf__input        { font-size: 15px; padding: 12px 14px; }
    .dnd-conf__btn-wa       { font-size: 15px !important; padding: 14px 20px !important; }
    .dnd-conf__disclaimer   { font-size: 12px; }
    .dnd-conf__cotizacion-label { font-size: 13px; }
    .dnd-conf__cotizacion-val   { font-size: 14px; }
	.dnd-ficha__tagline {font-size: 0.8em;}
}

/* ── MOBILE ANCHOR BUTTONS — solo en mobile ── */
.dnd-ficha__mobile-anchors {
    display: none;
}
@media (max-width: 768px) {
    .dnd-ficha__mobile-anchors {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin: 16px 0 24px;
    }
    .dnd-ficha__anchor-btn {
        font-family: 'Raleway', sans-serif;
        font-weight: 700;
        font-size: 13px;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        padding: 12px 16px;
        border-radius: 3px;
        text-align: center;
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        transition: all 0.2s;
        border: none;
        cursor: pointer;
    }
    .dnd-ficha__anchor-btn--conf {
        background: var(--dnd-red);
        color: #ffffff;
    }
    .dnd-ficha__anchor-btn--conf:hover {
        background: var(--dnd-red-dark);
        color: #ffffff;
    }
    .dnd-ficha__anchor-btn--specs {
        background: var(--dnd-gray);
        color: var(--dnd-black);
        border: 1px solid var(--dnd-gray2);
    }
    .dnd-ficha__anchor-btn--specs:hover {
        background: var(--dnd-gray2);
        color: var(--dnd-black);
    }
}

/* ============================================================
   FICHA SIMPLE — Repuestos e Importados
   ============================================================ */
.dnd-ficha-simple__layout {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

/* Columna izquierda */
.dnd-ficha-simple__layout .dnd-ficha-simple__img-wrap {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 40px 48px 40px 0;
    border-right: 1px solid var(--dnd-gray2);
    background: #ffffff;
    box-sizing: border-box;
}
.dnd-ficha-simple__img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: contain;
    display: block;
    border-radius: 4px;
}
.dnd-ficha-simple__img-placeholder {
    font-size: 12px;
    color: #aaa;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Columna derecha */
.dnd-ficha-simple__info {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 40px 0 40px 36px;
    box-sizing: border-box;
}

.dnd-ficha-simple__excerpt {
    font-size: 16px;
    color: var(--dnd-black);
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 16px;
}

.dnd-ficha-simple__wa-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: #25D366 !important;
    color: #ffffff !important;
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 14px 24px;
    border-radius: 3px;
    text-decoration: none !important;
    transition: background 0.2s;
    margin-top: 24px;
    box-sizing: border-box;
}
.dnd-ficha-simple__wa-btn:hover {
    background: #1da851 !important;
    color: #ffffff !important;
}
.dnd-ficha-simple__wa-btn svg {
    width: 20px;
    height: 20px;
    fill: #ffffff;
    flex-shrink: 0;
}
.dnd-ficha-simple__wa-note {
    font-size: 11px;
    color: var(--dnd-muted);
    text-align: center;
    margin-top: 8px;
    letter-spacing: 0.04em;
}

/* Empty state */
.dnd-catalogo-simple__empty {
    padding: 80px 24px;
    text-align: center;
    background: var(--dnd-dark);
    border-radius: 4px;
}
.dnd-catalogo-simple__empty-title {
    font-family: 'Raleway', sans-serif;
    font-weight: 900;
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: var(--dnd-white);
    margin-bottom: 12px;
}
.dnd-catalogo-simple__empty-text {
    font-size: 15px;
    color: #888;
    margin-bottom: 28px;
    line-height: 1.6;
}
.dnd-catalogo-simple__empty-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--dnd-red);
    color: var(--dnd-white) !important;
    padding: 12px 28px;
    border-radius: 3px;
    text-decoration: none !important;
    transition: background 0.2s;
}
.dnd-catalogo-simple__empty-btn:hover {
    background: var(--dnd-red-dark);
    color: var(--dnd-white) !important;
}

@media (max-width: 768px) {
    .dnd-ficha-simple__layout {
        flex-direction: column;
        padding: 0 !important;
    }
    .dnd-ficha-simple__layout .dnd-ficha-simple__img-wrap {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        padding: 0;
        border-right: none;
        border-bottom: 1px solid var(--dnd-gray2);
    }
    .dnd-ficha-simple__layout .dnd-ficha-simple__img-wrap .dnd-ficha__hero-img {
        border-radius: 0;
        width: 100%;
        aspect-ratio: 1/1;
    }
    .dnd-ficha-simple__info {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 24px 20px 40px;
    }
    .dnd-ficha-simple__specs-block {
        padding: 0 0 40px;
    }
}

/* ============================================================
   PAGINACIÓN
   ============================================================ */
.dnd-paginacion {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--dnd-gray2);
}
.dnd-paginacion__btn {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 13px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    border: 1px solid var(--dnd-gray2);
    background: var(--dnd-white);
    color: var(--dnd-black) !important;
    text-decoration: none !important;
    transition: all 0.2s;
}
.dnd-paginacion__btn:hover {
    border-color: var(--dnd-red);
    color: var(--dnd-red) !important;
}
.dnd-paginacion__btn--active {
    background: var(--dnd-red) !important;
    border-color: var(--dnd-red) !important;
    color: var(--dnd-white) !important;
}

/* ── PRECIO FICHA SIMPLE ── */
.dnd-ficha-simple__precio-block {
    background: var(--dnd-dark);
    border-radius: 4px;
    padding: 16px 20px;
    margin: 20px 0;
}
.dnd-ficha-simple__precio-label {
    font-size: 10px;
    color: #666;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.dnd-ficha-simple__precio {
    font-family: 'Raleway', sans-serif;
    font-weight: 900;
    font-size: 36px;
    color: var(--dnd-white);
    line-height: 1;
    letter-spacing: -0.01em;
}
.dnd-ficha-simple__precio-sub {
    font-size: 11px;
    color: #555;
    margin-top: 5px;
}

/* ============================================================
   GALERÍA DE PRODUCTO
   ============================================================ */
.dnd-ficha__gallery {
    margin-bottom: 32px;
}
.dnd-ficha__gallery {
    width: 100%;
}
.dnd-ficha__gallery .dnd-ficha__hero-img {
    width: 100%;
    aspect-ratio: 1/1;
}
.dnd-ficha__thumbs-wrap {
    position: relative;
    margin-top: 12px;
}
/* Flechas — siempre visibles si hay galería */
.dnd-ficha__thumb-arrow {
    display: flex;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--dnd-black);
    color: var(--dnd-white);
    border: none;
    border-radius: 3px;
    width: 28px;
    height: 100%;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 2;
    transition: background 0.2s;
    padding: 0;
    line-height: 1;
}
.dnd-ficha__thumb-arrow:hover { background: var(--dnd-red); }
.dnd-ficha__thumb-arrow--prev { left: 0; }
.dnd-ficha__thumb-arrow--next { right: 0; }

/* Contenedor con scroll — ancho 100%, cada thumb ocupa 1/5 del ancho visible */
.dnd-ficha__thumbnails {
    display: flex;
    gap: 4px;
    flex-wrap: nowrap;
    overflow: hidden;
    scroll-behavior: smooth;
    padding: 0 32px;
    box-sizing: border-box;
}
/* Cada miniatura = 1/5 del ancho disponible (5 visibles en desktop) */
.dnd-ficha__thumb-item {
    flex: 0 0 calc(20% - 4px);
    aspect-ratio: 1/1;
    min-width: 0;
}
.dnd-ficha__thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Mobile: 4 visibles */
@media (max-width: 768px) {
    .dnd-ficha__thumb-item {
        flex: 0 0 calc(25% - 4px);
    }
    .dnd-ficha__gallery { overflow: hidden; }
}
.dnd-ficha__thumb-item {
    width: 72px;
    height: 72px;
    border: 2px solid var(--dnd-gray2);
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s;
    flex-shrink: 0;
}
.dnd-ficha__thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.dnd-ficha__thumb-item:hover { border-color: var(--dnd-black); }
.dnd-ficha__thumb-item.active { border-color: var(--dnd-red); }

/* Imagen principal ficha simple como background */
/* ficha-simple usa dnd-ficha__hero-img — estilos heredados */
.dnd-ficha-simple__img-wrap .dnd-ficha__hero-img {
    background-color: #ffffff;
    margin-bottom: 0;
    aspect-ratio: 1/1;
}

/* Bloque specs inferior ficha simple */
.dnd-ficha-simple__specs-block {
    max-width: 1280px;
    margin: 0 auto;
    padding: 32px 0 48px;
    box-sizing: border-box;
}
.dnd-ficha-simple__specs-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
}
@media (max-width: 900px) {
    .dnd-ficha-simple__specs-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 480px) {
    .dnd-ficha-simple__specs-grid {
        grid-template-columns: 1fr;
    }
    .dnd-ficha__spec-key { border-right: none; }
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.dnd-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}
.dnd-lightbox.open {
    display: flex;
}
.dnd-lightbox__img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 3px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.6);
    cursor: default;
    user-select: none;
}
.dnd-lightbox__close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
    padding: 4px 8px;
}
.dnd-lightbox__close:hover { opacity: 1; }
.dnd-lightbox__prev,
.dnd-lightbox__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 3px;
    color: #ffffff;
    font-size: 22px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    padding: 0;
}
.dnd-lightbox__prev { left: 20px; }
.dnd-lightbox__next { right: 20px; }
.dnd-lightbox__prev:hover,
.dnd-lightbox__next:hover { background: rgba(255,255,255,0.2); }
.dnd-lightbox__counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    font-family: 'Raleway', sans-serif;
}

/* Cursor zoom en imágenes de galería */
.dnd-ficha__hero-img,
.dnd-ficha-simple__main-img { cursor: zoom-in; }
