/* MOBALPAY STYLING */
.center{text-align: center;}
.bg_blue {
  background-color: rgba(5, 55, 155, 1);
  background-image: linear-gradient(124deg, rgba(0, 83, 163, 1), rgba(8, 33, 80, 1));
  color: #fff;
}

.fixed-bar-button{
font-size: 1.0em;
padding: .4rem 1.25rem;
}

.lighterblue{color:#66ccff;}

.emoji {
  font-size: 40px;
}

.open-font{font-family: 'Open Sans', sans-serif !important;}


@media only screen and (min-width: 1px) {
.radient{background: radial-gradient(circle at 55% 64%, rgb(50, 89, 131) 0%, rgb(7, 24, 51) 40%) !important;}
.home-banner {
  padding: 0px 0 200px 0 !important;
  background: #e3f4fb;
}
.head_content{padding: 50px 0 0px 0;}
 .small-h2 {
    font-size: 1.2em!important;
  }

.home-banner-product {
  padding: 125px 0 270px!important;
  margin-top: -80px;
  background: radial-gradient(circle, rgba(50,89,131,1) 0%, rgba(7,24,51,1) 0%)!important;
}
.blossom-or-card {
  background-image: url('/img/blossom-card.png');
  background-position: -182px -84px;
  background-size: 897px;
  background-repeat: no-repeat;
  padding-bottom: 0px;
}
  .card-table {
    max-width: 120px;
    text-align: center;
    margin-top: -50px;
  }

}

@media only screen and (min-width: 768px) {
.home-banner {
    padding: 125px 0 200px;
	background: rgb(50,89,131);
	background: radial-gradient(circle, rgba(50,89,131,1) 0%, rgba(7,24,51,1) 40%);
}
.radient{background: radial-gradient(circle at 75% 50%, rgba(50,89,131,1) 0%, rgba(7,24,51,1) 40%)!important;}
.small-h2 {
    font-size: 1.5em!important;
    letter-spacing: 0;
  }

.home-banner-product {
    padding: 125px 0 200px!important;
	background: rgb(50,89,131);
	background: radial-gradient(circle, rgba(50,89,131,1) 0%, rgba(7,24,51,1) 40%);
}


.blossom-or-card {
  background-image:none;
  background-position: -182px -84px;
  background-size: 897px;
  background-repeat: no-repeat;
  padding-bottom:0;
  margin-bottom:-29px;
}
  .card-table {
    max-width: 250px;
    text-align: center;
    margin-top: -120px;
  }

}

@media only screen and (min-width: 992px) {
.radient{background: radial-gradient(circle at 75% 50%, rgba(50,89,131,1) 0%, rgba(7,24,51,1) 40%);}
.home-banner {
    padding: 125px 0 200px;
	background: rgb(50,89,131);
	background: radial-gradient(circle, rgba(50,89,131,1) 0%, rgba(7,24,51,1) 40%);
}
.head_content{padding: 100px 0 270px 0;}
.home-banner-product {
  padding: 175px 0 200px !important;
  background: radial-gradient(circle at 80% center, rgba(50,89,131,1) 0%, rgba(7,24,51,1) 40%);
}

.blossom-or-card {
  background-image: url('/img/blossom.png');
  background-position: center 0px;
  background-size: cover;
  background-repeat: no-repeat;
  margin-bottom:0;
	}
}

.box_blue {
  background: #0054a5;
  color: #fff;
  padding: 20px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.timeline {
  position: relative;
}
.step-number {
  width: 50px;
  height: 50px;
  background-color: #019cd4;
  border-radius: 50%;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  font-weight: bold;
  position: relative;
  color: #fff;
}
.timeline-step {
  display: flex;
  align-items: flex-start;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 25px;
  width: 4px;
  height: 75%;
  background-color: #019cd4;

}
.step-content {
  margin-left: 20px;
  padding: 10px;
}

#accordionLocation .accordion-button:not(.collapsed) {
  background-color: #019cd4!important;
}

#accordionLocation .accordion-button, #accordionLocation .accordion-button:not(.collapsed) {
  font-weight: bold;
  background-color: #003473!important;
  color: #fff;
}
.carousel-track {
  display: flex;
  gap: 16px;
  padding: 10px;
  justify-content: center;
}

.video-item {
  min-width: 220px;
  aspect-ratio: 9 / 16;
  flex-shrink: 0;
}
.video-item iframe {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  border: none;
}
.video-carousel {
  overflow-x: auto;
  padding-bottom: 10px;
}

.carousel-indicators .active {
  opacity: 1;
  background-color: #009DD6!important;
}
.carousel-indicators [data-bs-target] {
  background-color: #003473;
  opacity: 1!important;
}
.color-override-left{background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23003473'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e")!important;
}

