:root {
  --bg: #1ca9d4;
  --bd: #ff5a00;
  --bp: #297e79;
}

/* Custom */
.slick-slide .badge_item img, .slick-slide .item-img img {
  margin: auto;
}
.slick-dots {
  margin-bottom: 20px;
}

/* General Styles (add these if not already present) */
body {
  font-family: sans-serif;
  /* Choose a suitable font */
  margin: 0;
  padding: 0;
  margin: 0 auto;
}

section {
  text-align: center;
}

.sec-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}

.col-left,
.col-right {
  width: 45%;
  /* margin: 20px; */
  padding: 20px;
}

.col-right {
  padding-left: 20px;
}

section p {
  /* max-width: 800px; */
  margin: 8px 15px;
  line-height: 1.3;
}

section h2.title {
  font-size: 2em;
  font-weight: bold;
  margin: 30px auto;
  text-transform: uppercase;
  text-align: center;
}

.container {
  background-color: #fff;
  display: flex;
  justify-content: center;
  gap: 30px; 
  align-items: center;
}



/* Header Styles */

.logo {
  flex: 1;
  /* Allow logo to take available space */
  text-align: left;
  /* Align logo text to the left */
}

.logo h1 {
  font-size: 2.5em;
  font-weight: bold;
  margin: 0;
  color: var(--bd);
  font-family: "Calistoga", Sans-serif;
}

.header-image {
  flex: 1;
  /* Allow image to take available space */
  text-align: right;
  /* Align image to the right */
}

.header-image img {
  max-width: 100%;
  /* Image takes up all available space in its column */
  height: auto;
}

/* Section top */
#top {

  padding-bottom: 30px;

  .col-right {
    width: 50%;
    background-image: url("../jpg/offer.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 600px;
    /* margin: 20px; */
    padding: 20px;
  }

  .offer__bullet {
    display: flex;
    align-items: center;
  }

  .offer__bullet::before {
    flex-shrink: 0;
    display: block;
    width: 54px;
    height: 54px;
    background: url("../png/icon1.png") 50% 50% no-repeat #00b7a7;
    border-radius: 50%;
    margin-right: 10px;
    content: "";
  }

  .col-left {
    /* margin: 20px; */
    padding: 20px;
    text-align: center;
    width: 50%;
  }

  .col-left h2 {
    font-size: 40px;
  }

  .col-left h3 {
    color: var(--bd);
  }

  .col-left ul {
    text-align: start;
    margin: auto;
  }

  .price-tab,
  .price-m {
    display: none;
    justify-content: center;
  }

  .price div.buyd {
    width: 380px;
  }

  .buy-tab {
    text-align: center;
  }

  div.center {
    margin: -60px auto;
    width: 275px;
    background: url("../png/sale0.png") no-repeat;
    height: 135px;
    padding-top: 50px;
  }

  /* span.price {
    font-size: smaller;
  } */
}

/* ====== Section problem ====== */
section#problem,
section#solution {
  background-color: var(--bg);
  color: white;
}

#problem .problem-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  text-align: center;
  margin: auto;
  padding: 20px;
}

#problem .problem-items .item {
  margin: 10px;
  padding: 10px;
  text-align: center;
  width: 180px;
}

#problem .problem-items img {
  border: 3px solid var(--bg);
  box-shadow: 0 0 10px;
  border-radius: 10px;
  height: 150px;
  width: 150px;
  object-fit: cover;
  overflow: hidden;
}

/* Section solution */
#solution .solution-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

#solution .col-left img {
  border: 3px solid white;
  border-radius: 10px;
  object-fit: cover;
  overflow: hidden;
  width: 100%;
}

#solution .col-right {
  text-align: center;
  max-width: 380px;
}

/* Section benefits */
#benefits .benefits-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

#benefits .col-left img {
  border: 3px solid white;
  border-radius: 10px;
  object-fit: cover;
  overflow: hidden;
}

#benefits .col-right {
  margin: 20px;
  padding: 20px;
  text-align: start;
  max-width: 380px;
}

#benefits ul {
  text-align: start;
  margin: auto;
}

/* Section advantages */
#advantages .advantages-items {
  text-align: start;
  margin: auto;
}

#advantages .advantages-items img {
  border: 3px solid white;
  border-radius: 10px;
  float: right;
  margin: 0 0 20px 20px;
}

/* Section six-reasons */
#six-reasons .title span {
  color: var(--bd);
}

#six-reasons .six-reasons-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  text-align: center;
  margin: auto;
  padding: 20px;
}

#six-reasons .six-reasons-items .item {
  text-align: center;
  width: 180px;
}

#six-reasons .six-reasons-items img {
  border: 3px solid var(--bg);
  box-shadow: 0 0 10px;
  border-radius: 50%;
  padding: 10px;
  margin: 10px auto;
}

#six-reasons .six-reasons-items .item-title {
  font-size: larger;
  font-weight: bolder;
  margin: 10px;
}

