/* 
   DP Pagos - Design System & Global Styles
   Theme: Premium Dark Glassmorphism
*/

:root {
    /* Colors */
    --bg-dark: #050507;
    --bg-card: rgba(20, 20, 25, 0.4);
    --bg-card-hover: rgba(30, 30, 35, 0.6);
    --border-color: rgba(255, 255, 255, 0.08);
    
    --accent-brand: #EBA800; /* DP Golden Yellow */
    --accent-green: #00D09C; /* MercadoPago style success */
    --accent-purple: #7B61FF;
    
    --text-main: #FFFFFF;
    --text-muted: #A1A1AA;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout */
    --container-width: 1200px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    /* Effects */
    --glass-blur: blur(12px);
    --shadow-glow: 0 0 40px rgba(0, 208, 156, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.highlight {
    color: var(--accent-green);
}

.highlight-blue {
    color: var(--accent-brand);
}

.text-muted {
    color: var(--text-muted);
}

/* Background Orbs */
.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.4;
}

.orb-1 {
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: var(--accent-brand);
    animation: float 10s infinite alternate ease-in-out;
}

.orb-2 {
    top: 20%;
    right: -150px;
    width: 500px;
    height: 500px;
    background: var(--accent-green);
    opacity: 0.2;
    animation: float 15s infinite alternate-reverse ease-in-out;
}

.orb-3 {
    bottom: 10%;
    left: 20%;
    width: 600px;
    height: 600px;
    background: var(--accent-purple);
    opacity: 0.15;
    animation: float 20s infinite alternate ease-in-out;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: var(--accent-brand);
    color: #000;
    box-shadow: 0 4px 14px rgba(235, 168, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(235, 168, 0, 0.5);
    background: #F5B814;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--accent-brand);
    color: var(--accent-brand);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* Glass Card Utilities */
.glass-card {
    background: var(--bg-card);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    background: rgba(5, 5, 7, 0.7);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

.logo i {
    color: var(--accent-brand);
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a:hover {
    color: var(--text-main);
}

.nav-actions {
    display: flex;
    gap: 16px;
}

.mobile-menu-btn {
    display: none;
    font-size: 2rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    background: rgba(235, 168, 0, 0.1);
    color: var(--accent-brand);
    border: 1px solid rgba(235, 168, 0, 0.2);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.hero-features-inline {
    display: flex;
    gap: 24px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.hero-features-inline span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-features-inline i {
    color: var(--accent-green);
    font-size: 1.2rem;
}

/* Hero Visual / Glass Panel */
.glass-panel {
    background: rgba(20, 20, 25, 0.6);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4), var(--shadow-glow);
    overflow: hidden;
    position: relative;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.glass-panel:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.panel-header {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
}

.store-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.store-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-brand), var(--accent-purple));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.store-info h3 {
    font-size: 1rem;
    font-weight: 600;
}

.store-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--accent-green);
    background: rgba(0, 208, 156, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(0, 208, 156, 0.7);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 208, 156, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 208, 156, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 208, 156, 0); }
}

.panel-body {
    padding: 24px;
    height: 380px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: hidden;
    position: relative;
}

.panel-footer {
    padding: 16px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.2);
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Payment Card Animation Elements */
.payment-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: slideInUp 0.5s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.payment-card.success {
    border-left: 4px solid var(--accent-green);
    background: linear-gradient(90deg, rgba(0, 208, 156, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.payment-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.payment-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 208, 156, 0.2);
    color: var(--accent-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.payment-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.payment-details p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.payment-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-green);
    font-family: var(--font-heading);
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Features Section */
.features, .steps-section, .pricing {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: rgba(235, 168, 0, 0.1);
    color: var(--accent-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 24px;
}

.feature-card:nth-child(even) .feature-icon {
    background: rgba(0, 208, 156, 0.1);
    color: var(--accent-green);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Steps Section */
.steps-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
}

.step-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px solid var(--accent-brand);
    color: var(--accent-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    box-shadow: 0 0 20px rgba(235, 168, 0, 0.2);
}

.step-content {
    padding: 32px 24px;
    width: 100%;
}

.step-content h3 {
    margin-bottom: 12px;
}

.step-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.step-connector {
    flex: 0.5;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-brand) 0%, rgba(235, 168, 0, 0.1) 100%);
    margin-top: 32px;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 40px;
    text-align: left;
}

.testimonial-image {
    width: 100%;
    height: 300px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 8px;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
    transition: transform 0.5s ease;
}

.testimonial-card:hover .testimonial-image img {
    transform: scale(1.05);
    filter: brightness(1);
}

.rating {
    display: flex;
    gap: 4px;
    color: var(--accent-brand);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 24px;
    line-height: 1.5;
}

.author {
    display: flex;
    flex-direction: column;
}

.author strong {
    font-size: 1.1rem;
    color: var(--text-main);
}

.author span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: center;
}

.pricing-2-cols {
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
    margin: 0 auto;
}

.price-card {
    position: relative;
    padding: 48px 32px;
}

.price-card.popular {
    border-color: var(--accent-brand);
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(235, 168, 0, 0.15);
}

.price-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-brand);
    color: #000;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.plan-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.plan-price {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.plan-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.setup-fee {
    font-size: 0.9rem;
    color: var(--accent-green);
    margin-bottom: 16px;
    font-weight: 500;
    background: rgba(0, 208, 156, 0.1);
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
}

