/* ==========================================================
   MESINA — PREMIUM PRODUCT OVERVIEW
   ========================================================== */

.mesina-overview,
.mesina-overview * {
    box-sizing: border-box;
}

.mesina-model-power{
    color:var(--mesina-overview-accent) !important;
    font: inherit !important;
    font-weight: inherit !important;
    white-space: nowrap !important;
}

.mesina-overview {
    position: relative;
    width: 100%;
    overflow: hidden;

    font-family: "Exo 2", sans-serif;
    color: #1d1d1f;

    background:
        radial-gradient(
            circle at 0% 0%,
            rgba(236, 87, 26, 0.07),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fdfdfd 100%
        );

    border: 1px solid #d7d7d7;
    border-radius: 18px;

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

.mesina-overview:hover {
    border-color: rgba(236, 87, 26, 0.42);
    box-shadow: none;
}


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

.mesina-overview__header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 34px;
    align-items: center;

    padding: 24px 30px;

    border-bottom: 1px solid rgba(0, 0, 0, 0.075);
}

.mesina-overview__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    width: max-content;
    padding: 8px 12px;

    color: var(--mesina-overview-accent);
    background: rgba(236, 87, 26, 0.07);
    border: 1px solid rgba(236, 87, 26, 0.18);
    border-radius: 999px;

    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    white-space: nowrap;
}

.mesina-overview__badge-dot {
    width: 6px;
    height: 6px;
    flex: 0 0 6px;

    background: var(--mesina-overview-accent);
    border-radius: 50%;

    box-shadow: 0 0 0 4px rgba(236, 87, 26, 0.1);
}

.mesina-overview__identity {
    display: grid;
    grid-template-columns: 2fr 1.3fr 1.7fr;
    gap: 24px;
    align-items: center;
}

.mesina-overview__identity-item {
    position: relative;
    min-width: 0;
}

.mesina-overview__identity-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 4px;
    right: -12px;
    bottom: 4px;

    width: 1px;
    background: rgba(0, 0, 0, 0.07);
}

.mesina-overview__identity-item span {
    display: block;
    margin-bottom: 4px;

    color: #929292;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: 0.025em;
}

.mesina-overview__identity-item strong {
    display: block;

    color: #1b1b1d;
    font-size: clamp(16px, 1.15vw, 20px);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.015em;
}

.mesina-overview__power strong {
    color: var(--mesina-overview-accent);
}


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

.mesina-overview__specs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;

    padding: 18px;
}

