/* ==========================================================
   ELENA PRODUCTS CATALOGUE
   Page-specific styles only.
   ========================================================== */

.elena-products-page{
    --ep-navy:#071a2d;
    --ep-green:#0f9b72;
    --ep-blue:#1479eb;
    --ep-orange:#ff811a;
    --ep-text:#14263a;
    --ep-muted:#687684;
    --ep-line:#e2e8ed;
    color:var(--ep-text);
}

.elena-products-hero{
    position:relative;
    min-height:430px;
    overflow:hidden;
    color:#fff;
    background:var(--ep-navy);
}

.elena-products-hero-bg{
    position:absolute;
    inset:0;
    background:
        linear-gradient(
            90deg,
            rgba(4,20,35,.97) 0%,
            rgba(4,20,35,.88) 41%,
            rgba(4,20,35,.50) 68%,
            rgba(4,20,35,.30) 100%
        ),
        url("../images/slider-backgrounds/company-intro.jpg");
    background-size:cover;
    background-position:center;
}

.elena-products-hero::after{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    background:
        radial-gradient(
            circle at 13% 18%,
            rgba(15,155,114,.14),
            transparent 27%
        ),
        radial-gradient(
            circle at 87% 80%,
            rgba(20,121,235,.15),
            transparent 26%
        );
}

.elena-products-hero .container{
    position:relative;
    z-index:2;
    min-height:430px;
    display:flex;
    align-items:center;
}

.elena-products-hero-grid{
    width:100%;
    display:grid;
    grid-template-columns:minmax(0,1.15fr) minmax(390px,.85fr);
    align-items:center;
    gap:70px;
}

.elena-products-hero-copy{
    max-width:650px;
}

.elena-products-eyebrow{
    display:inline-flex;
    align-items:center;
    gap:11px;
    margin-bottom:15px;
    color:#ff9a3d;
    font-size:12px;
    font-weight:800;
    letter-spacing:.14em;
    text-transform:uppercase;
}

.elena-products-eyebrow::before{
    content:"";
    width:36px;
    height:2px;
    background:var(--ep-orange);
}

.elena-products-hero h1{
    margin:0 0 16px;
    color:#fff;
    font-size:clamp(48px,5vw,68px);
    font-weight:800;
    line-height:1.02;
    letter-spacing:-1.5px;
}

.elena-products-hero h1 span{
    color:#9cc9ff;
}

.elena-products-hero-copy > p{
    max-width:610px;
    margin:0;
    color:rgba(255,255,255,.88);
    font-size:16px;
    line-height:1.72;
}

.elena-products-breadcrumb{
    display:flex;
    align-items:center;
    gap:9px;
    margin-top:23px;
    font-size:11px;
    font-weight:700;
}

.elena-products-breadcrumb a{
    color:#7ee2a8;
    text-decoration:none;
}

.elena-products-breadcrumb > span{
    color:rgba(255,255,255,.34);
}

.elena-products-breadcrumb strong{
    color:rgba(255,255,255,.74);
}

.elena-products-hero-stats{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    border-top:1px solid rgba(255,255,255,.15);
    border-left:1px solid rgba(255,255,255,.15);
    backdrop-filter:blur(7px);
}

.elena-products-hero-stats > div{
    min-height:112px;
    padding:23px;
    background:rgba(5,25,43,.44);
    border-right:1px solid rgba(255,255,255,.15);
    border-bottom:1px solid rgba(255,255,255,.15);
}

.elena-products-hero-stats > div:last-child{
    grid-column:1 / -1;
    min-height:90px;
}

.elena-products-hero-stats strong{
    display:block;
    margin-bottom:4px;
    color:#fff;
    font-size:23px;
    font-weight:800;
}

.elena-products-hero-stats span{
    color:#aab9c7;
    font-size:10px;
    font-weight:700;
}

.elena-products-catalogue{
    padding:70px 0 84px;
    background:
        radial-gradient(
            circle at 7% 8%,
            rgba(20,121,235,.035),
            transparent 22%
        ),
        #f7f9fb;
}

.elena-products-toolbar{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:42px;
    margin-bottom:25px;
    padding-bottom:25px;
    border-bottom:1px solid var(--ep-line);
}

.elena-products-heading{
    max-width:600px;
}

.elena-products-heading > span{
    display:inline-flex;
    align-items:center;
    gap:10px;
    margin-bottom:8px;
    color:var(--ep-green);
    font-size:10px;
    font-weight:800;
    letter-spacing:.13em;
    text-transform:uppercase;
}

.elena-products-heading > span::before{
    content:"";
    width:29px;
    height:2px;
    background:var(--ep-orange);
}

