/* Basic Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f0f2f5;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- HEADER --- */
.header {
    background-color: #b81414;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px 15px;
}

.logo-img {
    width: 45px;
    height: auto;
}

.search-box {
    display: flex;
    flex-grow: 1;
    margin: 0 20px;
    background-color: white;
    padding: 8px 12px;
    border-radius: 20px;
    position: relative;
}

.search-input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 14px;
    background: transparent;
}

.search-button {
    border: none;
    background: transparent;
    cursor: pointer;
}

.search-icon {
    width: 16px;
    height: 16px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.drop-perfil {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    cursor: pointer;
}

.avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.user-name {
    font-size: 12px
}

/* Dropdown do Perfil e Categorias (unificado) */
.dropdown-content-p,
.dropdown-content-c {
    display: none;
    flex-direction: column;
    position: absolute;
    background-color: #a11212;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1006;
    border-radius: 5px;
}

.dropdown-content-p {
    top: 50px;
    right: 0;
}

.dropdown-content-c {
    top: 100%;
    left: 0;
    min-width: 200px;
    max-height: 400px;
    overflow-y: auto;
}

.dropdown.active .dropdown-content-p,
.dropdown.active .dropdown-content-c {
    display: flex;
}

.dropdown-content-p a,
.dropdown-content-c a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 12px;
}

.dropdown-content-p a:hover,
.dropdown-content-c a:hover {
    background-color: #b81414;
}

.cart-icon {
    position: relative;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.cart-icon img {
    width: 40px;
}

.cart-count {
    position: absolute;
    top: 1px;
    left: 18px;
    color: #b81414;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

.btn-anuncie img {
    height: 40px;
}

/* --- NAVIGATION MENU --- */
.seller-link {
    color: #777; /* gray */
    text-decoration: none;
    cursor: pointer;
}
.menu-toggle {
    display: none;
}

.menu {
    width: 100%;
    background-color: #b81414;
    border-top: 1px solid #d43535;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    height: 34px;
}

.nav-menu {
    display: flex;
    overflow: visible;
}

.nav-menu::-webkit-scrollbar {
    display: none;
}

.nav-item a,
.nav-item-link a,
.dropbtn,
.dropdown>summary {
    display: flex;
    align-items: center;
    height: 100%;
    color: white;
    text-decoration: none;
    font-size: 12px;
    padding: 10px 30px;
    transition: all 0.2s ease-in-out;
    white-space: nowrap;
    margin: 0 20px;
    cursor: pointer;
}

.nav-item a:hover,
.nav-item-link a:hover,
.dropbtn:hover,
.dropdown>summary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.arrow {
    transition: transform 0.3s;
    display: inline-block;
    margin-left: 5px;
}

.dropdown.active .arrow {
    transform: rotate(180deg);
}

.nav-item.active a,
.nav-item-link.active a {
    background-color: #f0f2f5;
    color: #b81414;
    font-weight: bold;
    position: relative;
    border-radius: 5px 5px 0 0;
}

.nav-item.active a::after,
.nav-item-link.active a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 3px;
    background-color: #f0f2f5;
    border-radius: 5px 5px 0 0;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content-c::-webkit-scrollbar {
    width: 8px;
}

.dropdown-content-c::-webkit-scrollbar-track {
    background: #a11212;
    border-radius: 5px;
}

.dropdown-content-c::-webkit-scrollbar-thumb {
    background-color: #d43535;
    border-radius: 5px;
}

.scroll-btn {
    padding: 0 10px;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 20px;
    z-index: 10;
}


/* --- MAIN CONTENT & SCREENS --- */
main {
    padding: 20px 0;
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
    flex-grow: 1;
}

.produtos_em_oferta h2,
#search-results h2,
.tela-carrinho h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.home-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 20px;
    align-items: stretch;
    height: 420px;
    /* Fixed height on desktop */
    margin-bottom: 30px;
}

.daily-deal-container,
.produtos_em_oferta {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.home-layout .daily-deal-container,
.home-layout .produtos_em_oferta {
    height: 100%;
    margin-bottom: 0;
}

.produtos_em_oferta {
    max-width: 100%;
    overflow: hidden;
    position: relative;
}

.daily-deal-container {
    border: 2px solid #b81414;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0;
    transition: transform 0.3s, box-shadow 0.3s;
}

.daily-deal-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(184, 20, 20, 0.4);
}

#oferta-do-dia-container {
    flex-grow: 1;
    display: flex;
}

#oferta-do-dia-container .oferta-card {
    height: 100%;
    width: 100%;
    box-shadow: none;
    background: transparent;
    padding: 15px;
}

.daily-deal-container h2 {
    text-align: center;
    color: #b81414;
    font-size: 22px;
    margin: 20px 0;
}

.ofertas-grid,
#search-results-container,
#categoria-container,
#featured-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 180px);
    gap: 20px;
    justify-content: start;
}

#featured-products-grid product-card {
    width: 100%;
}

.oferta-card,
.daily-deal-product {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
    padding: 15px;
}

.daily-deal-product {
    width: 100%;
    height: 100%;
    justify-content: space-between;
    box-shadow: none;
    transform: none;
}

.oferta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.oferta-card img,
.daily-deal-product img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    padding: 5px;
    flex-grow: 1;
    min-height: 0;
}

.oferta-info,
.daily-deal-product .oferta-info {
    padding: 5px;
}

.oferta-info .titulo,
.daily-deal-product .titulo {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.oferta-info .preco_antigo,
.daily-deal-product .preco_antigo {
    font-size: 13px;
    text-decoration: line-through;
    color: #999;
}

.oferta-info .preco,
.daily-deal-product .preco {
    font-size: 18px;
    font-weight: bold;
    color: #b81414;
}

#categories-section {
    margin-top: 30px;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    color: #333;
    padding: 15px;
    border-radius: 8px;
    transition: background-color 0.3s, transform 0.3s;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    height: 120px;
}

