/* File: themes/snapbrainy-website/product-layouts/css/product-1259.css */
/* Version 8.2 - Warm Palette + PREMIUM EXAMPLES (NO TEXT CUT) */

/* --- CSS VARIABLES (WARM PALETTE) --- */
:root {
    --brand: #7FA99B;
    --accent: #D4846A;
    --text: #2C3639;
    --gray: #6B7280;
    --bg-light: #FAF8F3;
    --success: #6B9080;
    --error: #E07A5F;
    --radius: 12px;
    --shadow: 0 10px 30px -5px rgba(0,0,0,0.1);
    --container-padding: clamp(16px, 5vw, 40px);
    --warm-bg: #FFF8F0;
    --trust-bg: #F0F4F1;
    --pain-bg: #FDF4F2;
    --accent-glow: rgba(212, 132, 106, 0.25);
}

/* --- RESET & BASE --- */
body {
    background-color: #fff;
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
}

.sb-page-wrapper {
    overflow-x: hidden;
    padding-bottom: 80px;
}

.sb-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

/* --- HERO SECTION --- */
.sb-hero {
    padding: 30px 0 20px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-light) 0%, #ffffff 100%);
}

.sb-pre-headline {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}

.sb-hero h1 {
    font-size: clamp(1.75rem, 5vw, 3rem);
    line-height: 1.1;
    color: var(--brand);
    margin-bottom: 12px;
    font-weight: 800;
    text-wrap: balance;
}

.sb-sub {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.6;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.sb-benefits-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.sb-benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: var(--text);
    line-height: 1.5;
}

.sb-check {
    color: var(--success);
    font-size: 1.2rem;
    font-weight: bold;
    flex-shrink: 0;
}

.sb-hero-visual {
    margin-top: 25px;
    position: relative;
}

.sb-phone-mockup {
    display: inline-block;
    position: relative;
    transform: perspective(1000px) rotateY(-8deg);
    transition: transform 0.4s ease;
}

.sb-phone-mockup:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.sb-book-cover {
    width: 100%;
    height: auto;
    max-width: 280px;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    will-change: transform;
}

.sb-phone-glow {
    position: absolute;
    inset: -30px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
    opacity: 0.6;
}

.sb-social-proof {
    margin: 25px 0;
}

.sb-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.sb-stars {
    color: var(--accent);
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.sb-rating-text {
    font-size: 0.95rem;
    color: var(--gray);
    font-weight: 500;
}

.sb-btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent) 0%, #E69782 100%);
    color: #fff;
    padding: clamp(14px, 3vw, 18px) clamp(30px, 6vw, 45px);
    border-radius: 50px;
    font-weight: 700;
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(212, 132, 106, 0.4), inset 0 -2px 0 rgba(0,0,0,0.1);
    margin-top: 15px;
    position: relative;
    overflow: hidden;
}

.sb-btn-primary::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.sb-btn-primary:hover {
    background: linear-gradient(135deg, #E69782 0%, var(--accent) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(212, 132, 106, 0.6), inset 0 -2px 0 rgba(0,0,0,0.1);
}

.sb-btn-primary:active {
    transform: translateY(0);
}

.sb-micro-copy {
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 10px;
}

/* --- TRUST BADGES BAR --- */
.sb-trust-bar {
    background: var(--trust-bg);
    padding: clamp(20px, 5vw, 30px) 0;
    border-top: 1px solid #D8E3DD;
    border-bottom: 1px solid #D8E3DD;
}

.sb-trust-badges-scroll {
    display: flex;
    gap: clamp(15px, 4vw, 25px);
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.sb-trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-width: 70px;
}

.sb-trust-icon {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
}

.sb-trust-text {
    font-size: clamp(0.7rem, 1.8vw, 0.8rem);
    font-weight: 600;
    color: var(--brand);
    text-align: center;
    line-height: 1.2;
}

.sb-payment-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.75rem;
    color: var(--gray);
}

.sb-payment-text {
    font-weight: 600;
}

