/* Pricing Tab Styles - Complete Styling */

/* Base Container - layout only (no outer border) */
.sm-pricing-tab-content {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
}

/* Container wrapper for better spacing control */
.sm-pricing-container {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Header Styles - Aligned with features */
.sm-pricing-tab-content .sm-tab-header {
    display: none; /* Hide duplicate header since main section has its own */
}

/* Header Wrapper for inline notice */
.sm-pricing-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e8e8e8;
    margin-bottom: 32px;
}

.sm-pricing-main-heading {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin: 0 !important;
    line-height: 1.3 !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    flex: 0 1 auto;
    margin-right: 12px;
}
}

/* Remove blue gradient underline */
.sm-pricing-tab-content .sm-tab-header h2::after,
.sm-pricing-main-heading::after {
    display: none !important;
    content: none !important;
}

.sm-tab-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

/* Section Spacing - Aligned with Features */
.sm-pricing-tab-content .sm-section {
    margin: 20px 0;
    padding: 20px;
    width: 100%;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    display: block !important; /* force a vertical flow container */
}

/* Stack container to avoid cross-file layout conflicts */
.sm-pricing-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}
/* Hard enforce vertical flow for all immediate children inside pricing stack */
.sm-pricing-stack > * {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    clear: both !important;
    position: static !important;
    align-self: stretch !important;
}
/* EXCEPTIONS inside stack */
.sm-pricing-stack > .sm-pricing-header-wrapper { display: flex !important; align-items: baseline !important; gap: 16px; }
.sm-pricing-stack > .sm-pricing-overview { display: flex !important; }
/* keep plan grids as grid (3-up on desktop) */
.sm-pricing-stack > .simplybook-pricing-plans,
.sm-pricing-stack > .sm-pricing-table {
    display: grid !important;
}
@media (min-width: 1024px) {
    .sm-pricing-stack > .simplybook-pricing-plans,
    .sm-pricing-stack > .sm-pricing-table {
        grid-template-columns: repeat(3, minmax(280px, 1fr)) !important;
        gap: 24px !important;
    }
}
/* Ensure these sections never float to a sidebar */
.sm-enterprise-section,
.sm-pricing-qa-section,
.sm-pricing-faq-section,
.sm-pricing-overview-wrapper,
.sm-pricing-table {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    position: static !important;
}

/* Force all immediate children to stack vertically and occupy full width */
.sm-pricing-tab-content .sm-section > * {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    clear: both !important;
}

/* EXCEPTIONS: pricing header and pricing plans containers */
/* Keep header row as flex so the notice can align right */
.sm-pricing-tab-content .sm-section > .sm-pricing-header-wrapper {
    display: flex !important;
}
/* Allow overview to be flex (so model left, highlights right on desktop) */
.sm-pricing-tab-content .sm-section > .sm-pricing-overview {
    display: flex !important;
}
/* Pricing plans grid should remain grid (3 side-by-side on desktop) */
.sm-pricing-tab-content .sm-section > .simplybook-pricing-plans,
.sm-pricing-tab-content .sm-section > .sm-pricing-table {
    display: grid !important;
}
/* But inside our stack, keep every block full width */
.sm-pricing-stack .simplybook-pricing-plans,
.sm-pricing-stack .sm-pricing-table {
    width: 100% !important;
}

/* Desktop: 3 columns side-by-side for available plans */
@media (min-width: 1024px) {
    .simplybook-pricing-plans,
    .sm-pricing-table {
        grid-template-columns: repeat(3, minmax(280px, 1fr)) !important;
        gap: 24px !important;
    }
}

.sm-pricing-tab-content .sm-section:first-child {
    margin-top: 0;
}

.sm-pricing-tab-content .sm-section:last-child {
    margin-bottom: 0;
}

.sm-pricing-tab-content .sm-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #374151;
    margin: 0 0 16px 0;
    line-height: 1.4;
}

/* Pricing Overview - Modern Design */
.sm-pricing-tab-content .sm-pricing-overview,
.sm-section .sm-pricing-overview {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    margin-top: 32px;
    padding: 28px !important;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%) !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.sm-pricing-tab-content .sm-pricing-overview:hover,