.category-card:hover {
    background-color: #f0f0f0;
    transform: translateY(-5px);
}

.category-icon {
    font-size: 36px;
    margin-bottom: 8px;
    line-height: 1;
}

.category-name {
    font-size: 13px;
    font-weight: 500;
}

#categories-grid.carousel-grid .category-card {
    flex: 0 0 150px;
}

.tela-produto {
    max-width: 1100px;
    margin: 40px auto;
    padding: 20px;
}

.product-main-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.product-gallery {
    display: flex;
    flex-direction: column;
}

.product-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
}

.product-image-container img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.product-thumbnails {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.thumbnail-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border: 2px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.2s ease-in-out;
}

.thumbnail-image:hover {
    opacity: 1;
    transform: scale(1.05);
}

.thumbnail-image.active {
    opacity: 1;
    border-color: #b81414;
}

.product-details h1 {
    font-size: 28px;
    margin-bottom: 15px;
}

.product-price {
    margin-bottom: 20px;
}

.product-price .preco_antigo {
    font-size: 18px;
    text-decoration: line-through;
    color: #888;
    margin-right: 10px;
}

.product-price .preco {
    font-size: 28px;
    font-weight: bold;
    color: #b81414;
}

.buy-btn,
.add-to-cart-btn {
    padding: 15px 25px;
    border-radius: 6px;
    border: none;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    text-transform: uppercase;
}

.buy-btn {
    background-color: #b81414;
    color: white;
}

.add-to-cart-btn {
    background-color: #e9e9e9;
    color: #333;
    border: 1px solid #ddd;
}

.product-description-block {
    background-color: #fff;
    padding: 30px;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.product-description-block h3 {
    margin-bottom: 10px;
}

.tela-carrinho {
    padding: 0 15px;
}

#cart-items-container {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background-color: white;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item img {
    width: 100%;
    border-radius: 6px;
}

.cart-item-info .cart-item-title {
    font-weight: bold;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-item-quantity button {
    padding: 5px 10px;
    cursor: pointer;
    border: 1px solid #ccc;
}

.remove-from-cart {
    background: #ff4d4d;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
}

.cart-summary {
    margin-top: 20px;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    text-align: right;
}

#checkout-btn {
    background-color: #b81414;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
}

.checkout-modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
}

.checkout-content {
    background-color: #fefefe;
    margin: auto;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: fadeIn 0.3s ease-in-out;
}

.close-checkout-btn {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-checkout-btn:hover,
.close-checkout-btn:focus {
    color: black;
    text-decoration: none;
}

.checkout-content h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.8rem;
    color: #333;
}

#checkout-product-summary {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.checkout-product-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.checkout-product-info h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: #444;
}

.checkout-product-info p {
    margin: 0;
    font-size: 1rem;
    font-weight: bold;
    color: #e53935;
}

#checkout-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#checkout-form input {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}

#payment-button {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 10px;
    transition: background-color 0.3s;
}

#payment-button:hover {
    background-color: #218838;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tela-compras {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.tela-compras h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

#compras-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.compra-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.compra-card:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.compra-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #f7f7f7;
    border-bottom: 1px solid #e0e0e0;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.compra-id {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
}

.compra-data {
    font-size: 0.9rem;
    color: #666;
}

.compra-body {
    padding: 20px;
}

.compra-body h4 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #555;
}

.compra-itens-lista {
    list-style: none;
    padding: 0;
    margin: 0;
}

.compra-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.compra-item:last-child {
    border-bottom: none;
}

.compra-item-nome {
    color: #444;
}

.compra-item-preco {
    font-weight: 600;
    color: #333;
}

.compra-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #f7f7f7;
    border-top: 1px solid #e0e0e0;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.compra-total {
    font-size: 1.1rem;
    font-weight: 700;
    color: #212121;
}

.compra-status {
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.85rem;
    text-transform: capitalize;
}

.status-aprovado {
    background-color: #d4edda;
    color: #155724;
}

.status-pendente {
    background-color: #fff3cd;
    color: #856404;
}

.status-recusado,
.status-failure {
    background-color: #f8d7da;
    color: #721c24;
}

.btn-primary {
    padding: 12px 25px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
}

#search-results,
.tela-categoria {
    padding: 0 15px
}

.list-controls {
    display: block;
    margin-bottom: 20px;
    padding: 0 15px;
}

.list-controls h2 {
    margin-bottom: 20px;
}

.carousel-container {
    width: 100%;
    margin: 0 0 20px 0;
    border-radius: 15px;
    overflow: hidden;
    grid-column: 1 / -1;
    position: relative;
    aspect-ratio: 4 / 1;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    overflow: hidden;
    border-radius: inherit;
}

.carousel-item.active {
    opacity: 1;
    z-index: 1;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    display: block;
}

.carousel-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    left: 15px;
    right: 15px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 3;
    pointer-events: none;
}

.carousel-arrow {
    pointer-events: all;
    background: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 24px;
    cursor: pointer;
    transition: background 0.3s;
}

.carousel-arrow:hover {
    background: rgba(0, 0, 0, 0.7);
}

.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.indicator-dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.indicator-dot.active {
    background-color: white;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal.is-visible {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fefefe;
    padding: 25px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

#login-modal input {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#login-modal button {
    background-color: #b81414;
    color: white;
    padding: 14px;
    border: none;
    width: 100%;
    border-radius: 5px;
    font-size: 16px;
    margin-top: 10px;
}

.ofertas-carousel-container {
    padding: 0;
}

.ofertas-carousel-container .scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    color: #333;
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    display: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s;
}

.ofertas-carousel-container .scroll-btn:hover {
    background-color: white;
}

.ofertas-carousel-container .scroll-btn.left {
    left: 0;
}

