/* ==========================================================================
   CoreHogar — Diseño Boutique de Papelería, Códigos Jurídicos y E-commerce
   Paleta oficial armónica:
     Coral Marca (#F68E8F / #D9636A), Rosa Pastel (#EED1D3 / #FDF5F5),
     Crema Durazno (#FFE1D8 / #FDF9F6), Azul Corporativo Armónico (#1F3557 / #44556E)
   Tipografía única amigable e-commerce, 100 % local sin fuentes externas.
   ========================================================================== */

:root {
  --ch-navy: #1F3557;
  --ch-navy-soft: #2E476E;
  --ch-text: #44556E;
  --ch-coral: #F68E8F;
  --ch-coral-deep: #D9636A;
  --ch-blush: #EED1D3;
  --ch-blush-soft: #FDF5F5;
  --ch-peach: #FFE1D8;
  --ch-paper: #FDF9F6;
  --ch-border: #F1D7D5;
  --ch-border-soft: #EBD9D3;
  --ch-white: #FFFFFF;
  --ch-font-main: "Plus Jakarta Sans", "Nunito", ui-rounded, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ch-font-serif: var(--ch-font-main);
  --ch-font-sans: var(--ch-font-main);
  --ch-radius: 18px;
  --ch-shadow: 0 10px 28px rgba(31, 53, 87, 0.07);
  --ch-shadow-coral: 0 14px 28px rgba(246, 142, 143, 0.24);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: var(--ch-font-main) !important;
  color: var(--ch-text);
  background-color: var(--ch-paper);
  line-height: 1.65;
  margin: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
button, input, select, textarea,
.ch-brand-name,
.woocommerce-loop-product__title {
  font-family: var(--ch-font-main) !important;
}

h1, h2, h3, h4, .ch-serif {
  color: var(--ch-navy);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

a {
  color: var(--ch-navy);
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

a:hover {
  color: var(--ch-coral-deep);
}

.ch-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.ch-container-narrow {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

body:not(.home):not(.elementor-page) .site-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 56px;
}

h1, h2, h3, [id] {
  scroll-margin-top: 112px;
}

body.admin-bar h1,
body.admin-bar h2,
body.admin-bar h3,
body.admin-bar [id] {
  scroll-margin-top: 144px;
}

body.page-id-10 .site-main,
body.page-id-1642 .site-main,
body.page-id-1934 .site-main,
body.page-id-1937 .site-main {
  max-width: 920px;
  background: var(--ch-white);
  border: 1.5px solid var(--ch-border);
  border-radius: 22px;
  margin-top: 28px;
  margin-bottom: 28px;
  padding: 38px 36px;
  box-shadow: var(--ch-shadow);
}

body.home .page-header,
body.page-id-1644 .page-header,
body.page-id-1645 .page-header {
  display: none;
}

/* ==========================================================================
   Barra Superior Coral y Cabecera Amigable (Compatible Admin Bar)
   ========================================================================== */

.ch-topbar {
  background: var(--ch-coral);
  color: var(--ch-navy);
  font-size: 0.81rem;
  font-weight: 600;
  padding: 6px 0;
}

.ch-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
}

.ch-topbar-msg {
  line-height: 1.35;
}

.ch-topbar a {
  color: var(--ch-navy);
  text-decoration: underline;
  font-weight: 700;
}

.ch-topbar a:hover {
  color: var(--ch-white);
}

.ch-topbar a.ch-topbar-wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(31, 53, 87, 0.14);
  color: var(--ch-navy);
  font-weight: 700;
  font-size: 0.79rem;
  line-height: 1.35;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(31, 53, 87, 0.08);
}

.ch-topbar a.ch-topbar-wa:hover {
  background: var(--ch-navy);
  border-color: var(--ch-navy);
  color: var(--ch-white);
}

.ch-topbar a.ch-topbar-wa svg {
  color: #16A34A;
  flex-shrink: 0;
}

.ch-topbar a.ch-topbar-wa:hover svg {
  color: #FFFFFF;
}

.ch-header {
  position: sticky;
  top: 0;
  z-index: 9000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1.5px solid var(--ch-border);
  box-shadow: 0 4px 18px rgba(31, 53, 87, 0.06);
}

body.admin-bar .ch-header {
  top: 32px;
}

.ch-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 80px;
}

.ch-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.ch-brand-emblem {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ch-blush);
  border: 2.5px solid var(--ch-coral);
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(246, 142, 143, 0.28);
  flex-shrink: 0;
}

.ch-brand-emblem img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.ch-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.ch-brand-name {
  font-family: var(--ch-font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ch-navy);
}

.ch-brand-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ch-coral-deep);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-top: 2px;
}

.ch-nav {
  display: flex;
  align-items: center;
}

.ch-nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 22px;
  align-items: center;
}

.ch-nav-list > li {
  position: relative;
}

.ch-nav-list a {
  color: var(--ch-navy);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 7px 4px;
  border-bottom: 2.5px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ch-nav-list a:hover,
.ch-nav-list .current-menu-item > a {
  color: var(--ch-coral-deep);
  border-bottom-color: var(--ch-coral);
}

.ch-nav-list li.menu-item-has-children > a::after {
  content: "▾";
  font-size: 0.78em;
  color: var(--ch-coral-deep);
  margin-left: 2px;
}

.ch-nav-list .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 268px;
  background: var(--ch-white);
  border: 1.5px solid var(--ch-border);
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 14px 32px rgba(31, 53, 87, 0.14);
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 9500;
}

.ch-nav-list .sub-menu::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.ch-nav-list li.menu-item-has-children:hover > .sub-menu,
.ch-nav-list li.menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ch-nav-list .sub-menu li {
  margin: 0;
}

.ch-nav-list .sub-menu a {
  display: block;
  width: 100%;
  padding: 9px 13px;
  border-radius: 10px;
  border-bottom: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ch-navy);
}

.ch-nav-list .sub-menu a:hover {
  background: var(--ch-blush-soft);
  color: var(--ch-coral-deep);
  border-bottom: none;
}

.ch-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ch-btn-header {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid var(--ch-blush);
  color: var(--ch-navy);
  background: var(--ch-blush-soft);
  white-space: nowrap;
}

.ch-btn-header:hover {
  border-color: var(--ch-coral);
  background: var(--ch-peach);
  color: var(--ch-navy);
}

.ch-btn-cart {
  background: var(--ch-navy);
  color: var(--ch-white);
  border-color: var(--ch-navy);
}

.ch-btn-cart:hover {
  background: var(--ch-coral-deep);
  border-color: var(--ch-coral-deep);
  color: var(--ch-white);
}

.ch-cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--ch-coral);
  color: var(--ch-navy);
  font-size: 0.78rem;
  font-weight: 800;
}

.ch-btn-cart:hover .ch-cart-count {
  background: var(--ch-white);
  color: var(--ch-navy);
}

.ch-menu-toggle {
  display: none;
  background: var(--ch-blush-soft);
  border: 1.5px solid var(--ch-border);
  color: var(--ch-navy);
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 1.15rem;
  cursor: pointer;
}

/* ==========================================================================
   Hero Boutique, Portada y Secciones
   ========================================================================== */

.ch-hero {
  background: linear-gradient(135deg, var(--ch-blush-soft) 0%, var(--ch-peach) 48%, var(--ch-paper) 100%);
  border-bottom: 1.5px solid var(--ch-border);
  padding: 58px 0;
}

.ch-hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 38px;
  align-items: center;
}

.ch-badge {
  display: inline-block;
  background: var(--ch-white);
  color: var(--ch-coral-deep);
  border: 1.5px solid var(--ch-coral);
  border-radius: 999px;
  padding: 5px 15px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(246, 142, 143, 0.16);
}

.ch-hero h1 {
  font-size: clamp(1.85rem, 3.3vw, 2.75rem);
  color: var(--ch-navy);
  margin: 0 0 16px;
}

.ch-hero p.ch-lead {
  font-size: 1.08rem;
  color: var(--ch-text);
  margin: 0 0 26px;
}

.ch-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ch-btn-primary,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt,
.woocommerce a.woocommerce-Button,
.woocommerce button.woocommerce-Button,
.woocommerce button.woocommerce-button,
.woocommerce input.woocommerce-Button,
.woocommerce-form-login__submit,
.woocommerce-form-register__submit,
.woocommerce-EditAccountForm button[name="save_account_details"],
.woocommerce-address-fields button[name="save_address"],
.woocommerce-ResetPassword button[type="submit"] {
  background-color: var(--ch-navy) !important;
  color: var(--ch-white) !important;
  border: 1.5px solid var(--ch-navy) !important;
  border-radius: 999px !important;
  padding: 12px 26px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.ch-btn-primary:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce a.woocommerce-Button:hover,
.woocommerce button.woocommerce-Button:hover,
.woocommerce button.woocommerce-button:hover,
.woocommerce input.woocommerce-Button:hover,
.woocommerce-form-login__submit:hover,
.woocommerce-form-register__submit:hover,
.woocommerce-EditAccountForm button[name="save_account_details"]:hover,
.woocommerce-address-fields button[name="save_address"]:hover,
.woocommerce-ResetPassword button[type="submit"]:hover {
  background-color: var(--ch-coral-deep) !important;
  border-color: var(--ch-coral-deep) !important;
  color: var(--ch-white) !important;
  transform: translateY(-1px);
}

.ch-btn-outline {
  background: var(--ch-white);
  color: var(--ch-navy);
  border: 1.5px solid var(--ch-coral);
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 700;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ch-btn-outline:hover {
  background: var(--ch-blush-soft);
  border-color: var(--ch-coral-deep);
  color: var(--ch-coral-deep);
}

.ch-hero-card {
  background: var(--ch-white);
  border: 1.5px solid var(--ch-border);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--ch-shadow-coral);
}

.ch-hero-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ch-hero-mosaic-item {
  background: var(--ch-paper);
  border: 1px solid var(--ch-border);
  border-radius: 14px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.ch-hero-mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.ch-hero-card-caption {
  margin-top: 14px;
  padding: 10px 14px;
  background: var(--ch-blush-soft);
  border-radius: 12px;
  font-size: 0.88rem;
  color: var(--ch-navy);
  font-weight: 700;
  text-align: center;
}

.ch-section {
  padding: 60px 0;
}

.ch-section-blush {
  background: linear-gradient(180deg, var(--ch-blush-soft) 0%, var(--ch-paper) 100%);
  border-top: 1.5px solid var(--ch-border);
  border-bottom: 1.5px solid var(--ch-border);
}

.ch-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 38px;
}

.ch-section-head h2 {
  font-size: clamp(1.55rem, 2.5vw, 2.05rem);
  color: var(--ch-navy);
  margin: 0 0 10px;
}

.ch-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.ch-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.ch-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.ch-card {
  background: var(--ch-white);
  border: 1.5px solid var(--ch-border);
  border-radius: var(--ch-radius);
  padding: 26px;
  box-shadow: var(--ch-shadow);
  display: flex;
  flex-direction: column;
}

.ch-card h3 {
  font-size: 1.15rem;
  color: var(--ch-navy);
  margin: 0 0 10px;
}

.ch-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ch-peach);
  border: 1.5px solid var(--ch-coral);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin: 0 auto 14px;
}