.color-override-right{background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23003473'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")!important;}
/* MOBALPAY STYLING */


/* NEW JUNE 2025 STYLING */
@media only screen and (min-width: 1px) {
.mobile-break{display:block;}
.mobile-break-sim{display:block;}
}


@media only screen and (min-width: 428px) {
.mobile-break{display:none;}
}



/* NEW SHORT TERM 2025 STYLING */
/* Hide the built-in month & year <select> menus */
.flatpickr-calendar .flatpickr-months .flatpickr-monthDropdown-months,
.flatpickr-calendar .flatpickr-months .flatpickr-yearDropdown-months {
  display: none !important;
}

.plan-card {
    background-color: #edf8fc;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  }



@media only screen and (min-width: 1px) {
.plan-icon{width:70px;height:93px;}
 .plan-icon-card {
    width: 70px;
    height: 46px;
  }
.jpy{font-weight:600;font-size:15px;}
}

@media only screen and (min-width: 768px) {
.plan-icon{width:70px;height:93px;}
  .plan-icon-card {
    width: 110px;
    height: 73px;
  }
.mobile-break-sim{display:none;}
.jpy{font-weight:600;font-size:15px;}
}
.plan-box-footer{
background-color:#fff;
border: 2px solid;
 border-image: linear-gradient(to right, #c2e8f5, #f4d3ed) 1;
}
 /* Custom tweaks */
  .pricing-card {
    border: 2px solid #1e3a8a; /* dark blue border */
    border-radius: .5rem;
    position: relative;
    overflow: hidden;
  }
  .pricing-card .badge-best {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #1e3a8a;
    color: #fff;
    border-bottom-right-radius: .5rem;
    padding: .5rem 1rem;
    font-size: .875rem;
  }
  .pricing-card .plan-icon {
    width: 80px;
    height: auto;
  }
  .pricing-card .list-group-item.active {
    background-color: #e0f2fe;
    border-color: #bae6fd;
    color: #1e3a8a;
  }
  .pricing-card .most-popular {
    font-size: .75rem;
    background-color: #f43f5e;
  }/* NEW SHORT TERM 2025 STYLING */



.charlie{
width:75px;
float:right;
}

/* NEW JUNE 2025 STYLING */
.small-p{font-size:15px!important;}
.mont{font-family: 'Montserrat', sans-serif !important;}
.hotpink {color:#FF3CAC;}
.lightblue{color:#009DD6;}
.hotpink-bg {background-color:#FF3CAC;}
.lightblue-bg{background-color:#009dd6;}
.lightblue-plan-bar{background-color:#d1e8ff;}
.darkblue-bg{background-color:#003473;}
.transparent{background-color:transparent!important;}
.modal-dialog {
  width: 92%;
  margin: .5rem auto;
  max-width: 900px;
}
.collect-box {
  border: solid 2px #009DD6;
  border-radius: 5px;
  padding: 10px;
  margin-bottom: 25px;
  background-color: #f1fbff;
}
.accordion-wrap {
	border: solid 0px #848181!important;
}

.green {
  color: #02A75A;
}
.card-award {
      position: relative;
      overflow: visible;
    }

   .ribbon {
      width: 150px;
      height: 150px;

      position: absolute;
      top: 0px;
      left: 0px;
    }
    .ribbon span {
    position: relative;
    display: block;
    width: 175px;
    padding: 5px 0;
    background-color: #efbf04;
    color: #fff;
    font-weight: bold;
    text-align: center;
    top: -15px;
    margin: 0 auto;
	border-radius: 10px 0px 10px 0px;

  }
@media (min-width: 1px) {
  .fixed-lg-only {
    background-attachment: scroll !important;
	}
}


@media (min-width: 1200px) {
  .fixed-lg-only {
    background-attachment: fixed !important;
  }
}

 @media (min-width: 1px) {
    .accordion-body {
      background-color: white;
      border-radius: 0.75rem;
      padding: 1.5rem 1rem;
      margin-top: -1rem;
    }
	 .card-award .ribbon {
    /* move the whole ribbon container to the middle */
    left: 50%;
    transform: translateX(-50%);
    top: 0;        /* keep it at the very top */
    width: 100%;   /* let it fill the card’s width if you like */
  }

  .hotpink-plan-text {font-size:10px;}
  .card-award .card-body.text-center {
        padding-top: 2.5rem; /* ensure ribbon doesn't cover content */
      }
.card-banner-strip{
text-align: center;
color:#fff;
padding:10px 5px;
font-weight:700;
font-family:'Montserrat',sans-serif!important;
	 }
  .kings{max-width:300px;padding-top:100px;}

 }

 @media (min-width: 360px) {
  .hotpink-plan-text {font-size:12px;}

 }
 @media (min-width: 418px) {
  .hotpink-plan-text {font-size:14px;}
 }

@media (min-width: 768px) {


	.kings{max-width:330px;padding-top:20px;}
}
    .card-award .card-body.primary {
      background-color: #f5c4ca; /* pink quote background */
    }
    .card-award .card-body.secondary {
      background-color: #d1e8ff; /* green quote background */
    }
    .award-logo {
      max-width: 190px;
      margin-bottom: 0rem;
    }



.delivery-id-select {
  width: 100%;
  border: solid 3px #848181;
  border-radius: 15px!important;
  color: #848181;
  padding: 15px 5px 15px 20px!important;
  font-weight: bold;
  font-family: 'Open Sans', sans-serif !important;
  font-size: 19px !important;
}

 .fixed-bar {
      position: fixed;
      top: 0;
      width: 100%;
      background: #003473;
      z-index: 9999;
      transition: top 0.3s ease-in-out;
    }
 .fixed-bar-voice {
      position: fixed;
      top: 0;
      width: 100%;
      background: #003473;
      z-index: 9999;
      transition: top 0.3s ease-in-out;
    }

.custom-icon {
      display: inline-block;
      width: 24px;
      height: 24px;
      border-radius: 50%;
      line-height: 24px;
      text-align: center;
      font-size: 14px;
      font-weight: bold;
    }
    .custom-check {
      background-color: #02A75A; /* Light green background */
      color: #fff; /* Dark green text */
    }
    .custom-x {
      background-color: red; /* Light red background */
      color: #fff; /* Dark red text */
    }
    /* Common card styling for reasons 1–5 */
    .reason-card {
      position: relative; /* For absolutely positioning the pink circle */
      background: #ffffff;
      border: 2px solid #fff;
      border-radius: 1rem;
      padding: 1.5rem; /* top padding so text doesn't collide with the circle */
      margin-bottom: 0; /* or your preference */
      height: 100%;
    }
    .reason-card h6 {
      color: #003473; /* Navy heading color */
    }

    /* Pink circle for the numbers,
       half above the card via negative top offset. */
    .number-circle {
      position: absolute;
      top: 0;
      left: 1.25rem;
      transform: translateY(-50%); /* shift upward so half is above card */
      background-color: #FF3CAC;
      color: #ffffff;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      font-weight: bold;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    /* “Buy Voice Lite” button styling (green) */
    .btn-voice-lite {
      background-color: #00b168;
      color: #ffffff;
      font-weight: 600;
      border-radius: 0.5rem;
      padding: 0.6rem 1.5rem;
      border: none;
    }
    .btn-voice-lite:hover {
      background-color: #009a5a;
    }

    /* Promo Box: Pink top + Navy bottom */
    .promo-container {
      border-radius: 1rem;
      overflow: hidden; /* so top-right diagonal is cleanly clipped */
      position: relative;
    }

    /* Pink top header with diagonal top-right corner */
    .promo-header {
      background-color: #FF3CAC;
      color: #fff;
      padding: 1rem;
      font-weight: 500;
      position: relative;
    }
    /* Diagonal “cut” in the top-right corner */
    .promo-header::after {
      content: "";
      position: absolute;
      top: 0;
      right: 0;
      width: 50px;
      height: 50px;
      background-color: #FF3CAC;
      clip-path: polygon(100% 0, 100% 100%, 0 100%);
    }

    /* Navy bottom for details */
    .promo-body {
      background-color: #003473;
      color: #ffffff;
      padding: 1.5rem;
      position: relative;
    }
    .promo-body h5 {
      margin-bottom: 0.5rem;
    }

    /* “More Details” button as white with green border/text */
    .btn-more-details {
      color: #00b168;
      border: 2px solid #00b168;
      background: #ffffff;
      font-weight: 600;
      border-radius: 0.5rem;
      padding: 0.5rem 1.25rem;
    }
    .btn-more-details:hover {
      background: #00b168;
      color: #ffffff;
    }

    /* Small footnote text */
    .promo-body p.small {
      font-size: 0.8rem;
      margin-top: 0.75rem;
    }

    /* SIM card image in the promo box (angled) */
    .sim-img {
      position: absolute;
      top: -30px;
      right: 1rem;
      width: 90px; /* Adjust as needed */
      transform: rotate(10deg);
    }

.alert{
	background:#f5eeee!important;
	border-radius:5px;
	border:none!important;
}
.orange-alert{
	background:#fff!important;
	border-radius:5px;
	border:solid 3px #ed8200!important;
	margin-bottom: -55px;
}
.orange-tab {
  background: #ed8200 !important;
  border-radius: 5px;
  max-width: 130px;
  text-align: center;
  margin: 0px 0px -20px 15px;
  position: relative;
}
/* accordion section */
.accordion-button-blue::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;

}
.accordion-item {
  border-radius: 10px !important;
}
.accordion-button:not(.collapsed) {
  box-shadow: inset 0 0px 0 rgb(0, 0, 0)!important;
  background-color: transparent!important;
}
 .accordion-button {
      font-weight: bold;
      background-color: white;
      color: #003366;
      border-radius: 0.75rem !important;
      margin-bottom: 0rem;
	 border: none!important;
    }
    .accordion-item {
      border: none;
    }


.accordion-button:focus {
  z-index: 3;
  border: solid 0px #848181!important;
  outline: 0;
  box-shadow: 0 0 0 .0rem rgba(13,110,253,.0)!important;
}


/* accordion section */
.circle-letter {
display: inline-block;
width: 25px;
height: 25px;
border-radius: 50%;
background-color: #003473;
text-align: center;
line-height: 25px;
color: #fff;
font-weight: bold;
font-family: sans-serif;
font-size: 14px;}

.circle-letter-white {
  display: inline-block;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background-color: #fff;
  text-align: center;
  line-height: 20px;
  color: #003473;
  font-weight: bold;
  font-family: sans-serif;
  font-size: 14px;
}

.modal-content {
  margin-top:100px;
}


.free-tab {
  background: #003473;
  color: #fff;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: bold !important;
  width: 60px;
  margin: 0 auto;
}

.button-bigger {
width:100%;
}

@media only screen and (min-width: 1px) {
 .center-mobile-left-desktop {
    text-align: center;
  }
.p-large {
  font-size: 16px !important;
  line-height: 1.4 !important;
}
.p-larger {
  font-size: 18px !important;
  line-height: 1.4 !important;
}	
.pink-line-s {
  max-width: 65px;
}
.pink-line-m {
  max-width: 160px;
}
.pink-line-l {
  max-width: 205px;
}
.pink-line-ml {
  max-width: 225px;
}
.pink-line-xl {
  max-width: 265px;
}
.pink-line-xxl {
  max-width: 295px;
}

.pink-line-xxxl {
  max-width: 310px;
}
.more-details{
  width: 100%;
  display: block;
  text-align: center;
}
.tab-subtitle {
  font-weight: 400;
  font-size: 14px;
}
.tab-title {
  font-size: 16px;
}
.no-min {
  font-size: 15px !important;
}
.fixed-button-override{font-size: 0.9em!important;padding: 5px 5px!important;}
/* Default nav-link styling */
    .nav-item-1 .nav-link {
      background-color: #f0f0f0;
      color: #000;
      margin: 0 3px;
      border: 3px solid transparent;
	  border-radius: 5px;
      font-weight: bold;
      padding: 10px 10px;
      position: relative; /* For placing the tick mark in the button */
	  text-align: center;
	  min-width: 147px;
    }
	.nav-width-override {
	  min-width:300px!important;
    }
.charity-background {
  background-image: url(/img/common/home2023-7.jpg);
  background-size: contain;
  background-repeat: no-repeat;
}
.charity-background-png {
  background-image: url(/img/charity.png);
  background-size: contain;
  background-repeat: no-repeat;
}
.tony{
position: absolute;
    max-width: 85px;
    margin-top: -70px;
	}
.mobile-charity{
margin-top:110px
	}
}

@media only screen and (min-width: 375px) {
.tab-subtitle {
  font-weight: 400;
  font-size: 16px;
}
.tab-title {
  font-size: 18px;
}
	.nav-width-override {
	  min-width:345px!important;
    }
/* Default nav-link styling */
    .nav-item-1 .nav-link {
      background-color: #f0f0f0;
      color: #000;
      margin: 0 3px;
      border: 3px solid transparent;
	  border-radius: 5px;
      font-weight: bold;
      padding: 10px 10px;
      position: relative; /* For placing the tick mark in the button */
	  text-align: center;
	  min-width: 165px;
    }
}

@media only screen and (min-width: 428px) {
 .tab-title {
  font-size: 16px;
}
/* Default nav-link styling */
    .nav-item-1 .nav-link {
      background-color: #f0f0f0;
      color: #000;
      margin: 0 3px;
      border: 3px solid transparent;
	  border-radius: 5px;
      font-weight: bold;
      padding: 20px 10px;
      position: relative; /* For placing the tick mark in the button */
	  text-align: center;
	  min-width: 200px;
    }
}

@media only screen and (min-width: 576px) {
 .tab-title {
  font-size: 18px;
}
/* Default nav-link styling */
    .nav-item-1 .nav-link {
      background-color: #f0f0f0;
      color: #000;
      margin: 0 3px;
      border: 3px solid transparent;
	  border-radius: 5px;
      font-weight: bold;
      padding: 20px 10px;
      position: relative; /* For placing the tick mark in the button */
	  text-align: center;
	  min-width: 230px;
    }
}

.fiveg-icon {
  background-color: #009dd6;
  color: #fff;
  font-weight: bold;
  padding: 3px;
  text-align: center;
  margin: 9px auto;
  border-radius: 50%;
  display: block;
  width: 35px;
  height: 35px;
  line-height: 27px;
}

 @media only screen and (min-width: 768px) {
.p-large{font-size:19px!important;line-height: 1.4 !important;}
.p-larger{font-size:19px!important;line-height: 1.4 !important;}	 
.tab-subtitle {
  font-weight: 400;
  font-size: 17px;
}
    .accordion-body {
      background-color: white;
      border-radius: 0.75rem;
      padding: 1.5rem;
      margin-top: -1rem;
    }
.tablet-left-nudge {margin-left:0.75em;}
.esim-resize {max-width:65px;}
.mobile-neg-top {
    margin-top: 0px;
  }
.more-details{
  width: 200px;
  display: block;
  text-align: center;
}
.pink-line-s {
  max-width: 110px;
}
.pink-line-m {
  max-width: 210px;
}
.pink-line-l {
  max-width: 270px;
}
.pink-line-ml {
  max-width: 300px;
}
.pink-line-xl {
  max-width: 340px;
}
.pink-line-xxl {
  max-width: 400px;
}

.pink-line-xxxl {
  max-width: 420px;
}
.tab-title {
  font-size: 20px;
}
/* Default nav-link styling */
    .nav-item-1 .nav-link {
      background-color: #f0f0f0;
      color: #000;
      margin: 0 3px;
      border: 3px solid transparent;
	  border-radius: 5px;
      font-weight: bold;
      padding: 20px 20px;
      position: relative; /* For placing the tick mark in the button */
	  text-align: left;
	  min-width: 260px;
    }

	.nav-width-override {
	  min-width:360px!important;
    }
.charity-background {
  background-image: url(/img/common/home2023-7.jpg);
  background-size: 600px;
  background-repeat: no-repeat;
}
.charity-background-png {
  background-image: url(/img/charity.png);
  background-size: 600px;
  background-repeat: no-repeat;
}
.mobile-charity{
margin-top:0px
	}
.tony{
position: absolute;
  max-width: 125px;
  margin-top: -33px;
	}
}
@media only screen and (min-width: 992px) {
.nav-width-override {
	  min-width:430px!important;
    }
.no-min {
  font-size: 25px !important;
}
}

@media only screen and (min-width: 1200px) {

.tabs-wrapper-desktop{
max-width:1200px;
margin-left:auto;
margin-right:auto;
border-radius:10px;
	}

.charity-background {
  background-image: url(/img/common/home2023-7.jpg);
  background-size: 765px;
  background-repeat: no-repeat;
}
.charity-background-png {
  background-image: url(/img/charity.png);
  background-size: 765px;
  background-repeat: no-repeat;
}
}

/* Top bar styling */
    .choose-bar {
      background-color: #009DD6;
      padding: 10px 15px;
    }
    .choose-bar h4 {
      color: #fff;
      margin: 0;
    }

    /* Remove default bottom border on nav-tabs */
    .nav-tabs {
      border-bottom: none;
    }



    /* Active tab styling */
    .nav-item-1 .nav-link.active {
	  background-color: #ffffff;
	  border: 3px solid #003473;
	  color: #000;
	  box-shadow: none;
	  border-radius: 5px;
	}

.nav-item-1 .nav-link.active::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  /* Circle dimensions (same as before) */
  width: 20px;
  height: 20px;
  border-radius: 50%;
  /* Show your checkmark image inside the circle */
  background-image: url("/img/bluetick2025.png"); /* Replace with your actual image path */
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 20px; /* Adjust for best fit inside the circle */
}

.tabs-wrapper {
  position: relative;            /* Important to position the pseudo-element */
  background-color: #009DD6;
  padding: 20px 5px 35px 5px;
  margin-bottom: 40px;          /* Extra bottom space so the triangle is fully visible */
}

.tabs-wrapper::after {
  content: "";
  position: absolute;
  left: 49.8%;
  bottom: -30px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-top: 40px solid #009DD6;
  z-index: 1;
}


.tabs-wrapper::before {
  content: "";
  position: absolute;
  left: 49.8%;
  top: -10px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-top: 40px solid #fff;
}


@media only screen and (min-width: 1px) {
  .mobile-neg-top {
    margin-top: -55px;
  }
}

@media only screen and (min-width: 350px) {
  .mobile-neg-top {
    margin-top: -65px;
  }
}

@media only screen and (min-width: 768px) {
  .mobile-neg-top {
    margin-top: 0px;
  }
}

/* KDDI styling */

/* Card with gradient border */
.data-plan-card{
  border-radius: 16px;
  background: #eef8ff;
  box-shadow: 0 8px 22px rgba(0,0,0,.10);
  position: relative;
  overflow: visible;
}


/* Top pills */
.plan-pills{
  position: absolute;
  top: -12px;
  left: 14px;
}

.plan-pill-recommended,
.plan-pill-unlimited{
  background: #ff4fb3;
  font-family: 'Open Sans', sans-serif !important;
}

/* Phone placeholder */
.phone-placeholder{
  width: 85px;
  height: 85px;

}

.phone-placeholder{
  width: 85px;
  height: 85px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.plan-image{
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 1;
  transition: opacity 220ms ease;
}

/* fade-out state */
.plan-image.is-fading{
  opacity: 0;
}

  .badge-kddi {
    font-size: 1em;
    line-height: 1.78;
    width: 35px;
    height: 35px;
    padding: 2px;
    background-color: #009dd6 !important;
    font-weight: 700 !important;
	color: #fff;
    text-align: center;
  }

.js-buy-now-btn{
font-size: 1em;
  text-align: center;
  padding: 0.8em 0em;
}


.esim-media{
  width: 72px; /* helps keep badge aligned under image nicely */
  text-align: center;
}




/* =========================
   Plan dropdown (scoped)
   ========================= */
#unlimitedPlanCard #planDropdownBtn{
  /* remove the Bootstrap blue focus ring + border tint */
  box-shadow: none !important;
  outline: none !important;
  border-color: #ced4da; /* neutral */
}

/* when focused/open, keep it neutral (no blue ring) */
#unlimitedPlanCard #planDropdownBtn:focus,
#unlimitedPlanCard #planDropdownBtn:active,
#unlimitedPlanCard #planDropdownBtn.show{
  box-shadow: none !important;
  outline: none !important;
  border-color: #ced4da;
}

/* stop the blue highlight on menu items */
#unlimitedPlanCard .dropdown-menu .dropdown-item:focus,
#unlimitedPlanCard .dropdown-menu .dropdown-item:active{
  background-color: #f1f3f5 !important; /* light gray */
  color: inherit !important;
}

/* your JS sets .active — override Bootstrap's blue active */
#unlimitedPlanCard .dropdown-menu .dropdown-item.active{
  background-color: #e9ecef !important; /* gray */
  color: inherit !important;
}

/* improve layout so text doesn't wrap awkwardly */
#unlimitedPlanCard .dropdown-menu .dropdown-item{
  white-space: nowrap;          /* keep on one line */
  padding-top: .45rem;
  padding-bottom: .45rem;
}

/* On small phones, reduce font-size just for this dropdown */
@media (max-width: 420px){
  #unlimitedPlanCard #planDropdownBtn{
    font-size: 0.92rem;
    padding-top: .55rem;
    padding-bottom: .55rem;
  }

  #unlimitedPlanCard .dropdown-menu .dropdown-item{
    font-size: 0.90rem;
  }

  /* slightly reduce the price spacing so it fits */
  #unlimitedPlanCard .dropdown-menu .dropdown-item .ms-3{
    margin-left: .75rem !important;
  }
}

@media (min-width: 320px){
.h4-price{
	font-size: 24px;
    font-weight: 700 !important;}
.h4-price1{
	font-size: 21px;
    font-weight: 700 !important;}
}


@media (min-width: 360px){
.h4-price{
	font-size: 24px;
    font-weight: 700 !important;
	}
.h4-price1{
	font-size: 21px;
    font-weight: 700 !important;
	}
}

@media (min-width: 576px){
.h4-price{
	font-size: 24px;
    font-weight: 700 !important;
	}
.h4-price1{
	font-size: 21px;
    font-weight: 700 !important;
	}
}

#unlimitedPlanCard #planSelectNative:focus,
#unlimitedPlanCard #planDropdownBtn:focus{
  box-shadow: none !important;
  outline: none !important;
  border-color: #ced4da;
}
/* Mobile native picker overlay (still triggers OS scroller) */
#unlimitedPlanCard .native-select-wrap{
  position: relative;
}