.ofertas-carousel-container .scroll-btn.right {
    right: 0;
}

.ofertas-carousel-container.show-arrows .scroll-btn {
    display: block;
}

.carousel-grid {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 16px;
    padding: 15px;
    grid-template-columns: none;
    justify-content: flex-start;
}

.carousel-grid::-webkit-scrollbar {
    display: none;
}

.carousel-grid .oferta-card {
    flex: 0 0 180px;
}

.autocomplete-results {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 999;
    max-height: 400px;
    overflow-y: auto;
}

.autocomplete-results.active {
    display: block;
}

.autocomplete-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 15px;
    cursor: pointer;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover {
    background-color: #f5f5f5;
}

.autocomplete-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 4px;
}

.autocomplete-info {
    display: flex;
    flex-direction: column;
}

.autocomplete-info .title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
}

.autocomplete-info .price {
    font-size: 13px;
    color: #b81414;
    font-weight: bold;
}

.autocomplete-no-results {
    padding: 15px;
    text-align: center;
    color: #777;
    font-style: italic;
}

.footer-container {
    background-color: #ffffff;
    color: #000000;
    padding: 40px 20px;
    font-size: 14px;
    width: 100%;
}

.footer-main {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-heading {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #000000;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #b81414;
}

.social-icons a {
    display: inline-block;
    margin-right: 15px;
    transition: transform 0.3s;
}

.social-icons a:hover {
    transform: scale(1.1);
}

.social-icons img {
    width: 24px;
    height: 24px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.footer-payment,
.footer-security {
    margin-bottom: 20px;
}

.footer-payment h4,
.footer-security h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #000000;
}

.footer-payment img,
.footer-security img {
    max-width: 100%;
}

.footer-copyright {
    width: 100%;
    margin-top: 10px;
    font-size: 12px;
    color: #555555;
}

@media (max-width: 992px) {
    .home-layout {
        grid-template-columns: 30% 1fr;
        height: clamp(280px, 50vw, 420px);
    }

    .home-layout .daily-deal-container,
    .home-layout .produtos_em_oferta {
        height: 100%;
        margin-bottom: 0;
    }

    .produtos_em_oferta h2 {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .daily-deal-container h2 {
        font-size: 16px;
        margin: 10px 0 10px 0;
    }

    .menu-toggle {
        display: block;
    }

    .side-drawer {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100%;
        background: #b81414;
        z-index: 2000;
        transition: 0.3s;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .side-drawer.active {
        right: 0;
    }

    .side-drawer .close-btn {
        background: none;
        border: none;
        font-size: 32px;
        color: #ffffff;
        cursor: pointer;
        align-self: flex-end;
        margin: 0;
        padding: 0;
        line-height: 1;
    }

    .overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1500;
    }

    .overlay.active {
        display: block;
    }

    .close-btn {
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .header-main {
        gap: 10px;
    }

    .search-box {
        width: 100%;
        margin: 0;
    }

    .ofertas-grid,
    #search-results-container,
    #categoria-container,
    #featured-products-grid {
        grid-template-columns: repeat(auto-fit, 150px);
    }

    .product-main-info {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) {
    .scroll-btn {
        display: none;
    }

    .menu-toggle,
    .side-drawer,
    .overlay {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .carousel-grid .oferta-card {
        flex: 0 0 110px;
    }

    .daily-deal-container h2 {
        font-size: 11px;
        margin: 4px 0 0 0;
    }

    .produtos_em_oferta h2 {
        font-size: 11px;
        margin: 4px 0 2px 4px;
    }

    .oferta-card {
        padding: 5px;
    }

    .oferta-info .titulo,
    .daily-deal-product .titulo {
        font-size: 11px;
        margin-bottom: 2px;
    }

    .oferta-info .preco_antigo,
    .daily-deal-product .preco_antigo {
        font-size: 10px;
    }

    .oferta-info .preco,
    .daily-deal-product .preco {
        font-size: 12px;
    }

    .home-layout {
        gap: 10px;
        margin: 0 10px 25px 10px;
        height: auto;
    }

    .oferta-info,
    .daily-deal-product .oferta-info {
        padding: 2px;
    }

    .oferta-card img,
    .daily-deal-product img {
        padding: 2px;
        max-height: 85px;
    }

    #oferta-do-dia-container .oferta-card {
        padding: 5px;
    }

    .carousel-grid {
        gap: 8px;
    }

    .cart-item {
        grid-template-columns: 80px 1fr auto;
        grid-template-areas: "img info info" "img qty total" "img remove remove";
        row-gap: 10px;
    }

    .cart-item img {
        grid-area: img;
    }

    .cart-item-info {
        grid-area: info;
    }

    .cart-item-quantity {
        grid-area: qty;
    }

    .cart-item-total {
        grid-area: total;
    }

    .remove-from-cart {
        grid-area: remove;
    }
}

.config-container {
    max-width: 1100px;
    margin: 40px auto;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
    overflow: hidden;
}

.config-container h1 {
    padding: 25px 40px;
    margin: 0;
    font-size: 1.8rem;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.config-main {
    display: flex;
}

.config-nav {
    width: 240px;
    flex-shrink: 0;
    background-color: #f8f9fa;
    border-right: 1px solid #e9ecef;
    padding: 20px 0;
}

.config-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.config-nav a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    text-decoration: none;
    color: #495057;
    font-weight: 500;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.config-nav a .fas {
    width: 20px;
    text-align: center;
    color: #868e96;
    transition: color 0.3s ease;
}

.config-nav a:hover {
    background-color: #e9ecef;
    color: #0056b3;
}

.config-nav a:hover .fas {
    color: #0056b3;
}

.config-nav a.active {
    background-color: #fff;
    color: #0d6efd;
    font-weight: 600;
    border-left-color: #0d6efd;
}

.config-nav a.active .fas {
    color: #0d6efd;
}

.config-content {
    flex-grow: 1;
    padding: 30px 40px;
    background-color: #fff;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

.tab-content h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.6rem;
    color: #343a40;
    margin-top: 0;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f1f1;
}

@media (max-width: 992px) {
    .config-main {
        flex-direction: column;
    }

    .config-nav {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e9ecef;
        padding: 0;
        display: flex;
        overflow-x: auto;
    }

    .config-nav ul {
        display: flex;
        width: 100%;
    }

    .config-nav li {
        flex-shrink: 0;
    }

    .config-nav a {
        border-left: none;
        border-bottom: 4px solid transparent;
        justify-content: center;
    }

    .config-nav a.active {
        border-bottom-color: #0d6efd;
    }

    .config-content {
        padding: 30px 20px;
    }
}

.product-reviews-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.product-reviews-section h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
}

#reviews-summary-container {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 30px;
}

.avg-rating-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #444;
}

.avg-stars {
    color: #ffc107;
    margin-top: -5px;
}

#review-form-container {
    margin-bottom: 40px;
    padding: 25px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fff;
}

