/* Tienda solidaria FHC — checkout de compra */
:root {
  --fhc-red: #c21f16;
  --fhc-red-dark: #9f1810;
  --fhc-amber: #92400e;
  --fhc-amber-btn: #a16207;
  --fhc-navy: #0f172a;
  --fhc-ink: #1e293b;
  --fhc-muted: #64748b;
  --fhc-line: #e2e8f0;
  --fhc-bg: #f8f5f0;
  --fhc-white: #ffffff;
  --fhc-radius: 14px;
  --fhc-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

body.fhc-shop-page {
  margin: 0 !important;
  background: var(--fhc-bg) !important;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: var(--fhc-ink);
}
body.fhc-shop-page .preloader,
body.fhc-shop-page header.main-header,
body.fhc-shop-page .page-header,
body.fhc-shop-page footer.main-footer,
body.fhc-shop-page .elementor-location-header,
body.fhc-shop-page .elementor-location-footer {
  display: none !important;
}

.fhc-buy *, .fhc-buy *::before, .fhc-buy *::after { box-sizing: border-box; }
.fhc-buy { min-height: 100vh; display: flex; flex-direction: column; }

.fhc-buy__top {
  background: var(--fhc-navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
}
.fhc-buy__top-in {
  width: min(100% - 2rem, 64rem);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
}
.fhc-buy__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}
.fhc-buy__brand img { width: 40px; height: 40px; border-radius: 50%; background: #fff; }
.fhc-buy__brand strong { display: block; text-transform: uppercase; font-size: 12px; }
.fhc-buy__back { color: #cbd5e1; text-decoration: none; font-size: 13px; font-weight: 600; }
.fhc-buy__back:hover { color: #fff; }

.fhc-buy__main {
  width: min(100% - 2rem, 64rem);
  margin: 0 auto;
  padding: 28px 0 48px;
  flex: 1;
}
.fhc-buy__intro { margin-bottom: 22px; }
.fhc-buy__kicker {
  display: inline-block;
  color: var(--fhc-amber);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.fhc-buy__intro h1 {
  margin: 0 0 8px;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--fhc-navy);
}
.fhc-buy__intro p { margin: 0; color: var(--fhc-muted); font-size: 15px; max-width: 40rem; }

.fhc-buy__empty {
  background: #fff;
  border-radius: var(--fhc-radius);
  padding: 40px 24px;
  text-align: center;
  box-shadow: var(--fhc-shadow);
}
.fhc-buy__empty p { margin: 0 0 16px; color: var(--fhc-muted); }

.fhc-buy__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: 20px;
  align-items: start;
}

.fhc-buy__card,
.fhc-buy__steps {
  background: var(--fhc-white);
  border-radius: var(--fhc-radius);
  box-shadow: var(--fhc-shadow);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.fhc-buy__summary { padding: 22px 20px 18px; }
.fhc-buy__summary h2 {
  margin: 0 0 14px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--fhc-navy);
}

.fhc-buy__lines { list-style: none; margin: 0; padding: 0; }
.fhc-buy__lines li {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--fhc-line);
}
.fhc-buy__lines li:last-child { border-bottom: 0; }
.fhc-buy__lines img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
}
.fhc-buy__ph {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: #fef3c7;
  color: var(--fhc-amber);
  display: flex;
  align-items: center;
  justify-content: center;
}
.fhc-buy__lines strong { display: block; font-size: 14px; color: var(--fhc-navy); }
.fhc-buy__lines small { color: var(--fhc-muted); font-size: 12px; }
.fhc-buy__lines > li > span { font-weight: 800; color: var(--fhc-navy); white-space: nowrap; }
.fhc-buy__line-info { min-width: 0; }
.fhc-buy__qty {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}
.fhc-buy__qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1.5px solid var(--fhc-line);
  background: #fff;
  color: var(--fhc-navy);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.fhc-buy__qty-btn:hover { border-color: var(--fhc-amber-btn); color: var(--fhc-amber); }
.fhc-buy__qty-val {
  min-width: 22px;
  text-align: center;
  font-weight: 800;
  font-size: 14px;
  color: var(--fhc-navy);
}
.fhc-buy__remove {
  margin-left: 4px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: #fef2f2;
  color: #b91c1c;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.fhc-buy__remove:hover { background: #fee2e2; }
.fhc-buy__line-total { font-weight: 800; color: var(--fhc-navy); white-space: nowrap; align-self: start; padding-top: 4px; }

.fhc-buy__total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--fhc-line);
}
.fhc-buy__total-row span { color: var(--fhc-muted); font-weight: 600; }
.fhc-buy__total-row strong { font-size: 1.35rem; color: var(--fhc-navy); font-weight: 900; }
.fhc-buy__fx { margin: 8px 0 0; font-size: 13px; color: var(--fhc-muted); }

