/* SIXILANG - Home | Estilos propios de la portada.
   Cargar DESPUÉS de site.css para prevalecer sobre estilos base.
   No modifica los estilos de About, Collections ni News. */

/* Fabrica.jpg: sin width ni height forzados; escala proporcional y centrada. */
.hero-grid > .hero-art {
    position: relative !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    align-self: stretch !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

    /* Ocultamos los adornos de la versión antigua del hero. */
    .hero-grid > .hero-art::before,
    .hero-grid > .hero-art::after,
    .hero-grid > .hero-art .circle {
        display: none !important;
        content: none !important;
    }

    .hero-grid > .hero-art > img.knife-img,
    .hero-grid > .hero-art > img.knife-img:hover {
        position: static !important;
        inset: auto !important;
        display: block !important;
        flex: 0 1 auto !important;
        width: auto !important;
        height: auto !important;
        min-width: 0 !important;
        min-height: 0 !important;
        max-width: 100% !important;
        max-height: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        object-fit: contain !important;
        object-position: center center !important;
        transform: none !important;
        rotate: none !important;
        animation: none !important;
        transition: none !important;
        filter: none !important;
        z-index: 1 !important;
    }

    /* Los rótulos del hero no modifican el tamaño de la foto. */
    .hero-grid > .hero-art .hero-side,
    .hero-grid > .hero-art .hero-count {
        z-index: 2;
    }

/* Vídeo local de la sección Our Story. */
.story-photo {
    position: relative;
    overflow: hidden;
}

    .story-photo .story-video {
        position: absolute;
        inset: 0;
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

/* Iconos sociales del footer. */
.footer-socials {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.footer .footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(71,54,42,.28);
    border-radius: 50%;
    color: #352820;
    text-decoration: none;
    transition: background-color .2s, color .2s, border-color .2s;
}

    .footer .footer-socials a:hover,
    .footer .footer-socials a:focus-visible {
        background: #352820;
        color: #fff;
        border-color: #352820;
    }

.footer-socials svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Adaptación móvil. La altura de escritorio permanece según site.css. */
@media (max-width: 720px) {
    .hero-grid > .hero-art {
        min-height: 0 !important;
    }

    .story-photo .story-video {
        object-position: center;
    }
}

/* Fotografías reales de Supabase Storage */
.p-image .product-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    box-sizing: border-box;
}

.modal-picture .product-photo {
    display: block;
    width: 100%;
    max-height: 100%;
    object-fit: contain;
}


/* Product photo gallery: main image + selectable thumbnails */
.six-gallery, .six-collections-gallery {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    gap: 14px
}

.six-gallery-main, .six-collections-gallery-main {
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0
}

    .six-gallery-main img, .six-collections-gallery-main img {
        display: block;
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
        transform: none;
        filter: none
    }

.six-gallery-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    justify-content: center
}

    .six-gallery-thumbs:empty {
        display: none
    }

.six-gallery-thumb {
    width: 66px;
    height: 66px;
    flex: 0 0 66px;
    border: 2px solid transparent;
    border-radius: 6px;
    background: #fffaf4;
    padding: 4px;
    cursor: pointer;
    transition: border-color .2s,transform .2s
}

    .six-gallery-thumb:hover {
        transform: translateY(-2px);
        border-color: #9d8975
    }

    .six-gallery-thumb.active {
        border-color: #6e4d34;
        box-shadow: 0 2px 10px #31211320
    }

    .six-gallery-thumb:focus-visible {
        outline: 3px solid #977353;
        outline-offset: 2px
    }

    .six-gallery-thumb img {
        display: block;
        width: 100%;
        height: 100%;
        max-height: none;
        object-fit: contain;
        transform: none;
        filter: none
    }

@media(max-width:720px) {
    .six-gallery-main, .six-collections-gallery-main {
        height: 210px
    }

    .modal-picture:has(.six-gallery) {
        height: auto;
        min-height: 245px
    }

    .six-gallery-thumb {
        width: 55px;
        height: 55px;
        flex-basis: 55px
    }
}


