/*
Theme Name: D'Autos v1.2
Theme URI: https://somosjam.cl/
Author: jeyson
Author URI: https://somosjam.cl/
Description: sitio web para tienda.
Requires at least: 5.9
Tested up to: 6.6
Requires PHP: 5.6
Version: 1.8
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

*/

/*
 * Font smoothing.
 * This is a niche setting that will not be available via Global Styles.
 * https://github.com/WordPress/gutenberg/issues/35934
 */

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 0px;
}

:root {
  /* colores */
  --subtitulos: rgb(84, 84, 84);
  --titulos: #101828;
  --textos: #344054;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  /* height: 2000px; */
}

input,
button,
textarea,
select {
  font: inherit;
}

p {
  text-wrap: pretty;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

img,
video,
svg {
  height: auto;
  max-width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
    transition: none;
  }
}

.header {
  padding: 25px 0;
  /* border-bottom: 1px solid #261c151a; */
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
  background-color: #efeeeb;
}

.header.scroll {
}

.menu-responsive-icon {
  display: none;
  color: #475467;
  font-size: 21px;
}

.header-responsive-contenedor {
  position: fixed;
  z-index: 10;
  width: 100%;
  height: 100%;
  top: 80px;
  background-color: #fff;
  padding: 20px;
  display: none;
}

.header-responsive-contenedor.show {
  display: block;
}

.header-responsive-contenedor ul {
  list-style: none;
}

.header-responsive-contenedor ul li a {
  text-decoration: none;
  color: #bf4b30;
  font-weight: 600;
}

.header-responsive-contenedor ul li {
  margin-bottom: 20px;
}

.header-responsive-contenedor ul li a {
  text-decoration: none;
  color: #bf4b30;
  font-weight: 600;
}

.header-responsive-contenedor ul li details summary {
  list-style: none;
}
.header-responsive-contenedor ul li details summary p {
  color: #000;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-responsive-contenedor ul li details summary span {
  font-size: 20px;
}

.header-responsive-contenedor ul li details[open] summary span {
  transform: rotate(180deg);
}

.content-details-menu {
  padding: 10px;
}

.content-details-menu div {
  border: 1px solid #e2e8f0;
  padding: 20px 15px;
  border-radius: 10px;
}
.content-details-menu div a {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.content-details-menu div a svg {
  color: rgb(55, 167, 55);
}

/* clases reutilziables */
.contenedor {
  max-width: 1200px;
}

.header-contenedor {
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  justify-content: space-between;
}

.header-contenedor img {
  width: 153px;
}

.header-contenedor > div:nth-child(1) {
  display: flex;
  align-items: center;
  gap: 30px;
}

.header-contenedor ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 25px;
}
.header-contenedor ul li a {
  color: #bf4b30;
  text-decoration: none;
  font-weight: 400;
}

.header-contenedor > div:nth-child(2) {
  a.btn-menu {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    background-color: #bf4b30;
    color: #fff;
    box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px,
      rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
    font-weight: 500;
    font-size: 14px;
    border-radius: 5px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;

    span {
      font-size: 22px;
    }

    &:hover {
      background-color: #913723;
    }

    img {
      width: 22px;
    }
  }
}
/* =============================== */

.header-tienda-logo {
  text-align: center;
  img {
    width: 65px;
    filter: saturate(0.8);
  }
}

/* FOOTER  */
footer {
  /* background-color: #f7f7f2; */

  padding: 50px 0;
  background-color: #efeeeb;
}

.footer-datos {
  display: grid;
  grid-template-columns: 1fr 280px 280px;
}

.footer-container {
  margin: 0 auto;
}

.footer-logo-redes img {
  width: 180px;
  /* height: 32px; */
  margin-bottom: 20px;
}
.footer-logo-redes .redes a {
  text-decoration: none;
  padding-left: 10px;
}

.footer-logo-redes .redes img {
  width: 30px;
  height: 30px;
}

.footer-menu ul,
.footer-legal ul {
  list-style: none;
}

.footer-menu ul li,
.footer-legal ul li {
  margin-bottom: 7px;
}

.footer-menu ul li strong,
.footer-legal ul li strong {
  font-weight: 600;
  font-size: 17px;
  color: #000;
}
.footer-menu ul li a,
.footer-legal ul li a {
  color: #000;
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
}

.btn-whatsapp-float {
  position: fixed;
  bottom: 12px;
  right: 10px;
  z-index: 10;
}

.btn-whatsapp-float a {
  background-color: #37a737;
  color: #fff;
  padding: 8px 0px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  display: flex;
  width: 215px;
  gap: 10px;
  font-weight: 600;
  border-radius: 6px;
}

.btn-whatsapp-float a span {
  font-size: 28px;
}

@media (max-width: 1200px) {
  .contenedor {
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  .header {
    /* display: none; */
  }

  .header-contenedor ul {
    display: none;
  }

  .header-contenedor > div:nth-child(2) {
    display: none;
  }

  .menu-responsive-icon {
    display: block;
  }

  .caracteristicas-checked-items {
    flex-direction: column;
  }

  .footer-datos {
    grid-template-rows: auto auto;
    grid-template-columns: 1fr 1fr;
  }

  .footer-logo-redes {
    grid-column-start: 1;
    grid-column-end: 3;
    display: block;
    margin-bottom: 40px;
  }

  .footer-menu {
    grid-row-start: 2;
    grid-column-start: 1;
    grid-column-end: 2;
  }

  .footer-legal {
    grid-row-start: 2;
    grid-column-start: "";
  }

}
