/* ==========================================
   NBN PLANS DISPLAY - UNIFIED CSS
   Consolidates plans-display.css and plans-display-troppo.css
   Primary Design: Troppo Theme (dark background, blue/orange scheme)
   ========================================== */

@import url(troppo-unified-theme.css);

/* ==========================================
   NBN FLOW SPECIFIC STYLES
   ========================================== */

/* NBN Flow Wrapper - Full Width Breaking Theme Constraints */
.nbn-plugin-wrapper.nbn-flow {
    background: #0f0e1e !important;
    min-height: 100vh;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    padding: 0 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow-x: hidden !important;
    position: relative;
}

/* Override theme constraints for all possible containers */
.content-wrap .nbn-plugin-wrapper.nbn-flow,
.entry-content .nbn-plugin-wrapper.nbn-flow,
.post-content .nbn-plugin-wrapper.nbn-flow,
.content-container .nbn-plugin-wrapper.nbn-flow,
.content-area .nbn-plugin-wrapper.nbn-flow,
.kadence-content-wrap .nbn-plugin-wrapper.nbn-flow {
    max-width: 100vw !important;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
}

/* NBN Flow Content Container */
.nbn-flow-content {
    position: relative;
    z-index: 10;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    color: white;
}

/* Desktop content width */
@media (min-width: 768px) {
    .nbn-flow-content {
        max-width: 1400px;
        margin: 0 auto;
    }
}

/* Hidden sections */
.hidden {
    display: none !important;
}

/* NBN Flow sections */
.nbn-flow-section {
    margin-bottom: 3rem;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.nbn-flow-section.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

/* Cart Summary Section */
.nbn-cart-summary-section {
    background: rgba(26, 26, 46, 0.95);
    padding: 2rem;
    margin-top: 4rem;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nbn-cart-summary-section {
    animation: slideUpCart 0.5s ease-out;
}

@keyframes slideUpCart {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

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

@keyframes slideInCart {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

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

/* Cart steps */
.nbn-cart-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.nbn-cart-step {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    animation: slideInCart 0.3s ease-out;
}

.nbn-cart-step.hidden {
    display: none;
}

.nbn-cart-step-header {
    font-size: 0.75rem;
    font-weight: 600;
    color: #8892b0;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.nbn-cart-step-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.25rem;
}

.nbn-cart-step-subtitle {
    font-size: 0.9rem;
    color: #8892b0;
    margin-bottom: 1rem;
}

.nbn-cart-step-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #4ecdc4;
    margin-bottom: 1rem;
}

.nbn-cart-step-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.nbn-cart-step-actions .troppo-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.nbn-cart-step-actions .nbn-remove-btn {
    background: transparent;
    border: 1px solid #ff6b6b;
    color: #ff6b6b;
}

.nbn-cart-step-actions .nbn-remove-btn:hover {
    background: rgba(255, 107, 107, 0.1);
}

/* Cart footer */
.nbn-cart-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

.nbn-cart-totals-summary {
    display: flex;
    gap: 2rem;
}

.nbn-cart-total-item {
    text-align: left;
}

.nbn-cart-total-label {
    font-size: 0.9rem;
    color: #8892b0;
    margin-bottom: 0.25rem;
}

.nbn-cart-total-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.nbn-proceed-checkout {
    background: linear-gradient(135deg, #ff8e53 0%, #ffd93d 100%);
    color: #1a1a2e;
    border: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nbn-proceed-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 142, 83, 0.3);
}

.nbn-proceed-checkout:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ==========================================
   CSS VARIABLES
   ========================================== */

:root {
    /* Troppo Theme Colors - Primary Palette */
    --troppo-navy: #1e3c72;
    --troppo-navy-light: #2a5298;
    --troppo-navy-dark: #162a4d;
    --troppo-lagoon: #20d6b4;
    --troppo-lagoon-light: #33e5c8;
    --troppo-lagoon-dark: #1ab398;
    --troppo-orange: #ff8e53;
    --troppo-orange-light: #ffd93d;
    --troppo-dark-background: #0f0e1e;
    --troppo-card-background: #1a1a2e;

    /* Gradients */
    --troppo-gradient-navy: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    --troppo-gradient-sunset: linear-gradient(135deg, #ff8e53 0%, #ffd93d 100%);
    --troppo-gradient-lagoon: linear-gradient(135deg, #20d6b4 0%, #33e5c8 100%);

    /* Glass Effects */
    --troppo-glass: rgba(255, 255, 255, 0.1);
    --troppo-glass-border: rgba(255, 255, 255, 0.2);

    /* Typography */
    --troppo-text-primary: #fff;
    --troppo-text-secondary: #8892b0;

    /* Spacing & Layout */
    --troppo-radius-sm: 8px;
    --troppo-radius-lg: 12px;
    --troppo-radius-xl: 20px;
    --troppo-transition-smooth: 0.3s ease;

    /* Card Dimensions - Calculated for 3 cards on desktop */
    --card-width-desktop: calc((100% - 4rem) / 3); /* 3 cards with 2rem gaps */
    --card-width-tablet: 350px;
    --card-width-mobile: calc(100vw - 2rem);
}

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

.nbn-plugin-wrapper.nbn-plans-display {
    background: var(--troppo-dark-background);
    min-height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.nbn-plans-display {
    position: relative;
    z-index: 10;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background: var(--troppo-dark-background);
    color: var(--troppo-text-primary);
}

/* Plans Title */
.nbn-plans-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--troppo-text-primary);
    animation: troppoFadeInUp 0.8s ease-out;
}

.nbn-plans-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--troppo-gradient-navy);
    border-radius: 2px;
    margin: 15px auto 0;
}

/* ==========================================
   PLAN FILTERS
   ========================================== */

.nbn-plan-filters {
    display: inline-flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 0 auto 2rem;
    animation: troppoFadeInUp 0.8s ease-out 0.4s both;
}

.nbn-plan-filter {
    position: relative;
    background: var(--troppo-glass);
    border: 2px solid var(--troppo-glass-border);
    color: var(--troppo-text-secondary);
    padding: 1rem 2rem;
    border-radius: var(--troppo-radius-xl);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--troppo-transition-smooth);
    overflow: hidden;
}

.nbn-plan-filter::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--troppo-gradient-sunset);
    transition: left 0.3s ease;
    z-index: -1;
}

