/* Front-end css goes here */

/* Equal card heights */
.device.card {
  height: 100%;
}
.device__preview {
  flex: 1;
}

/* Color swatches alignment */
.device__available-colors {
  text-align: center;
}

/* Mobile filter popover */
[data-popover-content='true'] {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  border-radius: 8px;
  padding: 1.25rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.15s ease,
    visibility 0.15s ease;
}
[data-popover-content='true'].is-open {
  opacity: 1;
  visibility: visible;
}

/* Radio link text + radio circle override inside popover */
[data-popover-content='true'] .docomo-product-filter__option {
  color: #fff;
}
[data-popover-content='true'] .docomo-product-filter__radio {
  border-color: rgba(255, 255, 255, 0.7);
}
[data-popover-content='true'] .docomo-product-filter__radio span {
  background-color: #fff;
}

/* Dynamic tooltip (body-appended, escapes overflow:hidden) */
#docomo-tooltip {
  position: absolute;
  background-color: #d0021b;
  color: #fff;
  font-size: 11px;
  white-space: nowrap;
  padding: 4px 8px;
  border-radius: 4px;
  pointer-events: none;
  z-index: 99999;
  transition: opacity 0.15s ease;
}
#docomo-tooltip::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-bottom-color: #d0021b;
}
.pkun-enquiry-form .form-row {
  margin-bottom: 10px;
}

/* Tutorial listing cards are styled with Tailwind utility classes in markup */

/* Home Phone – international rates selector */
.docomo-home-phone-rates__select-wrap {
  display: inline-block;
  position: relative;
}

.docomo-home-phone-rates__select {
  min-width: 260px;
  padding: 10px 38px 10px 14px;
  border: 1px solid #d0021b;
  border-radius: 2px;
  background-color: #ffffff;
  font-size: 14px;
  line-height: 1.4;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.docomo-home-phone-rates__select-wrap::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-left: 1px solid #d0021b;
  border-bottom: 1px solid #d0021b;
  transform: rotate(-45deg);
  pointer-events: none;
}

.docomo-home-phone-rates__table-wrap {
  margin-top: 20px;
  display: none;
}

.docomo-home-phone-rates.has-selection .docomo-home-phone-rates__table-wrap {
  display: block;
}

.docomo-home-phone-rates__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.docomo-home-phone-rates__table thead tr {
  background-color: #3e4348;
  color: #ffffff;
}

.docomo-home-phone-rates__table th,
.docomo-home-phone-rates__table td {
  padding: 10px 12px;
  border: 1px solid #e1e1e1;
  text-align: left;
}

.docomo-home-phone-rates__row {
  display: none;
}

.docomo-home-phone-rates__row.is-active {
  display: table-row;
}

@media (max-width: 767px) {
  .e-con:has(.docomo-home-phone-rates) {
    padding: 24px !important;
  }
  .elementor-heading-title.elementor-size-default {
    font-size: 20px !important;
  }
  .docomo-region-selector__buttons .docomo-region-selector__button {
    padding: 12px !important;
  }
  .docomo-home-phone-rates__select-wrap {
    width: 100% !important;
  }
  .docomo-home-phone-rates__select {
    min-width: 100% !important;
    max-width: 100% !important;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .e-con:has(.docomo-home-phone-rates) {
    padding: 36px !important;
  }
}

/* Promo split card widget */
.docomo-promo-split-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  border-radius: 24px;
  padding: 24px 28px;
}

@media (min-width: 768px) {
  .docomo-promo-split-card {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.docomo-promo-split-card__left {
  padding-right: 24px;
}

@media (min-width: 768px) {
  .docomo-promo-split-card__left {
    border-right: 1px solid #bababa;
  }
}

.docomo-promo-split-card__speed {
  color: #323842;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.docomo-promo-split-card__price-wrap {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: #d0021b;
  line-height: 1;
}

.docomo-promo-split-card__currency {
  font-size: 48px;
  font-weight: 700;
  margin-top: 10px;
}

.docomo-promo-split-card__price {
  font-size: 104px;
  font-weight: 700;
}

.docomo-promo-split-card__suffix {
  font-size: 30px;
  font-weight: 700;
  line-height: 0.55;
  margin-top: 0;
  white-space: pre-line;
  align-self: center;
}

.docomo-promo-split-card__heading {
  margin: 0 0 14px;
  color: #323842;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
}

.docomo-promo-split-card__subheading {
  margin: 0 0 10px;
  color: #323842;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
}

.docomo-promo-split-card__bullets {
  margin: 0;
  padding-left: 24px;
}

.docomo-promo-split-card__bullets li {
  color: #323842;
  font-size: 14px;
  line-height: 1.35;
  margin: 8px 0;
}

.docomo-promo-split-card__bullets li::marker {
  color: #d0021b;
}

/* Promo product offer widget */
.docomo-promo-product-offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  background: #ffffff;
  border-radius: 20px;
  padding: 28px;
}

@media (min-width: 768px) {
  .docomo-promo-product-offer {
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    gap: 36px;
  }
}

.docomo-promo-product-offer__media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.docomo-promo-product-offer__image {
  max-width: 100%;
  height: auto;
  display: block;
}

.docomo-promo-product-offer__title {
  margin: 0 0 16px;
  color: #b10019;
  font-size: 50px;
  font-weight: 700;
  line-height: 1.12;
}

@media (max-width: 767px) {
  .docomo-promo-product-offer__title {
    font-size: 34px;
  }
}

.docomo-promo-product-offer__features {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.docomo-promo-product-offer__feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 10px;
}

.docomo-promo-product-offer__feature-item:last-child {
  margin-bottom: 0;
}

.docomo-promo-product-offer__feature-icon {
  color: #b10019;
  font-size: 15px;
  line-height: 1.4;
  flex: 0 0 auto;
}

.docomo-promo-product-offer__feature-text {
  color: #323842;
  font-size: 23px;
  line-height: 1.4;
}

.docomo-promo-product-offer__price-row {
  margin: 0 0 8px;
  color: #323842;
  font-size: 33px;
  line-height: 1.3;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.docomo-promo-product-offer__special-label {
  color: #bb2c4f;
  font-weight: 700;
}

.docomo-promo-product-offer__special-price {
  color: #323842;
  font-weight: 400;
}

.docomo-promo-product-offer__old-price {
  color: #767676;
  text-decoration: line-through;
}

.docomo-promo-product-offer__offer {
  margin: 0;
  color: #bb2c4f;
  font-size: 34px;
  line-height: 1.3;
}

@media (max-width: 767px) {
  .docomo-promo-product-offer__feature-text {
    font-size: 18px;
  }

  .docomo-promo-product-offer__price-row {
    font-size: 24px;
  }

  .docomo-promo-product-offer__offer {
    font-size: 24px;
  }
}

/* Feature Spec Checklist widget (air purifier / spec list) */
.docomo-feature-spec-checklist {
  margin: 0 auto;
  max-width: 640px;
}

.docomo-feature-spec-checklist__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.docomo-feature-spec-checklist__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 22px;
}

.docomo-feature-spec-checklist__item:last-child {
  margin-bottom: 0;
}

.docomo-feature-spec-checklist__item--no-icon {
  gap: 0;
}

.docomo-feature-spec-checklist__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
  color: #d0021b;
  font-size: 15px;
  line-height: 1;
}

