/* =========================================
   Viper Wrap Studio - Window Tinting Calculator
   Mobile-First Responsive Styles
   ========================================= */

/* CSS Variables */
:root {
    --primary-blue: #1e40af;
    --primary-blue-hover: #1e3a8a;
    --accent-red: #dc2626;
    --accent-red-hover: #b91c1c;
    --accent-red-soft: rgba(220, 38, 38, 0.10);
    --accent-red-border: rgba(220, 38, 38, 0.35);
    --info-blue: #3b82f6;
    --success-green: #16a34a;
    --warning-amber: #f59e0b;

    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --bg-selected: #eff6ff;

    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;

    --border-color: #e2e8f0;
    --border-selected: var(--primary-blue);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;

    --transition: 0.3s ease;

    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 0;
}

/* Focus Styles for Accessibility */
:focus-visible {
    outline: 3px solid var(--info-blue);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--info-blue);
    outline-offset: 2px;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary-blue);
    color: white;
    padding: 8px 16px;
    z-index: 1000;
}

.skip-link:focus {
    top: 0;
}

/* Container */
.calculator-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px;
}

/* Header */
.calculator-header {
    text-align: center;
    padding: 24px 16px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2563eb 100%);
    color: white;
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
}

.calculator-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.calculator-header .subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 16px;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.trust-badges .badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.trust-badges .icon {
    color: #86efac;
}

/* Progress Indicator */
.progress-container {
    background: var(--bg-white);
    padding: 16px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.progress-text {
    text-align: center;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.progress-bar {
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 16px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-blue), var(--info-blue));
    border-radius: 4px;
    transition: width var(--transition);
}

.progress-steps {
    display: flex;
    justify-content: space-between;
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--border-color);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition);
}

.step-indicator.active .step-number,
.step-indicator.completed .step-number {
    background: var(--primary-blue);
    color: white;
}

.step-indicator.completed .step-number::after {
    content: '✓';
}

.step-indicator.completed .step-number {
    font-size: 0;
}

.step-indicator.completed .step-number::after {
    font-size: 0.85rem;
}

.step-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: center;
}

.step-indicator.active .step-label {
    color: var(--primary-blue);
    font-weight: 600;
}

/* Main Layout */
.calculator-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Step Sections */
.calculator-steps {
    flex: 1;
}

.step-section {
    display: none;
    background: var(--bg-white);
    padding: 24px 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.step-section.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
}

/* Coverage Cards */
.coverage-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.coverage-card {
    position: relative;
    padding: 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
}

.coverage-card:hover {
    border-color: var(--info-blue);
    box-shadow: var(--shadow-md);
}

.coverage-card.selected {
    border-color: var(--primary-blue);
    background: var(--bg-selected);
}

.coverage-card .popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-red);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.coverage-icon {
    width: 100px;
    height: auto;
    margin: 0 auto 15px;
    display: block;
}

.coverage-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.coverage-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.coverage-note {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Vehicle Size Section */
.vehicle-size-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.subsection-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.vehicle-size-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.size-option {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
}

.size-option:hover {
    border-color: var(--info-blue);
}

.size-option input {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-blue);
}

.size-option:has(input:checked) {
    border-color: var(--primary-blue);
    background: var(--bg-selected);
}

.size-label {
    display: flex;
    flex-direction: column;
}

.size-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.size-description {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Film Cards */
.film-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.film-card {
    position: relative;
    padding: 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition);
}

.film-card:hover {
    border-color: var(--info-blue);
    box-shadow: var(--shadow-md);
}

.film-card.selected {
    border-color: var(--primary-blue);
    background: var(--bg-selected);
}

