/* PourWild Frontend Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    --pw-accent: #C1613D;
    --pw-bg: #F6F1EC;
    --pw-bg2: #EDE7E0;
    --pw-white: #fff;
    --pw-text: #2C2420;
    --pw-text2: #8A7E76;
    --pw-text3: #B5AAA0;
    --pw-serif: 'Playfair Display', Georgia, serif;
    --pw-sans: 'Inter', -apple-system, sans-serif;
    --pw-mono: 'SFMono-Regular', Consolas, monospace;
}

/* Scoped reset - wins over theme styles */
#pourwild-app,
#pourwild-app *,
#pourwild-app *::before,
#pourwild-app *::after {
    box-sizing: border-box !important;
    margin: 0;
    padding: 0;
}

#pourwild-app {
    background: #F6F1EC !important;
    min-height: 100vh;
    color: #2C2420 !important;
    font-family: 'Inter',-apple-system,sans-serif !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    -webkit-font-smoothing: antialiased;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
}

#pourwild-app a {
    color: inherit !important;
    text-decoration: none !important;
}
#pourwild-app a:hover { text-decoration: none !important; }

#pourwild-app h1, #pourwild-app h2, #pourwild-app h3, #pourwild-app h4 {
    font-family: 'Playfair Display',Georgia,serif !important;
    color: #2C2420 !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    letter-spacing: normal;
    text-transform: none;
}

#pourwild-app p {
    font-family: 'Inter',-apple-system,sans-serif !important;
    margin: 0 !important;
    padding: 0 !important;
    color: inherit;
}

#pourwild-app button {
    font-family: 'Inter',-apple-system,sans-serif !important;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    color: inherit;
    line-height: 1;
}

#pourwild-app input {
    font-family: 'Inter',-apple-system,sans-serif !important;
    outline: none;
    border: none;
    background: none;
    -webkit-appearance: none;
    border-radius: 0;
}

#pourwild-app input[type="email"],
#pourwild-app input[type="text"],
#pourwild-app input[type="number"] {
    background: #fff;
    border: 1px solid #EDE7E0;
    border-radius: 3px;
    padding: 8px 10px;
    color: #2C2420;
    font-size: 11px;
}

#pourwild-app select {
    font-family: 'Inter',-apple-system,sans-serif !important;
}

#pourwild-app ul, #pourwild-app ol {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

#pourwild-app img {
    max-width: 100%;
    height: auto;
    border: none !important;
    box-shadow: none !important;
}

/* Hide scrollbar for swipers */
#pourwild-app .pw-hide-scrollbar::-webkit-scrollbar { display: none !important; }
#pourwild-app .pw-hide-scrollbar { -ms-overflow-style: none !important; scrollbar-width: none !important; }

/* Navigation */
#pourwild-app .pw-nav {
    position: fixed !important; top: 0 !important; left: 0 !important; right: 0 !important; z-index: 100 !important;
    padding: 0 16px !important; height: 48px !important;
    display: flex !important; align-items: center !important; justify-content: space-between !important;
    transition: all .3s !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
#pourwild-app .pw-nav.scrolled {
    background: rgba(246,241,236,.96) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid #EDE7E0 !important;
}

/* Cards */
#pourwild-app .pw-card {
    background: #fff !important;
    border-radius: 3px !important;
    overflow: hidden !important;
    border: 1px solid #EDE7E0 !important;
    transition: all .3s !important;
    cursor: pointer !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
#pourwild-app .pw-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 30px rgba(44,36,32,.05) !important;
}

/* Modal overlay */
#pourwild-app .pw-modal-overlay {
    position: fixed !important; inset: 0 !important; z-index: 1000 !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    background: rgba(44,36,32,.3) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    padding: 10px !important;
    overflow-y: auto !important;
}
#pourwild-app .pw-modal {
    background: #fff !important;
    border-radius: 4px !important;
    width: 100% !important; max-width: 560px !important;
    max-height: 92vh !important;
    overflow-y: auto !important;
    box-shadow: 0 20px 60px rgba(44,36,32,.1) !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

/* Buttons */
#pourwild-app .pw-btn {
    border-radius: 3px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    transition: all .2s !important;
    border: 1px solid #C1613D !important;
    font-size: 11px !important;
    padding: 12px 24px !important;
    display: inline-block !important;
    text-align: center !important;
    line-height: 1 !important;
    font-family: 'Inter', -apple-system, sans-serif !important;
    text-decoration: none !important;
}
#pourwild-app .pw-btn-primary { background: #C1613D !important; color: #fff !important; }
#pourwild-app .pw-btn-primary:hover { background: #a8522f !important; }
#pourwild-app .pw-btn-outline { background: transparent !important; color: #C1613D !important; }
#pourwild-app .pw-btn-outline:hover { background: rgba(193,97,61,.05) !important; }
#pourwild-app .pw-btn-sm { padding: 4px 10px !important; font-size: 9px !important; letter-spacing: 0 !important; border-radius: 3px !important; }

/* Rating bars */
#pourwild-app .pw-rating-bar {
    height: 4px !important;
    background: #EDE7E0 !important;
    border-radius: 2px !important;
    overflow: hidden !important;
}
#pourwild-app .pw-rating-bar-fill {
    height: 100% !important;
    background: #C1613D !important;
    border-radius: 2px !important;
    transition: width .5s !important;
}

/* Filter buttons */
#pourwild-app .pw-filter-btn {
    padding: 8px 16px !important;
    border-radius: 4px !important;
    border: 1px solid #EDE7E0 !important;
    background: transparent !important;
    color: #8A7E76 !important;
    font-size: 11px !important;
    cursor: pointer !important;
    transition: all .2s !important;
    font-family: 'Inter', -apple-system, sans-serif !important;
    line-height: 1.2 !important;
    display: inline-flex !important;
    align-items: center !important;
    text-decoration: none !important;
}
#pourwild-app .pw-filter-btn.active {
    background: #C1613D !important;
    border-color: #C1613D !important;
    color: #fff !important;
    font-weight: 600 !important;
}
#pourwild-app .pw-filter-btn-exp {
    padding: 7px 12px !important;
    font-size: 10px !important;
}

/* Responsive */
@media (max-width: 640px) {
    #pourwild-app .pw-hero-btns { flex-direction: column !important; }
    #pourwild-app .pw-hero-btns .pw-btn { width: 100% !important; text-align: center !important; }
}

/* Additional theme overrides */
#pourwild-app .entry-content,
#pourwild-app .post-content,
#pourwild-app .page-content,
#pourwild-app article {
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* WP block editor container reset */
#pourwild-app .wp-block-post-content,
#pourwild-app .is-layout-constrained,
#pourwild-app .has-global-padding {
    max-width: none !important;
    padding: 0 !important;
}