#review-form h4 {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 1.2rem;
}

#review-form p {
    margin-top: 0;
    margin-bottom: 15px;
    color: #666;
}

#review-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    margin-bottom: 15px;
    resize: vertical;
}

.review-login-prompt {
    font-style: italic;
    color: #555;
    text-align: center;
    padding: 15px;
}

.review-login-prompt a {
    color: #1a73e8;
    text-decoration: underline;
    font-weight: bold;
}

.star-rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    margin-bottom: 15px;
}

.star-rating-input input[type="radio"] {
    display: none;
}

.star-rating-input label {
    font-size: 2rem;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s;
    padding: 0 5px;
}

.star-rating-input label:before {
    content: '\f005';
    font-family: 'Font Awesome 6 Free';
    font-weight: 400;
}

.star-rating-input input[type="radio"]:checked~label,
.star-rating-input label:hover,
.star-rating-input label:hover~label {
    color: #ffc107;
}

.star-rating-input input[type="radio"]:checked~label:before,
.star-rating-input label:hover:before,
.star-rating-input label:hover~label:before {
    font-weight: 900;
}

#reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-card {
    display: flex;
    gap: 15px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
}

.review-author {
    flex-shrink: 0;
    text-align: center;
    width: 100px;
}

.review-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 5px;
}

.review-author span {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #555;
    word-break: break-word;
}

.review-content .review-stars {
    color: #ffc107;
    margin-bottom: 8px;
}

.review-content p {
    margin: 0 0 10px 0;
    line-height: 1.6;
}

.review-content small {
    color: #888;
    font-size: 0.8rem;
}

.sort-select-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-select-container label {
    font-size: 14px;
    font-weight: 500;
    color: #555;
}

.sort-select {
    padding: 8px 30px 8px 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    background-color: #fff;
    font-size: 14px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background-color: #333;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
    min-width: 250px;
    max-width: 350px;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast.hide {
    animation: slideOutRight 0.5s forwards;
}

.toast i {
    font-size: 1.2em;
}

.toast span {
    flex-grow: 1;
}

.toast.info {
    background-color: #17a2b8;
}

.toast.success {
    background-color: #28a745;
}

.toast.error {
    background-color: #dc3545;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

/* Image Upload & Previews on Sell Page */
#image-upload-container-vender {
    border: 2px dashed #ccc;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    background: #f9f9f9;
    margin-top: 5px;
    position: relative;
}

#image-preview-container-vender {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
    justify-content: center;
}

.image-preview-item {
    position: relative;
    width: 80px;
    height: 80px;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.image-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-preview-item .remove-img-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(244, 67, 54, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    z-index: 5;
    transition: background-color 0.2s;
}

.image-preview-item .remove-img-btn:hover {
    background: #d32f2f;
}

#image-upload-input-vender {
    display: none;
}

.upload-label {
    display: inline-block;
    padding: 10px 20px;
    background-color: #333;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s;
}

.upload-label:hover {
    background-color: #444;
}

