@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400&display=swap');
.ebbie-modal-bg {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0; top: 0;
    width: 100vw; height: 100vh;
    background: rgba(76, 24, 105, 0.15);
    overflow: auto;
}
.ebbie-modal {
    background: #fff;
    border-radius: 18px;
    max-width: 445px;
    width: 96vw;
    max-height: 96vh;
    margin: 4vh auto;
    box-shadow: 0 8px 32px rgba(76, 24, 105, 0.19);
    font-family: 'Baloo 2', Arial, sans-serif;
    position: relative;
    display: flex;
    flex-direction: column;
}
.ebbie-modal-content {
    overflow-y: auto;
    padding: 30px 20px 22px 20px;
    max-height: 80vh;
}
@media (max-width: 600px) {
    .ebbie-modal-content {
        padding: 15px 3vw 13px 3vw;
        max-height: 78vh;
    }
}
.ebbie-modal-close {
    position: absolute;
    right: 20px; top: 12px;
    background: none;
    border: none;
    font-size: 32px;
    color: #C5A2B5;
    cursor: pointer;
    transition: color .18s;
    z-index: 2;
}
.ebbie-modal-close:hover { color: #4C1869; }
.ebbie-title {
    font-family: 'Baloo 2', Arial, sans-serif;
    font-size: 1.35rem;
    font-weight: 400;
    margin-bottom: 17px;
    color: #4C1869;
    text-align: center;
    letter-spacing: 0.5px;
}
.ebbie-lead {
    font-size: 1.03rem;
    text-align: center;
    margin-bottom: 22px;
    color: #53325B;
    max-width: 340px;
    margin-left: auto; margin-right: auto;
}
.ebbie-sizes-nav {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
}
.ebbie-btn {
    font-family: 'Baloo 2', Arial, sans-serif;
    font-size: 1.01rem;
    padding: 8px 16px;
    border-radius: 24px;
    border: 2.5px solid;
    border-color: #4C1869;
    background: linear-gradient(95deg, #fff 45%, #C5A2B5 145%);
    color: #4C1869;
    font-weight: 400;
    cursor: pointer;
    box-shadow: 0 2px 10px 0 rgba(76,24,105,0.07);
    margin-bottom: 6px;
    transition: border-color .19s, box-shadow .16s;
    min-width: 112px;
    outline: none;
}
.ebbie-btn.active,
.ebbie-btn:focus,
.ebbie-btn:active {
    border-color: #2E3192;
    box-shadow: 0 4px 24px 0 rgba(46,49,146,0.08);
}
.ebbie-sizes-table {
    display: none;
    animation: fadeIn .28s;
    margin-top: 7px;
}
.ebbie-sizes-table.active { display: block; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px);}
    to { opacity: 1; transform: translateY(0);}
}
.ebbie-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 1em;
    margin: 13px 0 4px 0;
    box-shadow: 0 3px 14px 0 rgba(76,24,105,0.08);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}
.ebbie-table th {
    background: linear-gradient(90deg, #C5A2B5 70%, #fff 130%);
    color: #4C1869;
    font-weight: 400;
    font-family: 'Baloo 2', Arial, sans-serif;
    padding: 9px 6px 9px 6px;
    font-size: 1.02em;
    border-bottom: 2px solid #C5A2B5;
    text-align: left;
    letter-spacing: 0.2px;
}
.ebbie-table td {
    padding: 7px 6px;
    font-family: 'Baloo 2', Arial, sans-serif;
    color: #53325B;
    background: #FAF6F9;
    font-size: 1em;
    border-bottom: 1px solid #EFE1EF;
}
.ebbie-table tr:nth-child(even) td {
    background: #F4ECF6;
}
.ebbie-table tr:last-child td {
    border-bottom: none;
}
.ebbie-table tr:hover td {
    background: #F3D8F2;
}
.ebbie-note {
    font-size: 0.97em;
    color: #4C1869;
    margin: 7px 0 2px 0;
    font-style: italic;
}