.film-card .popular-badge {
    position: absolute;
    top: -10px;
    right: 16px;
    background: var(--accent-red);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.film-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.film-header h3 {
    font-size: 1.1rem;
}

.film-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.film-features {
    list-style: none;
    margin-bottom: 12px;
}

.film-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 4px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.film-features .check {
    color: var(--success-green);
    font-weight: bold;
    flex-shrink: 0;
}

.film-best-for {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

.film-note {
    font-size: 0.85rem;
    color: var(--info-blue);
    margin-top: 8px;
}

/* VLT Section */
.vlt-info-box {
    background: var(--bg-light);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.vlt-tooltip {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.info-icon {
    color: var(--info-blue);
    font-weight: bold;
    flex-shrink: 0;
}

.vlt-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.vlt-button {
    position: relative;
    min-width: 70px;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-white);
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
}

.vlt-button:hover {
    border-color: var(--info-blue);
}

.vlt-button.selected {
    border-color: var(--primary-blue);
    background: var(--bg-selected);
}

.vlt-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.vlt-status {
    display: block;
    font-size: 0.7rem;
    margin-top: 4px;
}

.vlt-status.legal {
    color: var(--success-green);
}

.vlt-status.info {
    color: var(--info-blue);
}

/* VLT Preview */
.vlt-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.preview-window {
    position: relative;
    width: 120px;
    height: 80px;
    background: linear-gradient(135deg, #87ceeb 0%, #b0e0e6 50%, #87ceeb 100%);
    border: 4px solid #333;
    border-radius: 8px 8px 4px 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.preview-tint {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    transition: background var(--transition);
}

.preview-label {
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.preview-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
}

/* Legal Info Box */
.legal-info-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #1e40af;
}

.legal-info-box .info-icon {
    font-size: 1.1rem;
}

/* MA Laws Accordion */
.ma-laws-accordion {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
}

.ma-laws-accordion summary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-secondary);
    transition: background var(--transition);
}

.ma-laws-accordion summary:hover {
    background: var(--bg-light);
}

.ma-laws-accordion[open] summary {
    border-bottom: 1px solid var(--border-color);
}

.accordion-icon {
    color: var(--info-blue);
}

.accordion-content {
    padding: 16px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.accordion-content p {
    margin-bottom: 12px;
}

.accordion-content ul {
    margin-left: 20px;
    margin-bottom: 16px;
}

.accordion-content li {
    margin-bottom: 6px;
}

/* Add-ons */
.addons-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.addon-card {
    display: block;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition);
}

.addon-card:hover {
    border-color: var(--info-blue);
}

.addon-card:has(input:checked) {
    border-color: var(--primary-blue);
    background: var(--bg-selected);
}

.addon-card input {
    display: none;
}

.addon-content {
    position: relative;
}

.addon-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.addon-name {
    font-weight: 600;
    font-size: 1rem;
}

.addon-price {
    font-weight: 700;
    color: var(--primary-blue);
}

.addon-popular {
    display: inline-block;
    background: var(--warning-amber);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.addon-features {
    list-style: none;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.addon-features li {
    padding: 3px 0;
}

.addon-features .legal-check {
    color: var(--success-green);
    font-weight: bold;
}

.upgrade-prompt {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: #fef3c7;
    border: 1px solid #fcd34d;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: #92400e;
}

/* Navigation Buttons */
.step-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    min-height: 48px;
}

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

.btn-primary:hover {
    background: var(--primary-blue-hover);
}

.btn-primary:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
}

.btn-secondary {
    background: var(--bg-light);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--border-color);
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
    background: var(--bg-selected);
}

.btn-text {
    background: transparent;
    color: var(--text-secondary);
    padding: 10px;
}

.btn-text:hover {
    color: var(--primary-blue);
}

.btn-small {
    font-size: 0.85rem;
    padding: 8px 12px;
    min-height: 36px;
}

.btn-next {
    width: 100%;
}

.btn-arrow {
    font-size: 1.2rem;
}

/* Price Panel */
.price-panel {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.price-panel-content {
    padding: 24px 20px;
}

.price-panel-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
}

.price-breakdown {
    margin-bottom: 20px;
}

.price-item-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    margin-bottom: 8px;
}

.price-item-main .item-price {
    color: var(--primary-blue);
    font-size: 1.1rem;
}

.price-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    padding-left: 8px;
    border-left: 2px solid var(--border-color);
}

.price-addons {
    margin-top: 12px;
}

.addon-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px dashed var(--border-color);
}

.addon-line:last-child {
    border-bottom: none;
}

.price-divider {
    height: 2px;
    background: var(--text-primary);
    margin: 16px 0;
}

