/* ==========================================================================
   Pedagógica B2B — Main Stylesheet
   Baseado no design da pedagogica.com.br + estrutura header Kalunga
   ========================================================================== */

/* ─── Custom Properties ─────────────────────────────────────────────────── */
:root {
  --ped-primary:        #273b9b;
  --ped-primary-dark:   #1e2f7d;
  --ped-primary-light:  #3a52c4;
  --ped-green:          #00cb11;
  --ped-green-dark:     #00a80e;
  --ped-gray-bg:        #f0f0f0;
  --ped-gray-border:    #e0e0e0;
  --ped-gray-text:      #666666;
  --ped-text:           #222222;
  --ped-white:          #ffffff;
  --ped-topbar-bg:      #273b9b;
  --ped-topbar-height:  38px;
  --ped-header-bg:      #1a2a7a;
  --ped-header-height:  72px;
  --ped-navbar-bg:      #273b9b;
  --ped-navbar-height:  52px;
  --ped-footer-bg:      #f0f0f0;
  --ped-footer-text:    #444444;
  --ped-radius:         8px;
  --ped-radius-sm:      4px;
  --ped-shadow:         0 2px 12px rgba(0,0,0,.10);
  --ped-shadow-lg:      0 8px 32px rgba(0,0,0,.15);
  --ped-transition:     .2s ease;
  --ped-font:           'Quicksand', 'Roboto', system-ui, sans-serif;
  --ped-max-width:      1320px;
}

/* ─── Largura máxima global (1280px centrado) ────────────────────────────── */
.container-fluid {
  max-width: var(--ped-max-width);
}
.ped-wc-wrapper {
  max-width: var(--ped-max-width) !important;
}

/* ─── Reset / Base ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--ped-font);
  font-size: 14px;
  color: var(--ped-text);
  background: var(--ped-white);
  margin: 0;
  padding: 0;
}

a { color: var(--ped-primary); text-decoration: none; transition: color var(--ped-transition); }
a:hover { color: var(--ped-primary-light); }

img { max-width: 100%; height: auto; display: block; }

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

/* Quicksand font */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&family=Roboto:wght@400;500;700&display=swap');

/* ─── Botões globais ─────────────────────────────────────────────────────── */
.ped-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ped-green);
  color: var(--ped-white);
  border: 2px solid var(--ped-green);
  border-radius: var(--ped-radius);
  padding: 10px 22px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background var(--ped-transition), transform var(--ped-transition);
  text-decoration: none;
}
.ped-btn-primary:hover {
  background: var(--ped-green-dark);
  border-color: var(--ped-green-dark);
  color: var(--ped-white);
  transform: translateY(-1px);
}

.ped-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--ped-primary);
  border: 2px solid var(--ped-primary);
  border-radius: var(--ped-radius);
  padding: 9px 20px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all var(--ped-transition);
  text-decoration: none;
}
.ped-btn-secondary:hover {
  background: var(--ped-primary);
  color: var(--ped-white);
}

/* =====================================================================
   TOP BAR
   ===================================================================== */
.ped-topbar {
  background: var(--ped-topbar-bg);
  height: var(--ped-topbar-height);
  display: flex;
  align-items: center;
  position: relative;
  z-index: 100;
}

.ped-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
}

.ped-topbar__left,
.ped-topbar__right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.ped-topbar__link,
.ped-topbar__promo {
  color: rgba(255,255,255,.88);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  transition: color var(--ped-transition);
}
.ped-topbar__link:hover { color: var(--ped-white); }

.ped-topbar__sep {
  color: rgba(255,255,255,.35);
  font-size: 11px;
}

/* =====================================================================
   HEADER PRINCIPAL (Kalunga-style)
   ===================================================================== */
.ped-header {
  background: var(--ped-header-bg);
  height: var(--ped-header-height);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
  transition: height .2s ease;
}

.ped-header.is-scrolled { height: 58px; }

.ped-header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  height: 100%;
}

/* Botão menu mobile */
.ped-header__menu-btn {
  background: transparent;
  border: none;
  color: var(--ped-white);
  font-size: 26px;
  padding: 4px 6px;
  cursor: pointer;
  line-height: 1;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

/* Logo */
.ped-header__logo {
  flex-shrink: 0;
}

.ped-header__logo a {
  display: flex;
  align-items: center;
}

.ped-header__logo img,
.ped-header__logo .custom-logo {
  height: 48px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: brightness(0) invert(1); /* logo branco no header escuro */
}

.ped-header.is-scrolled .ped-header__logo img { height: 38px; }

.ped-logo-text {
  color: var(--ped-white);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* Search */
.ped-header__search {
  flex: 1;
  min-width: 0;
}

.ped-search-form__inner {
  display: flex;
  align-items: center;
  background: var(--ped-white);
  border-radius: 50px;
  overflow: hidden;
  height: 44px;
  box-shadow: 0 1px 4px rgba(0,0,0,.15);
}

.ped-search-form__cat {
  border: none;
  outline: none;
  background: var(--ped-gray-bg);
  color: var(--ped-text);
  font-size: 13px;
  padding: 0 10px;
  height: 100%;
  border-right: 1px solid var(--ped-gray-border);
  cursor: pointer;
  flex-shrink: 0;
  max-width: 140px;
}

.ped-search-form__input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0 14px;
  font-size: 14px;
  font-family: var(--ped-font);
  color: var(--ped-text);
  background: transparent;
  min-width: 0;
}

.ped-search-form__btn {
  background: var(--ped-green);
  border: none;
  color: var(--ped-white);
  width: 46px;
  height: 100%;
  font-size: 18px;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--ped-transition);
}
.ped-search-form__btn:hover { background: var(--ped-green-dark); }

/* Actions */
.ped-header__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.ped-action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: var(--ped-white);
  cursor: pointer;
  padding: 6px 10px;
  border-radius: var(--ped-radius-sm);
  text-decoration: none;
  transition: background var(--ped-transition);
  white-space: nowrap;
  font-family: var(--ped-font);
}
.ped-action-btn:hover {
  background: rgba(255,255,255,.12);
  color: var(--ped-white);
}

.ped-action-btn i { font-size: 22px; }

.ped-action-btn__label {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  line-height: 1.3;
  text-align: left;
}
.ped-action-btn__label strong { font-size: 14px; font-weight: 700; }
.ped-action-btn__label small { opacity: .8; }

/* Cart count badge */
.ped-action-btn__icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.ped-cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--ped-green);
  color: var(--ped-white);
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  line-height: 1;
}

.ped-cart-total {
  color: var(--ped-green);
  font-size: 13px;
}

/* =====================================================================
   BARRA DE NAVEGAÇÃO
   ===================================================================== */
.ped-navbar {
  background: var(--ped-navbar-bg);
  height: var(--ped-navbar-height);
  border-top: 1px solid rgba(255,255,255,.1);
  position: relative;
  z-index: 900;
  display: flex;
  align-items: center;
}

.ped-navbar__inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 0;
  overflow: visible;
}

/* Categorias sempre visíveis — nav horizontal no desktop */
.ped-navbar__categories {
  display: flex;
  align-items: stretch;
  height: 100%;
  gap: 0;
  flex: 1;
  flex-wrap: nowrap;
  overflow: visible;
  min-width: 0;
  justify-content: space-between;
}

/* Cada item de categoria (inclui o "Todas as Categorias") */
.ped-navbar__cat-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* Link base — usado por todos os itens incluindo .ped-navbar__all-link */
.ped-navbar__cat-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 18px;
  height: 100%;
  color: rgba(255,255,255,.9);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color var(--ped-transition), background var(--ped-transition), border-color var(--ped-transition);
  flex-shrink: 0;
}
.ped-navbar__cat-link:hover,
.ped-navbar__cat-item:hover .ped-navbar__cat-link,
.ped-navbar__all-link:hover {
  color: var(--ped-white);
  background: rgba(255,255,255,.12);
  border-bottom-color: var(--ped-green);
}

/* "Todas as Categorias" — mesmo estilo base, apenas font-weight diferente */
.ped-navbar__all-link {
  font-weight: 700;
  border-right: 1px solid rgba(255,255,255,.15);
  margin-right: 4px;
}

.ped-navbar__cat-arrow {
  font-size: 10px;
  opacity: .8;
  transition: transform var(--ped-transition);
}
.ped-navbar__cat-item:hover .ped-navbar__cat-arrow { transform: rotate(180deg); opacity: 1; }

/* Mega menu dropdown ao hover */
.ped-navbar__cat-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--ped-white);
  min-width: 220px;
  max-width: 860px;
  box-shadow: var(--ped-shadow-lg);
  border-radius: 0 0 var(--ped-radius) var(--ped-radius);
  border-top: 3px solid var(--ped-green);
  z-index: 9999;
  padding: 8px 0 12px;
}
.ped-navbar__cat-item:hover .ped-navbar__cat-dropdown { display: block; }

.ped-navbar__cat-dropdown-title {
  display: block;
  padding: 10px 16px 8px;
  color: var(--ped-primary);
  font-weight: 700;
  font-size: 13px;
  border-bottom: 1px solid var(--ped-gray-border);
  margin-bottom: 6px;
  text-decoration: none;
}

/* Grid multi-coluna: máximo 12 itens por coluna, flui para a próxima */
.ped-navbar__cat-dropdown ul {
  list-style: none;
  margin: 0;
  padding: 4px 8px;
  display: grid;
  grid-template-rows: repeat(12, auto);
  grid-auto-flow: column;
  grid-auto-columns: 195px;
}
.ped-navbar__cat-dropdown ul li a {
  display: block;
  padding: 6px 10px;
  color: var(--ped-text);
  font-size: 13px;
  text-decoration: none;
  border-radius: 4px;
  transition: background var(--ped-transition), color var(--ped-transition);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ped-navbar__cat-dropdown ul li a:hover {
  background: var(--ped-gray-bg);
  color: var(--ped-primary);
}

/* Nav List (menu principal horizontal) */
.ped-navbar__menu { flex: 1; overflow: hidden; height: 100%; }

.ped-nav-list {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 0;
  overflow: hidden;
}

.ped-nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.ped-nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(255,255,255,.9);
  font-size: 13px;
  font-weight: 600;
  padding: 0 14px;
  height: 100%;
  white-space: nowrap;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: color var(--ped-transition), border-color var(--ped-transition), background var(--ped-transition);
}
.ped-nav-link:hover,
.ped-nav-item.current-menu-item .ped-nav-link {
  color: var(--ped-white);
  border-bottom-color: var(--ped-green);
  background: rgba(255,255,255,.08);
}

/* Dropdown do nav */
.ped-nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--ped-white);
  min-width: 200px;
  box-shadow: var(--ped-shadow-lg);
  border-radius: 0 0 var(--ped-radius) var(--ped-radius);
  border-top: 3px solid var(--ped-green);
  z-index: 1001;
  padding: 6px 0;
}
.ped-nav-item:hover .ped-nav-dropdown { display: block; }
.ped-nav-dropdown li a {
  display: block;
  padding: 9px 16px;
  color: var(--ped-text);
  font-size: 13px;
  transition: background var(--ped-transition), color var(--ped-transition);
}
.ped-nav-dropdown li a:hover {
  background: var(--ped-gray-bg);
  color: var(--ped-primary);
}

