


:root{
  --font-family-base: 'DM Sans', Arial, Helvetica, sans-serif;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  --color-tifon: #162b52;
  --color-tifon-hover: #0f1e3b;
  --color-tifon-red: #bf0811;
  --color-tifon-red-hover: #98060d;
  --color-tifon-soft: rgba(22, 43, 82, 0.08);
  --color-surface: #f6f1ef;
  --color-surface-2: #ebe3df;
  --color-text: #1f2937;
  --color-text-muted: #5f6b7a;
  --color-on-dark: #ffffff;
  --color-on-dark-muted: rgba(255, 255, 255, 0.72);
  --color-border-soft: rgba(22, 43, 82, 0.28);

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  --header-height: 64px;
  --header-glass-bg: rgba(255, 255, 255, 0.25);
  --header-glass-blur: 10px;
  --header-glass-border: 1px solid rgba(0, 0, 0, 0.12);
  --header-glass-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

body {
    font-family: var(--font-family-base);
    font-size: 1rem;
    font-weight: var(--font-weight-normal);
    color: var(--color-text);
    letter-spacing: -0.01em;
}

body,
button,
input,
select,
textarea {
  font-family: var(--font-family-base);
}

.font-300 { font-weight: var(--font-weight-light) !important; }
.font-400 { font-weight: var(--font-weight-normal) !important; }
.font-500 { font-weight: var(--font-weight-medium) !important; }
.font-600 { font-weight: var(--font-weight-semibold) !important; }
.font-700 { font-weight: var(--font-weight-bold) !important; }

.peso-light { font-weight: var(--font-weight-light) !important; }
.peso-normal { font-weight: var(--font-weight-normal) !important; }
.peso-medium { font-weight: var(--font-weight-medium) !important; }
.peso-semibold { font-weight: var(--font-weight-semibold) !important; }
.peso-bold { font-weight: var(--font-weight-bold) !important; }

.btn-primary,
.btn-dark,
#franboton,
#comprarahora,
a.btn-primary,
button.btn-primary{
  background-color: var(--color-tifon) !important;
  border-color: var(--color-tifon) !important;
  color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-dark:hover,
.btn-dark:focus,
#franboton:hover,
#franboton:focus,
#comprarahora:hover,
#comprarahora:focus,
a.btn-primary:hover,
button.btn-primary:hover{
  background-color: var(--color-tifon-hover) !important;
  border-color: var(--color-tifon-hover) !important;
  color: #fff !important;
}

.btn-outline-primary{
  color: var(--color-tifon) !important;
  border-color: var(--color-tifon) !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus{
  background-color: var(--color-tifon) !important;
  border-color: var(--color-tifon) !important;
  color: #fff !important;
}

.f0 {
font-size: 1em !important;
}

.f11 {
font-size: 1.1em !important;
}

.f12 {
font-size: 1.2em !important;
}

/* Icono */
.btn-scroll-top .bi{
  font-size: 1.5rem;
  display: block;
}

/* Botón circular con fondo gris al 50% */
.pb-icon{
  width: 48px;
  height: 48px;
  border-radius: 0%;

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

  text-align: center;
  text-decoration: none;

  right: 0px;      
  position: fixed;
  z-index: 99999;

    -webkit-border-top-left-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-bottomleft: 5px;
    border-top-left-radius: 5px; 
    border-bottom-left-radius: 5px;

  cursor: pointer;
  color: #f7f3f3;
  opacity: 1;

  -webkit-animation: fadeInRight 1s 1 cubic-bezier(0.77, 0, 0.175, 1);
  animation: fadeInRight 1s 1 cubic-bezier(0.77, 0, 0.175, 1);
}

/* Si el icono va dentro: <a class="pb-icon"><i class="bi ..."></i></a> */
.pb-icon .bi{
  font-size: 1.5rem;
  line-height: 1;
}

/* flecha derecha en un hover */
.link-flecha{
  display:inline-block;
  position:relative;
  overflow:hidden;          /* no sale del bloque */
  padding-right: 2.5em;     /* reserva dentro del bloque para el recorrido */
}

.link-flecha::after{
  content: ">";
  position:absolute;
  left: calc(100% - 2.5em); /* nace “pegada” a la última letra (inicio del padding-right) */
  top:50%;
  transform: translateY(-50%) translateX(0);
  opacity:0;
  transition: transform .25s ease, opacity .15s ease;
  pointer-events:none;
  font-size: 1.4em;         /* sin espacio: 1.4em */
  line-height: 1;
}

.link-flecha:hover::after{
  opacity:1;
  transform: translateY(-50%) translateX(1.5em); /* avanza dentro del padding hasta el borde derecho */
}


/* Botón fijo en la esquina */
.btn-scroll-top{
  position: fixed;
  right: 0px;
  bottom: 1rem;
  z-index: 9999;

 background: rgba(128,128,128,.5);

  /* Clave: que el color se invierta según el fondo */
  color: #fff;                 /* base blanca */
  mix-blend-mode: difference;  /* blanco sobre blanco => negro; blanco sobre negro => blanco */
  text-decoration: none;
  line-height: 1;
}

.fondo_trans{
  background-color:  RGBA(255, 255, 255, 0) !important; 
  border: 1px solid #fff !important;
   color:white !important;
}

.transblanco{
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0);
    text-align: left;
    display: inline-block;
    text-decoration: none;
    font-weight: 700 !important;
    border: 1px solid #fff;
    padding: 6px 30px 6px 12px !important;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}



.badge {
    display: inline-block;
    font-size: 12px;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    width: 100%;
    border: 10px;
    height: 2.5em;
    align-content: center;
    border-radius: 0px;
    font-weight: 500;
}


.transblanco:hover {
    background-image: initial;
    background-color: rgba(186, 161, 167, 0.54);
    border: 1px RGBA(255, 255, 255, 0) ;
}


.transnegro{
    color: #000 !important;
    background-color: rgba(255, 255, 255, 0);
    text-align: left;
    display: inline-block;
    text-decoration: none;
    font-weight: 700 !important;
    border: 1px solid #000;
    padding: 6px 30px 6px 12px !important;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.transnegro:hover {
    background-image: initial;
    background-color: rgba(186, 161, 167, 0.54);
    border: 1px RGBA(255, 255, 255, 0) ;
}

.fondo_trans:focus,
.fondo_trans:focus-visible{
  background-color:  RGBA(255, 255, 255, 0) !important;
  color:white !important;
  box-shadow: none;              
  border: 1px solid #fff !important;
}

/* Chrome/Edge/Safari */
#francumpleanos::-webkit-calendar-picker-indicator{
  filter: invert(1);
  opacity: 1;
}

/* Mantén el icono visible también en hover/focus */
#francumpleanos:hover::-webkit-calendar-picker-indicator,
#francumpleanos:focus::-webkit-calendar-picker-indicator{
  filter: invert(1);
  opacity: 1;
}

h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-family-base) !important;
    font-weight: var(--font-weight-medium);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h1 {
    font-weight: var(--font-weight-bold);
    font-size: clamp(1.75rem, 2.5vw, 2.25rem);
    color: var(--color-tifon) !important;
}

h2 {
    font-weight: var(--font-weight-semibold);
    font-size: clamp(1.5rem, 2vw, 1.875rem);
}

h3 {
    font-weight: var(--font-weight-semibold);
    font-size: clamp(1.25rem, 1.6vw, 1.5rem);
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-weight: var(--font-weight-semibold);
    font-size: 1.1rem;
    color: var(--color-tifon) !important;
}

h6 {
    font-size: 0.95rem;
}

footer h4,
footer h5,
footer h6 {
  color: var(--color-on-dark) !important;
}

footer p,
footer li,
footer label,
footer small,
footer .text-white-50 {
  color: var(--color-on-dark-muted) !important;
}

footer a:not(.btn):not(.btn-primary):not(.btn-outline-primary) {
  color: var(--color-on-dark) !important;
}

footer a:not(.btn):not(.btn-primary):not(.btn-outline-primary):hover,
footer a:not(.btn):not(.btn-primary):not(.btn-outline-primary):focus {
  color: #dbe6ff !important;
}

.newsletter-footer {
  position: relative;
  background-image: linear-gradient(rgba(10, 20, 40, 0.68), rgba(10, 20, 40, 0.68)), url("https://tifon300.jatware.com/img/fondo_newsletter.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--color-on-dark) !important;
}

.newsletter-footer h4,
.newsletter-footer p,
.newsletter-footer label,
.newsletter-footer .form-check-label,
.newsletter-footer a {
  color: var(--color-on-dark) !important;
}

.newsletter-footer .form-control,
.newsletter-footer .form-check-input {
  border-color: rgba(255, 255, 255, 0.45) !important;
}

.newsletter-footer .form-control {
  background-color: rgba(255, 255, 255, 0.92) !important;
  color: var(--color-text) !important;
}

.newsletter-footer .form-control:focus {
  border-color: #ffffff !important;
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.18) !important;
}

.newsletter-footer .form-check-input {
  background-color: transparent;
}

.newsletter-footer .form-check-input:checked {
  background-color: #ffffff;
  border-color: #ffffff !important;
}

.footer-highlights {
  background-color: #ffffff;
  color: #000000;
}

.footer-highlights .footer-highlight-card {
  height: 100%;
  padding: 1.5rem;
  border: 1px solid rgba(22, 43, 82, 0.08);
  text-align: center;
  background-color: #ffffff;
  box-shadow: 0 12px 32px rgba(22, 43, 82, 0.12);
}

.footer-highlights .footer-highlight-card i {
  color: var(--color-tifon) !important;
}

.footer-highlights .footer-highlight-card h5,
.footer-highlights .footer-highlight-card p {
  color: #000000 !important;
}

.inspirate-card {
  height: 100%;
}

.inspirate-card-thumb {
  display: block;
  overflow: hidden;
  border-radius: 0.375rem;
  background-color: #f6f1ef;
}

.inspirate-card-image {
  display: block;
  width: 100%;
  height: auto;
}

.inspirate-card-title {
  margin-top: 0.75rem;
}

.department-copy .container-fluid {
  padding-left: 0;
  padding-right: 0;
}

.department-shell {
  width: 100%;
  padding: 1.25rem 0 2.5rem;
}

.department-stage {
  position: relative;
  width: min(100%, 1800px);
  margin: 0 auto;
  padding: 1.5rem clamp(1rem, 2.5vw, 2.5rem) 2.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 241, 239, 0.72));
}

.department-stage::before,
.department-stage::after {
  content: "";
  position: absolute;
  top: 0.75rem;
  bottom: 0.75rem;
  width: 1px;
  background: linear-gradient(180deg, rgba(22, 43, 82, 0), rgba(22, 43, 82, 0.28) 12%, rgba(22, 43, 82, 0.28) 88%, rgba(22, 43, 82, 0));
}

.department-stage::before {
  left: 0;
}

.department-stage::after {
  right: 0;
}

.department-layout {
  width: 100%;
  padding-left: clamp(0.75rem, 1.8vw, 1.5rem);
  padding-right: clamp(0.75rem, 1.8vw, 1.5rem);
}

.department-inspirate {
  padding-top: 1rem;
}

.department-copy .bordercol {
  width: 66.66666667%;
  max-width: 66.66666667%;
}

@media (max-width: 767.98px) {
  .department-shell {
    padding-top: 0.75rem;
  }

  .department-stage {
    padding: 1rem 0.25rem 1.75rem;
  }

  .department-stage::before,
  .department-stage::after {
    top: 0.25rem;
    bottom: 0.25rem;
  }

  .department-copy .bordercol {
    width: 100%;
    max-width: 100%;
  }
}


.navbar {
    background: black;
  }

.addproNegro {
  color: #fff;
  background-color: var(--color-tifon);
  border-color: var(--color-tifon);
  box-shadow: none;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: background-color 0.3s ease, transform 0.15s ease, box-shadow 0.3s ease;
}

