/*
Theme Name: Escaparatecbbr
Theme URI: 
Author: sz
Author URI: 
Description: Theme for comerbeber.com
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentyfive
Text Domain: escaparatecbbr
Tags: 
*/

/* Listas */

.listacat {
    /* list-style-type: "> "; */
    list-style-position: outside;
    
}


/* scroll to top button */

.scroll-top-button {
  color: #000000;
  position: fixed;
  bottom: 70px;
  right: 30px;
  opacity: 0;
  transition: all 1s;
  width: 50px;
  height: 50px;
  }

 

hr.thick-line 

{
    
    border-top: 4px dashed #efefef;
    border: 10px solid #748392;
    border-radius: 5px;

}

/* Tables */


/* Basic table styling */

.responsive-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 16px;
}

/* Style for table headers and cells */
.responsive-table th,
.responsive-table td {
  padding: 12px;
  text-align: center;
  border: 1px solid #ddd;
}

/* Header styling */
.responsive-table th {
  background-color: #f2f2f2;
  font-weight: bold;
}

/* Zebra striping for rows */
.responsive-table tr:nth-child(even) {
  background-color: #f9f9f9;
}


/* Ensure table doesn't overflow */
.responsive-table {
  overflow-x: auto;
}

/* media queries */

@media screen and (max-width: 600px) {

  .wp-block-search__inside-wrapper {
    max-width: 80%;} 

  .wp-block-search__button svg {
  height: 1.2em;
  min-height: 18px;
  min-width: 18px;
  width: 1.2em;
  } 

  .wp-block-buttons.has-custom-font-size .wp-block-button__link {
  font-size: 14px;
  padding: 12px 18px
}

/* Table's Mobile responsiveness */

  .responsive-table {
    display: block;
  }

  .responsive-table thead {
    display: none; /* Hide headers on mobile */
  }

  .responsive-table tr,
  .responsive-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .responsive-table td {
    position: relative;
    padding-left: 50%; /* Space for pseudo-label */
    text-align: center;
  }

  /* Add column labels using pseudo-elements */
  .responsive-table td:before {
    content: attr(data-label);
    position: absolute;
    left: 12px;
    font-weight: bold;
    text-align: left;
  }

}

/* Tabla de tipos de sal */
figure.wp-block-table.responsive-table2 {
    width: 100%;
    max-width: var(--wp--style--global--content-size);
    margin-left: auto !important;
    margin-right: auto !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

figure.wp-block-table.responsive-table2 table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
}

figure.wp-block-table.responsive-table2 th,
figure.wp-block-table.responsive-table2 td {
    padding: 0.7rem;
    vertical-align: top;
    text-align: left;
}

/* Pantallas pequeñas */
@media screen and (max-width: 700px) {

    figure.wp-block-table.responsive-table2 table {
        width: 680px;
        min-width: 680px;
    }

    figure.wp-block-table.responsive-table2 th,
    figure.wp-block-table.responsive-table2 td {
        padding: 0.5rem;
        font-size: 0.82rem;
        line-height: 1.35;
        white-space: normal;
    }

    figure.wp-block-table.responsive-table2 th {
        font-size: 0.78rem;
    }
}

/* Media queries remote image */

/* FORCE Gutenberg horizontal row to stack on mobile */
@media (max-width: 768px) {

  .product-feature {
    flex-direction: column;
    align-items: center;
  }

  /* Fix fixed-width remote image */
  .product-feature .wp-block-showroom-remote-image img {
    width: 100% !important;
    max-width: 100%;
    height: auto;
    display: block;
  }

  /* Center button */
  .product-feature .wp-block-buttons {
    justify-content: center;
  }

  /* Reduce padding of the wrapper group on mobile */
  .wp-block-group.alignwide.has-global-padding.is-layout-constrained {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

}