.sm-section .sm-pricing-overview:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12) !important;
    transform: translateY(-2px);
}

.sm-pricing-tab-content .sm-pricing-overview .sm-pricing-summary,
.sm-pricing-tab-content .sm-pricing-overview .sm-pricing-type,
.sm-pricing-tab-content .sm-pricing-overview .sm-pricing-highlights,
.sm-section .sm-pricing-overview .sm-pricing-summary,
.sm-section .sm-pricing-overview .sm-pricing-type,
.sm-section .sm-pricing-overview .sm-pricing-highlights {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
}

/* Add border between pricing type and highlights when stacked vertically (mobile/tablet) */
.sm-pricing-tab-content .sm-pricing-overview .sm-pricing-type,
.sm-section .sm-pricing-overview .sm-pricing-type {
    border-right: none !important;
    padding-right: 0 !important;
    padding-bottom: 20px !important;
    border-bottom: 1px solid #e5e7eb !important;
}

.sm-pricing-tab-content .sm-pricing-overview .sm-pricing-highlights,
.sm-section .sm-pricing-overview .sm-pricing-highlights {
    padding-left: 0 !important;
    padding-top: 20px !important;
}

/* Desktop layout: side-by-side with vertical separator */
@media (min-width: 1024px) {
    .sm-pricing-tab-content .sm-pricing-overview,
    .sm-section .sm-pricing-overview {
        flex-direction: row !important;
        align-items: flex-start;
    }
    .sm-pricing-tab-content .sm-pricing-overview .sm-pricing-type,
    .sm-section .sm-pricing-overview .sm-pricing-type {
        flex: 1 1 0;
        border-bottom: none !important;
        border-right: 1px solid #e5e7eb !important;
        padding-right: 20px !important;
    }
    .sm-pricing-tab-content .sm-pricing-overview .sm-pricing-highlights,
    .sm-section .sm-pricing-overview .sm-pricing-highlights {
        flex: 1 1 0;
        padding-top: 0 !important;
        padding-left: 20px !important;
    }
}

/* If only one column exists, remove divider/padding */
.sm-pricing-overview > *:only-child {
    border: 0 !important;
    padding: 0 !important;
}

.sm-pricing-overview-wrapper {
    display: block;
    width: 100%;
    margin: 20px 0;
}

.sm-pricing-info-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.6;
    color: #374151;
}

/* Pricing Badges - Modern Design */
.sm-pricing-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.sm-pricing-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.sm-pricing-free {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border: none;
}

.sm-pricing-freemium {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
    border: none;
}

.sm-pricing-paid {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    border: none;
}

/* Benefits List */
.sm-pricing-benefits {
    list-style: none;
    padding: 0;
    margin: 16px 0 0 0;
}

.sm-pricing-benefits li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0;
    font-size: 14px;
    color: #374151;
}

.sm-check {
    color: #10b981;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
}