/* =====================================================================
   MENU MOBILE (Offcanvas)
   ===================================================================== */
.ped-mobile-menu {
  background: var(--ped-primary-dark) !important;
  width: 300px !important;
  max-width: 90vw;
}

.ped-mobile-menu .offcanvas-header {
  background: var(--ped-primary);
  padding: 16px;
}

.ped-mobile-menu__logo .custom-logo-link img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}

.ped-mobile-menu__search .form-control {
  font-size: 14px;
  border-radius: 4px 0 0 4px;
}

.ped-mobile-menu__body { padding: 0; }

.ped-mobile-menu__section-title {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.6);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  padding: 10px 16px;
  margin: 0;
}

.ped-mobile-menu__cats { padding: 4px 0; }

.ped-mobile-menu__cats li .ped-mobile-menu__cat-btn,
.ped-mobile-menu__cats li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: transparent;
  border: none;
  color: rgba(255,255,255,.88);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 16px;
  text-align: left;
  cursor: pointer;
  transition: background var(--ped-transition);
  font-family: var(--ped-font);
}
.ped-mobile-menu__cats li .ped-mobile-menu__cat-btn:hover,
.ped-mobile-menu__cats li > a:hover {
  background: rgba(255,255,255,.06);
  color: var(--ped-white);
}

.ped-mobile-menu__sub {
  background: rgba(0,0,0,.15);
  padding: 4px 0;
}
.ped-mobile-menu__sub li a {
  display: block;
  padding: 9px 16px 9px 28px;
  color: rgba(255,255,255,.75);
  font-size: 13px;
}
.ped-mobile-menu__sub li a:hover {
  color: var(--ped-white);
  background: rgba(255,255,255,.06);
}

.ped-mobile-menu__nav {
  padding: 4px 0;
}
.ped-mobile-menu__nav .menu-item a {
  display: block;
  padding: 12px 16px;
  color: rgba(255,255,255,.88);
  font-size: 14px;
  transition: background var(--ped-transition);
}
.ped-mobile-menu__nav .menu-item a:hover {
  background: rgba(255,255,255,.06);
  color: var(--ped-white);
}

.ped-mobile-menu__account {
  padding: 12px 16px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.ped-mobile-menu__account-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ped-white);
  font-weight: 600;
  font-size: 14px;
}
.ped-mobile-menu__account-link i { font-size: 20px; }

/* =====================================================================
   HERO SLIDER
   ===================================================================== */
.ped-slider {
  position: relative;
  overflow: hidden;
}

.ped-slider__carousel { width: 100%; }

/* <picture> estica para preencher o slide */
.ped-slider__picture {
  display: block;
  width: 100%;
  line-height: 0;
}
.ped-slider__link {
  display: block;
  width: 100%;
  line-height: 0;
}

.ped-slider__image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.ped-slider__indicators {
  bottom: 16px;
}
.ped-slider__indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.6);
  border: none;
  transition: background var(--ped-transition), transform var(--ped-transition);
}
.ped-slider__indicators .active {
  background: var(--ped-white);
  transform: scale(1.3);
}

.ped-slider__caption {
  background: linear-gradient(to top, rgba(0,0,0,.6) 0%, transparent 100%);
  text-align: left;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 48px;
}

.ped-slider__title {
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,.4);
  margin-bottom: 8px;
}

.ped-slider__subtitle {
  font-size: clamp(14px, 2vw, 18px);
  opacity: .9;
  margin-bottom: 16px;
}

.ped-slider__btn {
  font-size: 15px;
  padding: 12px 28px;
  border-radius: 50px;
}

.ped-slider__prev,
.ped-slider__next {
  width: 44px;
  height: 44px;
  background: rgba(0,0,0,.35);
  border-radius: 50%;
  transition: background var(--ped-transition);
  top: 50%;
  transform: translateY(-50%);
}
.ped-slider__prev:hover,
.ped-slider__next:hover { background: rgba(0,0,0,.6); }
.ped-slider__prev { left: 16px; }
.ped-slider__next { right: 16px; }

/* =====================================================================
   PITCH BAR
   ===================================================================== */
.ped-pitchbar {
  background: var(--ped-gray-bg);
  padding: 28px 0;
  border-bottom: 1px solid var(--ped-gray-border);
}

.ped-pitchbar__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.ped-pitchbar__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 8px 0;
}

.ped-pitchbar__icon {
  font-size: 32px;
  color: var(--ped-primary);
  flex-shrink: 0;
  line-height: 1;
}

.ped-pitchbar__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ped-pitchbar__title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ped-text);
}

.ped-pitchbar__desc {
  display: block;
  font-size: 12px;
  color: var(--ped-gray-text);
  line-height: 1.4;
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.ped-footer {
  background: var(--ped-footer-bg);
  color: var(--ped-footer-text);
}

/* Footer Main */
.ped-footer__main {
  padding: 48px 0 36px;
}

.ped-footer__grid {
  display: grid;
  grid-template-columns: 200px 1fr 1fr 240px;
  gap: 40px;
  align-items: start;
}

/* Coluna brand */
.ped-footer__col--brand {}

.ped-footer__logo {
  margin-bottom: 20px;
}
.ped-footer__logo img,
.ped-footer__logo .custom-logo {
  height: 48px;
  width: auto;
}
.ped-footer__logo-text {
  font-size: 22px;
  font-weight: 700;
  color: var(--ped-primary);
}

.ped-footer__social {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ped-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,.08);
  color: var(--ped-footer-text);
  font-size: 16px;
  transition: background var(--ped-transition), color var(--ped-transition);
}
.ped-footer__social-link:hover {
  background: var(--ped-primary);
  color: var(--ped-white);
}

/* Footer title */
.ped-footer__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ped-text);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ped-gray-border);
}

/* Categorias col */
.ped-footer__cat-list {}

.ped-footer__cat-item {
  border-bottom: 1px solid var(--ped-gray-border);
}

.ped-footer__cat-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: transparent;
  border: none;
  padding: 10px 0;
  cursor: pointer;
  font-family: var(--ped-font);
  gap: 8px;
}
.ped-footer__cat-toggle a {
  color: var(--ped-footer-text);
  font-size: 13px;
  font-weight: 500;
  flex: 1;
  text-align: left;
  transition: color var(--ped-transition);
}
.ped-footer__cat-toggle:hover a { color: var(--ped-primary); }
.ped-footer__cat-toggle i {
  font-size: 12px;
  color: var(--ped-gray-text);
  transition: transform var(--ped-transition);
  flex-shrink: 0;
}
.ped-footer__cat-toggle[aria-expanded="true"] i { transform: rotate(45deg); }

.ped-footer__cat-sub {
  padding: 4px 0 8px 12px;
}
.ped-footer__cat-sub li a {
  display: block;
  padding: 4px 0;
  color: var(--ped-gray-text);
  font-size: 12px;
  transition: color var(--ped-transition);
}
.ped-footer__cat-sub li a:hover { color: var(--ped-primary); }

/* Institucional col */
.ped-footer__inst-list li {
  margin-bottom: 6px;
}
.ped-footer__inst-list li a {
  color: var(--ped-footer-text);
  font-size: 13px;
  transition: color var(--ped-transition);
}
.ped-footer__inst-list li a:hover { color: var(--ped-primary); }

/* Contact col */
.ped-footer__contact-list { margin-bottom: 16px; }

.ped-footer__contact-list li {
  margin-bottom: 10px;
}

.ped-footer__contact-link {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--ped-footer-text);
  font-size: 13px;
  transition: color var(--ped-transition);
}
.ped-footer__contact-link i { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.ped-footer__contact-link:hover { color: var(--ped-primary); }

.ped-footer__contact-link--text {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--ped-footer-text);
  font-size: 13px;
}
.ped-footer__contact-link--text i { font-size: 16px; flex-shrink: 0; margin-top: 1px; }

.ped-footer__hours-title {
  font-weight: 600;
  font-size: 13px;
  color: var(--ped-text);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}
.ped-footer__hours-text {
  font-size: 12px;
  color: var(--ped-gray-text);
  line-height: 1.5;
  margin: 0;
}

/* Footer Payments Bar */
.ped-footer__payments-bar {
  background: var(--ped-white);
  padding: 24px 0;
  border-top: 1px solid var(--ped-gray-border);
  border-bottom: 1px solid var(--ped-gray-border);
}

.ped-footer__payments-inner {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
}

.ped-footer__payments,
.ped-footer__seals {
  flex: 1;
  min-width: 200px;
}

.ped-footer__payments-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ped-text);
  margin-bottom: 12px;
}

.ped-footer__payment-icons,
.ped-footer__seal-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ped-payment-icon {
  height: 28px;
  width: auto;
  border-radius: 4px;
  border: 1px solid var(--ped-gray-border);
  padding: 2px 4px;
}

.ped-payment-badge {
  display: inline-flex;
  align-items: center;
  background: var(--ped-gray-bg);
  border: 1px solid var(--ped-gray-border);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ped-text);
}

.ped-seal-icon {
  height: 40px;
  width: auto;
}

/* Footer Copyright */
.ped-footer__copyright {
  background: var(--ped-footer-bg);
  padding: 16px 0;
  text-align: center;
}

.ped-footer__legal {
  font-size: 11px;
  color: var(--ped-gray-text);
  margin-bottom: 6px;
  line-height: 1.5;
}

.ped-footer__copy {
  font-size: 12px;
  color: var(--ped-gray-text);
  margin: 0;
}

/* =====================================================================
   SIDECART (Offcanvas)
   ===================================================================== */
.ped-sidecart {
  width: 400px !important;
  max-width: 92vw;
  display: flex;
  flex-direction: column;
}

.ped-sidecart__header {
  background: var(--ped-primary);
  color: var(--ped-white);
  padding: 16px 20px;
  flex-shrink: 0;
}

.ped-sidecart__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ped-white);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.ped-sidecart__title i { font-size: 20px; }

.ped-sidecart__count {
  background: var(--ped-green);
  color: var(--ped-white);
  font-size: 11px;
  font-weight: 700;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ped-sidecart__close {
  background: transparent;
  border: none;
  color: rgba(255,255,255,.8);
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
  transition: color var(--ped-transition);
  display: flex;
  align-items: center;
}
.ped-sidecart__close:hover { color: var(--ped-white); }

.ped-sidecart__body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.ped-sidecart__empty {
  text-align: center;
  color: var(--ped-gray-text);
  padding: 40px 20px;
  font-size: 14px;
}
.ped-sidecart__empty i {
  font-size: 48px;
  display: block;
  margin-bottom: 12px;
  opacity: .4;
}

/* ── Mini-cart items ─────────────────────────────────────────────────── */
.ped-sidecart__body .woocommerce-mini-cart {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ped-sidecart__body .woocommerce-mini-cart-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--ped-gray-border);
}
.ped-sidecart__body .woocommerce-mini-cart-item:last-child {
  border-bottom: none;
}

