/**
 * Theme Name: VPN Minimal
 * Theme URI: https://vpnzer.com
 * Author: VpnZer Team
 * Author URI: https://vpnzer.com
 * Description: Minimal VPN theme built on PicoCSS v2 semantic framework
 * Version: 4.3.0
 * License: GNU General Public License v2 or later
 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain: vpn-minimal
 *
 * Design Principle: Pure PicoCSS semantic HTML - minimal overrides only when necessary
 */

/* ============================================
   COLOR SCHEME
   ============================================ */

:root {
    /* Typography - Inter for all text */
    --pico-font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif;

    /* Hero section */
    --hero-spacing-vertical: 3rem;
    --hero-h1-size: 2.5rem;

    /* Layout */
    --pico-border-radius: 8px;
    --pico-container-max-width: 1320px;
}

/* Light mode colors - Match PicoCSS specificity to override defaults */
:root:not([data-theme="dark"]),
[data-theme="light"] {
    /* Light mode colors - based on Mega.io palette */
    --pico-background-color: #FFFFFF;
    --pico-color: #333333;
    --pico-h1-color: #04101E;
    --pico-h2-color: var(--pico-h1-color);
    --pico-h3-color: var(--pico-h1-color);
    --pico-h4-color: var(--pico-h1-color);
    --pico-h5-color: var(--pico-h1-color);
    --pico-h6-color: var(--pico-h1-color);

    /* Primary accent - MEGA.io Red */
    --pico-primary: #d90007;
    --pico-primary-background: var(--pico-primary);
    --pico-primary-border: var(--pico-primary);
    --pico-primary-hover: #b20006;
    --pico-primary-focus: rgba(217, 0, 7, 0.125);
    --pico-primary-underline: rgba(217, 0, 7, 0.5);
    --pico-primary-inverse: #FFFFFF;

    /* Secondary backgrounds - Mega.io Grey scale */
    --pico-card-background-color: #F9F9FB;
    --pico-card-sectioning-background-color: #F5F5F6;

    /* Borders - Mega.io Grey scale */
    --pico-border-color: #E2E3E3;
    --pico-muted-border-color: rgba(4, 16, 30, 0.1);

    /* Text variants */
    --pico-muted-color: #6E6E6E;

    /* Accent colors */
    --pico-del-color: #E40046;
    --pico-ins-color: #00B256;
    --pico-mark-background-color: #FDD9D9;
    --pico-mark-color: var(--pico-h1-color);

    /* Form elements */
    --pico-form-element-background-color: #F8F8F9;
    --pico-form-element-active-background-color: var(--pico-background-color);
    --pico-form-element-border-color: #D7D8D9;
    --pico-form-element-active-border-color: var(--pico-primary);
    --pico-form-element-focus-color: var(--pico-primary-focus);
    --pico-form-element-color: var(--pico-color);
    --pico-form-element-placeholder-color: var(--pico-muted-color);

    /* Form validation - uses del/ins semantic colors */
    --pico-form-element-invalid-border-color: var(--pico-del-color);
    --pico-form-element-invalid-active-border-color: var(--pico-form-element-invalid-border-color);
    --pico-form-element-valid-border-color: var(--pico-ins-color);
    --pico-form-element-valid-active-border-color: var(--pico-form-element-valid-border-color);

    /* Code blocks */
    --pico-code-background-color: var(--pico-card-sectioning-background-color);
    --pico-code-color: var(--pico-color);
}

