:root {
    --p-accent: #7c3aed;
    --p-accent-light: #8b5cf6;
}

/* Theme Variables */
html.light,
body.light-mode {
    --p-bg: #f8fafc;
    --p-card: rgba(255, 255, 255, 0.9);
    --p-border: rgba(0, 0, 0, 0.05);
    --p-text: #1e293b;
    --p-muted: #64748b;
    --p-input-bg: #ffffff;
}

html.dark,
body.dark-mode {
    --p-bg: #0f172a;
    --p-card: rgba(30, 41, 59, 0.85);
    --p-border: rgba(255, 255, 255, 0.1);
    --p-text: #f8fafc;
    --p-muted: #94a3b8;
    --p-input-bg: rgba(15, 23, 42, 0.8);
}

/* Premium Product Detail Styles */
.product-detail-hero {
    position: relative;
    padding: 120px 0 80px;
    background: var(--p-bg);
    overflow: hidden;
    color: var(--p-text);
    border-bottom: 1px solid var(--p-border);
}

html.dark .product-detail-hero,
body.dark-mode .product-detail-hero {
    background: #000;
}

.product-detail-section {
    background: var(--p-bg);
    padding: 80px 0 80px;
    margin-top: -60px;
    border-radius: 60px 60px 0 0;
    position: relative;
    z-index: 5;
    box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.2);
}

.product-detail-section .container {
    max-width: 1400px;
}

.premium-glass-card {
    background: var(--p-card);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 2.5rem 1rem;
    /* Even less padding for full effect */
    height: auto;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    position: relative;
}

.premium-glass-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(124, 92, 255, 0.2), transparent, rgba(79, 70, 229, 0.2));
    border-radius: 26px;
    z-index: -1;
    opacity: 0.5;
}

.premium-glass-card:hover {
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
    transform: translateY(-5px);
}