.ch-card .ch-icon-circle {
  margin: 0 0 14px;
}

.ch-trust-item {
  background: var(--ch-white);
  border: 1.5px solid var(--ch-border);
  border-radius: var(--ch-radius);
  padding: 22px 18px;
  text-align: center;
  box-shadow: var(--ch-shadow);
}

.ch-trust-item strong {
  display: block;
  color: var(--ch-navy);
  font-size: 1rem;
  margin-bottom: 6px;
}

/* Tablas legales */
.page-id-10 .entry-content table,
.page-id-1642 .entry-content table,
.page-id-1934 .entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 0.94rem;
  display: block;
  overflow-x: auto;
}

.page-id-10 .entry-content th,
.page-id-10 .entry-content td,
.page-id-1642 .entry-content th,
.page-id-1642 .entry-content td,
.page-id-1934 .entry-content th,
.page-id-1934 .entry-content td {
  border: 1px solid var(--ch-border);
  padding: 11px 14px;
  text-align: left;
  vertical-align: top;
}

.page-id-1642 .entry-content th,
.page-id-1934 .entry-content th {
  background: var(--ch-blush-soft);
  color: var(--ch-navy);
}

/* ==========================================================================
   WooCommerce Tienda: Tarjetas 100 % Estandarizadas y Lista de Deseados
   ========================================================================== */

.woocommerce .woocommerce-breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  background: var(--ch-white);
  border: 1px solid var(--ch-border);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.85rem;
  color: var(--ch-text);
  margin-bottom: 18px;
}

.woocommerce .woocommerce-products-header {
  background: linear-gradient(135deg, var(--ch-blush-soft) 0%, var(--ch-peach) 100%);
  border: 1.5px solid var(--ch-border);
  border-radius: 20px;
  padding: 26px 28px;
  margin-bottom: 24px;
}

.woocommerce .woocommerce-products-header__title {
  margin: 0;
  color: var(--ch-navy);
  font-size: clamp(1.65rem, 2.6vw, 2.2rem);
}

.woocommerce .woocommerce-result-count {
  font-weight: 600;
  color: var(--ch-text);
  padding-top: 8px;
}

.woocommerce .woocommerce-ordering select {
  background: var(--ch-white);
  border: 1.5px solid var(--ch-border);
  border-radius: 999px;
  padding: 9px 18px;
  color: var(--ch-navy);
  font-weight: 600;
  cursor: pointer;
}

/* Anular clearfix ::before / ::after de WooCommerce en todos los grids */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after,
.woocommerce-account .woocommerce::before,
.woocommerce-account .woocommerce::after,
.woocommerce-Addresses::before,
.woocommerce-Addresses::after,
.u-columns::before,
.u-columns::after,
.col2-set::before,
.col2-set::after {
  display: none !important;
  content: none !important;
}

.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch !important;
  margin: 18px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.woocommerce ul.products.columns-3,
.woocommerce-page ul.products.columns-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.woocommerce ul.products.columns-2,
.woocommerce-page ul.products.columns-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  clear: none !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  background: var(--ch-white) !important;
  border: 1.5px solid var(--ch-border) !important;
  border-radius: 18px !important;
  padding: 16px !important;
  box-shadow: var(--ch-shadow) !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
  transform: translateY(-4px);
  border-color: var(--ch-coral) !important;
  box-shadow: var(--ch-shadow-coral) !important;
}

.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  text-decoration: none !important;
}

.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: contain !important;
  background: var(--ch-paper);
  border: 1px solid var(--ch-border-soft);
  border-radius: 13px !important;
  padding: 12px;
  margin: 0 0 14px !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--ch-font-serif) !important;
  color: var(--ch-navy) !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  line-height: 1.38 !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.76em;
}

.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
  margin-top: auto !important;
  margin-bottom: 0 !important;
  padding-top: 8px;
  color: var(--ch-navy) !important;
  font-size: 1.22rem !important;
  font-weight: 800 !important;
}

.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product button.button,
.woocommerce-page ul.products li.product a.button {
  margin-top: 14px !important;
  width: 100% !important;
  text-align: center !important;
  background-color: var(--ch-navy) !important;
  color: var(--ch-white) !important;
  border-radius: 999px !important;
  padding: 11px 16px !important;
  font-weight: 700 !important;
}

.woocommerce ul.products li.product a.button:hover,
.woocommerce ul.products li.product button.button:hover {
  background-color: var(--ch-coral-deep) !important;
  color: var(--ch-white) !important;
}

/* Botón Lista de Deseados */
.ch-wishlist-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin-top: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--ch-blush-soft);
  border: 1px solid var(--ch-border);
  color: var(--ch-navy);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ch-wishlist-btn:hover {
  background: var(--ch-peach);
  border-color: var(--ch-coral);
  color: var(--ch-navy);
}

.ch-wishlist-btn.is-active {
  background: var(--ch-coral);
  border-color: var(--ch-coral-deep);
  color: var(--ch-navy);
}

.ch-wishlist-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 18px;
}

.ch-wishlist-card {
  background: var(--ch-paper);
  border: 1.5px solid var(--ch-border);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ch-wishlist-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--ch-white);
  border-radius: 10px;
  padding: 8px;
  margin-bottom: 10px;
}

.woocommerce span.onsale {
  background-color: var(--ch-coral) !important;
  color: var(--ch-navy) !important;
  font-weight: 800;
}

/* Ficha individual, Carrito, Checkout y Facturación/Entrega */
.woocommerce div.product {
  background: var(--ch-white);
  border: 1.5px solid var(--ch-border);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--ch-shadow);
}

.woocommerce div.product div.images img {
  border-radius: 14px;
  background: var(--ch-paper);
  border: 1px solid var(--ch-border);
  padding: 10px;
}

.woocommerce div.product p.price {
  color: var(--ch-navy);
  font-size: 1.6rem;
  font-weight: 800;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.fluentform .ff-el-form-control {
  border: 1.5px solid var(--ch-border-soft) !important;
  border-radius: 10px !important;
  padding: 10px 14px !important;
  background: var(--ch-white);
  color: var(--ch-navy);
  width: 100%;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus,
.fluentform .ff-el-form-control:focus {
  border-color: var(--ch-coral) !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(246, 142, 143, 0.25);
}

.fluentform .ff-btn-submit {
  background-color: var(--ch-navy) !important;
  color: var(--ch-white) !important;
  border-radius: 999px !important;
  padding: 12px 28px !important;
  font-weight: 700 !important;
  border: none !important;
}

.fluentform .ff-btn-submit:hover {
  background-color: var(--ch-coral-deep) !important;
}

.woocommerce table.shop_table {
  background: var(--ch-white);
  border: 1.5px solid var(--ch-border) !important;
  border-radius: 16px !important;
  overflow: hidden;
  width: 100%;
}

.woocommerce #payment {
  background: var(--ch-blush-soft) !important;
  border: 1.5px solid var(--ch-border);
  border-radius: 16px !important;
}

/* Medios de pago y logotipos proporcionales en Checkout (Transbank Webpay Plus, Oneclick, Mercado Pago) */
.woocommerce-checkout #payment ul.payment_methods,
.woocommerce-checkout #payment ul.wc_payment_methods {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce-checkout #payment ul.payment_methods li,
.woocommerce-checkout #payment ul.wc_payment_methods li {
  margin: 0 0 10px !important;
  padding: 10px 14px !important;
  background: var(--ch-paper) !important;
  border: 1px solid var(--ch-border) !important;
  border-radius: 12px !important;
}

.woocommerce-checkout #payment ul.payment_methods li:has(input:checked),
.woocommerce-checkout #payment ul.wc_payment_methods li:has(input:checked) {
  border-color: var(--ch-coral) !important;
  background: #FFF9F9 !important;
}

.woocommerce-checkout #payment ul.payment_methods li label,
.woocommerce-checkout #payment ul.wc_payment_methods li label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-weight: 700 !important;
  color: var(--ch-navy) !important;
  cursor: pointer;
  width: auto !important;
  line-height: 1.4 !important;
}

.woocommerce-checkout #payment ul.payment_methods li label img,
.woocommerce-checkout #payment ul.wc_payment_methods li label img,
.woocommerce-checkout #payment .wc_payment_method label img,
.woocommerce-checkout #payment .payment_method_webpay_plus label img,
.woocommerce-checkout #payment .payment_method_transbank_oneclick_mall_rest label img,
.woocommerce-checkout #payment li[class*="webpay"] label img,
.woocommerce-checkout #payment li[class*="transbank"] label img,
.woocommerce-checkout #payment img[src*="webpay"],
.woocommerce-checkout #payment img[src*="transbank"] {
  max-height: 28px !important;
  max-width: 120px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  vertical-align: middle !important;
  display: inline-block !important;
  box-shadow: none !important;
  border: none !important;
  background: transparent !important;
  margin: 0 0 0 8px !important;
}

.woocommerce-checkout #payment .payment_box {
  background: var(--ch-white) !important;
  border: 1px solid var(--ch-border) !important;
  border-radius: 12px !important;
  padding: 14px 18px !important;
  margin: 10px 0 6px !important;
  font-size: 0.88rem !important;
  color: var(--ch-navy) !important;
}

/* Maquetación limpia y reestructurada de Checkout y Select2 (Región / Comuna) */
.woocommerce-checkout #customer_details.col2-set {
  display: grid !important;
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 0.92fr) !important;
  gap: 28px !important;
  align-items: start !important;
  width: 100% !important;
  margin: 0 0 28px !important;
}

.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 {
  width: 100% !important;
  float: none !important;
  min-width: 0 !important;
  background: var(--ch-white);
  border: 1.5px solid var(--ch-border);
  border-radius: 20px;
  padding: 26px 28px;
  box-shadow: var(--ch-shadow);
}

