/**
 * ThePedShop GLP-1 Bundle Builder Styles
 * 2026 New You - v1.4.0
 */

/* Hide breadcrumbs on bundle builder page */
.woocommerce-breadcrumb,
.breadcrumbs,
.breadcrumb,
.yoast-breadcrumb,
nav.woocommerce-breadcrumb,
.storefront-breadcrumb,
.site-breadcrumb {
    display: none !important;
}

.tps-bundle-builder {
    --tps-primary: #0077cc;
    --tps-primary-light: #0099ff;
    --tps-cyan: #00d4ff;
    --tps-cyan-light: #7eeaff;
    --tps-cyan-glow: rgba(0, 212, 255, 0.2);
    --tps-gold: #f0b429;
    --tps-gold-light: #ffd666;
    --tps-hero-bg: #141824;
    --tps-hero-card: rgba(255,255,255,0.08);
    --tps-bg: #ffffff;
    --tps-bg-alt: #f8fafc;
    --tps-card: #ffffff;
    --tps-border: #e2e8f0;
    --tps-border-hover: #cbd5e1;
    --tps-text: #1a1a2e;
    --tps-text-muted: #64748b;
    --tps-success: #10b981;
    --tps-success-bg: rgba(16, 185, 129, 0.1);
    --tps-info-bg: rgba(0, 212, 255, 0.1);
    --tps-tip-bg: rgba(240, 180, 41, 0.1);
    --tps-gradient: linear-gradient(135deg, #0077cc 0%, #00d4ff 100%);
    --tps-gradient-subtle: linear-gradient(135deg, rgba(0,119,204,0.08) 0%, rgba(0,212,255,0.08) 100%);
    --tps-card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --tps-card-shadow-hover: 0 8px 30px rgba(0, 119, 204, 0.15);
}

.tps-bundle-builder {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--tps-bg);
    color: var(--tps-text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.tps-bundle-builder * { box-sizing: border-box; }

/* Loading */
.tps-bb-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    gap: 20px;
    background: var(--tps-bg-alt);
}

.tps-bb-loader {
    width: 50px;
    height: 50px;
    border: 3px solid var(--tps-border);
    border-top-color: var(--tps-primary);
    border-radius: 50%;
    animation: tps-spin 1s linear infinite;
}

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

.tps-bb-loading p { color: var(--tps-text-muted); font-size: 14px; margin: 0; }

/* Hero - Full Width */
.tps-bb-hero {
    background: var(--tps-hero-bg);
    padding: 60px 20px 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.tps-bb-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.tps-bb-hero::after {
    content: '';
    position: absolute;
    top: -50%; left: 50%;
    transform: translateX(-50%);
    width: 800px; height: 600px;
    background: radial-gradient(ellipse, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.tps-bb-hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
}

.tps-bb-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 212, 255, 0.15);
    border: 1px solid rgba(0, 212, 255, 0.3);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    color: var(--tps-cyan);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.tps-bb-beta {
    background: var(--tps-gold);
    color: #1a1a2e;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    margin-left: 4px;
}

.tps-bb-badge::before {
    content: '';
    width: 8px; height: 8px;
    background: var(--tps-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--tps-cyan);
    animation: tps-pulse-dot 2s infinite;
}

@keyframes tps-pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 10px var(--tps-cyan); }
    50% { opacity: 0.5; box-shadow: 0 0 5px var(--tps-cyan); }
}

.tps-bb-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 900;
    margin: 0 0 15px 0;
    line-height: 1.1;
}

.tps-bb-title .gold { color: var(--tps-gold); }
.tps-bb-title .white { color: white; }

.tps-bb-subtitle-main {
    font-size: 22px;
    font-weight: 600;
    color: var(--tps-cyan);
    margin: 0 0 20px 0;
}

