.country-product #configurator {
  --plan-primary: #ad1b12;
  --plan-pink: #f04d68;
  --plan-berry: #c81036;
  --plan-ink: #20191b;
  --plan-body: #635a5d;
  --plan-blush: #fcebf0;
  --plan-border: #ecdce4;
  --plan-neutral: #f5f4f4;
  color: var(--plan-ink);
  background: transparent;
}

.country-product #configurator > div {
  width: min(var(--country-product-width, 1200px), calc(100% - var(--country-product-gutter, 16px) * 2));
  max-width: none;
  padding: 0;
  margin-inline: auto;
}

.country-product #configurator > div > .flex {
  display: grid;
  grid-template-columns: minmax(0, 2.14fr) minmax(0, 1fr);
  gap: 26px;
}

.country-product #configurator .space-y-5 { display: grid; gap: 14px; }
.country-product #configurator .space-y-5 > div,
.country-product #trip-summary > div {
  margin: 0;
  border: 1px solid var(--plan-border);
  border-radius: 24px;
  box-shadow: none !important;
}

.country-product #configurator .space-y-5 > div {
  min-width: 0;
  padding: 22px 24px 16px;
}

.country-product #configurator .space-y-5 > div:first-child {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px 12px;
  padding: 23px 23px 17px;
  border-color: var(--plan-pink);
}

.country-product #configurator .space-y-5 > div:first-child > .absolute {
  position: static;
  grid-column: 2;
  grid-row: 1;
  min-height: 34px;
  padding: 6px 16px;
  color: var(--plan-berry);
  background: var(--plan-blush);
  box-shadow: none;
  font-size: 14px;
  white-space: nowrap;
}

.country-product .plan-step-heading {
  gap: 12px;
  margin: 0 0 10px;
}
.country-product .plan-step-heading > span {
  flex: 0 0 35px;
  width: 35px;
  height: 35px;
  background: var(--plan-primary);
  box-shadow: none;
}
.country-product .plan-step-heading > div > span:first-child {
  color: var(--plan-ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}
.country-product .plan-step-heading > div > span + span {
  color: var(--plan-body);
  font-size: 13px;
}

.country-product #configurator .space-y-5 > div:first-child > .plan-step-heading {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
}

.country-product [data-selected-countries] {
  grid-column: 1 / -1;
  gap: 10px;
  margin: 0;
}
.country-product [data-selected-countries] > * {
  min-height: 34px;
  padding: 5px 14px;
  border: 1px solid var(--plan-border);
  font-size: 13px;
}
.country-product [data-selected-countries] > span {
  padding-right: 22px;
  border-color: #fa9bae;
  color: var(--plan-berry);
  background: var(--plan-blush);
}
.country-product [data-selected-countries] > button {
  background: #fff;
  color: var(--plan-body);
  font-size: 14px;
  font-weight: 600;
}
.country-product [data-selected-countries] > button:hover { border-color: var(--plan-pink); }
.country-product [data-selected-countries] img {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  object-fit: cover;
}

.country-product #configurator .space-y-5 > [data-field=days] { padding-bottom: 10px; }
.country-product #configurator [data-duration-options],
.country-product #configurator [data-data-options] { gap: 7px; margin-bottom: 12px; }
.country-product #configurator :is([data-preset], [data-data-preset], [data-estimate-mode]) {
  min-height: 37px;
  padding: 7px 17px;
  border: 1px solid var(--plan-border);
  border-radius: 999px;
  background: var(--plan-neutral);
  color: var(--plan-body);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: none;
}
.country-product #configurator :is([data-preset], [data-data-preset], [data-estimate-mode]):hover {
  border-color: var(--plan-pink);
}
.country-product #configurator [aria-pressed=true]:is([data-preset], [data-data-preset], [data-estimate-mode]) {
  background: var(--plan-primary);
  border-color: var(--plan-primary);
  color: #fff;
}