.docomo-feature-spec-checklist__icon svg {
  width: 15px;
  height: 15px;
  display: block;
}

.docomo-feature-spec-checklist__text {
  flex: 1;
  min-width: 0;
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    Arial,
    sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

.docomo-feature-spec-checklist__lead {
  color: #d0021b;
  font-weight: 700;
}

.docomo-feature-spec-checklist__body {
  color: #3f3f46;
  font-weight: 400;
}

@media (max-width: 767px) {
  .docomo-feature-spec-checklist__text {
    font-size: 15px;
    line-height: 1.5;
  }
}

/* Locations Map List widget */
.docomo-locations-map-list__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

@media (min-width: 768px) {
  .docomo-locations-map-list__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
  }
}

.docomo-locations-map-list__list {
  padding-right: 6px;
}

.docomo-locations-map-list__item {
  cursor: pointer;
  padding: 14px 0;
  border-bottom: 1px solid #e5e7eb;
}

.docomo-locations-map-list__item:last-child {
  border-bottom: 0;
}

.docomo-locations-map-list__item-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.docomo-locations-map-list__icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
  flex: 0 0 auto;
  color: #d0021b;
}

.docomo-locations-map-list__icon svg,
.docomo-locations-map-list__icon i {
  width: 18px;
  height: 18px;
  font-size: 18px;
  line-height: 1;
}

.docomo-locations-map-list__title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #343a40;
  line-height: 1.25;
}

.docomo-locations-map-list__address {
  margin-top: 4px;
  font-size: 12px;
  color: #6b7280;
  line-height: 1.35;
}

.docomo-locations-map-list__details {
  margin-top: 10px;
  font-size: 12px;
  color: #6b7280;
  line-height: 1.45;
}

.docomo-locations-map-list__details strong {
  color: #343a40;
}

/* Device HAC Table widget */
.docomo-device-hac-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.docomo-device-hac-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: #ffffff;
}

.docomo-device-hac-table thead th {
  background: #2d3440;
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  padding: 16px 12px;
  border: 1px solid #d5d7da;
  line-height: 1.25;
}

.docomo-device-hac-table tbody td {
  color: #333333;
  font-size: 20px;
  font-weight: 400;
  text-align: center;
  padding: 16px 12px;
  border: 1px solid #d5d7da;
  line-height: 1.35;
  vertical-align: top;
}

/* Device HAC Table — Product spec layout (two column, hero header, red accent) */
.docomo-device-hac-table-wrap--product-spec {
  position: relative;
  padding-bottom: 6px;
}

.docomo-device-hac-table-wrap--product-spec::after {
  content: '';
  display: block;
  width: 100%;
  height: 6px;
  background-color: #d0021b;
  margin-top: 0;
}

.docomo-device-hac-table--product-spec {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  table-layout: fixed;
}

.docomo-device-hac-table--product-spec thead th {
  background: #ffffff;
  color: #1f2937;
  font-size: inherit;
  font-weight: 400;
  text-align: left;
  vertical-align: top;
  padding: 20px 16px;
  border: 1px solid #e5e7eb;
  line-height: 1.4;
}

.docomo-device-hac-table--product-spec .docomo-device-hac-table__th-hero-left {
  width: 42%;
  border-right: 1px solid #e5e7eb;
}

.docomo-device-hac-table--product-spec .docomo-device-hac-table__th-hero {
  text-align: center;
  width: 58%;
}

.docomo-device-hac-table--product-spec .docomo-device-hac-table__hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  max-width: 280px;
  margin: 0 auto;
}

.docomo-device-hac-table--product-spec .docomo-device-hac-table__hero-figure {
  margin: 0;
  padding: 0;
  line-height: 0;
}

.docomo-device-hac-table--product-spec .docomo-device-hac-table__hero-img {
  max-width: 100%;
  height: auto;
  display: block;
}

.docomo-device-hac-table--product-spec tbody td {
  color: #374151;
  font-size: 1rem;
  font-weight: 400;
  text-align: left;
  padding: 18px 16px;
  border: 1px solid #e5e7eb;
  vertical-align: top;
}

.docomo-device-hac-table--product-spec .docomo-device-hac-table__td--label {
  font-weight: 700;
  color: #1f2937;
  width: 42%;
}

