/* =========================================================
   TECNICHKOS PRODUCTS V8.4.4
   ONLY .product-photo-grid IS STYLED
   ========================================================= */


/* =========================================================
   GRID
   ========================================================= */

body.products-v84
.product-photo-grid {

    display:
        grid !important;

    grid-template-columns:
        repeat(4,minmax(0,1fr)) !important;

    gap:
        18px !important;
}


/* =========================================================
   PRODUCT CARD
   ========================================================= */

body.products-v84
.product-photo-grid
.product-photo-card {

    position:
        relative !important;

    isolation:
        isolate !important;

    display:
        flex !important;

    flex-direction:
        column !important;

    justify-content:
        flex-end !important;

    min-height:
        310px !important;

    padding:
        28px 24px 26px !important;

    overflow:
        hidden !important;

    border:
        1px solid
        rgba(255,255,255,.12) !important;

    border-radius:
        22px !important;

    background:
        #071827 !important;

    box-shadow:
        0 16px 42px
        rgba(7,24,39,.11);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}


/* =========================================================
   IMAGE
   ========================================================= */

body.products-v84
.product-photo-grid
.product-photo-card::before {

    content:
        "" !important;

    display:
        block !important;

    position:
        absolute !important;

    inset:
        0 !important;

    width:
        100% !important;

    height:
        100% !important;

    z-index:
        0 !important;

    opacity:
        1 !important;

    visibility:
        visible !important;

    background-size:
        cover !important;

    background-position:
        center !important;

    background-repeat:
        no-repeat !important;

    transform:
        scale(1.002);

    transition:
        transform .50s ease,
        filter .35s ease !important;

    pointer-events:
        none;
}


/* 43 - Computer */

body.products-v84
.product-slot-43::before {
    background-image:
        var(--product-slot-43) !important;
}


/* 44 - Server */

body.products-v84
.product-slot-44::before {
    background-image:
        var(--product-slot-44) !important;
}


/* 45 - Networking */

body.products-v84
.product-slot-45::before {
    background-image:
        var(--product-slot-45) !important;
}


/* 46 - CCTV */

body.products-v84
.product-slot-46::before {
    background-image:
        var(--product-slot-46) !important;
}


/* 47 - Audio Video */

body.products-v84
.product-slot-47::before {
    background-image:
        var(--product-slot-47) !important;
}


/* 48 - Smart Home */

body.products-v84
.product-slot-48::before {
    background-image:
        var(--product-slot-48) !important;
}


/* 49 - UPS */

body.products-v84
.product-slot-49::before {
    background-image:
        var(--product-slot-49) !important;
}


/* 50 - Accessories */

body.products-v84
.product-slot-50::before {
    background-image:
        var(--product-slot-50) !important;
}


/* =========================================================
   OVERLAY
   ========================================================= */

body.products-v84
.product-photo-grid
.product-photo-card::after {

    content:
        "";

    position:
        absolute;

    inset:
        0;

    z-index:
        1;

    background:
        linear-gradient(
            180deg,
            rgba(2,11,20,.04) 0%,
            rgba(2,11,20,.12) 38%,
            rgba(2,11,20,.72) 70%,
            rgba(2,11,20,.94) 100%
        );

    pointer-events:
        none;
}


/* =========================================================
   CONTENT
   ========================================================= */

body.products-v84
.product-photo-grid
.product-photo-card > * {

    position:
        relative !important;

    z-index:
        2 !important;
}


/* Titles */

body.products-v84
.product-photo-grid
.product-photo-card h2,

body.products-v84
.product-photo-grid
.product-photo-card h3,

body.products-v84
.product-photo-grid
.product-photo-card strong {

    color:
        #ffffff !important;

    text-shadow:
        0 2px 18px
        rgba(0,0,0,.55);
}


body.products-v84
.product-photo-grid
.product-photo-card h3 {

    margin:
        0 0 12px !important;

    font-size:
        clamp(21px,1.5vw,25px);

    line-height:
        1.16;
}


/* Brand / small label */

body.products-v84
.product-photo-grid
.product-photo-card small {

    color:
        #ff7a1a !important;

    font-weight:
        800 !important;

    letter-spacing:
        .08em;
}


/* Paragraph */

body.products-v84
.product-photo-grid
.product-photo-card p {

    color:
        rgba(255,255,255,.82) !important;
}


/* CTA */

body.products-v84
.product-photo-grid
.product-photo-card a {

    color:
        #ff7a1a !important;

    font-weight:
        800 !important;

    text-decoration:
        none !important;
}


/* =========================================================
   HOVER
   ========================================================= */

@media (hover:hover) {

    body.products-v84
    .product-photo-grid
    .product-photo-card:hover {

        transform:
            translateY(-7px);

        border-color:
            rgba(244,122,32,.40) !important;

        box-shadow:
            0 30px 68px
            rgba(7,24,39,.22);
    }


    body.products-v84
    .product-photo-grid
    .product-photo-card:hover::before {

        opacity:
            1 !important;

        visibility:
            visible !important;

        transform:
            scale(1.055);

        filter:
            saturate(1.06)
            brightness(1.04);
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width:1050px) {

    body.products-v84
    .product-photo-grid {

        grid-template-columns:
            repeat(2,minmax(0,1fr)) !important;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width:620px) {

    body.products-v84
    .product-photo-grid {

        grid-template-columns:
            1fr !important;

        gap:
            15px !important;
    }


    body.products-v84
    .product-photo-grid
    .product-photo-card {

        min-height:
            285px !important;

        padding:
            24px 22px !important;

        border-radius:
            18px !important;
    }
}


/* =========================================================
   TOUCH
   ========================================================= */

@media (hover:none) {

    body.products-v84
    .product-photo-grid
    .product-photo-card::before {

        opacity:
            1 !important;

        visibility:
            visible !important;

        transform:
            none !important;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion:reduce) {

    body.products-v84
    .product-photo-grid
    .product-photo-card,

    body.products-v84
    .product-photo-grid
    .product-photo-card::before {

        transition:
            none !important;
    }
}
