/* ==================================================
   HISPASEEDS BLACK
   Archivo: assets/css/home.css
   Propósito: Hoja de estilos limpia y unificada para HOME
   ================================================== */

/* ======================================================
   HOME / HERO
   Fuente única de verdad movida a:
   assets/css/components/hero-premium.css
   ====================================================== */


.luxe-benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 24px 0;
}

.luxe-benefit {
    text-align: center;
    padding: 10px 14px;
}

.luxe-benefit__title {
    margin-bottom: 8px;
    color: var(--luxe-gold);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.luxe-benefit__text {
    margin: 0;
    font-size: 0.95rem;
    color: var(--luxe-text-soft);
}

/* === SECCIÓN =========================================================== */
/* ======================================================
   HOME / FEATURED GENETICS
   ====================================================== */

.luxe-featured-products {
    padding: 90px 0 26px !important;
    background:
        radial-gradient(circle at top center, rgba(200, 161, 90, 0.12), transparent 28%),
        linear-gradient(180deg, #111 0%, #0b0b0b 100%);
}

.luxe-featured-products .luxe-section-title {
    margin-bottom: 34px;
}

.luxe-featured-products .luxe-section-title h2 {
    color: var(--luxe-gold);
}

.luxe-featured-products .luxe-section-title p {
    color: #e8dcc5;
    opacity: 0.9;
}

/* === SECCIÓN =========================================================== */
/* ======================================================
   HOME / PACK SELECTION
   ====================================================== */

.luxe-special-offers {
    padding: 26px 0 26px !important;
    background:
        radial-gradient(circle at top center, rgba(200,161,90,0.12), transparent 28%),
        linear-gradient(180deg,#0f0f0f 0%,#0b0b0b 100%);
}

.luxe-offers-box {
    border: 1px solid rgba(200,161,90,0.35);
    padding: 50px;
    text-align: center;
    border-radius: 12px;
    position: relative;
    z-index: 4;
    background: linear-gradient(180deg, rgba(15,15,15,0.40) 0%, rgba(10,10,10,0.54) 100%) !important;
    backdrop-filter: blur(1.8px);
}

.luxe-offers-box::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background:
        linear-gradient(180deg, rgba(0,0,0,0.16), rgba(0,0,0,0.28)),
        url('../images/fondos/bg-cta-catalogo.webp') center center / cover no-repeat;
    opacity: 0.22;
}

.luxe-offers-box .luxe-btn {
    margin-top: 20px;
}

/* === SECCIÓN =========================================================== */
/* ======================================================
   HOME / CATEGORY SHOWCASE
   ====================================================== */

.luxe-category-showcase {
    padding: 26px 0 26px !important;
    background:
        radial-gradient(circle at top center, rgba(200,161,90,0.08), transparent 26%),
        linear-gradient(180deg, #0d0d0d 0%, #090909 100%);
}

.luxe-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.luxe-category-card {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
    padding: 30px;
    border: 1px solid rgba(200,161,90,0.28);
    border-radius: 14px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    isolation: isolate;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
    transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.luxe-category-card:hover {
    transform: translateY(-6px);
    border-color: rgba(200,161,90,0.52);
    box-shadow:
        0 18px 42px rgba(0,0,0,.42),
        inset 0 0 0 1px rgba(240,213,154,0.06);
}

.luxe-category-card::before {
    content: "";
    position: absolute;
    inset: 0;
  background:
linear-gradient(180deg, rgba(0,0,0,0.52) 0%, rgba(0,0,0,0.62) 42%, rgba(0,0,0,0.9) 100%);
    opacity: 1;
    z-index: 0;
}

.luxe-category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(212,170,91,0.08) 0%, rgba(212,170,91,0) 28%),
        radial-gradient(circle at top right, rgba(212,170,91,0.18), transparent 30%);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 0;
}

.luxe-category-card:hover::after {
    opacity: 1;
}

.luxe-category-card__inner {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    padding-top: 42px;
}

.luxe-category-card__inner::before {
    content: "";
    display: block;
    width: 44px;
    height: 1px;
    margin-bottom: 18px;
    background: linear-gradient(90deg, rgba(240,213,154,0.95) 0%, rgba(240,213,154,0.2) 100%);
}

.luxe-category-card__title {
    display: block;
    margin-bottom: 10px;
    color: #f0d59a;
    font-size: 1.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.05;
}

.luxe-category-card__text {
    display: block;
    max-width: 92%;
    margin-bottom: 18px;
    color: #f3eee4;
    font-size: 0.96rem;
    line-height: 1.62;
    opacity: 0.94;
}

.luxe-category-card__cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 4px;
    color: #f0d59a;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.luxe-category-card__cta::before {
    content: "";
    width: 18px;
    height: 1px;
    background: rgba(240,213,154,0.75);
    transition: width 0.28s ease, background-color 0.28s ease;
}

.luxe-category-card__cta::after {
    content: "";
    position: absolute;
    left: 28px;
    bottom: 0;
    width: 0;
    height: 1px;
    background: #ffd98a;
    transition: width 0.28s ease;
}

.luxe-category-card:hover .luxe-category-card__cta::before {
    width: 24px;
    background: #ffd98a;
}

.luxe-category-card:hover .luxe-category-card__cta::after {
    width: calc(100% - 28px);
}

/* === SECCIÓN =========================================================== */
/* ======================================================
   HOME / TABLET
   ====================================================== */

@media (max-width: 1100px) {
    .luxe-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* === SECCIÓN =========================================================== */
/* ======================================================
   HOME / SUBTLE BACKGROUND IMAGES BY SECTION
   ====================================================== */

.luxe-benefits,
.luxe-featured-products,
.luxe-special-offers,
.luxe-category-showcase {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.luxe-benefits > .luxe-container,
.luxe-featured-products > .luxe-container,
.luxe-special-offers > .luxe-container,
.luxe-category-showcase > .luxe-container {
    position: relative;
    z-index: 3;
}

.luxe-benefits::before,
.luxe-featured-products::before,
.luxe-special-offers::before,
.luxe-category-showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.luxe-benefits::after,
.luxe-featured-products::after,
.luxe-special-offers::after,
.luxe-category-showcase::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.luxe-benefits::before {
    background-image: url('../images/fondos/bg-luxury-texture.webp');
    opacity: 0.34;
}

.luxe-benefits::after {
    background:
        linear-gradient(180deg, rgba(12,12,12,0.84) 0%, rgba(12,12,12,0.90) 100%),
        radial-gradient(circle at center, rgba(200,161,90,0.08) 0%, transparent 56%);
}

.luxe-featured-products::before {
    background-image: url('../images/fondos/bg-featured-seeds.webp');
    background-position: center 24%;
    opacity: 0.24;
}

.luxe-featured-products::after {
    background:
        linear-gradient(180deg, rgba(9,9,9,0.80) 0%, rgba(8,8,8,0.92) 100%),
        radial-gradient(circle at top center, rgba(200,161,90,0.10) 0%, transparent 32%);
}

.luxe-special-offers::before {
    background-image: url('../images/fondos/bg-cta-catalogo.webp');
    opacity: 0.26;
}

.luxe-special-offers::after {
    background:
        linear-gradient(180deg, rgba(8,8,8,0.78) 0%, rgba(7,7,7,0.92) 100%),
        radial-gradient(circle at center, rgba(200,161,90,0.08) 0%, transparent 38%);
}

.luxe-category-showcase::before {
    background-image: url('../images/fondos/bg-category-ambient.webp');
    opacity: 0.18;
}

.luxe-category-showcase::after {
    background:
        linear-gradient(180deg, rgba(7,7,7,0.86) 0%, rgba(6,6,6,0.95) 100%),
        radial-gradient(circle at top center, rgba(200,161,90,0.06) 0%, transparent 28%);
}

@media (max-width: 767px) {
    .luxe-benefits::before { opacity: 0.28; }
    .luxe-featured-products::before { opacity: 0.20; background-position: center center; }
    .luxe-special-offers::before { opacity: 0.22; }
    .luxe-category-showcase::before { opacity: 0.16; }
}

/* ======================================================
   AJUSTE FINO / HOME V5
   ====================================================== */

body.home .site-content,
body.home #content,
body.home .site-main,
body.home #primary,
body.home .ast-container,
body.home .entry-content,
body.home main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.home .luxe-home-hero {
    margin-top: -1px !important;
}

/* Unificación de dorados */
.luxe-section-title__eyebrow,
.luxe-benefit__title,
.luxe-featured-products .luxe-section-title h2,
.luxe-special-offers .luxe-section-title h2,
.luxe-category-showcase .luxe-section-title h2,
.luxe-category-card__title,
.luxe-product-card__price,
.luxe-premium-pack-card__tag,
.luxe-premium-pack-card__title {
    color: var(--luxe-gold) !important;
}

/* Nueva sección de colecciones premium */
.luxe-premium-packs .luxe-section-title {
    margin-bottom: 30px;
}

.luxe-premium-packs__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.luxe-premium-pack-card {
    border: 1px solid rgba(200,161,90,0.28);
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(10,10,10,0.98) 0%, rgba(8,8,8,0.98) 100%);
    box-shadow: 0 18px 42px rgba(0,0,0,.24);
}

.luxe-premium-pack-card__image {
    display: block;
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center center;
    position: relative;
}

.luxe-premium-pack-card__image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.22) 55%, rgba(0,0,0,0.34) 100%),
        radial-gradient(circle at top center, rgba(200,161,90,0.10), transparent 38%);
}

