:root {
  --background-color: #02474c;
  --highlight-color: #1c7f94;
}

h5 {
  line-height: 1.5;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

*::-webkit-scrollbar {
  width: 0;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background: transparent;
  border: none;
}

html {
  font-family: "Roboto", sans-serif;
  font-size: 62.5%;
  line-height: 1.5;
}

body {
  background-image: linear-gradient(160deg, #ffffff 0%, #f5f8f9 100%);
}

main {
  width: 100%;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin: 2rem 0;
}

.loader-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 999;
}

.loader {
  border: 8px solid #f3f3f3;
  border-top: 8px solid var(--highlight-color);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 0.5s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
header {
  width: 100vw;
  height: 10vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: white;
}

.brand {
  height: 95%;
  font-size: 3rem;
  padding: 0 2rem;
}

.brand .logo {
  height: 100%;
}

.brand .logo:hover {
  opacity: 0.8;
}

.menu {
  display: flex;
  height: 100%;
  position: fixed;
  top: 0;
  left: -50%;
  background: #f8f6f3;
  z-index: 5;
  transition: left 0.3s ease-in-out;
}

.menu ul {
  height: 100%;
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 300;
  background-color: var(--background-color);
  padding: 2rem;
}

.menu ul a {
  color: #f8f6f3;
  text-decoration: none;
  padding: 2rem;
  transition: all 0.3s ease;
}

.menu ul a:hover {
  color: var(--highlight-color);
  text-decoration-line: underline;
}

#menu-toggle {
  display: block;
  background: transparent;
  border: none;
  color: var(--highlight-color);
  font-size: 2.5rem;
  padding: 1rem;
}

#menu-toggle:hover {
  cursor: pointer;
}

@media screen and (min-width: 615px) {
  header {
    height: 15vh;
  }
  .brand {
    padding: 0 2rem;
  }
}
@media screen and (min-width: 800px) {
  #menu-toggle {
    display: none;
  }
  .menu {
    display: flex;
    height: 100%;
    position: static;
    background: transparent;
  }
  .menu ul {
    flex-direction: row;
    background-color: transparent;
  }
  .menu ul a {
    color: #333;
  }
}
#highlights {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  text-align: center;
  color: white;
  background: var(--background-color);
}

.highlight {
  padding: 2rem;
}

#highlights .highlight .icon {
  font-size: 3rem;
}

#highlights .highlight h3 {
  font-size: 2rem;
}

#highlights .highlight p {
  font-size: 1.4rem;
}

@media screen and (min-width: 615px) {
  #highlights {
    flex-direction: row;
  }
  .highlight {
    padding: 2rem;
  }
  #highlights .highlight .icon {
    font-size: 4rem;
  }
  #highlights .highlight h3 {
    font-size: 2rem;
  }
  #highlights .highlight p {
    font-size: 1.6rem;
  }
}
#preguntas-frecuentes {
  margin: 4rem 0;
}

#preguntas-frecuentes h3 {
  text-align: center;
}

.faq-wrapper {
  padding-left: 1rem;
  width: 100%;
}

.accordion .accordion-item {
  border-bottom: 1px solid #e5e5e5;
}

.accordion .accordion-item button[aria-expanded=true] {
  border-bottom: 1px solid var(--background-color);
}

.accordion button {
  position: relative;
  display: block;
  text-align: left;
  width: 100%;
  padding: 1em 0;
  font-weight: 300;
  border: none;
  background: none;
  outline: none;
}

.accordion button:hover, .accordion button:focus {
  cursor: pointer;
  color: var(--highlight-color);
}

.accordion button:hover::after, .accordion button:focus::after {
  cursor: pointer;
  color: var(--highlight-color);
  border: 1px solid var(--highlight-color);
}

.accordion button .accordion-title {
  padding: 1em 1.5em 1em 0;
}

.accordion button .icon {
  display: inline-block;
  position: absolute;
  top: 18px;
  right: 0;
  width: 22px;
  height: 22px;
  border: 1px solid;
  border-radius: 22px;
}

.accordion button .icon::before {
  display: block;
  position: absolute;
  content: "";
  top: 9px;
  left: 5px;
  width: 10px;
  height: 2px;
  background: currentColor;
}