.woocommerce-checkout #customer_details h3 {
  margin: 0 0 18px !important;
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--ch-border);
  font-size: 1.25rem;
  color: var(--ch-navy);
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.woocommerce-account .woocommerce-address-fields__field-wrapper {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  column-gap: 16px !important;
  row-gap: 4px !important;
  align-items: end !important;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row,
.woocommerce-account .woocommerce-address-fields__field-wrapper .form-row {
  width: 100% !important;
  float: none !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  min-width: 0 !important;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-wide,
.woocommerce-account .woocommerce-address-fields__field-wrapper .form-row-wide {
  grid-column: 1 / -1 !important;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-first,
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-last,
.woocommerce-account .woocommerce-address-fields__field-wrapper .form-row-first,
.woocommerce-account .woocommerce-address-fields__field-wrapper .form-row-last {
  grid-column: span 1 !important;
}

/* País: Chile muy discreto en una sola línea sutil */
#billing_country_field,
#shipping_country_field {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 0 14px !important;
  padding: 6px 12px !important;
  background: var(--ch-paper) !important;
  border: 1px solid var(--ch-border) !important;
  border-radius: 10px !important;
  font-size: 0.84rem !important;
  color: var(--ch-muted) !important;
}

#billing_country_field > label,
#shipping_country_field > label {
  margin: 0 !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: var(--ch-muted) !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
}

#billing_country_field > label .required,
#shipping_country_field > label .required {
  display: none !important;
}

#billing_country_field .woocommerce-input-wrapper,
#shipping_country_field .woocommerce-input-wrapper {
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
}

#billing_country_field strong,
#shipping_country_field strong,
#billing_country_field .select2-container--default .select2-selection--single,
#shipping_country_field .select2-container--default .select2-selection--single {
  display: inline !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  color: var(--ch-navy) !important;
}

#billing_country_field .select2-selection__rendered,
#shipping_country_field .select2-selection__rendered {
  line-height: 1.3 !important;
  font-size: 0.84rem !important;
}

#billing_country_field .select2-selection__arrow,
#shipping_country_field .select2-selection__arrow {
  display: none !important;
}

/* Garantiza visibilidad de complemento (address_3) y Código postal (opcional) en Checkout y Mi Cuenta */
#billing_address_3_field,
#shipping_address_3_field,
#billing_postcode_field,
#shipping_postcode_field {
  display: block !important;
}

.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
  clear: both !important;
  float: none !important;
  width: 100% !important;
}

.woocommerce-checkout #order_review_heading {
  margin: 24px 0 14px !important;
  padding-top: 0;
  border-top: none;
  font-size: 1.35rem;
  color: var(--ch-navy);
}

.woocommerce-checkout #order_review {
  background: var(--ch-white);
  border: 1.5px solid var(--ch-border);
  border-radius: 20px;
  padding: 24px 28px;
  box-shadow: var(--ch-shadow);
}

.woocommerce-checkout ul#shipping_method,
.woocommerce-cart ul#shipping_method {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.woocommerce-checkout ul#shipping_method li,
.woocommerce-cart ul#shipping_method li {
  background: var(--ch-paper);
  border: 1px solid var(--ch-border);
  border-radius: 12px;
  padding: 10px 14px !important;
  margin: 0 !important;
  line-height: 1.45;
}

.woocommerce-checkout ul#shipping_method li p,
.woocommerce-cart ul#shipping_method li p {
  margin: 4px 0 0 22px !important;
  color: var(--ch-muted);
}

.woocommerce-checkout ul#shipping_method li small,
.woocommerce-cart ul#shipping_method li small {
  font-size: 0.82rem;
  color: var(--ch-navy);
  opacity: 0.85;
}

.ch-pudo-hint {
  background: #F8FAFC;
  border: 1px solid var(--ch-border);
  border-radius: 10px;
  padding: 9px 12px;
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--ch-text);
  line-height: 1.4;
}

.ch-pudo-addr {
  margin: 5px 0 2px 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.81rem;
  color: var(--ch-text);
  line-height: 1.4;
}

.ch-pudo-addr-txt {
  color: var(--ch-navy);
  font-weight: 600;
}

.ch-pudo-badge-ok {
  display: inline-flex;
  align-items: center;
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
  border-radius: 999px;
  padding: 1px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.ch-pudo-badge-sug {
  display: inline-flex;
  align-items: center;
  background: #F1F5F9;
  color: #475569;
  border: 1px solid #CBD5E1;
  border-radius: 999px;
  padding: 1px 8px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

.ch-cart-pudo-actions {
  margin: 8px 0 2px 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

button.ch-cart-pudo-btn,
.ch-cart-pudo-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 6px 14px !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  color: var(--ch-navy) !important;
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  background-image: none !important;
  border: 1.5px solid var(--ch-navy) !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  box-shadow: none !important;
  cursor: pointer !important;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease !important;
}

button.ch-cart-pudo-btn:hover,
button.ch-cart-pudo-btn:focus,
.ch-cart-pudo-btn:hover,
.ch-cart-pudo-btn:focus {
  background: var(--ch-navy) !important;
  background-color: var(--ch-navy) !important;
  color: #FFFFFF !important;
  border-color: var(--ch-navy) !important;
  outline: none !important;
}

.ch-cart-pudo-status {
  font-size: 0.78rem;
  color: var(--ch-coral-deep);
  font-weight: 600;
}

.ch-cart-pudo-dialog {
  border: none;
  border-radius: 14px;
  padding: 0;
  width: min(1100px, 94vw);
  max-width: 1100px;
  max-height: 92vh;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.3);
  background: #FFFFFF;
}

.ch-cart-pudo-dialog::backdrop {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(2px);
}

.ch-cart-pudo-dialog__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  border-bottom: 1px solid var(--ch-border);
  background: #FFFFFF;
}

.ch-cart-pudo-dialog__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  color: var(--ch-navy);
  line-height: 1.3;
}

.ch-cart-pudo-dialog__close {
  background: transparent !important;
  border: none !important;
  font-size: 26px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  color: var(--ch-text) !important;
  padding: 6px 10px !important;
  border-radius: 6px !important;
}

.ch-cart-pudo-dialog__close:hover,
.ch-cart-pudo-dialog__close:focus {
  background: var(--ch-blush-soft) !important;
  color: var(--ch-navy) !important;
  outline: none !important;
}

.ch-cart-pudo-dialog__body {
  padding: 0;
  margin: 0;
  background: #FFFFFF;
}

.ch-cart-pudo-dialog__body iframe {
  display: block;
  width: 100%;
  height: 720px;
  border: none;
}

@media (max-width: 600px) {
  .ch-cart-pudo-dialog {
    width: 100vw;
    max-width: 100vw;
    max-height: 100vh;
    height: 100vh;
    border-radius: 0;
    margin: 0;
  }
  .ch-cart-pudo-dialog__body iframe {
    height: calc(100vh - 60px);
  }
}

@media (max-width: 640px) {
  .woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
  .woocommerce-account .woocommerce-address-fields__field-wrapper {
    grid-template-columns: 1fr !important;
  }
  .woocommerce-checkout #customer_details .col-1,
  .woocommerce-checkout #customer_details .col-2,
  .woocommerce-checkout #order_review {
    padding: 20px 18px;
  }
}

.woocommerce form .form-row .select2-container {
  width: 100% !important;
}

.woocommerce .select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--single {
  height: 44px !important;
  min-height: 44px !important;
  border: 1.5px solid var(--ch-border-soft) !important;
  border-radius: 10px !important;
  background: var(--ch-white) !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 34px 0 14px !important;
}

.woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered,
.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 42px !important;
  padding: 0 !important;
  color: var(--ch-navy) !important;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.woocommerce .select2-container--default .select2-selection--single .select2-selection__placeholder,
.select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: var(--ch-muted) !important;
}

.woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow,
.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 42px !important;
  top: 1px !important;
  right: 8px !important;
}

.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--single {
  border-color: var(--ch-coral) !important;
  box-shadow: 0 0 0 3px rgba(246, 142, 143, 0.25);
}

.select2-dropdown {
  border: 1.5px solid var(--ch-border-soft) !important;
  border-radius: 10px !important;
  box-shadow: var(--ch-shadow) !important;
  overflow: hidden;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] {
  background-color: var(--ch-navy) !important;
  color: var(--ch-white) !important;
}

.ch-postcode-help {
  display: block;
  margin-top: 6px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--ch-muted);
}

.ch-postcode-help a {
  color: var(--ch-navy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ch-postcode-help a:hover {
  color: var(--ch-coral-deep);
}

/* Seguimiento visual de pedido y botón "Necesito ayuda" en Mi Cuenta */
.ch-order-tracker {
  background: var(--ch-white);
  border: 1.5px solid var(--ch-border);
  border-radius: 18px;
  padding: 22px 24px;
  margin: 0 0 24px;
  box-shadow: var(--ch-shadow);
}

.ch-order-tracker.ch-tracker-alerta {
  border-color: var(--ch-coral);
  background: #FFF9F9;
}

.ch-order-tracker-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
}

.ch-order-tracker-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ch-coral-deep);
  margin-bottom: 4px;
}

.ch-order-tracker h3 {
  margin: 0 0 6px !important;
  font-size: 1.25rem;
  color: var(--ch-navy);
}

.ch-order-tracker p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ch-text);
}

.ch-order-head-pills {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.ch-order-trk-pill {
  background: var(--ch-blush-soft);
  border: 1px solid var(--ch-border);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.84rem;
  color: var(--ch-navy);
}

.ch-order-eta-pill {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.84rem;
  color: #166534;
  font-weight: 700;
}

.ch-order-eta-info {
  margin-top: 10px;
  padding: 9px 14px;
  background: #F8FAFC;
  border: 1px solid var(--ch-border-soft);
  border-radius: 12px;
  font-size: 0.86rem;
  color: var(--ch-navy);
  line-height: 1.45;
}

.ch-eta-disclaimer {
  display: block;
  margin-top: 3px;
  font-size: 0.76rem;
  color: var(--ch-muted);
}

.ch-eta-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #166534;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.ch-eta-entregado {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  color: #475569;
  font-size: 0.8rem;
  font-weight: 700;
}

.ch-order-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  list-style: none !important;
  margin: 18px 0 0 !important;
  padding: 16px 0 0 !important;
  border-top: 1px solid var(--ch-border);
}

.ch-order-steps li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  color: var(--ch-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.ch-step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ch-paper);
  border: 1.5px solid var(--ch-border-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--ch-muted);
}