.docomo-device-hac-table--product-spec .docomo-device-hac-table__td--value {
  font-weight: 400;
  color: #374151;
}

/* Region Link Selector — active region tab (Guam / CNMI buttons) */
.docomo-region-selector__button--tab.is-active {
  background-color: #d0021b;
  color: #ffffff;
}

.docomo-region-selector__button--tab.is-active:hover {
  background-color: #b01e35;
  color: #ffffff;
}

/* Bundle Pricing Cards — card shell (virtual-cart style); widget root is unstyled */
.docomo-bundle-pricing__card {
  box-sizing: border-box;
  position: relative;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
}

.docomo-bundle-pricing__grid {
  align-items: stretch;
}

.docomo-bundle-pricing__card,
.docomo-bundle-pricing__inner {
  height: 100%;
}

.docomo-bundle-pricing__inner {
  align-items: stretch !important;
}

/* Mobile cards: content packs to top; height: 100% conflicts with the template sitting
   outside .docomo-bundle-pricing__inner (inside the article) */
.docomo-bundle-pricing__card--mobile .docomo-bundle-pricing__inner {
  height: auto;
  flex: none; /* prevent flex-1 from growing inner div, which creates a gap before the template */
  justify-content: flex-start;
}

.docomo-bundle-pricing__card--mobile {
  justify-content: flex-start;
}

.docomo-bundle-pricing__card-content {
  position: relative;
  border: 2px solid transparent;
  border-radius: 8px;
  /* moved from outer card: main content padding */
  padding: 20px;
  margin-bottom: 1.5rem;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  background: #fff;
}

.docomo-bundle-pricing__card.is-selected .docomo-bundle-pricing__card-content {
  border-color: #d0021b;
}

.docomo-bundle-pricing__card-content.is-active {
  border-width: 2px;
  border-top-color: #d0021b;
  border-left-color: #d0021b;
  border-right-color: #d0021b;
  border-bottom-color: transparent;
}

.docomo-bundle-pricing__card-content::after {
  position: absolute;
  bottom: 0;
  left: 0;
  content: ' ';
  display: block;
  height: 6px;
  width: 100%;
  background: #d0021b;
  -webkit-border-bottom-right-radius: inherit;
  -webkit-border-bottom-left-radius: inherit;
  -moz-border-radius-bottomright: inherit;
  -moz-border-radius-bottomleft: inherit;
  border-bottom-right-radius: inherit;
  border-bottom-left-radius: inherit;
}

.docomo-bundle-pricing__card-action {
  margin-top: auto;
}

.docomo-bundle-pricing__add-btn {
  margin-top: 0 !important;
}

.docomo-bundle-pricing__popup[hidden] {
  display: none !important;
}

/* Strip shell: fixed to viewport; z-index must beat later bundle sections (no trapping grid contexts) */
.docomo-bundle-pricing__popup--strip:not([hidden]) {
  position: fixed;
  inset: 0;
  display: flex !important;
  align-items: flex-end;
  justify-content: center;
  padding: 0 15px env(safe-area-inset-bottom, 0);
  background-color: transparent;
  pointer-events: none;
  overflow-y: auto;
  z-index: 900000 !important;
}

@media (min-width: 768px) {
  .docomo-bundle-pricing__popup--strip:not([hidden]) {
    padding-right: 50px;
    padding-left: 50px;
  }
}

/* Quote shell: above strip + bundle sections */
.docomo-bundle-pricing__popup--quote:not([hidden]) {
  position: fixed;
  inset: 0;
  background-color: rgb(17 24 39 / 0.5);
  pointer-events: none;
  overflow-y: auto;
  z-index: 910000 !important;
}

/* Strip inner — virtual-cart: 4px #d0021b, top radius 10px, border-bottom none (footer 0) */
.docomo-bundle-pricing__popup--strip:not([hidden])
  .docomo-bundle-pricing__popup-inner {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: 100%;
  max-width: 1000px;
  pointer-events: auto;
  margin-bottom: 0;
  /* base 25px 20px 23px + 35px each side */
  padding: 60px 55px 58px;
  background: #ffffff;
  border: 4px solid #d0021b;
  border-bottom: none;
  overflow: hidden;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  -webkit-border-top-left-radius: 10px;
  -webkit-border-top-right-radius: 10px;
  -moz-border-radius-topleft: 10px;
  -moz-border-radius-topright: 10px;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
}

@media (min-width: 768px) {
  .docomo-bundle-pricing__popup--strip:not([hidden])
    .docomo-bundle-pricing__popup-inner {
    /* 30px + 35px horizontal */
    padding-right: 65px;
    padding-left: 65px;
  }
}

/* Combined strip uses .combined-inner (not .popup-inner) — must receive clicks; shell stays pointer-events: none */
.docomo-bundle-pricing__popup--strip:not([hidden])
  .docomo-bundle-pricing__combined-inner {
  position: relative;
  z-index: 1;
  pointer-events: auto;
}

.docomo-bundle-pricing__combined-cart-label {
  font-weight: 400;
  color: #333333;
}

.docomo-bundle-pricing__combined-cart-value {
  font-weight: 700;
  color: #333333;
}

.docomo-bundle-pricing__combined-cart-line {
  line-height: 1.45;
}

.docomo-bundle-pricing__popup--quote:not([hidden])
  .docomo-bundle-pricing__quote-panel {
  pointer-events: auto;
}

/* Quote modal — associate-contact extra fields (Tailwind `flex` can override [hidden]) */
.docomo-bundle-pricing__quote-contact-extra[hidden] {
  display: none !important;
}

.docomo-bundle-pricing__quote-success[hidden] {
  display: none !important;
}

