/*
Theme Name: Shopee Ofertas
Author: Alex Granig
Description: Tema focado em conversão e tráfego pago, estilo mobile-first.
Version: 1.0
*/

* { box-sizing: border-box; margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
body { background-color: #333; /* Fundo escuro no PC */ }

/* Container Mobile */
.app-wrapper {
    max-width: 480px;
    margin: 0 auto;
    background-color: #f5f5f5;
    min-height: 100vh;
    position: relative;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

/* Header & Menu */
.site-header { background: #ee4d2d; padding: 15px; text-align: center; color: white; }
.site-header img { max-width: 100%; height: auto; border-radius: 8px; }
.scroll-menu { background: #fff; padding: 10px; overflow-x: auto; white-space: nowrap; border-bottom: 1px solid #ddd; }
.scroll-menu ul { list-style: none; display: flex; gap: 15px; }
.scroll-menu a { text-decoration: none; color: #333; font-weight: bold; font-size: 14px; }

/* Feed (Index) */
.feed-post { background: #fff; margin-bottom: 10px; padding: 15px; border-bottom: 1px solid #eee; }
.feed-post img { width: 100%; height: auto; border-radius: 8px; margin-bottom: 10px; }
.feed-post h2 { font-size: 16px; margin-bottom: 10px; color: #222; }
.btn-primary { display: block; background: #ee4d2d; color: #fff; text-align: center; padding: 12px; border-radius: 5px; text-decoration: none; font-weight: bold; text-transform: uppercase; }

/* Single Post */
.alert-bar { background: #ee4d2d; color: white; text-align: center; padding: 10px; font-weight: bold; font-size: 13px; text-transform: uppercase; }
.video-placeholder { background: #000; width: 100%; aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; }
.product-card { background: #fff; border-radius: 10px; margin: -20px 15px 15px; padding: 20px; position: relative; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.product-card h1 { font-size: 20px; line-height: 1.3; margin-bottom: 10px; }
.price-area { color: #ee4d2d; font-size: 32px; font-weight: bold; margin: 15px 0; }
.description-box { background: #f9f9f9; padding: 15px; border-radius: 8px; font-size: 14px; line-height: 1.6; color: #444; margin-bottom: 15px; }
.benefits-box { border: 1px solid #ddd; border-radius: 8px; padding: 15px; margin-bottom: 20px; }
.benefits-box p { font-size: 13px; border-bottom: 1px dashed #eee; padding: 8px 0; }
.benefits-box p:last-child { border-bottom: none; }
.sticky-buy { position: sticky; bottom: 0; background: #fff; padding: 15px; border-top: 1px solid #eee; z-index: 10; }

/* Related Posts */
.related-posts { padding: 15px; background: #fff; margin-top: 10px; }
.related-posts h3 { margin-bottom: 15px; font-size: 16px; border-left: 4px solid #ee4d2d; padding-left: 10px; }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini-post img { width: 100%; border-radius: 5px; height: 100px; object-fit: cover; }
.mini-post h4 { font-size: 12px; margin-top: 5px; line-height: 1.2; font-weight: normal; }

/* Footer */
.site-footer { text-align: center; padding: 20px; background: #222; color: #aaa; font-size: 12px; }