body{
  padding-top: 60px;
}

#apartados select {
  padding-right: 30px;

  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-image: url(../images/newDesign/rowDown.png);
    background-repeat: no-repeat, repeat;
    background-position: right .7em top 50%, 0 0;
    background-size: .65em auto, 100%;
}

/* For IE (thanks to @SaiManoj) */
select::-ms-expand {
  display: none;
}

#carritonv{
  position: absolute;
  top: 10px;
  right: 10px;
}

.bgprinc{
  background-color: rgb(243,238,226);
}

.bgverdeopc {
  --bs-bg-opacity: 1;
  background-color: rgba(242, 233, 206, 0.582);
  box-shadow: 2px 2px 4px 1px rgba(0, 0, 0, 0.3) ;
  border-top-right-radius: 100px;
  margin-bottom: 1rem;
}
/*.bgverdeopc:hover, #divbannerspc:hover,
  .bgverdeopc:focus, #divbannerspc:focus{
    background-color: rgba(75, 102, 90, 1);
}*/

.header-custom {
  padding: 0;
  /* padding-inline: clamp(16px, 5vw, 120px);
  padding-top: clamp(10px, 2vw, 24px);
  padding-bottom: clamp(10px, 2vw, 24px); */
}

.spaceAsesor { margin-top: 0vh;}
.spaceProducts { margin-top: 5vh; }

#titleProductsContent.titleProducts {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "titleProducts lineTitle";
  column-gap: 24px;
  row-gap: 18px;
  align-items: center;
  margin-bottom: 4vh;
}
#idTitleProducts {
  grid-area: titleProducts;
}
#idLineByTitle {
  grid-area: lineTitle;
}

#idContentShopCar.contentShopCar {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "titleShopCar lineShopCar";
  column-gap: 24px;
  row-gap: 18px;
  align-items: center;
  margin-bottom: 4vh;
}
#idTitleShopCar {
  grid-area: titleShopCar;
}
#idLineShopCar {
  grid-area: lineShopCar;
}

#idContentHeader.contentHeader {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "titleHeader logoHeader";
  column-gap: 24px;
  row-gap: 18px;
  align-items: center;
}
#idTitleHeader {
  grid-area: titleHeader;
}
#idLogoHeader {
  grid-area: logoHeader;
}

.titleHeader {
  color: rgba(46, 115, 53, 1);
  font-weight: 400;
  /* font-size: clamp(1.5rem, 3vw, 3.2rem); */
  line-height: 1.1;
  font-family: mauren;
}

.logo-header {
  display: block;
  width: auto;
  height: clamp(58px, 6vw, 81px);
  max-width: 100%;
}

.form-control input{border: none;}


#tblapart td, #tblapart th{
  color: white;
  text-align: center;
}

#apartados hr {
  width: 100%;
  border-top: 2px solid rgba(45, 47, 34, 1) !important;
  margin-left: 23px;
  opacity: 1;
}

#apartados .invalid-feedback{
  color: var(--bs-danger-text);
  font-weight: 600;
}

.tituloprinc {
  color: rgba(45, 47, 34, 1);
  font-size: clamp(15px, 6vw, 30px);
  font-weight: 500;
  line-height: 100%;
  letter-spacing: 5%;
  min-width: max-content;
  margin-bottom: 0px;
}

#apartados .mandala {
  width: clamp(70px, 10vw, 164px);
  height: auto;
  display: block;
}

.label-line {
  color: rgba(87, 87, 86, 1);
  font-size: clamp(14px, 2vw, 20px);
  font-weight: 700;
  line-height: 100%;
}

.input-line {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(87, 87, 86, 1);
  border-radius: 0;
  color: rgba(87, 87, 86, 1);
  font-size: clamp(14px, 2vw, 18px);
  padding: 17px 0px 0px 0px;
  outline: none;
  box-shadow: none;
  appearance: none;
}

#apartados .select2-container {
  width: 100% !important;
  max-width: 100%;
}

/* CONTENEDOR */
.campo-select-custom {
  /* width: 100%; */
  margin: 0 auto;
}

/* SELECT BASE */
.campo-select-custom select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(87, 87, 86, 1);
  color: rgba(87, 87, 86, 1);
  font-size: 22px;
  padding: 17.3px 0px 0px 0px;

  /* quitar estilos nativos */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  outline: none;
}