.addproNegro:hover {
  color: #fff;
  background-color: var(--color-tifon-hover);
  border-color: var(--color-tifon-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(22, 43, 82, 0.3);
}

.addproRojo {
  color: #fff;
  background-color: var(--color-tifon);
  border-color: var(--color-tifon);
  box-shadow: none;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: background-color 0.3s ease, transform 0.15s ease, box-shadow 0.3s ease;
}

.addproRojo:hover {
  color: #fff;
  background-color: var(--color-tifon-hover);
  border-color: var(--color-tifon-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(22, 43, 82, 0.3);
}


.bg-piemuebles {
 background: #272727;
  
}

@media (min-width: 768px) {

.bg-piemuebles {
 background-image: url('https://mymobel.com/img/pie/fondo_pie_muebles.jpg');
 background-size: 100% 100%;
 background-repeat:no-repeat;
  
}

}

.bg-secondary {
  --bs-bg-opacity: 1;
  background-color: rgb(240, 240, 240) !important;
}


.card {
 border: 0px !important;
}

/* =============================================
   PREMIUM: Cards de producto en departamento
   ============================================= */

.card-product {
  border: none !important;
  border-radius: 0;
  background: #fff;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-product-img {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--color-surface);
}

.card-product-img .image-wrapper {
  width: 100%;
  height: 100%;
}

.card-product-img .img-default,
.card-product-img .img-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.card-product-img .img-hover {
  opacity: 0;
}

.card-product:hover .img-default {
  transform: scale(1.03);
}

.card-product:hover .img-hover {
  opacity: 1;
  transform: scale(1.03);
}

/* Badge sobre imagen */
.card-product-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  padding: 0.3rem 0.6rem;
  font-size: 0.7rem;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.3;
  border-radius: 0;
}

/* Body de la card */
.card-product-body {
  padding: 0.75rem 0.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-product-title {
  font-size: 0.9rem !important;
  font-weight: var(--font-weight-medium) !important;
  line-height: 1.35;
  margin-bottom: 0.4rem;
  color: var(--color-text) !important;
}

.card-product-title a {
  color: inherit;
  text-decoration: none;
}

.card-product-title a:hover {
  color: var(--color-tifon);
}

/* Precios */
.card-product-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: auto;
}

.card-product-from {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.card-product-current {
  font-size: 1.15rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.card-product-current a {
  font-size: 1.5rem;
}

.card-product-old {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-decoration: line-through;
}

.card-product-discount {
  display: inline-block;
  background: var(--color-tifon-red);
  color: #fff;
  font-size: 0.7rem;
  font-weight: var(--font-weight-semibold);
  padding: 0.15rem 0.4rem;
  border-radius: 0;
  letter-spacing: 0.02em;
}

.card-product-colors {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-top: 0.55rem;
  min-height: 1rem;
}

.card-product-color-dot {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 0.12rem;
  border: 1px solid rgba(22, 43, 82, 0.22);
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  display: inline-block;
  text-decoration: none;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.card-product-color-dot:hover {
  transform: translateY(-1px);
  border-color: var(--color-tifon);
  box-shadow: 0 0 0 1px rgba(22, 43, 82, 0.16);
}

.card-product-color-dot[data-label] {
  position: relative;
}

.card-product-color-dot[data-label]::after {
  content: attr(data-label);
  position: absolute;
  bottom: calc(100% + 5px);
  left: 50%;
  transform: translateX(-50%) scale(0.85);
  background: var(--color-tifon);
  color: #fff;
  font-size: 0.68rem;
  white-space: nowrap;
  padding: 2px 6px;
  border-radius: 2px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.card-product-color-dot[data-label]:hover::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.card-product-color-dot:focus-visible {
  outline: 2px solid rgba(22, 43, 82, 0.28);
  outline-offset: 1px;
}

.card-product-color-more {
  font-size: 0.72rem;
  line-height: 1;
  color: var(--color-text-muted);
  font-weight: var(--font-weight-medium);
}

/* =============================================
   PREMIUM: Departamento - barra superior
   ============================================= */

.department-count {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: var(--font-weight-normal);
}

.department-filters-wrap {
  padding: 1rem 1.1rem 1.1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 241, 239, 0.9));
  box-shadow: 0 12px 24px rgba(22, 43, 82, 0.05);
}

.department-filter-field {
  width: 100%;
}

.department-filters-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
}

.department-filters-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  justify-content: flex-start;
}

.department-filters-kicker {
  display: inline-block;
  color: var(--color-tifon);
  font-size: 0.78rem;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.department-filters-toggle__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  background: rgba(22, 43, 82, 0.08);
  color: var(--color-tifon);
  font-size: 1.15rem;
  font-weight: var(--font-weight-semibold);
  line-height: 1;
}

.department-filters-toggle__icon::before {
  content: "-";
}

.department-filters-toggle.collapsed .department-filters-toggle__icon::before {
  content: "+";
}

.department-filters-toggle:focus-visible {
  outline: 2px solid rgba(22, 43, 82, 0.36);
  outline-offset: 3px;
}

.department-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.department-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0.65rem 0.95rem;
  border: 1px solid rgba(22, 43, 82, 0.16);
  background: rgba(255, 255, 255, 0.88);
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: var(--font-weight-medium);
  line-height: 1.2;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.department-filter-chip__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: 1.1rem;
  color: currentColor;
  font-size: 0.95rem;
}

.department-filter-chip__label {
  white-space: nowrap;
}

.department-filter-chip__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.7rem;
  height: 1.7rem;
  padding: 0 0.45rem;
  background: rgba(22, 43, 82, 0.08);
  color: var(--color-tifon);
  font-size: 0.78rem;
  font-weight: var(--font-weight-semibold);
}

.department-filter-chip:hover {
  background: rgba(22, 43, 82, 0.06);
  border-color: rgba(22, 43, 82, 0.34);
  color: var(--color-tifon);
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(22, 43, 82, 0.08);
}

.department-filter-chip.active {
  background: var(--color-tifon);
  border-color: var(--color-tifon);
  color: #fff;
  box-shadow: 0 14px 26px rgba(22, 43, 82, 0.18);
}

.department-filter-chip.active .department-filter-chip__count {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.department-color-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.department-color-btn {
  width: 2.4rem;
  height: 2.4rem;
  flex: 0 0 2.4rem;
  border-radius: 0.2rem;
  border: 1px solid rgba(22, 43, 82, 0.2);
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  display: inline-block;
  text-decoration: none;
  transition:
    transform 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    background-color 0.16s ease;
}

.department-color-btn:hover {
  transform: translateY(-1px);
  border-color: var(--color-tifon);
  box-shadow: 0 0 0 1px rgba(22, 43, 82, 0.16);
}

.department-color-btn:focus-visible {
  outline: 2px solid rgba(22, 43, 82, 0.28);
  outline-offset: 1px;
}

.department-color-btn.active {
  border-color: var(--color-tifon);
  box-shadow: 0 0 0 2px rgba(22, 43, 82, 0.18);
}

.department-color-btn--all {
  position: relative;
  background: linear-gradient(135deg, #fff 0%, #f2f4f7 100%);
}

.department-color-btn--all::before,
.department-color-btn--all::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 1.45rem;
  height: 1px;
  background: rgba(22, 43, 82, 0.55);
  transform-origin: center;
}

.department-color-btn--all::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.department-color-btn--all::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.department-price-compact {
  width: 100%;
}

.department-price-compact__group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  min-height: calc(1.5em + 0.5rem + 2px);
  border: 1px solid rgba(22, 43, 82, 0.12);
  border-radius: var(--bs-border-radius-sm);
  background: var(--bs-secondary-bg);
  overflow: hidden;
}

.department-price-compact__btn {
  min-width: 0;
  min-height: calc(1.5em + 0.5rem + 2px);
  padding: 0.35rem 0.45rem;
  border: 0;
  border-right: 1px solid rgba(22, 43, 82, 0.1);
  border-bottom: 1px solid rgba(22, 43, 82, 0.1);
  background: transparent;
  color: var(--color-text);
  font-size: 0.78rem;
  line-height: 1.15;
  text-align: center;
}

.department-price-compact__btn:nth-child(2n) {
  border-right: 0;
}

.department-price-compact__btn:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.department-price-compact__btn.active {
  background: var(--color-tifon);
  color: #fff;
}

.department-price-compact__btn:hover {
  background: rgba(22, 43, 82, 0.08);
}

.department-price-compact__btn.active:hover {
  background: var(--color-tifon);
}

.department-price-compact__btn:focus-visible {
  outline: 2px solid rgba(22, 43, 82, 0.28);
  outline-offset: -2px;
}

.department-filter-clear {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.75rem;
  color: var(--color-tifon-red);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: var(--font-weight-medium);
}

.department-filter-clear:hover {
  color: var(--color-tifon-red-hover);
}

.department-filter-clear i {
  font-size: 0.9rem;
}

.department-order-block {
  --department-filter-control-height: calc(1.5em + 0.5rem + 2px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  width: 100%;
}

.department-order-label {
  display: block;
}

.department-order-picker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
}

.department-order-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.12rem;
  flex: 1 1 0;
  width: auto;
  min-height: var(--department-filter-control-height);
  height: var(--department-filter-control-height);
  padding: 0.25rem 0.5rem;
  border: 1px solid rgba(22, 43, 82, 0.12);
  border-radius: var(--bs-border-radius-sm);
  background: #fff;
  color: var(--color-text);
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.department-order-btn i {
  font-size: 0.95rem;
  line-height: 1;
}

.department-order-btn:hover {
  background: rgba(22, 43, 82, 0.06);
  border-color: rgba(22, 43, 82, 0.34);
  color: var(--color-tifon);
  transform: translateY(-1px);
}

.department-order-btn.active {
  background: var(--color-tifon);
  border-color: var(--color-tifon);
  color: #fff;
  box-shadow: 0 10px 20px rgba(22, 43, 82, 0.16);
}

.department-order-btn:focus-visible {
  outline: 2px solid rgba(22, 43, 82, 0.36);
  outline-offset: 2px;
}

.department-results-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0.25rem 0 0.7rem;
}

@media (min-width: 768px) {
  .department-filter-field {
    flex: 0 0 calc(12.5% - 0.5rem);
    max-width: calc(12.5% - 0.5rem);
    min-width: 10.5rem;
  }

  .department-filter-field--order {
    min-width: 11.5rem;
  }
}

:root {
  --department-mobile-sticky-top: 4.25rem;
}

@media (max-width: 575.98px) {
  :root {
    --department-mobile-sticky-top: 3.85rem;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  :root {
    --department-mobile-sticky-top: 4.1rem;
  }
}

.department-filter-chip:focus-visible,
.department-filter-clear:focus-visible {
  outline: 2px solid rgba(22, 43, 82, 0.36);
  outline-offset: 2px;
}

@media (max-width: 767.98px) {
  .department-filters-wrap {
    padding: 0.9rem 0.85rem 1rem;
  }

  .department-filters-heading {
    margin-bottom: 0.8rem;
  }

  .department-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .department-filter-chip {
    width: 100%;
    min-height: 3rem;
    justify-content: space-between;
    padding: 0.7rem 0.8rem;
    font-size: 0.88rem;
  }

  .department-filter-chip__label {
    flex: 1 1 auto;
    white-space: normal;
  }

  .department-filter-chip__count {
    flex: 0 0 auto;
    min-width: 1.55rem;
    height: 1.55rem;
    font-size: 0.74rem;
  }

  .department-price-range {
    padding: 0.4rem 0.6rem 0.45rem;
  }

  .department-price-compact__group {
    grid-template-columns: 1fr;
  }

  .department-price-compact__btn {
    font-size: 0.76rem;
    border-right: 0;
  }

  .department-price-compact__btn:nth-last-child(-n + 2) {
    border-bottom: 1px solid rgba(22, 43, 82, 0.1);
  }

  .department-price-compact__btn:last-child {
    border-bottom: 0;
  }

  .department-filter-clear {
    margin-top: 0.65rem;
    font-size: 0.84rem;
  }

  .department-order-picker {
    width: 100%;
    justify-content: space-between;
  }

  .department-order-block {
    width: 100%;
  }

  .department-order-picker--mobile {
    padding: 0;
  }

  .department-order-btn {
    min-height: var(--department-filter-control-height);
    height: var(--department-filter-control-height);
  }

  .department-mobile-controls {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    position: sticky;
    top: var(--department-mobile-sticky-top, 4.25rem);
    z-index: 1020;
    background: #fff;
    padding: 0.25rem 0 0.35rem;
  }

  .department-mobile-controls__filter {
    flex: 1 1 auto;
  }

  .department-mobile-controls__clear {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .department-filter-offcanvas {
    --bs-offcanvas-height: min(92dvh, 46rem);
    border-top-left-radius: 0.9rem;
    border-top-right-radius: 0.9rem;
    display: flex;
    flex-direction: column;
  }

  .department-filter-offcanvas .offcanvas-header {
    border-bottom: 1px solid rgba(22, 43, 82, 0.1);
    flex: 0 0 auto;
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
  }

  .department-filter-offcanvas .offcanvas-body {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
    padding-top: 0.85rem;
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 0.9rem);
  }

  .department-filter-mobile-form {
    min-height: 100%;
    align-content: start;
  }

  .department-filter-mobile-actions {
    position: sticky;
    bottom: 0;
    z-index: 2;
    padding-top: 0.85rem;
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 0.25rem);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), #ffffff 28%);
    margin-top: auto;
  }
}

@media (max-width: 419.98px) {
  .department-filters {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* =============================================
   Toolbar de filtros (Opción C): pills + popovers
   ============================================= */

.department-filter-bar {
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  flex-wrap: wrap;
}

.department-filter-bar__lead {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  font-weight: var(--font-weight-semibold);
  margin-right: 0.15rem;
}

.department-filter-bar__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  flex: 1 1 auto;
}

.department-filter-bar__order {
  display: flex;
  align-items: center;
  margin-left: auto;
  padding-left: 0.5rem;
}

.department-filter-pill-wrap {
  position: relative;
}

.department-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  min-height: 2.1rem;
  border: 1px solid rgba(22, 43, 82, 0.12);
  background: #fff;
  color: var(--color-text);
  font-size: 0.88rem;
  font-weight: var(--font-weight-medium);
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease;
}

