﻿/* ===== RD MOBILE MENU ===== */

.rd-mobilemenu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 999999;
  transition: 0.3s all ease;
}

.rd-mobilemenu.active {
  right: 0;
}

.rd-mobilemenu_ul {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 270px;
  padding: 80px 0 30px;
  color: #484e85;
  background: #ffffff;
  font-size: 14px;
  line-height: 20px;
  padding-left: 0 !important;
  overflow-y: auto;
  box-shadow: 5px 0 15px rgba(0, 0, 0, 0.15);
  transform: translateX(-270px);
  transition: 0.3s cubic-bezier(0.55, 0, 0.1, 1);
}

.rd-mobilemenu.active .rd-mobilemenu_ul {
  transform: translateX(0);
}

.rd-mobilemenu_ul a {
  display: block;
  padding: 14px 25px;
  color: #000;
  font-family: var(--font-opensans);
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.rd-mobilemenu_ul li.active > a {
  border-left: 3px solid #fbebb8;
  font-weight: 600;
}

.rd-mobilemenu_ul li {
  border-bottom: 1px solid rgba(72, 78, 133, 0.12);
}

.rd-mobilemenu_ul ul a {
  padding: 10px 25px 10px 40px;
  font-size: 13px;
}

/* Panel superior */
.rd-mobilepanel {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: #fbebb8;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  z-index: 9999999;
}

.rd-mobilepanel_title {
  position: absolute;
  top: 50%;
  left: 56px;
  right: 56px;
  transform: translateY(-50%);
  text-align: center;
  z-index: 1;
}

/* Hamburguesa */
.rd-mobilepanel_toggle {
  position: absolute;
  border: none;
  background: none;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rd-mobilepanel_toggle span {
  position: relative;
  display: block;
  margin: auto;
  transition: all 0.3s ease;
}

.rd-mobilepanel_toggle span,
.rd-mobilepanel_toggle span::before,
.rd-mobilepanel_toggle span::after {
  width: 24px;
  height: 3px;
  background-color: #000;
  border-radius: 2px;
  backface-visibility: hidden;
}

.rd-mobilepanel_toggle span::before,
.rd-mobilepanel_toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  transition-duration: 0.3s, 0.3s;
  transition-delay: 0.3s, 0s;
  transition-property: top, transform;
}

.rd-mobilepanel_toggle span::before {
  top: -8px;
}
.rd-mobilepanel_toggle span::after {
  top: 8px;
}

.rd-mobilepanel_toggle.active span {
  background: transparent;
}

.rd-mobilepanel_toggle.active span::before,
.rd-mobilepanel_toggle.active span::after {
  top: 0;
  transition-delay: 0s, 0.3s;
}

.rd-mobilepanel_toggle.active span::before {
  transform: rotate(45deg);
}

.rd-mobilepanel_toggle.active span::after {
  transform: rotate(-45deg);
}

@media (max-width: 1650px) {
  .header-banner-logo {
    height: 215px;
  }

  #home-1 .titulo {
    font-size: 64px;
  }

  #home-1 .subtitulo {
    font-size: 36px;
  }

  .section-cards .title {
    font-size: 33px;
  }

  .section-cards .subtitle {
    font-size: 17px;
  }

  .section-cards .card:nth-child(1) .image img {
    width: 156px;
  }

  .section-cards .card:nth-child(2) .image img {
    width: 217px;
  }

  #home-3 .texto {
    font-size: 48px;
  }

  #home-6 .title {
    font-size: 68px;
  }

  #home-6 .item .title {
    font-size: 45px;
  }

  #home-6 .item:nth-child(3) .title {
    font-size: 42px;
  }

  #home-6 .description {
    font-size: 22px;
  }

  #home-8 .text {
    font-size: 54px;
  }

  .section-product .container {
    padding: 0 60px;
  }
}

@media (max-width: 1600px) {
  #home-8 .text {
    font-size: 58px;
  }

  .section-intro .text,
  #home-10 .text {
    font-size: 58px;
  }

  #home-12 {
    padding: 60px 0 30px;
  }

  #home-12 .item:nth-child(1) .image {
    height: 238px;
  }

  #home-12 .item:nth-child(2) .image {
    height: 263px;
  }

  #home-12 .item:nth-child(3) .image {
    height: 290px;
  }

  #home-12 .item:nth-child(4) .image {
    height: 295px;
  }

  #home-12 .item:nth-child(5) .image {
    height: 296px;
  }

  #home-12 .item:nth-child(6) .image {
    height: 282px;
  }

  #home-12 .item:nth-child(7) .image {
    height: 238px;
  }

  #home-12 .item:nth-child(8) .image {
    height: 298px;
  }

  #home-12 .grid {
    gap: 100px 0;
  }
}

@media (max-width: 1500px) {
  #home-1 .titulo {
    font-size: 60px;
  }

  #home-1 .subtitulo {
    font-size: 34px;
  }
}