.fhc-buy__hint {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 13px;
  line-height: 1.45;
}
.fhc-buy__hint i { color: var(--fhc-red); margin-top: 2px; }

.fhc-buy__steps { overflow: hidden; }
.fhc-buy__step + .fhc-buy__step { border-top: 1px solid var(--fhc-line); }
.fhc-buy__step-head {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 800;
  color: var(--fhc-amber);
  text-align: left;
  font-family: inherit;
}
.fhc-buy__step.is-open .fhc-buy__step-head i { transform: rotate(180deg); }
.fhc-buy__step-head i { transition: transform 0.25s ease; color: var(--fhc-amber); }
.fhc-buy__step-body { padding: 0 20px 20px; }
.fhc-buy__lead { margin: 0 0 14px; font-size: 14px; color: var(--fhc-muted); }

.fhc-buy__field { display: block; margin-bottom: 12px; }
.fhc-buy__field > span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 5px;
}
.fhc-buy__field em { color: var(--fhc-red); font-style: normal; }
.fhc-buy__field input {
  width: 100%;
  border: 1.5px solid var(--fhc-line);
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
}
.fhc-buy__field input:focus {
  border-color: var(--fhc-amber-btn);
  box-shadow: 0 0 0 3px rgba(161, 98, 7, 0.12);
}
.fhc-buy__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.fhc-buy__check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 8px 0 16px;
  font-size: 13.5px;
}
.fhc-buy__check .fhc-privacy-check__label { cursor: pointer; }
.fhc-buy__check input { margin-top: 3px; accent-color: var(--fhc-red); }
.fhc-buy__check a { color: #1d4ed8; font-weight: 700; }

.fhc-buy__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 10px;
  padding: 13px 22px;
  font-size: 15px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.fhc-buy__btn--primary {
  background: var(--fhc-amber-btn);
  color: #fff;
  float: right;
}
.fhc-buy__btn--primary:hover { background: var(--fhc-amber); }
.fhc-buy__btn--pay {
  width: 100%;
  background: var(--fhc-navy);
  color: #fff;
  padding: 15px 22px;
  font-size: 16px;
  margin-top: 8px;
}
.fhc-buy__btn--pay:hover { background: #1e293b; }
.fhc-buy__btn.is-loading { opacity: 0.75; pointer-events: none; }

.fhc-buy__paylist {
  border: 1.5px solid var(--fhc-line);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
}
.fhc-buy__pay {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  cursor: pointer;
  border-bottom: 1px solid var(--fhc-line);
}
.fhc-buy__pay:last-child { border-bottom: 0; }
.fhc-buy__pay input { position: absolute; opacity: 0; pointer-events: none; }
.fhc-buy__pay.is-selected { background: #fffbeb; }
.fhc-buy__radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #94a3b8;
  flex-shrink: 0;
  position: relative;
}
.fhc-buy__pay.is-selected .fhc-buy__radio { border-color: var(--fhc-amber-btn); }
.fhc-buy__pay.is-selected .fhc-buy__radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--fhc-amber-btn);
}
.fhc-buy__pay-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #003087;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.fhc-buy__pay-icon--epayco { background: #ee3f24; font-weight: 900; }
.fhc-buy__pay-icon--wompi { background: #2d1b69; font-weight: 900; font-size: 15px; }
.fhc-buy__pay-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.fhc-buy__pay-text strong { font-size: 14.5px; color: var(--fhc-navy); }
.fhc-buy__pay-text small { font-size: 12px; color: var(--fhc-muted); }

.fhc-buy__error {
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fef2f2;
  color: #991b1b;
  font-size: 13.5px;
  font-weight: 600;
}

.fhc-buy__foot {
  text-align: center;
  padding: 18px 16px 28px;
  color: var(--fhc-muted);
  font-size: 13px;
}
.fhc-buy__foot p { margin: 0; }
.fhc-buy__foot i { color: var(--fhc-red); }

/* Botones en ficha de producto */
.fhc-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
  width: 100%;
}
.fhc-product-actions .fhc-btn-cart,
.fhc-product-actions .fhc-btn-buy {
  border: 0;
  border-radius: 10px;
  padding: 14px 20px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  flex: 1 1 180px;
}
.fhc-product-actions .fhc-btn-cart {
  background: #fff;
  color: var(--fhc-navy);
  border: 2px solid var(--fhc-navy);
}
.fhc-product-actions .fhc-btn-buy {
  background: var(--fhc-red);
  color: #fff;
}
.fhc-product-actions .fhc-btn-buy:hover { background: var(--fhc-red-dark); }
.fhc-product-toast {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #ecfdf5;
  color: #065f46;
  font-size: 13.5px;
  font-weight: 600;
  display: none;
}
.fhc-product-toast.is-show { display: block; }
.fhc-product-toast a { color: var(--fhc-red); font-weight: 800; }

