:root {
    /* Primary Colors */
    --funnel-primary: #0d6efd;
    --funnel-primary-hover: #0b5ed7;
    --funnel-primary-light: rgba(13, 110, 253, 0.1);
    --funnel-secondary: #6c757d;
    --funnel-success: #198754;
    --funnel-success-light: rgba(25, 135, 84, 0.1);
    --funnel-danger: #dc3545;
    --funnel-danger-light: rgba(220, 53, 69, 0.1);
    --funnel-warning: #ffc107;
    --funnel-warning-light: rgba(255, 193, 7, 0.15);
    --funnel-info: #0dcaf0;

    /* Neutral Colors */
    --funnel-white: #ffffff;
    --funnel-light: #f8f9fa;
    --funnel-gray-100: #f1f3f5;
    --funnel-gray-200: #e9ecef;
    --funnel-gray-300: #dee2e6;
    --funnel-gray-400: #ced4da;
    --funnel-gray-500: #adb5bd;
    --funnel-gray-600: #6c757d;
    --funnel-gray-700: #495057;
    --funnel-gray-800: #343a40;
    --funnel-gray-900: #212529;
    --funnel-dark: #1a1a2e;

    /* Template-specific CSS Variables (defaults) */
    /* These can be overridden by inline styles on elements */
    --bg: #ffffff;
    --ink: #0f1115;
    --muted: #6b7280;
    --line: #e5e7eb;
    --panel: #f7f7f8;
    --accent: #2563eb;
    --radius: 16px;
    --shadow: 0 16px 40px rgba(15, 17, 21, .08);
    --container: 1180px;

    /* Typography */
    --funnel-font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --funnel-font-size-xs: 0.75rem;
    --funnel-font-size-sm: 0.875rem;
    --funnel-font-size-base: 1rem;
    --funnel-font-size-lg: 1.125rem;
    --funnel-font-size-xl: 1.25rem;
    --funnel-font-size-2xl: 1.5rem;
    --funnel-font-size-3xl: 1.875rem;
    --funnel-font-size-4xl: 2.25rem;
    --funnel-font-size-5xl: 3rem;
    --funnel-font-weight-normal: 400;
    --funnel-font-weight-medium: 500;
    --funnel-font-weight-semibold: 600;
    --funnel-font-weight-bold: 700;
    --funnel-line-height-tight: 1.25;
    --funnel-line-height-normal: 1.5;
    --funnel-line-height-relaxed: 1.75;

    /* Spacing */
    --funnel-spacing-xs: 0.25rem;
    --funnel-spacing-sm: 0.5rem;
    --funnel-spacing-md: 1rem;
    --funnel-spacing-lg: 1.5rem;
    --funnel-spacing-xl: 2rem;
    --funnel-spacing-2xl: 3rem;
    --funnel-spacing-3xl: 4rem;
    --funnel-spacing-4xl: 6rem;

    /* Border Radius */
    --funnel-radius-sm: 0.25rem;
    --funnel-radius-md: 0.5rem;
    --funnel-radius-lg: 0.75rem;
    --funnel-radius-xl: 1rem;
    --funnel-radius-2xl: 1.5rem;
    --funnel-radius-full: 9999px;

    /* Shadows */
    --funnel-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --funnel-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --funnel-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --funnel-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --funnel-shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Transitions */
    --funnel-transition-fast: 150ms ease;
    --funnel-transition-normal: 300ms ease;
    --funnel-transition-slow: 500ms ease;

    /* Z-Index */
    --funnel-z-dropdown: 100;
    --funnel-z-sticky: 200;
    --funnel-z-fixed: 300;
    --funnel-z-modal-backdrop: 400;
    --funnel-z-modal: 500;
    --funnel-z-tooltip: 600;
}

/* Base Funnel Styles */
.funnel-page {
    font-family: var(--funnel-font-family);
    font-size: var(--funnel-font-size-base);
    line-height: var(--funnel-line-height-normal);
    color: var(--funnel-gray-800);
    background-color: var(--funnel-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.funnel-page *,
.funnel-page *::before,
.funnel-page *::after {
    box-sizing: border-box;
}

.funnel-section {
    padding: var(--funnel-spacing-3xl) 0;
}

.funnel-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--funnel-spacing-md);
}

.funnel-container-sm {
    max-width: 640px;
}

.funnel-container-md {
    max-width: 768px;
}

.funnel-container-lg {
    max-width: 1024px;
}

/* Typography Base */
.funnel-heading-1 {
    font-size: var(--funnel-font-size-4xl);
    font-weight: var(--funnel-font-weight-bold);
    line-height: var(--funnel-line-height-tight);
    margin-bottom: var(--funnel-spacing-md);
}

.funnel-heading-2 {
    font-size: var(--funnel-font-size-3xl);
    font-weight: var(--funnel-font-weight-bold);
    line-height: var(--funnel-line-height-tight);
    margin-bottom: var(--funnel-spacing-md);
}

.funnel-heading-3 {
    font-size: var(--funnel-font-size-2xl);
    font-weight: var(--funnel-font-weight-semibold);
    line-height: var(--funnel-line-height-tight);
    margin-bottom: var(--funnel-spacing-sm);
}

.funnel-text-lead {
    font-size: var(--funnel-font-size-xl);
    color: var(--funnel-gray-600);
    line-height: var(--funnel-line-height-relaxed);
}

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

/* Button Base */
.funnel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--funnel-spacing-sm);
    padding: var(--funnel-spacing-md) var(--funnel-spacing-xl);
    font-family: var(--funnel-font-family);
    font-size: var(--funnel-font-size-base);
    font-weight: var(--funnel-font-weight-semibold);
    line-height: 1;
    text-decoration: none;
    border: none;
    border-radius: var(--funnel-radius-md);
    cursor: pointer;
    transition: all var(--funnel-transition-normal);
}

.funnel-btn:focus {
    outline: 2px solid var(--funnel-primary);
    outline-offset: 2px;
}

.funnel-btn-primary {
    background-color: var(--funnel-primary);
    color: var(--funnel-white);
}

.funnel-btn-primary:hover {
    background-color: var(--funnel-primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--funnel-shadow-lg);
}

.funnel-btn-success {
    background-color: var(--funnel-success);
    color: var(--funnel-white);
}

.funnel-btn-success:hover {
    background-color: #157347;
    transform: translateY(-2px);
    box-shadow: var(--funnel-shadow-lg);
}

.funnel-btn-lg {
    padding: var(--funnel-spacing-lg) var(--funnel-spacing-2xl);
    font-size: var(--funnel-font-size-lg);
}

.funnel-btn-xl {
    padding: var(--funnel-spacing-xl) var(--funnel-spacing-3xl);
    font-size: var(--funnel-font-size-xl);
}

.funnel-btn-block {
    width: 100%;
}

/* Card Base */
.funnel-card {
    background: var(--funnel-white);
    border-radius: var(--funnel-radius-lg);
    box-shadow: var(--funnel-shadow-md);
    overflow: hidden;
}

.funnel-card-body {
    padding: var(--funnel-spacing-xl);
}

/* Form Base */
.funnel-form-group {
    margin-bottom: var(--funnel-spacing-lg);
}

.funnel-form-label {
    display: block;
    margin-bottom: var(--funnel-spacing-sm);
    font-weight: var(--funnel-font-weight-medium);
    color: var(--funnel-gray-700);
}

.funnel-form-control {
    width: 100%;
    padding: var(--funnel-spacing-md);
    font-family: var(--funnel-font-family);
    font-size: var(--funnel-font-size-base);
    border: 1px solid var(--funnel-gray-300);
    border-radius: var(--funnel-radius-md);
    transition: border-color var(--funnel-transition-fast), box-shadow var(--funnel-transition-fast);
}

.funnel-form-control:focus {
    outline: none;
    border-color: var(--funnel-primary);
    box-shadow: 0 0 0 3px var(--funnel-primary-light);
}

.funnel-form-control.is-invalid {
    border-color: var(--funnel-danger);
}

.funnel-form-control.is-invalid:focus {
    box-shadow: 0 0 0 3px var(--funnel-danger-light);
}

.funnel-form-control.is-valid {
    border-color: var(--funnel-success);
}

.funnel-form-control.is-valid:focus {
    box-shadow: 0 0 0 3px var(--funnel-success-light);
}

.funnel-invalid-feedback {
    display: none;
    margin-top: var(--funnel-spacing-xs);
    font-size: var(--funnel-font-size-sm);
    color: var(--funnel-danger);
}

.funnel-form-control.is-invalid~.funnel-invalid-feedback {
    display: block;
}


/* ===================================
   2. Classic Sales Template Styles
   =================================== */

/* Hero Section - Full Width */
.funnel-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.funnel-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.9) 0%, rgba(102, 16, 242, 0.8) 100%);
    z-index: 1;
}

.funnel-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--funnel-white);
    padding: var(--funnel-spacing-3xl) var(--funnel-spacing-md);
    max-width: 900px;
    margin: 0 auto;
}

.funnel-hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: var(--funnel-font-weight-bold);
    line-height: var(--funnel-line-height-tight);
    margin-bottom: var(--funnel-spacing-lg);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.funnel-hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    opacity: 0.95;
    margin-bottom: var(--funnel-spacing-2xl);
    line-height: var(--funnel-line-height-relaxed);
}

.funnel-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--funnel-spacing-sm);
    padding: var(--funnel-spacing-lg) var(--funnel-spacing-3xl);
    font-size: var(--funnel-font-size-xl);
    font-weight: var(--funnel-font-weight-bold);
    background: var(--funnel-white);
    color: var(--funnel-primary);
    border-radius: var(--funnel-radius-full);
    text-decoration: none;
    transition: all var(--funnel-transition-normal);
    box-shadow: var(--funnel-shadow-xl);
}

.funnel-hero-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--funnel-shadow-2xl);
}

.funnel-hero-cta i {
    transition: transform var(--funnel-transition-normal);
}

.funnel-hero-cta:hover i {
    transform: translateX(4px);
}

/* Features Section - 3 Column Grid */
.funnel-features {
    padding: var(--funnel-spacing-4xl) 0;
    background: var(--funnel-light);
}

.funnel-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--funnel-spacing-2xl);
}

.funnel-feature-card {
    background: var(--funnel-white);
    padding: var(--funnel-spacing-2xl);
    border-radius: var(--funnel-radius-xl);
    text-align: center;
    transition: all var(--funnel-transition-normal);
    box-shadow: var(--funnel-shadow-sm);
}

.funnel-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--funnel-shadow-xl);
}

.funnel-feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--funnel-spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--funnel-primary-light);
    border-radius: var(--funnel-radius-full);
    color: var(--funnel-primary);
    font-size: var(--funnel-font-size-3xl);
    transition: all var(--funnel-transition-normal);
}

.funnel-feature-card:hover .funnel-feature-icon {
    background: var(--funnel-primary);
    color: var(--funnel-white);
    transform: scale(1.1);
}

.funnel-feature-title {
    font-size: var(--funnel-font-size-xl);
    font-weight: var(--funnel-font-weight-semibold);
    margin-bottom: var(--funnel-spacing-sm);
    color: var(--funnel-gray-800);
}

.funnel-feature-description {
    color: var(--funnel-gray-600);
    line-height: var(--funnel-line-height-relaxed);
}

/* Product Detail Section */
.funnel-product-detail {
    padding: var(--funnel-spacing-4xl) 0;
}

.funnel-product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--funnel-spacing-3xl);
    align-items: center;
}

.funnel-product-gallery {
    position: relative;
}

.funnel-product-image {
    width: 100%;
    border-radius: var(--funnel-radius-xl);
    box-shadow: var(--funnel-shadow-lg);
}

.funnel-product-badge {
    position: absolute;
    top: var(--funnel-spacing-md);
    left: var(--funnel-spacing-md);
    padding: var(--funnel-spacing-sm) var(--funnel-spacing-md);
    background: var(--funnel-danger);
    color: var(--funnel-white);
    font-size: var(--funnel-font-size-sm);
    font-weight: var(--funnel-font-weight-bold);
    border-radius: var(--funnel-radius-md);
}

.funnel-product-info {
    padding: var(--funnel-spacing-xl) 0;
}