.price-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-label {
    font-weight: 700;
    font-size: 1rem;
}

.total-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.legal-note {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #eff6ff;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    margin-top: 12px;
    font-size: 0.8rem;
    color: #1e40af;
}

.price-guarantees {
    margin-bottom: 16px;
}

.guarantee {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.guarantee .check {
    color: var(--success-green);
    font-weight: bold;
}

.price-disclaimer {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.price-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-book {
    font-size: 1.1rem;
    padding: 16px 24px;
    background: var(--accent-red);
}

.btn-book:hover {
    background: #b91c1c;
}

.btn-call {
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn-call:hover {
    background: var(--bg-light);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.phone-icon {
    font-size: 1.2rem;
}

.panel-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.print-icon, .reset-icon {
    font-size: 1rem;
}

/* Footer */
.calculator-footer {
    margin-top: 24px;
    padding: 20px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    text-align: center;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 12px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.trust-item .icon {
    color: var(--success-green);
}

.footer-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-text a {
    color: var(--primary-blue);
    text-decoration: none;
}

.footer-text a:hover {
    text-decoration: underline;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 16px;
    overflow-y: auto;
}

.modal {
    position: relative;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 24px;
    animation: modalFadeIn 0.3s ease;
}

.modal-small {
    max-width: 360px;
    text-align: center;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    background: var(--bg-light);
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.modal-close:hover {
    background: var(--border-color);
    color: var(--text-primary);
}

.modal h2 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    padding-right: 40px;
}

.modal-subtitle {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.quote-summary {
    background: var(--bg-light);
    padding: 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.85rem;
}

.quote-summary-item {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
}

.quote-summary-item.total {
    font-weight: 700;
    border-top: 1px solid var(--border-color);
    margin-top: 8px;
    padding-top: 8px;
}

.quote-summary-note {
    margin-top: 12px;
    padding: 10px;
    background: #eff6ff;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    color: #1e40af;
}

/* Form */
.form-row {
    margin-bottom: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.required {
    color: var(--accent-red);
}

.form-group input,
.form-group textarea {
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-blue);
    outline: none;
}

.form-group input.error,
.form-group textarea.error {
    border-color: var(--accent-red);
}

.error-message {
    color: var(--accent-red);
    font-size: 0.8rem;
    margin-top: 4px;
    min-height: 20px;
}

.radio-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 0.9rem;
}

.radio-option input {
    accent-color: var(--primary-blue);
}

.btn-submit {
    width: 100%;
    margin-top: 8px;
}

/* Form Success */
.form-success {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: var(--success-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.form-success h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.form-success p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* Modal Actions */
.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
}

.modal-actions .btn {
    flex: 1;
    max-width: 150px;
}

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

.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;
}

/* Print footer - hidden on screen */
.print-footer {
    display: none;
}

.disclaimer-box {
    background: #fff3cd;
    border: 2px solid #ffc107;
    padding: 10px;
    margin-bottom: 10px;
    text-align: center;
    font-size: 0.9rem;
    color: #856404;
    border-radius: var(--radius-sm);
}

/* Tablet (641px+) */
@media (min-width: 641px) {
    .calculator-container {
        padding: 24px;
    }

    .calculator-header h1 {
        font-size: 2rem;
    }

    .coverage-options {
        flex-direction: row;
    }

    .coverage-card {
        flex: 1;
    }

    .vehicle-size-options {
        flex-direction: row;
    }

    .size-option {
        flex: 1;
    }

    .film-options {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .step-nav {
        flex-direction: row;
        justify-content: space-between;
    }

    .btn-next {
        width: auto;
    }

    .step-label {
        font-size: 0.8rem;
    }
}

/* Desktop (1025px+) */
@media (min-width: 1025px) {
    .calculator-main {
        flex-direction: row;
        align-items: flex-start;
    }

    .calculator-steps {
        flex: 1;
        min-width: 0;
    }

    .price-panel {
        position: sticky;
        top: 24px;
        width: 360px;
        flex-shrink: 0;
    }

    .step-section {
        padding: 32px;
    }

    .step-title {
        font-size: 1.5rem;
    }
}

/* Mobile Sticky Price Panel */
@media (max-width: 1024px) {
    .price-panel {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        z-index: 100;
        max-height: 70vh;
        overflow-y: auto;
        transform: translateY(calc(100% - 140px));
        transition: transform var(--transition);
    }

    .price-panel.expanded {
        transform: translateY(0);
    }

    .price-panel-content {
        padding-bottom: 24px;
    }

    .price-panel::before {
        content: '';
        display: block;
        width: 40px;
        height: 4px;
        background: var(--border-color);
        border-radius: 2px;
        margin: 8px auto 12px;
        cursor: pointer;
    }

    .calculator-steps {
        padding-bottom: 160px;
    }
}

/* Print Styles */
@media print {
    /* Reset margins and padding */
    * {
        margin: 0;
        padding: 0;
    }

    body {
        background: white;
        margin: 0;
        padding: 10mm;
        font-size: 10pt;
    }

    /* Page setup */
    @page {
        size: letter;
        margin: 10mm;
    }

    /* Hide unnecessary elements */
    .calculator-header,
    .progress-container,
    .step-nav,
    .btn,
    .btn-primary,
    .btn-secondary,
    .ma-laws-accordion,
    .panel-actions,
    .calculator-footer,
    .modal-overlay,
    .price-actions,
    .no-print {
        display: none !important;
    }

    /* Show print footer only when printing */
    .print-footer {
        display: block !important;
        position: relative;
        width: 100%;
        text-align: center;
        font-size: 8pt;
        margin-top: 15px;
        padding-top: 10px;
        border-top: 1px solid #ccc;
    }

    .print-footer p {
        margin: 2px 0;
    }

    .print-footer .disclaimer-box {
        background: #fff3cd !important;
        border: 2px solid #000 !important;
        padding: 8px;
        margin-bottom: 8px;
        font-size: 9pt;
        color: #000 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
        border-radius: 4px;
    }

    /* Condense container */
    .calculator-container {
        max-width: 100%;
        padding: 0;
        margin: 0;
    }

    .calculator-main {
        gap: 10px;
    }

    /* Condense step sections */
    .step-section {
        display: block !important;
        box-shadow: none;
        border: 1px solid var(--border-color);
        padding: 10px;
        margin-bottom: 8px;
        page-break-inside: avoid;
    }

    .step-title {
        font-size: 11pt;
        margin-bottom: 8px;
        padding-bottom: 5px;
    }

    h1, h2, h3 {
        margin: 5px 0;
        font-size: 12pt;
    }

    /* Compact coverage options */
    .coverage-options {
        gap: 8px;
        margin-bottom: 10px;
    }

    .coverage-card {
        padding: 8px;
    }

    .coverage-card:not(.selected) {
        display: none;
    }

    .coverage-icon {
        display: none;
    }

    .coverage-card h3 {
        font-size: 10pt;
        margin-bottom: 2px;
    }

    .coverage-description,
    .coverage-note {
        font-size: 8pt;
        margin: 0;
    }

    .popular-badge {
        display: none;
    }

    /* Hide vehicle size section if not selected */
    .vehicle-size-section {
        margin-top: 8px;
        padding-top: 8px;
    }

    .size-option:not(:has(input:checked)) {
        display: none;
    }

    .size-option {
        padding: 6px 10px;
    }

    /* Compact film options */
    .film-options {
        gap: 8px;
        margin-bottom: 10px;
    }

    .film-card {
        padding: 8px;
    }

    .film-card:not(.selected) {
        display: none;
    }

    .film-header h3 {
        font-size: 10pt;
    }

    .film-price {
        font-size: 11pt;
    }

    .film-features {
        margin-bottom: 5px;
    }

    .film-features li {
        font-size: 8pt;
        padding: 1px 0;
    }

    .film-best-for,
    .film-note {
        font-size: 8pt;
    }

    /* Compact VLT section */
    .vlt-info-box {
        display: none;
    }

    .vlt-options {
        gap: 5px;
        margin-bottom: 10px;
    }

    .vlt-button {
        padding: 6px 10px;
        min-width: 50px;
    }

    .vlt-button:not(.selected) {
        display: none;
    }

    .vlt-value {
        font-size: 10pt;
    }

    .vlt-status {
        font-size: 7pt;
    }

    .vlt-preview {
        margin-bottom: 10px;
    }

    .preview-window {
        width: 80px;
        height: 50px;
    }

    .preview-description {
        font-size: 8pt;
    }

    .legal-info-box {
        padding: 8px;
        font-size: 8pt;
        margin-bottom: 10px;
    }

    /* Compact add-ons */
    .addons-container {
        gap: 8px;
        margin-bottom: 10px;
    }

    .addon-card {
        padding: 8px;
    }

    .addon-card:not(:has(input:checked)) {
        display: none;
    }

    .addon-name {
        font-size: 9pt;
    }

    .addon-price {
        font-size: 9pt;
    }

    .addon-popular {
        display: none;
    }

    .addon-features {
        font-size: 8pt;
    }

    .addon-features li {
        padding: 1px 0;
    }

    .upgrade-prompt {
        display: none;
    }

    /* Compact price panel */
    .price-panel {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        box-shadow: none;
        border: 2px solid var(--primary-blue);
        margin: 10px 0;
        page-break-inside: avoid;
    }

    .price-panel::before {
        display: none;
    }

    .price-panel-content {
        padding: 12px;
    }

    .price-panel-title {
        font-size: 11pt;
        margin-bottom: 10px;
        padding-bottom: 8px;
    }

    .price-breakdown {
        margin-bottom: 10px;
    }

    .price-item-main {
        font-size: 10pt;
        margin-bottom: 5px;
    }

    .price-item-main .item-price {
        font-size: 10pt;
    }

    .price-details {
        font-size: 8pt;
        gap: 2px;
        margin-bottom: 8px;
        padding-left: 6px;
    }

    .addon-line {
        font-size: 9pt;
        padding: 4px 0;
    }

    .price-divider {
        margin: 10px 0;
    }

    .total-label {
        font-size: 10pt;
    }

    .total-price {
        font-size: 14pt;
    }

    .legal-note {
        padding: 6px 8px;
        font-size: 7pt;
        margin-top: 8px;
    }

    .price-guarantees {
        margin-bottom: 10px;
    }

    .guarantee {
        font-size: 8pt;
        padding: 3px 0;
    }

    .price-disclaimer {
        font-size: 7pt;
        margin-bottom: 0;
    }

    /* Selection indicators */
    .coverage-card.selected,
    .film-card.selected,
    .vlt-button.selected,
    .addon-card:has(input:checked) {
        border-width: 2px;
        border-color: var(--primary-blue);
    }

    /* Ensure no page breaks */
    .calculator-main,
    .calculator-steps {
        page-break-inside: avoid;
    }

    /* Add padding at bottom for footer */
    .calculator-container {
        padding-bottom: 60px;
    }
}

/* =========================================
   RED ACCENT LAYER (to match viperwrapstudio.com)
   ========================================= */


/* Header: add subtle red brand energy */
.calculator-header {
  background: linear-gradient(135deg, var(--primary-blue) 0%, #2563eb 65%, var(--accent-red) 100%);
}


/* Progress: blend blue -> red */
.progress-fill {
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-red));
}


/* Step titles: red underline instead of gray */
.step-title {
  border-bottom-color: var(--accent-red-border);
}


/* Selected cards: add a red top-accent bar */
.coverage-card.selected,
.film-card.selected,
.vlt-button.selected,
.addon-card:has(input:checked) {
  box-shadow: 0 8px 18px rgba(220, 38, 38, 0.08);
}


.coverage-card.selected::before,
.film-card.selected::before,
.vlt-button.selected::before,
.addon-card:has(input:checked)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-red);
  border-radius: 10px 10px 0 0;
}


/* Make sure cards can hold the ::before bar cleanly */
.coverage-card,
.film-card,
.vlt-button,
.addon-card {
  position: relative;
  overflow: visible;
}


/* Selected background gets a subtle red tint (still clean + professional) */
.coverage-card.selected,
.film-card.selected,
.vlt-button.selected,
.addon-card:has(input:checked) {
  background: linear-gradient(0deg, var(--accent-red-soft), var(--bg-selected));
}


/* Price panel: more "brand" emphasis */
.price-panel {
  border-top: 6px solid var(--accent-red);
}


/* Total price: turn red (big conversion anchor) */
.total-price {
  color: var(--accent-red);
}


/* Divider: slightly red for cohesion */
.price-divider {
  background: linear-gradient(90deg, var(--accent-red), var(--text-primary));
}


/* Buttons: keep your booking button red (already), but unify hover */
.btn-book:hover {
  background: var(--accent-red-hover);
}


/* Outline button: add a red hover state so it doesn't feel too blue */
.btn-outline:hover {
  border-color: var(--accent-red);
  color: var(--accent-red);
  background: var(--accent-red-soft);
}


/* Required field asterisk is already red via --accent-red (keep) */
.required {
  color: var(--accent-red);
}


/* =========================================
   PREMIUM HIGH-END DESIGN UPGRADE
   ========================================= */

/* Import premium font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Updated CSS Variables for Premium Look */
:root {
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Refined color palette */
    --bg-light: #f7f8fa;
    --bg-white: #ffffff;
    --bg-selected: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 100%);

    /* Premium shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 40px rgba(30, 64, 175, 0.15);

    /* Glass effect */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.5);

    /* Refined radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    /* Smoother transitions */
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Premium body styling */
body {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 50%, #f0f2f5 100%);
    background-attachment: fixed;
}

/* Container with subtle glass effect */
.calculator-container {
    max-width: 1280px;
    padding: 24px;
}

/* Premium Header */
.calculator-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1e40af 100%);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    position: relative;
    overflow: hidden;
}