.nbn-plan-filter:hover {
    transform: translateY(-2px);
    border-color: var(--troppo-orange);
}

.nbn-plan-filter:hover::before {
    left: 0;
}

.nbn-plan-filter.active {
    background: var(--troppo-gradient-sunset);
    border-color: transparent;
    color: white;
    box-shadow: 0 8px 24px rgba(255, 142, 83, 0.4);
}

/* ==========================================
   PAYMENT TYPE TABS
   ========================================== */

.nbn-payment-filters {
    display: inline-flex;
    justify-content: center;
    gap: 0;
    margin: 0 auto 2rem;
    background: var(--troppo-glass);
    border: 1px solid var(--troppo-glass-border);
    border-radius: var(--troppo-radius-xl);
    padding: 0.25rem;
    backdrop-filter: blur(20px);
    animation: troppoFadeInUp 0.8s ease-out 0.6s both;
}

.nbn-payment-filter {
    background: transparent;
    border: none;
    color: var(--troppo-text-secondary);
    padding: 0.75rem 1.5rem;
    border-radius: var(--troppo-radius-lg);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all var(--troppo-transition-smooth);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-block;
}

/* Support both button and link styles */
a.nbn-payment-filter {
    text-decoration: none;
    color: var(--troppo-text-secondary);
}

a.nbn-payment-filter:hover {
    text-decoration: none;
    color: var(--troppo-text-primary);
}

.nbn-payment-filter:hover {
    color: var(--troppo-text-primary);
}

.nbn-payment-filter.active,
a.nbn-payment-filter.active {
    background: var(--troppo-gradient-lagoon);
    color: white !important;
    box-shadow: 0 4px 12px rgba(32, 214, 180, 0.3);
}

/* ==========================================
   PLANS CONTAINER & GRID
   ========================================== */

.nbn-plans-container {
    display: block;
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 0;
    margin: 0 auto;
    max-width: 100%;
}

.nbn-plans-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 2rem;
    margin: 0 0 3rem 0;
    padding: 0 4rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    align-items: stretch;
    min-width: 100%;
    width: 100%;
}

.nbn-plans-grid::-webkit-scrollbar {
    display: none;
}