.accordion button .icon::after {
  display: block;
  position: absolute;
  content: "";
  top: 5px;
  left: 9px;
  width: 2px;
  height: 10px;
  background: currentColor;
}

.accordion button[aria-expanded=true] {
  color: var(--highlight-color);
}

.accordion button[aria-expanded=true] .icon::after {
  width: 0;
}

.accordion button[aria-expanded=true] + .accordion-content {
  opacity: 1;
  max-height: 9em;
  transition: all 200ms linear;
  will-change: opacity, max-height;
}

.accordion .accordion-content {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 200ms linear, max-height 200ms linear;
  will-change: opacity, max-height;
}

.accordion .accordion-content p {
  font-weight: 100;
  margin: 2em 0;
}

@keyframes tonext {
  75% {
    left: 0;
  }
  95% {
    left: 100%;
  }
  98% {
    left: 100%;
  }
  99% {
    left: 0;
  }
}
@keyframes tostart {
  75% {
    left: 0;
  }
  95% {
    left: -300%;
  }
  98% {
    left: -300%;
  }
  99% {
    left: 0;
  }
}
@keyframes snap {
  96% {
    scroll-snap-align: center;
  }
  97% {
    scroll-snap-align: none;
  }
  99% {
    scroll-snap-align: none;
  }
  100% {
    scroll-snap-align: center;
  }
}
ol, li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.carousel {
  position: relative;
  padding-top: 85%;
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.2));
  perspective: 100px;
  margin: 4rem 0;
}

.carousel__viewport {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  overflow-x: scroll;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.carousel__slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
}

.carousel__slide:before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -40%, 70px);
  color: #fff;
  font-size: 2em;
}

.carousel__snapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  scroll-snap-align: center;
}

@media (hover: hover) {
  .carousel__snapper {
    animation-name: tonext, snap;
    animation-timing-function: ease;
    animation-duration: 4s;
    animation-iteration-count: infinite;
  }
  .carousel__slide:last-child .carousel__snapper {
    animation-name: tostart, snap;
  }
}
@media (prefers-reduced-motion: reduce) {
  .carousel__snapper {
    animation-name: none;
  }
}
.carousel:hover .carousel__snapper,
.carousel:focus-within .carousel__snapper {
  animation-name: none;
}

.carousel__navigation {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  text-align: center;
}

.carousel__navigation-list,
.carousel__navigation-item {
  display: inline-block;
}

.carousel__navigation-button {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  background-color: #333;
  background-clip: content-box;
  border: 0.25rem solid transparent;
  border-radius: 50%;
  font-size: 0;
  transition: transform 0.1s;
}

.carousel::before,
.carousel::after,
.carousel__prev,
.carousel__next {
  position: absolute;
  top: 0;
  margin-top: 37.5%;
  width: 4rem;
  height: 4rem;
  transform: translateY(-50%);
  border-radius: 50%;
  font-size: 0;
  outline: 0;
}

.carousel::before,
.carousel__prev {
  left: 0.5rem;
}

.carousel::after,
.carousel__next {
  right: 0.5rem;
}

.carousel::before,
.carousel::after {
  content: "";
  z-index: 1;
  background-color: #333;
  background-size: 1.5rem 1.5rem;
  background-repeat: no-repeat;
  background-position: center center;
  color: #fff;
  font-size: 2.5rem;
  line-height: 4rem;
  text-align: center;
  pointer-events: none;
}

.carousel::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='0,50 80,100 80,0' fill='%23fff'/%3E%3C/svg%3E");
}

.carousel::after {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='100,50 20,100 20,0' fill='%23fff'/%3E%3C/svg%3E");
}

main h2 {
  font-size: 6rem;
  color: var(--highlight-color);
  margin: 4rem 2rem;
  text-align: center;
}

section {
  padding: 0 2rem;
}

#about, #about-owner {
  width: 100vw;
  background-color: white;
}

.container {
  display: flex;
  flex-direction: column-reverse;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  margin-bottom: 6rem;
}

.container img {
  width: 90%;
}

.container .text {
  font-size: 1.8rem;
}

h3 {
  font-size: 3rem;
  margin-bottom: 2rem;
}

