/* =========================================================
   Elementor Hot Spot Widget — hotspot-widget.css
   ========================================================= */

/* ── Reset & Base ──────────────────────────────────────── */
.ehw-widget *,
.ehw-widget *::before,
.ehw-widget *::after {
    box-sizing: border-box;
}

.ehw-widget {
    font-family: inherit;
    max-width: 100%;
}

/* ── Image Area ─────────────────────────────────────────── */
.ehw-image-area {
    /* background-color: #fdf5f0;
    border-radius: 12px; */
    /* padding: 0 24px; */
}

/* ── Desktop Layout ─────────────────────────────────────── */
.ehw-desktop-layout {
    display: flex;
    align-items: center;
    gap: 74px;
}

.ehw-mobile-layout {
    display: none;
}

/* ── Image Wrap & Pins ──────────────────────────────────── */
.ehw-image-wrap {
    position: relative;
    flex: 0 0 53%;
    max-width: 574px;
}

.ehw-image {
    width: 100%;
    height: auto;
    display: block;
    user-select: none;
    pointer-events: none;
}

/* ── Hotspot Pin ────────────────────────────────────────── */
.ehw-pin {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: #F47A55;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    padding: 0;
    line-height: 1;
    border: 4px solid;
    filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.4));
    opacity: 0.85;
}

.ehw-pin:hover,
.ehw-pin.is-active {
    transform: translate(-50%, -50%) scale(1.15);
    background-color: #bc4b2a;
}

.ehw-pin:focus-visible {
    outline: 3px solid #F47A55;
    outline-offset: 3px;
}

/* ── Feature List ───────────────────────────────────────── */
.ehw-list-wrap {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ehw-list-item {
    background: #fff;
    border-radius: 10px;
    filter: drop-shadow(0px 0px 10px rgba(131,50,27,0.12 ));
    overflow: hidden;
    transition: border-radius 0.25s ease;
}

.ehw-list-item__header {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 24px 12px 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
}

.ehw-list-item__header:focus-visible {
    outline: 2px solid #F47A55;
    outline-offset: 2px;
}

.ehw-list-item__number {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #F47A55;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.ehw-list-item__label {
    flex: 1 1 auto;
    font-size: 20px;
    font-weight: bold;
    color: #696969;
    line-height: 27px;
}

.ehw-list-item__toggle {
    flex: 0 0 34px;
    /* width: 24px;
    height: 24px; */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F47A55;
    /* border: 1.5px solid #F47A55; */
    /* border-radius: 50%; */
    transition: background-color 0.2s, color 0.2s;
}


.ehw-icon-plus,
.ehw-icon-minus {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
}

/* Show/hide plus and minus icons */
.ehw-list-item .ehw-icon-minus { display: none; }
.ehw-list-item .ehw-icon-plus  { display: block; }
.ehw-list-item.is-open .ehw-icon-plus  { display: none; }
.ehw-list-item.is-open .ehw-icon-minus { display: block; }

/* ── Expanded Panel (Desktop) ───────────────────────────── */
.ehw-list-item:hover .ehw-list-item__number,
.ehw-list-item__header:hover .ehw-list-item__number {
    background-color: #bc4b2a;
}

.ehw-list-item:hover .ehw-list-item__toggle,
.ehw-list-item__header:hover .ehw-list-item__toggle {
    color: #bc4b2a;
}

.ehw-expanded-panel {
    background: #fff;
    border-radius: 0 0 16px 16px;
    padding: 6px 20px 40px;
    /* box-shadow: 0 4px 20px rgba(0,0,0,0.08); */
    animation: ehw-slideDown 0.22s ease forwards;
}

.ehw-expanded-panel[hidden] {
    display: none;
}

@keyframes ehw-slideDown {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.ehw-expanded-panel__inner {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.ehw-expanded-panel__number {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #F47A55;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.ehw-expanded-panel__title {
    flex: 1 1 auto;
    font-size: 14px;
    font-weight: 700;
    color: #222;
}

.ehw-expanded-panel__close {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    background: none;
    border: 1.5px solid #F47A55;
    border-radius: 50%;
    color: #F47A55;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background-color 0.2s, color 0.2s;
}

.ehw-expanded-panel__close:hover {
    background-color: #F47A55;
    color: #fff;
}

.ehw-expanded-panel__close:focus-visible {
    outline: 2px solid #F47A55;
    outline-offset: 2px;
}

.ehw-expanded-panel__desc {
    font-size: 20px;
    color: #696969;
    margin: 0;
}

/* ── Mobile Layout ──────────────────────────────────────── */
@media (max-width: 767px) {

    .ehw-desktop-layout {
        display: none;
    }

    .ehw-mobile-layout {
        display: block;
    }

    .ehw-mobile-image-area {
        padding: 0 16px 20px;
    }

    .ehw-mobile-image-area .ehw-image-wrap {
        max-width: 100%;
        width: 100%;
    }

    /* ── Mobile Accordion List ──────────────────────────── */
    .ehw-mobile-list {
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 0 0 8px;
        margin-left: 16px;
        margin-right: 16px;
    }

    .ehw-list-item--mobile {
        background: #fff;
        overflow: hidden;
        transition: border-radius 0.25s ease;
    }

    /* Mobile expanded panel */
    .ehw-mobile-panel {
        padding: 0 16px 18px;
        animation: ehw-slideDown 0.22s ease forwards;
    }

    .ehw-list-item__header {
        padding-left: 16px;
        padding-right: 16px;
    }

    .ehw-list-item__number {
        width: 28px;
        height: 28px;
        font-size: 18px;
        flex: 0 0 28px;
    }

    .ehw-icon-plus, .ehw-icon-minus {
        width: 27px;
        height: 27px;
    }

    .ehw-mobile-panel[hidden] {
        display: none;
    }

    .ehw-mobile-panel .ehw-expanded-panel__desc {
        font-size: 18px;
        line-height: 27px;
        color: #696969;
        margin: 0;
    }

    .ehw-list-item__label {
        font-size: 18px;
    }
}

/* ── Tablet (768px – 1024px): treat like mobile ─────────── */
@media (min-width: 768px) and (max-width: 1024px) {

    .ehw-desktop-layout {
        flex-direction: column;
        padding-left: 54px;
        padding-right: 54px;
        padding-top: 20px;
        gap: 50px;
    }

    .ehw-image-wrap {
        max-width: 100%;
        flex: 0 0 100%;
        width: 100%;
    }

    .ehw-list-wrap {
        width: 100%;
        max-width: 472px;
    }
}