#unlimitedPlanCard .native-select-display{
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  padding: .375rem 2.25rem .375rem .75rem;
  min-height: calc(1.5em + .75rem + 2px);
  border: 1px solid #ced4da;
  border-radius: .375rem;
  background: #fff;
}

#unlimitedPlanCard .native-select-display::after{
  content: "";
  position: absolute;
  right: .85rem;
  top: 50%;
  transform: translateY(-40%);
  width: 0;
  height: 0;
  border-left: .3rem solid transparent;
  border-right: .3rem solid transparent;
  border-top: .35rem solid #495057;
}

/* The real select is on top (invisible) so tap = native picker */
#unlimitedPlanCard .native-select-real{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

/* Optional: remove blue focus ring only for this picker */
#unlimitedPlanCard #planSelectNative:focus,
#unlimitedPlanCard #planDropdownBtn:focus{
  box-shadow: none !important;
  outline: none !important;
  border-color: #ced4da;
}

#unlimitedPlanCard .native-select-display{
  gap: .25rem; /* ✅ guarantees visible space between “days” and “of” */
}


/* =========================
   Desktop layout (>= 992px)
   ========================= */
@media (min-width: 992px){

  /* 3-column layout that matches design.png */
  #unlimitedPlanCard .plan-desktop-grid{
    display: grid;
    grid-template-columns: 110px 1fr auto;
    grid-template-areas:
      "media title side"
      "media main  side";
    column-gap: 24px;
    row-gap: 10px;
    align-items: start;
    margin-top: 6px;
  }

  /* Let the image + title act as separate grid items */
  #unlimitedPlanCard .plan-head{
    display: contents;
  }

  #unlimitedPlanCard .esim-media{
    grid-area: media;
    width: 110px;
    align-items: flex-start;
    text-align: left;
  }

  #unlimitedPlanCard .plan-titleblock{
    grid-area: title;
  }

  #unlimitedPlanCard .plan-main{
    grid-area: main;
    margin-top: -40px !important;
  }

  #unlimitedPlanCard .plan-side{
    grid-area: side;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 17px;
    min-width: 400px; /* keeps the right column stable like the mock */
  }

  /* Make price + “for X days” feel like a single right-side block */
  #unlimitedPlanCard .plan-price-block{
    margin-top: 0 !important;
  }

  /* Pull the 2 lines closer + tighten typography */
  #unlimitedPlanCard .plan-price-block .display-6{
    font-size: 1.7rem;
    line-height: 1.15;
  }

  /* Desktop dropdown width like design */
  #unlimitedPlanCard #planDropdown{
    max-width: 520px;
  }

  /* Desktop phone size (taller like design.png) */
  #unlimitedPlanCard .phone-placeholder{
    width: 115px;
    height: 115px;
  }

  /* Button becomes compact (not full-width) on desktop */
  #unlimitedPlanCard .plan-side .full-width-button{
    width: auto !important;
    padding-left: 2.4rem;
    padding-right: 2.4rem;
  }

  /* Top-right blue squares */
  #unlimitedPlanCard .plan-signal{
    position: absolute;
    top: 14px;
    right: 18px;
    gap: 10px;
    z-index: 2;
  }
  #unlimitedPlanCard .plan-signal span{
   width: 60px;
    height: 50px;
    border-radius: 2px;
    display: inline-block;
    font-size: 14px;
    line-height: 1.25;
    font-family: 'Open Sans', sans-serif !important;
    color: #003473;
  }
}