/* Icono carro en header */
.fhc-header-cart {
  position: relative;
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #0f172a;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.2);
  transition: transform 0.15s, background 0.15s;
}
.fhc-header-cart.is-active { display: inline-flex; }
.fhc-header-cart:hover { background: #c21f16; transform: translateY(-1px); }
.fhc-header-cart i { font-size: 16px; }
.fhc-header-cart__count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #c21f16;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 0 0 2px #fff;
}
.fhc-header-cart.is-pulse {
  animation: fhcCartPulse 0.45s ease;
}
@keyframes fhcCartPulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* Fallback fijo si no hay header FHC (poco probable) */
.fhc-header-cart--fixed {
  position: fixed;
  top: 88px;
  right: 18px;
  z-index: 99990;
}

@media (max-width: 880px) {
  .fhc-buy__layout { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .fhc-buy__row { grid-template-columns: 1fr; }
  .fhc-buy__btn--primary { float: none; width: 100%; }
  .fhc-buy__brand > span { display: none; }
}

/* ——— Catálogo /tienda ——— */
body.woocommerce-shop .page-header,
body.tax-product_cat .page-header,
body.post-type-archive-product .page-header {
  display: none !important;
}
body.woocommerce-shop .shop-one,
body.woocommerce-shop .sidebar--shop,
body.post-type-archive-product .shop-one > .container > .row > .sidebar--shop {
  display: none !important;
}

.fhc-tienda {
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(194, 31, 22, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(161, 98, 7, 0.1), transparent 50%),
    #f8f5f0;
  padding-bottom: 64px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: #1e293b;
}
.fhc-tienda__hero {
  background: linear-gradient(135deg, #0a2533 0%, #0f172a 42%, #1e293b 100%);
  color: #fff;
  padding: 56px 0 64px;
  position: relative;
  overflow: hidden;
}
.fhc-tienda__hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 28%, rgba(251, 191, 36, .35) 0 2px, transparent 3px),
    radial-gradient(circle at 28% 72%, rgba(248, 113, 113, .4) 0 2px, transparent 3px),
    radial-gradient(circle at 48% 18%, rgba(96, 165, 250, .35) 0 2px, transparent 3px),
    radial-gradient(circle at 68% 58%, rgba(74, 222, 128, .35) 0 2px, transparent 3px),
    radial-gradient(circle at 82% 30%, rgba(251, 146, 60, .4) 0 2px, transparent 3px),
    radial-gradient(circle at 90% 78%, rgba(244, 114, 182, .35) 0 2px, transparent 3px),
    radial-gradient(circle at 18% 88%, rgba(167, 139, 250, .35) 0 2px, transparent 3px),
    radial-gradient(ellipse 70% 55% at 88% 12%, rgba(194, 31, 22, .28), transparent 58%),
    radial-gradient(ellipse 50% 40% at 8% 90%, rgba(245, 158, 11, .12), transparent 55%);
  opacity: .95;
}
.fhc-tienda__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 37, 51, .15), rgba(10, 37, 51, .45));
  pointer-events: none;
}
.fhc-tienda__hero-in {
  width: min(100% - 2rem, 72rem);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: left;
}
.fhc-tienda__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
  margin-bottom: 16px;
}
.fhc-tienda__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.fhc-tienda__badge--gold {
  color: #fbbf24;
  background: rgba(251, 191, 36, .12);
  border: 1px solid rgba(251, 191, 36, .4);
}
.fhc-tienda__badge--red {
  color: #fff;
  background: #7b1123;
  border: 1px solid rgba(255, 255, 255, .08);
}
.fhc-tienda__kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fbbf24;
  margin-bottom: 10px;
}
.fhc-tienda__hero h1 {
  margin: 0 0 14px;
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #ffffff !important;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
  text-align: left !important;
  max-width: 40rem;
}
.fhc-tienda__hero p {
  margin: 0 0 24px;
  max-width: 40rem;
  color: #e2e8f0;
  font-size: 1.05rem;
  line-height: 1.65;
  text-align: left !important;
}
.fhc-tienda__hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
}
.fhc-tienda__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  background: #f5a623;
  color: #0f172a !important;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
  box-shadow: 0 8px 20px rgba(245, 166, 35, .28);
}
.fhc-tienda__chip:hover {
  background: #e09512;
  color: #0f172a !important;
  transform: translateY(-1px);
}
.fhc-tienda__chip--ghost {
  background: rgba(255, 255, 255, .08);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, .28);
  box-shadow: none;
}
.fhc-tienda__chip--ghost:hover {
  background: rgba(255, 255, 255, .14);
  color: #fff !important;
  border-color: rgba(255, 255, 255, .45);
}