.luxe-premium-pack-card__content {
    padding: 22px 22px 24px;
}

.luxe-premium-pack-card__tag {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.luxe-premium-pack-card__title {
    margin: 0 0 10px;
    font-size: 1.45rem;
    line-height: 1.08;
}

.luxe-premium-pack-card__text {
    margin: 0;
    color: var(--luxe-text-soft);
    line-height: 1.62;
}

@media (max-width: 1100px) {
    .luxe-premium-packs__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .luxe-premium-packs__grid {
        grid-template-columns: 1fr;
    }

    .luxe-special-offers,
    .luxe-category-showcase {
        padding-top: 22px !important;
        padding-bottom: 22px !important;
    }
}

.luxe-offers-box .luxe-btn--ghost,
.luxe-product-card .luxe-btn--ghost {
    background: transparent;
}

/* ======================================================
   HOME / CATEGORY & RESPONSIVE FIXES · v2.1
   ====================================================== */

.luxe-category-card{
    min-height: 410px;
    border-radius: 16px;
    background-repeat: no-repeat;
    background-color: #0d0b09;
}

.luxe-category-card__title{
    overflow-wrap: anywhere;
}

@media (max-width: 767px){
    .luxe-category-grid{
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .luxe-category-card{
        min-height: 320px;
        padding: 22px;
        border-radius: 16px;
        background-position: center;
    }

    .luxe-category-card__inner{
        padding-top: 26px;
    }

    .luxe-category-card__title{
        font-size: 1.9rem;
    }

    .luxe-category-card__text{
        max-width: 100%;
        font-size: 1rem;
        line-height: 1.55;
    }

    .luxe-premium-packs__grid{
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px){
    .luxe-category-card{
        min-height: 300px;
        padding: 20px;
    }

    .luxe-category-card__title{
        font-size: 1.7rem;
    }
}


/* ======================================================
   HOME / V2.2 · correcciones de imagen, tarjetas y móvil
   ====================================================== */

.luxe-category-card{
    background-image: none !important;
}

.luxe-category-card__media-wrap{
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    border-radius: inherit;
}

.luxe-category-card__media{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.01);
    filter: brightness(0.84) saturate(0.98);
}

.luxe-category-card--old-school .luxe-category-card__media{
    filter: brightness(0.98) contrast(1.05) saturate(1.05);
}

.luxe-category-card__inner{
    position: relative;
    z-index: 2;
}

@media (max-width: 767px){
    .luxe-benefits__grid{
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        padding: 18px 0 12px;
    }

    .luxe-benefit{
        padding: 6px 4px;
    }

    .luxe-benefit__title{
        font-size: 0.86rem;
        line-height: 1.12;
        margin-bottom: 6px;
    }

    .luxe-benefit__text{
        font-size: 0.84rem;
        line-height: 1.35;
    }

    .luxe-category-showcase .luxe-section-title{
        margin-bottom: 20px;
    }

    .luxe-category-showcase .luxe-section-title h2{
        font-size: clamp(2rem, 9vw, 2.8rem);
        line-height: 0.98;
    }

    .luxe-category-showcase .luxe-section-title p{
        max-width: 30ch;
        margin-inline: auto;
        font-size: 0.96rem;
        line-height: 1.45;
    }

    .luxe-category-card{
        min-height: 300px;
        padding: 20px;
    }

    .luxe-category-card__title{
        font-size: 1.62rem;
        line-height: 1.02;
        letter-spacing: 0.03em;
        word-break: normal;
        overflow-wrap: break-word;
    }

    .luxe-category-card__text{
        font-size: 0.95rem;
        line-height: 1.48;
        max-width: 22ch;
    }

    .luxe-category-card__cta{
        font-size: 0.76rem;
        letter-spacing: 0.10em;
    }
}

@media (max-width: 420px){
    .luxe-benefits__grid{
        gap: 8px;
    }

    .luxe-benefit__title{
        font-size: 0.8rem;
    }

    .luxe-benefit__text{
        font-size: 0.78rem;
    }

    .luxe-category-card{
        min-height: 286px;
        padding: 18px;
    }

    .luxe-category-card__title{
        font-size: 1.46rem;
    }

    .luxe-category-card__text{
        font-size: 0.9rem;
        max-width: 20ch;
    }
}



/* ======================================================
   HOME / V2.3 · legibilidad y enlaces de packs
   ====================================================== */

.luxe-category-card::before{
    background:
        linear-gradient(180deg, rgba(0,0,0,0.22) 0%, rgba(0,0,0,0.36) 28%, rgba(0,0,0,0.86) 100%);
}

.luxe-category-card__media{
    filter: brightness(0.62) saturate(0.94) contrast(1.02);
}

.luxe-category-card--old-school .luxe-category-card__media{
    filter: brightness(0.56) saturate(0.92) contrast(1.05);
}

.luxe-category-card__title,
.luxe-category-card__text,
.luxe-category-card__cta{
    text-shadow: 0 2px 18px rgba(0,0,0,0.72);
}

.luxe-category-card__title{
    color: #f2d182;
}

.luxe-category-card__text{
    color: rgba(255,255,255,0.96);
}

.luxe-category-card__inner{
    max-width: 94%;
}

.luxe-premium-pack-card__title a{
    color: inherit;
    text-decoration: none;
}

.luxe-premium-pack-card__title a:hover{
    color: var(--luxe-gold);
}

@media (max-width: 767px){
    .luxe-category-card__media{
        filter: brightness(0.58) saturate(0.92) contrast(1.02);
    }

    .luxe-category-card--old-school .luxe-category-card__media{
        filter: brightness(0.52) saturate(0.9) contrast(1.06);
    }
}