.docomo-bundle-pricing__quote-form-error.hidden,
.docomo-bundle-pricing__quote-error.hidden {
  display: none !important;
}

.docomo-bundle-pricing__quote-field--error .docomo-bundle-pricing__quote-input {
  border-color: #d0021b !important;
  color: #d0021b;
}

/* Quote modal — associate-contact options (checkbox / radio accent) */
.docomo-bundle-pricing__quote-accent {
  accent-color: #d0021b;
}

.docomo-bundle-pricing__add-btn.is-added {
  background-color: #d0021b !important;
  color: #ffffff !important;
  border-color: #d0021b !important;
}

.docomo-bundle-pricing__add-btn.is-added:hover {
  background-color: #b01e35 !important;
  color: #ffffff !important;
  border-color: #b01e35 !important;
}

/* Internet “scroll to bottom” reminder — above strip/show-cart, below channel modals */
.docomo-bundle-pricing__internet-reminder-modal[hidden] {
  display: none !important;
}

.docomo-bundle-pricing__internet-reminder-modal:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 930000;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
}

@keyframes docomo-bundle-pricing-internet-reminder-backdrop-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes docomo-bundle-pricing-internet-reminder-panel-fade-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.docomo-bundle-pricing__internet-reminder-modal:not([hidden])
  .docomo-bundle-pricing__internet-reminder-backdrop {
  animation: docomo-bundle-pricing-internet-reminder-backdrop-fade-in 0.35s
    ease-out forwards;
}

.docomo-bundle-pricing__internet-reminder-modal:not([hidden])
  .docomo-bundle-pricing__internet-reminder-panel {
  animation: docomo-bundle-pricing-internet-reminder-panel-fade-in 0.4s
    cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.docomo-bundle-pricing__internet-reminder-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.55);
  cursor: default;
}

.docomo-bundle-pricing__internet-reminder-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 32rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
}

body.docomo-bundle-pricing--internet-reminder-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .docomo-bundle-pricing__internet-reminder-modal:not([hidden])
    .docomo-bundle-pricing__internet-reminder-backdrop,
  .docomo-bundle-pricing__internet-reminder-modal:not([hidden])
    .docomo-bundle-pricing__internet-reminder-panel {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Channel listings — above strip (900k) / quote (910k) */
.docomo-bundle-pricing .docomo-bundle-pricing__entertainment-channels {
  z-index: 920000 !important;
}

.docomo-bundle-pricing .docomo-bundle-pricing__premium-channels-popup {
  z-index: 920000 !important;
}

/* Premium channels: require internet; section visibility toggled by JS */
.docomo-bundle-pricing__premium-channels-inner:not(
    .is-premium-channels-unlocked
  )
  [data-premium-channels-bundle-lock] {
  pointer-events: auto;
}

/* Home phone: require internet (JS) */
.docomo-bundle-pricing__home-phone-inner:not(.is-home-phone-unlocked)
  [data-home-phone-bundle-lock] {
  pointer-events: auto;
}

/* Bundle Pricing — section wrappers (Elementor: background, padding, margin-bottom) */
.docomo-bundle-pricing__layout-section {
  box-sizing: border-box;
  padding: 3rem !important; /* 48px — overrides Elementor inline style on all sections */
}

/* Bundle/Discount Pricing — default repeater section title style */
[data-docomo-bundle-pricing] .docomo-bundle-pricing__section-title,
[data-docomo-bundle-pricing] .docomo-bundle-pricing__mobile-section-title,
[data-docomo-bundle-pricing] .docomo-bundle-pricing__amline-section-title,
[data-docomo-bundle-pricing] .docomo-bundle-pricing__entertainment-section-title,
[data-docomo-bundle-pricing] .docomo-bundle-pricing__dtv-passes-section-title,
[data-docomo-bundle-pricing] .docomo-bundle-pricing__premium-channels-section-title,
[data-docomo-bundle-pricing] .docomo-bundle-pricing__home-phone-section-title {
  font-weight: 700 !important;
  line-height: 1.2 !important;
  color: #d0021b !important;
  font-size: 1.5rem !important;
  text-align: left !important;
}

/* Internet section plan card title default style */
[data-docomo-bundle-pricing] .docomo-bundle-pricing__layout-section--internet .docomo-bundle-pricing__title {
  margin-top: 1.5rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  color: #d0021b !important;
  font-size: 1.5rem !important;
}

/* Keep all section card titles visually consistent */
[data-docomo-bundle-pricing] .docomo-bundle-pricing__title,
[data-docomo-bundle-pricing] .docomo-amline-card__title {
  font-size: 1.5rem !important;
}


/* Card grids: column count from inline CSS variables (Elementor “Columns per row”) */
.docomo-bundle-pricing__section-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(
    var(--docomo-bundle-section-cols-mobile, 1),
    minmax(0, 1fr)
  );
}

@media (min-width: 768px) {
  .docomo-bundle-pricing__section-grid {
    grid-template-columns: repeat(
      var(--docomo-bundle-section-cols-tablet, 3),
      minmax(0, 1fr)
    );
  }
}

@media (min-width: 1024px) {
  .docomo-bundle-pricing__section-grid {
    grid-template-columns: repeat(
      var(--docomo-bundle-section-cols-desktop, 3),
      minmax(0, 1fr)
    );
  }
}

/* Bundle Pricing — fixed bottom “Show cart” (after closing strip with items in cart) */
.docomo-bundle-pricing__show-cart[hidden] {
  display: none !important;
}

.docomo-bundle-pricing__show-cart {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 905000;
  /* Above strip (900000), below quote (910000) */
  padding: 12px 16px 20px;
  padding-bottom: max(20px, env(safe-area-inset-bottom, 0px));
  pointer-events: none;
}

.docomo-bundle-pricing__show-cart-inner {
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
  pointer-events: auto;
}

