/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --first-color: hsl(31, 32%, 49%);
  --second-color: hsl(32, 38%, 58%);
  --second-color-alt: hsl(35, 26%, 73%);
  --gradient-color: linear-gradient(145deg,var(--first-color) 0%, var(--second-color) 50%, var(--second-color-alt) 100%);
  --text-color: hsl(203, 8%, 98%);
  --text-color-light: hsl(203, 8%, 80%);
  --body-color: hsl(0, 0%, 0%);
  --error-color: rgb(255 42 42);
  --success-color: rgb(31, 122, 31);
  --alert-color: rgb(221, 122, 9);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: 'Montserrat', sans-serif;
  --biggest-font-size: 2.25rem;
  --h2-font-size: 1.25rem;
  --normal-font-size: .938rem;
  --smaller-font-size: .75rem;

  /*========== Font weight ==========*/
  --font-semi-bold: 600;

  /*========== z index ==========*/
  --z-fixed: 100;
}

/* Responsive typography */
@media screen and (min-width: 1024px) {
  :root {
    --biggest-font-size: 4rem;
    --h2-font-size: 1.5rem;
    --normal-font-size: 1rem;
    --smaller-font-size: .813rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1160px;
  margin-inline: 1.5rem;
}

.main {
  overflow: hidden; /* For the animations */
}

.section {
  padding-block: 2.5rem 1rem;
}

.section_title {
  font-size: 1.95rem;
  line-height: 1.25;
  margin-block: 0.5rem 1.25rem;
  text-align: end;
  margin-inline: auto 0;
}

.section_description {
  text-align: end;
  hyphens: none;
  color: var(--text-color-light);
  margin-bottom: 1.5rem;
  margin-left: auto;
}

.button {
  display: inline-block;
  background: var(--gradient-color);
  padding: 1rem 2rem;
  border-radius: 30px;
  color: var(--text-color);
  font-weight: var(--font-semi-bold);
  display: inline-flex;
  gap: .5rem;
  justify-content: center;
  align-items: center;
  border: none;
  cursor: pointer;
}


/* Effects */
.initial_letter {
  font-size: 3rem;
  float: left;
  margin-right: 0.1em;
  line-height: 0.7em;
}

.bg_clip-text {
  background: var(--gradient-color);
  -webkit-background-clip: text;
  color: transparent;
}


/*=============== HEADER & NAV ===============*/

.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  transition: backdrop-filter .4s, background-color .4s;
}
.header::after { /* for blur effect */
  content: '';
  background-color: transparent;
  backdrop-filter: none;
  transition: background .4s ease-in-out;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.nav_logo {
  display: flex;
  align-items: center;
  column-gap: .25rem;
  color: var(--text-color);
  font-weight: 800;
}
.logo_img {
  width: 34px;
}
.nav_logo span {
  font-weight: var(--font-semi-bold);
}
.nav {
  position: relative;
  height: var(--header-height);
  display: flex;
  justify-content: center;
  align-items: center;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  position: relative;
  transition: background .3s;
}
.header-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}
.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--secondar-color-alt);
  background: var(--gradient-color);
  color: var(--text-color);
  font-size: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.nav_close {
  display: flex;
  cursor: pointer;
} 

/* Navigation for mobile devices */
@media screen and (max-width: 1023px) {
  .nav_menu {
    position: fixed;
    top: -120%;
    left: 0;
    background-color: rgba(30, 30, 30, 0.85);
    backdrop-filter: blur(16px);
    --webkit-backdrop-filter: blur(16px);
    width: 100%;
    padding-block: 5rem 4rem;
    box-shadow: 0 4px 24px hsla(120, 90%, 4%, .2);
    transition: top .4s;
    z-index: 2;
  }
}
@media screen and (max-width: 767px) {
  .home_images {
    order: -1;
  }
}

.nav_list {
  text-align: center;
  display: flex;
  flex-direction: column;
  row-gap: 2rem;
}
.nav_link {
  color: var(--text-color);
  font-weight: var(--font-semi-bold);
  transition: color .4s;
}
.nav_close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}

/* Show menu */
.show-menu {
  top: 0;
}

/* Active link */
.active-link {
  background: var(--gradient-color);
  -webkit-background-clip: text;
  color: transparent;
}

/* Add blur header */
.blur-header::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(30, 30, 30, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  top: 0;
  left: 0;
  z-index: -1;
}