.fhc-tienda__main {
  margin-top: -28px;
  position: relative;
  z-index: 2;
}
.fhc-tienda__wrap {
  width: min(100% - 2rem, 72rem);
  margin: 0 auto;
}
.fhc-tienda .woocommerce-result-count,
.fhc-tienda .woocommerce-ordering,
.fhc-tienda .woocommerce-notices-wrapper:empty {
  display: none !important;
}

.fhc-tienda-sec {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 28px 24px 32px;
  margin-bottom: 28px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}
.fhc-tienda-sec:last-child {
  margin-bottom: 8px;
}
.fhc-tienda-sec__head {
  margin: 0 0 22px;
  max-width: 40rem;
}
.fhc-tienda-sec__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #011a51;
  background: #e8eef8;
  border-radius: 999px;
  padding: 6px 12px;
  margin-bottom: 10px;
}
.fhc-tienda-sec__kicker i {
  color: #c21f16;
}
.fhc-tienda-sec__head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.02em;
}
.fhc-tienda-sec__head p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #64748b;
}
.fhc-tienda-sec + .fhc-tienda-sec {
  margin-top: 8px;
}

/* Vitrina artesanías: misma caja/grid que bonos y formaciones */
.fhc-tienda-sec--artes .fhc-pcard__media {
  cursor: default;
}
.fhc-pcard--preview .fhc-pcard__inner:hover {
  transform: none;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  border-color: #e8e2d9;
}
.fhc-pcard--preview .fhc-pcard__inner:hover .fhc-pcard__media img {
  transform: none;
}
.fhc-pcard__price--soon {
  font-size: 14px;
  font-weight: 800;
  color: #011a51;
  opacity: 0.8;
}
.fhc-pcard__badge--oos {
  background: #334155 !important;
}
.fhc-pcard--oos .fhc-pcard__inner {
  opacity: 0.96;
}
.fhc-pcard__btn:disabled,
.fhc-pcard__btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}
.fhc-pd__oos {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.fhc-pd__oos-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
}
.fhc-pd__oos-text {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.55;
  color: #64748b;
}
.fhc-pd__desc {
  margin-top: 22px;
  background: #fff;
  border: 1px solid #e8e2d9;
  border-radius: 18px;
  padding: 24px 26px 26px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}
