.mg-guest-login-notice {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    margin: 0 0 18px;
    padding: 16px;
    border: 1px solid #efc15b;
    border-radius: 16px;
    background: #fff8e7;
    color: #171a23;
    box-shadow: 0 10px 26px rgba(40, 31, 9, 0.07);
}

.mg-guest-login-notice__icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 14px;
    background: #ffb000;
    color: #171a23;
}

.mg-guest-login-notice__icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.mg-guest-login-notice__copy {
    display: grid;
    min-width: 0;
    gap: 3px;
    line-height: 1.4;
}

.mg-guest-login-notice__copy strong {
    color: #171a23;
    font-size: 16px;
    font-weight: 700;
}

.mg-guest-login-notice__copy span {
    color: #626978;
    font-size: 14px;
}

body.woocommerce-checkout a.mg-guest-login-notice__button,
body.woocommerce-checkout a.mg-guest-login-notice__button:link,
body.woocommerce-checkout a.mg-guest-login-notice__button:visited {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border: 1px solid #e29b00 !important;
    border-radius: 12px;
    background: #ffb000 !important;
    color: #171a23 !important;
    -webkit-text-fill-color: #171a23 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1;
    text-decoration: none !important;
    text-indent: 0 !important;
    white-space: nowrap;
    opacity: 1 !important;
    visibility: visible !important;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

body.woocommerce-checkout a.mg-guest-login-notice__button:hover,
body.woocommerce-checkout a.mg-guest-login-notice__button:focus-visible {
    border-color: #cc8b00 !important;
    background: #ffc12e !important;
    color: #171a23 !important;
    -webkit-text-fill-color: #171a23 !important;
    transform: translateY(-1px);
}

@media (max-width: 600px) {
    .mg-guest-login-notice {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 12px;
        padding: 14px;
        border-radius: 14px;
    }

    .mg-guest-login-notice__icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }

    .woocommerce-checkout .mg-guest-login-notice__button {
        grid-column: 1 / -1;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .woocommerce-checkout .mg-guest-login-notice__button {
        transition: none;
    }
}