.country-product .plan-scale { display: block; margin: 0; }
.country-product .plan-scale > .relative,
.country-product .plan-scale input[type=range] { height: 18px; }
.country-product .plan-scale .pointer-events-none { height: 5px; background: var(--plan-border); }
.country-product .plan-scale .bg-home-orange_1 { background: var(--plan-primary); }
.country-product .plan-scale input[type=range]::-webkit-slider-runnable-track { height: 5px; }
.country-product .plan-scale input[type=range]::-webkit-slider-thumb {
  height: 15px;
  width: 15px;
  margin-top: -5px;
  border: 1px solid #dbd3d5;
  background: #fff;
  box-shadow: none;
}
.country-product .plan-scale input[type=range]::-moz-range-track { height: 5px; }
.country-product .plan-scale input[type=range]::-moz-range-thumb {
  height: 14px;
  width: 14px;
  border: 1px solid #dbd3d5;
  background: #fff;
  box-shadow: none;
}
.country-product [data-option-ticks] { padding: 0; margin: 0; }
.country-product [data-option-ticks] span { color: var(--plan-body); font-size: 11px; }
.country-product .plan-stepper { gap: 7px; justify-content: flex-end; }
.country-product .plan-stepper button,
.country-product .plan-stepper > div {
  border: 1px solid var(--plan-border);
  border-radius: 10px;
  background: #fff;
}
.country-product .plan-stepper button {
  width: 35px;
  height: 36px;
  color: var(--plan-body);
}
.country-product .plan-stepper button:disabled { opacity: .7; }
.country-product .plan-stepper > div {
  min-height: 46px;
  gap: 4px;
  padding: 3px 11px;
}
.country-product .plan-stepper > div:focus-within { border-color: var(--plan-pink); }
.country-product .plan-stepper input {
  width: 3ch;
  min-width: 1ch;
  padding: 0;
  border: 0;
  color: var(--plan-primary);
  font-size: 26px;
  line-height: 1.25;
}
@supports (field-sizing: content) {
  .country-product .plan-stepper input { field-sizing: content; width: auto; max-width: 7ch; }
}
.country-product .plan-stepper span { color: var(--plan-body); }

.country-product #data-plan-controls {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: end;
  column-gap: 12px;
}
.country-product #data-plan-controls > .plan-step-heading,
.country-product #data-estimate-controls { grid-column: 1 / -1; }
.country-product .plan-estimate-mode { margin: 0; }
.country-product .plan-estimate-mode > p,
.country-product [data-field=data] > div:first-child > p:first-child {
  margin-bottom: 5px;
  color: var(--plan-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
}
.country-product .plan-estimate-mode > div {
  display: block;
  padding: 0;
  background: none;
  border: 0;
}
.country-product #data-plan-controls > details { margin: 0; }
.country-product #data-plan-controls > details[open] { grid-column: 1 / -1; margin-top: 6px; }
.country-product #data-plan-controls > details > summary {
  min-height: 37px;
  color: var(--plan-berry);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
}
.country-product #data-plan-controls > details > summary > svg { display: none; }
.country-product #data-estimate-controls { margin-top: 16px; padding-top: 10px; border-top: 1px solid var(--plan-border); }
.country-product [data-field=data] {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}
.country-product [data-field=data] > div:first-child,
.country-product [data-data-options],
.country-product [data-data-inputs] > .plan-scale { grid-column: 1 / -1; }
.country-product [data-field=data] > div:first-child { margin-bottom: 4px; }
.country-product [data-field=data] > div:first-child > p { margin: 0; }
.country-product [data-field=data] > div:first-child > p + p,
.country-product [data-field=data] > div:last-child > p { color: var(--plan-body); font-size: 12px; }
.country-product [data-data-inputs]:not([hidden]) { display: contents; }
.country-product [data-data-inputs] > .plan-stepper { grid-area: 4 / 2; }
.country-product [data-field=data] > div:last-child { grid-area: 4 / 1; }

.country-product #trip-summary { display: block; width: auto; min-width: 0; }
.country-product #trip-summary > div { padding: 20px 20px 32px; }
.country-product #trip-summary > div > div:first-child { border-bottom-color: var(--plan-border); padding: 0 0 12px; }
.country-product #trip-summary > div > div:first-child > p:first-child {
  color: var(--plan-ink);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.05;
}
.country-product #trip-summary > div > div:first-child > p + p {
  margin: 0;
  color: var(--plan-body);
  font-size: 13px;
  line-height: 1.25;
}
.country-product #trip-summary > div > div:first-child > span {
  height: 28px;
  margin-top: 14px;
  padding: 0 22px;
  color: var(--plan-berry);
  background: var(--plan-blush);
  font-size: 12px;
  white-space: nowrap;
}
.country-product #trip-summary > div > div:first-child > span > svg { display: none; }
.country-product #trip-summary > div > .p-5 { padding: 16px 0 0; }
.country-product #trip-summary .country-compatibility {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin: 12px 0 0;
  padding: 8px 14px;
  border: 1px solid #e83d59;
  border-radius: 10px;
  color: var(--plan-berry);
  background: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.country-product #trip-summary .country-compatibility > span { margin-left: auto; }
