.te-of-wrap {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 0px;
  color: #0a0a0a;
}

/* ---------- FILTRE ---------- */
.te-of-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
}
.te-of-chip {
  appearance: none;
  background: #fff;
  color: #1a1a1a;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  height: 40px;
  padding: 0 16px;
  font: 600 13px/1 "Inter", sans-serif;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.2s ease;
}
.te-of-chip:hover { border-color: #5fb4d9; color: #5fb4d9; }
.te-of-chip.is-on { background: #0e2a3a; color: #fff; border-color: #0e2a3a; }
.te-of-count { margin-left: auto; color: #6b7280; font-size: 12.5px; font-weight: 500; }

/* ---------- GRID ---------- */
.te-of-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) { .te-of-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .te-of-grid { grid-template-columns: repeat(3, 1fr); } }

.te-of-empty {
  padding: 40px;
  text-align: center;
  border: 1px dashed #e5e7eb;
  border-radius: 12px;
  background: #fff;
  color: #6b7280;
  font-size: 14px;
}

/* ---------- CARD ---------- */
.te-of-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #f7f9fb;
  border: 1px solid #f1f1f1;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}
.te-of-card:hover {
  border-color: #5fb4d9;
  box-shadow: 0 24px 48px -24px rgba(14, 42, 58, 0.2);
  transform: translateY(-4px);
}
.te-of-card:focus-visible { outline: 2px solid #5fb4d9; outline-offset: 2px; }
.te-of-card.is-hidden { display: none; }

.te-of-card__stripe { height: 6px; width: 100%; }
.te-of-card__stripe--flash { background: #D92232 /*linear-gradient(90deg, #dc2626, #ef4444, #f97316)*/; }
.te-of-card__stripe--extended { background: #D92232 /*linear-gradient(90deg, #5fb4d9, #0e2a3a)*/; }

.te-of-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.te-of-card__topmeta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }

.te-of-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  /*padding: 4px 10px;*/
  border-radius: 999px;
  font: 700 10.5px/1 "Inter", sans-serif;
  letter-spacing: 0.15em;
}
.te-of-pill--flash { /*background: #fef2f2;*/ color: #D92232; }
.te-of-pill--extended { /*background: #eaf6fb;*/ color: #D92232; }

.te-of-brand {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid transparent;
  font: 800 11px/1 "Inter", sans-serif;
  letter-spacing: 0.05em;
}
.te-of-brand--sub { background: #f3f4f6; color: #374151; border-color: #e5e7eb; }

.te-of-card__title {
  margin: 0;
  font: 800 18px/1.3 "Inter", sans-serif;
  color: #0a0a0a;
  letter-spacing: -0.01em;
}
.te-of-card__period { margin-top: 12px; color: #6b7280; font-size: 13px; }
.te-of-card__teaser { margin-top: 12px; color: #4b5563; font-size: 14px; line-height: 1.65; flex: 1; }

.te-of-card__bottom {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #f3f4f6;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.te-of-card__hl-value { font: 800 28px/1 "Inter", sans-serif; letter-spacing: -0.02em; }
.te-of-card__hl-label { margin-top: 4px; color: #6b7280; font-size: 12px; font-weight: 500; }
.te-of-card__cta {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #5fb4d9;
  font: 700 13px/1 "Inter", sans-serif;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}
.te-of-card:hover .te-of-card__cta { color: #0e2a3a; }

/* ---------- STATUS / COUNTDOWN ---------- */
.te-of-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid;
  font: 700 11px/1 "Inter", sans-serif;
  letter-spacing: 0.05em;
}
.te-of-badge--active   { background: #f0fdf4; color: #15803d; border-color: #bbf7d0; }
.te-of-badge--upcoming { background: #fffbeb; color: #b45309; border-color: #fde68a; }
.te-of-badge--expired  { background: #f3f4f6; color: #6b7280; border-color: #e5e7eb; }

.te-of-countdown {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #d92231;
  font: 700 12.5px/1 "Inter", sans-serif;
  font-variant-numeric: tabular-nums;
}
.te-of-countdown--compact { padding: 4px 0; background: transparent; border: 0; }

/* ---------- MODAL ---------- */
.te-of-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.te-of-modal.is-open { display: flex; }
.te-of-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
}
.te-of-modal__panel {
  position: relative;
  width: 100%;
  max-width: 760px;
  max-height: 92vh;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 32px 64px -16px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: te-of-pop 0.22s ease-out;
}
@keyframes te-of-pop {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}
.te-of-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  appearance: none;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(0,0,0,0.04);
  border: 0;
  font-size: 22px;
  line-height: 1;
  color: #1a1a1a;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s;
}
.te-of-modal__close:hover { background: rgba(0,0,0,0.08); }
.te-of-modal__content { display: flex; flex-direction: column; flex: 1; overflow: hidden; }

.te-of-detail__header {
  padding: 24px 56px 20px 24px;
  border-bottom: 1px solid #f1f1f1;
  background: #fff;
}
.te-of-detail__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.te-of-detail__title { margin: 0; font: 800 24px/1.2 "Inter", sans-serif; letter-spacing: -0.015em; color: #0a0a0a; }
.te-of-detail__meta { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 13px; color: #4b5563; }
.te-of-detail__period { display: inline-flex; align-items: center; gap: 6px; }

.te-of-detail__body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}
.te-of-detail__body > * + * { margin-top: 24px; }
.te-of-detail__greeting { margin: 0; font: 600 14.5px/1.6 "Inter", sans-serif; color: #1a1a1a; }
.te-of-detail__intro { font: 400 14.5px/1.7 "Inter", sans-serif; color: #374151; }
.te-of-detail__intro p { margin: 0 0 8px 0; }
.te-of-detail__intro strong { color: #0a0a0a; font-weight: 700; }
.te-of-detail__eyebrow {
  margin: 0 0 12px 0;
  font: 700 11px/1 "Inter", sans-serif;
  letter-spacing: 0.22em;
  color: #5fb4d9;
}
.te-of-detail__products-title {
  margin: 0 0 12px 0;
  font: 700 14px/1.3 "Inter", sans-serif;
  color: #0a0a0a;
}

/* Tabel */
.te-of-table-wrap { border: 1px solid #f1f1f1; border-radius: 8px; overflow: hidden; }
.te-of-table { width: 100%; border-collapse: collapse; }
.te-of-table__th {
  text-align: left;
  background: #0e2a3a;
  color: #fff;
  padding: 12px 16px;
  font: 700 11.5px/1 "Inter", sans-serif;
  letter-spacing: 0.08em;
}
.te-of-table__th--code { width: 140px; }
.te-of-table__th--price { width: 110px; text-align: right; }
.te-of-table__td { padding: 12px 16px; font-size: 13px; color: #1a1a1a; vertical-align: middle; }
.te-of-table__td--code { font-family: ui-monospace, "SF Mono", Monaco, "Cascadia Code", monospace; font-weight: 600; }
.te-of-table__td--price { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.te-of-table__row--odd  { background: #fff; }
.te-of-table__row--even { background: #fafbfc; }

.te-of-table th,
.te-of-table td {
  padding-left: 6px!important;
  padding-right: 6px!important;
}

/* Color dots */
.te-of-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.1);
  margin-right: 6px;
  vertical-align: -1px;
}
.te-of-dot--cyan    { background: #06b6d4; }
.te-of-dot--magenta { background: #d946ef; }
.te-of-dot--yellow  { background: #eab308; }

/* Benefits */
.te-of-benefits { list-style: none; margin: 0; padding: 0; }
.te-of-benefits li + li { margin-top: 10px; }
.te-of-benefit { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: #1a1a1a; line-height: 1.6; }
.te-of-benefit__check { color: #5fb4d9; font-weight: 800; font-size: 16px; flex-shrink: 0; margin-top: 1px; }

/* Configurații */
.te-of-cfg + .te-of-cfg { margin-top: 20px; }
.te-of-cfg { border: 1px solid #f1f1f1; border-radius: 8px; overflow: hidden; }
.te-of-cfg__header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: linear-gradient(90deg, #0e2a3a, #143a52);
  color: #fff;
}
.te-of-cfg__title { font: 700 13.5px/1.3 "Inter", sans-serif; }
.te-of-cfg__price { font: 800 12.5px/1 "Inter", sans-serif; color: #9cd6ef; font-variant-numeric: tabular-nums; }
.te-of-cfg__table .te-of-table__td--code { width: 170px; vertical-align: top; padding-top: 10px; }
.te-of-cfg__row--highlight { background: #eaf6fb !important; font-weight: 600; }

/* Conditions */
.te-of-conditions { list-style: none; margin: 0; padding: 0; }
.te-of-conditions li + li { margin-top: 8px; }
.te-of-condition { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px!important; color: #1a1a1a; line-height: 1.7!important; }
.te-of-condition__dot { width: 6px; height: 6px; border-radius: 999px; background: #5fb4d9; margin-top: 9px; flex-shrink: 0; }

/* Notes */
.te-of-notes {
  border: 1px solid #fde68a;
  background: #fffbeb;
  border-radius: 8px;
  padding: 12px 16px;
}
.te-of-notes > * + * { margin-top: 6px; }
.te-of-note { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: #92400e; line-height: 1.65; }
.te-of-note__icon { color: #b45309; flex-shrink: 0; margin-top: 1px; }

/* Footer */
.te-of-detail__footer {
  padding: 16px 24px;
  border-top: 1px solid #f1f1f1;
  background: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.te-of-detail__footer-text { font-size: 12.5px; color: #6b7280; }
.te-of-detail__footer-text a { color: #5fb4d9; font-weight: 600; text-decoration: none; }
.te-of-detail__footer-text a:hover { text-decoration: underline; }
.te-of-btn-mail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  background: #5fb4d9;
  color: #fff;
  text-decoration: none;
  font: 600 14px/1 "Inter", sans-serif;
  box-shadow: 0 14px 30px -14px rgba(95, 180, 217, 0.5);
  transition: background 0.2s;
}
.te-of-btn-mail:hover { background: #4ca4cc; color: #fff; }
.te-of-btn-mail.is-disabled {
  background: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

/* Responsive */
@media (max-width: 640px) {
  .te-of-wrap { padding: 40px 16px 60px; }
  .te-of-detail__header { padding: 20px 48px 16px 16px; }
  .te-of-detail__title { font-size: 20px; }
  .te-of-detail__body { padding: 20px 16px; }
  .te-of-detail__footer { padding: 14px 16px; }
  .te-of-table__th, .te-of-table__td { padding: 10px 12px; font-size: 12.5px; }
  .te-of-card__hl-value { font-size: 24px; }
}