.funnel-product-title {
    font-size: var(--funnel-font-size-3xl);
    font-weight: var(--funnel-font-weight-bold);
    margin-bottom: var(--funnel-spacing-md);
    color: var(--funnel-gray-900);
}

.funnel-product-description {
    font-size: var(--funnel-font-size-lg);
    color: var(--funnel-gray-600);
    line-height: var(--funnel-line-height-relaxed);
    margin-bottom: var(--funnel-spacing-xl);
}

.funnel-product-price {
    display: flex;
    align-items: baseline;
    gap: var(--funnel-spacing-md);
    margin-bottom: var(--funnel-spacing-xl);
}

.funnel-price-original {
    font-size: var(--funnel-font-size-xl);
    color: var(--funnel-gray-500);
    text-decoration: line-through;
}

.funnel-price-sale {
    font-size: var(--funnel-font-size-4xl);
    font-weight: var(--funnel-font-weight-bold);
    color: var(--funnel-success);
}

.funnel-price-discount {
    padding: var(--funnel-spacing-xs) var(--funnel-spacing-sm);
    background: var(--funnel-danger-light);
    color: var(--funnel-danger);
    font-size: var(--funnel-font-size-sm);
    font-weight: var(--funnel-font-weight-bold);
    border-radius: var(--funnel-radius-sm);
}

/* Variant Selector */
.funnel-variant-selector {
    margin-bottom: var(--funnel-spacing-xl);
}

.funnel-variant-label {
    display: block;
    font-weight: var(--funnel-font-weight-medium);
    margin-bottom: var(--funnel-spacing-sm);
    color: var(--funnel-gray-700);
}

.funnel-variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: var(--funnel-spacing-sm);
}

.funnel-variant-option {
    padding: var(--funnel-spacing-sm) var(--funnel-spacing-lg);
    border: 2px solid var(--funnel-gray-300);
    border-radius: var(--funnel-radius-md);
    background: var(--funnel-white);
    cursor: pointer;
    transition: all var(--funnel-transition-fast);
    font-weight: var(--funnel-font-weight-medium);
}

.funnel-variant-option:hover {
    border-color: var(--funnel-primary);
}

.funnel-variant-option.active {
    border-color: var(--funnel-primary);
    background: var(--funnel-primary-light);
    color: var(--funnel-primary);
}

.funnel-variant-option input {
    display: none;
}

/* Testimonials Section */
.funnel-testimonials {
    padding: var(--funnel-spacing-4xl) 0;
    background: var(--funnel-gray-100);
}

.funnel-testimonials-header {
    text-align: center;
    margin-bottom: var(--funnel-spacing-3xl);
}

.funnel-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--funnel-spacing-xl);
}

.funnel-testimonial-card {
    background: var(--funnel-white);
    padding: var(--funnel-spacing-2xl);
    border-radius: var(--funnel-radius-xl);
    box-shadow: var(--funnel-shadow-md);
    transition: all var(--funnel-transition-normal);
}

.funnel-testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--funnel-shadow-lg);
}

.funnel-testimonial-stars {
    color: var(--funnel-warning);
    font-size: var(--funnel-font-size-lg);
    margin-bottom: var(--funnel-spacing-md);
}

.funnel-testimonial-text {
    font-size: var(--funnel-font-size-base);
    color: var(--funnel-gray-700);
    line-height: var(--funnel-line-height-relaxed);
    margin-bottom: var(--funnel-spacing-lg);
    font-style: italic;
}

.funnel-testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--funnel-spacing-md);
}

.funnel-testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: var(--funnel-radius-full);
    object-fit: cover;
}

.funnel-testimonial-name {
    font-weight: var(--funnel-font-weight-semibold);
    color: var(--funnel-gray-800);
}

.funnel-testimonial-role {
    font-size: var(--funnel-font-size-sm);
    color: var(--funnel-gray-500);
}

/* CTA Section */
.funnel-cta-section {
    padding: var(--funnel-spacing-4xl) 0;
    background: linear-gradient(135deg, var(--funnel-primary) 0%, #6610f2 100%);
    text-align: center;
    color: var(--funnel-white);
}

.funnel-cta-title {
    font-size: var(--funnel-font-size-3xl);
    font-weight: var(--funnel-font-weight-bold);
    margin-bottom: var(--funnel-spacing-md);
}

.funnel-cta-subtitle {
    font-size: var(--funnel-font-size-xl);
    opacity: 0.9;
    margin-bottom: var(--funnel-spacing-2xl);
}

.funnel-cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--funnel-spacing-sm);
    padding: var(--funnel-spacing-lg) var(--funnel-spacing-3xl);
    font-size: var(--funnel-font-size-xl);
    font-weight: var(--funnel-font-weight-bold);
    background: var(--funnel-white);
    color: var(--funnel-primary);
    border: none;
    border-radius: var(--funnel-radius-full);
    cursor: pointer;
    transition: all var(--funnel-transition-normal);
    box-shadow: var(--funnel-shadow-xl);
    text-decoration: none;
}

.funnel-cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--funnel-shadow-2xl);
}

/* CTA Button Animation */
@keyframes funnel-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }

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

.funnel-cta-button.pulse {
    animation: funnel-pulse 2s infinite;
}

/* Trust Badges */
.funnel-trust-badges {
    display: flex;
    justify-content: center;
    gap: var(--funnel-spacing-xl);
    margin-top: var(--funnel-spacing-2xl);
    flex-wrap: wrap;
}

.funnel-trust-badge {
    display: flex;
    align-items: center;
    gap: var(--funnel-spacing-sm);
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--funnel-font-size-sm);
}

.funnel-trust-badge i {
    font-size: var(--funnel-font-size-lg);
}


/* ===================================
   3. Modern Minimal Template Styles
   =================================== */

/* Split Hero Layout */
.funnel-hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 90vh;
    background: var(--funnel-white);
}

.funnel-hero-split-image {
    position: relative;
    overflow: hidden;
}

.funnel-hero-split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.funnel-hero-split-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--funnel-spacing-4xl);
    background: var(--funnel-white);
}

.funnel-minimal-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: var(--funnel-font-weight-bold);
    line-height: var(--funnel-line-height-tight);
    color: var(--funnel-gray-900);
    margin-bottom: var(--funnel-spacing-lg);
    letter-spacing: -0.02em;
}

.funnel-minimal-subtitle {
    font-size: var(--funnel-font-size-lg);
    color: var(--funnel-gray-600);
    line-height: var(--funnel-line-height-relaxed);
    margin-bottom: var(--funnel-spacing-2xl);
}

.funnel-minimal-price {
    font-size: var(--funnel-font-size-3xl);
    font-weight: var(--funnel-font-weight-bold);
    color: var(--funnel-gray-900);
    margin-bottom: var(--funnel-spacing-xl);
}

.funnel-minimal-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--funnel-spacing-sm);
    padding: var(--funnel-spacing-lg) var(--funnel-spacing-2xl);
    font-size: var(--funnel-font-size-base);
    font-weight: var(--funnel-font-weight-semibold);
    background: var(--funnel-gray-900);
    color: var(--funnel-white);
    border: none;
    border-radius: var(--funnel-radius-sm);
    cursor: pointer;
    transition: all var(--funnel-transition-normal);
    text-decoration: none;
}

.funnel-minimal-cta:hover {
    background: var(--funnel-gray-800);
    transform: translateY(-2px);
}

/* Benefits List - Clean Typography */
.funnel-benefits {
    padding: var(--funnel-spacing-4xl) 0;
    background: var(--funnel-white);
}

.funnel-benefits-list {
    max-width: 700px;
    margin: 0 auto;
}

.funnel-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: var(--funnel-spacing-lg);
    padding: var(--funnel-spacing-xl) 0;
    border-bottom: 1px solid var(--funnel-gray-200);
}

.funnel-benefit-item:last-child {
    border-bottom: none;
}

.funnel-benefit-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--funnel-success);
    font-size: var(--funnel-font-size-lg);
}

.funnel-benefit-content {
    flex: 1;
}

.funnel-benefit-title {
    font-size: var(--funnel-font-size-lg);
    font-weight: var(--funnel-font-weight-semibold);
    color: var(--funnel-gray-900);
    margin-bottom: var(--funnel-spacing-xs);
}

.funnel-benefit-description {
    font-size: var(--funnel-font-size-base);
    color: var(--funnel-gray-600);
    line-height: var(--funnel-line-height-relaxed);
}

/* Single Product Showcase */
.funnel-showcase {
    padding: var(--funnel-spacing-4xl) 0;
    background: var(--funnel-gray-100);
}

.funnel-showcase-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--funnel-spacing-3xl);
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.funnel-showcase-image {
    position: relative;
}

.funnel-showcase-image img {
    width: 100%;
    border-radius: var(--funnel-radius-lg);
    box-shadow: var(--funnel-shadow-lg);
}

.funnel-showcase-info {
    padding: var(--funnel-spacing-xl);
}

.funnel-showcase-title {
    font-size: var(--funnel-font-size-2xl);
    font-weight: var(--funnel-font-weight-bold);
    color: var(--funnel-gray-900);
    margin-bottom: var(--funnel-spacing-md);
}

.funnel-showcase-description {
    color: var(--funnel-gray-600);
    line-height: var(--funnel-line-height-relaxed);
    margin-bottom: var(--funnel-spacing-xl);
}

.funnel-showcase-price {
    display: flex;
    align-items: baseline;
    gap: var(--funnel-spacing-md);
    margin-bottom: var(--funnel-spacing-xl);
}

/* Floating CTA Bar */
.funnel-floating-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--funnel-white);
    border-top: 1px solid var(--funnel-gray-200);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    padding: var(--funnel-spacing-md) 0;
    z-index: var(--funnel-z-fixed);
    transform: translateY(100%);
    transition: transform var(--funnel-transition-normal);
}

.funnel-floating-cta.visible {
    transform: translateY(0);
}

.funnel-floating-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--funnel-spacing-md);
}

.funnel-floating-cta-info {
    display: flex;
    align-items: center;
    gap: var(--funnel-spacing-md);
}

.funnel-floating-cta-image {
    width: 50px;
    height: 50px;
    border-radius: var(--funnel-radius-md);
    object-fit: cover;
}

.funnel-floating-cta-name {
    font-weight: var(--funnel-font-weight-semibold);
    color: var(--funnel-gray-900);
}

.funnel-floating-cta-price {
    font-size: var(--funnel-font-size-lg);
    font-weight: var(--funnel-font-weight-bold);
    color: var(--funnel-primary);
}

.funnel-floating-cta-button {
    padding: var(--funnel-spacing-md) var(--funnel-spacing-2xl);
    font-size: var(--funnel-font-size-base);
    font-weight: var(--funnel-font-weight-semibold);
    background: var(--funnel-primary);
    color: var(--funnel-white);
    border: none;
    border-radius: var(--funnel-radius-md);
    cursor: pointer;
    transition: all var(--funnel-transition-fast);
}

.funnel-floating-cta-button:hover {
    background: var(--funnel-primary-hover);
}

/* Body padding when floating CTA is visible */
body.has-floating-cta {
    padding-bottom: 80px;
}


/* ===================================
   4. High-Converting Template Styles
   =================================== */

/* Urgency Banner with Pulsing Animation */
.funnel-urgency-banner {
    background: linear-gradient(90deg, var(--funnel-danger) 0%, #c82333 100%);
    color: var(--funnel-white);
    padding: var(--funnel-spacing-md) 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: var(--funnel-z-sticky);
}

.funnel-urgency-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--funnel-spacing-lg);
    flex-wrap: wrap;
}

.funnel-urgency-text {
    font-weight: var(--funnel-font-weight-semibold);
    font-size: var(--funnel-font-size-base);
}

.funnel-urgency-icon {
    animation: funnel-urgency-pulse 1.5s ease-in-out infinite;
}

@keyframes funnel-urgency-pulse {

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

    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

/* Countdown Timer */
.funnel-countdown {
    display: inline-flex;
    align-items: center;
    gap: var(--funnel-spacing-sm);
    background: rgba(0, 0, 0, 0.2);
    padding: var(--funnel-spacing-sm) var(--funnel-spacing-md);
    border-radius: var(--funnel-radius-md);
}

.funnel-countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 45px;
}