/* Pricing Table */
.sm-pricing-table {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.sm-pricing-plan {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    background: #fff;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.sm-pricing-plan:hover,
.sm-pricing-plan.hovered {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.sm-pricing-plan.featured {
    border-color: var(--sm-primary);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
}

.sm-popular-badge {
    background: #2563eb;
    color: #fff;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sm-pricing-plan h4 {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 12px 0;
}

.sm-plan-description {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.5;
}

.sm-price {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    margin: 16px 0;
    line-height: 1;
}

.sm-price small {
    font-size: 14px;
    font-weight: 400;
    color: #6b7280;
    margin-left: 2px;
}

.sm-plan-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    border-top: 1px solid #f3f4f6;
    padding-top: 16px;
}

.sm-plan-features li {
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.sm-plan-features li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sm-plan-features li:before {
    content: '✓';
    color: #10b981;
    font-weight: bold;
    margin-right: 8px;
    flex-shrink: 0;
}

.sm-plan-action {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #f3f4f6;
}

.sm-plan-button {
    display: inline-block;
    background: linear-gradient(135deg, #003049 0%, #0a3d5e 100%);
    color: #fff;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    margin-top: 16px;
    transition: all 0.3s ease;
    font-size: 15px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 48, 73, 0.25);
    position: relative;
    overflow: hidden;
}

.sm-plan-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.sm-plan-button:hover::before {
    left: 100%;
}

.sm-plan-button:hover {
    background: linear-gradient(135deg, #0a3d5e 0%, #003049 100%);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 48, 73, 0.4);
}

.sm-plan-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 48, 73, 0.3);
}

.sm-plan-button.sm-primary {
    background: linear-gradient(135deg, #003049 0%, #0a3d5e 100%);
}

.sm-plan-button.sm-primary:hover {
    background: linear-gradient(135deg, #0a3d5e 0%, #003049 100%);
}

/* Pricing Messages */
.sm-pricing-message {
    text-align: center;
    padding: 40px 20px;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.sm-pricing-type-display h4 {
    margin-bottom: 16px;
    color: #111827;
    font-size: 20px;
    font-weight: 600;
}

.sm-pricing-type-display p {
    margin-bottom: 24px;
    color: #6b7280;
    font-size: 16px;
    line-height: 1.6;
}

/* Enterprise Section - Clean minimal */
.sm-enterprise-section {
    background: #003049;
    color: #fff;
    border-radius: 12px;
    padding: 28px 24px;
    margin: 20px 0;
    width: 100%;
    box-sizing: border-box;
}

.sm-enterprise-section h3 {
    color: #ffffff !important;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

/* Center inner content and align text/button cleanly */
.sm-enterprise-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
}


.sm-enterprise-text p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 12px;
    color: #ffffff !important;
}

/* Benefits spacing */
.sm-enterprise-benefits { margin: 12px 0 0 0; }
.sm-enterprise-benefits li { color: #ffffff !important; }

/* CTA alignment */
.sm-enterprise-cta { text-align: center; }

.sm-enterprise-benefits {
    list-style: none;
    padding: 0;
    margin: 12px 0;
}

.sm-enterprise-benefits li {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.sm-enterprise-button {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 2px solid #fff;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    min-width: 160px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.sm-enterprise-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.sm-enterprise-button:hover::before {
    left: 100%;
}

.sm-enterprise-button:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #003049;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.sm-enterprise-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Q&A Section Styles */
.sm-pricing-qa-section,
.sm-pricing-faq-section {
    display: block;
    width: 100%;
    margin: 20px 0;
}

.sm-pricing-qa,
.sm-pricing-faq {
    margin: 32px 0;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.sm-qa-item,
.sm-faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 12px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    overflow: hidden;
}

.sm-qa-question,
.sm-faq-question {
    padding: 16px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    border-radius: 8px 8px 0 0;
    transition: background-color 0.3s;
    user-select: none;
}

.sm-qa-question:hover,
.sm-faq-question:hover {
    background: #f1f5f9;
}

.sm-qa-question h4,
.sm-faq-question h4 {
    margin: 0;
    color: #111827;
    font-size: 16px;
    font-weight: 600;
    flex-grow: 1;
    padding-right: 16px;
}

.sm-qa-toggle,
.sm-faq-toggle {
    font-size: 18px;
    font-weight: bold;
    color: #6b7280;
    transition: transform 0.3s, color 0.3s;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(107, 114, 128, 0.1);
    flex-shrink: 0;
}

.sm-qa-toggle.active,
.sm-faq-toggle.active {
    transform: rotate(45deg);
    color: #2563eb;
    background: rgba(37, 99, 235, 0.1);
}

.sm-qa-answer,
.sm-faq-answer {
    padding: 20px;
    border-top: 1px solid #e5e7eb;
    background: white;
    display: none;
}

.sm-qa-answer p,
.sm-faq-answer p {
    margin: 0 0 12px 0;
    color: #374151;
    font-size: 14px;
    line-height: 1.6;
}

.sm-qa-answer p:last-child,
.sm-faq-answer p:last-child {
    margin-bottom: 0;
}

.sm-qa-responses {
    margin-bottom: 16px;
}

.sm-qa-response {
    margin: 8px 0;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 6px;
    border-left: 3px solid var(--sm-primary);
}

.sm-qa-response p {
    margin: 0;
    font-size: 14px;
    color: #374151;
}

.sm-qa-response strong {
    color: #111827;
    font-weight: 600;
}

.sm-qa-text-samples {
    margin-top: 16px;
}

.sm-qa-text-samples h5 {
    margin: 16px 0 12px 0;
    color: #374151;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sm-qa-text-samples blockquote {
    margin: 12px 0;
    padding: 12px 16px;
    background: #f1f5f9;
    border-left: 4px solid var(--sm-primary);
    border-radius: 0 4px 4px 0;
    font-style: italic;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.5;
}

.sm-qa-text-samples blockquote:first-of-type {
    margin-top: 0;
}

.sm-qa-text-samples blockquote:last-of-type {
    margin-bottom: 0;
}

/* Responsive Design */

@media (max-width: 1024px) {
    /* Stack the two blocks on tablets/phones */
    .sm-pricing-tab-content .sm-pricing-overview,
    .sm-section .sm-pricing-overview {
        flex-direction: column;
    }

    /* Remove vertical divider and use horizontal spacing */
    .sm-pricing-tab-content .sm-pricing-overview .sm-pricing-type,
    .sm-section .sm-pricing-overview .sm-pricing-type {
        border-right: none !important;
        padding-right: 0 !important;
        padding-bottom: 20px !important;
        margin-bottom: 20px !important;
        border-bottom: 1px solid #e5e7eb !important;
    }

    .sm-pricing-tab-content .sm-pricing-overview .sm-pricing-highlights,
    .sm-section .sm-pricing-overview .sm-pricing-highlights {
        padding-left: 0 !important;
        padding-top: 20px !important;
    }

    .sm-pricing-table {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .sm-pricing-tab-content {
        padding: 16px 20px;
    }
    
    .sm-pricing-header-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .sm-pricing-main-heading {
        font-size: 24px !important;
    }
    
    .sm-pricing-notice {
        width: 100%;
    }
    
    .sm-pricing-table {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .sm-enterprise-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
    }
    
    .sm-section {
        margin: 30px 0;
    }
    
    .sm-tab-header h2 {
        font-size: 20px;
    }
    
    .sm-qa-question h4,
    .sm-faq-question h4 {
        font-size: 15px;
    }
    
    .sm-qa-question,
    .sm-faq-question {
        padding: 14px 16px;
    }
    
    .sm-qa-answer,
    .sm-faq-answer {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .sm-pricing-tab-content {
        padding: 12px 16px;
    }
    
    
    .sm-pricing-plan {
        padding: 16px;
    }
    
    .sm-section {
        margin: 24px 0;
    }
    
    .sm-price {
        font-size: 28px;
    }
    
    .sm-plan-button {
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* Animation for FAQ toggles */
@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        max-height: 500px;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        max-height: 500px;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        max-height: 0;
        transform: translateY(-10px);
    }
}

.sm-qa-answer.show,
.sm-faq-answer.show {
    display: block;
    animation: slideDown 0.3s ease-out;
}

.sm-qa-answer.hide,
.sm-faq-answer.hide {
    animation: slideUp 0.3s ease-out;
}

/* SimplyBook.me Style Pricing */
.simplybook-pricing-header {
    text-align: left;
    margin: 0 0 32px 0;
    padding: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.simplybook-pricing-subheader {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    color: #6b7280;
}

.simplybook-pricing-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #dcfce7;
    color: #166534;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid #bbf7d0;
}

.simplybook-pricing-badge span {
    font-size: 10px;
    font-weight: bold;
}


/* SimplyBook.me Style Pricing Plans Grid */
.simplybook-pricing-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.simplybook-plan {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    background: #fff;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
}

.simplybook-plan:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
    border-color: var(--sm-primary);
}

.simplybook-plan-name {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 8px 0;
    text-align: center;
}

.simplybook-plan-price {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    text-align: center;
    margin: 8px 0;
    line-height: 1;
}

.simplybook-plan-billing {
    text-align: center;
    font-size: 14px;
    color: #6b7280;
    margin: 8px 0 24px 0;
}

.simplybook-plan-includes {
    margin: 20px 0 16px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #f3f4f6;
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.simplybook-plan-features {
    list-style: none;
    padding: 0;
    margin: 16px 0 24px 0;
    flex-grow: 1;
}

.simplybook-plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    font-size: 14px;
    color: #374151;
    line-height: 1.4;
}

.simplybook-plan-features .check-icon {
    color: #10b981;
    font-weight: bold;
    font-size: 12px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #dcfce7;
    border-radius: 50%;
    border: 1px solid #bbf7d0;
}

.simplybook-plan-footer {
    margin-top: auto;
    padding-top: 16px;
}

.simplybook-plan-button {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #003049 0%, #0a3d5e 100%);
    color: #fff;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 48, 73, 0.25);
    position: relative;
    overflow: hidden;
}

.simplybook-plan-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.simplybook-plan-button:hover::before {
    left: 100%;
}

.simplybook-plan-button:hover {
    background: linear-gradient(135deg, #0a3d5e 0%, #003049 100%);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 48, 73, 0.4);
}

.simplybook-plan-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 48, 73, 0.3);
}


/* Pricing Notice/Disclaimer Section - Clean minimal style */
.sm-pricing-notice {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    flex-shrink: 0;
    transition: none;
    margin-left: auto; /* push Last verified to the right inside header */
    display: flex;
    align-items: center;
}

.sm-pricing-notice:hover {
    border-color: none;
    box-shadow: none;
    transform: none;
}

.sm-pricing-notice-content {
    display: flex;
    gap: 8px;
    align-items: center;
}

.sm-pricing-notice-icon {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 0;
    position: relative;
    cursor: help;
    transition: transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.sm-pricing-notice-icon:hover {
    transform: scale(1.1);
}

/* Tooltip styling */
.sm-pricing-notice-icon[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 8px;
    padding: 12px 16px;
    background: #1f2937;
    color: #fff;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    white-space: normal;
    max-width: 350px;
    width: max-content;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    pointer-events: none;
    animation: tooltipFadeIn 0.2s ease;
    text-align: left;
}

/* Tooltip arrow */
.sm-pricing-notice-icon[data-tooltip]:hover::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 2px;
    border: 6px solid transparent;
    border-top-color: #1f2937;
    z-index: 1001;
    pointer-events: none;
    animation: tooltipFadeIn 0.2s ease;
}

@keyframes tooltipFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.sm-pricing-notice-text {
    flex: 1;
}

.sm-pricing-notice-text {
    display: flex;
    align-items: center;
}

.sm-pricing-last-verified {
    display: flex;
    align-items: center;
    margin: 0;
    font-size: 14px;
    line-height: 1;
    color: #374151;
    white-space: nowrap;
}

.sm-pricing-last-verified strong {
    color: #111827;
    font-weight: 600;
    margin-right: 4px;
}

/* Responsive adjustments for SimplyBook style */
@media (max-width: 768px) {
    .simplybook-pricing-plans {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .simplybook-pricing-subheader {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .simplybook-plan {
        padding: 20px;
    }
    
    .simplybook-plan-price {
        font-size: 28px;
    }
    
    .sm-pricing-notice-content {
        flex-direction: row;
        gap: 12px;
        align-items: center;
    }
    
    .sm-pricing-notice-icon {
        font-size: 20px;
    }
    
    .sm-pricing-last-verified {
        font-size: 12px;
    }
    
    /* Mobile tooltip adjustments */
    .sm-pricing-notice-icon[data-tooltip]:hover::after {
        max-width: 280px;
        font-size: 12px;
        padding: 10px 14px;
        left: 10px;
        transform: translateX(0);
    }
    
    .sm-pricing-notice-icon[data-tooltip]:hover::before {
        left: 30px;
        transform: translateX(0);
    }
}