/* Thumbnail */
.ped-sidecart__body .woocommerce-mini-cart-item > a img,
.ped-sidecart__body .woocommerce-mini-cart-item > img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: var(--ped-radius-sm);
  border: 1px solid var(--ped-gray-border);
  flex-shrink: 0;
  background: #fafafa;
  padding: 4px;
}

/* Info: nome + quantidade */
.ped-minicart-item__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 24px; /* espaço para o botão remover */
}
.ped-minicart-item__name {
  font-size: 13px;
  font-weight: 500;
  color: var(--ped-text);
  text-decoration: none;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  transition: color var(--ped-transition);
}
.ped-minicart-item__name:hover { color: var(--ped-primary); }

.ped-sidecart__body .woocommerce-mini-cart-item .quantity {
  font-size: 13px;
  font-weight: 600;
  color: var(--ped-primary);
}

/* Botão remover — canto superior direito do item */
.ped-sidecart__body .remove_from_cart_button {
  position: absolute;
  top: 14px;
  right: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f0f0f0;
  color: #888;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background var(--ped-transition), color var(--ped-transition);
}
.ped-sidecart__body .remove_from_cart_button:hover {
  background: #dc3545;
  color: #fff;
}

/* Sidecart Footer */
.ped-sidecart__footer {
  flex-shrink: 0;
  padding: 16px 20px;
  background: var(--ped-white);
  border-top: 1px solid var(--ped-gray-border);
  box-shadow: 0 -4px 12px rgba(0,0,0,.06);
}

.ped-sidecart__subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 15px;
}
.ped-sidecart__subtotal strong { font-size: 18px; font-weight: 700; color: var(--ped-primary); }

/* Frete grátis bar */
.ped-sidecart__free-shipping { margin-bottom: 12px; }
.ped-sidecart__free-shipping-text { font-size: 12px; color: var(--ped-gray-text); margin-bottom: 4px; }
.ped-sidecart__free-shipping-text del { color: var(--ped-gray-text); }

.ped-progress-bar { background: var(--ped-green); }

.ped-sidecart__free-shipping--earned p {
  font-size: 13px;
  color: var(--ped-green);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px;
}

/* Botões do sidecart */
.ped-sidecart__actions {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.ped-sidecart__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: var(--ped-radius);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  transition: all var(--ped-transition);
  cursor: pointer;
  text-decoration: none;
  font-family: var(--ped-font);
}

.ped-sidecart__btn--cart {
  background: transparent;
  border: 2px solid var(--ped-primary);
  color: var(--ped-primary);
}
.ped-sidecart__btn--cart:hover {
  background: var(--ped-primary);
  color: var(--ped-white);
}

.ped-sidecart__btn--checkout {
  background: var(--ped-green);
  border: 2px solid var(--ped-green);
  color: var(--ped-white);
}
.ped-sidecart__btn--checkout:hover {
  background: var(--ped-green-dark);
  border-color: var(--ped-green-dark);
  color: var(--ped-white);
}

.ped-sidecart__payments {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
}
.ped-sidecart__payments span {
  font-size: 10px;
  background: var(--ped-gray-bg);
  border: 1px solid var(--ped-gray-border);
  border-radius: 4px;
  padding: 2px 8px;
  color: var(--ped-gray-text);
  font-weight: 600;
}

/* =====================================================================
   WOOCOMMERCE OVERRIDES
   ===================================================================== */
.ped-wc-wrapper { padding: 24px 0; }

/* Badges de produto */
.ped-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 10;
}

.ped-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.ped-badge--sale     { background: #e53935; color: #fff; }
.ped-badge--new      { background: var(--ped-primary); color: #fff; }
.ped-badge--featured { background: #f59e0b; color: #fff; }

/* Botão add to cart WC */
.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button {
  background: var(--ped-green);
  color: var(--ped-white);
  border: none;
  border-radius: var(--ped-radius);
  font-family: var(--ped-font);
  font-weight: 700;
  transition: background var(--ped-transition);
  width: 100%;
  padding: 10px 16px;
}
.woocommerce ul.products li.product .button:hover,
.woocommerce-page ul.products li.product .button:hover {
  background: var(--ped-green-dark);
}

/* Preços */
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price {
  color: var(--ped-primary);
  font-weight: 700;
  font-size: 16px;
}
.woocommerce ul.products li.product .price del,
.woocommerce div.product p.price del {
  font-size: 13px;
  color: var(--ped-gray-text);
  font-weight: 400;
}
.woocommerce ul.products li.product .price ins,
.woocommerce div.product p.price ins {
  text-decoration: none;
}

/* =====================================================================
   PÁGINA DE CONTEÚDO
   ===================================================================== */
.ped-page-content { min-height: 60vh; }

/* =====================================================================
   404
   ===================================================================== */
.ped-404__icon {
  font-size: 64px;
  color: var(--ped-gray-border);
  display: block;
  margin-bottom: 16px;
}
.ped-404__code {
  font-size: 96px;
  font-weight: 900;
  color: var(--ped-primary);
  line-height: 1;
  margin-bottom: 8px;
}
.ped-404__title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}
.ped-404__desc {
  color: var(--ped-gray-text);
  margin-bottom: 24px;
}
.ped-404__search { max-width: 400px; margin: 0 auto; }

/* =====================================================================
   POST CARDS
   ===================================================================== */
.ped-post-card {
  background: var(--ped-white);
  border: 1px solid var(--ped-gray-border);
  border-radius: var(--ped-radius);
  overflow: hidden;
  transition: box-shadow var(--ped-transition);
}
.ped-post-card:hover { box-shadow: var(--ped-shadow); }
.ped-post-card__thumb img { width: 100%; height: 180px; object-fit: cover; }
.ped-post-card__body { padding: 16px; }
.ped-post-card__title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.ped-post-card__title a { color: var(--ped-text); }
.ped-post-card__title a:hover { color: var(--ped-primary); }
.ped-post-card__excerpt { font-size: 13px; color: var(--ped-gray-text); margin-bottom: 12px; }

/* Pagination */
.ped-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border: 1px solid var(--ped-gray-border);
  border-radius: var(--ped-radius-sm);
  color: var(--ped-text);
  margin: 0 2px;
  font-size: 13px;
  transition: all var(--ped-transition);
}
.ped-pagination .page-numbers:hover,
.ped-pagination .page-numbers.current {
  background: var(--ped-primary);
  border-color: var(--ped-primary);
  color: var(--ped-white);
}

/* =====================================================================
   RESPONSIVO
   ===================================================================== */

/* Tablet ≥ 1200px → Notebook */
@media (max-width: 1400px) {
  .ped-footer__grid { grid-template-columns: 180px 1fr 1fr 200px; gap: 28px; }
}

/* Tablet */
@media (max-width: 1199px) {
  .ped-pitchbar__grid { grid-template-columns: repeat(3, 1fr); }
  .ped-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .ped-slider__image { height: 380px; }
  .ped-slider__caption { padding: 24px 32px; }

  /* Oculta nav horizontal em tablet */
  .ped-navbar__menu { display: none; }
  .ped-navbar__categories { display: none !important; }
}

/* Mobile grande */
@media (max-width: 767px) {
  :root {
    --ped-topbar-height: auto;
    --ped-header-height: 62px;
  }

  .ped-topbar { height: auto; padding: 6px 0; }
  .ped-topbar__inner { flex-direction: column; gap: 4px; align-items: flex-start; }
  .ped-topbar__right { display: none; } /* oculta no mobile para não poluir */

  .ped-pitchbar__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ped-footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .ped-footer__payments-inner { flex-direction: column; gap: 24px; }

  .ped-slider__image { height: 260px; }
  .ped-slider__caption { padding: 16px 20px; }
  .ped-slider__title { font-size: 20px; }

  /* Busca do header fica espremida no mobile — usa-se a do offcanvas */
  .ped-header__search { display: none; }
}

/* Mobile pequeno */
@media (max-width: 479px) {
  .ped-pitchbar__grid { grid-template-columns: 1fr; }
  .ped-header__actions .ped-header__action--wishlist { display: none; }
}

/* =====================================================================
   STICKY HEADER SHADOW
   ===================================================================== */
.ped-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
}

/* =====================================================================
   SKIP LINK acessibilidade
   ===================================================================== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--ped-primary);
  color: #fff;
  padding: 8px 16px;
  border-radius: 0 0 4px 4px;
  font-weight: 700;
  z-index: 99999;
  transition: top .2s;
}
.skip-link:focus { top: 0; color: #fff; }

/* ==========================================================================
   PRODUCT CARD — Estrutura Kalunga
   ========================================================================== */

/* ── Section Header ─────────────────────────────────────────────────────── */
.ped-product-grid-section {
  padding: 40px 0 48px;
  background: var(--ped-white);
}
.ped-product-grid-section + .ped-product-grid-section {
  padding-top: 0;
  border-top: 1px solid var(--ped-gray-border);
}

.ped-section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.ped-section-title {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 700;
  color: var(--ped-text);
  margin: 0;
  white-space: nowrap;
}

.ped-section-title__line {
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, var(--ped-gray-border), transparent);
  min-width: 24px;
}

.ped-section-see-all {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ped-primary);
  white-space: nowrap;
  transition: gap var(--ped-transition);
}
.ped-section-see-all:hover { gap: 9px; color: var(--ped-primary-light); }

/* ── Grid Container ─────────────────────────────────────────────────────── */
.ped-product-grid {
  display: grid;
  gap: 16px;
}

.ped-product-grid--cols-4 { grid-template-columns: repeat(4, 1fr); }
.ped-product-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.ped-product-grid--cols-5 { grid-template-columns: repeat(5, 1fr); }
.ped-product-grid--cols-6 { grid-template-columns: repeat(6, 1fr); }

/* ── Card Base ──────────────────────────────────────────────────────────── */
.ped-product-card {
  background: var(--ped-white);
  border: 1px solid var(--ped-gray-border);
  border-radius: var(--ped-radius);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--ped-transition), border-color var(--ped-transition), transform var(--ped-transition);
  cursor: pointer;
}
.ped-product-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,.10);
  border-color: #c8c8c8;
  transform: translateY(-2px);
}
.ped-product-card--outofstock { opacity: .65; }

/* ── Imagem ─────────────────────────────────────────────────────────────── */
.ped-product-card__image-wrap {
  position: relative;
  background: var(--ped-white);
  overflow: hidden;
  aspect-ratio: 1 / 1;    /* quadrado como Kalunga */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

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

.ped-product-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;   /* contain = mantém proporção, como Kalunga */
  transition: transform .3s ease;
}
.ped-product-card:hover .ped-product-card__image {
  transform: scale(1.06);
}

/* ── Badges — canto superior direito da imagem ──────────────────────────── */
.ped-product-card__badges {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  z-index: 5;
}

.ped-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 50px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  line-height: 1.5;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.ped-badge i { font-size: 10px; }