.sb-payment-methods {
    font-size: 0.75rem;
}

/* --- SECTIONS GENERAL --- */
.sb-section {
    padding: clamp(40px, 10vw, 60px) 0;
}

.sb-section-header {
    text-align: center;
    margin-bottom: clamp(25px, 6vw, 35px);
}

.sb-section-header h2 {
    font-size: clamp(1.5rem, 4vw, 1.9rem);
    color: var(--brand);
    margin-bottom: 8px;
    line-height: 1.2;
}

.sb-section-header p {
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    color: var(--gray);
}

/* --- EXAMPLES SECTION - PREMIUM PINTEREST (NO TEXT CUT) --- */
.sb-examples-section {
    background: var(--bg-light);
}

.sb-examples-grid {
    display: grid;
    gap: clamp(14px, 4vw, 20px);
    /* Auto rows - cards adjust to content height */
    grid-auto-rows: auto;
}

/* MOBILE: Horizontal Layout (Full Text Visible) */
@media (max-width: 767px) {
    .sb-examples-grid {
        grid-template-columns: 1fr;
    }
    
    .sb-example-card {
        display: flex;
        align-items: flex-start;
        gap: 16px;
        padding: 18px;
        background: #ffffff;
        border-radius: 14px;
        box-shadow: 0 2px 12px rgba(0,0,0,0.08);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
        /* Auto height - no min-height constraint */
        border: 2px solid transparent;
    }
    
    .sb-example-card::before {
        content: '';
        position: absolute;
        inset: -2px;
        background: linear-gradient(135deg, var(--accent), var(--brand), var(--accent));
        background-size: 200% 200%;
        border-radius: inherit;
        opacity: 0;
        transition: opacity 0.4s ease;
        z-index: -1;
        animation: gradient-shift 3s ease infinite;
    }
    
    @keyframes gradient-shift {
        0%, 100% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
    }
    
    .sb-example-card:active::before {
        opacity: 0.2;
    }
    
    .sb-example-card:active {
        transform: scale(0.98);
        box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    }
    
    /* Icon Circle - Left Side */
    .sb-example-icon {
        flex-shrink: 0;
        width: 56px;
        height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.8rem;
        background: linear-gradient(135deg, rgba(212, 132, 106, 0.15), rgba(127, 169, 155, 0.15));
        border-radius: 50%;
        border: 2px solid transparent;
        background-clip: padding-box;
        position: relative;
        transition: transform 0.3s ease;
        /* Align to top for long text */
        align-self: flex-start;
        margin-top: 2px;
    }
    
    .sb-example-icon::before {
        content: '';
        position: absolute;
        inset: -2px;
        border-radius: 50%;
        padding: 2px;
        background: linear-gradient(135deg, var(--accent), var(--brand));
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        opacity: 0.6;
    }
    
    .sb-example-card:active .sb-example-icon {
        transform: scale(1.1) rotate(5deg);
    }
    
    /* Content - Right Side (Full Text) */
    .sb-example-content {
        flex: 1;
        min-width: 0;
        /* Add spacing for arrow */
        padding-right: 32px;
    }
    
    .sb-example-card h3 {
        font-size: 1.05rem;
        color: var(--brand);
        margin: 0 0 6px 0;
        font-weight: 700;
        line-height: 1.3;
        /* Full text - no truncation */
    }
    
    .sb-example-card p {
        font-size: 0.9rem;
        color: var(--text);
        line-height: 1.6;
        margin: 0;
        /* Full text - NO line-clamp */
        /* Text naturally wraps and card expands */
    }
    
    .sb-keyword {
        color: var(--accent);
        font-weight: 700;
    }
    
    /* Arrow Indicator */
    .sb-example-card::after {
        content: '→';
        position: absolute;
        right: 16px;
        top: 20px;
        font-size: 1.2rem;
        color: var(--accent);
        opacity: 0.5;
        transition: all 0.3s ease;
    }
    
    .sb-example-card:active::after {
        opacity: 1;
        transform: translateX(4px);
    }
    
    /* Ripple Effect on Tap */
    .sb-example-card {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
}

/* TABLET: Transition Layout (480-767px) */
@media (min-width: 480px) and (max-width: 767px) {
    .sb-examples-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sb-example-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
        padding: 20px 16px;
    }
    
    .sb-example-icon {
        align-self: center;
        margin-top: 0;
    }
    
    .sb-example-content {
        padding-right: 0;
    }
    
    .sb-example-card::after {
        display: none;
    }
}

