/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

/*PRODUCTOS*/
/* ============================= */
/* TABLAS DIMENSIONES (PEQUEÑAS) */
/* ============================= */
.roll-spool{
  --blue:#152E4E;
  --line:#D6D6D6;
  font-family:'Poppins',sans-serif;
}

.roll-spool-wrap{
  width:100%;
  margin:0 auto;
  box-sizing:border-box;
}

.roll-spool .wrap{
  width:100%;
  padding:20px 0;
  box-sizing:border-box;
}

.roll-spool .title{
  font-size:31px;
  font-weight:600;
  color:#152E4E;
  margin:0 0 18px 0;
}

.roll-spool .box{
  background:#FFFFFF;
  border-radius:8px;
  overflow:hidden;
  border:1px solid var(--line);
  max-width:520px;
}

.roll-spool table{
  width:100%;
  border-collapse:collapse;
}

.roll-spool td{
  padding:14px 16px;
  border-bottom:1px solid var(--line);
  font-size:14px;
}

.roll-spool tr:last-child td{
  border-bottom:none;
}

.roll-spool td:first-child{
  font-weight:600;
  color:#000;
}

.roll-spool td:last-child{
  text-align:right;
  font-weight:400;
  color:#000;
}

@media (max-width:600px){
  .roll-spool .title{
    font-size:26px;
  }
  .roll-spool .box{
    max-width:100%;
  }
}
/* ============================= */
/* BASE GLOBAL TABLAS "GRANDES" */
/* ============================= */

.tablas {
  width: 100%;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
}

.tablas__wrap {
  width: 100%;
}

.tablas__scroll {
  width: 100%;
  overflow-x: auto;
}

.tablas__table {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
}

/* ============================= */
/* PRIMERA COLUMNA FIJA*/
/* ============================= */

.tablas__th--row,
.tablas__head .tablas__row--head-top .tablas__th:first-child {
  position: sticky;
  left: 0;
  z-index: 5;
  background: #ffffff;
}

/* Property en header */
.tablas__head .tablas__row--head-top .tablas__th:first-child {
  z-index: 10;
}

/* fondos según tabla */
.ph-mt .tablas__th--row {
  background: #ffffff;
}

.ph-mt .tablas__head .tablas__row--head-top .tablas__th:first-child {
  background: #f4f4f4;
}

.mu-mt .tablas__th--row {
  background: #f4f4f4;
}

.mu-mt .tablas__head .tablas__row--head-top .tablas__th:first-child {
  background: #ffffff;
}

/* corte lateral para tapar contenido que pasa por debajo */
.tablas__th--row::after,
.tablas__head .tablas__row--head-top .tablas__th:first-child::after {
  content: "";
  position: absolute;
  top: 0;
  right: -1px;
  width: 2px;
  height: 100%;
  background: inherit;
  pointer-events: none;
}
/* ============================= */
/* INDICADOR SCROLL MOBILE */
/* ============================= */

.tablas__hint {
  display: none;
}

