/* Happy Place Stock Notify */
.hp-stock-notify-wrap {
    margin: 16px 0;
}

.hp-stock-notify-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #EA325D !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 12px 24px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
    justify-content: center;
}

.hp-stock-notify-btn:hover {
    background: #373A1D !important;
}

.hp-stock-notify-btn svg {
    flex-shrink: 0;
}

.hp-stock-notify-form {
    margin-top: 12px;
}

.hp-stock-notify-form-inner {
    position: relative;
    background: #FFF5F7;
    border: 1px solid #EEC0CB;
    border-radius: 8px;
    padding: 20px;
}

.hp-stock-notify-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #999;
    padding: 4px;
    line-height: 1;
}

.hp-stock-notify-close:hover {
    color: #373A1D;
}

.hp-stock-notify-title {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 600;
    color: #373A1D;
}

.hp-stock-notify-input-wrap {
    display: flex;
    gap: 8px;
}

.hp-stock-notify-email {
    flex: 1;
    padding: 10px 14px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    outline: none;
    transition: border-color 0.2s;
}

.hp-stock-notify-email:focus {
    border-color: #EA325D !important;
}

.hp-stock-notify-submit {
    background: #EA325D !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 10px 20px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.hp-stock-notify-submit:hover {
    background: #373A1D !important;
}

.hp-stock-notify-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.hp-stock-notify-message {
    margin: 10px 0 0;
    font-size: 13px;
    line-height: 1.4;
}

.hp-stock-notify-message.success {
    color: #2e7d32;
}

.hp-stock-notify-message.error {
    color: #c62828;
}

/* Loading spinner */
.hp-stock-notify-submit.loading {
    position: relative;
    color: transparent !important;
}

.hp-stock-notify-submit.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin: -8px 0 0 -8px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: hp-spin 0.6s linear infinite;
}

@keyframes hp-spin {
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 480px) {
    .hp-stock-notify-input-wrap {
        flex-direction: column;
    }
    
    .hp-stock-notify-submit {
        width: 100%;
    }
}