/* DESKTOP: Vertical Premium Layout (Full Text) */
@media (min-width: 768px) {
    .sb-examples-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
    
    .sb-example-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: clamp(24px, 5vw, 30px);
        background: #ffffff;
        border-radius: 16px;
        box-shadow: 0 4px 16px rgba(0,0,0,0.06);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: visible;
        border: 2px solid transparent;
        /* Auto height - expands with content */
    }
    
    .sb-example-card::before {
        content: '';
        position: absolute;
        inset: -2px;
        background: linear-gradient(135deg, var(--accent), var(--brand), var(--accent));
        background-size: 200% 200%;
        border-radius: inherit;
        opacity: 0;
        transition: opacity 0.4s ease;
        z-index: -1;
        animation: gradient-shift 3s ease infinite;
    }
    
    .sb-example-card:hover::before {
        opacity: 0.25;
    }
    
    .sb-example-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    }
    
    /* Icon Circle - Top Floating */
    .sb-example-icon {
        width: 72px;
        height: 72px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2.2rem;
        background: linear-gradient(135deg, rgba(212, 132, 106, 0.15), rgba(127, 169, 155, 0.15));
        border-radius: 50%;
        border: 3px solid transparent;
        background-clip: padding-box;
        position: relative;
        margin-bottom: 16px;
        transition: all 0.4s ease;
        box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    }
    
    .sb-example-icon::before {
        content: '';
        position: absolute;
        inset: -3px;
        border-radius: 50%;
        padding: 3px;
        background: linear-gradient(135deg, var(--accent), var(--brand));
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        opacity: 0.7;
    }
    
    .sb-example-icon::after {
        content: '';
        position: absolute;
        inset: -8px;
        border-radius: 50%;
        background: radial-gradient(circle, var(--accent-glow), transparent 60%);
        opacity: 0;
        transition: opacity 0.4s ease;
        z-index: -1;
    }
    
    .sb-example-card:hover .sb-example-icon {
        transform: scale(1.15) rotate(-5deg);
        box-shadow: 0 12px 28px rgba(0,0,0,0.15);
    }
    
    .sb-example-card:hover .sb-example-icon::after {
        opacity: 1;
    }
    
    /* Content (Full Text) */
    .sb-example-card h3 {
        font-size: clamp(1.05rem, 2.5vw, 1.15rem);
        color: var(--brand);
        margin: 0 0 10px 0;
        font-weight: 700;
        line-height: 1.3;
        /* Full text visible */
    }
    
    .sb-example-card p {
        font-size: clamp(0.9rem, 2vw, 0.95rem);
        color: var(--text);
        line-height: 1.6;
        margin: 0;
        /* Full text - NO truncation */
    }
    
    .sb-keyword {
        color: var(--accent);
        font-weight: 700;
    }
}

/* LARGE DESKTOP: 3-4 columns optimization */
@media (min-width: 1024px) {
    .sb-examples-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

/* --- GALLERY --- */
.sb-gallery-section {
    background: #fff;
    position: relative;
}

.sb-gallery-scroll {
    display: flex;
    overflow-x: auto;
    gap: clamp(12px, 3vw, 18px);
    padding: 10px 5px 30px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-padding: 0 var(--container-padding);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.sb-gallery-scroll::-webkit-scrollbar {
    display: none;
}

.sb-gallery-scroll::before,
.sb-gallery-scroll::after {
    content: '';
    flex: 0 0 5px;
}

.sb-gallery-card {
    flex: 0 0 clamp(180px, 50vw, 220px);
    scroll-snap-align: center;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sb-gallery-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.sb-gallery-card img {
    width: 100%;
    display: block;
    transition: transform 0.3s ease;
}

.sb-gallery-card:hover img {
    transform: scale(1.05);
}

.sb-zoom-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(127, 169, 155, 0.9);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    backdrop-filter: blur(4px);
    transition: all 0.2s;
}

.sb-gallery-card:hover .sb-zoom-icon {
    background: var(--accent);
    transform: scale(1.1);
}

.sb-gallery-section::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, var(--gray) 20%, var(--gray) 80%, transparent 100%);
    border-radius: 2px;
    opacity: 0.4;
}