.ped-badge--discount { background: rgba(229,57,53,.82); color: #fff; }
.ped-badge--oferta   { background: rgba(229,57,53,.78); color: #fff; }
.ped-badge--frete    { background: rgba(92,60,200,.80); color: #fff; }
.ped-badge--destaque { background: rgba(245,158,11,.85); color: #fff; }
.ped-badge--novo     { background: rgba(39,59,155,.80); color: #fff; }

/* ── Corpo do card ──────────────────────────────────────────────────────── */
.ped-product-card__body {
  padding: 12px 14px 8px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Nome */
.ped-product-card__name-link {
  text-decoration: none;
  display: block;
}
.ped-product-card__name {
  font-size: 13px;
  font-weight: 500;
  color: var(--ped-text);
  margin: 0;
  line-height: 1.4;
  /* Trunca em 2 linhas — igual Kalunga */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: calc(13px * 1.4 * 2); /* reserva espaço para 2 linhas */
  transition: color var(--ped-transition);
}
.ped-product-card__name-link:hover .ped-product-card__name {
  color: var(--ped-primary);
}

/* Preços */
.ped-product-card__pricing {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ped-product-card__price-old {
  font-size: 11.5px;
  color: #999;
}
.ped-product-card__price-old del {
  text-decoration: line-through;
  color: #999;
}

.ped-product-card__price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.ped-product-card__price-current {
  font-size: 20px;
  font-weight: 800;
  color: #cc0000;          /* vermelho Kalunga */
  line-height: 1.1;
  font-family: var(--ped-font);
}
/* Sobrescreve estilo padrão do WooCommerce */
.ped-product-card__price-current .woocommerce-Price-amount,
.ped-product-card__price-current bdi {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}
.ped-product-card__price-current .woocommerce-Price-currencySymbol {
  font-size: 13px;
  font-weight: 700;
}

.ped-product-card__price-vista {
  font-size: 11.5px;
  color: var(--ped-primary);
  font-weight: 600;
  margin-bottom: 1px;
}

.ped-product-card__installments {
  font-size: 12px;
  color: #555;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.ped-product-card__sem-juros {
  font-size: 12px;
  color: #555;
}
.ped-product-card__installments--unavailable {
  font-size: 12px;
  color: #555;
}

.ped-product-card__out-of-stock {
  font-size: 12px;
  color: #999;
  font-style: italic;
}
.ped-product-card__consult {
  font-size: 13px;
  color: var(--ped-primary);
  font-weight: 600;
}

/* Aviso de estoque insuficiente no card */
.ped-stock-error {
  font-size: 11px;
  color: #c0392b;
  background: #fdf0ef;
  border: 1px solid #f5c6c2;
  border-radius: 4px;
  padding: 4px 8px;
  margin-bottom: 6px;
  text-align: center;
}
.ped-sp-stock-notice {
  font-size: 13px;
  color: #856404;
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 6px;
  padding: 8px 14px;
  margin-bottom: 12px;
}

/* ── Footer do card: Quantidade + Botão "Comprar" ───────────────────────── */
.ped-product-card__footer {
  padding: 0 14px 14px;
  margin-top: auto;
}

/* ── Atalhos de quantidade rápida B2B ───────────────────────────────────── */
.ped-quick-qty {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.ped-quick-qty__label {
  font-size: 11px;
  color: #888;
  font-weight: 500;
  flex-shrink: 0;
}
.ped-quick-qty__btn {
  padding: 2px 10px;
  border: 1px solid var(--ped-gray-border);
  border-radius: 50px;
  background: transparent;
  color: var(--ped-text);
  font-size: 11px;
  font-weight: 600;
  font-family: var(--ped-font);
  cursor: pointer;
  transition: border-color var(--ped-transition), background var(--ped-transition), color var(--ped-transition);
  line-height: 1.6;
}
.ped-quick-qty__btn:hover,
.ped-quick-qty__btn.is-active {
  border-color: var(--ped-primary);
  background: var(--ped-primary);
  color: #fff;
}

/* Variante na página do produto */
.ped-quick-qty--sp {
  margin-bottom: 14px;
}
.ped-quick-qty--sp .ped-quick-qty__label {
  font-size: 13px;
  color: #555;
}
.ped-quick-qty--sp .ped-quick-qty__btn {
  padding: 4px 16px;
  font-size: 13px;
}

/* Row: qty + buy-btn lado a lado */
.ped-product-card__buy-row {
  display: flex;
  align-items: stretch;
  gap: 6px;
}

/* Seletor de quantidade */
.ped-product-card__qty-wrap {
  display: flex;
  align-items: center;
  border: 1px solid var(--ped-gray-border);
  border-radius: var(--ped-radius);
  overflow: hidden;
  flex-shrink: 0;
}
.ped-qty-btn {
  background: #f5f5f5;
  border: none;
  width: 26px;
  height: 100%;
  font-size: 16px;
  font-weight: 700;
  color: var(--ped-text);
  cursor: pointer;
  line-height: 1;
  transition: background var(--ped-transition);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ped-qty-btn:hover { background: #e8e8e8; }
.ped-qty-input {
  width: 32px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--ped-gray-border);
  border-right: 1px solid var(--ped-gray-border);
  font-size: 13px;
  font-weight: 600;
  color: var(--ped-text);
  font-family: var(--ped-font);
  background: var(--ped-white);
  padding: 0;
  -moz-appearance: textfield;
}
.ped-qty-input::-webkit-outer-spin-button,
.ped-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }

.ped-product-card__buy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
  background: var(--ped-primary);
  color: var(--ped-white);
  border: none;
  border-radius: var(--ped-radius);
  padding: 9px 10px;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--ped-font);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--ped-transition), transform var(--ped-transition);
  line-height: 1.2;
  white-space: nowrap;
}
.ped-product-card__buy-btn:hover {
  background: var(--ped-primary-dark);
  color: var(--ped-white);
  transform: translateY(-1px);
}
.ped-product-card__buy-btn--link {
  background: transparent;
  border: 2px solid var(--ped-primary);
  color: var(--ped-primary);
}
.ped-product-card__buy-btn--link:hover {
  background: var(--ped-primary);
  color: var(--ped-white);
}

/* Estado "adicionando" via JS */
.ped-product-card__buy-btn.ped-loading {
  opacity: .7;
  pointer-events: none;
}
.ped-product-card__buy-btn.ped-added {
  background: var(--ped-primary-dark);
}

/* ── Responsividade do grid ─────────────────────────────────────────────── */
@media (max-width: 1399px) {
  .ped-product-grid--cols-4 { grid-template-columns: repeat(4, 1fr); }
  .ped-product-grid--cols-5 { grid-template-columns: repeat(4, 1fr); }
  .ped-product-grid--cols-6 { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1199px) {
  .ped-product-grid--cols-4,
  .ped-product-grid--cols-5,
  .ped-product-grid--cols-6 { grid-template-columns: repeat(3, 1fr); }
  .ped-product-card__price-current { font-size: 17px; }
}
@media (max-width: 767px) {
  .ped-product-grid--cols-3,
  .ped-product-grid--cols-4,
  .ped-product-grid--cols-5,
  .ped-product-grid--cols-6 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ped-product-card__image-wrap { padding: 10px; }
  .ped-product-card__body { padding: 10px 10px 6px; }
  .ped-product-card__footer { padding: 0 10px 10px; }
  .ped-product-card__price-current { font-size: 16px; }
  .ped-product-card__name { font-size: 12px; }
}
@media (max-width: 399px) {
  .ped-product-grid--cols-2,
  .ped-product-grid--cols-3,
  .ped-product-grid--cols-4 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   SWIPE SCROLL — Mobile (touch) + Desktop (drag)
   ========================================================================== */

/* ── Wrapper externo ────────────────────────────────────────────────────── */
.ped-swipe-wrapper {
  position: relative;
  /* Gradiente fade direita — hint visual "tem mais" */
  --swipe-fade-color: #fff; /* muda via inline style ou variante */
}

/* Fade right edge (esconde quando chegou ao fim via .is-end) */
.ped-swipe-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 20px; /* não cobre os dots */
  width: 56px;
  background: linear-gradient(to right, transparent, var(--swipe-fade-color, #fff));
  pointer-events: none;
  z-index: 20;
  transition: opacity .25s ease;
  border-radius: 0 var(--ped-radius) var(--ped-radius) 0;
}
.ped-swipe-wrapper.is-end::after   { opacity: 0; }
.ped-swipe-wrapper.is-start::after { opacity: 1; }

/* Fade left edge (aparece quando não está no início) */
.ped-swipe-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 20px;
  width: 36px;
  background: linear-gradient(to left, transparent, var(--swipe-fade-color, #fff));
  pointer-events: none;
  z-index: 20;
  opacity: 0;
  transition: opacity .25s ease;
}
.ped-swipe-wrapper.is-scrolled::before { opacity: 1; }

/* ── Track (o elemento scrollável) ─────────────────────────────────────── */
.ped-swipe-track {
  /* Só ativa scroll horizontal em mobile — desktop mantém comportamento normal */
  -webkit-overflow-scrolling: touch;
}

/* ── Dots indicadores ───────────────────────────────────────────────────── */
.ped-swipe-dots {
  display: none; /* mostrado só em mobile via JS */
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding-top: 14px;
  padding-bottom: 2px;
}

.ped-swipe-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ped-gray-border);
  transition: background .2s ease, transform .2s ease, width .25s ease;
  flex-shrink: 0;
  cursor: pointer;
}
.ped-swipe-dot.is-active {
  background: var(--ped-primary);
  width: 20px;
  border-radius: 4px;
  transform: none;
}

/* ── Cursor drag no desktop ─────────────────────────────────────────────── */
.ped-swipe-track.is-dragging {
  cursor: grabbing !important;
  user-select: none;
}
.ped-swipe-track:not(.is-dragging) { cursor: default; }

/* ── MOBILE: overrides de layout ────────────────────────────────────────── */
@media (max-width: 991px) {

  /* Pitchbar → scroll horizontal */
  .ped-pitchbar .ped-swipe-wrapper {
    --swipe-fade-color: #f0f0f0; /* mesma cor do bg do pitchbar */
    margin-left: -12px;
    margin-right: -12px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .ped-pitchbar__grid.ped-swipe-track {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 12px;
    padding: 4px 16px 4px 2px; /* padding direito extra para o gradient */
  }
  .ped-pitchbar__grid.ped-swipe-track::-webkit-scrollbar { display: none; }

  .ped-pitchbar__item.ped-swipe-item {
    scroll-snap-align: start;
    flex: 0 0 72%;  /* mostra ~1.3 itens → hint de mais conteúdo */
    min-width: 220px;
    max-width: 320px;
  }

  /* Produto grid → scroll horizontal */
  .ped-product-grid.ped-swipe-track {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 12px;
    padding: 4px 24px 12px 2px; /* padding direito extra para o gradient */
    /* Cancela o grid css que definiria template-columns */
    grid-template-columns: unset !important;
  }
  .ped-product-grid.ped-swipe-track::-webkit-scrollbar { display: none; }

  /* Cada item do swipe (wrapper do card) */
  .ped-product-grid.ped-swipe-track > .ped-swipe-item {
    scroll-snap-align: start;
    flex: 0 0 calc(50% - 6px); /* tablet: 2 cards visíveis */
    min-width: 200px;
    max-width: 280px;
  }

  /* O card em si preenche o item */
  .ped-swipe-item .ped-product-card { height: 100%; }

  /* Dots visíveis */
  .ped-swipe-dots { display: flex; }
}

@media (max-width: 767px) {
  /* Mobile: 1.3 cards visíveis para dar hint */
  .ped-product-grid.ped-swipe-track > .ped-swipe-item {
    flex: 0 0 78%;
    min-width: 180px;
    max-width: 260px;
  }

  /* Pitchbar: 1.2 itens visíveis */
  .ped-pitchbar__item.ped-swipe-item {
    flex: 0 0 82%;
    min-width: 200px;
  }
}

@media (max-width: 479px) {
  .ped-product-grid.ped-swipe-track > .ped-swipe-item {
    flex: 0 0 85%;
    min-width: 160px;
  }
}

/* ── Swipe Hint Animation (primeira visita) ─────────────────────────────── */
@keyframes ped-swipe-hint {
  0%   { transform: translateX(0); }
  20%  { transform: translateX(-28px); }
  45%  { transform: translateX(-14px); }
  65%  { transform: translateX(-28px); }
  100% { transform: translateX(0); }
}

.ped-swipe-track.do-hint {
  animation: ped-swipe-hint .9s ease .4s 1 both;
}

/* ── Label "deslize" (aparece na primeira visita) ───────────────────────── */
.ped-swipe-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--ped-gray-text);
  justify-content: flex-end;
  padding-right: 4px;
  margin-bottom: 6px;
  opacity: 0;
  transition: opacity .3s ease;
}
.ped-swipe-label.is-visible { opacity: 1; }
.ped-swipe-label i { font-size: 14px; }

/* ── Esconde label e dots no desktop ────────────────────────────────────── */
@media (min-width: 992px) {
  .ped-swipe-wrapper::before,
  .ped-swipe-wrapper::after { display: none; }
  .ped-swipe-dots    { display: none !important; }
  .ped-swipe-label   { display: none; }
}

/* ==========================================================================
   SINGLE PRODUCT PAGE — B2B Moderno
   ========================================================================== */

/* ── Breadcrumb ─────────────────────────────────────────────────────────── */
.ped-sp-breadcrumb {
  background: var(--ped-gray-bg);
  border-bottom: 1px solid var(--ped-gray-border);
  padding: 10px 0;
}
.ped-breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  font-size: 12px;
}
.ped-breadcrumb__item { display: flex; align-items: center; gap: 4px; color: var(--ped-gray-text); }
.ped-breadcrumb__item a { color: var(--ped-gray-text); transition: color var(--ped-transition); }
.ped-breadcrumb__item a:hover { color: var(--ped-primary); }
.ped-breadcrumb__item:last-child { color: var(--ped-text); font-weight: 500; }
.ped-breadcrumb__item i { font-size: 10px; color: var(--ped-gray-border); }

/* ── Layout geral ───────────────────────────────────────────────────────── */
.ped-single-product { padding: 32px 0 48px; }

.ped-sp-layout {
  display: grid;
  grid-template-columns: 520px 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 56px;
}

/* ══════════════════════════════════════════
   GALERIA
   ══════════════════════════════════════════ */
.ped-sp-gallery {
  position: sticky;
  top: calc(var(--ped-header-height) + var(--ped-navbar-height) + 16px);
}

/* Imagem principal */
.ped-sp-gallery__main {
  position: relative;
  background: var(--ped-white);
  border: 1px solid var(--ped-gray-border);
  border-radius: var(--ped-radius);
  overflow: hidden;
  margin-bottom: 12px;
}

.ped-sp-gallery__zoom-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
  cursor: zoom-in;
}

.ped-sp-gallery__main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .35s ease, opacity .2s ease;
}
.ped-sp-gallery__main-img:hover { transform: scale(1.04); }

/* Transição ao trocar imagem */
.ped-img-fade { opacity: 0; transform: scale(.97); }

.ped-sp-gallery__discount,
.ped-sp-gallery__unavailable {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 10;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .3px;
  line-height: 1.2;
}
.ped-sp-gallery__discount   { background: #e53935; color: #fff; }
.ped-sp-gallery__unavailable{ background: #888; color: #fff; }

.ped-sp-gallery__fullscreen {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0,0,0,.42);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 7px 10px;
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  transition: background var(--ped-transition);
  z-index: 10;
}
.ped-sp-gallery__fullscreen:hover { background: rgba(0,0,0,.7); }

/* Thumbs */
.ped-sp-gallery__thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ped-sp-gallery__thumb {
  width: 72px;
  height: 72px;
  border: 2px solid var(--ped-gray-border);
  border-radius: 6px;
  padding: 4px;
  cursor: pointer;
  background: var(--ped-white);
  transition: border-color var(--ped-transition), box-shadow var(--ped-transition);
  overflow: hidden;
  flex-shrink: 0;
}
.ped-sp-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ped-sp-gallery__thumb:hover    { border-color: var(--ped-primary-light); }
.ped-sp-gallery__thumb.is-active{ border-color: var(--ped-primary); box-shadow: 0 0 0 1px var(--ped-primary); }

/* ══════════════════════════════════════════
   INFORMAÇÕES / COLUNA DIREITA
   ══════════════════════════════════════════ */

/* Categorias */
.ped-sp-cats {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.ped-sp-cat-link {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--ped-primary);
  background: rgba(39,59,155,.08);
  padding: 3px 10px;
  border-radius: 50px;
  transition: background var(--ped-transition), color var(--ped-transition);
}
.ped-sp-cat-link:hover { background: var(--ped-primary); color: #fff; }

/* Título */
.ped-sp-title {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  color: var(--ped-text);
  line-height: 1.3;
  margin-bottom: 12px;
}

/* Meta (SKU, estoque, avaliações) */
.ped-sp-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ped-gray-border);
}
.ped-sp-meta__item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--ped-gray-text);
}
.ped-sp-meta__label { font-weight: 600; }
.ped-sp-meta__item--stock i { font-size: 14px; }
.ped-sp-meta__item--stock.is-instock { color: var(--ped-green-dark); }
.ped-sp-meta__item--stock.is-outstock { color: #e53935; }
.ped-sp-meta__review-count { color: var(--ped-primary); font-size: 12px; text-decoration: underline; }

/* Rating stars */
.ped-sp-meta .star-rating { font-size: 14px; }

/* Descrição curta */
.ped-sp-short-desc {
  font-size: 14px;
  color: var(--ped-gray-text);
  line-height: 1.6;
  margin-bottom: 20px;
}
.ped-sp-short-desc ul { list-style: disc; padding-left: 18px; }
.ped-sp-short-desc li { margin-bottom: 4px; }

/* ── Bloco de preço ──────────────────────────────────────────────────────── */
.ped-sp-pricing {
  background: var(--ped-gray-bg);
  border-radius: var(--ped-radius);
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid var(--ped-gray-border);
}

.ped-sp-pricing__old {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #999;
  margin-bottom: 6px;
}
.ped-sp-pricing__old del { font-size: 14px; color: #bbb; }
.ped-sp-pricing__save {
  background: #fff3e0;
  color: #e65100;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 50px;
  border: 1px solid #ffe0b2;
}

.ped-sp-pricing__current {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.ped-sp-pricing__value {
  font-size: clamp(26px, 4vw, 32px);
  font-weight: 800;
  color: #cc0000;
  line-height: 1;
  font-family: var(--ped-font);
}
.ped-sp-pricing__value .woocommerce-Price-amount,
.ped-sp-pricing__value bdi { font-size: inherit; font-weight: inherit; color: inherit; }
.ped-sp-pricing__value .woocommerce-Price-currencySymbol { font-size: 18px; font-weight: 700; }

.ped-sp-pricing__vista {
  font-size: 13px;
  color: var(--ped-primary);
  font-weight: 600;
  margin-bottom: 2px;
}

.ped-sp-pricing__installments {
  font-size: 14px;
  color: var(--ped-gray-text);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.ped-sp-pricing__no-interest {
  font-size: 11px;
  color: var(--ped-green);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .3px;
}

.ped-sp-pricing__pix {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ped-gray-text);
  background: #fff;
  border-radius: 6px;
  padding: 7px 12px;
  border: 1px dashed #c8e6c9;
}
.ped-sp-pricing__pix i { color: #27ae60; font-size: 14px; }

.ped-sp-pricing__consult { font-size: 15px; color: var(--ped-gray-text); font-style: italic; margin: 0; }

/* ── Caixa B2B ──────────────────────────────────────────────────────────── */
.ped-sp-b2b-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(39,59,155,.05);
  border: 1px solid rgba(39,59,155,.18);
  border-radius: var(--ped-radius);
  padding: 14px 16px;
  margin-bottom: 20px;
}
.ped-sp-b2b-box > i { font-size: 26px; color: var(--ped-primary); flex-shrink: 0; }
.ped-sp-b2b-box__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ped-sp-b2b-box__text strong { font-size: 13px; color: var(--ped-text); }
.ped-sp-b2b-box__text span   { font-size: 12px; color: var(--ped-gray-text); line-height: 1.4; }
.ped-sp-b2b-box__btn {
  flex-shrink: 0;
  background: var(--ped-primary);
  color: #fff;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: background var(--ped-transition);
}
.ped-sp-b2b-box__btn:hover { background: var(--ped-primary-dark); color: #fff; }

/* ── Add to cart WC override ─────────────────────────────────────────────── */
.ped-sp-add-to-cart { margin-bottom: 20px; }

.ped-sp-add-to-cart .quantity {
  display: flex;
  align-items: center;
  gap: 0;
  border: 2px solid var(--ped-gray-border);
  border-radius: var(--ped-radius);
  overflow: hidden;
  width: fit-content;
  margin-bottom: 12px;
}
.ped-sp-add-to-cart .qty {
  width: 60px;
  text-align: center;
  border: none;
  outline: none;
  font-size: 16px;
  font-weight: 700;
  padding: 10px 4px;
  background: transparent;
  font-family: var(--ped-font);
  -moz-appearance: textfield;
}
.ped-sp-add-to-cart .qty::-webkit-inner-spin-button,
.ped-sp-add-to-cart .qty::-webkit-outer-spin-button { -webkit-appearance: none; }

/* Botões +/- de quantidade (WC usa JS para isso, mas customizamos via CSS) */
.ped-sp-add-to-cart .single_add_to_cart_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ped-green);
  color: #fff;
  border: none;
  border-radius: var(--ped-radius);
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--ped-font);
  cursor: pointer;
  transition: background var(--ped-transition), transform var(--ped-transition);
  width: 100%;
  letter-spacing: .3px;
}
.ped-sp-add-to-cart .single_add_to_cart_button:hover {
  background: var(--ped-green-dark);
  transform: translateY(-1px);
}
.ped-sp-add-to-cart .single_add_to_cart_button::before {
  content: '\F23B'; /* bi-cart-plus */
  font-family: 'bootstrap-icons';
  font-size: 18px;
}

/* ── Indisponível ───────────────────────────────────────────────────────── */
.ped-sp-outofstock-msg {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: var(--ped-radius);
  padding: 14px 16px;
  font-size: 13px;
  color: #795548;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.ped-sp-outofstock-msg i { font-size: 18px; color: #f9a825; flex-shrink: 0; }
.ped-sp-outofstock-msg a { color: var(--ped-primary); font-weight: 600; text-decoration: underline; margin-left: auto; }

/* ── Benefits mini-bar ──────────────────────────────────────────────────── */
.ped-sp-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
  padding: 16px;
  background: var(--ped-gray-bg);
  border-radius: var(--ped-radius);
  border: 1px solid var(--ped-gray-border);
}
.ped-sp-benefit {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ped-gray-text);
}
.ped-sp-benefit i { font-size: 16px; color: var(--ped-primary); flex-shrink: 0; }

/* ── Compartilhar ───────────────────────────────────────────────────────── */
.ped-sp-share {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.ped-sp-share__label { font-size: 12px; color: var(--ped-gray-text); }
.ped-sp-share__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--ped-gray-border);
  font-size: 15px;
  transition: all var(--ped-transition);
  background: transparent;
  cursor: pointer;
  color: var(--ped-gray-text);
  text-decoration: none;
}
.ped-sp-share__btn--wa:hover  { background: #25d366; border-color: #25d366; color: #fff; }
.ped-sp-share__btn--fb:hover  { background: #1877f2; border-color: #1877f2; color: #fff; }
.ped-sp-share__btn--copy:hover{ background: var(--ped-primary); border-color: var(--ped-primary); color: #fff; }

/* ══════════════════════════════════════════
   TABS
   ══════════════════════════════════════════ */
.ped-sp-tabs {
  margin-bottom: 48px;
  border: 1px solid var(--ped-gray-border);
  border-radius: var(--ped-radius);
  overflow: hidden;
}

.ped-sp-tabs__nav {
  display: flex;
  background: var(--ped-gray-bg);
  border-bottom: 1px solid var(--ped-gray-border);
  overflow-x: auto;
  scrollbar-width: none;
}
.ped-sp-tabs__nav::-webkit-scrollbar { display: none; }

.ped-sp-tab-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: none;
  padding: 16px 24px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--ped-font);
  color: var(--ped-gray-text);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  transition: color var(--ped-transition), border-color var(--ped-transition), background var(--ped-transition);
  white-space: nowrap;
}
.ped-sp-tab-btn i { font-size: 16px; }
.ped-sp-tab-btn:hover { color: var(--ped-primary); background: rgba(39,59,155,.04); }
.ped-sp-tab-btn.is-active {
  color: var(--ped-primary);
  border-bottom-color: var(--ped-primary);
  background: var(--ped-white);
}

.ped-tab-count {
  background: var(--ped-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 50px;
  padding: 1px 6px;
  min-width: 18px;
  text-align: center;
}

.ped-sp-tab-panel {
  padding: 28px 32px;
  background: var(--ped-white);
}
.ped-sp-tab-panel[hidden] { display: none; }

/* Conteúdo da descrição */
.ped-sp-description { font-size: 14px; color: var(--ped-gray-text); line-height: 1.7; }
.ped-sp-description h2, .ped-sp-description h3, .ped-sp-description h4 { color: var(--ped-text); margin-top: 20px; margin-bottom: 8px; }
.ped-sp-description ul { list-style: disc; padding-left: 20px; margin-bottom: 12px; }
.ped-sp-description li { margin-bottom: 4px; }
.ped-sp-description img { max-width: 100%; border-radius: 6px; margin: 12px 0; }

.ped-sp-no-content { color: var(--ped-gray-text); font-style: italic; font-size: 14px; }

/* Tabela de especificações */
.ped-sp-specs-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ped-sp-specs-table tr { border-bottom: 1px solid var(--ped-gray-border); }
.ped-sp-specs-table tr:last-child { border-bottom: none; }
.ped-sp-specs-table th {
  width: 34%;
  padding: 12px 16px;
  font-weight: 600;
  color: var(--ped-text);
  background: var(--ped-gray-bg);
  text-align: left;
  vertical-align: top;
}
.ped-sp-specs-table td {
  padding: 12px 16px;
  color: var(--ped-gray-text);
  vertical-align: top;
}
.ped-sp-specs-table tr:nth-child(even) td { background: rgba(0,0,0,.01); }

/* ── Lightbox ────────────────────────────────────────────────────────────── */
.ped-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.88);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 20px;
}
.ped-lightbox[hidden] { display: none; }

