/* 1. Story Stack CSS (Mobile Stacked Content) */
.story-stacked { padding: 1rem 16px; margin-top: 1rem; }
.st-block { margin-bottom: 1.5rem; }
.st-block img, .st-block video { width: 100%; height: auto; border-radius: 8px; display: block; }
.st-block h2 { font-family: var(--font-heading); font-weight: 900; font-size: 1.6rem; color: var(--color-primary); margin-bottom: 0.7rem; line-height: 1; letter-spacing: -0.5px;}
.st-block p { font-size: 0.9rem; color: var(--color-text); line-height: 1.4; }

/* 2. Setup 1234 Section */
.setup-section { padding: 0 16px; margin-bottom: 1.5rem; }
.setup-section h2 { font-family: var(--font-heading); font-weight: 900; font-size: 1.6rem; color: var(--color-primary); margin-bottom: 1.5rem; margin-top: 1rem; line-height: 1.1; letter-spacing: -0.5px; }
.step-title { font-family: var(--font-heading); font-weight: 900; font-size: 1.1rem; color: var(--color-primary); text-transform: uppercase; margin-top: 1.2rem; margin-bottom: 0.5rem; }
.step-text p { font-size: 0.9rem; margin-bottom: 0; color: var(--color-text); line-height: 1.4; }