/* Galería: una imagen principal y SOLO las demás como miniaturas. */
.modal-picture:has(.six-gallery), .catalog-dialog-art:has(.six-collections-gallery) {
    overflow: hidden;
    min-width: 0;
}

.modal-picture .six-gallery, .catalog-dialog-art .six-collections-gallery {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.modal-picture .six-gallery-main, .catalog-dialog-art .six-collections-gallery-main {
    width: 100%;
    height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

    .modal-picture .six-gallery-main > img, .catalog-dialog-art .six-collections-gallery-main > img {
        display: block !important;
        width: auto !important;
        height: auto !important;
        max-width: 100% !important;
        max-height: 230px !important;
        object-fit: contain !important;
    }

.modal-picture .six-gallery-thumbs, .catalog-dialog-art .six-gallery-thumbs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
}

    .modal-picture .six-gallery-thumbs:empty, .catalog-dialog-art .six-gallery-thumbs:empty {
        display: none !important;
    }

.modal-picture button.six-gallery-thumb, .catalog-dialog-art button.six-gallery-thumb {
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 0 !important;
    width: 68px !important;
    height: 68px !important;
    flex: 0 0 68px !important;
    padding: 5px !important;
    margin: 0 !important;
    border: 1px solid #c9b9a6 !important;
    border-radius: 5px !important;
    background: #fffaf5 !important;
    overflow: hidden !important;
    cursor: pointer;
}

    .modal-picture button.six-gallery-thumb img, .catalog-dialog-art button.six-gallery-thumb img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
        position: static !important;
        transform: none !important;
        filter: none !important;
    }

    .modal-picture button.six-gallery-thumb:hover, .catalog-dialog-art button.six-gallery-thumb:hover {
        border-color: #765943 !important;
        box-shadow: 0 3px 10px #0002;
    }

@media(max-width:640px) {
    .modal-picture:has(.six-gallery) {
        height: auto !important;
        min-height: 260px
    }

    .modal-picture .six-gallery-main, .catalog-dialog-art .six-collections-gallery-main {
        height: 185px
    }

        .modal-picture .six-gallery-main > img, .catalog-dialog-art .six-collections-gallery-main > img {
            max-height: 185px !important
        }

    .modal-picture button.six-gallery-thumb, .catalog-dialog-art button.six-gallery-thumb {
        width: 58px !important;
        height: 58px !important;
        flex-basis: 58px !important
    }
}


/* SIXILANG – Galería de producto definitiva (miniaturas de 48 px).
   Estilos específicos para impedir que reglas generales de imágenes/botones las agranden. */
#modalPicture .six-gallery,
#detailDialog .six-collections-gallery {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    gap: 14px !important;
    box-sizing: border-box !important;
}

#modalPicture .six-gallery-main,
#detailDialog .six-collections-gallery-main {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 260px !important;
    min-height: 0 !important;
    max-height: 260px !important;
    flex: 0 0 260px !important;
    overflow: hidden !important;
}

    #modalPicture .six-gallery-main > img,
    #detailDialog img#detailImage {
        display: block !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        max-width: 95% !important;
        max-height: 250px !important;
        min-width: 0 !important;
        min-height: 0 !important;
        object-fit: contain !important;
        object-position: center !important;
        transform: none !important;
        filter: none !important;
        margin: auto !important;
    }