/* Scroll Arrows */
.nbn-scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: var(--troppo-gradient-navy);
    border: 1px solid var(--troppo-lagoon);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.nbn-scroll-arrow:hover {
    background: var(--troppo-gradient-lagoon);
    border-color: var(--troppo-orange);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(79, 209, 197, 0.4);
}

.nbn-scroll-arrow.prev {
    left: 1rem;
}

.nbn-scroll-arrow.next {
    right: 1rem;
}

.nbn-scroll-arrow.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.nbn-scroll-arrow.disabled:hover {
    transform: translateY(-50%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* ==========================================
   PLAN CARDS
   ========================================== */

.nbn-plan-card {
    flex: 0 0 calc((100% - 4rem) / 3);
    min-width: calc((100% - 4rem) / 3);
    max-width: calc((100% - 4rem) / 3);
    width: calc((100% - 4rem) / 3);
    background: transparent;
    border: none;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
    position: relative;
    margin: 0;
}

.nbn-plan-card:hover {
    transform: translateY(-5px);
    cursor: pointer;
}

.nbn-plan-card:hover .nbn-plan-details {
    box-shadow: 0 12px 40px rgba(31, 38, 135, 0.3);
    border-color: rgba(32, 214, 180, 0.3);
}

/* Savings Badge */
.nbn-savings-badge {
    position: relative;
    margin: 0 20px -10px 20px;
    padding: 0.5rem 1rem;
    min-height: 35px;
    border-radius: 50px;
    background: var(--troppo-gradient-sunset);
    color: var(--troppo-card-background);
    font-weight: 700;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
    top: 15px;
}

/* Plan Details Container */
.nbn-plan-details {
    margin-top: 0;
    border-radius: var(--troppo-radius-lg);
    background: var(--troppo-card-background);
    border: 1px solid var(--troppo-lagoon);
    position: relative;
    z-index: 1;
    padding: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: visible;
}

/* When no savings badge, start with rounded top */
.nbn-plan-card:not(:has(.nbn-savings-badge)) .nbn-plan-details {
    border-radius: var(--troppo-radius-lg);
    border-top: 1px solid var(--troppo-glass-border);
}

/* Plan Header */
.nbn-plan-header {
    padding: 1.5rem 2rem 1rem;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
    background: var(--troppo-gradient-navy);
    color: white;
    margin: 0;
    text-align: center;
    border-radius: var(--troppo-radius-lg) var(--troppo-radius-lg) 0 0;
}

.nbn-plan-header > * {
    width: 100%;
}

/* Payment Type Indicator */
.nbn-payment-type-indicator {
    font-size: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: lowercase;
    letter-spacing: 1.5px;
    font-weight: 300;
    margin: 1rem auto 0.5rem auto;
    padding: 0.35rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    display: none;
    position: static;
    z-index: 30;
    text-align: center;
    min-width: 85px;
    box-sizing: border-box;
}

.nbn-payment-type-indicator.active {
    display: inline-block;
}

.nbn-payment-type-indicator:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

/* Plan Name & Tier */
.nbn-plan-name {
    font-size: 2.5rem;
    font-weight: 900;
    margin: 0.25rem 0 0.125rem 0;
    color: white;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    order: 1;
}

.nbn-plan-tier {
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.85;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 1px;
    order: 2;
}

/* NBN Speed Tier */
.nbn-speed-tier {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 1rem 0 0.5rem 0;
    letter-spacing: 0.5px;
    white-space: nowrap;
    text-align: center;
    width: 100%;
}

/* Typical Speeds */
.nbn-typical-speeds-text {
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
}

.nbn-typical-speeds-indicators {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 1rem;
    margin: 0.5rem 0 1rem 0;
}

.nbn-typical-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.nbn-speed-arrow {
    font-size: 0.875rem;
    color: white;
    margin: 0 0.25rem;
}

.nbn-speed-unit {
    font-size: 0.75rem;
    color: white;
    font-weight: 400;
}

/* Number of Users Box */
.nbn-users-box {
    margin: 0 -1px 0 -1px;
    padding: 1.5rem 2rem 2.5rem;
    background: var(--troppo-card-background);
    border: none;
    text-align: center;
    position: relative;
    overflow: visible;
    width: calc(100% + 2px);
    box-sizing: border-box;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 35px), 50% 100%, 0 calc(100% - 35px));
    height: 110px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.nbn-users-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(32, 214, 180, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.nbn-users-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--troppo-lagoon);
    line-height: 1;
    margin-bottom: 0.25rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nbn-users-label {
    font-size: 0.875rem;
    color: var(--troppo-lagoon);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Pricing Section */
.nbn-plan-pricing {
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.1);
}

.nbn-price-container {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    justify-content: center;
    min-height: 3rem;
}

.nbn-price-value {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    color: white;
}

.nbn-price-value::before {
    content: '$';
    font-size: 1.5rem;
    vertical-align: super;
}

.nbn-price-note {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
    min-height: 2.5rem;
    text-align: center;
}

/* Fix pricing /month text color */
.nbn-price-container small {
    color: var(--troppo-lagoon) !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
}

/* Features Section */
.nbn-plan-features {
    min-height: 80px;
    margin: 0 2rem 1rem 2rem;
    background: transparent;
    padding: 0;
}

.nbn-features-toggle {
    width: 100%;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--troppo-radius-sm);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all var(--troppo-transition-smooth);
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.nbn-features-toggle:hover {
    background: rgba(30, 60, 114, 0.05);
    border-color: var(--troppo-navy-light);
}

.nbn-features-toggle.active {
    background: rgba(30, 60, 114, 0.1);
    border-color: var(--troppo-lagoon);
    color: var(--troppo-lagoon);
}

.nbn-toggle-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform var(--troppo-transition-smooth);
    color: white;
}