/* 3. Whats Included Free Box */
.whats-included { margin-bottom: 1.5rem; }
.whats-included h2 { font-family: var(--font-heading); font-weight: 900; font-size: 1.6rem; color: var(--color-primary); margin-bottom: 1rem; line-height: 1; letter-spacing: -0.5px; }
.whats-included .free-text { font-family: var(--font-heading); font-weight: 900; font-size: 1.1rem; color: var(--color-accent); margin-bottom: 1rem; }
.whats-included ol { font-size: 0.9rem; color: #444; margin-bottom: 2rem; list-style: none; padding: 0; }
.whats-included ol li { margin-bottom: 0.2rem; }
.whats-included img { width: 100%; height: auto; }

/* 4. Customer Reviews Layout */
.customer-reviews { padding-top: 2rem; }
.customer-reviews h2 { font-family: var(--font-heading); font-weight: 900; font-size: 1.6rem; color: var(--color-primary); margin-bottom: 1rem; line-height: 1; letter-spacing: -0.5px; text-transform: uppercase; }
.rs-overview { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-bottom: 1rem;}
.rs-top-row { display: flex; align-items: center; gap: 8px; }
.rs-top-row .stars { font-size: 1.1rem; color: var(--color-accent); }
.rs-rating-text { font-family: var(--font-body); font-size: 0.95rem; font-weight: 800; color: var(--color-primary); }
.rs-based-on { font-size: 0.85rem; color: #555; display: flex; align-items: center; gap: 4px; }
.rs-based-on .check { color: #2bc181; font-weight: bold; font-size: 0.9rem; margin-left:2px; }

.rs-bars-box { margin-bottom: 1.5rem; max-width: 320px; margin-left: auto; margin-right: auto; }
.rs-bar-row { display: grid; grid-template-columns: 80px 1fr 20px; align-items: center; gap: 10px; margin-bottom: 6px; }
.rs-stars-col { text-align: right; color: var(--color-accent); font-size: 0.75rem; letter-spacing: 1px; }
.rs-empty-star { color: #f2c98d; }
.rs-bar { height: 10px; background: #eee; width: 100%; border-radius: 0; }
.rs-fill { height: 100%; background: var(--color-primary); border-radius: 0; }
.rs-count-col { font-size: 0.7rem; color: #555; }

.btn-write-review { background: var(--color-primary); color: white; padding: 14px; font-weight: 700; width: 100%; text-align: center; font-size: 1rem; margin-bottom: 1rem; border-radius: 0; display: block; }

.review-sort { padding: 12px 0; border-top: 1px solid #f0f0f0; border-bottom: 1px solid #f0f0f0; font-size: 0.8rem; color: #555; display: flex; justify-content: space-between; margin-bottom: 1.5rem; align-items: center; }

.review-item { padding: 16px 0; border-bottom: 1px solid #f0f0f0; }
.review-item .stars { font-size: 0.85rem; margin-bottom: 8px; color: var(--color-accent); letter-spacing: 0.5px; }
.reviewer-info { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.reviewer-icon { width: 24px; height: 24px; border: 1px solid #ccc; background: transparent; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; color: var(--color-primary); border-radius: 2px;}
.reviewer-name { font-size: 0.85rem; font-weight: 600; color: var(--color-primary); }
.review-text { font-size: 0.9rem; color: var(--color-text); line-height: 1.4; margin-bottom: 10px; }
.rev-photo { width: 100px; height: 100px; object-fit: cover; border: 1px solid #eee; display: block; border-radius: 6px; cursor: pointer; transition: opacity 0.2s; }
.rev-photo:hover { opacity: 0.85; }

/* Lightbox per foto recensioni */
.lightbox-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.85); z-index: 9999; justify-content: center; align-items: center; cursor: pointer; }
.lightbox-overlay.is-open { display: flex; }
.lightbox-overlay img { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: 8px; }
.broken-img { width: 80px; height: 80px; border: 1px solid #eee; position:relative; }
.broken-img::after { content:""; position: absolute; top:50%; left:50%; transform: translate(-50%,-50%); width: 30px; height: 30px; border: 1px solid #ccc; border-radius: 50%; opacity: 0.6; }

.paginator { font-size: 0.9rem; margin-bottom: 2rem; margin-top:2rem;}
.paginator a { color: #666; margin: 0 4px; }
.paginator strong { margin: 0 4px; border-bottom: 2px solid #000; }

/* 5. FAQ Bottom Section */
.bottom-accords details { border-bottom: 1px solid var(--color-border); padding: 16px 0; }
.bottom-accords summary { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-heading); font-weight: 800; font-size: 0.9rem; cursor: pointer; list-style: none; color: var(--color-primary); }
.bottom-accords summary::-webkit-details-marker { display: none; }
.bottom-accords .acc-body { padding-top: 12px; font-size: 0.9rem; color: var(--color-text); }

/* 6. Original Style Footer */
.real-footer { background-color: var(--color-primary); color: white; padding: 3rem 0; font-size: 0.85rem; overflow: hidden; }
.footer-logo { display: flex; justify-content: center; }
.footer-motto { font-size: 1rem; color: white; font-weight: 800; margin-bottom: 2rem; max-width: 300px; margin: 0 auto; line-height: 1.2;}
.footer-links-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2rem; }
.fl-col h5 { margin-bottom: 1rem; font-family: var(--font-heading); font-size: 1rem; color: var(--color-accent); }
.fl-col a { display: block; margin-bottom: 0.5rem; color: #e8e8e8; transition: 0.2s; }
.fl-col a:hover { color: white; }
.footer-copy { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1rem; font-size: 0.8rem; color: #ccc; }

/* 7. Sticky Add to Cart (Bottom Bar) */
.sticky-cart-bar { position: fixed; bottom: -100px; left: 0; width: 100%; background: white; border-top: 1px solid var(--color-border); box-shadow: 0 -4px 15px rgba(0,0,0,0.1); padding: 12px 16px; z-index: 1000; transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.sticky-cart-bar.is-visible { bottom: 0; }
.sc-button { margin-bottom: 0; padding: 14px; font-size: 1.1rem; }

/* Mobile Optimizations Override */
@media (min-width: 768px) {
    .story-stacked { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
    .st-block h2 { font-size: 1.2rem; }
    .footer-links-grid { grid-template-columns: repeat(4, 1fr); }
    .bundles-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
    .sc-content { max-width: 400px; margin: 0 auto; }
}

/* === Team Section === */
.team-section { padding: 2rem 0; }
.team-intro { font-size: 0.95rem; color: var(--color-text-light); margin-bottom: 1.5rem; max-width: 600px; margin-left: auto; margin-right: auto; }

.team-grid { display: flex; flex-direction: column; gap: 1.5rem; }
.team-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem; background: #fff; border: 1px solid var(--color-border); border-radius: 8px; }
.team-photo img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; object-position: top; border: 3px solid var(--color-accent); }
.team-info { flex: 1; }
.team-info strong { font-size: 1rem; color: var(--color-primary); display: block; }
.team-role { font-size: 0.75rem; color: var(--color-accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; display: block; margin-bottom: 0.5rem; }
.team-info blockquote { font-size: 0.85rem; font-style: italic; color: var(--color-text); line-height: 1.5; margin: 0; padding: 0; border: none; }

/* === Trust Badges Grid === */
.trust-badges-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.5rem; margin: 1.2rem 0; padding: 1rem 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.trust-badge-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.3rem; }
.trust-badge-item svg { flex-shrink: 0; }
.trust-badge-item span { font-size: 0.65rem; color: var(--color-text-light); line-height: 1.2; }
.trust-badge-item strong { color: var(--color-text); }

@media (max-width: 500px) {
    .trust-badges-grid { grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
    .team-card { flex-direction: column; align-items: center; text-align: center; }
    .team-photo img { width: 70px; height: 70px; }
    .team-info blockquote { font-size: 0.8rem; }
}
