body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #444;
}

.mobile-container {
    max-width: 480px;
    margin: 0 auto;
    background-color: #fff;
    padding-bottom: 100px;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
    min-height: 100vh;
    position: relative;
}

.section-block {
    padding: 20px 16px;
    border-bottom: 8px solid #f5f5f5;
}

.section-block:last-child {
    border-bottom: none;
}

/* Collapsible Header */
.collapsible-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
}

.ver-mais {
    color: #0033c6;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Characteristics */
.char-list {
    margin-top: 16px;
    font-size: 14px;
}
.char-item {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    color: #666;
}
.char-item span {
    font-weight: 600;
    color: #333;
}
.char-gerais {
    margin-top: 16px;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Ratings */
.ratings-container {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    font-size: 14px;
    color: #0033c6;
    font-weight: 600;
}
.rating-score {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #888;
}
.rating-divider {
    width: 1px;
    height: 16px;
    background-color: #eee;
}
.rating-action {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

/* Installation */
.install-options {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}
.install-option {
    flex: 1;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 12px;
    text-align: center;
    cursor: pointer;
}
.install-option.selected {
    border-color: #0033c6;
    background-color: #f0f4ff;
}
.install-option-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
    color: #333;
}
.install-option-desc {
    font-size: 12px;
    color: #666;
}
.install-features {
    margin-top: 16px;
    padding-left: 20px;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}
.install-note {
    font-size: 12px;
    color: #999;
    margin-top: 12px;
}

/* Pricing */
.price-container {
    padding: 20px 16px;
}
.price-original {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}
.price-original span {
    font-weight: 600;
}
.price-pix {
    font-size: 28px;
    font-weight: 700;
    color: #0033c6;
    margin-bottom: 4px;
}
.price-discount {
    font-size: 14px;
    color: #1b873f;
    font-weight: 600;
}

/* Sticky Bottom Bar */
.sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    padding: 12px 16px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
}
.sticky-bar-inner {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.sticky-thumb {
    width: 40px;
    height: 40px;
    object-fit: contain;
}
.sticky-info {
    flex: 1;
}
.sticky-price {
    font-size: 16px;
    font-weight: 700;
    color: #0033c6;
}
.sticky-pix {
    font-size: 12px;
    color: #666;
}
.btn-comprar {
    background-color: #1b873f;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

/* Product Description */
.desc-icons {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
}
.desc-icon-item {
    margin-bottom: 20px;
}
.desc-icon-item:last-child {
    margin-bottom: 0;
}
.desc-icon-img {
    width: 60px;
    height: 60px;
    margin-bottom: 8px;
}
.desc-icon-text {
    font-size: 14px;
    color: #555;
}
.product-title-large {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    margin: 30px 0 20px;
    color: #000;
}
.product-main-img {
    width: 100%;
    height: auto;
    display: block;
}
.features-title {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    margin: 40px 0 20px;
    color: #000;
}
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 40px;
}
.feature-card {
    text-align: left;
}
.feature-card img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 8px;
}
.feature-card-text {
    font-size: 14px;
    font-weight: 600;
    color: #000;
}

.hub-icons {
    text-align: center;
    margin-top: 20px;
}
.hub-item {
    margin-bottom: 40px;
}
.hub-icon-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hub-icon-circle.green { background-color: #107c10; }
.hub-icon-circle.blue { background-color: #0066ff; }
.hub-icon-circle.black { background-color: #000; }
.hub-icon-circle i { color: #fff; }
.hub-item-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #000;
}
.hub-item-desc {
    font-size: 14px;
    color: #444;
    line-height: 1.5;
    padding: 0 16px;
}

/* Header */
.app-header {
    background-color: #f8f8f8;
    position: sticky;
    top: 0;
    z-index: 99;
}
.header-red-bar {
    background-color: #e2001a;
    height: 4px;
    width: 100%;
}
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px 10px;
}
.logo {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.5px;
    line-height: 1;
}
.logo-casas { color: #0033c6; }
.logo-bahia { color: #e2001a; }
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}
.cart-icon {
    position: relative;
}
.cart-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background-color: #e2001a;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-bar {
    position: relative;
    padding: 4px 16px 16px;
}
.search-bar input {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    font-family: inherit;
    background: #fff;
    color: #444;
    outline: none;
}
.search-bar input:focus {
    border-color: #0033c6;
    background: #fff;
}
.search-bar i, .search-bar svg {
    position: absolute;
    right: 28px;
    top: 25px;
    transform: translateY(-50%);
    pointer-events: none;
}

/* CEP Section */
.cep-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background-color: #f5f8ff;
    color: #0033c6;
    font-size: 14px;
    font-weight: 500;
}
.cep-info {
    display: flex;
    align-items: center;
    gap: 8px;
}
.cep-tooltip-container {
    padding: 0 16px;
    margin-top: -8px;
    margin-bottom: 16px;
    position: relative;
}
.cep-tooltip {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    position: relative;
}
.cep-tooltip::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 20px;
    width: 10px;
    height: 10px;
    background-color: #fff;
    border-top: 1px solid #e0e0e0;
    border-left: 1px solid #e0e0e0;
    transform: rotate(45deg);
}
.cep-tooltip-title {
    color: #0033c6;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 4px;
    padding-right: 20px;
}
.cep-tooltip-desc {
    color: #666;
    font-size: 12px;
}
.cep-tooltip-close {
    position: absolute;
    top: 12px;
    right: 12px;
    color: #666;
    cursor: pointer;
}

/* Hero Section */
.hero-title-section {
    padding: 0 16px;
    margin-bottom: 16px;
}
.hero-product-title {
    font-size: 22px;
    font-weight: 500;
    color: #444;
    margin: 0 0 8px 0;
}
.hero-product-meta {
    font-size: 12px;
    color: #888;
}
.hero-product-meta a {
    color: #0033c6;
    font-weight: 600;
    text-decoration: none;
}

.product-gallery {
    position: relative;
    padding: 0 16px 24px;
    background-color: #fff;
    border-bottom: 8px solid #f5f5f5;
}
.gallery-actions {
    position: absolute;
    top: 0;
    right: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 10;
}
.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    cursor: pointer;
}
.main-gallery-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 16px;
}
.gallery-thumbs {
    display: flex;
    gap: 8px;
    justify-content: center;
}
.thumb-item {
    width: 60px;
    height: 60px;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    padding: 2px;
    cursor: pointer;
}
.thumb-item.active {
    border-color: #0033c6;
    border-width: 2px;
}
.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Modal Garantia */
.modal-garantia {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #f9f9f9;
    z-index: 200;
    overflow-y: auto;
}
.modal-garantia-content {
    max-width: 480px;
    margin: 0 auto;
    background-color: #f9f9f9;
    min-height: 100vh;
}
.modal-top-bar {
    height: 4px;
    background-color: #e2001a;
}
.modal-header {
    background-color: #fff;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}
.modal-product-info {
    padding: 24px 16px 16px;
    background-color: #fff;
    margin-bottom: 1px;
}
.modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #444;
    margin: 0 0 16px 0;
}
.modal-product-detail {
    display: flex;
    gap: 12px;
    align-items: center;
}
.modal-product-thumb {
    width: 60px;
    height: 60px;
    object-fit: contain;
}
.modal-product-text {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.warranty-card {
    margin: 16px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px 16px;
}
.warranty-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.warranty-header h3 {
    font-size: 20px;
    color: #0033c6;
    margin: 0;
}
.warranty-desc {
    font-size: 14px;
    color: #666;
    margin: 0 0 20px 0;
    line-height: 1.4;
}
.warranty-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}
.warranty-option {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    cursor: pointer;
    background-color: #fff;
    transition: all 0.2s;
}
.warranty-option.selected {
    border-color: #1b873f;
    border-width: 2px;
    padding: 13px 15px; /* compensate for thicker border */
}
.warranty-option.promo {
    padding: 0;
    flex-direction: column;
    border-color: #ccc;
    border-width: 1px;
    overflow: hidden;
}
.warranty-option.promo.selected {
    padding: 0;
    border-color: #1b873f;
    border-width: 2px;
}
.promo-badge {
    background-color: #1b873f;
    color: #fff;
    width: 100%;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    padding: 6px 0;
}
.warranty-option-inner {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    width: 100%;
    box-sizing: border-box;
}
.radio-circle {
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-radius: 50%;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.radio-circle.selected {
    border-color: #1b873f;
}
.inner-dot {
    display: none;
    width: 10px;
    height: 10px;
    background-color: #1b873f;
    border-radius: 50%;
}
.radio-circle.selected .inner-dot {
    display: block;
}
.warranty-option-title {
    font-weight: 700;
    color: #0033c6;
    font-size: 15px;
    flex: 1;
}
.warranty-option-price {
    font-size: 12px;
    color: #666;
    text-align: right;
}
.warranty-option-price strong {
    font-size: 15px;
    color: #0033c6;
}

.warranty-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}
.warranty-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.4;
}
.warranty-benefits li i {
    flex-shrink: 0;
    margin-top: 2px;
}