.docomo-bundle-pricing__show-cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35em;
  width: auto;
  max-width: calc(100vw - 32px);
  margin: 0 auto;
  border: 0;
  border-radius: 9999px;
  background-color: #d0021b;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  padding: 14px 24px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  transition:
    background-color 0.15s ease,
    opacity 0.15s ease;
}
.docomo-bundle-pricing__show-cart-btn:hover {
  background-color: #b01e35;
}

.docomo-bundle-pricing__show-cart-btn:focus {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

/* Combined bundle strip: Month-to-Month / Contract tabs (match promo strip styling) */
.docomo-bundle-pricing__combined-tab {
  color: #6b7280;
  background-color: #ffffff;
  border-color: #d1d5db;
}

.docomo-bundle-pricing__combined-tab.is-active {
  color: #ffffff;
  background-color: #d0021b;
  border-color: #d0021b;
}

.docomo-bundle-pricing__combined-tab:not(.is-active):hover {
  border-color: #9ca3af;
}

/* Mobile plans block: lock overlay uses Tailwind bg-white/80; reinforce stacking when locked */
.docomo-bundle-pricing__mobile-section:not(.is-mobile-unlocked)
  [data-mobile-bundle-lock] {
  pointer-events: auto;
}

/*
 * Internet cards (when mobile plans exist): data-reveal-bundle-prices toggled by JS — "0" = promo copy only,
 * "1" = show bundle / 24-mo amounts (and hide desc rows that have a matching amount).
 */
[data-docomo-bundle-pricing][data-has-mobile='1'][data-reveal-bundle-prices='0']
  .docomo-bundle-pricing__bundle-amount,
[data-docomo-bundle-pricing][data-has-mobile='1'][data-reveal-bundle-prices='0']
  .docomo-bundle-pricing__contract-amount {
  display: none !important;
}

[data-docomo-bundle-pricing][data-has-mobile='1'][data-reveal-bundle-prices='1']
  .docomo-bundle-pricing__bundle--has-amount
  .docomo-bundle-pricing__bundle-desc,
[data-docomo-bundle-pricing][data-has-mobile='1'][data-reveal-bundle-prices='1']
  .docomo-bundle-pricing__contract--has-amount
  .docomo-bundle-pricing__contract-desc {
  display: none !important;
}

/* Additional mobile lines */
.docomo-bundle-pricing__amline-section:not(.is-amline-unlocked)
  [data-additional-mobile-lock] {
  pointer-events: auto;
}

/* Entertainment: require internet in bundle before interaction */
.docomo-bundle-pricing__entertainment-section:not(.is-entertainment-unlocked)
  [data-entertainment-bundle-lock] {
  pointer-events: auto;
}

/* Locked sections overlay: keep interaction blocked while preserving background visibility. */
[data-docomo-bundle-pricing] {
  --docomo-bundle-lock-overlay-opacity: 0.45;
}

[data-docomo-bundle-pricing] .docomo-bundle-pricing__mobile-lock,
[data-docomo-bundle-pricing] .docomo-bundle-pricing__amline-lock,
[data-docomo-bundle-pricing] .docomo-bundle-pricing__entertainment-lock,
[data-docomo-bundle-pricing] .docomo-bundle-pricing__dtv-passes-lock,
[data-docomo-bundle-pricing] .docomo-bundle-pricing__premium-channels-lock,
[data-docomo-bundle-pricing] .docomo-bundle-pricing__home-phone-lock {
  background-color: rgba(255, 255, 255, var(--docomo-bundle-lock-overlay-opacity)) !important;
}

/* Internet reminder popup title (Elementor instance-scoped ID) */
[data-docomo-bundle-pricing] [id$='-internet-reminder-title'] {
  font-size: 1rem !important;
}

.docomo-amline-card {
  border: 1px solid #e5e7eb;
  border-bottom-width: 4px;
  border-bottom-color: #d0021b;
}

.docomo-amline-card.is-amline-added {
  border: 2px solid #d0021b;
  border-bottom-width: 2px;
  box-shadow: 0 4px 14px rgba(208, 2, 27, 0.12);
}

/* Additional Mobile Lines card feature list (matches design screenshot) */
.docomo-amline-card__title {
  font-size: 1.875rem; /* ~30px */
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.docomo-amline-card__subtitle {
  font-size: 1rem;
  line-height: 1.4;
  color: #4a4d4e;
}

.docomo-amline-card__features {
  color: #4a4d4e;
  line-height: 1.6;
  text-wrap: pretty;
}

.docomo-amline-card__feature {
  word-break: break-word;
}

[data-docomo-bundle-pricing] .docomo-amline-card__actions {
  border-top: 0 !important;
  padding-top: 0 !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
}

/* Quantity input: match provided design */
[data-docomo-bundle-pricing] .docomo-amline-qty {
  display: inline-flex !important;
  align-items: stretch !important;
  width: auto !important;
  min-height: 0 !important;
  border: 0 !important;
  border-radius: 4px !important;
  background: #ffffff !important;
  overflow: hidden !important;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08) !important;
}

[data-docomo-bundle-pricing] .docomo-amline-qty__rail {
  display: inline-flex !important;
  flex-direction: column !important;
  width: 22px !important;
  border-left: 1px solid rgba(0, 0, 0, 0.08) !important;
  margin-left: 0 !important;
  gap: 0 !important;
}

[data-docomo-bundle-pricing] .docomo-amline-qty__input {
  width: 45px !important;
  height: 42px !important;
  line-height: 1.65 !important;
  float: none !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 0 0 20px !important;
  border: none !important;
  box-shadow: none !important;
  font-size: 1rem !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #4a4d4e !important;
  font-weight: 600 !important;
}

[data-docomo-bundle-pricing] .docomo-amline-qty__step {
  width: 22px !important;
  height: 21px !important;
  border-radius: 0 !important;
  border: 0 !important;
  background: #ffffff !important;
  box-shadow: none !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  color: #4a4d4e !important;
}

[data-docomo-bundle-pricing] .docomo-amline-qty__step--up {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-docomo-bundle-pricing] .docomo-amline-qty__step:hover,
[data-docomo-bundle-pricing] .docomo-amline-qty__step:focus-visible {
  background-color: #f3f4f6 !important;
}

[data-docomo-bundle-pricing] .docomo-amline-add-btn {
  border-width: 2px !important;
  border-radius: 2px !important;
  font-size: 1.25rem !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  padding: 0.85rem 1.25rem !important;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  flex: 1 1 auto !important;
}

.docomo-amline-add-btn:focus-visible {
  outline: 2px solid #d0021b;
  outline-offset: 2px;
}

.docomo-amline-add-btn.is-added {
  background-color: #d0021b !important;
  color: #ffffff !important;
  border-color: #d0021b !important;
}

.docomo-amline-add-btn.is-added:hover {
  background-color: #b01e35 !important;
  color: #ffffff !important;
  border-color: #b01e35 !important;
}

/* Additional line quantity: value (left, red) | + / − stacked (right) */
.docomo-amline-qty {
  display: inline-flex;
  align-items: stretch;
  box-sizing: border-box;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background-color: #ffffff;
  overflow: hidden;
  min-height: 48px;
}

.docomo-amline-qty__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.docomo-amline-qty__input {
  box-sizing: border-box;
  width: 3.25rem;
  min-width: 2.75rem;
  margin: 0;
  padding: 0.25rem 0.15rem;
  border: 0;
  background: transparent;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: #d0021b;
  appearance: textfield;
  -moz-appearance: textfield;
}

.docomo-amline-qty__input::-webkit-outer-spin-button,
.docomo-amline-qty__input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.docomo-amline-qty__input:focus {
  outline: none;
  background-color: #fff8f8;
}

.docomo-amline-qty__rail {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: 2.25rem;
  border-left: 1px solid #d1d5db;
}

.docomo-amline-qty__step {
  box-sizing: border-box;
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  background-color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  color: #4a4d4e;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.docomo-amline-qty__step--up {
  border-bottom: 1px solid #d1d5db;
}

.docomo-amline-qty__step:hover,
.docomo-amline-qty__step:focus-visible {
  background-color: #f3f4f6;
}

.docomo-amline-qty__step:focus-visible {
  outline: 2px solid #d0021b;
  outline-offset: -2px;
  z-index: 1;
}

.docomo-bundle-pricing__quote-summary {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-radius: 4px;
  padding: 24px;
  text-align: left;
  font-size: 14px;
  line-height: 1.5;
  color: #333333;
  background-color: #f5f5f5;
}

.docomo-bundle-pricing__quote-summary-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: #d0021b;
}

