body {
    background: #232730;
    color: #e3e8ee;
}

/* Tarjeta principal del detalle */
.dp-card {
    background: #3d4753;
    border-radius: 18px;
    box-shadow: 0 4px 28px rgba(34,40,49,0.09), 0 1.5px 8px rgba(150,160,170,0.13);
    color: #fff;
    border: none;
}

.dp-info-card {
    background: #3d4753;
    color: #fff;
    border-radius: 18px;
    border: 2.5px solid rgba(255,255,255,0.32);  /* Borde blanco 3D */
    box-shadow:
        0 6px 30px 0 rgba(34,40,49,0.20),       /* Sombra principal */
        0 1.5px 12px 0 rgba(140,160,170,0.13);  /* Sombra secundaria */
    position: relative;
    z-index: 2;   /* Opcional, para que se vea arriba si hay overlays */
}



/* Imagen y miniaturas */
.dp-img-container {
    background: #566478;
    border-radius: 18px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.dp-img {
    width: 100%;
    object-fit: contain;
    background: #566478;
    border-radius: 18px;
    transition: transform 0.26s cubic-bezier(.3,1.5,.5,1), filter 0.23s, box-shadow 0.2s;
    will-change: transform;
    cursor: pointer;
    
}

.dp-img-container:hover .dp-img,
.dp-img-container:focus-within .dp-img {
}



/* Miniaturas */
.dp-thumb {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow 0.2s, filter 0.2s;
    background: #566478;
}
.dp-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.dp-thumb:hover {
    box-shadow: 0 2px 12px rgba(255,109,109,0.18);
    filter: brightness(0.92);
}

/* Título, precio y botón */
.dp-title {
    font-size: 1.28rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}
.dp-price {
    color: #fff;
    font-weight: 900;
    font-size: 1.7rem;
    margin-bottom: .5rem;
}
.dp-btn-coral {
    font-size: 1rem;
    border-radius: 18px;
    padding: 0.8rem 2.2rem;
    background: #ff6d6d;          /* ← Color sólido coral, sin degradado */
    color: #fff !important;
    border: none;
    font-weight: 700;
    transition: background .18s;
    box-shadow: 0 2px 8px rgba(140,50,50,.13);
    width: 100%;
}
.dp-btn-coral:hover, .dp-btn-coral:focus {
    background: #ff5252;
    color: #fff !important;
}

/* Secciones detalle, descripción y ficha técnica */
.dp-section {
    background: #3d4753;
    color: #e3e8ee;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(34,40,49,0.09);
    padding: 2.3rem 2.4rem 2.6rem 2.4rem;  /* ← Más padding, sobre todo a los lados */
    margin-bottom: 2.5rem;
}


.dp-section h2, .dp-section h3, .dp-section h4 {
    font-weight: 900;
    color: #fff;
    margin-top: 1.6em;
    margin-bottom: 0.7em;
}
.dp-section ul {
    margin-left: 1.4em;
}
.dp-section ul li {
    margin-bottom: .6em;
    font-size: 1.09em;
}
.dp-section ul li i {
    color: #5ee77e;
    font-size: 1.18em;
    margin-right: 0.6em;
    vertical-align: -1px;
}
.dp-section .badge {
    background: linear-gradient(90deg,#fd6b6b 10%, #ffcb60 80%);
    color: #232730;
    font-weight: 700;
    font-size: .97em;
    padding: 0.18em 0.8em;
    border-radius: 0.8em;
    margin-left: .45em;
}




/* Ficha técnica tabla */
.dp-table th, .dp-table td {
    background: transparent !important;
    color: #e3e8ee;
    border-color: #3d4753;
    padding: 0.8rem;
}

/* Productos relacionados */
.dp-rel-card {
    background: #3d4753;
    color: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(34,40,49,0.09);
}
.dp-rel-card .card-title {
    color: #fff;
}
.dp-rel-card .text-success {
    color: #ff6d6d !important;
}


.dp-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: none;
}

.dp-table tr {
    transition: background 0.14s;
}

.dp-table tr:hover {
    background: #343c47;
}

.dp-table td {
    background: transparent !important;
    color: #e3e8ee;
    border-top: 1.5px solid #2a313b;
    padding: 0.95rem 0.7rem;
    font-size: 1.08rem;
    vertical-align: middle;
    /* Opcional: sutil sombra interior */
    box-shadow: inset 0 1px 0 0 #23273022;
}

.dp-table td:first-child,
.dp-table td:nth-child(3) {
    color: #7fc7ff;
    font-weight: 600;
    letter-spacing: .02em;
    font-size: 1.08rem;
    width: 22%;
    border-radius: 12px 0 0 12px;
}

.dp-table td:nth-child(2),
.dp-table td:nth-child(4) {
    color: #fff;
    font-weight: 400;
    border-radius: 0 12px 12px 0;
}

.dp-table tr:first-child td {
    border-top: none;
}

a,
.dp-section a,
.dp-section a:visited {
    color: #ff6d6d;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.17s;
}

a:hover,
.dp-section a:hover,
.dp-section a:focus {
    color: #ff5252;
    text-decoration: underline;
}


.dp-btn-coral-rounded, .dp-btn-coral {
    font-size: 1.13rem;
    border-radius: 22px;
    padding: 1.05rem 2.2rem;
    background: #ff6d6d; /* ← color coral plano */
    color: #fff !important;
    border: none;
    font-weight: 700;
    box-shadow: 0 4px 18px 0 rgba(255,109,109,.13);
    transition: background .19s, transform .12s, box-shadow .14s;
    display: inline-block;
    text-align: center;
}
.dp-btn-coral-rounded:hover,
.dp-btn-coral-rounded:focus,
.dp-btn-coral:hover,
.dp-btn-coral:focus {
    background: #ff5252;  /* ← tono coral más oscuro plano en hover */
    color: #fff !important;
    transform: scale(1.055);
    box-shadow: 0 8px 28px 0 rgba(255,109,109,.18);
}

.dp-btn-demo-rounded, .dp-btn-demo {
    font-size: 1.09rem;
    border-radius: 22px;
    padding: 1.05rem 2.2rem;
    background: #289be6   ; /* ← color azul plano */
    color: #fff !important;
    border: none;
    font-weight: 700;
    box-shadow: 0 4px 18px 0 rgba(49,198,255,.10);
    text-decoration: none !important;
    transition: background .16s, transform .13s, box-shadow .14s;
    display: inline-block;
    text-align: center;
}
.dp-btn-demo-rounded:hover,
.dp-btn-demo-rounded:focus,
.dp-btn-demo:hover,
.dp-btn-demo:focus {
    background: #2196f3 ;  /* ← azul más fuerte plano en hover */
    color: #fff !important;
    transform: scale(1.045);
    box-shadow: 0 8px 24px 0 rgba(49,198,255,.18);
}


.dp-digital-info ul li {
    margin-bottom: 0.65em;
    line-height: 1.38;
}
.dp-digital-info ul li:last-child {
    margin-bottom: 0; /* El último sin margen extra */
}


.modal-img-max {
    max-width: 90vw;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    display: block;
    background: #f8fafb;
    border-radius: 18px;
    box-shadow: 0 6px 32px rgba(30, 49, 65, 0.14);
}

.btn-close-custom {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 20;
    background: #232730;
    color: #fff;
    border: 2px solid #fff5;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 1.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px 0 #0007;
    transition: background .18s, border-color .12s, color .16s;
}
.btn-close-custom:hover,
.btn-close-custom:focus {
    background: #1a1d24;
    border-color: #ff6d6d7a;
    color: #ff6d6d;
}
.btn-close-custom i {
    pointer-events: none;
}


/* Coral personalizado para íconos */
.text-coral { color: #ff6d6d !important; }
.text-coral:hover, .btn-favorito:hover .text-coral {
    color: #ffb49c !important; /* Coral claro al hover */
}

/* Botón favorito redondo o no, como gustes: */
.btn-favorito {
    background: transparent !important;
    border: none !important;    /* O border: 2px solid #ff6d6d; si lo quieres redondo y con borde coral */
    border-radius: 50%;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    transition: border-color 0.17s, box-shadow 0.16s, background 0.18s;
    color: #ff6d6d;
}
.btn-favorito:hover, .btn-favorito:focus {
    background: #2a2c36; /* Un leve fondo oscuro al hover */
}
.btn-favorito .bi-heart, .btn-favorito .bi-heart-fill {
    transition: color 0.18s;
}

