/*-------
            estilos g
        --------------------- */
        body{
            font-family: "Segoe UI", sans-serif;
        }

        .t-img{
            width: 55px;
            height: 55px;
            border-radius: 55px;
        }

        

        h1, h2, h3, h5{
            font-weight: 700;
        }
        .carousel-3d-container {
    width: 100%;
    height: 280px; /* más pequeño */
    perspective: 900px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* evita que se salga */
}

.carousel-3d {
    width: 180px;  /* más pequeño */
    height: 180px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 1s ease;
}

.carousel-3d .item {
    position: absolute;
    width: 180px;
    height: 180px;
    left: 0;
    top: 0;
    text-align: center;
    transform-style: preserve-3d;
}

.carousel-3d .item img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 10px;
}

.carousel-3d .item h4 {
    margin-top: 5px;
    color: white;
    font-size: 16px;
}
        /* ---------------------
            ACORDEON
        --------------------- */
        .accordion-button{
            background-color: #000000;
        }


.user-icon {
    width: 10px;
    height: 10px;
    border-radius: 10%;
    cursor: pointer;
}

.user-menu-container {
    position: relative;
}

.dropdown-menu {
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.dropdown-menu.show {
    opacity: 1;
    transform: translateY(0);
}
        .fade-content {
    display: none;
    transition: opacity .3s ease-in-out;
}
.fade-content.show {
    display: block;
    opacity: 1;
}

.btn-tab {
    border-radius: 0;
    font-weight: 500;
}


.preview-slider {
    position: relative;
    width: 100px;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

.preview-slider .slide {
    position: absolute;
    width: 100px;
    opacity: 0.4;
    transform: scale(0.8);
    transition: all .5s ease;
}

.preview-slider .slide img {
    width: 100px;
    border-radius: 12px;
}

.preview-slider .slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 3;
}

.preview-slider .slide.left {
    transform: translateX(-60%) scale(0.8);
    opacity: 0.6;
    z-index: 2;
}

.preview-slider .slide.right {
    transform: translateX(60%) scale(0.8);
    opacity: 0.6;
    z-index: 2;
}
.preview-slider {
    position: relative;
    width: 100px;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

.preview-slider .slide {
    position: absolute;
    width: 100px;
    opacity: 0.4;
    transform: scale(0.8);
    transition: all .5s ease;
    text-align: center;
}

.preview-slider .slide img {
    width: 100px;
    border-radius: 12px;
}

.preview-slider .slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 3;
}

.preview-slider .slide.left {
    transform: translateX(-70%) scale(0.8);
    opacity: 0.6;
    z-index: 2;
}

.preview-slider .slide.right {
    transform: translateX(70%) scale(0.8);
    opacity: 0.6;
    z-index: 2;
}

.caption {
    margin-top: 12px;
    font-size: 15px;
}

.controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.ctrl-btn {
    background: #ffffff22;
    border: 1px solid #fff;
    color: white;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 22px;
    cursor: pointer;
    transition: .2s;
}

.ctrl-btn:hover {
    background: #ffffff44;
}
/* ---------- Tarjetas de jabones (Home) ---------- */
.jab-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    justify-items: center;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.jab-card {
    width: 100%;
    max-width: 340px;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(250,250,250,0.98));
    border: 1px solid rgba(11,139,184,0.06);
    box-shadow: 0 10px 30px rgba(11,139,184,0.06);
    transition: transform .28s ease, box-shadow .28s ease;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}
.jab-card:hover{
    transform: translateY(-10px);
    box-shadow: 0 18px 40px rgba(11,139,184,0.12);
}
.jab-card .card-img-top{
    width: 100%;
    height: 220px;
    object-fit: cover;
}

@media (max-width: 992px){
    .jab-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px){
    .jab-grid{ grid-template-columns: 1fr; }
    .jab-card{ max-width: 100%; }
}

/* ===== RESPONSIVE GENERAL (agregado) ===== */
@media (max-width: 768px) {
    .carousel-3d-container { height: 220px; }
    .carousel-3d { width: 130px; height: 130px; }
    .carousel-3d .item { width: 130px; height: 130px; }
    .carousel-3d .item img { height: 100px; }
    .carousel-3d .item h4 { font-size: 13px; }
}
@media (max-width: 480px) {
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.3rem; }
}