.ped-lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--ped-radius);
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.ped-lightbox__close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: rgba(255,255,255,.15);
  border: none;
  color: #fff;
  font-size: 22px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--ped-transition);
}
.ped-lightbox__close:hover { background: rgba(255,255,255,.28); }

/* ── Related products section ────────────────────────────────────────────── */
.ped-sp-related { border-top: 1px solid var(--ped-gray-border); }
.ped-sp-related .ped-product-grid-section { padding-top: 36px; }

/* ══════════════════════════════════════════
   RESPONSIVE — Single Product
   ══════════════════════════════════════════ */
@media (max-width: 1199px) {
  .ped-sp-layout { grid-template-columns: 420px 1fr; gap: 32px; }
}

@media (max-width: 991px) {
  .ped-sp-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .ped-sp-gallery { position: static; }
  .ped-sp-gallery__main { max-width: 500px; margin: 0 auto 12px; }
  .ped-sp-gallery__thumbs { justify-content: center; }
}

@media (max-width: 767px) {
  .ped-sp-tab-btn { padding: 13px 16px; font-size: 13px; }
  .ped-sp-tab-panel { padding: 20px 16px; }
  .ped-sp-specs-table th,
  .ped-sp-specs-table td { padding: 10px 12px; }
  .ped-sp-benefits { grid-template-columns: 1fr 1fr; }
  .ped-sp-b2b-box { flex-wrap: wrap; }
  .ped-sp-b2b-box__btn { width: 100%; text-align: center; }
}

