/*
Theme Name:   PopArt SexShop Pro
Theme URI:    https://generated-theme.com
Description:  High Voltage Pop Art Child Theme for WooCommerce
Author:       PopArt Generator
Template:     astra
Version:      1.0.0
Text Domain:  popart-sexshop-pro
*/

/* 
=== POP ART "HIGH VOLTAGE" THEME CSS === 
Style: Marvel / Sex Shop / Pop Art
*/

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

:root {
    --pop-pink: #FF007F;
    --pop-yellow: #FFD700;
    --pop-cyan: #00FFFF;
    --pop-black: #111111;
    --pop-white: #ffffff;
}

/* --- 1. GLOBAL LAYOUT & BACKGROUNDS --- */
body {
    background-color: var(--pop-white) !important;
    /* Comic Book Halftone Pattern */
    background-image: radial-gradient(var(--pop-black) 1px, transparent 1px) !important;
    background-size: 20px 20px !important;
    font-family: 'Oswald', sans-serif !important;
    color: var(--pop-black) !important;
}

#page {
    background: transparent !important;
    overflow-x: hidden;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Bangers', cursive !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    color: var(--pop-black) !important;
    text-shadow: 3px 3px 0px var(--pop-white), 5px 5px 0px rgba(0,0,0,0.1) !important;
}

/* Links */
a { color: var(--pop-pink) !important; text-decoration: none !important; transition: 0.3s; }
a:hover { color: var(--pop-black) !important; text-decoration: underline !important; text-shadow: 2px 2px 0px var(--pop-yellow); }

/* --- 2. CONTAINERS & CARDS --- */
.site-content, .entry-content, .widget, .woocommerce-MyAccount-content, .woocommerce-cart-form {
    background: #fff !important;
    border: 4px solid var(--pop-black) !important;
    box-shadow: 8px 8px 0px var(--pop-black) !important;
    padding: 20px !important;
    margin-bottom: 30px !important;
}

/* --- 3. BUTTONS (Action style) --- */
button, input[type="submit"], a.button, .wp-block-button__link, .wc-block-grid__product-add-to-cart, .single_add_to_cart_button {
    background: var(--pop-black) !important;
    color: var(--pop-yellow) !important;
    border: 3px solid var(--pop-black) !important;
    font-family: 'Bangers', cursive !important;
    font-size: 1.4rem !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    padding: 14px 30px !important;
    border-radius: 0 !important;
    box-shadow: 6px 6px 0px var(--pop-pink) !important;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    transform: skew(-2deg) !important;
    cursor: pointer;
    display: inline-block;
}

button:hover, input[type="submit"]:hover, a.button:hover, .single_add_to_cart_button:hover {
    background: var(--pop-pink) !important;
    color: #fff !important;
    transform: translate(-3px, -3px) skew(-2deg) !important;
    box-shadow: 10px 10px 0px var(--pop-black) !important;
}

/* --- 4. FORMS (Inputs) --- */
input[type="text"], input[type="email"], input[type="password"], textarea, select {
    border: 3px solid var(--pop-black) !important;
    background: #fff !important;
    padding: 15px !important;
    font-family: 'Oswald', sans-serif !important;
    font-size: 1.1rem !important;
    border-radius: 0 !important;
    box-shadow: inset 4px 4px 0px rgba(0,0,0,0.05) !important;
    width: 100%;
}

input:focus, textarea:focus {
    border-color: var(--pop-pink) !important;
    outline: none !important;
    background: #fffafa !important; /* light pink tint */
    box-shadow: 6px 6px 0px var(--pop-cyan) !important;
}

/* --- 5. PRODUCT GRID --- */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.woocommerce ul.products li.product {
    background: #fff !important;
    border: 4px solid var(--pop-black) !important;
    padding: 0 !important;
    margin: 0 !important;
    position: relative;
    overflow: visible !important;
    box-shadow: 10px 10px 0px rgba(0,0,0,0.2) !important;
    transition: transform 0.3s !important;
}

.woocommerce ul.products li.product:hover {
    transform: scale(1.02) !important;
    box-shadow: 15px 15px 0px var(--pop-pink) !important;
    z-index: 5;
}

/* Image framing */
.woocommerce ul.products li.product img {
    border-bottom: 4px solid var(--pop-black) !important;
    margin: 0 !important;
    width: 100% !important;
    transition: 0.3s;
}

.woocommerce ul.products li.product:hover img {
    filter: contrast(120%) brightness(110%);
}

/* Product Title */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.6rem !important;
    padding: 15px !important;
    text-align: center;
    line-height: 1.1;
}

/* Price */
.woocommerce ul.products li.product .price {
    color: var(--pop-pink) !important;
    font-weight: 700 !important;
    font-size: 1.4rem !important;
    text-align: center;
    display: block;
    padding-bottom: 15px;
    text-shadow: 2px 2px 0px #000;
}

/* Sale Badge */
.woocommerce span.onsale {
    background: var(--pop-yellow) !important;
    color: #000 !important;
    width: 70px !important; height: 70px !important;
    border-radius: 50% !important;
    border: 3px solid #000 !important;
    line-height: 65px !important;
    font-family: 'Bangers', cursive !important;
    font-size: 1.2rem !important;
    top: -20px !important; right: -20px !important;
    left: auto !important;
    transform: rotate(15deg);
    box-shadow: 4px 4px 0px #000 !important;
    z-index: 10;
}

/* --- 6. CHECKOUT & CART TABLES --- */
table.shop_table {
    border: 3px solid var(--pop-black) !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

table.shop_table th {
    background: var(--pop-black) !important;
    color: #fff !important;
    font-family: 'Bangers', cursive !important;
    text-transform: uppercase;
    font-size: 1.2rem;
    padding: 15px !important;
}

table.shop_table td {
    border-top: 2px solid var(--pop-black) !important;
    padding: 15px !important;
}

/* --- 7. HEADER & NAV --- */
.site-header {
    border-bottom: 6px solid var(--pop-black) !important;
    background: #fff !important;
    padding: 20px 0;
}

/* Navigation Links */
.main-navigation a {
    font-family: 'Bangers', cursive !important;
    text-transform: uppercase !important;
    font-size: 1.3rem !important;
    color: var(--pop-black) !important;
    margin: 0 10px;
}

/* --- 8. FOOTER --- */
.site-footer {
    background: var(--pop-black) !important;
    color: #fff !important;
    border-top: 8px solid var(--pop-pink) !important;
    padding: 40px 0;
}
.site-footer h2, .site-footer h3 {
    color: var(--pop-yellow) !important;
    text-shadow: none !important;
}

/* --- 9. WOOCOMMERCE MESSAGES (Alerts) --- */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
    background: #fff !important;
    border: 4px solid var(--pop-black) !important;
    border-top: 4px solid var(--pop-black) !important; /* Override theme specifics */
    color: var(--pop-black) !important;
    font-weight: bold;
    box-shadow: 8px 8px 0px var(--pop-cyan) !important;
}
.woocommerce-error {
    box-shadow: 8px 8px 0px var(--pop-pink) !important;
}


