/*
Theme Name: Audio
Author: Juan Manuel Mar Hdz <marjuanm.dev@gmail.com> con apoyo de chatgpt
Version: 1.0.0
Description: Tema básico para tienda de audio con soporte para logo, pie personalizable y sidebar solo en blog.
*/

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Ubuntu', Arial, Tahoma;
    font-size: 16px;  
    background-color: white;
    overflow-x: hidden;
    color: white;
    scroll-behavior: smooth;
}

a {
    color: #67BBD3;
    text-decoration: none;
}

a:hover {
    color: #ffd971;
}

a:active {
    color: #ffd971;
}

a:visited {
    color: #40994C;
}

h1 {
    padding: 0px;
    margin: 0px;
    color: #e1e1e1;
    font-size: 40px;
}

h2 {
    padding: 0px;
    margin: 0px;
    color: #e1e1e1;
    font-size: 34px;
}

h3 {
    padding: 0px;
    margin: 0px;
    color: #e1e1e1;
    font-size: 28px;
}

h4 {
    padding: 0px;
    margin: 0px;
    color: #e1e1e1;
    font-size: 22px;
}

body > header {
    background: #313332; /*#374151;*/ /*#f0f0f0;*/
    color: white;
    padding: 0px;
    margin: 0px;
    text-align: center;
    width: 100%;
    height: 100%;
}

body > header h1 {
    padding: 12px;
    margin: 0px;
    color: white; /*#313332;*/
}

body > footer {
    padding: 4px;
    /*background-color: #313332;*/
    background: linear-gradient(to bottom, #6B7280, #313332, #000000);
    color: #e9e9e9;
    display: flex;
    align-items: center;
    min-height: 30px;
}

body > footer a {
    color: #67BBD3;
    text-decoration: none;
}

body > footer a:hover {
    color: #ffd971;
}

body > footer a:active {
    color: #ffd971;
}

body > footer a:visited {
    color: #40994C;
}

.widget {
    background: #fafafa;
    margin-bottom: 10px;
    padding: 10px;
}

main {
    display: flex;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
    background-color: #050505; /*#6B7280;*/
}

article {
    width: 95%;
    margin: auto;
}

.pagearea {
    width: 100%; 
    box-sizing: 
    border-box; 
    padding: 6px;
}

/***** woocommerce *****/

.orderby {
    height: 35px;
}

.quantity {
    display: none;
}

.single_add_to_cart_button {
  display: none !important;
}

/***** woocommerce *****/

/***** forms *****/

.wpcf7-text {
    width: 100%;
    max-width: 530px;
    height: 35px;
    background-color: #9CA3AF;
    color: #444;
    border: none;
    border-radius: 8px;
}

.wpcf7-textarea {
    width: 100%;
    max-width: 530px;
    background-color: #9CA3AF;
    color: #444;
    border: none;
    border-radius: 8px;
}

.wpcf7-submit {
    width: 100%;
    max-width: 300px;
    height: 45px;
    background-color: #DC2626;
    color: #e9e9e9;
    border: none;              /* Elimina el borde negro */
    border-radius: 8px;        /* Esquinas redondeadas */
    cursor: pointer;           /* Cambia el cursor al pasar por encima */
    font-size: 16px;           /* Tamaño de letra adecuado */
}

.wpcf7-submit:hover {
    background-color: #BC2121;
}


/***** forms *****/

/***** menus *****/

.desktopmenubar  {
  padding: 5px 0px;
  width: 100%;
  height: 41px;
  /*background-color: #313332;*/
  background: linear-gradient(to bottom, #6B7280, #313332, #000000);
  box-sizing: border-box;
}

.mobilemenubar {
  width: 100%;
  height: 35px;
  background: linear-gradient(to bottom, #6B7280, #313332, #000000);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 6px;

}

/* desktop */

.menu { 
  margin: 0px; 
  padding: 0px; 
  float: left;
  height: 31px;
  /*background-color: #313332;*/
  /*background: linear-gradient(to bottom, #6B7280, #313332, #000000);
  */box-sizing: border-box;
  display: flex;
  align-items: center;  
}

ul.menu {
  float: left;
  list-style: none;
  font-size: 14.5px;
  font-weight: normal;
  text-transform: uppercase;
  margin: 0 0 0 5px;
  padding:0;
}

ul.menu li  {
  float: left !important;
  list-style-type: none;
  margin: 0;
  padding: 0;
  height:37px;
  display: flex;
  align-items: center; 
  justify-content: center;
  width: 120px; 
}

ul.menu li a,ul.menu li a:link,ul.menu li a:visited {
  border-bottom: 0;
  border-left: 0;
  color: #e9e9e9;
  float: left;
  display: block;
  text-decoration: none;
  padding: 0 5px;
}

ul.menu li a:hover,ul.menu li a:active  {
  background: #49AB54;
  color: #e9e9e9;
  text-decoration: none;
  margin: 0;
  padding: 0;
  width: 120px;
  height: 37px;
  display: flex;
  align-items: center; 
  justify-content: center;
}

ul.menu li.home a {
  border-left: 2px solid #fff;
  text-decoration:none;
}

ul.menu li ul {
  float: left;
  margin: 0;
  padding: 0;
}

ul.menu li.current_page_item a,
ul.menu li.current-menu-item a {
  color: #f80000;
  background-color: white;
  font-weight: bold !important;
  margin: 0;
  padding: 0;
  padding-left: 16px;
  padding-right: 16px;
  height:37px;
  width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* desktop */

/* mobile */

#mobilemenus 
{
  
  height: 100%;
  box-sizing: border-box;
  background: transparent; /* o el color que quieras */
  
}

#mobilemenus ul 
{
  
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex; /* si quieres en fila, o quítalo si debe ser vertical */
  flex-direction: column;

}

#mobilemenus li 
{
  
  margin: 0;
  padding: 0;
  height: 35px;

}

#mobilemenus a 
{
  
  display: block;
  padding: 10px 0;
  text-decoration: none;
  color: #67BBD3;
  text-decoration: none;
  text-transform: uppercase;
  
}

.mobile_current_page_item a,
.mobile_current-menu-item a {
  color: #f80000;
  background-color: white;
  font-weight: bold !important;
}

/* mobile styles */

@media (max-width: 768px) {
    main {
        flex-direction: column;
    }
}

/* mobile styles */

/* burger menu */

@media (max-width: 768px) {

  #menu-desktop {
    display: none;
  }
  
  #menu-mobile {
    display: block;
  }
  
  #mobilemenus {
    display: none;
  }

}

@media (min-width: 769px) {

  #menu-desktop {
    display: block;
  }
  
  #menu-mobile {
    display: none;
  }
  
  #mobilemenus {
    display: none;
  }

}

