/* Public data-only eSIM pages; shared Cake tokens and portal Tailwind utilities. */
body.cake-data-page {
  font-family: Inter, sans-serif;
  background: var(--cake-page);
  color: var(--cake-ink);
}
.cake-data-page .de-skip {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 1100;
  background: white;
  padding: 0.8rem 1rem;
  border-radius: 0.6rem;
}
.cake-data-page .de-skip:focus {
  top: 1rem;
}
.de-page {
  max-width: 1184px;
  margin: 0 auto;
  padding: 36px 24px 64px;
  min-height: 65vh;
}
.de-page [hidden] {
  display: none !important;
}
.de-page *,
.de-page *::before,
.de-page *::after {
  box-sizing: border-box;
}
.de-page :is(h1, h2, h3) {
  font-family: Poppins, sans-serif;
  color: var(--cake-ink);
  font-weight: 600;
  line-height: 1.3;
}
.de-page h1 {
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  margin: 0.7rem 0;
}
.de-page h2 {
  font-size: 1.15rem;
  margin: 0 0 1rem;
}
.de-page h3 {
  font-size: 1rem;
}
.de-page p {
  line-height: 1.65;
}
.de-page a:not(.de-button) {
  color: var(--cake-link);
  text-underline-offset: 3px;
}
.de-page :is(a, button, input, select, summary):focus-visible {
  outline: 3px solid var(--cake-focus);
  outline-offset: 3px;
}
.de-page .de-eyebrow {
  color: var(--cake-link);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.de-page .de-muted {
  color: var(--cake-gray);
}
.de-page .de-intro {
  margin-bottom: 28px;
  max-width: 760px;
}
.de-page .de-card {
  overflow-wrap: anywhere;
  background: #fff;
  border: 1px solid var(--cake-border);
  border-radius: 20px;
  padding: 24px;
  min-width: 0;
}
.de-page .de-tint {
  background: var(--cake-blue-soft);
  border-color: var(--cake-blue-border);
}
.de-page .de-notice {
  background: var(--cake-amber-soft);
  border: 1px solid #f0d1a2;
  border-radius: 12px;
  padding: 16px;
  color: #644311;
  line-height: 1.6;
}
.de-page .de-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  border-radius: 10px;
  padding: 0.7rem 1.15rem;
  background: var(--cake-blue);
  color: var(--cake-ink);
  border: 1px solid transparent;
  text-decoration: none;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}
