/* ================================================================
   FOOTER MODERNO TRENDY LANE  (prefijo tlf- para no chocar con site.css)
   Usa la misma paleta de :root definida en site.css
   ================================================================ */

.tlf {
    position: relative;
    background: radial-gradient(120% 140% at 0% 0%, #5a3a25 0%, #2b1a0e 55%, #1c1009 100%);
    color: var(--tl-beige);
    margin-top: 3rem;
    font-size: 0.95rem;
}

    /* Línea superior con degradado cobre -> champagne */
    .tlf::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--tl-copper), var(--tl-champagne), var(--tl-copper));
    }

/* ---------- Zona principal: 4 columnas ---------- */
.tlf-main {
    display: grid;
    grid-template-columns: 1fr 1fr;      /* móvil: Tienda e Información lado a lado */
    gap: 2.2rem 1.25rem;
    padding: 3.5rem 0 2.5rem;
}

/* En móvil, Marca y Contáctanos ocupan todo el ancho */
@media (max-width: 575.98px) {
    .tlf-col--full {
        grid-column: 1 / -1;
    }
}

@media (min-width: 576px) {
    .tlf-main {
        grid-template-columns: repeat(2, 1fr);   /* tablet: 2 columnas */
        gap: 2.2rem;
    }
}

@media (min-width: 992px) {
    .tlf-main {
        grid-template-columns: 1.5fr 1fr 1fr 1.4fr;  /* escritorio: 4 columnas */
        gap: 2.5rem;
    }
}

/* ---------- Columna de marca ---------- */
.tlf-brand-name {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--tl-white);
    text-decoration: none;
    letter-spacing: 0.5px;
}

    .tlf-brand-name i {
        color: var(--tl-champagne);
        font-size: 1.25rem;
    }

    .tlf-brand-name:hover {
        color: var(--tl-champagne);
    }

.tlf-slogan {
    font-family: 'Great Vibes', cursive;
    color: var(--tl-champagne);
    font-size: 1.45rem;
    line-height: 1.3;
    margin: 0.5rem 0 0.75rem;
}

.tlf-desc {
    color: rgba(245, 237, 230, 0.75);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    max-width: 34ch;
}

/* Botón reseña Google */
.tlf-review {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    background: var(--tl-copper);
    color: var(--tl-white);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 6px 18px rgba(181, 98, 42, 0.35);
    transition: background 0.25s ease, transform 0.25s ease;
}

    .tlf-review:hover {
        background: var(--tl-copper-dk);
        color: var(--tl-white);
        transform: translateY(-2px);
    }

/* ---------- Títulos de columna ---------- */
.tlf-title {
    color: var(--tl-champagne);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    margin-bottom: 1.1rem;
    padding-bottom: 0.6rem;
    position: relative;
}

    /* Rayita cobre debajo del título */
    .tlf-title::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 32px;
        height: 2px;
        border-radius: 2px;
        background: var(--tl-copper);
    }

/* ---------- Listas de enlaces ---------- */
.tlf-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .tlf-links li {
        margin-bottom: 0.6rem;
    }

    .tlf-links a {
        color: rgba(245, 237, 230, 0.8);
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 0.45rem;
        transition: color 0.2s ease, transform 0.2s ease;
    }

        .tlf-links a i {
            color: var(--tl-copper);
            font-size: 0.75rem;
            transition: color 0.2s ease;
        }

        .tlf-links a:hover {
            color: var(--tl-white);
            transform: translateX(4px);
        }

            .tlf-links a:hover i {
                color: var(--tl-champagne);
            }

/* ---------- Contáctanos ---------- */
.tlf-contact {
    list-style: none;
    padding: 0;
    margin: 0 0 1.6rem;
}

    .tlf-contact li {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 0.85rem;
    }

    .tlf-contact a,
    .tlf-contact span {
        color: rgba(245, 237, 230, 0.85);
        text-decoration: none;
        word-break: break-word;
    }

        .tlf-contact a:hover {
            color: var(--tl-white);
        }

/* Icono dentro de un círculo suave */
.tlf-contact-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 201, 154, 0.12);
    color: var(--tl-champagne) !important;
    font-size: 1rem;
}

/* ---------- Síguenos (redes) ---------- */
.tlf-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

    .tlf-social a {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: var(--tl-champagne);
        border: 1px solid rgba(232, 201, 154, 0.35);
        font-size: 1.1rem;
        text-decoration: none;
        transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
    }

        .tlf-social a:hover {
            background: var(--tl-copper);
            border-color: var(--tl-copper);
            color: var(--tl-white);
            transform: translateY(-3px);
        }

/* ---------- Barra inferior ---------- */
.tlf-bottom {
    border-top: 1px solid rgba(232, 201, 154, 0.18);
    padding: 1.4rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

@media (min-width: 992px) {
    .tlf-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.tlf-copy {
    color: rgba(245, 237, 230, 0.65);
    font-size: 0.85rem;
    margin: 0;
}

/* Crédito del desarrollador (RMS CodeCraft) */
.tlf-dev {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 1rem;
    border-radius: 14px;
    background: rgba(232, 201, 154, 0.07);
    border: 1px solid rgba(232, 201, 154, 0.15);
    text-align: left;
}

.tlf-dev-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--tl-copper);
    color: var(--tl-white);
}

