<style>
/* --- 1. GLOBAL VARIABLES & RESET --- */
:root {
    --sb-dark: #0f172a;       
    --sb-text: #334155;       
    --sb-bg: #f8fafc;         
    
    /* COLORE FORZATO: Navy Blue */
    --sb-brand: #01144f !important;      
    /* Glow blu */
    --sb-brand-glow: rgba(1, 20, 79, 0.3) !important;
    
    --sb-border: #e2e8f0;
    --sb-font: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
    --sb-ease: cubic-bezier(0.25, 1, 0.5, 1);
}

/* BASE */
.sb-app-wrapper { 
    font-family: var(--sb-font); color: var(--sb-text); background: #fff; line-height: 1.6; 
    overflow-x: hidden;  
}
.sb-container { width: 100%; max-width: 1000px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.center { text-align: center; }
html { scroll-behavior: smooth; }

/* TYPOGRAPHY */
h1.sb-h1 { font-size: 2.2rem; line-height: 1.15; font-weight: 800; color: var(--sb-dark); margin: 0 0 12px 0; letter-spacing: -0.02em; }
h2.sb-h2 { font-size: 1.6rem; line-height: 1.25; font-weight: 700; color: var(--sb-dark); margin-bottom: 24px; letter-spacing: -0.01em; }
p.sb-p { font-size: 1.1rem; color: var(--sb-text); margin-bottom: 20px; opacity: 0.95; }

/* BUTTON (Generic CTA - Hero & Sticky) - FORZATO BLU */
.sb-btn { 
    display: inline-flex; justify-content: center; align-items: center; 
    background-color: var(--sb-brand) !important; color: #ffffff !important; 
    font-weight: 700; font-size: 1.05rem; padding: 14px 28px; 
    border-radius: 12px; text-decoration: none; border: none; cursor: pointer; 
    width: 100%; text-align: center; letter-spacing: 0.02em; 
    box-shadow: 0 10px 25px -5px var(--sb-brand-glow); 
    transition: transform 0.2s var(--sb-ease), box-shadow 0.2s var(--sb-ease); 
}
.sb-btn:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 15px 35px -5px var(--sb-brand-glow); 
    background-color: #000f3d !important; /* Blu ancora più scuro in hover */
}

/* SECTIONS */
.sb-hero-wrap { padding: 30px 0 30px; } 
section.sb-section-gap { margin-bottom: 40px; } 
section.sb-section-bg { padding: 50px 0; margin-bottom: 40px; background: var(--sb-bg); }