.elena-products-heading h2{
    margin:0 0 6px;
    color:var(--ep-navy);
    font-size:clamp(31px,3.2vw,42px);
    font-weight:800;
    line-height:1.1;
    letter-spacing:-.75px;
}

.elena-products-heading p{
    margin:0;
    color:#7a8793;
    font-size:12px;
}

.elena-products-heading p strong{
    color:var(--ep-navy);
}

.elena-products-heading p em{
    color:var(--ep-blue);
    font-style:normal;
    font-weight:700;
}

.elena-products-search{
    width:100%;
    max-width:430px;
}

.elena-products-search-box{
    display:flex;
    align-items:center;
    width:100%;
    min-height:48px;
    overflow:hidden;
    background:#fff;
    border:1px solid #d8e0e7;
    box-shadow:0 6px 18px rgba(7,26,45,.045);
}

.elena-products-search-box:focus-within{
    border-color:rgba(20,121,235,.48);
    box-shadow:0 0 0 4px rgba(20,121,235,.075);
}

.elena-products-search-box > i{
    margin-left:16px;
    color:#8c99a4;
    font-size:13px;
}

.elena-products-search-box input{
    min-width:0;
    flex:1;
    padding:12px 11px;
    color:#1e3041;
    font-size:12px;
    border:0;
    outline:0;
    background:transparent;
}

.elena-products-search-box button{
    align-self:stretch;
    padding:0 22px;
    color:#fff;
    font-size:11px;
    font-weight:800;
    cursor:pointer;
    border:0;
    background:var(--ep-navy);
}

.elena-products-search-box button:hover{
    background:var(--ep-green);
}

.elena-products-clear{
    display:inline-flex;
    align-items:center;
    gap:6px;
    margin-top:9px;
    color:#7a8793;
    font-size:10px;
    font-weight:700;
    text-decoration:none;
}

.elena-products-categories{
    display:flex;
    align-items:center;
    gap:9px;
    margin-bottom:31px;
    padding:4px 0 7px;
    overflow-x:auto;
    scrollbar-width:none;
}

.elena-products-categories::-webkit-scrollbar{
    display:none;
}

.elena-products-categories a{
    display:inline-flex;
    align-items:center;
    gap:8px;
    flex:0 0 auto;
    min-height:40px;
    padding:0 13px;
    color:#4f6070;
    font-size:11px;
    font-weight:800;
    text-decoration:none;
    background:#fff;
    border:1px solid #dce3e9;
    box-shadow:0 5px 15px rgba(7,26,45,.035);
}

.elena-products-categories a:hover{
    color:var(--ep-green);
    border-color:rgba(15,155,114,.30);
    transform:translateY(-1px);
}

.elena-products-categories a.is-active{
    color:#fff;
    background:linear-gradient(
        90deg,
        var(--ep-green),
        var(--ep-blue)
    );
    border-color:transparent;
}

.elena-products-categories small{
    display:grid;
    place-items:center;
    min-width:21px;
    height:21px;
    padding:0 5px;
    color:#72808c;
    font-size:9px;
    font-weight:800;
    background:#eef2f5;
    border-radius:20px;
}

.elena-products-categories a.is-active small{
    color:#fff;
    background:rgba(255,255,255,.18);
}

.elena-products-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:22px;
}

.elena-product-card{
    position:relative;
    display:flex;
    flex-direction:column;
    min-width:0;
    overflow:hidden;
    background:#fff;
    border:1px solid #e0e6eb;
    box-shadow:0 8px 24px rgba(7,26,45,.055);
    transition:
        transform .28s ease,
        box-shadow .28s ease,
        border-color .28s ease;
}

.elena-product-card::after{
    content:"";
    position:absolute;
    right:0;
    bottom:0;
    left:0;
    width:0;
    height:3px;
    margin:auto;
    background:linear-gradient(
        90deg,
        var(--ep-green),
        var(--ep-blue)
    );
    transition:width .3s ease;
}

.elena-product-card:hover{
    transform:translateY(-6px);
    border-color:rgba(15,155,114,.22);
    box-shadow:0 16px 34px rgba(7,26,45,.10);
}

.elena-product-card:hover::after{
    width:100%;
}