.terms-text {
    font-size: 12px;
    color: #666;
    margin-top: 24px;
    line-height: 1.4;
}
.terms-text a {
    color: #0033c6;
    text-decoration: none;
}

.modal-footer {
    position: sticky;
    bottom: 0;
    background-color: #f9f9f9;
    padding: 16px;
    border-top: 1px solid #eee;
}
.subtotal-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.subtotal-label {
    font-size: 14px;
    color: #666;
    font-weight: 600;
}
.subtotal-value {
    font-size: 18px;
    font-weight: 700;
    color: #0033c6;
    display: flex;
    align-items: center;
    gap: 4px;
}
.footer-buttons {
    display: flex;
    gap: 12px;
}
.btn-agora-nao {
    flex: 1;
    background-color: #fff;
    color: #0033c6;
    border: 2px solid #0033c6;
    border-radius: 4px;
    padding: 14px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}
.btn-continuar-modal {
    flex: 1;
    background-color: #1b873f;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 14px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

/* Carrinho Modal */
.carrinho-content {
    background-color: #fff;
    padding: 24px 16px;
    min-height: calc(100vh - 180px);
}
.carrinho-title {
    color: #0033c6;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 24px 0;
}
.carrinho-product {
    display: flex;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}
.carrinho-thumb {
    width: 80px;
    height: 80px;
    object-fit: contain;
}
.carrinho-details {
    flex: 1;
}
.carrinho-name {
    font-size: 14px;
    color: #444;
    line-height: 1.4;
    margin-bottom: 8px;
}
.carrinho-vendor {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
}
.carrinho-vendor strong {
    color: #0033c6;
}
.carrinho-remove {
    font-size: 14px;
    color: #0033c6;
    font-weight: 600;
    text-decoration: none;
}
.carrinho-price-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}
.carrinho-qtd label {
    display: block;
    font-size: 12px;
    color: #888;
    margin-bottom: 4px;
}
.qtd-select {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    color: #0033c6;
    font-weight: 600;
    background-color: #fff;
}
.carrinho-prices {
    text-align: right;
}
.price-old {
    font-size: 14px;
    color: #666;
    font-weight: 600;
}
.price-pix {
    font-size: 14px;
    color: #0033c6;
}
.price-pix strong {
    font-size: 18px;
}
.price-pix span {
    font-size: 12px;
}