/* FOCUS */
.campo-select-custom select:focus {
  border-bottom: 2px solid rgba(87, 87, 86, 1);
}

/* FLECHA PERSONALIZADA */
.campo-select-custom {
  position: relative;
}

.campo-select-custom::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 60%;
  width: 12px;
  height: 12px;
  pointer-events: none;

  /* background-image: url('../images/arrowsupdown.png'); */
  background-size: contain;
  background-repeat: no-repeat;
  transform: translateY(-50%);
}

.headerTable-line {
  background-color: rgba(45, 47, 34, 1) !important;
}
.headerTable-label {
  color: rgba(242, 238, 227, 1) !important;
}

.tableRows {
  background-color: transparent !important;
  border: none !important;
  border-bottom: 1px solid black !important;
  border-radius: 0 !important;
  text-align: center;
}

.tableRows-lote {
  color: rgba(45, 47, 34, 1) !important;
}

.bg-toPay {
  background-color: rgba(45, 47, 34, 1);
  color: rgba(255, 255, 255, 1);
  border: none;
}
.bg-toPay:disabled {
  background-color: rgba(45, 47, 34, 0.75);
  color: rgba(255, 255, 255, 1);
}
.bg-toPay:hover,
.bg-toPay:focus {
  background-color: rgb(34, 36, 25);
  color: rgba(255, 255, 255, 1)
}
.bg-green {
  background-color: rgb(46, 115, 53);
  color: rgba(255, 255, 255, 1);
  border: none;
}
.bg-green:disabled {
  background-color: rgba(46, 115, 53, 0.75);
  color: rgba(255, 255, 255, 1);
}
.bg-green:hover,
.bg-green:focus {
  background-color: rgb(39, 100, 45);
  color: rgba(255, 255, 255, 1);
}

#pagar_boton, .subtitulos{
  letter-spacing: 0.5rem;
}

#cmpreq{
  letter-spacing: 0.2rem;
  font-weight: 200;
}

#listaapart td:has(a){
  padding-top: 10px;
}

#apartados span.select2-selection--single  {
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  border-bottom: 2px solid rgba(87, 87, 86, 1) !important;
  padding-top: 14px;
  margin-top: 2.7px;
}
#apartados span.select2-selection__placeholder  {
  display: flex;
  font-size: 20px;
  font-weight: 700;
  justify-content: center !important;
  color: rgba(87, 87, 86, 1) !important;
}
#apartados .select2-selection__arrow {
  right: 15px !important;
}
#apartados .select2-selection__arrow b {
  border-color: rgb(44, 46, 34) transparent transparent transparent;
  border-style: solid;
  border-width: 12.5px 7.2px 0px 7.2px;
}
/* CONTENEDOR DEL DROPDOWN */
#apartados .select2-dropdown {
  background-color: rgba(208, 195, 168, 1) !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: hidden;
}

/* LISTA DE OPCIONES */
#apartados .select2-results__options {
  padding: 0 !important;
  margin: 0 !important;
}

/* CADA OPCIÓN */
#apartados .select2-results__option {
  font-size: clamp(14px, 2vw, 18px) !important;
  font-weight: 400 !important;
  color: rgba(45, 47, 34, 1) !important;
  background-color: rgba(208, 195, 168, 1) !important;
  padding: 1px 33px !important;
  border: none !important;
}

/* OPCIÓN HOVER / RESALTADA */
#apartados .select2-results__option--highlighted[aria-selected] {
  background-color: rgba(45, 47, 34, 1) !important;
  color: #ffffff !important;
}

/* OPCIÓN SELECCIONADA */
#apartados .select2-results__option[aria-selected="true"] {
  background-color: rgba(45, 47, 34, 1) !important;
  color: #ffffff !important;
}

/* BÚSQUEDA INTERNA, POR SI SELECT2 LA MUESTRA */
#apartados .select2-search--dropdown {
  padding: 3px !important;
  background-color: rgba(208, 195, 168, 1) !important;
}