[data-theme="dark"] {
    /* Dark mode colors - based on Mega.io dark palette */
    --pico-background-color: #1A1F26;
    --pico-color: rgba(255, 255, 255, 0.8);
    --pico-h1-color: rgba(255, 255, 255, 0.9);
    --pico-h2-color: var(--pico-h1-color);
    --pico-h3-color: var(--pico-h1-color);
    --pico-h4-color: var(--pico-h1-color);
    --pico-h5-color: var(--pico-h1-color);
    --pico-h6-color: var(--pico-h1-color);

    /* Primary accent - Mega.io Red (lighter for dark mode) */
    --pico-primary: #E40046;
    --pico-primary-background: var(--pico-primary);
    --pico-primary-border: var(--pico-primary);
    --pico-primary-hover: #EB2B58;
    --pico-primary-focus: rgba(228, 0, 70, 0.125);
    --pico-primary-underline: rgba(228, 0, 70, 0.5);
    --pico-primary-inverse: #FFFFFF;

    /* Secondary backgrounds - Mega.io dark greys */
    --pico-card-background-color: #30353B;
    --pico-card-sectioning-background-color: #3B4046;

    /* Borders */
    --pico-border-color: #52555B;
    --pico-muted-border-color: rgba(255, 255, 255, 0.1);

    /* Text variants */
    --pico-muted-color: rgba(255, 255, 255, 0.5);

    /* Accent colors */
    --pico-del-color: #E40046;
    --pico-ins-color: #00B256;
    --pico-mark-background-color: #3E0713;
    --pico-mark-color: #F9ADAE;

    /* Form elements */
    --pico-form-element-background-color: #3B4046;
    --pico-form-element-active-background-color: #464B50;
    --pico-form-element-border-color: #5D6065;
    --pico-form-element-active-border-color: var(--pico-primary);
    --pico-form-element-focus-color: var(--pico-primary-focus);
    --pico-form-element-color: var(--pico-color);
    --pico-form-element-placeholder-color: var(--pico-muted-color);

    /* Form validation */
    --pico-form-element-invalid-border-color: var(--pico-primary);
    --pico-form-element-invalid-active-border-color: var(--pico-form-element-invalid-border-color);
    --pico-form-element-valid-border-color: var(--pico-ins-color);
    --pico-form-element-valid-active-border-color: var(--pico-form-element-valid-border-color);

    /* Code blocks */
    --pico-code-background-color: var(--pico-form-element-background-color);
    --pico-code-color: var(--pico-color);
}

/* ============================================
   LAYOUT
   ============================================ */

/* Sticky footer: body flexbox layout ensures footer at bottom */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Main content grows to push footer down */
main {
    flex: 1;
}

/* ============================================
   HERO SECTIONS - MEGA.io Style
   ============================================ */

/* Hero section - MEGA.io style centered layout */
.hero-section {
    text-align: center;
    padding-top: var(--hero-spacing-vertical);
    padding-bottom: var(--hero-spacing-vertical);
}