.funnel-countdown-value {
    font-size: var(--funnel-font-size-xl);
    font-weight: var(--funnel-font-weight-bold);
    line-height: 1;
}

.funnel-countdown-label {
    font-size: var(--funnel-font-size-xs);
    text-transform: uppercase;
    opacity: 0.8;
}

.funnel-countdown-separator {
    font-size: var(--funnel-font-size-xl);
    font-weight: var(--funnel-font-weight-bold);
    opacity: 0.6;
}

/* Standalone Countdown Timer (larger) */
.funnel-countdown-large {
    display: flex;
    justify-content: center;
    gap: var(--funnel-spacing-md);
    margin: var(--funnel-spacing-xl) 0;
}

.funnel-countdown-large .funnel-countdown-item {
    background: var(--funnel-gray-900);
    color: var(--funnel-white);
    padding: var(--funnel-spacing-lg);
    border-radius: var(--funnel-radius-lg);
    min-width: 80px;
}

.funnel-countdown-large .funnel-countdown-value {
    font-size: var(--funnel-font-size-4xl);
}

.funnel-countdown-large .funnel-countdown-label {
    font-size: var(--funnel-font-size-sm);
    margin-top: var(--funnel-spacing-xs);
}

/* Video Hero Section */
.funnel-video-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--funnel-dark);
    overflow: hidden;
}

.funnel-video-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: var(--funnel-spacing-2xl);
}

.funnel-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--funnel-radius-xl);
    box-shadow: var(--funnel-shadow-2xl);
}

.funnel-video-wrapper iframe,
.funnel-video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.funnel-video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--funnel-gray-800) 0%, var(--funnel-gray-900) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--funnel-white);
    cursor: pointer;
    transition: all var(--funnel-transition-normal);
}

.funnel-video-placeholder:hover {
    background: linear-gradient(135deg, var(--funnel-gray-700) 0%, var(--funnel-gray-800) 100%);
}

.funnel-video-play-btn {
    width: 80px;
    height: 80px;
    background: var(--funnel-primary);
    border-radius: var(--funnel-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--funnel-font-size-2xl);
    margin-bottom: var(--funnel-spacing-md);
    transition: all var(--funnel-transition-normal);
}

.funnel-video-placeholder:hover .funnel-video-play-btn {
    transform: scale(1.1);
    box-shadow: 0 0 0 15px rgba(13, 110, 253, 0.3);
}

/* Social Proof Section */
.funnel-social-proof {
    padding: var(--funnel-spacing-2xl) 0;
    background: var(--funnel-gray-100);
}

.funnel-social-proof-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--funnel-spacing-3xl);
    flex-wrap: wrap;
}

.funnel-social-proof-item {
    display: flex;
    align-items: center;
    gap: var(--funnel-spacing-sm);
}

.funnel-social-proof-icon {
    width: 40px;
    height: 40px;
    background: var(--funnel-success-light);
    color: var(--funnel-success);
    border-radius: var(--funnel-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--funnel-font-size-lg);
}

.funnel-social-proof-text {
    font-weight: var(--funnel-font-weight-semibold);
    color: var(--funnel-gray-800);
}

.funnel-social-proof-number {
    font-size: var(--funnel-font-size-2xl);
    font-weight: var(--funnel-font-weight-bold);
    color: var(--funnel-primary);
}

/* Social Proof Badges */
.funnel-proof-badges {
    display: flex;
    justify-content: center;
    gap: var(--funnel-spacing-md);
    flex-wrap: wrap;
    margin: var(--funnel-spacing-xl) 0;
}

.funnel-proof-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--funnel-spacing-sm);
    padding: var(--funnel-spacing-sm) var(--funnel-spacing-md);
    background: var(--funnel-white);
    border: 1px solid var(--funnel-gray-200);
    border-radius: var(--funnel-radius-full);
    font-size: var(--funnel-font-size-sm);
    font-weight: var(--funnel-font-weight-medium);
    color: var(--funnel-gray-700);
}

.funnel-proof-badge i {
    color: var(--funnel-success);
}

/* Product Comparison Table */
.funnel-comparison {
    padding: var(--funnel-spacing-4xl) 0;
}

.funnel-comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--funnel-white);
    border-radius: var(--funnel-radius-xl);
    overflow: hidden;
    box-shadow: var(--funnel-shadow-lg);
}

.funnel-comparison-table th,
.funnel-comparison-table td {
    padding: var(--funnel-spacing-lg);
    text-align: center;
    border-bottom: 1px solid var(--funnel-gray-200);
}

.funnel-comparison-table th {
    background: var(--funnel-gray-100);
    font-weight: var(--funnel-font-weight-semibold);
    color: var(--funnel-gray-700);
}

.funnel-comparison-table td:first-child {
    text-align: left;
    font-weight: var(--funnel-font-weight-medium);
}

.funnel-comparison-highlight {
    background: var(--funnel-primary-light);
}

.funnel-comparison-highlight th {
    background: var(--funnel-primary);
    color: var(--funnel-white);
}

.funnel-comparison-check {
    color: var(--funnel-success);
    font-size: var(--funnel-font-size-xl);
}

.funnel-comparison-cross {
    color: var(--funnel-gray-400);
    font-size: var(--funnel-font-size-xl);
}

/* FAQ Accordion */
.funnel-faq {
    padding: var(--funnel-spacing-4xl) 0;
    background: var(--funnel-light);
}

.funnel-faq-header {
    text-align: center;
    margin-bottom: var(--funnel-spacing-3xl);
}

.funnel-faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.funnel-faq-item {
    background: var(--funnel-white);
    border-radius: var(--funnel-radius-lg);
    margin-bottom: var(--funnel-spacing-md);
    overflow: hidden;
    box-shadow: var(--funnel-shadow-sm);
}

.funnel-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--funnel-spacing-lg) var(--funnel-spacing-xl);
    background: var(--funnel-white);
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: var(--funnel-font-size-base);
    font-weight: var(--funnel-font-weight-semibold);
    color: var(--funnel-gray-800);
    transition: all var(--funnel-transition-fast);
}

.funnel-faq-question:hover {
    background: var(--funnel-gray-100);
}

.funnel-faq-icon {
    font-size: var(--funnel-font-size-lg);
    color: var(--funnel-primary);
    transition: transform var(--funnel-transition-normal);
}

.funnel-faq-item.active .funnel-faq-icon {
    transform: rotate(180deg);
}

.funnel-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--funnel-transition-normal) ease-out;
}

.funnel-faq-item.active .funnel-faq-answer {
    max-height: 500px;
}

.funnel-faq-answer-content {
    padding: 0 var(--funnel-spacing-xl) var(--funnel-spacing-xl);
    color: var(--funnel-gray-600);
    line-height: var(--funnel-line-height-relaxed);
}

/* Multi-CTA Section */
.funnel-multi-cta {
    padding: var(--funnel-spacing-3xl) 0;
    background: var(--funnel-white);
    text-align: center;
}

.funnel-multi-cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--funnel-spacing-md);
}

.funnel-multi-cta-primary {
    padding: var(--funnel-spacing-lg) var(--funnel-spacing-3xl);
    font-size: var(--funnel-font-size-xl);
    font-weight: var(--funnel-font-weight-bold);
    background: var(--funnel-success);
    color: var(--funnel-white);
    border: none;
    border-radius: var(--funnel-radius-lg);
    cursor: pointer;
    transition: all var(--funnel-transition-normal);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--funnel-spacing-sm);
}

.funnel-multi-cta-primary:hover {
    background: #157347;
    transform: translateY(-3px);
    box-shadow: var(--funnel-shadow-xl);
}

.funnel-multi-cta-secondary {
    font-size: var(--funnel-font-size-sm);
    color: var(--funnel-gray-500);
}

.funnel-multi-cta-urgency {
    display: inline-flex;
    align-items: center;
    gap: var(--funnel-spacing-sm);
    margin-top: var(--funnel-spacing-md);
    padding: var(--funnel-spacing-sm) var(--funnel-spacing-md);
    background: var(--funnel-danger-light);
    color: var(--funnel-danger);
    border-radius: var(--funnel-radius-md);
    font-size: var(--funnel-font-size-sm);
    font-weight: var(--funnel-font-weight-medium);
}


/* ===================================
   5. Standard Checkout Template Styles
   =================================== */

/* Checkout Container */
.funnel-checkout {
    min-height: 100vh;
    background: var(--funnel-gray-100);
    padding: var(--funnel-spacing-2xl) 0;
}

.funnel-checkout-header {
    background: var(--funnel-white);
    padding: var(--funnel-spacing-md) 0;
    border-bottom: 1px solid var(--funnel-gray-200);
    margin-bottom: var(--funnel-spacing-2xl);
}

.funnel-checkout-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--funnel-spacing-md);
}

.funnel-checkout-logo {
    height: 40px;
}

.funnel-checkout-secure {
    display: flex;
    align-items: center;
    gap: var(--funnel-spacing-sm);
    color: var(--funnel-success);
    font-size: var(--funnel-font-size-sm);
    font-weight: var(--funnel-font-weight-medium);
}

/* Progress Indicator */
.funnel-checkout-progress {
    display: flex;
    justify-content: center;
    gap: var(--funnel-spacing-xl);
    margin-bottom: var(--funnel-spacing-2xl);
}

.funnel-checkout-step {
    display: flex;
    align-items: center;
    gap: var(--funnel-spacing-sm);
    color: var(--funnel-gray-400);
    font-size: var(--funnel-font-size-sm);
}

.funnel-checkout-step.active {
    color: var(--funnel-primary);
}

.funnel-checkout-step.completed {
    color: var(--funnel-success);
}

.funnel-checkout-step-number {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--funnel-gray-200);
    border-radius: var(--funnel-radius-full);
    font-weight: var(--funnel-font-weight-semibold);
}

.funnel-checkout-step.active .funnel-checkout-step-number {
    background: var(--funnel-primary);
    color: var(--funnel-white);
}

.funnel-checkout-step.completed .funnel-checkout-step-number {
    background: var(--funnel-success);
    color: var(--funnel-white);
}

/* Order Summary - Collapsible */
.funnel-order-summary {
    background: var(--funnel-white);
    border-radius: var(--funnel-radius-xl);
    box-shadow: var(--funnel-shadow-md);
    margin-bottom: var(--funnel-spacing-xl);
    overflow: hidden;
}

.funnel-order-summary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--funnel-spacing-lg) var(--funnel-spacing-xl);
    background: var(--funnel-gray-100);
    cursor: pointer;
    transition: background var(--funnel-transition-fast);
}

.funnel-order-summary-header:hover {
    background: var(--funnel-gray-200);
}

.funnel-order-summary-title {
    display: flex;
    align-items: center;
    gap: var(--funnel-spacing-sm);
    font-weight: var(--funnel-font-weight-semibold);
    color: var(--funnel-gray-800);
}

.funnel-order-summary-toggle {
    display: flex;
    align-items: center;
    gap: var(--funnel-spacing-sm);
    color: var(--funnel-primary);
    font-size: var(--funnel-font-size-sm);
}

.funnel-order-summary-toggle i {
    transition: transform var(--funnel-transition-normal);
}

.funnel-order-summary.collapsed .funnel-order-summary-toggle i {
    transform: rotate(180deg);
}

.funnel-order-summary-body {
    padding: var(--funnel-spacing-xl);
    max-height: 500px;
    overflow: hidden;
    transition: max-height var(--funnel-transition-normal), padding var(--funnel-transition-normal);
}

.funnel-order-summary.collapsed .funnel-order-summary-body {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
}

/* Order Items */
.funnel-order-item {
    display: flex;
    gap: var(--funnel-spacing-md);
    padding: var(--funnel-spacing-md) 0;
    border-bottom: 1px solid var(--funnel-gray-200);
}

.funnel-order-item:last-child {
    border-bottom: none;
}

.funnel-order-item-image {
    width: 70px;
    height: 70px;
    border-radius: var(--funnel-radius-md);
    object-fit: cover;
    background: var(--funnel-gray-100);
}

.funnel-order-item-details {
    flex: 1;
}