.docomo-bundle-pricing__quote-summary-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 6px;
  line-height: 1.5;
}

.docomo-bundle-pricing__quote-summary-label {
  font-weight: 400;
  color: #333333;
}

.docomo-bundle-pricing__quote-summary-value {
  font-weight: 700;
  color: #333333;
}

.docomo-bundle-pricing__quote-summary-nested {
  margin-left: 4px;
  padding-left: 16px;
  border-left: 1px solid #cccccc;
}

.docomo-bundle-pricing__quote-summary-subhead {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: #333333;
}

.docomo-bundle-pricing__quote-summary-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.docomo-bundle-pricing__quote-summary-list > li + li {
  margin-top: 8px;
}

.docomo-bundle-pricing__quote-summary-check {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  padding-left: 1.15rem;
  line-height: 1.5;
}

.docomo-bundle-pricing__quote-summary-check::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 0;
  color: #d0021b;
  font-weight: 700;
  font-size: 0.85em;
  line-height: inherit;
}

.docomo-bundle-pricing__quote-summary-check-text {
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 400;
  color: #333333;
}

.docomo-bundle-pricing__quote-summary-qty-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 4px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
  background-color: #d0021b;
  border-radius: 2px;
}

.docomo-bundle-pricing__quote-summary-rule {
  margin: 6px 0 0;
  border: 0;
  border-top: 1px dotted #cccccc;
}

.docomo-bundle-pricing__quote-summary-prices {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}

.docomo-bundle-pricing__quote-summary-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 6px;
  line-height: 1.5;
}

.docomo-bundle-pricing__quote-summary-price-row
  .docomo-bundle-pricing__quote-summary-label {
  font-weight: 400;
}

.docomo-bundle-pricing__quote-summary-total {
  margin-top: 4px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: #d0021b;
}

.docomo-bundle-pricing__quote-summary-total [data-quote-summary-total] {
  font-weight: 700;
}

/* Price Cards Repeater widget */
.docomo-price-cards-repeater__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .docomo-price-cards-repeater__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .docomo-price-cards-repeater__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.docomo-price-cards-repeater__card {
  background: #ffffff;
  border: 1px solid #ececec;
  border-bottom: 4px solid #d0021b;
  padding: 24px 20px 20px;
  text-align: center;
}