.hero-section h1 {
    font-size: var(--hero-h1-size);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-section > p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

/* Hero button group - side by side on desktop */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-buttons [role="button"] {
    min-width: 200px;
}

/* Mobile: stack buttons vertically */
@media (max-width: 576px) {
    .hero-section {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .hero-section h1 {
        font-size: 1.75rem;
    }

    .hero-section > p {
        font-size: 0.9375rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        margin-top: 1.5rem;
        gap: 0.75rem;
    }

    .hero-buttons [role="button"] {
        width: 100%;
        min-width: unset;
    }
}

/* Centered sections (server locations, pricing, download) */
.server-locations,
.pricing-section,
.download-section {
    text-align: center;
    padding: 2rem 0;
}

.server-locations h3 {
    margin-bottom: 0.5rem;
}

/* Country list styling */
.country-list {
    line-height: 2;
}

.country-list span[aria-label] {
    white-space: nowrap;
}

/* Mobile: smaller text for country list */
@media (max-width: 576px) {
    .country-list {
        font-size: 0.875rem;
        line-height: 1.8;
    }
}

/* ============================================
   FEATURE SECTIONS - MEGA.io Style
   ============================================ */

/* Feature section headers - centered */
.feature-section > header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.feature-section > header h2 {
    margin-bottom: 1rem;
}

.feature-section > header p {
    color: var(--pico-muted-color);
}

/* Feature Grid - auto-fit columns (works for 3 or 6 items) */
.feature-grid-3,
.feature-grid-6 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-grid-3 article,
.feature-grid-6 article {
    text-align: center;
    padding: 1.5rem;
}

.feature-grid-3 h6,
.feature-grid-6 h6 {
    margin-top: 1rem;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

/* Feature icons - MEGA.io style */
.feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    color: var(--pico-primary);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

/* ============================================
   PRICING SECTION - MEGA.io Style
   ============================================ */

.pricing-section,
.download-section {
    padding: 3rem 0; /* More padding for major sections */
}

.pricing-section h2,
.download-section h2 {
    margin-bottom: 3rem;
}

/* Pricing grid - 2 cards side by side */
.pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    max-width: 800px;
    margin: 0 auto;
    gap: 2rem;
}

/* Shared card styles */
.pricing-card,
.download-card,
.woocommerce-account article {
    border: 1px solid var(--pico-muted-border-color);
    border-radius: var(--pico-border-radius);
    background: var(--pico-card-background-color);
}

/* Pricing and download cards share layout */
.pricing-card,
.download-card {
    padding: 2.5rem 2rem;
    text-align: center;
}

/* Pricing cards */
.pricing-card {
    position: relative;
}

/* Savings badge - positioned at top */
.pricing-badge {
    display: block;
    background: var(--pico-mark-background-color);
    color: var(--pico-mark-color);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* Plan name (H5) */
.pricing-card h5 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

/* Price display - MEGA.io format */
.pricing-amount {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin: 2rem 0;
    align-items: center;
}

.price-label {
    font-size: 0.875rem;
    color: var(--pico-muted-color);
    text-transform: lowercase;
}

.price-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--pico-h1-color);
    line-height: 1;
}

.price-period {
    font-size: 1rem;
    color: var(--pico-muted-color);
}

/* CTA button */
.pricing-card [role="button"],
.pricing-card button {
    width: 100%;
    margin-top: 2rem;
}

/* Pricing disclaimer */
.pricing-section > p {
    margin-top: 2rem;
    color: var(--pico-muted-color);
}

/* Mobile: stack cards */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

/* DOWNLOAD SECTION - MEGA.io Style */

/* Download grid - 2x2 on desktop */
.download-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* Platform download cards */
.download-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* Platform icon circle */
.platform-icon {
    width: 80px;
    height: 80px;
    border: 2px solid var(--pico-muted-border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* Platform name heading */
.download-card h5 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

/* Compatibility text */
.platform-compatibility {
    color: var(--pico-muted-color);
    font-size: 0.875rem;
    margin: 0;
    min-height: 2.5em;
}

/* Download buttons - outline style with arrow */
.download-card a[role="button"] {
    margin-top: 0.5rem;
    width: 100%;
    max-width: 280px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .download-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .download-card {
        padding: 2rem 1.5rem;
    }

    .platform-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
}

/* FOOTER - MEGA.io Style */
footer {
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

/* Footer content container */
.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

/* Footer brand section (left side) */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-brand strong {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Footer text elements share muted color */
.footer-tagline,
.footer-description,
.footer-copyright {
    color: var(--pico-muted-color);
    margin: 0;
}

.footer-tagline { font-size: 0.875rem; }
.footer-description { font-size: 0.75rem; }
.footer-copyright { font-size: 0.75rem; margin-top: 1rem; }

/* Footer navigation (right side) */
.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2rem;
}

.footer-nav li {
    margin: 0;
}

.footer-nav a {
    color: var(--pico-muted-color);
    text-decoration: none;
    font-size: 0.875rem;
}

.footer-nav a:hover {
    color: var(--pico-color);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-brand {
        text-align: center;
        align-items: center;
    }

    .footer-nav ul {
        justify-content: center;
    }
}

/* ============================================
   LOGO SIZING
   ============================================ */

.custom-logo {
    height: 40px;
    width: auto;
}

/* ============================================
   MARKDOWN PAGES
   ============================================ */

/* Semantic fenced div boxes using PicoCSS variables */

/* Default article: standard card background */
article {
    background-color: var(--pico-card-background-color);
}

/* Info box: blue tint for informational callouts */
article.info {
    background-color: var(--pico-primary-focus);
}

/* Warning box: yellow tint for cautions */
article.warning {
    background-color: rgba(255, 214, 70, 0.25);
}
[data-theme="dark"] article.warning {
    background-color: rgba(255, 214, 70, 0.3);
}

/* Error box: red tint for critical alerts */
article.error {
    background-color: rgba(255, 51, 68, 0.15);
}

/* Success box: green tint for confirmations */
article.success {
    background-color: rgba(20, 163, 87, 0.15);
}
[data-theme="dark"] article.success {
    background-color: rgba(33, 208, 116, 0.15);
}

/* article.subtle intentionally uses default article styling */

/* ============================================
   VPN STATUS BAR
   ============================================ */

#vpn-status-bar {
    background-color: var(--pico-card-background-color);
}

#vpn-status-bar nav {
    display: flex;
}

#vpn-status-bar[data-vpn-status="connected"] span[aria-hidden="true"] {
    color: var(--pico-ins-color);
}

#vpn-status-bar[data-vpn-status="disconnected"] span[aria-hidden="true"] {
    color: var(--pico-del-color);
}