.funnel-order-item-name {
    font-weight: var(--funnel-font-weight-semibold);
    color: var(--funnel-gray-800);
    margin-bottom: var(--funnel-spacing-xs);
}

.funnel-order-item-variant {
    font-size: var(--funnel-font-size-sm);
    color: var(--funnel-gray-500);
}

.funnel-order-item-quantity {
    font-size: var(--funnel-font-size-sm);
    color: var(--funnel-gray-600);
}

.funnel-order-item-price {
    font-weight: var(--funnel-font-weight-semibold);
    color: var(--funnel-gray-800);
    text-align: right;
}

/* Checkout Form Sections */
.funnel-checkout-section {
    background: var(--funnel-white);
    border-radius: var(--funnel-radius-xl);
    box-shadow: var(--funnel-shadow-md);
    margin-bottom: var(--funnel-spacing-xl);
    overflow: hidden;
}

.funnel-checkout-section-header {
    padding: var(--funnel-spacing-lg) var(--funnel-spacing-xl);
    background: var(--funnel-gray-100);
    border-bottom: 1px solid var(--funnel-gray-200);
}

.funnel-checkout-section-title {
    font-size: var(--funnel-font-size-lg);
    font-weight: var(--funnel-font-weight-semibold);
    color: var(--funnel-gray-800);
    margin: 0;
}

.funnel-checkout-section-body {
    padding: var(--funnel-spacing-xl);
}

/* Form Field Styling with Validation States */
.funnel-checkout-form .funnel-form-group {
    margin-bottom: var(--funnel-spacing-lg);
}

.funnel-checkout-form .funnel-form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--funnel-spacing-md);
}

.funnel-checkout-form .funnel-form-control {
    padding: var(--funnel-spacing-md) var(--funnel-spacing-lg);
    border: 2px solid var(--funnel-gray-300);
    border-radius: var(--funnel-radius-md);
    font-size: var(--funnel-font-size-base);
    transition: all var(--funnel-transition-fast);
}

.funnel-checkout-form .funnel-form-control:focus {
    border-color: var(--funnel-primary);
    box-shadow: 0 0 0 4px var(--funnel-primary-light);
}

.funnel-checkout-form .funnel-form-control.is-valid {
    border-color: var(--funnel-success);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right var(--funnel-spacing-md) center;
    background-size: 16px;
    padding-right: calc(var(--funnel-spacing-lg) + 24px);
}

.funnel-checkout-form .funnel-form-control.is-invalid {
    border-color: var(--funnel-danger);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right var(--funnel-spacing-md) center;
    background-size: 16px;
    padding-right: calc(var(--funnel-spacing-lg) + 24px);
}

.funnel-checkout-form .funnel-form-control.is-invalid:focus {
    box-shadow: 0 0 0 4px var(--funnel-danger-light);
}

/* Payment Summary */
.funnel-payment-summary {
    background: var(--funnel-white);
    border-radius: var(--funnel-radius-xl);
    box-shadow: var(--funnel-shadow-md);
    padding: var(--funnel-spacing-xl);
    margin-bottom: var(--funnel-spacing-xl);
}

.funnel-payment-summary-title {
    font-size: var(--funnel-font-size-lg);
    font-weight: var(--funnel-font-weight-semibold);
    margin-bottom: var(--funnel-spacing-lg);
    padding-bottom: var(--funnel-spacing-md);
    border-bottom: 1px solid var(--funnel-gray-200);
}

.funnel-payment-row {
    display: flex;
    justify-content: space-between;
    padding: var(--funnel-spacing-sm) 0;
    color: var(--funnel-gray-700);
}

.funnel-payment-row.total {
    padding-top: var(--funnel-spacing-md);
    margin-top: var(--funnel-spacing-md);
    border-top: 2px solid var(--funnel-gray-200);
    font-size: var(--funnel-font-size-xl);
    font-weight: var(--funnel-font-weight-bold);
    color: var(--funnel-gray-900);
}

.funnel-payment-row.total .funnel-payment-value {
    color: var(--funnel-primary);
}

.funnel-payment-row.highlight {
    color: var(--funnel-success);
}

/* Submit Button */
.funnel-submit-section {
    background: var(--funnel-white);
    border-radius: var(--funnel-radius-xl);
    box-shadow: var(--funnel-shadow-md);
    padding: var(--funnel-spacing-xl);
}

.funnel-submit-button {
    width: 100%;
    padding: var(--funnel-spacing-lg) var(--funnel-spacing-xl);
    font-size: var(--funnel-font-size-lg);
    font-weight: var(--funnel-font-weight-bold);
    background: var(--funnel-success);
    color: var(--funnel-white);
    border: none;
    border-radius: var(--funnel-radius-lg);
    cursor: pointer;
    transition: all var(--funnel-transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--funnel-spacing-sm);
}

.funnel-submit-button:hover:not(:disabled) {
    background: #157347;
    transform: translateY(-2px);
    box-shadow: var(--funnel-shadow-lg);
}

.funnel-submit-button:disabled {
    background: var(--funnel-gray-400);
    cursor: not-allowed;
}

.funnel-submit-button .spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--funnel-white);
    border-radius: 50%;
    animation: funnel-spin 0.8s linear infinite;
}

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

/* Secure Payment Icons */
.funnel-secure-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--funnel-spacing-md);
    margin-top: var(--funnel-spacing-lg);
    padding-top: var(--funnel-spacing-lg);
    border-top: 1px solid var(--funnel-gray-200);
}

.funnel-secure-icon {
    height: 30px;
    opacity: 0.6;
    transition: opacity var(--funnel-transition-fast);
}

.funnel-secure-icon:hover {
    opacity: 1;
}

.funnel-secure-text {
    display: flex;
    align-items: center;
    gap: var(--funnel-spacing-sm);
    color: var(--funnel-gray-500);
    font-size: var(--funnel-font-size-sm);
}

.funnel-secure-text i {
    color: var(--funnel-success);
}


/* ===================================
   6. One-Page Checkout Template Styles
   =================================== */

/* Two-Column Layout */
.funnel-checkout-onepage {
    min-height: 100vh;
    background: var(--funnel-gray-100);
}

.funnel-checkout-onepage-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: var(--funnel-spacing-2xl);
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--funnel-spacing-2xl) var(--funnel-spacing-md);
}

/* Main Form Column */
.funnel-checkout-main {
    background: var(--funnel-white);
    border-radius: var(--funnel-radius-xl);
    box-shadow: var(--funnel-shadow-md);
    padding: var(--funnel-spacing-2xl);
}

.funnel-checkout-main-title {
    font-size: var(--funnel-font-size-2xl);
    font-weight: var(--funnel-font-weight-bold);
    color: var(--funnel-gray-900);
    margin-bottom: var(--funnel-spacing-2xl);
    padding-bottom: var(--funnel-spacing-lg);
    border-bottom: 1px solid var(--funnel-gray-200);
}

/* Form Sections in One Page */
.funnel-checkout-form-section {
    margin-bottom: var(--funnel-spacing-2xl);
    padding-bottom: var(--funnel-spacing-2xl);
    border-bottom: 1px solid var(--funnel-gray-200);
}

.funnel-checkout-form-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.funnel-checkout-form-section-title {
    font-size: var(--funnel-font-size-lg);
    font-weight: var(--funnel-font-weight-semibold);
    color: var(--funnel-gray-800);
    margin-bottom: var(--funnel-spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--funnel-spacing-sm);
}

.funnel-checkout-form-section-title i {
    color: var(--funnel-primary);
}

/* Sticky Sidebar */
.funnel-checkout-sidebar {
    position: sticky;
    top: var(--funnel-spacing-xl);
    height: fit-content;
}

.funnel-checkout-sidebar-card {
    background: var(--funnel-white);
    border-radius: var(--funnel-radius-xl);
    box-shadow: var(--funnel-shadow-lg);
    overflow: hidden;
}

.funnel-checkout-sidebar-header {
    background: var(--funnel-primary);
    color: var(--funnel-white);
    padding: var(--funnel-spacing-lg) var(--funnel-spacing-xl);
}

.funnel-checkout-sidebar-title {
    font-size: var(--funnel-font-size-lg);
    font-weight: var(--funnel-font-weight-semibold);
    margin: 0;
}

.funnel-checkout-sidebar-body {
    padding: var(--funnel-spacing-xl);
}

/* Sidebar Order Items */
.funnel-sidebar-item {
    display: flex;
    gap: var(--funnel-spacing-md);
    padding: var(--funnel-spacing-md) 0;
    border-bottom: 1px solid var(--funnel-gray-200);
}

.funnel-sidebar-item:last-child {
    border-bottom: none;
}

.funnel-sidebar-item-image {
    width: 60px;
    height: 60px;
    border-radius: var(--funnel-radius-md);
    object-fit: cover;
    background: var(--funnel-gray-100);
}

.funnel-sidebar-item-info {
    flex: 1;
}

.funnel-sidebar-item-name {
    font-weight: var(--funnel-font-weight-medium);
    color: var(--funnel-gray-800);
    font-size: var(--funnel-font-size-sm);
    margin-bottom: var(--funnel-spacing-xs);
}

.funnel-sidebar-item-meta {
    font-size: var(--funnel-font-size-xs);
    color: var(--funnel-gray-500);
}

.funnel-sidebar-item-price {
    font-weight: var(--funnel-font-weight-semibold);
    color: var(--funnel-gray-800);
    font-size: var(--funnel-font-size-sm);
}

/* Sidebar Price Breakdown */
.funnel-sidebar-totals {
    margin-top: var(--funnel-spacing-lg);
    padding-top: var(--funnel-spacing-lg);
    border-top: 1px solid var(--funnel-gray-200);
}

.funnel-sidebar-row {
    display: flex;
    justify-content: space-between;
    padding: var(--funnel-spacing-xs) 0;
    font-size: var(--funnel-font-size-sm);
    color: var(--funnel-gray-600);
}

.funnel-sidebar-row.total {
    padding-top: var(--funnel-spacing-md);
    margin-top: var(--funnel-spacing-md);
    border-top: 2px solid var(--funnel-gray-200);
    font-size: var(--funnel-font-size-lg);
    font-weight: var(--funnel-font-weight-bold);
    color: var(--funnel-gray-900);
}

.funnel-sidebar-row.total .funnel-sidebar-value {
    color: var(--funnel-primary);
}

/* Sidebar Submit Button */
.funnel-sidebar-submit {
    padding: var(--funnel-spacing-xl);
    background: var(--funnel-gray-100);
    border-top: 1px solid var(--funnel-gray-200);
}

.funnel-sidebar-submit-button {
    width: 100%;
    padding: var(--funnel-spacing-lg);
    font-size: var(--funnel-font-size-base);
    font-weight: var(--funnel-font-weight-bold);
    background: var(--funnel-success);
    color: var(--funnel-white);
    border: none;
    border-radius: var(--funnel-radius-lg);
    cursor: pointer;
    transition: all var(--funnel-transition-normal);
}

.funnel-sidebar-submit-button:hover:not(:disabled) {
    background: #157347;
    transform: translateY(-2px);
}

.funnel-sidebar-submit-button:disabled {
    background: var(--funnel-gray-400);
    cursor: not-allowed;
}

/* Smooth Scroll Sections */
.funnel-checkout-onepage [data-section] {
    scroll-margin-top: var(--funnel-spacing-xl);
}

/* Section Navigation */
.funnel-section-nav {
    display: flex;
    gap: var(--funnel-spacing-md);
    margin-bottom: var(--funnel-spacing-xl);
    padding-bottom: var(--funnel-spacing-md);
    border-bottom: 1px solid var(--funnel-gray-200);
    overflow-x: auto;
}

.funnel-section-nav-item {
    display: flex;
    align-items: center;
    gap: var(--funnel-spacing-sm);
    padding: var(--funnel-spacing-sm) var(--funnel-spacing-md);
    background: var(--funnel-gray-100);
    border: none;
    border-radius: var(--funnel-radius-full);
    font-size: var(--funnel-font-size-sm);
    font-weight: var(--funnel-font-weight-medium);
    color: var(--funnel-gray-600);
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--funnel-transition-fast);
}

.funnel-section-nav-item:hover {
    background: var(--funnel-gray-200);
}