/* Section expert-opinion */
#expert-opinion {
  background-color: var(--bg);
  color: white;
}

#expert-opinion .opinion {
  display: flex;
  justify-content: center;
  gap: 30px;
  text-align: center;
  align-items: center;
  margin: auto;
  /* padding: 20px; */
}

#expert-opinion .badge {
  display: flex;
  text-align: center;
  align-items: center;
  gap: 20px;
}

#expert-opinion .badge .expert-img img {
  border: 5px solid white;
  border-radius: 15px;
  width: 100px;
}

#expert-opinion .expert-name {
  font-weight: bolder;
  font-size: larger;
  margin: 10px;
}

/* Section ingredients */
#ingredients .title span {
  color: var(--bp);
}

#ingredients .ingredients-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  text-align: center;
  margin: auto;
  padding: 20px;
}

#ingredients .ingredients-items .item {
  text-align: center;
  width: 180px;
}

#ingredients .ingredients-items img {
  border: 3px solid white;
  box-shadow: 0 0 10px;
  border-radius: 10px;
  height: 150px;
  object-fit: cover;
  overflow: hidden;
}

#ingredients .ingredients-items .item-title {
  font-size: larger;
  font-weight: bolder;
  margin: 10px auto;
}

/* Section how-to-use */
#how-to-use .title span {
  color: var(--bd);
}

#how-to-use .sub-text {
  text-align: center;
}

#how-to-use .usage-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  /* gap: 30px; */
  text-align: center;
  margin: auto;
  padding: 20px;
}

#how-to-use .usage-items img {
  border: 3px solid white;
  border-radius: 10px;
}

#how-to-use .usage-items .item {
  padding: 10px;
  text-align: center;
}

/* Section testimonials */

#testimonials {
  background-color: var(--bg);
  color: white;
  padding: 20px;

  div.rev-slide div.slide-item {
    margin: 10px;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    width: 85% !important;
    line-height: 1.4;
  }

  div.rev-slide div.title {
    font-size: 1rem;
    color: #000;
    display: flex;
    justify-content: space-between;
  }

  div.rev-slide .slide-title-left {
    width: 110px;
  }

  div.rev-slide .slide-title-left img {
    border-radius: 50%;
  }

  div.rev-slide .slide-title-right {
    text-align: right;
    background: url("../png/Star.png") no-repeat top right;
    padding-top: 30px;
  }

  div.rev-slide .slide-title-right span:first-of-type {
    font-size: larger;
    font-weight: bold;
  }

  div.rev-slide .content {
    text-align: center;
    color: #000;
  }

  div.rev-slide .content {
    margin-top: 10px;
  }

  div.rev-slide .content img {
    margin-top: 10px;
    display: unset;
    width: 150px;
  }
}

/* Section Badge */
#guarantee {
  div.sec_badge_inner {
    display: flex;
    text-align: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
  }

  div.badge_item {
    width: 180px;
  }

  div.badge_item .badge_head {
    font-weight: bold;
    margin: 10px 0;
  }

  div.badge_bottom {
    padding: 0 20px;
    margin: auto;
    max-width: 1024px;
  }

  div.badge_bottom p.badge_bottom_head {
    font-weight: bold;
    margin: 10px 0;
  }
}

/* Section bottom */

#bottom .sec-inner {
  display: flex;
  /* flex-wrap: wrap; */
  justify-content: center;
  gap: 30px;
  text-align: center;
  margin: auto;
  padding: 20px;
}

#bottom .col-left,
#bottom .col-right {
  max-width: 400px;
}

#bottom .col-left img {
  width: 100%;
}

#bottom .col-right {
  background-color: #cfeae9;
  border-radius: 20px;
  margin: auto 20px;
  border: solid var(--bd);
  box-shadow: 0 0 10px var(--bd);
}

#bottom div.price-box {
  display: flex;
  align-items: center;
  color: #15141A;
}

#bottom div.price-box .fas {
  margin-right: 10px;
}

#bottom div.price-box-inner {
  display: flex;
  align-content: center;
  align-items: center;
  margin: 10px auto;
  justify-content: start;
  text-align: center;
}

#bottom div.price__label {
  font-size: 12px;
}

#bottom {
  border-top: 10px dotted var(--bg);
}

#bottom h1 {
  font-weight: 800;
  color: var(--bd);
}

#bottom input {
  height: 40px;
}

#bottom button.btn {
  width: 100%;
  height: 50px;
  background-color: var(--bd);
  border: 2px solid;
  border-radius: 10px;
  font-size: 20px;
  color: white;
  font-weight: 800;
}

#bottom .nprice,
#bottom .oprice {
  font-weight: bold;
  margin: 0 5px;
}

#bottom .price__value--old {
  text-decoration: line-through;
}

#bottom .price__value--new {
  font-size: xx-large;
  color: var(--bg);
  margin-top: 10px;
}