.tlf-dev-text {
    font-size: 0.8rem;
    line-height: 1.45;
    color: rgba(245, 237, 230, 0.7);
}

    .tlf-dev-text a {
        color: var(--tl-champagne);
        font-weight: 700;
        text-decoration: none;
    }

        .tlf-dev-text a:hover {
            color: var(--tl-white);
        }

.tlf-dev-role {
    display: block;
}

.tlf-dev-phrase {
    display: block;
    font-style: italic;
    opacity: 0.8;
}

/* Espacio para que el botón flotante de WhatsApp no tape el crédito en móvil */
@media (max-width: 575.98px) {
    .tlf-bottom {
        padding-bottom: 5rem;
    }
}

/* ================================================================
   ENVÍOS Y CAMBIOS (página de producto)
   ================================================================ */
.tl-envios {
    display: grid;
    gap: 0.75rem;
    padding: 1.1rem 1.2rem;
    border-radius: 16px;
    background: var(--tl-beige);
    border: 1px solid var(--tl-blush);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.tl-envios-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

    .tl-envios-item strong {
        display: block;
        color: var(--tl-brown);
        font-size: 0.95rem;
    }

    .tl-envios-item span:not(.tl-envios-icon) {
        display: block;
        color: var(--tl-brown-md);
        font-size: 0.85rem;
        line-height: 1.45;
    }

.tl-envios-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--tl-copper);
    color: var(--tl-white);
    font-size: 1rem;
}

/* Enlace de categoría en la ficha de producto: color de marca en vez del azul por defecto */
.trendy-detalle-info p a {
    color: var(--tl-copper);
    font-weight: 600;
    text-decoration: none;
}

    .trendy-detalle-info p a:hover {
        color: var(--tl-copper-dk);
        text-decoration: underline;
    }

/* ================================================================
   NUESTRA HISTORIA - PORTADA (versión compacta)
   ================================================================ */
.tlh-historia {
    background: var(--tl-blush);
    padding: 36px 0;                 /* antes 60px: sección más baja */
}

.tlh-inner {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 36px;
}

/* Logo más pequeño (antes ocupaba media sección) */
.tlh-logo-wrap {
    flex: 0 0 auto;
}

.tlh-logo {
    width: 190px;
    height: 190px;
    object-fit: contain;
    border-radius: 50%;
    background: var(--tl-white);
    padding: 10px;
    box-shadow: 0 8px 26px rgba(43, 26, 14, 0.14);
}

.tlh-texto {
    flex: 1;
    color: var(--tl-brown-md);
    font-size: 0.97rem;
    line-height: 1.65;
}

    .tlh-texto p {
        margin-bottom: 0.8rem;
    }

    .tlh-texto strong {
        color: var(--tl-brown);
    }

.tlh-titulo {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--tl-copper) !important;
    margin-bottom: 0.8rem;
}

.tlh-firma {
    font-style: italic;
    font-weight: 600;
    color: var(--tl-copper-dk);
}

.tlh-acciones {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem 1.2rem;
    margin-top: 0.4rem;
}

/* Botón Leer más / Leer menos */
.tlh-btn {
    border: 2px solid var(--tl-copper);
    background: transparent;
    color: var(--tl-copper);
    font-weight: 600;
    padding: 0.45rem 1.2rem;
    border-radius: 50px;
    transition: background 0.2s ease, color 0.2s ease;
}

    .tlh-btn:hover {
        background: var(--tl-copper);
        color: var(--tl-white);
    }

    /* Cambia el texto del botón según si está abierto o cerrado */
    .tlh-btn .tlh-menos,
    .tlh-btn[aria-expanded="true"] .tlh-mas {
        display: none;
    }

    .tlh-btn[aria-expanded="true"] .tlh-menos {
        display: inline;
    }

.tlh-link {
    color: var(--tl-copper);
    font-weight: 600;
    text-decoration: none;
}

    .tlh-link:hover {
        color: var(--tl-copper-dk);
        text-decoration: underline;
    }

/* Celular: logo arriba y texto centrado */
@media (max-width: 767.98px) {
    .tlh-inner {
        flex-direction: column;
        text-align: center;
        gap: 18px;
    }

    .tlh-logo {
        width: 140px;
        height: 140px;
    }

    .tlh-acciones {
        justify-content: center;
    }
}

/* ================================================================
   NOSOTROS: historia completa (texto más largo)
   ================================================================ */
.tl-about-text {
    max-width: 640px;
}

.tl-about-firma {
    font-style: italic;
    font-weight: 600;
    color: var(--tl-copper-dk);
}

.trendy-banner-img {
    height: clamp(380px, 41.2vw, 820px);
    object-position: center center;
}


.trendy-table-card {
    overflow-x: auto;                  /* scroll horizontal cuando la tabla no cabe */
    -webkit-overflow-scrolling: touch; /* desplazamiento suave en iPhone/iPad */
}

/* Tabla de pedidos: tiene 11 columnas; con este mínimo se desplaza
   en vez de partir el código, la fecha y el cliente en 3 líneas */
.tlp-tabla-pedidos {
    min-width: 1150px;
}

/* Botones de acciones siempre en una sola línea */
.acciones-cell {
    white-space: nowrap;
}