.funnel-section-nav-item.active {
    background: var(--funnel-primary);
    color: var(--funnel-white);
}

.funnel-section-nav-item.completed {
    background: var(--funnel-success-light);
    color: var(--funnel-success);
}

.funnel-section-nav-item.completed i {
    color: var(--funnel-success);
}


/* ===================================
   7. Express Checkout Template Styles
   =================================== */

/* Express Checkout Container */
.funnel-checkout-express {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--funnel-gray-100) 0%, var(--funnel-white) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--funnel-spacing-xl);
}

.funnel-express-container {
    width: 100%;
    max-width: 500px;
}

/* Express Card */
.funnel-express-card {
    background: var(--funnel-white);
    border-radius: var(--funnel-radius-2xl);
    box-shadow: var(--funnel-shadow-2xl);
    overflow: hidden;
}

/* Express Header */
.funnel-express-header {
    background: var(--funnel-primary);
    color: var(--funnel-white);
    padding: var(--funnel-spacing-xl);
    text-align: center;
}

.funnel-express-logo {
    height: 40px;
    margin-bottom: var(--funnel-spacing-md);
}

.funnel-express-title {
    font-size: var(--funnel-font-size-xl);
    font-weight: var(--funnel-font-weight-bold);
    margin: 0;
}

/* Compact Inline Order Summary */
.funnel-express-summary {
    padding: var(--funnel-spacing-lg);
    background: var(--funnel-gray-100);
    border-bottom: 1px solid var(--funnel-gray-200);
}

.funnel-express-product {
    display: flex;
    align-items: center;
    gap: var(--funnel-spacing-md);
}

.funnel-express-product-image {
    width: 60px;
    height: 60px;
    border-radius: var(--funnel-radius-md);
    object-fit: cover;
}

.funnel-express-product-info {
    flex: 1;
}

.funnel-express-product-name {
    font-weight: var(--funnel-font-weight-semibold);
    color: var(--funnel-gray-800);
    font-size: var(--funnel-font-size-sm);
}

.funnel-express-product-variant {
    font-size: var(--funnel-font-size-xs);
    color: var(--funnel-gray-500);
}

.funnel-express-product-price {
    font-size: var(--funnel-font-size-lg);
    font-weight: var(--funnel-font-weight-bold);
    color: var(--funnel-primary);
}

/* Compact Form Layout */
.funnel-express-form {
    padding: var(--funnel-spacing-xl);
}

.funnel-express-form .funnel-form-group {
    margin-bottom: var(--funnel-spacing-md);
}

.funnel-express-form .funnel-form-label {
    font-size: var(--funnel-font-size-sm);
    margin-bottom: var(--funnel-spacing-xs);
}

.funnel-express-form .funnel-form-control {
    padding: var(--funnel-spacing-md);
    font-size: var(--funnel-font-size-sm);
}

/* Inline Form Row */
.funnel-express-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--funnel-spacing-md);
}

/* Phone Input with Country Code */
.funnel-express-phone {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: var(--funnel-spacing-sm);
}

/* Inline Validation Feedback */
.funnel-express-form .funnel-form-control.is-invalid {
    border-color: var(--funnel-danger);
    animation: funnel-shake 0.3s ease;
}

@keyframes funnel-shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

.funnel-express-form .funnel-invalid-feedback {
    font-size: var(--funnel-font-size-xs);
    margin-top: var(--funnel-spacing-xs);
}

/* Express Price Summary */
.funnel-express-totals {
    padding: var(--funnel-spacing-lg);
    background: var(--funnel-gray-100);
    border-top: 1px solid var(--funnel-gray-200);
}

.funnel-express-total-row {
    display: flex;
    justify-content: space-between;
    padding: var(--funnel-spacing-xs) 0;
    font-size: var(--funnel-font-size-sm);
    color: var(--funnel-gray-600);
}

.funnel-express-total-row.grand-total {
    padding-top: var(--funnel-spacing-sm);
    margin-top: var(--funnel-spacing-sm);
    border-top: 1px dashed var(--funnel-gray-300);
    font-size: var(--funnel-font-size-lg);
    font-weight: var(--funnel-font-weight-bold);
    color: var(--funnel-gray-900);
}

.funnel-express-total-row.grand-total .funnel-express-total-value {
    color: var(--funnel-success);
}

/* Prominent Payment Button */
.funnel-express-submit {
    padding: var(--funnel-spacing-xl);
}

.funnel-express-button {
    width: 100%;
    padding: var(--funnel-spacing-lg) var(--funnel-spacing-xl);
    font-size: var(--funnel-font-size-lg);
    font-weight: var(--funnel-font-weight-bold);
    background: linear-gradient(135deg, var(--funnel-success) 0%, #157347 100%);
    color: var(--funnel-white);
    border: none;
    border-radius: var(--funnel-radius-xl);
    cursor: pointer;
    transition: all var(--funnel-transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--funnel-spacing-sm);
    box-shadow: 0 4px 15px rgba(25, 135, 84, 0.4);
}

.funnel-express-button:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(25, 135, 84, 0.5);
}

.funnel-express-button:active:not(:disabled) {
    transform: translateY(-1px);
}

.funnel-express-button:disabled {
    background: var(--funnel-gray-400);
    box-shadow: none;
    cursor: not-allowed;
}

.funnel-express-button i {
    font-size: var(--funnel-font-size-xl);
}

/* Trust Badges Inline */
.funnel-express-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--funnel-spacing-lg);
    margin-top: var(--funnel-spacing-md);
    padding-top: var(--funnel-spacing-md);
}

.funnel-express-trust-item {
    display: flex;
    align-items: center;
    gap: var(--funnel-spacing-xs);
    font-size: var(--funnel-font-size-xs);
    color: var(--funnel-gray-500);
}

.funnel-express-trust-item i {
    color: var(--funnel-success);
}

/* ===================================
   8. Responsive Breakpoints
   =================================== */

/* Large Tablets and Small Desktops (max 1024px) */
@media (max-width: 1024px) {
    .funnel-checkout-onepage-container {
        grid-template-columns: 1fr;
    }

    .funnel-checkout-sidebar {
        position: static;
        order: -1;
    }

    .funnel-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .funnel-testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .funnel-product-grid {
        gap: var(--funnel-spacing-2xl);
    }

    .funnel-showcase-content {
        grid-template-columns: 1fr;
    }
}

/* Tablets (max 768px) */
@media (max-width: 768px) {
    :root {
        --funnel-spacing-3xl: 3rem;
        --funnel-spacing-4xl: 4rem;
    }

    .funnel-hero-split {
        grid-template-columns: 1fr;
    }

    .funnel-hero-split-image {
        max-height: 50vh;
    }

    .funnel-hero-split-content {
        padding: var(--funnel-spacing-2xl);
    }

    .funnel-product-grid {
        grid-template-columns: 1fr;
    }

    .funnel-product-gallery {
        order: -1;
    }

    .funnel-features-grid {
        grid-template-columns: 1fr;
        gap: var(--funnel-spacing-lg);
    }

    .funnel-testimonials-grid {
        grid-template-columns: 1fr;
    }

    .funnel-comparison-table {
        font-size: var(--funnel-font-size-sm);
    }

    .funnel-comparison-table th,
    .funnel-comparison-table td {
        padding: var(--funnel-spacing-md);
    }

    .funnel-checkout-form .funnel-form-row {
        grid-template-columns: 1fr;
    }

    .funnel-floating-cta-content {
        flex-direction: column;
        gap: var(--funnel-spacing-md);
        text-align: center;
    }

    .funnel-floating-cta-button {
        width: 100%;
    }

    body.has-floating-cta {
        padding-bottom: 140px;
    }

    .funnel-countdown-large .funnel-countdown-item {
        min-width: 60px;
        padding: var(--funnel-spacing-md);
    }

    .funnel-countdown-large .funnel-countdown-value {
        font-size: var(--funnel-font-size-2xl);
    }

    .funnel-social-proof-content {
        flex-direction: column;
        gap: var(--funnel-spacing-lg);
    }
}

/* Mobile Devices (max 576px) */
@media (max-width: 576px) {
    :root {
        --funnel-spacing-2xl: 2rem;
        --funnel-spacing-3xl: 2.5rem;
        --funnel-spacing-4xl: 3rem;
    }

    .funnel-container {
        padding: 0 var(--funnel-spacing-md);
    }

    .funnel-hero {
        min-height: 70vh;
    }

    .funnel-hero-content {
        padding: var(--funnel-spacing-2xl) var(--funnel-spacing-md);
    }

    .funnel-hero-cta {
        padding: var(--funnel-spacing-md) var(--funnel-spacing-xl);
        font-size: var(--funnel-font-size-base);
    }

    .funnel-heading-1 {
        font-size: var(--funnel-font-size-2xl);
    }

    .funnel-heading-2 {
        font-size: var(--funnel-font-size-xl);
    }

    .funnel-feature-card {
        padding: var(--funnel-spacing-lg);
    }

    .funnel-feature-icon {
        width: 60px;
        height: 60px;
        font-size: var(--funnel-font-size-xl);
    }

    .funnel-testimonial-card {
        padding: var(--funnel-spacing-lg);
    }

    .funnel-cta-button {
        padding: var(--funnel-spacing-md) var(--funnel-spacing-xl);
        font-size: var(--funnel-font-size-base);
    }

    .funnel-urgency-content {
        flex-direction: column;
        gap: var(--funnel-spacing-sm);
    }

    .funnel-countdown {
        padding: var(--funnel-spacing-xs) var(--funnel-spacing-sm);
    }

    .funnel-countdown-item {
        min-width: 35px;
    }

    .funnel-countdown-value {
        font-size: var(--funnel-font-size-base);
    }

    .funnel-video-container {
        padding: var(--funnel-spacing-md);
    }

    .funnel-video-play-btn {
        width: 60px;
        height: 60px;
        font-size: var(--funnel-font-size-lg);
    }

    .funnel-faq-question {
        padding: var(--funnel-spacing-md);
        font-size: var(--funnel-font-size-sm);
    }

    .funnel-faq-answer-content {
        padding: 0 var(--funnel-spacing-md) var(--funnel-spacing-md);
    }

    .funnel-checkout-section-body {
        padding: var(--funnel-spacing-md);
    }

    .funnel-order-summary-header {
        padding: var(--funnel-spacing-md);
    }

    .funnel-order-summary-body {
        padding: var(--funnel-spacing-md);
    }

    .funnel-payment-summary {
        padding: var(--funnel-spacing-md);
    }

    .funnel-submit-section {
        padding: var(--funnel-spacing-md);
    }

    .funnel-express-row {
        grid-template-columns: 1fr;
    }

    .funnel-express-phone {
        grid-template-columns: 1fr;
    }

    .funnel-section-nav {
        gap: var(--funnel-spacing-sm);
    }

    .funnel-section-nav-item {
        padding: var(--funnel-spacing-xs) var(--funnel-spacing-sm);
        font-size: var(--funnel-font-size-xs);
    }

    .funnel-trust-badges {
        flex-direction: column;
        gap: var(--funnel-spacing-md);
    }

    .funnel-proof-badges {
        flex-direction: column;
        align-items: center;
    }
}

/* Small Mobile (max 375px) */
@media (max-width: 375px) {
    .funnel-hero-title {
        font-size: 1.5rem;
    }

    .funnel-hero-subtitle {
        font-size: 1rem;
    }

    .funnel-minimal-title {
        font-size: 1.5rem;
    }

    .funnel-price-sale {
        font-size: var(--funnel-font-size-2xl);
    }

    .funnel-countdown-large {
        gap: var(--funnel-spacing-sm);
    }

    .funnel-countdown-large .funnel-countdown-item {
        min-width: 50px;
        padding: var(--funnel-spacing-sm);
    }

    .funnel-countdown-large .funnel-countdown-value {
        font-size: var(--funnel-font-size-xl);
    }
}


/* ===================================
   9. Animations & Transitions
   =================================== */

/* Fade In Animation */
@keyframes funnel-fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.funnel-fade-in {
    animation: funnel-fadeIn 0.5s ease forwards;
}