.tps-bb-subtitle {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    margin: 0 0 25px 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.tps-bb-subtitle strong {
    color: white;
    font-weight: 600;
}

.tps-bb-cta-text {
    font-size: 15px;
    color: var(--tps-gold);
    margin: 0 0 35px 0;
    font-weight: 600;
}

.tps-bb-discount-section {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    margin-top: 10px;
}

.tps-bb-discount-intro {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Discount Tier Cards */
.tps-bb-discount-tiers {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.tps-bb-tier {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--tps-hero-card);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 16px 24px;
    border-radius: 12px;
    transition: all 0.3s ease;
    min-width: 140px;
}

.tps-bb-tier:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.2);
}

.tps-bb-tier.active {
    background: rgba(0, 212, 255, 0.15);
    border-color: var(--tps-cyan);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.tps-bb-tier-icon {
    width: 42px; height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.15);
    border-radius: 10px;
    font-size: 20px;
}

.tps-bb-tier[data-tier="4"] .tps-bb-tier-icon { background: rgba(240, 180, 41, 0.15); }

.tps-bb-tier-text { text-align: left; }
.tps-bb-tier-text h4 { font-size: 15px; font-weight: 700; color: var(--tps-cyan); margin: 0 0 2px 0; }
.tps-bb-tier-text p { font-size: 13px; color: rgba(255,255,255,0.5); margin: 0; font-weight: 600; }
.tps-bb-tier-text.gold h4 { color: var(--tps-gold); }
.tps-bb-tier.active .tps-bb-tier-text h4 { color: white; }
.tps-bb-tier.active .tps-bb-tier-text p { color: var(--tps-cyan); }

.tps-bb-discount-note {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    margin: 20px 0 0 0;
    font-style: italic;
}

/* Main Content */
.tps-bb-main {
    padding: 50px 20px 120px;
    background: var(--tps-bg);
}

.tps-bb-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Progress Steps */
.tps-bb-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 40px;
    padding: 25px 15px;
    background: var(--tps-bg-alt);
    border-radius: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tps-bb-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.tps-bb-step-number {
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px solid var(--tps-border);
    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
    color: var(--tps-text-muted);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.tps-bb-step.active .tps-bb-step-number {
    background: var(--tps-gradient);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 119, 204, 0.4);
}

.tps-bb-step.completed .tps-bb-step-number {
    background: var(--tps-success);
    border-color: var(--tps-success);
    color: white;
}

.tps-bb-step-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--tps-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.tps-bb-step.active .tps-bb-step-label { color: var(--tps-primary); }
.tps-bb-step.completed .tps-bb-step-label { color: var(--tps-success); }