.department-filter-pill__icon {
  font-size: 0.95rem;
  color: var(--color-tifon);
  opacity: 0.85;
}

.department-filter-pill__label {
  white-space: nowrap;
}

.department-filter-pill__sep {
  opacity: 0.55;
}

.department-filter-pill__value {
  white-space: nowrap;
  font-weight: var(--font-weight-semibold);
  color: var(--color-tifon);
  max-width: 12rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

.department-filter-pill__chev {
  font-size: 0.78rem;
  opacity: 0.6;
  transition: transform 0.18s ease;
  margin-left: 0.1rem;
}

.department-filter-pill:hover {
  background: #fff;
  border-color: rgba(22, 43, 82, 0.28);
  color: var(--color-tifon);
}

.department-filter-pill:hover .department-filter-pill__chev {
  opacity: 0.9;
}

.department-filter-pill.active {
  background: #fff;
  border-color: rgba(22, 43, 82, 0.28);
  color: var(--color-tifon);
}

.department-filter-pill[aria-expanded="true"] {
  background: #fff;
  border-color: var(--color-tifon);
  color: var(--color-tifon);
  box-shadow: 0 0 0 3px rgba(22, 43, 82, 0.08);
}

.department-filter-pill[aria-expanded="true"] .department-filter-pill__chev {
  transform: rotate(180deg);
  opacity: 1;
}

.department-filter-pill:focus-visible {
  outline: 2px solid rgba(22, 43, 82, 0.36);
  outline-offset: 2px;
}

.department-filter-pop {
  display: none;
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  z-index: 1030;
  min-width: 14rem;
  max-width: 22rem;
  padding: 0.55rem;
  border: 1px solid rgba(22, 43, 82, 0.1);
  border-radius: 0.25rem;
  background: #fff;
  box-shadow: 0 18px 36px rgba(22, 43, 82, 0.12);
}

[data-dept-pill].is-open > .department-filter-pop {
  display: block;
}

.department-filter-pop--f_color {
  min-width: 17rem;
}

.department-filter-pop--order {
  min-width: 14rem;
  left: auto;
  right: 0;
}

.department-filter-pop__title {
  padding: 0.2rem 0.5rem 0.45rem;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: var(--font-weight-semibold);
  border-bottom: 1px solid rgba(22, 43, 82, 0.06);
  margin-bottom: 0.35rem;
}

.department-filter-pop__list {
  display: flex;
  flex-direction: column;
  max-height: 18rem;
  overflow-y: auto;
}

.department-filter-pop__swatches {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.45rem;
  padding: 0.25rem 0.5rem 0.45rem;
}

.department-filter-option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.55rem;
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.88rem;
  line-height: 1.2;
  border-radius: 0.15rem;
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}