#unlimitedPlanCard .plan-signal span img {
  padding-bottom: 5px;
}

@media (min-width: 992px){
  /* Put "Unlimited" + "Data" on one line */
  #unlimitedPlanCard .open-font br{
    display: none;
  }

  /* <p> is block by default — make it inline on desktop */
  #unlimitedPlanCard .open-font p{
    display: inline !important;
    margin: 0 !important;
  }
}
@media (min-width: 992px){
  /* Put "¥7,400 JPY for 16 days" on one line */
  #unlimitedPlanCard .plan-price-block{
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: .5rem;
  }

  /* Prevent the price and the "for X days" blocks from forcing new lines */
  #unlimitedPlanCard .plan-price-block .display-6,
  #unlimitedPlanCard .plan-price-block .text-secondary{
    margin: 0 !important;
    white-space: nowrap;
  }

  /* The "for..." line inherits text-secondary which can be block-level; keep it tidy */
  #unlimitedPlanCard .plan-price-block .text-secondary{
    line-height: 1.15;
  }
}
@media (min-width: 992px){
  /* Center the whole right column (price + button) */
  #unlimitedPlanCard .plan-side{
    align-items: center;   /* was flex-end */
    text-align: center;
  }

  /* Center the one-line price row */
  #unlimitedPlanCard .plan-price-block{
    justify-content: center; /* was flex-end */
  }
}