.tps-bb-step-line {
    width: 40px;
    height: 3px;
    background: var(--tps-border);
    margin: 0 6px;
    margin-bottom: 28px;
    flex-shrink: 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.tps-bb-step-line.completed { background: var(--tps-success); }

/* Panels */
.tps-bb-content { min-height: 400px; }

.tps-bb-panel {
    display: none;
    animation: tps-fadeIn 0.4s ease;
}

.tps-bb-panel.active { display: block; }

@keyframes tps-fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.tps-bb-panel-header { text-align: center; margin-bottom: 30px; }
.tps-bb-panel-header h3 { font-size: 28px; font-weight: 800; margin: 0 0 8px 0; color: var(--tps-text); }
.tps-bb-panel-header p { font-size: 16px; color: var(--tps-text-muted); margin: 0; }

/* Category Filters */
.tps-bb-category-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.tps-bb-filter {
    padding: 10px 20px;
    background: white;
    border: 2px solid var(--tps-border);
    border-radius: 25px;
    color: var(--tps-text-muted);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tps-bb-filter:hover { border-color: var(--tps-primary); color: var(--tps-primary); }
.tps-bb-filter.active { background: var(--tps-gradient); border-color: transparent; color: white; }

/* Product Cards */
.tps-bb-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.tps-bb-product-card {
    background: var(--tps-card);
    border: 2px solid var(--tps-border);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: var(--tps-card-shadow);
    display: flex;
    flex-direction: column;
}

.tps-bb-product-card:hover {
    border-color: var(--tps-cyan);
    transform: translateY(-5px);
    box-shadow: var(--tps-card-shadow-hover);
}

.tps-bb-product-card.selected {
    border-color: var(--tps-primary);
    border-width: 3px;
    box-shadow: 0 8px 30px rgba(0, 119, 204, 0.25);
}

.tps-bb-product-card.selected::before {
    content: '✓';
    position: absolute;
    top: 15px; right: 15px;
    width: 32px; height: 32px;
    background: var(--tps-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 119, 204, 0.3);
}

.tps-bb-product-card.disabled { opacity: 0.5; pointer-events: none; }
.tps-bb-product-card.out-of-stock { opacity: 0.6; }

.tps-bb-product-card.out-of-stock::after {
    content: 'OUT OF STOCK';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    background: #ef4444;
    color: white;
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    border-radius: 4px;
    z-index: 5;
}

.tps-bb-product-image-wrap {
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    padding: 20px;
    position: relative;
}

.tps-bb-product-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
}

.tps-bb-product-info { 
    padding: 20px; 
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tps-bb-product-name { font-size: 16px; font-weight: 700; margin: 0 0 6px 0; color: var(--tps-text); line-height: 1.3; }
.tps-bb-product-tagline { font-size: 13px; color: var(--tps-cyan); margin: 0 0 12px 0; font-weight: 600; }
.tps-bb-product-price {
    font-size: 24px;
    font-weight: 900;
    background: var(--tps-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

/* Select Button on Cards */
.tps-bb-select-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--tps-bg-alt);
    border: none;
    border-top: 1px solid var(--tps-border);
    color: var(--tps-primary);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: auto;
}

.tps-bb-select-btn:hover { 
    background: var(--tps-gradient-subtle); 
}

.tps-bb-product-card.selected .tps-bb-select-btn {
    background: var(--tps-gradient);
    color: white;
}

/* Variation Selector */
.tps-bb-variation-selector {
    padding: 15px 20px;
    background: var(--tps-bg-alt);
    border-top: 1px solid var(--tps-border);
}

.tps-bb-variation-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--tps-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    display: block;
}

.tps-bb-variation-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tps-bb-variation-btn {
    padding: 10px 16px;
    background: white;
    border: 2px solid var(--tps-border);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--tps-text);
    cursor: pointer;
    transition: all 0.2s ease;
}

.tps-bb-variation-btn:hover {
    border-color: var(--tps-primary);
    color: var(--tps-primary);
}

.tps-bb-variation-btn.active {
    background: var(--tps-gradient);
    border-color: transparent;
    color: white;
}

.tps-bb-variation-price {
    display: block;
    font-size: 11px;
    opacity: 0.8;
    margin-top: 2px;
}

/* Education Box */
.tps-bb-education {
    background: var(--tps-gradient-subtle);
    border-top: 1px solid var(--tps-border);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.tps-bb-product-card.expanded .tps-bb-education { max-height: 500px; padding: 20px; }

.tps-bb-education-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    background: var(--tps-bg-alt);
    border: none;
    border-top: 1px solid var(--tps-border);
    color: var(--tps-primary);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tps-bb-education-toggle:hover { background: var(--tps-gradient-subtle); }

.tps-bb-education-toggle .arrow {
    transition: transform 0.3s ease;
    font-size: 10px;
}

.tps-bb-product-card.expanded .tps-bb-education-toggle .arrow { transform: rotate(180deg); }

.tps-bb-education h5 {
    font-size: 13px;
    font-weight: 800;
    color: var(--tps-primary);
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tps-bb-education-why {
    font-size: 14px;
    color: var(--tps-text);
    margin: 0 0 15px 0;
    line-height: 1.6;
    padding: 14px;
    background: white;
    border-radius: 10px;
    border-left: 4px solid var(--tps-cyan);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.tps-bb-education ul { margin: 0; padding: 0; list-style: none; }
.tps-bb-education li {
    font-size: 13px;
    color: var(--tps-text-muted);
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}

.tps-bb-education li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--tps-success);
    font-weight: 700;
}

.tps-bb-ideal-for {
    font-size: 12px;
    color: var(--tps-text-muted);
    font-style: italic;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--tps-border);
}