.instrucao-upload {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

/* Responsive layout for header elements under 768px */
@media (max-width: 768px) {
    .header {
        box-shadow: 0 0;
    }

    .header-main {
        flex-wrap: nowrap;
        padding: 5px 10px;
    }

    .logo-img {
        width: 35px;
    }

    .search-box {
        margin: 0 8px;
    }

    .cart-icon img {
        width: 30px;
    }

    .cart-count {
        top: -2px;
        left: 10px;
        font-size: 10px;
    }

    .header-actions {
        gap: 10px;
    }

    /* Show a menu toggle icon (hamburger) */
    .menu-toggle {
        display: block;
        font-size: 24px;
        color: white;
        background-color: transparent;
        border: none;
        cursor: pointer;
        margin-left: 8px;
    }

    .nav-container {
        display: none;
    }

    .side-drawer .nav-container {
        display: block !important;
        width: 100%;
    }

    .side-drawer .scroll-btn {
        display: none !important;
    }

    .side-drawer .nav-menu {
        display: flex !important;
        flex-direction: column !important;
        overflow-x: visible !important;
        overflow-y: visible !important;
        gap: 10px;
        width: 100%;
    }

    .side-drawer .nav-menu .nav-item a,
    .side-drawer .nav-menu .nav-item-link a,
    .side-drawer .dropbtn {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 12px 15px !important;
        color: #ffffff !important;
        text-decoration: none !important;
        font-size: 1rem !important;
        margin: 0 !important;
        height: auto !important;
        text-align: left !important;
        border-radius: 6px;
        transition: background-color 0.2s;
    }

    .nav-item.active a {
        border-radius: 5px !important;
    }

    .nav-item a,
    .nav-item-link a {
        margin: 0px !important;
    }

    .side-drawer .nav-menu .nav-item a:hover,
    .side-drawer .nav-menu .nav-item-link a:hover,
    .side-drawer .dropbtn:hover {
        background-color: rgba(255, 255, 255, 0.15) !important;
    }

    .side-drawer .nav-menu .nav-item a.active,
    .side-drawer .nav-menu .nav-item-link a.active,
    .side-drawer .nav-menu .nav-item.active a,
    .side-drawer .nav-menu .nav-item-link.active a {
        background-color: rgba(0, 0, 0, 0.6) !important;
        color: #ffffff !important;
        font-weight: bold !important;
    }

    .side-drawer .dropdown {
        width: 100%;
        position: relative;
    }

    .side-drawer .dropdown-content-c {
        position: static !important;
        display: none;
        flex-direction: column !important;
        background-color: rgba(0, 0, 0, 0.15) !important;
        box-shadow: none !important;
        width: 100% !important;
        max-height: none !important;
        overflow-y: visible !important;
        border-radius: 6px;
        margin-top: 5px;
        padding-left: 10px;
    }

    .side-drawer .dropdown.active .dropdown-content-c {
        display: flex !important;
    }

    .side-drawer .dropdown-content-c a {
        color: #ffffff !important;
        padding: 10px 15px !important;
        font-size: 0.95rem !important;
        border-radius: 6px;
        display: block !important;
        text-decoration: none !important;
    }

    .side-drawer .dropdown-content-c a:hover {
        background-color: rgba(255, 255, 255, 0.1) !important;
    }

    .menu {
        display: none;
    }

    main {
        padding: 0px;
    }

    .carousel-container {
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 0px;
        background: linear-gradient(#b81414, #f0f2f5);
    }

    .img_do_carrossel {
        width: 90%;
        border-radius: 15px;
    }


    /* Layout for Oferta do Dia and Ofertas on small screens */
    .home-layout {
        display: grid;
        grid-template-columns: 30% 1fr;
        gap: 12px;
        margin: 0 15px 30px 15px;
        height: auto;
        /* Fits content height dynamically to prevent blank space below cards */
    }

    .daily-deal-container {
        margin: 0;
        height: 100%;
    }

    #margem_ofertas {
        margin: 0;
    }

    .produtos_em_oferta {
        padding: 0px;
        height: 100%;
    }

    .carousel-grid {
        padding: 8px 4px;
        gap: 10px;
    }

    .carousel-grid .oferta-card {
        flex: 0 0 130px;
    }

    .oferta-info,
    .daily-deal-product .oferta-info {
        padding: 3px;
    }

    .oferta-card img,
    .daily-deal-product img {
        padding: 3px;
        max-height: 100px;
    }

    .ofertas-carousel-container .scroll-btn {
        width: 26px;
        height: 26px;
        font-size: 12px;
        line-height: 24px;
        padding: 0;
    }

    #oferta-do-dia-container .oferta-card {
        padding: 8px;
    }

    .produtos_em_oferta h2 {
        font-size: 12px;
        margin: 6px 0 4px 6px;
    }

    .daily-deal-container h2 {
        font-size: 12px;
        margin: 6px 0 0 0;
    }

    .oferta-card {
        padding: 8px;
    }

    .oferta-info .titulo,
    .daily-deal-product .titulo {
        font-size: 13px;
        margin-bottom: 3px;
    }

    .oferta-info .preco_antigo,
    .daily-deal-product .preco_antigo {
        font-size: 11px;
    }

    .oferta-info .preco,
    .daily-deal-product .preco {
        font-size: 14px;
    }

    #featured-produtos,
    #categories-section {
        margin: 40px 15px;
    }

    #related-produtos-section {
        margin: 40px;
    }

}

@media (max-width: 768px) {

    .nav-item.active a::after,
    .nav-item-link.active a::after {
        content: none !important;
    }
}

/* =================================================================================
   TELA DE NOVIDADES (ESTILO PREMIUM)
   ================================================================================= */

.tela-novidades {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px;
}

/* Cabeçalho */
.novidades-header-section {
    text-align: center;
    margin-bottom: 40px;
}

.novidades-pretitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #7f00ff;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