#modalPicture .six-gallery-thumbs,
#detailDialog #collectionsGallery {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    min-height: 0 !important;
}

    #modalPicture .six-gallery-thumbs:empty,
    #detailDialog #collectionsGallery:empty {
        display: none !important;
    }

    #modalPicture .six-gallery-thumbs button.six-gallery-thumb,
    #detailDialog #collectionsGallery button.six-gallery-thumb {
        display: flex !important;
        position: static !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
        max-width: 60px !important;
        min-height: 60px !important;
        max-height: 60px !important;
        flex: 0 0 60px !important;
        padding: 3px !important;
        margin: 0 !important;
        border: 1px solid #bca996 !important;
        border-radius: 5px !important;
        background: #fff !important;
        overflow: hidden !important;
        cursor: pointer !important;
        transform: none !important;
        box-shadow: none !important;
        aspect-ratio: 1/1 !important;
    }

        #modalPicture .six-gallery-thumbs button.six-gallery-thumb > img,
        #detailDialog #collectionsGallery button.six-gallery-thumb > img {
            display: block !important;
            position: static !important;
            box-sizing: border-box !important;
            width: 40px !important;
            height: 40px !important;
            min-width: 0 !important;
            max-width: 40px !important;
            min-height: 0 !important;
            max-height: 40px !important;
            object-fit: contain !important;
            object-position: center !important;
            transform: none !important;
            filter: none !important;
            padding: 0 !important;
            margin: 0 !important;
        }

        #modalPicture .six-gallery-thumbs button.six-gallery-thumb:hover,
        #detailDialog #collectionsGallery button.six-gallery-thumb:hover {
            border-color: #6e4d34 !important;
            box-shadow: 0 0 0 2px #aa856b40 !important;
        }

@media(max-width:640px) {
    #modalPicture .six-gallery-main, #detailDialog .six-collections-gallery-main {
        height: 210px !important;
        max-height: 210px !important;
        flex-basis: 210px !important;
    }

        #modalPicture .six-gallery-main > img, #detailDialog img#detailImage {
            max-height: 200px !important;
        }
}

/* ===============================================================
   SIXILANG | HERO HOME DEFINITIVO - RESPONSIVE
   Una unica fuente de estilos, sin reglas antiguas superpuestas.
   Se mantiene la imagen completa en escritorio, y texto a derecha.
   =============================================================== */

html body section#home.six-hero-banner {
    position: relative;
    display: block;
    isolation: isolate;
    width: 100%;
    min-height: 0;
    height: auto;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #eee5dc;
}

html body #home.six-hero-banner > img.six-hero-image {
    display: block;
    position: relative;
    width: 100%;
    height: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    object-fit: contain;
}

html body #home.six-hero-banner > div.six-hero-copy {
    position: absolute;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    top: 50%;
    right: clamp(20px, 3.5vw, 72px);
    left: auto;
    bottom: auto;
    transform: translateY(-50%);
    box-sizing: border-box;
    width: min(31vw, 490px);
    max-width: 490px;
    min-width: 0;
    padding: 16px 5px 16px 16px;
    margin: 0;
    text-align: left;
    background: linear-gradient(90deg, transparent 0%,rgba(247,241,233,.84) 26%,rgba(247,241,233,.93) 100%);
}

html body #home .six-hero-eyebrow {
    display: block;
    margin: 0 0 14px;
    color: #88644d;
    font: 700 11px/1.5 'DM Sans',sans-serif;
    text-transform: uppercase;
    letter-spacing: .17em;
}

html body #home h1.six-hero-title {
    margin: 0 0 16px;
    color: #29231e;
    font: 500 clamp(39px, 4.1vw, 72px)/1.1 'Playfair Display',Georgia,serif;
    letter-spacing: -.035em;
    text-align: left;
}

    html body #home h1.six-hero-title em {
        color: #936d55;
        font-weight: 400;
    }

html body #home p.six-hero-description {
    margin: 0;
    max-width: 100%;
    color: #453c36;
    font: 400 clamp(13px,1vw,16px)/1.65 'DM Sans',sans-serif;
}

/* Entre 1201 y 1800 px: texto con margen derecho minimo y
   caja mas estrecha para que no invada los cuchillos centrales. */
@media (min-width: 1201px) and (max-width: 1800px) {
    html body #home.six-hero-banner > div.six-hero-copy {
        right: clamp(12px, 1.4vw, 26px);
        width: min(34vw, 470px);
        max-width: 470px;
    }

    html body #home h1.six-hero-title {
        font-size: clamp(40px, 3.45vw, 63px);
    }

    html body #home p.six-hero-description {
        font-size: clamp(13px, .95vw, 15px);
    }
}

