:root {
    --bs-gutter-x: 24px;
}

@media (min-width: 1440px) {
    .container-xxl {
        max-width: calc(100% - 160px);
    }
}

body {
    background-color: #f5f5f5;
}
.sr-only{
    color:#000;
}
.hidetitle{
    display:none;
    margin-top:250px;
}
/* Reset inicial para todas as seções */
section {
    margin-top: 48px;
    margin-bottom: 48px;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    z-index: 1000;
}

.header-top {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e5e5;
}

.header-nav {
    background: white;
    transform-origin: top;
    transition: all 0.3s ease-in-out;
    border-bottom: 1px solid #e5e5e5;
}

.header-hidden .header-nav {
    display: none;
}

.nav-link {
    color: #666;
    text-transform: lowercase;
}

.nav-link:hover,
.nav-link:focus {
    color: #000;
}

/* Search styles */
.search-wrapper {
    padding: 0 32px;
}

.input-group {
    height: 56px;
    width: 100%;
}

.input-group .form-control {
    height: 100%;
    border: none;
    background-color: #f5f5f5;
    padding-left: 1.5rem;
    padding-right: 3.5rem;
}

.input-group .btn {
    border: none;
    background: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 1rem;
    padding: 0.5rem;
    z-index: 5;
}

.input-group .form-control:focus {
    box-shadow: none;
    background-color: #e9e9e9;
}

.input-group .btn:focus {
    outline: 2px solid #666;
    border-radius: 4px;
}

/* Banner Hero */
.banner-hero {
    height: calc(100vh - 125px);
    position: relative;
    margin-top: 125px;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.banner-hero .container-xxl {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding-bottom: 40px;
}

.banner-content {
    color: #fff;
    max-width: 600px;
}

.banner-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.banner-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Cards Destaques */
.cards-destaques .card {
    aspect-ratio: 4/3;
    position: relative;
    overflow: hidden;
}

.cards-destaques .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.card-img-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.85) 90%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    position: absolute;
    inset: 0;
}

.card-img-overlay .content-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 16px;
}

.card-img-overlay .text-content {
    flex: 1;
}

.card-img-overlay h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card-img-overlay p {
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.5;
}

/* Links Promocionais */
.links-promocionais h2 {
    font-size: 2rem;
    font-weight: 600;
}

.links-promocionais p {
    color: #F85E00;
    font-size: 1rem;
}

.chips-container {
    position: relative;
}

.chips-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0.5rem 0;
}

.chip {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.chip-link {
    text-decoration: none;
    color: #666;
}

.chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.chip i {
    font-size: 1.25rem;
    color: #F85E00;
}

.chip span {
    font-size: 0.875rem;
    font-weight: 500;
}

/* Category Banner */
.category-banner .banner {
    position: relative;
    aspect-ratio: 16/5;
    display: flex;
    align-items: flex-end;
}

.category-banner .banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
}

.category-banner .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
}

.category-banner .banner-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    padding: 0 0 32px 32px;
}

.category-banner h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.category-banner p {
    font-size: 1.25rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

/* Product Cards */
.product-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: white;
}

.product-card:focus {
    outline: 2px solid #F85E00;
    outline-offset: 2px;
}

.product-image-wrapper {
    position: relative;
    width: 100%;
}

.product-badge {
    position: absolute;
    right: 16px;
    top: 40%;
    transform: translateY(-50%);
    width: 96px;
    height: 96px;
    z-index: 2;
}

.product-badge svg {
    width: 100%;
    height: 100%;
}

/* Botão Favorito */
.btn-favorite {
    background: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 2;
}

.btn-favorite[aria-pressed="true"] {
    color: #F85E00;
}

.btn-favorite:focus {
    outline: 2px solid #F85E00;
    outline-offset: 2px;
}

.badge {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.35rem 0.75rem;
    background: #000000;
    z-index: 3;
}

.badge.bg-danger {
    background-color: #D6001C !important;
}

/* Conteúdo do produto */
.product-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #1a1a1a;
    font-weight: normal;
    height: 40px;
}
.old-price{
    height: 24px;
}
.product-footer {
    margin-top: auto;
}

.price-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.old-price {
    font-size: 0.875rem;
    margin-bottom: -0.85rem;
}

.current-price {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1a1a1a;
}

.btn-primary {
    background-color: #F85E00;
    border: none;
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    color: #000;
}

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

.btn-primary:focus {
    background-color: #000000;
}

/* Utility classes */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.rounded-top-4 {
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
}