#apartados .select2-search__field {
  border: 1px solid rgba(87, 87, 86, 0.4) !important;
  border-radius: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  font-size: 16px !important;
  color: rgba(45, 47, 34, 1) !important;
  background-color: rgb(242,239,226) !important;
}
#apartados .select2-selection__clear {
  margin-right: 38px;
}
#apartados .select2-selection__rendered {
  font-size: clamp(14px, 2vw, 18px) !important;
  color: rgba(87, 87, 86, 1) !important;
  font-weight: 400 !important;
}
#apartados .select2-container--disabled {
  background-color: rgba(214, 199, 173, 0.35) !important;
}

.footerNewDesign {
  display: flex;
  justify-content: center;
  background-color: rgba(255, 255, 255, 1) !important;
  position: relative;
}

.footerTopRow {
  row-gap: clamp(12px, 2vw, 24px);
  margin-bottom: clamp(12px, 2vw, 20px);
}

.footerText {
  color: rgba(45, 47, 34, 1);
  font-weight: 700;
  font-size: clamp(16px, 1.6vw, 25px);
  line-height: 1.2;
  margin: 0;
}

.footerPhoneWrapper {
  display: block;
  margin-top: clamp(2px, 1vw, 4px);
}

.footerPhone {
  text-decoration: none;
  color: rgba(45, 47, 34, 1);
  font-weight: 400;
  font-size: clamp(14px, 1.4vw, 20px);
}

.footerLogo {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
}

/* tamaños individuales */
.footerLogoPrincipal {
  max-height: clamp(38px, 5vw, 62px);
}

.footerLogoBanco {
  max-width: clamp(110px, 14vw, 180px);
}

.footerLogoSecure {
  max-width: clamp(110px, 14vw, 180px);
}

.footerDireccion {
  color: rgba(87, 87, 86, 1);
  font-size: clamp(11px, 1vw, 14px);
  line-height: 1.4;
  padding: 0 clamp(8px, 2vw, 20px);
}

.footerDireccion a {
  color: rgba(87, 87, 86, 1);
  text-decoration: underline;
}

.mobileTablesScroll {
  width: 100%;
}

/* móvil */
@media (max-width: 767.98px) {
  #apartados .mandala {
    display: none !important;
  }
  .spaceAsesor { margin-top: 10vh;}
  #titleProductsContent.titleProducts {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas: "titleProducts" "lineTitle";
    column-gap: 24px;
    row-gap: 18px;
    align-items: center;
    margin-bottom: 2vh;
  }
  #apartados hr {
    margin-left: 0px;
  }
  #idContentShopCar.contentShopCar {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas: "titleShopCar" "lineShopCar";
    column-gap: 24px;
    row-gap: 18px;
    align-items: center;
    margin-bottom: 2vh;
  }

  .tituloprinc {
    display: flex;
    justify-content: center;
    margin-bottom: 0px;
  }
  .spaceProducts {
    margin-top: 23vh;
  }

  /* .bgprinc{
    background-image:
      url("../images/newDesign/mandalaIzquierda.png"),
      url("../images/newDesign/mandalaDerecha.png");
    background-color: rgb(243,238,226);
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size:
      100px auto,
      100px auto;
    background-position:
      left 0px top 104vh,
      right 0px top 104vh;
    background-repeat: no-repeat, no-repeat;
    background-blend-mode: multiply;
    transition: all 1s ease;
  } */

  .seccionFormDecorada {
    position: relative;
    --mandala-top: 0px;
    --mandala-offset: 19px; /* separación extra después del bloque asesor */
    background-color: rgb(243, 238, 226);
  }

  .seccionFormDecorada::before,
  .seccionFormDecorada::after {
    content: "";
    position: absolute;
    top: calc(var(--mandala-top) + var(--mandala-offset));
    width: clamp(67px, 9vw, 83px);
    height: clamp(190px, 3vw, 236px);
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
    z-index: 0;
  }

  .seccionFormDecorada::before {
    left: 0;
    background-image: url("../images/newDesign/mandalaIzquierda.png");
  }

  .seccionFormDecorada::after {
    right: 0px;
    background-image: url("../images/newDesign/mandalaDerecha.png");
  }

  .seccionFormDecorada .container {
    position: relative;
    z-index: 1;
  }

  #idContentHeader.contentHeader {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas: "logoHeader" "titleHeader";
    row-gap: 18px;
    margin-top: 0;
  }
  .titleHeaderContent, .logoHeaderContent {
    display: flex;
    justify-content: center;
  }
  .titleHeaderContent {
    margin-top: 6vh;
  }

  .footerNewDesign {
    padding-top: 2rem !important;
  }

  .footerTopRow > div {
    margin-bottom: 12px;
  }
  .footerText {
    text-align: center;
  }
  .footerLogoPrincipal,
  .footerLogoBanco,
  .footerLogoSecure {
    max-width: 145px;
    max-height: none;
  }
  .footerDireccion {
    margin-top: 10px;
  }
  .mobileTablesScroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
  }

  .rowTablesMobileScroll {
    flex-wrap: nowrap;
    width: max-content;
    min-width: 980px; /* ajusta este valor si quieres más o menos ancho */
    margin-left: 0;
    margin-right: 0;
  }

  .colTableMobile {
    flex: 0 0 auto;
    max-width: none;
  }

  .colTableMobile:first-child {
    width: 380px;
  }

  .colTableMobile:last-child {
    width: 600px;
  }

  .colTableMobile .table-responsive {
    overflow: visible;
  }
}
.quantityToPay {
  color: rgba(0, 0, 0, 1);
  font-size: clamp(10px, 1.8vw, 15px);
  font-weight: 500;
  letter-spacing: 0.18em;
  margin-bottom: 0;
}