.plan-desc {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 0.95rem;
    min-height: 48px;
}

.plan-features {
    margin-bottom: 32px;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.plan-features i {
    color: var(--accent-green);
    font-size: 1.2rem;
}

.plan-features i.bx-x {
    color: rgba(255, 255, 255, 0.2);
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 80px 0 32px;
    background: rgba(0, 0, 0, 0.4);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 64px;
}

.footer-brand p {
    color: var(--text-muted);
    margin: 24px 0;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--accent-green);
    color: #000;
}

.footer-links h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--text-main);
}

.footer-group-links {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 32px;
    margin-bottom: 32px;
}

.footer-group-links h4 {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.group-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
}

.group-links a {
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.group-links a:hover {
    opacity: 1;
    color: var(--accent-brand);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Store payment panel */
.page-panel {
    background:
        radial-gradient(circle at 12% 20%, rgba(235, 168, 0, 0.12), transparent 28%),
        radial-gradient(circle at 88% 8%, rgba(0, 208, 156, 0.14), transparent 26%),
        var(--bg-dark);
}

.commerce-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--border-color);
    background: rgba(5, 5, 7, 0.88);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.commerce-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 16px;
    padding-bottom: 16px;
}

.commerce-brand,
.commerce-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.commerce-logo,
#commerce-logo-img {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: var(--accent-brand);
    color: #000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    object-fit: cover;
}

.commerce-brand strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

.commerce-eyebrow {
    display: block;
    color: var(--text-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.connection-status,
.polling-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    padding: 8px 12px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.polling-indicator {
    opacity: 0;
    transform: translateY(-2px);
    transition: opacity .2s ease, transform .2s ease;
}

.polling-indicator.active {
    opacity: 1;
    transform: translateY(0);
}

.polling-spinner {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.18);
    border-top-color: var(--accent-green);
    animation: spin .8s linear infinite;
}

.status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ef4444;
}

.status-dot.online {
    background: var(--accent-green);
    box-shadow: 0 0 0 6px rgba(0, 208, 156, 0.12);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.commerce-main {
    padding: 32px 24px 64px;
}

.commerce-hero,
.payments-history-card,
.commerce-admin {
    margin-bottom: 18px;
}

.latest-payment-card,
.empty-state-panel,
.payments-history-card {
    border: 1px solid var(--border-color);
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(255,255,255,.09), rgba(255,255,255,.035));
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
}

.latest-payment-card {
    min-height: 230px;
    padding: clamp(24px, 4vw, 46px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
}

.latest-left,
.latest-right,
.payment-row {
    display: flex;
    align-items: center;
    gap: 18px;
}

.latest-check {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: var(--accent-green);
    color: #001510;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
    box-shadow: 0 0 48px rgba(0, 208, 156, 0.28);
}

.latest-label {
    color: var(--accent-green);
    font-size: .82rem;
    letter-spacing: .12em;
    font-weight: 800;
}

.latest-payment-card h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 3.6rem);
    line-height: 1;
    margin: 10px 0;
}

.latest-payment-card p {
    color: var(--text-muted);
}

.latest-right {
    flex-direction: column;
    align-items: flex-end;
}

.latest-right span {
    color: var(--text-muted);
}

.latest-right strong {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 6vw, 5.2rem);
    line-height: 1;
    color: var(--accent-brand);
}

.empty-state-panel {
    padding: 56px 24px;
    text-align: center;
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.history-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 20px 0 12px;
}

.history-header h2 {
    font-family: var(--font-heading);
}

.history-header span {
    color: var(--text-muted);
    font-size: .9rem;
}

.payments-history-card {
    padding: 10px;
}

.payment-row {
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 16px 12px;
}

.payment-row:last-child {
    border-bottom: none;
}

.payment-row div {
    display: grid;
    gap: 4px;
}

.payment-row div:last-child {
    text-align: right;
}

.payment-row span,
.payments-empty {
    color: var(--text-muted);
    font-size: .88rem;
}

.payments-empty {
    padding: 20px;
}

.payment-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.72);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.payment-modal.active {
    display: flex;
}

.payment-modal-card {
    width: min(420px, 100%);
    border-radius: 30px;
    border: 1px solid var(--border-color);
    background: #101014;
    padding: 34px;
    text-align: center;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .45);
}

.payment-modal-check {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-green);
    color: #001510;
    font-size: 3rem;
}

.payment-modal-card strong {
    display: block;
    color: var(--accent-brand);
    font-family: var(--font-heading);
    font-size: 3.4rem;
    margin: 12px 0;
}