.department-filter-option__label {
  flex: 1 1 auto;
  min-width: 0;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.department-filter-option__count {
  flex: 0 0 auto;
  font-size: 0.76rem;
  color: var(--color-text-muted);
  padding: 0 0.45rem;
  min-width: 1.6rem;
  text-align: center;
  background: rgba(22, 43, 82, 0.05);
  border-radius: 999px;
  line-height: 1.45rem;
  height: 1.45rem;
  font-weight: var(--font-weight-semibold);
}

.department-filter-option__icon {
  flex: 0 0 auto;
  font-size: 1rem;
  color: var(--color-tifon);
  opacity: 0.85;
}

.department-filter-option:hover {
  background: rgba(22, 43, 82, 0.06);
  color: var(--color-tifon);
}

.department-filter-option.active {
  background: var(--color-tifon);
  color: #fff;
  font-weight: var(--font-weight-semibold);
}

.department-filter-option.active .department-filter-option__count {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.department-filter-option.active .department-filter-option__icon {
  color: #fff;
  opacity: 1;
}

.department-filter-option--all {
  border-bottom: 1px solid rgba(22, 43, 82, 0.08);
  margin-bottom: 0.35rem;
  padding-bottom: 0.55rem;
}

.department-filter-option.is-disabled {
  color: rgba(22, 43, 82, 0.32);
  cursor: not-allowed;
  pointer-events: none;
}

.department-filter-option.is-disabled .department-filter-option__label {
  text-decoration: line-through;
  text-decoration-color: rgba(22, 43, 82, 0.25);
}

.department-filter-option.is-disabled .department-filter-option__count {
  background: rgba(22, 43, 82, 0.03);
  color: rgba(22, 43, 82, 0.32);
}

.department-color-btn.is-disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
  position: relative;
}

.department-color-btn.is-disabled::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 100%;
  height: 1px;
  background: rgba(22, 43, 82, 0.5);
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* Meta bar: conteo + tokens + limpiar */

.department-filter-meta {
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0.6rem 0.25rem 0;
  margin-top: 0.4rem;
}

.department-results-count {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  font-weight: var(--font-weight-medium);
}

.department-active-tokens {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  flex: 1 1 auto;
  min-width: 0;
}

.department-active-token {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.6rem 0.25rem 0.65rem;
  background: rgba(22, 43, 82, 0.08);
  border: 1px solid rgba(22, 43, 82, 0.12);
  color: var(--color-tifon);
  text-decoration: none;
  font-size: 0.82rem;
  line-height: 1.25;
  font-weight: var(--font-weight-medium);
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.department-active-token__facet {
  opacity: 0.7;
  font-weight: var(--font-weight-normal);
}

.department-active-token__value {
  font-weight: var(--font-weight-semibold);
}

.department-active-token__x {
  font-size: 0.7rem;
  opacity: 0.7;
}

.department-active-token:hover {
  background: var(--color-tifon);
  border-color: var(--color-tifon);
  color: #fff;
}

.department-active-token:hover .department-active-token__facet,
.department-active-token:hover .department-active-token__x {
  opacity: 1;
}

.department-filter-clear-all {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
  padding: 0.25rem 0.4rem;
  color: var(--color-text-muted);
  font-size: 0.82rem;
  font-weight: var(--font-weight-medium);
  text-decoration: none;
  transition: color 0.15s ease;
}

.department-filter-clear-all:hover {
  color: var(--color-tifon-red, var(--color-tifon));
}

.department-filter-clear-all i {
  font-size: 0.72rem;
}

/* Mobile controls: añadir botón de orden */

.department-mobile-controls__order {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-width: 0;
  padding-left: 0.6rem;
  padding-right: 0.6rem;
}

.department-mobile-controls__order-icon {
  flex: 0 0 auto;
  font-size: 0.95rem;
}

.department-mobile-controls__order-label {
  flex: 0 0 auto;
  font-weight: var(--font-weight-semibold);
}

.department-mobile-controls__order-sep {
  flex: 0 0 auto;
  opacity: 0.55;
}

.department-mobile-controls__order-value {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
  font-weight: var(--font-weight-normal);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Meta móvil: contador + tokens */

.department-mobile-meta {
  padding: 0.5rem 0 0.25rem;
}

.department-mobile-results {
  font-size: 0.84rem;
  color: var(--color-text-muted);
  font-weight: var(--font-weight-medium);
  padding: 0 0.15rem 0.4rem;
}

.department-mobile-tokens {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.35rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.1rem 0.15rem 0.35rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.department-mobile-tokens::-webkit-scrollbar {
  display: none;
}

.department-mobile-tokens .department-active-token {
  flex: 0 0 auto;
  scroll-snap-align: start;
  padding: 0.2rem 0.55rem 0.2rem 0.6rem;
  font-size: 0.78rem;
  max-width: 70vw;
}

.department-mobile-tokens .department-active-token__value {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 55vw;
  display: inline-block;
  vertical-align: bottom;
}

.department-mobile-clear {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.55rem;
  color: var(--color-text-muted);
  font-size: 0.78rem;
  font-weight: var(--font-weight-medium);
  text-decoration: none;
  white-space: nowrap;
  border-left: 1px solid rgba(22, 43, 82, 0.12);
  margin-left: 0.15rem;
  padding-left: 0.65rem;
}

.department-mobile-clear:hover {
  color: var(--color-tifon);
}

.department-mobile-clear i {
  font-size: 0.7rem;
}

/* Offcanvas de filtros: secciones colapsables <details> */

.department-filter-group {
  border-bottom: 1px solid rgba(22, 43, 82, 0.08);
  padding: 0;
  margin-bottom: 0;
}

.department-filter-group:last-of-type {
  border-bottom: 0;
}

.department-filter-group__summary {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 0.25rem;
  cursor: pointer;
  list-style: none;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
}

.department-filter-group__summary::-webkit-details-marker {
  display: none;
}

.department-filter-group__icon {
  color: var(--color-tifon);
  font-size: 1rem;
  opacity: 0.85;
}

.department-filter-group__label {
  flex: 1 1 auto;
  font-size: 0.95rem;
}

.department-filter-group__value {
  font-size: 0.82rem;
  color: var(--color-tifon);
  font-weight: var(--font-weight-medium);
  padding: 0.15rem 0.55rem;
  background: rgba(22, 43, 82, 0.08);
  border-radius: 999px;
  margin-right: 0.25rem;
}

.department-filter-group__chev {
  font-size: 0.8rem;
  opacity: 0.6;
  transition: transform 0.2s ease;
}

.department-filter-group[open] .department-filter-group__chev {
  transform: rotate(180deg);
  opacity: 1;
}

.department-filter-group__body {
  padding: 0.2rem 0.25rem 0.85rem;
}

.department-filter-group .department-filter-pop__list {
  max-height: none;
}

.department-filter-group .department-filter-pop__swatches {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  padding: 0.25rem 0 0.45rem;
}

/* Offcanvas de orden (móvil) */

.department-order-offcanvas {
  --bs-offcanvas-height: auto;
  border-top-left-radius: 0.9rem;
  border-top-right-radius: 0.9rem;
}

.department-order-offcanvas .offcanvas-header {
  border-bottom: 1px solid rgba(22, 43, 82, 0.1);
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.department-order-offcanvas .offcanvas-body {
  padding-top: 0.6rem;
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 1rem);
}

.department-filter-pop__list--mobile .department-filter-option {
  padding: 0.85rem 0.55rem;
  font-size: 0.95rem;
}

/* Ajustes móvil para la meta bar (si decidimos mostrarla también) */

@media (max-width: 767.98px) {
  .department-filter-meta {
    display: none !important;
  }

  .department-mobile-controls {
    gap: 0.4rem;
  }

  .department-filter-mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 991.98px) and (min-width: 768px) {
  .department-filter-bar {
    padding: 0.65rem 0.75rem;
  }

  .department-filter-pill__value {
    max-width: 8rem;
  }
}

.department-seo-copy p,
.department-seo-copy li {
  font-size: 1em;
}

/* =============================================
   PREMIUM: Paginacion
   ============================================= */

.pagination-department {
  gap: 0.25rem;
}

.pagination-department .page-link {
  border: 1px solid rgba(22, 43, 82, 0.15);
  border-radius: 0;
  color: var(--color-text);
  font-size: 0.85rem;
  min-width: 2.25rem;
  text-align: center;
  padding: 0.4rem 0.65rem;
  transition: all 0.2s ease;
}

.pagination-department .page-link:hover {
  background: var(--color-tifon-soft);
  border-color: var(--color-tifon);
  color: var(--color-tifon);
}

.pagination-department .page-item.active .page-link {
  background: var(--color-tifon);
  border-color: var(--color-tifon);
  color: #fff;
}

/* =============================================
   PREMIUM: Modales por encima del header
   ============================================= */

.modal {
  z-index: 999999 !important;
}

.modal-backdrop {
  z-index: 999998 !important;
}

/* =============================================
   PREMIUM: Ficha de producto (PDP)
   ============================================= */

.pdp-layout {
  padding-top: var(--space-lg);
}

.pdp-info {
  padding: 0 0 var(--space-xl) var(--space-md);
  position: sticky;
  top: calc(7rem + var(--space-md));
}

@media (max-width: 991.98px) {
  .pdp-info {
    padding-left: 0;
    position: static;
  }
}

.pdp-title {
  font-size: 1.5em !important;
  font-weight: var(--font-weight-bold) !important;
  color: var(--color-text) !important;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.pdp-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pdp-rating-link {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-decoration: underline;
}

.pdp-description {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.pdp-variants {
  border-top: 0;
  padding-top: var(--space-md);
}

.pdp-variant-group {
  margin-bottom: var(--space-md);
}

.pdp-variant-label {
  display: block;
  font-size: 0.8rem;
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text);
  margin-bottom: 0.35rem;
}

.pdp-color-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.3rem;
}

.pdp-color-item {
  margin: 0;
  min-width: 0;
}

.pdp-color-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  text-decoration: none;
}

.pdp-color-grid .cuadrocolor {
  display: block;
  width: 100%;
  max-width: 3.8rem;
  min-width: 0;
  height: auto;
  aspect-ratio: 1 / 1;
  line-height: 1;
  margin: 0 auto;
}

.pdp-color-name {
  display: block;
  width: 100%;
  color: var(--color-text-muted);
  font-size: 0.6rem;
  line-height: 1.05;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pdp-measure-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.35rem;
}

.pdp-measure-grid .pdp-measure-option {
  width: 88%;
  min-width: 0;
  padding: 0.3rem 0.2rem;
  min-height: 2.1rem;
  font-size: 0.72rem;
  line-height: 1.05;
  justify-content: center;
  text-align: center;
  margin: 0 auto;
  white-space: normal;
  overflow-wrap: anywhere;
  hyphens: auto;
}

/* Las opciones se rotulan con el texto del catalogo ("50 x 80 cm", "Izquierda
   vista de frente"), que no cabe en la rejilla de 5 columnas: la plantilla elige
   una de estas dos segun lo larga que sea la etiqueta mas larga del grupo. Son
   excluyentes con .pdp-measure-grid, como .pdp-color-grid-texto lo es con
   .pdp-color-grid. */
.pdp-measure-grid-media,
.pdp-measure-grid-ancha {
  display: grid;
  gap: 0.35rem;
}

.pdp-measure-grid-media {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pdp-measure-grid-ancha {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pdp-measure-grid-media .pdp-measure-option,
.pdp-measure-grid-ancha .pdp-measure-option {
  width: 100%;
  min-width: 0;
  justify-content: center;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.pdp-measure-grid-media .pdp-measure-option {
  padding: 0.35rem 0.35rem;
  min-height: 2.4rem;
  font-size: 0.72rem;
  line-height: 1.1;
}

.pdp-measure-grid-ancha .pdp-measure-option {
  padding: 0.4rem 0.5rem;
  min-height: 2.6rem;
  font-size: 0.74rem;
  line-height: 1.15;
}

.pdp-measure-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(22, 43, 82, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 241, 239, 0.92));
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: var(--font-weight-medium);
  line-height: 1.2;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.pdp-measure-option:hover {
  border-color: rgba(22, 43, 82, 0.34);
  background: rgba(22, 43, 82, 0.06);
  color: var(--color-tifon);
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(22, 43, 82, 0.08);
}

.pdp-measure-option.cuadrocolorsec {
  border-color: var(--color-tifon);
  background: var(--color-tifon);
  color: #fff;
  box-shadow: 0 14px 26px rgba(22, 43, 82, 0.18);
}

.pdp-measure-option:focus-visible {
  outline: 2px solid rgba(22, 43, 82, 0.3);
  outline-offset: 2px;
}

/* Combinacion que no existe en el color/medida seleccionado: sigue siendo
   clicable, pero se marca para que se vea que el cambio arrastra la otra
   variante. */
.pdp-measure-option.pdp-measure-otro {
  border-style: dashed;
  color: rgba(22, 43, 82, 0.62);
}

.pdp-measure-option.pdp-measure-otro:hover {
  border-style: solid;
  color: var(--color-tifon);
}

.pdp-color-link.pdp-color-otro .cuadrocolor {
  opacity: 0.55;
}

.pdp-color-link.pdp-color-otro:hover .cuadrocolor {
  opacity: 1;
}

.pdp-color-link.pdp-color-otro .pdp-color-name {
  color: rgba(22, 43, 82, 0.62);
}

/* Colores sin imagen de textura: se listan como botones de texto, igual que las
   medidas, porque un cuadro vacio no identifica el color. */
.pdp-color-grid-texto {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
}

.pdp-color-grid-texto .pdp-measure-option {
  width: 100%;
  min-width: 0;
  padding: 0.35rem 0.4rem;
  min-height: 2.4rem;
  font-size: 0.72rem;
  line-height: 1.1;
  justify-content: center;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  hyphens: auto;
}

@media (max-width: 767.98px) {
  .pdp-color-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.3rem;
  }

  .pdp-color-grid-texto {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.3rem;
  }

  .pdp-color-grid-texto .pdp-measure-option {
    min-height: 2.2rem;
    font-size: 0.68rem;
  }

  .pdp-color-grid .cuadrocolor {
    max-width: 3.2rem;
  }

  .pdp-color-name {
    font-size: 0.56rem;
  }

  .pdp-measure-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.25rem;
  }

  .pdp-measure-grid .pdp-measure-option {
    width: 70%;
    min-height: 2rem;
    padding: 0.15rem 0.1rem;
    font-size: 0.66rem;
    line-height: 1;
    justify-content: center;
  }

  .pdp-measure-grid-media,
  .pdp-measure-grid-ancha {
    gap: 0.3rem;
  }

  .pdp-measure-grid-media {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pdp-measure-grid-ancha {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .pdp-measure-grid-media .pdp-measure-option,
  .pdp-measure-grid-ancha .pdp-measure-option {
    min-height: 2.2rem;
    font-size: 0.68rem;
  }

  .pdp-measure-option {
    width: 100%;
    min-height: 3rem;
    justify-content: flex-start;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .pdp-color-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.35rem;
  }

  .pdp-color-grid .cuadrocolor {
    max-width: 3.8rem;
  }

  .pdp-measure-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.35rem;
  }

  .pdp-measure-grid .pdp-measure-option {
    width: 92%;
    min-height: 2.2rem;
    font-size: 0.7rem;
  }

  .pdp-measure-grid-media {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pdp-measure-grid-ancha {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Precio */
.pdp-price-block {
  border-top: 0;
  padding-top: var(--space-md);
}

.pdp-price-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
}

.pdp-price-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.pdp-price-current {
  display: inline-flex;
  align-items: baseline;
  font-size: clamp(2.35rem, 4vw, 3.1rem);
  font-family: var(--font-family-base);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  letter-spacing: -0.06em;
  line-height: 0.95;
  padding: 0.1rem 0 0.15rem;
  text-shadow: 0 10px 24px rgba(22, 43, 82, 0.08);
}

.pdp-price-current.priceProduct {
  font-family: var(--font-family-base) !important;
}

.pdp-price-old {
  font-size: 1rem;
  font-family: var(--font-family-base);
  color: var(--color-text-muted);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  opacity: 0.9;
}

.pdp-price-discount {
  display: inline-block;
  background: var(--color-tifon-red);
  color: #fff;
  border: 1px solid var(--color-tifon-red);
  box-shadow: 0 8px 18px rgba(191, 8, 17, 0.18);
  font-size: 0.76rem;
  font-weight: var(--font-weight-bold);
  padding: 0.3rem 0.6rem;
  border-radius: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 767.98px) {
  .pdp-price-current {
    font-size: clamp(2rem, 10vw, 2.55rem);
  }

  .pdp-price-meta {
    gap: 0.5rem;
  }
}

/* Entrega */
.pdp-delivery {
  border-top: 0;
  padding-top: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pdp-delivery-item {
  font-size: 0.85rem;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pdp-delivery-item i {
  color: var(--color-tifon);
  font-size: 1rem;
}

.pdp-delivery-badge {
  display: block;
  font-size: 0.75rem;
  font-weight: var(--font-weight-medium);
  padding: 0.3rem 0.6rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: 0;
  align-self: stretch;
  width: 100%;
  box-sizing: border-box;
}

/* Boton de compra */
.pdp-add-to-cart {
  border-top: 0;
  padding-top: var(--space-md);
}

.pdp-qty-select {
  flex: 0 0 6em;
  width: 6em !important;
  min-width: 6em;
  max-width: 6em;
  border-radius: 0 !important;
  font-size: 0.9rem;
  padding: 0.6rem 0.75rem !important;
}

.pdp-btn-cart {
  flex: 0 0 15em;
  width: 15em;
  min-width: 15em;
  max-width: 15em;
  padding: 0.7rem 1.5rem !important;
  font-size: 0.95rem !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: var(--font-weight-semibold) !important;
}

.pdp-no-stock {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 1rem;
  background: rgba(191, 8, 17, 0.08);
  color: var(--color-tifon-red);
  font-size: 0.85rem;
  font-weight: var(--font-weight-medium);
}

/* Secciones info */
.pdp-section-title {
  font-size: 0.85rem !important;
  font-weight: var(--font-weight-semibold) !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text) !important;
  margin-bottom: 0.5rem;
}

.pdp-finance {
  border-top: 0;
  padding-top: var(--space-md);
}

.pdp-shipping {
  border-top: 0;
  padding-top: var(--space-md);
}

.pdp-montaje {
  border-top: 0;
  padding-top: var(--space-md);
}

/* Detalles producto (descripcion + acordeon) */
.pdp-details-section {
  background: var(--color-surface);
  margin-top: var(--space-xl);
}

.pdp-details-title {
  font-size: 1.25rem !important;
  font-weight: var(--font-weight-semibold) !important;
  color: var(--color-text) !important;
  margin-bottom: var(--space-md);
}

.pdp-details-text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.pdp-details-section .accordion-item {
  border: none;
  border-bottom: 1px solid rgba(22, 43, 82, 0.10);
  background: transparent;
}

.pdp-details-section .accordion-button {
  background: transparent;
  font-weight: var(--font-weight-medium);
  font-size: 0.9rem;
  color: var(--color-text);
  padding: 1rem 0;
  box-shadow: none;
}

.pdp-details-section .accordion-button:not(.collapsed) {
  color: var(--color-tifon);
  background: transparent;
  box-shadow: none;
}

.pdp-details-section .accordion-button::after {
  filter: none;
}

.pdp-details-section .accordion-body {
  padding: 0 0 1rem 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* Galeria carrusel premium */
.pdp-layout .carousel-control-prev,
.pdp-layout .carousel-control-next {
  width: 3rem;
  height: 3rem;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.85);
  border-radius: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pdp-layout .carousel:hover .carousel-control-prev,
.pdp-layout .carousel:hover .carousel-control-next {
  opacity: 1;
}

.pdp-layout .carousel-control-prev-icon,
.pdp-layout .carousel-control-next-icon {
  filter: none;
  width: 1rem;
  height: 1rem;
}

.pdp-layout .carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e");
}

.pdp-layout .carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3e%3c/svg%3e");
}

.pdp-layout .carousel-indicators {
  bottom: 0.5rem;
}

.pdp-layout .carousel-indicators button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(22, 43, 82, 0.3);
  border: none;
  opacity: 1;
}

.pdp-layout .carousel-indicators button.active {
  background: var(--color-tifon);
}

@media (max-width: 767.98px) {
  .pdp-layout {
    padding-left: 0;
    padding-right: 0;
  }

  .pdp-layout > .row {
    --bs-gutter-x: 0;
  }

  .pdp-mobile-carousel,
  .pdp-mobile-carousel .carousel,
  .pdp-mobile-carousel .carousel-inner,
  .pdp-mobile-carousel .carousel-item,
  .pdp-mobile-carousel .carousel-item img {
    width: 100%;
  }

  .pdp-mobile-carousel .carousel-item img {
    width: 125%;
    max-width: none;
    margin-left: -12.5%;
  }

  .pdp-layout .carousel-control-prev,
  .pdp-layout .carousel-control-next {
    opacity: 1;
    z-index: 3;
    width: 3.25rem;
    height: 3.25rem;
    background: rgba(255, 255, 255, 0.96);
  }
}

select {
  background-color: rgba(22, 43, 82, 0.06) !important;
  border: 1px solid rgba(22, 43, 82, 0.28) !important;
  color: var(--color-tifon) !important;
  padding-left: 15px !important;
}

select:hover {
  border-color: var(--color-tifon) !important;
}

select:focus {
  border-color: var(--color-tifon) !important;
  box-shadow: 0 0 0 0.2rem rgba(22, 43, 82, 0.15) !important;
  outline: 0;
}

/* =============================================
   PREMIUM: Transiciones globales
   ============================================= */

a,
.btn,
.card,
.form-control,
.footer-highlight-card {
  transition: all 0.3s ease;
}

/* =============================================
   PREMIUM: Cards de producto con hover
   ============================================= */

.card {
  overflow: hidden;
  position: relative;
}

.card:hover {
  box-shadow: 0 8px 32px rgba(22, 43, 82, 0.10);
  transform: translateY(-4px);
}

.card img {
  transition: transform 0.5s ease;
}

.card:hover img {
  transform: scale(1.03);
}

/* =============================================
   PREMIUM: Footer highlight cards hover
   ============================================= */

.footer-highlights .footer-highlight-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-highlights .footer-highlight-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(22, 43, 82, 0.16);
}

/* =============================================
   PREMIUM: Inspirate cards hover
   ============================================= */

.inspirate-card-thumb {
  transition: box-shadow 0.3s ease;
}

.inspirate-card-thumb:hover {
  box-shadow: 0 8px 24px rgba(22, 43, 82, 0.12);
}

.inspirate-card-image {
  transition: transform 0.5s ease;
}

.inspirate-card-thumb:hover .inspirate-card-image {
  transform: scale(1.04);
}

/* =============================================
   PREMIUM: Scroll reveal animation
   ============================================= */

.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   PREMIUM: Buscador overlay
   ============================================= */

.site-header-glass {
  background: var(--header-glass-bg) !important;
  backdrop-filter: blur(var(--header-glass-blur));
  -webkit-backdrop-filter: blur(var(--header-glass-blur));
  border-bottom: var(--header-glass-border) !important;
  box-shadow: var(--header-glass-shadow);
}

/* =============================================
   Tira de la cabecera (bloque "cabecera" de interno)
   Va la primera dentro del header, por encima del logo.
   Fondo solido: el header es translucido y en la portada
   se superpone al hero, donde el texto no se leeria.
   ============================================= */

.tira-cabecera {
  background: var(--color-tifon);
  color: #fff;
  font-size: 0.8125rem;
  line-height: 1.35;
  padding: 0.5rem 0.75rem;
  text-align: center;
}

.tira-cabecera a {
  color: #fff;
  text-decoration: underline;
  font-weight: 600;
}

.tira-cabecera a:hover,
.tira-cabecera a:focus {
  color: #fff;
  opacity: 0.85;
}

/* el editor de bloques mete parrafos: aqui no deben separar */
.tira-cabecera p {
  margin: 0;
}

@media (max-width: 767.98px) {
  .tira-cabecera {
    font-size: 0.75rem;
    padding: 0.4rem 0.6rem;
  }
}

#searchRow {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

#searchRow .form-control {
  border: 1px solid var(--color-border-soft);
  border-radius: 0;
  font-size: 1.05rem;
  padding: 0.75rem 1rem;
}

#searchRow .form-control:focus {
  border-color: var(--color-tifon);
  box-shadow: 0 0 0 0.2rem rgba(22, 43, 82, 0.1);
}

/* =============================================
   PREMIUM: Breadcrumbs refinados
   ============================================= */

.breadcrumb {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.breadcrumb a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--color-tifon);
}

/* =============================================
   PREMIUM: Botones principales refinados
   ============================================= */

.btn {
  border-radius: 0;
  letter-spacing: 0.02em;
  font-weight: var(--font-weight-medium);
}

.btn-primary,
.btn-dark,
#franboton,
#comprarahora {
  transition: background-color 0.3s ease, transform 0.15s ease, box-shadow 0.3s ease;
}