.pay-card {
  width: min(100%, 617px);
  min-height: clamp(50px, 7vw, 60px);
  max-height: clamp(50px, 4.8vw, 80px);
  background-color: rgba(214, 199, 173, 0.35);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 24px);
  padding: clamp(14px, 2vw, 22px) clamp(16px, 2.2vw, 30px);
}

.pay-card-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  flex: 1 1 auto;
}

.pay-card-label {
  color: rgba(0, 0, 0, 1);
  font-size: clamp(12px, 1vw, 16px);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 4px;
}

.pay-card-input-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pay-currency {
  color: rgba(0, 0, 0, 1);
  font-size: clamp(22px, 2.2vw, 40px);
  font-weight: 400;
  line-height: 1;
}

.pay-card-input {
  border: none;
  outline: none;
  box-shadow: none;
  background: transparent;
  color: rgba(0, 0, 0, 1);
  font-size: clamp(24px, 2.4vw, 42px);
  font-weight: 400;
  line-height: 1;
  padding: 0;
  width: 100%;
  min-width: 0;
}

.pay-card-input:focus {
  border: none;
  outline: none;
  box-shadow: none;
  background: transparent;
}

.pay-card-right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  /* gap: clamp(8px, 1vw, 14px); */
}

.pay-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
}

.pay-logo-visa {
  height: clamp(20px, 3vw, 32px);
}

.pay-logo-master {
  height: clamp(24px, 2.8vw, 36px);
}

/* móvil */
@media (max-width: 576px) {
  .pay-card {
    width: 100%;
    padding: 14px 16px;
    gap: 12px;
    border-radius: 8px;
  }

  .pay-card-right {
    gap: 6px;
  }

  .pay-logo-visa {
    height: 28px;
  }

  .pay-logo-master {
    height: 26px;
  }
}

#apartados span.select2-selection.select2-selection--multiple.select2--sm {
  padding: 10px 15px;
}
#apartados .select2-selection__rendered, #apartados .select2-selection__choice__display, #apartados .select2-search__field::placeholder {
  font-family: montserrat, sans-serif;
  font-size: clamp(10px, 2vw, 18px);
  color: #000;
}
#apartados ul.select2-results__options li{
  font-size:0.95rem;
}

#listaapart tr td input {
  min-width: 100% !important;
}

#MasterPlan .btn{
  background-color: #F40F02;
  color: white;
}
#MasterPlan .btn:hover,#MasterPlan .btn:focus {
  background-color: #cf0a00;
}

#logosbancos img{
  -webkit-filter: drop-shadow(2px 2px 1px white);
  filter: drop-shadow(2px 2px 1px white);
}


@media (max-width:1024px) {

  .bgverdeopc {
    border-top-right-radius: 75px;
  }

}


@media (max-width:768px) {

  .bgverdeopc {
    border-top-right-radius: 50px;
  }

  #pagar_boton, .subtitulos{
    letter-spacing: 0.25rem;
  }

}