/* Education Modal (Mobile) */
.tps-bb-edu-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10001;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.tps-bb-edu-modal.active {
    display: flex;
}

.tps-bb-edu-modal-content {
    background: white;
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideUp 0.3s ease;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tps-bb-edu-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border: none;
    background: var(--tps-bg-alt);
    border-radius: 50%;
    font-size: 24px;
    color: var(--tps-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.tps-bb-edu-modal-close:hover {
    background: #ef4444;
    color: white;
}

.tps-bb-edu-modal-body {
    padding: 25px;
}

.tps-bb-edu-modal-body h4 {
    font-size: 20px;
    font-weight: 800;
    color: var(--tps-text);
    margin: 0 0 5px 0;
}

.tps-bb-edu-modal-body .tagline {
    font-size: 14px;
    color: var(--tps-primary);
    font-weight: 600;
    margin: 0 0 20px 0;
}

.tps-bb-edu-modal-body .why-section {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(0, 119, 204, 0.08) 100%);
    border-left: 4px solid var(--tps-cyan);
    padding: 15px;
    border-radius: 0 12px 12px 0;
    margin-bottom: 20px;
}

.tps-bb-edu-modal-body .why-section h5 {
    font-size: 12px;
    font-weight: 700;
    color: var(--tps-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 8px 0;
}

.tps-bb-edu-modal-body .why-section p {
    font-size: 14px;
    color: var(--tps-text);
    margin: 0;
    line-height: 1.6;
}

.tps-bb-edu-modal-body .benefits-section h5 {
    font-size: 12px;
    font-weight: 700;
    color: var(--tps-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 12px 0;
}

.tps-bb-edu-modal-body .benefits-section ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tps-bb-edu-modal-body .benefits-section li {
    font-size: 14px;
    color: var(--tps-text);
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
}

.tps-bb-edu-modal-body .benefits-section li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--tps-success);
    font-weight: 700;
}

.tps-bb-edu-modal-body .ideal-for {
    font-size: 13px;
    color: var(--tps-text-muted);
    font-style: italic;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--tps-border);
}