.btn-primary:hover,
.btn-dark:hover,
#franboton:hover,
#comprarahora:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(22, 43, 82, 0.25);
}

#cupon{
  width: 15em;
  margin-right: 1.5em;
}

.addpro {
  color: #fff;
  background-color: var(--color-tifon-red);
  border: 2px solid var(--color-tifon-red);
  box-shadow: none;
  border-radius: 0px;
}

.addpro:hover {
  color: #fff !important;
  border: 2px solid var(--color-tifon-red-hover);
  background-color: var(--color-tifon-red-hover) !important;
}

#aplicarCupon {
  color: #fff !important;
  background-color: var(--color-tifon) !important;
  border: 2px solid var(--color-tifon) !important;
  border-radius: 0 !important;
  box-shadow: none;
  height: calc(1.5em + 0.75rem + 2px);
  min-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: .9rem;
  transition: background-color 0.3s ease, transform 0.15s ease, box-shadow 0.3s ease;
}

#aplicarCupon:hover,
#aplicarCupon:focus {
  color: #fff !important;
  background-color: var(--color-tifon-hover) !important;
  border-color: var(--color-tifon-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(22, 43, 82, 0.3);
}

.comprarahora {
  color: #000;
  background-color: #fff;
  border: 2px solid #000;
  box-shadow: none;
  border-radius: 0px;
}

.comprarahora:hover {
  border: 2px solid rgba(186, 161, 167, 0.54);
  background-color: rgba(186, 161, 167, 0.54) !important;
}






.BotAddProducto {
  color: #fff;
  background-color: var(--color-tifon-red);
  border: 2px solid var(--color-tifon-red);
  box-shadow: none;
  border-radius: 0px;
  max-width: 15em;
}

.BotAddProducto:hover {
  color: #fff !important;
  border: 2px solid var(--color-tifon-red-hover) !important;
  background-color: var(--color-tifon-red-hover) !important;
}


.pagination .page-link {
  border: none;
  border-radius: 0;
  color: #000;
  background: transparent;
  padding: 0.35rem 0.75rem;
}

.pagination .page-item.active .page-link {
  border: none;
  border-radius: 0;
  border-bottom: 3px solid rgba(186, 161, 167, 0.54);
  color: #000;
  background: transparent;
}

.pagination .page-link:focus,
.pagination .page-link:hover {
  color: #000;
  border-radius: 0;
  text-decoration: none;
  background: transparent;
  border: none;
}


.sinborder {
  padding-right: 0px;
  padding-left: 0px;
  }
	

.listpie {
  transition: color 0.25s ease-in-out;
  color: #777373;
  font-size: 0.875rem;
  font-weight: normal;
}

.widget-listpie {
  display: block;
  transition: color 0.25s ease-in-out;
  color: #565353;
  font-size: 0.875rem;
  font-weight: normal;
}

.mini-footer-links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 0.9rem 0 0.35rem;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  white-space: nowrap;
  list-style: none;
}

.mini-footer-links::-webkit-scrollbar {
  display: none;
}

.mini-footer-links .listpie {
  position: relative;
  flex: 0 0 auto;
  margin: 0;
  padding: 0 1.15rem;
  font-size: 0.83rem;
  letter-spacing: 0.03em;
}