.docomo-price-cards-repeater__title {
  margin: 0 0 12px;
  color: #d0021b;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.docomo-price-cards-repeater__description,
.docomo-price-cards-repeater__description-below-speed,
.docomo-price-cards-repeater__feature {
  margin: 0 0 12px;
  color: #3f4347;
  font-size: 26px;
  line-height: 1.25;
}

.docomo-price-cards-repeater__speed {
  margin: 0 0 12px;
}

.docomo-price-cards-repeater__speed-value {
  margin: 0;
  color: #24292d;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.1;
}

.docomo-price-cards-repeater__speed-label {
  margin: 0;
  color: #50555a;
  font-size: 24px;
  line-height: 1.2;
}

.docomo-price-cards-repeater__you-pay {
  margin: 8px 0 2px;
  color: #d0021b;
  font-size: 36px;
  font-weight: 500;
  line-height: 1.15;
}

.docomo-price-cards-repeater__regular-price {
  margin: 0;
  color: #3f4347;
  font-size: 36px;
  line-height: 1.15;
}

.docomo-price-cards-repeater__secondary {
  margin-top: 36px;
}

.docomo-price-cards-repeater__secondary-title {
  margin: 0 0 12px;
  color: #d0021b;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
}

.docomo-price-cards-repeater__secondary-you-pay {
  margin: 0 0 2px;
  color: #d0021b;
  font-size: 36px;
  font-weight: 500;
  line-height: 1.15;
}

.docomo-price-cards-repeater__secondary-regular-price {
  margin: 0;
  color: #3f4347;
  font-size: 36px;
  line-height: 1.15;
}

/* Template section embed — hover edit control (Link Line / Region widgets) */
.docomo-template-embed--hover-edit {
  position: relative;
  z-index: 1;
}
.docomo-template-embed--hover-edit .docomo-template-edit-icon {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #d0021b;
  background: #fff;
  color: #d0021b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  text-decoration: none;
}
.docomo-template-embed--hover-edit:hover .docomo-template-edit-icon {
  opacity: 1;
  pointer-events: auto;
}
.docomo-template-embed--hover-edit .docomo-template-edit-icon:hover {
  background: #fff5f5;
}
.docomo-template-embed--hover-edit .docomo-template-edit-icon:focus-visible {
  opacity: 1;
  pointer-events: auto;
  outline: 2px solid #d0021b;
  outline-offset: 2px;
}

/* eSIM compatible devices popup */
.docomo-esim-popup {
  position: fixed;
  inset: 0;
  z-index: 99999;
}

.docomo-esim-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.docomo-esim-popup__panel {
  position: relative;
  z-index: 2;
  width: calc(100% - 24px);
  max-width: 760px;
  margin: 56px auto 24px;
  background: #ffffff;
  border: 1px solid #d5d7da;
}

.docomo-esim-popup__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
}

.docomo-esim-popup__title {
  margin: 0;
  color: #d0021b;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
}

.docomo-esim-popup__close {
  border: 0;
  background: transparent;
  color: #a9adb3;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  padding: 0;
}

.docomo-esim-popup__body {
  padding: 0 14px 14px;
}

.docomo-esim-popup__table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.docomo-esim-popup__table th,
.docomo-esim-popup__table td {
  border: 1px solid #d5d7da;
  padding: 10px 12px;
  text-align: center;
  vertical-align: middle;
}

.docomo-esim-popup__table th {
  background: #2e3744;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.docomo-esim-popup__table td {
  color: #3f4347;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
}

/* Link Line Template Accordion — package cards & section titles */
.docomo-mobile-service-plan-card {
  margin-bottom: 14px;
}
.docomo-mobile-service-plan-card__panel {
  background: #fff;
  padding: 16px 14px 10px;
  border-bottom: 3px solid #d0021b;
}
.docomo-mobile-service-plan-card__heading {
  color: #d0021b;
  font-size: 26px;
  margin-bottom: 14px;
}
.docomo-mobile-service-plan-card__feature-text {
  font-size: 14px;
  color: #4a4d4e;
}
.docomo-mobile-service-plan-card__bullet {
  background: #4a4d4e;
}
.docomo-mobile-service-plan-card__price {
  color: #d0021b;
  font-size: 35px;
}
.docomo-mobile-service-plan-card__select-wrap {
  margin-top: 10px;
}
.docomo-mobile-service-plan-card__select {
  background: #f3f3f3;
  border-color: #d0021b;
  color: #d0021b;
  padding: 4px 16px;
  font-size: 15px;
  line-height: 1;
}
.docomo-mobile-service-plan-card__channels-link {
  color: #f06a82;
  font-size: 15px;
}
.docomo-mobile-service-plan-card--primary {
  max-width: 220px;
}
.docomo-mobile-service-plan-card--extra
  .docomo-mobile-service-plan-card__panel {
  padding: 14px 10px 10px;
}
.docomo-mobile-service-plan-card--extra
  .docomo-mobile-service-plan-card__heading {
  font-size: 28px;
  line-height: 1;
  color: #ff6d89;
  margin-bottom: 6px;
}
.docomo-mobile-service-plan-card--extra
  .docomo-mobile-service-plan-card__extra-description {
  font-size: 13px;
  line-height: 1.25;
  margin-bottom: 2px;
}
.docomo-mobile-service-plan-card--extra
  .docomo-mobile-service-plan-card__price {
  font-size: 36px;
}

@media (max-width: 767px) {
  .docomo-mobile-service-plan-card__heading {
    font-size: 20px !important;
  }
  .docomo-mobile-service-plan-card--extra
    .docomo-mobile-service-plan-card__heading {
    font-size: 24px !important;
  }
  .docomo-mobile-service-plan-card__price {
    font-size: 28px !important;
  }
  .docomo-mobile-service-plan-card--extra
    .docomo-mobile-service-plan-card__price {
    font-size: 28px !important;
  }
  .docomo-mobile-service-plan-card__feature-text {
    font-size: 16px !important;
  }
  .docomo-mobile-service-plan-card__feature {
    margin-bottom: 12px;
  }
}

.docomo-line-primary-packages,
.docomo-line-unlimited-extras {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
}

.docomo-line-accordion .docomo-line-accordion__line-buttons{
  width:100% !important;
}

@media(max-width:1024px){
  .docomo-line-primary-packages,.docomo-line-unlimited-extras{
    grid-template-columns:repeat(2,1fr) !important;
  }
}