/* Ordenadores mas estrechos y tablets horizontales */
@media (min-width: 721px) and (max-width: 1200px) {
    html body #home.six-hero-banner > div.six-hero-copy {
        right: 12px;
        width: min(37vw, 410px);
        max-width: 410px;
        padding: 12px 4px 12px 12px;
    }

    html body #home .six-hero-eyebrow {
        font-size: 9px;
        letter-spacing: .11em;
        margin-bottom: 9px;
    }

    html body #home h1.six-hero-title {
        font-size: clamp(30px, 3.9vw, 47px);
        line-height: 1.08;
        margin-bottom: 12px;
    }

    html body #home p.six-hero-description {
        font-size: clamp(11px, 1.16vw, 14px);
        line-height: 1.5;
    }
}

/* Movil: el texto va debajo de la fotografia, nunca sobre cuchillos. */
@media (max-width: 720px) {
    html body #home.six-hero-banner > div.six-hero-copy {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        width: 100%;
        max-width: none;
        transform: none;
        padding: 26px 20px 32px;
        background: #f4eee6;
    }

    html body #home .six-hero-eyebrow {
        font-size: 10px;
    }

    html body #home h1.six-hero-title {
        font-size: clamp(34px, 9vw, 51px);
        margin-bottom: 13px;
    }

    html body #home p.six-hero-description {
        font-size: 14px;
        line-height: 1.65;
    }
}

/* ==========================================================
   SIXILANG - MODAL PRODUCTO
   Titulo fijo sin scroll
   Descripcion con scroll
   Botones siempre visibles
   ========================================================== */

#modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 16px;
    background: rgba(25, 22, 20, .65);
}

    #modal.show {
        display: flex !important;
    }

    /* Contenedor general, sin scroll propio en escritorio */
    #modal .modal-inner {
        position: relative !important;
        display: grid !important;
        grid-template-columns: minmax(0, 47%) minmax(0, 53%) !important;
        width: min(1100px, 100%) !important;
        height: min(950px, calc(100vh - 32px)) !important;
        height: min(950px, calc(100dvh - 32px)) !important;
        max-height: calc(100dvh - 32px) !important;
        min-height: 0 !important;
        margin: auto !important;
        padding: 0 !important;
        overflow: hidden !important;
        border-radius: 16px;
        background: #faf7f2;
        box-shadow: 0 25px 80px rgba(0,0,0,.25);
    }

    /* Boton cerrar fijo */
    #modal #close {
        position: absolute !important;
        top: 14px !important;
        right: 14px !important;
        bottom: auto !important;
        left: auto !important;
        z-index: 100 !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 40px !important;
        height: 40px !important;
        padding: 0 !important;
        margin: 0 !important;
        border: 0;
        border-radius: 50%;
        background: white;
        color: #28221e;
        font-size: 25px;
        cursor: pointer;
        box-shadow: 0 4px 14px rgba(0,0,0,.12);
    }

    /* Fotografia izquierda */
    #modal #modalPicture {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box;
        width: 100%;
        height: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;
        padding: 26px !important;
        overflow: auto !important;
        background: #ebe6df;
    }

    /* Columna derecha */
    #modal .modal-copy {
        display: flex !important;
        flex-direction: column !important;
        box-sizing: border-box !important;
        width: 100% !important;
        height: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;
        padding: 30px 54px 24px 32px !important;
        overflow: hidden !important;
        background: #faf7f2;
    }

        /* Encabezado */
        #modal .modal-copy > .eyebrow {
            flex: 0 0 auto !important;
            margin: 0 0 10px !important;
        }

    /* TITULO COMPLETO: SIN SCROLL */
    #modal #modalTitle {
        display: block !important;
        flex: 0 0 auto !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
        margin: 0 0 15px !important;
        padding: 0 !important;
        font-family: 'Playfair Display', Georgia, serif !important;
        font-size: clamp(18px, 1.7vw, 25px) !important;
        font-weight: 500 !important;
        line-height: 1.25 !important;
        letter-spacing: -.015em !important;
        color: #30261f !important;
        overflow-wrap: break-word;
    }

    /* DESCRIPCION: SCROLL INDEPENDIENTE */
    #modal #modalDesc {
        display: block !important;
        flex: 1 1 auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 12px 8px 0 !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        font-size: 13px !important;
        line-height: 1.8 !important;
        color: #66584d !important;
        scrollbar-width: thin;
        scrollbar-color: #bba995 transparent;
    }

    /* Especificaciones visibles encima del boton */
    #modal #modalSpec {
        flex: 0 0 auto !important;
        max-height: 95px !important;
        overflow-y: auto !important;
        margin: 0 !important;
        padding: 12px 0 !important;
        border-top: 1px solid #ded5cb;
        font-size: 12px !important;
        line-height: 1.65 !important;
    }

    /* BOTON DE INFORMACION FIJO ABAJO */
    #modal #modalLink {
        position: relative !important;
        bottom: auto !important;
        flex: 0 0 auto !important;
        align-self: stretch !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
        margin: 8px 0 0 !important;
        padding: 14px !important;
        background: #30261f !important;
        border: 1px solid #30261f !important;
        color: white !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        text-align: center;
        cursor: pointer;
    }