.container .text p {
  font-weight: 100;
  margin: 1rem 0;
}

#product-features {
  text-align: center;
  padding: 4rem 0;
}

#product-features h3 {
  text-align: center;
}

.features-list_container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-left: 4rem;
}

.features-list {
  --icon-size: 1.8rem;
  --gutter: .5rem;
  font-size: var(--icon-size);
  font-weight: 100;
  text-align: left;
}

.features-list li {
  padding: var(--gutter);
}

.features-list li::marker {
  content: "\f005"; /* FontAwesome Unicode */
  font-family: FontAwesome;
  font-size: var(--icon-size);
  color: var(--highlight-color);
}

.wrapper {
  margin: 4rem 0;
}

#about-owner .container {
  text-align: left;
}

#about-owner .container img {
  border-radius: 50%;
}

.review {
  width: 95%;
  text-align: center;
}

.review p {
  font-size: 1.6rem;
  font-weight: 300;
  padding: 2rem 4rem;
}

.review .profile {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
}

.review .profile img {
  width: 5rem;
  border-radius: 50%;
  margin: 0 2rem;
}

.shop-now_btn {
  font-size: 2rem;
  color: white;
  background: var(--highlight-color);
  border: none;
  border-radius: 1rem;
  padding: 2rem 4rem;
  text-decoration: none;
}

.shop-now_btn:hover {
  cursor: pointer;
  background: var(--background-color);
  border: 1px solid white;
  transition: all 0.2s ease;
}

@media screen and (min-width: 615px) {
  .container {
    flex-direction: row;
  }
  .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .carousel {
    width: 60%;
    padding-top: 40%;
  }
  .features-list_container {
    width: 40%;
  }
  .container img {
    width: 50%;
    margin: 0 1rem;
  }
  .container .text {
    padding-left: 1rem;
  }
}
@media screen and (min-width: 800px) {
  .carousel {
    width: 60%;
    padding-top: 18%;
    margin-left: 2rem;
  }
  .carousel::before, .carousel::after, .carousel__prev, .carousel__next {
    margin-top: 10.5%;
  }
  #about-owner .container img {
    width: 25%;
  }
  #about-owner .container .text {
    width: 70%;
  }
  .accordion button {
    font-size: 2rem;
  }
  .accordion .accordion-content p {
    font-size: 1.8rem;
  }
}
footer {
  position: relative;
  bottom: 0;
  width: 100vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
  background-color: var(--background-color);
  font-size: 1.2rem;
  padding: 1rem;
}

footer .footer-brand {
  width: 20%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

footer .footer-brand img {
  width: 100%;
  max-width: 100px;
}

.social a {
  color: white;
  padding: 0.5rem;
}

.social a:hover {
  color: var(--highlight-color);
  opacity: 0.5;
}

footer .middle {
  width: 60%;
}

footer .project {
  width: 20%;
}

@media screen and (min-width: 800px) {
  footer {
    font-size: 2rem;
  }
}
.cart {
  position: fixed;
  top: 12rem;
  right: 2rem;
  background-color: var(--highlight-color);
  color: white;
  font-size: 2rem;
  padding: 2rem;
  border-radius: 2rem;
  cursor: pointer;
  transition: top 0.3s ease;
  z-index: 2;
}

.cart:hover {
  background-color: var(--background-color);
}

.cart.sticky {
  top: 2rem;
}

.modal {
  display: none;
  position: fixed;
  z-index: 3;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: 10% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 95%;
}

.modal-content h2 {
  font-size: 2rem;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

#cart-content p {
  font-size: 2rem;
  color: #888;
}

/* Add styles for the cart table */
table {
  width: 100%;
  font-size: 1rem;
  border-collapse: collapse;
  margin-top: 20px;
}

th, td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

th {
  background-color: #f2f2f2;
}

/* Add styles for the remove button */
.remove-button {
  background-color: #e74c3c;
  color: #fff;
  border: none;
  padding: 5px 10px;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.remove-button:hover {
  background-color: #c0392b;
}

/* Add styles for the checkout button */
.checkout-button {
  background-color: #28a745;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.checkout-button:hover {
  background-color: #218838;
}