.ch-order-steps li.is-done,
.ch-order-steps li.is-active {
  color: var(--ch-navy);
}

.ch-order-steps li.is-done .ch-step-dot {
  background: var(--ch-navy);
  border-color: var(--ch-navy);
  color: var(--ch-white);
}

.ch-order-steps li.is-active .ch-step-dot {
  background: var(--ch-coral);
  border-color: var(--ch-coral-deep);
  color: var(--ch-navy);
}

.ch-order-help-box {
  margin-top: 18px;
  padding: 14px 16px;
  background: var(--ch-blush-soft);
  border: 1px solid var(--ch-border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.ch-order-help-box strong {
  display: block;
  font-size: 0.92rem;
  color: var(--ch-navy);
}

.ch-order-help-box span {
  display: block;
  font-size: 0.82rem;
  color: var(--ch-muted);
  margin-top: 2px;
}

.ch-order-help-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ch-btn-help-primary,
.ch-btn-help-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none !important;
}

.ch-btn-help-primary {
  background: var(--ch-navy);
  color: var(--ch-white) !important;
}

.ch-btn-help-primary:hover {
  background: var(--ch-coral-deep);
}

.ch-btn-help-secondary {
  background: var(--ch-white);
  color: var(--ch-navy) !important;
  border: 1.5px solid var(--ch-border-soft);
}

.ch-btn-help-secondary:hover {
  border-color: var(--ch-coral);
}

@media (max-width: 640px) {
  .ch-order-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ==========================================================================
   Checkout Guiado en 3 Etapas (1 Mis datos → 2 Entrega → 3 Pago)
   ========================================================================== */
.ch-chk-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 24px;
  padding: 12px 18px;
  background: var(--ch-white);
  border: 1.5px solid var(--ch-border);
  border-radius: 999px;
  box-shadow: var(--ch-shadow);
}

.ch-stp-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 0;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--ch-muted);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.ch-stp-item:hover {
  color: var(--ch-navy);
}

.ch-stp-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ch-paper);
  border: 1.5px solid var(--ch-border-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--ch-muted);
}

.ch-stp-item.is-active {
  color: var(--ch-navy);
  font-weight: 800;
  background: var(--ch-blush-soft);
}

.ch-stp-item.is-active .ch-stp-num {
  background: var(--ch-navy);
  border-color: var(--ch-navy);
  color: var(--ch-white);
}

.ch-stp-item.is-done {
  color: var(--ch-navy);
}

.ch-stp-item.is-done .ch-stp-num {
  background: var(--ch-coral);
  border-color: var(--ch-coral-deep);
  color: var(--ch-navy);
}

.ch-stp-sep {
  color: var(--ch-border-soft);
  font-size: 1.1rem;
  font-weight: 700;
}

/* Grilla 2 columnas estilo Easy: Izquierda (Etapa activa) | Derecha (Resumen de compra sticky) */
form.checkout.ch-wizard-active {
  display: grid !important;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.95fr) !important;
  gap: 28px !important;
  align-items: start !important;
}

form.checkout.ch-wizard-active > .woocommerce-NoticeGroup,
form.checkout.ch-wizard-active > .woocommerce-error,
form.checkout.ch-wizard-active > .woocommerce-message {
  grid-column: 1 / -1 !important;
}

form.checkout.ch-wizard-active #customer_details.col2-set {
  grid-column: 1 !important;
  grid-template-columns: 1fr !important;
  gap: 18px !important;
  margin: 0 !important;
}

form.checkout.ch-wizard-active #order_review_heading {
  display: none !important;
}

form.checkout.ch-wizard-active #order_review {
  grid-column: 2 !important;
  grid-row: 1 / span 4 !important;
  position: sticky;
  top: 100px;
  padding: 22px 24px !important;
}

form.checkout.ch-wizard-active #order_review::before {
  content: "Resumen de compra";
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ch-navy);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid var(--ch-border);
}

/* Paso 1: Mis datos + Documento Tributario */
form.checkout.ch-step-1 .ch-f-step2,
form.checkout.ch-step-1 #billing_country_field,
form.checkout.ch-step-1 #billing_address_3_field,
form.checkout.ch-step-1 #billing_postcode_field,
form.checkout.ch-step-1 #customer_details .col-2,
form.checkout.ch-step-1 #payment,
form.checkout.ch-step-1 .ch-only-step2 {
  display: none !important;
}

/* Paso 2: Dirección + Complemento + Código postal (opcional) + Entrega + Selección de Envío */
form.checkout.ch-step-2 .ch-f-step1,
form.checkout.ch-step-2 #ch-documento-tributario-box,
form.checkout.ch-step-2 #payment,
form.checkout.ch-step-2 .ch-only-step1 {
  display: none !important;
}

form.checkout.ch-step-2 #billing_country_field {
  display: flex !important;
}

form.checkout.ch-step-2 #billing_address_3_field,
form.checkout.ch-step-2 #billing_postcode_field {
  display: block !important;
}

form.checkout.ch-step-2 tr.woocommerce-shipping-totals {
  background: transparent;
}

/* Paso 3: Resúmenes + Casillas legales + Pago en Columna 1, Resumen de compra sticky en Columna 2 */
form.checkout.ch-step-3 .woocommerce-billing-fields,
form.checkout.ch-step-3 #billing_country_field,
form.checkout.ch-step-3 #billing_address_3_field,
form.checkout.ch-step-3 #billing_postcode_field,
form.checkout.ch-step-3 #ch-documento-tributario-box,
form.checkout.ch-step-3 #customer_details .col-2,
form.checkout.ch-step-3 .ch-only-step1,
form.checkout.ch-step-3 .ch-only-step2 {
  display: none !important;
}

form.checkout.ch-step-3 #customer_details .col-1 {
  padding: 18px 20px !important;
}

form.checkout.ch-step-3 #order_review {
  display: contents !important;
}

form.checkout.ch-step-3 #order_review::before {
  display: none !important;
}

form.checkout.ch-step-3 .woocommerce-checkout-review-order-table {
  grid-column: 2 !important;
  grid-row: 1 / span 4 !important;
  position: sticky;
  top: 100px;
  background: var(--ch-white);
  border: 1.5px solid var(--ch-border) !important;
  border-radius: 20px !important;
  padding: 20px 22px !important;
  box-shadow: var(--ch-shadow);
}

form.checkout.ch-step-3 .woocommerce-checkout-review-order-table::before {
  content: "Resumen de compra";
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ch-navy);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid var(--ch-border);
}

/* ==========================================================================
   Resumen de compra (Checkout) y Resumen del Carrito — Tarjetas modernas sin bordes cuadrados
   ========================================================================== */
