/* PayWillie Custom Theme */
:root {
    --pw-green: #5cb800;
    --pw-green-dark: #3b6d11;
    --pw-green-light: #eaf3de;
    --pw-green-mid: #c0dd97;
    --pw-dark: #111827;
    --pw-dark2: #1f2937;
}

/* ── NAVBAR ── */
.pw-navbar {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 10px 0;
}
.pw-navbar .navbar-brand img {
    height: 44px;
    width: auto;
}
.pw-navbar .nav-link {
    color: #4b5563 !important;
    font-size: 14px;
    padding: 6px 14px !important;
}
.pw-navbar .nav-link:hover {
    color: var(--pw-green) !important;
}
.pw-navbar .btn-pay {
    background: var(--pw-green);
    color: #fff !important;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    padding: 7px 20px;
    border: none;
}
.pw-navbar .btn-pay:hover {
    background: var(--pw-green-dark);
    color: #fff !important;
}

/* ── HERO ── */
.pw-hero {
    background: #f7fbf2;
    border-bottom: 3px solid var(--pw-green);
    padding: 52px 0 56px;
    text-align: center;
}
.pw-hero .hero-logo {
    width: 220px;
    height: auto;
    margin: 0 auto 18px;
    display: block;
}
.pw-hero .hero-sub {
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 10px;
}
.pw-hero .hero-tagline {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 28px;
}

/* trust pills */
.pw-trust-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 36px;
}
.pw-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--pw-green-dark);
    background: var(--pw-green-light);
    border: 1px solid var(--pw-green-mid);
    border-radius: 20px;
    padding: 5px 14px;
}
.pw-trust-pill i {
    color: var(--pw-green);
    font-size: 13px;
}

/* action cards */
.pw-action-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
}
.pw-action-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 18px 16px;
    text-align: left;
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    transition: box-shadow 0.15s, border-color 0.15s;
}
.pw-action-card:hover {
    border-color: var(--pw-green);
    box-shadow: 0 2px 12px rgba(92,184,0,0.1);
    color: inherit;
    text-decoration: none;
}
.pw-action-card.featured {
    border: 2px solid var(--pw-green);
    background: var(--pw-green-light);
}
.pw-action-card .ac-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    font-size: 17px;
}
.pw-action-card h3 {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 3px;
}
.pw-action-card p {
    font-size: 12px;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}
.pw-action-card .ac-arrow {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 13px;
    color: #d1d5db;
}
.ac-g { background: rgba(92,184,0,0.12); color: var(--pw-green); }
.ac-b { background: #e6f1fb; color: #185fa5; }
.ac-a { background: #faeeda; color: #854f0b; }
.ac-p { background: #eeedfe; color: #534ab7; }

/* ── SERVICES STRIP ── */
.pw-services-strip {
    background: var(--pw-dark2);
    display: flex;
}
.pw-serv-item {
    flex: 1;
    text-align: center;
    padding: 16px 8px;
    border-right: 1px solid rgba(255,255,255,0.07);
}
.pw-serv-item:last-child { border-right: none; }
.pw-serv-item i {
    font-size: 22px;
    color: var(--pw-green);
    display: block;
    margin-bottom: 6px;
}
.pw-serv-item span {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ── SECTIONS ── */
.pw-section {
    padding: 40px 0;
}
.pw-section.alt {
    background: #f9fafb;
}
.pw-eyebrow {
    font-size: 11px;
    color: var(--pw-green);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 6px;
}
.pw-section-title {
    font-size: 22px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 6px;
}
.pw-section-sub {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 24px;
    line-height: 1.6;
}

/* ── PAYMENT METHODS ── */
.pw-methods-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.pw-method-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.pw-method-card .meth-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.pw-method-card h4 {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 2px;
}
.pw-method-card p {
    font-size: 11px;
    color: #6b7280;
    margin: 0;
}

/* ── TRUST BAR ── */
.pw-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    text-align: center;
}
.pw-trust-item i {
    font-size: 26px;
    color: var(--pw-green);
    display: block;
    margin-bottom: 10px;
}
.pw-trust-item h4 {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}
.pw-trust-item p {
    font-size: 12px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

/* ── FOOTER ── */
.pw-footer {
    background: var(--pw-dark);
    padding: 32px 0 24px;
    text-align: center;
}
.pw-footer .foot-wordmark {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}
.pw-footer .foot-wordmark span {
    color: var(--pw-green);
}
.pw-footer .foot-tagline {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 16px;
}
.pw-footer .foot-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.pw-footer .foot-links a {
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
}
.pw-footer .foot-links a:hover {
    color: var(--pw-green);
}
.pw-footer .foot-copy {
    font-size: 11px;
    color: rgba(255,255,255,0.2);
}

/* ── GENERAL ── */
.btn-pw-primary {
    background: var(--pw-green);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: background 0.15s;
}
.btn-pw-primary:hover {
    background: var(--pw-green-dark);
    color: #fff;
    text-decoration: none;
}

@media (max-width: 576px) {
    .pw-action-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .pw-methods-grid { grid-template-columns: 1fr; }
    .pw-trust-grid { grid-template-columns: 1fr; }
    .pw-hero .hero-logo { width: 170px; }
}
/* Homepage full-width override */
body.pw-homepage > div.container {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}
body.pw-homepage > div.container > .row {
    margin: 0 !important;
}
body.pw-homepage header {
    display: none !important;
}
body.pw-homepage .col-3 {
    display: none !important;
}
body.pw-homepage .col-12.col-md-9 {
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding: 0 !important;
    width: 100% !important;
}
body.pw-homepage #wrapper,
body.pw-homepage .content-block,
body.pw-homepage section[role="main"] {
    padding: 0 !important;
    margin: 0 !important;
}
body.pw-homepage #footer {
    display: none !important;
}

/* Corrected full-width homepage overrides */
body.pw-homepage div.container,
body.pw-homepage div.container div.container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
body.pw-homepage .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}
body.pw-homepage header { display: none !important; }
body.pw-homepage .col-12.col-md-9 {
    max-width: 100% !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    padding: 0 !important;
}
body.pw-homepage #wrapper,
body.pw-homepage section[role="main"],
body.pw-homepage .content-block {
    padding: 0 !important;
    margin: 0 !important;
}
body.pw-homepage #footer { display: none !important; }
body.pw-homepage .pw-hero .container,
body.pw-homepage .pw-section .container,
body.pw-homepage .pw-section.alt .container {
    max-width: 960px !important;
    padding: 40px 20px !important;
    margin: 0 auto !important;
}

/* pw-outer: removes container constraint on homepage */
.pw-outer {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}
.pw-outer > .row {
    margin: 0 !important;
}
.pw-outer header { display: none !important; }
.pw-outer .col-12.col-md-9 {
    max-width: 100% !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    padding: 0 !important;
}
.pw-outer #wrapper,
.pw-outer section[role="main"],
.pw-outer .content-block {
    padding: 0 !important;
    margin: 0 !important;
}
.pw-outer #footer { display: none !important; }

/* Hide FOSSBilling's default header/nav on homepage */
.pw-outer > header,
.pw-outer > div > header,
.pw-outer header.d-block,
.pw-outer nav.navbar.navbar-expand-md {
    display: none !important;
}