/* Message Boxes */
.tps-bb-message-box {
    max-width: 700px;
    margin: 0 auto 25px;
    padding: 20px 25px;
    border-radius: 16px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.tps-bb-message-box.info {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(0, 119, 204, 0.08) 100%);
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.tps-bb-message-box.success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.tps-bb-message-box.tip {
    background: linear-gradient(135deg, rgba(240, 180, 41, 0.1) 0%, rgba(240, 180, 41, 0.05) 100%);
    border: 1px solid rgba(240, 180, 41, 0.3);
}

.tps-bb-message-icon {
    width: 48px; height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 24px;
}

.tps-bb-message-box.info .tps-bb-message-icon { background: rgba(0, 212, 255, 0.2); }
.tps-bb-message-box.success .tps-bb-message-icon { background: rgba(16, 185, 129, 0.2); }
.tps-bb-message-box.tip .tps-bb-message-icon { background: rgba(240, 180, 41, 0.2); }

.tps-bb-message-content h4 { font-size: 16px; font-weight: 700; margin: 0 0 6px 0; color: var(--tps-text); }
.tps-bb-message-content p { font-size: 14px; color: var(--tps-text-muted); margin: 0; line-height: 1.6; }
.tps-bb-message-content strong { color: var(--tps-text); }

/* Bac Water Card */
.tps-bb-bacwater { max-width: 450px; margin: 0 auto 25px; }
.tps-bb-bacwater .tps-bb-product-card { text-align: center; }
.tps-bb-bacwater .tps-bb-product-info { padding: 25px; }
.tps-bb-bacwater .tps-bb-product-name { font-size: 20px; }

.tps-bb-bacwater-select {
    display: block;
    width: 100%;
    padding: 16px;
    background: var(--tps-bg-alt);
    border: none;
    border-top: 1px solid var(--tps-border);
    color: var(--tps-primary);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tps-bb-bacwater-select:hover { background: var(--tps-gradient-subtle); }
.tps-bb-bacwater .tps-bb-product-card.selected .tps-bb-bacwater-select { background: var(--tps-gradient); color: white; }

/* Skip Button */
.tps-bb-skip {
    display: block;
    width: 100%;
    max-width: 350px;
    margin: 30px auto 0;
    padding: 15px;
    background: transparent;
    border: 2px dashed var(--tps-border);
    border-radius: 10px;
    color: var(--tps-text-muted);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tps-bb-skip:hover {
    border-color: var(--tps-primary);
    color: var(--tps-primary);
    background: var(--tps-gradient-subtle);
}

/* Summary */
.tps-bb-summary { max-width: 650px; margin: 0 auto; }

.tps-bb-summary-items {
    background: var(--tps-card);
    border: 2px solid var(--tps-border);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 25px;
}

.tps-bb-summary-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    border-bottom: 1px solid var(--tps-border);
}

.tps-bb-summary-item:last-child { border-bottom: none; }

.tps-bb-summary-item-image {
    width: 60px; height: 60px;
    object-fit: contain;
    background: var(--tps-bg-alt);
    border-radius: 10px;
    padding: 5px;
}

.tps-bb-summary-item-info { flex: 1; }
.tps-bb-summary-item-name { font-size: 14px; font-weight: 700; color: var(--tps-text); margin: 0 0 4px 0; }
.tps-bb-summary-item-type { font-size: 12px; color: var(--tps-text-muted); margin: 0; }

.tps-bb-summary-item-price {
    font-size: 16px;
    font-weight: 800;
    background: var(--tps-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tps-bb-summary-item-remove {
    background: transparent;
    border: none;
    color: #ef4444;
    font-size: 22px;
    cursor: pointer;
    padding: 5px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    line-height: 1;
}

.tps-bb-summary-item-remove:hover { opacity: 1; }

.tps-bb-summary-empty {
    padding: 50px 20px;
    text-align: center;
    color: var(--tps-text-muted);
}

/* Totals */
.tps-bb-summary-totals {
    background: var(--tps-card);
    border: 2px solid var(--tps-border);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
}

.tps-bb-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 16px;
    color: var(--tps-text-muted);
}

.tps-bb-discount-row { color: var(--tps-success); font-weight: 600; }

.tps-bb-grand-total {
    font-size: 22px;
    font-weight: 800;
    color: var(--tps-text);
    border-top: 2px solid var(--tps-border);
    margin-top: 10px;
    padding-top: 20px;
}

.tps-bb-grand-total span:last-child {
    background: var(--tps-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tps-bb-savings {
    text-align: center;
    padding: 15px;
    background: var(--tps-success-bg);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 10px;
    color: var(--tps-success);
    font-weight: 700;
    font-size: 16px;
    margin-top: 15px;
}

/* Checkout Button */
.tps-bb-checkout-actions { display: flex; flex-direction: column; gap: 15px; }

.tps-bb-add-to-cart {
    width: 100%;
    padding: 20px 40px;
    background: var(--tps-gradient);
    border: none;
    border-radius: 14px;
    color: white;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 119, 204, 0.35);
}

.tps-bb-add-to-cart:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 119, 204, 0.45);
}

.tps-bb-add-to-cart:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Navigation */
.tps-bb-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 25px;
    border-top: 2px solid var(--tps-border);
}

.tps-bb-nav-btn {
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tps-bb-prev {
    background: white;
    border: 2px solid var(--tps-border);
    color: var(--tps-text-muted);
}

.tps-bb-prev:hover { border-color: var(--tps-primary); color: var(--tps-primary); }

.tps-bb-next {
    background: var(--tps-gradient);
    border: none;
    color: white;
    margin-left: auto;
    box-shadow: 0 4px 15px rgba(0, 119, 204, 0.3);
}

.tps-bb-next:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 119, 204, 0.4);
}