.commerce-admin {
    padding: 0;
    overflow: hidden;
}

.commerce-admin-summary {
    cursor: pointer;
    font-weight: 600;
    padding: 1rem 1.25rem;
    list-style: none;
}

.commerce-admin-summary::-webkit-details-marker {
    display: none;
}

.commerce-admin-body {
    padding: 0 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 640px;
}

.panel-admin-msg {
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    font-size: 0.92rem;
}

.panel-admin-msg.is-ok {
    background: rgba(0, 208, 156, 0.12);
    color: #86efac;
}

.panel-admin-msg.is-err {
    background: rgba(239, 68, 68, 0.12);
    color: #fca5a5;
}

.panel-admin-card {
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1rem 1.1rem;
    background: rgba(0, 0, 0, 0.22);
}

.panel-admin-card--mp {
    border-color: rgba(0, 208, 156, 0.22);
}

.panel-admin-card-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    margin: 0 0 0.35rem;
}

.panel-admin-hint {
    margin: 0 0 0.85rem;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.panel-admin-grid {
    display: grid;
    gap: 0.85rem;
}

.panel-field,
.panel-fieldset {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.panel-field input,
.panel-field select {
    width: 100%;
    padding: 0.5rem 0.65rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.2);
    color: inherit;
    font-size: 1rem;
}

.panel-field textarea {
    width: 100%;
    padding: 0.6rem 0.65rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.2);
    color: inherit;
    font-size: 0.95rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    line-height: 1.35;
    resize: vertical;
}

.panel-fieldset {
    border: 1px dashed rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 0.65rem 0.75rem;
}

.panel-fieldset legend {
    padding: 0 0.35rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.panel-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.88);
}

.panel-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.35rem 0.75rem;
}

.mp-steps {
    margin: 0.5rem 0 1rem;
    padding-left: 1.2rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
    line-height: 1.55;
}

.mp-steps a {
    color: var(--accent-green);
}

.mp-token-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    margin: 0.25rem 0 0.5rem;
}

.mp-token-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #94a3b8;
}

.mp-token-ok .mp-token-dot {
    background: var(--accent-green);
}

.mp-token-missing .mp-token-dot {
    background: #f59e0b;
}

.panel-admin-actions-row {
    margin-top: 0.5rem;
}

.panel-admin-warn {
    margin: 0.75rem 0 0;
    font-size: 0.82rem;
    color: #fca5a5;
    opacity: 0.95;
}

.panel-admin-footer-actions {
    margin-top: 0.25rem;
    padding-top: 0.5rem;
}

.panel-admin-preview-hint {
    margin: 0.5rem 0 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.commerce-admin-readonly {
    padding: 1rem;
    opacity: 0.88;
}

/* Panel view modes (un solo CSS; clases por tienda vía JS) */
.panel-view-list .payments-history-card,
.panel-view-cards .payments-history-card,
.panel-view-compact .payments-history-card,
.panel-view-horizontal .payments-history-card {
    border-radius: 20px;
}

.panel-payments-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.payment-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    min-height: 100px;
}

.payment-card-inner {
    padding: 14px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 100%;
}

.payment-card-inner > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.payment-card-inner > div:last-child {
    text-align: right;
}

.panel-view-horizontal .payments-history-card {
    overflow: hidden;
}

.panel-payments-horizontal {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.panel-horizontal-track {
    display: flex;
    flex-direction: row;
    gap: 12px;
    padding: 4px 2px 12px;
    width: max-content;
}

.payment-card--hz {
    flex: 0 0 min(280px, 78vw);
}

.panel-view-compact .payment-row--compact {
    padding: 8px 10px;
}

.panel-view-compact .payment-row--compact strong {
    font-size: 0.95rem;
}

.panel-view-compact .payment-row--compact span {
    font-size: 0.78rem;
}

.panel-payments-listmode .payment-row--list {
    border-radius: 12px;
    margin-bottom: 6px;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.panel-payments-listmode .payment-row--list:last-child {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .price-card.popular {
        transform: scale(1);
    }
    .price-card.popular:hover {
        transform: translateY(-5px);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .commerce-header-inner,
    .latest-payment-card,
    .payment-row {
        align-items: stretch;
        flex-direction: column;
    }

    .commerce-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .latest-right {
        align-items: flex-start;
    }

    .payment-row div:last-child {
        text-align: left;
    }
    
    .hero-description {
        margin: 0 auto 32px;
    }
    
    .hero-cta {
        justify-content: center;
        flex-direction: column;
    }
    
    .hero-features-inline {
        justify-content: center;
        flex-direction: column;
        gap: 12px;
    }
    
    .glass-panel {
        transform: none;
    }
    
    .glass-panel:hover {
        transform: none;
    }
    
    .features-grid, .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-container {
        flex-direction: column;
        gap: 32px;
    }
    
    .step-connector {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