.nbn-features-toggle.active .nbn-toggle-icon {
    transform: rotate(45deg);
}

.nbn-features-content {
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.3s ease-out,
        opacity 0.3s ease-out;
    opacity: 0;
}

.nbn-features-content.active {
    max-height: 500px;
    opacity: 1;
    transition:
        max-height 0.3s ease-in,
        opacity 0.3s ease-in;
}

.nbn-features-list {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
    list-style: none;
    color: white;
}

.nbn-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: white;
}

.nbn-feature-item:last-child {
    border-bottom: none;
}

.nbn-feature-icon {
    color: var(--troppo-lagoon);
    font-size: 1.25rem;
}

.nbn-feature-text {
    color: white;
    font-size: 0.875rem;
}

/* Actions Section */
.nbn-plan-actions {
    margin-top: auto;
    padding: 1.5rem 2rem 2rem;
    background: transparent;
}

.nbn-select-plan {
    width: 100%;
    background: var(--troppo-gradient-sunset);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 142, 83, 0.3);
}

.nbn-select-plan:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 142, 83, 0.4);
}

/* Featured Plan */
.nbn-plan-featured .nbn-plan-details {
    border: 2px solid var(--troppo-lagoon);
    box-shadow:
        0 8px 32px rgba(31, 38, 135, 0.3),
        0 0 20px rgba(32, 214, 180, 0.2);
}

/* Popular Tag */
.nbn-popular-tag {
    display: inline-block;
    background: var(--nbn-flow-secondary);
    color: var(--nbn-flow-dark);
    padding: 5px 12px;
    border-radius: var(--nbn-flow-radius-lg);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px var(--nbn-flow-shadow);
    margin-bottom: 10px;
}

/* Recommended Badge */
.nbn-plan-badge {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    background: var(--troppo-gradient-navy);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--troppo-radius-xl);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: troppoFloat 3s ease-in-out infinite;
    box-shadow: 0 4px 12px rgba(30, 60, 114, 0.4);
}

@keyframes troppoFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Filter functionality */
.nbn-plan-card.filter-hidden {
    display: none !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    flex: 0 0 0 !important;
}

/* Hide old speed box */
.nbn-plan-speeds {
    display: none !important;
}

/* ==========================================
   PAYMENT FILTERS FUNCTIONALITY
   ========================================== */

/* Hide all pricing by default */
.nbn-weekly-price,
.nbn-monthly-price,
.nbn-yearly-price {
    display: none !important;
}

/* Show monthly pricing by default */
body:not(.payment-filtered) .nbn-monthly-price,
.payment-monthly .nbn-monthly-price {
    display: block !important;
}

.payment-weekly .nbn-weekly-price {
    display: block !important;
}

