/**
 * WooWish Base — CSS Custom Properties & Isolation Reset
 */

:root {
    --wr-primary: #e8475f;
    --wr-primary-light: #fde8eb;
    --wr-primary-light-active: rgba(232, 71, 95, 0.18);
    --wr-primary-hover: #d63a51;
    --wr-primary-dark: #b8354a;
    --wr-success: #34c759;
    --wr-success-light: #e8f5e9;
    --wr-text: #1a1a2e;
    --wr-text-secondary: #4a4a5e;
    --wr-text-muted: #8a8a9a;
    --wr-bg: #ffffff;
    --wr-bg-secondary: #f8f8fa;
    --wr-border: #e2e2e8;
    --wr-border-light: #f0f0f4;
    --wr-radius: 12px;
    --wr-radius-sm: 8px;
    --wr-radius-xs: 6px;
    --wr-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    --wr-shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.05);
    --wr-shadow-hover: 0 8px 40px rgba(0, 0, 0, 0.12);
    --wr-transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    --wr-transition-slow: 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    --wr-transition-spring: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    --wr-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    --wr-font-size: 14px;
    --wr-font-size-sm: 13px;
    --wr-font-size-xs: 12px;
    --wr-line-height: 1.5;
}

/* ---------------------------------------------------------------
 * Scoped reset — isolate WooWish from theme styles
 * ------------------------------------------------------------- */

.wr-heart-wrap,
.wr-product-banner,
.wr-wishlist-page,
.wr-shared-page,
.wr-toast,
.ww-toast,
.wr-share-panel,
.ww-share-panel,
.wr-dropdown {
    box-sizing: border-box !important;
    font-family: var(--wr-font-family) !important;
    font-size: var(--wr-font-size) !important;
    line-height: var(--wr-line-height) !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: 0;
    text-transform: none;
}

.wr-heart-wrap *,
.wr-heart-wrap *::before,
.wr-heart-wrap *::after,
.wr-product-banner *,
.wr-product-banner *::before,
.wr-product-banner *::after,
.wr-wishlist-page *,
.wr-wishlist-page *::before,
.wr-wishlist-page *::after,
.wr-shared-page *,
.wr-shared-page *::before,
.wr-shared-page *::after,
.wr-dropdown *,
.wr-dropdown *::before,
.wr-dropdown *::after,
.wr-toast *,
.ww-toast *,
.ww-toast *::before,
.ww-toast *::after {
    box-sizing: border-box !important;
    text-decoration: none;
    letter-spacing: 0;
    text-transform: none;
}

.wr-wishlist-page button,
.wr-wishlist-page input,
.wr-wishlist-page textarea,
.wr-wishlist-page select,
.wr-dropdown button,
.wr-dropdown input,
.wr-heart-wrap button {
    font-family: var(--wr-font-family) !important;
    font-size: var(--wr-font-size) !important;
    line-height: var(--wr-line-height) !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    border-radius: var(--wr-radius-sm) !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

.wr-wishlist-page a,
.wr-dropdown a {
    text-decoration: none !important;
    box-shadow: none !important;
}

/* Remove focus/active outline across WooWish UI */
.wr-heart-wrap button:focus,
.wr-heart-wrap button:active,
.wr-heart-wrap input:focus,
.wr-heart-wrap input:active,
.wr-product-banner button:focus,
.wr-product-banner button:active,
.wr-wishlist-page button:focus,
.wr-wishlist-page button:active,
.wr-wishlist-page input:focus,
.wr-wishlist-page input:active,
.wr-wishlist-page textarea:focus,
.wr-wishlist-page textarea:active,
.wr-wishlist-page select:focus,
.wr-wishlist-page select:active,
.wr-wishlist-page a:focus,
.wr-wishlist-page a:active,
.wr-shared-page button:focus,
.wr-shared-page button:active,
.wr-shared-page input:focus,
.wr-shared-page input:active,
.wr-shared-page textarea:focus,
.wr-shared-page textarea:active,
.wr-shared-page select:focus,
.wr-shared-page select:active,
.wr-shared-page a:focus,
.wr-shared-page a:active,
.wr-dropdown button:focus,
.wr-dropdown button:active,
.wr-dropdown input:focus,
.wr-dropdown input:active,
.wr-share-panel button:focus,
.ww-share-panel button:focus,
.ww-share-panel button:active,
.ww-share-panel input:focus,
.ww-share-panel input:active,
.ww-share-panel textarea:focus,
.ww-share-panel textarea:active {
    outline: none !important;
}

[v-cloak] { display: none !important; }