/* --- TRANSFORMATION (BEFORE/AFTER) --- */
.sb-transformation-section {
    background: var(--bg-light);
}

.sb-comparison-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(20px, 5vw, 30px);
}

.sb-comparison-col {
    background: #fff;
    padding: clamp(25px, 6vw, 35px);
    border-radius: var(--radius);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    position: relative;
}

.sb-comparison-col h3 {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    margin-bottom: 5px;
    line-height: 1.3;
}

.sb-subtitle {
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    font-weight: 500;
    opacity: 0.8;
}

.sb-before {
    background: linear-gradient(135deg, var(--pain-bg) 0%, #ffffff 100%);
    border-left: 6px solid var(--error);
}

.sb-before h3 {
    color: var(--error);
}

.sb-before::before {
    content: '😰';
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    opacity: 0.12;
    pointer-events: none;
}

.sb-after {
    background: linear-gradient(135deg, var(--trust-bg) 0%, #ffffff 100%);
    border-left: 6px solid var(--success);
}

.sb-after h3 {
    color: var(--success);
}

.sb-after::before {
    content: '😌';
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    opacity: 0.12;
    pointer-events: none;
}

.sb-comparison-col ul {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.sb-comparison-col li {
    margin-bottom: 15px;
    font-size: clamp(0.9rem, 2vw, 0.95rem);
    line-height: 1.6;
    color: var(--text);
    padding-left: 30px;
    position: relative;
}

.sb-before li::before {
    content: '❌';
    position: absolute;
    left: 0;
    font-size: 1rem;
}

.sb-after li::before {
    content: '✅';
    position: absolute;
    left: 0;
    font-size: 1rem;
}

.sb-comparison-col strong {
    color: var(--brand);
    font-weight: 600;
}

/* --- TESTIMONIALS --- */
.sb-testimonials-section {
    background: #fff;
}

.sb-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(20px, 5vw, 25px);
}

.sb-testimonial-card {
    background: var(--bg-light);
    padding: clamp(20px, 5vw, 25px);
    border-radius: var(--radius);
    border-left: 4px solid var(--accent);
    position: relative;
}

.sb-testimonial-stars {
    color: var(--accent);
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.sb-testimonial-text {
    font-size: clamp(0.9rem, 2vw, 0.95rem);
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 15px;
    font-style: italic;
}

.sb-testimonial-author {
    font-size: 0.9rem;
    color: var(--brand);
    font-weight: 600;
    margin-bottom: 8px;
}

.sb-testimonial-meta {
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 400;
}

.sb-verified-badge {
    display: inline-block;
    background: #D8E8E3;
    color: var(--success);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 10px;
}

/* --- PAYMENT BOX --- */
.sb-payment-section {
    padding: 40px 0;
    background: #fff;
}

.sb-pay-card {
    border: 2px solid var(--accent);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.1);
    max-width: 480px;
    margin: 0 auto;
}

.sb-pay-header {
    background: linear-gradient(135deg, var(--brand) 0%, #6B9080 100%);
    color: #fff;
    text-align: center;
    padding: 15px;
}

.sb-pay-header h3 {
    color: #fff;
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.sb-pay-body {
    padding: clamp(20px, 6vw, 30px) clamp(18px, 5vw, 25px);
    text-align: center;
}

.sb-price-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.sb-old-price {
    text-decoration: line-through;
    color: #9CA3AF;
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    font-weight: 500;
}

.sb-main-price {
    display: flex;
    align-items: flex-start;
    color: var(--brand);
    line-height: 1;
    animation: price-pop 0.6s ease-out;
}

@keyframes price-pop {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.sb-main-price .curr {
    font-size: clamp(1.3rem, 4vw, 1.6rem);
    font-weight: 600;
    margin-top: 4px;
}

.sb-main-price .val {
    font-size: clamp(2.8rem, 8vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -2px;
}

.sb-main-price .cents {
    font-size: clamp(1rem, 3vw, 1.3rem);
    font-weight: 700;
    margin-top: 6px;
}

.sb-pay-note {
    font-size: clamp(0.85rem, 2vw, 0.9rem);
    color: var(--gray);
    margin-bottom: 20px;
    font-weight: 500;
}

.sb-express-wrapper {
    width: 100%;
    margin-bottom: 8px;
    contain: layout style;
    min-height: 0;
}

.sb-express-wrapper form.cart {
    display: block;
    margin: 0 0 4px 0;
    padding: 0;
}

.sb-express-wrapper .quantity,
.sb-express-wrapper .single_add_to_cart_button,
.sb-express-wrapper .woocommerce-variation-add-to-cart {
    display: none;
}

.sb-express-wrapper #wc-stripe-payment-request-wrapper,
.sb-express-wrapper .wc-stripe-payment-request-button,
.sb-express-wrapper #wc-stripe-payment-request-button-separator {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 0 8px 0;
}

.sb-express-wrapper #wc-stripe-payment-request-button {
    width: 100%;
    min-height: 48px;
    box-sizing: border-box;
}

.sb-express-wrapper .wc-ppcp-payment-buttons,
.sb-express-wrapper .wc-ppcp-button-container,
.sb-express-wrapper #ppc-button-ppcp-gateway {
    display: block;
    width: 100%;
    margin-bottom: 4px;
}

.sb-express-wrapper .wc-ppcp-button-container > div {
    width: 100%;
}

.sb-express-wrapper .wc-block-components-express-payment,
.sb-express-wrapper .wc-block-components-express-payment__content,
.sb-express-wrapper .wc-block-components-express-payment-method {
    display: block;
    width: 100%;
}

.sb-express-wrapper .wc-block-components-express-payment__event-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.sb-express-wrapper iframe,
.sb-express-wrapper [data-testid="payment-request-button"] {
    width: 100%;
    max-width: 100%;
}

.sb-divider {
    position: relative;
    margin: 16px 0;
    text-align: center;
}

.sb-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #E5E7EB;
    z-index: 1;
}

.sb-divider span {
    position: relative;
    z-index: 2;
    background: #fff;
    padding: 0 15px;
    color: #9CA3AF;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.sb-btn-white {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: #ffffff;
    color: #000;
    border: 1px solid #D1D5DB;
    padding: 14px;
    border-radius: 4px;
    font-weight: 600;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.sb-btn-white:hover {
    background-color: #F9FAFB;
    border-color: #9CA3AF;
    transform: translateY(-1px);
}

.sb-btn-white:active {
    transform: scale(0.98);
}

.sb-icon-card {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.sb-trust-row {
    margin-top: 20px;
    font-size: 0.75rem;
    color: #9CA3AF;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-weight: 500;
    flex-wrap: wrap;
}

.sb-trust-row img {
    opacity: 0.8;
    filter: grayscale(100%);
}

/* --- FAQ --- */
.sb-faq-section {
    background: var(--bg-light);
}

.sb-faq-title {
    text-align: center;
    font-size: clamp(1.4rem, 4vw, 1.6rem);
    color: var(--brand);
    margin-bottom: 25px;
}

.sb-faq-item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 12px;
    padding: 18px 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.sb-faq-item summary {
    font-weight: 600;
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    color: var(--brand);
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 30px;
    min-height: 48px;
    display: flex;
    align-items: center;
}

.sb-faq-item summary::-webkit-details-marker {
    display: none;
}

.sb-faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.2s;
    color: var(--accent);
}

.sb-faq-item[open] summary::after {
    content: '−';
}

.sb-faq-item p {
    margin-top: 12px;
    font-size: clamp(0.9rem, 2vw, 0.95rem);
    color: var(--text);
    line-height: 1.7;
}

/* --- STICKY BAR --- */
.sb-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, #ffffff 0%, var(--warm-bg) 100%);
    border-top: 2px solid var(--accent);
    padding: 12px var(--container-padding);
    box-shadow: 0 -6px 30px rgba(0,0,0,0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.sb-sticky-bar.visible {
    transform: translateY(0);
}

.sb-sticky-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sb-sticky-title {
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    font-weight: 600;
    color: var(--text);
}

.sb-sticky-price {
    font-weight: 800;
    color: var(--brand);
    font-size: clamp(1rem, 2.5vw, 1.1rem);
}

.sb-sticky-btn {
    background: linear-gradient(135deg, var(--accent) 0%, #E69782 100%);
    color: #fff;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    font-size: clamp(0.9rem, 2vw, 1rem);
    white-space: nowrap;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(212, 132, 106, 0.3);
}

.sb-sticky-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(212, 132, 106, 0.5);
}

/* --- MODAL --- */
.sb-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(44, 54, 57, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
}

.sb-modal[open] {
    display: flex;
    animation: sb-modal-fade-in 0.3s ease;
}

@keyframes sb-modal-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.sb-modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(70px, 12vh, 90px) clamp(15px, 4vw, 30px) clamp(90px, 14vh, 130px);
    box-sizing: border-box;
}

.sb-modal-body {
    width: 100%;
    max-width: min(85vw, 700px);
    height: clamp(400px, 55vh, 600px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.sb-modal-body img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.sb-modal-close {
    position: fixed;
    top: clamp(15px, 3vh, 25px);
    right: clamp(15px, 3vw, 25px);
    color: #fff;
    font-size: clamp(28px, 5vw, 36px);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: clamp(42px, 8vw, 52px);
    height: clamp(42px, 8vw, 52px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10001;
}

.sb-modal-close:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    transform: rotate(90deg);
}

.sb-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent);
    color: #fff;
    border: none;
    width: clamp(48px, 8vw, 62px);
    height: clamp(48px, 8vw, 62px);
    border-radius: 50%;
    font-size: clamp(22px, 4vw, 30px);
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(212, 132, 106, 0.4);
    z-index: 10001;
}

.sb-nav:hover {
    background: #E69782;
    transform: translateY(-50%) scale(1.12);
    box-shadow: 0 6px 24px rgba(212, 132, 106, 0.6);
}

.sb-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.sb-nav.prev {
    left: clamp(12px, 3vw, 22px);
}

.sb-nav.next {
    right: clamp(12px, 3vw, 22px);
}

.sb-nav.prev::before {
    content: '‹';
    display: block;
    margin-right: 2px;
}

.sb-nav.next::before {
    content: '›';
    display: block;
    margin-left: 2px;
}

.sb-modal-footer {
    position: fixed;
    bottom: clamp(20px, 4vh, 40px);
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10001;
}

.sb-modal-cta {
    background: var(--accent);
    color: #fff;
    padding: clamp(12px, 2.5vh, 17px) clamp(32px, 7vw, 55px);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: clamp(0.95rem, 2.5vw, 1.15rem);
    display: inline-block;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(212, 132, 106, 0.4);
}

.sb-modal-cta:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(212, 132, 106, 0.6);
}

/* --- RESPONSIVE --- */
@media (min-width: 768px) {
    .sb-gallery-scroll {
        justify-content: center;
        flex-wrap: wrap;
        overflow-x: visible;
        padding-bottom: 10px;
    }
    
    .sb-gallery-section::after {
        display: none;
    }
    
    .sb-gallery-card {
        flex: 0 0 220px;
    }
    
    .sb-sticky-bar {
        display: none;
    }
    
    .sb-page-wrapper {
        padding-bottom: 0;
    }
    
    .sb-comparison-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