/* --- 2. PAIN POINTS & FEATURES --- */
.sb-pain-list { display: flex; flex-direction: column; gap: 12px; max-width: 650px; margin: 0 auto; }
.sb-pain-item { display: flex; gap: 16px; align-items: flex-start; padding: 4px 0; }
.sb-icon-pain { color: #ef4444; background: #fef2f2; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; font-weight: bold; }
.sb-pain-txt { font-size: 1.05rem; font-weight: 500; color: var(--sb-dark); line-height: 1.4; margin-top: 4px; }

.sb-grid-2 { display: grid; gap: 16px; }
.sb-method-card { 
    background: #fff; padding: 20px 24px; 
    border-radius: 16px; border: 1px solid var(--sb-border); 
    display: flex; gap: 16px; align-items: flex-start; 
}
.sb-icon-box { font-size: 1.8rem; line-height: 1; flex-shrink: 0; }
.sb-card-t { font-weight: 700; font-size: 1.05rem; color: var(--sb-dark); margin: 0 0 6px 0; }
.sb-card-d { font-size: 0.95rem; color: var(--sb-text); margin: 0; line-height: 1.5; }

/* Content Prose */
.sb-prose { max-width: 700px; margin: 0 auto; font-size: 1.1rem; color: #334155; }
.sb-prose p { margin-bottom: 1.4em; }
.sb-prose h2 { font-size: 1.5rem; font-weight: 800; color: var(--sb-dark); margin-top: 2em; margin-bottom: 0.8em; }


/* --- 3. PREMIUM PEEK INSIDE CAROUSEL --- */
.sb-peek-section { overflow: hidden; position: relative; }

.sb-peek-carousel {
    display: flex; 
    gap: 16px; 
    overflow-x: auto; 
    scroll-snap-type: x mandatory; 
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 20px 24px 50px 24px; 
    margin: 0 -24px; 
    scrollbar-width: none;
    align-items: center;
}
.sb-peek-carousel::-webkit-scrollbar { display: none; }

.sb-peek-slide {
    flex: 0 0 75vw; 
    max-width: 360px;
    aspect-ratio: 1 / 1.414; 
    scroll-snap-align: center;
    position: relative;
    perspective: 1000px;
    transition: transform 0.4s var(--sb-ease), opacity 0.4s var(--sb-ease);
    opacity: 0.5; 
    transform: scale(0.92); 
    z-index: 1;
}

.sb-peek-slide.is-active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.sb-peek-btn {
    appearance: none; -webkit-appearance: none; background: #fff; border: none;
    padding: 0; margin: 0; display: block; width: 100%; height: 100%;
    border-radius: 12px;
    overflow: hidden;
    cursor: zoom-in;
    position: relative;
    box-shadow: 0 10px 30px -5px rgba(50, 60, 90, 0.15), 0 4px 6px -2px rgba(50, 60, 90, 0.05);
    transition: box-shadow 0.3s var(--sb-ease);
}
.sb-peek-slide.is-active .sb-peek-btn {
    box-shadow: 0 25px 50px -12px rgba(30, 40, 60, 0.25);
    border: 1px solid rgba(0,0,0,0.04); 
}

.sb-peek-thumb { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.sb-peek-overlay {
    position: absolute; bottom: 12px; right: 12px;
    width: 36px; height: 36px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    opacity: 0; transform: scale(0.8);
    transition: all 0.3s var(--sb-ease);
    color: var(--sb-dark);
}
.sb-peek-slide.is-active .sb-peek-overlay { opacity: 1; transform: scale(1); }

/* Navigation Dots */
.sb-peek-dots { 
    display: flex; justify-content: center; gap: 8px; 
    margin-top: -20px; margin-bottom: 20px; 
}
.sb-peek-dot { 
    width: 8px; height: 8px; border-radius: 10px; 
    background: #cbd5e1; 
    transition: all 0.3s var(--sb-ease);
}
.sb-peek-dot.active { 
    width: 28px; 
    background: var(--sb-brand) !important; /* FORZATO BLU */
}


/* --- 4. PREMIUM MODAL --- */
.sb-peek-modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 10000;
    display: flex; flex-direction: column; 
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.3s var(--sb-ease), visibility 0.3s;
}
.sb-peek-modal.open { opacity: 1; visibility: visible; pointer-events: auto; }

.sb-peek-backdrop {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.96); 
    backdrop-filter: blur(8px);
    z-index: 0;
}

.sb-peek-close {
    position: absolute; 
    top: max(20px, env(safe-area-inset-top) + 20px); 
    right: 20px; 
    width: 44px; height: 44px;
    background: rgba(30, 41, 59, 0.6); 
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; cursor: pointer; z-index: 20;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.2s;
}
.sb-peek-close:active { transform: scale(0.9); background: rgba(30, 41, 59, 0.8); }

.sb-peek-stage { 
    flex: 1; position: relative; z-index: 1; 
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; 
    width: 100%; height: 100%;
}
.sb-peek-zoom-wrap {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    overflow: auto; 
}

.sb-peek-full-img {
    max-width: 100%; max-height: 100%; 
    width: auto; height: auto;
    object-fit: contain; 
    transition: transform 0.1s linear;
    will-change: transform;
    user-select: none;
}
.sb-peek-full-img.is-zoomed {
    transform: scale(2.5);
    cursor: grab;
    transition: transform 0.3s var(--sb-ease);
}

.sb-peek-cta-bar {
    position: absolute; bottom: 0; left: 0; width: 100%;
    padding: 30px 20px max(30px, env(safe-area-inset-bottom) + 20px) 20px;
    text-align: center; z-index: 20;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 60%, rgba(0,0,0,0) 100%);
    pointer-events: none; 
}
.sb-peek-link {
    display: inline-block; pointer-events: auto;
    color: #fff; text-decoration: none; font-weight: 600; font-size: 1.05rem;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.2s;
}
.sb-peek-link:active { transform: scale(0.95); background: rgba(255,255,255,0.25); }


/* --- 5. CHECKOUT & OFFER --- */
.sb-offer-section { 
    background: var(--sb-bg); padding: 10px 0 80px; 
    margin-top: 40px; 
    scroll-margin-top: 20px; 
}
.sb-checkout-wrap {
    background: #fff; border-radius: 20px; max-width: 440px; margin: 0 auto;
    box-shadow: 0 30px 60px -12px rgba(0,0,0,0.12), 0 10px 20px -5px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.06); 
    overflow: hidden; position: relative;
}
/* BORDO SUPERIORE GIALLO ELIMINATO -> ORA BLU */
.sb-checkout-wrap::before { 
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px; 
    background: var(--sb-brand) !important; 
}
.sb-card-body { padding: 25px 20px 20px 20px; text-align: center; } 

