:root {
    --loja-container-max: 1360px;
    --loja-section-gap: 1.75rem;
    --ecommerce-product-slide-width: 272px;
    --ecommerce-product-image-height: 240px;
}

body {
    font-family: "DM Sans", Montserrat, system-ui, -apple-system, sans-serif;
}

.loja-container {
    width: 100%;
    max-width: var(--loja-container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

.loja-home {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* ===== TOP BAR ===== */
.loja-top-bar {
    background: var(--color-structural);
    color: var(--color-structural-contrast, #fff);
    font-size: 12px;
    padding: 7px 0;
}

.loja-top-bar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px 40px;
    flex-wrap: wrap;
}

@media (min-width: 992px) {
    .loja-top-bar__inner {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        gap: 16px;
        flex-wrap: nowrap;
    }

    .loja-top-bar__item:nth-child(1) {
        justify-self: start;
    }

    .loja-top-bar__item:nth-child(2) {
        justify-self: center;
        grid-column: 2;
    }

    .loja-top-bar__item:only-child {
        grid-column: 1 / -1;
        justify-self: center;
    }
}

.loja-top-bar__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    line-height: 1.35;
}

.loja-top-bar__item i {
    font-size: 13px;
    color: var(--color-structural-contrast, #fff);
    flex-shrink: 0;
}

.loja-top-bar__item strong {
    font-weight: 700;
}

/* ===== HEADER ===== */
.loja-header {
    margin-bottom: 0;
}

.loja-header--themed .loja-header__bar {
    background: #fff;
    color: var(--color-structural);
    padding: 18px 0;
    border-bottom: 1px solid #eef1f5;
}

.loja-header__bar-inner {
    display: flex;
    align-items: center;
    gap: 24px 32px;
}

.loja-header__logo {
    flex-shrink: 0;
}

.loja-header__logo img {
    max-height: 68px;
    width: auto;
    display: block;
}

.loja-header__search-form {
    flex: 1;
    min-width: 0;
    max-width: 640px;
    margin: 0 auto;
}

.loja-header__search-wrap {
    display: flex;
    align-items: stretch;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
}

.loja-header__search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 13px 20px;
    font-size: 14px;
    color: #1e293b;
    background: transparent;
    width: 100% !important;
    min-width: 0;
}

.loja-header__search-input::placeholder {
    color: #94a3b8;
}

.loja-header__search-submit {
    border: none;
    background: var(--color-structural);
    color: var(--color-structural-contrast, #fff);
    min-width: 54px;
    padding: 0 22px;
    font-size: 17px;
    cursor: pointer;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 999px 999px 0;
}

.loja-header__search-submit i {
    color: var(--color-structural-contrast, #fff) !important;
}

.loja-header__actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
    margin-left: auto;
}

.loja-header__action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-structural) !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.loja-header__action i {
    font-size: 20px;
    color: var(--color-structural) !important;
}

.loja-header__cart-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--color-structural);
    color: var(--color-structural-contrast, #fff);
    font-size: 11px;
    font-weight: 700;
    margin-left: 2px;
}

.loja-header__menu-toggle {
    display: none;
}

.loja-header__menu-toggle a {
    color: var(--color-structural) !important;
    font-size: 22px;
    line-height: 1;
}

/* ===== NAV BAR ===== */
.loja-header__sub {
    background: #fff;
    color: var(--color-structural);
    border-top: none;
    border-bottom: 1px solid #eef1f5;
    padding: 0;
}

.loja-header__sub-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 48px;
}

.loja-header__categories-row {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    flex: 1;
}

.loja-header__all-categories-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-structural) !important;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none !important;
    white-space: nowrap;
    padding: 8px 14px;
    border-radius: 8px;
    background: #f1f5f9;
    border: 1px solid #e8ecf1;
    transition: background 0.2s ease;
}

.loja-header__all-categories-btn:hover,
.loja-header__all-categories-btn:focus {
    background: #e8edf3;
    color: var(--color-structural) !important;
}

.loja-header__all-categories-btn i,
.loja-header__all-categories-btn .fa-bars {
    color: var(--color-structural) !important;
}

