/* ========================================
   HEADER
======================================== */
.header {
    width: 100%;
    background: rgb(255, 217, 0);
    padding: 14px 0;
}

/* ========================================
   CONTAINER
======================================== */
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

/* ========================================
   LEFT
======================================== */
.header-left {
    display: flex;
    align-items: center;
    gap: 22px;
}

/* ========================================
   LOGO
======================================== */
.logo img {
    width: 180px;
    object-fit: contain;
    display: block;
}

/* ========================================
   LOCALIZAÇÃO
======================================== */
.location-box {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #111;
}

.location-box div {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.location-box small {
    font-size: 12px;
}

.location-box span {
    font-size: 13px;
    font-weight: 700;
}

/* ========================================
   SVG LOCALIZAÇÃO
======================================== */
.location-svg {
    width: 24px;
    height: 24px;
    fill: #111;
    display: block;
}

/* ========================================
   BUSCA
======================================== */
.search-box {
    flex: 1;
    max-width: 650px;
    height: 52px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.search-box input {
    flex: 1;
    height: 100%;
    padding: 0 20px;
    background: none;
    border: none;
    outline: none;
    font-size: 16px;
}

.search-box button {
    width: 60px;
    height: 100%;
    background: #f5a000;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.search-svg {
    width: 22px;
    height: 22px;
    fill: #111;
}

/* ========================================
   ACTIONS
======================================== */
.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

/* ========================================
   BOTÕES
======================================== */
.icon-btn,
.account-btn {
    background: none;
    border: none;
    outline: none;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* ========================================
   ICON BTN
======================================== */
.icon-btn {
    width: 42px;
    height: 42px;
    background: transparent;
    position: relative;
}

/* ========================================
   SVG ICONS
======================================== */
.icon-svg {
    width: 26px;
    height: 26px;
    fill: #111;
    display: block;
}

.user-svg {
    width: 36px;
    height: 36px;
    fill: #111;
    display: block;
}

/* ========================================
   CONTA
======================================== */
.account-btn {
    gap: 10px;
    color: #111;
}

.account-btn div {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-align: left;
}

.account-btn small {
    font-size: 12px;
}

.account-btn span {
    font-size: 13px;
    font-weight: 700;
}

/* ========================================
   CARRINHO
======================================== */
.cart-btn {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========================================
   MENU
======================================== */
.menu {
    width: 100%;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.menu-container {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.menu-left {
    display: flex;
    align-items: center;
    gap: 28px;
}

.menu-toggle {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    color: #111;
}

.menu-svg {
    width: 34px;
    height: 34px;
    fill: #111;
    display: block;
}

.menu-left a {
    font-size: 15px;
    font-weight: 600;
    color: #111;
    text-decoration: none;
    transition: 0.3s;
}

.menu-left a:hover {
    color: #f5a000;
}

.menu-right span {
    font-size: 14px;
    font-weight: 700;
    color: #111;
}

/* ========================================
   HERO / BANNERS (AJUSTADO)
======================================== */
.hero {
    width: 100%;
    padding: 25px 0;
    display: flex;
    justify-content: center; /* centraliza o slider */
}

.hero-slider {
    width: 100%;
    max-width: 1920px;  /* largura máxima */
    height: 350px;      /* altura fixa */
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    background: #eee;
}

/* O restante do CSS do hero permanece igual */
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* mantém proporção sem distorcer */
    display: block;
}

/* Botões e dots (sem alterações) */
.hero-prev,
.hero-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    font-size: 26px;
    cursor: pointer;
    z-index: 5;
    transition: 0.3s;
}

.hero-prev {
    left: 20px;
}

.hero-next {
    right: 20px;
}

.hero-prev:hover,
.hero-next:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.05);
}

.hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 5;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    width: 34px;
    border-radius: 20px;
    background: #fff;
}
/* ========================================
   RESPONSIVO
======================================== */
@media (max-width: 1100px) {
    .header-container {
        flex-wrap: wrap;
    }
    .search-box {
        order: 3;
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 900px) {
    .menu-container {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 0;
    }
    .menu-left {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 5px;
    }
    .menu-left::-webkit-scrollbar {
        display: none;
    }
    .menu-right {
        display: none;
    }
    .hero-slider {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .location-box {
        display: none;
    }
    .account-btn div {
        display: none;
    }
    .logo img {
        width: 150px;
    }
    .header-actions {
        gap: 10px;
    }
    .hero-slider {
        height: 220px; /* altura menor para mobile */
    }
}

@media (max-width: 600px) {
    .menu-left {
        overflow-x: auto;
        width: 100%;
        padding-bottom: 5px;
    }
    .menu-left::-webkit-scrollbar {
        display: none;
    }
    .menu-container {
        padding: 0 15px;
    }
    .hero {
        padding: 15px 0;
    }
    .hero-slider {
        height: 220px;
        border-radius: 18px;
    }
    .hero-prev,
    .hero-next {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}
@media (max-width: 480px) {
    .hero-slider {
        height: 180px;
    }
}