/* ==========================================================================
   Pedagógica B2C — 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:      #fafafa;
  --ped-header-fg:      #222222;
  --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:         none;
  --ped-shadow-lg:      none;
  --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;
  overflow: hidden;
  position: relative;
  z-index: 100;
}

/* Ticker / marquee */
.ped-topbar__ticker-wrap {
  width: 100%;
  overflow: hidden;
}

/* Ticker em CSS animation (2 grupos duplicados para loop suave) */
.ped-topbar__ticker-track {
  display: flex;
  width: max-content;
  align-items: center;
  white-space: nowrap;
  animation: ped-topbar-ticker var(--ped-topbar-duration, 90s) linear infinite;
  will-change: transform;
  backface-visibility: hidden;
}
.ped-topbar__ticker-group {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.ped-topbar:hover .ped-topbar__ticker-track { animation-play-state: paused; }
@keyframes ped-topbar-ticker {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .ped-topbar__ticker-track { animation: none; }
}

.ped-topbar__item {
  color: rgba(255,255,255,.92);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  padding: 0 22px;
  letter-spacing: .3px;
  transition: color var(--ped-transition);
  line-height: var(--ped-topbar-height);
}
a.ped-topbar__item:hover { color: var(--ped-white); }

.ped-topbar__sep {
  color: rgba(255,255,255,.45);
  font-size: 13px;
  line-height: var(--ped-topbar-height);
  flex-shrink: 0;
}

/* =====================================================================
   HEADER PRINCIPAL (Kalunga-style)
   ===================================================================== */
.ped-header {
  background: var(--ped-header-bg);
  color: var(--ped-header-fg);
  height: var(--ped-header-height);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--ped-gray-border);

  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-header-fg);
  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;
}

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

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

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

.ped-search-form__inner {
  display: flex;
  align-items: center;
  background: var(--ped-white);
  border: 1px solid var(--ped-gray-border);
  border-radius: 50px;
  overflow: hidden;
  height: 44px;
}
.ped-search-form__inner:focus-within {
  border-color: var(--ped-primary);
}

.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: 50px;
  height: 100%;
  font-size: 18px;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--ped-transition), color var(--ped-transition);
}
.ped-search-form__btn:hover { background: var(--ped-green-dark); color: var(--ped-white); }

/* 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-header-fg);
  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(0,0,0,.06);
  color: var(--ped-primary);
}

.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-primary);
  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-header-fg);
  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: none;
  align-items: center;
}

@media (min-width: 1200px) {
  .ped-navbar { display: flex; }
}

.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 */
.ped-navbar__cat-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  flex-shrink: 1;
  min-width: 0;
}

/* Link base */
.ped-navbar__cat-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 10px;
  height: 100%;
  color: rgba(255,255,255,.9);
  font-size: 13px;
  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);
}
.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;
  right: auto;
  background: var(--ped-white);
  min-width: 220px;
  max-width: none;
  border: 1px solid var(--ped-gray-border);
  border-top: 3px solid var(--ped-green);
  border-radius: 0 0 var(--ped-radius) var(--ped-radius);
  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: 15 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(15, auto);
  grid-auto-flow: column;
  grid-auto-columns: 185px;
}
.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;
  border: 1px solid var(--ped-gray-border);
  border-top: 3px solid var(--ped-green);
  border-radius: 0 0 var(--ped-radius) var(--ped-radius);
  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: 400px !important;
  max-width: 85vw;
}

.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__search .ped-search-form__btn {
  border: 1px solid var(--ped-gray-border);
  border-left: none;
  border-radius: 0 4px 4px 0;
  height: auto;
  width: 46px;
}

.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; }

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

.ped-mobile-menu__varejo {
  padding: 12px 16px 20px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.ped-mobile-menu__varejo-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ped-white);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}
.ped-mobile-menu__varejo-btn 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;
  gap: 6px;
  margin: 0;
}
.ped-slider__indicators [data-bs-target] {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  border: none;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  text-indent: 0;
  transition: background var(--ped-transition), width .25s ease, border-radius .25s ease;
}
.ped-slider__indicators .active {
  background: var(--ped-white);
  width: 20px;
  border-radius: 4px;
  transform: none;
}

.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: transparent;
  padding: 28px 0;
  border-bottom: 1px solid var(--ped-gray-border);
}

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

.ped-pitchbar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 8px 12px;
}

.ped-pitchbar__icon {
  font-size: 28px;
  color: var(--ped-text);
  line-height: 1;
}

.ped-pitchbar__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.ped-pitchbar__title {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--ped-text);
  letter-spacing: .01em;
}

.ped-pitchbar__desc {
  display: block;
  font-size: .82rem;
  color: var(--ped-gray-text);
  line-height: 1.45;
  max-width: 28ch;
}

/* =====================================================================
   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 svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.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 {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 44px; height: 28px;
  border-radius: 4px;
  overflow: hidden;
  background: transparent;
  flex: 0 0 auto;
}
.ped-payment-icon svg {
  display: block;
  width: 100%; height: 100%;
}
/* Quando usuário sobe imagem custom no Customizer (img direto sem wrapper) */
img.ped-payment-icon {
  width: auto; height: 28px;
  border: 1px solid var(--ped-gray-border);
  padding: 2px 4px;
  background: #fff;
}

.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__disclaimer {
  font-size: 11px;
  color: var(--ped-gray-text);
  line-height: 1.5;
  margin-bottom: 8px;
}

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

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

.ped-sidecart__header {
  background: var(--ped-primary);
  color: var(--ped-white);
  padding: 16px 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.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: 26px;
  cursor: pointer;
  padding: 6px;
  transition: color var(--ped-transition);
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: auto;
}
.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;
}