.novidades-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.title-divider {
    height: 4px;
    width: 60px;
    background: linear-gradient(90deg, #7f00ff 0%, #e100ff 100%);
    margin: 0 auto 20px auto;
    border-radius: 2px;
}

.novidades-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Hero Banner (Destaque) */
.novidades-hero-banner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    background: linear-gradient(135deg, #141420 0%, #08080f 100%);
    border: 1px solid rgba(127, 0, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 0 25px rgba(127, 0, 255, 0.15);
    border-radius: 16px;
    padding: 50px;
    color: #fff;
    margin-bottom: 50px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.novidades-hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(225, 0, 255, 0.15) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.hero-banner-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    background: rgba(127, 0, 255, 0.2);
    border: 1px solid rgba(127, 0, 255, 0.4);
    color: #e100ff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero-banner-content h2 {
    font-size: 2.4rem;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.2;
    color: #fff;
}

.hero-description {
    color: #a5a5b5;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.hero-price-container {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 30px;
}

.hero-price-container .preco-antigo {
    text-decoration: line-through;
    color: #6a6a7a;
    font-size: 1.1rem;
}

.hero-price-container .preco {
    font-size: 2.4rem;
    font-weight: 800;
    color: #e100ff;
    text-shadow: 0 0 12px rgba(225, 0, 255, 0.35);
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-cta-btn {
    background: #fff;
    color: #08080f;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid #fff;
    transition: all 0.25s ease-in-out;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.hero-cta-btn:hover {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.hero-add-cart-btn {
    background: linear-gradient(135deg, #7f00ff 0%, #e100ff 100%) !important;
    color: #fff !important;
    border: none !important;
    padding: 14px 28px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: all 0.25s ease-in-out !important;
    text-transform: uppercase;
    font-size: 0.85rem !important;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(127, 0, 255, 0.4);
    margin: 0 !important;
    width: auto !important;
}

.hero-add-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(127, 0, 255, 0.6);
    filter: brightness(1.1);
}

.hero-banner-image {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px;
    aspect-ratio: 1.1 / 1;
}

.hero-banner-image img {
    max-width: 100%;
    max-height: 280px;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s ease-in-out;
}

.hero-banner-image:hover img {
    transform: scale(1.06) rotate(1deg);
}

/* Grade de Produtos Recentes */
.novidades-grid-section {
    margin-top: 50px;
    background-color: #fff;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.grid-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 30px;
    border-bottom: 2px solid #f0f0f5;
    padding-bottom: 12px;
}

.novidades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
}

/* Animações e Loading States */
.novidades-loading,
.novidades-vazia,
.novidades-error {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    margin-top: 30px;
}

.novidades-spinner {
    border: 4px solid rgba(127, 0, 255, 0.1);
    border-top-color: #7f00ff;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px auto;
}

.novidades-loading p {
    color: #666;
    font-size: 1.05rem;
    font-weight: 500;
}

.novidades-vazia h2,
.novidades-error h2 {
    font-size: 1.8rem;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.novidades-vazia p,
.novidades-error p {
    color: #666;
    margin-bottom: 25px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.animate-fade-in {
    animation: fadeInScale 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsividade do Banner */
@media (max-width: 992px) {
    .novidades-hero-banner {
        grid-template-columns: 1fr;
        padding: 35px;
        gap: 30px;
    }

    .hero-banner-image {
        order: -1;
        aspect-ratio: 1.4 / 1;
        padding: 20px;
    }

    .hero-banner-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .novidades-hero-banner {
        padding: 25px;
    }

    .hero-banner-content h2 {
        font-size: 1.7rem;
    }

    .hero-price-container .preco {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-cta-btn,
    .hero-add-cart-btn {
        width: 100% !important;
        text-align: center;
    }

    .novidades-grid-section {
        padding: 20px;
    }

    .novidades-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }
}

/* =================================================================================
   TELA DE FIDELIDADE (CLUBE LOOT)
   ================================================================================= */

.tela-fidelidade {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 15px;
}

/* Estado de Carregamento & Erro */
.fidelidade-loading,
.fidelidade-error {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    margin-top: 30px;
}

body.dark-mode .fidelidade-loading,
body.dark-mode .fidelidade-error {
    background: #141420;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.fidelidade-spinner {
    border: 4px solid rgba(127, 0, 255, 0.1);
    border-top-color: #7f00ff;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px auto;
}

/* Boas-vindas (Não Logado) */
.clube-loot-welcome {
    padding: 20px 0;
}

.welcome-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #7f00ff 0%, #e100ff 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(127, 0, 255, 0.3);
}

.clube-loot-welcome h1 {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(90deg, #7f00ff 0%, #e100ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

body.dark-mode .clube-loot-welcome h1 {
    background: linear-gradient(90deg, #b9f2ff 0%, #e100ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.welcome-tagline {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
}

body.dark-mode .welcome-tagline {
    color: #a5a5b5;
}

.welcome-hero-card {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(127, 0, 255, 0.1);
    align-items: center;
}

body.dark-mode .welcome-hero-card {
    background: linear-gradient(135deg, #141420 0%, #08080f 100%);
    border: 1px solid rgba(127, 0, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.hero-left h2 {
    font-size: 1.8rem;
    color: #1a1a2e;
    margin-bottom: 15px;
}

body.dark-mode .hero-left h2 {
    color: #fff;
}

.hero-left p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
}

body.dark-mode .hero-left p {
    color: #a5a5b5;
}

.welcome-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.step {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.step-num {
    background: rgba(127, 0, 255, 0.1);
    color: #7f00ff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

body.dark-mode .step-num {
    background: rgba(127, 0, 255, 0.3);
    color: #e100ff;
}

.step div strong {
    color: #1a1a2e;
    font-size: 1rem;
    display: block;
    margin-bottom: 3px;
}

body.dark-mode .step div strong {
    color: #fff;
}

.step div p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

body.dark-mode .step div p {
    color: #8a8a9a;
}

.btn-welcome-cta {
    background: linear-gradient(135deg, #7f00ff 0%, #e100ff 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(127, 0, 255, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-welcome-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(127, 0, 255, 0.5);
    filter: brightness(1.1);
}

.hero-right {
    display: flex;
    justify-content: center;
}

.visual-card-rewards {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 250px;
}

.mini-reward-card {
    padding: 12px 18px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.mini-reward-card.bronze {
    background: linear-gradient(135deg, #ffd1a9, #cd7f32);
    color: #4a2300;
}

.mini-reward-card.silver {
    background: linear-gradient(135deg, #e2e2e2, #9b9b9b);
    color: #222;
}

.mini-reward-card.gold {
    background: linear-gradient(135deg, #fff2a3, #d4af37);
    color: #4a3b00;
}

.mini-reward-card.diamond {
    background: linear-gradient(135deg, #e3faff, #54b2cf);
    color: #024154;
}

/* Dashboard Logado */
.clube-loot-dashboard {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Cabeçalho do Painel */
.dashboard-header-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

body.dark-mode .dashboard-header-card {
    background: #141420;
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.user-profile-summary {
    display: flex;
    align-items: center;
    gap: 20px;
}

.dashboard-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid #7f00ff;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(127, 0, 255, 0.2);
}

.user-info-text .user-greetings {
    font-size: 0.9rem;
    color: #666;
    display: block;
}

body.dark-mode .user-info-text .user-greetings {
    color: #8a8a9a;
}

.user-info-text h2 {
    font-size: 1.6rem;
    color: #1a1a2e;
    margin: 5px 0;
}

body.dark-mode .user-info-text h2 {
    color: #fff;
}

.user-badge-level {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.user-badge-level.tier-bronze {
    background: rgba(205, 127, 50, 0.15);
    color: #cd7f32;
    border: 1px solid rgba(205, 127, 50, 0.3);
}

.user-badge-level.tier-silver {
    background: rgba(192, 192, 192, 0.15);
    color: #a0a0a0;
    border: 1px solid rgba(192, 192, 192, 0.3);
}

.user-badge-level.tier-gold {
    background: rgba(255, 215, 0, 0.15);
    color: #d4af37;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.user-badge-level.tier-diamond {
    background: rgba(185, 242, 255, 0.15);
    color: #3aa2c0;
    border: 1px solid rgba(185, 242, 255, 0.3);
}

.user-points-card {
    text-align: right;
    display: flex;
    flex-direction: column;
}

.user-points-card .pts-label {
    font-size: 0.85rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

body.dark-mode .user-points-card .pts-label {
    color: #8a8a9a;
}

.user-points-card .pts-value {
    font-size: 2.8rem;
    font-weight: 800;
    color: #7f00ff;
    line-height: 1;
    margin-top: 5px;
}

body.dark-mode .user-points-card .pts-value {
    color: #e100ff;
    text-shadow: 0 0 15px rgba(225, 0, 255, 0.2);
}

.user-points-card .pts-symbol {
    font-size: 1.2rem;
    font-weight: 600;
    color: #666;
}

body.dark-mode .user-points-card .pts-symbol {
    color: #a5a5b5;
}

/* Progress bar */
.tier-progress-section {
    background: #ffffff;
    padding: 25px 30px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

body.dark-mode .tier-progress-section {
    background: #141420;
    border-color: rgba(255, 255, 255, 0.05);
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 12px;
}

body.dark-mode .progress-labels {
    color: #a5a5b5;
}

.progress-bar-container {
    height: 12px;
    background: #f0f0f5;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

body.dark-mode .progress-bar-container {
    background: #252538;
}

.progress-bar-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Grid Dashboard */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
}

.dashboard-section {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

body.dark-mode .dashboard-section {
    background: #141420;
    border-color: rgba(255, 255, 255, 0.05);
}

.dashboard-section h3 {
    font-size: 1.4rem;
    color: #1a1a2e;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

body.dark-mode .dashboard-section h3 {
    color: #fff;
}

.dashboard-section h3 i {
    color: #7f00ff;
}

body.dark-mode .dashboard-section h3 i {
    color: #e100ff;
}

.section-desc {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 25px;
}

body.dark-mode .section-desc {
    color: #8a8a9a;
}

/* Recompensas (Cards de Cupom) */
.rewards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.reward-card {
    background: #f9f9fc;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.25s ease-in-out;
}

body.dark-mode .reward-card {
    background: #191928;
    border-color: rgba(255, 255, 255, 0.02);
}

.reward-card.redeemable {
    border: 1px solid rgba(127, 0, 255, 0.15);
    box-shadow: 0 4px 15px rgba(127, 0, 255, 0.02);
}

body.dark-mode .reward-card.redeemable {
    border-color: rgba(225, 0, 255, 0.2);
}

.reward-card.locked {
    opacity: 0.7;
}

.reward-cost {
    background: rgba(127, 0, 255, 0.08);
    color: #7f00ff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    align-self: flex-start;
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

body.dark-mode .reward-cost {
    background: rgba(225, 0, 255, 0.15);
    color: #e100ff;
}

.reward-card h4 {
    font-size: 1.15rem;
    color: #1a1a2e;
    margin-bottom: 8px;
}

body.dark-mode .reward-card h4 {
    color: #fff;
}

.reward-card p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
    margin-bottom: 20px;
    flex-grow: 1;
}

body.dark-mode .reward-card p {
    color: #8a8a9a;
}

.reward-action-area {
    margin-top: auto;
}

.btn-redeem {
    width: 100%;
    background: linear-gradient(135deg, #7f00ff 0%, #e100ff 100%);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-redeem:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(127, 0, 255, 0.3);
}

.btn-redeem-disabled {
    width: 100%;
    background: #e9ecef;
    color: #6c757d;
    border: none;
    padding: 10px;
    border-radius: 6px;
    font-weight: bold;
    cursor: not-allowed;
}

body.dark-mode .btn-redeem-disabled {
    background: #252538;
    color: #8a8a9a;
}

.revealed-coupon-redeemed {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.coupon-code-box {
    background: #eef2ff;
    border: 1px dashed #7f00ff;
    padding: 8px;
    border-radius: 6px;
    font-size: 0.95rem;
    color: #333;
}

body.dark-mode .coupon-code-box {
    background: #1e1e35;
    border-color: #e100ff;
    color: #fff;
}

.btn-copy-coupon-large {
    background: #28a745;
    color: white;
    border: none;
    padding: 8px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.btn-copy-coupon-large:hover {
    background: #218838;
}

/* Lista de Desafios */
.challenges-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.challenge-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f9f9fc;
    border: 1px solid rgba(0, 0, 0, 0.03);
    padding: 20px;
    border-radius: 12px;
    position: relative;
}

body.dark-mode .challenge-item {
    background: #191928;
    border-color: rgba(255, 255, 255, 0.02);
}

.challenge-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.challenge-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.challenge-icon.whatsapp {
    background: #25d366;
}

.challenge-details {
    flex-grow: 1;
}

.challenge-details h4 {
    font-size: 1.05rem;
    color: #1a1a2e;
    margin-bottom: 4px;
}

body.dark-mode .challenge-details h4 {
    color: #fff;
}

.challenge-details p {
    font-size: 0.85rem;
    color: #666;
    margin: 0 0 6px 0;
}

body.dark-mode .challenge-details p {
    color: #8a8a9a;
}

.challenge-reward {
    font-size: 0.8rem;
    font-weight: 700;
    color: #28a745;
    background: rgba(40, 167, 69, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
}

.challenge-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.btn-challenge-go {
    background: #7f00ff;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.85rem;
}

.btn-challenge-go:hover {
    background: #6200cc;
    transform: translateY(-1px);
}

.completed-badge {
    color: #28a745;
    font-weight: bold;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.revealed-coupon {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    background: #eef2ff;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px dashed #7f00ff;
    color: #333;
}

body.dark-mode .revealed-coupon {
    background: #1e1e35;
    border-color: #e100ff;
    color: #fff;
}

.btn-copy-coupon {
    background: transparent;
    border: none;
    color: #7f00ff;
    cursor: pointer;
    font-size: 0.85rem;
    padding: 2px;
}

body.dark-mode .btn-copy-coupon {
    color: #e100ff;
}

.btn-copy-coupon:hover {
    filter: brightness(1.2);
}

/* Responsividade do Painel */
@media (max-width: 992px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .dashboard-header-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .user-points-card {
        text-align: left;
        width: 100%;
        border-top: 1px solid #f0f0f5;
        padding-top: 15px;
    }

    body.dark-mode .user-points-card {
        border-color: rgba(255, 255, 255, 0.05);
    }

    .rewards-grid {
        grid-template-columns: 1fr;
    }

    .welcome-hero-card {
        grid-template-columns: 1fr;
        padding: 25px;
    }

    .hero-right {
        order: -1;
        width: 100%;
    }

    .visual-card-rewards {
        max-width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .mini-reward-card {
        flex: 1 1 40%;
    }
}

@media (max-width: 576px) {
    .challenge-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .challenge-action {
        width: 100%;
        align-items: flex-start;
    }

    .btn-challenge-go {
        width: 100%;
        text-align: center;
    }

    .revealed-coupon {
        width: 100%;
        justify-content: space-between;
    }
}

/* ================================================================== */
/*                     THEME SWITCH (DARK MODE)                     */
/* ================================================================== */
.theme-switch-wrapper {
    display: flex;
    align-items: center;
}

.theme-switch {
    display: inline-block;
    height: 28px;
    position: relative;
    width: 52px;
}

.theme-switch input {
    display: none;
}

.slider {
    background-color: rgba(255, 255, 255, 0.15);
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.slider:before {
    background-color: #ffffff;
    bottom: 2px;
    content: "";
    height: 22px;
    left: 3px;
    position: absolute;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 22px;
    z-index: 2;
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked+.slider {
    background-color: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

input:checked+.slider:before {
    transform: translateX(22px);
    background-color: #ffd700;
}

.slider .sun-icon {
    color: #ffd700;
    font-size: 11px;
    z-index: 1;
    transition: opacity 0.2s;
}

.slider .moon-icon {
    color: #e0e0e0;
    font-size: 11px;
    z-index: 1;
    transition: opacity 0.2s;
}

/* Hide sun/moon icons based on state for better aesthetics */
input:checked+.slider .sun-icon {
    opacity: 0.3;
}

input:not(:checked)+.slider .moon-icon {
    opacity: 0.3;
}

.mobile-theme-switch {
    display: none;
    margin: 15px 20px;
    align-items: center;
    gap: 12px;
}

.mobile-theme-label {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
}

@media (max-width: 480px) {
    .header-actions .theme-switch-wrapper {
        display: none !important;
    }

    .mobile-theme-switch {
        display: flex !important;
    }
}

@media (max-width: 320px) {
    .logo-img {
        width: 25px;
    }

    .search-box {
        padding: 2px 5px;
    }

    .search-icon {
        width: 10px;
        height: 10px;
    }

    .avatar {
        width: 15px;
        height: 15px;
    }

    .user-name {
        font-size: 10px;
    }

    .arrow {
        margin-left: 0;
    }

    .cat-icon img {
        width: 25px;
    }

    .cart-count {
        top: -3px;
        left: 8px;
        font-size: 9px;
    }

    .menu-toggle {
        font-size: 15px;
    }

    a img[alt="banner padrão"],
    .a img[alt="banner padrão"] {
        width: 97%;
        border-radius: 10px;
    }

    h2 {
        font-size: 10px;
    }

    .oferta-card {
        padding: 3px;
    }

    .oferta-info .titulo,
    .daily-deal-product .titulo {
        font-size: 9px;
    }

    .preco_antigo {
        font-size: 8px;
    }

    .preco {
        font-size: 11px;
    }

    .produtos_em_oferta h2 {
        margin: 2px 0 1px 2px;
        font-size: 9px;
    }

    .daily-deal-container h2 {
        font-size: 9px;
        margin: 2px 0 0 0;
    }

    .carousel-grid,
    .carrousel_grid {
        padding: 3px;
        gap: 6px;
    }

    .carousel-grid .oferta-card {
        flex: 0 0 100px;
    }

    .ofertas-carousel-container .scroll-btn {
        width: 22px;
        height: 22px;
        font-size: 10px;
        line-height: 20px;
        padding: 0;
    }

    .home-layout {
        margin: 0 6px 20px 6px;
        gap: 6px;
        height: auto;
    }

    .daily-deal-container {
        margin: 0;
    }

    #categories-grid.carousel-grid .category-card {
        flex: 0 0 100px;
    }

    .category-card {
        height: 100px;
    }

    .category-icon {
        font-size: 16px;
    }

    #oferta-do-dia-container .oferta-card {
        padding: 3px;
    }

    .oferta-info,
    .daily-deal-product .oferta-info {
        padding: 0;
    }

    .oferta-card img,
    .daily-deal-product img {
        padding: 0;
        max-height: 75px;
    }
}