.loja-header__categories-menu {
    max-height: 320px;
    overflow-y: auto;
}

.loja-header__category-nav {
    overflow-x: auto;
    flex: 1;
    min-width: 0;
    scrollbar-width: none;
}

.loja-header__category-nav::-webkit-scrollbar {
    display: none;
}

.loja-header__category-list {
    display: flex;
    align-items: center;
    gap: 4px 24px;
    list-style: none;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.loja-header__category-list > li > a {
    color: var(--color-structural) !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 600;
    text-transform: none;
    padding: 14px 0 12px;
    display: block;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.loja-header__category-list > li > a:hover {
    color: var(--color-structural) !important;
    border-bottom-color: rgba(0, 0, 0, 0.12);
}

.loja-header__category-list > li.active > a {
    color: var(--color-structural) !important;
    border-bottom-color: var(--color-structural);
}

.loja-header__shipping {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-structural) !important;
    text-decoration: none !important;
    font-size: 13px;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: auto;
    padding: 8px 0;
    background: transparent;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}

.loja-header__shipping:hover,
.loja-header__shipping:focus {
    color: var(--color-structural) !important;
    outline: none;
}

.loja-header__shipping-caret {
    font-size: 12px;
    opacity: 0.7;
}

/* ===== Modal CEP envio ===== */
body.loja-cep-modal-open {
    overflow: hidden;
}

.loja-cep-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    z-index: 1200;
}

.loja-cep-modal {
    position: fixed;
    z-index: 1201;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(420px, calc(100vw - 24px));
}

.loja-cep-modal__card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.22);
    padding: 18px 18px 16px;
    border: 1px solid #e8ecf1;
}

.loja-cep-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.loja-cep-modal__title {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}

.loja-cep-modal__close {
    border: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    padding: 0 4px;
}

.loja-cep-modal__desc {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.45;
    color: #64748b;
}