@media (min-width: 992px){
  /* Signal/icons should be centered above price + button */
  #unlimitedPlanCard .plan-signal{
    position: static !important;   /* stop absolute positioning */
    transform: none !important;
    justify-content: center;
    width: 100%;
    margin-bottom: 10px;
  }

  /* If you previously set top/right/left, neutralize them */
  #unlimitedPlanCard .plan-signal{
    top: auto !important;
    right: auto !important;
    left: auto !important;
  }
}

@media (min-width: 992px){
  /* Center the whole side column contents */
  #unlimitedPlanCard .plan-side{
    align-items: center;
    text-align: center;
  }

  /* Keep your one-line price centered */
  #unlimitedPlanCard .plan-price-block{
    justify-content: center;
  }

  /* Center the icon/signal row above them */
  #unlimitedPlanCard .plan-signal{
    position: static !important;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 45px;
    margin-bottom: 37px;
  }
}
@media (min-width: 992px){
  #unlimitedPlanCard .plan-titleblock .mont.d-lg-flex{
    white-space: nowrap;
    flex-wrap: nowrap;
  }
}

/* Mobile native picker overlay */
#unlimitedPlanCard .native-select-wrap{
  position: relative;
}

#unlimitedPlanCard .native-select-display{
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  padding: .375rem 2.25rem .375rem .75rem;
  min-height: calc(1.5em + .75rem + 2px);
  border: 1px solid #ced4da;
  border-radius: .375rem;
  background: #fff;
}

#unlimitedPlanCard .native-select-display::after{
  content: "";
  position: absolute;
  right: .85rem;
  top: 50%;
  transform: translateY(-40%);
  width: 0;
  height: 0;
  border-left: .3rem solid transparent;
  border-right: .3rem solid transparent;
  border-top: .35rem solid #495057;
}

/* Real select sits on top; tap opens OS picker */
#unlimitedPlanCard .native-select-real{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

/* Keep focus neutral (no blue ring) for this select */
#unlimitedPlanCard #planSelect{
  box-shadow: none !important;
  outline: none !important;
  border-color: #ced4da;
}

#unlimitedPlanCard #planSelect:focus{
  box-shadow: none !important;
  outline: none !important;
  border-color: #ced4da;
}

/* Keep your desktop width like before */
@media (min-width: 992px){
  #unlimitedPlanCard #planDropdown{
    max-width: 520px;
  }
}

/* Optional: small-phone sizing */
@media (max-width: 420px){


}