@media (max-width: 1400px) {
  #home-6 .title {
    font-size: 51px;
  }

  #home-6 .item .title {
    font-size: 34px;
  }

  #home-6 .item:nth-child(3) .title {
    font-size: 32px;
  }

  #home-6 .description {
    font-size: 19px;
  }
}

@media (max-width: 1300px) {
  .main-header {
    margin: 45px 55px 0;
  }

  .header-nav-wrapper {
    padding: 16px 50px 9px;
  }

  .home-content {
    margin: 0 55px;
  }

  .section-cards .title {
    font-size: 30px;
    line-height: 1;
  }

  .section-cards .button {
    width: 153px;
    height: 39px;
    gap: 8px;
  }

  .section-cards .button img {
    width: 20px;
    height: 14px;
  }

  .section-cards .button span {
    font-size: 17px;
  }

  .section-cards .card {
    padding: 0 45px 0;
  }

  .section-cards .card:nth-child(1) .image img {
    width: 137px;
  }

  .section-cards .card:nth-child(2) .image img {
    width: 191px;
  }

  #home-3 .texto {
    font-size: 36px;
  }

  #home-8 .text {
    font-size: 43px;
    letter-spacing: -2px;
  }

  .section-intro .text,
  #home-10 .text {
    font-size: 43px;
    letter-spacing: -2px;
  }

  #home-12 .item:nth-child(1) .image {
    height: 210px;
  }

  #home-12 .item:nth-child(2) .image {
    height: 232px;
  }

  #home-12 .item:nth-child(3) .image {
    height: 256px;
  }

  #home-12 .item:nth-child(4) .image {
    height: 260px;
  }

  #home-12 .item:nth-child(5) .image {
    height: 261px;
  }

  #home-12 .item:nth-child(6) .image {
    height: 249px;
  }

  #home-12 .item:nth-child(7) .image {
    height: 210px;
  }

  #home-12 .item:nth-child(8) .image {
    height: 263px;
  }

  .section-product .container {
    padding: 0 20px;
  }

  .section-product .carousel {
    padding-right: 0;
  }
  .section-product .dots {
    padding-right: 0;
  }

  .section-product .carousel-main {
    width: 360px;
    height: 460px;
  }
}

@media (max-width: 1100px) {
  .main-header {
    margin: 45px 30px 0;
  }

  #home-1 .titulo {
    font-size: 56px;
  }

  #home-1 .subtitulo {
    font-size: 32px;
  }

  .home-content {
    margin: 0 30px;
  }

  .header-nav-wrapper {
    padding: 16px 30px 9px;
    gap: 40px;
  }

  .header-nav .main-nav ul {
    gap: 25px;
  }

  .header-banner-logo {
    height: 185px;
  }

  .header-nav .main-nav ul li a {
    font-size: 14px;
  }
}

@media (max-width: 1000px) {
  .section-cards .container {
    flex-direction: column;
  }

  .section-cards .card {
    padding: 20px 45px;
  }

  #home-6 .grid {
    flex-wrap: wrap;
  }

  #home-6 .item {
    flex: 0 0 calc(50% - 25px);
    max-width: calc(50% - 25px);
  }

  #home-12 .item:nth-child(1) .image {
    height: 189px;
  }

  #home-12 .item:nth-child(2) .image {
    height: 209px;
  }

  #home-12 .item:nth-child(3) .image {
    height: 230px;
  }

  #home-12 .item:nth-child(4) .image {
    height: 234px;
  }

  #home-12 .item:nth-child(5) .image {
    height: 235px;
  }

  #home-12 .item:nth-child(6) .image {
    height: 224px;
  }

  #home-12 .item:nth-child(7) .image {
    height: 189px;
  }

  #home-12 .item:nth-child(8) .image {
    height: 237px;
  }

  #home-12 .btn-amazon {
    width: 323px;
    height: 69px;
  }

  #home-12 .btn-amazon img {
    width: 191px;
    height: 69px;
  }

  #home-12 .btn-amazon .icon-view {
    width: 85px;
    height: 14px;
  }

  #home-12 .grid {
    gap: 60px 0;
  }

  .section-product .container {
    flex-direction: column;
    align-items: center;
  }

  .section-product .right {
    order: 1;
  }

  .section-product .left {
    order: 2;
  }

  .section-product .btn-amazon {
    margin: 0 auto;
  }
}

@media (max-width: 870px) {
  .header-banner,
  .header-nav {
    display: none;
  }

  .rd-mobilemenu {
    display: block;
  }

  .rd-mobilepanel {
    display: block;
  }

  body {
    padding-top: 70px;
  }

  .main-header {
    margin: 0;
  }

  #home-1 {
    margin: 0;
    height: 400px;
  }

  .footer-content {
    flex-direction: column;
    gap: 10px;
  }

  .home-content {
    margin: 20px 15px;
  }

  #home-1 .container {
    gap: 85px;
  }

  #home-1 .titulo {
    font-size: 38px;
  }

  #home-1 .subtitulo {
    font-size: 21px;
  }

  #home-1 .imagen img {
    width: 230px;
    height: auto;
  }
}