/*=============== HOME ===============*/
.home {
  position: relative;
  height: 100vh;
}
.home_container {
  height: 100%;
  position: relative;
  display: grid;
}
.home_info {
  align-self: self-end;
}
.home_title{
  font-size: var(--biggest-font-size);
  /* margin-bottom: .75rem; */
  display: none;
}
.outher {
  display: block;
}
.home_images {
  position: relative;
  display: grid;
  place-content: end;
  justify-content: center;
}
.home_images-container {
  position: relative;
}
.home_reflect-container {
  position: absolute;
  right: 0;
  bottom: -97%;
  transform: scaleY(-1);
  overflow: hidden;
  --webkkit-mask-image: linear-gradient(to top, var(--body-color), transparent 45%);
  mask-image: linear-gradient(to top, var(--body-color), transparent 45%);
  clip-path: inset(55% 0 0 0);
  z-index: -1;
  user-select: none;
}
.home_img-reveal, .home_reflect-reveal  {
  display: grid;
  justify-items: center;
}
.home_img {
  object-fit: contain;
  filter: brightness(.8) drop-shadow(0 4px 32px hsla(30, 7%, 16%, 0.5));
  transform: rotate(15deg);
}
.home_reflect-reveal img {
  opacity: .9;
  filter: brightness(.3) blur(4px);
}
.home_badge {
  position: absolute;
  background: hsl(0, 0%, 99%);
  backdrop-filter: blur(12px);
  border-radius: 38px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  padding: 12px 18px;
  font-weight: 500;
  color: #333;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.home_badge-left {
  left: 0;
  bottom: 30%;
  z-index: 4;
}
.home_badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  color: var(--first-color);
}

.home_image-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  --webkkit-mask-image: linear-gradient(var(--body-color) 75%, transparent);
  mask-image: linear-gradient(var(--body-color) 75%, transparent);
  z-index: -2;
}

/* ==================== BLOG ==================== */
.blog_antetitle {
  font-size: var(--biggest-font-size);
}
.blog_subtitle {
  margin-bottom: .5rem;
}
.blog_container {
  display: grid;
  row-gap: 1.5rem;
}
.blog_image {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  transition: background .4s;
  border-radius: .75rem;
  padding: 1rem;
  overflow: hidden;
}
.blog_image:hover {
  background: rgba(255, 255, 255, 0.15);
}
.blog_img {
  border-radius: .75rem;
  object-fit: contain;
}
.blog_image-caption {
  margin-top: .5rem;
  margin-inline-end: .5rem;
  text-align: end;
}


/* ==================== PRODUCTS ==================== */
.products_section {
  position: relative;
}
.products_title, .blog_title, .about_title {
  text-align: start;
  margin-inline: 0 auto;
}
.products_description, .blog_description, .about_description {
  text-align: justify;
  margin-left: 0;
}
.products_grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  justify-items: center;
  row-gap: 4rem;
  column-gap: 24px;
  padding-top: 24px;
  position: relative;
}
.product_card {
  position: relative;
  border-radius: 1.25rem;
  max-width: 280px;
}

/* Ocultar checkbox pero mantenerlo funcional */
.product_card .product_checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Label clickeable que envuelve toda la card */
.product_card-label {
  display: grid;
  gap: .5rem;
  cursor: pointer;
  position: relative;
}
/* Icono de check para estado seleccionado */
.product_card .product_check-icon {
  position: absolute;
  top: 12px;
  right: 1rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
  opacity: 0;
  transform: scale(0);
  transition: opacity .3s, transform .3s;
  z-index: 5;
}
.product_card .product_check-icon i {
  font-size: 38px;
}
/* Estado seleccionado - mostrar icono de check */
.product_card .product_checkbox:checked + .product_card-label .product_check-icon {
  opacity: 1;
  transform: scale(1);
}
.product_check-icon i {
  font-size: 1.95rem;
  background: var(--gradient-color);
  -webkit-background-clip: text;
  color: transparent;
}
/* Hover en el label */
.product_card-label:hover .product_image-wrap {
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}
.product_card-label:hover .product_card-info {
  background: rgba(255, 255, 255, 0.15);
}