/* Responsive movil */
@media (max-width: 800px) {

    #modal {
        padding: 8px;
    }

        #modal .modal-inner {
            grid-template-columns: minmax(0,1fr) !important;
            grid-template-rows: minmax(0,30%) minmax(0,70%) !important;
            width: min(550px,100%) !important;
            height: calc(100dvh - 16px) !important;
            max-height: calc(100dvh - 16px) !important;
        }

        #modal #modalPicture {
            padding: 10px 14px !important;
        }

            #modal #modalPicture .six-gallery-main {
                height: 140px !important;
                max-height: 140px !important;
                flex-basis: 140px !important;
            }

                #modal #modalPicture .six-gallery-main img {
                    max-height: 135px !important;
                }

        #modal .modal-copy {
            padding: 14px 18px !important;
        }

        #modal #modalTitle {
            font-size: clamp(15px, 3.3vw, 20px) !important;
            line-height: 1.2 !important;
            margin-bottom: 10px !important;
        }

        #modal #modalDesc {
            font-size: 12px !important;
            line-height: 1.65 !important;
        }

        #modal #modalSpec {
            max-height: 70px !important;
            font-size: 11px !important;
            padding: 8px 0 !important;
        }

        #modal #modalLink {
            padding: 11px 8px !important;
            font-size: 10px !important;
        }

        #modal #close {
            top: 10px !important;
            right: 10px !important;
            width: 36px !important;
            height: 36px !important;
        }

    /* =====================================================
   SIXILANG - TITULOS DE PRODUCTOS EN HOME
   Maximo 2 lineas con puntos suspensivos
   ===================================================== */


    /* ============================================
   SIXILANG - TITULOS HOME MAXIMO DOS LINEAS
   ============================================ */

    html body #collection #products .product h3 {
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: normal !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
        line-height: 1.45 !important;
        height: 2.9em !important;
        max-height: 2.9em !important;
        margin-bottom: 10px;
        cursor: help;
    }

    /* ===================================================
   SIXILANG - CUSTOM CREATIONS
   Cuatro tarjetas uniformes con imagenes reales
   =================================================== */

    /* Distribucion de las cuatro tarjetas */
    .custom-grid {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 20px !important;
        align-items: stretch !important;
    }

        /* Cada tarjeta */
        .custom-grid > .custom {
            display: flex !important;
            flex-direction: column !important;
            position: relative !important;
            min-width: 0 !important;
            height: auto !important;
            padding: 0 !important;
            overflow: hidden !important;
            background: #f2ede6 !important;
            border: 1px solid #e8e0d6;
        }

            /* Contenedor de la fotografia */
            .custom-grid > .custom > .art {
                position: relative !important;
                display: flex !important;
                justify-content: center !important;
                align-items: center !important;
                width: 100% !important;
                height: 245px !important;
                min-height: 245px !important;
                max-height: 245px !important;
                margin: 0 !important;
                padding: 12px !important;
                box-sizing: border-box !important;
                overflow: hidden !important;
                background: #eae4dc !important;
            }

                /* Imagen real */
                .custom-grid > .custom > .art > img {
                    position: static !important;
                    display: block !important;
                    width: 100% !important;
                    height: 100% !important;
                    max-width: 100% !important;
                    max-height: 100% !important;
                    margin: 0 !important;
                    padding: 0 !important;
                    object-fit: contain !important;
                    object-position: center !important;
                    transform: none !important;
                    rotate: none !important;
                    filter: none !important;
                }

            /* Area de texto, separada de la imagen */
            .custom-grid > .custom > label.custom-info {
                position: relative !important;
                inset: auto !important;
                display: flex !important;
                flex-direction: column !important;
                justify-content: center !important;
                gap: 8px !important;
                flex: 1 0 auto !important;
                box-sizing: border-box !important;
                width: 100% !important;
                min-height: 92px !important;
                padding: 18px 16px !important;
                margin: 0 !important;
                background: #f8f5f0 !important;
                color: #30261f !important;
                font-family: 'DM Sans', sans-serif !important;
                font-size: 14px !important;
                line-height: 1.4 !important;
                font-weight: 700 !important;
                text-align: left !important;
            }

                /* Descripcion debajo del titulo */
                .custom-grid > .custom > label.custom-info > small {
                    position: static !important;
                    display: block !important;
                    margin: 0 !important;
                    padding: 0 !important;
                    color: #847569 !important;
                    font-size: 12px !important;
                    line-height: 1.5 !important;
                    font-weight: 400 !important;
                }

    /* Responsive tablet */
    @media (max-width: 1000px) {
        .custom-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        }
    }

    /* Responsive movil */
    @media (max-width: 600px) {
        .custom-grid {
            grid-template-columns: minmax(0, 1fr) !important;
            gap: 16px !important;
        }

            .custom-grid > .custom > .art {
                height: 230px !important;
                min-height: 230px !important;
                max-height: 230px !important;
            }

            .custom-grid > .custom > label.custom-info {
                min-height: 85px !important;
                padding: 16px !important;
            }
    }


}