.woocommerce-checkout table.woocommerce-checkout-review-order-table {
  display: block !important;
  border: none !important;
  background: transparent !important;
  margin: 0 !important;
  width: 100% !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table thead {
  display: none !important;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table tbody,
.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot {
  display: block !important;
  width: 100% !important;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table tr {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid var(--ch-border) !important;
  padding: 12px 0 !important;
  box-sizing: border-box;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table th,
.woocommerce-checkout table.woocommerce-checkout-review-order-table td {
  display: block !important;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  font-size: 0.9rem;
  color: var(--ch-navy);
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.cart_item td.product-name {
  flex: 1 1 auto;
  min-width: 0;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.cart_item td.product-total,
.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.cart-subtotal td,
.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.cart-discount td,
.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.fee td,
.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-total td {
  text-align: right !important;
  white-space: nowrap;
  flex-shrink: 0;
  font-weight: 700;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.cart-subtotal th,
.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.cart-discount th,
.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.fee th {
  font-weight: 600 !important;
  color: var(--ch-muted) !important;
  text-align: left !important;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-total {
  border-bottom: none !important;
  border-top: 1.5px solid var(--ch-border) !important;
  padding-top: 16px !important;
  padding-bottom: 4px !important;
  align-items: flex-start !important;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-total th,
.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-total td {
  font-size: 1.12rem !important;
  font-weight: 800 !important;
  color: var(--ch-navy) !important;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-total small.includes_tax {
  display: block;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--ch-muted);
  margin-top: 2px;
}

/* Bloque de Envío a ancho completo dentro del Resumen (evita columna angosta apretada) */
.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals {
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 8px !important;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals th,
.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td {
  width: 100% !important;
  text-align: left !important;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals th {
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ch-muted) !important;
}

/* Tarjeta de producto con miniatura exacta de la variante en Checkout */
.ch-chk-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.ch-chk-item-thumb {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--ch-paper);
  border: 1px solid var(--ch-border);
  padding: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ch-chk-item-thumb img.ch-chk-thumb-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  border-radius: 8px;
  margin: 0 !important;
}

.ch-chk-item-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.ch-chk-item-name {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ch-navy);
}

.ch-chk-item-sku {
  font-size: 0.74rem;
  color: var(--ch-muted);
  font-weight: 600;
}

.ch-chk-qty-pill {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--ch-blush-soft);
  border: 1px solid var(--ch-border);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--ch-navy);
}

/* Tarjetas de métodos de envío más limpias */
.woocommerce-checkout ul#shipping_method li,
.woocommerce-cart ul#shipping_method li {
  background: var(--ch-paper) !important;
  border: 1.5px solid var(--ch-border) !important;
  border-radius: 14px !important;
  padding: 11px 14px !important;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.woocommerce-checkout ul#shipping_method li:has(input:checked),
.woocommerce-cart ul#shipping_method li:has(input:checked) {
  background: #FFF9F9 !important;
  border-color: var(--ch-coral) !important;
}

/* Carrito (/carrito/): tabla y Resumen del carrito modernos estilo tarjeta */
.woocommerce-cart .woocommerce-cart-form table.shop_table {
  border: 1.5px solid var(--ch-border) !important;
  border-radius: 20px !important;
  background: var(--ch-white) !important;
  box-shadow: var(--ch-shadow);
  border-collapse: separate !important;
  border-spacing: 0 !important;
  overflow: hidden;
}

.woocommerce-cart .woocommerce-cart-form table.shop_table thead th {
  background: var(--ch-paper) !important;
  border: none !important;
  border-bottom: 1.5px solid var(--ch-border) !important;
  color: var(--ch-muted) !important;
  font-size: 0.78rem !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 14px 16px !important;
}

.woocommerce-cart .woocommerce-cart-form table.shop_table td {
  border: none !important;
  border-bottom: 1px solid var(--ch-border) !important;
  padding: 16px !important;
  vertical-align: middle !important;
  background: transparent !important;
}

.woocommerce-cart .woocommerce-cart-form table.shop_table td.product-thumbnail img {
  width: 68px !important;
  height: 68px !important;
  object-fit: contain !important;
  background: var(--ch-paper);
  border: 1px solid var(--ch-border);
  border-radius: 12px !important;
  padding: 4px;
}

/* Carrito (/carrito/): cupón de descuento con ancho amplio y alineación perfecta */
.woocommerce-cart table.cart td.actions {
  padding-top: 18px !important;
  padding-bottom: 18px !important;
}

.woocommerce-cart table.cart td.actions .coupon {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

.woocommerce-cart table.cart td.actions .coupon label[for="coupon_code"] {
  display: none !important;
}

.woocommerce-cart table.cart td.actions .coupon input#coupon_code,
.woocommerce-cart table.cart td.actions .coupon input.input-text {
  width: 200px !important;
  min-width: 180px !important;
  max-width: 240px !important;
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 16px !important;
  font-size: 0.92rem !important;
  border: 1.5px solid var(--ch-border) !important;
  border-radius: 999px !important;
  background: var(--ch-white) !important;
  color: var(--ch-navy) !important;
  box-sizing: border-box !important;
  line-height: normal !important;
  box-shadow: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.woocommerce-cart table.cart td.actions .coupon input#coupon_code:focus {
  border-color: var(--ch-coral) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(224, 122, 95, 0.15) !important;
}

.woocommerce-cart table.cart td.actions .coupon button[name="apply_coupon"] {
  height: 42px !important;
  min-height: 42px !important;
  line-height: 40px !important;
  border-radius: 999px !important;
  padding: 0 20px !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  background: var(--ch-paper) !important;
  color: var(--ch-navy) !important;
  border: 1.5px solid var(--ch-border) !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.woocommerce-cart table.cart td.actions .coupon button[name="apply_coupon"]:hover {
  background: var(--ch-navy) !important;
  color: var(--ch-white) !important;
  border-color: var(--ch-navy) !important;
}

.woocommerce-cart table.cart td.actions button[name="update_cart"] {
  height: 42px !important;
  min-height: 42px !important;
  line-height: 40px !important;
  border-radius: 999px !important;
  padding: 0 20px !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
}

.woocommerce-cart .cart-collaterals .cart_totals {
  background: var(--ch-white) !important;
  border: 1.5px solid var(--ch-border) !important;
  border-radius: 20px !important;
  padding: 24px 26px !important;
  box-shadow: var(--ch-shadow);
}

.woocommerce-cart .cart-collaterals .cart_totals h2 {
  margin: 0 0 14px !important;
  padding-bottom: 10px;
  border-bottom: 1.5px solid var(--ch-border);
  font-size: 1.2rem !important;
  font-weight: 800 !important;
  color: var(--ch-navy) !important;
}

.woocommerce-cart .cart-collaterals .cart_totals table.shop_table {
  display: block !important;
  border: none !important;
  background: transparent !important;
  margin: 0 0 16px !important;
  width: 100% !important;
}

.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tbody {
  display: block !important;
  width: 100% !important;
}

.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
  border-bottom: 1px solid var(--ch-border) !important;
  padding: 12px 0 !important;
}

.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr.woocommerce-shipping-totals {
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 8px !important;
}

.woocommerce-cart .cart-collaterals .cart_totals table.shop_table th,
.woocommerce-cart .cart-collaterals .cart_totals table.shop_table td {
  display: block !important;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
}

.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr.woocommerce-shipping-totals th {
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ch-muted) !important;
  text-align: left !important;
}

.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr.cart-subtotal td,
.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr.order-total td {
  text-align: right !important;
  font-weight: 700;
}

.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr.order-total {
  border-bottom: none !important;
  padding-top: 14px !important;
}

.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr.order-total th,
.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr.order-total td {
  font-size: 1.12rem !important;
  font-weight: 800 !important;
  color: var(--ch-navy) !important;
}

.woocommerce-cart .cart-collaterals .cart_totals .wc-proceed-to-checkout a.checkout-button {
  width: 100% !important;
  border-radius: 999px !important;
  padding: 14px 24px !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  background: var(--ch-navy) !important;
  color: var(--ch-white) !important;
}

.woocommerce-cart .cart-collaterals .cart_totals .wc-proceed-to-checkout a.checkout-button:hover {
  background: var(--ch-coral-deep) !important;
}

form.checkout.ch-step-3 #payment {
  grid-column: 1 !important;
  background: var(--ch-white) !important;
  border: 1.5px solid var(--ch-border) !important;
  border-radius: 20px !important;
  padding: 22px 24px !important;
  box-shadow: var(--ch-shadow);
}

/* Tarjetas resumen entre etapas */
.ch-step-summaries {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.ch-step-summaries:empty {
  display: none;
}

.ch-sum-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: var(--ch-paper);
  border: 1px solid var(--ch-border);
  border-radius: 12px;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--ch-navy);
}

.ch-sum-kicker {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ch-coral-deep);
  margin-bottom: 2px;
}

.ch-sum-doc {
  margin-top: 3px;
  font-size: 0.82rem;
  color: var(--ch-muted);
}

.ch-sum-edit {
  background: transparent;
  border: 1px solid var(--ch-border-soft);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ch-navy);
  cursor: pointer;
  flex-shrink: 0;
}

.ch-sum-edit:hover {
  border-color: var(--ch-coral);
  color: var(--ch-coral-deep);
}

/* Botones de navegación entre etapas */
.ch-step-nav {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--ch-border);
}

.ch-step-nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ch-btn-next {
  background: var(--ch-navy);
  color: var(--ch-white);
  border: 0;
  border-radius: 999px;
  padding: 12px 26px;
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
}

.ch-btn-next:hover {
  background: var(--ch-coral-deep);
}

.ch-btn-back {
  background: var(--ch-white);
  color: var(--ch-navy);
  border: 1.5px solid var(--ch-border-soft);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.ch-step-err {
  display: none;
  margin-bottom: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  color: #991B1B;
  font-size: 0.84rem;
  font-weight: 600;
}

/* Casillas legales (texto más pequeño) ANTES de seleccionar el medio de pago */
.ch-legal-before-payment {
  margin: 0 0 18px !important;
  padding: 12px 14px !important;
  background: var(--ch-paper) !important;
  border: 1px solid var(--ch-border) !important;
  border-radius: 12px !important;
}

.ch-legal-before-payment.is-missing {
  border-color: #DC2626 !important;
  background: #FEF2F2 !important;
}

.ch-field-missing input,
.ch-field-missing select,
.ch-field-missing textarea,
.ch-field-missing .select2-selection--single {
  border-color: #DC2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.16) !important;
}

ul#shipping_method.ch-field-missing {
  padding: 6px !important;
  border: 1.5px solid #DC2626 !important;
  border-radius: 14px !important;
  background: #FEF2F2 !important;
}

.ch-legal-before-payment,
.ch-legal-before-payment p,
.ch-legal-before-payment label,
.ch-legal-before-payment span,
.ch-legal-before-payment .woocommerce-privacy-policy-text {
  font-size: 0.77rem !important;
  line-height: 1.45 !important;
  color: var(--ch-muted) !important;
}

.ch-legal-before-payment .form-row,
.ch-legal-before-payment p {
  margin: 0 0 6px !important;
}

.ch-legal-before-payment .form-row:last-child,
.ch-legal-before-payment p:last-child {
  margin-bottom: 0 !important;
}

.ch-legal-before-payment a {
  color: var(--ch-navy) !important;
  text-decoration: underline !important;
}

/* Aviso de casillas sin marcar JUNTO AL BOTÓN "Realizar el pedido" */
.woocommerce-checkout #payment .place-order {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 10px !important;
  margin-top: 16px !important;
}

.ch-place-order-alert {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  background: #FEF2F2;
  border: 1.5px solid #EF4444;
  color: #991B1B;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.4;
}

@media (max-width: 960px) {
  form.checkout.ch-wizard-active {
    grid-template-columns: 1fr !important;
  }
  form.checkout.ch-wizard-active #order_review,
  form.checkout.ch-step-3 .woocommerce-checkout-review-order-table {
    grid-column: 1 !important;
    grid-row: auto !important;
    position: static !important;
  }
}

/* Bloques de Boleta / Factura y Entrega en Checkout */
.ch-checkout-box {
  background: var(--ch-blush-soft);
  border: 1.5px solid var(--ch-border);
  border-radius: 16px;
  padding: 20px;
  margin: 18px 0;
}

.ch-checkout-box h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
  color: var(--ch-navy);
}

.ch-doc-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.ch-doc-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--ch-white);
  border: 1.5px solid var(--ch-border);
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
  color: var(--ch-navy);
}

.ch-doc-option.is-selected {
  border-color: var(--ch-coral-deep);
  background: var(--ch-peach);
}

.ch-doc-option input[type="radio"] {
  accent-color: var(--ch-navy);
  width: 18px;
  height: 18px;
  margin: 0;
}

/* ==========================================================================
   Mi Cuenta (/mi-cuenta/), Direcciones y Login/Registro (100 % sin superposición)
   ========================================================================== */

.woocommerce-account .woocommerce {
  display: grid !important;
  grid-template-columns: 260px minmax(0, 1fr) !important;
  gap: 28px !important;
  align-items: start !important;
  width: 100%;
}

.woocommerce-account .woocommerce > .woocommerce-notices-wrapper,
.woocommerce-account .woocommerce > h2 {
  grid-column: 1 / -1;
}

/* Cuando NO hay sesión (Login + Registro lado a lado) */
.woocommerce-account .woocommerce > #customer_login,
#customer_login.u-columns {
  grid-column: 1 / -1 !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 28px !important;
  width: 100% !important;
}

#customer_login .u-column1,
#customer_login .u-column2 {
  width: 100% !important;
  float: none !important;
  background: var(--ch-white);
  border: 1.5px solid var(--ch-border);
  border-radius: 18px;
  padding: 26px;
  box-shadow: var(--ch-shadow);
  min-width: 0 !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
  width: 100% !important;
  float: none !important;
  min-width: 0 !important;
  background: var(--ch-white);
  border: 1.5px solid var(--ch-border);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--ch-shadow);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li + li {
  margin-top: 4px;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--ch-navy);
  font-weight: 600;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
  background: var(--ch-coral);
  color: var(--ch-navy);
}