/* Mini-cart: card de Lista de Material ────────────────────────────────── */
.ped-sidecart__body .ped-minicart-lista {
  display: block !important;
  position: relative;
  padding: 14px;
  margin: 10px 0;
  border: 1px solid var(--ped-gray-border);
  border-left: 3px solid var(--ped-primary);
  border-radius: var(--ped-radius);
  background: #fff;
}
.ped-minicart-lista > .remove {
  position: absolute; top: 8px; right: 10px;
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 20px; line-height: 1; color: var(--ped-gray-text);
  background: transparent; text-decoration: none;
}
.ped-minicart-lista > .remove:hover { color: #b71c1c; background: #fbe9e9; }
.ped-minicart-lista__top {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding-right: 28px;
  margin-bottom: 6px;
}
.ped-minicart-lista__badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px; border-radius: 999px;
  background: var(--ped-primary); color: #fff;
  font-size: .68rem; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase;
}
.ped-minicart-lista__colegio {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .8rem; color: var(--ped-gray-text); font-weight: 600;
}
.ped-minicart-lista__colegio img {
  width: 22px; height: 22px; object-fit: contain;
  border-radius: 4px; background: #fff;
}
.ped-minicart-lista__title {
  font-size: .95rem; font-weight: 700; color: var(--ped-text, #222);
  line-height: 1.3;
}
.ped-minicart-lista__title a {
  color: inherit; text-decoration: none;
}
.ped-minicart-lista__title a:hover { color: var(--ped-primary); text-decoration: underline; }
.ped-minicart-lista__student {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 6px; font-size: .82rem; color: var(--ped-text, #222);
}
.ped-minicart-lista__student i { color: var(--ped-primary); }
.ped-minicart-lista__items {
  margin-top: 8px; border-top: 1px dashed var(--ped-gray-border); padding-top: 8px;
}
.ped-minicart-lista__items > summary {
  display: flex; align-items: center; gap: 6px;
  font-size: .8rem; font-weight: 600; color: var(--ped-gray-text);
  cursor: pointer; list-style: none;
}
.ped-minicart-lista__items > summary::-webkit-details-marker { display: none; }
.ped-minicart-lista__items > summary i { color: var(--ped-primary); }
.ped-minicart-lista__chev { margin-left: auto; transition: transform .2s; }
.ped-minicart-lista__items[open] .ped-minicart-lista__chev { transform: rotate(180deg); }
.ped-minicart-lista__children {
  list-style: none; margin: 8px 0 0; padding: 0;
  font-size: .8rem; color: var(--ped-gray-text);
  max-height: 220px; overflow-y: auto;
}
.ped-minicart-lista__children li {
  display: flex; justify-content: space-between; gap: 8px;
  padding: 4px 0;
}
.ped-minicart-lista__child-name { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.ped-minicart-lista__child-qty { color: var(--ped-text, #222); font-weight: 700; flex-shrink: 0; }
.ped-minicart-lista__footer {
  display: flex; justify-content: flex-end; align-items: baseline;
  margin-top: 10px; padding-top: 10px;
  border-top: 1px solid var(--ped-gray-border);
}
.ped-minicart-lista__price {
  font-size: 1.05rem; font-weight: 800; color: var(--ped-primary);
}

.ped-sidecart__body .woocommerce-mini-cart-item:not(.ped-minicart-lista) {
  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); }

/* Linha qty + preço no sidecart */
.ped-minicart-item__qty-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.ped-minicart-item__price {
  font-size: 13px;
  font-weight: 600;
  color: var(--ped-primary);
}
/* Sobrescreve tamanho do qty-wrap dentro do sidecart */
.ped-sidecart-qty-wrap.ped-product-card__qty-wrap {
  height: 28px;
  gap: 0;
}
.ped-sidecart-qty-wrap .ped-qty-btn {
  width: 26px;
  height: 28px;
  font-size: 14px;
}
.ped-sidecart-qty-wrap .ped-qty-input {
  width: 34px;
  height: 28px;
  font-size: 13px;
}
/* Loading state durante AJAX */
.ped-qty-loading {
  opacity: 0.5;
  pointer-events: none;
}

/* 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);

}

.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;
}
.ped-post-card:hover {}
.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-header-height: 62px;
  }

  .ped-topbar { height: var(--ped-topbar-height); }

  .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; align-items: center; }
  .ped-footer__payments, .ped-footer__seals { min-width: unset; text-align: center; }
  .ped-footer__payment-icons, .ped-footer__seal-icons { justify-content: center; }
  .ped-footer__logo { display: flex; justify-content: center; }
  .ped-footer__social { justify-content: center; }

  .ped-slider__image { height: auto; object-fit: unset; }
  .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 {

}

/* =====================================================================
   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: 48px 0 56px;
  background: var(--ped-white);
}
.ped-product-grid-section + .ped-product-grid-section {
  padding-top: 24px;
}

.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: clip;
  transition: border-color var(--ped-transition);
  cursor: pointer;
}
.ped-product-card:hover {
  border-color: #c8c8c8;
}
.ped-product-card--outofstock { opacity: .65; }

/* ── Imagem ─────────────────────────────────────────────────────────────── */
.ped-product-card__image-wrap {
  position: relative;
  background: var(--ped-white);
  overflow: hidden;
  border-radius: var(--ped-radius) var(--ped-radius) 0 0;
  aspect-ratio: 1 / 1;
}


.ped-product-card__image-link {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ped-product-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px; /* mantém respiro igual ao do wrap original */
}

/* Imagens deslizam juntas (só ativa quando há imagem da galeria) */
.has-hover-img .ped-product-card__image--main,
.has-hover-img .ped-product-card__image--hover {
  transition: transform .42s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}
.ped-product-card__image--main  { z-index: 2; }
.has-hover-img .ped-product-card__image--main  { transform: translate3d(0, 0, 0); }
.has-hover-img .ped-product-card__image--hover { z-index: 1; transform: translate3d(105%, 0, 0); }

/* Hover: main sai pela esquerda, hover entra pela direita ao mesmo tempo */
.has-hover-img:hover .ped-product-card__image--main  { transform: translate3d(-105%, 0, 0); }
.has-hover-img:hover .ped-product-card__image--hover { transform: translate3d(0, 0, 0); }

@media (prefers-reduced-motion: reduce) {
  .has-hover-img .ped-product-card__image--main,
  .has-hover-img .ped-product-card__image--hover { transition: opacity .2s ease; transform: none; }
  .has-hover-img .ped-product-card__image--hover { opacity: 0; }
  .has-hover-img:hover .ped-product-card__image--main  { opacity: 0; }
  .has-hover-img:hover .ped-product-card__image--hover { opacity: 1; }
}

/* ── 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--preorder {
  background: #f59e0b; color: #fff; gap: 4px;
  display: inline-flex; align-items: center;
}
.ped-badge--preorder i { font-size: .85em; }
.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;
}

/* Pix em destaque (acima do preço cheio) */
.ped-product-card__price-pix {
  display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap;
  line-height: 1.1;
}
.ped-product-card__price-pix strong {
  font-size: 20px; font-weight: 800; color: var(--ped-primary);
}
.ped-product-card__price-pix .woocommerce-Price-amount,
.ped-product-card__price-pix bdi {
  font-size: inherit; font-weight: inherit; color: inherit;
}
.ped-product-card__price-pix .woocommerce-Price-currencySymbol {
  font-size: 13px; font-weight: 700;
}
.ped-product-card__price-pix span {
  font-size: 11px; font-weight: 600; color: var(--ped-gray-text);
  text-transform: none;
}

.ped-product-card__price-row {
  display: block;
  font-size: 12px;
  line-height: 1.45;
  color: var(--ped-gray-text);
  margin-top: 2px;
  word-spacing: .03em;
}

.ped-product-card__price-or {
  font-size: inherit; color: inherit; font-weight: 500;
}

.ped-product-card__price-current {
  display: inline;
  font-size: inherit;
  font-weight: 700;
  color: var(--ped-text);
  line-height: inherit;
  font-family: var(--ped-font);
  white-space: nowrap;
}
.ped-product-card__price-current .woocommerce-Price-amount,
.ped-product-card__price-current bdi {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}
/* 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: inherit;
  font-weight: inherit;
}

.ped-product-card__price-label {
  font-size: 11px;
  color: #888;
  font-weight: 600;
  align-self: center;
  margin-bottom: 1px;
}

.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-sidecart-stock-error {
  margin: 4px 0 0;
  text-align: left;
}
.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: 56px;
  height: 100%;
  text-align: center;
  border: none;
  font-size: 14px;
  font-weight: 700;
  color: var(--ped-text);
  font-family: var(--ped-font);
  background: var(--ped-white);
  padding: 6px 4px;
  -moz-appearance: textfield;
  outline: 0;
}
.ped-qty-input:focus {
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--ped-primary);
}
.ped-qty-input::-webkit-outer-spin-button,
.ped-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.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 .ped-product-card__image { 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 {
  padding: 16px 0 12px;
}
.ped-breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  font-size: 12px;
  padding-left: 0;
  list-style: none;
  margin: 0;
}
.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: 0 0 48px; }

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

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

/* 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;
}

.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__preorder {
  position: absolute; top: 12px; left: 12px; z-index: 10;
  display: inline-flex; align-items: center; gap: 6px;
  background: #f59e0b; color: #fff;
  padding: 6px 12px; border-radius: var(--ped-radius-sm, 6px);
  font-size: .82rem; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(245, 158, 11, .3);
}
.ped-sp-gallery__preorder i { font-size: .9rem; }

/* Bloco de pré-venda na coluna de info, antes do botão comprar */
.ped-sp-preorder-box {
  display: flex; align-items: flex-start; gap: 14px;
  background: #fffbeb; border: 1px solid #fcd34d;
  border-left: 4px solid #f59e0b;
  border-radius: var(--ped-radius);
  padding: 14px 16px;
  margin-bottom: 14px;
}
.ped-sp-preorder-box__icon {
  flex: 0 0 auto; font-size: 1.6rem; color: #b45309; line-height: 1;
}
.ped-sp-preorder-box__text {
  flex: 1 1 auto; min-width: 0;
  display: flex; flex-direction: column; gap: 2px;
  font-size: .9rem; color: #78350f; line-height: 1.4;
}
.ped-sp-preorder-box__text strong { color: #78350f; font-weight: 800; }
.ped-sp-preorder-box__text strong strong { color: #b45309; }

/* Setas de navegação dentro do box da imagem principal */
.ped-sp-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.88);
  border: 1px solid var(--ped-gray-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ped-primary);
  font-size: 16px;
  padding: 0;
  line-height: 1;
  opacity: 1;
  transition: background var(--ped-transition), color var(--ped-transition);
}
.ped-sp-gallery__nav:hover { background: var(--ped-primary); color: var(--ped-white); border-color: var(--ped-primary); }
.ped-sp-gallery__nav--prev { left: 10px; }
.ped-sp-gallery__nav--next { right: 10px; }

.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);
  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;
}
.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 {
  margin-bottom: 20px;
}

.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;
}

/* PIX em destaque (acima do preço cheio) */
.ped-sp-pricing__pix-row {
  display: flex; align-items: baseline; flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}
.ped-sp-pricing__pix-value {
  font-size: clamp(28px, 4.4vw, 36px);
  font-weight: 800; color: var(--ped-primary); line-height: 1;
}
.ped-sp-pricing__pix-value .woocommerce-Price-amount,
.ped-sp-pricing__pix-value bdi { font-size: inherit; font-weight: inherit; color: inherit; }
.ped-sp-pricing__pix-value .woocommerce-Price-currencySymbol { font-size: 18px; font-weight: 700; }
.ped-sp-pricing__pix-label {
  font-size: .82rem; font-weight: 700; color: #15803d;
  background: #dcfce7; padding: 4px 10px; border-radius: 999px;
}

.ped-sp-pricing__current {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
  font-size: .9rem; color: var(--ped-gray-text);
}
.ped-sp-pricing__or { color: var(--ped-gray-text); font-weight: 500; }

.ped-sp-pricing__value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ped-text);
  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: inherit; font-weight: inherit; }

.ped-sp-pricing__label {
  font-size: 13px;
  color: #888;
  font-weight: 600;
  margin-bottom: 2px;
  align-self: center;
}

.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: 14px;
  color: var(--ped-gray-text);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.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 custom (página de produto) ──────────────────────────────── */
.ped-sp-add-to-cart { margin-bottom: 20px; }

/* Esconde qty input nativo do WC se o single-product.php padrão for usado */
.ped-sp-add-to-cart .quantity,
.ped-sp-add-to-cart .ped-product-card__qty-wrap { display: none !important; }

.ped-sp-buy-row {
  display: flex;
  align-items: stretch;
  gap: 12px;
  flex-wrap: nowrap;
}

/* Stepper de quantidade na página do produto */
.ped-sp-qty {
  display: inline-flex;
  align-items: stretch;
  border: 1.5px solid var(--ped-gray-border);
  border-radius: var(--ped-radius);
  background: var(--ped-white);
  overflow: hidden;
  flex: 0 0 auto;
}
.ped-sp-qty__btn {
  width: 42px;
  border: 0;
  background: transparent;
  font-size: 22px;
  font-weight: 700;
  color: var(--ped-text);
  cursor: pointer;
  transition: background var(--ped-transition);
  line-height: 1;
  padding: 0;
}
.ped-sp-qty__btn:hover { background: var(--ped-gray-bg, #f4f4f5); }
.ped-sp-qty__btn:focus-visible { outline: 2px solid var(--ped-primary); outline-offset: -2px; }
.ped-sp-qty__input {
  width: 48px;
  border: 0;
  border-left: 1px solid var(--ped-gray-border);
  border-right: 1px solid var(--ped-gray-border);
  background: transparent;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--ped-text);
  -moz-appearance: textfield;
  appearance: textfield;
}
.ped-sp-qty__input::-webkit-outer-spin-button,
.ped-sp-qty__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.ped-sp-qty__input:focus { outline: 2px solid var(--ped-primary); outline-offset: -2px; }
.ped-sp-buy-row .ped-sp-buy-btn { flex: 1 1 auto; }

@media (max-width: 480px) {
  .ped-sp-qty__btn { width: 38px; font-size: 20px; }
  .ped-sp-qty__input { width: 44px; font-size: 15px; }
}

/* Botão comprar — azul, tamanho maior que o card */
.ped-sp-buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--ped-primary);
  color: #fff;
  border: none;
  border-radius: var(--ped-radius);
  padding: 13px 36px;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--ped-font);
  cursor: pointer;
  transition: background var(--ped-transition), transform var(--ped-transition);
  letter-spacing: .3px;
  flex: 1;
  min-width: 180px;
}
.ped-sp-buy-btn i { font-size: 20px; }
.ped-sp-buy-btn:hover {
  background: var(--ped-primary-dark);
  color: #fff;
  transform: translateY(-1px);
}
.ped-sp-buy-btn.loading { opacity: .7; pointer-events: none; }