.product_image-wrap {
  width: fit-content;
  height: 280px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-self: center;
  justify-content: center;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.product_image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product_card-info {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  transition: background .4s;
  border-radius: .75rem;
  padding: .5rem;
}
.product_name {
  font-size: 18px;
  font-weight: 600;
  color: var(--secondary-color-alt);
  text-align: center;
  margin-bottom: .5rem;
}
.product_description {
  font-size: 13px;
  text-align: center;
  hyphens: auto;
  line-height: 1.5;
}

/* Shapes */
.product_shape-small,
.product_shape-big-1,
.product_shape-big-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  z-index: -1;
}
.product_shape-small {
  width: 150px;
  aspect-ratio: 1/1;
  background-color: #663e23;
  top: -2.5rem;
  left: -1.5rem;
}
.product_shape-big-1,
.product_shape-big-2 {
  width: 250px;
  aspect-ratio: 1/1;
}

.product_shape-big-1 {
  background-color: #663e23;
  top: 16rem;
  right: -6.5rem;
}
.product_shape-big-2 {
  background-color: #b57547;
  left: -3.5rem;
  bottom: -4rem;
}
.product_shape-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: soft-light;
  opacity: .3;
  --webkkit-mask-image: linear-gradient(var(--body-color) 60%, transparent);
  mask-image: linear-gradient(var(--body-color) 60%, transparent);
}

/* ==================== ABOUT ==================== */
.about_external {
  font-weight: var(--font-semi-bold);
  transition: color .3s;
}
.about_external:hover {
  color: var(--second-color-alt);
}

/* ==================== CONTACT ==================== */
/* Contact form */
.contact_form {
  position: relative;
  display: grid;
  row-gap: 2rem;
}
.contact_inputs {
  display: grid;
  gap: 1rem;
  position: relative;
}
.email_message {
  position: absolute;
  top: 18px;
  left: 0;
  transform: translateY(-2rem);
}
.error-message {
  color: var(--error-color);
}
.success-message {
  color: var(--success-color);
}
.contact_input {
  color: var(--text-color);               /* color del texto que escribe el usuario */
  caret-color: var(--text-color);         /* color del cursor */
  -webkit-text-fill-color: var(--text-color);/* para compatibilidad WebKit */
  padding-block: 1.25rem;
  padding-inline: 1rem;
  border: none;
  border-radius: .75rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  transition: background .4s;
}
.contact_input:autofill {
  transition: background-color 6000s, color 6080s;
}
.contact_input:hover {
  background: rgba(255, 255, 255, 0.15);
}
.contact_input::-webkit-input-placeholder { font-family: var(--body-font); color: var(--text-color); }
.contact_input::-moz-placeholder { font-family: var(--body-font); color: var(--text-color); }
.contact_input:-ms-input-placeholder { font-family: var(--body-font); color: var(--text-color); }
.contact_input::-ms-input-placeholder { font-family: var(--body-font); color: var(--text-color); }
.contact_input::placeholder { font-family: var(--body-font); color: var(--text-color); }

/* Opcional: mantener el placeholder más tenue */
input::placeholder,
textarea::placeholder,
.contact_input::placeholder {
  color: rgba(255,255,255,0.6);
}

.contact_input-error {
  color: var(--alert-color);
  position: absolute;
  top: -.75rem;
  right: 1.5rem;
  transform: translateY(-5rem);
}

/* Product checkbox selection */
.select_product-title {
  color: var(--text-color-light);
  margin-bottom: 1rem;
}
.select_product-container {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
}
.product_checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.product_label {
  position: relative;
  display: block;
  width: 80px;
  height: 80px;
  border-radius: .75rem;
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.product_label img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  transition: transform .3s;
}
.product_label:hover {
  border-color: var(--second-color-alt);
  transform: scale(1.05);
}
.product_label .product_check-icon {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gradient-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--text-color);
  opacity: 0;
  transform: scale(0);
  transition: opacity .3s, transform .3s;
}
.product_label .product_check-icon i {
  color: var(--text-color);
  font-size: initial;
}
.product_check-name {
  position: absolute;
  bottom: -1rem;
  left: 50%;
  width: 70px;
  font-size: .55rem;
  text-align: center;
  transform: translateX(-50%);
}
/* Checkbox checked state */
.product_checkbox:checked + .product_label {
  border-color: var(--first-color);
  box-shadow: 0 0 12px rgba(181, 117, 71, 0.4);
}
.product_checkbox:checked + .product_label .product_check-icon {
  opacity: 1;
  transform: scale(1);
}
.product_checkbox:checked + .product_label img {
  transform: scale(1.05);
}