/* Fade In Up Animation */
@keyframes funnel-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.funnel-fade-in-up {
    animation: funnel-fadeInUp 0.6s ease forwards;
}

/* Fade In Down Animation */
@keyframes funnel-fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

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

.funnel-fade-in-down {
    animation: funnel-fadeInDown 0.6s ease forwards;
}

/* Scale In Animation */
@keyframes funnel-scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.funnel-scale-in {
    animation: funnel-scaleIn 0.4s ease forwards;
}

/* Slide In Left Animation */
@keyframes funnel-slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

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

.funnel-slide-in-left {
    animation: funnel-slideInLeft 0.5s ease forwards;
}

/* Slide In Right Animation */
@keyframes funnel-slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

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

.funnel-slide-in-right {
    animation: funnel-slideInRight 0.5s ease forwards;
}

/* Bounce Animation */
@keyframes funnel-bounce {

    0%,
    20%,
    53%,
    100% {
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
        transform: translateY(0);
    }

    40%,
    43% {
        animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        transform: translateY(-20px);
    }

    70% {
        animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        transform: translateY(-10px);
    }

    80% {
        transform: translateY(0);
    }

    90% {
        transform: translateY(-4px);
    }
}

.funnel-bounce {
    animation: funnel-bounce 1s ease infinite;
}

/* Pulse Animation */
@keyframes funnel-pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.4);
    }

    50% {
        box-shadow: 0 0 0 20px rgba(13, 110, 253, 0);
    }
}

.funnel-pulse-glow {
    animation: funnel-pulse-glow 2s ease infinite;
}

/* Attention Seeker - Wiggle */
@keyframes funnel-wiggle {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-3deg);
    }

    75% {
        transform: rotate(3deg);
    }
}

.funnel-wiggle {
    animation: funnel-wiggle 0.5s ease infinite;
}

/* Staggered Animation Delays */
.funnel-delay-100 {
    animation-delay: 100ms;
}

.funnel-delay-200 {
    animation-delay: 200ms;
}

.funnel-delay-300 {
    animation-delay: 300ms;
}

.funnel-delay-400 {
    animation-delay: 400ms;
}

.funnel-delay-500 {
    animation-delay: 500ms;
}

.funnel-delay-600 {
    animation-delay: 600ms;
}

.funnel-delay-700 {
    animation-delay: 700ms;
}

.funnel-delay-800 {
    animation-delay: 800ms;
}

/* Intersection Observer Animation Triggers */
.funnel-animate-on-scroll {
    opacity: 0;
}

.funnel-animate-on-scroll.animated {
    opacity: 1;
}

/* ===================================
   10. Utility Classes
   =================================== */

/* Text Alignment */
.funnel-text-left {
    text-align: left;
}

.funnel-text-center {
    text-align: center;
}

.funnel-text-right {
    text-align: right;
}

/* Text Colors */
.funnel-text-primary {
    color: var(--funnel-primary);
}

.funnel-text-success {
    color: var(--funnel-success);
}

.funnel-text-danger {
    color: var(--funnel-danger);
}

.funnel-text-warning {
    color: var(--funnel-warning);
}

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

.funnel-text-dark {
    color: var(--funnel-gray-900);
}

.funnel-text-white {
    color: var(--funnel-white);
}

/* Background Colors */
.funnel-bg-primary {
    background-color: var(--funnel-primary);
}

.funnel-bg-success {
    background-color: var(--funnel-success);
}

.funnel-bg-danger {
    background-color: var(--funnel-danger);
}

.funnel-bg-warning {
    background-color: var(--funnel-warning);
}

.funnel-bg-light {
    background-color: var(--funnel-light);
}

.funnel-bg-dark {
    background-color: var(--funnel-dark);
}

.funnel-bg-white {
    background-color: var(--funnel-white);
}

/* Display */
.funnel-d-none {
    display: none;
}

.funnel-d-block {
    display: block;
}

.funnel-d-flex {
    display: flex;
}

.funnel-d-grid {
    display: grid;
}

.funnel-d-inline {
    display: inline;
}

.funnel-d-inline-block {
    display: inline-block;
}

.funnel-d-inline-flex {
    display: inline-flex;
}

/* Flexbox */
.funnel-flex-row {
    flex-direction: row;
}

.funnel-flex-column {
    flex-direction: column;
}

.funnel-flex-wrap {
    flex-wrap: wrap;
}

.funnel-flex-nowrap {
    flex-wrap: nowrap;
}

.funnel-justify-start {
    justify-content: flex-start;
}

.funnel-justify-center {
    justify-content: center;
}

.funnel-justify-end {
    justify-content: flex-end;
}

.funnel-justify-between {
    justify-content: space-between;
}

.funnel-justify-around {
    justify-content: space-around;
}

.funnel-align-start {
    align-items: flex-start;
}

.funnel-align-center {
    align-items: center;
}

.funnel-align-end {
    align-items: flex-end;
}

.funnel-align-stretch {
    align-items: stretch;
}

.funnel-flex-1 {
    flex: 1;
}

.funnel-flex-grow {
    flex-grow: 1;
}

.funnel-flex-shrink-0 {
    flex-shrink: 0;
}

/* Gap */
.funnel-gap-xs {
    gap: var(--funnel-spacing-xs);
}

.funnel-gap-sm {
    gap: var(--funnel-spacing-sm);
}

.funnel-gap-md {
    gap: var(--funnel-spacing-md);
}

.funnel-gap-lg {
    gap: var(--funnel-spacing-lg);
}

.funnel-gap-xl {
    gap: var(--funnel-spacing-xl);
}

.funnel-gap-2xl {
    gap: var(--funnel-spacing-2xl);
}

/* Margin */
.funnel-m-0 {
    margin: 0;
}

.funnel-m-auto {
    margin: auto;
}

.funnel-mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.funnel-my-auto {
    margin-top: auto;
    margin-bottom: auto;
}

.funnel-mt-0 {
    margin-top: 0;
}

.funnel-mt-sm {
    margin-top: var(--funnel-spacing-sm);
}

.funnel-mt-md {
    margin-top: var(--funnel-spacing-md);
}

.funnel-mt-lg {
    margin-top: var(--funnel-spacing-lg);
}

.funnel-mt-xl {
    margin-top: var(--funnel-spacing-xl);
}

.funnel-mt-2xl {
    margin-top: var(--funnel-spacing-2xl);
}

.funnel-mb-0 {
    margin-bottom: 0;
}

.funnel-mb-sm {
    margin-bottom: var(--funnel-spacing-sm);
}

.funnel-mb-md {
    margin-bottom: var(--funnel-spacing-md);
}

.funnel-mb-lg {
    margin-bottom: var(--funnel-spacing-lg);
}

.funnel-mb-xl {
    margin-bottom: var(--funnel-spacing-xl);
}

.funnel-mb-2xl {
    margin-bottom: var(--funnel-spacing-2xl);
}

/* Padding */
.funnel-p-0 {
    padding: 0;
}

.funnel-p-sm {
    padding: var(--funnel-spacing-sm);
}

.funnel-p-md {
    padding: var(--funnel-spacing-md);
}

.funnel-p-lg {
    padding: var(--funnel-spacing-lg);
}

.funnel-p-xl {
    padding: var(--funnel-spacing-xl);
}

.funnel-p-2xl {
    padding: var(--funnel-spacing-2xl);
}

.funnel-px-md {
    padding-left: var(--funnel-spacing-md);
    padding-right: var(--funnel-spacing-md);
}

.funnel-py-md {
    padding-top: var(--funnel-spacing-md);
    padding-bottom: var(--funnel-spacing-md);
}

.funnel-px-lg {
    padding-left: var(--funnel-spacing-lg);
    padding-right: var(--funnel-spacing-lg);
}

.funnel-py-lg {
    padding-top: var(--funnel-spacing-lg);
    padding-bottom: var(--funnel-spacing-lg);
}

.funnel-px-xl {
    padding-left: var(--funnel-spacing-xl);
    padding-right: var(--funnel-spacing-xl);
}

.funnel-py-xl {
    padding-top: var(--funnel-spacing-xl);
    padding-bottom: var(--funnel-spacing-xl);
}

/* Width & Height */
.funnel-w-full {
    width: 100%;
}

.funnel-w-auto {
    width: auto;
}

.funnel-h-full {
    height: 100%;
}

.funnel-h-auto {
    height: auto;
}

.funnel-min-h-screen {
    min-height: 100vh;
}

/* Border Radius */
.funnel-rounded-none {
    border-radius: 0;
}

.funnel-rounded-sm {
    border-radius: var(--funnel-radius-sm);
}

.funnel-rounded-md {
    border-radius: var(--funnel-radius-md);
}

.funnel-rounded-lg {
    border-radius: var(--funnel-radius-lg);
}

.funnel-rounded-xl {
    border-radius: var(--funnel-radius-xl);
}

.funnel-rounded-2xl {
    border-radius: var(--funnel-radius-2xl);
}

.funnel-rounded-full {
    border-radius: var(--funnel-radius-full);
}

/* Shadows */
.funnel-shadow-none {
    box-shadow: none;
}

.funnel-shadow-sm {
    box-shadow: var(--funnel-shadow-sm);
}

.funnel-shadow-md {
    box-shadow: var(--funnel-shadow-md);
}

.funnel-shadow-lg {
    box-shadow: var(--funnel-shadow-lg);
}

.funnel-shadow-xl {
    box-shadow: var(--funnel-shadow-xl);
}

.funnel-shadow-2xl {
    box-shadow: var(--funnel-shadow-2xl);
}

/* Overflow */
.funnel-overflow-hidden {
    overflow: hidden;
}

.funnel-overflow-auto {
    overflow: auto;
}

.funnel-overflow-scroll {
    overflow: scroll;
}

.funnel-overflow-visible {
    overflow: visible;
}

/* Position */
.funnel-relative {
    position: relative;
}

.funnel-absolute {
    position: absolute;
}

.funnel-fixed {
    position: fixed;
}

.funnel-sticky {
    position: sticky;
}

/* Visibility */
.funnel-visible {
    visibility: visible;
}

.funnel-invisible {
    visibility: hidden;
}

/* Cursor */
.funnel-cursor-pointer {
    cursor: pointer;
}

.funnel-cursor-not-allowed {
    cursor: not-allowed;
}

/* User Select */
.funnel-select-none {
    user-select: none;
}

.funnel-select-text {
    user-select: text;
}

.funnel-select-all {
    user-select: all;
}

/* Transitions */
.funnel-transition-none {
    transition: none;
}

.funnel-transition-all {
    transition: all var(--funnel-transition-normal);
}

.funnel-transition-fast {
    transition: all var(--funnel-transition-fast);
}

.funnel-transition-slow {
    transition: all var(--funnel-transition-slow);
}

/* Opacity */
.funnel-opacity-0 {
    opacity: 0;
}

.funnel-opacity-25 {
    opacity: 0.25;
}

.funnel-opacity-50 {
    opacity: 0.5;
}

.funnel-opacity-75 {
    opacity: 0.75;
}

.funnel-opacity-100 {
    opacity: 1;
}

/* Font Weight */
.funnel-font-normal {
    font-weight: var(--funnel-font-weight-normal);
}

.funnel-font-medium {
    font-weight: var(--funnel-font-weight-medium);
}

.funnel-font-semibold {
    font-weight: var(--funnel-font-weight-semibold);
}

.funnel-font-bold {
    font-weight: var(--funnel-font-weight-bold);
}

/* Font Size */
.funnel-text-xs {
    font-size: var(--funnel-font-size-xs);
}

.funnel-text-sm {
    font-size: var(--funnel-font-size-sm);
}

.funnel-text-base {
    font-size: var(--funnel-font-size-base);
}

.funnel-text-lg {
    font-size: var(--funnel-font-size-lg);
}

.funnel-text-xl {
    font-size: var(--funnel-font-size-xl);
}

.funnel-text-2xl {
    font-size: var(--funnel-font-size-2xl);
}

.funnel-text-3xl {
    font-size: var(--funnel-font-size-3xl);
}

.funnel-text-4xl {
    font-size: var(--funnel-font-size-4xl);
}

/* Line Height */
.funnel-leading-tight {
    line-height: var(--funnel-line-height-tight);
}

