/* Tabela de Preços 2027 — Glassmorphism, Neon Aurora, Category Chips & Expand/Collapse */
.price-table-section {
  position: relative;
  z-index: 5;
  max-width: none;
  padding-left: max(25px, calc((100% - 1130px) / 2));
  padding-right: max(25px, calc((100% - 1130px) / 2));
  background:
    radial-gradient(circle at 15% 20%, rgba(245, 43, 131, 0.14), transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(100, 37, 168, 0.22), transparent 50%),
    #0c0b10;
  border-top: 1px solid rgba(255, 119, 181, 0.12);
  border-bottom: 1px solid rgba(100, 37, 168, 0.24);
  overflow: hidden;
}

.price-shell-2027 {
  max-width: 1130px;
  margin: 0 auto;
  border-radius: 28px;
  background: linear-gradient(165deg, rgba(26, 22, 36, 0.92) 0%, rgba(14, 12, 20, 0.96) 100%);
  border: 1px solid rgba(255, 119, 181, 0.26);
  box-shadow:
    0 26px 65px rgba(0, 0, 0, 0.65),
    -8px 8px 0 rgba(100, 37, 168, 0.65),
    8px -8px 0 rgba(245, 43, 131, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(20px);
  overflow: hidden;
}

.price-shell-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px 28px;
  background: linear-gradient(90deg, rgba(100, 37, 168, 0.24), rgba(245, 43, 131, 0.14));
  border-bottom: 1px solid rgba(255, 119, 181, 0.18);
}

.price-shell-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 99px;
  background: rgba(9, 9, 11, 0.65);
  border: 1px solid rgba(255, 119, 181, 0.35);
  color: var(--pink-soft, #ffd2e5);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.11em;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink, #f52b83);
  box-shadow: 0 0 10px var(--pink, #f52b83);
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.65; }
}

.price-search-box {
  flex: 0 1 320px;
  min-width: 220px;
}

.price-search-box input {
  width: 100%;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 119, 181, 0.3);
  background: rgba(9, 9, 11, 0.75);
  color: #fff;
  font: 700 0.94rem Nunito, Arial, sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.price-search-box input::placeholder {
  color: rgba(184, 178, 194, 0.75);
}

.price-search-box input:focus {
  outline: none;
  border-color: var(--pink-light, #ff77b5);
  box-shadow: 0 0 0 3px rgba(245, 43, 131, 0.25);
}

/* Píldoras de categorias rápidas */
.price-category-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(9, 9, 11, 0.45);
  border-bottom: 1px solid rgba(255, 119, 181, 0.16);
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(245, 43, 131, 0.4) transparent;
}