/* ── 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);

}
.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: 12px;
  }
  .ped-sp-gallery { position: static; }
  .ped-sp-gallery__main { max-width: 500px; margin: 0 auto 6px; }
  .ped-sp-gallery__thumbs { justify-content: center; }
  .ped-sp-cats { margin-bottom: 6px; }
  .ped-sp-title { margin-bottom: 8px; }
}

@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;
}
.ped-search-post-card:hover {}
.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 {
  padding: 14px 0 0;
}

/* Header da categoria */
.ped-archive__header {
  background: transparent;
  padding: 16px 0 0;
}
.ped-archive__header.has-image {
  background: transparent;
}
.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-row {
  margin-bottom: 4px;
}
.ped-archive__title {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 2px;
  color: var(--ped-primary);
}
.ped-archive__desc {
  font-size: .875rem;
  color: var(--ped-gray-text);
  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 (max-width: 991.98px) {
  .ped-archive__sidebar.offcanvas {
    width: 85vw !important;
    max-width: 380px;
  }
}
@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 {
  background: var(--ped-primary);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.ped-archive__sidebar-header .offcanvas-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ped-white);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.ped-archive__sidebar-header .offcanvas-title i { font-size: 20px; }
.ped-archive__sidebar-close {
  background: transparent;
  border: none;
  color: rgba(255,255,255,.8);
  font-size: 26px;
  cursor: pointer;
  padding: 6px;
  line-height: 1;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: auto;
  transition: color var(--ped-transition);
}
.ped-archive__sidebar-close:hover { color: var(--ped-white); }

/* 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: var(--ped-radius);
}

.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-fit, minmax(220px, 1fr));
  gap: 14px;
}

.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 18px;
  text-decoration: none;
  color: var(--ped-text);
  transition: all var(--ped-transition);
  box-shadow: var(--ped-shadow);
  min-height: 76px;
}

.ped-account-quicklink:hover {
  border-color: var(--ped-primary-light);

  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; }

/* Botões padrão dentro de qualquer página WC (Minha Conta, view-order,
   carrinho, etc.). !important nas cores defende contra o seletor global
   "a { color: var(--ped-primary) }" que estava deixando o texto invisível
   sobre o fundo navy do botão. */
.woocommerce .button,
.woocommerce a.button,
.woocommerce-page .button,
.woocommerce-page a.button,
.woocommerce-MyAccount-content .button,
.woocommerce-MyAccount-content a.button,
.woocommerce-cart .button,
.woocommerce-checkout .button {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--ped-primary) !important;
  color: var(--ped-white) !important;
  border: none; border-radius: var(--ped-radius-sm);
  padding: 8px 16px; font-size: .85rem; font-weight: 700;
  font-family: var(--ped-font); cursor: pointer;
  transition: background var(--ped-transition), transform .15s;
  text-decoration: none; line-height: 1.2;
}

.woocommerce .button:hover,
.woocommerce a.button:hover,
.woocommerce-MyAccount-content .button:hover,
.woocommerce-MyAccount-content a.button:hover {
  background: var(--ped-primary-dark) !important;
  color: var(--ped-white) !important;
  transform: translateY(-1px);
}

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

/* Botão "Cancelar" em view-order: estilo outline para diferenciar */
.woocommerce a.button.cancel,
.woocommerce-MyAccount-content a.button.cancel {
  background: transparent !important;
  color: var(--ped-text, #222) !important;
  border: 1px solid var(--ped-gray-border) !important;
}
.woocommerce a.button.cancel:hover {
  background: var(--ped-gray-bg, #f4f4f4) !important;
  color: var(--ped-text, #222) !important;
}

/* 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 {}

.woocommerce-account:not(.logged-in) .col2-set {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.woocommerce-account:not(.logged-in) .col2-set .col-1,
.woocommerce-account:not(.logged-in) .col2-set .col-2 {
  flex: 1;
  width: auto;
  float: none;
}

.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);
  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; }

/* 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; }
  .ped-account-greeting__name { font-size: 1.1rem; }

  .woocommerce-account .woocommerce { grid-template-columns: 1fr; }
  .woocommerce-account:not(.logged-in) .col2-set { flex-direction: column; }
  .woocommerce-account:not(.logged-in) .col2-set .col-1,
  .woocommerce-account:not(.logged-in) .col2-set .col-2 { width: 100%; }

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

  .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; }
}
/* ══════════════════════════════════════════
   MINHA CONTA — Título da página (ped-page__title)
   ══════════════════════════════════════════ */
.woocommerce-MyAccount-content > .ped-page__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ped-primary);
  padding: 0 0 14px;
  border-bottom: 2px solid var(--ped-gray-border);
  margin: 0 0 20px;
}

/* ══════════════════════════════════════════
   RESPONSIVE — Header mobile (< xl / 1200px)
   ══════════════════════════════════════════ */
@media (max-width: 1199.98px) {
  /* Centering trick: make inner relative, logo absolute centered */
  .ped-header__inner {
    position: relative;
  }
  .ped-header__logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
  }
  /* Hide search bar — space is used by menu btn + logo + actions */
  .ped-header__search {
    display: none;
  }
  /* Hide wishlist on mobile — keep account + cart only */
  .ped-header__action--wishlist {
    display: none;
  }
  /* Push account+cart to the far right */
  .ped-header__actions {
    margin-left: auto;
  }
}

/* ══════════════════════════════════════════
   SPLIDE — Carrossel de produtos
   ══════════════════════════════════════════ */

/* Wrapper flex: setas nas laterais, carrossel no meio */
.ped-splide-wrapper {
  position: relative;
}

/* Carrossel ocupa 100% da largura do container */
.ped-products-splide {
  width: 100%;
}

/* Botões de navegação sobrepostos nas bordas do carrossel */
.ped-splide-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 38px;
  height: 38px;
  background: var(--ped-white);
  border: 1.5px solid var(--ped-gray-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ped-primary);
  font-size: 17px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: background var(--ped-transition), border-color var(--ped-transition), color var(--ped-transition);
}
.ped-splide-nav--prev { left: -19px; }
.ped-splide-nav--next { right: -19px; }
.ped-splide-nav:hover {
  background: var(--ped-primary);
  border-color: var(--ped-primary);
  color: var(--ped-white);
}

/* Mobile: espaço para os dots abaixo do carrossel */
@media (max-width: 767px) {
  .ped-products-splide { padding-bottom: 36px; }
  .ped-product-grid-section { padding-top: 28px; padding-bottom: 0; }
  .ped-product-grid-section + .ped-product-grid-section { padding-top: 20px; }
}

/* Paginação (dots no mobile) — mesmo estilo do pitchbar */
.ped-products-splide .splide__pagination {
  bottom: 6px;
  gap: 6px;
}
.ped-products-splide .splide__pagination__page {
  background: var(--ped-gray-border);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  opacity: 1;
  padding: 0;
  border: none;
  flex-shrink: 0;
  transition: background .2s ease, width .25s ease, border-radius .25s ease;
}
.ped-products-splide .splide__pagination__page.is-active {
  background: var(--ped-primary);
  width: 20px;
  border-radius: 4px;
  transform: none;
}

/* Slide: garante que o card ocupe 100% da largura do slide */
.ped-products-splide .splide__slide { height: auto; }
.ped-products-splide .splide__slide .ped-product-card { height: 100%; }

/* ══════════════════════════════════════════
   STICKY ADD-TO-CART — página de produto
   ══════════════════════════════════════════ */
.ped-sticky-atc {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  background: var(--ped-white);
  border-top: 2px solid var(--ped-gray-border);

  padding: 10px 0;
  /* Inicialmente fora da tela (abaixo) */
  transform: translateY(110%);
  visibility: hidden;
  pointer-events: none;
  transition: transform .32s cubic-bezier(.4,0,.2,1), visibility .32s;
}
.ped-sticky-atc.is-visible {
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}
.ped-sticky-atc__inner {
  display: flex;
  align-items: center;
  gap: 16px;
}
.ped-sticky-atc__product {
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.ped-sticky-atc__thumb {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border: 1px solid var(--ped-gray-border);
  border-radius: var(--ped-radius-sm);
  flex-shrink: 0;
}
.ped-sticky-atc__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ped-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ped-sticky-atc__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: auto;
}
/* Preço no sticky bar (mobile) — espelha o bloco principal,
   só que mais compacto. */
.ped-sticky-atc__price {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.ped-sticky-atc__pix-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.ped-sticky-atc__pix-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--ped-primary);
  line-height: 1;
}
.ped-sticky-atc__pix-value .woocommerce-Price-amount,
.ped-sticky-atc__pix-value bdi { font-size: inherit; font-weight: inherit; color: inherit; }
.ped-sticky-atc__pix-value .woocommerce-Price-currencySymbol { font-size: 12px; font-weight: 700; }
.ped-sticky-atc__pix-badge {
  font-size: 10px;
  font-weight: 700;
  color: #15803d;
  background: #dcfce7;
  padding: 2px 7px;
  border-radius: 999px;
  white-space: nowrap;
}
.ped-sticky-atc__current {
  font-size: 11px;
  color: var(--ped-gray-text);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ped-sticky-atc__current-value {
  font-weight: 700;
  color: var(--ped-text);
}
.ped-sticky-atc__current-value .woocommerce-Price-amount,
.ped-sticky-atc__current-value bdi { font-size: inherit; font-weight: inherit; color: inherit; }
@media (max-width: 767.98px) {
  .ped-sticky-atc__inner { gap: 12px; }
  .ped-sticky-atc__actions {
    flex: 0 0 auto;
    margin-left: auto;
  }
  .ped-sticky-atc__btn {
    flex: 0 0 auto;
    padding: 12px 22px;
  }
}
.ped-sticky-atc__btn {
  white-space: nowrap;
  padding-left: 20px;
  padding-right: 20px;
}
.ped-sticky-atc .ped-qty-btn {
  width: 46px;
  height: 46px;
  font-size: 22px;
}
.ped-sticky-atc .ped-qty-input {
  width: 58px;
  height: 46px;
  font-size: 18px;
}

/* ══════════════════════════════════════════
   SHOW/HIDE PASSWORD — botão dentro do input
   ══════════════════════════════════════════ */
span.password-input {
  position: relative;
  display: block;
}
span.password-input input[type="password"],
span.password-input input[type="text"] {
  padding-right: 44px !important;
  width: 100%;
}
.show-password-input {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: var(--ped-gray-text);
  font-size: 0; /* oculta caractere do WooCommerce icon font */
  line-height: 1;
  z-index: 2;
  transition: color var(--ped-transition);
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  outline: none;
}
.show-password-input i {
  font-size: 18px;
}
.show-password-input:hover { color: var(--ped-primary); }

/* ══════════════════════════════════════════
   MINHA CONTA — Endereços
   ══════════════════════════════════════════ */
.ped-addresses__intro {
  color: var(--ped-gray-text);
  margin-bottom: 24px;
  font-size: 14px;
}

.ped-address-box {
  border: 1px solid var(--ped-gray-border);
  border-radius: var(--ped-radius);
  overflow: hidden;
  height: 100%;
  background: var(--ped-white);
  box-shadow: var(--ped-shadow);
}

.ped-address-box__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--ped-gray-bg);
  border-bottom: 1px solid var(--ped-gray-border);
}