@media (min-width: 1px){
.fix-small {font-weight: 600 !important;
    font-size: 0.9rem !important;}
.js-buy-now-btn-fixed{font-size:0.8em!important;}

	 #unlimitedPlanCard #planSelect{
    font-size: 0.8rem;
    padding-top: .75rem;
    padding-bottom: .75rem;
  }
	.kddi-modal{
	  font-size: 0.9rem;}

	 .pink-line-xxxl {
    max-width: 280px;
  }
	 .kddi-tag {
    font-size: 1.2rem;
    color: #fff;
    background-color: #09a4d9;
    font-weight: 700;
    padding: 8px;
    max-width: 200px;
    text-align: center;
    border-radius: 0px 2px 2px 0px;
  }


	@media (min-width: 1px) {
  .data-plan-card::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 2px;
    border-radius: 16px;

    /* Seamless loop: end matches start */
    background: linear-gradient(
      90deg,
      #ff4fb3 0%,
      #4aa3ff 50%,
      #ff4fb3 100%
    );
    background-size: 200% 100%;
    background-position: 0% 50%;
    animation: borderSlide 12s linear infinite;

    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask-composite: exclude;

    pointer-events: none;
    z-index: 0;
  }
}

@keyframes borderSlide {
  from { background-position: 0% 50%; }
  to   { background-position: 200% 50%; }
}


.esim-media .plan-pill {
  font-size: 11px;
  padding: 5px 12px;
  text-align: center;
  margin-top: 75px !important;
  position: absolute;
}
}

@media (min-width: 360px){
	 #unlimitedPlanCard #planSelect{
    font-size: 0.85rem;
    padding-top: .75rem;
    padding-bottom: .75rem;
  }
.js-buy-now-btn-fixed{font-size:0.8em!important;}
}

@media (min-width: 375px){
	 #unlimitedPlanCard #planSelect{
    font-size: 0.9rem;
    padding-top: .75rem;
    padding-bottom: .75rem;
  }
.js-buy-now-btn-fixed{font-size:0.8em!important;}
}

@media (min-width: 400px){
 #unlimitedPlanCard #planSelect{
    font-size: 1rem;
    padding-top: .75rem;
    padding-bottom: .75rem;
  }
.js-buy-now-btn-fixed{font-size:1em!important;}
}

@media (min-width: 768px){
  .kddi-modal{
	  font-size: 1rem;}
	.data-plan-card::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 3px 3px 4px 3px;
    border-radius: 16px;

    /* Seamless loop: repeat the start color at the end */
    background: linear-gradient(
      90deg,
      #ff4fb3 0%,
      #4aa3ff 50%,
      #ff4fb3 100%
    );
    background-size: 200% 100%;
    background-position: 0% 50%;
    animation: borderSlide 12s linear infinite;

    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask-composite: exclude;

    pointer-events: none;
    z-index: 0;
  }

  @keyframes borderSlide {
    from { background-position: 0% 50%; }
    to   { background-position: 200% 50%; }
  }
	.fix-small {font-size:16px!important;font-weight:600!important;}
  }


@media (min-width: 992px){
   .kddi-tag {
    font-size: 1.2rem;
    color: #fff;
    background-color: #09a4d9;
    font-weight: 700;
    padding: 8px;
    max-width: 200px;
    text-align: center;
    border-radius: 2px;
  }

	 #unlimitedPlanCard #planSelect{
    font-size: 0.95rem;
    padding-top: .75rem;
    padding-bottom: .75rem;
  }

  /* If you want the badge slightly smaller under the image */
.esim-media .plan-pill{
 font-size: 12px;
  padding: 3px 20px;
  text-align: center;
  margin-top: 105px !important;
  position: absolute;
}
  }

	.kddi-tag + h4{
  white-space: nowrap;
}

/* KDDI styling */


/* KDDI QUICK PAGE styling */
@media (min-width: 1px){
.charity-fix{
padding: 17em 0.75rem 0em 0.75rem;
}
.h1-kddi{font-size:25px!important;}
.h1-from{font-size:22px!important;font-weight: 400!important;font-family: 'Open Sans', sans-serif !important;}
.h1-jpy{font-size:20px!important;}
.sa-kddi{width: 265px;}

#stickyPrice {
  font-size: 12px;
}
.h2-kddi {
  font-weight: 600 !important;
  font-size: 17px !important;
}
}

@media (min-width: 360px){

    #stickyPrice {
        font-size: 0.9rem;
    }

}

/* KDDI QUICK PAGE styling */
@media (min-width: 768px){

#stickyPrice {
  font-size: 20px;
}
.h2-kddi {
  font-weight: 600 !important;
  font-size: 23px !important;
}
}

@media (min-width: 992px){
.charity-fix{
padding: 5em 0.75rem 5em 0.75rem;
}
.white-bg-shadow{}
}

/* KDDI QUICK PAGE styling */