#oform {
  input {
    outline: none;
  }
  
  input#customerPhone {
    background: url(/assets-main/png/flag/spain-16x16-33105.png) no-repeat scroll 10px 12px white;
  }

  div#low {
    display: block;
  }

  div#full {
    display: none;
  }

  div.selected {
    background-color: white;
  }
  
} 


div.call-buy,
div.noti-box,
div.noti-box-buy,
div.noti-box-buy-m,
div.noti-box-buy-tab {
  color: white;
  text-align: center;
  background-color: var(--bp);
  padding: 15px;
  margin: 0 auto;
  border: 3px solid white;
  border-radius: 30px;
  box-shadow: 0 0 10px black;
}

div.noti-box {
  margin: 40px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bolder;
  padding: 30px;
}

div.noti-box div.center {
  font-size: xx-large;
  line-height: 1;
  /* display: flex; */
  justify-content: center;
}

div.noti-box img {
  position: relative;
  z-index: 0;
  top: 50%;
  left: 50%;
  margin-top: -90px;
  margin-left: -120px;
}

div.noti-box span {
  z-index: 1;
}

div.noti-box span.price {
  font-size: 45px;
}

/* Media Queries for Responsiveness ================================================== */
@media (max-width: 815px) {

  /* Adjust breakpoint as needed */
  header {
    flex-direction: column;
    /* Stack logo and image vertically */
    align-items: center;
  }

  .header-image img {
    max-width: 80%;
    /* Increase image size on smaller screens */
    margin-top: 20px;
    /* Add some spacing */
  }

  .col-left,
  .col-right {
    width: 40%;
    margin: 10px;
    padding: 10px;
  }

  #top {
    .price-badge {
      width: 220px;
      margin: -20px 0px;
    }

    h1 {
      font-size: 30px;
    }

    .buyd {
      display: none;
    }

    .price-tab {
      display: flex;

      .center {
        width: 200px;
      }
    }
  }

  #top #bottom h1 {
    font-size: xx-large;
  }

  #problem .problem-items .item {
    width: 140px;
  }

  #ingredients .ingredients-items .item {
    width: 250px;
  }

  #expert-opinion .badge {
    display: block;
  }

  /* #expert-opinion .badge .expert-img img {
    height: 180px;
  } */

}

/* =========== Mobile ============== */
@media (max-width: 480px) {
  .sec-inner {
    padding: 20px 10px;
  }

  .container {
    flex-wrap: wrap;
  }

  .col-left,
  .col-right {
    width: 100% !important;
    margin: 0px !important;
    padding: 0px !important;
  }

  header .logo {
    text-align: center;
  }

  header .header-image {
    display: none;
  }

  h2.title {
    font-size: 1.5em !important;
  }


  #top .price-badge {
    width: 350px;
    margin: -30px 0px;
  }

  #top .price-tab {
    display: none;
  }

  #top .price-m {
    display: block;
    margin: 10px;
  }

  #top div.noti-box {
    padding: 10px;
  }

  #top div.noti-box .center {
    width: 195px;
  }

  #top h1 {
    font-size: 30px;
  }

  #six-reasons .six-reasons-items .item {
    width: 250px;
  }

  #problem .problem-items {
    justify-content: space-around;
    gap: unset;
    padding: unset;
  }

  #advantages .advantages-items img {
    width: 100%;
  }

  #expert-opinion .sec-inner {
    padding: 20px;
  }  
  #expert-opinion .opinion {
    flex-wrap: wrap;
  }

  #expert-opinion .badge {
    display: flex;
    justify-content: space-around;
  }

  #expert-opinion .badge img {
    margin: 10px auto;
  }

  #how-to-use .usage-items .item {
    display: flex;
    align-items: center; /* Vertically center content */
    gap: 1rem; /* Space between image and content */
  }

  #how-to-use .usage-items .item .item-img {
    width: 150px; /* Square image size */
    height: 150px;
    flex-shrink: 0; /* Prevent image from shrinking */
  }

  #how-to-use .usage-items .item .item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure image fills the square */
  }

  #how-to-use .usage-items .item .item-content {
    flex: 1; /* Take remaining space */
  }

  #guarantee .badge_item {
    width: 250px !important;
  }

  #bottom h1 {
    font-size: xx-large;
  }

  #bottom .sec-inner {
    flex-wrap: wrap;
  }

  #bottom .col-right #oform, #bottom .col-right #successMessage {
    padding: 15px;
  }
}

/* Desktop only */
@media (min-width: 816px) {
  .price-tab {
    display: none;
  }

  #solution .solution-items {
    flex-wrap: nowrap;
  }

  #benefits .benefits-items {
    flex-wrap: nowrap;
  }

  #six-reasons .six-reasons-items .item {
    margin: 10px;
    padding: 10px;
  }

  #ingredients .ingredients-items .item {
    margin: 20px;
    padding: 10px;
  }
  #ingredients .ingredients-items img {
    width: 100%;
  }

  #how-to-use .usage-items .item {
    margin: 20px;
      width: 180px;
  }
}