/* Estilos para la página Nosotros */

/* Estilos adicionales para estabilizar la tienda */
#tienda_contenido {
    min-height: 200px;
    position: relative;
}

#tienda_contenido .product-item {
    min-height: 350px;
    display: flex;
    flex-direction: column;
}

#tienda_contenido .product-item-image {
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
}

.product-item-image img {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

#tienda_contenido .product-item-image img.loading {
    opacity: 0.5;
}

#tienda_contenido .product-item-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px 0;
}

/* Evitar parpadeo durante la carga */
#tienda_v {
    transition: opacity 0.2s ease;
}

#tienda_v.loading {
    opacity: 0.8;
}

/* Estilos locales (no afectan otras páginas) */
.about-page {
    /* padding: 15px 0 50px 0;  menos espacio arriba y abajo */
    background: #fff;
}

/* HERO */
.about-hero-shell {
    width: 100vw;                 /* ocupa todo el ancho de la ventana */
    margin-left: 50%;
    transform: translateX(-50%);  /* centrado "full bleed" */
}

.about-hero-shell .container {
    max-width: 100%;              /* quita el límite de ancho del container */
    padding-left: 0;
    padding-right: 0;
}

.about-hero {
    position: relative;
    border-radius: 0;             /* sin esquinas redondeadas, llega al borde */
    overflow: hidden;
    box-shadow: none;             /* sin sombra tipo tarjeta */
    height: 65vh;                 /* altura aumentada para mejor visualización */
    min-height: 380px;           /* evita que quede muy baja en laptops pequeñas */
}

.about-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;            /* recorta sin deformar la foto */
    display: block;
}

.about-hero__overlay {
    position: absolute;
    inset: 0;
    /* Overlay oscuro a la izquierda para mejor contraste, transparente a la derecha */
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.35) 40%, rgba(0, 0, 0, 0) 75%);
}

.about-hero__content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;           /* centra verticalmente */
    justify-content: center;       /* centra horizontalmente */
    padding: 0 22px;               /* solo espacio lateral */
    text-align: left;
}

.about-hero__content h2 {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 10px 0;
    color: #ffffff;                         /* título blanco */
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.6);
}

.about-hero__content p {
    margin: 0 0 16px 0;
    color: #ffcc21;                         /* subtítulo amarillo corporativo */
    font-weight: 600;
    max-width: 560px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6); /* sombra oscura para legibilidad */
}

.about-hero__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.about-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 18px;
    border-radius: 8px;
    border: 1px solid #ffcc21;      /* amarillo corporativo */
    background: #ffcc21;
    color: #000000;                 /* texto negro */
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35); /* resaltado sobre fondo oscuro */
}

.about-hero__btn--ghost {
    background: transparent;
    color: #ffcc21;                 /* texto amarillo */
    border-color: #ffcc21;          /* borde amarillo */
}

/* Estados hover: texto blanco en ambos botones */
.about-hero__btn:hover {
    color: #ffffff !important;
}

.about-hero__btn--ghost:hover {
    color: #ffffff !important;
    background: rgba(255, 204, 33, 0.15);
}

/* SERVICES */
.about-services {
    padding-top: 45px;
}

.about-services__kicker {
    text-align: center;
    color: #7a7f81;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.about-services__title {
    text-align: center;
    font-size: 34px;
    font-weight: 700;
    margin: 0 0 28px 0;
    color: #1A2224;
}

.about-card {
    height: 100%;
    background: #fff;
    border: 1px solid #eef0f2;
    border-radius: 14px;
    padding: 26px 18px;
    text-align: center;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

.about-card__icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 14px auto;
    border-radius: 999px;
    background: #ffcc21;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 18px rgba(255, 204, 33, 0.25);
}

.about-card__icon svg {
    width: 30px;
    height: 30px;
}

.about-card h5 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #1A2224;
}

.about-card p {
    margin: 0 15px;
    color: #6b7173;
    font-size: 14px;
    line-height: 1.55;
    text-align: justify;
}

.about-services__cta {
    text-align: center;
    margin-top: 22px;
}

.about-services__cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 18px;
    border-radius: 10px;
    background: #1f6fff;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 12px 22px rgba(31, 111, 255, 0.25);
}

.categories-wrapper {
    position: relative;
}
.categories-wrapper .slick-slide {
    margin: 0 15px;
}
.categories-wrapper .slick-list {
    margin: 0 -15px;
}
.categories-wrapper .slider-arrows {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 10px;
}
.categories-wrapper .slider-arrows .prev-arrow-cat,
.categories-wrapper .slider-arrows .next-arrow-cat {
    cursor: pointer;
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    transition: background 0.2s;
    line-height: 0;
}
.categories-wrapper .slider-arrows .prev-arrow-cat:hover,
.categories-wrapper .slider-arrows .next-arrow-cat:hover {
    background: #ffcc21;
}
.categories-wrapper .slick-dots {
    margin-top: 20px;
}

@media (max-width: 575px) {
    .about-hero__content h2 { font-size: 24px; }
    .about-hero__content { padding: 14px; }
    .about-hero__overlay {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.70) 0%, rgba(255, 255, 255, 0.32) 45%, rgba(255, 255, 255, 0) 80%);
    }
}