.loja-cep-modal__form {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.loja-cep-modal__field {
    flex: 1;
    min-width: 0;
    margin: 0;
}

.loja-cep-modal__field-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.loja-cep-modal__field-control {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #dbe3ee;
    border-radius: 10px;
    padding: 0 12px;
    height: 46px;
    background: #fff;
}

.loja-cep-modal__field-control i {
    color: var(--color-main, #2563eb);
}

.loja-cep-modal__input {
    border: 0;
    outline: none;
    width: 100%;
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    background: transparent;
}

.loja-cep-modal__confirm {
    align-self: flex-end;
    height: 46px;
    min-width: 46px;
    border: 0;
    border-radius: 10px;
    background: var(--color-main, #2563eb);
    color: var(--color-main-contrast, #fff);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 14px;
    cursor: pointer;
    font-weight: 700;
}

.loja-cep-modal__confirm:disabled,
.loja-cep-modal__usar:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.loja-cep-modal__confirm-label {
    display: none;
}

.loja-cep-modal__error {
    margin: 10px 0 0;
    color: #b91c1c;
    font-size: 13px;
    font-weight: 600;
}

.loja-cep-modal__loading {
    margin: 10px 0 0;
    color: #475569;
    font-size: 13px;
}

.loja-cep-modal__result-box {
    background: #f8fafc;
    border: 1px solid #e8ecf1;
    border-radius: 10px;
    padding: 12px;
    font-size: 14px;
    color: #334155;
    display: grid;
    gap: 6px;
    margin-bottom: 12px;
}

.loja-cep-modal__usar {
    width: 100%;
    height: 46px;
    border: 0;
    border-radius: 10px;
    background: var(--color-main, #2563eb);
    color: var(--color-main-contrast, #fff);
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
}

.loja-cep-modal__voltar {
    width: 100%;
    margin-top: 8px;
    height: 40px;
    border: 0;
    background: transparent;
    color: var(--color-main, #2563eb);
    font-weight: 700;
    cursor: pointer;
}

.loja-cep-modal__login {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #eef2f7;
    text-align: center;
}

.loja-cep-modal__login p {
    margin: 0 0 8px;
    font-size: 13px;
    color: #64748b;
}

.loja-cep-modal__login-btn {
    display: block;
    width: 100%;
    height: 42px;
    line-height: 40px;
    border: 2px solid var(--color-main, #2563eb);
    border-radius: 10px;
    color: var(--color-main, #2563eb) !important;
    text-decoration: none !important;
    font-weight: 800;
}

@media (min-width: 992px) {
    .loja-cep-modal {
        left: auto;
        right: max(16px, calc((100vw - var(--loja-container-max, 1360px)) / 2 + 16px));
        top: 120px;
        transform: none;
        width: 400px;
    }

    .loja-cep-modal__confirm-label {
        display: inline;
    }
}

@media (max-width: 767px) {
    .loja-cep-modal {
        left: 0;
        right: 0;
        top: auto;
        bottom: 0;
        width: 100%;
        transform: none;
    }

    .loja-cep-modal__card {
        border-radius: 16px 16px 0 0;
        padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    }

    .loja-cep-modal__confirm-label {
        display: inline;
    }
}

.loja-header__shipping i {
    color: var(--color-structural) !important;
    font-size: 15px;
}

.loja-header__shipping-label {
    color: #64748b;
}

.loja-header__shipping strong {
    color: var(--color-structural);
    font-weight: 700;
}

.loja-home-section--banner-main {
    padding-top: 0;
    margin-top: 0;
}

/* ===== BENEFÍCIOS ===== */
.loja-beneficios {
    background: #fff;
    border-bottom: 1px solid #eef1f5;
    padding: 0;
    margin: 0;
}

.loja-beneficios__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.loja-beneficios__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    min-width: 0;
}

.loja-beneficios__item:not(:first-child) {
    border-left: 1px solid #eef1f5;
}

.loja-beneficios__icon {
    flex-shrink: 0;
    width: 40px;
    text-align: center;
    font-size: 28px;
    line-height: 1;
    color: var(--color-structural);
}

.loja-beneficios__icon i {
    color: var(--color-structural) !important;
}

.loja-beneficios__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.loja-beneficios__title {
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-structural);
}

.loja-beneficios__subtitle {
    display: block;
    font-size: 12px;
    line-height: 1.35;
    color: #64748b;
}

@media (max-width: 991px) {
    .loja-beneficios__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .loja-beneficios__item {
        padding: 16px 18px;
    }

    .loja-beneficios__item:nth-child(odd) {
        border-left: none;
    }

    .loja-beneficios__item:nth-child(even) {
        border-left: 1px solid #eef1f5;
    }

    .loja-beneficios__item:nth-child(n+3) {
        border-top: 1px solid #eef1f5;
    }
}

@media (max-width: 575px) {
    .loja-beneficios__grid {
        grid-template-columns: 1fr;
    }

    .loja-beneficios__item {
        border-left: none !important;
        border-top: none;
        padding: 14px 16px;
    }

    .loja-beneficios__item:not(:first-child) {
        border-top: 1px solid #eef1f5;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .loja-beneficios__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== SECTIONS ===== */
.loja-home-section {
    padding: var(--loja-section-gap) 0;
    display: block;
    width: 100%;
    clear: both;
}

.loja-home-section--products {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.loja-section-header {
    margin-bottom: 0.85rem;
}

.loja-section-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    position: relative;
    padding-left: 12px;
    color: #1e293b;
}

.loja-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    bottom: 3px;
    width: 4px;
    background: var(--color-main);
    border-radius: 2px;
}

/* ===== BANNER ===== */
.loja-home-section--banner {
    overflow: hidden;
    padding: 0;
}

.loja-home-section--banner-secondary {
    padding: var(--loja-section-gap) 0;
}

.loja-banner-fullwidth {
    width: 100%;
}

.banner-slick--principal .slick-list {
    min-height: clamp(220px, 38vw, 520px);
}

.banner-slick--principal .loja-banner-image {
    width: 100%;
    height: clamp(220px, 38vw, 520px);
    object-fit: cover;
    display: block;
}

.banner-slick--secundario .loja-banner-image {
    width: 100%;
    height: clamp(160px, 22vw, 320px);
    object-fit: cover;
    display: block;
}

.banner-slick--static .loja-banner-slide {
    display: block !important;
}

.banner-slick:not(.slick-initialized) > .loja-banner-slide {
    display: none;
}

.banner-slick:not(.slick-initialized) > .loja-banner-slide:first-child {
    display: block;
}

.banner-slick--principal .slick-prev { left: 16px; }
.banner-slick--principal .slick-next { right: 16px; }
.banner-slick .slick-dots { bottom: 10px; }

/* ===== PRODUCT CAROUSEL ===== */
.ecommerce-product-carousel {
    margin: 0 -8px;
}

.ecommerce-product-carousel .slick-list {
    overflow: hidden;
    padding: 4px 0 8px;
}

.ecommerce-product-carousel .slick-slide {
    width: var(--ecommerce-product-slide-width) !important;
    height: auto;
    float: left;
}

.ecommerce-product-slide {
    padding: 0 8px;
    box-sizing: border-box;
}

.ecommerce-product-carousel:not(.slick-initialized) {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0;
    padding-bottom: 8px;
}

.ecommerce-product-carousel:not(.slick-initialized) > .ecommerce-product-slide {
    flex: 0 0 var(--ecommerce-product-slide-width);
    width: var(--ecommerce-product-slide-width);
    max-width: var(--ecommerce-product-slide-width);
}

/* ===== PRODUCT CARD ===== */
.ecommerce-product-card,
.loja-product-card {
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease;
}

.ecommerce-product-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.ecommerce-product-image-wrap,
.loja-product-card__image-wrap {
    position: relative;
    background: #f8fafc;
    height: var(--ecommerce-product-image-height);
    max-height: var(--ecommerce-product-image-height);
    min-height: var(--ecommerce-product-image-height);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ecommerce-product-image-link,
.loja-product-card__image-link {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.ecommerce-product-image,
.loja-product-card__image {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    padding: 12px;
    display: block;
}

.loja-product-card__badges {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
}

.loja-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 4px;
    text-transform: uppercase;
    line-height: 1.2;
}

.loja-badge--destaque {
    background: var(--color-main);
    color: var(--color-main-contrast, #fff);
}

.loja-badge--novo {
    background: #1e293b;
    color: #fff;
}

.loja-badge--desconto {
    background: #16a34a;
    color: #fff;
}

.ecommerce-product-body,
.loja-product-card__body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.loja-product-card__category {
    font-size: 10px;
    color: #94a3b8;
    text-transform: uppercase;
    margin: 0 0 4px;
    letter-spacing: 0.03em;
}

.loja-product-card__name {
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 8px;
    min-height: 36px;
    max-height: 36px;
    line-height: 1.35;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.loja-product-card__name a {
    color: #1e293b;
    text-decoration: none;
}

.loja-product-card__price {
    margin-bottom: 10px;
    min-height: 38px;
}

.loja-product-card__price-label {
    display: block;
    font-size: 10px;
    color: #94a3b8;
    text-transform: uppercase;
}

.loja-product-card__price-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-main);
}

.loja-product-card__price-old {
    display: block;
    font-size: 12px;
    color: #94a3b8;
}

.loja-product-card__action {
    margin-top: auto;
}

.loja-btn {
    display: block;
    width: 100%;
    border: none;
    border-radius: 4px;
    padding: 9px 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    text-decoration: none !important;
}

.loja-btn--primary {
    background: var(--color-structural);
    color: var(--color-structural-contrast, #fff) !important;
}

.loja-btn--outline {
    background: #fff;
    color: var(--color-main) !important;
    border: 1px solid var(--color-main);
}

/* ===== CATEGORIES CAROUSEL ===== */
.categories-slick .slick-prev,
.categories-slick .slick-next,
.brands-slick .slick-prev,
.brands-slick .slick-next,
.ecommerce-product-carousel .slick-prev,
.ecommerce-product-carousel .slick-next,
.banner-slick .slick-prev,
.banner-slick .slick-next {
    z-index: 2;
}

.banner-slick .slick-prev:before,
.banner-slick .slick-next:before,
.ecommerce-product-carousel .slick-prev:before,
.ecommerce-product-carousel .slick-next:before,
.categories-slick .slick-prev:before,
.categories-slick .slick-next:before,
.brands-slick .slick-prev:before,
.brands-slick .slick-next:before {
    font-family: Arial, sans-serif;
    font-size: 28px;
    line-height: 1;
    opacity: 0.85;
    color: var(--color-main);
}

.banner-slick .slick-prev:before,
.categories-slick .slick-prev:before,
.brands-slick .slick-prev:before,
.ecommerce-product-carousel .slick-prev:before { content: '‹'; }

.banner-slick .slick-next:before,
.categories-slick .slick-next:before,
.brands-slick .slick-next:before,
.ecommerce-product-carousel .slick-next:before { content: '›'; }

.banner-slick .slick-dots li button:before {
    color: var(--color-main);
}

.loja-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px;
    color: #2B2D42;
    text-decoration: none !important;
}

.loja-category-card__image-wrap {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #f7f7f7;
    border: 1px solid #ececec;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 8px;
}

.loja-category-card__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.loja-category-card__name {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.loja-home-section--brands .loja-section-title {
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 18px;
}

.loja-brand-card-wrap {
    padding: 0 8px;
}

.loja-brand-card {
    display: block;
    text-decoration: none !important;
}

.loja-brand-card__image-wrap {
    height: 88px;
    border-radius: 12px;
    background: #f1f3f5;
    border: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 16px 20px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.loja-brand-card:hover .loja-brand-card__image-wrap {
    border-color: var(--color-main);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.loja-brand-card__image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.85;
    transition: filter 0.2s ease, opacity 0.2s ease;
}

.loja-brand-card:hover .loja-brand-card__image {
    filter: grayscale(0%);
    opacity: 1;
}

.loja-empty-home {
    text-align: center;
    padding: 40px 16px;
    background: #fafafa;
    border-radius: 8px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .loja-top-bar__inner {
        justify-content: center;
        gap: 10px 20px;
    }

    .loja-top-bar__item {
        font-size: 11px;
    }

    .loja-header__bar-inner {
        flex-wrap: wrap;
        gap: 14px 16px;
    }

    .loja-header__logo img {
        max-height: 56px;
    }

    .loja-header__search-form {
        order: 3;
        width: 100%;
        flex: 1 1 100%;
        max-width: none;
        margin: 0;
    }

    .loja-header__actions {
        margin-left: auto;
    }

    .loja-header__menu-toggle {
        display: block;
    }

    .loja-header__sub-inner {
        flex-wrap: wrap;
        gap: 10px;
        padding: 8px 0;
    }

    .loja-header__categories-row {
        width: 100%;
        order: 2;
    }

    .loja-header__shipping {
        width: 100%;
        order: 1;
        margin-left: 0;
        justify-content: flex-start;
    }

    .loja-header__category-nav {
        display: none;
        width: 100%;
    }

    .loja-header__category-nav.active {
        display: block;
    }

    .loja-header__category-list {
        flex-direction: column;
        align-items: flex-start;
        white-space: normal;
        gap: 0;
    }

    .loja-header__category-list > li {
        width: 100%;
    }

    .loja-header__category-list > li > a {
        padding: 10px 0;
        width: 100%;
    }
}

@media (max-width: 767px) {
    :root {
        --ecommerce-product-slide-width: 48vw;
        --ecommerce-product-image-height: 180px;
        --loja-section-gap: 1rem;
    }

    .loja-top-bar {
        padding: 5px 0;
    }

    .loja-top-bar__inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 4px;
    }

    .loja-top-bar__item {
        justify-content: center;
        font-size: 11px;
        line-height: 1.3;
    }

    .loja-header--themed .loja-header__bar {
        padding: 8px 0 10px;
    }

    .loja-header__bar-inner {
        gap: 10px 12px;
    }

    .loja-header__logo img {
        max-height: 36px;
    }

    .loja-header__search-wrap {
        border-radius: 10px;
    }

    .loja-header__search-input {
        padding: 10px 14px;
        font-size: 13px;
    }

    .loja-header__search-submit {
        min-width: 46px;
        padding: 0 14px;
        border-radius: 0 10px 10px 0;
        font-size: 15px;
    }

    .banner-slick--principal .loja-banner-image,
    .banner-slick--principal .slick-list {
        min-height: clamp(150px, 42vw, 260px);
        height: clamp(150px, 42vw, 260px);
    }

    .loja-header__action span:not(.loja-header__cart-badge) {
        display: none;
    }

    .loja-header__actions {
        gap: 12px;
    }

    .loja-header__action i {
        font-size: 18px;
    }

    .loja-header__sub-inner {
        padding: 6px 0;
        min-height: 0;
        gap: 8px;
    }

    .loja-header__all-categories-btn {
        padding: 7px 10px;
        font-size: 12px;
    }

    .loja-header__shipping {
        font-size: 12px;
        padding: 4px 0;
    }

    .loja-product-card__name {
        font-size: 12px;
        min-height: 32px;
        max-height: 32px;
    }

    .loja-product-card__price-value {
        font-size: 15px;
    }

    .loja-btn {
        min-height: 40px;
        padding: 10px 8px;
        font-size: 11px;
        border-radius: 8px;
    }

    .loja-container {
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* ===== NEWSLETTER & FOOTER ===== */
#newsletter.section {
    border-top: 1px solid #e2e8f0;
    border-bottom: none;
    margin-top: 30px;
    padding: 24px 0;
}

#newsletter .newsletter-follow li a {
    border-color: #e2e8f0;
    color: var(--color-main);
}

#newsletter .newsletter-follow li a i {
    color: var(--color-main) !important;
}

#newsletter .newsletter-follow li a:hover,
#newsletter .newsletter-follow li a:focus {
    background: var(--color-main);
    border-color: var(--color-main);
    color: var(--color-main-contrast, #fff);
}

#newsletter .newsletter-follow li a:hover i,
#newsletter .newsletter-follow li a:focus i {
    color: var(--color-main-contrast, #fff) !important;
}

.loja-footer,
#footer.loja-footer {
    background: var(--color-structural);
    color: var(--color-structural-contrast-soft, rgba(255, 255, 255, 0.85));
}

.loja-footer #bottom-footer,
#footer.loja-footer #bottom-footer {
    background: var(--color-structural-dark-bg, var(--color-structural));
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.loja-footer .footer {
    margin: 30px 0;
}

.loja-footer .footer-title {
    color: var(--color-structural-contrast, #fff);
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 20px;
}

.loja-footer .footer p {
    color: var(--color-structural-contrast-soft, rgba(255, 255, 255, 0.85));
    line-height: 1.6;
}

.loja-footer .footer-links li a {
    color: var(--color-structural-contrast-soft, rgba(255, 255, 255, 0.85));
    text-decoration: none;
    transition: color 0.2s ease;
}

.loja-footer .footer-links li a:hover {
    color: var(--color-structural-contrast, #fff);
}

.loja-footer .footer-links li i {
    margin-right: 12px;
    width: 14px;
    text-align: center;
    color: var(--color-structural-contrast, #fff) !important;
}

.loja-footer .copyright {
    margin-top: 24px;
    display: block;
    font-size: 12px;
    color: var(--color-structural-contrast-soft, rgba(255, 255, 255, 0.75));
}

.loja-footer .copyright a {
    color: var(--color-structural-contrast, #fff);
    text-decoration: none;
}

.loja-footer .copyright a:hover {
    text-decoration: underline;
}

.loja-footer .footer-payments li a {
    color: var(--color-structural-contrast-soft, rgba(255, 255, 255, 0.75));
}

.loja-footer .footer-payments li a i {
    color: var(--color-structural-contrast-soft, rgba(255, 255, 255, 0.75)) !important;
    transition: color 0.2s ease;
}

.loja-footer .footer-payments li a:hover i {
    color: var(--color-structural-contrast, #fff) !important;
}

@media (min-width: 1400px) {
    :root {
        --ecommerce-product-slide-width: 260px;
    }
}
