/*
Theme Name: PopArt SexShop + Chatbot
Theme URI: https://example.com/popart
Description: Complete Comic Book theme with integrated PopBot.
Author: PopArt AI
Template: astra
Version: 4.2.0
*/

@import url('https://fonts.googleapis.com/css2?family=Bangers&family=Comic+Neue:wght@400;700&display=swap');

:root {
    --pop-yellow: #facc15;
    --pop-red: #ef4444;
    --pop-black: #000000;
    --pop-white: #ffffff;
}

/* === GLOBAL COMIC RESET === */
body {
    background-color: var(--pop-yellow) !important;
    font-family: 'Comic Neue', cursive !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Bangers', cursive !important;
    letter-spacing: 1.5px !important;
    color: var(--pop-black) !important;
}

/* === HEADER BANNER === */
.pop-hero-wrap {
    background: #FF007F; /* Sexy Pink */
    border-bottom: 6px solid #000;
    padding: 60px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    margin-bottom: 40px;
}
.pop-hero-inner {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    z-index: 2;
}
.pop-hero-text h1 {
    font-size: 5rem !important;
    color: #fff !important;
    text-shadow: 5px 5px 0px #000;
    line-height: 0.9 !important;
    transform: rotate(-2deg);
    margin-bottom: 20px !important;
}
.pop-hero-img-box {
    border: 6px solid #000;
    background: #fff;
    box-shadow: 12px 12px 0px #000;
    padding: 5px;
    transform: rotate(3deg);
    position: relative;
}
.pop-hero-img-box img {
    max-width: 400px;
    height: auto;
    display: block;
}
.pop-badge {
    position: absolute;
    bottom: -20px; left: -30px;
    background: #00FFFF;
    border: 4px solid #000;
    padding: 10px 20px;
    font-family: 'Bangers';
    font-size: 24px;
    transform: rotate(-10deg);
    box-shadow: 4px 4px 0px #000;
}

/* === PRODUCTS === */
.woocommerce ul.products li.product {
    background: #fff !important;
    border: 4px solid #000 !important;
    box-shadow: 8px 8px 0px #000 !important;
    transition: transform 0.2s !important;
    padding: 15px !important;
}
.woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: 12px 12px 0px #000 !important;
}
.woocommerce ul.products li.product .price {
    color: #FF007F !important;
    font-weight: bold !important;
    font-size: 1.2rem !important;
}
.woocommerce a.button {
    background: var(--pop-yellow) !important;
    color: #000 !important;
    border: 3px solid #000 !important;
    border-radius: 0 !important;
    font-family: 'Bangers' !important;
    text-transform: uppercase !important;
    box-shadow: 3px 3px 0px #000 !important;
}

/* === CHATBOT STYLES === */
#pop-chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: 'Comic Neue', sans-serif;
}

/* Toggle Button */
#pop-chat-toggle {
    width: 70px;
    height: 70px;
    background: var(--pop-yellow);
    border: 4px solid #000;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 5px 5px 0px #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    transition: transform 0.2s;
}
#pop-chat-toggle:hover {
    transform: scale(1.1);
}

/* Chat Box */
#pop-chat-box {
    display: none; /* Hidden by default */
    width: 320px;
    height: 450px;
    background: #fff;
    border: 4px solid #000;
    position: absolute;
    bottom: 90px;
    right: 0;
    box-shadow: 10px 10px 0px rgba(0,0,0,0.8);
    flex-direction: column;
}
#pop-chat-box.open {
    display: flex;
    animation: popUp 0.3s ease-out;
}
@keyframes popUp {
    from { transform: scale(0); opacity: 0; transform-origin: bottom right; }
    to { transform: scale(1); opacity: 1; transform-origin: bottom right; }
}

.pop-chat-header {
    background: #00FFFF;
    border-bottom: 4px solid #000;
    padding: 10px;
    font-family: 'Bangers';
    font-size: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.pop-chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: #fff;
}
.pop-msg {
    margin-bottom: 10px;
    padding: 8px 12px;
    border: 2px solid #000;
    font-size: 14px;
    font-weight: bold;
    max-width: 80%;
    box-shadow: 2px 2px 0px #000;
}
.pop-msg.bot {
    background: #f3f4f6;
    margin-right: auto;
    border-radius: 10px 10px 10px 0;
}
.pop-msg.user {
    background: var(--pop-yellow);
    margin-left: auto;
    border-radius: 10px 10px 0 10px;
}
.pop-chat-input-area {
    border-top: 4px solid #000;
    padding: 10px;
    background: #eee;
    display: flex;
    gap: 5px;
}
#pop-chat-input {
    flex: 1;
    border: 2px solid #000;
    padding: 5px;
    font-family: inherit;
}
#pop-chat-send {
    background: var(--pop-red);
    color: #fff;
    border: 2px solid #000;
    font-family: 'Bangers';
    cursor: pointer;
}