.fhc-pd__desc-title {
  margin: 0 0 12px;
  font-size: 1.15rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.02em;
}
.fhc-pd__desc-body {
  font-size: 15px;
  line-height: 1.7;
  color: #475569;
}
.fhc-pd__desc-body p {
  margin: 0 0 12px;
}
.fhc-pd__desc-body p:last-child {
  margin-bottom: 0;
}
.fhc-pd__cta:disabled,
.fhc-pd__cta[aria-disabled="true"] {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  background: #64748b !important;
  box-shadow: none !important;
}

.fhc-tienda ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}
.fhc-tienda ul.products::before,
.fhc-tienda ul.products::after {
  display: none !important;
}
.fhc-tienda ul.products li.product,
.fhc-tienda .fhc-pcard {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  float: none !important;
  padding: 0 !important;
  list-style: none;
}

.fhc-pcard__inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e8e2d9;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.fhc-pcard__inner:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  border-color: #d6cfc4;
}
.fhc-pcard--cafe .fhc-pcard__inner {
  border-color: rgba(161, 98, 7, 0.35);
  box-shadow: 0 12px 32px rgba(146, 64, 14, 0.12);
}
.fhc-pcard__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ebe4da;
}
.fhc-pcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.fhc-pcard__inner:hover .fhc-pcard__media img {
  transform: scale(1.04);
}
.fhc-pcard__badge {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.88);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.fhc-pcard--cafe .fhc-pcard__badge {
  background: #92400e;
}
.fhc-pcard__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 18px 16px;
  flex: 1;
}
.fhc-pcard__cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #92400e;
}
.fhc-pcard__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.fhc-pcard__title a {
  color: #0f172a;
  text-decoration: none;
}
.fhc-pcard__title a:hover {
  color: #c21f16;
}
.fhc-pcard__desc {
  margin: 0;
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.45;
  flex: 1;
}
.fhc-pcard__foot {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid #f1ebe3;
}
.fhc-pcard__price {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
}
.fhc-pcard__price .woocommerce-Price-amount {
  color: inherit;
}
.fhc-pcard__actions {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 8px;
}
.fhc-pcard__btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.fhc-pcard__btn:disabled {
  opacity: 0.7;
  cursor: wait;
}
.fhc-pcard__btn--ghost {
  background: #f1ebe3;
  color: #1e293b;
}
.fhc-pcard__btn--ghost:hover {
  background: #e7dfd3;
}
.fhc-pcard__btn--pay {
  background: #c21f16;
  color: #fff;
}
.fhc-pcard__btn--pay:hover {
  background: #9f1810;
}
.fhc-pcard--cafe .fhc-pcard__btn--pay {
  background: #a16207;
}
.fhc-pcard--cafe .fhc-pcard__btn--pay:hover {
  background: #854d0e;
}

@media (max-width: 980px) {
  .fhc-tienda ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .fhc-tienda__hero {
    padding: 36px 0 44px;
  }
  .fhc-tienda ul.products {
    grid-template-columns: 1fr;
    gap: 16px !important;
  }
  .fhc-pcard__actions {
    grid-template-columns: 1fr 1fr;
  }
}