/* KDDI PRODUCT PAGE styling */
.turq{color:#c1e8ed;}
.sky-blue-bg{background-color: #edf8fc;}
.sky-grey-bg{background-color: #f5f5f5;}
.cards-kddi{width: 260px;}
@media (min-width: 1px){
    .plan-pill{
        display: inline-block;
        padding: 5px 6px;
        border-radius: 5px;
        color: #fff;
        font-size: 9px;
        font-weight: 700;
        letter-spacing: .04em;
        line-height: 1;
    }
    /* Sticky bar base */
    .sticky-buybar{
        position: fixed;
        left: 0; right: 0; top: 0;
        z-index: 1050; /* above most things */
        background: #0b3a66; /* close to your blue */
        border-top: 1px solid rgba(255,255,255,.1);
        padding: 10px 0;
        opacity: 0;
        transform: translateY(-8px);
        pointer-events: none;
        transition: opacity .25s ease, transform .25s ease;
    }

.sa-text{display: inline-block;font-family: 'Open Sans', sans-serif !important;font-size:16px;font-weight:400;}
.white-bg-shadow{background-color:#fff;box-shadow: 0 8px 22px rgba(0,0,0,.10);padding:0.5em;border-radius:15px;}
.delivered-text{font-size:10px!important;font-weight: 600!important;font-family: 'Open Sans', sans-serif !important;display:inline-block;}
.charity-text{font-size:10px!important;font-family: 'Open Sans', sans-serif !important;display:inline-block;}
.benefits::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 2px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0077FF, #00BFA6);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: add, add;
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 0;
  }

  .benefits {
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0,0,0,.10);
  position: relative;
  overflow: visible;
}

.badge.bg-pink.text-uppercase.sticky-pill {
  width: 100px;
  padding: 3px 10px;
  text-align: center;
  height: auto;
}

}

@media (min-width: 360px){
 .plan-pill{
        display: inline-block;
        padding: 5px 6px;
        border-radius: 5px;
        color: #fff;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: .04em;
        line-height: 1;
    }	
.white-bg-shadow{background-color:#fff;box-shadow: 0 8px 22px rgba(0,0,0,.10);padding:1em;border-radius:15px;}
.delivered-text{font-size:11px!important;font-weight: 600!important;font-family: 'Open Sans', sans-serif !important;display:inline-block;}
.charity-text{font-size:11px!important;font-family: 'Open Sans', sans-serif !important;display:inline-block;}
}

@media (min-width: 375px){
.delivered-text{font-size:12px!important;font-weight: 600!important;font-family: 'Open Sans', sans-serif !important;display:inline-block;}
.charity-text{font-size:12px!important;font-family: 'Open Sans', sans-serif !important;display:inline-block;}
}

@media (min-width: 414px){
.delivered-text{font-size:13px!important;font-weight: 600!important;font-family: 'Open Sans', sans-serif !important;display:inline-block;}
.charity-text{font-size:13px!important;font-family: 'Open Sans', sans-serif !important;display:inline-block;}
}

@media (min-width: 992px){
.badge.bg-pink.text-uppercase.sticky-pill {
  width: 114px;
  padding: 5px 10px;
  text-align: center;
  height: auto;
}
.h1-kddi{font-size:30px!important;}
.h1-from{font-size:22px!important;font-weight: 400!important;font-family: 'Open Sans', sans-serif !important;}
.h1-jpy{font-size:20px!important;}
.sa-kddi{width: 265px;}
.white-bg-shadow{background-color:#fff;box-shadow: 0 8px 22px rgba(0,0,0,.10);padding:2em;border-radius:15px;}
.delivered-text{font-size:15px!important;font-weight: 600!important;font-family: 'Open Sans', sans-serif !important;display:inline-block;}
.charity-text{font-size:15px!important;font-family: 'Open Sans', sans-serif !important;display:inline-block;}
  .benefits::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 3px 3px 4px 3px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0077FF, #00BFA6);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: add, add;
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 0;
  }

  .benefits {
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0,0,0,.10);
  position: relative;
  overflow: visible;
}

}

@media (min-width: 1200px){
.white-bg-shadow{background-color:#fff;box-shadow: 0 8px 22px rgba(0,0,0,.10);padding: 3em 3em 3em 5em;border-radius:15px;margin-bottom: 3em;}
}


/* Currency dropdown pinned to the top-right corner (scoped) */
#unlimitedPlanCard .plan-currency{
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 5;
}

/* Optional: tidy the button so it looks "chip-like" */
#unlimitedPlanCard .plan-currency .currencyDropdown{
  border-radius: 10px;
  padding: .45rem .65rem;
  box-shadow: none !important;
}



/* Green chip above the price (scoped) */
#unlimitedPlanCard .price-tag-chip{
  font-family: 'Open Sans', sans-serif !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: .25rem .6rem;
  border-radius: 5px;
  background: #DFF7E9;
  color: #0B7A3B;
  font-weight: 700;
  font-size: .85rem;
  line-height: 1.1;
  margin: 0 auto 0.5rem auto; /* centers above price */
  white-space: nowrap;
}

/* On desktop your price block was flex; make chip sit above */
@media (min-width: 992px){

    .plan-pill{
        display: inline-block;
        padding: 5px 8px;
        border-radius: 5px;
        color: #fff;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: .04em;
        line-height: 1;
    }

  #unlimitedPlanCard .plan-price-block{
    flex-direction: column;      /* chip above, then price row */
    align-items: center;
    gap: .35rem;
  }
}

/* Quantity control (scoped to this card only) */
#unlimitedPlanCard .kddi-qty-row{
  display: flex;
  align-items: center;
  gap: 12px;
}

#unlimitedPlanCard .kddi-qty-label{
  font-weight: 700;
  color: #003473; /* your dark-midnight-blue vibe */
  white-space: nowrap;
}

#unlimitedPlanCard .kddi-qty-control{
  display: inline-flex;
  align-items: center;
  border: 1px solid #ced4da;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  height: 45px;
}

#unlimitedPlanCard .kddi-qty-btn{
  border: 0;
  background: #fff;
  width: 34px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #6c757d;
  cursor: pointer;
  user-select: none;
}

#unlimitedPlanCard .kddi-qty-btn:active{
  transform: translateY(1px);
}

#unlimitedPlanCard .kddi-qty-value{
  padding: 0 10px;
  font-weight: 600;
  white-space: nowrap;
  border-left: 1px solid #ced4da;
  border-right: 1px solid #ced4da;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#unlimitedPlanCard .kddi-stock{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0B7A3B;
  font-weight: 600;
  white-space: nowrap;
}

#unlimitedPlanCard .kddi-stock-dot{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;

  color: #0B7A3B;
  font-size: 12px;
  line-height: 1;
}

/* Small screens: keep it tidy */
@media (max-width: 420px){
  #unlimitedPlanCard .kddi-qty-row{ gap: 10px; }
  #unlimitedPlanCard .kddi-qty-control{ height: 45px; }
  #unlimitedPlanCard .kddi-qty-btn{ width: 32px; height: 30px; }
  #unlimitedPlanCard .kddi-qty-value{ height: 30px; font-size: .95rem; }
}