/* ══════════════════════════════════════════
   SEARCH PAGE
   ══════════════════════════════════════════ */
.ped-search-page { padding: 32px 0 60px; }

.ped-search-page__header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--ped-gray-border);
}

.ped-search-page__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ped-dark);
  margin: 0;
}

.ped-search-page__term { color: var(--ped-primary); }

.ped-search-page__count {
  font-size: .875rem;
  color: var(--ped-gray-text);
  margin: 0;
}

/* Paginação */
.ped-pagination { margin-top: 40px; text-align: center; }
.ped-pagination .nav-links { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; }
.ped-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--ped-gray-border);
  border-radius: 6px;
  font-size: .875rem;
  color: var(--ped-dark);
  text-decoration: none;
  transition: background var(--ped-transition), border-color var(--ped-transition), color var(--ped-transition);
}
.ped-pagination .page-numbers:hover { background: var(--ped-primary); border-color: var(--ped-primary); color: #fff; }
.ped-pagination .page-numbers.current { background: var(--ped-primary); border-color: var(--ped-primary); color: #fff; font-weight: 700; }
.ped-pagination .page-numbers.dots { border: none; pointer-events: none; }

/* Resultado não-produto */
.ped-search-post-card {
  border: 1px solid var(--ped-gray-border);
  border-radius: var(--ped-radius);
  overflow: hidden;
  transition: box-shadow var(--ped-transition);
}
.ped-search-post-card:hover { box-shadow: 0 4px 18px rgba(0,0,0,.10); }
.ped-search-post-card__link { display: block; text-decoration: none; color: inherit; }
.ped-search-post-card__thumb img { width: 100%; height: 180px; object-fit: cover; display: block; }
.ped-search-post-card__body { padding: 16px; }
.ped-search-post-card__type {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ped-primary);
  display: block;
  margin-bottom: 6px;
}
.ped-search-post-card__title { font-size: 1rem; font-weight: 700; margin: 0 0 8px; color: var(--ped-dark); }
.ped-search-post-card__excerpt { font-size: .875rem; color: var(--ped-gray-text); margin: 0; line-height: 1.5; }
.ped-search-post-card__excerpt p { margin: 0; }

/* Estado vazio */
.ped-search-page__empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--ped-gray-text);
}
.ped-search-page__empty .bi-search { font-size: 3rem; display: block; margin-bottom: 16px; color: var(--ped-gray-border); }
.ped-search-page__empty p { font-size: 1.1rem; margin: 0 0 8px; }
.ped-search-page__empty-hint { font-size: .9rem; }
.ped-search-page__empty .search-form { margin-top: 24px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ══════════════════════════════════════════
   PRODUCT ARCHIVE (Loja / Categorias / Tags)
   ══════════════════════════════════════════ */

/* Breadcrumb */
.ped-archive__breadcrumb {
  background: var(--ped-gray-bg);
  border-bottom: 1px solid var(--ped-gray-border);
  padding: 10px 0;
}

/* Header da categoria */
.ped-archive__header {
  background: var(--ped-primary);
  color: #fff;
  padding: 24px 0;
}
.ped-archive__header.has-image {
  background: linear-gradient(90deg, var(--ped-primary) 60%, rgba(39,59,155,.4) 100%),
              var(--archive-thumb, '') center / cover no-repeat;
}
.ped-archive__header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}
.ped-archive__header-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: var(--ped-radius);
  background: rgba(255,255,255,.12);
  padding: 6px;
  flex-shrink: 0;
}
.ped-archive__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: #fff;
}
.ped-archive__desc {
  font-size: .875rem;
  color: rgba(255,255,255,.85);
  margin: 0;
  max-width: 600px;
}
.ped-archive__desc p { margin: 0; }

/* ── Archive main ───────────────────────────────────────────────────────── */
.ped-archive { padding: 0 0 60px; }

/* Layout: sidebar + content */
.ped-archive__layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  padding-top: 20px;
  align-items: start;
}

/* ── Sidebar ────────────────────────────────────────────────────────────── */

/* No desktop: sobrescreve Bootstrap offcanvas para virar sidebar estático */
@media (min-width: 992px) {
  .ped-archive__sidebar.offcanvas {
    position: sticky;
    top: 16px;
    transform: none !important;
    visibility: visible !important;
    height: auto;
    width: 220px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    border: 1px solid var(--ped-gray-border);
    border-radius: var(--ped-radius);
    background: var(--ped-white);
    box-shadow: var(--ped-shadow);
    z-index: 1;
  }
  .ped-archive__sidebar-body { padding: 0; overflow: visible; }
}

/* Mobile: usa offcanvas Bootstrap normalmente */
@media (max-width: 991px) {
  .ped-archive__sidebar .ped-filter-group__toggle { border-radius: 0; }
}

.ped-archive__sidebar-header {
  border-bottom: 1px solid var(--ped-gray-border);
  padding: 14px 16px;
}
.ped-archive__sidebar-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--ped-gray-text);
  padding: 4px;
  line-height: 1;
}
.ped-archive__sidebar-close:hover { color: var(--ped-text); }

/* Grupo de filtro */
.ped-filter-group {
  border-bottom: 1px solid var(--ped-gray-border);
}
.ped-filter-group:last-child { border-bottom: none; }

.ped-filter-group__toggle {
  display: flex;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  padding: 13px 16px;
  font-size: .875rem;
  font-weight: 700;
  font-family: var(--ped-font);
  color: var(--ped-text);
  cursor: pointer;
  text-align: left;
  gap: 6px;
  transition: background var(--ped-transition);
}
.ped-filter-group__toggle:hover { background: var(--ped-gray-bg); }
.ped-filter-group__toggle .bi-chevron-down {
  margin-left: auto;
  font-size: .75rem;
  transition: transform var(--ped-transition);
}
.ped-filter-group__toggle[aria-expanded="false"] .bi-chevron-down { transform: rotate(-90deg); }
.ped-filter-group__badge {
  background: var(--ped-primary);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  border-radius: 20px;
  padding: 1px 7px;
  line-height: 1.6;
}