.woocommerce-account .woocommerce-MyAccount-content {
  width: 100% !important;
  float: none !important;
  min-width: 0 !important;
  background: var(--ch-white);
  border: 1.5px solid var(--ch-border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--ch-shadow);
  overflow-wrap: break-word;
}

/* Fix Direcciones (/mi-cuenta/edit-address/): columnas claras y cero superposición */
.woocommerce-account .woocommerce-Addresses.u-columns,
.woocommerce-account .addresses.u-columns {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 22px !important;
  width: 100% !important;
  margin-top: 18px !important;
}

.woocommerce-account .woocommerce-Address,
.woocommerce-account .woocommerce-Addresses .u-column1,
.woocommerce-account .woocommerce-Addresses .u-column2 {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  margin: 0 !important;
  min-width: 0 !important;
  background: var(--ch-paper);
  border: 1.5px solid var(--ch-border);
  border-radius: 16px;
  padding: 22px;
}

.woocommerce-account .woocommerce-Address-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1px solid var(--ch-border);
  padding-bottom: 10px;
  margin-bottom: 12px;
}

.woocommerce-account .woocommerce-Address-title h2,
.woocommerce-account .woocommerce-Address-title h3 {
  font-size: 1.15rem !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  color: var(--ch-navy);
}

.woocommerce-account .woocommerce-Address address {
  font-style: normal;
  line-height: 1.6;
  color: var(--ch-text);
  margin: 0;
}

.woocommerce-account .woocommerce-orders-table {
  display: block;
  overflow-x: auto;
  width: 100%;
}

/* Formularios Acceder / Registrarse sin doble borde */
#customer_login form.login,
#customer_login form.register {
  border: 0 !important;
  padding: 0 !important;
  margin: 12px 0 0 !important;
  background: transparent !important;
}

#customer_login h2 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 1.45rem;
}

.woocommerce form .form-row label.woocommerce-form-login__rememberme {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin: 8px 0 0 14px !important;
  vertical-align: middle;
}

.woocommerce-form-login .woocommerce-LostPassword {
  margin: 14px 0 0 !important;
}

/* Detalles de la cuenta: separación limpia de fieldset y botón Guardar los cambios */
.woocommerce-EditAccountForm .form-row {
  margin-bottom: 16px;
}

.woocommerce-EditAccountForm fieldset {
  background: var(--ch-paper);
  border: 1.5px solid var(--ch-border);
  border-radius: 16px;
  padding: 20px 22px 10px;
  margin: 24px 0 26px !important;
  clear: both;
}

.woocommerce-EditAccountForm fieldset legend {
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--ch-navy);
  background: var(--ch-white);
  border: 1.5px solid var(--ch-border);
  border-radius: 999px;
  padding: 4px 14px;
}

.woocommerce-EditAccountForm p:has(button[name="save_account_details"]) {
  clear: both;
  margin: 24px 0 0 !important;
  padding-top: 20px;
  border-top: 1px solid var(--ch-border);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.woocommerce-EditAccountForm button[name="save_account_details"] {
  margin-top: 8px;
  min-width: 210px;
}

/* Zona de supresión de datos / Eliminar mi cuenta (Ley N° 21.719) */
.ch-danger-zone {
  margin-top: 34px;
  padding: 24px 26px;
  background: #FFF6F6;
  border: 1.5px solid #F2BEC2;
  border-radius: 16px;
}

.ch-danger-zone h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  color: #8F2532;
}

.ch-danger-zone p {
  margin: 0 0 14px;
  color: var(--ch-text);
  line-height: 1.55;
}