.de-page .de-button:hover {
  background: var(--cake-blue-hover);
  color: var(--cake-ink);
}
.de-page .de-button-secondary {
  background: #fff;
  border-color: var(--cake-border);
}
.de-page .de-button-secondary:hover {
  background: var(--cake-blue-soft);
  border-color: var(--cake-blue-border);
}
.de-page .de-button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.de-page .de-field {
  min-width: 0;
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 0.75rem;
  border: 1px solid #bbb4c3;
  border-radius: 10px;
  color: var(--cake-ink);
  background: white;
  font: inherit;
}
.de-page label,
.de-page legend {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.de-page legend {
  float: none;
  width: auto;
}
.de-page fieldset {
  min-width: 0;
}
.de-page .de-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
  align-items: start;
}
.de-page .de-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.de-page .de-plan {
  --de-plan-accent: var(--cake-link-strong);
  --de-plan-border: var(--cake-blue-border);
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: linear-gradient(150deg, var(--cake-blue-soft), #fff);
  border-color: var(--de-plan-border);
  transition: box-shadow 160ms ease, border-color 160ms ease;
}
.de-page .de-plan:nth-child(4n + 2) {
  --de-plan-accent: #795012;
  --de-plan-border: #efdbb8;
  background: linear-gradient(150deg, var(--cake-amber-soft), #fff);
}
.de-page .de-plan:nth-child(4n + 3) {
  --de-plan-accent: #8c411e;
  --de-plan-border: #f2d5c5;
  background: linear-gradient(150deg, #fff0e7, #fff);
}
.de-page .de-plan:nth-child(4n + 4) {
  --de-plan-accent: var(--cake-gray);
  --de-plan-border: #ddd5e5;
  background: linear-gradient(150deg, #f2edf7, #fff);
}
.de-page .de-plan:hover,
.de-page .de-plan:focus-within {
  border-color: var(--de-plan-accent);
  box-shadow: 0 8px 24px rgb(48 41 56 / 7%);
}
.de-page .de-destination-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-block: 12px;
}
.de-page .de-destination-heading h1 {
  margin: 0;
}
.de-page .de-destination-flag {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 64px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  color: var(--cake-link);
  box-shadow: 0 0 0 1px var(--cake-border);
  font-size: 24px;
}
.de-page .de-destination-flag img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}
.de-page .de-plan-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--de-plan-accent);
}
.de-page .de-plan-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--de-plan-border);
  border-radius: 12px;
  background: rgb(255 255 255 / 80%);
  font-size: 20px;
}
.de-page .de-plan-kind {
  font-size: .75rem;
  font-weight: 600;
}
.de-page .de-plan-data {
  margin: 0;
  font-family: Poppins, sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
}
.de-page .de-plan-data i {
  color: var(--de-plan-accent);
  font-size: 1.1rem;
  vertical-align: middle;
}
.de-page .de-plan h3 {
  margin: 0;
  color: var(--cake-gray);
  font-family: Inter, sans-serif;
  font-size: .875rem;
  line-height: 1.6;
}
.de-page .de-plan-validity {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  padding: 8px 10px;
  background: rgb(255 255 255 / 80%);
  color: var(--de-plan-accent);
  font-size: .8125rem;
}
.de-page .de-plan-price {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--de-plan-border);
}
.de-page .de-plan-price > span {
  color: var(--cake-gray);
  font-size: .75rem;
}
.de-page .de-plan .de-button {
  margin-top: 0;
  justify-content: space-between;
}
.de-page .de-price {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0.4rem 0;
}
.de-page .de-badge {
  display: inline-flex;
  border-radius: 100px;
  padding: 0.3rem 0.7rem;
  font-size: 0.75rem;
  background: var(--cake-blue-tint);
  color: var(--cake-link-strong);
  white-space: nowrap;
}
.de-page .de-definition {
  margin: 0;
}
.de-page .de-definition > div {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--cake-border);
}
.de-page .de-definition > div:last-child {
  border-bottom: 0;
}
.de-page .de-definition dt {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--cake-gray);
}
.de-page .de-definition dd {
  margin: 0;
  text-align: right;
  overflow-wrap: anywhere;
  max-width: 65%;
  font-size: 0.875rem;
  font-weight: 600;
}
.de-page .de-stack > * + * {
  margin-top: 20px;
}
.de-page .de-payment-options {
  display: grid;
  gap: 16px;
  padding-top: 8px;
}
.de-page .de-promo-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}
.de-page .de-promo-controls .de-field,
.de-page .de-promo-controls .de-button {
  height: 48px;
}
.de-page .de-promo-controls .de-button {
  white-space: nowrap;
  overflow-wrap: normal;
}
.de-page .de-method {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--cake-border);
  border-radius: 12px;
  cursor: pointer;
  margin: 0;
}
.de-page .de-method:has(input:checked) {
  background: var(--cake-blue-soft);
  border-color: var(--cake-link);
}
.de-page .de-method:has(input:disabled) {
  cursor: not-allowed;
  opacity: 0.65;
}
.de-page .de-method input {
  margin-top: 4px;
  accent-color: var(--cake-link);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.de-page .de-method small {
  display: block;
  color: var(--cake-gray);
  font-weight: 400;
  margin-top: 4px;
  line-height: 1.5;
}
.de-page .de-error:not(:empty) {
  color: #9f1239;
  background: #fff1f2;
  border-radius: 10px;
  padding: 12px;
  margin-top: 12px;
}
.de-page .de-status:not(:empty) {
  padding: 12px;
  border-radius: 10px;
  background: var(--cake-blue-soft);
  margin-top: 12px;
}
.de-page .de-feedback {
  scroll-margin-top: 95px;
}
.de-page .de-terms {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.de-page .de-terms input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: var(--cake-link);
}
.de-page .de-terms label {
  font-weight: 400;
  line-height: 1.65;
}
.de-page details summary {
  cursor: pointer;
  font-weight: 600;
  line-height: 1.6;
}
.de-page details[open] summary {
  margin-bottom: 16px;
}
.de-page .de-code {
  padding: 12px;
  background: var(--cake-page);
  border-radius: 8px;
  overflow-wrap: anywhere;
  font-family: monospace;
}
.de-page .de-qr {
  display: block;
  width: 260px;
  max-width: 100%;
  height: auto;
  margin: 20px auto;
  background: #fff;
}
.de-page .de-destinations {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
  max-height: 440px;
  overflow: auto;
  padding: 4px;
}
.de-page .de-destinations a {
  display: flex;
  align-items: center;
  min-height: 60px;
  padding: 12px;
  gap: 10px;
  border: 1px solid var(--cake-border);
  border-radius: 10px;
  text-decoration: none;
  background: #fff;
}
.de-page .de-destinations a:hover {
  background: var(--cake-blue-soft);
}
.de-page .de-destinations img {
  width: 28px;
  height: 20px;
  object-fit: cover;
}
.de-page iframe {
  width: 100%;
  min-height: 640px;
  border: 1px solid var(--cake-border);
  border-radius: 12px;
  background: #fff;
}
.de-page .de-currency {
  min-width: 230px;
}
.cake-data-page .de-footer {
  margin-top: auto;
}
.cake-data-page .de-footer .row > .col {
  flex: 1 1 180px;
}
@media (max-width: 900px) {
  .de-page .de-grid {
    grid-template-columns: 1fr;
  }
  .de-page .de-summary {
    grid-row: 1;
  }
}
@media (max-width: 600px) {
  .de-page {
    padding: 24px 16px 40px;
  }
  .de-page .de-card {
    padding: 20px;
    border-radius: 16px;
  }
  .de-page .de-plans,
  .de-page .de-destinations {
    grid-template-columns: 1fr;
  }
  .de-page .de-currency {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .de-page [hidden] {
    display: none !important;
  }
  .de-page *,
  .de-page *::before,
  .de-page *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  .cake-data-page > :not(#main),
  .de-no-print {
    display: none !important;
  }
  .de-page {
    max-width: none;
    padding: 0;
  }
  .de-page .de-grid {
    display: block;
  }
  .de-page .de-card {
    margin-bottom: 16px;
    break-inside: avoid;
  }
  .de-page details > * {
    display: block !important;
  }
  .de-page .de-qr {
    width: 220px;
  }
}