#vpn-status-bar nav ul {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#vpn-status-bar small {
    color: var(--pico-muted-color);
    display: block;
}

/* Alert badge spacing */
#vpn-status-bar mark {
    display: inline-block;
}

/* Mobile: compact status bar */
@media (max-width: 768px) {
    #vpn-status-bar {
        font-size: 0.75rem;
    }

    #vpn-status-bar nav {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    #vpn-status-bar nav ul {
        gap: 0.25rem;
    }

    /* Hide IP address on mobile to save space */
    #vpn-status-bar nav ul:last-child code {
        display: none;
    }

    /* Make CTA button compact */
    #vpn-status-bar [role="button"] {
        font-size: 0.75rem;
        padding: 0.4rem 0.75rem;
        white-space: nowrap;
    }

    /* Hide description text on small screens */
    #vpn-status-bar small {
        display: none;
    }
}

/* Very small screens - simplify even more */
@media (max-width: 400px) {
    #vpn-status-bar mark {
        display: none;
    }
}

/* Mobile navigation improvements */
@media (max-width: 768px) {
    /* Reduce nav font size */
    body > nav.container {
        font-size: 0.875rem;
    }

    /* Reduce nav item spacing */
    body > nav.container ul {
        gap: 0.25rem;
    }

    body > nav.container ul li a {
        padding: 0.25rem 0.5rem;
    }
}

/* ============================================
   WOOCOMMERCE / WORDPRESS FORMS
   ============================================ */

/* Password wrapper needs relative positioning for absolute button */
.password-input {
    position: relative;
}

/* Make password input have padding for the button */
.password-input input[type="password"],
.password-input input[type="text"] {
    padding-right: 3rem;
}

/* Password visibility toggle button - positioned inside input */
.show-password-input {
    /* Position absolutely relative to the input field */
    position: absolute;
    right: 0.5rem;
    top: 0;
    bottom: 0;
    z-index: 10;
    margin: auto;
    height: fit-content;

    /* Reset default styling */
    padding: 0.5rem;
    border: none;
    background: transparent;
    color: var(--pico-muted-color);

    /* Clean button appearance */
    cursor: pointer;

    /* Ensure text is visible */
    text-indent: 0;
    overflow: visible;
    white-space: nowrap;

    /* Remove default button appearance */
    -webkit-appearance: none !important;
    appearance: none !important;
}

.show-password-input:hover {
    color: var(--pico-primary);
}

.show-password-input:focus {
    outline: 2px solid var(--pico-primary-focus);
    outline-offset: 2px;
}

/* If button has no text content, add icon via pseudo-element */
.show-password-input:empty::before {
    content: "👁";
}

/* ============================================
   WOOCOMMERCE MY ACCOUNT DASHBOARD
   ============================================ */

/* My Account sections spacing */
.woocommerce-account main > section {
    margin-bottom: 3rem;
}