.ch-danger-details summary.ch-btn-danger,
.ch-btn-danger {
  background-color: var(--ch-white) !important;
  color: #A62634 !important;
  border: 1.5px solid #C94A58 !important;
  border-radius: 999px !important;
  padding: 11px 22px !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  list-style: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ch-danger-details summary.ch-btn-danger::-webkit-details-marker {
  display: none;
}

.ch-danger-details summary.ch-btn-danger:hover,
.ch-btn-danger:hover,
.ch-btn-danger-solid {
  background-color: #B42334 !important;
  border-color: #B42334 !important;
  border-radius: 999px !important;
  padding: 12px 24px !important;
  font-weight: 700 !important;
  color: var(--ch-white) !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.ch-btn-danger-solid:hover {
  background-color: #8F1A28 !important;
  border-color: #8F1A28 !important;
}

.ch-danger-confirm-box {
  margin-top: 18px;
  padding: 18px 20px;
  background: var(--ch-white);
  border: 1.5px solid #E89CA4;
  border-radius: 14px;
}

.ch-danger-confirm-box .ch-danger-warning {
  background: #FDECEE;
  color: #7D1D28;
  border-left: 4px solid #B42334;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 600;
  margin-bottom: 16px;
}

.ch-danger-confirm-box input[type="password"] {
  width: 100%;
  max-width: 380px;
  padding: 11px 14px;
  border: 1.5px solid var(--ch-border);
  border-radius: 10px;
  font-family: inherit;
}

.ch-danger-confirm-box label.ch-danger-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0 18px;
  font-weight: 600;
  color: #7D1D28;
  cursor: pointer;
}

.ch-danger-confirm-box label.ch-danger-check input[type="checkbox"] {
  margin-top: 3px;
  accent-color: #B42334;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.ch-danger-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   Pie de Página Corporativo (#1F3557 con acento #F68E8F)
   ========================================================================== */

.ch-footer {
  background: var(--ch-navy);
  color: #E8ECF8;
  border-top: 5px solid var(--ch-coral);
  padding: 52px 0 26px;
  margin-top: 56px;
  font-size: 0.92rem;
}

.ch-footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.ch-footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.ch-footer h4 {
  font-family: var(--ch-font-sans);
  color: var(--ch-coral);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 14px;
}

.ch-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ch-footer li {
  margin-bottom: 9px;
}

.ch-footer a {
  color: #E8ECF8;
  text-decoration: none;
}

.ch-footer a:hover {
  color: var(--ch-coral);
  text-decoration: underline;
}

.ch-footer-bottom {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.84rem;
  color: #D2D9EC;
}

/* ==========================================================================
   Producto: Tabla Información Adicional, Quick-Buy en Tienda y Página Nosotros
   ========================================================================== */

.woocommerce table.shop_attributes,
.woocommerce table.woocommerce-product-attributes,
.woocommerce-page table.shop_attributes,
.woocommerce-page table.woocommerce-product-attributes {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border: 1.5px solid var(--ch-border) !important;
  border-radius: 14px !important;
  overflow: hidden;
  background: var(--ch-white);
  margin: 14px 0 24px !important;
}

.woocommerce table.shop_attributes th,
.woocommerce table.woocommerce-product-attributes th,
.woocommerce-page table.shop_attributes th,
.woocommerce-page table.woocommerce-product-attributes th {
  width: 32% !important;
  min-width: 140px;
  padding: 14px 20px !important;
  background: var(--ch-paper) !important;
  color: var(--ch-navy) !important;
  font-weight: 700 !important;
  font-style: normal !important;
  text-align: left !important;
  vertical-align: middle !important;
  border-top: 0 !important;
  border-right: 1px solid var(--ch-border) !important;
  border-bottom: 1px solid var(--ch-border) !important;
}

.woocommerce table.shop_attributes td,
.woocommerce table.woocommerce-product-attributes td,
.woocommerce-page table.shop_attributes td,
.woocommerce-page table.woocommerce-product-attributes td {
  padding: 14px 20px !important;
  background: var(--ch-white) !important;
  color: var(--ch-text) !important;
  font-style: normal !important;
  text-align: left !important;
  vertical-align: middle !important;
  line-height: 1.55 !important;
  border-top: 0 !important;
  border-bottom: 1px solid var(--ch-border) !important;
}

.woocommerce table.shop_attributes tr:last-child th,
.woocommerce table.shop_attributes tr:last-child td,
.woocommerce table.woocommerce-product-attributes tr:last-child th,
.woocommerce table.woocommerce-product-attributes tr:last-child td {
  border-bottom: 0 !important;
}

.woocommerce table.shop_attributes td p,
.woocommerce table.woocommerce-product-attributes td p {
  margin: 0 !important;
  padding: 0 !important;
  font-style: normal !important;
}

/* Quick-Buy en tarjetas de tienda (selector de variación + Agregar al carrito + Comprar ahora) */
.ch-loop-quickbuy {
  margin-top: 10px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ch-loop-var-select {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid var(--ch-border);
  border-radius: 10px;
  background: var(--ch-paper);
  color: var(--ch-navy);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.woocommerce ul.products li.product a.ch-btn-loop-buy-primary,
.woocommerce ul.products li.product button.ch-btn-loop-buy-primary,
.ch-btn-loop-buy-primary {
  width: 100% !important;
  margin: 0 !important;
  background-color: var(--ch-coral-deep) !important;
  color: var(--ch-white) !important;
  border: 1.5px solid var(--ch-coral-deep) !important;
  border-radius: 999px !important;
  padding: 11px 16px !important;
  font-family: inherit !important;
  font-size: 0.94rem !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  box-sizing: border-box;
  box-shadow: 0 6px 16px rgba(217, 99, 106, 0.28);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.woocommerce ul.products li.product a.ch-btn-loop-buy-primary:hover,
.woocommerce ul.products li.product button.ch-btn-loop-buy-primary:hover,
.ch-btn-loop-buy-primary:hover {
  background-color: var(--ch-navy) !important;
  border-color: var(--ch-navy) !important;
  color: var(--ch-white) !important;
  transform: translateY(-1px);
}

.ch-loop-icon-bar {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 7px;
  width: 100%;
}

.ch-single-utility-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
  float: none !important;
  clear: both !important;
  margin-top: 10px;
}

.woocommerce ul.products li.product .ch-ico-btn,
.ch-ico-btn {
  height: 38px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: inherit !important;
  font-size: 0.83rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  cursor: pointer;
  text-decoration: none !important;
  box-sizing: border-box;
  transition: all 0.18s ease;
}

.woocommerce ul.products li.product .ch-ico-cart,
.ch-ico-cart {
  background-color: #EEF2F8 !important;
  border: 1.5px solid var(--ch-navy) !important;
  color: var(--ch-navy) !important;
}

.woocommerce ul.products li.product .ch-ico-cart:hover,
.ch-ico-cart:hover {
  background-color: var(--ch-navy) !important;
  border-color: var(--ch-navy) !important;
  color: var(--ch-white) !important;
}

.woocommerce ul.products li.product .ch-ico-wish,
.ch-ico-wish {
  background-color: var(--ch-blush-soft) !important;
  border: 1.5px solid var(--ch-border) !important;
  color: var(--ch-navy) !important;
}

.woocommerce ul.products li.product .ch-ico-wish:hover,
.ch-ico-wish:hover {
  border-color: var(--ch-coral-deep) !important;
  color: var(--ch-coral-deep) !important;
}

.woocommerce ul.products li.product .ch-ico-wish.is-active,
.ch-ico-wish.is-active {
  background-color: var(--ch-coral-deep) !important;
  border-color: var(--ch-coral-deep) !important;
  color: var(--ch-white) !important;
}

.ch-ico-wish.is-active svg path {
  fill: currentColor;
}

.woocommerce ul.products li.product .ch-ico-share,
.ch-ico-share {
  background-color: var(--ch-paper) !important;
  border: 1.5px solid var(--ch-border) !important;
  color: var(--ch-text) !important;
}

.woocommerce ul.products li.product .ch-ico-share:hover,
.ch-ico-share:hover {
  border-color: var(--ch-navy) !important;
  color: var(--ch-navy) !important;
}

.ch-ico-share.is-copied {
  background-color: #ECFDF3 !important;
  border-color: #16A34A !important;
  color: #166534 !important;
}

.ch-ico-share.is-copied::after {
  content: '✓';
  font-size: 0.78rem;
  font-weight: 800;
}

.ch-single-utility-row .ch-ico-share.is-copied::after {
  content: '';
}

.woocommerce div.product form.cart button.single_add_to_cart_button {
  background-color: #EEF2F8 !important;
  color: var(--ch-navy) !important;
  border: 1.5px solid var(--ch-navy) !important;
}

.woocommerce div.product form.cart button.single_add_to_cart_button:hover {
  background-color: var(--ch-navy) !important;
  border-color: var(--ch-navy) !important;
  color: var(--ch-white) !important;
}

.woocommerce div.product form.cart .ch-btn-buy-now,
.ch-btn-buy-now {
  width: 100%;
  float: none !important;
  clear: both !important;
  margin-top: 10px !important;
  background-color: var(--ch-coral-deep) !important;
  color: var(--ch-white) !important;
  border: 1.5px solid var(--ch-coral-deep) !important;
  border-radius: 999px !important;
  padding: 13px 22px !important;
  font-family: inherit !important;
  font-size: 0.98rem !important;
  font-weight: 800 !important;
  box-shadow: 0 6px 16px rgba(217, 99, 106, 0.28);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-sizing: border-box;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.woocommerce div.product form.cart .ch-btn-buy-now:hover,
.ch-btn-buy-now:hover {
  background-color: var(--ch-navy) !important;
  border-color: var(--ch-navy) !important;
  color: var(--ch-white) !important;
}

.single_add_to_cart_button.disabled ~ .ch-btn-buy-now {
  opacity: 0.62;
}

/* Página Nosotros mejorada: iconos SVG, tarjetas sociales y bloques CTA */
.ch-nosotros-hero {
  background: linear-gradient(135deg, var(--ch-blush-soft) 0%, var(--ch-peach) 100%);
  border: 1.5px solid var(--ch-border);
  border-radius: 22px;
  padding: 34px 30px;
  margin-bottom: 30px;
  box-shadow: var(--ch-shadow);
}

.ch-nosotros-hero h1 {
  margin: 12px 0 12px;
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  color: var(--ch-navy);
}

.ch-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--ch-blush-soft);
  border: 1.5px solid var(--ch-border);
  color: var(--ch-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.ch-social-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0 18px;
}

.ch-social-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  min-width: 0;
  overflow: hidden;
  background: var(--ch-white);
  border: 1.5px solid var(--ch-border);
  border-radius: 16px;
  text-decoration: none !important;
  color: var(--ch-navy) !important;
  box-shadow: var(--ch-shadow);
  transition: transform 0.16s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.ch-social-card p,
.ch-social-card br {
  display: none;
}

.ch-social-card:hover {
  transform: translateY(-2px);
  border-color: var(--ch-coral-deep);
  background: var(--ch-blush-soft);
}

.ch-social-ico {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ch-navy);
  color: var(--ch-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.18s ease;
}

.ch-social-card:hover .ch-social-ico {
  transform: scale(1.06);
}

.ch-social-ico.ch-brand-ig {
  background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FDF497 5%, #FD5949 45%, #D6249F 60%, #285AEB 90%);
}

.ch-social-ico.ch-brand-fb {
  background: #1877F2;
}

.ch-social-ico.ch-brand-wa {
  background: #25D366;
}

.ch-social-ico.ch-brand-ml {
  background: #FFE600;
  border: 1.5px solid #E6CF00;
}

.ch-social-ico.ch-brand-mail {
  background: var(--ch-coral-deep);
}

.ch-social-meta {
  min-width: 0;
  flex: 1;
}

.ch-social-meta strong {
  display: block;
  font-size: 0.96rem;
  color: var(--ch-navy);
  line-height: 1.25;
}

.ch-social-meta span {
  display: block;
  font-size: 0.82rem;
  color: var(--ch-text);
  margin-top: 2px;
  overflow-wrap: anywhere;
}

.ch-contact-strip {
  background: var(--ch-paper);
  border: 1.5px solid var(--ch-border);
  border-radius: 16px;
  padding: 18px 22px;
  margin-bottom: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ch-contact-strip-info {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ch-navy);
  line-height: 1.45;
}

.ch-contact-strip-info span {
  font-size: 0.86rem;
  color: var(--ch-text);
}

@media (max-width: 960px) {
  .ch-social-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .ch-social-grid {
    grid-template-columns: 1fr;
  }
}

.ch-cta-banner {
  background: linear-gradient(135deg, #FDF5F5 0%, #FFE1D8 100%);
  border: 1.5px solid var(--ch-coral);
  border-radius: 20px;
  padding: 28px 26px;
  margin-top: 28px;
  box-shadow: var(--ch-shadow-coral);
}

/* ==========================================================================
   Responsive Tablet y Móvil
   ========================================================================== */

/* ==========================================================================
   SEO Editorial: Intro de Tienda, Acordeón de Preguntas Frecuentes y Guías
   ========================================================================== */

.ch-shop-seo-intro {
  margin-top: 14px;
  color: var(--ch-text);
  font-size: 0.96rem;
  line-height: 1.65;
  max-width: 980px;
}

.ch-shop-seo-intro p {
  margin: 0 0 8px;
}

.ch-shop-seo-intro p:last-child {
  margin-bottom: 0;
}

.ch-shop-seo-intro a {
  color: var(--ch-navy);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--ch-coral);
  text-underline-offset: 3px;
}

.ch-guides-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.ch-guide-card {
  gap: 10px;
}

.ch-guide-tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--ch-blush-soft);
  color: var(--ch-coral-deep);
  border: 1px solid var(--ch-coral);
  border-radius: 999px;
  padding: 3px 11px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ch-guide-card h3 {
  font-size: 1.05rem;
  line-height: 1.35;
  margin: 2px 0 4px;
}

.ch-guide-card h3 a {
  text-decoration: none;
  color: var(--ch-navy);
}

.ch-guide-card h3 a:hover {
  color: var(--ch-coral-deep);
}

.ch-guide-card p {
  margin: 0;
  font-size: 0.92rem;
  flex: 1 1 auto;
}

.ch-guide-more {
  display: inline-flex;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ch-navy);
  text-decoration: none;
  margin-top: 6px;
}

.ch-guide-more:hover {
  color: var(--ch-coral-deep);
}

.ch-faq-section {
  margin-top: 28px;
  background: var(--ch-white);
  border: 1.5px solid var(--ch-border);
  border-radius: 20px;
  padding: 26px 28px;
  box-shadow: var(--ch-shadow);
}

.ch-faq-section h2,
.ch-faq-section h3 {
  margin: 0 0 16px;
  color: var(--ch-navy);
  font-size: 1.35rem;
}

.ch-faq-list {
  display: grid;
  gap: 10px;
}

.ch-faq-item {
  border: 1px solid var(--ch-border);
  border-radius: 14px;
  background: var(--ch-paper);
  padding: 0;
  overflow: hidden;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.ch-faq-item[open] {
  border-color: var(--ch-coral);
  background: var(--ch-white);
}

.ch-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 44px 14px 18px;
  font-weight: 700;
  color: var(--ch-navy);
  font-size: 0.98rem;
  position: relative;
  user-select: none;
}

.ch-faq-item summary::-webkit-details-marker {
  display: none;
}

.ch-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ch-blush-soft);
  border: 1px solid var(--ch-coral);
  color: var(--ch-coral-deep);
  font-weight: 800;
  font-size: 1rem;
  line-height: 22px;
  text-align: center;
}

.ch-faq-item[open] summary::after {
  content: "−";
  background: var(--ch-navy);
  border-color: var(--ch-navy);
  color: var(--ch-white);
}

.ch-faq-item p {
  margin: 0;
  padding: 0 18px 16px;
  color: var(--ch-text);
  font-size: 0.94rem;
  line-height: 1.65;
}

.ch-guide-article {
  max-width: 880px;
  margin: 0 auto;
  background: var(--ch-white);
  border: 1.5px solid var(--ch-border);
  border-radius: 22px;
  padding: 34px 36px;
  box-shadow: var(--ch-shadow);
}

.ch-guide-article h2 {
  margin: 26px 0 12px;
  font-size: 1.42rem;
  color: var(--ch-navy);
}

.ch-guide-article h3 {
  margin: 20px 0 10px;
  font-size: 1.15rem;
  color: var(--ch-navy);
}

.ch-guide-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 24px;
  font-size: 0.94rem;
  border: 1px solid var(--ch-border);
  border-radius: 14px;
  overflow: hidden;
}

.ch-guide-table th,
.ch-guide-table td {
  border: 1px solid var(--ch-border);
  padding: 11px 14px;
  text-align: left;
  vertical-align: top;
}

.ch-guide-table th {
  background: var(--ch-blush-soft);
  color: var(--ch-navy);
  font-weight: 700;
}

.ch-guide-cta-box {
  margin: 26px 0;
  padding: 22px 24px;
  background: linear-gradient(135deg, var(--ch-blush-soft) 0%, var(--ch-peach) 100%);
  border: 1.5px solid var(--ch-coral);
  border-radius: 18px;
}

.ch-guide-cta-box h3 {
  margin: 0 0 8px;
  color: var(--ch-navy);
}

.ch-guide-cta-box p {
  margin: 0;
}