/* ====================================================
   SIXILANG - CUSTOM CREATIONS
   CORRECCION DE ESTRUCTURA DE LAS TARJETAS
   ==================================================== */

/* GRID PRINCIPAL */
html body #custom .custom-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px !important;
    align-items: stretch !important;
}

    /* CADA TARJETA */
    html body #custom .custom-grid > .custom {
        position: relative !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-rows: 260px minmax(95px, auto) !important;
        width: 100% !important;
        height: auto !important;
        min-height: 355px !important;
        max-height: none !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
        background: #f8f5f0 !important;
        border: 1px solid #e5ddd3 !important;
        transform: none !important;
    }

        /* ZONA SUPERIOR DE FOTOGRAFIA */
        html body #custom .custom-grid > .custom > .art {
            position: relative !important;
            inset: auto !important;
            display: block !important;
            grid-column: 1 !important;
            grid-row: 1 !important;
            width: 100% !important;
            height: 260px !important;
            min-height: 0 !important;
            max-height: 260px !important;
            margin: 0 !important;
            padding: 0 !important;
            overflow: hidden !important;
            box-sizing: border-box !important;
            background: #eae5de !important;
            transform: none !important;
        }

            /* IMAGEN REAL */
            html body #custom .custom-grid > .custom > .art > img {
                position: absolute !important;
                inset: 0 !important;
                display: block !important;
                width: 100% !important;
                height: 100% !important;
                min-width: 0 !important;
                min-height: 0 !important;
                max-width: none !important;
                max-height: none !important;
                margin: 0 !important;
                padding: 0 !important;
                object-fit: contain !important;
                object-position: center center !important;
                transform: none !important;
                rotate: none !important;
                filter: none !important;
            }

        /* ZONA INFERIOR DEL TEXTO */
        html body #custom .custom-grid > .custom > label {
            position: static !important;
            inset: auto !important;
            top: auto !important;
            left: auto !important;
            right: auto !important;
            bottom: auto !important;
            display: flex !important;
            flex-direction: column !important;
            justify-content: center !important;
            align-items: flex-start !important;
            grid-column: 1 !important;
            grid-row: 2 !important;
            width: 100% !important;
            height: auto !important;
            min-height: 95px !important;
            max-height: none !important;
            padding: 17px 16px !important;
            margin: 0 !important;
            box-sizing: border-box !important;
            overflow: visible !important;
            background: #f8f5f0 !important;
            color: #30261f !important;
            font-family: 'DM Sans', sans-serif !important;
            font-size: 14px !important;
            font-weight: 700 !important;
            line-height: 1.45 !important;
            text-align: left !important;
            opacity: 1 !important;
            visibility: visible !important;
            transform: none !important;
        }

            /* DESCRIPCION */
            html body #custom .custom-grid > .custom > label > small {
                position: static !important;
                inset: auto !important;
                display: block !important;
                width: 100% !important;
                margin: 7px 0 0 !important;
                padding: 0 !important;
                background: transparent !important;
                color: #826f60 !important;
                font-size: 12px !important;
                font-weight: 400 !important;
                line-height: 1.5 !important;
                opacity: 1 !important;
                visibility: visible !important;
                transform: none !important;
            }

        /* EVITAR DECORACIONES ANTIGUAS */
        html body #custom .custom-grid > .custom > .art::before,
        html body #custom .custom-grid > .custom > .art::after {
            display: none !important;
            content: none !important;
        }