.circle-kddi{border:solid #1F3E6A 3px;border-radius: 50%;max-width:150px;}

.kddi-qty-value .qty-unit {
  margin-left: 6px; /* adjust to taste */
}

.kddi-qty-value {
  display: inline-flex;
  align-items: center;
}

.rating { display: inline-flex; gap: 3px; align-items: center; }
.star { width: 22px; height: 22px; margin-left: -5px;margin-top: -5px;}
.star.filled path { fill: #F78F1E; }
.star.empty  path { fill: #fff; }


.price-strike {
  text-decoration: line-through;
}

.bi-star-fill {
    font-size: 0.95rem;
    color:#eb7100;
}

.bi-patch-check-fill {
    font-size: 1rem;
}

/* Make each column a flex container so the card can stretch */
.col-review {
    display: flex;
}

/* Make each review card fill the column vertically */
.review-card {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Ensure the card body stretches inside the card */
.review-card .card-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

/* Let the review text take up remaining vertical space if needed */
.review-card p {
    flex-grow: 1;
}

/* Columns & equal-height cards */
.col-review {
    display: flex;
}

.review-card {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.review-card .card-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    background: #f6f6f6;
    min-height: 230px;
    border-radius: 10px;
}

.review-card p {
    flex-grow: 1;
}

/* Avatar + overlay tick */
.avatar-wrapper {
    position: relative;
    width: 40px;
    height: 40px;
}

.avatar-initial {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
}

.avatar-badge {
    position: absolute;
    bottom: -2px;
    right: -4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.06);
}

 .confidence-box{
    background: linear-gradient(90deg, #cfe6ff 0%, #d9f1e8 100%);
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 12px;
    padding: 22px 26px;
    box-shadow: 0 1px 0 rgba(0,0,0,.03) inset;
  }
  .confidence-title{
    color:#1f3b63;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: .5rem;
  }
  .confidence-copy{
    color:#1f3b63;
    font-size: .95rem;
    line-height: 1.35;
    margin: 0;
  }
  .confidence-copy a{
    color:#0b63d1;
    font-weight: 700;
    text-decoration: none;
  }
  .confidence-muted{
    color:#6c7a89;
  }
  .confidence-foot{
    margin-top: .75rem;
    font-size: .8rem;
    color:#9aa6b2;
  }
  .confidence-icon{
    width: 74px;
    height: 74px;
    flex: 0 0 auto;
  }

.confidence-img{
	max-width:150px;
}

/* keep your current desktop size */
.confidence-img{
  max-width:150px;
}

/* Mobile layout: badge on top center, text below */
@media (max-width: 767.98px){
  .confidence-box{
    padding-top: 70px;           /* creates room for the badge */
    text-align: center;
  }

  .confidence-img{
    position: absolute;
    top: -34px;                  /* lifts it above the card like the screenshot */
    left: 50%;
    transform: translateX(-50%);
    max-width: 110px;            /* slightly smaller on mobile like your example */
    margin: 0 !important;        /* kill bootstrap margins that would push it */
  }
}

.steps{
  background:#fff;
}

.steps-title{
  font-weight: 800;
  color:#203a63;
  font-size: 1.25rem;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
  padding-bottom: 12px;
  margin-bottom: 0;
}

.steps-title-accent{
  color:#0a86d6; /* the slightly brighter blue in the screenshot */
}

/* pink underline */
.steps-title::after{
  content:"";
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  bottom:0;
  width: 380px;
  max-width: 92vw;
  height: 2px;
  background:#ff5a97;
  border-radius: 2px;
}

.step-card{
  position: relative;            /* needed for the overlap positioning */
  background:#d8f3f1;
  border-radius: 12px;
  padding: 22px 22px 22px 34px;  /* extra left space for overlapped badge */
  box-shadow: 0 2px 0 rgba(0,0,0,.06), 0 8px 18px rgba(0,0,0,.08);
  border: 1px solid rgba(0,0,0,.05);
  max-width: 335px;
  margin: 0 auto;
}

.step-top{
  position: relative;
  padding-left: 6px;             /* small breathing room */
}

/* the overlap badge */
.step-num{
  position: absolute;
  left: -50px;                   /* pushes it outside the card */
  top: 14px;                     /* aligns like the screenshot */
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background:#1fb7b0;
  color:#fff;
  font-weight: 800;
  display:flex;
  align-items:center;
  justify-content:center;
  line-height: 1;
  font-size: 1.15rem;
  box-shadow: 0 6px 14px rgba(0,0,0,.14); /* gives it that “floating” look */
}


.step-heading{
  font-weight: 400;
  color:#203a63;
  font-size: 19px;
  line-height: 1.2;
  margin-bottom: 4px;
  font-family: 'Open Sans', sans-serif !important;
}

.step-body{
  color:#2b4f73;
  font-size: .9rem;
  line-height: 1.25;
}




/* visible state */
.sticky-buybar.is-visible{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* little badge color (matches screenshot vibe) */
.bg-pink{ background:#ff4aa1 !important; }

/* tighten on mobile */
@media (max-width: 575.98px){
  .sticky-title{ font-size: 0.9rem; }
  .sticky-buy-btn{ padding-top:.5rem; padding-bottom:.5rem; }
}

.d-hotline.h-btn {
  align-items: center;
  border-radius: 34px 8px 34px 34px;
  bottom: 30px!important;
  box-shadow: 0 5px 4px 0 rgba(0,0,0,.26);
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: center;
  position: absolute;
  right: 5px;
  z-index: 9995;
  height: 44px!important;
  width: 44px!important;
}

.sticky-title {
  font-family: 'Open Sans', sans-serif !important;
}



.fade-in {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.6s ease forwards;
  }

  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .fade-in:nth-of-type(1) { animation-delay: 0.3s; }
  .fade-in:nth-of-type(2) { animation-delay: 0.6s; }
  .fade-in:nth-of-type(3) { animation-delay: 0.9s; }
  .fade-in:nth-of-type(4) { animation-delay: 1.2s; }
  .fade-in:nth-of-type(5) { animation-delay: 1.5s; }
  .fade-in:nth-of-type(6) { animation-delay: 1.8s; }

 .slide { width: 100%;padding: 0em 0em 2em 0em;}

/* Make accordion content stay inside the rounded box */
#collapseTwoc {
  overflow: hidden;
}

#collapseTwoc .accordion-body {
  padding: 1rem 1.25rem; /* match your design */
}

#cartReviewsCarousel .carousel-control-prev-icon,
#cartReviewsCarousel .carousel-control-next-icon{
  filter: invert(1) grayscale(100);
}
.carousel-control-prev {
  left: -8%;
}
.carousel-control-next {
  right: -8%;
}

/* This is the “middle one is vertically centered” bit */
@media (min-width: 992px){

    /* Sticky bar base */
    .sticky-buybar{
        position: fixed;
        left: 0; right: 0; top: 0;
        z-index: 1050; /* above most things */
        background: #0b3a66; /* close to your blue */
        border-top: 1px solid rgba(255,255,255,.1);
        padding: 20px 0;
        opacity: 0;
        transform: translateY(-8px);
        pointer-events: none;
        transition: opacity .25s ease, transform .25s ease;
    }


.sa-text{display: inline-block;font-family: 'Open Sans', sans-serif !important;font-size:18px;font-weight:400;}
  .steps .step-col--middle{
    align-self: center;         /* centers the whole column within the row */
  }
	.mint-desktop{margin-top:3em;}
}


.help-dotted {
  text-decoration: underline dotted;
  text-underline-offset: 3px;
  cursor: pointer;
  color: inherit; /* keep it looking like normal text */
}

.help-dotted:hover,
.help-dotted:focus {
  opacity: 0.85;
  outline: none;
}

.modal-content.plan-length-modal {
  background: #003473;
}



.close-white{
	 --bs-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414'/%3e%3c/svg%3e");
}

/* Fully opaque tooltip */
.tooltip{
    opacity: 1 !important;
    --bs-tooltip-bg: #003473;
}

/* Inner bubble */
.tooltip .tooltip-inner{
    background-color: #003473 !important;
    color: #fff !important;
    opacity: 1 !important;
}

/* Right side layout: 2 columns, 2 rows
   Row 1: price + button (aligned together)
   Row 2: email under button only
*/
.sticky-right{
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    column-gap: 1rem;
    justify-content: end;
    align-items: center; /* vertical centering for row 1 */
}

.sticky-price-wrap{
    grid-column: 1;
    grid-row: 1;
    align-self: center; /* centers to the button row only */
    white-space: nowrap;
}

.sticky-btn-slot{
    grid-column: 2;
    grid-row: 1;
    align-self: center;
}

.sticky-email{
    grid-column: 2;
    grid-row: 2;
    justify-self: center; /* centered under the button */
    margin-top: .25rem;
    line-height: 1.1;
}


/* KDDI PRODUCT PAGE styling */