.elena-product-image-area{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    height:255px;
    padding:28px 25px 20px;
    overflow:hidden;
    text-decoration:none;
    background:linear-gradient(180deg,#fff,#f9fbfc);
    border-bottom:1px solid #edf1f4;
}

.elena-product-image-area img{
    width:100%;
    height:100%;
    object-fit:contain;
    transition:transform .36s ease;
}

.elena-product-card:hover
.elena-product-image-area img{
    transform:scale(1.07);
}

.elena-product-category{
    position:absolute;
    top:13px;
    left:13px;
    z-index:2;
    max-width:calc(100% - 26px);
    padding:5px 9px;
    overflow:hidden;
    color:#0c785c;
    font-size:9px;
    font-weight:800;
    white-space:nowrap;
    text-overflow:ellipsis;
    background:#e9f6f1;
}

.elena-product-card-body{
    display:flex;
    flex:1;
    flex-direction:column;
    padding:19px 20px 20px;
}

.elena-product-card-body h3{
    margin:0 0 9px;
    font-size:17px;
    font-weight:800;
    line-height:1.4;
}

.elena-product-card-body h3 a{
    color:var(--ep-navy);
    text-decoration:none;
}

.elena-product-card-body h3 a:hover{
    color:var(--ep-green);
}

.elena-product-code{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:5px;
    margin-bottom:12px;
    color:#8b97a1;
    font-size:10px;
}

.elena-product-code i{
    color:var(--ep-green);
}

.elena-product-code strong{
    color:#526171;
    font-weight:800;
}

.elena-product-card-body > p{
    margin:0 0 18px;
    color:#6d7a86;
    font-size:12px;
    line-height:1.68;
}

.elena-product-details{
    display:inline-flex;
    align-items:center;
    gap:8px;
    width:max-content;
    margin-top:auto;
    color:var(--ep-blue);
    font-size:11px;
    font-weight:800;
    text-decoration:none;
}

.elena-product-details:hover{
    gap:12px;
    color:var(--ep-green);
}

.elena-products-empty{
    padding:64px 25px;
    text-align:center;
    background:#fff;
    border:1px solid var(--ep-line);
    box-shadow:0 8px 24px rgba(7,26,45,.045);
}

.elena-products-empty-icon{
    display:grid;
    place-items:center;
    width:68px;
    height:68px;
    margin:0 auto 18px;
    color:var(--ep-green);
    font-size:24px;
    background:#eaf7f2;
    border-radius:50%;
}

.elena-products-empty h3{
    margin:0 0 8px;
    color:var(--ep-navy);
    font-size:22px;
    font-weight:800;
}

.elena-products-empty p{
    margin:0;
    color:var(--ep-muted);
    font-size:12px;
}

.elena-products-reset{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    margin-top:18px;
    padding:0 18px;
    color:#fff;
    font-size:11px;
    font-weight:800;
    text-decoration:none;
    background:var(--ep-navy);
}

.elena-products-cta{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:45px;
    margin-top:58px;
    padding:34px 38px;
    color:#fff;
    background:linear-gradient(
        110deg,
        #0f8d6d,
        #1479eb
    );
}

.elena-products-cta > div{
    max-width:670px;
}

.elena-products-cta > div > span{
    display:block;
    margin-bottom:6px;
    color:#d7fff0;
    font-size:9px;
    font-weight:800;
    letter-spacing:.13em;
    text-transform:uppercase;
}

.elena-products-cta h3{
    margin:0 0 7px;
    color:#fff;
    font-size:24px;
    font-weight:800;
}

.elena-products-cta p{
    margin:0;
    color:rgba(255,255,255,.85);
    font-size:12px;
}

.elena-products-cta-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    min-height:44px;
    padding:0 19px;
    color:#0b3857;
    font-size:11px;
    font-weight:800;
    text-decoration:none;
    background:#fff;
    border:1px solid #fff;
}

@media(max-width:991px){
    .elena-products-hero,
    .elena-products-hero .container{
        min-height:560px;
    }

    .elena-products-hero-grid{
        grid-template-columns:1fr;
        gap:32px;
        padding:64px 0;
    }

    .elena-products-hero-stats{
        max-width:620px;
    }

    .elena-products-catalogue{
        padding:58px 0 70px;
    }

    .elena-products-toolbar{
        align-items:stretch;
        flex-direction:column;
        gap:22px;
    }

    .elena-products-search{
        max-width:none;
    }

    .elena-products-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .elena-products-cta{
        grid-template-columns:1fr;
        gap:22px;
    }
}

@media(max-width:575px){
    .elena-products-hero,
    .elena-products-hero .container{
        min-height:610px;
    }

    .elena-products-hero-grid{
        padding:50px 0;
    }

    .elena-products-hero h1{
        font-size:43px;
    }

    .elena-products-hero-copy > p{
        font-size:14px;
    }

    .elena-products-catalogue{
        padding:48px 0 56px;
    }

    .elena-products-heading h2{
        font-size:32px;
    }

    .elena-products-grid{
        grid-template-columns:1fr;
        gap:17px;
    }

    .elena-product-image-area{
        height:235px;
    }

    .elena-products-cta{
        margin-top:43px;
        padding:28px 22px;
    }

    .elena-products-cta-button{
        width:100%;
    }
}