/* ——— Ficha de producto (detalle) ——— */
body.fhc-shop-product .site-main,
body.fhc-shop-product #primary,
body.fhc-shop-product .content-area {
  background: #f1f5f9;
}
body.fhc-shop-product .woocommerce-notices-wrapper {
  width: min(100% - 2rem, 68rem);
  margin: 16px auto 0;
}
/* Tema Carit: ocultar descripción duplicada debajo de la ficha. */
body.fhc-shop-product .product-content.product-description {
  display: none !important;
}
.fhc-pd {
  width: 100%;
  padding: 28px 0 48px;
}
.fhc-pd__wrap {
  width: min(100% - 2rem, 68rem);
  margin: 0 auto;
}
.fhc-pd__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px 32px;
  align-items: stretch;
  background: #fff;
  border-radius: 22px;
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}
.fhc-pd__media {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
}
.fhc-pd__figure {
  position: relative;
  flex: 1 1 auto;
  border-radius: 16px;
  overflow: hidden;
  background: #0f766e;
  min-height: 260px;
}
.fhc-pd__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
}
.fhc-pd__img-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: #c21f16;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
  box-shadow: 0 6px 16px rgba(194, 31, 22, 0.35);
}
.fhc-pd__prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: auto;
}
.fhc-pd__prices--single {
  grid-template-columns: 1fr;
}
.fhc-pd__price {
  border-radius: 14px;
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}
.fhc-pd__price--retail {
  background: #fdf2f2;
  border-color: #fecaca;
}
.fhc-pd__price-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 4px;
}
.fhc-pd__price-value {
  display: block;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}
.fhc-pd__price--retail .fhc-pd__price-value {
  color: #c21f16;
}
.fhc-pd__info {
  display: flex;
  flex-direction: column;
  text-align: left;
  min-height: 100%;
}
.fhc-pd__pill {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fce7f3;
  color: #9f1239;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.fhc-pd__title {
  margin: 0 0 18px;
  font-size: clamp(1.55rem, 2.8vw, 2rem);
  font-weight: 800;
  line-height: 1.15;
  color: #0f172a;
  letter-spacing: -0.02em;
}
.fhc-pd__kit-heading {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0f172a;
}
.fhc-pd__kit {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.fhc-pd__kit-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
}
.fhc-pd__kit-icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: #c21f16;
  font-size: 15px;
}
.fhc-pd__kit-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.fhc-pd__kit-copy strong {
  font-size: 13.5px;
  color: #0f172a;
  font-weight: 800;
  line-height: 1.25;
}
.fhc-pd__kit-copy span {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.45;
}
.fhc-pd__actions {
  margin-top: auto;
  padding-top: 4px;
}
.fhc-pd__actions .fhc-shop-cart-form--cta {
  margin: 0;
}
.fhc-pd__actions .stock,
.fhc-pd__actions .quantity {
  display: none;
}
.fhc-pd__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 16px 22px;
  background: #c21f16;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(194, 31, 22, 0.28);
  transition: background 0.15s, transform 0.15s;
}
.fhc-pd__cta:hover {
  background: #9f1810;
  transform: translateY(-1px);
}
.fhc-pd__cta:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}
.fhc-pd__actions .fhc-product-toast {
  max-width: none;
}

@media (max-width: 900px) {
  .fhc-pd__card {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .fhc-pd__figure {
    min-height: 220px;
    aspect-ratio: 4 / 3;
  }
  .fhc-pd__figure img {
    position: absolute;
  }
  .fhc-pd__kit {
    grid-template-columns: 1fr;
  }
  .fhc-pd__actions {
    margin-top: 8px;
  }
}
@media (max-width: 520px) {
  .fhc-pd {
    padding: 16px 0 40px;
  }
  .fhc-pd__card {
    padding: 1rem;
    border-radius: 16px;
  }
  .fhc-pd__prices {
    grid-template-columns: 1fr;
  }
}