.mini-footer-links .blanco {
  display: inline-block;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.mini-footer-links .blanco:hover,
.mini-footer-links .blanco:focus {
  color: #fff;
  text-decoration: none;
}

.mini-footer-bar {
  background: var(--color-tifon) !important;
  background-image: none !important;
}


.fs-1 {
  font-size: calc(1.375rem + 1.5vw) !important;
}

.fs-2 {
  font-size: calc(1.325rem + 0.9vw) !important;
}

.fs-3 {
  font-size: calc(1.3rem + 0.6vw) !important;
}

.fs-4 {
  font-size: calc(1.275rem + 0.3vw) !important;
}

.fs-5 {
  font-size: 1.25rem !important;
}

.fs-6 {
  font-size: 1.0625rem !important;
}



.supind {
  font-size: 1.1em;
}


.titblog {
    font-size: 1.8rem;
}

.titblog1 {
    font-size: 1.2rem;
}

.blog-portada-layout,
.blog-portada-main,
.blog-portada-grid {
  overflow-x: hidden;
}

.blog-portada-layout {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.blog-portada-grid {
  row-gap: 0.85rem;
}

.blog-portada-main {
  padding-right: 0.75rem;
}

.blog-portada-sidebar {
  padding-left: 0.75rem;
}

.blog-portada-hero {
  padding: 1rem 1.1rem;
  background:
    radial-gradient(circle at 10% 10%, rgba(22, 43, 82, 0.12), rgba(22, 43, 82, 0) 55%),
    linear-gradient(180deg, rgba(22, 43, 82, 0.08), rgba(22, 43, 82, 0.03));
  border: 1px solid rgba(22, 43, 82, 0.12);
}

.blog-portada-kicker {
  color: var(--color-text-muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-portada-heading {
  color: var(--color-tifon);
  font-size: 1.9rem;
  line-height: 1.2;
  margin: 0;
}

.blog-portada-lead {
  color: var(--color-text-muted);
  font-size: 0.97rem;
  line-height: 1.5;
}

.blog-portada-card {
  overflow: hidden;
  display: flex;
}

.blog-portada-card-link {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #fff;
  border: 1px solid rgba(22, 43, 82, 0.1);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(22, 43, 82, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-portada-card-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(22, 43, 82, 0.14);
}

.blog-portada-media {
  display: block;
  width: 100%;
  overflow: hidden;
}

.blog-portada-img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  background: #f3f3f3;
}

.blog-portada-img-empty {
  background: linear-gradient(135deg, #edf1f8, #e4ebf6);
}

.blog-portada-body {
  display: block;
  padding: 0.8rem 0.9rem 1rem;
}

.blog-portada-meta {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--color-text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.blog-portada-title {
  margin: 0;
  color: var(--color-text);
  font-size: 1.05rem;
  line-height: 1.4;
  font-weight: 700;
}

.blog-portada-empty {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(22, 43, 82, 0.18);
  background: rgba(22, 43, 82, 0.04);
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.blog-sidebar-panel {
  border: 1px solid rgba(22, 43, 82, 0.1);
  background: #fff;
  box-shadow: 0 8px 24px rgba(22, 43, 82, 0.06);
}

.blog-categorias-box {
  padding: 0.6rem 0.75rem 0.85rem;
  background: #fff !important;
}

.blog-categorias-title {
  margin-bottom: 0.35rem;
  padding: 0.25rem 0.1rem 0.65rem !important;
  background: #fff !important;
  border-bottom: 0;
  color: var(--color-tifon) !important;
  font-size: 1rem;
  font-weight: 700;
}

.blog-categorias-list {
  margin: 0;
  padding: 0.35rem 0 0 !important;
  list-style: none;
}

.blog-categorias-item {
  margin: 0;
}

.blog-categorias-item + .blog-categorias-item {
  margin-top: 0.45rem;
}

.blog-categorias-item .widget-list-link {
  padding: 0.65rem 0.75rem;
  background: rgba(22, 43, 82, 0.03);
  border: 1px solid rgba(22, 43, 82, 0.1);
  color: var(--color-text);
  text-decoration: none;
}

.blog-categorias-item .widget-list-link:hover {
  background: rgba(22, 43, 82, 0.08);
  color: var(--color-tifon);
}

.blog-categorias-link.is-active {
  background: rgba(22, 43, 82, 0.12) !important;
  border-color: rgba(22, 43, 82, 0.32) !important;
  color: var(--color-tifon) !important;
}

.blog-categorias-clear {
  font-weight: 700;
}

.blog-recientes-box {
  padding: 0.35rem 0.65rem 0.7rem;
}

.blog-recientes-title {
  margin-bottom: 0.2rem;
  color: var(--color-tifon) !important;
  font-size: 1rem;
  font-weight: 700;
}

.blog-recientes-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-recientes-item {
  margin: 0;
}

.blog-recientes-item + .blog-recientes-item {
  margin-top: 0.55rem;
}

.blog-recientes-link {
  display: flex;
  gap: 0.58rem;
  text-decoration: none;
  padding: 0.35rem 0.2rem;
}

.blog-recientes-thumb-wrap {
  flex: 0 0 64px;
  width: 64px;
  height: 52px;
  background: #eceef1;
  overflow: hidden;
}

.blog-recientes-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-recientes-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.blog-recientes-item-title {
  color: var(--color-text);
  font-size: 0.9rem;
  line-height: 1.35;
}

.blog-recientes-meta {
  color: var(--color-text-muted);
  font-size: 0.71rem;
  margin-top: 0.15rem;
  text-transform: uppercase;
}

.blog-recientes-empty {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  padding: 0.2rem;
}

.blog-recientes-thumb-empty {
  background: linear-gradient(135deg, #edf1f8, #e4ebf6);
}

@media (max-width: 767.98px) {
  header .col-9.d-block.d-md-none .row.mx-5 {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .blog-portada-main,
  .blog-portada-sidebar {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .blog-portada-sidebar {
    margin-top: 0.75rem;
  }

  .blog-portada-main {
    padding-right: 0.75rem;
  }

  .blog-portada-heading {
    font-size: 1.45rem;
  }

  .blog-portada-grid {
    margin-left: -0.25rem !important;
    margin-right: -0.25rem !important;
    row-gap: 0.35rem;
  }

  .blog-portada-card {
    margin-top: 0.75rem !important;
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
  }

  .blog-portada-card-link {
    box-shadow: 0 6px 16px rgba(22, 43, 82, 0.09);
  }

  .blog-portada-img {
    height: 215px;
  }

  .blog-categorias-box {
    padding: 0.8rem 0.85rem 0.95rem;
  }

  .blog-categorias-list {
    display: grid;
    gap: 0.45rem;
  }

  .blog-categorias-item + .blog-categorias-item {
    margin-top: 0;
  }

  .blog-categorias-item .widget-list-link {
    padding: 0.8rem 0.85rem;
  }

  .blog-recientes-box {
    padding: 0.55rem 0.8rem 0.95rem;
  }

  .blog-recientes-thumb-wrap {
    flex-basis: 58px;
    width: 58px;
    height: 48px;
  }
}

.blog-detail-shell {
  max-width: 1080px;
}

.blog-detail-header {
  border-bottom: 1px solid rgba(22, 43, 82, 0.2);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.blog-detail-title {
  color: var(--color-tifon);
  font-size: 2rem;
  line-height: 1.25;
  margin-bottom: 0.85rem;
}

.blog-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.blog-detail-meta-item {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border: 1px solid rgba(22, 43, 82, 0.32);
  border-radius: 999px;
  color: var(--color-text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.blog-detail-meta-category {
  background: rgba(22, 43, 82, 0.08);
}

.blog-detail-figure {
  margin: 0 0 1.3rem 0;
}

.blog-detail-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.blog-detail-content {
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.85;
}

.blog-detail-content h2,
.blog-detail-content h3,
.blog-detail-content h4 {
  color: var(--color-tifon);
  margin-top: 1.8rem;
  margin-bottom: 0.9rem;
}

.blog-detail-content a {
  color: var(--color-tifon);
}

.blog-detail-content img,
.blog-detail-content video,
.blog-detail-content iframe {
  max-width: 100%;
  height: auto;
}

.blog-detail-content ul,
.blog-detail-content ol {
  padding-left: 1.2rem;
}

.blog-detail-sticky {
  position: static;
}

.blog-detail-panel {
  border-left: 1px solid rgba(22, 43, 82, 0.32);
  padding-left: 1.1rem;
  margin-bottom: 1.4rem;
}

.blog-detail-panel-title {
  margin: 0 0 0.8rem 0;
  color: var(--color-tifon);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.blog-detail-empty {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.93rem;
}

.blog-detail-recent-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-detail-recent-item {
  margin-bottom: 0.8rem;
}

.blog-detail-recent-item:last-child {
  margin-bottom: 0;
}

.blog-detail-recent-link {
  display: flex;
  gap: 0.65rem;
  text-decoration: none;
}

.blog-detail-recent-thumb-wrap {
  flex: 0 0 72px;
  width: 72px;
  height: 56px;
  background: #eceef1;
  overflow: hidden;
}

.blog-detail-recent-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-detail-recent-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.blog-detail-recent-title {
  color: var(--color-text);
  font-size: 0.92rem;
  line-height: 1.35;
}

.blog-detail-recent-meta {
  color: var(--color-text-muted);
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-top: 0.2rem;
}

.blog-detail-catalog-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.blog-detail-catalog-link {
  display: block;
  text-decoration: none;
}

.blog-detail-catalog-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: cover;
  border-radius: 0.3rem;
  box-shadow: 0 8px 18px rgba(22, 43, 82, 0.18);
}

.blog-detail-related {
  margin-top: 2.3rem;
  padding: 1.1rem 1rem 1.35rem;
  background: linear-gradient(180deg, rgba(22, 43, 82, 0.1) 0%, rgba(22, 43, 82, 0.03) 100%);
  border-left: 4px solid var(--color-tifon);
}

.blog-detail-related-title {
  color: var(--color-tifon);
  font-size: 1.25rem;
  margin-bottom: 0;
}

.blog-detail-related-head {
  margin-bottom: 0.65rem;
}

.blog-detail-related-kicker {
  color: var(--color-text-muted);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.blog-detail-related-lead {
  color: var(--color-text-muted);
  font-size: 0.93rem;
  line-height: 1.5;
}

.blog-detail-related-grid {
  margin-top: 0.1rem;
}

.blog-detail-related-card {
  display: flex;
  flex-direction: column;
  box-shadow: 0 9px 24px rgba(22, 43, 82, 0.16);
  text-decoration: none;
  height: 100%;
  background: #fff;
  border-radius: 0.55rem;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-detail-related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(22, 43, 82, 0.22);
}

.blog-detail-related-image {
  display: block;
  width: 100%;
  height: 168px;
  object-fit: cover;
  background: #eceef1;
}

.blog-detail-related-body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.72rem 0.72rem 0.78rem;
  min-height: 132px;
}

.blog-detail-related-title-card {
  display: block;
  color: var(--color-text);
  font-size: 0.94rem;
  line-height: 1.45;
  font-weight: 700;
}

.blog-detail-related-meta {
  display: block;
  color: var(--color-text-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.blog-detail-related-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-tifon);
}

.blog-detail-related-cta::after {
  content: ">";
  margin-left: 0.35rem;
  transition: transform 0.2s ease;
}

.blog-detail-related-card:hover .blog-detail-related-cta::after {
  transform: translateX(3px);
}

@media (max-width: 980px) {
  .blog-detail-title {
    font-size: 1.6rem;
  }

  .blog-detail-sticky {
    position: static;
    margin-top: 1.5rem;
  }

  .blog-detail-panel {
    border-left: 0;
    border-top: 1px solid rgba(22, 43, 82, 0.2);
    padding-left: 0;
    padding-top: 0.9rem;
  }
}

@media (max-width: 767px) {
  .blog-detail-title {
    font-size: 1.34rem;
  }

  .blog-detail-meta {
    gap: 0.45rem;
  }

  .blog-detail-recent-thumb-wrap {
    flex-basis: 64px;
    width: 64px;
    height: 52px;
  }

  .blog-detail-related {
    padding: 0.95rem 0.82rem 1.15rem;
  }

  .blog-detail-related-title {
    font-size: 1.08rem;
  }

  .blog-detail-related-image {
    height: 154px;
  }
}

.checkout-page {
  color: var(--color-text);
  font-family: var(--font-family-base);
}

.checkout-shell {
  padding: 1.5rem 1rem 3rem;
  background:
    radial-gradient(circle at top left, rgba(22, 43, 82, 0.06), transparent 32%),
    linear-gradient(180deg, #fbf8f6 0%, #f3eeea 100%);
}

.checkout-layout {
  row-gap: 1.5rem;
}

.checkout-column {
  display: flex;
}

.checkout-panel {
  width: 100%;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(22, 43, 82, 0.12);
  border-radius: 0;
  box-shadow: 0 10px 24px rgba(22, 43, 82, 0.06);
  padding: 1.25rem;
  transition: box-shadow 0.3s ease;
}

.checkout-panel + .checkout-panel {
  margin-top: 1rem;
}

.checkout-column-summary .checkout-panel {
  position: sticky;
  top: 7.5rem;
}

.checkout-section-heading {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.checkout-section-heading-compact {
  margin-bottom: 1rem;
}

.checkout-step {
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--color-tifon);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-family: var(--font-family-base);
}

.checkout-title {
  margin: 0 0 0.2rem;
  color: var(--color-tifon);
  font-size: 1.2rem;
  font-weight: 700;
}

.checkout-subtitle {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.45;
  font-size: 0.92rem;
}

.checkout-group-title {
  margin-bottom: 0.85rem;
  color: var(--color-tifon);
  font-size: 1.02rem;
  font-weight: 700;
}

.checkout-address-selector select,
.checkout-page .form-control {
  min-height: 2.55rem;
  height: 2.55rem;
  padding: 0.45rem 0.75rem;
  border-radius: 0;
  border: 1px solid rgba(22, 43, 82, 0.16);
  background: rgba(22, 43, 82, 0.03);
  font-size: 0.92rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.checkout-page .form-control:hover,
.checkout-address-selector select:hover {
  background: rgba(22, 43, 82, 0.05) !important;
}

.checkout-page .form-control:focus,
.checkout-address-selector select:focus {
  border-color: var(--color-tifon) !important;
  box-shadow: 0 0 0 0.2rem rgba(22, 43, 82, 0.12) !important;
  background: #fff !important;
}

.checkout-page .form-group {
  margin-bottom: 0.8rem;
}

.checkout-page label {
  color: var(--color-tifon);
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.checkout-payment-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 0.75rem;
}

.checkout-payment-table tr {
  background: #fff;
  box-shadow: 0 8px 18px rgba(22, 43, 82, 0.05);
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
}

.checkout-payment-table tr:hover {
  box-shadow: 0 8px 24px rgba(22, 43, 82, 0.12);
}

.checkout-payment-table tr:has(input:checked) {
  background: rgba(22, 43, 82, 0.04);
  box-shadow: 0 0 0 1px var(--color-tifon), 0 8px 18px rgba(22, 43, 82, 0.08);
}

.checkout-payment-table td {
  padding: 0.8rem 0.8rem;
  vertical-align: middle;
  border-top: 1px solid rgba(22, 43, 82, 0.12);
  border-bottom: 1px solid rgba(22, 43, 82, 0.12);
}

.checkout-payment-table td:first-child {
  width: 4rem;
  border-left: 1px solid rgba(22, 43, 82, 0.12);
  border-radius: 0;
  text-align: center;
}

.checkout-payment-table td:last-child {
  border-right: 1px solid rgba(22, 43, 82, 0.12);
  border-radius: 0;
  font-weight: 600;
  color: var(--color-text);
}

.checkout-payment-table td:nth-child(2) {
  width: 4.5rem;
  color: var(--color-tifon);
}

.checkout-payment-table svg {
  display: block;
}

.checkout-payment-table img {
  display: block;
  max-width: 100%;
}

.checkout-panel-newsletter {
  margin-top: 1rem;
  background: linear-gradient(180deg, #f7f3f1 0%, #ece4df 100%) !important;
}

.checkout-panel-newsletter p,
.checkout-panel-legal label {
  color: var(--color-text);
}

.checkout-check {
  padding-top: 0.25rem;
  position: relative;
  padding-left: 1.75rem;
}

.checkout-check .custom-control-input {
  position: absolute;
  left: 0;
  top: 0.3rem;
}

.checkout-check .custom-control-label {
  line-height: 1.5;
  display: inline !important;
  padding-left: 0;
}

.checkout-panel-legal .checkout-check {
  display: flex;
  align-items: flex-start;
  min-width: 0;
}

.checkout-panel-legal .custom-control-input {
  flex: 0 0 auto;
}

.checkout-panel-legal .checkout-legal-label {
  display: inline !important;
  margin-bottom: 0;
}

.checkout-panel-legal a {
  color: var(--color-tifon);
  text-decoration: underline;
}

.checkout-submit-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.checkout-submit-note {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.checkout-submit {
  width: 100%;
  min-height: 3.25rem;
  border-radius: 0;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.15s ease, box-shadow 0.3s ease;
}

.checkout-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(22, 43, 82, 0.3);
}

.checkout-column-summary #micarrodes .custom-radio,
.checkout-column-summary #micarrodes .custom-control {
  min-height: 1rem;
  padding-left: 1.25rem;
  margin-bottom: 0;
}

.checkout-column-summary #micarrodes {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}

.checkout-column-summary #micarrodes > *:first-child {
  margin-top: 0;
}

.checkout-column-summary #micarrodes a {
  color: var(--color-text);
  text-decoration: none;
}

.checkout-column-summary #micarrodes a:hover {
  color: var(--color-tifon);
}

.checkout-column-summary #micarrodes strong,
.checkout-column-summary #micarrodes b {
  font-weight: 700;
  color: var(--color-tifon);
}

.checkout-column-summary #micarrodes p,
.checkout-column-summary #micarrodes .mb-0,
.checkout-column-summary #micarrodes .mb-1,
.checkout-column-summary #micarrodes .mb-2 {
  margin-bottom: 0.35rem !important;
}

.checkout-column-summary #micarrodes hr {
  margin: 0;
  border-top: 1px solid rgba(22, 43, 82, 0.08);
}

.checkout-column-summary #micarrodes table:last-of-type td,
.checkout-column-summary #micarrodes table:last-of-type th,
.checkout-column-summary #micarrodes table:last-of-type tr {
  background: transparent !important;
  box-shadow: none !important;
}

.checkout-column-summary #micarrodes #cupon {
  width: 100%;
  max-width: 14rem;
  margin-right: 0.65rem;
  background: #fff !important;
}

.checkout-column-summary #micarrodes #aplicarCupon {
  min-width: 8.5rem;
}

.checkout-column-summary #micarrodes p,
.checkout-column-summary #micarrodes .text-right,
.checkout-column-summary #micarrodes .font-weight-bold {
  background: transparent !important;
  box-shadow: none !important;
}

@media (max-width: 991.98px) {
  .checkout-column-summary .checkout-panel {
    position: static;
  }

  .checkout-shell {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

@media (max-width: 767.98px) {
  .checkout-panel {
    padding: 1rem;
    border-radius: 0;
  }

  .checkout-payment-table,
  .checkout-payment-table tbody,
  .checkout-payment-table tr,
  .checkout-payment-table td {
    display: block;
    width: 100% !important;
  }

  .checkout-payment-table {
    border-spacing: 0;
  }

  .checkout-payment-table tr {
    margin-bottom: 0.85rem;
    border: 1px solid rgba(22, 43, 82, 0.12);
    border-radius: 0;
    overflow: hidden;
  }

  .checkout-payment-table td {
    border: 0;
    border-radius: 0 !important;
    padding: 0.75rem 1rem;
  }

  .checkout-payment-table td:first-child {
    padding-bottom: 0;
  }

  .checkout-payment-table td:nth-child(2) {
    padding-top: 0.35rem;
    padding-bottom: 0.25rem;
  }

  .checkout-column-summary #micarrodes {
    overflow-x: auto;
  }
}

.checkout-column-summary #micarrodes table,
.checkout-column-summary #micarrodes tbody,
.checkout-column-summary #micarrodes tr,
.checkout-column-summary #micarrodes td {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
}

.checkout-column-summary #micarrodes thead,
.checkout-column-summary #micarrodes th {
  display: none !important;
}

.checkout-column-summary #micarrodes tr {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  grid-template-areas:
    "product product"
    "img meta";
  column-gap: 1rem;
  row-gap: 0.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(22, 43, 82, 0.09);
  overflow: hidden;
}

.checkout-column-summary #micarrodes tr:last-child {
  border-bottom: 0;
}

.checkout-column-summary #micarrodes td {
  padding: 0;
  margin: 0;
  border: 0;
  white-space: normal !important;
  overflow-wrap: break-word;
  word-break: normal;
}

.checkout-column-summary #micarrodes td:first-child {
  grid-area: img;
  margin-bottom: 0;
}