.country-product #trip-summary [class~="space-y-2.5"] > div {
  align-items: center;
  gap: 16px;
  min-height: 62px;
  margin: 0;
  padding: 11px 16px;
  border-radius: 12px;
  background: var(--plan-neutral);
}
.country-product #trip-summary [class~="space-y-2.5"] > div + div { margin-top: 8px; }
.country-product #trip-summary [class~="space-y-2.5"] > div > div > span {
  display: block;
  color: var(--plan-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
}
.country-product #trip-summary :is([data-bind=countrySummaryHtml] span, [data-bind=durationLabel], [data-bind=dataLabel]) {
  color: var(--plan-ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}
.country-product #trip-summary [data-bind=estimateLabel] {
  padding: 0 4px;
  color: var(--plan-body);
  background: transparent;
  font-size: 13px;
  font-weight: 400;
}
.country-product .plan-summary-divider { display: none; }
.country-product .plan-summary-price {
  display: grid;
  align-content: center;
  min-height: 52px;
  padding: 8px 15px;
  background: #fff5f3;
  color: var(--plan-body);
  text-align: center;
}
.country-product #esim-price-status > div { display: flex; align-items: center; justify-content: center; gap: 8px; }
.country-product #esim-price-status p { color: var(--plan-body); font-size: 14px; }
.country-product #esim-price-status p + p { margin: 0; color: var(--plan-berry); font-size: 22px; }
.country-product #trip-summary [data-esim-next] { margin-top: 14px; height: 40px; box-shadow: none !important; }
.country-product #trip-summary [data-esim-next]:enabled { background: var(--plan-primary); }
.country-product #trip-summary [data-esim-next]:enabled:hover { background: var(--cherry-primary-hover); }

@media (min-width: 768px) and (max-width: 1090px) {
  .country-product #configurator .space-y-5 > div:first-child { grid-template-columns: minmax(0,1fr); }
  .country-product #configurator .space-y-5 > div:first-child > .absolute { grid-column: 1; grid-row: 2; justify-self: start; }
}

@media (max-width: 767px) {
  .country-product #configurator > div > .flex { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .country-product #configurator .space-y-5 > div { padding: 16px; }
  .country-product #configurator .space-y-5 > div:first-child { grid-template-columns: minmax(0,1fr); gap: 11px; padding: 17px 15px; }
  .country-product #configurator .space-y-5 > [data-field=days] { padding-bottom: 16px; }
  .country-product #configurator .space-y-5 > div:first-child > .absolute { grid-column: 1; grid-row: 2; justify-self: start; }
  .country-product .plan-step-heading {
    display: grid;
    grid-template-columns: 35px minmax(0,1fr);
    gap: 6px 12px;
  }
  .country-product .plan-step-heading > div { display: contents; }
  .country-product .plan-step-heading > div > span + span { grid-column: 1 / -1; margin: 0; }
  .country-product #configurator :is([data-preset], [data-data-preset]) { padding-inline: 12px; }
  .country-product .plan-scale { margin-bottom: 10px; }
  .country-product #data-estimate-controls { margin-top: 10px; }
  .country-product [data-field=data] { display: block; }
  .country-product [data-field=data] > div:first-child { display: grid; gap: 3px; margin-bottom: 10px; }
  .country-product [data-field=data]:has([data-data-inputs]:not([hidden])) {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .country-product [data-data-inputs] > .plan-stepper { order: 1; margin-top: 6px; }
  .country-product [data-field=data] > div:last-child { margin-top: 14px; }
  .country-product #trip-summary > div { padding: 18px 20px; position: static; }
  .country-product #esim-price-status > div { justify-content: space-between; }
}
