/* =========================================================
   URBIO — PRODUCT CATEGORY CARDS
   ========================================================= */

.urbio-product-category,
.urbio-product-category * {
    box-sizing: border-box;
}

.urbio-product-category {
    --urbio-orange: #EC571A;
    --urbio-background: #080808;
    --urbio-card: #101010;
    --urbio-border: rgba(255, 255, 255, 0.12);

    width: 100%;

    color: #ffffff;
    font-family: "Exo 2", sans-serif;
}


/* =========================================================
   CATEGORY HEADER
   ========================================================= */

.urbio-product-category__header {
    min-height: 84px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;

    margin-bottom: 20px;
    padding: 18px 22px;

    background:
        linear-gradient(
            110deg,
            rgba(255, 255, 255, 0.045),
            rgba(255, 255, 255, 0.012)
        );

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
}

.urbio-product-category__eyebrow {
    display: block;

    margin-bottom: 7px;

    color: var(--urbio-orange);

    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.urbio-product-category__header h2 {
    margin: 0;

    color: #ffffff;

    font-family: "Exo 2", sans-serif;
    font-size: 26px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.025em;
}

.urbio-product-category__header > p {
    max-width: 490px;
    margin: 0;

    color: rgba(255, 255, 255, 0.52);

    font-size: 12px;
    font-weight: 400;
    line-height: 1.55;
}


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

.urbio-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 20px;
}


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

.urbio-product-card {
    position: relative;

    min-width: 0;

    display: flex;
    flex-direction: column;

    color: #ffffff !important;
    background: var(--urbio-card);

    border: 1px solid var(--urbio-border);
    border-radius: 18px;

    text-decoration: none !important;

    overflow: hidden;

    transition:
        border-color 0.3s ease,
        background-color 0.3s ease,
        box-shadow 0.3s ease;
}

.urbio-product-card:hover {
    color: #ffffff !important;
    text-decoration: none !important;

    border-color: var(--urbio-orange);

    background: #121212;

    box-shadow:
        0 22px 55px rgba(0, 0, 0, 0.3);
}


/* =========================================================
   PRODUCT IMAGE AREA
   ========================================================= */

.urbio-product-card__visual {
    position: relative;

    height: 350px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 50px 44px 38px;

    background:
        radial-gradient(
            circle at 50% 48%,
            rgba(236, 87, 26, 0.09),
            transparent 37%
        ),
        linear-gradient(
            145deg,
            #1b1b1b,
            #111111
        );

    border-bottom: 1px solid rgba(255, 255, 255, 0.09);

    overflow: hidden;
}


/* Technical grid inside image area */

.urbio-product-card__visual::before {
    content: "";

    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        );

    background-size: 38px 38px;

    -webkit-mask-image:
        radial-gradient(
            circle at center,
            #000,
            transparent 72%
        );

    mask-image:
        radial-gradient(
            circle at center,
            #000,
            transparent 72%
        );

    pointer-events: none;
}

.urbio-product-card__visual img {
    position: relative;
    z-index: 2;

    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 300px;

    display: block;

    object-fit: contain;

    filter:
        drop-shadow(0 26px 25px rgba(0, 0, 0, 0.55));

    transition:
        transform 0.5s cubic-bezier(.2, .75, .25, 1),
        filter 0.4s ease;
}

.urbio-product-card:hover
.urbio-product-card__visual img {
    transform:
        translateY(-5px)
        scale(1.025);

    filter:
        drop-shadow(0 32px 30px rgba(0, 0, 0, 0.65));
}


/* Product type label */

.urbio-product-card__type {
    position: absolute;
    z-index: 4;

    top: 20px;
    left: 20px;

    display: inline-flex;
    align-items: center;

    padding: 7px 10px;

    color: rgba(255, 255, 255, 0.68);
    background: rgba(8, 8, 8, 0.48);

    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 100px;

    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);

    font-size: 8px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}


/* Product number */

.urbio-product-card__number {
    position: absolute;
    z-index: 4;

    top: 20px;
    right: 20px;

    width: 34px;
    height: 34px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: rgba(255, 255, 255, 0.62);
    background: rgba(8, 8, 8, 0.48);

    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 50%;

    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);

    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.08em;
}