/* Stats grid - responsive cards */
.woocommerce-account section > div:has(article) {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

/* Article cards styling */
.woocommerce-account article {
    padding: 1.5rem;
}

/* Button groups */
.woocommerce-account section > div:has(> a > button),
.woocommerce-account section > div:has(> button) {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Credential display with copy button */
.woocommerce-account article div:has(code) {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.woocommerce-account article div:has(code) button {
    flex-shrink: 0;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
}

/* Session cards - header layout */
.woocommerce-account article header:has(.customz-logout-session),
.woocommerce-account article header:has(button[disabled]) {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Slim session buttons */
.customz-logout-session,
.woocommerce-account article header button[disabled] {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

/* Server list and quick setup sections */
.woocommerce-account h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Modal dialog */
.woocommerce-account dialog {
    max-width: 600px;
    border-radius: var(--pico-border-radius);
    border: 1px solid var(--pico-muted-border-color);
}

.woocommerce-account dialog > div {
    padding: 1.5rem;
}

.woocommerce-account dialog h4 {
    margin-top: 0;
}

/* ============================================
   LANGUAGE SWITCHER
   ============================================ */

.language-switcher {
    position: relative;
    display: inline-block;
    margin: 0;
    z-index: 1000;
}

.language-switcher summary {
    margin-bottom: 0 !important;
}

/* Remove default disclosure triangle */
.language-switcher summary::after {
    display: none;
}

/* Focus state for accessibility */
.language-switcher summary:focus {
    outline: 2px solid var(--pico-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Dropdown menu */
.language-switcher ul {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 160px;
    background: var(--pico-card-background-color);
    border: 1px solid var(--pico-border-color);
    border-radius: var(--pico-border-radius);
    flex-direction: column;
}

/* Menu items */
.language-switcher li {
    margin: 0;
    padding: 0 0.5rem 0 0.15rem;
    width: 100%;
    text-wrap: nowrap;
}

.language-switcher li a {
    text-decoration: none;
    display: block;
    margin: 0;
    padding: var(--pico-nav-link-spacing-vertical) 1rem;
}

/* Current language highlight */
.language-switcher li a:hover,
.language-switcher li a[aria-current] {
    font-weight: 600;
    /* background: var(--pico-mark-background-color); */
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .language-switcher ul {
        right: -1rem; /* Align better on mobile */
    }
}

/* ============================================
   THEME TOGGLE
   ============================================ */

[data-theme-toggle] {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
}

/* ============================================
   SERVER TEMPLATE - Load Level Colors
   ============================================ */

/* Color-coded load indicators using semantic <data> element */
data[data-load-level="excellent"] { color: #16a34a; }
data[data-load-level="good"] { color: #d97706; }
data[data-load-level="busy"] { color: #ea580c; }
data[data-load-level="full"] { color: #dc2626; }

/* ============================================
   UTILITIES (WordPress accessibility)
   ============================================ */

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
}

.skip-link:focus {
    clip: auto;
    clip-path: none;
    height: auto;
    width: auto;
    margin: 0;
    overflow: visible;
    position: static;
}

/* ============================================
   CHECKOUT PAGE - MEGA.io Style
   ============================================ */

/* Two-column checkout grid */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

/* Order summary sidebar */
.checkout-summary {
    position: sticky;
    top: 2rem;
}

.checkout-summary .pricing-card {
    margin-bottom: 1.5rem;
}

.checkout-summary .pricing-card h5 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* Coupon section inside pricing card */
.checkout-summary .coupon-section {
    margin-top: 1.5rem;
}

.checkout-summary .coupon-section summary {
    font-size: 0.875rem;
    cursor: pointer;
}

.checkout-summary .coupon-section[open] {
    margin-top: 1rem;
}

.checkout-summary .coupon-section form {
    margin-top: 1rem;
}

.checkout-summary .pricing-disclaimer {
    display: block;
    margin-top: 1rem;
    color: var(--pico-muted-color);
}

/* Trust indicators */
.checkout-trust {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checkout-trust p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--pico-muted-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkout-trust span[aria-hidden] {
    font-size: 1rem;
}

/* Checkout form styling */
.checkout-form fieldset {
    margin-bottom: 2rem;
    border: none;
    padding: 0;
}

.checkout-form legend {
    padding: 0;
    margin-bottom: 0.5rem;
}

.checkout-form legend h2 {
    margin: 0;
    font-size: 1.5rem;
}

.checkout-form .fieldset-description {
    color: var(--pico-muted-color);
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

.checkout-form label small {
    color: var(--pico-muted-color);
    font-weight: normal;
}

.checkout-form .helper-text {
    display: block;
    margin-top: -0.5rem;
    margin-bottom: 1rem;
    color: var(--pico-muted-color);
}

/* Payment options */
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payment-options button {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
}

/* PicoCSS handles button styling - only .outline class needed for secondary buttons */

/* Mobile: Stack to single column */
@media (max-width: 768px) {
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .checkout-summary {
        position: static;
        order: -1; /* Order summary first on mobile */
    }

    .checkout-trust {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
        text-align: center;
    }

    .checkout-trust p {
        flex: 0 0 auto;
    }
}