.ped-address-box__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ped-primary);
  margin: 0;
}

.ped-address-box__edit {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ped-primary);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: var(--ped-radius-sm);
  transition: background var(--ped-transition);
}
.ped-address-box__edit:hover { background: rgba(39,59,155,.08); color: var(--ped-primary); }

.ped-address-box__body {
  padding: 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ped-text);
}

.ped-address-box__body address { font-style: normal; }

.ped-address-box__empty {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ped-gray-text);
  font-size: 13px;
  margin: 0;
}
.ped-address-box__empty i { font-size: 18px; }

/* ══════════════════════════════════════════════════════════════════════════
   COLÉGIOS — Archive (/colegios/) e Single (/colegio/<slug>/)
   ══════════════════════════════════════════════════════════════════════════ */

/* Hero comum */
.ped-colegios-hero,
.ped-colegio-hero {
  background: linear-gradient(135deg, var(--ped-primary) 0%, var(--ped-primary-light, var(--ped-primary)) 100%);
  color: #fff;
  padding: 36px 0 32px;
}
.ped-colegios-hero__title,
.ped-colegio-hero__title {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
}
.ped-colegios-hero__intro {
  font-size: .95rem;
  opacity: .9;
  max-width: 720px;
}

/* Archive: busca */
.ped-colegios-search { margin-top: -22px; margin-bottom: 24px; position: relative; z-index: 2; }
.ped-colegios-search__label {
  display: flex; align-items: center; gap: 10px;
  background: #fff;
  border: 1px solid var(--ped-gray-border);
  border-radius: var(--ped-radius);
  padding: 10px 16px;
  box-shadow: var(--ped-shadow);
  max-width: 520px;
  margin: 0 auto;
}
.ped-colegios-search__label i { color: var(--ped-gray-text); font-size: 1.1rem; }
.ped-colegios-search__input {
  flex: 1; border: 0; outline: 0; background: transparent;
  font-size: .95rem; color: var(--ped-text, #222);
}

/* Archive: grid */
.ped-colegios-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  list-style: none; padding: 0; margin: 0 0 32px;
}
.ped-colegio-card { display: flex; }
.ped-colegio-card__link {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  width: 100%;
  padding: 20px 14px;
  background: #fff;
  border: 1px solid var(--ped-gray-border);
  border-radius: var(--ped-radius);
  text-decoration: none; color: inherit;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.ped-colegio-card__link:hover {
  transform: translateY(-3px);
  box-shadow: var(--ped-shadow-lg);
  border-color: var(--ped-primary);
}
.ped-colegio-card__logo-wrap {
  width: 110px; height: 110px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.ped-colegio-card__logo { max-width: 100%; max-height: 100%; height: auto; width: auto; object-fit: contain; }
.ped-colegio-card__placeholder {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--ped-gray-bg, #f4f4f4);
  font-weight: 700; color: var(--ped-primary);
  font-size: 1.4rem;
}
.ped-colegio-card__name {
  margin: 0 0 4px; font-size: .95rem; font-weight: 700; color: var(--ped-text, #222);
  line-height: 1.3;
}
.ped-colegio-card__count {
  font-size: .78rem; color: var(--ped-gray-text); font-weight: 500;
}
.ped-colegios-empty {
  text-align: center; padding: 40px 16px; color: var(--ped-gray-text);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}

/* Single colégio: hero compacto (cinza claro, logo + nome) ─────────────── */
.ped-colegio-page .ped-colegio-hero {
  background: var(--ped-gray-bg, #f4f4f4);
  color: var(--ped-text, #222);
  padding: 28px 0;
}
.ped-colegio-hero__inner {
  display: flex; gap: 20px; align-items: center; flex-wrap: wrap;
}
.ped-colegio-hero__logo-wrap {
  flex: 0 0 auto;
  width: 120px; height: 120px;
  background: #fff; border-radius: var(--ped-radius);
  padding: 12px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--ped-shadow);
}
.ped-colegio-hero__logo { max-width: 100%; max-height: 100%; object-fit: contain; }
.ped-colegio-hero__placeholder {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; font-weight: 800; font-size: 1.8rem;
  color: var(--ped-primary); background: var(--ped-gray-bg, #f4f4f4); border-radius: 50%;
}
.ped-colegio-hero__info { flex: 1 1 320px; }
.ped-colegio-hero__title {
  margin: 0; font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; letter-spacing: -.01em;
  color: var(--ped-text, #222);
}
.ped-colegio-hero__title strong { color: var(--ped-primary); font-weight: 800; }
.ped-colegio-hero__label { color: var(--ped-gray-text); font-weight: 500; margin-right: 4px; }
.ped-colegio-hero__desc { margin: 8px 0 0; color: var(--ped-gray-text); max-width: 720px; }

/* Single colégio: lista de listas (linhas) ────────────────────────────── */
.ped-colegio-listas { padding: 28px 0 16px; }
.ped-colegio-listas__title {
  margin: 0 0 18px; font-size: 1.1rem; font-weight: 700; color: var(--ped-text, #222);
}
.ped-lista-rows {
  list-style: none; padding: 0; margin: 0;
  border: 1px solid var(--ped-gray-border);
  border-radius: var(--ped-radius);
  background: #fff;
  overflow: hidden;
}
.ped-lista-row-item {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 16px 18px;
  border-bottom: 1px solid var(--ped-gray-border);
  transition: background .15s;
}
.ped-lista-row-item:last-child { border-bottom: 0; }
.ped-lista-row-item:hover { background: #fafafa; }
.ped-lista-row-item__info {
  display: flex; align-items: baseline; gap: 8px; flex: 1 1 280px; flex-wrap: wrap;
}
.ped-lista-row-item__bullet { color: var(--ped-primary); font-weight: 700; font-size: 1.1rem; }
.ped-lista-row-item__title { margin: 0; font-size: 1rem; font-weight: 600; color: var(--ped-text, #222); }
.ped-lista-row-item__meta { color: var(--ped-gray-text); font-size: .82rem; }
.ped-lista-row-item__cta {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px;
  font-size: .9rem; font-weight: 700; flex-shrink: 0;
}

@media (max-width: 575px) {
  .ped-lista-row-item { padding: 14px 14px; }
  .ped-lista-row-item__cta { width: 100%; justify-content: center; }
}

/* Paginação */
.ped-pagination {
  display: flex; gap: 6px; flex-wrap: wrap; justify-content: center;
  margin: 24px 0;
}
.ped-pagination .page-numbers {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 12px; border: 1px solid var(--ped-gray-border);
  border-radius: var(--ped-radius-sm, 6px);
  text-decoration: none; color: var(--ped-text, #222); font-size: .9rem;
  background: #fff; transition: background .15s, border-color .15s;
}
.ped-pagination .page-numbers:hover { background: var(--ped-gray-bg, #f4f4f4); }
.ped-pagination .page-numbers.current {
  background: var(--ped-primary); border-color: var(--ped-primary); color: #fff;
}
.ped-colegio-empty {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 40px 16px; color: var(--ped-gray-text);
}
.ped-colegio-back { text-align: center; margin-top: 16px; }
.ped-btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border: 1.5px solid var(--ped-primary); color: var(--ped-primary);
  background: transparent; border-radius: var(--ped-radius-sm, 6px);
  font-weight: 600; text-decoration: none; transition: background .15s, color .15s;
}
.ped-btn-outline:hover { background: var(--ped-primary); color: #fff; }

/* ══════════════════════════════════════════════════════════════════════════
   LISTA DE MATERIAL — Single Product (Bundle + pa_colegio)
   ══════════════════════════════════════════════════════════════════════════ */
.ped-lista-page { padding-bottom: 60px; }

/* HEADER compacto (cinza claro) */
.ped-lista-header {
  background: var(--ped-gray-bg, #f4f4f4);
  color: var(--ped-text, #222);
  padding: 24px 0;
}
.ped-lista-header__inner { display: flex; gap: 16px; align-items: center; flex-wrap: nowrap; }
.ped-lista-header__logo-wrap {
  flex: 0 0 80px; width: 80px; height: 80px;
  background: transparent;
  display: flex; align-items: center; justify-content: center;
}
.ped-lista-header__logo-link { display: contents; }
.ped-lista-header__logo { max-width: 100%; max-height: 100%; object-fit: contain; }
.ped-lista-header__placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.2rem; color: var(--ped-primary);
  background: var(--ped-gray-bg, #f4f4f4); border-radius: 50%;
}
.ped-lista-header__meta {
  flex: 1 1 auto; min-width: 0;
  display: flex; flex-direction: column; gap: 4px;
}

@media (min-width: 576px) {
  .ped-lista-header__logo-wrap { flex: 0 0 100px; width: 100px; height: 100px; }
  .ped-lista-header__placeholder { font-size: 1.4rem; }
}
.ped-lista-header__colegio {
  margin: 0; font-size: 1.05rem; font-weight: 500; color: var(--ped-text, #222);
}
.ped-lista-header__colegio a { color: var(--ped-primary); font-weight: 800; text-decoration: none; }
.ped-lista-header__colegio a:hover { text-decoration: underline; }
.ped-lista-header__title { margin: 0; font-size: .95rem; color: var(--ped-text, #222); }
.ped-lista-header__title strong { font-weight: 600; }
.ped-lista-header__label { color: var(--ped-gray-text); font-weight: 500; margin-right: 4px; }
.ped-lista-header__facts {
  list-style: none; margin: 4px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 6px 18px;
  font-size: .82rem; color: var(--ped-gray-text);
}
.ped-lista-header__facts i { color: var(--ped-primary); margin-right: 4px; }
.ped-lista-header__facts strong { color: var(--ped-text, #222); font-weight: 600; }

/* BODY — grid 2 colunas */
.ped-lista-body { padding-top: 28px; }
.ped-lista-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}
.ped-lista-grid__main { min-width: 0; }
.ped-lista-grid__sidebar { position: sticky; top: 96px; }

@media (max-width: 991px) {
  .ped-lista-grid { grid-template-columns: 1fr; }
  .ped-lista-grid__sidebar { position: static; }
}

.ped-lista-section-title {
  margin: 0 0 14px; font-size: 1.15rem; font-weight: 700; color: var(--ped-text, #222);
}

/* AVISO IMPORTANTE — clean, branco com acento âmbar */
.ped-lista-notice {
  margin-bottom: 16px;
  background: #fff;
  color: var(--ped-text, #222);
  border: 1px solid var(--ped-gray-border);
  border-left: 4px solid #f0ad4e;
  border-radius: var(--ped-radius);
  overflow: hidden;
}
.ped-lista-notice__summary {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; cursor: pointer; list-style: none;
  font-weight: 600; font-size: .92rem; color: var(--ped-text, #222);
}
.ped-lista-notice__summary::-webkit-details-marker { display: none; }
.ped-lista-notice__icon { color: #c47a14; font-size: 1.05rem; }
.ped-lista-notice__label { flex: 1 1 auto; }
.ped-lista-notice__chev { margin-left: auto; color: var(--ped-gray-text); transition: transform .2s; }
.ped-lista-notice[open] .ped-lista-notice__chev { transform: rotate(180deg); }
.ped-lista-notice__body {
  padding: 4px 16px 16px;
  font-size: .88rem; color: var(--ped-text, #222);
  border-top: 1px solid var(--ped-gray-border);
  line-height: 1.55;
}
.ped-lista-notice__body p { margin: 10px 0; }
.ped-lista-notice__body p:first-child { margin-top: 12px; }
.ped-lista-notice__body p:last-child { margin-bottom: 0; }
.ped-lista-aviso__h {
  margin: 14px 0 6px;
  font-size: .9rem; font-weight: 700; color: var(--ped-primary);
}
.ped-lista-aviso__ul { margin: 0 0 10px; padding-left: 18px; }
.ped-lista-aviso__ul li { margin-bottom: 4px; }

/* BOTÃO DE VÍDEO (dentro do accordion do aviso) */
.ped-lista-video-btn {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 12px;
  padding: 10px 14px;
  background: var(--ped-primary);
  color: #fff;
  border: 0;
  border-radius: var(--ped-radius-sm, 6px);
  font-weight: 700; font-size: .88rem; cursor: pointer;
  line-height: 1;
  transition: background .15s, transform .15s;
}
.ped-lista-video-btn i { font-size: 1.2rem; line-height: 1; }
.ped-lista-video-btn:hover { background: #0f1d52; transform: translateY(-1px); }

/* MODAL DO VÍDEO (Bootstrap) */
.ped-lista-video-modal .modal-dialog { max-width: 420px; }
.ped-lista-video-modal .modal-content { border: 0; border-radius: var(--ped-radius); }
.ped-lista-video-modal .modal-title { color: var(--ped-primary); font-weight: 700; font-size: 1.05rem; }
.ped-lista-video-modal__frame {
  position: relative; width: 100%;
  aspect-ratio: 9 / 16; max-height: 70vh;
  background: #000; border-radius: var(--ped-radius-sm, 6px); overflow: hidden;
}
.ped-lista-video-modal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* SECTION HEADER (Lista de produtos: + contador) */
.ped-lista-section-header {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ped-gray-border);
}
.ped-lista-section-title {
  margin: 0;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 1.15rem; font-weight: 700; color: var(--ped-text, #222);
}
.ped-lista-section-title i { color: var(--ped-primary); font-size: 1.05em; }
.ped-lista-section-header__count {
  font-size: .82rem; color: var(--ped-gray-text); font-weight: 600;
  background: var(--ped-gray-bg, #f4f4f4);
  padding: 4px 10px; border-radius: 999px;
}

/* GRUPOS POR CATEGORIA */
.ped-lista-cat-groups {
  display: flex; flex-direction: column; gap: 18px;
}
.ped-lista-cat-group {
  background: #fff;
  border: 1px solid var(--ped-gray-border);
  border-radius: var(--ped-radius);
  overflow: hidden;
}
.ped-lista-cat-group__header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  padding: 12px 16px;
  background: var(--ped-gray-bg, #f4f4f4);
  border-bottom: 1px solid var(--ped-gray-border);
}
.ped-lista-cat-group__title {
  margin: 0; font-size: 1rem; font-weight: 800; color: var(--ped-text, #222);
  letter-spacing: .01em;
}
.ped-lista-cat-group__remove {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: transparent;
  border: 1px solid transparent;
  color: #b71c1c;
  font-size: .82rem; font-weight: 700;
  cursor: pointer; border-radius: var(--ped-radius-sm, 6px);
  transition: background .15s, border-color .15s;
}
.ped-lista-cat-group__remove:hover {
  background: #fbe9e9; border-color: #f0c4c4;
}
.ped-lista-cat-group__remove i { font-size: .95rem; }
.ped-lista-cat-group__remove.is-empty {
  background: #fff3cd; border-color: #f0d57a; color: #8a5a00;
}
.ped-lista-cat-group__remove.is-empty:hover {
  background: #ffe9a8; border-color: #e6c25a;
}
.ped-lista-cat-group.is-empty { opacity: .6; }
.ped-lista-cat-group.is-empty .ped-lista-cat-group__title { text-decoration: line-through; color: var(--ped-gray-text); }

/* ITENS */
.ped-lista-items {
  list-style: none; padding: 0; margin: 0;
  background: #fff; overflow: hidden;
}
.ped-lista-item {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 16px 18px;
  border-bottom: 1px solid var(--ped-gray-border);
  transition: background .15s;
}
.ped-lista-item:last-child { border-bottom: 0; }
.ped-lista-item:hover { background: #fafafa; }
.ped-lista-item--out { opacity: .55; }

.ped-lista-item__img {
  flex: 0 0 96px;
  display: flex; align-items: center; justify-content: center;
  width: 96px; height: 96px;
  border: 1px solid var(--ped-gray-border); border-radius: var(--ped-radius-sm, 6px);
  background: #fff; overflow: hidden;
  padding: 0; cursor: zoom-in;
  transition: border-color .15s, transform .15s;
}
.ped-lista-item__img:hover {
  border-color: var(--ped-primary); transform: scale(1.02);
}
.ped-lista-item__img-tag { max-width: 100%; max-height: 100%; object-fit: contain; }

/* MODAL DE ZOOM (carousel) */
.ped-lista-zoom-modal .modal-content { border: 0; border-radius: var(--ped-radius); }
.ped-lista-zoom-modal .modal-title {
  font-size: 1rem; font-weight: 700; color: var(--ped-primary);
}
.ped-lista-zoom-carousel {
  background: var(--ped-gray-bg, #f4f4f4);
  border-radius: var(--ped-radius-sm, 6px);
  overflow: hidden;
}
.ped-lista-zoom-carousel .carousel-item {
  height: 70vh;
  max-height: 600px;
  min-height: 320px;
}
.ped-lista-zoom-carousel__img {
  display: block;
  width: 100%; height: 100%; object-fit: contain;
  padding: 24px;
}
.ped-lista-zoom-carousel .carousel-control-prev,
.ped-lista-zoom-carousel .carousel-control-next {
  width: 56px; opacity: 1;
}
.ped-lista-zoom-carousel .carousel-control-prev-icon,
.ped-lista-zoom-carousel .carousel-control-next-icon {
  background-color: rgba(0, 0, 0, .55);
  border-radius: 50%;
  padding: 18px; background-size: 50%;
}
.ped-lista-zoom-carousel .carousel-indicators {
  margin-bottom: 8px;
}
.ped-lista-zoom-carousel .carousel-indicators button {
  background-color: var(--ped-primary);
  width: 10px; height: 10px; border-radius: 50%;
  margin: 0 4px;
  border: 0; opacity: .35;
}
.ped-lista-zoom-carousel .carousel-indicators .active { opacity: 1; }

.ped-lista-item__main {
  flex: 1 1 280px;
  min-width: 0;
  display: flex; flex-direction: column; gap: 4px;
  text-align: left;
}
.ped-lista-item__name {
  margin: 0;
  color: var(--ped-text, #222); font-weight: 700; font-size: .98rem;
  text-align: left; line-height: 1.35; text-decoration: none;
  overflow-wrap: anywhere;
}
.ped-lista-item__meta { font-size: .78rem; color: var(--ped-gray-text); }
.ped-lista-item__badge {
  display: inline-block; align-self: flex-start; margin-top: 4px;
  padding: 2px 8px; font-size: .68rem; font-weight: 700;
  border-radius: 999px; text-transform: uppercase; letter-spacing: .04em;
}
.ped-lista-item__badge--out { background: #fce4e4; color: #b71c1c; }
.ped-lista-item__badge--opt { background: #e3eaff; color: var(--ped-primary); }

/* PREÇO (uma linha: PIX | "no Pix" | "ou" | regular | × | qtde) */
.ped-lista-item__pricing {
  display: flex; align-items: baseline; flex-wrap: wrap;
  gap: 4px 6px;
  margin-top: 6px;
  font-size: .9rem;
  color: var(--ped-text, #222);
  line-height: 1.4;
}
.ped-lista-item__price-pix {
  color: var(--ped-primary); font-weight: 800; font-size: 1rem;
}
.ped-lista-item__price-pix-label,
.ped-lista-item__price-or,
.ped-lista-item__price-mult {
  color: var(--ped-gray-text); font-size: .82rem; font-weight: 500;
}
.ped-lista-item__price-regular { font-weight: 700; color: var(--ped-text, #222); }
.ped-lista-item__qty-display {
  font-weight: 800; color: var(--ped-primary); min-width: 1.2em; text-align: left;
}

/* AÇÕES */
.ped-lista-item__actions {
  flex: 0 0 auto;
  display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
}
.ped-lista-item__btns { display: flex; gap: 6px; }
.ped-lista-item__info-btn,
.ped-lista-item__remove {
  width: 36px; height: 36px; padding: 0; border: 0; cursor: pointer;
  border-radius: var(--ped-radius-sm, 6px);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1rem; line-height: 1;
  transition: background .15s, opacity .15s;
}
.ped-lista-item__info-btn  { background: var(--ped-primary); color: #fff; }
.ped-lista-item__info-btn:hover { background: #0f1d52; }
.ped-lista-item__remove { background: #fbe9e9; color: #b71c1c; }
.ped-lista-item__remove:hover { background: #f8d7d7; }
.ped-lista-item__remove.is-empty { background: #fff3cd; color: #8a5a00; }
.ped-lista-item__remove.is-empty:hover { background: #ffe9a8; }

/* QTY (compartilhado) */
.ped-qty {
  display: inline-flex; align-items: stretch;
  border: 1px solid var(--ped-gray-border); border-radius: var(--ped-radius-sm, 6px);
  overflow: hidden; background: #fff;
}
.ped-qty__btn {
  width: 32px; height: 36px; border: 0; background: var(--ped-gray-bg, #f4f4f4); cursor: pointer;
  font-size: 1rem; font-weight: 700; color: var(--ped-text, #222);
}
.ped-qty__btn:hover { background: #e8e8e8; }
.ped-qty__input {
  width: 48px; border: 0; outline: 0; text-align: center; font-weight: 700;
  background: #fff; color: var(--ped-text, #222);
  -moz-appearance: textfield;
}
.ped-qty__input::-webkit-outer-spin-button,
.ped-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* MOBILE: itens em coluna */
@media (max-width: 575px) {
  .ped-lista-item { padding: 14px; gap: 12px; }
  .ped-lista-item__img { flex: 0 0 72px; width: 72px; height: 72px; }
  .ped-lista-item__main { flex: 1 1 calc(100% - 84px); }
  .ped-lista-item__actions { width: 100%; flex-direction: row; justify-content: space-between; align-items: center; }
}

/* Esconde a UI nativa do Product Bundles (mantém os hidden inputs) */
.ped-lista-native-fields { display: none !important; }

/* CHECKOUT CARD (sidebar sticky) */
.ped-lista-checkout-card {
  background: #fff;
  border: 1px solid var(--ped-gray-border);
  border-radius: var(--ped-radius);
  padding: 22px 22px 18px;
  box-shadow: var(--ped-shadow);
  display: flex; flex-direction: column; gap: 14px;
}
.ped-lista-checkout-card__count {
  margin: 0; color: var(--ped-primary); font-weight: 800; font-size: 1rem;
}
.ped-lista-checkout-card__total {
  display: flex; flex-direction: column; gap: 2px;
}
.ped-lista-checkout-card__total-label {
  font-size: .78rem; color: var(--ped-gray-text); text-transform: uppercase;
  letter-spacing: .06em; font-weight: 600;
}
.ped-lista-checkout-card__total-pix {
  display: flex; align-items: baseline; gap: 6px;
}
.ped-lista-checkout-card__total-pix strong {
  font-size: 1.6rem; font-weight: 800; color: var(--ped-primary); line-height: 1;
}
.ped-lista-checkout-card__total-pix span {
  font-size: .82rem; color: var(--ped-gray-text); font-weight: 500;
}
.ped-lista-checkout-card__total-regular {
  font-size: .8rem; color: var(--ped-gray-text); line-height: 1.4;
}
.ped-lista-checkout-card__total-regular #ped-lista-total-regular {
  color: var(--ped-text, #222); font-weight: 700;
}
.ped-lista-checkout-card__sep {
  border: 0; border-top: 1px solid var(--ped-gray-border); margin: 0;
}
.ped-lista-checkout-card__title {
  margin: 0; font-size: 1.1rem; font-weight: 700; color: var(--ped-primary);
}
.ped-lista-checkout-card__field { display: flex; flex-direction: column; }
.ped-lista-checkout-card__input {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--ped-gray-border); border-radius: var(--ped-radius-sm, 6px);
  font-size: .95rem; font-family: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.ped-lista-checkout-card__input:focus {
  outline: 0; border-color: var(--ped-primary);
  box-shadow: 0 0 0 3px rgba(26, 42, 122, .12);
}
.ped-lista-checkout-card__check {
  display: flex; gap: 8px; align-items: flex-start;
  font-size: .78rem; color: var(--ped-gray-text); line-height: 1.4;
  cursor: pointer;
}
.ped-lista-checkout-card__check input { margin-top: 3px; flex-shrink: 0; }
.ped-lista-checkout-card__btn {
  padding: 20px 28px;
  font-size: 1.2rem; font-weight: 800; letter-spacing: .08em;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%;
  min-height: 64px;
  border-radius: var(--ped-radius);
  text-transform: uppercase;
  transition: background .15s, transform .15s;
}
.ped-lista-checkout-card__btn:hover {
  transform: translateY(-1px);
}
.ped-lista-checkout-card__btn:active {
  transform: translateY(0);
}
.ped-lista-checkout-card__btn i { font-size: 1.45rem; }

/* STICKY BAR (mobile only) — só aparece quando o checkout card está fora da tela */
.ped-lista-sticky {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1500;
  background: #fff;
  border-top: 1px solid var(--ped-gray-border);
  box-shadow: 0 -10px 28px rgba(0,0,0,.12);
  transform: translateY(110%);
  transition: transform .32s cubic-bezier(.4, 0, .2, 1);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
}
.ped-lista-sticky.is-visible { transform: translateY(0); }

.ped-lista-sticky__inner {
  display: flex; align-items: center; gap: 12px;
  max-width: 720px; margin: 0 auto;
}
.ped-lista-sticky__info {
  flex: 1 1 auto; min-width: 0;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px;
  line-height: 1.2;
}
.ped-lista-sticky__count {
  font-size: .78rem; font-weight: 600; color: var(--ped-gray-text);
  flex-basis: 100%;
}
.ped-lista-sticky__total {
  font-size: 1.25rem; font-weight: 800; color: var(--ped-primary);
}
.ped-lista-sticky__pix {
  font-size: .78rem; color: var(--ped-gray-text); font-weight: 500;
}
.ped-lista-sticky__btn {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 20px;
  background: var(--ped-green); color: #fff;
  border: 0; border-radius: var(--ped-radius);
  font-size: .98rem; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; cursor: pointer;
  transition: background .15s, transform .15s;
}
.ped-lista-sticky__btn:hover { background: var(--ped-green-dark); transform: translateY(-1px); }
.ped-lista-sticky__btn i { font-size: 1.1rem; }

/* Desktop (sidebar visível): some completamente */
@media (min-width: 992px) {
  .ped-lista-sticky { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ped-lista-sticky { transition: none; }
}
.ped-lista-checkout-card__note {
  margin: 0; font-size: .72rem; color: var(--ped-gray-text); text-align: center;
}

.ped-lista-empty {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 40px 16px; color: var(--ped-gray-text);
  background: #fff; border: 1px solid var(--ped-gray-border); border-radius: var(--ped-radius);
}

/* MODAL DE DETALHES (Bootstrap) */
.ped-lista-modal .modal-content { border-radius: var(--ped-radius); border: 0; }
.ped-lista-modal .modal-title {
  font-size: 1.05rem; font-weight: 700; color: var(--ped-primary);
}
.ped-lista-modal__img-wrap {
  display: flex; align-items: center; justify-content: center;
  background: var(--ped-gray-bg, #f4f4f4);
  border-radius: var(--ped-radius-sm, 6px);
  padding: 18px; margin-bottom: 14px;
  max-height: 240px;
}
.ped-lista-modal__img { max-height: 200px; max-width: 100%; object-fit: contain; }
.ped-lista-modal__meta {
  display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px;
  margin: 0 0 12px; font-size: .9rem;
}
.ped-lista-modal__meta dt { color: var(--ped-gray-text); font-weight: 600; }
.ped-lista-modal__meta dd { margin: 0; color: var(--ped-text, #222); font-weight: 600; }
.ped-lista-modal__desc { font-size: .9rem; color: var(--ped-gray-text); }

/* ══════════════════════════════════════════════════════════════════════════
   HOME — Cupom 1ª compra (faixa navy full-width)
   ══════════════════════════════════════════════════════════════════════════ */
.ped-coupon-banner {
  background: var(--ped-primary);
  color: #fff;
  padding: 14px 0;
}
.ped-coupon-banner__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
}
.ped-coupon-banner__text {
  margin: 0;
  flex: 1 1 320px;
  font-size: .95rem; line-height: 1.4;
}
.ped-coupon-banner__title { font-weight: 800; margin-right: 6px; }
.ped-coupon-banner__subtitle { font-weight: 500; opacity: .96; }

/* Pílula com código + botão copiar */
.ped-coupon-banner__action {
  display: inline-flex; align-items: stretch;
  border: 2px dashed rgba(255,255,255,.6);
  border-radius: 999px;
  padding: 4px;
  background: transparent;
  flex: 0 0 auto;
}
.ped-coupon-banner__code {
  display: inline-flex; align-items: center;
  padding: 6px 16px;
  background: transparent; color: #fff;
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: .92rem; font-weight: 800; letter-spacing: .06em;
  white-space: nowrap;
}
.ped-coupon-banner__copy {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; cursor: pointer;
  background: #fff; color: var(--ped-primary);
  padding: 6px 18px; border-radius: 999px;
  font-weight: 700; font-size: .9rem;
  transition: background .15s, color .15s, transform .15s;
}
.ped-coupon-banner__copy:hover {
  background: rgba(255,255,255,.92); transform: translateY(-1px);
}
.ped-coupon-banner__copy.is-copied {
  background: #15803d; color: #fff;
}

@media (max-width: 575px) {
  .ped-coupon-banner__inner { gap: 12px; }
  .ped-coupon-banner__text  { flex-basis: 100%; text-align: center; }
  .ped-coupon-banner__action { width: 100%; justify-content: center; }
  .ped-coupon-banner__code { flex: 1 1 auto; justify-content: center; }
}

/* ══════════════════════════════════════════════════════════════════════════
   MARQUEE — letreiro contínuo (usado nos colégios da home)
   ══════════════════════════════════════════════════════════════════════════ */
.ped-marquee {
  position: relative;
  width: 100%; overflow: hidden;
  padding: 14px 0;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.ped-marquee__track {
  display: flex; width: max-content;
  animation: ped-marquee var(--ped-marquee-duration, 90s) linear infinite;
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}
.ped-marquee__group {
  display: flex; gap: 24px; padding-right: 24px;
  flex: 0 0 auto;
}
@keyframes ped-marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
.ped-marquee--slow .ped-marquee__track { --ped-marquee-duration: 120s; }
@media (prefers-reduced-motion: reduce) {
  .ped-marquee__track { animation: none; }
  .ped-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}

/* Header de seção centralizado (default em product-grid e marquees) */
.ped-section-header--center {
  flex-direction: column; align-items: center; text-align: center;
  gap: 6px; margin-bottom: 18px;
}
.ped-section-header--center .ped-section-title { white-space: normal; }

/* "Ver todos" centralizado abaixo do carousel */
.ped-section-see-all-wrap {
  display: flex; justify-content: center;
  margin-top: 18px;
}
.ped-section-see-all-btn {
  padding: 10px 22px; font-size: .9rem; font-weight: 700;
  display: inline-flex; align-items: center; gap: 6px;
}
.ped-section-see-all-btn i { transition: transform .2s; }
.ped-section-see-all-btn:hover i { transform: translateX(3px); }
.ped-section-header--center .ped-section-title__line {
  width: 80px; height: 4px;
  background: var(--ped-primary);
  border-radius: 2px;
  margin: 0 auto;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 4' fill='none'%3E%3Cpath d='M0 2 Q 10 0 20 2 T 40 2 T 60 2 T 80 2' stroke='%23000' stroke-width='2' fill='none'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 4' fill='none'%3E%3Cpath d='M0 2 Q 10 0 20 2 T 40 2 T 60 2 T 80 2' stroke='%23000' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}

.ped-colegios-home__cta {
  display: flex; justify-content: center; padding: 14px 0 6px;
}

/* ══════════════════════════════════════════════════════════════════════════
   HOME — Navegação por categorias (marquee igual marcas/colégios)
   ══════════════════════════════════════════════════════════════════════════ */
.ped-catnav { padding: 16px 0 8px; }

.ped-catnav-card {
  flex: 0 0 220px;
  width: 220px;
  display: flex;
}
.ped-catnav-card__link {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
  width: 100%; padding: 8px 6px;
  text-decoration: none; color: var(--ped-text, #222);
  transition: transform .18s;
}
.ped-catnav-card__link:hover { transform: translateY(-3px); }
.ped-catnav-card__img-wrap {
  width: 180px; height: 180px;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  border-radius: 50%; overflow: hidden;
}
.ped-catnav-card__img {
  width: 100%; height: 100%; object-fit: cover;
}
.ped-catnav-card__name {
  font-size: 1rem; font-weight: 700; line-height: 1.3; color: var(--ped-text, #222);
}

@media (max-width: 575px) {
  .ped-catnav-card { flex: 0 0 160px; width: 160px; }
  .ped-catnav-card__img-wrap { width: 130px; height: 130px; }
  .ped-catnav-card__name { font-size: .9rem; }
}

/* ══════════════════════════════════════════════════════════════════════════
   HOME — Lista de material escolar (colégios)
   ══════════════════════════════════════════════════════════════════════════ */
.ped-colegios-home { padding: 24px 0; }
.ped-colegios-home__list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
/* CARDS — dimensões padronizadas (também valem dentro do marquee) */
.ped-colegio-home-card {
  flex: 0 0 240px;
  width: 240px;
  display: flex;
}
.ped-colegio-home-card__link {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px;
  width: 100%; padding: 22px 16px;
  background: transparent; border: 0; border-radius: var(--ped-radius);
  text-decoration: none; color: inherit;
  transition: transform .18s;
}
.ped-colegio-home-card__link:hover {
  transform: translateY(-3px);
}
.ped-colegio-home-card__logo-wrap {
  width: 160px; height: 160px;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
}
.ped-colegio-home-card__logo {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
}
.ped-colegio-home-card__placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--ped-gray-bg, #f4f4f4);
  font-size: 1.6rem; font-weight: 800; color: var(--ped-primary);
}
.ped-colegio-home-card__name {
  margin: 0; font-size: .98rem; font-weight: 700; line-height: 1.3;
  min-height: 2.6em; /* reserva 2 linhas pra alinhar entre cards */
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ped-colegio-home-card__count {
  font-size: .76rem; color: var(--ped-gray-text);
}
.ped-colegio-home-card__cta {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 4px; font-size: .82rem; font-weight: 700; color: var(--ped-primary);
}

@media (max-width: 575px) {
  .ped-colegios-home__list {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding-bottom: 6px;
  }
  .ped-colegio-home-card { flex: 0 0 200px; width: 200px; scroll-snap-align: start; }
  .ped-colegio-home-card__logo-wrap { width: 130px; height: 130px; }
}

/* ══════════════════════════════════════════════════════════════════════════
   HOME — 3 Banners promocionais
   ══════════════════════════════════════════════════════════════════════════ */
.ped-triple-banner { padding: 20px 0; }
.ped-triple-banner__grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(3, 1fr);
}
.ped-triple-banner__item { border-radius: var(--ped-radius); overflow: hidden; }
.ped-triple-banner__link { display: block; }
.ped-triple-banner__img {
  display: block; width: 100%; height: auto; border-radius: var(--ped-radius);
  transition: transform .25s;
}
.ped-triple-banner__link:hover .ped-triple-banner__img { transform: scale(1.02); }

@media (max-width: 767px) {
  .ped-triple-banner__grid {
    grid-template-columns: none;
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding-bottom: 6px;
  }
  .ped-triple-banner__item { flex: 0 0 86%; scroll-snap-align: center; }
}

/* ══════════════════════════════════════════════════════════════════════════
   HOME — Marcas
   ══════════════════════════════════════════════════════════════════════════ */
.ped-brands { padding: 24px 0; }

/* CARDS — dimensões padronizadas (também valem dentro do marquee) */
.ped-brand-card {
  flex: 0 0 200px;
  width: 200px;
  display: flex;
}
.ped-brand-card__link {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 120px;
  padding: 16px;
  background: transparent; border: 0; border-radius: var(--ped-radius);
  transition: transform .18s;
}
.ped-brand-card__link:hover {
  transform: translateY(-2px);
}
.ped-brand-card__logo {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
  filter: grayscale(20%); transition: filter .18s;
}
.ped-brand-card__link:hover .ped-brand-card__logo { filter: grayscale(0%); }

@media (max-width: 575px) {
  .ped-brand-card { flex: 0 0 160px; width: 160px; }
  .ped-brand-card__link { height: 100px; }
}

/* ══════════════════════════════════════════════════════════════════════════
   ELEMENTOR — wrapper sem container/padding
   ══════════════════════════════════════════════════════════════════════════
   Páginas/posts construídos com Elementor renderizam dentro de
   .ped-page--elementor / .ped-single--elementor — sem container Bootstrap
   e sem padding, pra deixar o builder controlar 100% do layout. */
.ped-page--elementor,
.ped-single--elementor {
  padding: 0;
  margin: 0;
  max-width: none;
}
.ped-page--elementor > .ped-page__article,
.ped-single--elementor > article {
  padding: 0;
  margin: 0;
}

/* ══════════════════════════════════════════════════════════════════════════
   TOASTS — substituem os notices nativos do WooCommerce
   ══════════════════════════════════════════════════════════════════════════
   - Posição fixa no rodapé direito (canto), empilháveis
   - Dura 5s, com botão fechar
   - Cores por tipo: success / error / info / warning
   - Off-white com borda colorida lateral, on-brand
*/

/* Esconde os notices nativos quando promovidos a toast */
.woocommerce-notices-wrapper:has(.ped-toast-mirror),
.ped-toast-mirror { display: none !important; }

.ped-toasts {
  position: fixed;
  bottom: calc(20px + var(--ped-toasts-offset, 0px));
  right: 20px;
  z-index: 100000;
  display: flex; flex-direction: column; gap: 10px;
  pointer-events: none;
  max-width: calc(100vw - 32px);
  width: 380px;
  transition: bottom .25s ease;
}

.ped-toast {
  pointer-events: auto;
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--ped-header-bg, #fafafa); /* off-white igual ao header */
  color: var(--ped-text, #222);
  border: 1px solid var(--ped-gray-border);
  border-left: 4px solid var(--ped-primary);
  border-radius: var(--ped-radius);
  padding: 14px 12px 14px 16px;
  box-shadow: 0 14px 32px rgba(0,0,0,.12);
  font-size: .9rem; line-height: 1.4;
  transform: translateX(120%);
  opacity: 0;
  transition: transform .28s cubic-bezier(.2,.7,.2,1), opacity .28s;
}
.ped-toast.is-visible { transform: translateX(0); opacity: 1; }
.ped-toast.is-leaving { transform: translateX(120%); opacity: 0; }

.ped-toast--success { border-left-color: #15803d; }
.ped-toast--success .ped-toast__icon i { color: #15803d; }
.ped-toast--error   { border-left-color: #b91c1c; }
.ped-toast--error .ped-toast__icon i   { color: #b91c1c; }
.ped-toast--info    { border-left-color: var(--ped-primary); }
.ped-toast--info .ped-toast__icon i    { color: var(--ped-primary); }
.ped-toast--warning { border-left-color: #b45309; }
.ped-toast--warning .ped-toast__icon i { color: #b45309; }

.ped-toast__icon { flex: 0 0 auto; font-size: 1.2rem; line-height: 1; padding-top: 1px; }
.ped-toast__body {
  flex: 1 1 auto; min-width: 0;
  word-wrap: break-word;
}
.ped-toast__body a {
  color: var(--ped-primary); font-weight: 700; text-decoration: underline;
}
.ped-toast__close {
  flex: 0 0 auto;
  width: 28px; height: 28px; padding: 0; border: 0;
  background: transparent; cursor: pointer;
  color: var(--ped-gray-text); font-size: 1.1rem; line-height: 1;
  border-radius: 4px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s;
}
.ped-toast__close:hover { background: rgba(0,0,0,.06); color: var(--ped-text, #222); }

@media (max-width: 575px) {
  .ped-toasts { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .ped-toast { transform: translateY(120%); }
  .ped-toast.is-leaving { transform: translateY(120%); }
}

/* ══════════════════════════════════════════════════════════════════════════
   PÁGINA DE CARRINHO
   ══════════════════════════════════════════════════════════════════════════ */
.ped-cart-page { padding: 24px 0 60px; }

.ped-cart-header {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ped-gray-border);
}
.ped-cart-header__title {
  margin: 0; font-size: 1.4rem; font-weight: 800; color: var(--ped-text, #222);
  display: inline-flex; align-items: center; gap: 10px;
}
.ped-cart-header__title i { color: var(--ped-primary); }
.ped-cart-header__count {
  margin: 0; color: var(--ped-gray-text); font-size: .9rem; font-weight: 600;
}

.ped-cart-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}
.ped-cart-grid__items { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.ped-cart-grid__totals { position: sticky; top: 96px; }

@media (max-width: 991px) {
  .ped-cart-grid { grid-template-columns: 1fr; }
  .ped-cart-grid__totals { position: static; }
}

/* ITEM SIMPLES */
.ped-cart-item {
  display: grid;
  grid-template-columns: 90px minmax(0, 1.6fr) auto auto auto;
  gap: 14px; align-items: center;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--ped-gray-border);
  border-radius: var(--ped-radius);
  transition: border-color .15s;
}
.ped-cart-item:hover { border-color: var(--ped-primary); }
.ped-cart-item__thumb img {
  width: 90px; height: 90px; object-fit: contain;
  border: 1px solid var(--ped-gray-border); border-radius: var(--ped-radius-sm, 6px);
  background: #fff;
}
.ped-cart-item__info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ped-cart-item__name {
  color: var(--ped-text, #222); font-weight: 600; font-size: .95rem;
  line-height: 1.35; text-decoration: none; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ped-cart-item__name:hover { color: var(--ped-primary); }
.ped-cart-item__unit { font-size: .85rem; color: var(--ped-gray-text); }
.ped-cart-item__qty .quantity input.qty {
  width: 64px; padding: 8px 6px; text-align: center; font-weight: 700;
  border: 1px solid var(--ped-gray-border); border-radius: var(--ped-radius-sm, 6px);
}
.ped-cart-item__total-value { font-weight: 800; font-size: 1rem; color: var(--ped-primary); }
.ped-cart-item__remove {
  display: inline-flex; align-items: center; gap: 6px;
  width: 36px; height: 36px; justify-content: center;
  border-radius: var(--ped-radius-sm, 6px);
  background: #fbe9e9; color: #b71c1c;
  text-decoration: none; transition: background .15s;
}
.ped-cart-item__remove:hover { background: #f8d7d7; color: #b71c1c; }
.ped-cart-item__remove span { display: none; }

/* ITEM LISTA DE MATERIAL */
.ped-cart-item--lista {
  display: block;
  border-left: 4px solid var(--ped-primary);
  padding: 18px 18px 14px;
}
.ped-cart-item__lista-header {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 8px;
}
.ped-cart-item__badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: 999px;
  background: var(--ped-primary); color: #fff;
  font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
}
.ped-cart-item__colegio {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .88rem; color: var(--ped-gray-text); font-weight: 600;
}
.ped-cart-item__colegio img { width: 28px; height: 28px; object-fit: contain; border-radius: 4px; background: #fff; }
.ped-cart-item__colegio a { color: var(--ped-primary); text-decoration: none; }
.ped-cart-item__colegio a:hover { text-decoration: underline; }

.ped-cart-item__title {
  margin: 0 0 6px; font-size: 1.05rem; font-weight: 700; color: var(--ped-text, #222);
  line-height: 1.3;
}
.ped-cart-item__title a { color: inherit; text-decoration: none; }
.ped-cart-item__title a:hover { color: var(--ped-primary); text-decoration: underline; }

.ped-cart-item__student {
  margin: 0 0 12px; font-size: .9rem; color: var(--ped-text, #222);
  display: inline-flex; align-items: center; gap: 6px;
}
.ped-cart-item__student i { color: var(--ped-primary); }

.ped-cart-item__children {
  margin: 0 0 12px; padding: 10px 12px;
  background: var(--ped-gray-bg, #f4f4f4); border-radius: var(--ped-radius-sm, 6px);
}
.ped-cart-item__children > summary {
  display: flex; align-items: center; gap: 8px;
  font-size: .85rem; font-weight: 700; color: var(--ped-text, #222);
  cursor: pointer; list-style: none;
}
.ped-cart-item__children > summary::-webkit-details-marker { display: none; }
.ped-cart-item__children > summary i { color: var(--ped-primary); }
.ped-cart-item__chev { margin-left: auto; transition: transform .2s; }
.ped-cart-item__children[open] .ped-cart-item__chev { transform: rotate(180deg); }
.ped-cart-item__children ul {
  list-style: none; margin: 10px 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 8px;
  max-height: 320px; overflow-y: auto;
}
.ped-cart-item__children ul li {
  display: flex; align-items: center; gap: 10px;
  padding: 4px 0; font-size: .85rem; color: var(--ped-text, #222);
}
.ped-cart-item__child-img {
  width: 40px !important; height: 40px !important;
  object-fit: contain; border: 1px solid var(--ped-gray-border);
  border-radius: 4px; background: #fff;
}
.ped-cart-item__child-name { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.ped-cart-item__child-qty { font-weight: 700; color: var(--ped-primary); flex-shrink: 0; }

.ped-cart-item__footer {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-top: 12px; border-top: 1px solid var(--ped-gray-border);
}
.ped-cart-item__qty-label {
  display: block; font-size: .72rem; font-weight: 700; color: var(--ped-gray-text);
  text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px;
}
.ped-cart-item__total {
  margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 2px;
}
.ped-cart-item__total-label {
  font-size: .72rem; font-weight: 700; color: var(--ped-gray-text);
  text-transform: uppercase; letter-spacing: .04em;
}
.ped-cart-item--lista .ped-cart-item__total-value { font-size: 1.2rem; }
.ped-cart-item--lista .ped-cart-item__remove {
  width: auto; padding: 8px 14px;
  background: transparent; border: 1px solid var(--ped-gray-border); color: var(--ped-gray-text);
}
.ped-cart-item--lista .ped-cart-item__remove span { display: inline; }
.ped-cart-item--lista .ped-cart-item__remove:hover { border-color: #b71c1c; color: #b71c1c; background: #fbe9e9; }

/* AÇÕES (cupom + atualizar + continuar comprando) */
.ped-cart-actions {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  margin-top: 8px; padding: 14px 0;
}
.ped-cart-coupon { display: flex; gap: 8px; flex: 1 1 320px; min-width: 0; }
.ped-cart-coupon__input {
  flex: 1 1 auto; min-width: 0;
  padding: 10px 14px;
  border: 1px solid var(--ped-gray-border); border-radius: var(--ped-radius-sm, 6px);
  font-size: .9rem;
}
.ped-cart-coupon__input:focus {
  outline: 0; border-color: var(--ped-primary);
  box-shadow: 0 0 0 3px rgba(26,42,122,.12);
}
.ped-cart-coupon__btn { padding: 10px 16px; font-size: .9rem; }
.ped-cart-update {
  padding: 10px 16px; font-size: .9rem;
  display: inline-flex; align-items: center; gap: 6px;
}
.ped-cart-continue {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .9rem; font-weight: 700; color: var(--ped-primary); text-decoration: none;
}
.ped-cart-continue:hover { color: var(--ped-primary); text-decoration: underline; }

/* TOTAIS (sidebar) */
.ped-cart-grid__totals .ped-cart-totals,
.ped-cart-grid__totals .cart_totals {
  background: #fff;
  border: 1px solid var(--ped-gray-border);
  border-radius: var(--ped-radius);
  padding: 22px;
  box-shadow: var(--ped-shadow);
}
.ped-cart-grid__totals h2 {
  margin: 0 0 14px; padding-bottom: 12px;
  font-size: 1.1rem; font-weight: 700; color: var(--ped-primary);
  border-bottom: 1px solid var(--ped-gray-border);
}
.ped-cart-grid__totals .shop_table {
  width: 100%; border-collapse: collapse; font-size: .9rem;
}
.ped-cart-grid__totals .shop_table th,
.ped-cart-grid__totals .shop_table td {
  padding: 10px 0; border-bottom: 1px solid var(--ped-gray-border);
  text-align: left;
}
.ped-cart-grid__totals .shop_table tr:last-child th,
.ped-cart-grid__totals .shop_table tr:last-child td {
  border-bottom: 0;
}
.ped-cart-grid__totals .shop_table th { color: var(--ped-gray-text); font-weight: 600; }
.ped-cart-grid__totals .shop_table .order-total td {
  font-size: 1.15rem; font-weight: 800; color: var(--ped-primary);
}
.ped-cart-grid__totals .wc-proceed-to-checkout {
  margin-top: 16px; padding: 0;
}
.ped-cart-grid__totals .wc-proceed-to-checkout .checkout-button,
.ped-cart-grid__totals .checkout-button {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  padding: 14px 20px;
  background: var(--ped-primary); color: #fff;
  border: 0; border-radius: var(--ped-radius-sm, 6px);
  font-size: 1rem; font-weight: 800; letter-spacing: .04em;
  text-decoration: none;
  transition: background .15s, transform .15s;
}
.ped-cart-grid__totals .checkout-button:hover {
  background: #0f1d52; transform: translateY(-1px);
}

/* Frete: layout de cards radio (em vez do td bagunçado padrão WC) */
.ped-cart-grid__totals .shop_table .shipping th,
.ped-cart-grid__totals .shop_table .shipping td {
  display: block; width: 100%;
  padding-top: 12px; padding-bottom: 12px;
}
.ped-cart-grid__totals .shop_table .shipping th { padding-bottom: 4px; }
.ped-cart-grid__totals .woocommerce-shipping-methods {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.ped-cart-grid__totals .woocommerce-shipping-methods li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--ped-gray-border);
  border-radius: var(--ped-radius-sm, 6px);
  background: #fff;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.ped-cart-grid__totals .woocommerce-shipping-methods li:hover {
  border-color: var(--ped-primary); background: #fafbff;
}
.ped-cart-grid__totals .woocommerce-shipping-methods li:has(input:checked) {
  border-color: var(--ped-primary); background: #eef1fb;
}
.ped-cart-grid__totals .woocommerce-shipping-methods input[type="radio"] {
  flex: 0 0 auto; margin: 3px 0 0;
  accent-color: var(--ped-primary);
}
.ped-cart-grid__totals .woocommerce-shipping-methods label {
  flex: 1 1 auto; min-width: 0;
  font-size: .85rem; line-height: 1.45; cursor: pointer;
  color: var(--ped-text, #222); font-weight: 600;
}
.ped-cart-grid__totals .woocommerce-shipping-methods label .amount {
  color: var(--ped-primary); font-weight: 800;
}
.ped-cart-grid__totals .woocommerce-shipping-destination {
  margin: 10px 0 0; font-size: .8rem; color: var(--ped-gray-text);
  line-height: 1.5;
}
.ped-cart-grid__totals .woocommerce-shipping-calculator {
  margin-top: 10px;
}
.ped-cart-grid__totals .woocommerce-shipping-calculator a {
  font-size: .82rem; font-weight: 700; color: var(--ped-primary);
}

/* Estado loading do item enquanto AJAX roda */
.ped-cart-item.is-loading {
  position: relative;
  pointer-events: none;
  opacity: .65;
}
.ped-cart-item.is-loading::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(255,255,255,.5);
  border-radius: var(--ped-radius);
}

/* MOBILE: itens do carrinho viram cards */
@media (max-width: 767px) {
  .ped-cart-item:not(.ped-cart-item--lista) {
    grid-template-columns: 70px 1fr auto;
    grid-template-areas:
      "thumb info  remove"
      "thumb qty   total";
    gap: 10px;
  }
  .ped-cart-item__thumb   { grid-area: thumb; }
  .ped-cart-item__thumb img { width: 70px; height: 70px; }
  .ped-cart-item__info    { grid-area: info; }
  .ped-cart-item__qty     { grid-area: qty; }
  .ped-cart-item__total   { grid-area: total; text-align: right; }
  .ped-cart-item__remove  { grid-area: remove; }
}
