/*
Theme Name: Bank Pro Top Colorful
Theme URI: https://bank-pro.com
Author: Bank Pro
Author URI: https://bank-pro.com
Description: Colorful, modern WooCommerce-ready theme designed to match the Bank Pro Top plugin and WooCommerce.
Version: 1.0.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bank-pro-top-colorful
Tags: ecommerce, colorful, responsive, custom-logo
*/

/* RESET & BASE */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: linear-gradient(135deg, #0f172a, #1d1b4c);
    color: #f9fafb;
}

a {
    color: #fb7185;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

/* LAYOUT */
.bpt-site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.bpt-main {
    flex: 1 0 auto;
}

.bpt-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER COLORFUL */
.bpt-header {
    background: linear-gradient(90deg, #ec4899, #6366f1, #22c55e);
    background-size: 200% 200%;
    animation: bptHeaderGradient 12s ease infinite;
    border-bottom: 2px solid rgba(15,23,42,0.7);
    position: sticky;
    top: 0;
    z-index: 999;
}

@keyframes bptHeaderGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.bpt-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

/* LOGO */
.bpt-logo a {
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #fefce8;
    text-shadow:
        0 0 10px rgba(248,250,252,0.9),
        0 0 20px rgba(252,231,243,0.9);
}

/* NAVIGATION */
.bpt-nav {
    display: flex;
    gap: 14px;
    align-items: center;
}

.bpt-nav a {
    font-size: 0.92rem;
    color: #fefce8;
    padding: 6px 14px;
    border-radius: 999px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(248,250,252,0.7);
    background: rgba(15,23,42,0.35);
    transition: transform 0.1s ease-out, box-shadow 0.15s ease-out, background 0.15s ease-out;
}

.bpt-nav a:hover,
.bpt-nav .current-menu-item > a {
    transform: translateY(-1px);
    background: rgba(15,23,42,0.8);
    box-shadow: 0 0 14px rgba(248,250,252,0.7);
    text-decoration: none;
}

/* CART */
.bpt-cart {
    display: flex;
    align-items: center;
    margin-left: 8px;
}

.bpt-cart-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #22c55e, #a3e635);
    color: #022c22;
    font-size: 0.85rem;
    font-weight: 700;
    border: none;
    box-shadow: 0 0 16px rgba(34,197,94,0.8);
}

.bpt-cart-link:hover {
    filter: brightness(1.05);
    text-decoration: none;
}

.bpt-cart-count {
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #0f172a;
    color: #fefce8;
    font-size: 0.75rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* MAIN CONTENT */
.bpt-main .bpt-container {
    padding-top: 30px;
    padding-bottom: 40px;
}

.bpt-page-title {
    font-size: 2.1rem;
    margin-bottom: 8px;
    color: #fefce8;
    text-shadow: 0 0 18px rgba(248,250,252,0.6);
}

/* CARD GRID */
.bpt-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

/* CARDS with colorful borders */
.bpt-card {
    position: relative;
    border-radius: 18px;
    padding: 16px;
    background: rgba(15,23,42,0.92);
    border: 2px solid transparent;
    background-image:
        linear-gradient(#0b1120,#0b1120),
        linear-gradient(120deg,#ec4899,#f97316,#22c55e,#22c55e,#0ea5e9,#6366f1);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 16px 35px rgba(15,23,42,0.9);
}

.bpt-card-title {
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 6px;
    color: #fefce8;
}

.bpt-card-title a {
    color: inherit;
}

.bpt-card-meta {
    font-size: 0.8rem;
    color: #e5e7eb;
    margin-bottom: 10px;
}

.bpt-card-excerpt {
    font-size: 0.9rem;
    color: #e2e8f0;
}

/* FOOTER */
.bpt-footer {
    background: linear-gradient(90deg, #0f172a, #0b1120);
    border-top: 2px solid rgba(15,23,42,0.8);
    padding: 18px 0;
    flex-shrink: 0;
}

.bpt-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.85rem;
    color: #e5e7eb;
}

.bpt-footer a {
    color: #fbbf24;
}

/* WOO BUTTONS (COLORFUL) */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    background: linear-gradient(135deg, #ec4899, #f97316, #22c55e, #0ea5e9);
    background-size: 200% 200%;
    border-radius: 999px;
    border: none;
    color: #0b1120;
    font-weight: 700;
    padding: 9px 22px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 0 16px rgba(248,250,252,0.7);
    animation: bptButtonGradient 10s ease infinite;
}

@keyframes bptButtonGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
    filter: brightness(1.08);
}

/* WOO MESSAGES */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
    border-radius: 14px;
    border: 1px solid rgba(248,250,252,0.7);
    background: rgba(15,23,42,0.95);
    color: #fefce8;
}

/* PAYMENT METHODS / PAYPAL AREA */
.wc-block-components-payment-methods__payment-method,
.woocommerce ul.wc_payment_methods li {
    background: rgba(15,23,42,0.9);
    border-radius: 14px;
    border: 1px solid rgba(148,163,184,0.7);
    padding: 12px;
}

/* BANK PRO TOP WRAPPERS */
.bpt-wrapper,
.bpt-signup-wrapper {
    border-radius: 20px;
    border: 2px solid transparent;
    background-image:
        linear-gradient(#020617,#020617),
        linear-gradient(135deg,#ec4899,#f97316,#22c55e,#0ea5e9,#6366f1);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 18px 40px rgba(15,23,42,0.95);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .bpt-header-inner {
        flex-wrap: wrap;
        gap: 10px;
    }

    .bpt-nav {
        flex-wrap: wrap;
        justify-content: flex-end;
    }
}
