/**
 * Perfect Store — Tipografia global enterprise (Netshoes / banco)
 * Carregar POR ÚLTIMO no <head> para sobrescrever FleetCart/Vite.
 */
:root {
    --ps-fs-2xs: 10px;
    --ps-fs-xs: 11px;
    --ps-fs-sm: 12px;
    --ps-fs-base: 13px;
    --ps-fs-md: 14px;
    --ps-fs-lg: 15px;
    --ps-fs-xl: 16px;
    --ps-lh: 1.45;
    --ps-lh-tight: 1.3;
}

html {
    font-size: 13px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

@media (max-width: 767px) {
    html {
        font-size: 12px;
    }
}

body.is-enterprise-retail,
body.is-netshoes-theme {
    font-family: "Inter", var(--base-font-family, sans-serif);
    font-size: var(--ps-fs-base);
    line-height: var(--ps-lh);
    color: #2b2b2b;
    -webkit-font-smoothing: antialiased;
}

/* ── Headings (teto rígido) ── */
body.is-enterprise-retail h1,
body.is-enterprise-retail .h1 { font-size: var(--ps-fs-xl) !important; font-weight: 700 !important; line-height: var(--ps-lh-tight) !important; }

body.is-enterprise-retail h2,
body.is-enterprise-retail .h2 { font-size: var(--ps-fs-md) !important; font-weight: 700 !important; line-height: var(--ps-lh-tight) !important; }

body.is-enterprise-retail h3,
body.is-enterprise-retail h4,
body.is-enterprise-retail h5,
body.is-enterprise-retail h6,
body.is-enterprise-retail .h3,
body.is-enterprise-retail .h4,
body.is-enterprise-retail .section-title,
body.is-enterprise-retail .title:not(.footer-top .title) {
    font-size: var(--ps-fs-base) !important;
    font-weight: 700 !important;
    line-height: var(--ps-lh-tight) !important;
}

body.is-enterprise-retail p,
body.is-enterprise-retail span,
body.is-enterprise-retail li,
body.is-enterprise-retail td,
body.is-enterprise-retail th,
body.is-enterprise-retail label,
body.is-enterprise-retail .form-check-label,
body.is-enterprise-retail .helper-text,
body.is-enterprise-retail .excerpt {
    font-size: var(--ps-fs-sm);
}

body.is-enterprise-retail label,
body.is-enterprise-retail .input-label {
    font-size: var(--ps-fs-xs) !important;
    font-weight: 600;
}

/* ── Formulários ── */
body.is-enterprise-retail .form-control,
body.is-enterprise-retail input.form-control,
body.is-enterprise-retail select.form-control,
body.is-enterprise-retail textarea.form-control {
    font-size: var(--ps-fs-base) !important;
    height: 38px;
    padding: 8px 12px;
    border-radius: 6px;
}

body.is-enterprise-retail textarea.form-control {
    height: auto;
    min-height: 72px;
}

@media (max-width: 767px) {
    body.is-enterprise-retail .form-control,
    body.is-enterprise-retail input.form-control,
    body.is-enterprise-retail select.form-control {
        font-size: 16px !important; /* evita zoom iOS */
        height: 40px;
    }
}

/* ── Botões ── */
body.is-enterprise-retail .btn {
    font-size: var(--ps-fs-xs) !important;
    font-weight: 700 !important;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 9px 14px;
    border-radius: 6px;
    line-height: 1.25;
}

body.is-enterprise-retail .btn-lg {
    font-size: var(--ps-fs-sm) !important;
    padding: 10px 16px;
}

body.is-enterprise-retail .btn-sm {
    font-size: var(--ps-fs-2xs) !important;
    padding: 6px 10px;
}

body.is-enterprise-retail .btn-buy,
body.is-enterprise-retail .btn-add-to-cart,
body.is-enterprise-retail .btn-proceed-to-checkout,
body.is-enterprise-retail .btn-place-order {
    font-size: var(--ps-fs-xs) !important;
    min-height: 40px;
}

/* ── Header / Nav ── */
body.is-enterprise-retail .top-nav-wrap,
body.is-enterprise-retail .top-nav-right-list a {
    font-size: var(--ps-fs-xs) !important;
}

body.is-enterprise-retail .navbar-nav > li > a {
    font-size: var(--ps-fs-xs) !important;
    font-weight: 600;
    padding: 10px 12px;
}

body.is-enterprise-retail .header-search input {
    font-size: var(--ps-fs-sm) !important;
    height: 38px;
}

body.is-enterprise-retail .breadcrumb,
body.is-enterprise-retail .breadcrumb-item {
    font-size: var(--ps-fs-2xs) !important;
}

body.is-enterprise-retail .bottom-navigation-menu .bottom-navigation-item span {
    font-size: 9px !important;
}

/* ── Produtos (cards, listagem, PDP) ── */
body.is-enterprise-retail .product-card .product-name {
    font-size: var(--ps-fs-xs) !important;
    line-height: var(--ps-lh-tight);
}

body.is-enterprise-retail .product-card .product-price,
body.is-enterprise-retail .product-card .price-regular {
    font-size: var(--ps-fs-sm) !important;
}

body.is-enterprise-retail .product-card .price-pix strong {
    font-size: var(--ps-fs-md) !important;
}

body.is-enterprise-retail .product-card .price-installment,
body.is-enterprise-retail .product-card .previous-price {
    font-size: var(--ps-fs-2xs) !important;
}

body.is-enterprise-retail .product-details-info .product-name {
    font-size: var(--ps-fs-lg) !important;
}

body.is-enterprise-retail .product-details-info .product-price,
body.is-enterprise-retail .product-details-info .price-regular {
    font-size: var(--ps-fs-xl) !important;
}

body.is-enterprise-retail .product-details-info .price-pix strong {
    font-size: var(--ps-fs-lg) !important;
}

body.is-enterprise-retail .badge,
body.is-enterprise-retail .product-badge .badge {
    font-size: 9px !important;
}

/* ── Tabs / seções home ── */
body.is-enterprise-retail .tab-item,
body.is-enterprise-retail .featured-category-name {
    font-size: var(--ps-fs-xs) !important;
}

body.is-enterprise-retail .featured-categories-wrap .title {
    font-size: var(--ps-fs-md) !important;
}

body.is-enterprise-retail .featured-categories-wrap .excerpt {
    font-size: var(--ps-fs-xs) !important;
}

body.is-enterprise-retail .products-slider .swiper-button-next,
body.is-enterprise-retail .products-slider .swiper-button-prev {
    font-size: var(--ps-fs-2xs) !important;
}

/* ── Carrinho página ── */
body.is-enterprise-retail .cart-wrap .section-title,
body.is-enterprise-retail .cart-table,
body.is-enterprise-retail .cart-table th,
body.is-enterprise-retail .cart-table td,
body.is-enterprise-retail .cart-table .product-name,
body.is-enterprise-retail .cart-table .product-price {
    font-size: var(--ps-fs-sm) !important;
}

body.is-enterprise-retail .cart-table th {
    font-size: var(--ps-fs-xs) !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

body.is-enterprise-retail .order-summary .section-title,
body.is-enterprise-retail .order-summary-list label,
body.is-enterprise-retail .order-summary-list span,
body.is-enterprise-retail .order-summary-total label,
body.is-enterprise-retail .order-summary-total span {
    font-size: var(--ps-fs-sm) !important;
}

body.is-enterprise-retail .order-summary-total span {
    font-size: var(--ps-fs-md) !important;
    font-weight: 700;
}

/* ── Checkout steps ── */
body.is-enterprise-retail .ps-checkout-flow-steps__label {
    font-size: var(--ps-fs-2xs) !important;
}

body.is-enterprise-retail .ps-checkout-flow-steps__dot {
    font-size: var(--ps-fs-xs) !important;
    width: 28px;
    height: 28px;
}

body.is-enterprise-retail .ps-wizard-steps__btn {
    font-size: var(--ps-fs-2xs) !important;
}

body.is-enterprise-retail .ps-wizard-steps__text small {
    font-size: 9px !important;
}

body.is-enterprise-retail .checkout-wrap .section-title,
body.is-enterprise-retail .checkout-wrap .title,
body.is-enterprise-retail .checkout-wrap .payment-method .title,
body.is-enterprise-retail .checkout-wrap .shipping-method .title {
    font-size: var(--ps-fs-sm) !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

body.is-enterprise-retail .step-tab,
body.is-enterprise-retail .step-tab-text {
    font-size: var(--ps-fs-sm) !important;
}

body.is-enterprise-retail .step-tab-text .bg-text {
    font-size: 24px !important;
}

body.is-enterprise-retail .checkout-wrap .error-message,
body.is-enterprise-retail .checkout-wrap .checkout-alert,
body.is-enterprise-retail .checkout-wrap .cep-hint {
    font-size: var(--ps-fs-xs) !important;
}

/* ── Mercado Pago ── */
body.is-enterprise-retail .mp-transparent-checkout,
body.is-enterprise-retail .mp-checkout-header__title strong {
    font-size: var(--ps-fs-sm) !important;
}

body.is-enterprise-retail .mp-checkout-header__title span,
body.is-enterprise-retail .mp-card-hint,
body.is-enterprise-retail .mp-pix-info p {
    font-size: var(--ps-fs-xs) !important;
}

body.is-enterprise-retail .mp-payment-tab {
    font-size: var(--ps-fs-xs) !important;
}

body.is-enterprise-retail .mp-pix-modal__header h3 {
    font-size: var(--ps-fs-md) !important;
}

body.is-enterprise-retail .mp-pix-modal__amount {
    font-size: var(--ps-fs-lg) !important;
}

body.is-enterprise-retail .mp-pix-modal__subtitle,
body.is-enterprise-retail .mp-pix-modal__loading {
    font-size: var(--ps-fs-sm) !important;
}

body.is-enterprise-retail .mp-pix-modal__close {
    font-size: var(--ps-fs-md) !important;
}

/* ── Carrinho lateral Kenner ── */
body.is-enterprise-retail .kenner-cart-wrap {
    font-size: var(--ps-fs-sm) !important;
}

body.is-enterprise-retail .kenner-cart-header h2 {
    font-size: var(--ps-fs-xs) !important;
}

body.is-enterprise-retail .kenner-cart-close {
    font-size: var(--ps-fs-md) !important;
}

body.is-enterprise-retail .kenner-cart-item-name,
body.is-enterprise-retail .kenner-cart-item-meta,
body.is-enterprise-retail .kenner-cart-item-price,
body.is-enterprise-retail .kenner-cart-total-row,
body.is-enterprise-retail .kenner-cart-btn,
body.is-enterprise-retail .kenner-cart-coupon-btn {
    font-size: var(--ps-fs-xs) !important;
}

body.is-enterprise-retail .kenner-cart-coupon-input {
    font-size: var(--ps-fs-base) !important;
    height: 36px;
}

body.is-enterprise-retail .kenner-cart-freeship-text {
    font-size: 9px !important;
}

body.is-enterprise-retail .kenner-cart-qty-btn {
    font-size: var(--ps-fs-sm) !important;
}

body.is-enterprise-retail .kenner-cart-qty-value {
    font-size: var(--ps-fs-xs) !important;
}

/* ── Footer ── */
body.is-enterprise-retail .footer-top .title {
    font-size: var(--ps-fs-xs) !important;
}

body.is-enterprise-retail .footer-wrap,
body.is-enterprise-retail .footer-bottom {
    font-size: var(--ps-fs-xs) !important;
}

/* ── Auth ── */
body.is-enterprise-retail .auth-form-header h2 {
    font-size: var(--ps-fs-lg) !important;
}

body.is-enterprise-retail .auth-form-header p {
    font-size: var(--ps-fs-sm) !important;
}

body.is-enterprise-retail .help-block.text-red,
body.is-enterprise-retail .text-red {
    font-size: var(--ps-fs-xs) !important;
}

/* ── Features bar / top ── */
body.is-enterprise-retail .top-features-bar-wrap,
body.is-enterprise-retail .feature-item {
    font-size: var(--ps-fs-2xs) !important;
}

body.is-enterprise-retail .feature-item .icon {
    font-size: var(--ps-fs-md) !important;
}

/* ── Order complete ── */
body.is-enterprise-retail .order-complete h2 {
    font-size: var(--ps-fs-md) !important;
}

body.is-enterprise-retail .order-complete span,
body.is-enterprise-retail .mp-payment-status {
    font-size: var(--ps-fs-sm) !important;
}

/* ── Notificações ── */
body.is-enterprise-retail .ps-toast,
body.is-enterprise-retail .ps-flash-banner {
    font-size: var(--ps-fs-sm) !important;
}

body.is-enterprise-retail .ps-toast__title {
    font-size: var(--ps-fs-2xs) !important;
}

/* ── Sidebar menu legado ── */
body.is-enterprise-retail .sidebar-cart-wrap .sidebar-cart-header h2,
body.is-enterprise-retail .sidebar-menu-wrap .sidebar-menu-title {
    font-size: var(--ps-fs-sm) !important;
}

/* ── Cookie / newsletter ── */
body.is-enterprise-retail .cookie-bar-wrap,
body.is-enterprise-retail .newsletter-wrap {
    font-size: var(--ps-fs-xs) !important;
}

/* ── Número picker carrinho ── */
body.is-enterprise-retail .number-picker .btn-number,
body.is-enterprise-retail .input-group-quantity .input-quantity {
    font-size: var(--ps-fs-sm) !important;
}

/* ── Account ── */
body.is-enterprise-retail .my-account-wrap .panel-header h4,
body.is-enterprise-retail .account-sidebar a {
    font-size: var(--ps-fs-sm) !important;
}

/* ── Blog (se habilitado) ── */
body.is-enterprise-retail .blog-card .blog-name,
body.is-enterprise-retail .blog-post-details h1 {
    font-size: var(--ps-fs-md) !important;
}

/* ── Home trust strip ── */
body.is-enterprise-retail .ps-home-trust__item {
    font-size: var(--ps-fs-2xs) !important;
}

body.is-enterprise-retail .ps-home-section-head__title {
    font-size: var(--ps-fs-md) !important;
}

body.is-enterprise-retail .ps-home-section-head__sub {
    font-size: var(--ps-fs-xs) !important;
}

/* ── Login gate / hints ── */
body.is-enterprise-retail .ps-login-gate,
body.is-enterprise-retail .ps-checkout-user,
body.is-enterprise-retail .ps-auth-checkout-hint,
body.is-enterprise-retail .ps-order-summary-hint {
    font-size: var(--ps-fs-xs) !important;
}

body.is-enterprise-retail .ps-login-gate strong {
    font-size: var(--ps-fs-sm) !important;
}

/* ── Wizard nav ── */
body.is-enterprise-retail .ps-wizard-nav .btn {
    font-size: var(--ps-fs-xs) !important;
    min-height: 40px;
}

@media (max-width: 575px) {
    body.is-enterprise-retail .ps-checkout-flow-steps__label {
        font-size: 9px !important;
    }

    body.is-enterprise-retail .product-details-info .product-name {
        font-size: var(--ps-fs-md) !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    body.is-enterprise-retail .container {
        padding-left: 14px;
        padding-right: 14px;
    }
}
