* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: #ededed;
    color: #333;
}

a {
    text-decoration: none;
    color: #3483fa;
}

/* Header */
.header {
    background-color: #ffe600;
    padding: 10px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 10px;
}

.logo img {
    height: 30px;
}

.search-bar {
    flex: 1;
    display: flex;
    background-color: #fff;
    border-radius: 2px;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.1);
    align-items: center;
    padding: 8px 10px;
}

.search-icon {
    color: #ccc;
    margin-right: 10px;
}

.search-bar input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 14px;
    color: #333;
}

.header-actions {
    display: flex;
    gap: 15px;
    font-size: 20px;
    color: #333;
    cursor: pointer;
}

.header-location {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #333;
    cursor: pointer;
}

.header-location span {
    margin: 0 5px;
    flex: 1;
}

.arrow-right {
    font-size: 10px;
    color: #999;
}

/* Side Menu */
.side-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    display: none;
}

.side-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100%;
    background: #fff;
    z-index: 1001;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.side-menu.active {
    left: 0 !important;
}

.side-menu-header {
    background: #ffe600;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.user-avatar i {
    font-size: 40px;
    color: #ccc;
    background: #fff;
    border-radius: 50%;
    padding: 10px;
}

.user-greeting {
    display: flex;
    flex-direction: column;
}

.welcome-text {
    font-size: 18px;
    font-weight: 500;
}

