/* JCT Home Compacta — todo el CSS está acotado a .jcth para no chocar con Marketo/Elementor. */

.jcth {
	--jcth-accent: #1238D6;
	--jcth-dark: #111827;
	--jcth-ink: #1F2937;
	--jcth-muted: #4B5563;
	--jcth-line: #E5E7EB;
	--jcth-bg: #F1F2F4;
	--jcth-box: 1180px;
	background: var(--jcth-bg);
	color: var(--jcth-ink);
	font-family: 'Roboto', Arial, sans-serif;
	font-size: 14px;
	line-height: 1.5;
	padding-bottom: 0;
}
.jcth *, .jcth *::before, .jcth *::after { box-sizing: border-box; }
.jcth a { color: inherit; text-decoration: none; }
.jcth a:hover { color: var(--jcth-accent); }
.jcth h2, .jcth h3, .jcth p { margin: 0; font-family: inherit; letter-spacing: 0; text-transform: none; }
.jcth ul { list-style: none; margin: 0; padding: 0; }
.jcth img { max-width: 100%; height: auto; display: block; }
.jcth button { font-family: inherit; line-height: 1; text-transform: none; letter-spacing: 0; box-shadow: none; }
.jcth .jcth-ico { flex: 0 0 auto; display: block; }
.jcth .jcth-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Botones */
.jcth .jcth-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 36px; padding: 0 14px; border: 0; border-radius: 4px;
	font-size: 12px; font-weight: 700; cursor: pointer; transition: filter .15s;
}
.jcth .jcth-btn:hover { filter: brightness(1.12); }
.jcth .jcth-btn-accent, .jcth .jcth-btn-accent:hover { background: var(--jcth-accent); color: #fff; }
.jcth .jcth-btn-dark, .jcth .jcth-btn-dark:hover { background: var(--jcth-dark); color: #fff; }
.jcth .jcth-btn-outline { border: 1px solid #4B5563; color: #fff; background: transparent; }
.jcth .jcth-btn-outline:hover { color: #fff; border-color: #9CA3AF; }
.jcth .jcth-btn-block { display: flex; width: 100%; min-height: 38px; font-size: 11px; }
.jcth .jcth-btn-sm { min-height: 30px; font-size: 11px; padding: 0 10px; }

/* Header */
.jcth-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 3px solid var(--jcth-accent); }
.admin-bar .jcth-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .jcth-header { top: 0; } }
.jcth-header-in { max-width: calc(var(--jcth-box) + 80px); margin: 0 auto; padding: 6px 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.jcth .jcth-logo { display: flex; align-items: center; gap: 8px; }
.jcth .jcth-logo-img { height: 30px; width: auto; }
.jcth .jcth-logo-text { font-weight: 900; font-size: 18px; color: var(--jcth-accent); }
.jcth .jcth-tagline { display: flex; flex-direction: column; font-size: 9px; line-height: 1.25; text-transform: uppercase; color: var(--jcth-muted); }
.jcth .jcth-tagline strong { color: var(--jcth-accent); }
.jcth .jcth-gremio-btn { flex-direction: column; gap: 0; line-height: 1.15; padding: 4px 12px; }
.jcth .jcth-gremio-btn small { font-size: 9px; font-weight: 400; color: #C9D3F5; }
.jcth .jcth-hlink { display: inline-flex; align-items: center; gap: 4px; padding: 8px 4px; font-size: 13px; }
.jcth .jcth-cart-count { background: var(--jcth-accent); color: #fff; border-radius: 999px; font-size: 11px; font-weight: 700; padding: 1px 7px; line-height: 1.4; }

/* Desplegable de productos */
.jcth .jcth-dd { position: relative; }
.jcth .jcth-dd > summary { list-style: none; user-select: none; }
.jcth .jcth-dd > summary::-webkit-details-marker { display: none; }
.jcth .jcth-dd-panel {
	position: absolute; top: calc(100% + 6px); left: 0; z-index: 60; min-width: 240px;
	background: #fff; border: 1px solid var(--jcth-line); border-radius: 6px; box-shadow: 0 10px 30px rgba(0,0,0,.12);
	padding: 6px; display: flex; flex-direction: column;
}
.jcth .jcth-dd-panel a { padding: 9px 10px; border-radius: 4px; font-weight: 500; }
.jcth .jcth-dd-panel a:hover { background: #F3F4F6; }
.jcth .jcth-dd-panel .jcth-dd-all { color: var(--jcth-accent); font-weight: 700; border-top: 1px solid var(--jcth-line); margin-top: 4px; border-radius: 0; }

/* Buscador */
.jcth .jcth-search { flex: 1 1 150px; display: flex; height: 34px; min-width: 0; margin: 0; }
.jcth .jcth-search input[type=search] {
	flex: 1; min-width: 0; height: 34px; margin: 0; padding: 0 10px; font-size: 12px;
	border: 1px solid #D1D5DB; border-right: 0; border-radius: 4px 0 0 4px; background: #F3F4F6; color: var(--jcth-ink); box-shadow: none;
}
.jcth .jcth-search button { width: 38px; height: 34px; padding: 0; margin: 0; border: 0; border-radius: 0 4px 4px 0; background: var(--jcth-accent); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }

/* Caja central */
.jcth-box { max-width: var(--jcth-box); margin: 20px auto 0; background: #fff; border-radius: 8px 8px 0 0; padding: 12px; }
.jcth-top { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-start; }
.jcth-side { flex: 1 1 210px; max-width: 100%; display: flex; flex-direction: column; gap: 14px; }
.jcth-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }

/* Menú lateral */
.jcth .jcth-menu { border: 1px solid var(--jcth-line); border-radius: 4px; }
.jcth .jcth-menu-title { display: flex; align-items: center; gap: 8px; width: 100%; margin: 0; border: 0; text-align: left; cursor: default; background: var(--jcth-accent); color: #fff; font-family: inherit; font-weight: 700; font-size: 13px; letter-spacing: .02em; padding: 12px 12px; border-radius: 3px 3px 0 0; }
.jcth .jcth-menu-toggle { display: none; margin-left: auto; transition: transform .15s; }
.jcth .jcth-menu li { position: relative; border-top: 1px solid var(--jcth-line); }
.jcth .jcth-menu li > a { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 10px 12px; font-size: 12.5px; font-weight: 700; text-transform: uppercase; }
.jcth .jcth-menu a.is-current { color: var(--jcth-accent); background: #EEF2FF; }
.jcth .jcth-menu li.is-open > .jcth-sub { display: block; position: static; box-shadow: none; border: 0; min-width: 0; padding: 0 0 6px 10px; }
.jcth .jcth-menu li.is-open > a .jcth-caret { transform: rotate(90deg); }
.jcth .jcth-menu li.is-open > .jcth-sub li > a { padding: 7px 12px; }
.jcth .jcth-caret { color: #9CA3AF; font-size: 9px; }
.jcth .jcth-sub {
	display: none; position: absolute; left: 100%; top: -1px; z-index: 40; min-width: 220px;
	background: #fff; border: 1px solid var(--jcth-line); box-shadow: 0 10px 30px rgba(0,0,0,.12);
}
.jcth .jcth-sub li { border-top: 0; }
.jcth .jcth-sub li > a { text-transform: none; font-weight: 500; }
.jcth .jcth-sub li > a:hover { background: #F3F4F6; }
.jcth .jcth-menu li.has-children:hover > .jcth-sub,
.jcth .jcth-menu li.has-children:focus-within > .jcth-sub { display: block; }

/* Beneficios */
.jcth .jcth-benefits { background: #1F2937; color: #fff; border-radius: 4px; padding: 9px 12px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; font-size: 12px; }
.jcth .jcth-sep { color: #6B7280; }

/* Slider */
.jcth .jcth-slider { position: relative; border-radius: 4px; overflow: hidden; }
.jcth .jcth-slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.jcth .jcth-slides::-webkit-scrollbar { display: none; }
.jcth .jcth-slide { flex: 0 0 100%; scroll-snap-align: start; }
.jcth .jcth-slide img { display: block; width: 100%; height: auto !important; aspect-ratio: 2560 / 766; object-fit: cover; }
.jcth .jcth-arrow {
	position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; padding: 0; border: 0; border-radius: 4px;
	background: rgba(17,24,39,.35); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.jcth .jcth-arrow:hover { background: rgba(17,24,39,.6); }
.jcth .jcth-prev { left: 8px; }
.jcth .jcth-next { right: 8px; }
.jcth .jcth-banner-empty { border: 2px dashed #D1D5DB; border-radius: 4px; padding: 40px 16px; text-align: center; color: var(--jcth-muted); }

/* Panel más vendidos */
.jcth .jcth-panel { border: 1px solid var(--jcth-line); border-radius: 6px; overflow: hidden; }
.jcth .jcth-panel-head { background: var(--jcth-accent); color: #fff; text-align: center; padding: 16px 12px; }
.jcth .jcth-panel-head h2 { font-size: 22px; font-weight: 900; color: #fff; line-height: 1.2; }
.jcth .jcth-panel-head p { font-size: 12px; color: #DCE4FF; margin-top: 4px; }
.jcth .jcth-grid { display: grid; gap: 12px; }
.jcth .jcth-panel .jcth-grid { padding: 14px; }
.jcth .jcth-grid-3 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.jcth .jcth-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1000px) { .jcth .jcth-grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Tarjeta grande */
.jcth .jcth-card { border: 1px solid var(--jcth-line); border-radius: 6px; padding: 10px; display: flex; flex-direction: column; gap: 6px; background: #fff; }
.jcth .jcth-card-img { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; }
.jcth .jcth-card-img img { max-height: 100%; width: auto; object-fit: contain; }
.jcth .jcth-card-title { font-size: 13px; font-weight: 700; line-height: 1.3; min-height: 32px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.jcth .jcth-price { font-size: 18px; font-weight: 900; color: var(--jcth-accent); line-height: 1.2; }
.jcth .jcth-price del { font-size: 12px; font-weight: 400; color: #9CA3AF; margin-right: 4px; }
.jcth .jcth-price ins { text-decoration: none; }
.jcth .jcth-pill { align-self: flex-start; background: #EEF2FF; color: #1E3A8A; border-radius: 999px; font-size: 10px; font-weight: 700; padding: 3px 8px; }
.jcth .jcth-card .jcth-btn-block { margin-top: auto; }

/* Destacados */
.jcth .jcth-featured { margin-top: 20px; }
.jcth .jcth-h2 { text-align: center; font-size: 17px; font-weight: 900; margin-bottom: 12px; color: var(--jcth-ink); }
.jcth .jcth-mini { border: 1px solid var(--jcth-line); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; background: #fff; }
.jcth .jcth-mini-img { aspect-ratio: 1 / 1; padding: 14px; display: flex; align-items: center; justify-content: center; }
.jcth .jcth-mini-img img { max-height: 100%; width: auto; object-fit: contain; }
.jcth .jcth-mini-body { background: #E9EBEF; padding: 10px; display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; }
.jcth .jcth-mini-title { font-size: 12.5px; font-weight: 500; line-height: 1.3; text-align: center; min-height: 28px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.jcth .jcth-mini-price { font-size: 14px; font-weight: 900; text-align: center; margin-top: auto; }
.jcth .jcth-mini-price del { font-size: 11px; font-weight: 400; color: #6B7280; }
.jcth .jcth-mini-price ins { text-decoration: none; }
.jcth .jcth-add { display: flex; gap: 6px; justify-content: center; margin: 0; }
.jcth .jcth-add input[type=number] { width: 64px; height: 30px; margin: 0; padding: 0 4px; border: 1px solid #D1D5DB; border-radius: 3px; text-align: center; font-size: 12px; background: #fff; box-shadow: none; }
.jcth .jcth-add button { width: 34px; height: 30px; padding: 0; margin: 0; border: 0; border-radius: 3px; background: var(--jcth-accent); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; }
.jcth .jcth-add button[disabled] { opacity: .6; cursor: wait; }
.jcth .jcth-add.is-added button { background: #15803D; width: auto; padding: 0 8px; }

/* Gremio */
.jcth .jcth-gremio { margin-top: 20px; background: var(--jcth-dark); color: #fff; border-radius: 6px; padding: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.jcth .jcth-gremio img { width: 150px; border-radius: 4px; flex: 0 0 auto; }
.jcth .jcth-gremio-txt { flex: 1 1 300px; display: flex; flex-direction: column; gap: 8px; }
.jcth .jcth-gremio h2 { font-size: 20px; font-weight: 900; color: #fff; line-height: 1.25; }
.jcth .jcth-gremio p { font-size: 13px; color: #D1D5DB; }
.jcth .jcth-gremio-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.jcth .jcth-gremio .jcth-btn { min-height: 40px; padding: 0 16px; }

/* Footer */
.jcth-footer { background: #1F2937; border-top: 3px solid var(--jcth-accent); color: #D1D5DB; margin-top: 20px; }
.jcth-footer-in { max-width: var(--jcth-box); margin: 0 auto; padding: 32px 12px 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 24px; font-size: 12px; }
.jcth .jcth-fcol { display: flex; flex-direction: column; gap: 7px; }
.jcth .jcth-fcol a:hover { color: #fff; }
.jcth .jcth-ftitle { font-weight: 900; color: #fff; margin-bottom: 2px; }
.jcth .jcth-frow { display: flex; gap: 6px; align-items: flex-start; }
.jcth .jcth-frow .jcth-ico { margin-top: 2px; color: #93A8FF; }
.jcth-footer-bottom { max-width: var(--jcth-box); margin: 0 auto; padding: 12px; border-top: 1px solid #374151; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; font-size: 11px; color: #9CA3AF; }

/* WhatsApp flotante */
.jcth .jcth-wa { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 52px; height: 52px; border-radius: 999px; background: #1FAF5A; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.2); }
.jcth .jcth-wa:hover { color: #fff; filter: brightness(1.08); }

/* Celular */
@media (max-width: 760px) {
	.jcth { font-size: 14px; }
	.jcth-box { margin-top: 10px; border-radius: 0; padding: 10px; }
	.jcth .jcth-tagline { display: none; }
	.jcth .jcth-gremio-btn small { display: none; }
	.jcth .jcth-gremio-btn { min-height: 34px; }
	.jcth .jcth-hlink { padding: 6px 2px; font-size: 12px; }
	.jcth .jcth-search { flex-basis: 100%; order: 10; height: 40px; }
	.jcth .jcth-search input[type=search] { height: 40px; font-size: 16px; }
	.jcth .jcth-search button { height: 40px; width: 44px; }
	.jcth .jcth-menu-title { cursor: pointer; min-height: 46px; }
	.jcth .jcth-menu-toggle { display: inline-block; }
	.jcth .jcth-menu.is-open .jcth-menu-toggle { transform: rotate(180deg); }
	.jcth .jcth-menu:not(.is-open) > ul,
	.jcth .jcth-filters:not(.is-open) .jcth-filters-body { display: none; }
	.jcth .jcth-menu:not(.is-open) .jcth-menu-title { border-radius: 3px; }
	.jcth .jcth-menu li.has-children > .jcth-sub { display: none !important; }
	.jcth .jcth-menu li.is-open > .jcth-sub { display: block !important; }
	.jcth .jcth-menu li > a { padding: 12px; }
	.jcth .jcth-menu li.has-children:not(.is-open) .jcth-caret { display: none; }
	.jcth .jcth-grid-3, .jcth .jcth-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.jcth .jcth-panel .jcth-grid { padding: 8px; }
	.jcth .jcth-card { padding: 8px; }
	.jcth .jcth-price { font-size: 16px; }
	.jcth .jcth-dd-panel { max-width: calc(100vw - 20px); }
	.jcth .jcth-add input[type=number] { width: 52px; height: 36px; font-size: 16px; }
	.jcth .jcth-add button { width: 40px; height: 36px; }
	.jcth .jcth-gremio { padding: 16px; }
	.jcth .jcth-gremio img { width: 100%; max-width: 220px; }
	.jcth .jcth-wa { right: 14px; bottom: 14px; width: 48px; height: 48px; }
}
@media (max-width: 380px) {
	.jcth .jcth-hlink span:not(.jcth-cart-count) { display: none; }
}

/* =========================================================================
   Página de producto
   ========================================================================= */
body.jcth-body { margin: 0; background: #F1F2F4; }
.jcth-product-page { min-height: 100vh; }
.jcth .jcth-crumbs { max-width: var(--jcth-box); margin: 16px auto 0; padding: 0 12px; font-size: 13px; color: var(--jcth-muted); display: flex; flex-wrap: wrap; gap: 4px 0; }
.jcth .jcth-crumbs a { color: var(--jcth-ink); }
.jcth .jcth-crumb-sep { margin: 0 8px; color: #9CA3AF; }
.jcth .jcth-pbox { margin-top: 10px; border-radius: 8px; padding: 16px; }
.jcth .woocommerce-notices-wrapper:empty { display: none; }
.jcth .woocommerce-message, .jcth .woocommerce-info, .jcth .woocommerce-error {
	margin: 0 0 14px; padding: 12px 14px; border-radius: 6px; border: 0; list-style: none;
	background: #EEF2FF; color: var(--jcth-ink); font-size: 13px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px;
}
.jcth .woocommerce-message::before, .jcth .woocommerce-info::before, .jcth .woocommerce-error::before { display: none; }
.jcth .woocommerce-error { background: #FEF2F2; color: #991B1B; }
.jcth .woocommerce-message .button { order: 2; background: var(--jcth-accent); color: #fff; border-radius: 4px; padding: 8px 12px; font-size: 12px; font-weight: 700; }

.jcth .jcth-pgrid { display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); gap: 28px; align-items: start; }

/* Galería */
.jcth .jcth-gallery { position: sticky; top: 70px; display: flex; flex-direction: column; gap: 10px; }
.jcth .jcth-gallery-main { position: relative; border: 1px solid var(--jcth-line); border-radius: 6px; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; padding: 18px; background: #fff; }
.jcth .jcth-gallery-main a { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; cursor: zoom-in; }
.jcth .jcth-gallery-main img { max-width: 100%; max-height: 100%; width: auto; object-fit: contain; }
.jcth .jcth-badge-off { position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--jcth-accent); color: #fff; font-weight: 900; font-size: 18px; line-height: 1; padding: 7px 10px 6px; border-radius: 6px; }
.jcth .jcth-badge-off small { font-size: 10px; font-weight: 800; }
.jcth .jcth-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.jcth .jcth-thumb { aspect-ratio: 1 / 1; padding: 4px; margin: 0; border: 2px solid var(--jcth-line); border-radius: 4px; background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.jcth .jcth-thumb img { max-height: 100%; width: auto; object-fit: contain; }
.jcth .jcth-thumb.is-active, .jcth .jcth-thumb:hover { border-color: var(--jcth-dark); }

/* Resumen */
.jcth .jcth-summary { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.jcth .jcth-brand { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--jcth-accent); }
.jcth .jcth-ptitle { margin: 0; font-size: 22px; line-height: 1.2; font-weight: 900; text-transform: uppercase; color: var(--jcth-ink); font-family: inherit; letter-spacing: 0; }
.jcth .jcth-sku { font-size: 12px; color: var(--jcth-muted); }
.jcth .jcth-sku strong { color: var(--jcth-ink); }

.jcth .jcth-pricebox { border: 1px solid var(--jcth-line); border-radius: 8px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; background: #FAFBFC; }
.jcth .jcth-prow { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13px; color: var(--jcth-muted); }
.jcth .jcth-prow strong { color: var(--jcth-ink); font-size: 14px; }
.jcth .jcth-prow-old del { color: #9CA3AF; font-size: 13px; }
.jcth .jcth-prow-final { border-top: 1px dashed #D1D5DB; padding-top: 10px; margin-top: 2px; color: var(--jcth-ink); font-weight: 900; font-size: 15px; }
.jcth .jcth-prow-final small { font-weight: 500; font-size: 11px; color: var(--jcth-muted); }
.jcth .jcth-prow-final strong { font-size: 28px; color: var(--jcth-accent); font-weight: 900; line-height: 1; }
.jcth .jcth-save { background: #ECFDF3; color: #166534; border-radius: 4px; padding: 7px 10px; font-size: 12px; font-weight: 700; }

.jcth .jcth-paybox { border: 1.5px solid #C7D2FE; border-radius: 8px; padding: 12px 14px; background: #F5F7FF; display: flex; flex-direction: column; gap: 10px; }
.jcth .jcth-pay-title { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; color: #1E3A8A; }
.jcth .jcth-plans { display: flex; flex-wrap: wrap; gap: 8px; }
.jcth .jcth-plan { background: #fff; border: 1px solid #C7D2FE; border-radius: 6px; padding: 7px 10px; display: flex; flex-direction: column; gap: 2px; font-size: 11px; color: var(--jcth-muted); }
.jcth .jcth-plan strong { font-size: 15px; color: var(--jcth-ink); }
.jcth .jcth-pay-note { font-size: 11px; color: var(--jcth-muted); }
.jcth .jcth-transfer { display: flex; align-items: center; gap: 12px; background: #fff; border: 1.5px solid #86EFAC; border-radius: 6px; padding: 9px 12px; }
.jcth .jcth-transfer-pill { background: #15803D; color: #fff; font-weight: 800; font-size: 12px; padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.jcth .jcth-transfer div { display: flex; flex-direction: column; font-size: 12px; color: #166534; }
.jcth .jcth-transfer strong { font-size: 17px; color: #166534; }

/* Stock */
.jcth .jcth-stock { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; padding: 10px 12px; border-radius: 6px; }
.jcth .jcth-stock-in { background: #ECFDF3; color: #166534; }
.jcth .jcth-stock-low { background: #FFF7ED; color: #9A3412; }
.jcth .jcth-stock-out { background: #F3F4F6; color: #4B5563; }
.jcth .jcth-stock-backorder { background: #EFF6FF; color: #1E40AF; }
.jcth .jcth-updated { font-size: 11px; color: #15803D; margin-top: -4px; }
.jcth .stock.jcth-stock-in, .jcth .stock.jcth-stock-low, .jcth .stock.jcth-stock-out, .jcth .stock.jcth-stock-backorder { display: inline-block; font-size: 13px; font-weight: 700; padding: 6px 10px; border-radius: 4px; margin: 0; }

.jcth .jcth-short { font-size: 13px; line-height: 1.6; color: var(--jcth-muted); }
.jcth .jcth-short p { margin: 0 0 8px; }
.jcth .jcth-short p:last-child { margin-bottom: 0; }
.jcth .jcth-highlight { display: flex; align-items: center; gap: 8px; background: var(--jcth-dark); color: #fff; border-left: 0; border-radius: 4px; padding: 10px 12px; font-size: 13px; font-weight: 800; text-transform: uppercase; }

/* Compra (formulario nativo de WooCommerce) */
.jcth .jcth-buy { display: flex; flex-direction: column; gap: 10px; }
.jcth .jcth-buy form.cart { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; margin: 0; }
.jcth .jcth-buy form.cart.variations_form { flex-direction: column; align-items: stretch; }
.jcth .jcth-buy .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 8px; }
.jcth .jcth-buy .quantity { margin: 0; }
.jcth .jcth-buy .quantity input.qty { width: 74px; height: 46px; margin: 0; padding: 0 6px; border: 1px solid #D1D5DB; border-radius: 4px; font-size: 15px; text-align: center; background: #fff; box-shadow: none; }
.jcth .jcth-buy .single_add_to_cart_button {
	flex: 1 1 200px; min-height: 46px; margin: 0; padding: 0 18px; border: 0; border-radius: 4px;
	background: var(--jcth-accent) !important; color: #fff !important; font-size: 14px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; cursor: pointer;
}
.jcth .jcth-buy .single_add_to_cart_button:hover { filter: brightness(1.12); }
.jcth .jcth-buy .single_add_to_cart_button.disabled { opacity: .5; cursor: not-allowed; }
.jcth .jcth-buy table.variations { width: 100%; border: 0; margin: 0; border-collapse: collapse; }
.jcth .jcth-buy table.variations th, .jcth .jcth-buy table.variations td { border: 0; padding: 4px 0; text-align: left; background: none; font-size: 13px; }
.jcth .jcth-buy table.variations th { width: 110px; font-weight: 700; padding-right: 10px; }
.jcth .jcth-buy table.variations select { width: 100%; height: 40px; border: 1px solid #D1D5DB; border-radius: 4px; padding: 0 10px; background: #fff; font-size: 13px; }
.jcth .jcth-buy .reset_variations { font-size: 12px; color: var(--jcth-muted); }
.jcth .jcth-buy .woocommerce-variation-price .price { font-size: 20px; font-weight: 900; color: var(--jcth-accent); }
.jcth .jcth-buy .grouped_form table { width: 100%; }
.jcth .jcth-btn-wa, .jcth .jcth-btn-wa:hover { background: #1FAF5A; color: #fff; min-height: 42px; font-size: 13px; }

.jcth .jcth-pbenefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 6px 14px; font-size: 12px; color: var(--jcth-ink); }
.jcth .jcth-pbenefits li { display: flex; align-items: center; gap: 6px; }
.jcth .jcth-pbenefits .jcth-ico { color: var(--jcth-accent); }

.jcth .jcth-pgremio { border: 1px solid var(--jcth-line); border-top: 3px solid var(--jcth-accent); border-radius: 6px; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: #fff; }
.jcth .jcth-pgremio-title { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 15px; color: var(--jcth-ink); }
.jcth .jcth-pgremio-title .jcth-ico { color: var(--jcth-accent); }
.jcth .jcth-pgremio p { font-size: 12px; line-height: 1.55; color: var(--jcth-muted); }
.jcth .jcth-pgremio-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.jcth .jcth-pgremio-btns .jcth-btn { min-height: 38px; }
.jcth .jcth-pcats { font-size: 12px; color: var(--jcth-muted); }
.jcth .jcth-pcats a { color: var(--jcth-accent); }

/* Pestañas */
.jcth .jcth-tabs { margin-top: 28px; border: 1px solid var(--jcth-line); border-radius: 6px; }
.jcth .jcth-tablist { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--jcth-line); padding: 0 8px; }
.jcth .jcth-tablist button { margin: 0; padding: 14px 14px 12px; border: 0; border-bottom: 3px solid transparent; background: none; color: var(--jcth-muted); font-size: 14px; font-weight: 700; cursor: pointer; border-radius: 0; }
.jcth .jcth-tablist button[aria-selected="true"] { color: var(--jcth-ink); border-bottom-color: var(--jcth-accent); }
.jcth .jcth-tabpanel { padding: 18px 20px; font-size: 14px; line-height: 1.65; color: var(--jcth-ink); }
.jcth .jcth-tabpanel h2, .jcth .jcth-tabpanel h3, .jcth .jcth-tabpanel h4 { font-size: 16px; font-weight: 800; margin: 16px 0 8px; color: var(--jcth-accent); }
.jcth .jcth-tabpanel > :first-child { margin-top: 0; }
.jcth .jcth-tabpanel p { margin: 0 0 10px; }
.jcth .jcth-tabpanel ul { list-style: disc; padding-left: 20px; margin: 0 0 10px; }
.jcth .jcth-tabpanel img { max-width: 100%; height: auto; }
.jcth .jcth-tabpanel table.shop_attributes { width: 100%; border-collapse: collapse; border: 0; margin: 0; }
.jcth .jcth-tabpanel table.shop_attributes th, .jcth .jcth-tabpanel table.shop_attributes td { border: 0; border-bottom: 1px solid var(--jcth-line); padding: 9px 10px; text-align: left; font-size: 13px; background: none; font-style: normal; }
.jcth .jcth-tabpanel table.shop_attributes th { width: 34%; font-weight: 700; background: #F9FAFB; }
.jcth .jcth-tabpanel table.shop_attributes td p { margin: 0; }
.jcth .jcth-related { margin-top: 28px; }

@media (max-width: 760px) {
	.jcth .jcth-pgrid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
	.jcth .jcth-gallery { position: static; }
	.jcth .jcth-pbox { padding: 12px; }
	.jcth .jcth-ptitle { font-size: 18px; }
	.jcth .jcth-prow-final strong { font-size: 24px; }
	.jcth .jcth-tabpanel { padding: 14px; }
}

/* =========================================================================
   Tienda, categorías y búsqueda
   ========================================================================= */
.jcth .jcth-abox { margin-top: 10px; border-radius: 8px; padding: 14px; }
.jcth .jcth-ahead { display: flex; flex-direction: column; gap: 6px; }
.jcth .jcth-atitle { margin: 0; font-size: 24px; line-height: 1.2; font-weight: 900; text-transform: uppercase; color: var(--jcth-ink); }
.jcth .jcth-adesc { font-size: 13px; color: var(--jcth-muted); max-width: 70ch; }
.jcth .jcth-adesc p { margin: 0 0 6px; }
.jcth .jcth-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.jcth .jcth-chips a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 1px solid var(--jcth-line); border-radius: 999px; font-size: 13px; font-weight: 600; background: #fff; }
.jcth .jcth-chips a:hover { border-color: var(--jcth-accent); }
.jcth .jcth-chips span { font-size: 11px; color: var(--jcth-muted); background: #F3F4F6; border-radius: 999px; padding: 1px 7px; }
.jcth .jcth-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--jcth-line); border-bottom: 1px solid var(--jcth-line); }
.jcth .jcth-count { font-size: 13px; color: var(--jcth-muted); margin-right: auto; }
.jcth .jcth-filter-btn { display: none; }
.jcth .woocommerce-ordering { margin: 0; }
.jcth .woocommerce-ordering select { height: 38px; min-width: 200px; padding: 0 10px; border: 1px solid #D1D5DB; border-radius: 4px; background: #fff; font-size: 13px; font-family: inherit; color: var(--jcth-ink); }
.jcth .jcth-active { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.jcth .jcth-active a { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 10px; border-radius: 4px; background: #EEF2FF; color: #1E3A8A; font-size: 12px; font-weight: 700; }
.jcth .jcth-active a span { font-size: 15px; line-height: 1; }
.jcth .jcth-active .jcth-active-clear { background: none; color: var(--jcth-muted); text-decoration: underline; font-weight: 500; }
.jcth .jcth-grid-archive { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }

.jcth .jcth-mini-img { position: relative; }
.jcth .jcth-mini-sale { position: absolute; top: 8px; left: 8px; background: var(--jcth-accent); color: #fff; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 3px 7px; border-radius: 3px; }
.jcth .jcth-mini-stock { display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 11.5px; font-weight: 700; text-align: center; }
.jcth .jcth-mstock-in { color: #15803D; }
.jcth .jcth-mstock-low { color: #C2410C; }
.jcth .jcth-mstock-out { color: #6B7280; font-weight: 500; }
.jcth .jcth-mstock-backorder { color: #1D4ED8; }
.jcth .jcth-mini.is-out .jcth-mini-img img { opacity: .55; }
.jcth .jcth-mini-cuota { font-size: 11px; color: #1E3A8A; text-align: center; line-height: 1.3; }
.jcth .jcth-mini-cuota .amount { font-weight: 700; }

.jcth .jcth-filters-body { padding: 4px 0; }
.jcth .jcth-fgroup { padding: 10px 12px; border-top: 1px solid var(--jcth-line); }
.jcth .jcth-fgroup:first-child { border-top: 0; }
.jcth .jcth-ftitle-s { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.jcth .jcth-fterms { display: flex; flex-direction: column; gap: 2px; max-height: 260px; overflow-y: auto; }
.jcth .jcth-fterms li { border: 0 !important; }
.jcth .jcth-filters .jcth-fterms li > a { display: flex; justify-content: flex-start; align-items: center; gap: 8px; min-height: 34px; padding: 2px 0; font-size: 13px; text-transform: none; font-weight: 500; }
.jcth .jcth-fbox { flex: 0 0 auto; width: 16px; height: 16px; border: 1.5px solid #9CA3AF; border-radius: 3px; background: #fff; }
.jcth .jcth-filters .jcth-fterms a.is-on { font-weight: 700; color: var(--jcth-ink); }
.jcth .jcth-filters .jcth-fterms a.is-on .jcth-fbox { background: var(--jcth-accent); border-color: var(--jcth-accent); box-shadow: inset 0 0 0 2px #fff; }
.jcth .jcth-fprice-row { display: flex; align-items: center; gap: 6px; }
.jcth .jcth-fprice-row input { width: 100%; min-width: 0; height: 36px; padding: 0 8px; border: 1px solid #D1D5DB; border-radius: 4px; font-size: 13px; background: #fff; }
.jcth .jcth-fprice-row button { flex: 0 0 36px; height: 36px; border: 0; border-radius: 4px; background: var(--jcth-accent); color: #fff; font-size: 18px; font-weight: 700; cursor: pointer; }

.jcth .jcth-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 8px; }
.jcth .jcth-pager .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--jcth-line); border-radius: 4px; font-size: 14px; font-weight: 600; background: #fff; }
.jcth .jcth-pager .page-numbers.current { background: var(--jcth-accent); border-color: var(--jcth-accent); color: #fff; }
.jcth .jcth-pager .page-numbers.dots { border: 0; }
.jcth .jcth-empty { border: 1px dashed #D1D5DB; border-radius: 8px; padding: 28px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.jcth .jcth-empty p { margin: 0; }
.jcth .jcth-empty-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 6px; }

@media (max-width: 760px) {
	.jcth .jcth-atitle { font-size: 20px; }
	.jcth .jcth-filter-btn { display: inline-flex; }
	.jcth .jcth-count { flex-basis: 100%; }
	.jcth .woocommerce-ordering { flex: 1; }
	.jcth .woocommerce-ordering select { width: 100%; min-width: 0; height: 40px; font-size: 16px; }
	.jcth .jcth-grid-archive { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.jcth .jcth-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
	.jcth .jcth-chips a { flex: 0 0 auto; }
	.jcth .jcth-fprice-row input { font-size: 16px; }
}

/* =========================================================================
   Carrito, checkout y Mi cuenta (marcado clásico de WooCommerce)
   ========================================================================= */
.jcth .jcth-wcbox { margin-top: 10px; border-radius: 8px; padding: 18px; }
.jcth .jcth-wctitle { margin: 0 0 16px; font-size: 24px; font-weight: 900; color: var(--jcth-ink); line-height: 1.2; }
.jcth .jcth-steps { display: flex; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; counter-reset: none; }
.jcth .jcth-steps li { flex: 1; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 6px; background: #F3F4F6; color: var(--jcth-muted); font-size: 13px; font-weight: 700; }
.jcth .jcth-steps li span { flex: 0 0 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #D1D5DB; color: #fff; font-size: 12px; }
.jcth .jcth-steps li.is-current { background: #EEF2FF; color: var(--jcth-ink); }
.jcth .jcth-steps li.is-current span, .jcth .jcth-steps li.is-done span { background: var(--jcth-accent); }
.jcth .jcth-steps li.is-done { color: var(--jcth-ink); }

.jcth .jcth-wccontent .woocommerce { font-size: 14px; color: var(--jcth-ink); }
.jcth .jcth-wccontent a { color: var(--jcth-accent); }
.jcth .jcth-wccontent h2, .jcth .jcth-wccontent h3 { font-family: inherit; font-size: 17px; font-weight: 800; margin: 0 0 12px; color: var(--jcth-ink); text-transform: none; letter-spacing: 0; }
.jcth .jcth-wccontent .button, .jcth .jcth-wccontent button.button, .jcth .jcth-wccontent input.button, .jcth .jcth-wccontent a.button {
	display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 18px; border: 0; border-radius: 4px;
	background: var(--jcth-dark); color: #fff !important; font-family: inherit; font-size: 13px; font-weight: 700; text-transform: none; letter-spacing: 0; cursor: pointer; text-decoration: none; box-shadow: none; line-height: 1.2;
}
.jcth .jcth-wccontent .button:hover { filter: brightness(1.15); }
.jcth .jcth-wccontent .button.alt, .jcth .jcth-wccontent .checkout-button, .jcth .jcth-wccontent #place_order, .jcth .jcth-wccontent .woocommerce-form-login__submit, .jcth .jcth-wccontent .woocommerce-form-register__submit {
	background: var(--jcth-accent) !important; min-height: 48px; font-size: 15px; font-weight: 800;
}
.jcth .jcth-wccontent .button:disabled, .jcth .jcth-wccontent .button[disabled] { opacity: .5; }
.jcth .jcth-wccontent input.input-text, .jcth .jcth-wccontent input[type=text], .jcth .jcth-wccontent input[type=email], .jcth .jcth-wccontent input[type=tel], .jcth .jcth-wccontent input[type=password], .jcth .jcth-wccontent input[type=number], .jcth .jcth-wccontent select, .jcth .jcth-wccontent textarea {
	width: 100%; min-height: 42px; padding: 8px 10px; border: 1px solid #D1D5DB; border-radius: 4px; background: #fff; font-family: inherit; font-size: 14px; color: var(--jcth-ink); box-shadow: none;
}
.jcth .jcth-wccontent textarea { min-height: 90px; }
.jcth .jcth-wccontent input:focus, .jcth .jcth-wccontent select:focus, .jcth .jcth-wccontent textarea:focus { outline: 2px solid var(--jcth-accent); outline-offset: 0; border-color: var(--jcth-accent); }
.jcth .jcth-wccontent .form-row { margin: 0 0 12px; padding: 0; }
.jcth .jcth-wccontent .form-row label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.jcth .jcth-wccontent .required { color: #B91C1C; text-decoration: none; }
.jcth .jcth-wccontent .select2-container .select2-selection--single { height: 42px; border: 1px solid #D1D5DB; border-radius: 4px; }
.jcth .jcth-wccontent .select2-container .select2-selection--single .select2-selection__rendered { line-height: 40px; padding-left: 10px; }
.jcth .jcth-wccontent .select2-container .select2-selection--single .select2-selection__arrow { height: 40px; }
.jcth .woocommerce-message, .jcth .woocommerce-info, .jcth .woocommerce-error, .jcth .woocommerce-notice { margin: 0 0 14px; padding: 12px 14px; border-radius: 6px; border: 0; list-style: none; background: #EEF2FF; color: var(--jcth-ink); font-size: 13px; }
.jcth .woocommerce-error { background: #FEF2F2; color: #991B1B; }
.jcth .woocommerce-message::before, .jcth .woocommerce-info::before, .jcth .woocommerce-error::before { display: none; }

/* Tablas (carrito, resumen, pedidos) */
.jcth .jcth-wccontent table.shop_table { width: 100%; border-collapse: collapse; border: 1px solid var(--jcth-line); border-radius: 6px; margin: 0 0 16px; font-size: 14px; }
.jcth .jcth-wccontent table.shop_table th, .jcth .jcth-wccontent table.shop_table td { padding: 12px; border: 0; border-top: 1px solid var(--jcth-line); text-align: left; vertical-align: middle; background: none; }
.jcth .jcth-wccontent table.shop_table thead th { border-top: 0; background: #F9FAFB; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--jcth-muted); }
.jcth .jcth-wccontent table.cart .product-thumbnail { min-width: 76px; }
.jcth .jcth-wccontent table.cart .product-thumbnail img { width: 64px !important; max-width: 64px; height: auto; }
.jcth .jcth-wccontent table.shop_table .amount { color: var(--jcth-ink); }
.jcth .jcth-wccontent .cart_totals .order-total .amount, .jcth .jcth-wc-checkout #order_review .order-total .amount { color: var(--jcth-accent); }
.jcth .jcth-wccontent table.cart .product-name a { color: var(--jcth-ink); font-weight: 700; }
.jcth .jcth-wccontent table.cart .product-remove a.remove { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 50%; color: #9CA3AF !important; font-size: 20px; text-decoration: none; }
.jcth .jcth-wccontent table.cart .product-remove a.remove:hover { background: #FEE2E2; color: #B91C1C !important; }
.jcth .jcth-wccontent table.cart .quantity input.qty { width: 70px; text-align: center; }
.jcth .jcth-wccontent table.cart td.actions { background: #F9FAFB; }
.jcth .jcth-wccontent table.cart td.actions .coupon { display: inline-flex; gap: 8px; flex-wrap: wrap; float: none; }
.jcth .jcth-wccontent table.cart td.actions .coupon input { width: 180px; }
.jcth .jcth-wccontent table.cart td.actions > .button { float: right; }
.jcth .jcth-wccontent .cart_totals { border: 1px solid var(--jcth-line); border-radius: 8px; padding: 16px; background: #FAFBFC; width: 100% !important; float: none !important; }
.jcth .jcth-wccontent .cart_totals table.shop_table { border: 0; margin-bottom: 12px; }
.jcth .jcth-wccontent .cart_totals th { width: 40%; font-weight: 600; color: var(--jcth-muted); }
.jcth .jcth-wccontent .cart_totals .order-total th, .jcth .jcth-wccontent .cart_totals .order-total td { font-size: 17px; color: var(--jcth-ink); font-weight: 900; }
.jcth .jcth-wccontent .cart_totals .order-total .amount { color: var(--jcth-accent); font-size: 22px; }
.jcth .jcth-wccontent .jcth-transfer-row th, .jcth .jcth-wccontent .jcth-transfer-row td { color: #166534; background: #ECFDF3 !important; }
.jcth .jcth-wccontent .jcth-transfer-row small { display: block; font-size: 11px; font-weight: 400; }
.jcth .jcth-wccontent .wc-proceed-to-checkout { padding: 0; }
.jcth .jcth-wccontent .wc-proceed-to-checkout .checkout-button { display: flex; width: 100%; margin: 0; }
.jcth .jcth-wccontent .woocommerce-shipping-methods { list-style: none; margin: 0; padding: 0; }
.jcth .jcth-wccontent .woocommerce-shipping-methods li { margin: 0 0 6px; }

/* Carrito: tabla a la izquierda, totales a la derecha */
.jcth .jcth-wc-cart .woocommerce { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.jcth .jcth-wc-cart .woocommerce > .woocommerce-notices-wrapper, .jcth .jcth-wc-cart .woocommerce > .cart-empty, .jcth .jcth-wc-cart .woocommerce > .return-to-shop, .jcth .jcth-wc-cart .woocommerce > .wc-empty-cart-message { grid-column: 1 / -1; }
.jcth .jcth-wc-cart .cart-collaterals { width: auto; float: none; position: sticky; top: 70px; }
.jcth .jcth-wc-cart .cart-collaterals .cross-sells { display: none; }
.jcth .jcth-wc-cart .cart-empty { font-size: 16px; text-align: center; background: #F9FAFB; padding: 30px 16px; }
.jcth .jcth-wc-cart .return-to-shop { text-align: center; }

/* Checkout: datos a la izquierda, resumen y pago a la derecha.
   Contempla el marcado estándar de WooCommerce y el de Marketo (.xs-checkout-form). */
.jcth .jcth-wc-checkout form.checkout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); column-gap: 28px; align-items: start; }
.jcth .jcth-wc-checkout form.checkout > * { grid-column: 1; }
.jcth .jcth-wc-checkout #customer_details,
.jcth .jcth-wc-checkout #customer_details > .col-1,
.jcth .jcth-wc-checkout #customer_details > .col-2,
.jcth .jcth-wc-checkout .xs-checkout-form,
.jcth .jcth-wc-checkout .xs-checkout-form > *,
.jcth .jcth-wc-checkout #order_review,
.jcth .jcth-wc-checkout #order_review_heading { width: auto !important; max-width: none !important; float: none !important; }
.jcth .jcth-wc-checkout #customer_details { grid-column: 1; grid-row: 1 / span 4; }
.jcth .jcth-wc-checkout form.checkout > #order_review_heading { grid-column: 2; grid-row: 1; margin-top: 0; }
.jcth .jcth-wc-checkout form.checkout > #order_review { grid-column: 2; grid-row: 2; position: sticky; top: 16px; }
.jcth .jcth-wc-checkout form.checkout > .xs-checkout-form { grid-column: 2; grid-row: 1; position: sticky; top: 16px; }
.jcth .jcth-wc-checkout #order_review { border: 1px solid var(--jcth-line); border-radius: 8px; padding: 14px; background: #FAFBFC; }
.jcth .jcth-wc-checkout #order_review .amount { color: var(--jcth-ink); }
.jcth .jcth-wc-checkout .col2-set { width: 100%; }
.jcth .jcth-wc-checkout .col2-set .col-1, .jcth .jcth-wc-checkout .col2-set .col-2 { width: 100%; float: none; margin-bottom: 8px; }
.jcth .jcth-wc-checkout .woocommerce-billing-fields__field-wrapper, .jcth .jcth-wc-checkout .woocommerce-shipping-fields__field-wrapper { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; }
.jcth .jcth-wc-checkout .form-row-wide, .jcth .jcth-wc-checkout .form-row.notes, .jcth .jcth-wc-checkout #billing_address_1_field, .jcth .jcth-wc-checkout #billing_address_2_field { grid-column: 1 / -1; }
.jcth .jcth-wc-checkout .form-row-first, .jcth .jcth-wc-checkout .form-row-last { width: auto; float: none; }
.jcth .jcth-wc-checkout #order_review table.shop_table { border: 0; background: #fff; }
.jcth .jcth-wc-checkout #order_review .order-total .amount { color: var(--jcth-accent); font-size: 20px; font-weight: 900; }
.jcth .jcth-wc-checkout #payment { background: none; border-radius: 0; }
.jcth .jcth-wc-checkout #payment ul.payment_methods { list-style: none; margin: 0 0 12px; padding: 0; border: 0; display: flex; flex-direction: column; gap: 8px; }
.jcth .jcth-wc-checkout #payment ul.payment_methods li { border: 1px solid var(--jcth-line); border-radius: 6px; padding: 10px 12px; background: #fff; }
.jcth .jcth-wc-checkout #payment ul.payment_methods li label { font-weight: 700; cursor: pointer; }
.jcth .jcth-wc-checkout #payment div.payment_box { background: #F3F4F6; color: var(--jcth-muted); border-radius: 4px; font-size: 13px; margin: 8px 0 0; padding: 10px; }
.jcth .jcth-wc-checkout #payment div.payment_box::before { display: none; }
.jcth .jcth-wc-checkout #payment .place-order { padding: 0; margin: 0; }
.jcth .jcth-wc-checkout #place_order { width: 100%; float: none; }
.jcth .jcth-wc-checkout .woocommerce-form-coupon-toggle, .jcth .jcth-wc-checkout .woocommerce-form-login-toggle, .jcth .jcth-wc-checkout form.checkout_coupon, .jcth .jcth-wc-checkout form.woocommerce-form-login { grid-column: 1 / -1; }
.jcth .jcth-wc-checkout .woocommerce-order { max-width: 760px; }
.jcth .jcth-wc-checkout .woocommerce-order-overview { list-style: none; margin: 0 0 18px; padding: 14px; border: 1px solid var(--jcth-line); border-radius: 8px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.jcth .jcth-wc-checkout .woocommerce-order-overview li { border: 0; margin: 0; padding: 0; font-size: 12px; color: var(--jcth-muted); text-transform: uppercase; }
.jcth .jcth-wc-checkout .woocommerce-order-overview li strong { display: block; font-size: 14px; color: var(--jcth-ink); text-transform: none; }

/* Header y footer simples del checkout */
.jcth .jcth-header-simple .jcth-header-in { justify-content: space-between; min-height: 56px; }
.jcth .jcth-secure { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #15803D; }
.jcth .jcth-header-help { display: inline-flex; align-items: center; gap: 16px; font-size: 13px; }
.jcth .jcth-header-help a { display: inline-flex; align-items: center; gap: 6px; }
.jcth .jcth-footer-simple { margin-top: 24px; }

/* Mi cuenta */
.jcth .jcth-wc-account #customer_login.col2-set, .jcth .jcth-wc-account .u-columns.col2-set { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.jcth .jcth-wc-account #customer_login.col2-set::before, .jcth .jcth-wc-account #customer_login.col2-set::after,
.jcth .jcth-wc-account .u-columns.col2-set::before, .jcth .jcth-wc-account .u-columns.col2-set::after,
.jcth .jcth-wc-account .u-column1::before, .jcth .jcth-wc-account .u-column1::after,
.jcth .jcth-wc-account .u-column2::before, .jcth .jcth-wc-account .u-column2::after { content: none !important; display: none !important; }
.jcth .jcth-wc-account .account-form-or, .jcth .jcth-wc-account .form-separetor { display: none !important; }
.jcth .jcth-wc-account #customer_login .u-column1 { grid-column: 1; grid-row: 1; }
.jcth .jcth-wc-account #customer_login .u-column2 { grid-column: 2; grid-row: 1; }
.jcth .jcth-wc-account #customer_login.col2-set { align-items: start; margin: 0 !important; }
.jcth .jcth-wc-account #customer_login .u-column1, .jcth .jcth-wc-account #customer_login .u-column2 { width: 100% !important; max-width: none !important; flex: none !important; margin: 0 !important; padding: 18px !important; box-sizing: border-box !important; }
.jcth .jcth-wc-account #customer_login form, .jcth .jcth-wc-account #customer_login .form-row, .jcth .jcth-wc-account #customer_login .woocommerce-form-row { width: 100% !important; max-width: none !important; float: none !important; }
.jcth .jcth-wc-account .u-column1, .jcth .jcth-wc-account .u-column2 { width: auto; float: none; border: 1px solid var(--jcth-line); border-radius: 8px; padding: 18px; }
.jcth .jcth-wc-account form.login, .jcth .jcth-wc-account form.register { border: 0; padding: 0; margin: 0; }
.jcth .jcth-wc-account .woocommerce-form-login__rememberme { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; margin: 0 12px 10px 0; }
.jcth .jcth-wc-account .woocommerce-LostPassword { font-size: 13px; }
.jcth .jcth-account-gremio { margin-top: 20px; }
.jcth .jcth-wc-account .woocommerce:has(.woocommerce-MyAccount-navigation) { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 20px; align-items: start; }
.jcth .jcth-wc-account .woocommerce-MyAccount-navigation { grid-column: 1; grid-row: 1; order: 0; margin: 0 !important; }
.jcth .jcth-wc-account .woocommerce-MyAccount-content { grid-column: 2; grid-row: 1; order: 0; margin: 0 !important; padding: 0 !important; }
.jcth .jcth-wc-account .woocommerce-MyAccount-navigation li { padding: 0 !important; list-style: none; }
.jcth .jcth-wc-account .woocommerce-MyAccount-navigation { width: auto !important; float: none !important; border: 1px solid var(--jcth-line); border-radius: 6px; overflow: hidden; }
.jcth .jcth-wc-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
.jcth .jcth-wc-account .woocommerce-MyAccount-navigation li { border-top: 1px solid var(--jcth-line); margin: 0; }
.jcth .jcth-wc-account .woocommerce-MyAccount-navigation li:first-child { border-top: 0; }
.jcth .jcth-wc-account .woocommerce-MyAccount-navigation a { display: block; padding: 12px 14px; color: var(--jcth-ink); font-weight: 600; font-size: 13px; text-decoration: none; }
.jcth .jcth-wc-account .woocommerce-MyAccount-navigation .is-active a { background: var(--jcth-accent); color: #fff; }
.jcth .jcth-wc-account .woocommerce-MyAccount-content { width: auto !important; float: none !important; min-width: 0; }
.jcth .jcth-wc-account .woocommerce-Addresses { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.jcth .jcth-wc-account .woocommerce-Address { width: auto; float: none; border: 1px solid var(--jcth-line); border-radius: 6px; padding: 14px; }

@media (max-width: 900px) {
	.jcth .jcth-wc-cart .woocommerce { grid-template-columns: minmax(0, 1fr); }
	.jcth .jcth-wc-cart .cart-collaterals { position: static; }
	.jcth .jcth-wc-checkout form.checkout { grid-template-columns: minmax(0, 1fr); }
	.jcth .jcth-wc-checkout #customer_details, .jcth .jcth-wc-checkout form.checkout > #order_review_heading, .jcth .jcth-wc-checkout form.checkout > #order_review, .jcth .jcth-wc-checkout form.checkout > .xs-checkout-form { grid-column: 1; grid-row: auto; position: static; }
}
@media (max-width: 760px) {
	.jcth .jcth-wcbox { padding: 12px; }
	.jcth .jcth-wctitle { font-size: 20px; }
	.jcth .jcth-steps li { font-size: 11px; padding: 8px; gap: 6px; }
	.jcth .jcth-steps li span { flex-basis: 20px; height: 20px; font-size: 11px; }
	.jcth .jcth-wccontent input, .jcth .jcth-wccontent select, .jcth .jcth-wccontent textarea { font-size: 16px !important; }
	.jcth .jcth-wc-checkout .woocommerce-billing-fields__field-wrapper, .jcth .jcth-wc-checkout .woocommerce-shipping-fields__field-wrapper { grid-template-columns: minmax(0, 1fr); }
	.jcth .jcth-wc-account #customer_login.col2-set, .jcth .jcth-wc-account .u-columns.col2-set { grid-template-columns: minmax(0, 1fr); }
	.jcth .jcth-wc-account #customer_login .u-column1, .jcth .jcth-wc-account #customer_login .u-column2 { grid-column: 1; grid-row: auto; }
	.jcth .jcth-wc-account .woocommerce:has(.woocommerce-MyAccount-navigation) { grid-template-columns: minmax(0, 1fr); }
	.jcth .jcth-wc-account .woocommerce-MyAccount-navigation, .jcth .jcth-wc-account .woocommerce-MyAccount-content { grid-column: 1; grid-row: auto; }
	.jcth .jcth-wc-account .woocommerce-MyAccount-navigation ul { display: flex; overflow-x: auto; }
	.jcth .jcth-wc-account .woocommerce-MyAccount-navigation li { border-top: 0; border-right: 1px solid var(--jcth-line); flex: 0 0 auto; }
	.jcth .jcth-header-help a span { display: none; }
	/* Tablas como tarjetas en celular */
	.jcth .jcth-wccontent table.shop_table_responsive thead { display: none; }
	.jcth .jcth-wccontent table.shop_table_responsive tr { display: block; border-top: 1px solid var(--jcth-line); }
	.jcth .jcth-wccontent table.shop_table_responsive tr:first-child { border-top: 0; }
	.jcth .jcth-wccontent table.shop_table_responsive td { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 0; padding: 8px 12px; text-align: right; }
	.jcth .jcth-wccontent table.shop_table_responsive td::before { content: attr(data-title); font-weight: 700; font-size: 12px; color: var(--jcth-muted); text-align: left; }
	.jcth .jcth-wccontent table.shop_table_responsive tbody th, .jcth .jcth-wccontent .cart_totals table.shop_table_responsive th { display: none; }
	.jcth .jcth-wccontent table.shop_table_responsive td { flex-wrap: wrap; }
	.jcth .jcth-wccontent .jcth-transfer-row td small { flex-basis: 100%; text-align: right; }
	.jcth .jcth-wccontent .cart_totals td ul.woocommerce-shipping-methods { text-align: right; }
	.jcth .jcth-wccontent table.shop_table_responsive td.product-remove, .jcth .jcth-wccontent table.shop_table_responsive td.product-thumbnail { justify-content: flex-start; }
	.jcth .jcth-wccontent table.shop_table_responsive td.product-remove::before, .jcth .jcth-wccontent table.shop_table_responsive td.product-thumbnail::before, .jcth .jcth-wccontent table.shop_table_responsive td.actions::before { display: none; }
	.jcth .jcth-wccontent table.cart td.actions { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
	.jcth .jcth-wccontent table.cart td.actions .coupon { display: flex; }
	.jcth .jcth-wccontent table.cart td.actions .coupon input { width: auto; flex: 1; }
	.jcth .jcth-wccontent table.cart td.actions > .button { float: none; width: 100%; }
}

/* =========================================================================
   Páginas de contenido (plantilla JCT y bloques)
   ========================================================================= */
.jcth .jcth-pagebox { margin-top: 10px; border-radius: 8px; padding: 22px; }
.jcth .jcth-content { display: flex; flex-direction: column; gap: 28px; font-size: 15px; line-height: 1.65; color: var(--jcth-ink); }
.jcth .jcth-content > p:empty { display: none; }
.jcth .jcth-content p { margin: 0; }
.jcth .jcth-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; background: var(--jcth-dark); color: #fff; border-radius: 10px; padding: 32px; }
.jcth .jcth-hero-txt { flex: 1 1 380px; display: flex; flex-direction: column; gap: 10px; }
.jcth .jcth-kicker { font-size: 12px; font-weight: 800; letter-spacing: .14em; color: #9DB4FF; }
.jcth .jcth-hero h1 { margin: 0; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.1; font-weight: 900; color: #fff; letter-spacing: -.01em; }
.jcth .jcth-hero p { color: #D1D5DB; font-size: 15px; max-width: 60ch; }
.jcth .jcth-hero-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.jcth .jcth-hero-btns .jcth-btn { min-height: 44px; font-size: 14px; padding: 0 18px; }
.jcth .jcth-hero-ico { flex: 0 0 auto; width: 150px; height: 150px; border-radius: 50%; background: var(--jcth-accent); color: #fff; display: flex; align-items: center; justify-content: center; }
.jcth .jcth-hero-ico .jcth-ico { stroke-width: 1.5; }
.jcth .jcth-block { display: flex; flex-direction: column; gap: 14px; }
.jcth .jcth-block-title { margin: 0; font-size: 22px; font-weight: 900; color: var(--jcth-ink); }
.jcth .jcth-lead { font-size: 15px; color: var(--jcth-muted); max-width: 70ch; }
.jcth .jcth-cards, .jcth .jcth-contact { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.jcth .jcth-ccard { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--jcth-line); border-radius: 8px; padding: 16px; background: #fff; color: var(--jcth-ink); }
.jcth a.jcth-ccard:hover { border-color: var(--jcth-accent); color: var(--jcth-ink); }
.jcth .jcth-ccard > .jcth-ico { color: var(--jcth-accent); margin-top: 2px; }
.jcth .jcth-ccard h3 { margin: 0 0 4px; font-size: 15px; font-weight: 800; }
.jcth .jcth-ccard p { margin: 0; font-size: 13.5px; color: var(--jcth-muted); line-height: 1.5; }
.jcth .jcth-steps-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.jcth .jcth-steps-list li { position: relative; border: 1px solid var(--jcth-line); border-radius: 8px; padding: 16px; background: #FAFBFC; }
.jcth .jcth-step-n { display: inline-flex; width: 32px; height: 32px; border-radius: 50%; align-items: center; justify-content: center; background: var(--jcth-accent); color: #fff; font-weight: 900; margin-bottom: 8px; }
.jcth .jcth-steps-list h3 { margin: 0 0 4px; font-size: 15px; font-weight: 800; }
.jcth .jcth-steps-list p { margin: 0; font-size: 13.5px; color: var(--jcth-muted); line-height: 1.5; }
.jcth .jcth-faq { display: flex; flex-direction: column; border: 1px solid var(--jcth-line); border-radius: 8px; overflow: hidden; }
.jcth .jcth-faq details { border-top: 1px solid var(--jcth-line); }
.jcth .jcth-faq details:first-child { border-top: 0; }
.jcth .jcth-faq summary { cursor: pointer; list-style: none; padding: 14px 16px; font-weight: 700; font-size: 14.5px; display: flex; justify-content: space-between; gap: 12px; }
.jcth .jcth-faq summary::-webkit-details-marker { display: none; }
.jcth .jcth-faq summary::after { content: '+'; font-size: 20px; line-height: 1; color: var(--jcth-accent); }
.jcth .jcth-faq details[open] summary::after { content: '–'; }
.jcth .jcth-faq details p { padding: 0 16px 14px; margin: 0; font-size: 14px; color: var(--jcth-muted); }
.jcth .jcth-cta { margin-top: 0; }

/* Formularios */
.jcth .jcth-form { display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--jcth-line); border-radius: 8px; padding: 18px; background: #FAFBFC; }
.jcth .jcth-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.jcth .jcth-field { display: flex; flex-direction: column; gap: 4px; }
.jcth .jcth-field-wide { grid-column: 1 / -1; }
.jcth .jcth-field label { font-size: 13px; font-weight: 700; }
.jcth .jcth-field label span { color: #B91C1C; }
.jcth .jcth-field input, .jcth .jcth-field textarea { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid #D1D5DB; border-radius: 4px; background: #fff; font-family: inherit; font-size: 15px; color: var(--jcth-ink); }
.jcth .jcth-field textarea { min-height: 110px; }
.jcth .jcth-field input:focus, .jcth .jcth-field textarea:focus { outline: 2px solid var(--jcth-accent); border-color: var(--jcth-accent); }
.jcth .jcth-submit { align-self: flex-start; min-height: 46px; font-size: 14px; padding: 0 22px; }
.jcth .jcth-form-note { margin: 0; font-size: 12px; color: var(--jcth-muted); }
.jcth .jcth-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.jcth .jcth-alert { border-radius: 8px; padding: 16px 18px; }
.jcth .jcth-alert ul { margin: 0; padding-left: 18px; list-style: disc; }
.jcth .jcth-alert h2 { margin: 0 0 6px; font-size: 18px; }
.jcth .jcth-alert p { margin: 0 0 6px; }
.jcth .jcth-alert-ok { background: #ECFDF3; color: #166534; border: 1px solid #86EFAC; }
.jcth .jcth-alert-error { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.jcth .jcth-code { font-size: 18px; letter-spacing: .04em; background: #fff; padding: 2px 8px; border-radius: 4px; }

@media (max-width: 760px) {
	.jcth .jcth-pagebox { padding: 12px; }
	.jcth .jcth-hero { padding: 22px 18px; }
	.jcth .jcth-hero-ico { display: none; }
	.jcth .jcth-hero-btns .jcth-btn { flex: 1 1 100%; }
	.jcth .jcth-fields { grid-template-columns: minmax(0, 1fr); }
	.jcth .jcth-submit { align-self: stretch; }
	.jcth .jcth-field input, .jcth .jcth-field textarea { font-size: 16px; }
}

/* Gremio con sesión */
.jcth .jcth-gremio-btn.is-active, .jcth .jcth-gremio-btn.is-active:hover { background: #15803D; }
.jcth .jcth-gremio-btn.is-active span { display: inline-flex; align-items: center; gap: 5px; }
.jcth .jcth-gremio-btn.is-active small { color: #DCFCE7; }

/* =========================================================================
   Fotos de producto: recuadro cuadrado fijo, la imagen entra entera (sin deformar ni recortar)
   ========================================================================= */
.jcth .jcth-mini-img,
.jcth .jcth-card-img,
.jcth .jcth-gallery-main,
.jcth .jcth-thumb {
	position: relative !important;
	display: block !important;
	aspect-ratio: 1 / 1;
	height: auto !important;
	overflow: hidden;
	background: #fff;
	padding: 0 !important;
}
.jcth .jcth-card-img { aspect-ratio: 4 / 3; }
.jcth .jcth-mini-img img,
.jcth .jcth-card-img img,
.jcth .jcth-gallery-main img,
.jcth .jcth-thumb img {
	position: absolute !important;
	top: 8%; left: 8%;
	width: 84% !important;
	height: 84% !important;
	max-width: none !important;
	max-height: none !important;
	object-fit: contain !important;
	object-position: center;
	margin: 0 !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	transform: none !important;
}
.jcth .jcth-thumb img { top: 6%; left: 6%; width: 88% !important; height: 88% !important; }
.jcth .jcth-gallery-main a { position: absolute; inset: 0; display: block; }
.jcth .jcth-mini-sale, .jcth .jcth-badge-off { z-index: 2; }

/* Tarjetas parejas: mismo alto por fila, precio siempre abajo */
.jcth .jcth-grid { align-items: stretch; }
.jcth .jcth-mini, .jcth .jcth-card { height: 100%; }
.jcth .jcth-mini-title, .jcth .jcth-card-title { min-height: calc(1.3em * 2); }

/* Precios con el color del diseño (el tema los pinta de verde) */
.jcth .amount, .jcth .woocommerce-Price-amount { color: inherit; }
.jcth .jcth-caret { display: inline-flex; align-items: center; }
.jcth .jcth-caret svg { display: block; transition: transform .15s; }
.jcth .jcth-menu li.is-open > a .jcth-caret { transform: none; }
.jcth .jcth-menu li.is-open > a .jcth-caret svg { transform: rotate(90deg); }