.price-cat-pill {
  flex-shrink: 0;
  border: 1px solid rgba(255, 119, 181, 0.28);
  border-radius: 99px;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.04);
  color: #e6e0ef;
  font: 800 0.85rem Nunito, Arial, sans-serif;
  cursor: pointer;
  transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.price-cat-pill:hover {
  background: rgba(245, 43, 131, 0.16);
  border-color: var(--pink-light, #ff77b5);
  transform: translateY(-1px);
}

.price-cat-pill.is-active {
  background: linear-gradient(135deg, var(--pink, #f52b83), var(--purple, #6425a8));
  border-color: var(--pink-light, #ff77b5);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(245, 43, 131, 0.35);
}

.price-table-wrapper {
  position: relative;
  width: 100%;
  overflow-x: auto;
}

.price-table-wrapper.is-collapsed::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 64px;
  background: linear-gradient(to bottom, rgba(16, 14, 24, 0), rgba(14, 12, 20, 0.96));
  pointer-events: none;
}

.price-expand-bar {
  display: flex;
  justify-content: center;
  padding: 14px 24px;
  background: rgba(14, 12, 20, 0.92);
  border-top: 1px solid rgba(255, 119, 181, 0.16);
}

.price-expand-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 99px;
  border: 1px solid rgba(255, 119, 181, 0.48);
  background: linear-gradient(135deg, rgba(100, 37, 168, 0.42), rgba(245, 43, 131, 0.28));
  color: #ffffff;
  font: 900 0.92rem Nunito, Arial, sans-serif;
  cursor: pointer;
  box-shadow: -3px 3px 0 var(--purple, #6425a8);
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.price-expand-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--pink, #f52b83), var(--purple, #6425a8));
  box-shadow: -5px 5px 0 var(--purple, #6425a8);
}

.price-table-2027 {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.price-table-2027 thead th {
  padding: 16px 24px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--pink-light, #ff77b5);
  background: rgba(9, 9, 11, 0.55);
  border-bottom: 1px solid rgba(255, 119, 181, 0.2);
}

.price-table-2027 thead th.action-col {
  text-align: right;
}

.price-table-2027 tbody tr {
  transition: background-color 0.18s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.price-table-2027 tbody tr.pt-group-end {
  border-bottom: 1px solid rgba(255, 119, 181, 0.22);
}

.price-table-2027 tbody tr:hover {
  background: rgba(245, 43, 131, 0.07);
}

.price-table-2027 td {
  padding: 15px 24px;
  vertical-align: middle;
}

.price-table-2027 td.pt-category {
  font-family: 'Baloo 2', cursive, sans-serif;
  font-size: 1.16rem;
  font-weight: 800;
  color: #ffffff;
  background: rgba(100, 37, 168, 0.11);
  border-right: 1px solid rgba(255, 119, 181, 0.14);
  width: 32%;
  line-height: 1.25;
}

.pt-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.price-table-2027 td.pt-item {
  color: #e9e4f0;
  font-size: 1.02rem;
  font-weight: 700;
  width: 36%;
}

.pt-item-inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.pt-bullet {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink, #f52b83), var(--pink-light, #ff77b5));
  box-shadow: 0 0 8px rgba(245, 43, 131, 0.8);
  flex-shrink: 0;
}

.price-table-2027 td.pt-price {
  width: 18%;
  white-space: nowrap;
}

.pt-price-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 99px;
  font-weight: 900;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}

.pt-price-pill.is-currency {
  background: linear-gradient(135deg, rgba(245, 43, 131, 0.22), rgba(100, 37, 168, 0.35));
  color: #ffffff;
  border: 1px solid rgba(255, 119, 181, 0.45);
  box-shadow: 0 4px 15px rgba(245, 43, 131, 0.2);
}

.pt-price-pill.is-consult {
  background: rgba(100, 37, 168, 0.25);
  color: var(--pink-soft, #ffd2e5);
  border: 1px dashed rgba(255, 119, 181, 0.45);
  font-size: 0.88rem;
}

.price-table-2027 td.pt-action {
  text-align: right;
  width: 14%;
  white-space: nowrap;
}

.pt-order-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 119, 181, 0.3);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.pt-order-btn:hover {
  background: var(--pink, #f52b83);
  border-color: var(--pink, #f52b83);
  transform: translateY(-2px);
  box-shadow: -3px 3px 0 var(--purple, #6425a8);
}

.pt-empty-state {
  padding: 36px 24px;
  text-align: center;
  color: var(--muted, #b8b2c2);
  font-weight: 700;
}

.price-shell-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding: 22px 28px;
  background: linear-gradient(90deg, rgba(245, 43, 131, 0.16), rgba(100, 37, 168, 0.28));
  border-top: 1px solid rgba(255, 119, 181, 0.28);
}

.price-mimo-banner {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-radius: 14px;
  background: rgba(9, 9, 11, 0.65);
  border: 1px solid rgba(255, 210, 229, 0.35);
  color: #fff;
  font-size: 1.05rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.price-mimo-sparkle {
  color: var(--pink-light, #ff77b5);
  font-size: 1.2rem;
}

.price-footer-cta {
  text-decoration: none;
  padding: 12px 22px;
  font-size: 0.98rem;
}

@media (max-width: 760px) {
  .price-shell-2027 {
    border-radius: 22px;
    box-shadow:
      0 18px 40px rgba(0, 0, 0, 0.6),
      -5px 5px 0 rgba(100, 37, 168, 0.65),
      5px -5px 0 rgba(245, 43, 131, 0.45);
  }

  .price-shell-toolbar {
    padding: 16px 18px;
  }

  .price-search-box {
    flex: 1 1 100%;
  }

  .price-category-pills {
    padding: 10px 16px;
  }

  .price-table-2027 thead {
    display: none;
  }

  .price-table-2027,
  .price-table-2027 tbody {
    display: block;
    width: 100%;
  }

  .price-table-2027 tbody tr {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 16px;
  }

  .price-table-2027 tbody tr.pt-group-start {
    padding-top: 16px;
  }

  .price-table-2027 td {
    padding: 0;
    width: auto !important;
  }

  .price-table-2027 td.pt-category {
    flex: 1 1 100%;
    padding: 10px 14px;
    margin-bottom: 4px;
    border-radius: 12px;
    border-right: 0;
    border: 1px solid rgba(255, 119, 181, 0.24);
    background: linear-gradient(90deg, rgba(100, 37, 168, 0.32), rgba(245, 43, 131, 0.14));
    font-size: 1.08rem;
  }

  .price-table-2027 td.pt-item {
    flex: 1 1 100%;
    font-size: 0.96rem;
    padding-left: 4px;
  }

  .price-table-2027 td.pt-price {
    padding-left: 16px;
  }

  .price-table-2027 td.pt-action {
    margin-left: auto;
  }

  .price-shell-footer {
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .price-mimo-banner {
    justify-content: center;
    font-size: 0.95rem;
  }

  .price-footer-cta {
    text-align: center;
  }
}


/* =========================================================
   Oferta do Dia — Modal Flutuante 2027 & Gatilho de Compra
   ========================================================= */
.daily-offer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(6, 5, 10, 0.78);
  backdrop-filter: blur(12px);
  animation: offer-backdrop-fade 0.25s ease-out;
}

.daily-offer-backdrop[hidden] {
  display: none !important;
}

@keyframes offer-backdrop-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes offer-card-pop {
  from { opacity: 0; transform: translateY(18px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.daily-offer-card {
  --offer-accent-1: #f52b83;
  --offer-accent-2: #6425a8;
  --offer-glow: rgba(245, 43, 131, 0.42);
  --offer-badge-bg: rgba(245, 43, 131, 0.22);
  --offer-badge-text: #ffd2e5;
  position: relative;
  width: min(440px, 100%);
  padding: 28px 26px 24px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 0%, var(--offer-glow), transparent 62%),
    linear-gradient(170deg, #1b1726 0%, #0f0d16 100%);
  border: 2px solid var(--offer-accent-1);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.75),
    -7px 7px 0 var(--offer-accent-2),
    7px -7px 0 var(--offer-accent-1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  color: #ffffff;
  text-align: center;
  animation: offer-card-pop 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Temas visuais para o Administrador escolher sem precisar de CSS */
.daily-offer-card[data-offer-theme="pink"] {
  --offer-accent-1: #f52b83;
  --offer-accent-2: #6425a8;
  --offer-glow: rgba(245, 43, 131, 0.4);
  --offer-badge-bg: rgba(245, 43, 131, 0.24);
  --offer-badge-text: #ffd2e5;
}

.daily-offer-card[data-offer-theme="gold"] {
  --offer-accent-1: #ffb800;
  --offer-accent-2: #9c5100;
  --offer-glow: rgba(255, 184, 0, 0.36);
  --offer-badge-bg: rgba(255, 184, 0, 0.22);
  --offer-badge-text: #ffe999;
}

.daily-offer-card[data-offer-theme="sunset"] {
  --offer-accent-1: #ff5722;
  --offer-accent-2: #f52b83;
  --offer-glow: rgba(255, 87, 34, 0.38);
  --offer-badge-bg: rgba(255, 87, 34, 0.24);
  --offer-badge-text: #ffd0bd;
}

.daily-offer-card[data-offer-theme="purple"] {
  --offer-accent-1: #a855f7;
  --offer-accent-2: #ec4899;
  --offer-glow: rgba(168, 85, 247, 0.42);
  --offer-badge-bg: rgba(168, 85, 247, 0.25);
  --offer-badge-text: #f3e8ff;
}

.daily-offer-card[data-offer-theme="emerald"] {
  --offer-accent-1: #10b981;
  --offer-accent-2: #047857;
  --offer-glow: rgba(16, 185, 129, 0.36);
  --offer-badge-bg: rgba(16, 185, 129, 0.22);
  --offer-badge-text: #d1fae5;
}

.daily-offer-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(9, 9, 11, 0.7);
  color: #ffffff;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.daily-offer-close:hover {
  background: var(--offer-accent-1);
  transform: scale(1.08);
}

.daily-offer-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
  padding-right: 28px;
  padding-left: 28px;
}

.daily-offer-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 99px;
  background: var(--offer-badge-bg);
  border: 1px solid var(--offer-accent-1);
  color: var(--offer-badge-text);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.daily-offer-counter {
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  color: #e4e0ec;
  font-size: 0.75rem;
  font-weight: 800;
}

.daily-offer-icon {
  font-size: 3.1rem;
  line-height: 1.1;
  margin: 6px 0 10px;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.45));
}

.daily-offer-title {
  font-family: 'Baloo 2', cursive, sans-serif;
  font-size: clamp(1.55rem, 4.5vw, 1.95rem);
  line-height: 1.1;
  margin: 0 0 8px;
  color: #ffffff;
}

.daily-offer-subtitle {
  margin: 0 auto 16px;
  max-width: 360px;
  color: #d4cee0;
  font-size: 0.98rem;
  line-height: 1.45;
}

.daily-offer-pricing {
  margin: 14px 0;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(9, 9, 11, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.daily-offer-old-price {
  display: block;
  color: #a69fb5;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: line-through;
  margin-bottom: 2px;
}

.daily-offer-price-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
}

.daily-offer-price-wrap small {
  color: var(--offer-badge-text);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.daily-offer-price {
  font-family: 'Baloo 2', cursive, sans-serif;
  font-size: clamp(2rem, 6vw, 2.55rem);
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 2px 16px var(--offer-glow);
}

.daily-offer-note {
  margin: 10px 0 16px;
  color: var(--offer-badge-text);
  font-size: 0.9rem;
  font-weight: 800;
}

.daily-offer-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--offer-accent-1), var(--offer-accent-2));
  color: #ffffff !important;
  font-size: 1.04rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 25px var(--offer-glow);
  transition: transform 0.18s ease, filter 0.18s ease;
}

.daily-offer-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.daily-offer-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.daily-offer-nav-btn {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font: 800 0.85rem Nunito, Arial, sans-serif;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

.daily-offer-nav-btn.next-btn {
  background: var(--offer-badge-bg);
  border-color: var(--offer-accent-1);
}

.daily-offer-nav-btn:hover {
  background: var(--offer-accent-1);
  border-color: var(--offer-accent-1);
}

.daily-offer-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.daily-offer-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: width 0.2s ease, background-color 0.2s ease;
}

.daily-offer-dots button.is-active {
  width: 22px;
  background: var(--offer-accent-1);
}

.daily-offer-floating-trigger {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 99px;
  border: 1px solid rgba(255, 119, 181, 0.55);
  background: linear-gradient(135deg, #f52b83, #6425a8);
  color: #ffffff;
  font: 900 0.92rem Nunito, Arial, sans-serif;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55), -3px 3px 0 #3f176d;
  transition: transform 0.2s ease;
}

.daily-offer-floating-trigger:hover {
  transform: translateY(-3px) scale(1.03);
}

body:has(.daily-offer-backdrop:not([hidden])) {
  overflow: hidden;
}