.tps-bb-next:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* Reset Button */
.tps-bb-reset-wrap {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px dashed var(--tps-border);
}

.tps-bb-reset-btn {
    background: transparent;
    border: none;
    color: var(--tps-text-muted);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.tps-bb-reset-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* Floating Summary */
.tps-bb-floating-summary {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 28px;
    background: white;
    border: 2px solid var(--tps-border);
    border-radius: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.tps-bb-floating-summary.visible { opacity: 1; visibility: visible; }

.tps-bb-floating-items { font-size: 14px; color: var(--tps-text-muted); font-weight: 500; }
.tps-bb-floating-items span { font-weight: 800; color: var(--tps-text); }

.tps-bb-floating-total {
    font-size: 20px;
    font-weight: 900;
    background: var(--tps-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tps-bb-floating-discount {
    padding: 6px 14px;
    background: var(--tps-gold);
    border-radius: 20px;
    color: #1a1a2e;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* Success Overlay */
.tps-bb-success-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(20, 24, 36, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.tps-bb-success-overlay.visible { opacity: 1; visibility: visible; }

.tps-bb-success-content { text-align: center; padding: 40px; }

.tps-bb-success-icon {
    width: 100px; height: 100px;
    background: var(--tps-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: white;
    margin: 0 auto 25px;
    animation: tps-bounceIn 0.5s ease;
}

@keyframes tps-bounceIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.tps-bb-success-text { font-size: 28px; font-weight: 800; color: white; margin: 0 0 10px 0; }
.tps-bb-success-subtext { font-size: 16px; color: rgba(255,255,255,0.7); margin: 0 0 30px 0; }

.tps-bb-success-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

.tps-bb-success-btn {
    padding: 16px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tps-bb-success-btn.primary { background: var(--tps-gradient); color: white; }
.tps-bb-success-btn.secondary { background: transparent; border: 2px solid rgba(255,255,255,0.3); color: white; }
.tps-bb-success-btn:hover { transform: translateY(-2px); }

/* Mobile Responsive */
@media (max-width: 768px) {
    /* Disable inline education expansion on mobile - use modal instead */
    .tps-bb-product-card.expanded .tps-bb-education {
        max-height: 0;
        padding: 0;
    }
    
    .tps-bb-hero {
        padding: 40px 0 35px;
    }

    .tps-bb-hero-content {
        padding: 0 15px;
    }

    .tps-bb-badge { font-size: 10px; padding: 6px 14px; }
    .tps-bb-title { font-size: 28px; }
    .tps-bb-subtitle-main { font-size: 18px; margin-bottom: 15px; }
    .tps-bb-subtitle { font-size: 14px; margin-bottom: 20px; line-height: 1.6; }
    .tps-bb-cta-text { font-size: 13px; margin-bottom: 25px; }
    .tps-bb-discount-section { padding-top: 20px; }
    .tps-bb-discount-intro { font-size: 12px; margin-bottom: 12px; }

    .tps-bb-discount-tiers { gap: 10px; }
    .tps-bb-tier { padding: 12px 16px; gap: 10px; min-width: auto; flex: 1; }
    .tps-bb-tier-icon { width: 36px; height: 36px; font-size: 16px; }
    .tps-bb-tier-text h4 { font-size: 13px; }
    .tps-bb-tier-text p { font-size: 11px; }

    .tps-bb-main { padding: 30px 15px 130px; }
    
    .tps-bb-progress {
        padding: 15px 10px;
        gap: 0;
        justify-content: center;
        margin-bottom: 25px;
        border-radius: 12px;
        overflow-x: auto;
    }
    
    .tps-bb-step-number { width: 36px; height: 36px; font-size: 14px; }
    .tps-bb-step-label { font-size: 8px; max-width: 50px; text-align: center; white-space: normal; line-height: 1.2; }
    .tps-bb-step-line { width: 15px; height: 2px; margin: 0 3px; margin-bottom: 26px; }
    
    /* Smaller images on mobile */
    .tps-bb-products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    
    .tps-bb-product-image-wrap {
        padding: 10px;
    }
    
    .tps-bb-product-image {
        max-height: 100px;
    }
    
    .tps-bb-product-info {
        padding: 12px;
    }
    
    .tps-bb-product-name { font-size: 13px; margin-bottom: 4px; }
    .tps-bb-product-tagline { font-size: 11px; margin-bottom: 8px; }
    .tps-bb-product-price { font-size: 18px; }
    
    .tps-bb-select-btn {
        padding: 10px;
        font-size: 12px;
    }
    
    .tps-bb-variation-selector {
        padding: 10px 12px;
    }
    
    .tps-bb-variation-btn {
        padding: 8px 12px;
        font-size: 11px;
    }
    
    .tps-bb-education-toggle {
        padding: 10px;
        font-size: 11px;
    }
    
    .tps-bb-panel-header h3 { font-size: 22px; }
    .tps-bb-panel-header p { font-size: 14px; }
    .tps-bb-category-filters { gap: 8px; }
    .tps-bb-filter { padding: 8px 14px; font-size: 11px; }

    .tps-bb-message-box { flex-direction: column; text-align: center; padding: 20px; }
    .tps-bb-message-icon { margin: 0 auto; }
    
    .tps-bb-floating-summary {
        left: 15px; right: 15px;
        transform: none;
        border-radius: 16px;
        justify-content: space-between;
        padding: 14px 18px;
        gap: 12px;
    }
    
    .tps-bb-floating-items { font-size: 12px; }
    .tps-bb-floating-total { font-size: 18px; }
    .tps-bb-floating-discount { font-size: 10px; padding: 5px 10px; }
    
    .tps-bb-navigation { flex-direction: column; gap: 12px; }
    .tps-bb-nav-btn { width: 100%; text-align: center; padding: 18px; }
    .tps-bb-next { margin-left: 0; order: -1; }
    .tps-bb-skip { max-width: 100%; }
    .tps-bb-summary-item { flex-wrap: wrap; }
    
    /* Bac water card on mobile */
    .tps-bb-bacwater .tps-bb-product-image-wrap {
        padding: 15px;
    }
    
    .tps-bb-bacwater .tps-bb-product-image {
        max-height: 120px;
    }
}

@media (max-width: 480px) {
    .tps-bb-title { font-size: 24px; }
    .tps-bb-subtitle-main { font-size: 16px; }
    .tps-bb-subtitle { font-size: 13px; }
    .tps-bb-cta-text { font-size: 12px; }
    .tps-bb-tier { flex-direction: column; text-align: center; padding: 12px; }
    .tps-bb-tier-text { text-align: center; }
    .tps-bb-step-number { width: 32px; height: 32px; font-size: 12px; }
    .tps-bb-step-label { font-size: 7px; max-width: 42px; }
    .tps-bb-step-line { width: 10px; margin-bottom: 24px; }
    .tps-bb-panel-header h3 { font-size: 18px; }
    .tps-bb-filter { padding: 6px 10px; font-size: 10px; }
    .tps-bb-floating-summary { flex-wrap: wrap; justify-content: center; gap: 8px; padding: 12px 15px; }
    .tps-bb-success-buttons { flex-direction: column; }
    
    /* Even smaller on tiny screens */
    .tps-bb-product-image {
        max-height: 80px;
    }
    
    .tps-bb-product-name { font-size: 12px; }
    .tps-bb-product-price { font-size: 16px; }
}