/* TABLET */
@media (max-width: 1000px) {

    html body #custom .custom-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* MOVIL */
@media (max-width: 600px) {

    html body #custom .custom-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 16px !important;
    }

        html body #custom .custom-grid > .custom {
            grid-template-rows: 240px minmax(90px, auto) !important;
            min-height: 330px !important;
        }

            html body #custom .custom-grid > .custom > .art {
                height: 240px !important;
                max-height: 240px !important;
            }

            html body #custom .custom-grid > .custom > label {
                min-height: 90px !important;
                padding: 16px !important;
            }
}

/* =====================================================
   CUSTOM GRID - ajustar imagenes para que ocupen mas
   ===================================================== */

#custom .custom-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

    #custom .custom-grid .custom {
        display: flex;
        flex-direction: column;
        background: #f7f3ed;
        border: 1px solid #e4dbd1;
        min-height: 360px;
        overflow: hidden;
    }

        #custom .custom-grid .custom .art {
            width: 100%;
            height: 250px;
            background: #e9e3da;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }

            #custom .custom-grid .custom .art img {
                width: 100%;
                height: 100%;
                object-fit: contain;
                object-position: center center;
                display: block;
            }

            /* SOLO para las tarjetas 2 y 3 */
            #custom .custom-grid .custom .art.art-fill img {
                object-fit: cover;
                object-position: center center;
                transform: scale(1.08);
            }

        /* Texto */
        #custom .custom-grid .custom label {
            display: block;
            padding: 18px 16px 20px;
            background: #f7f3ed;
            color: #2f261f;
            font-weight: 700;
            line-height: 1.4;
        }

            #custom .custom-grid .custom label small {
                display: block;
                margin-top: 8px;
                color: #826f60;
                font-size: 13px;
                font-weight: 400;
                line-height: 1.5;
            }

/* Tablet */
@media (max-width: 991px) {
    #custom .custom-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Movil */
@media (max-width: 576px) {
    #custom .custom-grid {
        grid-template-columns: 1fr;
    }

        #custom .custom-grid .custom .art {
            height: 220px;
        }
}