.checkout-column-summary #micarrodes td:first-child img {
  display: block;
  width: 86px;
  max-width: 100%;
  height: 86px;
  object-fit: cover;
  background: #f4f1eb;
  border: 1px solid rgba(22, 43, 82, 0.08);
  padding: 0.28rem;
}

.checkout-column-summary #micarrodes td:nth-child(2) {
  grid-area: product;
  margin-bottom: 0;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.45;
}

.checkout-column-summary #micarrodes td:nth-child(3),
.checkout-column-summary #micarrodes td:nth-child(4),
.checkout-column-summary #micarrodes td:nth-child(5) {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.12rem 0;
  font-size: 0.92rem;
}

.checkout-column-summary #micarrodes td:nth-child(3) {
  grid-area: meta;
}

.checkout-column-summary #micarrodes td:nth-child(4),
.checkout-column-summary #micarrodes td:nth-child(5) {
  grid-column: 2;
}

.checkout-column-summary #micarrodes td:nth-child(3)::before {
  content: "Precio";
}

.checkout-column-summary #micarrodes td:nth-child(4)::before {
  content: "Cant.";
}

.checkout-column-summary #micarrodes td:nth-child(5)::before {
  content: "Total";
}

.checkout-column-summary #micarrodes td:nth-child(3)::before,
.checkout-column-summary #micarrodes td:nth-child(4)::before,
.checkout-column-summary #micarrodes td:nth-child(5)::before {
  color: var(--color-text-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex: 0 0 auto;
}

.labelheleido {
	display: unset;
}

/* Resumen del pedido: reset visual estable usando la tabla real */
.checkout-panel-summary #micarrodes {
  overflow: hidden;
}

.checkout-panel-summary #micarrodes table {
  display: table !important;
  width: 100% !important;
  max-width: 100% !important;
  table-layout: auto;
  border-collapse: separate;
  border-spacing: 0;
  background: transparent;
}

.checkout-panel-summary #micarrodes tbody {
  display: table-row-group !important;
}

.checkout-panel-summary #micarrodes tr {
  display: table-row !important;
  padding: 0;
  border: 0;
}

.checkout-panel-summary #micarrodes td,
.checkout-panel-summary #micarrodes th {
  display: table-cell !important;
  width: auto !important;
  max-width: none !important;
  padding: 0.9rem 0.55rem;
  border: 0;
  vertical-align: middle;
  background: transparent;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word;
}

.checkout-panel-summary #micarrodes tr:first-child td {
  padding-top: 0.2rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(22, 43, 82, 0.12);
  color: var(--color-tifon);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.checkout-panel-summary #micarrodes tr:nth-child(2) td {
  padding-top: 0.95rem;
  padding-bottom: 0.4rem;
  color: var(--color-tifon);
  font-size: 0.82rem;
}

.checkout-panel-summary #micarrodes td:nth-child(1) {
  width: 56px !important;
}

.checkout-panel-summary #micarrodes td:nth-child(2) {
  width: auto !important;
  padding-right: 1rem;
}

.checkout-panel-summary #micarrodes td:nth-child(3) {
  width: 64px !important;
  text-align: right;
}

.checkout-panel-summary #micarrodes td:nth-child(4) {
  width: 60px !important;
  text-align: right;
}

.checkout-panel-summary #micarrodes td:nth-child(5) {
  width: 68px !important;
  text-align: right;
}

.checkout-panel-summary #micarrodes td:nth-child(6) {
  width: 18px !important;
  text-align: right;
}

.checkout-panel-summary #micarrodes td.border-bottom {
  border-bottom: 1px solid rgba(22, 43, 82, 0.09) !important;
}

.checkout-panel-summary #micarrodes a.widget-list-link {
  display: block;
}

.checkout-panel-summary #micarrodes a.widget-list-link p {
  margin: 0;
  font-size: 0.92rem !important;
  line-height: 1.45;
  font-weight: 600;
  color: var(--color-text);
}

.checkout-panel-summary #micarrodes img {
  display: block;
  width: 46px !important;
  height: 46px;
  max-width: 46px;
  object-fit: cover;
  background: #f4f1eb;
  border: 1px solid rgba(22, 43, 82, 0.08);
  padding: 0.2rem;
}

.checkout-panel-summary #micarrodes td:nth-child(3)::before,
.checkout-panel-summary #micarrodes td:nth-child(4)::before,
.checkout-panel-summary #micarrodes td:nth-child(5)::before {
  content: none !important;
  display: none !important;
}

.checkout-panel-summary #micarrodes tr:first-child td:nth-child(3),
.checkout-panel-summary #micarrodes tr:first-child td:nth-child(4),
.checkout-panel-summary #micarrodes tr:first-child td:nth-child(5),
.checkout-panel-summary #micarrodes tr:not(:first-child) td:nth-child(3),
.checkout-panel-summary #micarrodes tr:not(:first-child) td:nth-child(4),
.checkout-panel-summary #micarrodes tr:not(:first-child) td:nth-child(5) {
  white-space: nowrap !important;
}

.checkout-panel-summary #micarrodes tr:not(:first-child) td:nth-child(2) p {
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word;
}

.checkout-panel-summary #micarrodes .cantidad {
  width: 42px !important;
  min-width: 42px !important;
  margin-left: auto !important;
  font-size: 0.82rem !important;
}

.checkout-panel-summary #micarrodes #tienda {
  width: 100%;
  max-width: 100%;
}

.checkout-panel-summary #micarrodes .btn-link {
  padding-right: 0;
}

.checkout-panel-summary #micarrodes .list-unstyled {
  margin: 0;
  padding: 1.2rem 0 1rem !important;
  border-bottom: 1px solid rgba(22, 43, 82, 0.09) !important;
}

.checkout-panel-summary #micarrodes .list-unstyled li + li {
  margin-top: 0.45rem;
}

.checkout-panel-summary #micarrodes h5.pt-1 {
  margin: 0;
  padding-top: 1rem !important;
  font-size: 0.98rem;
}

.checkout-panel-summary #micarrodes .d-flex.pb-4 {
  gap: 0.75rem;
  padding-bottom: 0.6rem !important;
}

@media (max-width: 1199.98px) {
  .checkout-panel-summary #micarrodes td,
  .checkout-panel-summary #micarrodes th {
    padding-left: 0.45rem;
    padding-right: 0.45rem;
  }

  .checkout-panel-summary #micarrodes td:nth-child(1) {
    width: 68px !important;
  }

  .checkout-panel-summary #micarrodes td:nth-child(3) {
    width: 78px !important;
  }

  .checkout-panel-summary #micarrodes td:nth-child(4) {
    width: 88px !important;
  }

  .checkout-panel-summary #micarrodes td:nth-child(5) {
    width: 88px !important;
  }

  .checkout-panel-summary #micarrodes img {
    width: 54px !important;
    height: 54px;
    max-width: 54px;
  }

  .checkout-panel-summary #micarrodes a.widget-list-link p {
    font-size: 0.87rem !important;
  }
}

.modal-content {
    width: unset;
    }

.bg-domotex {
  background-color: #CAF0F8 !important;
}


.bg-domotex2 {  
  background-color: #ADE8F4;
  
}


.cardinfo-label {
    min-height: .01px;
    display: block;
    width: 100%;
    height: calc(1.5em + 1.25rem + 2px);
    padding: .625rem 1rem;
    font-size: .9375rem;
    font-weight: 400;
    line-height: 1.5;
    color: #4b566b;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #dae1e7;
    border-radius: .3125rem;
    box-shadow: 0 0 0 0 transparent;
    transition: border-color 0.2s ease-in-out,box-shadow 0.2s ease-in-out;	
	}


.sizepvp {
    font-size: 1.8rem !important;
}


.cabmymobel {
	background-color: #b5a288;
	}


.piemymobel {
	background-color: #000000;
	}

.piemymobel a {
  color:  rgba(159, 187, 40);
}

.h5 {
  color:  #000;
}

.opcionesdetalle h3 {
  color:  #000;
}

.piemymobel h3  {
  color:  #ffffff;
}

.piemymobel a:hover {
  color:  rgba(159, 187, 40);
}


.blanco2 {
    color: #fff;
    }

.negro {
    color: #000;
    }
 
 .negro:hover {
    color: #000;
    }
        
    
.blanco {
    color: #fff;
    }
 
 .blanco:hover {
    color: #fff;
    }
    
.social-btncab {
  display: inline-block;
  width: 2rem;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 0.3125rem;
  background-color: #b5a288;
  color: #000;
  font-size: 1rem;
  text-align: center;
  text-decoration: none !important;
}

.social-btncab:hover {
  background-color: rgba(159, 187, 40);
  color: #000;
}

	
.a {
  color:  var(--color-tifon) ; 
  text-decoration: none;
}
		
a {
  color: var(--color-tifon) ; 
  text-decoration: none;
}

.img-dep {
	position:absolute;
    bottom:5px;
    max-height: 100%;
}

.img-dep2 {
    max-height: 210px;
}

.imgdetpro {
    max-height: 500px;
}

.imgdep {
	height: 200px;
	position:relative
	}

.textdias {
    color: #3dc58b;
    }	

.depimp {
	font-size: 1.1rem;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
	}
 
 .depimpdel {
	font-size: 1rem;
	font-weight: bold;
	background: 
         linear-gradient(to top left,
             rgba(0,0,0,0) 0%,
             rgba(0,0,0,0) calc(50% - 1.5px),
             rgba(0,0,0,1) 50%,
             rgba(0,0,0,0) calc(50% + 1.5px),
             rgba(0,0,0,0) 100%)
}


.priceProduct {
	font-size: 1.5rem;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
	}

.badge-danger {
    color: #fff;
    background-color: var(--color-tifon-red) !important;
}

.badge-danger2 {
    color: #da291c;
    border-color: #5a5144;
    border-style: solid;
    background-color: #fff !important;
}

.piedep {
	font-size: 1rem;
	}
	

.col-lg-7 {
    max-width: 80%;
}

	
.product-title {
	height: 2em;
  font-size: 16px !important;
  color: var(--color-tifon) !important;
  font-weight: 600 !important;
	}

.jatcard-product {
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  min-height: 1px;
  padding: 0.25rem;
}
	
ul.breadcrumb {
	background-color: #FF0000;
	}


.breadcrumb {
	padding-top: 0px;
	}

.product-details {
    width: 100%;
    max-width: 100%;
    padding-top: 0.25rem;
}

.h1detpro {
    font-size: 1.3rem;
}


.bg-danger {
    background-color: #FF0000 !important;
    color: white;
}

.badge-danger.badge-shadow {
	box-shadow: 0 8px 20px rgba(191, 8, 17, 0.22);
    background-color: var(--color-tifon-red);
}

	
@media (max-width: 992px) {
	.breadcrumb {
	 padding-top: 20px;
	}

	.img-dep {
  	width: 95% !important;
  	height: auto !important;
	}

}

.carousel-indicators [data-bs-target] {
  border: 2px solid #b5a288 !important;
}


.customselect22 {
  display: inline-block;
  width: 100%;
  height: 2.5em;
  padding: 0.325rem 2rem 0.625rem 1rem;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-tifon);
  vertical-align: middle;
  background: rgba(22, 43, 82, 0.06) url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23162b52' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right 1rem center/8px 10px;
  border: 1px solid rgba(22, 43, 82, 0.28);
  border-radius: 0.3125rem;
  box-shadow: 0 0 0 0 transparent;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.customselect22:hover {
  border-color: var(--color-tifon);
}

.customselect22:focus {
  border-color: var(--color-tifon);
  box-shadow: 0 0 0 0.2rem rgba(22, 43, 82, 0.15);
  outline: 0;
}

.rowimg {
  margin-right: 2px !important;
  margin-left: 2px !important;
}

.product-available0 {
    background-color: blue;
    color: #ffffff;
}

.product-available1 {
    background-color: #f1ea10;
    color: #ffffff;
}

.product-available2 {
    background-color: red;
    color: #fff;
}


.form-control {
    height: 2.5em;
	}

.form-micarro {
    height: 2.3em;
    padding: 0.1rem 0.1rem;
    font-size: 0.8rem;
    line-height: 1.5;
    border-radius: 0.1rem;
}

	
.alert {
    padding: 0.5rem 1.0rem !important;
    }
    
 #divcookies {
  position: fixed;
  width: 85%;
  background-color: #f9f9f9;
  z-index: 100;
  top: 10%;
  margin-left: 5%;
  border-width: 2px;
  border-style: solid;
}


.cookies-dialog {
    max-width: 1000px;
   
}

