/* =========================================
   NANO MAHDI - FINAL TOUCHES
   ENAMAD PLACEHOLDER + WHATSAPP FLOAT
========================================= */

/* ENAMAD */

.enamad-box {
    width: 118px;
    min-height: 132px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fffdf8;
    border: 1px solid rgba(216, 196, 155, .45);
}

.enamad-placeholder {
    width: 100%;
    min-height: 106px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    text-align: center;
    border: 1px dashed #cdbf9f;
    color: #8d8374;
}

.enamad-placeholder strong {
    color: #2d2a26;
    font-size: 11px;
    font-weight: 500;
}

.enamad-placeholder span {
    max-width: 85px;
    font-size: 8px;
    line-height: 1.7;
}


/* WHATSAPP FLOAT */

.whatsapp-float {
    position: fixed;
    left: 22px;
    bottom: 22px;
    z-index: 999;

    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: #1f1f1d;
    color: #f0e2c6;

    border: 1px solid rgba(216, 196, 155, .75);

    box-shadow:
        0 14px 36px rgba(0, 0, 0, .18);

    transition:
        transform .25s ease,
        background .25s ease,
        box-shadow .25s ease;
}

.whatsapp-float:hover {
    transform: translateY(-3px);
    background: #2a2824;
    box-shadow:
        0 18px 42px rgba(0, 0, 0, .24);
}

.whatsapp-float svg {
    width: 27px;
    height: 27px;
    fill: currentColor;
}

.whatsapp-float::after {
    content: "واتساپ";
    position: absolute;
    left: 68px;
    top: 50%;
    transform: translateY(-50%);

    padding: 7px 10px;

    white-space: nowrap;

    background: #1f1f1d;
    color: #f0e2c6;

    border: 1px solid rgba(216, 196, 155, .5);

    font-size: 9px;

    opacity: 0;
    visibility: hidden;

    transition: .2s;
}

.whatsapp-float:hover::after {
    opacity: 1;
    visibility: visible;
}


/* MOBILE */

@media (max-width: 620px) {

    .whatsapp-float {
        left: 14px;
        bottom: 14px;

        width: 52px;
        height: 52px;
    }

    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }

    .whatsapp-float::after {
        display: none;
    }

    .enamad-box {
        width: 108px;
        min-height: 122px;
    }
}
