/* Signup band, popup, and header cart/account icons. */

/* ---- shared form ---- */

.svgus-signup-form {
    max-width: 520px;
}

.svgus-signup-row {
    display: flex;
    gap: 8px;
}

.svgus-signup-row input[type="email"] {
    flex: 1 1 auto;
    padding: 11px 16px;
    border: 2px solid #e3e3e3;
    border-radius: 999px;
    font-size: 15px;
    outline: none;
}

.svgus-signup-row input[type="email"]:focus {
    border-color: #d6336c;
}

.svgus-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.svgus-signup-note {
    margin: 8px 0 0;
    font-size: 12.5px;
    color: #888;
}

.svgus-signup-msg {
    margin: 8px 0 0;
    font-size: 14px;
    font-weight: 600;
    min-height: 1em;
}

.svgus-signup-msg.is-ok {
    color: #0ca678;
}

.svgus-signup-msg.is-error {
    color: #d6336c;
}

.svgus-signup-title {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 800;
    color: #222;
}

.svgus-signup-sub {
    margin: 0 0 10px;
    font-size: 14.5px;
    color: #555;
}

/* ---- footer band ---- */

.svgus-signup-band {
    background: #fff0f5;
    border-top: 1px solid #fcc2d7;
}

.svgus-signup-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 28px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.svgus-signup-copy {
    flex: 1 1 320px;
}

.svgus-signup-band .svgus-signup-form {
    flex: 1 1 380px;
}

/* ---- popup ---- */

.svgus-popup {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(20, 10, 15, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* display:flex above would override the hidden attribute (author CSS beats
   the UA stylesheet), leaving the popup stuck open — this must win. */
.svgus-popup[hidden] {
    display: none !important;
}

.svgus-popup-card {
    position: relative;
    background: #fff;
    border-radius: 14px;
    padding: 32px 28px 24px;
    max-width: 460px;
    width: 100%;
    text-align: center;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
}

.svgus-popup-card .svgus-signup-form {
    margin: 0 auto;
}

.svgus-popup-card .svgus-signup-row {
    flex-direction: column;
}

.svgus-popup-emoji {
    font-size: 40px;
    margin: 0 0 6px;
    line-height: 1;
}

.svgus-popup-close {
    position: absolute;
    top: 8px;
    right: 12px;
    border: 0;
    background: none;
    font-size: 26px;
    line-height: 1;
    color: #999;
    cursor: pointer;
    padding: 4px 8px;
}

.svgus-popup-close:hover {
    color: #d6336c;
}

body.svgus-popup-open {
    overflow: hidden;
}

/* ---- header cart / account menu icons ---- */

.svgshop-menu-icon > a {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
}

.svgshop-menu-icon svg {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
}

.svgshop-menu-cart > a {
    position: relative;
}

.svgshop-cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: 999px;
    background: #d6336c;
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1;
}

@media (max-width: 768px) {
    .svgus-signup-inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .svgus-signup-row {
        flex-direction: column;
    }

    .svgus-signup-form {
        max-width: none;
    }
}