/* Archivo /category/guias-juridicas/ y Vista Individual de Guía */
body.archive:not(.woocommerce-page) .site-main .page-header,
body.blog .site-main .page-header {
  background: linear-gradient(135deg, var(--ch-blush-soft) 0%, var(--ch-peach) 100%);
  border: 1.5px solid var(--ch-border);
  border-radius: 22px;
  padding: 32px 34px;
  margin-bottom: 28px;
  box-shadow: var(--ch-shadow);
}

body.archive:not(.woocommerce-page) .site-main .page-header::before,
body.blog .site-main .page-header::before {
  content: "Centro de Recursos · CoreHogar Chile";
  display: inline-block;
  background: var(--ch-white);
  color: var(--ch-coral-deep);
  border: 1.5px solid var(--ch-coral);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

body.archive:not(.woocommerce-page) .site-main .page-header h1.entry-title,
body.blog .site-main .page-header h1.entry-title {
  margin: 0 0 10px;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  color: var(--ch-navy);
}

body.archive:not(.woocommerce-page) .site-main .page-header p,
body.blog .site-main .page-header p {
  margin: 0;
  max-width: 820px;
  color: var(--ch-text);
  font-size: 0.98rem;
  line-height: 1.65;
}

body.archive:not(.woocommerce-page) .site-main .page-header p:empty,
body.blog .site-main .page-header p:empty {
  display: none;
}

body.archive:not(.woocommerce-page) .site-main .page-content,
body.blog .site-main .page-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

body.archive:not(.woocommerce-page) .site-main article.post,
body.blog .site-main article.post {
  background: var(--ch-white);
  border: 1.5px solid var(--ch-border);
  border-top: 4px solid var(--ch-coral);
  border-radius: 20px;
  padding: 26px 26px 22px;
  box-shadow: var(--ch-shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

body.archive:not(.woocommerce-page) .site-main article.post:hover,
body.blog .site-main article.post:hover {
  transform: translateY(-4px);
  border-color: var(--ch-coral);
  box-shadow: var(--ch-shadow-coral);
}

body.archive:not(.woocommerce-page) .site-main article.post h2.entry-title,
body.blog .site-main article.post h2.entry-title {
  font-size: 1.22rem;
  line-height: 1.35;
  margin: 0;
}

body.archive:not(.woocommerce-page) .site-main article.post h2.entry-title a,
body.blog .site-main article.post h2.entry-title a {
  text-decoration: none;
  color: var(--ch-navy);
}

body.archive:not(.woocommerce-page) .site-main article.post h2.entry-title a:hover,
body.blog .site-main article.post h2.entry-title a:hover {
  color: var(--ch-coral-deep);
}

.ch-archive-excerpt {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ch-text);
  flex: 1 1 auto;
  margin: 0;
}

.ch-archive-card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--ch-border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.ch-archive-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ch-navy);
  color: var(--ch-white);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.ch-archive-readmore:hover {
  background: var(--ch-coral-deep);
  color: var(--ch-white);
}

.ch-archive-cta {
  grid-column: 1 / -1;
  margin-top: 6px;
  padding: 26px 30px;
  background: linear-gradient(135deg, var(--ch-blush-soft) 0%, var(--ch-peach) 100%);
  border: 1.5px solid var(--ch-border);
  border-radius: 22px;
  box-shadow: var(--ch-shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}

.ch-archive-cta-text {
  flex: 1 1 420px;
}

.ch-archive-cta h3 {
  margin: 0 0 6px;
  font-size: 1.28rem;
  color: var(--ch-navy);
}

.ch-archive-cta p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--ch-text);
}

body.single-post .site-main .page-header {
  max-width: 880px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--ch-blush-soft) 0%, var(--ch-peach) 100%);
  border: 1.5px solid var(--ch-border);
  border-radius: 20px;
  padding: 26px 32px;
  box-shadow: var(--ch-shadow);
}

body.single-post .site-main .page-header h1.entry-title {
  margin: 0;
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  color: var(--ch-navy);
  line-height: 1.25;
}

.ch-guide-breadcrumb {
  max-width: 880px;
  margin: 0 auto 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.ch-guide-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--ch-white);
  border: 1px solid var(--ch-border);
  color: var(--ch-navy);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.ch-guide-back:hover {
  background: var(--ch-blush-soft);
  border-color: var(--ch-coral);
  color: var(--ch-coral-deep);
}

body.single-post .post-tags {
  max-width: 880px;
  margin: 22px auto 0;
}

body.single-post .post-tags .tag-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0;
  color: transparent;
}

body.single-post .post-tags .tag-links::before {
  content: "Etiquetas:";
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ch-navy);
  margin-right: 4px;
}

body.single-post .post-tags .tag-links a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ch-navy);
  background: var(--ch-white);
  border: 1px solid var(--ch-border);
  border-radius: 999px;
  padding: 5px 13px;
  text-decoration: none;
}

body.single-post .post-tags .tag-links a:hover {
  background: var(--ch-blush-soft);
  border-color: var(--ch-coral);
  color: var(--ch-coral-deep);
}

body.single-post.category-guias-juridicas .comments-area {
  display: none;
}

@media (max-width: 1024px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products,
  .woocommerce ul.products.columns-3,
  .woocommerce-page ul.products.columns-3,
  .ch-grid-4,
  .ch-footer-grid,
  .ch-wishlist-grid,
  .ch-guides-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .ch-hero-grid,
  .ch-grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 960px) {
  .ch-topbar-inner {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 6px 12px;
  }
  .woocommerce-checkout #customer_details.col2-set,
  .woocommerce-account .woocommerce,
  .woocommerce-account .woocommerce-Addresses.u-columns,
  .woocommerce-account .addresses.u-columns,
  .woocommerce-account .woocommerce > #customer_login,
  #customer_login.u-columns {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 782px) {
  body.admin-bar .ch-header {
    top: 46px;
  }
}

@media (max-width: 768px) {
  .ch-menu-toggle {
    display: inline-flex;
  }
  .ch-nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--ch-white);
    border-bottom: 1.5px solid var(--ch-border);
    padding: 18px 24px;
    box-shadow: var(--ch-shadow);
  }
  .ch-nav.is-open {
    display: block;
  }
  .ch-nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .ch-nav-list .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: var(--ch-paper);
    border: 1px solid var(--ch-border);
    margin-top: 6px;
    padding: 6px 10px;
    min-width: 0;
    border-radius: 12px;
  }
  .ch-nav-list .sub-menu::before {
    display: none;
  }
  .woocommerce ul.products,
  .woocommerce-page ul.products,
  .woocommerce ul.products.columns-3,
  .woocommerce ul.products.columns-2,
  .ch-hero-grid,
  .ch-grid-3,
  .ch-grid-2,
  .ch-grid-4,
  .ch-guides-grid,
  .ch-footer-grid,
  .ch-doc-toggle,
  .ch-wishlist-grid,
  body.archive:not(.woocommerce-page) .site-main .page-content,
  body.blog .site-main .page-content {
    grid-template-columns: 1fr !important;
  }
  .ch-faq-section,
  .ch-guide-article,
  .ch-guide-cta-box,
  .ch-archive-cta,
  body.archive:not(.woocommerce-page) .site-main .page-header,
  body.blog .site-main .page-header,
  body.archive:not(.woocommerce-page) .site-main article.post,
  body.blog .site-main article.post,
  body.single-post .site-main .page-header {
    padding: 20px 18px;
  }
  .ch-guide-table {
    display: block;
    overflow-x: auto;
  }
  .ch-btn-header span.ch-btn-label {
    display: none;
  }
  body.page-id-10 .site-main,
  body.page-id-1642 .site-main,
  body.page-id-1934 .site-main,
  body.page-id-1937 .site-main {
    padding: 24px 18px;
  }
  .woocommerce-EditAccountForm .form-row-first,
  .woocommerce-EditAccountForm .form-row-last {
    width: 100% !important;
    float: none !important;
  }
  .woocommerce-EditAccountForm fieldset {
    padding: 16px 14px 8px;
  }
  .woocommerce-EditAccountForm p:has(button[name="save_account_details"]) {
    justify-content: stretch;
  }
  .woocommerce-EditAccountForm button[name="save_account_details"],
  .woocommerce-form-login__submit,
  .woocommerce-form-register__submit,
  .ch-danger-details summary.ch-btn-danger,
  .ch-btn-danger,
  .ch-btn-danger-solid {
    width: 100%;
    justify-content: center;
  }
  .ch-danger-zone {
    padding: 20px 16px;
  }
}

/* --- 1.8.15: Complianz sin solape en /contact/, footer y CTA Mercado Libre --- */
#cmplz-manage-consent,
#cmplz-manage-consent .cmplz-manage-consent,
.cmplz-manage-consent {
  left: 16px !important;
  right: auto !important;
  bottom: 12px !important;
  max-width: 240px;
  z-index: 90 !important;
}
.ch-footer {
  padding-bottom: 72px;
}
.fluentform {
  padding-bottom: 36px;
}
.ch-btn-ml-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #14234B;
  color: #ffffff !important;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none !important;
  border: 2px solid #FFE600;
  transition: transform .15s ease, background-color .15s ease;
}
.ch-btn-ml-inline:hover {
  background: #1f356b;
  transform: translateY(-1px);
}
@media (max-width: 767px) {
  #cmplz-manage-consent,
  #cmplz-manage-consent .cmplz-manage-consent,
  .cmplz-manage-consent {
    left: 10px !important;
    bottom: 10px !important;
  }
}

/* --- 1.9.2: Fix icono rayo, tamaño idéntico <a>/<button> y alineación en portada y /tienda/ --- */
.woocommerce ul.products li.product a.ch-btn-loop-buy-primary,
.woocommerce ul.products li.product button.ch-btn-loop-buy-primary,
a.ch-btn-loop-buy-primary,
button.ch-btn-loop-buy-primary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 14px !important;
  margin: 0 !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  border: 0 !important;
  border-radius: 999px !important;
  text-decoration: none !important;
}
.woocommerce ul.products li.product a.ch-btn-loop-buy-primary img.emoji,
.ch-btn-loop-buy-primary img.emoji {
  width: 1em !important;
  height: 1em !important;
  max-width: 1em !important;
  display: inline-block !important;
  margin: 0 !important;
}
.ch-bolt-ico {
  width: 14px !important;
  height: 14px !important;
  flex-shrink: 0;
  color: #FFE600;
  display: inline-block;
}
.woocommerce ul.products li.product .ch-loop-quickbuy {
  margin-top: auto;
}