@media (max-width: 478px) {

  .tablas__wrap {
    position: relative;
  }

  .tablas__hint {
    position: absolute;
    inset: 0;
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: flex-end;
    pointer-events: none;
	padding-right: 12%;
  }

  .tablas__wrap.show-scroll-hint .tablas__hint {
    display: flex;
    animation: hideTableHint 2.6s ease forwards;
  }

  .tablas__hint-icon {
    width: 58px;
    height: 58px;
    border-radius: 999px;
    background: rgba(21, 46, 78, 0.9);

    display: flex;
    align-items: center;
    justify-content: center;

    animation: swipeTableHint 1.3s ease-in-out infinite;
  }

  .tablas__hint-icon img {
    width: 26px;
    height: 32px;
    display: block;
  }

  @keyframes swipeTableHint {
    0% { transform: translateX(0); }
    35% { transform: translateX(-18px); }
    70% { transform: translateX(18px); }
    100% { transform: translateX(0); }
  }

  @keyframes hideTableHint {
    0%, 75% {
      opacity: 1;
      visibility: visible;
    }

    100% {
      opacity: 0;
      visibility: hidden;
    }
  }
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media (max-width: 478px) {

  .tablas {
    font-size: 12px;
  }

  .tablas__th,
  .tablas__td,
  .tablas__th--row {
    padding: 8px 6px;
    line-height: 1.35;
  }

  .tablas .tablas__body .tablas__th--row,
  .tablas .tablas__head .tablas__row--head-top .tablas__th:first-child {
    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .tablas .tablas__body .tablas__th--row {
    text-align: left;
  }

  .tablas .tablas__head .tablas__row--head-top .tablas__th:first-child {
    text-align: center;
  }

  .tablas .tablas__td[colspan] {
    white-space: normal;
    line-height: 1.35;
  }
	
}
/* ============================= */
/* HEADER */
/* ============================= */

.tablas__head {
  color: #152e4e;
  font-weight: 600;
}

.tablas__row--head {
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.tablas__th {
  padding: 10px 7px;
  text-align: center;
  white-space: nowrap;
}

.tablas__th--group {
  text-align: center;
}
 .tablas__th--row {
  min-width: 160px;
}
/* ============================= */
/* BODY */
/* ============================= */

.tablas__body .tablas__row {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.tablas__body .tablas__th--row {
  text-align: left;
}
.tablas__td,
.tablas__th--row {
  padding: 10px 7px;
  text-align: center;
  vertical-align: middle;
}

.tablas__th--row {
  font-weight: 500;
  color: #1a1a1a;
}

.tablas__td:last-child,
.tablas__th:last-child {
  text-align: center;
}

/* ============================= */
/* PHOLOGOPITE MICA TAPE PH-MT */
/* ============================= */

.ph-mt .tablas__wrap {
  border: 1px solid #f4f4f4;
  border-radius: 14px;
  overflow: hidden;
}

.ph-mt .tablas__table {
  min-width: 900px;
  border: none;
}

.ph-mt .tablas__head {
  background: #f4f4f4;
}

.ph-mt .tablas__head .tablas__row {
  border-bottom: 1px solid #ffffff;
}

.ph-mt .tablas__body .tablas__row {
  border-bottom: 1px solid #f4f4f4;
}

.ph-mt .tablas__body .tablas__row:last-child {
  border-bottom: none;
}

/* ============================= */
/* MUSCOVITE MICA TAPE (mu-mt) */
/* ============================= */
#Muscovite\ Mica\ Tape {
	background: #f4f4f4;
}
/* caja blanca sobre fondo gris */
.mu-mt .tablas__wrap {
  background: transparent;
  border: 1px solid #ffffff;
  border-radius: 14px;
  overflow: hidden;
}

/* tabla base */
.mu-mt .tablas__table {
  border: none;
  min-width: 700px; /* menor que la otra */
}

/* header blanco */
.mu-mt .tablas__head {
  background: #ffffff;
}

/*líneas del header (blancas) */
.mu-mt .tablas__head .tablas__row {
  border-bottom: 1px solid #f4f4f4;
}

/*líneas del body (blancas) */
.mu-mt .tablas__body .tablas__row {
  border-bottom: 1px solid #ffffff;
}

/* evitar última línea */
.mu-mt .tablas__body .tablas__row:last-child {
  border-bottom: none;
}

/* filas especiales (texto largo) */
.mu-mt .tablas__body .tablas__row:nth-child(1) .tablas__td[colspan="3"],
.mu-mt .tablas__body .tablas__row:nth-child(3) .tablas__td[colspan="3"],
.mu-mt .tablas__body .tablas__row:last-child .tablas__td[colspan="3"] {
  background: #ffffff;
  color: #152e4e;
}
.mu-mt .tablas__row--head-bottom .tablas__th {
  background: #f4f4f4;
}