body {
  font-family: 'Inter', sans-serif;
}

.site-header-wrap {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--bc-border);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 30px rgba(17, 22, 29, 0.05);
}

.site-header-row-layout-contained .site-container,
.site-footer-row-layout-contained .site-container,
.site-header-row .site-container,
.site-footer-row .site-container {
  max-width: var(--bc-container);
}

.site-top-header-wrap,
.site-main-header-wrap,
.site-bottom-header-wrap {
  background: transparent;
}

.site-main-header-inner-wrap {
  min-height: var(--bc-header-height);
}

.site-branding a.brand img {
  width: auto;
  max-width: 230px;
  max-height: 60px;
}

.site-branding .site-title,
.site-branding .site-description {
  display: none;
}

.main-navigation .menu > li > a,
.mobile-navigation .menu > li > a {
  color: #495463;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.main-navigation .menu > li.current-menu-item > a,
.main-navigation .menu > li.current_page_item > a,
.main-navigation .menu > li > a:hover,
.mobile-navigation .menu > li.current-menu-item > a,
.mobile-navigation .menu > li.current_page_item > a,
.mobile-navigation .menu > li > a:hover {
  color: var(--bc-blue);
}

.header-button-wrap .button,
.mobile-header-button-wrap .button,
.header-button-wrap .kb-button,
.mobile-header-button-wrap .kb-button {
  min-height: 38px;
  padding: 0.7rem 1.15rem;
  border: 0;
  border-radius: 999px;
  background: var(--bc-red);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: none;
  box-shadow: none;
}

.header-button-wrap .button:hover,
.mobile-header-button-wrap .button:hover,
.header-button-wrap .kb-button:hover,
.mobile-header-button-wrap .kb-button:hover {
  background: var(--bc-red);
  color: #fff;
  box-shadow: 0 12px 24px rgba(255, 4, 14, 0.2);
}

.drawer-toggle {
  color: var(--bc-blue);
}

.mobile-drawer-popup {
  background: rgba(255, 255, 255, 0.98);
}

.mobile-navigation .menu {
  gap: 0.75rem;
}

.site-footer {
  background: var(--bc-blue);
  color: rgba(255, 255, 255, 0.85);
}

.site-footer-row-container-inner {
  border-top: 0;
}

.site-footer .footer-widget-area,
.site-footer .footer-html {
  width: 100%;
}

.footer-widget-area .textwidget > *:first-child {
  margin-top: 0;
}

.footer-widget-area .textwidget > *:last-child {
  margin-bottom: 0;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.88);
}

.site-footer a:hover {
  color: #fff;
}

