/* =========================================================
   JuxtaPED Modern UI
   Camada visual compatível com o frontend legado
   Carregar SEMPRE depois de home.css e style.css
   ========================================================= */

:root {
  --jxp-primary: #9f1414;
  --jxp-primary-dark: #7f0f0f;
  --jxp-accent: #2f7d4a;
  --jxp-accent-dark: #24623a;
  --jxp-bg: #f6f7f8;
  --jxp-surface: #ffffff;
  --jxp-text: #20252b;
  --jxp-muted: #707781;
  --jxp-line: #e7e9ec;
  --jxp-radius: 16px;
  --jxp-radius-sm: 12px;
  --jxp-shadow: 0 10px 30px rgba(20, 26, 33, .08);
  --jxp-container: 1180px;
}

html { scroll-behavior: smooth; }

body.jxp-modern {
  margin: 0;
  background: var(--jxp-bg);
  color: var(--jxp-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

body.jxp-modern a { color: inherit; }
body.jxp-modern img { max-width: 100%; }

/* HEADER */
.jxp-modern .jxp-header {
  height: 92px;
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid var(--jxp-line);
  box-shadow: 0 4px 20px rgba(20,26,33,.05);
  backdrop-filter: blur(10px);
}

.jxp-modern .jxp-header-inner {
  width: min(calc(100% - 36px), var(--jxp-container));
  height: 92px;
  margin: 0 auto;
}

.jxp-modern .box4 { height: 92px; }

.jxp-modern .jxp-brand {
  top: 10px;
  left: 0;
  width: 185px;
  height: 72px;
  display: flex;
  align-items: center;
}

.jxp-modern .jxp-brand img {
  display: block;
  max-width: 170px;
  max-height: 70px;
  object-fit: contain;
}

.jxp-modern .jxp-account {
  position: absolute;
  right: 345px;
  top: 0;
  width: auto;
  margin: 0;
  height: 92px;
  display: flex;
  align-items: center;
}

.jxp-modern .box147 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.jxp-modern .box151 {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  transition: .2s ease;
}

.jxp-modern .box151:hover { background: #f1f3f4; }
.jxp-modern .box148:before { color: var(--jxp-accent); font-size: 22px; }
.jxp-modern .box149a, .jxp-modern .box149, .jxp-modern .box150 {
  font-size: 14px;
  color: var(--jxp-text);
  padding-top: 4px;
}

/* CART */
.jxp-modern .jxp-cart {
  width: 320px;
  right: 0;
  top: 16px;
  z-index: 100002;
}

.jxp-modern .box20 { display: none !important; }

.jxp-modern .box21 {
  float: none;
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 6px;
  background: var(--jxp-accent);
  border: 0;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(47,125,74,.18);
}

.jxp-modern .box22 {
  width: 104px;
  margin: 0;
  padding: 9px 8px;
  background: #fff;
  color: var(--jxp-accent-dark);
  border-radius: 10px;
  font-size: 16px;
}

.jxp-modern .box23 {
  width: auto;
  flex: 1;
  margin: 0 4px 0 12px;
  text-align: center;
  font-size: 15px;
  line-height: 42px;
}

.jxp-modern .box173 {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background-color: var(--jxp-accent-dark);
  background-size: 24px auto;
}

.jxp-modern .box61 {
  position: absolute;
  top: 64px;
  right: 0;
  width: 380px;
  height: auto;
  max-height: 320px;
  overflow: auto;
  border: 1px solid var(--jxp-line);
  border-radius: 14px;
  box-shadow: var(--jxp-shadow);
  padding: 8px 0;
  background: #fff;
}

.jxp-modern .box61 ul { padding: 0 12px; }
.jxp-modern .box61 ul li { padding: 10px 0; border-color: var(--jxp-line); }
.jxp-modern .box61 ul li .carrinho0 {
  width: 38px; height: 38px; border-radius: 8px; overflow: hidden; background: #f1f1f1;
}
.jxp-modern .box61 ul li .carrinho0 img { width: 38px !important; height: 38px !important; object-fit: cover; }
.jxp-modern .box61 ul li .carrinho1 { width: 215px; }

/* CATEGORY NAV */
.jxp-modern .jxp-category-nav {
  top: 92px;
  height: 50px;
  background: #fff;
  border-bottom: 1px solid var(--jxp-line);
  overflow: hidden;
}

.jxp-modern .jxp-category-inner {
  width: min(calc(100% - 36px), var(--jxp-container));
  height: 50px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}
.jxp-modern .jxp-category-inner::-webkit-scrollbar { display: none; }

.jxp-modern .jxp-category-inner ul {
  width: max-content;
  min-width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 50px;
}

.jxp-modern .jxp-category-inner ul a { display: block; }
.jxp-modern .jxp-category-inner ul li {
  float: none;
  padding: 8px 14px;
  line-height: 1;
  border-radius: 999px;
  background: #f3f4f5;
  color: #444b54;
  font-size: 13px;
  white-space: nowrap;
  transition: .2s ease;
}
.jxp-modern .jxp-category-inner ul li:hover {
  background: #fbeaea;
  color: var(--jxp-primary);
}

/* MAIN */
.jxp-modern .jxp-main {
  margin-top: 142px;
}

/* HERO */
.jxp-modern .jxp-hero {
  float: none;
  width: min(calc(100% - 36px), var(--jxp-container));
  margin: 22px auto 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--jxp-shadow);
}

.jxp-modern .jxp-hero-split {
  height: 320px;
  display: grid;
  grid-template-columns: 42% 58%;
  background: #243036;
}

.jxp-modern .box2027,
.jxp-modern .box2026,
.jxp-modern .box2029,
.jxp-modern .box2030,
.jxp-modern .box2031 {
  float: none;
  width: 100%;
  height: 320px;
}

.jxp-modern .box2027 {
  background: linear-gradient(135deg, #1d292f, #34444b);
  display: flex;
  align-items: center;
}

.jxp-modern .box2030 { padding: 34px; }
.jxp-modern .box45 { margin: 0; padding: 0; text-shadow: none; }
.jxp-modern .box50 { color: #fff; font-size: 17px; line-height: 1.6; }
.jxp-modern .box50 h1 { font-size: clamp(28px, 3vw, 46px); line-height: 1.05; }
.jxp-modern .box50 h2 { font-size: clamp(19px, 2vw, 28px); }

.jxp-modern .box2026 { background: #fff; }
.jxp-modern .box2028 { display: none; }
.jxp-modern .box2031 { position: relative; left: 0; }
.jxp-modern .box2031 ul,
.jxp-modern .box2031 ul li { height: 320px; }
.jxp-modern .box2031 img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.jxp-modern .owl-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50% !important;
  background: rgba(255,255,255,.92) !important;
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
  font-size: 24px !important;
}
.jxp-modern .owl-nav .owl-prev { left: 12px; }
.jxp-modern .owl-nav .owl-next { right: 12px; }

.jxp-modern .jxp-hero-image {
  height: min(380px, 38vw);
  min-height: 240px;
  background: #fff;
  text-align: center;
}
.jxp-modern .jxp-hero-image:before { display: none !important; }
.jxp-modern .jxp-hero-image img {
  width: 100%;
  height: 100%;
  max-height: none;
  min-height: 0;
  object-fit: cover;
  margin: 0;
  border-radius: 0;
}

/* PIZZA CTA */
.jxp-modern .jxp-pizza-cta {
  float: none;
  width: min(calc(100% - 36px), var(--jxp-container));
  height: auto;
  min-height: 96px;
  margin: 18px auto 0;
  background: linear-gradient(135deg, #8d1010, #b32222);
  border-radius: 18px;
  box-shadow: var(--jxp-shadow);
  overflow: hidden;
}

.jxp-modern .box18 {
  width: 100%;
  margin: 0;
  min-height: 96px;
  display: flex;
  align-items: center;
  padding: 16px 20px;
}

.jxp-modern .box16g {
  float: none;
  width: auto;
  min-width: 250px;
  height: 64px;
  margin: 0;
  padding: 0;
  border: 0;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
}

.jxp-modern .box16g a {
  width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center;
  padding: 0 20px 0 62px;
  position: relative;
}
.jxp-modern .box16g a:before {
  content: "\f1d8";
  font-family: FontAwesome;
  position: absolute;
  left: 20px;
  top: 18px;
  font-size: 27px;
  color: var(--jxp-primary);
}
.jxp-modern .box16g label { float: none; width: auto; margin: 0; font-size: 17px; color: var(--jxp-text); }
.jxp-modern .box16g small { float: none; width: auto; font-size: 12px; color: var(--jxp-muted); }
.jxp-modern .box26a {
  float: none;
  flex: 1;
  width: auto;
  height: auto;
  margin: 0 0 0 24px;
  background: none;
}
.jxp-modern .box26a:before {
  content: "Monte do seu jeito, escolha os sabores e personalize seu pedido.";
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}
.jxp-modern .box54 { display: none; }

/* CATALOG */
.jxp-modern .jxp-catalog {
  float: none;
  width: 100%;
  min-height: 0;
  padding: 30px 0 18px;
}

.jxp-modern .jxp-container {
  width: min(calc(100% - 36px), var(--jxp-container));
  margin: 0 auto;
}

.jxp-modern .jxp-section-head {
  float: none;
  height: auto;
  margin: 18px 0 14px;
  padding: 0;
}

.jxp-modern .jxp-section-title {
  float: none;
  width: 100%;
  margin: 0;
  padding: 0;
  background: none;
  color: var(--jxp-text);
  font-size: 24px;
  line-height: 1.25;
  display: flex;
  align-items: center;
  gap: 10px;
}
.jxp-modern .jxp-section-title:before {
  content: "";
  width: 5px;
  height: 26px;
  border-radius: 99px;
  background: var(--jxp-primary);
}

.jxp-modern .jxp-product-grid {
  float: none;
  width: 100%;
  margin: 0 0 28px;
}

.jxp-modern .jxp-product-grid > ul,
.jxp-modern .box28 ul {
  float: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  padding: 0;
  margin: 0;
}

.jxp-modern .jxp-product-grid > ul > a { display: contents; }

.jxp-modern .box28 ul li {
  float: none;
  width: auto;
  height: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1px solid var(--jxp-line);
  border-radius: var(--jxp-radius);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(20,26,33,.035);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.jxp-modern .box28 ul li:hover {
  transform: translateY(-3px);
  border-color: #d7dadd;
  box-shadow: 0 12px 28px rgba(20,26,33,.10);
}

.jxp-modern .jxp-product-card {
  float: none;
  min-height: 285px;
  display: flex;
  flex-direction: column;
  background: transparent;
}

.jxp-modern .jxp-product-image {
  float: none;
  width: 100%;
  height: 190px;
  padding: 0;
  background: #f3f4f5;
  overflow: hidden;
}

.jxp-modern .jxp-product-image img,
.jxp-modern .box28 ul li img {
  width: 100%;
  height: 190px;
  min-width: 0;
  max-height: none;
  object-fit: cover;
  border-radius: 0;
  transform: none !important;
  transition: transform .28s ease;
}

.jxp-modern .box28 ul li:hover .jxp-product-image img { transform: scale(1.035) !important; }

.jxp-modern .box28 ul li .retina {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(20,25,30,.62);
  backdrop-filter: blur(2px);
  transition: opacity .18s ease;
}

.jxp-modern .box28 ul li .retina .add1 {
  padding-top: 0;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.jxp-modern .box28 ul li .retina .add2 { font-size: 12px; opacity: .9; }
.jxp-modern .add1:before { display: none; }
.jxp-modern .box28 ul li .box29 span { display: none; }

.jxp-modern .jxp-product-name {
  float: none;
  width: 100%;
  min-height: 50px;
  margin: 0;
  padding: 14px 14px 6px;
  text-align: left;
  white-space: normal;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 14px;
  font-weight: 600;
  color: var(--jxp-text);
}

.jxp-modern .jxp-product-price {
  float: none;
  width: 100%;
  margin-top: auto;
  padding: 4px 14px 15px;
  text-align: left;
  color: var(--jxp-primary);
  font-size: 17px;
  font-weight: 750;
}

/* FOOTER */
.jxp-modern .jxp-footer {
  float: none;
  width: 100%;
  height: auto;
  margin-top: 34px;
  background: #171b1f;
  color: #d7dce0;
}

.jxp-modern .jxp-delivery-bar {
  float: none;
  width: 100%;
  height: auto;
  background: #22282d;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.jxp-modern .jxp-footer-container {
  width: min(calc(100% - 36px), var(--jxp-container));
  height: auto;
  margin: 0 auto;
}

.jxp-modern .jxp-delivery-link { display: inline-flex; padding: 18px 0; }
.jxp-modern .box212 { float: none; margin: 0; color: #fff; font-size: 15px; }
.jxp-modern .box212:before { content: "\f041"; font-family: FontAwesome; margin-right: 9px; color: #83c598; }

.jxp-modern .jxp-footer-main { float: none; width: 100%; height: auto; margin: 0; padding: 30px 0; }
.jxp-modern .jxp-footer-grid {
  width: min(calc(100% - 36px), var(--jxp-container));
  height: auto;
  display: grid;
  grid-template-columns: 1.5fr .8fr .8fr;
  gap: 20px;
  margin: 0 auto;
}

.jxp-modern .jxp-footer-info {
  float: none; width: auto; height: auto; color: #b9c0c6; line-height: 1.65;
}
.jxp-modern .jxp-footer-info > strong { color: #fff; font-size: 16px; }
.jxp-modern .jxp-footer-info p { margin: 8px 0 0; }
.jxp-modern .jxp-footer-info a { color: #fff; }

.jxp-modern .jxp-footer-card { display: flex; align-items: stretch; min-width: 0; }
.jxp-modern .jxp-footer-icon {
  float: none;
  width: 54px;
  height: auto;
  min-height: 70px;
  margin: 0;
  border-radius: 12px 0 0 12px;
  background-color: var(--jxp-primary);
  background-position: center;
  background-size: 24px auto;
}
.jxp-modern .jxp-footer-card-body {
  float: none;
  height: auto;
  flex: 1;
  border: 0;
  border-radius: 0 12px 12px 0;
  background: #22282d;
}
.jxp-modern .box93 { float: none; width: auto; height: auto; padding: 12px; }
.jxp-modern .box89 { float: none; width: auto; margin: 0 0 4px; color: #9ea7ae; }
.jxp-modern .box90 { float: none; width: auto; margin: 0; color: #fff; font-size: 15px; }
.jxp-modern .jxp-socials { display: flex; gap: 6px; }
.jxp-modern .jxp-socials .box211 { float: none; margin: 0; width: 30px; height: 30px; }
.jxp-modern .jxp-socials img { width: 30px !important; height: 30px !important; object-fit: contain; }

.jxp-modern .jxp-footer-bottom {
  float: none;
  width: 100%;
  padding: 18px;
  border-top: 1px solid rgba(255,255,255,.07);
  color: #8f999f;
  font-size: 12px;
  font-weight: 500;
}
.jxp-modern .jxp-footer-bottom a { color: #dce2e6; }

/* MOBILE MENU */
.jxp-modern .jxp-menu-overlay {
  position: fixed;
  z-index: 100003;
  top: 0;
  left: 0;
}

/* RESPONSIVE */
@media (max-width: 1080px) {
  .jxp-modern .jxp-product-grid > ul,
  .jxp-modern .box28 ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .jxp-modern .jxp-account { right: 330px; }
}

@media (max-width: 820px) {
  .jxp-modern .jxp-header { height: 72px; }
  .jxp-modern .jxp-header-inner { width: calc(100% - 24px); height: 72px; }
  .jxp-modern .box4 { height: 72px; }
  .jxp-modern .jxp-brand { left: 52px; top: 5px; height: 62px; width: 130px; }
  .jxp-modern .jxp-brand img { max-width: 125px; max-height: 58px; }

  .jxp-modern .box174 { display: block; left: 0; top: 17px; }
  .jxp-modern .box176 { display: none; }
  .jxp-modern .box177, .jxp-modern .box178 { background-color: var(--jxp-primary) !important; }

  .jxp-modern .jxp-account { display: none; }
  .jxp-modern .jxp-cart { width: 185px; top: 9px; }
  .jxp-modern .box21 { min-height: 54px; }
  .jxp-modern .box22 { width: 92px; font-size: 14px; }
  .jxp-modern .box23 { display: none; }
  .jxp-modern .box173 { margin-left: auto; }
  .jxp-modern .box61 { width: min(360px, calc(100vw - 24px)); top: 60px; }

  .jxp-modern .jxp-category-nav { top: 72px; height: 48px; }
  .jxp-modern .jxp-category-inner { width: calc(100% - 20px); height: 48px; }
  .jxp-modern .jxp-category-inner ul { height: 48px; }
  .jxp-modern .jxp-main { margin-top: 120px; }

  .jxp-modern .jxp-hero { width: calc(100% - 24px); margin-top: 14px; border-radius: 16px; }
  .jxp-modern .jxp-hero-split { height: auto; grid-template-columns: 1fr; }
  .jxp-modern .box2027 { display: none; }
  .jxp-modern .box2026,
  .jxp-modern .box2029,
  .jxp-modern .box2031,
  .jxp-modern .box2031 ul,
  .jxp-modern .box2031 ul li { height: 220px; }
  .jxp-modern .box2031 img { height: 220px; }
  .jxp-modern .jxp-hero-image { min-height: 190px; height: 52vw; max-height: 280px; }

  .jxp-modern .jxp-pizza-cta { width: calc(100% - 24px); border-radius: 16px; }
  .jxp-modern .box18 { padding: 12px; min-height: 82px; }
  .jxp-modern .box16g { min-width: 220px; height: 58px; }
  .jxp-modern .box16g a { padding-left: 54px; }
  .jxp-modern .box16g a:before { left: 16px; top: 16px; font-size: 23px; }
  .jxp-modern .box26a:before { font-size: 14px; }

  .jxp-modern .jxp-container { width: calc(100% - 24px); }
  .jxp-modern .jxp-product-grid > ul,
  .jxp-modern .box28 ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }

  .jxp-modern .jxp-footer-grid { width: calc(100% - 24px); grid-template-columns: 1fr 1fr; }
  .jxp-modern .jxp-footer-info { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  body.jxp-modern { font-size: 13px; }
  .jxp-modern .jxp-header-inner { width: calc(100% - 18px); }
  .jxp-modern .jxp-cart { width: 156px; }
  .jxp-modern .box22 { width: 86px; padding: 8px 4px; }
  .jxp-modern .box173 { width: 46px; }

  .jxp-modern .jxp-category-inner { width: calc(100% - 16px); }
  .jxp-modern .jxp-category-inner ul li { padding: 8px 12px; font-size: 12px; }

  .jxp-modern .jxp-hero { width: calc(100% - 18px); }
  .jxp-modern .jxp-pizza-cta { width: calc(100% - 18px); }
  .jxp-modern .box18 { display: block; }
  .jxp-modern .box16g { width: 100%; min-width: 0; }
  .jxp-modern .box26a { display: none; }

  .jxp-modern .jxp-catalog { padding-top: 18px; }
  .jxp-modern .jxp-container { width: calc(100% - 18px); }
  .jxp-modern .jxp-section-title { font-size: 20px; }
  .jxp-modern .jxp-section-title:before { height: 22px; }

  .jxp-modern .jxp-product-grid > ul,
  .jxp-modern .box28 ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .jxp-modern .jxp-product-card { min-height: 236px; }
  .jxp-modern .jxp-product-image,
  .jxp-modern .jxp-product-image img,
  .jxp-modern .box28 ul li img { height: 145px; }
  .jxp-modern .jxp-product-name { min-height: 46px; padding: 11px 10px 4px; font-size: 13px; }
  .jxp-modern .jxp-product-price { padding: 3px 10px 12px; font-size: 15px; }
  .jxp-modern .box28 ul li .retina { display: none; }

  .jxp-modern .jxp-footer-grid { grid-template-columns: 1fr; }
  .jxp-modern .jxp-footer-info { grid-column: auto; }
  .jxp-modern .jxp-footer-card { min-height: 70px; }
  .jxp-modern .jxp-footer-bottom { padding: 16px 12px 92px; }

  /* carrinho sempre acessível no celular */
  .jxp-modern .jxp-cart {
    position: fixed;
    left: 9px;
    right: 9px;
    bottom: 9px;
    top: auto;
    width: auto;
    z-index: 100004;
  }
  .jxp-modern .box21 { box-shadow: 0 10px 30px rgba(0,0,0,.25); }
  .jxp-modern .box23 { display: block; line-height: 38px; font-size: 14px; }
  .jxp-modern .box61 { bottom: 64px; top: auto; right: 0; width: 100%; max-height: 45vh; }
}

/* =========================================================
   JuxtaPED Modern UI - V2 refinement
   ========================================================= */

/* Keep fixed navigation visually solid and anchored to viewport. */
.jxp-modern .jxp-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100010;
  background: #fff;
}

.jxp-modern .jxp-category-nav {
  position: fixed;
  top: 92px;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100009;
  background: #f7f8f9;
  border-top: 1px solid #f0f1f2;
  border-bottom: 1px solid #e2e5e8;
  box-shadow: 0 5px 14px rgba(20,26,33,.04);
}

.jxp-modern .jxp-category-inner {
  margin: 0 auto;
}

.jxp-modern .jxp-category-inner ul li {
  background: #fff;
  border: 1px solid #e2e5e8;
  font-weight: 650;
  color: #424950;
}

.jxp-modern .jxp-category-inner ul li:hover {
  border-color: #e4bcbc;
  background: #fff4f4;
  color: var(--jxp-primary);
}

/* Better hero copy and less empty left panel. */
.jxp-modern .jxp-hero-copy {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  max-width: 460px;
}

.jxp-modern .jxp-hero-kicker {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  color: #d8e2e7;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.jxp-modern .jxp-hero-copy h1 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(28px, 3vw, 43px);
  line-height: 1.08;
}

.jxp-modern .jxp-hero-description {
  color: #d7e0e4;
  font-size: 15px;
  line-height: 1.6;
}

/* CTA polish */
.jxp-modern .jxp-pizza-cta {
  position: relative;
}

.jxp-modern .jxp-pizza-cta:after {
  content: "\f105";
  font-family: FontAwesome;
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 22px;
  pointer-events: none;
}

/* Section headings must remain readable on the dark storefront background. */
.jxp-modern .jxp-section-head {
  clear: both;
  margin-top: 28px;
  margin-bottom: 15px;
}

.jxp-modern .jxp-section-title {
  color: #f6f8f9 !important;
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -.01em;
}

.jxp-modern .jxp-section-title:before {
  flex: 0 0 5px;
  background: #d72323;
}

/* Cards: equal height, stronger hierarchy and explicit action. */
.jxp-modern .jxp-product-grid > ul {
  align-items: stretch;
}

.jxp-modern .box28 ul li,
.jxp-modern .jxp-product-card {
  height: 100%;
}

.jxp-modern .jxp-product-card {
  min-height: 330px;
}

.jxp-modern .jxp-product-name {
  min-height: 56px;
  line-height: 1.35;
}

.jxp-modern .jxp-product-price {
  margin-top: 0;
  padding-bottom: 7px;
}

.jxp-modern .jxp-product-action {
  margin: auto 12px 12px;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 10px;
  background: #f4f6f5;
  color: var(--jxp-accent-dark);
  font-size: 12px;
  font-weight: 750;
  transition: .18s ease;
}

.jxp-modern .box28 ul li:hover .jxp-product-action {
  background: var(--jxp-accent);
  color: #fff;
}

/* Give sections a little more separation without creating empty blocks. */
.jxp-modern .jxp-product-grid {
  margin-bottom: 34px;
}

/* Slightly soften the catalog background. */
body.jxp-modern,
.jxp-modern .jxp-page,
.jxp-modern .jxp-catalog {
  background: #21282c;
}

/* But keep header/menu/footer surfaces independent. */
.jxp-modern .jxp-header,
.jxp-modern .jxp-category-nav {
  color: var(--jxp-text);
}

@media (max-width: 820px) {
  .jxp-modern .jxp-header { top: 0; }
  .jxp-modern .jxp-category-nav { top: 72px; }
  .jxp-modern .jxp-pizza-cta:after { display: none; }
  .jxp-modern .jxp-product-card { min-height: 290px; }
}

@media (max-width: 560px) {
  .jxp-modern .jxp-section-head { margin-top: 22px; }
  .jxp-modern .jxp-section-title { font-size: 19px; }
  .jxp-modern .jxp-product-card { min-height: 268px; }
  .jxp-modern .jxp-product-action {
    margin: auto 8px 8px;
    min-height: 32px;
    font-size: 11px;
  }
  .jxp-modern .jxp-hero-copy { display: none; }
}


/* =========================================================
   Páginas internas: Cardápio / Categoria
   ========================================================= */

.jxp-modern .jxp-page-hero {
  width: min(calc(100% - 36px), var(--jxp-container));
  margin: 22px auto 4px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 20px;
  background:
    radial-gradient(circle at 85% 20%, rgba(159,20,20,.22), transparent 36%),
    linear-gradient(135deg, #29363c, #1d2529);
  box-shadow: 0 14px 34px rgba(0,0,0,.16);
  overflow: hidden;
}

.jxp-modern .jxp-page-hero-inner {
  position: relative;
  padding: 28px 30px 30px;
}

.jxp-modern .jxp-page-hero-compact .jxp-page-hero-inner {
  padding-top: 24px;
  padding-bottom: 24px;
}

.jxp-modern .jxp-back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 18px;
  color: #dce4e8;
  font-size: 13px;
  font-weight: 650;
}

.jxp-modern .jxp-back-link:hover {
  color: #fff;
}

.jxp-modern .jxp-page-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: #ffb1b1;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.jxp-modern .jxp-page-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(27px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -.025em;
}

.jxp-modern .jxp-page-hero p {
  max-width: 690px;
  margin: 10px 0 0;
  color: #c9d2d7;
  font-size: 14px;
  line-height: 1.65;
}

.jxp-modern .jxp-catalog-page .jxp-catalog,
.jxp-modern .jxp-category-page .jxp-catalog {
  padding-top: 8px;
}

.jxp-modern .jxp-card-link {
  display: contents;
}

.jxp-modern .jxp-catalog-item {
  display: flex;
}

.jxp-modern .jxp-catalog-item .jxp-product-card {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.jxp-modern .jxp-empty-state {
  grid-column: 1 / -1;
  width: 100% !important;
  min-height: 230px !important;
  margin: 0 !important;
  padding: 36px 24px !important;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255,255,255,.05) !important;
  border: 1px dashed rgba(255,255,255,.16) !important;
  border-radius: 16px !important;
  color: #dce4e8;
  text-align: center;
  cursor: default !important;
}

.jxp-modern .jxp-empty-state i {
  margin-bottom: 6px;
  color: #ef9b9b;
  font-size: 34px;
}

.jxp-modern .jxp-empty-state strong {
  color: #fff;
  font-size: 17px;
}

.jxp-modern .jxp-empty-state span {
  color: #aebbc1;
  font-size: 13px;
}

.jxp-modern .jxp-empty-state a {
  margin-top: 8px;
  padding: 9px 14px;
  border-radius: 9px;
  background: #fff;
  color: #20252b;
  font-weight: 700;
}

@media (max-width: 820px) {
  .jxp-modern .jxp-page-hero {
    width: min(calc(100% - 24px), var(--jxp-container));
    margin-top: 14px;
  }

  .jxp-modern .jxp-page-hero-inner {
    padding: 22px 20px 24px;
  }
}

@media (max-width: 560px) {
  .jxp-modern .jxp-page-hero {
    width: calc(100% - 18px);
    border-radius: 16px;
  }

  .jxp-modern .jxp-page-hero-inner {
    padding: 18px 16px 20px;
  }

  .jxp-modern .jxp-back-link {
    margin-bottom: 14px;
  }

  .jxp-modern .jxp-page-hero h1 {
    font-size: 26px;
  }

  .jxp-modern .jxp-page-hero p {
    font-size: 13px;
  }
}


/* =========================================================
   JuxtaPED — Montador de Pizza
   ========================================================= */

.jxp-modern.jxp-pizza-builder-page {
  background: #20282c;
}

.jxp-modern .jxp-builder-main {
  padding-bottom: 0;
}

.jxp-modern .jxp-builder-intro {
  width: min(calc(100% - 36px), var(--jxp-container));
  margin: 22px auto 14px;
  padding: 24px 28px 26px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 20px;
  background:
    radial-gradient(circle at 88% 12%, rgba(179,22,22,.22), transparent 34%),
    linear-gradient(135deg, #2a383f, #1e272b);
  box-shadow: 0 16px 36px rgba(0,0,0,.16);
}

.jxp-modern .jxp-builder-intro h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(27px, 3.4vw, 42px);
  line-height: 1.08;
  letter-spacing: -.03em;
}

.jxp-modern .jxp-builder-intro p {
  max-width: 820px;
  margin: 10px 0 0;
  color: #bec9ce;
  font-size: 14px;
  line-height: 1.65;
}

.jxp-modern .jxp-builder-stage {
  position: relative;
  float: none;
  width: min(calc(100% - 36px), var(--jxp-container));
  min-height: 0;
  height: auto;
  margin: 0 auto;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 20px 20px 0 0;
  background: #253036;
  background-image: none;
}

.jxp-modern .jxp-builder-shell {
  width: 100%;
  height: auto;
  margin: 0;
  display: block;
}

.jxp-modern .jxp-builder-workspace {
  float: none;
  width: 100%;
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.jxp-modern .jxp-pizza-preview-wrap {
  float: none;
  width: 270px;
  height: 270px;
  margin: 0;
  position: sticky;
  top: 190px;
}

.jxp-modern .jxp-pizza-preview {
  position: relative;
  top: auto;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  filter: drop-shadow(0 16px 24px rgba(0,0,0,.24));
}

.jxp-modern .jxp-flavor-panels {
  float: none;
  width: 100%;
  height: auto;
  margin: 0;
  display: grid;
  gap: 14px;
}

.jxp-modern .jxp-flavor-panels-4 {
  grid-template-columns: repeat(2, minmax(0,1fr));
}

.jxp-modern .jxp-flavor-panels-3 {
  grid-template-columns: repeat(3, minmax(0,1fr));
}

.jxp-modern .jxp-flavor-panels-2 {
  grid-template-columns: repeat(2, minmax(0,1fr));
}

.jxp-modern .jxp-flavor-panels-1 {
  grid-template-columns: 1fr;
}

.jxp-modern .jxp-flavor-panels .box12 {
  float: none;
  width: 100%;
  height: auto;
  min-height: 210px;
  padding: 0;
}

.jxp-modern .jxp-flavor-panels .box2021 {
  float: none;
  width: 100%;
  min-height: 210px;
  height: auto;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

.jxp-modern .jxp-flavor-panels .box13 {
  float: none;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-radius: 0;
  background: #2f7f50;
  color: #fff;
  font-size: 14px;
}

.jxp-modern .jxp-flavor-panels .box14 {
  float: none;
  width: 100%;
  min-height: 178px;
  padding: 116px 18px 22px;
  border-radius: 0;
  background-color: #f8f9f9;
  color: #263238;
  font-size: 15px;
  line-height: 1.45;
}

.jxp-modern .jxp-flavor-panels .box42 {
  float: none;
  width: 100%;
  height: auto;
  max-height: 220px;
  padding-bottom: 0;
  overflow: auto;
  background: #fff;
}

.jxp-modern .jxp-flavor-panels .box43 ul li {
  float: none;
  padding: 9px 12px;
  border-bottom: 1px solid #eef1f2;
}

.jxp-modern .jxp-flavor-panels .box2025 {
  display: none;
  float: none;
  width: calc(100% - 24px);
  height: auto;
  margin: 10px 12px 12px;
  padding: 10px 12px;
  border-radius: 9px;
  background: #eef6f1;
  color: #286743;
  line-height: 1.2;
  font-size: 12px;
  font-weight: 750;
}

.jxp-modern .jxp-builder-actions {
  grid-column: 1 / -1;
  float: none;
  width: 100%;
  margin-top: 2px;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  gap: 10px;
}

.jxp-modern .jxp-builder-actions .box63,
.jxp-modern .jxp-builder-actions .box63a,
.jxp-modern .jxp-builder-actions .box68 {
  float: none;
  width: auto;
  min-width: 230px;
  height: auto;
  min-height: 58px;
  margin: 0;
  border-radius: 12px;
}

.jxp-modern .jxp-builder-actions .box63,
.jxp-modern .jxp-builder-actions .box63a {
  display: flex;
  align-items: center;
  background: #2f7f50;
  overflow: hidden;
  box-shadow: 0 9px 18px rgba(47,127,80,.18);
}

.jxp-modern .jxp-builder-actions .box64 {
  float: none;
  width: auto;
  min-width: 104px;
  margin: 7px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 18px;
}

.jxp-modern .jxp-builder-actions .box65,
.jxp-modern .jxp-builder-actions .box65g {
  float: none;
  width: auto;
  height: auto;
  margin: 0;
  padding: 9px 14px 9px 6px;
}

.jxp-modern .jxp-builder-actions .box68 {
  display: flex;
  align-items: center;
  padding-left: 46px;
  background-color: #a91515;
  background-position: 13px center;
}

.jxp-modern .jxp-builder-toolbar {
  float: none;
  width: min(calc(100% - 36px), var(--jxp-container));
  height: auto;
  margin: 0 auto 18px;
  padding: 0;
  border-radius: 0 0 20px 20px;
  background: #171d20;
  background-image: none;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}

.jxp-modern .jxp-builder-toolbar-inner {
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 18px 20px 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
}

.jxp-modern .jxp-builder-control {
  float: none;
  min-width: 210px;
}

.jxp-modern .jxp-control-label {
  margin-bottom: 7px;
  color: #9eabb1;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.jxp-modern .jxp-builder-control .box16,
.jxp-modern .jxp-builder-control .box16a {
  float: none;
  width: 235px;
  height: 58px;
  margin: 0;
  padding-left: 62px;
  border: 1px solid #dfe5e8;
  border-radius: 12px;
  background-color: #fff;
  background-position: 10px center;
  box-shadow: 0 5px 12px rgba(0,0,0,.08);
}

.jxp-modern .jxp-builder-control .box16 label,
.jxp-modern .jxp-builder-control .box16a label {
  margin-top: 11px;
  font-size: 14px;
}

.jxp-modern .jxp-builder-control .box16 small,
.jxp-modern .jxp-builder-control .box16a small {
  color: #68757b;
}

.jxp-modern .jxp-builder-control .box16 .box,
.jxp-modern .jxp-builder-control .box16 .boxb,
.jxp-modern .jxp-builder-control .box16a .boxc {
  top: 56px;
  width: 235px;
  border: 1px solid #dfe5e8;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 14px 28px rgba(0,0,0,.18);
}

.jxp-modern .jxp-builder-toolbar .box2024 {
  float: none;
  width: 100%;
  margin: 0;
}

.jxp-modern .jxp-builder-toolbar .box2024 .box25,
.jxp-modern .jxp-builder-toolbar .box2024 .box26 {
  display: none;
}

.jxp-modern .jxp-builder-stage + .jxp-builder-toolbar + .jxp-catalog {
  padding-top: 10px;
}

.jxp-modern .jxp-pizza-builder-page .jxp-section-title {
  color: #fff;
}

@media (max-width: 980px) {
  .jxp-modern .jxp-builder-workspace {
    grid-template-columns: 1fr;
  }

  .jxp-modern .jxp-pizza-preview-wrap {
    position: relative;
    top: auto;
    margin: 0 auto;
  }

  .jxp-modern .jxp-flavor-panels-4,
  .jxp-modern .jxp-flavor-panels-3 {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .jxp-modern .jxp-builder-actions {
    justify-content: stretch;
  }

  .jxp-modern .jxp-builder-actions .box63,
  .jxp-modern .jxp-builder-actions .box63a,
  .jxp-modern .jxp-builder-actions .box68 {
    flex: 1;
  }
}

@media (max-width: 700px) {
  .jxp-modern .jxp-builder-intro,
  .jxp-modern .jxp-builder-stage,
  .jxp-modern .jxp-builder-toolbar {
    width: calc(100% - 18px);
  }

  .jxp-modern .jxp-builder-intro {
    padding: 20px 18px 22px;
    border-radius: 16px;
  }

  .jxp-modern .jxp-builder-stage {
    padding: 16px;
    border-radius: 16px 16px 0 0;
  }

  .jxp-modern .jxp-pizza-preview-wrap,
  .jxp-modern .jxp-pizza-preview {
    width: 240px;
    height: 240px;
  }

  .jxp-modern .jxp-pizza-preview .areapizza {
    width: 212px;
    height: 212px;
    margin: 14px;
  }

  .jxp-modern .jxp-flavor-panels-4,
  .jxp-modern .jxp-flavor-panels-3,
  .jxp-modern .jxp-flavor-panels-2 {
    grid-template-columns: 1fr;
  }

  .jxp-modern .jxp-builder-actions {
    flex-direction: column;
  }

  .jxp-modern .jxp-builder-toolbar-inner {
    padding: 14px;
    align-items: stretch;
  }

  .jxp-modern .jxp-builder-control,
  .jxp-modern .jxp-builder-control .box16,
  .jxp-modern .jxp-builder-control .box16a {
    width: 100%;
    min-width: 0;
  }

  .jxp-modern .jxp-builder-control .box16 .box,
  .jxp-modern .jxp-builder-control .box16 .boxb,
  .jxp-modern .jxp-builder-control .box16a .boxc {
    width: calc(100% + 2px);
  }
}


/* =========================================================
   JuxtaPED — Montador de Pizza V2
   Corrige sobreposição e melhora visual das fotos por sabor
   ========================================================= */

.jxp-modern .jxp-builder-stage {
  overflow: visible;
}

.jxp-modern .jxp-builder-shell {
  overflow: visible;
}

.jxp-modern .jxp-builder-workspace {
  grid-template-columns: 270px minmax(0, 1fr);
  align-items: start;
}

.jxp-modern .jxp-flavor-panels {
  min-height: 0;
  align-content: start;
}

.jxp-modern .jxp-flavor-panels .box12 {
  min-height: 0;
}

.jxp-modern .jxp-flavor-panels .box2021 {
  min-height: 0;
}

.jxp-modern .jxp-flavor-panels .box14 {
  min-height: 158px;
}

.jxp-modern .jxp-flavor-panels .box42 {
  max-height: none;
  overflow: visible;
}

.jxp-modern .jxp-builder-actions {
  position: static;
  clear: both;
  margin-top: 18px;
}

.jxp-modern .jxp-builder-toolbar {
  position: static;
  margin-top: 0;
}

.jxp-modern .jxp-builder-toolbar-inner {
  position: static;
}

.jxp-modern .jxp-builder-control {
  position: relative;
}

.jxp-modern .jxp-pizza-preview .areapizza1,
.jxp-modern .jxp-pizza-preview .areapizza2,
.jxp-modern .jxp-pizza-preview .areapizza3,
.jxp-modern .jxp-pizza-preview .areapizza4 {
  background-color: transparent;
  transition: background-image .18s ease, filter .18s ease;
}

.jxp-modern .jxp-pizza-preview .areapizza1::after,
.jxp-modern .jxp-pizza-preview .areapizza2::after,
.jxp-modern .jxp-pizza-preview .areapizza3::after,
.jxp-modern .jxp-pizza-preview .areapizza4::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.jxp-modern .jxp-flavor-panels .box43 ul li {
  display: flex;
  align-items: center;
  min-height: 42px;
  gap: 10px;
  line-height: 1.35;
}

.jxp-modern .jxp-flavor-panels .box43 ul li .switch {
  margin-left: auto;
  flex: 0 0 auto;
}

.jxp-modern .jxp-builder-actions .box63,
.jxp-modern .jxp-builder-actions .box63a,
.jxp-modern .jxp-builder-actions .box68 {
  min-height: 60px;
}

@media (max-width: 980px) {
  .jxp-modern .jxp-builder-workspace {
    grid-template-columns: 1fr;
  }

  .jxp-modern .jxp-flavor-panels .box42 {
    max-height: none;
  }
}


/* =========================================================
   JuxtaPED — Montador de Pizza V3
   Acabamento visual e correções de fluxo
   ========================================================= */

/* Mantém todos os blocos do montador no fluxo normal */
.jxp-modern .jxp-builder-stage,
.jxp-modern .jxp-builder-shell,
.jxp-modern .jxp-builder-workspace,
.jxp-modern .jxp-flavor-panels,
.jxp-modern .jxp-builder-toolbar,
.jxp-modern .jxp-builder-toolbar-inner,
.jxp-modern .jxp-builder-actions {
  overflow: visible !important;
}

.jxp-modern .jxp-builder-stage {
  padding-bottom: 20px;
}

.jxp-modern .jxp-builder-workspace {
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 22px;
}

/* Pizza um pouco menor para dar mais espaço aos ingredientes */
.jxp-modern .jxp-pizza-preview-wrap,
.jxp-modern .jxp-pizza-preview {
  width: 250px;
  height: 250px;
}

.jxp-modern .jxp-pizza-preview .areapizza {
  width: 222px;
  height: 222px;
  margin: 14px;
}

/* Cards de sabores */
.jxp-modern .jxp-flavor-panels {
  gap: 12px;
}

.jxp-modern .jxp-flavor-panels-4,
.jxp-modern .jxp-flavor-panels-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jxp-modern .jxp-flavor-panels .box12 {
  min-width: 0;
}

.jxp-modern .jxp-flavor-panels .box2021 {
  min-height: 176px;
  border-radius: 14px;
}

.jxp-modern .jxp-flavor-panels .box13 {
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 9px 12px;
  line-height: 20px;
  overflow: visible;
}

.jxp-modern .jxp-flavor-panels .box13 span {
  float: none;
  margin: 0;
  max-width: calc(100% - 28px);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.jxp-modern .jxp-flavor-panels .box13 i {
  margin-left: auto;
  margin-right: 0;
  flex: 0 0 auto;
}

.jxp-modern .jxp-flavor-panels .box14 {
  min-height: 138px;
  padding: 88px 14px 18px;
  background-position: center 14px !important;
  background-size: 74px auto;
  font-size: 14px;
}

.jxp-modern .jxp-flavor-panels .box42 {
  display: none;
  height: auto !important;
  max-height: none !important;
  padding: 0;
  overflow: visible !important;
}

.jxp-modern .jxp-flavor-panels .box42[style*="display: block"],
.jxp-modern .jxp-flavor-panels .box42[style*="display:block"] {
  display: block !important;
}

.jxp-modern .jxp-flavor-panels .box43 {
  float: none;
  width: 100%;
}

.jxp-modern .jxp-flavor-panels .box43 ul {
  float: none;
}

.jxp-modern .jxp-flavor-panels .box43 ul li {
  min-height: 38px;
  padding: 7px 10px;
  font-size: 12px;
}

.jxp-modern .jxp-flavor-panels .box2025 {
  margin-top: 8px;
}

/* Barra de configuração passa a ser um bloco separado, não sobreposto */
.jxp-modern .jxp-builder-toolbar {
  width: min(calc(100% - 36px), var(--jxp-container));
  margin: 12px auto 22px;
  border-radius: 16px;
  box-shadow: 0 12px 26px rgba(0,0,0,.16);
}

.jxp-modern .jxp-builder-toolbar-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 12px;
  align-items: end;
  padding: 16px;
}

.jxp-modern .jxp-builder-control {
  min-width: 0;
}

.jxp-modern .jxp-builder-control .box16,
.jxp-modern .jxp-builder-control .box16a {
  width: 100%;
  min-width: 0;
  height: 58px;
}

.jxp-modern .jxp-builder-control .box16 .box,
.jxp-modern .jxp-builder-control .box16 .boxb,
.jxp-modern .jxp-builder-control .box16a .boxc {
  width: calc(100% + 2px);
  z-index: 100050;
}

/* Botões ficam numa segunda linha previsível */
.jxp-modern .jxp-builder-actions {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 2px;
  display: grid;
  grid-template-columns: minmax(250px, 1.15fr) minmax(210px, .85fr);
  gap: 10px;
}

.jxp-modern .jxp-builder-actions .box63,
.jxp-modern .jxp-builder-actions .box63a,
.jxp-modern .jxp-builder-actions .box68 {
  width: 100%;
  min-width: 0;
  min-height: 58px;
}

.jxp-modern .jxp-builder-actions .box63,
.jxp-modern .jxp-builder-actions .box63a {
  justify-content: flex-start;
}

.jxp-modern .jxp-builder-actions .box68 {
  justify-content: flex-start;
}

/* Evita textos auxiliares antigos aparecendo por baixo dos selects */
.jxp-modern .jxp-builder-toolbar .box25,
.jxp-modern .jxp-builder-toolbar .box26,
.jxp-modern .jxp-builder-toolbar .box2024 {
  display: none !important;
}

/* Espaçamento antes da seção de bebidas */
.jxp-modern.jxp-pizza-builder-page .jxp-catalog {
  padding-top: 8px;
}

.jxp-modern.jxp-pizza-builder-page .jxp-section-head {
  margin-top: 0;
}

/* Dropdowns mais legíveis */
.jxp-modern .jxp-builder-control .boxb ul li,
.jxp-modern .jxp-builder-control .box ul li,
.jxp-modern .jxp-builder-control .boxc ul li {
  min-height: 58px;
  padding: 8px;
}

.jxp-modern .jxp-builder-control .boxb ul li label,
.jxp-modern .jxp-builder-control .box ul li label,
.jxp-modern .jxp-builder-control .boxc ul li label {
  margin-top: 6px;
}

.jxp-modern .jxp-builder-control .boxb ul li small,
.jxp-modern .jxp-builder-control .box ul li small,
.jxp-modern .jxp-builder-control .boxc ul li small {
  color: #6f7c82;
}

/* Responsivo */
@media (max-width: 980px) {
  .jxp-modern .jxp-builder-workspace {
    grid-template-columns: 1fr;
  }

  .jxp-modern .jxp-pizza-preview-wrap {
    margin: 0 auto 6px;
  }

  .jxp-modern .jxp-builder-toolbar-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jxp-modern .jxp-builder-actions {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .jxp-modern .jxp-builder-stage,
  .jxp-modern .jxp-builder-toolbar {
    width: calc(100% - 18px);
  }

  .jxp-modern .jxp-builder-workspace {
    gap: 16px;
  }

  .jxp-modern .jxp-pizza-preview-wrap,
  .jxp-modern .jxp-pizza-preview {
    width: 230px;
    height: 230px;
  }

  .jxp-modern .jxp-pizza-preview .areapizza {
    width: 204px;
    height: 204px;
    margin: 13px;
  }

  .jxp-modern .jxp-builder-toolbar-inner,
  .jxp-modern .jxp-builder-actions {
    grid-template-columns: 1fr;
  }

  .jxp-modern .jxp-flavor-panels-4,
  .jxp-modern .jxp-flavor-panels-3,
  .jxp-modern .jxp-flavor-panels-2,
  .jxp-modern .jxp-flavor-panels-1 {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   JuxtaPED Modern UI - V4
   Revisão final Home / Header / Carrinho / Footer
   ========================================================= */

/* HEADER: hierarquia mais clara */
.jxp-modern .jxp-header-inner {
  position: relative;
}

.jxp-modern .jxp-account {
  right: 360px;
}

.jxp-modern .jxp-account-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 7px 12px 7px 8px;
  border: 1px solid transparent;
  border-radius: 13px;
  text-decoration: none;
  transition: .18s ease;
}

.jxp-modern .jxp-account-link:hover {
  background: #f6f8f7;
  border-color: #e6e9e7;
}

.jxp-modern .jxp-account-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: #edf6f0;
  color: var(--jxp-accent);
  font-size: 18px;
}

.jxp-modern .jxp-account-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.15;
}

.jxp-modern .jxp-account-copy strong {
  max-width: 160px;
  overflow: hidden;
  color: #283039;
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.jxp-modern .jxp-account-copy small {
  margin-top: 4px;
  color: #7c858d;
  font-size: 11px;
}

/* CARRINHO: resumo sempre compacto, painel fechado por padrão */
.jxp-modern .jxp-cart {
  width: 340px;
  top: 15px;
}

.jxp-modern .jxp-cart-summary {
  min-height: 62px;
  padding: 6px;
  gap: 6px;
  transition: transform .18s ease, box-shadow .18s ease;
}

.jxp-modern .jxp-cart-summary.jxp-cart-added {
  transform: translateY(-2px);
  box-shadow:
    0 12px 26px rgba(47,125,74,.24),
    0 0 0 3px rgba(47,125,74,.10);
}

.jxp-modern .jxp-cart-total {
  width: 103px;
  min-width: 103px;
  padding: 7px 9px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.05;
}

.jxp-modern .jxp-cart-total small {
  margin-bottom: 4px;
  color: #84908a;
  font-size: 9px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.jxp-modern .jxp-cart-total strong {
  color: var(--jxp-accent-dark);
  font-size: 14px;
  white-space: nowrap;
}

.jxp-modern .jxp-checkout-link {
  min-width: 0;
  flex: 1;
  text-decoration: none;
}

.jxp-modern .jxp-checkout-link .box23 {
  height: 48px;
  margin: 0;
  padding: 7px 4px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  line-height: 1.12;
}

.jxp-modern .jxp-checkout-link .box23 strong {
  color: #fff;
  font-size: 13px;
}

.jxp-modern .jxp-checkout-link .box23 small {
  margin-top: 3px;
  color: rgba(255,255,255,.72);
  font-size: 10px;
}

.jxp-modern .jxp-cart-toggle {
  position: relative;
  flex: 0 0 46px;
  margin: 0;
  padding: 0;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
}

.jxp-modern .jxp-cart-toggle i {
  font-size: 19px;
}

.jxp-modern .jxp-cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--jxp-accent);
  border-radius: 999px;
  background: #fff;
  color: var(--jxp-primary);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.jxp-modern .jxp-cart-panel {
  display: none;
  top: 70px;
  right: 0;
  width: 390px;
  max-height: min(470px, calc(100vh - 170px));
  padding: 0;
  overflow: hidden;
  border: 1px solid #e3e6e8;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(20,26,33,.18);
}

.jxp-modern .jxp-cart-panel.is-open {
  display: flex;
  flex-direction: column;
}

.jxp-modern .jxp-cart-panel-head {
  flex: 0 0 auto;
  padding: 15px 16px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #edf0f1;
}

.jxp-modern .jxp-cart-panel-head > div {
  display: flex;
  flex-direction: column;
}

.jxp-modern .jxp-cart-panel-head strong {
  color: #222a30;
  font-size: 15px;
}

.jxp-modern .jxp-cart-panel-head small {
  margin-top: 3px;
  color: #899198;
  font-size: 11px;
}

.jxp-modern .jxp-cart-close {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: #f3f5f5;
  color: #69737a;
  cursor: pointer;
}

.jxp-modern .jxp-cart-panel > ul {
  flex: 1 1 auto;
  margin: 0;
  padding: 4px 14px;
  overflow-y: auto;
}

.jxp-modern .jxp-cart-panel > ul > li[data-cart-row] {
  min-height: 60px;
  padding: 10px 0;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #edf0f1;
}

.jxp-modern .jxp-cart-panel > ul > li:last-child {
  border-bottom: 0;
}

.jxp-modern .jxp-cart-panel .carrinho0 {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  margin-right: 10px;
  border-radius: 10px;
}

.jxp-modern .jxp-cart-panel .carrinho0 img {
  width: 42px !important;
  height: 42px !important;
  object-fit: cover;
}

.jxp-modern .jxp-cart-panel .carrinho1 {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  padding-right: 8px;
}

.jxp-modern .jxp-cart-panel .carrinho1 span,
.jxp-modern .jxp-cart-panel .carrinho1 p {
  color: #30383e;
  font-size: 12px;
  line-height: 1.35;
}

.jxp-modern .jxp-cart-panel .carrinho1 i {
  display: block;
  margin-top: 2px;
  color: #7b858c;
  font-size: 10px;
  line-height: 1.3;
}

.jxp-modern .jxp-cart-panel .carrinho2 {
  flex: 0 0 auto;
  width: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

.jxp-modern .jxp-cart-empty {
  padding: 32px 18px !important;
  color: #808a91;
  text-align: center;
  font-size: 13px;
}

.jxp-modern .jxp-cart-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef1f2;
  color: #8b969c;
  font-size: 17px;
}

.jxp-modern .jxp-cart-panel-footer {
  flex: 0 0 auto;
  padding: 11px 12px 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  border-top: 1px solid #edf0f1;
  background: #fafbfb;
}

.jxp-modern .jxp-cart-review-link,
.jxp-modern .jxp-cart-finish-link {
  min-height: 40px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
}

.jxp-modern .jxp-cart-review-link {
  border: 1px solid #dfe4e2;
  background: #fff;
  color: #425049;
}

.jxp-modern .jxp-cart-finish-link {
  background: var(--jxp-accent);
  color: #fff;
}

/* PLACEHOLDER neutro para produtos sem foto */
.jxp-modern .jxp-product-placeholder {
  width: 100%;
  height: 100%;
  min-height: 145px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background:
    radial-gradient(circle at 50% 25%, rgba(47,125,74,.10), transparent 42%),
    #eef1f2;
  color: #879198;
}

.jxp-modern .jxp-product-placeholder i {
  font-size: 30px;
  color: #74837b;
}

.jxp-modern .jxp-product-placeholder span {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* MENU MOBILE: conta e navegação separadas das categorias */
.jxp-modern .jxp-mobile-menu .sub-menu {
  padding-bottom: 24px;
}

.jxp-modern .jxp-mobile-menu-links i {
  width: 22px;
  margin-right: 5px;
  color: var(--jxp-accent);
  text-align: center;
}

.jxp-modern .jxp-mobile-menu-separator {
  margin: 14px 18px 6px;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,.08);
  color: #899198;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .09em;
}

/* FOOTER: atendimento atual e CTA de WhatsApp */
.jxp-modern .jxp-footer-eyebrow {
  display: block;
  margin-bottom: 6px;
  color: #82c796;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.jxp-modern .jxp-footer-whatsapp-card {
  text-decoration: none;
}

.jxp-modern .jxp-footer-whatsapp-card:hover .jxp-footer-card-body {
  background: #28322d;
}

.jxp-modern .jxp-footer-whatsapp-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #238b4b;
  color: #fff;
  font-size: 25px;
}

.jxp-modern .jxp-footer-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
}

.jxp-modern .jxp-footer-card .box90 {
  display: flex;
  flex-direction: column;
}

.jxp-modern .jxp-footer-card .box90 strong {
  font-size: 13px;
  font-weight: 750;
}

.jxp-modern .jxp-footer-card .box90 small {
  margin-top: 3px;
  color: #9ea8ae;
  font-size: 11px;
}

.jxp-modern .jxp-footer-bottom {
  display: flex;
  justify-content: center;
  gap: 5px;
  flex-wrap: wrap;
  text-align: center;
}

/* RESPONSIVO */
@media (max-width: 1080px) {
  .jxp-modern .jxp-account {
    right: 350px;
  }

  .jxp-modern .jxp-account-copy small {
    display: none;
  }
}

@media (max-width: 820px) {
  .jxp-modern .jxp-account {
    display: none;
  }

  .jxp-modern .jxp-cart {
    width: 190px;
    top: 8px;
  }

  .jxp-modern .jxp-cart-total {
    width: 98px;
    min-width: 98px;
  }

  .jxp-modern .jxp-checkout-link .box23 {
    display: none;
  }

  .jxp-modern .jxp-cart-panel {
    top: 62px;
    width: min(390px, calc(100vw - 24px));
  }
}

@media (max-width: 560px) {
  .jxp-modern .jxp-cart {
    position: fixed;
    left: 9px;
    right: 9px;
    bottom: 9px;
    top: auto;
    width: auto;
  }

  .jxp-modern .jxp-cart-summary {
    min-height: 58px;
  }

  .jxp-modern .jxp-cart-total {
    width: 105px;
    min-width: 105px;
  }

  .jxp-modern .jxp-checkout-link .box23 {
    display: flex;
    padding-left: 8px;
  }

  .jxp-modern .jxp-checkout-link .box23 small {
    display: none;
  }

  .jxp-modern .jxp-cart-panel {
    left: 0;
    right: 0;
    bottom: 66px;
    top: auto;
    width: 100%;
    max-height: min(58vh, 460px);
    border-radius: 16px;
  }

  .jxp-modern .jxp-cart-panel-footer {
    grid-template-columns: 1fr;
  }

  .jxp-modern .jxp-footer-main {
    padding-bottom: 20px;
  }
}


/* =========================================================
   JuxtaPED V4.1 - Correção do resumo do carrinho
   ========================================================= */
.jxp-modern .jxp-cart-panel-footer {
  grid-template-columns: 1fr;
}

.jxp-modern .jxp-cart-panel-footer .jxp-cart-finish-link {
  width: 100%;
  min-height: 44px;
  font-size: 12px;
}

.jxp-modern .jxp-cart-panel-head small {
  display: block;
}

.jxp-modern #jxp-cart-count-text {
  font-weight: 800;
  color: var(--jxp-accent);
}

.jxp-modern .jxp-cart-badge {
  z-index: 2;
}


/* =========================================================
   JuxtaPED V4.2 - Carrinho resumido
   Apenas total + quantidade. Sem lista flutuante.
   ========================================================= */
.jxp-modern .jxp-cart-panel,
.jxp-modern .box61 {
  display: none !important;
}

.jxp-modern .jxp-cart-count-only {
  position: relative;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--jxp-accent-dark) !important;
  background-image: none !important;
  background-repeat: no-repeat !important;
  color: #fff;
}

.jxp-modern .jxp-cart-count-only:before,
.jxp-modern .jxp-cart-count-only:after {
  content: none !important;
  display: none !important;
}

.jxp-modern .jxp-cart-count-only i {
  display: block;
  position: static;
  margin: 0;
  color: #fff;
  font-size: 19px;
  line-height: 1;
}

.jxp-modern .jxp-cart-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  border: 2px solid var(--jxp-accent);
  border-radius: 999px;
  background: #fff;
  color: var(--jxp-primary);
  font-size: 10px;
  font-weight: 800;
  line-height: 17px;
  text-align: center;
}

@media (max-width: 560px) {
  .jxp-modern .jxp-cart-count-only {
    flex-basis: 46px;
  }
}


/* =========================================================
   JuxtaPED V4.3 — Menu da conta do cliente
   Recupera Minha conta / Meus pedidos / Sair sem voltar ao
   cabeçalho legado e sem ocupar espaço permanente no topo.
   ========================================================= */
.jxp-modern .jxp-account-menu {
  position: relative;
  margin: 0;
  padding: 0;
}

.jxp-modern .jxp-account-menu > summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.jxp-modern .jxp-account-menu > summary::-webkit-details-marker {
  display: none;
}

.jxp-modern .jxp-account-menu .jxp-account-link {
  padding-right: 8px;
}

.jxp-modern .jxp-account-chevron {
  width: 22px;
  height: 22px;
  margin-left: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: #7d8983;
  font-size: 13px;
  transition: transform .18s ease, background .18s ease;
}

.jxp-modern .jxp-account-menu[open] .jxp-account-chevron {
  transform: rotate(180deg);
  background: #eaf2ed;
}

.jxp-modern .jxp-account-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 100080;
  width: 280px;
  padding: 8px;
  border: 1px solid #e2e7e4;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(22,31,27,.18);
}

.jxp-modern .jxp-account-dropdown:before {
  content: "";
  position: absolute;
  top: -6px;
  right: 28px;
  width: 11px;
  height: 11px;
  border-left: 1px solid #e2e7e4;
  border-top: 1px solid #e2e7e4;
  background: #fff;
  transform: rotate(45deg);
}

.jxp-modern .jxp-account-dropdown-head {
  padding: 9px 10px 11px;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #edf0ee;
}

.jxp-modern .jxp-account-dropdown-head strong {
  overflow: hidden;
  color: #27322c;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.jxp-modern .jxp-account-dropdown-head small {
  margin-top: 3px;
  color: #88928d;
  font-size: 10px;
}

.jxp-modern .jxp-account-option {
  min-height: 54px;
  padding: 8px 9px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 10px;
  color: #33403a;
  text-decoration: none;
  transition: background .15s ease;
}

.jxp-modern .jxp-account-option:hover {
  background: #f2f7f4;
}

.jxp-modern .jxp-account-option > span {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #eaf5ee;
  color: #2f8a55;
  font-size: 15px;
}

.jxp-modern .jxp-account-option > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.jxp-modern .jxp-account-option strong {
  color: #303b35;
  font-size: 12px;
  font-weight: 800;
}

.jxp-modern .jxp-account-option small {
  margin-top: 3px;
  color: #86918b;
  font-size: 10px;
}

.jxp-modern .jxp-account-divider {
  height: 1px;
  margin: 5px 7px;
  background: #edf0ee;
}

.jxp-modern .jxp-account-logout > span {
  background: #fff0f0;
  color: #bb2a2f;
}

.jxp-modern .jxp-account-logout:hover {
  background: #fff6f6;
}

@media (max-width: 820px) {
  .jxp-modern .jxp-account-dropdown {
    display: none;
  }
}