.contact_button {
  text-align: start;
  min-width: 280px;
  justify-self: center;
  transition: box-shadow .3s;
}
.contact_button i {
  font-size: 1.25rem;
  font-weight: initial;
  transition: transform .3s;
}
.contact_button:hover  {
  box-shadow: 0 8px 48px hsl(35, 26%, 73%);
}

.sending {
  pointer-events: none;
  user-select: none;
  filter: grayscale(50%);
}
.sending i {
 animation: rotation .4s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(180deg);
  }
}

/* ==================== TESTIMONIALS ==================== */
.testimonials {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}
.testimonials_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.testimonials_bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
.testimonials_content {
  position: relative;
}
.testimonial_external {
  color: var(--second-color);
  cursor: pointer;
  text-decoration: none;
  transition: color .3s;
}
.testimonial_external:hover {
  color: var(--second-color-alt);
}
.testimonial_card {
  display: grid;
  background: hsl(0, 0%, 99%);
  border-radius: 1rem;
  padding: 24px;
  margin: 12px;
  min-height: 234px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform.4s;
}
.testimonial_card:hover {
  transform: scale(1.025);
}
.testimonial_stars {
  display: flex;
  gap: 3px;
}
.star {
  color: var(--first-color);
  font-size: 1.5rem;
}
.testimonial_text {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
}
.testimonial_author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.author_avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--first-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.author_info {
  font-size: 13px;
}
.author_name {
  color: var(--first-color);
  font-weight: 600;
}
.author_role {
  color: #444;
  font-size: 12px;
}

/* ==================== FAQ ==================== */
.faq_item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid #ddd8cc;
  cursor: pointer;
  transition: background .3s;
}
.faq_item:last-child {
  border-bottom: none;
}
.faq_item-left {
  flex: 1;
}
.faq_question {
  font-size: 16px;
  font-weight: 500;
}
.faq_answer {
  font-size: 13px;
  color: var(--foreground-color);
  margin-top: 8px;
  line-height: 1.6;
  max-width: 700px;
  display: none;
}
.faq_item .faq_answer {
  display: block;
}
.faq_number {
  font-family: var(--second-font);
  font-size: 28px;
  font-style: italic;
  margin-left: 24px;
  min-width: 40px;
  text-align: right;
  transition: color .4s;
}
.drop_list {
  overflow: hidden;
  height: 0;
  transition: height .4s;
}
/* Rotate drop icon */
.show-drop .faq_number {
  color: var(--first-color);
}

/* ==================== FOOTER ==================== */
footer {
  position: relative;
  overflow: hidden;
}
.footer_top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  row-gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.footer_logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 20px;
  font-weight: 600;
  font-style: italic;
  color: var(--text-color);
}
.footer_content {
  display: grid;
  row-gap: 4.5rem;
  margin-bottom: 36px;
}
.footer_columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.footer_col-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  font-weight: 600;
}
.footer_col p,
.footer_col a {
  color: var(--text-color);
  font-size: 14px;
  margin-bottom: 8px;
  display: block;
  transition: color .3s;
}
.footer_col a:hover {
  color: var(--second-color-alt);
}
.footer_phone {
  font-weight: var(--font-semi-bold);
  color: var(--text-color);
  margin-bottom: 4px;
}
.marketplace-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.marketplace-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border: 1.5px solid var(--text-color);
  border-radius: .75rem;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-color);
  transition: all .3s;
}
.marketplace-link:hover {
  border-color: var(--first-color);
  color: var(--first-color);
}
.footer_bottom {
  display: flex;
  column-gap: .25rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  row-gap: 1rem;
  border-top: 1px solid #ddd8cc;
}
.footer_copyright {
  font-size: 12px;
  order: 3;
}
.footer_copyright a {
  color: var(--text-color);
  transition: color .4s;
}
.footer_copyright a:hover {
  color: var(--second-color-alt);
}
.footer_bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer_bottom-links a {
  font-size: 12px;
  color: var(--text-color);
  transition: color .3s;
}
.footer_bottom-links a:hover {
  color: var(--second-color-alt)
}
.footer_socials {
  display: flex;
  gap: 12px;
}
.footer_social-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--text-color);
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all .3s;
}
.footer_social-icon:hover {
  border-color: var(--second-color-alt);
  color: var(--second-color-alt);
}