@media (max-width: 850px) {
  #home-12 .item {
    width: 33.333%;
  }

  #home-12 {
    margin: 0;
  }
}

@media (max-width: 767px) {
  .section-cards .card:nth-child(1) .image img {
    width: 110px;
  }

  .section-cards .card:nth-child(2) .image img {
    width: 105px;
  }

  .section-cards .right {
    gap: 20px;
  }

  #home-6,
  #home-4,
  .section-cards {
    margin: 20px 0;
  }

  #home-6 {
    padding: 60px 0;
  }

  #home-6 .title {
    margin-bottom: 30px;
  }

  .section-product {
    padding: 25px 0;
  }

  .section-product .title {
    font-size: 22px;
  }

  .section-product .description li {
    font-size: 15px;
  }

  .section-product .btn-amazon {
    width: 214px;
    height: 44px;
  }

  .section-product .btn-amazon img {
    width: 121px;
    height: 44px;
  }

  .section-product .btn-amazon .icon-view {
    width: 51px;
    height: 9px;
  }

  .section-product .carousel-main {
    height: 380px;
  }

  .section-product .arrow img {
    width: 26px;
    height: 51px;
  }

  .section-product .dots .swiper-pagination-bullet {
    width: 18px;
    height: 18px;
  }

  #virgen-6.section-video {
    margin: 20px 0;
  }

  .section-images .container {
    flex-direction: column;
  }

  .section-product .right {
    gap: 25px;
  }

  #antoni-4.section-video,
  #beni-4.section-video,
  #judas-4.section-video {
    margin: 20px 0;
  }

  #antoni-5.section-intro,
  #beni-5.section-intro,
  #judas-5.section-intro {
    margin: 20px 0;
  }
}

@media (max-width: 650px) {
  #home-12 .item:nth-child(1) .image {
    height: 142px;
  }

  #home-12 .item:nth-child(2) .image {
    height: 157px;
  }

  #home-12 .item:nth-child(3) .image {
    height: 173px;
  }

  #home-12 .item:nth-child(4) .image {
    height: 176px;
  }

  #home-12 .item:nth-child(5) .image {
    height: 176px;
  }

  #home-12 .item:nth-child(6) .image {
    height: 168px;
  }

  #home-12 .item:nth-child(7) .image {
    height: 142px;
  }

  #home-12 .item:nth-child(8) .image {
    height: 178px;
  }
}

@media (max-width: 563px) {
  #home-1 {
    height: auto;
    padding: 60px 0;
  }

  #home-1 .container {
    flex-direction: column-reverse;
    gap: 20px;
  }

  #home-1 .contenido {
    left: 0;
  }

  #home-1 .subtitulo,
  #home-1 .titulo {
    margin-bottom: 20px;
  }

  #home-1 .imagen img {
    width: 180px;
  }

  .section-cards .card {
    padding: 20px 20px;
  }

  .section-cards .title {
    font-size: 22px;
  }

  .section-cards .subtitle {
    font-size: 13px;
  }

  .section-cards .button {
    width: 130px;
    height: 33px;
    gap: 7px;
  }

  .section-cards .button img {
    width: 17px;
    height: 12px;
  }

  .section-cards .button span {
    font-size: 14px;
  }
}

@media (max-width: 559px) {
  #home-6 .grid {
    gap: 10px;
  }

  #home-6 .item {
    flex: 0 0 calc(50% - 5px);
    max-width: calc(50% - 5px);
  }
}

@media (max-width: 500px) {
  #home-12 .item {
    width: 50%;
  }

  #home-12 {
    padding: 25px 0;
  }

  #home-12 .btn-amazon {
    width: 258px;
    height: 55px;
    margin: 30px auto 0;
  }

  #home-12 .btn-amazon img {
    width: 153px;
    height: 55px;
  }

  #home-12 .btn-amazon .icon-view {
    width: 68px;
    height: 11px;
  }
}

@media (max-width: 480px) {
  .footer-left p {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
  }

  .footer-separator {
    display: none;
  }

  #home-3 .texto {
    font-size: 30px;
  }

  #home-6 .grid {
    flex-direction: column;
    align-items: center;
  }

  #home-6 .item {
    flex: 0 0 auto;
    max-width: 300px;
    width: 100%;
  }

  #home-6 .item .title {
    height: auto;
  }

  #home-6 .title {
    font-size: 42px;
  }

  #home-8 .text {
    font-size: 30px;
    letter-spacing: 0;
  }

  .section-product .carousel-main {
    width: 252px;
  }

  #virgen-1 .text,
  #home-10 .text {
    font-size: 30px;
    letter-spacing: 0;
  }

  .section-intro .text {
    font-size: 35px;
  }
}

@media (max-width: 380px) {
  .section-product .carousel-main {
    width: 202px;
    height: 304px;
  }
}