.product-title-modern {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -1.5px;
    background: linear-gradient(135deg, var(--p-text) 0%, var(--p-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.product-description {
    color: var(--p-text);
    line-height: 1.8;
    font-size: 1.1rem;
    opacity: 0.9;
}

.product-description h3,
.product-description h4 {
    color: var(--p-text);
    font-weight: 800;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.payment-header-combined {
    border-radius: 16px;
    width: 100%;
    border: 2px solid var(--p-accent);
    box-shadow: 0 0 15px rgba(124, 92, 255, 0.3);
}

.product-slider-container {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--p-border);
}

.carousel-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

/* Features List Modern */
.feature-item-modern {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--p-text);
    font-weight: 500;
}

.check-icon {
    width: 24px;
    height: 24px;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* FAQ Section Modern */
.faq-section .accordion-item {
    background: var(--p-input-bg);
    border: 1px solid var(--p-border);
    border-radius: 16px !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-section .accordion-button {
    background: transparent;
    color: var(--p-text);
    font-weight: 700;
    padding: 1.25rem;
    box-shadow: none !important;
}

.faq-section .accordion-button:not(.collapsed) {
    background: rgba(124, 92, 255, 0.1);
    color: var(--p-accent);
}

.faq-section .accordion-body {
    background: transparent;
    color: var(--p-muted);
    padding: 0 1.25rem 1.25rem;
}

/* Comments Modern */
.comment-item {
    background: var(--p-input-bg);
    border: 1px solid var(--p-border);
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.user-avatar-modern {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(124, 92, 255, 0.3);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
}

.whatsapp-float a {
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    transition: all 0.3s;
}

.whatsapp-float a:hover {
    transform: scale(1.1) rotate(10deg);
    color: white;
}

/* Inline Styles Replacement Classes */
#vanta-halo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.6;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
}

.hero-lead-text {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.plan-card-premium {
    padding: 1.5rem;
    border-width: 2px !important;
}

.comment-input-area {
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.05);
}

.sidebar-sticky-wrapper {
    position: sticky;
    top: 120px;
}

.product-id-icon {
    background: rgba(124, 92, 255, 0.1);
    color: var(--p-accent);
}

.status-check-icon {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.content-wrap-responsive {
    align-self: flex-start;
}

@media (max-width: 991px) {
    .product-detail-hero {
        padding: 80px 0 60px;
    }

    .product-title-modern {
        font-size: 2.25rem;
    }

    .premium-glass-card {
        padding: 1.5rem 1rem;
    }
}

@media (min-width: 992px) {
    #order-section {
        width: 40% !important;
        /* Force wider sidebar on desktop */
    }

    .col-lg-8 {
        width: 60% !important;
    }
}

@media (min-width: 2000px) {
    .product-detail-section .container {
        max-width: 1600px;
    }
}

/* Checkout Form Styles */
.checkout-product-img {
    max-height: 250px;
    object-fit: cover;
}

.plan-selection-title {
    color: var(--muted);
}

.plan-card {
    border-width: 2px !important;
    border-radius: 20px;
    background: var(--card);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.plan-populer-badge {
    top: 8px;
    right: 8px;
    border-radius: 10px;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    font-size: 0.55rem;
    letter-spacing: 0.5px;
    z-index: 2;
}

.plan-icon-wrapper {
    width: 40px;
    height: 40px;
}

.plan-icon-basic {
    background: rgba(124, 92, 255, 0.1);
    color: var(--accent);
}

.plan-icon-pro {
    background: rgba(255, 142, 83, 0.1);
    color: #FF8E53;
}

.plan-name-text {
    font-size: 0.9rem;
}

.plan-name-pro {
    display: inline-block;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.plan-name-basic {
    color: var(--text);
}

.plan-price-text {
    font-size: 0.85rem;
    color: var(--text);
    white-space: nowrap;
}

.plan-access-text {
    font-size: 0.65rem;
    color: var(--muted);
    white-space: nowrap;
}

.plan-active-indicator {
    bottom: 8px;
    right: 8px;
    opacity: 0 !important;
    transition: opacity 0.3s;
    z-index: 2;
    pointer-events: none;
}

.plan-active-checkmark {
    width: 20px;
    height: 20px;
    font-size: 0.55rem;
}

.plan-glow-bg {
    background: radial-gradient(circle, rgba(124, 92, 255, 0.15) 0%, rgba(124, 92, 255, 0) 70%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.plan-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

.plan-card.plan-is-active {
    border-color: var(--accent) !important;
    background: rgba(124, 92, 255, 0.08) !important;
    box-shadow: 0 10px 30px rgba(124, 92, 255, 0.2) !important;
}

.plan-card.plan-is-active .plan-active-indicator {
    opacity: 1 !important;
}

.plan-card.plan-is-active .plan-glow-bg {
    opacity: 1 !important;
}

.plan-card.plan-is-active .plan-price-text {
    color: var(--accent) !important;
}

.coupon-input {
    text-transform: uppercase;
}

.discount-row-hidden {
    display: none !important;
}

.btn-checkout-premium {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    letter-spacing: 0.5px;
}

.btn-checkout-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(118, 75, 162, 0.4) !important;
    color: white;
    filter: brightness(1.1);
}

@keyframes driveCartWipe {
    0% {
        transform: translateX(-120px) scale(0.8) rotate(-10deg);
        opacity: 0;
    }

    20% {
        transform: translateX(-40px) scale(1.2) rotate(0deg);
        opacity: 1;
    }

    50% {
        transform: translateX(0px) scale(1.2) rotate(0deg);
        opacity: 1;
    }

    80% {
        transform: translateX(40px) scale(1.2) rotate(5deg);
        opacity: 1;
    }

    100% {
        transform: translateX(120px) scale(0.8) rotate(10deg);
        opacity: 0;
    }
}

@keyframes fadeInProcess {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.loading-dots::after {
    content: '.';
    animation: loadingDots 1.5s steps(4, end) infinite;
}

@keyframes loadingDots {

    0%,
    20% {
        content: '.';
    }

    40% {
        content: '..';
    }

    60%,
    100% {
        content: '...';
    }
}

/* Payment Header Combined Style (Matching User Image) */
.premium-card {
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    background: #3a3e45 !important;
    /* Base grey from screenshot */
    border-radius: 8px;
    /* Sharper corners */
    transition: all 0.3s;
}

.premium-body {
    background: transparent !important;
    /* Force transparent to inherit card color */
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.payment-header-combined {
    cursor: pointer;
    transition: all 0.3s;
}

.payment-title-bar {
    background: #3a3e45;
    /* Same as body */
    padding: 12px 16px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.payment-logos-bar {
    background: #494e57;
    /* Slightly lighter grey for sub-header */
    padding: 8px 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    align-items: center;
    min-height: 35px;
}

.logo-item-mini {
    height: 18px !important;
    width: auto;
    max-width: 50px;
    object-fit: contain;
    display: inline-block;
    filter: brightness(1.1);
    /* Slightly brighten logos on dark bg */
}

.premium-header-combined:hover .payment-title-bar {
    background: #3e444a;
}

.premium-header-combined:hover .payment-logos-bar {
    background: #5a6268;
}

.premium-channel-label {
    background: #525862 !important;
    /* Payment card background */
    border: 2px solid transparent !important;
    border-radius: 12px !important;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: left;
    overflow: hidden;
}

.premium-channel-label:hover {
    background: #5b626d !important;
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.channel-logo-wrapper {
    padding: 16px 16px 8px 16px;
}

.channel-price-wrapper {
    padding: 0 16px 12px 16px;
    color: #f8fafc;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.channel-divider {
    border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
    margin: 0 16px;
}

.channel-status-wrapper {
    padding: 10px 16px;
    font-size: 0.75rem;
    color: #cbd5e1;
}

.channel-status-wrapper em {
    font-style: italic;
    opacity: 0.8;
}

.premium-radio:checked+.premium-channel-label {
    background: #5b626d !important;
    border: 2px solid #3b82f6 !important;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3), 0 8px 20px rgba(0, 0, 0, 0.2) !important;
    transform: translateY(-2px);
    animation: livingPulse 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes livingPulse {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(59, 130, 246, 0.3), 0 8px 20px rgba(0, 0, 0, 0.2) !important;
    }

    50% {
        box-shadow: 0 0 25px rgba(59, 130, 246, 0.6), 0 8px 20px rgba(0, 0, 0, 0.2) !important;
    }
}

.premium-radio:checked+.premium-channel-label::after {
    content: '\f058';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    bottom: 8px;
    right: 8px;
    color: #3b82f6;
    background: #fff;
    border-radius: 50%;
    font-size: 1.2rem;
    line-height: 1;
    z-index: 10;
    animation: checkPop 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@keyframes checkPop {
    from {
        transform: scale(0);
        rotate: -45deg;
    }

    to {
        transform: scale(1);
        rotate: 0;
    }
}

.forced-logo-channel {
    height: 32px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: brightness(1.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.premium-channel-label:hover .forced-logo-channel {
    transform: scale(1.05);
}

.premium-channel-label:active {
    transform: scale(0.96);
}

/* Accessibility: Visually hide but keep accessible for screen readers */
.visually-hidden-input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Premium Coupon Ticket Style */
.coupon-ticket-wrapper {
    position: relative;
    padding: 2px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 14px;
    overflow: hidden;
}

.coupon-ticket {
    background: var(--p-input-bg);
    /* Use theme-aware input background */
    border: 2px dashed rgba(255, 215, 0, 0.4);
    border-radius: 12px;
    display: flex;
    position: relative;
    padding: 4px;
    transition: all 0.3s;
}

.coupon-ticket::before,
.coupon-ticket::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--p-bg);
    /* Use theme-aware background */
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    transition: background 0.3s;
}

.coupon-ticket::before {
    left: -12px;
}

.coupon-ticket::after {
    right: -12px;
}

.coupon-ticket-input {
    background: transparent !important;
    border: none !important;
    color: var(--p-text) !important;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 10px 15px;
    flex-grow: 1;
    box-shadow: none !important;
}

.coupon-ticket-input::placeholder {
    color: rgba(255, 215, 0, 0.4);
    letter-spacing: 1px;
}

.btn-coupon-apply {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border: none;
    color: #000;
    font-weight: 800;
    border-radius: 8px;
    padding: 0 20px;
    transition: all 0.3s;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.btn-coupon-apply:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
    color: #000;
}

.coupon-success-glow {
    animation: couponGlow 1.5s infinite;
}

/* Entrance Animations */
.animate-slide-up {
    animation: slideUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
}

.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes pricePulse {
    0% {
        transform: scale(1);
        filter: brightness(1);
    }

    50% {
        transform: scale(1.05);
        filter: brightness(1.2);
        text-shadow: 0 0 10px rgba(124, 92, 255, 0.3);
    }

    100% {
        transform: scale(1);
        filter: brightness(1);
    }
}

@keyframes couponGlow {
    0% {
        box-shadow: 0 0 5px rgba(255, 215, 0, 0.2);
    }

    50% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    }

    100% {
        box-shadow: 0 0 5px rgba(255, 215, 0, 0.2);
    }
}

@keyframes ticketPop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.ticket-animating {
    animation: ticketPop 0.4s ease-out;
}

/* Living Animations & Refinements */
.premium-input-group .form-control {
    background: rgba(15, 23, 42, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px;
    color: #fff !important;
    padding: 12px 16px;
    transition: all 0.3s;
}

.premium-input-group .form-control:focus {
    background: rgba(15, 23, 42, 0.8) !important;
    border-color: var(--p-accent) !important;
    box-shadow: 0 0 15px rgba(124, 92, 255, 0.2) !important;
    transform: translateY(-2px);
}

.section-label-living {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--p-accent);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1rem;
}

.section-label-living::after {
    content: '';
    flex-grow: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(124, 92, 255, 0.5), transparent);
}

.price-living-pulse {
    animation: pricePulse 2s infinite;
}

@keyframes pricePulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.02);
        opacity: 0.95;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.btn-checkout-living {
    background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
    border: none;
    border-radius: 16px;
    padding: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s;
}

.btn-checkout-living:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 30px rgba(79, 70, 229, 0.4);
}

.btn-checkout-living::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.6s;
}

.btn-checkout-living:hover::before {
    left: 100%;
}

/* ================================================================
   NEW PREMIUM PAYMENT ACCORDION — v2
   ================================================================ */

/* Wrapper */
.pay-accordion-wrap {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Summary Header */
.pay-summary-header {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.18) 0%, rgba(79, 70, 229, 0.12) 100%);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 14px;
    padding: 12px 16px;
    backdrop-filter: blur(10px);
}

.pay-summary-label {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #a78bfa;
    text-transform: uppercase;
}

.pay-summary-price {
    font-size: 0.85rem;
    font-weight: 800;
    color: #fff;
    background: rgba(124, 58, 237, 0.3);
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(124, 58, 237, 0.4);
}

/* Logos strip in header */
.pay-all-logos-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}

.pay-strip-logo {
    height: 14px;
    width: auto;
    max-width: 38px;
    object-fit: contain;
    background: #fff;
    padding: 2px 4px;
    border-radius: 3px;
    filter: brightness(0.98);
}

/* Accordion item container */
.pay-acc-item {
    border-radius: 12px;
    background: #2a2e38;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}

.pay-acc-item.pay-acc-open {
    border-color: rgba(124, 58, 237, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

/* Accordion header button */
.pay-acc-header {
    width: 100%;
    background: transparent;
    border: none;
    display: block;
    cursor: pointer;
    transition: background 0.2s;
    color: #fff;
    text-align: left;
    border-radius: 12px;
    overflow: hidden;
}

.pay-acc-title-row {
    background: #313641;
    transition: background 0.2s;
}

.pay-acc-logos-row {
    background: rgba(0, 0, 0, 0.2);
    min-height: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pay-acc-header:hover .pay-acc-title-row {
    background: #383d4a;
}

.pay-acc-header[aria-expanded="true"] .pay-acc-title-row {
    background: #2e3240;
    border-bottom: 1px solid rgba(124, 58, 237, 0.2);
}

.pay-acc-header[aria-expanded="true"] .pay-acc-logos-row {
    opacity: 0;
    max-height: 0;
    min-height: 0;
    padding: 0 !important;
    overflow: hidden;
}

/* Chevron animation */
.pay-chevron {
    font-size: 0.7rem;
    opacity: 0.6;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pay-acc-header[aria-expanded="true"] .pay-chevron {
    transform: rotate(180deg);
    opacity: 1;
    color: #a78bfa;
}

/* Accordion body */
.pay-acc-body {
    padding: 15px 12px;
    background: #1e2228;
    border-radius: 0 0 12px 12px;
}

/* Header Components */
.pay-acc-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pay-acc-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.pay-icon-vc {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.pay-icon-bt {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
}

.pay-icon-ew {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
}

.pay-icon-qr {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
}

.pay-icon-cs {
    background: rgba(107, 114, 128, 0.2);
    color: #9ca3af;
}

.pay-icon-cc {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.pay-acc-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #f1f5f9;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.pay-mini-logo {
    height: 12px;
    width: auto;
    max-width: 38px;
    object-fit: contain;
    background: #fff;
    padding: 2px 4px;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.pay-acc-header:hover .pay-mini-logo {
    transform: scale(1.05);
}

/* Channel card grid — 3 columns */
.pay-channel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

@media (max-width: 480px) {
    .pay-channel-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Individual channel card */
.pay-channel-card {
    position: relative;
    background: #2d323e;
    border: 2px solid rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    min-height: 80px;
}

.pay-channel-card:hover {
    background: #363c4a;
    border-color: rgba(124, 58, 237, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.pay-channel-card.pay-channel-selected,
.pay-channel-card:has(input:checked) {
    background: #2d324a;
    border-color: #6366f1 !important;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2), inset 0 0 10px rgba(99, 102, 241, 0.1);
    animation: payPulse 2s infinite ease-in-out;
}

@keyframes payPulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
    }

    50% {
        box-shadow: 0 0 35px rgba(99, 102, 241, 0.4);
    }
}

/* Logo area */
.pay-channel-logo-wrap {
    padding: 10px 8px 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
}

.pay-channel-logo {
    max-height: 22px;
    max-width: 85%;
    width: auto;
    object-fit: contain;
    background: #fff;
    padding: 3px 6px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pay-channel-card:hover .pay-channel-logo {
    transform: scale(1.1) rotate(2deg);
}

/* Info area */
.pay-channel-info {
    padding: 0 8px 8px;
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex-grow: 1;
}

.pay-channel-price {
    font-size: 0.65rem;
    font-weight: 800;
    color: #e2e8f0;
    letter-spacing: 0.2px;
}

.pay-channel-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    border-style: dashed;
    border-width: 0 0 1px;
    margin: 2px 0;
}

.pay-channel-status {
    font-size: 0.55rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 3px;
}

.pay-channel-status i {
    color: #10b981;
    font-size: 0.5rem;
}

.pay-channel-card.pay-channel-selected .pay-channel-status,
.pay-channel-card:has(input:checked) .pay-channel-status {
    color: #818cf8;
}

/* Selected checkmark */
.pay-channel-check {
    position: absolute;
    top: 4px;
    right: 4px;
    color: #6366f1;
    font-size: 0.8rem;
    opacity: 0;
    transform: scale(0.3) rotate(-45deg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-shadow: 0 0 8px rgba(99, 102, 241, 0.5);
}

.pay-channel-card.pay-channel-selected .pay-channel-check,
.pay-channel-card:has(input:checked) .pay-channel-check {
    opacity: 1;
    transform: scale(1) rotate(0);
}

/* Right side of header */
.pay-acc-right {
    display: flex;
    align-items: center;
    gap: 8px;
}