/* Ground shadow */

.urbio-product-card__shadow {
    position: absolute;
    z-index: 1;

    left: 50%;
    bottom: 40px;

    width: 48%;
    height: 25px;

    background: rgba(0, 0, 0, 0.68);
    border-radius: 50%;

    filter: blur(18px);

    transform: translateX(-50%);

    pointer-events: none;
}


/* =========================================================
   CARD BODY
   ========================================================= */

.urbio-product-card__body {
    flex: 1;

    display: flex;
    flex-direction: column;

    padding: 26px;
}


/* Heading */

.urbio-product-card__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;

    margin-bottom: 18px;
}

.urbio-product-card__heading > div > span {
    display: block;

    margin-bottom: 8px;

    color: var(--urbio-orange);

    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.15em;
}

.urbio-product-card__heading h3 {
    margin: 0;

    color: #ffffff;

    font-family: "Exo 2", sans-serif;
    font-size: 34px;
    font-weight: 500;
    line-height: 0.95;
    letter-spacing: -0.04em;
}


/* Status badge */

.urbio-product-card__status {
    flex-shrink: 0;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 7px 10px;

    color: rgba(255, 255, 255, 0.68);
    background: rgba(255, 255, 255, 0.035);

    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;

    font-size: 8px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.urbio-product-card__status::before {
    content: "";

    width: 6px;
    height: 6px;

    background: var(--urbio-orange);
    border-radius: 50%;

    box-shadow:
        0 0 9px rgba(236, 87, 26, 0.65);
}


/* Description */

.urbio-product-card__description {
    margin: 0 0 24px;

    color: rgba(255, 255, 255, 0.58);

    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
}


/* =========================================================
   SPECIFICATIONS
   ========================================================= */

.urbio-product-card__specifications {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    margin-bottom: 26px;

    border-top: 1px solid rgba(255, 255, 255, 0.09);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.urbio-product-card__specifications > div {
    min-width: 0;

    padding: 17px 14px;
}

.urbio-product-card__specifications > div:first-child {
    padding-left: 0;
}

.urbio-product-card__specifications > div:last-child {
    padding-right: 0;
}

.urbio-product-card__specifications > div + div {
    border-left: 1px solid rgba(255, 255, 255, 0.09);
}

.urbio-product-card__specifications span {
    display: block;

    margin-bottom: 7px;

    color: rgba(255, 255, 255, 0.36);

    font-size: 8px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.urbio-product-card__specifications strong {
    display: block;

    color: rgba(255, 255, 255, 0.88);

    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
}


/* =========================================================
   FOOTER
   ========================================================= */

.urbio-product-card__footer {
    min-height: 42px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-top: auto;
}

.urbio-product-card__link {
    color: #ffffff;

    font-size: 11px;
    font-weight: 600;
    line-height: 1;
}

.urbio-product-card__arrow {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;

    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease;
}

.urbio-product-card__arrow svg {
    width: 17px;
    height: 17px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.urbio-product-card:hover
.urbio-product-card__arrow {
    color: #ffffff;
    background: var(--urbio-orange);
    border-color: var(--urbio-orange);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {
    .urbio-product-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .urbio-product-category__header {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .urbio-product-category__header > p {
        max-width: none;
    }

    .urbio-product-card__visual {
        height: 280px;
    }

    .urbio-product-card__specifications {
        grid-template-columns: 1fr;
    }

    .urbio-product-card__specifications > div {
        padding: 14px 0;
    }

    .urbio-product-card__specifications > div + div {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.09);
    }
}

/* Elementor/theme isolation */
.elementor-widget-urbio_pedestrian_luminaires .urbio-product-card,
.elementor-widget-urbio_pedestrian_luminaires .urbio-product-card:hover,
.elementor-widget-urbio_pedestrian_luminaires .urbio-product-card:focus,
.elementor-widget-urbio_pedestrian_luminaires .urbio-product-card:active {
    text-decoration: none !important;
    outline: none;
}

.elementor-widget-urbio_pedestrian_luminaires .urbio-product-card__visual img {
    margin: 0;
}