/* Lista de filtros */
.ped-filter-list {
  list-style: none;
  margin: 0;
  padding: 0 0 8px;
}
.ped-filter-list__item { margin: 0; }
.ped-filter-list__link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  font-size: .82rem;
  color: var(--ped-text);
  text-decoration: none;
  transition: background var(--ped-transition), color var(--ped-transition);
}
.ped-filter-list__link:hover { background: var(--ped-gray-bg); color: var(--ped-primary); }
.ped-filter-list__link.is-current {
  color: var(--ped-primary);
  font-weight: 700;
}
.ped-filter-list__name { flex: 1; }
.ped-filter-list__count {
  font-size: .74rem;
  color: var(--ped-gray-text);
  background: var(--ped-gray-bg);
  border-radius: 20px;
  padding: 1px 7px;
  line-height: 1.6;
  flex-shrink: 0;
}

/* Checkboxes de marca */
.ped-filter-check { cursor: pointer; }
.ped-filter-check__box {
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--ped-gray-border);
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: .7rem;
  transition: background var(--ped-transition), border-color var(--ped-transition);
}
.ped-filter-check.is-active .ped-filter-check__box {
  background: var(--ped-primary);
  border-color: var(--ped-primary);
  color: #fff;
}
.ped-filter-check.is-active { color: var(--ped-primary); font-weight: 600; }
.ped-filter-check.is-active .ped-filter-list__count { background: rgba(39,59,155,.1); color: var(--ped-primary); }

/* Filtros ativos (sidebar) */
.ped-filter-active {
  padding: 12px 16px;
  border-bottom: 1px solid var(--ped-gray-border);
  background: rgba(39,59,155,.04);
}
.ped-filter-active__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .78rem;
  margin-bottom: 8px;
}
.ped-filter-active__header span { font-weight: 700; color: var(--ped-text); }
.ped-filter-active__clear {
  font-size: .75rem;
  color: var(--ped-primary);
  text-decoration: underline;
}
.ped-filter-active__chips { display: flex; flex-wrap: wrap; gap: 6px; }

/* Chips de filtro */
.ped-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--ped-primary);
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  text-decoration: none;
  transition: background var(--ped-transition);
}
.ped-filter-chip:hover { background: var(--ped-primary-dark); color: #fff; }
.ped-filter-chip--clear {
  background: var(--ped-gray-bg);
  color: var(--ped-gray-text);
  border: 1px solid var(--ped-gray-border);
}
.ped-filter-chip--clear:hover { background: var(--ped-gray-border); color: var(--ped-text); }

/* ── Área de conteúdo ───────────────────────────────────────────────────── */
.ped-archive__content { min-width: 0; }

/* Toolbar */
.ped-archive__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--ped-gray-border);
  margin-bottom: 20px;
}
.ped-archive__toolbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ped-archive__count {
  font-size: .875rem;
  color: var(--ped-gray-text);
  margin: 0;
}

/* Botão "Filtrar" (mobile) */
.ped-filter-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ped-white);
  border: 1.5px solid var(--ped-gray-border);
  border-radius: var(--ped-radius-sm);
  padding: 7px 12px;
  font-size: .82rem;
  font-weight: 600;
  font-family: var(--ped-font);
  color: var(--ped-text);
  cursor: pointer;
  transition: border-color var(--ped-transition);
  position: relative;
}
.ped-filter-toggle-btn:hover { border-color: var(--ped-primary); color: var(--ped-primary); }
.ped-filter-toggle-btn .bi-funnel-fill { color: var(--ped-primary); }
.ped-filter-toggle-btn__badge {
  background: var(--ped-primary);
  color: #fff;
  font-size: .68rem;
  border-radius: 20px;
  padding: 1px 6px;
  line-height: 1.6;
}

/* Sort dropdown (WooCommerce .woocommerce-ordering) */
.ped-archive__sort .woocommerce-ordering { margin: 0; }
.ped-archive__sort select.orderby {
  appearance: none;
  -webkit-appearance: none;
  background: var(--ped-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center;
  border: 1px solid var(--ped-gray-border);
  border-radius: var(--ped-radius-sm);
  padding: 7px 34px 7px 12px;
  font-size: .875rem;
  font-family: var(--ped-font);
  color: var(--ped-text);
  cursor: pointer;
  transition: border-color var(--ped-transition);
}
.ped-archive__sort select.orderby:focus {
  outline: none;
  border-color: var(--ped-primary);
}

/* Chips acima do grid (visible em todos os tamanhos) */
.ped-archive__active-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

/* Empty state */
.ped-archive__empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--ped-gray-text);
}
.ped-archive__empty .bi-box-seam {
  font-size: 3.5rem;
  display: block;
  margin-bottom: 16px;
  color: var(--ped-gray-border);
}
.ped-archive__empty p {
  font-size: 1.1rem;
  margin: 0 0 20px;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 991px) {
  .ped-archive__layout {
    grid-template-columns: 1fr;
    padding-top: 12px;
  }
  /* Bootstrap offcanvas (position:fixed) tira a sidebar do flow automaticamente.
     Não usar display:none aqui — quebraria a abertura pelo data-bs-toggle. */
}

@media (max-width: 767px) {
  .ped-archive__title { font-size: 1.2rem; }
  .ped-archive__toolbar { flex-wrap: wrap; gap: 8px; }
  .ped-archive__toolbar-left { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .ped-archive__toolbar { flex-direction: column; align-items: flex-start; }
}

/* =====================================================================
   BARRA DE NAVEGAÇÃO MINHA CONTA (desktop — aparece após o header)
   ===================================================================== */

.ped-account-nav {
  background: var(--ped-navbar-bg);
  border-top: 1px solid rgba(255,255,255,.1);
}

.ped-account-nav__list {
  display: flex;
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 46px;
}

.ped-account-nav__item a {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 18px;
  height: 100%;
  color: rgba(255,255,255,.82);
  font-size: .83rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: all var(--ped-transition);
  white-space: nowrap;
}

.ped-account-nav__item a:hover {
  color: var(--ped-white);
  background: rgba(255,255,255,.1);
  border-bottom-color: rgba(255,255,255,.4);
}

.ped-account-nav__item.is-active a {
  color: var(--ped-white);
  font-weight: 700;
  background: rgba(255,255,255,.15);
  border-bottom-color: var(--ped-white);
}

/* Ícones — reutiliza os mesmos ::before definidos abaixo para o sidebar */
.ped-account-nav__item a::before {
  font-family: bootstrap-icons;
  font-size: .9rem;
  flex-shrink: 0;
  color: rgba(255,255,255,.7);
}

.ped-account-nav__item.is-active a::before,
.ped-account-nav__item a:hover::before {
  color: var(--ped-white);
}

/* Sair — empurrado para a direita e em vermelho suave */
.ped-account-nav__item.woocommerce-MyAccount-navigation-link--customer-logout {
  margin-left: auto;
}

.ped-account-nav__item.woocommerce-MyAccount-navigation-link--customer-logout a {
  color: rgba(255,160,160,.9);
  border-left: 1px solid rgba(255,255,255,.15);
}

.ped-account-nav__item.woocommerce-MyAccount-navigation-link--customer-logout a::before {
  color: rgba(255,120,120,.8);
}

.ped-account-nav__item.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
  color: #ffb3b3;
  background: rgba(229,57,53,.18);
  border-bottom-color: #e57373;
}

/* =====================================================================
   MINHA CONTA (WooCommerce My Account)
   ===================================================================== */

.woocommerce-account .ped-wc-wrapper { padding-top: 0; padding-bottom: 48px; }

.woocommerce-account .woocommerce {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
}

/* ── Dashboard: saudação ──────────────────────────────────────────── */
.ped-account-dashboard { display: flex; flex-direction: column; gap: 24px; }

.ped-account-greeting {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, var(--ped-primary) 0%, var(--ped-primary-light) 100%);
  color: var(--ped-white);
  padding: 28px 32px;
  border-radius: 0;
}

.ped-account-greeting__avatar {
  font-size: 3rem;
  line-height: 1;
  opacity: .85;
  flex-shrink: 0;
}

.ped-account-greeting__info { flex: 1; min-width: 0; }

.ped-account-greeting__name {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--ped-white);
}

.ped-account-greeting__email {
  font-size: .83rem;
  margin: 0;
  opacity: .75;
}

.ped-account-greeting__logout {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.75);
  font-size: .82rem;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--ped-radius-sm);
  padding: 7px 14px;
  transition: all var(--ped-transition);
  flex-shrink: 0;
}

.ped-account-greeting__logout:hover {
  background: rgba(255,255,255,.15);
  color: var(--ped-white);
}

/* ── Dashboard: acesso rápido ─────────────────────────────────────── */
.ped-account-quicklinks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  padding: 24px 0 0;
}

.ped-account-quicklink {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--ped-white);
  border: 1px solid var(--ped-gray-border);
  border-radius: var(--ped-radius);
  padding: 18px 16px;
  text-decoration: none;
  color: var(--ped-text);
  transition: all var(--ped-transition);
  box-shadow: var(--ped-shadow);
}

.ped-account-quicklink:hover {
  border-color: var(--ped-primary-light);
  box-shadow: 0 4px 16px rgba(39,59,155,.12);
  transform: translateY(-2px);
  color: var(--ped-primary);
}

.ped-account-quicklink__icon {
  width: 44px;
  height: 44px;
  background: #eef1fb;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--ped-primary);
  flex-shrink: 0;
  transition: background var(--ped-transition);
}

.ped-account-quicklink:hover .ped-account-quicklink__icon {
  background: var(--ped-primary);
  color: var(--ped-white);
}

.ped-account-quicklink__label {
  flex: 1;
  font-size: .9rem;
  font-weight: 600;
}

.ped-account-quicklink__arrow {
  color: var(--ped-gray-text);
  font-size: .8rem;
  flex-shrink: 0;
}

/* ── Título das seções de conta ───────────────────────────────────── */
.woocommerce-MyAccount-content > h2,
.woocommerce-MyAccount-content > .woocommerce-column__title,
.woocommerce-MyAccount-content .woocommerce-EditAccountForm legend {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ped-primary);
  padding: 20px 0 14px;
  border-bottom: 2px solid var(--ped-gray-border);
  margin-bottom: 20px;
}

/* ── Remove padding duplo na área de conteúdo ─────────────────────── */
.woocommerce-MyAccount-content { padding-top: 24px; }

/* Navegacao lateral — oculta no desktop (substituída pela barra do header) */
.woocommerce-MyAccount-navigation {
  display: none;
  background: var(--ped-white);
  border: 1px solid var(--ped-gray-border);
  border-radius: var(--ped-radius);
  overflow: hidden;
  box-shadow: var(--ped-shadow);
  position: sticky;
  top: 16px;
}