.mesina-spec {
    position: relative;

    display: flex;
    align-items: center;
    gap: 12px;

    min-width: 0;
    min-height: 76px;
    padding: 14px;

    background: rgba(248, 248, 248, 0.78);
    border: 1px solid rgba(0, 0, 0, 0.055);
    border-radius: 13px;

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

.mesina-spec:hover {
    transform: translateY(-2px);

    background: #ffffff;
    border-color: rgba(236, 87, 26, 0.28);

    box-shadow: none;
}

.mesina-spec__number {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;
    flex: 0 0 34px;

    color: var(--mesina-overview-accent);
    background: rgba(236, 87, 26, 0.075);
    border: 1px solid rgba(236, 87, 26, 0.16);
    border-radius: 10px;

    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.03em;

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

.mesina-spec:hover .mesina-spec__number {
    color: #ffffff;
    background: var(--mesina-overview-accent);
    border-color: var(--mesina-overview-accent);
}

.mesina-spec__content {
    min-width: 0;
}

.mesina-spec__content span {
    display: block;
    margin-bottom: 4px;

    color: #929292;
    font-size: 10.5px;
    line-height: 1.2;
    font-weight: 500;
}

.mesina-spec__content strong {
    display: block;

    color: #292929;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 650;
}

.mesina-overview{--mesina-overview-accent:#EC571A;min-width:0}
.elementor-widget-mesina_product_overview .mesina-overview{width:100%}
@media(max-width:767px){
    .mesina-overview{width:100%;min-width:0;max-width:100%;overflow:hidden}
    .mesina-overview__header,.mesina-overview__identity,.mesina-overview__specs,.mesina-spec{min-width:0;max-width:100%}
    .mesina-overview__badge{max-width:100%;white-space:normal}
    .mesina-overview__identity-item strong,.mesina-spec__content strong{overflow-wrap:anywhere}
}

/* v1.0.1 - no shadow on specification cards */
.mesina-overview .mesina-spec,
.mesina-overview .mesina-spec:hover,
.mesina-overview .mesina-spec:focus,
.mesina-overview .mesina-spec:focus-visible{
    box-shadow:none !important;
}


/* ==========================================================
   MESINA PRODUCT OVERVIEW — COMPLETE RESPONSIVE CSS
   ========================================================== */


/* Previne ruperea urâtă a valorilor */

.mesina-overview__identity-item strong,
.mesina-spec__content strong {
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

.mesina-overview__power strong,
.mesina-spec__content strong {
    white-space: nowrap;
}


/* ==========================================================
   SUB 1600PX — 3 + 3 + 2 CARDURI
   ========================================================== */

@media (max-width: 1600px) {

    .mesina-overview__header {
        gap: 28px;
        padding: 22px 26px;
    }

    .mesina-overview__identity {
        gap: 20px;
    }

    .mesina-overview__identity-item strong {
        font-size: 18px;
    }

    /*
     * Grid cu 6 coloane virtuale:
     * primele 6 carduri ocupă câte 2 coloane = 3 pe rând;
     * ultimele două ocupă câte 3 coloane = 2 pe ultimul rând.
     */

    .mesina-overview__specs {
        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
        gap: 10px !important;
        padding: 16px !important;
    }

    .mesina-spec {
        grid-column: span 2;

        gap: 11px;
        min-height: 74px;
        padding: 13px;
    }

    .mesina-spec:nth-last-child(2),
    .mesina-spec:last-child {
        grid-column: span 3;
    }
}


/* ==========================================================
   SUB 1440PX
   Ascunde Lighting Series / Street Luminaires
   ========================================================== */

@media (max-width: 1440px) {

    .mesina-overview__header {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 22px;
        padding: 20px 22px;
    }

    .mesina-overview__badge {
        padding: 7px 10px;
        font-size: 9px;
    }

    /* Ascunde prima informație din header */

    .mesina-overview__identity-item:first-child {
        display: none !important;
    }

    /* Collection + Model */

    .mesina-overview__identity {
        grid-template-columns:
            minmax(0, 0.85fr)
            minmax(0, 1.15fr);

        gap: 24px;
    }

    .mesina-overview__identity-item:not(:last-child)::after {
        right: -12px;
    }

    .mesina-overview__identity-item strong {
        font-size: 16px;
    }

    .mesina-overview__specs {
        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
        gap: 9px !important;
        padding: 14px !important;
    }

    .mesina-spec {
        grid-column: span 2;

        gap: 10px;
        min-height: 70px;
        padding: 12px;
    }

    .mesina-spec:nth-last-child(2),
    .mesina-spec:last-child {
        grid-column: span 3;
    }

    .mesina-spec__number {
        width: 32px;
        height: 32px;
        flex: 0 0 32px;
    }

    .mesina-spec__content span {
        font-size: 9.5px;
    }

    .mesina-spec__content strong {
        font-size: 12px;
    }
}


/* ==========================================================
   SUB 1280PX
   ========================================================== */

@media (max-width: 1280px) {

    .mesina-overview__header {
        gap: 18px;
        padding: 18px 20px;
    }

    .mesina-overview__identity {
        grid-template-columns:
            minmax(0, 0.8fr)
            minmax(0, 1.2fr);

        gap: 20px;
    }

    .mesina-overview__identity-item:not(:last-child)::after {
        right: -10px;
    }

    .mesina-overview__identity-item span {
        font-size: 9.5px;
    }

    .mesina-overview__identity-item strong {
        font-size: 15px;
    }

    .mesina-overview__specs {
        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
        gap: 8px !important;
        padding: 12px !important;
    }

    .mesina-spec {
        grid-column: span 2;

        gap: 8px;
        min-height: 66px;
        padding: 10px;
    }

    .mesina-spec:nth-last-child(2),
    .mesina-spec:last-child {
        grid-column: span 3;
    }

    .mesina-spec__number {
        width: 29px;
        height: 29px;
        flex: 0 0 29px;

        font-size: 9px;
    }

    .mesina-spec__content span {
        margin-bottom: 3px;
        font-size: 9px;
    }

    .mesina-spec__content strong {
        font-size: 11.5px;
    }
}


/* ==========================================================
   TABLET — SUB 1024PX
   ========================================================== */

@media (max-width: 1024px) {

    .mesina-overview__badge {
        display: none !important;
    }

    .mesina-overview__header {
        display: block;
        padding: 20px !important;
    }

    /*
     * Lighting Series rămâne ascuns.
     * Collection și Model rămân pe același rând.
     */

    .mesina-overview__identity {
        grid-template-columns:
            minmax(0, 0.8fr)
            minmax(0, 1.2fr);

        gap: 22px;
    }

    .mesina-overview__identity-item:first-child {
        display: none !important;
    }

    .mesina-overview__identity-item:not(:last-child)::after {
        display: block;
        right: -11px;
    }

    .mesina-overview__identity-item span {
        font-size: 10px;
    }

    .mesina-overview__identity-item strong {
        font-size: 15px;
    }

    /*
     * Două carduri pe rând.
     * Resetăm span-urile folosite la 3 + 3 + 2.
     */

    .mesina-overview__specs {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 9px !important;
        padding: 12px !important;
    }

    .mesina-spec,
    .mesina-spec:nth-last-child(2),
    .mesina-spec:last-child {
        grid-column: auto !important;
    }

    .mesina-spec {
        min-height: 68px;
        padding: 12px;
    }

    .mesina-spec__number {
        width: 32px;
        height: 32px;
        flex: 0 0 32px;
    }

    .mesina-spec__content span {
        font-size: 10px;
    }

    .mesina-spec__content strong {
        font-size: 12.5px;
    }
}


/* ==========================================================
   MOBILE — SUB 768PX
   ========================================================== */

@media (max-width: 767px) {

    .mesina-overview {
        width: 100%;
        min-width: 0;
        max-width: 100%;

        overflow: hidden;
        border-radius: 15px;
    }

    .mesina-overview__header {
        padding: 18px 16px !important;
    }

    /*
     * Pe mobil ascundem și Collection.
     * Rămâne numai Model.
     */

    .mesina-overview__identity {
        display: block;
        width: 100%;
    }

    .mesina-overview__identity-item:not(.mesina-overview__power) {
        display: none !important;
    }

    .mesina-overview__identity-item::after {
        display: none !important;
    }

    .mesina-overview__power {
        width: 100%;
        padding: 0;
        border: 0;

        text-align: center;
    }

    .mesina-overview__power span {
        margin-bottom: 5px;

        font-size: 10px;
    }

    .mesina-overview__power strong {
        font-size: 18px;
        line-height: 1.2;
        white-space: normal !important;
    }


    /* Specificații pe un singur rând vertical */

    .mesina-overview__specs {
        grid-template-columns: 1fr !important;
        gap: 7px !important;
        padding: 10px !important;
    }

    .mesina-spec,
    .mesina-spec:nth-last-child(2),
    .mesina-spec:last-child {
        grid-column: auto !important;
    }

    .mesina-spec {
        display: grid;
        grid-template-columns:
            minmax(100px, 0.85fr)
            minmax(0, 1.15fr);

        align-items: center;
        gap: 14px;

        min-height: 54px;
        padding: 11px 13px;

        border-radius: 11px;
    }

    /* Ascunde numerele 01–08 */

    .mesina-spec__number {
        display: none !important;
    }

    .mesina-spec__content {
        display: contents;
    }

    .mesina-spec__content span {
        margin: 0;

        color: #777b80;

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

    .mesina-spec__content strong {
        margin: 0;

        font-size: 12px;
        line-height: 1.3;
        text-align: right;

        white-space: normal !important;
        overflow-wrap: anywhere;
    }
}

/* ==========================================================
   HEADER REARRANGEMENT — 1025PX–1440PX
   Product Overview | Collection | Model
   ========================================================== */

@media (min-width: 1025px) and (max-width: 1440px) {

    .elementor-widget-mesina_product_overview
    .mesina-overview__header {
        display: grid !important;
        grid-template-columns:
            minmax(150px, 1fr)
            minmax(130px, 1fr)
            minmax(160px, 1.15fr) !important;

        gap: 0 !important;
        align-items: center;

        padding: 18px 22px !important;
    }

    /*
     * Copiii din identity intră direct în gridul headerului.
     */

    .elementor-widget-mesina_product_overview
    .mesina-overview__identity {
        display: contents !important;
    }

    /* Lighting Series rămâne ascuns */

    .elementor-widget-mesina_product_overview
    .mesina-overview__identity-item:first-child {
        display: none !important;
    }

    /* Elimină separatoarele vechi */

    .elementor-widget-mesina_product_overview
    .mesina-overview__identity-item::after {
        display: none !important;
    }

    /* Badge */

    .elementor-widget-mesina_product_overview
    .mesina-overview__badge {
        justify-self: start;

        margin: 0;
    }

    /* Collection și Model */

    .elementor-widget-mesina_product_overview
    .mesina-overview__identity-item {
        display: flex;
        flex-direction: column;
        justify-content: center;

        width: 100%;
        min-height: 42px;

        padding-left: 22px;

        border-left: 1px solid rgba(0, 0, 0, 0.08);
    }

    .elementor-widget-mesina_product_overview
    .mesina-overview__identity-item span {
        margin: 0 0 4px;

        font-size: 10px;
        line-height: 1.1;
    }

    .elementor-widget-mesina_product_overview
    .mesina-overview__identity-item strong {
        margin: 0;

        font-size: 15px;
        line-height: 1.15;
        white-space: nowrap;
    }
}

/* ==========================================================
   TABLET — AFIȘEAZĂ TOATE INFORMAȚIILE
   ========================================================== */

@media (max-width: 1024px) {

    /* Product Overview reapare */

    .elementor-widget-mesina_product_overview
    .mesina-overview__badge {
        display: inline-flex !important;
        justify-self: start;
    }

    .elementor-widget-mesina_product_overview
    .mesina-overview__header {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 18px !important;

        padding: 20px !important;
    }

    /* Toate cele trei informații */

    .elementor-widget-mesina_product_overview
    .mesina-overview__identity {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 0 !important;

        width: 100%;
    }

    .elementor-widget-mesina_product_overview
    .mesina-overview__identity-item,
    .elementor-widget-mesina_product_overview
    .mesina-overview__identity-item:first-child,
    .elementor-widget-mesina_product_overview
    .mesina-overview__identity-item:not(.mesina-overview__power) {
        display: block !important;

        min-width: 0;
        padding: 0 20px;
    }

    .elementor-widget-mesina_product_overview
    .mesina-overview__identity-item:first-child {
        padding-left: 0;
    }

    .elementor-widget-mesina_product_overview
    .mesina-overview__identity-item:last-child {
        padding-right: 0;
    }

    /* Separatoare între cele trei informații */

    .elementor-widget-mesina_product_overview
    .mesina-overview__identity-item:not(:last-child)::after {
        display: block !important;

        top: 2px;
        right: 0;
        bottom: 2px;
    }

    .elementor-widget-mesina_product_overview
    .mesina-overview__identity-item span {
        font-size: 10px;
    }

    .elementor-widget-mesina_product_overview
    .mesina-overview__identity-item strong {
        font-size: 15px;
        white-space: normal;
    }

    .elementor-widget-mesina_product_overview
    .mesina-overview__power {
        width: auto;
        text-align: left;
    }
}


/* ==========================================================
   MOBILE — AFIȘEAZĂ TOATE INFORMAȚIILE
   ========================================================== */

@media (max-width: 767px) {

    .elementor-widget-mesina_product_overview
    .mesina-overview__header {
        gap: 18px !important;
        padding: 18px 16px !important;
    }

    /* Badge centrat */

    .elementor-widget-mesina_product_overview
    .mesina-overview__badge {
        display: inline-flex !important;
        justify-self: center;

        width: max-content;
        max-width: 100%;
    }

    /* Informațiile devin trei rânduri curate */

    .elementor-widget-mesina_product_overview
    .mesina-overview__identity {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    .elementor-widget-mesina_product_overview
    .mesina-overview__identity-item,
    .elementor-widget-mesina_product_overview
    .mesina-overview__identity-item:first-child,
    .elementor-widget-mesina_product_overview
    .mesina-overview__identity-item:not(.mesina-overview__power) {
        display: block !important;

        width: 100%;
        padding: 13px 0 !important;

        text-align: center;
        border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    }

    .elementor-widget-mesina_product_overview
    .mesina-overview__identity-item:first-child {
        padding-top: 0 !important;
    }

    .elementor-widget-mesina_product_overview
    .mesina-overview__identity-item:last-child {
        padding-bottom: 0 !important;

        border-bottom: 0;
    }

    /* Elimină separatoarele verticale */

    .elementor-widget-mesina_product_overview
    .mesina-overview__identity-item::after {
        display: none !important;
    }

    .elementor-widget-mesina_product_overview
    .mesina-overview__identity-item span {
        margin-bottom: 4px;

        font-size: 10px;
    }

    .elementor-widget-mesina_product_overview
    .mesina-overview__identity-item strong {
        font-size: 16px;
        white-space: normal !important;
    }

    .elementor-widget-mesina_product_overview
    .mesina-overview__power {
        text-align: center;
    }
}

@media (max-width: 1024px) {
    .elementor-widget-mesina_product_overview
    .mesina-overview__badge {
        display: none !important;
    }
}

@media (max-width: 767px) {

    .elementor-widget-mesina_product_overview
    .mesina-overview__identity-item::after,
    .elementor-widget-mesina_product_overview
    .mesina-overview__identity-item:not(:last-child)::after {
        content: none !important;
        display: none !important;
    }

    .elementor-widget-mesina_product_overview
    .mesina-overview__identity-item {
        border-left: 0 !important;
        border-right: 0 !important;
    }
}