.calculator-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.calculator-header h1 {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
    position: relative;
}

.calculator-header .subtitle {
    font-size: 1.125rem;
    font-weight: 400;
    opacity: 0.85;
    letter-spacing: 0.01em;
}

/* Premium trust badges */
.trust-badges .badge {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px 18px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Progress container styling */
.progress-container {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
}

.progress-bar {
    height: 6px;
    background: linear-gradient(90deg, #e2e8f0, #f1f5f9);
    border-radius: 3px;
}

.progress-fill {
    background: linear-gradient(90deg, #1e40af 0%, #3b82f6 50%, #dc2626 100%);
    border-radius: 3px;
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.4);
}

.step-number {
    width: 32px;
    height: 32px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.step-indicator.active .step-number,
.step-indicator.completed .step-number {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

/* Premium step sections */
.step-section {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f172a;
    border-bottom: 3px solid;
    border-image: linear-gradient(90deg, #dc2626 0%, #f87171 100%) 1;
    padding-bottom: 16px;
    margin-bottom: 28px;
}

/* Premium coverage cards */
.coverage-card {
    padding: 28px 24px;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-lg);
    background: var(--bg-white);
    transition: var(--transition);
}

.coverage-card:hover {
    border-color: #93c5fd;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.coverage-card.selected {
    border-color: #1e40af;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 100%);
    box-shadow: var(--shadow-lg), 0 0 0 4px rgba(30, 64, 175, 0.1);
}

.coverage-card .popular-badge {
    top: -12px;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
}

.coverage-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* Premium film cards */
.film-card {
    padding: 28px 24px;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.film-card:hover {
    border-color: #93c5fd;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.film-card.selected {
    border-color: #1e40af;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 100%);
    box-shadow: var(--shadow-lg), 0 0 0 4px rgba(30, 64, 175, 0.1);
}

.film-card .popular-badge {
    top: -12px;
    right: 20px;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
}

.film-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.film-price {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.film-features li {
    font-size: 0.9rem;
    padding: 6px 0;
}

.film-features .check {
    color: #10b981;
    font-size: 1rem;
}

/* Premium badge for High-End Ceramic */
.premium-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    color: #fbbf24;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(251, 191, 36, 0.3);
}

/* High-End Ceramic premium card */
.film-card-premium {
    background: linear-gradient(135deg, #fefce8 0%, #fffbeb 100%);
    border: 2px solid #fcd34d;
    position: relative;
}

.film-card-premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(251, 191, 36, 0.05) 100%);
    border-radius: inherit;
    pointer-events: none;
}

.film-card-premium:hover {
    border-color: #f59e0b;
    box-shadow: var(--shadow-lg), 0 0 30px rgba(251, 191, 36, 0.2);
}

.film-card-premium.selected {
    border-color: #f59e0b;
    background: linear-gradient(135deg, #fef9c3 0%, #fef3c7 100%);
    box-shadow: var(--shadow-lg), 0 0 0 4px rgba(251, 191, 36, 0.2);
}

/* Contact Us price styling */
.film-price-contact {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    letter-spacing: 0.02em;
}

/* Premium VLT buttons */
.vlt-button {
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.vlt-button:hover {
    border-color: #93c5fd;
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.vlt-button.selected {
    border-color: #1e40af;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 100%);
    box-shadow: var(--shadow-md), 0 0 0 4px rgba(30, 64, 175, 0.1);
}

.vlt-value {
    font-size: 1.25rem;
    font-weight: 700;
}

/* Premium add-on cards */
.addon-card {
    padding: 20px;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.addon-card:hover {
    border-color: #93c5fd;
    box-shadow: var(--shadow-sm);
}

.addon-card:has(input:checked) {
    border-color: #1e40af;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 100%);
    box-shadow: var(--shadow-md), 0 0 0 4px rgba(30, 64, 175, 0.1);
}

.addon-name {
    font-weight: 700;
    font-size: 1.05rem;
}

.addon-price {
    font-weight: 800;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.addon-popular {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 6px;
}

/* Premium buttons */
.btn {
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.35);
    transform: translateY(-1px);
}

.btn-primary:disabled {
    background: linear-gradient(135deg, #94a3b8 0%, #cbd5e1 100%);
    box-shadow: none;
}

/* Premium price panel */
.price-panel {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-top: none;
    position: relative;
    overflow: visible;
}

.price-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #dc2626 0%, #f87171 50%, #fbbf24 100%);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.price-panel-content {
    padding: 32px 28px;
}

.price-panel-title {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #0f172a;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 16px;
    margin-bottom: 24px;
}

.total-price {
    font-size: 2.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-divider {
    height: 2px;
    background: linear-gradient(90deg, #dc2626 0%, #0f172a 100%);
    margin: 20px 0;
}

.guarantee {
    font-size: 0.9rem;
    padding: 8px 0;
}

.guarantee .check {
    color: #10b981;
    font-size: 1.1rem;
}

/* Premium booking button */
.btn-book {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 18px 28px;
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.35);
    border-radius: var(--radius-md);
}

.btn-book:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%);
    box-shadow: 0 8px 30px rgba(220, 38, 38, 0.45);
    transform: translateY(-2px);
}

/* Premium footer */
.calculator-footer {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.trust-item {
    font-weight: 500;
}

/* Premium modal */
.modal {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

/* Override the red accent bar for selected cards - make it cleaner */
.coverage-card.selected::before,
.film-card.selected::before,
.vlt-button.selected::before,
.addon-card:has(input:checked)::before {
    height: 3px;
    background: linear-gradient(90deg, #1e40af 0%, #3b82f6 100%);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* Premium film card override for better selected state */
.film-card-premium.selected::before {
    background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 100%);
}

/* Selected background override for cleaner look */
.coverage-card.selected,
.film-card.selected,
.vlt-button.selected,
.addon-card:has(input:checked) {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 100%);
}

/* Vehicle size options premium styling */
.size-option {
    border-radius: var(--radius-md);
    padding: 16px 20px;
    transition: var(--transition);
}

.size-option:hover {
    border-color: #93c5fd;
    box-shadow: var(--shadow-sm);
}

.size-option:has(input:checked) {
    border-color: #1e40af;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 100%);
    box-shadow: var(--shadow-md);
}

.size-name {
    font-weight: 700;
    font-size: 1rem;
}

/* Premium info boxes */
.vlt-info-box {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 16px 20px;
}

.legal-info-box {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #93c5fd;
    border-radius: var(--radius-md);
    padding: 16px 20px;
}

/* Premium accordion */
.ma-laws-accordion {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.ma-laws-accordion summary {
    padding: 18px 20px;
    font-weight: 600;
}

/* Responsive adjustments for premium design */
@media (min-width: 1025px) {
    .price-panel {
        width: 380px;
    }

    .step-section {
        padding: 40px 36px;
    }
}

@media (max-width: 1024px) {
    .price-panel::before {
        display: none;
    }

    .price-panel {
        border-top: 6px solid;
        border-image: linear-gradient(90deg, #dc2626 0%, #f87171 50%, #fbbf24 100%) 1;
    }
}

/* =========================================
   PRICE PANEL REVEAL BEHAVIOR
   Hide until all steps complete
   ========================================= */

/* Hide price panel by default */
.price-panel {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

/* Show price panel when revealed */
.price-panel.show {
    display: block !important;
    opacity: 1;
}

/* Desktop: price panel appears on right side */
@media (min-width: 1025px) {
    .price-panel.show {
        animation: fadeInSlide 0.5s ease-out forwards;
    }

    @keyframes fadeInSlide {
        from {
            opacity: 0;
            transform: translateX(20px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
}

/* Mobile: price panel replaces steps container */
@media (max-width: 1024px) {
    .price-panel.show {
        position: relative !important;
        transform: none !important;
        max-height: none;
        border-radius: var(--radius-xl);
        animation: fadeInUp 0.5s ease-out forwards;
    }

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

    /* Hide steps when price panel is shown on mobile */
    .calculator-steps.hide-steps {
        display: none !important;
    }

    /* When price panel is shown, remove bottom padding from steps container */
    .calculator-steps.hide-steps + .price-panel.show {
        margin-top: 0;
    }

    /* Remove fixed positioning behavior when shown */
    .price-panel.show::before {
        display: none;
    }
}

/* Back to Calculator button */
.btn-back-to-calc {
    width: 100%;
    margin-top: 16px;
    background: var(--bg-light);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    font-weight: 600;
    transition: var(--transition);
}

.btn-back-to-calc:hover {
    border-color: var(--primary-blue);
    background: var(--bg-selected);
    color: var(--primary-blue);
}

/* Hide back button on desktop */
@media (min-width: 1025px) {
    .btn-back-to-calc {
        display: none;
    }
}

/* Hide progress indicator when showing price panel on mobile */
@media (max-width: 1024px) {
    .calculator-steps.hide-steps ~ .price-panel.show {
        /* Ensure price panel takes full space */
    }

    /* When steps are hidden, also hide progress on mobile for cleaner summary view */
    body.showing-price-panel .progress-container {
        display: none;
    }
}

/* =========================================
   MOBILE IFRAME & HEADER FIXES
   ========================================= */
@media (max-width: 768px) {
    /* Fix body height for iframe */
    body {
        min-height: auto !important;
        height: auto !important;
    }

    .container {
        min-height: auto !important;
        padding-bottom: 50px;
    }

    /* Compact header on mobile */
    .calculator-header {
        padding: 15px 20px !important;
        margin-bottom: 15px !important;
    }

    .calculator-header h1 {
        font-size: 1.5rem !important;
        margin-bottom: 5px !important;
        line-height: 1.2 !important;
    }

    .calculator-header .subtitle {
        font-size: 0.85rem !important;
        margin-bottom: 8px !important;
    }

    .trust-badges {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        justify-content: center;
    }

    .trust-badges .badge {
        font-size: 0.75rem !important;
        padding: 4px 8px !important;
    }
}

/* Remove all bottom spacing */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.calculator-container,
.main-container {
    margin-bottom: 0 !important;
    padding-bottom: 20px !important;
}

.calculator-footer,
.footer,
.footer-section,
.trust-badges,
footer {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Last element should have no bottom spacing */
body > *:last-child,
.calculator-container > *:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Mobile specific */
@media (max-width: 768px) {
    body {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .calculator-container {
        padding-bottom: 15px !important;
        margin-bottom: 0 !important;
    }
}

/* Reduce large padding on steps (was 160px - only needs ~145px to clear fixed panel) */
@media (max-width: 1024px) {
    .calculator-steps {
        padding-bottom: 145px !important;
    }
}