/******************************************/

.audioresidencial 
{
  
  background:
    linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.15)),
    url('/wp-content/uploads/2025/07/residencial.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: white;
  text-align: center;
  width: 100%;
  height: 120px;
  max-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;

}

.audiocomercial 
{
  
  background:
    linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.15)),
    url('/wp-content/uploads/2025/07/comercial.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: white;
  text-align: center;
  width: 100%;
  height: 120px;
  max-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;

}

.audioautomotriz
{
  
  background:
    linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.15)),
    url('/wp-content/uploads/2025/07/automotriz.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: white;
  text-align: center;
  width: 100%;
  height: 120px;
  max-height: 120px; 
  display: flex;
  align-items: center;
  justify-content: center;

}

.audiosuperior
{
  
  background:
    linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.65)),
    url('/wp-content/uploads/2025/07/audio.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: white;
  text-align: center;
  width: 100%;
  height: 200px;
  max-height: 200px; 
  display: flex;
  align-items: center;
  justify-content: center;

}

.toolbarimg
{
  
  margin-top: -2px;
  padding-right: 4px;
  
}

.toolbarimg:hover 
{
  opacity: 0.7; /* Adjust this value (0 to 1) for desired translucency */
}

img[alt="Logo"] 
{
  
  width: 100%;
  max-width: 500px;
  height: auto;
  margin: auto;
  display: block; /* evita espacios indeseados si es inline */

}

.mysticky-welcomebar-display-mobile.mysticky-welcomebar-position-top
{
  
  height: 45px;
  background: linear-gradient(to bottom, #6B7280, #313332, #000000);
  
}

.mysticky-welcomebar-content
{
  
  margin-top: -15px;
  margin-left: 0px;
  text-align: left;
      
}

.right-content a 
{
  
  text-decoration: none; /* quita el subrayado */
  display: inline-block; /* más control */
  vertical-align: middle;

}