.woocommerce-MyAccount-navigation::before {
  content: "";
  display: block;
  background: var(--ped-primary);
  height: 4px;
}

.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 8px 0; }
.woocommerce-MyAccount-navigation ul li { margin: 0; }

.woocommerce-MyAccount-navigation ul li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  color: var(--ped-text);
  font-size: .9rem;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: all var(--ped-transition);
  text-decoration: none;
}

.woocommerce-MyAccount-navigation ul li a:hover {
  background: var(--ped-gray-bg);
  color: var(--ped-primary);
  border-left-color: var(--ped-primary-light);
}

.woocommerce-MyAccount-navigation ul li.is-active a {
  background: #eef1fb;
  color: var(--ped-primary);
  font-weight: 700;
  border-left-color: var(--ped-primary);
}

.woocommerce-MyAccount-navigation ul li a::before {
  font-family: bootstrap-icons;
  font-size: 1rem;
  color: var(--ped-primary);
  flex-shrink: 0;
  width: 18px;
  text-align: center;
}

.woocommerce-MyAccount-navigation-link--dashboard a::before        { content: "\F425"; }
.woocommerce-MyAccount-navigation-link--orders a::before           { content: "\F3D1"; }
.woocommerce-MyAccount-navigation-link--downloads a::before        { content: "\F30A"; }
.woocommerce-MyAccount-navigation-link--edit-address a::before     { content: "\F1A2"; }
.woocommerce-MyAccount-navigation-link--payment-methods a::before  { content: "\F3D8"; }
.woocommerce-MyAccount-navigation-link--edit-account a::before     { content: "\F4DA"; }
.woocommerce-MyAccount-navigation-link--customer-logout a::before  { content: "\F1B1"; color: #e53935; }

.woocommerce-MyAccount-navigation-link--customer-logout {
  border-top: 1px solid var(--ped-gray-border);
  margin-top: 4px;
  padding-top: 4px;
}

.woocommerce-MyAccount-navigation-link--customer-logout a { color: #e53935; }
.woocommerce-MyAccount-navigation-link--customer-logout a:hover { background: #fef2f2; color: #e53935; border-left-color: #e53935; }

.woocommerce-MyAccount-content { min-width: 0; }

/* Tabela de pedidos */
.woocommerce-orders-table,
.woocommerce-MyAccount-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--ped-gray-border);
  border-radius: var(--ped-radius);
  overflow: hidden;
  font-size: .875rem;
  box-shadow: var(--ped-shadow);
}

.woocommerce-orders-table thead,
.woocommerce-MyAccount-content table thead { background: var(--ped-primary); }

.woocommerce-orders-table thead th,
.woocommerce-MyAccount-content table thead th {
  padding: 12px 16px;
  font-weight: 600;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--ped-white);
  border: none;
}

.woocommerce-orders-table tbody tr:nth-child(even),
.woocommerce-MyAccount-content table tbody tr:nth-child(even) { background: var(--ped-gray-bg); }

.woocommerce-orders-table tbody tr:hover,
.woocommerce-MyAccount-content table tbody tr:hover { background: #eef1fb; }

.woocommerce-orders-table tbody td,
.woocommerce-MyAccount-content table tbody td {
  padding: 12px 16px;
  border-top: 1px solid var(--ped-gray-border);
  color: var(--ped-text);
  vertical-align: middle;
}

/* Status badges */
mark.order-status { padding: 4px 10px; border-radius: 20px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; background: none; box-shadow: none; }
mark.order-status.status-processing { background: #dbeafe; color: #1d4ed8; }
mark.order-status.status-completed  { background: #dcfce7; color: #15803d; }
mark.order-status.status-on-hold    { background: #fef9c3; color: #92400e; }
mark.order-status.status-cancelled  { background: #fee2e2; color: #b91c1c; }
mark.order-status.status-pending    { background: #f3f4f6; color: #374151; }
mark.order-status.status-refunded   { background: #ede9fe; color: #6d28d9; }

/* Botoes */
.woocommerce-MyAccount-content .button,
.woocommerce-MyAccount-content a.button {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--ped-primary); color: var(--ped-white);
  border: none; border-radius: var(--ped-radius-sm);
  padding: 7px 14px; font-size: .82rem; font-weight: 600;
  font-family: var(--ped-font); cursor: pointer;
  transition: background var(--ped-transition); text-decoration: none;
}

.woocommerce-MyAccount-content .button:hover,
.woocommerce-MyAccount-content a.button:hover { background: var(--ped-primary-dark); color: var(--ped-white); }
.woocommerce-MyAccount-content .button.alt { background: var(--ped-green); }
.woocommerce-MyAccount-content .button.alt:hover { background: var(--ped-green-dark); }

/* Formularios */
.woocommerce-form-login,
.woocommerce-form-register,
.woocommerce-EditAccountForm,
.woocommerce-address-fields {
  background: var(--ped-white);
  border: 1px solid var(--ped-gray-border);
  border-radius: var(--ped-radius);
  padding: 28px 32px;
  box-shadow: var(--ped-shadow);
}

.woocommerce-form-login legend,
.woocommerce-form-register legend {
  font-size: 1.1rem; font-weight: 700; color: var(--ped-primary);
  margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 2px solid var(--ped-gray-border); width: 100%;
}

.woocommerce-account:not(.logged-in) .woocommerce {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 900px; margin: 0 auto;
}

.woocommerce-MyAccount-content label,
.woocommerce-form-login label,
.woocommerce-form-register label { font-size: .875rem; font-weight: 600; color: var(--ped-text); margin-bottom: 4px; display: block; }

.woocommerce-MyAccount-content input[type=text],
.woocommerce-MyAccount-content input[type=email],
.woocommerce-MyAccount-content input[type=password],
.woocommerce-MyAccount-content input[type=tel],
.woocommerce-MyAccount-content select,
.woocommerce-MyAccount-content textarea,
.woocommerce-form-login input[type=text],
.woocommerce-form-login input[type=password],
.woocommerce-form-register input[type=text],
.woocommerce-form-register input[type=email],
.woocommerce-form-register input[type=password] {
  width: 100%; padding: 9px 12px;
  border: 1.5px solid var(--ped-gray-border);
  border-radius: var(--ped-radius-sm);
  font-family: var(--ped-font); font-size: .9rem; color: var(--ped-text);
  transition: border-color var(--ped-transition), box-shadow var(--ped-transition);
  background: var(--ped-white);
}

.woocommerce-MyAccount-content input:focus,
.woocommerce-MyAccount-content select:focus,
.woocommerce-MyAccount-content textarea:focus,
.woocommerce-form-login input:focus,
.woocommerce-form-register input:focus { outline: none; border-color: var(--ped-primary); box-shadow: 0 0 0 3px rgba(39,59,155,.12); }

.woocommerce-form-login .woocommerce-button,
.woocommerce-form-register .woocommerce-button,
.woocommerce-MyAccount-content [type=submit] {
  background: var(--ped-primary); color: var(--ped-white); border: none;
  border-radius: var(--ped-radius-sm); padding: 10px 24px;
  font-size: .9rem; font-weight: 700; font-family: var(--ped-font); cursor: pointer;
  transition: background var(--ped-transition);
}

.woocommerce-form-login .woocommerce-button:hover,
.woocommerce-form-register .woocommerce-button:hover,
.woocommerce-MyAccount-content [type=submit]:hover { background: var(--ped-primary-dark); }
.woocommerce-form-login .lost_password a { font-size: .82rem; color: var(--ped-gray-text); }

/* Enderecos */
.woocommerce-account .woocommerce-Addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.woocommerce-account .woocommerce-Address {
  background: var(--ped-white); border: 1px solid var(--ped-gray-border);
  border-radius: var(--ped-radius); padding: 24px; box-shadow: var(--ped-shadow);
}

.woocommerce-account .woocommerce-Address-title {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--ped-gray-border);
}

.woocommerce-account .woocommerce-Address-title h3 { font-size: 1rem; font-weight: 700; color: var(--ped-primary); margin: 0; }
.woocommerce-account address { font-style: normal; font-size: .875rem; color: var(--ped-gray-text); line-height: 1.7; }

/* Saldo B2BKing */
[class*=b2bking-credit] {
  background: linear-gradient(135deg, var(--ped-primary) 0%, var(--ped-primary-light) 100%);
  color: var(--ped-white); border-radius: var(--ped-radius);
  padding: 20px 24px; margin-bottom: 24px; box-shadow: var(--ped-shadow-lg);
}

/* Detalhes do pedido */
.woocommerce-order-details, .woocommerce-customer-details {
  background: var(--ped-white); border: 1px solid var(--ped-gray-border);
  border-radius: var(--ped-radius); padding: 24px; margin-bottom: 24px; box-shadow: var(--ped-shadow);
}

.woocommerce-order-details__title, .woocommerce-column__title {
  font-size: 1rem; font-weight: 700; color: var(--ped-primary);
  margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--ped-gray-border);
}

@media (max-width: 991px) {
  .ped-account-quicklinks { grid-template-columns: repeat(2, 1fr); }
  .ped-account-greeting { padding: 20px; border-radius: 0; }
  .ped-account-greeting__name { font-size: 1.1rem; }

  .woocommerce-account .woocommerce { grid-template-columns: 1fr; }

  /* Mostra o nav lateral no mobile (a barra do header fica oculta) */
  .woocommerce-MyAccount-navigation {
    display: block;
    position: static;
    overflow-x: auto;
  }

  .woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: nowrap; padding: 0; }
  .woocommerce-MyAccount-navigation ul li a { white-space: nowrap; border-left: none; border-bottom: 3px solid transparent; padding: 12px 16px; font-size: .82rem; }
  .woocommerce-MyAccount-navigation ul li a:hover,
  .woocommerce-MyAccount-navigation ul li.is-active a { border-left-color: transparent; border-bottom-color: var(--ped-primary); background: #eef1fb; }
  .woocommerce-MyAccount-navigation-link--customer-logout { border-top: none; border-left: 1px solid var(--ped-gray-border); margin-top: 0; padding-top: 0; margin-left: auto; }
  .woocommerce-account .woocommerce-Addresses { grid-template-columns: 1fr; }
  .woocommerce-account:not(.logged-in) .woocommerce { grid-template-columns: 1fr; max-width: 100%; }
}

@media (max-width: 575px) {
  .ped-account-quicklinks { grid-template-columns: 1fr; }
  .ped-account-greeting__logout { display: none; }

  .woocommerce-form-login, .woocommerce-form-register,
  .woocommerce-EditAccountForm, .woocommerce-address-fields { padding: 20px 16px; }
  .woocommerce-orders-table thead { display: none; }
  .woocommerce-orders-table tbody tr { display: block; border: 1px solid var(--ped-gray-border); border-radius: var(--ped-radius-sm); margin-bottom: 12px; padding: 12px; background: var(--ped-white) !important; }
  .woocommerce-orders-table tbody td { display: flex; justify-content: space-between; align-items: center; border-top: none; padding: 6px 0; font-size: .82rem; }
  .woocommerce-orders-table tbody td::before { content: attr(data-title); font-weight: 700; color: var(--ped-gray-text); font-size: .75rem; text-transform: uppercase; letter-spacing: .4px; }
}