.funnel-leading-normal {
    line-height: var(--funnel-line-height-normal);
}

.funnel-leading-relaxed {
    line-height: var(--funnel-line-height-relaxed);
}

/* Text Decoration */
.funnel-underline {
    text-decoration: underline;
}

.funnel-line-through {
    text-decoration: line-through;
}

.funnel-no-underline {
    text-decoration: none;
}

/* Text Transform */
.funnel-uppercase {
    text-transform: uppercase;
}

.funnel-lowercase {
    text-transform: lowercase;
}

.funnel-capitalize {
    text-transform: capitalize;
}

.funnel-normal-case {
    text-transform: none;
}

/* Whitespace */
.funnel-whitespace-normal {
    white-space: normal;
}

.funnel-whitespace-nowrap {
    white-space: nowrap;
}

.funnel-whitespace-pre {
    white-space: pre;
}

.funnel-whitespace-pre-wrap {
    white-space: pre-wrap;
}

/* Truncate */
.funnel-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Screen Reader Only */
.funnel-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===================================
   11. Print Styles
   =================================== */

@media print {

    .funnel-floating-cta,
    .funnel-urgency-banner,
    .funnel-video-placeholder {
        display: none !important;
    }

    .funnel-hero {
        min-height: auto;
        page-break-inside: avoid;
    }

    .funnel-hero::before {
        display: none;
    }

    .funnel-hero-content {
        color: var(--funnel-gray-900);
    }

    .funnel-section {
        page-break-inside: avoid;
    }

    .funnel-checkout-sidebar {
        position: static;
    }
}

/* ===================================
   12. Accessibility
   =================================== */

/* Focus Visible */
.funnel-btn:focus-visible,
.funnel-form-control:focus-visible,
.funnel-variant-option:focus-visible,
.funnel-faq-question:focus-visible {
    outline: 2px solid var(--funnel-primary);
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .funnel-floating-cta {
        transition: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .funnel-btn {
        border: 2px solid currentColor;
    }

    .funnel-form-control {
        border-width: 2px;
    }

    .funnel-card {
        border: 1px solid var(--funnel-gray-800);
    }
}

/* ===================================
   13. Variant Selector Styles
   =================================== */

/* Base Variant Selector */
.variant-selector {
    margin: var(--funnel-spacing-lg) 0;
}

.variant-selector .variant-label {
    display: block;
    font-weight: var(--funnel-font-weight-medium);
    margin-bottom: var(--funnel-spacing-sm);
    color: var(--funnel-gray-700);
}

/* Dropdown Mode */
.variant-dropdown,
.variant-select {
    width: 100%;
    padding: var(--funnel-spacing-md);
    font-family: var(--funnel-font-family);
    font-size: var(--funnel-font-size-base);
    border: 2px solid var(--funnel-gray-300);
    border-radius: var(--funnel-radius-md);
    background-color: var(--funnel-white);
    cursor: pointer;
    transition: border-color var(--funnel-transition-fast), box-shadow var(--funnel-transition-fast);
}

.variant-dropdown:hover,
.variant-select:hover {
    border-color: var(--funnel-gray-400);
}

.variant-dropdown:focus,
.variant-select:focus {
    outline: none;
    border-color: var(--funnel-primary);
    box-shadow: 0 0 0 3px var(--funnel-primary-light);
}

/* Buttons Mode */
.variant-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--funnel-spacing-sm);
}

.variant-option-btn {
    padding: var(--funnel-spacing-sm) var(--funnel-spacing-lg);
    font-family: var(--funnel-font-family);
    font-size: var(--funnel-font-size-base);
    font-weight: var(--funnel-font-weight-medium);
    border: 2px solid var(--funnel-gray-300);
    border-radius: var(--funnel-radius-md);
    background: var(--funnel-white);
    cursor: pointer;
    transition: all var(--funnel-transition-fast);
}

.variant-option-btn:hover {
    border-color: var(--funnel-primary);
    background: var(--funnel-primary-light);
}

.variant-option-btn.active {
    border-color: var(--funnel-primary);
    background: var(--funnel-primary);
    color: var(--funnel-white);
}

.variant-option-btn:focus-visible {
    outline: 2px solid var(--funnel-primary);
    outline-offset: 2px;
}

.variant-option-btn.out-of-stock {
    opacity: 0.5;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Color Swatches Mode */
.variant-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: var(--funnel-spacing-sm);
}

.variant-swatch {
    width: 40px;
    height: 40px;
    border-radius: var(--funnel-radius-full);
    border: 3px solid transparent;
    cursor: pointer;
    transition: all var(--funnel-transition-fast);
    position: relative;
}

.variant-swatch:hover {
    transform: scale(1.1);
}

.variant-swatch.active {
    border-color: var(--funnel-primary);
    box-shadow: 0 0 0 2px var(--funnel-white), 0 0 0 4px var(--funnel-primary);
}

.variant-swatch:focus-visible {
    outline: 2px solid var(--funnel-primary);
    outline-offset: 4px;
}

.variant-swatch.out-of-stock::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--funnel-danger);
    transform: rotate(-45deg);
}

/* Variant Swatch Tooltip */
.variant-swatch[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: var(--funnel-spacing-xs) var(--funnel-spacing-sm);
    background: var(--funnel-gray-900);
    color: var(--funnel-white);
    font-size: var(--funnel-font-size-xs);
    border-radius: var(--funnel-radius-sm);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--funnel-transition-fast), visibility var(--funnel-transition-fast);
    margin-bottom: var(--funnel-spacing-xs);
}

.variant-swatch[data-tooltip]:hover::before {
    opacity: 1;
    visibility: visible;
}

/* Variant Price Display */
.variant-price-display {
    margin-top: var(--funnel-spacing-sm);
    font-size: var(--funnel-font-size-sm);
    color: var(--funnel-gray-600);
}

.variant-price-display .variant-price {
    font-weight: var(--funnel-font-weight-semibold);
    color: var(--funnel-primary);
}

/* Product List Item with Variant */
.product-list-item .variant-selector {
    margin-top: var(--funnel-spacing-md);
    padding-top: var(--funnel-spacing-md);
    border-top: 1px solid var(--funnel-gray-200);
}

.product-list-item .variant-dropdown,
.product-list-item .variant-select {
    padding: var(--funnel-spacing-sm) var(--funnel-spacing-md);
    font-size: var(--funnel-font-size-sm);
}

/* Product Option with Variant (Checkout) */
.product-option .variant-selector {
    margin-top: var(--funnel-spacing-sm);
    margin-left: var(--funnel-spacing-xl);
}

.product-option .variant-select {
    padding: var(--funnel-spacing-sm);
    font-size: var(--funnel-font-size-sm);
    max-width: 200px;
}

/* Variant Display Mode Classes */
.variant-dropdown-mode .variant-buttons,
.variant-dropdown-mode .variant-swatches {
    display: none;
}

.variant-buttons-mode .variant-dropdown,
.variant-buttons-mode .variant-swatches {
    display: none;
}

.variant-buttons-mode .variant-buttons {
    display: flex;
}

.variant-swatches-mode .variant-dropdown,
.variant-swatches-mode .variant-buttons {
    display: none;
}

.variant-swatches-mode .variant-swatches {
    display: flex;
}

/* Responsive Variant Selector */
@media (max-width: 768px) {
    .variant-buttons {
        gap: var(--funnel-spacing-xs);
    }

    .variant-option-btn {
        padding: var(--funnel-spacing-xs) var(--funnel-spacing-md);
        font-size: var(--funnel-font-size-sm);
    }

    .variant-swatch {
        width: 36px;
        height: 36px;
    }

    .product-option .variant-selector {
        margin-left: 0;
    }

    .product-option .variant-select {
        max-width: 100%;
    }
}

/* Variant Selection Animation */
@keyframes variant-selected {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

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

.variant-option-btn.active,
.variant-swatch.active {
    animation: variant-selected 0.3s ease;
}

/* Variant Stock Indicator */
.variant-stock-indicator {
    display: inline-flex;
    align-items: center;
    gap: var(--funnel-spacing-xs);
    font-size: var(--funnel-font-size-xs);
    margin-top: var(--funnel-spacing-xs);
}

.variant-stock-indicator.in-stock {
    color: var(--funnel-success);
}

.variant-stock-indicator.low-stock {
    color: var(--funnel-warning);
}

.variant-stock-indicator.out-of-stock {
    color: var(--funnel-danger);
}

/* Variant Image Preview */
.variant-image-preview {
    width: 60px;
    height: 60px;
    border-radius: var(--funnel-radius-md);
    object-fit: cover;
    border: 2px solid var(--funnel-gray-200);
    margin-right: var(--funnel-spacing-sm);
}

.variant-option-btn.active .variant-image-preview,
.variant-swatch.active+.variant-image-preview {
    border-color: var(--funnel-primary);
}


/* ===================================
   Product Cards - Uniform Styling
   =================================== */

/* Product Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

/* Product Card - Uniform Size */
.product-card {
    background: var(--funnel-white);
    border: 1px solid var(--funnel-gray-200);
    border-radius: var(--funnel-radius-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--funnel-transition-fast), box-shadow var(--funnel-transition-fast);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--funnel-shadow-lg);
}

/* Product Image - Fixed Aspect Ratio */
.product-card-image {
    position: relative;
    width: 100%;
    padding-top: 100%;
    /* 1:1 Aspect Ratio */
    background: var(--funnel-gray-100);
    overflow: hidden;
}

.product-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--funnel-transition-normal);
}

.product-card:hover .product-card-image img {
    transform: scale(1.05);
}

