*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

:root {
    --blanco: aliceblue;
    --negro: black;
    --bg-header: #ffffff;
    --bg-body: #f8f8f8;
    --text-main: #111827;
    --text-muted: #6b7280;
    --azul-principal: #48e;
    --icon-color: #ffffff;
    --card-bg: #ffffff;
    --shadow-color: rgba(255, 255, 255, 0.945);
}

body.dark-mode {
    --bg-header: #0f172a;
    --bg-body: #020617;
    --text-main: #f8f8f8;
    --text-muted: #9ca3af;
    --shadow-color: rgba(0,0,0,0.10);
    --card-bg: #020617;
}

html{
    scroll-behavior: smooth;
}

html, body {
    min-height: 100vh;
}

body{
    display: flex;
    flex-direction: column;
    background-color: var(--bg-body);
    color: var(--text-main);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container-barra {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 100px;
    background-color: var(--bg-header);
    transition: background-color 0.3s ease;
}

.logo h1 {
    font-size: 28px;
    color: var(--azul-principal);
}
/*/////////// HEADER ///////////*/


.dark-toggle {
    background-color: var(--azul-principal);
    color: var(--text-main);
    padding: 10px;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-weight: 600;
}

.carrito-btn{
    background-color: var(--azul-principal);
    padding: 10px;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: 16px;
    color: var(--text-main);
    font-weight: 600;
}

.carrito-btn:hover {
    background-color: #2563eb; 
    transform: scale(1.05);
}

.dark-toggle:hover {
    background-color: #2563eb; 
    transform: scale(1.05);
}


.dark-toggle i {
    color: var(--blanco);
    font-size: 22px;
}

body.dark-mode .dark-toggle i {
    color: var(--blanco);
}

.nav{
    display: flex;
    justify-content: center;
    padding: 12px;
    background-color: var(--bg-header);
    box-shadow: 0px 0px 5px rgba(0, 0, 0,0.1);
}

.nav-list{
    display: flex;
    list-style: none;
    gap: 90px
}

.nav-list a{
    color: var(--text-main);
    text-decoration: none;
    font-size: 18px;
}

.nav-list a:hover{
    color: var(--azul-principal);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: var(--text-main);
}

.barra-busqueda-2{
    display: none;
}

.dark-desktop {
    display: block;
}

.dark-mobile {
   display: none;
}

/*/////////// PEDIDOS ///////////*/

.pedidos {
  flex: 1;
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 80px;
  margin: 50px 0;
}

/* HERO */
.pedidos-hero {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.pedidos-hero h2 {
  color: var(--text-main);
  margin-bottom: 10px;
  font-size: 30px;
}

.pedidos-hero p {
  color: var(--text-muted);
  margin-bottom: 25px;
}

.btn-wsp {
  display: inline-block;
  background: var(--azul-principal);
  color: #fff;
  padding: 14px 26px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
}

/* PASOS */
.pedidos-pasos {
  display: flex;
  margin: 0 auto;
  gap: 30px;
}

.paso {
  background: var(--card-bg);
  padding: 25px;
  box-shadow: 0 0px 10px rgba(255, 255, 255, 0.10);
  border-radius: 16px;
  text-align: center;
}

.paso span {
  display: inline-block;
  background: var(--azul-principal);
  color: #fff;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  margin-bottom: 10px;
}


.contacto-form {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
}

.campo {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.campo label {
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-main);
}

.campo input,
.campo textarea {
  padding: 10px 12px;
  border-radius: 8px;
  border: none;
  border: 1px solid #ddd;
  color: var(--text-main);
  background-color: var(--card-bg);
  transition: all 0.25s ease;
  font-size: 1rem;
  resize: none;
}

.campo input:focus,
.campo textarea:focus {
  outline: none;
  border-color: var(--azul-principal);
  box-shadow: 0 0 0 3px rgba(68,136,238,0.2);
}

.btn {
  background: var(--azul-principal);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn:hover {
  box-shadow: 0 5px 25px rgba(30,136,229,0.35);
}

/*/////////// FOOTER ///////////*/
/*/////////// FOOTER ///////////*/
footer.site-footer {
    background-color: #14141c;
    color: #d1d5db;
    padding-top: 50px;
}

.footer-contenido {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 40px;
    padding: 0 30px 40px;
}

.footer-marca h2 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 12px;
}

.footer-marca h2 span {
    color: #4488ee;
}

.footer-marca p {
    font-size: 14px;
    line-height: 1.6;
    color: #9ca3af;
    max-width: 320px;
    margin-bottom: 20px;
}

.footer-redes {
    display: flex;
    gap: 12px;
}

.footer-redes a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.06);
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    font-size: 16px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.footer-redes a:hover {
    background: #4488ee;
    transform: translateY(-2px);
}

.footer-columna h3 {
    color: #fff;
    font-size: 15px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.footer-columna ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-columna a,
.footer-columna span {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-columna a:hover {
    color: #4488ee;
}

.footer-columna i {
    width: 16px;
    color: #4488ee;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 18px 30px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: #6b7280;
    letter-spacing: 0.02em;
}

/*/////////// RESPONSIVE ///////////*/

@media (max-width: 968px) { 
.container-barra {
    padding: 15px 20px;
}
/*/////////// HEADER ///////////*/
.barra-busqueda-2{
    display: none;
}

.barra-busqueda{
    display: flex;
    align-items: center;
    border-radius: 10px;
    width: 300px;
    overflow: hidden;
    box-shadow: 0px 5px 10px rgba(0, 0, 0,0.10);
}

#buscador-producto {
    border: none;
    outline: none;
    padding: 10px 15px;
    flex: 1;
    font-size: 14px;
}

.barra-busqueda button {
    background-color: var(--azul-principal);
    border: none;
    color: white;
    padding: 10px 16px;
    cursor: pointer;
}

.barra-busqueda button i{
    font-size: 16px;
}

.barra-busqueda button:hover {
    background-color: #2c7bc0;
}

.nav{
    display: flex;
    justify-content: center;
    padding: 12px;
   
}

.nav-list{
    display: flex;
    list-style: none;
    gap: 30px
}

.nav-list a{
    color: var(--text-main);
    text-decoration: none;
    font-size: 16px;
}

.nav-list a:hover{
    color: var(--azul-principal);
}

/*/////////// PEDIDOS ///////////*/

.pedidos {
  flex: 1;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

/* PASOS */
.pedidos-pasos {
  flex-direction: column;
}

.footer-contenido {
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
}

.footer-marca {
    grid-column: 1 / -1;
}
}

@media (max-width: 579px) {

.container-barra {
    padding: 12px 15px !important;
}

.logo h1 {
    font-size: 20px !important;
}

/*/////////// HEADER ///////////*/
.pedidos {
  flex: 1;
  padding-top: 100px;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.container-barra {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--bg-header);
    box-shadow: 0px 5px 9px rgba(0, 0, 0,0.1);
}

.barra-busqueda-2{
    display: flex;
    border-radius: 10px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0px 5px 10px rgba(0, 0, 0,0.10);
}

#buscador-producto-2 {
    border: none;
    outline: none;
    padding: 10px 15px;
    flex: 1;
    font-size: 14px;
}

.barra-busqueda-2 button {
    background-color: var(--azul-principal);
    border: none;
    color: white;
    padding: 10px 14px;
    cursor: pointer;
}

.barra-busqueda-2 button i{
    font-size: 14px;
}

.barra-busqueda-2 button:hover {
    background-color: #2c7bc0;
}

.menu-toggle {
  display: block;
  z-index: 1001;
}
.container-barra .barra-busqueda {
  display: none;
}
.nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  justify-content: start;
  gap: 30px;
  box-shadow: -5px 0 15px rgba(0,0,0,0.15);
  transition: right 0.3s ease;
  z-index: 1000;
}

.nav.active {
  right: 0;
}

.nav .barra-busqueda {
  display: flex;
  width: 100%;
}

.nav-list {
  flex-direction: column;
  gap: 25px;
  list-style: none;
  padding: 0;
}

.nav-list a {
  font-size: 15px;
  text-decoration: none;
}

.nav-list a:hover {
  color: var(--azul-principal);
}

.acciones-header {
    position: absolute;
}

.dark-desktop {
        display: none;
    }

    .dark-mobile {
        display: block;
    }

    .dark-mobile button {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
    }

/*/////////// PEDIDOS ///////////*/
.pedidos-hero h2 {
  margin-bottom: 10px;
  font-size: 24px;
}

.pedidos-hero p {
  margin-bottom: 25px;
  font-size: 15px;
}

.btn-wsp {
  display: inline-block;
  background: var(--azul-principal);
  color: #fff;
  padding: 12px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
}

/*/////////// FOOTER ///////////*/
.footer-contenido {
    grid-template-columns: 1fr;
    padding: 0 20px 30px;
    gap: 28px;
}

footer.site-footer {
    padding-top: 35px;
}

}