/* Whatsapp button */
.whatsapp_btn {
  z-index: var(--z-fixed);
  background: var(--gradient-color);
  /* background: linear-gradient(145deg, hsl(132 32% 49%) 0%, hsl(120 38% 58%) 50%, hsl(119 26% 73%) 100%); */
  -webkit-background-clip: text;
  color: transparent;
  font-size: 2.75rem;
  filter: drop-shadow(0 4px 32px hsla(30, 7%, 16%, 0.5));
  transition: transform .3s;
}
.whatsapp_btn:hover {
  transform: scale(1.1);
}

/* Scrollup */
.scrollup {
  z-index: var(--z-fixed);
  display: grid;
  gap: .25rem;
  position: fixed;
  right: 1rem;
  bottom: -50%;
  transition: bottom .4s;
}

.scrollup-button {
  display: inline-flex;
  padding: .5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  transition: background .4s;
  color: var(--text-color);
  border-radius: 12px;
  font-weight: var(--font-semi-bold);
  width: 40px;
  height: 40px;
  font-size: 1.25rem;
  cursor: pointer;
}
.scrollup-button i {
  transition: transform .4s;
}
.scrollup-button:hover i {
  transform: translateY(-.25rem);
}
.scrollup-button:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Show scroll up button */
.show-scroll {
  bottom: 6rem;
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 340px) {
  .container {
    margin-inline: 1rem;
  }
  .home_images {
    width: 280px;
  }
  .blog_image-caption {
    font-size: .75rem;
  }
  .products_grid {
    gap: 54px;
  }
  .product_card-info {
    justify-self: center;
  }
  .footer_columns {
    grid-template-columns: repeat(1, 1fr);
  }
  .footer_top {
    column-gap: .5rem;
  }
}

/* For medium devices */
@media screen and (min-width: 767px) {
  .home_img {
    max-width: 80%;
  }
  .home_images {
    place-content: center;
  }
  .home_title {
    font-size: 3.25rem;
  }
  .products_grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .product_add-btn {
    right: 1.5rem;
  }
  .product_name {
    font-size: 18px;
  }
  .contact_form {
    row-gap: 1rem;
  }
  .contact_inputs {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact_inputs textarea {
    grid-column: 2;
    grid-row: 2 / 4;
  }
  .contact_button {
    justify-self: flex-end;
  }
  .footer_copyright {
    order: initial;
  }
  .scrollup, .whatsapp_btn {
    right: 3rem;
  }
}

/* For large devices */
@media screen and (min-width: 1024px) {
  .nav {
    height: calc(var(--header-height) + 1.5rem);
  }
  .nav_toggle,
  .nav_close,
  .nav_img {
    display: none;
  }
  .nav_list {
    flex-direction: row;
    column-gap: 4rem;
  }
  .section_description {
    margin-bottom: 3rem;
    max-width: 75%;
  }
  .home_container {
    grid-template-columns: repeat(2, max-content);
    align-content: center;
    justify-content: space-around;
    align-items: center;
  }
  .home_images {
    align-self: center;
  }
  .home_img {
    max-width: 100%;
  }
  .home_title {
    display: block;
  }
  .home_title {
    margin-bottom: 1rem;
  }
  .home_images {
    width: 420px;
  }
  .blog_container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }
  .products_description, .blog_description {
    max-width: 90%;
  }
  .product_shape-small,
  .product_shape-big-1,
  .product_shape-big-2 {
    filter: blur(132px);
  }
  .product_shape-small {
    width: 300px;
    top: -5rem;
    left: -2rem;
  }
  .product_shape-big-1,
  .product_shape-big-2 {
    width: 400px;
  }
  .product_shape-big-1 {
    top: 10rem;
    right: -3.5rem;
  }
  .product_shape-big-2 {
    left: 14rem;
    bottom: -10rem;
  }
  .products_grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .testimonial_card {
    min-height: 211px;
  }
}

@media screen and (min-width: 1280px) {
  .container {
    margin-inline: auto;
  }
  .home_images {
    width: 480px;
  }
}

@media screen and (min-width: 1500px) {
  .product_shape-big-2 {
    left: 28rem;
  }
}

/* persosonalize scroll bar */
::-webkit-scrollbar {
  width: .5rem;
  border-radius: .5rem;
  background-color: hsl(0, 0%, 10%);
}
::-webkit-scrollbar-thumb {
  border-radius: .5rem;
  background-color: hsl(0, 0%, 20%);
}
::-webkit-scrollbar-thumb:hover {
  background-color: hsl(0, 0%, 30%);
}