/* Product Content */
.product-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card-title {
    font-size: var(--funnel-font-size-lg);
    font-weight: var(--funnel-font-weight-semibold);
    color: var(--funnel-gray-900);
    margin: 0 0 8px 0;
    line-height: var(--funnel-line-height-tight);
    /* Limit to 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-description {
    font-size: var(--funnel-font-size-sm);
    color: var(--funnel-gray-600);
    margin: 0 0 16px 0;
    line-height: var(--funnel-line-height-relaxed);
    flex: 1;
    /* Limit to 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Product Price */
.product-card-price {
    font-size: var(--funnel-font-size-xl);
    font-weight: var(--funnel-font-weight-bold);
    color: var(--funnel-primary);
    margin-bottom: 16px;
}

/* Buy Now Button */
.product-card .funnel-checkout-button,
.product-card .product-buy-btn {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    color: var(--funnel-white);
    border: none;
    border-radius: var(--funnel-radius-full);
    font-size: var(--funnel-font-size-base);
    font-weight: var(--funnel-font-weight-semibold);
    cursor: pointer;
    transition: all var(--funnel-transition-fast);
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.product-card .funnel-checkout-button:hover,
.product-card .product-buy-btn:hover {
    background: linear-gradient(135deg, #ee5a5a 0%, #dd4a4a 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(238, 90, 90, 0.4);
}

/* High-Converting Template Product Cards */
.products-grid.high-converting .product-card {
    border: 2px solid var(--funnel-gray-200);
    border-radius: var(--funnel-radius-2xl);
}

.products-grid.high-converting .product-card:hover {
    border-color: var(--funnel-primary);
}

/* Minimal Template Product Cards */
.products-grid.minimal .product-card {
    border: none;
    box-shadow: var(--funnel-shadow-md);
}

.products-grid.minimal .product-card:hover {
    box-shadow: var(--funnel-shadow-xl);
}

/* Responsive */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 16px;
    }

    .product-card-content {
        padding: 16px;
    }

    .product-card-title {
        font-size: var(--funnel-font-size-base);
    }

    .product-card-price {
        font-size: var(--funnel-font-size-lg);
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}


/* ===================================
   Product Cards Center Layout
   =================================== */

/* Product Grid - Auto Center for 1-2 Products */
.funnel-products-grid,
.products-grid,
[class*="product-grid"],
[class*="products-container"] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: var(--funnel-spacing-xl, 1.5rem);
    margin: 0 auto;
    padding: var(--funnel-spacing-lg, 1rem) 0;
}

/* Product Card Base Styles */
.funnel-product-card,
.product-card,
[class*="product-item"],
[data-product-id] {
    flex: 0 1 auto;
    max-width: 400px;
    min-width: 280px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Single Product - Full Center */
.funnel-products-grid>*:only-child,
.products-grid>*:only-child,
[class*="product-grid"]>*:only-child {
    margin: 0 auto;
}

/* Two Products - Center with Gap */
.funnel-products-grid>*:first-child:nth-last-child(2),
.funnel-products-grid>*:first-child:nth-last-child(2)~*,
.products-grid>*:first-child:nth-last-child(2),
.products-grid>*:first-child:nth-last-child(2)~* {
    flex: 0 1 calc(50% - var(--funnel-spacing-xl, 1.5rem) / 2);
    max-width: 400px;
}

/* Responsive - Mobile Stack Center */
@media (max-width: 768px) {

    .funnel-products-grid,
    .products-grid,
    [class*="product-grid"] {
        flex-direction: column;
        align-items: center;
    }

    .funnel-products-grid>*,
    .products-grid>*,
    [class*="product-grid"]>* {
        max-width: 100%;
        width: 100%;
    }
}

/* Product Card Content Alignment */
.funnel-product-card,
.product-card {
    text-align: center;
}

.funnel-product-card img,
.product-card img {
    margin: 0 auto;
}

.funnel-product-card .funnel-btn,
.product-card .funnel-btn,
.funnel-product-card button,
.product-card button {
    margin: 0 auto;
}


/* ============================================
   FORM VALIDATION STYLES
   ============================================ */

/* Invalid input styling */
.form-group input:invalid:not(:placeholder-shown),
.form-group select:invalid:not(:placeholder-shown) {
    border-color: #ef4444;
}

/* Valid input styling */
.form-group input:valid:not(:placeholder-shown):not([type="hidden"]),
.form-group select:valid:not([value=""]) {
    border-color: #10b981;
}

/* Don't show validation on select elements */
.form-group select {
    border-color: #d1d5db;
}

.form-group select:focus {
    border-color: #1a1a1a;
}

/* Phone input - don't show validation on country code */
.phone-input select {
    border-color: #d1d5db !important;
}

/* Focus state for invalid inputs */
.form-group input:invalid:focus,
.form-group select:invalid:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Disabled state */
.form-group input:disabled,
.form-group select:disabled {
    background-color: #f3f4f6;
    cursor: not-allowed;
    opacity: 0.6;
}

/* =============================================================================
   FUNNEL INLINE CHECKOUT COMPONENT — canvas iframe styles
   Mirrors the <style> tag embedded in funnel-inline-checkout.js so the
   GrapesJS page builder canvas renders the component correctly.
   ============================================================================= */

.inline-checkout-wrapper {
    max-width: 680px;
    margin: 0 auto;
    padding: 32px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.inline-checkout-header {
    text-align: center;
    margin-bottom: 32px;
}

.inline-checkout-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 8px 0;
}

.inline-checkout-subtitle {
    font-size: 1rem;
    color: #6b7280;
    margin: 0;
}

.inline-checkout-body {
    display: flex;
    flex-direction: column;
}

.inline-checkout-section {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}

.inline-checkout-section .section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #f3f4f6;
}

.checkout-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.checkout-form-grid .full-width {
    grid-column: 1 / -1;
}

.checkout-form-grid .form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.checkout-input,
.checkout-select {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #1f2937;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.checkout-input:focus,
.checkout-select:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.phone-input-group {
    display: flex;
    gap: 8px;
}

.country-code-select {
    width: 90px;
    flex-shrink: 0;
}

.phone-number-input {
    flex: 1;
}

/* Order Items */
.order-summary-items .order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.order-summary-items .order-item+.order-item {
    border-top: 1px solid #f3f4f6;
}

.item-details {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.item-name {
    font-weight: 600;
    color: #1f2937;
}

.item-price {
    font-weight: 700;
    color: #6366f1;
}

/* Payment Summary */
.funnel-payment-summary .payment-summary-lines {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.funnel-payment-summary .summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    font-size: 0.95rem;
    color: #4b5563;
}

.funnel-payment-summary .summary-line.total-line {
    border-top: 2px solid #e5e7eb;
    margin-top: 8px;
    padding-top: 12px;
    font-size: 1.1rem;
    font-weight: 800;
    color: #1f2937;
}

/* Submit Button */
.inline-checkout-submit {
    text-align: center;
    margin-top: 8px;
}

.funnel-submit-button {
    width: 100%;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    background: #6366f1;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.funnel-submit-button:hover {
    background: #4f46e5;
    transform: translateY(-1px);
}

.funnel-submit-button:active {
    transform: translateY(0);
}

.secure-badge {
    margin-top: 12px;
    font-size: 0.85rem;
    color: #6b7280;
    text-align: center;
}

/* Compact checkout variant */
.compact-checkout {
    max-width: 560px;
    padding: 24px;
    background: #f9fafb;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
}

.compact-checkout-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 20px 0;
    text-align: center;
}

.compact-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.compact-field {
    flex: 1;
}

.compact-field.phone-field {
    display: flex;
    gap: 8px;
}

.compact-input,
.compact-select {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #1f2937;
    background: #fff;
    box-sizing: border-box;
}

.compact-input:focus,
.compact-select:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.compact-cc {
    width: 80px;
    flex-shrink: 0;
}

.compact-summary {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px;
    margin: 16px 0;
}

.compact-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 0.9rem;
    color: #4b5563;
}

.compact-summary-row.total {
    border-top: 2px solid #e5e7eb;
    margin-top: 8px;
    padding-top: 10px;
    font-weight: 800;
    font-size: 1.05rem;
    color: #1f2937;
}

.compact-submit-btn {
    width: 100%;
    padding: 14px;
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    background: #6366f1;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s;
}

.compact-submit-btn:hover {
    background: #4f46e5;
}

.compact-secure {
    text-align: center;
    font-size: 0.8rem;
    color: #9ca3af;
    margin: 10px 0 0 0;
}

/* Inline product selector (rendered by funnel-checkout-hydration.js) */
.inline-products-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 0;
}

.inline-product-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    background: #fff;
}

.inline-product-item:hover {
    border-color: #6366f1;
    background: #f5f3ff;
}

.inline-product-item.selected {
    border-color: #6366f1;
    background: #eef2ff;
}

.product-selector-input {
    flex-shrink: 0;
}

.product-selector-input input[type="radio"],
.product-selector-input input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #6366f1;
}

.inline-product-item .product-image {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f3f4f6;
}

.inline-product-item .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.inline-product-item .product-info {
    flex: 1;
    min-width: 0;
}

.inline-product-item .product-name {
    font-weight: 700;
    color: #1f2937;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.inline-product-item .product-price {
    font-weight: 800;
    color: #6366f1;
    font-size: 1rem;
}

/* Responsive — inline checkout */
@media (max-width: 640px) {
    .inline-checkout-wrapper {
        padding: 16px;
    }

    .checkout-form-grid {
        grid-template-columns: 1fr;
    }

    .inline-checkout-title {
        font-size: 1.4rem;
    }

    .compact-row {
        flex-direction: column;
        gap: 10px;
    }
}

/* ============================================================
   Product List Block Styles
   ============================================================ */

/* --- Section wrapper --- */
.pl-section {
    padding: 60px 24px;
    background: #f8fafc;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.pl-section-featured {
    padding: 60px 24px;
    background: linear-gradient(160deg, #f0f4ff 0%, #f8fafc 60%, #fef9ff 100%);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.pl-container {
    max-width: 1080px;
    margin: 0 auto;
}

.pl-container-narrow {
    max-width: 820px;
    margin: 0 auto;
}

/* --- Header --- */
.pl-header {
    text-align: center;
    margin-bottom: 44px;
}

.pl-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.12), rgba(118, 75, 162, 0.12));
    color: #667eea;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 999px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.pl-badge-solid {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 18px;
    border-radius: 999px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.pl-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 10px;
    line-height: 1.25;
}

.pl-subtitle {
    color: #94a3b8;
    font-size: 0.92rem;
    margin: 0;
}

/* --- Grid layouts --- */
.pl-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}

.pl-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* --- Card (Grid variant) --- */
.pl-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e8edf5;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.06);
    transition: transform 0.22s, box-shadow 0.22s;
}

.pl-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(102, 126, 234, 0.14);
}

/* --- Card image wrapper --- */
.pl-card-img {
    width: 100%;
    height: 100px;
    max-height: 100px;
    background: linear-gradient(135deg, #f0f4ff, #e8edf5);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-sizing: border-box;
}

.pl-card-img img,
.pl-card-img [data-product-image] {
    width: auto !important;
    height: 80px !important;
    max-height: 80px !important;
    max-width: 100% !important;
    object-fit: contain !important;
    display: block !important;
}

/* --- Card body --- */
.pl-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.pl-card-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.35;
}

.pl-card-desc {
    color: #94a3b8;
    font-size: 0.8rem;
    margin: 0;
    flex: 1;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pl-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
}

.pl-card-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: #667eea;
}

.pl-card-btn {
    width: 100%;
    padding: 10px 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.02em;
    transition: opacity 0.2s;
    text-align: center;
}

.pl-card-btn:hover {
    opacity: 0.88;
}

/* --- Horizontal row card --- */
.pl-row {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e8edf5;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    transition: box-shadow 0.22s, transform 0.22s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pl-row:hover {
    box-shadow: 0 6px 24px rgba(102, 126, 234, 0.13);
    transform: translateX(3px);
}

.pl-row-img {
    width: 64px;
    height: 64px;
    min-width: 64px;
    max-width: 64px;
    min-height: 64px;
    max-height: 64px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f4ff, #e8edf5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    box-sizing: border-box;
}

.pl-row-img img,
.pl-row-img [data-product-image] {
    width: 50px !important;
    height: 50px !important;
    max-width: 50px !important;
    max-height: 50px !important;
    object-fit: contain !important;
    display: block !important;
}

.pl-row-info {
    flex: 1;
    min-width: 0;
}

.pl-row-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pl-row-desc {
    color: #94a3b8;
    font-size: 0.8rem;
    margin: 0 0 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pl-row-price {
    font-size: 1.05rem;
    font-weight: 800;
    color: #667eea;
}

.pl-row-action {
    flex-shrink: 0;
}

.pl-row-btn {
    padding: 9px 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    letter-spacing: 0.02em;
    transition: opacity 0.2s;
}

.pl-row-btn:hover {
    opacity: 0.88;
}

/* --- Featured card (highlighted centre) --- */
.pl-card-featured {
    background: linear-gradient(160deg, #667eea, #764ba2);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 6px 28px rgba(102, 126, 234, 0.3);
    transform: scale(1.03);
    transition: transform 0.22s, box-shadow 0.22s;
}

.pl-card-featured:hover {
    transform: scale(1.06);
    box-shadow: 0 14px 42px rgba(102, 126, 234, 0.42);
}

.pl-featured-badge {
    background: rgba(255, 255, 255, 0.18);
    text-align: center;
    padding: 6px 0;
    font-size: 0.72rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.pl-card-img-featured {
    width: 100%;
    height: 100px;
    max-height: 100px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-sizing: border-box;
}

.pl-card-img-featured img,
.pl-card-img-featured [data-product-image] {
    width: auto !important;
    height: 80px !important;
    max-height: 80px !important;
    max-width: 100% !important;
    object-fit: contain !important;
    display: block !important;
    opacity: 0.92;
}

.pl-card-body-featured {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.pl-featured-name {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 1.35;
}

.pl-featured-desc {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.8rem;
    margin: 0;
    line-height: 1.5;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pl-featured-footer {
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 4px;
}

.pl-featured-price {
    font-size: 1.2rem;
    font-weight: 900;
    color: #fff;
    display: block;
    margin-bottom: 10px;
}

.pl-featured-btn {
    width: 100%;
    padding: 10px 0;
    background: #fff;
    color: #667eea;
    border: none;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 800;
    cursor: pointer;
    letter-spacing: 0.02em;
    transition: opacity 0.2s;
    text-align: center;
}

.pl-featured-btn:hover {
    opacity: 0.9;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .pl-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pl-card-featured {
        transform: scale(1);
    }

    .pl-card-featured:hover {
        transform: scale(1.02);
    }

    .pl-title {
        font-size: 1.4rem;
    }
}