.site-info {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-html {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1.6;
}

.bc-site-footer {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1.1fr;
  gap: 28px;
}

.bc-site-footer h4 {
  margin: 0 0 12px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.bc-site-footer p,
.bc-site-footer a,
.bc-site-footer li {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.6;
}

.bc-site-footer-brand h3 {
  margin: 0;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.bc-site-footer-brand .bc-site-footer-tagline {
  margin-top: 10px;
  font-style: italic;
}

.bc-site-footer-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.bc-site-footer-contact {
  display: grid;
  gap: 10px;
}

.bc-site-footer-social {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.bc-site-footer-social span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.bc-site-footer-meta {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .header-button-wrap {
    display: none;
  }

  .bc-site-footer {
    grid-template-columns: 1fr 1fr;
    gap: 24px 20px;
    padding-block: 36px 24px;
    padding-inline: 20px;
  }
  .bc-site-footer-brand {
    grid-column: 1 / -1;
  }
  .bc-site-footer h3 {
    font-size: 18px;
  }
  .bc-site-footer h4 {
    font-size: 11px;
    margin-bottom: 10px;
  }
  .bc-site-footer p,
  .bc-site-footer a,
  .bc-site-footer li {
    font-size: 12px;
    line-height: 1.55;
  }
}

@media (max-width: 600px) {
  .bc-site-footer {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 32px 20px;
    padding-inline: 20px;
  }
  .bc-site-footer-brand {
    grid-column: auto;
  }
  .bc-site-footer h3 {
    font-size: 17px;
    letter-spacing: 0.06em;
  }
  .bc-site-footer h4 {
    font-size: 10.5px;
    letter-spacing: 0.12em;
    margin-bottom: 8px;
  }
  .bc-site-footer p,
  .bc-site-footer a,
  .bc-site-footer li {
    font-size: 12.5px;
    line-height: 1.6;
  }
  .bc-site-footer-list {
    gap: 6px;
  }
  .bc-site-footer-tagline {
    font-size: 11px !important;
    margin-bottom: 8px !important;
  }
  .bc-site-footer-ruc {
    font-size: 10.5px !important;
    margin-top: 8px !important;
  }
  .bc-site-footer-bottom {
    font-size: 9.5px;
    padding-block: 12px;
    padding-inline: 20px;
  }
}


/* ======================================================
   PRODUCT PAGE — MOBILE RESPONSIVE FIX
   Solo aplica a .single-product en < 768px
   ====================================================== */
@media all and (max-width: 767px) {

  /* Container: quitar padding lateral */
  .single-product .site-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Kadence Rows: reducir padding lateral de 80px a 16px */
  .single-product .kb-row-layout-wrap > .kt-row-column-wrap {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Breadcrumb row: menos padding vertical */
  .single-product .kb-row-layout-idbv2_bread-row > .kt-row-column-wrap {
    padding-top: 12px !important;
    padding-bottom: 0 !important;
  }

  /* Main row: menos padding vertical */
  .single-product .kb-row-layout-idbv2_main-row > .kt-row-column-wrap {
    padding-top: 16px !important;
    padding-bottom: 24px !important;
  }

  /* Titulo: compacto en mobile */
  .single-product .kadence-woo-template-wrap h1 {
    font-size: 22px !important;
    line-height: 1.25 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 8px !important;
    margin-top: 0 !important;
  }

  /* Columnas internas: sin padding extra */
  .single-product .kt-inside-inner-col {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Spacers: reducir en mobile */
  .single-product .wp-block-spacer {
    height: 12px !important;
  }

  /* Video container: full width */
  .single-product .beri-video-wrap,
  .single-product .beri-video-wrap iframe {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Headings h2 compactos */
  .single-product .kadence-woo-template-wrap h2 {
    font-size: 19px !important;
    line-height: 1.3 !important;
    margin-top: 20px !important;
    margin-bottom: 10px !important;
  }

  /* Headings h3 modulos */
  .single-product .kadence-woo-template-wrap h3 {
    font-size: 15px !important;
    line-height: 1.35 !important;
    padding: 10px 0 !important;
    margin: 0 !important;
  }

  /* Listas */
  .single-product .kadence-woo-template-wrap ul {
    padding-left: 20px !important;
    margin-bottom: 12px !important;
  }
  .single-product .kadence-woo-template-wrap ul li {
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin-bottom: 3px !important;
  }

  /* Parrafos */
  .single-product .kadence-woo-template-wrap p {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  /* Sidebar card */
  .single-product .beri-sidebar-card {
    margin-top: 20px;
  }

  /* Boton carrito full width */
  .single-product .kadence-woo-template-wrap .single_add_to_cart_button {
    width: 100% !important;
  }

  /* Eliminar espacio blanco al final */
  .single-product .kadence-woo-template-wrap > *:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  .single-product .site-main {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }
  .single-product .content-area {
    padding-bottom: 0 !important;
  }
}

/* PRODUCT PAGE — TABLET (768-1024px) */
@media all and (min-width: 768px) and (max-width: 1024px) {
  .single-product .kb-row-layout-wrap > .kt-row-column-wrap {
    padding-left: 32px !important;
    padding-right: 32px !important;
  }
}

/* ============================================================
   ACORDEON "Contenido del Curso" v2 — solo single-product Woo
   Header: titulo + chevron. Body: lista de sesiones con icono + texto + tiempo.
   Generado por mu-plugin bericenter-modulos-accordion.php
   ============================================================ */
.single-product .beri-modulos-curso {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0 24px 0;
}

.single-product .beri-modulo {
  border: 1px solid #e3e8ef;
  border-left: 4px solid #1268b3;
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.single-product .beri-modulo:hover { border-color: #c9d6e6; }
.single-product .beri-modulo[open] {
  box-shadow: 0 4px 18px rgba(18,104,179,.08);
  border-left-color: #0d4f8a;
}

/* Header — solo titulo + chevron */
.single-product .beri-modulo-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: #1268b3;
  user-select: none;
}
.single-product .beri-modulo-header::-webkit-details-marker { display: none; }
.single-product .beri-modulo-header::marker { content: ""; }
.single-product .beri-modulo-titulo {
  flex: 1;
  font-size: 1rem;
  line-height: 1.35;
}
.single-product .beri-modulo-chevron {
  color: #1268b3;
  flex-shrink: 0;
  transition: transform .25s ease;
}
.single-product .beri-modulo[open] .beri-modulo-chevron { transform: rotate(180deg); }

/* Body */
.single-product .beri-modulo-body {
  padding: 4px 20px 10px 20px;
  border-top: 1px solid #f0f4f9;
  background: #fafcfe;
  animation: beri-fade-in .22s ease;
}

/* Lista de sesiones */
.single-product .beri-sesiones {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.single-product .beri-sesion {
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid #eef2f7;
}
.single-product .beri-sesion:last-child { border-bottom: none; }

.single-product .beri-sesion-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 4px;
  color: #4a5568;
  text-decoration: none !important;
  transition: color .15s ease, background-color .15s ease, padding-left .2s ease;
}
.single-product .beri-sesion-link:hover,
.single-product .beri-sesion--link .beri-sesion-link:hover {
  color: #1268b3;
  padding-left: 8px;
}

.single-product .beri-sesion-icon {
  flex-shrink: 0;
  color: #9aa8bb;
  transition: color .15s ease;
}
.single-product .beri-sesion--link .beri-sesion-icon { color: #1268b3; }
.single-product .beri-sesion-link:hover .beri-sesion-icon { color: #0d4f8a; }

.single-product .beri-sesion-text {
  flex: 1;
  font-size: .92rem;
  line-height: 1.5;
  color: inherit;
}

.single-product .beri-sesion-tiempo {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  color: #7a8699;
  font-size: .78rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
}
.single-product .beri-sesion-link:hover .beri-sesion-tiempo { color: #1268b3; }

@keyframes beri-fade-in {
  from { opacity: 0; transform: translateY(-3px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Mobile (<= 600px) */
@media (max-width: 600px) {
  .single-product .beri-modulo-header {
    padding: 13px 14px;
    gap: 10px;
  }
  .single-product .beri-modulo-titulo { font-size: .95rem; }
  .single-product .beri-modulo-body { padding: 2px 14px 8px 14px; }
  .single-product .beri-sesion-link { padding: 11px 2px; gap: 10px; }
  .single-product .beri-sesion-text { font-size: .85rem; }
  .single-product .beri-sesion-tiempo { font-size: .72rem; }
}