@media(max-width:767px){
  .docomo-line-primary-packages,.docomo-line-unlimited-extras{
    grid-template-columns:repeat(1,1fr) !important;
  }
}

.docomo-line-broadband-labels .e-con-inner {
  display: grid !important;
  grid-template-columns: 1fr !important;
}

@media (min-width: 768px) {
  .docomo-line-broadband-labels .e-con-inner {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (min-width: 1024px) {
  .docomo-line-broadband-labels .e-con-inner {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

.docomo-line-section-title {
  margin: 18px 0 10px;
  color: #d0021b;
  font-weight: 800;
  line-height: 1.1;
}
.docomo-line-section-title--broadband {
  font-size: 44px;
}
.docomo-line-section-title--extras {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 48px;
  text-transform: uppercase;
}
.docomo-line-section-title--extras::after {
  content: '';
  display: block;
  flex: 1;
  height: 4px;
  background: #d0021b;
}
.docomo-line-cart-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.docomo-line-cart-title svg {
  display: block;
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

/* Sub-package lock overlay (Link Line accordion) */
.docomo-sub-package--disabled {
  position: relative;
  pointer-events: none;
}
.docomo-sub-package--disabled::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.6);
  z-index: 5;
}
.docomo-sub-package--disabled .docomo-mobile-service-plan-card__select {
  opacity: 0.6;
  cursor: not-allowed;
}
.docomo-sub-package-item--disabled {
  opacity: 0.45;
  pointer-events: none;
}
.docomo-sub-package-item--disabled .docomo-mobile-service-plan-card__select {
  opacity: 0.6;
  cursor: not-allowed;
}
[data-docomo-line-email-quote].is-disabled {
  opacity: 0.55;
  pointer-events: none;
  cursor: not-allowed;
}

/* Broadband Labels Card — additional data value (comma / newline spans or HTML) */
.docomo-broadband-additional-data__stack {
  display: block;
  white-space: normal;
}
.docomo-broadband-additional-data__item {
  display: block;
}
.docomo-broadband-additional-data__item
  + .docomo-broadband-additional-data__item {
  margin-top: 0.2em;
}

/* Broadband Labels Card — Style 2 download/upload speed values (newline / <br>) */
.docomo-blf-s2__value-end--multiline-speed {
  white-space: normal;
  line-height: 1.35;
}

/* Roaming Rates Table widget */
.docomo-roaming-rates-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}
.docomo-roaming-rates-table thead th {
  text-align: center;
  font-weight: 700;
  white-space: nowrap;
  padding: 12px 16px;
}
.docomo-roaming-rates-table tbody th,
.docomo-roaming-rates-table tbody td {
  text-align: center;
  padding: 12px 16px;
  border: 0;
}
.docomo-roaming-rates-table tbody th {
  text-align: left;
  white-space: nowrap;
}

/* Line Quote Modal — custom radio */
.docomo-line-quote-radio {
  appearance: none;
  -webkit-appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid #d1223e;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

.docomo-line-quote-radio:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: #d1223e;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

/* Line Quote Modal — custom checkbox */
.docomo-line-quote-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid #d1223e;
  background: transparent;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

.docomo-line-quote-checkbox:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 9px;
  border-right: 2px solid #d1223e;
  border-bottom: 2px solid #d1223e;
  transform: translate(-50%, -60%) rotate(45deg);
}

/* terms and conditions */
.terms-and-conditions-block-heading {
  margin: 48px 0;
  font-size: 3rem;
  font-weight: 700;
  color: var(--docomo-red);
}

body.page-template-gutenberg-full-width-banner .docomo-page-banner-title {
  font-size: 30px;

  @media (min-width: 640px) {
    font-size: 36px;
  }

  @media (min-width: 768px) {
    font-size: 48px;
  }
  @media (min-width: 1024px) {
    font-size: 56px;
  }

  @media (min-width: 1200px) {
    font-size: 64px;
  }
}

body.page-template-gutenberg-full-width-banner header > div:nth-of-type(2) {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 320px;
  right: unset;
  width: 100%;

  @media (min-width: 640px) {
    /* max-width: 750px; */
    max-width: 420px;
  }
  @media (min-width: 768px) {
    /* max-width: 750px; */
    max-width: 550px;
  }
}

@media (min-width: 768px) {
  body.page-template-gutenberg-full-width-banner header > div:nth-of-type(2) {
    /* max-width: 750px; */
    max-width: 550px;
  }
}

@media (min-width: 1024px) {
  body.page-template-gutenberg-full-width-banner header > div:nth-of-type(2) {
    max-width: 750px;
  }
}

body.page-template-gutenberg-full-width-banner
  header
  > div:nth-of-type(2)
  > div
  > div
  form {
  max-width: 100%;
  margin-top: 24px;

  @media (min-width: 1024px) {
    margin-top: 48px;
  }
}

body.page-template-gutenberg-full-width-banner
  header
  > div:nth-of-type(2)
  > div
  > div
  form
  input {
  border-top: 0;
  border-left: 0;
  border-right: 0;
  border-bottom: 2px solid #ddd;
  padding: 6px 0;
  color: #fff;
  font-size: 16px;

  @media (min-width: 768px) {
    font-size: 18px;
  }

  @media (min-width: 1024px) {
    font-size: 22px;
  }
}

body.page-template-gutenberg-full-width-banner
  header
  > div:nth-of-type(2)
  > div
  > div
  form
  button {
  border: 0;
}
body.page-template-gutenberg-full-width-banner
  header
  > div:nth-of-type(2)
  > div
  > div
  form
  button
  svg {
  width: 24px;

  @media (min-width: 768px) {
    width: 28px;
  }

  @media (min-width: 1024px) {
    width: 32px;
  }
}