.carrinho-upsell-title {
    font-size: 16px;
    color: #444;
    font-weight: 700;
    margin: 24px 0 16px 0;
}
.carrinho-upsell-box {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}
.upsell-check {
    margin-top: 4px;
    width: 16px;
    height: 16px;
}
.upsell-info {
    flex: 1;
}
.upsell-name {
    font-size: 14px;
    font-weight: 700;
    color: #444;
    margin-bottom: 4px;
}
.upsell-price {
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}
.upsell-links {
    font-size: 12px;
}
.upsell-links a {
    color: #0033c6;
    text-decoration: underline;
}

.carrinho-install {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
.install-img-placeholder {
    width: 60px;
    height: 60px;
    background-color: #0066ff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.install-text {
    font-size: 15px;
    color: #666;
    flex: 1;
    line-height: 1.4;
}

/* Checkout Form */
.form-label {
    display: block;
    font-size: 14px;
    color: #444;
    font-weight: 600;
    margin-bottom: 8px;
    margin-top: 16px;
}
.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    font-family: inherit;
}
.btn-buscar-cep {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0 16px;
    font-weight: 600;
    color: #444;
    cursor: pointer;
}

/* Payment Options */
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.payment-option-label {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 16px;
    cursor: pointer;
    background-color: #fff;
    transition: all 0.2s;
}
.payment-option-label.selected {
    border-color: #0033c6;
    border-width: 2px;
    padding: 15px; /* compensate for border */
}
.payment-option-label.selected .radio-circle {
    border-color: #0033c6;
}
.payment-option-label.selected .inner-dot {
    background-color: #0033c6;
    display: block;
}
.payment-option-info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #444;
}