.payment-yearly .nbn-yearly-price {
    display: block !important;
}

/* Hide all payment indicators by default */
.nbn-payment-type-indicator {
    display: none !important;
}

/* Show only the active indicator */
body:not(.payment-filtered) .nbn-payment-type-indicator[data-payment='monthly'],
.payment-monthly .nbn-payment-type-indicator[data-payment='monthly'] {
    display: inline-block !important;
}

.payment-weekly .nbn-payment-type-indicator[data-payment='weekly'] {
    display: inline-block !important;
}

.payment-yearly .nbn-payment-type-indicator[data-payment='yearly'] {
    display: inline-block !important;
}

/* Ensure savings badges align with payment type */
.nbn-savings-badge {
    display: none !important;
}

body:not(.payment-filtered) .nbn-savings-badge.monthly-payment,
.payment-monthly .nbn-savings-badge.monthly-payment {
    display: block !important;
}

.payment-weekly .nbn-savings-badge.weekly-payment {
    display: block !important;
}

.payment-yearly .nbn-savings-badge.yearly-payment {
    display: block !important;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

/* Large Desktop */
@media (min-width: 1440px) {
    .nbn-plan-card {
        flex: 0 0 calc((100% - 4rem) / 3);
        min-width: calc((100% - 4rem) / 3);
        max-width: calc((100% - 4rem) / 3);
        width: calc((100% - 4rem) / 3);
    }
}

/* Desktop */
@media (max-width: 1400px) {
    .nbn-plans-grid {
        padding: 0 3rem;
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .nbn-plan-card {
        flex: 0 0 var(--card-width-tablet);
        min-width: var(--card-width-tablet);
        max-width: var(--card-width-tablet);
        width: var(--card-width-tablet);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .nbn-plans-container {
        margin: 0 -1rem;
        width: calc(100% + 2rem);
    }

    .nbn-plans-grid {
        gap: 1rem;
        padding: 0 1rem;
        scroll-snap-type: x mandatory;
    }

    .nbn-plan-card {
        flex: 0 0 var(--card-width-mobile);
        min-width: var(--card-width-mobile);
        max-width: var(--card-width-mobile);
        width: var(--card-width-mobile);
        scroll-snap-align: center;
    }

    .nbn-scroll-arrow {
        display: none;
    }

    .nbn-plan-header {
        min-height: 280px;
    }

    .nbn-plan-name {
        font-size: 1.75rem;
    }

    .nbn-speed-tier {
        font-size: 1.5rem;
    }

    .nbn-plan-filters,
    .nbn-payment-filters {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .nbn-plan-filter,
    .nbn-payment-filter {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .nbn-plans-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .nbn-plans-display {
        padding: 2rem 1rem;
    }

    .nbn-plan-name {
        font-size: 1.5rem;
    }

    .nbn-plan-tier {
        font-size: 0.875rem;
    }

    .nbn-speed-tier {
        font-size: 1.25rem;
    }
}

/* ==========================================
   WORDPRESS & THEME COMPATIBILITY
   ========================================== */

/* Reset theme interference */
.nbn-plugin-wrapper * {
    box-sizing: border-box;
}

.nbn-plugin-wrapper .nbn-plans-display {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 4rem 2rem;
}

/* Ensure proper container behavior */
.entry-content .nbn-plugin-wrapper,
.site-main .nbn-plugin-wrapper,
.content-area .nbn-plugin-wrapper,
article .nbn-plugin-wrapper {
    display: block !important;
    flex: none !important;
    width: 100% !important;
}

/* Override theme grid systems */
[class*='col-'] .nbn-plans-grid,
[class*='column'] .nbn-plans-grid,
.row .nbn-plans-grid {
    display: flex !important;
}

/* Disable floating shapes */
.troppo-float-shapes,
.troppo-shape {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* ==========================================
   ANIMATIONS
   ========================================== */

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

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

@keyframes troppoGlow {
    0%,
    100% {
        box-shadow: 0 0 10px rgba(255, 142, 83, 0.3);
    }

    50% {
        box-shadow: 0 0 20px rgba(255, 142, 83, 0.5);
    }
}

/* ==========================================
   NBN CART SUMMARY STYLES
   ========================================== */

/* Cart Summary Layout - Enhanced version - see NBN Flow section above for main styles */

.nbn-cart-summary {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.nbn-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.nbn-cart-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.nbn-cart-total-display {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4ecdc4;
}

/* Additional cart summary styles are defined in NBN Flow section above */

/* ==========================================
   MODEM SECTION STYLES
   ========================================== */

.nbn-modems-grid {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.nbn-modem-card {
    background: linear-gradient(180deg, #2a5298 0%, #1e3c72 100%);
    border: 2px solid rgba(79, 209, 197, 0.3);
    border-radius: 20px;
    width: 380px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.nbn-modem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: #4ecdc4;
}

.nbn-modem-card.selected {
    border-color: #4ecdc4;
    box-shadow: 0 0 30px rgba(79, 209, 197, 0.3);
}

.nbn-modem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #20d6b4 0%, #3ebd60 33%, #ffd93d 66%, #ff6b6b 100%);
}

.modem-details {
    padding: 2rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.modem-image {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #20d6b4 0%, #33e5c8 100%);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.modem-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.modem-description {
    font-size: 1rem;
    color: #8892b0;
    margin-bottom: 1rem;
}

.modem-price {
    font-size: 2rem;
    font-weight: 700;
    color: #4ecdc4;
    margin: 1rem 0;
}

.modem-actions {
    padding: 1.5rem 2rem 2rem;
}

.modem-actions .troppo-btn {
    width: 100%;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
}

/* ==========================================
   PHONE SELECTION STYLES
   ========================================== */

.nbn-voip-options {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.nbn-voip-option {
    background: linear-gradient(180deg, #2a5298 0%, #1e3c72 100%);
    border: 2px solid rgba(79, 209, 197, 0.3);
    border-radius: 20px;
    width: 300px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nbn-voip-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #20d6b4 0%, #3ebd60 33%, #ffd93d 66%, #ff6b6b 100%);
}

.nbn-voip-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: #4ecdc4;
}

.nbn-voip-option.selected {
    border-color: #4ecdc4;
    box-shadow: 0 0 30px rgba(79, 209, 197, 0.3);
}

.voip-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #20d6b4 0%, #33e5c8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: white;
}

.voip-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    text-align: center;
}

.voip-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #4ecdc4;
    text-align: center;
}

/* ==========================================
   NBN FLOW SPECIFIC STYLES
   ========================================== */

.nbn-voip-option-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.nbn-voip-option-text {
    color: white;
    font-weight: 600;
    text-align: center;
    font-size: 1.1rem;
}

.nbn-voip-plan-container {
    max-width: 600px;
    margin: 2rem auto;
}

.nbn-voip-plan-card {
    background: linear-gradient(180deg, #2a5298 0%, #1e3c72 100%);
    border: 2px solid rgba(79, 209, 197, 0.3);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.nbn-voip-plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #20d6b4 0%, #3ebd60 33%, #ffd93d 66%, #ff6b6b 100%);
}

.nbn-voip-plan-header h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.nbn-voip-plan-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4ecdc4;
    margin: 1rem 0;
}

.nbn-voip-plan-term {
    font-size: 1rem;
    color: #8892b0;
}

.nbn-voip-plan-features h4 {
    color: white;
    margin-bottom: 1rem;
}

.nbn-voip-included {
    background: rgba(79, 209, 197, 0.2);
    color: #4ecdc4;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    border: 1px solid #4ecdc4;
    margin-top: 1rem;
}

/* Center align all sections */
.nbn-flow-section {
    text-align: center;
    margin-bottom: 4rem;
}

.nbn-flow-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

/* Responsive cart */
@media (max-width: 768px) {
    .nbn-cart-steps {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .nbn-cart-footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .nbn-cart-totals-summary {
        justify-content: center;
    }
}

/* ==========================================
   ACCESSIBILITY
   ========================================== */

/* Focus styles */
.nbn-plan-filter:focus,
.nbn-payment-filter:focus,
.nbn-select-plan:focus,
.nbn-features-toggle:focus {
    outline: 2px solid var(--troppo-lagoon);
    outline-offset: 2px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .nbn-plan-card {
        border: 2px solid white;
    }

    .nbn-plan-filter,
    .nbn-payment-filter {
        border-width: 2px;
    }
}
