/* Kuumbwa Jazz Membership Widget - Dark Mode with Blue Accents */
.spektrix-membership-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'futura-pt', sans-serif;
    background: #1a1a1a;
    color: #ffffff;
}
/* Loading Spinner */
.loading-spinner {
    text-align: center;
    padding: 60px 20px;
    color: #cccccc;
}
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #333333;
    border-top: 4px solid #007cba;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
/* Header */
.membership-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 20px;
}
.membership-header h2 {
    font-size: 2.5em;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 400;
    line-height: 1.2;
}
.membership-header p {
    font-size: 1.2em;
    color: #cccccc;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}
/* Membership Options Grid - Adjusted for new card size */
.membership-options {
    display: grid;
    gap: 15px;
    margin: 30px 0;
    grid-template-columns: repeat(auto-fit, minmax(144px, 1fr)); /* Match new card width */
}
.membership-option {
    position: relative;
}
.membership-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}
/* Membership Cards - 30% shorter, 20% wider */
.membership-card {
    border: 2px solid #333333;
    border-radius: 6px;
    padding: 8px 6px !important;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #2a2a2a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 56px !important; /* 30% shorter: 80px * 0.7 = 56px */
    max-width: 144px !important; /* 20% wider: 120px * 1.2 = 144px */
}
.membership-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 123, 186, 0.2);
    border-color: #007cba;
}
.membership-option input:checked + label .membership-card {
    border-color: #007cba;
    background: linear-gradient(135deg, #007cba 0%, #005a87 100%);
    color: #ffffff;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 123, 186, 0.4);
}
/* Card Content - Much Smaller Text */
.membership-card h4 {
    margin: 0 0 6px 0 !important; /* Much smaller margins */
    font-size: 1em !important; /* Much smaller - was 1.4em */
    font-weight: 500;
    color: #ffffff;
}
.membership-card .price {
    font-size: 1em !important; /* Much smaller - was 2em */
    font-weight: 700;
    margin: 6px 0 !important; /* Much smaller margins */
    color: #007cba;
    line-height: 1;
}
.membership-option input:checked + label .membership-card .price {
    color: #ffffff;
}
.membership-card .period {
    font-size: 0.8em;
    font-weight: 500;
}
/* Options Section - Dark Theme */
.membership-options-section {
    background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
    padding: 15px; /* 50% reduction from 30px */
    border-radius: 15px;
    margin: 20px 0; /* 50% reduction from 40px */
    border: 1px solid #333333;
}
.option-group {
    margin: 10px 0; /* 50% reduction from 20px */
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.option-group input[type="checkbox"] {
    margin-top: 6px;
    transform: scale(1.3);
    accent-color: #007cba;
    cursor: pointer;
}
.option-group label {
    cursor: pointer;
    line-height: 1.6;
    color: #ffffff;
    font-size: 0.9em; /* Slightly smaller from 1.05em */
}
/* Add to Cart Section - Much Smaller Button with Maximum Specificity */
.add-to-cart-section {
    text-align: center;
    margin: 0; /* Reduced margins */
    padding: 30px 20px; /* Reduced padding */
}
.spektrix-membership-container .add-to-cart-section button#add-to-cart.btn.btn-primary, .spektrix-membership-container button#add-to-cart.btn.btn-primary, body .spektrix-membership-container #add-to-cart {
    display: inline-block !important;
    font-family: 'futura-pt-condensed', sans-serif !important;
    font-size: 1em !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    background: #0072bc !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    border-radius: 0 !important;
    border: none !important;
    line-height: 1.1 !important;
    padding: 0.8em 1.2em !important;
    box-shadow: none !important;
}
.spektrix-membership-container .btn-primary, .spektrix-membership-container #add-to-cart {
    background: linear-gradient(135deg, #007cba 0%, #005a87 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(0, 123, 186, 0.3) !important;
    border: 2px solid transparent !important;
}
.btn:disabled {
    background: linear-gradient(135deg, #555555 0%, #444444 100%);
    color: #cccccc;
    cursor: not-allowed;
    opacity: 0.7;
    transform: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}
.btn:focus {
    outline: 3px solid rgba(0, 123, 186, 0.3);
    outline-offset: 2px;
}
.cart-note {
    color: #cccccc;
    font-size: 0.9em; /* Slightly smaller */
    margin-top: 15px;
    line-height: 1.5;
}
p.cart-note {
    margin-bottom: 0 !important;
}
/* Responsive Design */
@media (max-width: 768px) {
    .spektrix-membership-container {
        padding: 15px;
    }
    .membership-header h2 {
        font-size: 2em;
    }
    .membership-header p {
        font-size: 1.1em;
    }
    .membership-options {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .membership-card {
        padding: 15px 12px; /* Further reduced for mobile */
        min-height: 180px; /* Reduced */
    }
    .membership-card .price {
        font-size: 1.8em; /* Reduced */
    }
    .membership-options-section {
        padding: 12px 8px; /* 50% reduction for mobile */
    }
    .option-group {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    .option-group input[type="checkbox"] {
        margin-top: 0;
    }
    .add-to-cart-section {
        padding: 25px 15px; /* Reduced */
    }
    .spektrix-membership-container .add-to-cart-section .btn, .spektrix-membership-container #add-to-cart {
        width: auto !important;
        padding: 4px 8px !important;
        font-size: 0.7em !important;
    }
}
@media (max-width: 480px) {
    .membership-header h2 {
        font-size: 1.8em;
    }
    .membership-card {
        padding: 15px 10px;
    }
    .membership-card .price {
        font-size: 1.6em;
    }
}
/* High contrast mode support */
@media (prefers-contrast: high) {
    .membership-card {
        border-width: 3px;
    }
    .btn-primary {
        border: 3px solid #ffffff;
    }
}
/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .membership-card, .btn, .spinner {
        transition: none;
        animation: none;
    }
}
/* MAXIMUM SPECIFICITY BUTTON OVERRIDE */
.spektrix-membership-container .add-to-cart-section button#add-to-cart.btn.btn-primary, .spektrix-membership-container button#add-to-cart.btn.btn-primary, body .spektrix-membership-container #add-to-cart {
    font-family: 'futura-pt-condensed', sans-serif !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    background: #0072bc !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    border-radius: 0 !important;
    border: none !important;
    line-height: 1.1 !important;
    padding: 0.8em 1.2em !important;
    box-shadow: none !important;
}
.spektrix-membership-container .add-to-cart-section button#add-to-cart.btn.btn-primary:hover:not(:disabled), .spektrix-membership-container button#add-to-cart.btn.btn-primary:hover:not(:disabled), body .spektrix-membership-container #add-to-cart:hover:not(:disabled) {
    font-family: 'futura-pt-condensed', sans-serif !important;
    font-weight: 800 !important;
    color: #000000 !important;
    background: #0072bc !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    border-radius: 0 !important;
    border: none !important;
    line-height: 1.1 !important;
    padding: 0.8em 1.2em !important;
    box-shadow: none !important;
}
/* CORRECTED: Normal Size Add to Cart Button */
.spektrix-membership-container .add-to-cart-section button#add-to-cart.btn.btn-primary, .spektrix-membership-container button#add-to-cart.btn.btn-primary, body .spektrix-membership-container #add-to-cart {
    font-family: 'futura-pt-condensed', sans-serif !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    background: #0072bc !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    border-radius: 0 !important;
    border: none !important;
    line-height: 1.1 !important;
    padding: 0.8em 1.2em !important;
    box-shadow: none !important;
}