.login-prompt {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.menu-auth-buttons {
    display: flex;
    gap: 10px;
}

.btn-blue, .btn-white {
    padding: 10px;
    border-radius: 6px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    flex: 1;
}

.btn-blue {
    background: #3483fa;
    color: #fff;
}

.btn-white {
    background: #fff;
    color: #3483fa;
}

.menu-list {
    list-style: none;
    padding: 15px 0;
}

.menu-list li {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
}

.menu-list li:hover {
    background: #f5f5f5;
}

.badge-gratis {
    background: #00a650;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: auto;
}

/* Main ContentContainer */
.product-container {
    background-color: #fff;
    padding: 0 15px 15px;
    max-width: 600px;
    margin: 0 auto;
}

/* Store Link */
.official-store-link {
    display: inline-flex;
    align-items: center;
    color: #3483fa;
    font-size: 12px;
    font-weight: 400;
    margin-bottom: 10px;
}

.store-logo-small {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 8px;
    border: 1px solid #eee;
}

.store-logo-small img {
    width: 100%;
}

.check-icon {
    margin-left: 5px;
    font-size: 12px;
}

/* Product Status */
.product-status {
    color: #999;
    font-size: 12px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    color: #3483fa;
}

.stars {
    display: flex;
    font-size: 10px;
}

.rating-number {
    color: #666;
}

.rating-count {
    color: #999;
}

/* Product Title */
.product-title {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 15px;
}

/* Image Gallery */
.product-gallery { 
    width: calc(100% + 30px);
    margin: 0 -15px 15px;
    height: 400px;
    position: relative;
    background: #fff;
    overflow: hidden;
}
.gallery-container { 
    display: flex !important; 
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important; 
    scroll-snap-type: x mandatory !important; 
    scrollbar-width: none !important; 
    height: 100% !important;
}
.gallery-container::-webkit-scrollbar { display: none; }
.gallery-img { 
    width: 100% !important; 
    min-width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important; 
    scroll-snap-align: center !important; 
    height: 100% !important; 
    object-fit: contain !important; 
    display: block !important;
}
.gallery-dots { 
    position: absolute; 
    bottom: 15px; 
    width: 100%; 
    display: flex; 
    justify-content: center; 
    gap: 8px; 
    z-index: 10; 
}
.dot { 
    width: 7px; 
    height: 7px; 
    background: rgba(0,0,0,0.15); 
    border-radius: 50%; 
    cursor: pointer; 
}
.dot.active { background: #3483fa; }
.product-info-top { padding: 15px; background: #fff; }

/* Variations */
.product-variations {
    margin-bottom: 20px;
}

.variation-label {
    font-size: 14px;
    color: #333;
}

/* Price */
.product-price-section {
    margin-bottom: 25px;
}

.price-main {
    display: flex;
    align-items: flex-start;
    margin-bottom: 5px;
}

.currency {
    font-size: 18px;
    margin-top: 3px;
    margin-right: 3px;
}

.amount {
    font-size: 36px;
    font-weight: 300;
}

.cents {
    font-size: 18px;
    margin-top: 3px;
}

.price-installments {
    color: #00a650;
    font-size: 16px;
    margin-bottom: 5px;
}

.payment-methods-link {
    font-size: 13px;
    display: block;
    margin-bottom: 20px;
}

/* Shipping Info */
.badge-shipping {
    background: #00a650;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 6px;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 8px;
}

.shipping-arrival {
    font-size: 14px;
    color: #333;
}

.shipping-arrival span {
    color: #00a650;
    font-weight: 600;
}

.shipping-details-link {
    font-size: 13px;
    display: block;
    margin-bottom: 15px;
}

.pickup-info {
    font-size: 14px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.pickup-info span {
    color: #00a650;
    font-weight: 600;
}

.map-link {
    font-size: 13px;
    display: block;
    margin-top: 5px;
}

/* Buy Section */
.buy-section {
    margin-top: 20px;
}

.stock-info {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 15px;
}

.quantity-selector {
    width: 100%;
    padding: 15px;
    background: #f5f5f5;
    border: none;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    margin-bottom: 20px;
}

.available-qty {
    color: #999;
}

.btn-buy-now, .btn-add-cart {
    width: 100%;
    padding: 16px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-align: center;
    margin-bottom: 10px;
}

.btn-buy-now {
    background: #3483fa;
    color: #fff;
    transition: background 0.2s;
}

.btn-buy-now:hover {
    background: #2968c8;
}

.btn-add-cart {
    background: rgba(65,137,230,.15);
    color: #3483fa;
}

/* Seller Info */
.seller-info {
    border-top: 1px solid #eee;
    padding: 25px 0 15px;
}

.seller-details {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.seller-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 1px solid #eee;
}

.seller-logo img {
    width: 100%;
}

.seller-name {
    display: flex;
    flex-direction: column;
}

.seller-name > span {
    font-size: 16px;
    font-weight: 400;
}

.seller-sales {
    font-size: 14px;
    color: #666;
    margin-top: 4px;
}

.seller-benefits {
    margin-bottom: 20px;
}

.benefit-item {
    display: flex;
    margin-bottom: 15px;
    font-size: 14px;
    color: #999;
}

.benefit-item i {
    color: #999;
    margin-right: 15px;
    font-size: 16px;
    width: 20px;
    text-align: center;
    margin-top: 2px;
}

.seller-actions {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.btn-action {
    background: transparent;
    border: none;
    color: #3483fa;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Sections */
.need-to-know, .characteristics-section, .description-section, .payment-methods-section, .qa-section {
    border-top: 1px solid #eee;
    padding: 25px 0;
}

h2 {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 15px;
}

.need-to-know ul {
    list-style-position: inside;
    font-size: 14px;
    color: #333;
}

h3 {
    font-size: 16px;
    font-weight: 500;
    margin-top: 20px;
    margin-bottom: 10px;
}

.characteristics-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    border-radius: 4px;
    overflow: hidden;
}

.characteristics-table th, .characteristics-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #fff;
}

.characteristics-table th {
    font-weight: 600;
    width: 40%;
}

.bg-gray {
    background-color: #f5f5f5;
}

.btn-see-all {
    width: 100%;
    background: transparent;
    border: 1px solid #eee;
    color: #3483fa;
    padding: 15px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.description-section p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.green-text {
    color: #00a650;
    font-size: 14px;
    margin-bottom: 15px;
    font-weight: 500;
}

.payment-icons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.pay-icon {
    width: 40px;
    padding: 2px;
    border: 1px solid #eee;
    border-radius: 4px;
    background: #fff;
}

.btn-ask {
    width: 100%;
    background: #3483fa;
    color: #fff;
    border: none;
    padding: 15px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

/* Home Page Specific Styles */
.home-banner {
    width: 100%;
    margin-bottom: 5px;
}

.home-banner img {
    width: 100%;
    display: block;
}

.frete-gratis-bar {
    background: #fff;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 13px;
    color: #333;
    margin-bottom: 20px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.frete-gratis-bar i {
    color: #00a650;
}

.category-icons-scroll {
    display: flex;
    overflow-x: auto;
    padding: 10px 15px;
    gap: 15px;
    scrollbar-width: none;
    margin-bottom: 20px;
}

.category-icons-scroll::-webkit-scrollbar {
    display: none;
}

.category-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 65px;
    text-align: center;
}

.icon-circle {
    width: 100%;
    max-width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 8px;
    position: relative;
}

.icon-circle i {
    font-size: 20px;
    color: #3483fa;
}

.icon-circle .badge-gratis {
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 8px;
    padding: 2px 4px;
    background: #00a650;
    color: #fff;
    border-radius: 10px;
}

.category-icon-item span {
    font-size: 11px;
    color: #666;
    line-height: 1.2;
}

.home-cards-container {
    display: flex;
    overflow-x: auto;
    padding: 0 15px;
    gap: 12px;
    margin-bottom: 30px;
    scrollbar-width: none;
}

.home-cards-container::-webkit-scrollbar {
    display: none;
}

.home-card {
    min-width: 160px;
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.home-card h4 {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 15px;
    text-align: left;
    width: 100%;
}

.home-card .card-img {
    height: 80px;
    margin-bottom: 15px;
    object-fit: contain;
}

.home-card .card-title-link {
    font-size: 12px;
    color: #333;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left;
    height: 30px;
}

.home-card .card-price {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
    text-align: left;
    width: 100%;
}

.home-card .btn-card {
    width: 100%;
    background: #3483fa;
    color: #fff;
    border: none;
    padding: 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 10px;
}

.meli-plus-section {
    background: #fff;
    margin: 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.meli-header {
    background: linear-gradient(90deg, #a033ff, #ff3d77);
    padding: 15px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.meli-header .badge {
    background: #fff;
    color: #a033ff;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 12px;
}

.meli-content {
    padding: 20px;
}

.meli-content h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

.meli-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.meli-item {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.meli-item i {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.meli-item p {
    font-size: 11px;
    text-align: center;
}