/* PILLOLA LIMITED TIME OFFER -> ORA TESTO BLU e SFONDO AZZURRO */
.sb-pill-badge { 
    background: #eff6ff !important; 
    color: var(--sb-brand) !important; 
    font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; 
    padding: 5px 12px; border-radius: 100px; display: inline-block; margin-bottom: 12px; 
}
.sb-price-block { margin-bottom: 18px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.sb-price-old { text-decoration: line-through; color: #94a3b8; font-size: 1.1rem; font-weight: 500; }
.sb-price-main { font-size: 3rem; font-weight: 800; color: var(--sb-dark); line-height: 1; letter-spacing: -2px; }
.sb-save-tag { background: #dcfce7; color: #166534; font-size: 0.65rem; font-weight: 700; padding: 3px 6px; border-radius: 4px; margin-left: 0px; align-self: flex-start; margin-top: 5px; }

/* --- FIX BOTTONE CREDIT CARD PERFETTO --- */
.sb-checkout-wrap button.single_add_to_cart_button {
    /* Layout Flexbox */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    
    /* Dimensioni identiche a GPay */
    width: 100% !important;
    height: 48px !important; /* Altezza standard payment buttons */
    padding: 0 16px !important;
    margin-bottom: 12px !important;
    box-sizing: border-box !important;
    
    /* Stile Visuale */
    background-color: #ffffff !important;
    color: #1f2937 !important;
    border: 1px solid #d1d5db !important;
    border-radius: 4px !important; /* Radius standard */
    box-shadow: 0 1px 2px rgba(0,0,0,0.05) !important;
    
    /* Font */
    font-size: 16px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    line-height: 1 !important;
    
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.sb-checkout-wrap button.single_add_to_cart_button:hover { 
    background-color: #f9fafb !important; 
    border-color: #9ca3af !important;
    transform: translateY(-1px) !important; 
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1) !important;
}

/* Icona Carta di Credito */
.sb-checkout-wrap button.single_add_to_cart_button::before {
    content: '' !important; 
    display: block !important; 
    width: 24px !important; 
    height: 24px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%231f2937'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M2.25 8.25h19.5M2.25 9h19.5m-16.5 5.25h6m-6 2.25h3m-3.75 3h15a2.25 2.25 0 002.25-2.25V6.75A2.25 2.25 0 0019.5 4.5h-15a2.25 2.25 0 00-2.25 2.25v10.5A2.25 2.25 0 004.5 19.5z' /%3E%3C/svg%3E");
    background-repeat: no-repeat !important; 
    background-position: center !important; 
    background-size: contain !important; 
    flex-shrink: 0 !important;
}

/* Fix per plugin esterni */
.sb-woo-container .wc-stripe-payment-request-button,
.sb-woo-container #wc-stripe-payment-request-wrapper,
.sb-woo-container #wc-stripe-payment-request-button { width: 100% !important; margin-bottom: 12px !important; clear: both; }
.sb-woo-container .paypal-buttons { margin-bottom: 12px !important; }
.sb-woo-container #wc-stripe-payment-request-button-separator { margin: 10px 0 !important; font-size: 0.85rem !important; color: #64748b !important; }
.sb-woo-container .summary.entry-summary { margin: 0 !important; padding: 0 !important; width: 100% !important; float: none !important; }

/* Footer Card */
.sb-guarantee-line { font-size: 0.8rem; color: #64748b; margin-bottom: 12px; font-weight: 500; display:flex; align-items:center; justify-content:center; gap:5px;}
.sb-card-footer { background: #f8fafc; border-top: 1px solid #f1f5f9; padding: 12px 20px; }
.sb-ft-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; text-align: left; }
.sb-ft-item { display: flex; align-items: center; gap: 6px; color: #475569; font-size: 0.75rem; font-weight: 600; line-height: 1.2; }
.sb-ft-icon { font-size: 0.95rem; line-height: 1; flex-shrink: 0; }

/* Sticky Bar (FORZATA BLU) */
.sb-glass{
  position: fixed; bottom: 12px; left: 12px; right: 12px; z-index: 9999;
  max-width: 480px; margin: 0 auto;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.75); box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  border-radius: 18px; padding: 8px 10px 8px 14px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.sb-glass.hidden{ transform: translateY(180%); }
.sb-glass-info{ display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.sb-glass-prices{ display: flex; align-items: baseline; gap: 8px; }
.sb-glass-old{ font-size: 0.85rem; text-decoration: line-through; color: #000000; opacity: 0.65; }
.sb-glass-new{ font-weight: 900; font-size: 1.20rem; color: var(--sb-dark); }
.sb-glass-sub{ margin-top: 3px; font-size: 0.78rem; color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-glass-cta{ flex-shrink: 0; }
.sb-glass-btn{ 
    background: var(--sb-brand) !important; /* FORZATO BLU */
    color: #fff !important; font-weight: 800; font-size: 0.85rem; padding: 10px 14px; border-radius: 14px; text-decoration: none; letter-spacing: 0.04em; text-transform: uppercase; box-shadow: 0 6px 16px rgba(1, 20, 79, 0.25); 
}

/* RESPONSIVE */
@media (min-width: 768px) {
    .sb-method-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .sb-glass { display: none; }
    .sb-app-wrapper { padding-bottom: 0; }
    section.sb-section-gap { margin-bottom: 60px; }
    section.sb-section-bg { padding: 80px 0; margin-bottom: 60px; }
    
    .sb-peek-slide { flex: 0 0 300px; aspect-ratio: auto; height: 400px; }
    .sb-peek-carousel { padding-left: 0; padding-right: 0; margin: 0; justify-content: center; }
}

.d-none { display: none !important; }
@media (min-width: 768px) { .d-none { display: block !important; } }
</style>