.fs-sm  {
    font-size: 0.8rem;
}
 
 fs-md {
    font-size: 1.2rem;
}

  .modal-dialog {
    max-width: 800px !important;
    margin: 1.75rem auto;
  }

  .image-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
  }

  .image-wrapper img {
    display: block;
    width: 100%;
    transition: opacity 0.3s ease-in-out;
  }

  .image-wrapper .img-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
  }

  .image-wrapper:hover .img-hover {
    opacity: 1;
  }

  .image-wrapper:hover .img-default {
    opacity: 0;
  }
 


.carousel {
  position: relative;
}

.carousel.pointer-event {
  -ms-touch-action: pan-y;
  touch-action: pan-y;
}

.carousel-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-inner::after {
  display: block;
  clear: both;
  content: "";
}

.carousel-item {
  position: relative;
  display: none;
  float: left;
  width: 100%;
  margin-right: -100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: -webkit-transform 0.6s ease-in-out;
  transition: transform 0.6s ease-in-out;
  transition: transform 0.6s ease-in-out, -webkit-transform 0.6s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
  .carousel-item {
    transition: none;
  }
}

.carousel-item.active,
.carousel-item-next,
.carousel-item-prev {
  display: block;
}

.carousel-item-next:not(.carousel-item-left),
.active.carousel-item-right {
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
}

.carousel-item-prev:not(.carousel-item-right),
.active.carousel-item-left {
  -webkit-transform: translateX(-100%);
  transform: translateX(-100%);
}

.carousel-fade .carousel-item {
  opacity: 0;
  transition-property: opacity;
  -webkit-transform: none;
  transform: none;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-left,
.carousel-fade .carousel-item-prev.carousel-item-right {
  z-index: 1;
  opacity: 1;
}

.carousel-fade .active.carousel-item-left,
.carousel-fade .active.carousel-item-right {
  z-index: 0;
  opacity: 0;
  transition: opacity 0s 0.6s;
}

@media (prefers-reduced-motion: reduce) {
  .carousel-fade .active.carousel-item-left,
  .carousel-fade .active.carousel-item-right {
    transition: none;
  }
}

.carousel-control-prev,
.carousel-control-next {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 15%;
  color: #fff;
  text-align: center;
  opacity: 0.5;
  transition: opacity 0.15s ease;
}

@media (prefers-reduced-motion: reduce) {
  .carousel-control-prev,
  .carousel-control-next {
    transition: none;
  }
}

.carousel-control-prev:hover, .carousel-control-prev:focus,
.carousel-control-next:hover,
.carousel-control-next:focus {
  color: #fff;
  text-decoration: none;
  outline: 0;
  opacity: 0.9;
}

.carousel-control-prev {
  left: 0;
}

.carousel-control-next {
  right: 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: no-repeat 50% / 100% 100%;
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3e%3c/svg%3e");
}

.carousel-indicators {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 15;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  padding-left: 0;
  margin-right: 15%;
  margin-left: 15%;
  list-style: none;
}

.carousel-indicators li {
  box-sizing: content-box;
  -ms-flex: 0 1 auto;
  flex: 0 1 auto;
  width: 30px;
  height: 3px;
  margin-right: 3px;
  margin-left: 3px;
  text-indent: -999px;
  cursor: pointer;
  background-color: #fff;
  background-clip: padding-box;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  opacity: .5;
  transition: opacity 0.6s ease;
}

@media (prefers-reduced-motion: reduce) {
  .carousel-indicators li {
    transition: none;
  }
}

.carousel-indicators .active {
  opacity: 1;
}

.carousel-caption {
  position: absolute;
  right: 15%;
  bottom: 20px;
  left: 15%;
  z-index: 10;
  padding-top: 20px;
  padding-bottom: 20px;
  color: #fff;
  text-align: center;
}


.accordion {
    --bs-accordion-color:  unset;
    --bs-accordion-bg:  unset;
    --bs-accordion-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, border-radius 0.15s ease;
    --bs-accordion-border-color:  unset;
    --bs-accordion-border-width: var(--bs-border-width);
    --bs-accordion-border-radius: var(--bs-border-radius);
    --bs-accordion-inner-border-radius: calc(var(--bs-border-radius) - (var(--bs-border-width)));
    --bs-accordion-btn-padding-x: 1.25rem;
    --bs-accordion-btn-padding-y: 1rem;
    --bs-accordion-btn-color: var(--color-tifon);
    --bs-accordion-btn-bg: var(--bs-accordion-bg);
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3ccircle cx='8' cy='8' r='7' fill='%23162b52'/%3e%3cpath d='M8 4v8' stroke='%23fff' stroke-width='1.6' stroke-linecap='round'/%3e%3cpath d='M4 8h8' stroke='%23fff' stroke-width='1.6' stroke-linecap='round'/%3e%3c/svg%3e");
    --bs-accordion-btn-icon-width: 1.25rem;
    --bs-accordion-btn-icon-transform: rotate(-180deg);
    --bs-accordion-btn-icon-transition: transform 0.2s ease-in-out;
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3ccircle cx='8' cy='8' r='7' fill='%23162b52'/%3e%3cpath d='M4 8h8' stroke='%23fff' stroke-width='1.6' stroke-linecap='round'/%3e%3c/svg%3e");
      --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    --bs-accordion-body-padding-x: 1.25rem;
    --bs-accordion-body-padding-y: 1rem;
    --bs-accordion-active-color: var(--color-tifon);
    --bs-accordion-active-bg: rgba(22, 43, 82, 0.08);
}

.accordion-button {
    color: var(--color-tifon);
}

.accordion-button:hover {
    color: var(--color-tifon-hover);
}

 .accordion-button:not(.collapsed) {
    color: var(--color-tifon);
    box-shadow: unset;
    background-color: rgba(22, 43, 82, 0.08);
}

.accordion-button:focus {
    box-shadow: unset;
}

.accordion-header {
    margin-bottom: 0 !important;
    border-bottom: 1px solid var(--color-tifon) !important;
}

@media (min-width: 768px){
  .px-md-custom{ padding-left: 5em !important; padding-right: 5em !important; }
}

.btn:hover {
  color: unset;
  background-color: unset;
  border-color: unset;
}


/* Por defecto (escritorio): mitad de pantalla */
#offcanvasExample.offcanvas{
  width: 50vw;
  max-width: 50vw;
}

/* Móvil: ancho completo */
@media (max-width: 575.98px){
  #offcanvasExample.offcanvas{
    width: 100vw;
    max-width: 100vw;
  }
}

.tabmenu {
  /* anula las variables específicas de nav-tabs */
  --bs-nav-tabs-border-width: unset;
  --bs-nav-tabs-border-color: unset;
  --bs-nav-tabs-border-radius: unset;
  --bs-nav-tabs-link-hover-border-color: unset;
  --bs-nav-tabs-link-active-color: unset;
  --bs-nav-tabs-link-active-bg: unset;
  --bs-nav-tabs-link-active-border-color: unset;

  color: var(--color-tifon);
  text-decoration: none;
  font-weight: 700;
  margin-bottom: 20px;

}

.nav-link.tabmenu
{
 font-weight: 200; 
}

.nav-link.tabmenu:active
{
 font-weight: 900; 
}


/* tabs menu */
button.buttontabmenu{
  font-size: 1.1rem;
  color: var(--color-tifon);
  font-weight: 400;
}

button.buttontabmenu:hover{
  font-size: 1.1rem;
  color:  var(--color-tifon);
}

button.buttontabmenu.active{
  font-size: 1.1rem;
  color:  var(--color-tifon);
  font-weight: 900;
  border-bottom: 3px solid var(--color-tifon);;
}

div.html img{
  width: 95%;
}

.accordion-body a{
  display: inline-block;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  font-size: 1rem;
}



@media (max-width: 767.98px) {
    .bordercol[style*="height"] {
      height: unset !important;
      min-height: unset !important;
      max-height: none !important;
    }
  }


  @media (max-width: 767.98px) {
    .row[style*="min-height: 92vh"],
    .row[style*="min-height:92vh"] {
      min-height: unset !important;
      height: auto !important;
    }
  }

/* Botón eliminar producto del carrito */
.btn-eliminar-carro {
  color: #c82333;
  font-size: 1.15rem;
  line-height: 1;
  padding: 6px 8px;
  border-radius: 4px;
  transition: background-color .15s ease, color .15s ease;
  min-width: 32px;
  min-height: 32px;
}
.btn-eliminar-carro:hover,
.btn-eliminar-carro:focus {
  color: #fff;
  background-color: #c82333;
  text-decoration: none;
}
.btn-eliminar-carro .bi {
  vertical-align: middle;
}

/* ===== Resumen del carrito (layout card) ===== */
.cart-summary { width: 100%; box-sizing: border-box; }

.cart-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  column-gap: 12px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid #eceff3;
}
.cart-row-img {
  width: 64px;
  height: 64px;
  display: block;
  flex-shrink: 0;
}
.cart-product-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 4px;
  background: #f7f8fa;
  display: block;
}
.cart-row-pack { grid-template-columns: 1fr; }
.cart-row-pack .cart-row-img { display: none; }

.cart-row-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cart-row-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.cart-product-link {
  text-decoration: none;
  color: inherit;
  flex: 1 1 auto;
  min-width: 0;
}
.cart-product-link:hover .cart-product-name { color: var(--color-tifon, #162b52); }
.cart-product-name {
  display: block;
  font-size: .92rem;
  font-weight: 600;
  color: #212529;
  line-height: 1.3;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.cart-row-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 8px 14px;
  font-size: .82rem;
}
.cart-meta-pvp,
.cart-meta-can,
.cart-meta-tot {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.cart-meta-can { justify-self: center; }
.cart-meta-tot { justify-self: end; }
@media (max-width: 480px) {
  .cart-row-meta {
    grid-template-columns: 1fr auto;
  }
  .cart-meta-can { justify-self: end; }
  .cart-meta-tot { grid-column: 1 / -1; justify-self: end; }
}
.cart-meta-label {
  font-size: .68rem;
  color: #adb5bd;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.cart-product-pvp {
  font-size: .85rem;
  color: #495057;
  white-space: nowrap;
}
.cart-product-total {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-tifon, #162b52);
  white-space: nowrap;
}

.cart-quantity-select {
  width: auto;
  min-width: 50px;
  max-width: 64px;
  padding: 2px 18px 2px 6px;
  height: auto;
  font-size: .82rem;
  line-height: 1.3;
}

.btn-eliminar-carro {
  padding: 4px 6px;
  font-size: 1rem;
  min-width: 28px;
  min-height: 28px;
  flex-shrink: 0;
}

/* Cabecera de grupo de envío */
.cart-shipping-group { display: block; padding: 10px 0 4px; border: 0; }
.cart-shipping-group-badge {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #6c757d;
  background: #eef1f6;
  padding: 3px 9px;
  border-radius: 3px;
}

/* Opciones de entrega */
.cart-shipping-options { display: block; padding: 8px 0 14px; border-bottom: 1px solid #eceff3; }
.cart-shipping-list { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.cart-shipping-option {
  display: grid;
  grid-template-columns: 20px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  margin: 0;
  border: 1px solid #e5e8ec;
  border-radius: 4px;
  cursor: pointer;
  background: #fff;
  transition: border-color .15s ease, background-color .15s ease;
  font-weight: 400;
}
.cart-shipping-option:hover { border-color: #c5cdd8; }
.cart-shipping-option.is-active {
  border-color: var(--color-tifon, #162b52);
  background: #f5f7fb;
}
.cart-shipping-radio { display: inline-flex; }
.cart-shipping-text { font-size: .9rem; color: #212529; min-width: 0; overflow-wrap: anywhere; }
.cart-shipping-price {
  font-size: .9rem;
  font-weight: 700;
  color: var(--color-tifon, #162b52);
  white-space: nowrap;
}
.cart-shipping-tiendas { width: 100%; }
.cart-shipping-tiendas select { width: 100%; max-width: 100%; }

/* Totales del carrito */
.cart-totals { font-size: .92rem; padding-right: 0 !important; }
.cart-totals-row { padding: 5px 0; }
.cart-totals-label { color: #6c757d; }
.cart-totals-value { font-weight: 600; color: #212529; white-space: nowrap; }
.cart-totals-grand {
  margin-top: 8px;
  padding-top: 12px !important;
  border-top: 2px solid #e5e8ec;
}
.cart-totals-grand-label {
  font-size: .95rem;
  font-weight: 700;
  color: #212529;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.cart-totals-grand-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-tifon, #162b52);
  line-height: 1;
  white-space: nowrap;
}

/* Panel resumen en móvil ancho completo */
@media (min-width: 992px) {
  .cart-totals-grand-value { font-size: 1.55rem; }
}

/* Cursor de enlace para elementos clicables (salida de BloqueV3 y resto del sitio) */
a,
button:not(:disabled):not(.disabled),
.btn:not(:disabled):not(.disabled),
[role="button"]:not(:disabled):not(.disabled),
[data-bs-toggle]:not(:disabled):not(.disabled),
[data-bs-dismiss]:not(:disabled):not(.disabled),
label[for],
.form-check-label,
summary {
  cursor: pointer;
}
