:root {
  --font-general: "Inter", Arial, sans-serif;
  --font-titles: "Playfair Display", Georgia, serif;
  --font-buttons: "Inter", Arial, sans-serif;
  --font-weight-general: 400;
  --font-weight-titles: 700;
  --font-weight-buttons: 800;
  --global-button-bg: #c8ef2b;
  --global-button-text: #ed2f87;
  --global-button-hover-bg: #bdf01f;
  --global-button-hover-text: #ed2f87;
  --global-button-disabled-bg: #b8adb3;
  --global-button-disabled-text: #ffffff;
  --category-button-bg: #ff97b0;
  --category-button-hover-bg: #f27fa0;
  --category-button-text: #ffffff;
  --global-button-radius: 999px;
  --header-menu-pink: #ff97b0;
  --pink: #ff97b0;
  --pink-dark: #df3f82;
  --pink-soft: #fdeaf0;
  --plum: #38222f;
  --ink: #161116;
  --muted: #6f6269;
  --line: #efdce5;
  --white: #ffffff;
  --page-bg: #fffafd;
  --shadow-sm: 0 9px 24px rgba(71, 34, 52, .07);
  --shadow: 0 18px 44px rgba(71, 34, 52, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--page-bg);
  font-family: var(--font-general);
  font-weight: var(--font-weight-general);
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
.page-width { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

/* Franja superior */
.top-marquee {
  width: 100%;
  height: 38px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--header-menu-pink);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}
.top-marquee-track {
  width: max-content;
  display: flex;
  align-items: center;
  animation: categoryMarquee 30s linear infinite;
  will-change: transform;
}
.top-marquee-group {
  display: flex;
  align-items: center;
  gap: 58px;
  padding-right: 58px;
}
.top-marquee span { display: inline-flex; align-items: center; gap: 9px; }
.marquee-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: inline-block;
  background: currentColor;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
}
.icon-store {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10l1.5-5h15L21 10'/%3E%3Cpath d='M5 10v9h14v-9'/%3E%3Cpath d='M9 19v-5h6v5'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10l1.5-5h15L21 10'/%3E%3Cpath d='M5 10v9h14v-9'/%3E%3Cpath d='M9 19v-5h6v5'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E");
}
.icon-clock {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
}
.icon-truck {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7h11v8H3z'/%3E%3Cpath d='M14 10h4l3 3v2h-7z'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3Ccircle cx='18' cy='18' r='2'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7h11v8H3z'/%3E%3Cpath d='M14 10h4l3 3v2h-7z'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3Ccircle cx='18' cy='18' r='2'/%3E%3C/svg%3E");
}
.icon-tag {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 12l-8 8-9-9V3h8z'/%3E%3Ccircle cx='8' cy='8' r='1.5'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 12l-8 8-9-9V3h8z'/%3E%3Ccircle cx='8' cy='8' r='1.5'/%3E%3C/svg%3E");
}
@keyframes categoryMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Encabezado, igual al diseño principal */
.store-header { position: relative; z-index: 1000; background: #fff; }
.main-nav { background: #fff; }
.nav-inner {
  position: relative;
  min-height: 118px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "brand" "menu";
  align-items: center;
  padding-top: 8px;
}
.brand-logo {
  grid-area: brand;
  justify-self: center;
  display: block;
  width: var(--site-logo-width-desktop, 220px);
  height: var(--site-logo-height-desktop, 64px);
  overflow: hidden;
}
.brand-logo picture,
.brand-logo img { display: block; width: 100%; height: 100%; }
.brand-logo img { object-fit: contain; object-position: center; }
.nav-menu {
  grid-area: menu;
  width: 100vw;
  height: var(--header-menu-height, 56px);
  min-height: var(--header-menu-height, 56px);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0 max(18px, calc((100vw - min(1180px, calc(100vw - 40px))) / 2));
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--header-menu-pink);
}
.header-menu-left .nav-menu { justify-content: flex-start; }
.header-menu-center .nav-menu { justify-content: center; }
.header-menu-right .nav-menu { justify-content: flex-end; }
.nav-link {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  color: #111;
  font-family: var(--font-general);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 10px;
  height: 2px;
  border-radius: 999px;
  background: #ed2f87;
  transition: right .2s ease;
}
.nav-link:hover::after,
.nav-link.active::after { right: 0; }
.nav-link.active { color: #c83e86; }
.seo-header-search,
.cart-button {
  position: absolute;
  top: 17px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  text-decoration: none;
}
.seo-header-search { right: 60px; }
.cart-button { right: 5px; }
.seo-header-search img { width: 38px; height: 38px; object-fit: contain; }
.cart-icon-image { width: 42px; height: 42px; object-fit: contain; }
.cart-button strong {
  position: absolute;
  top: 0;
  right: -2px;
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}
.menu-toggle { display: none; }

/* Cabecera de categoría: mismo lenguaje visual del Inicio */
.category-public-main { min-height: 60vh; background: #fff; }
.category-intro { padding: 34px 0 28px; background: #fff; }
.category-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 24px;
  color: #78676f;
  font-family: var(--font-general);
  font-size: 13px;
}
.category-breadcrumb a { color: var(--pink-dark); font-weight: 800; text-decoration: none; }
.category-breadcrumb a:hover { text-decoration: underline; }
.category-title-band {
  position: relative;
  width: 100%;
  min-height: 70px;
  display: grid;
  place-items: center;
  padding: 13px 72px 16px;
  border-radius: 999px;
  background: #fdeaf0;
  text-align: center;
}
.category-title-band h1 {
  max-width: 100%;
  margin: 0;
  color: #ff2f82;
  font-family: var(--font-general);
  font-size: clamp(28px, 3.1vw, 38px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.category-title-heart {
  position: absolute;
  left: 50%;
  bottom: -33px;
  width: 54px;
  height: 54px;
  display: block;
  object-fit: contain;
  transform: translateX(-50%);
  pointer-events: none;
}
.category-summary {
  max-width: 780px;
  margin: 48px auto 0;
  text-align: center;
}
.category-summary p {
  margin: 0 0 10px;
  color: #111;
  font-family: var(--font-general);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.category-summary strong {
  color: #ed2f87;
  font-family: var(--font-general);
  font-size: 13px;
  font-weight: 800;
}

/* Productos: mismo diseño de tarjetas y botones del Inicio */
.category-products { padding: 30px 0 86px; }
.seo-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.seo-product-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid #fac8d5;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(71, 34, 52, .06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.seo-product-card:hover {
  transform: translateY(-5px);
  border-color: #fac8d5;
  box-shadow: 0 14px 34px rgba(71, 34, 52, .11);
}
.seo-product-card.is-out-of-stock { opacity: .72; }
.seo-product-media {
  position: relative;
  min-height: 245px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
}
.category-product-hitarea {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
}
.seo-product-media img.category-product-photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 245px;
  object-fit: contain;
  object-position: center;
  background: #fff;
}
.seo-product-media.is-empty::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
}
.category-offer-badge {
  position: absolute;
  z-index: 4;
  top: 14px;
  left: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: #38222f;
  font-family: var(--font-general);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(72,34,54,.08);
}
.category-favorite-button {
  position: absolute;
  z-index: 5;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: #38222f;
  font-family: Arial, sans-serif;
  font-size: 20px;
  line-height: 1;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.category-favorite-button:hover,
.category-favorite-button.active {
  background: #38222f;
  color: #fff;
  transform: scale(1.05);
}
.seo-product-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 17px 17px 18px;
}
.seo-product-family {
  display: block;
  margin-bottom: 7px;
  color: #ed2f87;
  font-family: var(--font-general);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
}
.seo-product-card h2 {
  min-height: 43px;
  margin: 0 0 10px;
  font-family: var(--font-general);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.48;
}
.seo-product-card h2 a {
  display: -webkit-box;
  overflow: hidden;
  color: #38222f;
  text-decoration: none;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.seo-product-card h2 a:hover { color: #c83e86; }
.seo-product-stock {
  margin: 0 0 15px;
  font-family: var(--font-general);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.seo-product-stock.is-available { color: #30804d; }
.seo-product-stock.is-out { color: #9b596d; }
.seo-product-price {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-top: auto;
}
.category-price-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-width: 66px;
}
.category-price-stack del {
  color: #6f646a;
  font-family: var(--font-general);
  font-size: 12px;
  line-height: 1;
  text-decoration-thickness: 1.5px;
  white-space: nowrap;
}
.category-price-stack > div {
  min-height: 22px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.category-price-stack strong {
  color: #38222f;
  font-family: var(--font-general);
  font-size: 17px;
  white-space: nowrap;
}
.category-discount-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 7px;
  border-radius: 999px;
  background: #e73434;
  color: #fff;
  font-family: var(--font-general);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}
.add-button,
.category-primary-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--global-button-radius, 999px);
  padding: 10px 18px;
  background: var(--category-button-bg);
  color: var(--category-button-text);
  font-family: var(--font-buttons);
  font-size: 12px;
  font-weight: var(--font-weight-buttons);
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(255,151,176,.24);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.category-add-button {
  width: 100%;
  margin-top: 16px;
}
.add-button:hover,
.category-primary-button:hover {
  background: var(--category-button-hover-bg);
  color: var(--category-button-text);
  transform: translateY(-1px);
}
.add-button:disabled {
  background: var(--global-button-disabled-bg, #b8adb3);
  color: var(--global-button-disabled-text, #fff);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}
.category-empty {
  padding: 80px 20px;
  text-align: center;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.category-empty h2 {
  margin: 0 0 12px;
  color: #38222f;
  font-family: var(--font-general);
}
.category-empty p { margin: 0 auto 24px; max-width: 620px; color: var(--muted); line-height: 1.7; }

/* Pie de página */
.store-footer { padding: 54px 0 24px; background: var(--header-menu-pink); color: #fff; }
.footer-grid { display: grid; }
.footer-grid-v321 { grid-template-columns: 1.35fr .9fr .75fr .7fr; align-items: start; gap: 46px; }
.footer-grid-v321 > div { min-width: 0; }
.footer-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  min-height: 96px;
  padding: 10px 18px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(116, 32, 69, .12);
  text-decoration: none;
  overflow: hidden;
}
.footer-logo-image { display: block; width: min(280px, 100%); height: 76px; object-fit: contain; }
.footer-logo-column p,
.footer-visit-column p { margin: 8px 0 0; color: rgba(255,255,255,.92); line-height: 1.65; }
.footer-grid-v321 > div > strong { display: block; margin: 0 0 10px; color: #fff; font-family: var(--font-titles); font-size: 17px; }
.footer-grid-v321 a { display: block; margin: 8px 0; color: #fff; text-decoration: none; }
.footer-grid-v321 a:hover { text-decoration: underline; }
.footer-store-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 42px;
  margin-top: 14px !important;
  padding: 0 18px;
  border-radius: 999px;
  background: #ff5f9d;
  font-family: var(--font-buttons);
  font-weight: var(--font-weight-buttons);
  box-shadow: 0 8px 18px rgba(131, 18, 74, .18);
}
.footer-social-icons { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.footer-social-icons a { width: 46px; height: 46px; display: grid; place-items: center; margin: 0; border-radius: 50%; }
.footer-social-icons img { width: 44px; height: 44px; object-fit: contain; }
.footer-payment-methods { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 30px; padding-top: 8px; }
.footer-payment-pill { width: 58px; height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 6px; border-radius: 12px; background: #fff; }
.footer-payment-pill img { max-width: 100%; max-height: 100%; object-fit: contain; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 18px; padding-top: 6px; color: rgba(255,255,255,.94); }

.category-toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 9000;
  transform: translate(-50%, 20px);
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--plum);
  color: #fff;
  font-weight: 800;
  opacity: 0;
  visibility: hidden;
  transition: .22s ease;
}
.category-toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

@media (max-width: 980px) {
  .seo-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid-v321 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 28px; }
}

@media (max-width: 760px) {
  .page-width { width: min(100% - 28px, 1180px); }
  .top-marquee { height: 34px; font-size: 12px; }
  .top-marquee-group { gap: 32px; padding-right: 32px; }
  .nav-inner {
    grid-template-columns: minmax(0, 1fr) 42px 42px 42px;
    grid-template-areas: "brand search cart toggle";
    min-height: 72px;
    gap: 5px;
    padding: 6px 12px;
  }
  .brand-logo {
    grid-area: brand;
    justify-self: start;
    width: min(var(--site-logo-width-mobile, 150px), 100%);
    height: var(--site-logo-height-mobile, 54px);
  }
  .brand-logo img { object-position: left center; }
  .seo-header-search,
  .cart-button { position: relative; top: auto; right: auto; }
  .seo-header-search { grid-area: search; }
  .cart-button { grid-area: cart; }
  .menu-toggle {
    grid-area: toggle;
    width: 42px;
    height: 42px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 0;
    background: transparent;
  }
  .menu-toggle span { width: 23px; height: 2px; border-radius: 999px; background: #111; }
  .nav-menu {
    position: absolute;
    left: 8px;
    right: 8px;
    top: 100%;
    z-index: 5000;
    width: auto;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 8px 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid rgba(237,95,169,.24);
    border-radius: 0 0 14px 14px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(56,34,47,.18);
  }
  .nav-menu.is-open { display: flex; }
  .nav-link { min-height: 44px; padding: 0 5px; border-bottom: 1px solid rgba(237,95,169,.18); }
  .nav-link::after { display: none; }
  .category-intro { padding-top: 24px; }
  .category-title-band { min-height: 62px; padding: 12px 44px 17px; }
  .category-title-band h1 { font-size: clamp(27px, 9vw, 40px); }
  .category-title-heart { bottom: -29px; width: 48px; height: 48px; }
  .category-summary { margin-top: 43px; }
  .seo-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .seo-product-media { min-height: 190px; height: 190px; }
  .seo-product-media img.category-product-photo { height: 190px; }
  .seo-product-card-body { padding: 14px; }
  .category-add-button { width: 100%; }
  .footer-grid-v321 { grid-template-columns: 1fr; }
  .footer-payment-methods { justify-content: flex-start; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 460px) {
  .category-title-band { border-radius: 28px; padding-left: 20px; padding-right: 20px; }
  .seo-product-grid { grid-template-columns: 1fr; }
  .seo-product-media { min-height: 280px; height: 280px; }
  .seo-product-media img.category-product-photo { height: 280px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}

/* =========================================================
   CATEGORY_EXACT_HOME_V5
   CORRECCIÓN VALIDADA:
   - conserva 4 columnas y medios de 245 px;
   - usa la fuente configurada para la portada;
   - replica tamaños y grosores tipográficos del Inicio;
   - no modifica el tamaño ni la estructura de las tarjetas.
   ========================================================= */

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Menú: mismos valores tipográficos del Inicio. */
.nav-link {
  font-family: var(--font-general, Arial, sans-serif) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}

/* Título de la categoría: conserva su caja y corazón. */
.category-title-band h1 {
  font-family: var(--font-general, Arial, sans-serif) !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}

.category-summary,
.category-summary p,
.category-summary strong {
  font-family: var(--font-general, Arial, sans-serif) !important;
}

/* Mantener exactamente el tamaño anterior: cuatro tarjetas. */
.seo-product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 20px !important;
}

.seo-product-card {
  width: auto !important;
  min-width: 0 !important;
}

/* Mantener exactamente el alto anterior de la imagen. */
.seo-product-media {
  min-height: 245px !important;
  height: 245px !important;
}

.seo-product-media img.category-product-photo {
  width: 100% !important;
  min-height: 245px !important;
  height: 245px !important;
  object-fit: contain !important;
  object-position: center !important;
}

/* Tipografía tomada de las tarjetas del Inicio. */
.seo-product-family {
  font-family: var(--font-general, Arial, sans-serif) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: .08em !important;
}

.seo-product-card h2 {
  min-height: 52px !important;
  margin: 8px 0 12px !important;
  font-family: var(--font-general, Arial, sans-serif) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
}

.seo-product-card h2 a {
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
}

.seo-product-stock {
  margin-bottom: 12px !important;
  font-family: var(--font-general, Arial, sans-serif) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

.category-price-stack,
.category-price-stack del,
.category-price-stack strong,
.category-discount-badge {
  font-family: var(--font-general, Arial, sans-serif) !important;
}

.category-price-stack del {
  font-size: 12px !important;
}

.category-price-stack strong {
  font-size: 16px !important;
  font-weight: 700 !important;
}

.category-add-button {
  min-height: 42px !important;
  font-family: var(--font-buttons, var(--font-general, Arial, sans-serif)) !important;
  font-size: 14px !important;
  font-weight: var(--font-weight-buttons, 800) !important;
}

/* Responsivo original de la página de categorías. */
@media (max-width: 980px) {
  .seo-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  .nav-link {
    font-size: 15px !important;
    font-weight: 600 !important;
  }

  .seo-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .seo-product-media,
  .seo-product-media img.category-product-photo {
    min-height: 190px !important;
    height: 190px !important;
  }

  .seo-product-card h2 {
    min-height: 48px !important;
    font-size: 14px !important;
  }

  .category-add-button {
    font-size: 13px !important;
  }
}

@media (max-width: 460px) {
  .seo-product-grid {
    grid-template-columns: 1fr !important;
  }

  .seo-product-media,
  .seo-product-media img.category-product-photo {
    min-height: 280px !important;
    height: 280px !important;
  }
}

/* =========================================================
   CATEGORY_FONT_EXACT_HOME_V6
   Solo corrige la tipografía. No cambia:
   - cantidad de columnas;
   - ancho/alto de tarjetas;
   - alto de imágenes;
   - espacios ni estructura.
   ========================================================= */

body.category-public-page,
body.category-public-page button,
body.category-public-page input,
body.category-public-page a,
body.category-public-page p,
body.category-public-page span,
body.category-public-page strong,
body.category-public-page h1,
body.category-public-page h2,
body.category-public-page h3 {
  font-family: "Inter", Arial, sans-serif !important;
}

/* Menú igual al Inicio: normal y activo más grueso. */
body.category-public-page .nav-link {
  font-family: "Inter", Arial, sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}

body.category-public-page .nav-link.active {
  font-weight: 800 !important;
}

/* Textos de las tarjetas iguales al Inicio. */
body.category-public-page .seo-product-family {
  font-family: "Inter", Arial, sans-serif !important;
  font-weight: 800 !important;
}

body.category-public-page .seo-product-card h2,
body.category-public-page .seo-product-card h2 a {
  font-family: "Inter", Arial, sans-serif !important;
  font-weight: 700 !important;
}

body.category-public-page .seo-product-stock {
  font-family: "Inter", Arial, sans-serif !important;
  font-weight: 800 !important;
}

body.category-public-page .category-price-stack,
body.category-public-page .category-price-stack del,
body.category-public-page .category-price-stack strong,
body.category-public-page .category-discount-badge {
  font-family: "Inter", Arial, sans-serif !important;
}

body.category-public-page .category-price-stack strong {
  font-weight: 700 !important;
}

body.category-public-page .category-add-button {
  font-family: "Inter", Arial, sans-serif !important;
  font-weight: 800 !important;
}

@media (max-width: 760px) {
  body.category-public-page .nav-link {
    font-size: 15px !important;
  }
}


/* =========================================================
   CATEGORY_MENU_FOOTER_HOME_V7
   - elimina el resumen bajo el corazón;
   - toma el alto y alineación del menú desde el POS;
   - replica el footer y accesos flotantes del Inicio;
   - no modifica tarjetas, imágenes ni tipografía de productos.
   ========================================================= */

:root {
  --fantasia-pink: #fa94ad;
}

/* Ya no existe descripción ni contador: conserva separación del corazón. */
.category-intro {
  padding-bottom: 42px !important;
}

.category-summary {
  display: none !important;
}

.category-products {
  padding-top: 28px !important;
}

/* Alto y alineación configurados desde web_configuracion en el POS. */
.store-header.header-layout-centered .nav-menu,
.store-header.header-layout-horizontal .nav-menu {
  height: var(--header-menu-height, 56px) !important;
  min-height: var(--header-menu-height, 56px) !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  align-items: center !important;
  box-sizing: border-box !important;
}

.store-header.header-layout-centered .nav-link,
.store-header.header-layout-horizontal .nav-link {
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.store-header.header-layout-centered.header-menu-left .nav-menu,
.store-header.header-layout-horizontal.header-menu-left .nav-menu {
  justify-content: flex-start !important;
}

.store-header.header-layout-centered.header-menu-center .nav-menu,
.store-header.header-layout-horizontal.header-menu-center .nav-menu {
  justify-content: center !important;
}

.store-header.header-layout-centered.header-menu-right .nav-menu,
.store-header.header-layout-horizontal.header-menu-right .nav-menu {
  justify-content: flex-end !important;
}

/* Footer igual al Inicio. */
.category-home-footer.store-footer {
  padding: 54px 0 24px !important;
  background: var(--fantasia-pink, #fa94ad) !important;
  color: #ffffff !important;
}

.category-home-footer .footer-grid-v321 {
  display: grid !important;
  grid-template-columns: 1.35fr .9fr .75fr .7fr !important;
  align-items: start !important;
  gap: 46px !important;
}

.category-home-footer .footer-grid-v321 > div {
  min-width: 0 !important;
}

.category-home-footer .footer-logo-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: min(320px, 100%) !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.category-home-footer .footer-logo-image {
  display: block !important;
  width: min(300px, 100%) !important;
  height: auto !important;
  max-height: 96px !important;
  object-fit: contain !important;
  object-position: left center !important;
  mix-blend-mode: multiply !important;
  filter: contrast(1.04) saturate(1.04) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.category-home-footer .footer-logo-column p,
.category-home-footer .footer-visit-column p,
.category-home-footer .footer-location-item {
  color: rgba(255, 255, 255, .94) !important;
  font-family: "Inter", Arial, sans-serif !important;
  line-height: 1.55 !important;
}

.category-home-footer .footer-logo-column p {
  max-width: 310px !important;
  margin: 8px 0 0 !important;
}

.category-home-footer .footer-grid-v321 > div > strong {
  display: block !important;
  margin: 0 0 10px !important;
  color: #ffffff !important;
  font-family: "Inter", Arial, sans-serif !important;
  font-size: 17px !important;
  font-weight: 800 !important;
}

.category-home-footer .footer-grid-v321 a {
  display: block !important;
  margin: 8px 0 !important;
  color: #ffffff !important;
  font-family: "Inter", Arial, sans-serif !important;
  text-decoration: none !important;
}

.category-home-footer .footer-grid-v321 a:hover {
  text-decoration: underline !important;
}

.category-home-footer .footer-location-summary {
  display: grid !important;
  gap: 6px !important;
  max-width: 265px !important;
  margin-top: 8px !important;
}

.category-home-footer .footer-location-item {
  position: relative !important;
  display: block !important;
  padding-left: 17px !important;
  font-size: 14px !important;
}

.category-home-footer .footer-location-item::before {
  content: "•";
  position: absolute;
  left: 2px;
  top: 0;
  font-weight: 900;
}

.category-home-footer .footer-store-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  min-height: 42px !important;
  margin-top: 14px !important;
  padding: 0 18px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #ff5f9d !important;
  color: #ffffff !important;
  font-family: "Inter", Arial, sans-serif !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  box-shadow: 0 8px 18px rgba(131, 18, 74, .18) !important;
}

.category-home-footer .footer-social-icons {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px !important;
}

.category-home-footer .footer-social-icons a {
  width: 46px !important;
  height: 46px !important;
  display: grid !important;
  place-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
}

.category-home-footer .footer-social-icons img {
  display: block !important;
  width: 44px !important;
  height: 44px !important;
  object-fit: contain !important;
}

.category-home-footer .footer-payment-methods {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 14px !important;
  margin-top: 30px !important;
  padding-top: 8px !important;
}

.category-home-footer .footer-payment-pill {
  width: 58px !important;
  height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 6px !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .06) !important;
}

.category-home-footer .footer-payment-pill img {
  display: block !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}

.category-home-footer .footer-bottom {
  display: flex !important;
  justify-content: space-between !important;
  gap: 16px !important;
  margin-top: 18px !important;
  padding-top: 6px !important;
  color: rgba(255, 255, 255, .94) !important;
  font-family: "Inter", Arial, sans-serif !important;
}

/* TikTok, Instagram y gato de WhatsApp flotantes. */
.social-floating-bar {
  position: fixed !important;
  right: 16px !important;
  bottom: 18px !important;
  z-index: 900 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 10px !important;
  background: transparent !important;
}

.social-float-icon,
.social-float-whatsapp {
  display: block !important;
  margin: 0 !important;
  text-decoration: none !important;
  transition: transform .22s ease, filter .22s ease !important;
}

.social-float-icon:hover,
.social-float-whatsapp:hover {
  transform: translateY(-3px) scale(1.02) !important;
}

.social-float-icon img {
  display: block !important;
  width: 56px !important;
  height: 56px !important;
  object-fit: contain !important;
}

.social-float-whatsapp img {
  display: block !important;
  width: 170px !important;
  max-width: 42vw !important;
  height: auto !important;
  object-fit: contain !important;
}

@media (max-width: 980px) {
  .category-home-footer .footer-grid-v321 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 34px 28px !important;
  }
}

@media (max-width: 760px) {
  .store-header.header-layout-centered .nav-menu,
  .store-header.header-layout-horizontal .nav-menu {
    height: var(--header-menu-height, 56px) !important;
    min-height: var(--header-menu-height, 56px) !important;
  }

  .social-floating-bar {
    right: 12px !important;
    bottom: 14px !important;
    gap: 9px !important;
  }

  .social-float-icon img {
    width: 52px !important;
    height: 52px !important;
  }

  .social-float-whatsapp img {
    width: 148px !important;
    max-width: 48vw !important;
  }
}

@media (max-width: 620px) {
  .category-home-footer .footer-grid-v321 {
    grid-template-columns: 1fr !important;
  }

  .category-home-footer .footer-logo-link {
    width: min(280px, 100%) !important;
  }

  .category-home-footer .footer-logo-image {
    width: min(260px, 100%) !important;
    max-height: 82px !important;
  }

  .category-home-footer .footer-payment-methods {
    justify-content: flex-start !important;
  }

  .category-home-footer .footer-bottom {
    flex-direction: column !important;
  }
}

/* =========================================================
   CATEGORY_HEADER_FOOTER_PRODUCT_V8
   - separa el logo del menú usando las medidas configuradas
     desde el POS;
   - mantiene intactas las tarjetas;
   - muestra el footer igual al Inicio, sin recortes.
   ========================================================= */

@media (min-width: 761px) {
  body.category-public-page .store-header.header-layout-centered .nav-inner {
    min-height: calc(
      var(--site-logo-height-desktop, 64px)
      + var(--header-menu-height, 56px)
      + 34px
    ) !important;
    grid-template-rows:
      calc(var(--site-logo-height-desktop, 64px) + 34px)
      var(--header-menu-height, 56px) !important;
    padding-top: 8px !important;
    padding-bottom: 0 !important;
  }

  body.category-public-page .store-header.header-layout-centered .brand-logo {
    align-self: center !important;
    margin: 0 !important;
  }

  body.category-public-page .store-header.header-layout-centered .nav-menu {
    align-self: end !important;
    margin-top: 0 !important;
    gap: 20px !important;
  }
}

body.category-public-page .category-home-footer .footer-grid-v321 {
  width: min(1180px, calc(100% - 40px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  overflow: visible !important;
}

body.category-public-page .category-home-footer .footer-logo-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: min(320px, 100%) !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

body.category-public-page .category-home-footer .footer-logo-image {
  display: block !important;
  width: min(300px, 100%) !important;
  height: 94px !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: left center !important;
  filter: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  background: transparent !important;
}

body.category-public-page .category-home-footer .footer-location-summary {
  margin: 8px 0 18px !important;
}

body.category-public-page .category-home-footer .footer-store-button {
  margin-top: 20px !important;
  white-space: nowrap !important;
}

body.category-public-page .category-home-footer .footer-social-icons {
  min-height: 46px !important;
}

body.category-public-page .category-home-footer .footer-social-icons a[hidden],
body.category-public-page .social-floating-bar a[hidden],
body.category-public-page .social-floating-bar[hidden] {
  display: none !important;
}

@media (max-width: 980px) {
  body.category-public-page .category-home-footer .footer-grid-v321 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 620px) {
  body.category-public-page .category-home-footer .footer-grid-v321 {
    grid-template-columns: 1fr !important;
  }
}

/* =========================================================
   CATEGORY_UNIFIED_HOME_V10
   La cabecera, el fondo de las imágenes y los botones de
   Categorías usan exactamente la referencia visual del Inicio.
   Este bloque final anula los parches anteriores.
   ========================================================= */

html body.category-public-page {
  padding-top: var(--store-header-height, 178px) !important;
  background: #ffffff !important;
}

html body.category-public-page .seo-store-header {
  position: fixed !important;
  inset: 0 0 auto 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
  background: #ffffff !important;
}

html body.category-public-page .seo-store-header .top-marquee {
  height: 38px !important;
  background: #fa94ad !important;
  color: #ffffff !important;
}

html body.category-public-page .seo-store-header .main-nav {
  padding: 0 !important;
  background: #ffffff !important;
}

@media (min-width: 761px) {
  html body.category-public-page .seo-store-header.header-layout-centered .nav-inner {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-areas: "brand" "menu" !important;
    grid-template-rows: 100px var(--header-menu-height, 40px) !important;
    min-height: calc(100px + var(--header-menu-height, 40px)) !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    overflow: visible !important;
    align-items: center !important;
  }

  html body.category-public-page .seo-store-header.header-layout-centered .brand-logo {
    grid-area: brand !important;
    justify-self: center !important;
    align-self: center !important;
    display: block !important;
    width: var(--site-logo-width-desktop, 220px) !important;
    height: var(--site-logo-height-desktop, 64px) !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  html body.category-public-page .seo-store-header.header-layout-centered .brand-logo picture,
  html body.category-public-page .seo-store-header.header-layout-centered .brand-logo img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
  }

  html body.category-public-page .seo-store-header.header-layout-centered .brand-logo img {
    object-fit: contain !important;
    object-position: center !important;
  }

  html body.category-public-page .seo-store-header.header-layout-centered .nav-menu {
    grid-area: menu !important;
    position: relative !important;
    left: auto !important;
    width: 100vw !important;
    max-width: none !important;
    height: var(--header-menu-height, 40px) !important;
    min-height: var(--header-menu-height, 40px) !important;
    margin-top: 0 !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 0 max(18px, calc((100vw - min(1180px, calc(100vw - 40px))) / 2)) !important;
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
    transform: none !important;
    box-sizing: border-box !important;
    background: #ff97b0 !important;
    border: 0 !important;
  }

  html body.category-public-page .seo-store-header.header-menu-left .nav-menu {
    justify-content: flex-start !important;
  }

  html body.category-public-page .seo-store-header.header-menu-center .nav-menu {
    justify-content: center !important;
  }

  html body.category-public-page .seo-store-header.header-menu-right .nav-menu {
    justify-content: flex-end !important;
  }

  html body.category-public-page .seo-store-header .nav-link {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
    padding: 0 !important;
    font-family: var(--font-general, "Inter", Arial, sans-serif) !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
  }

  html body.category-public-page .seo-store-header.header-layout-centered .seo-header-search,
  html body.category-public-page .seo-store-header.header-layout-centered .seo-header-search:hover,
  html body.category-public-page .seo-store-header.header-layout-centered .seo-header-search:focus-within {
    position: absolute !important;
    right: 58px !important;
    top: 28px !important;
    z-index: 40 !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    display: grid !important;
    place-items: center !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }

  html body.category-public-page .seo-store-header .seo-header-search .search-icon-image {
    display: block !important;
    width: 38px !important;
    height: 38px !important;
    object-fit: contain !important;
  }

  html body.category-public-page .seo-store-header.header-layout-centered .seo-cart-link {
    position: absolute !important;
    right: 4px !important;
    top: 28px !important;
    z-index: 40 !important;
    width: 46px !important;
    height: 46px !important;
    margin: 0 !important;
  }
}

/* Fondo blanco en todas las imágenes de Categorías */
html body.category-public-page .category-products .seo-product-media {
  background: #ffffff !important;
  background-image: none !important;
}

html body.category-public-page .category-products .seo-product-media::before,
html body.category-public-page .category-products .seo-product-media::after {
  content: none !important;
  display: none !important;
}

html body.category-public-page .category-products .seo-product-media img {
  background: #ffffff !important;
  object-fit: contain !important;
}

/* Botón rosado, sin brillo verde */
html body.category-public-page .category-products .category-add-button {
  border: 0 !important;
  border-color: #ff97b0 !important;
  background: #ff97b0 !important;
  background-color: #ff97b0 !important;
  background-image: none !important;
  color: #ffffff !important;
  box-shadow: 0 8px 18px rgba(255, 151, 176, .24) !important;
  filter: none !important;
  outline: 0 !important;
}

html body.category-public-page .category-products .category-add-button:hover {
  border-color: #f27fa0 !important;
  background: #f27fa0 !important;
  background-color: #f27fa0 !important;
  color: #ffffff !important;
  box-shadow: 0 8px 18px rgba(242, 127, 160, .24) !important;
}

html body.category-public-page .category-products .category-add-button:disabled {
  border-color: #c9c0c5 !important;
  background: #c9c0c5 !important;
  background-color: #c9c0c5 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

@media (max-width: 760px) {
  html body.category-public-page {
    padding-top: var(--store-header-height, 110px) !important;
  }

  html body.category-public-page .seo-store-header .main-nav {
    padding: 0 !important;
  }

  html body.category-public-page .seo-store-header .nav-inner {
    position: relative !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 42px 42px 42px !important;
    grid-template-areas: "brand search cart toggle" !important;
    gap: 6px !important;
    min-height: 72px !important;
    padding: 0 12px !important;
  }

  html body.category-public-page .seo-store-header .brand-logo {
    grid-area: brand !important;
    justify-self: start !important;
    width: min(var(--site-logo-width-mobile, 150px), 100%) !important;
    height: var(--site-logo-height-mobile, 54px) !important;
  }

  html body.category-public-page .seo-store-header .seo-header-search,
  html body.category-public-page .seo-store-header .seo-cart-link,
  html body.category-public-page .seo-store-header .menu-toggle {
    position: relative !important;
    inset: auto !important;
    width: 42px !important;
    height: 42px !important;
  }

  html body.category-public-page .seo-store-header .seo-header-search {
    grid-area: search !important;
  }

  html body.category-public-page .seo-store-header .seo-cart-link {
    grid-area: cart !important;
  }

  html body.category-public-page .seo-store-header .menu-toggle {
    grid-area: toggle !important;
  }
}

/* =========================================================
   CATEGORY_TYPOGRAPHY_HOME_V11
   La página /categoria/ usa Inter directamente como Inicio.
   No modifica tarjetas, imágenes, tamaños ni espacios V10.
   ========================================================= */

html body.category-public-page,
html body.category-public-page input,
html body.category-public-page textarea,
html body.category-public-page select,
html body.category-public-page button,
html body.category-public-page a,
html body.category-public-page p,
html body.category-public-page span,
html body.category-public-page strong,
html body.category-public-page small,
html body.category-public-page del,
html body.category-public-page li,
html body.category-public-page h1,
html body.category-public-page h2,
html body.category-public-page h3,
html body.category-public-page h4 {
  font-family: "Inter", Arial, sans-serif !important;
}

html body.category-public-page .seo-store-header .nav-link {
  font-family: "Inter", Arial, sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}

html body.category-public-page .category-breadcrumb,
html body.category-public-page .category-breadcrumb a,
html body.category-public-page .category-breadcrumb span,
html body.category-public-page .category-breadcrumb strong {
  font-family: "Inter", Arial, sans-serif !important;
  font-size: 13px !important;
  letter-spacing: 0 !important;
}

html body.category-public-page .category-breadcrumb a {
  font-weight: 600 !important;
}

html body.category-public-page .category-breadcrumb strong {
  font-weight: 700 !important;
}

html body.category-public-page .category-title-band h1 {
  font-family: "Inter", Arial, sans-serif !important;
  font-weight: 600 !important;
}

html body.category-public-page .category-products .seo-product-family {
  font-family: "Inter", Arial, sans-serif !important;
  font-weight: 800 !important;
}

html body.category-public-page .category-products .seo-product-card h2,
html body.category-public-page .category-products .seo-product-card h2 a {
  font-family: "Inter", Arial, sans-serif !important;
  font-weight: 700 !important;
}

html body.category-public-page .category-products .category-add-button {
  font-family: "Inter", Arial, sans-serif !important;
  font-weight: 800 !important;
}

html body.category-public-page .category-home-footer,
html body.category-public-page .category-home-footer p,
html body.category-public-page .category-home-footer a,
html body.category-public-page .category-home-footer button,
html body.category-public-page .category-home-footer span,
html body.category-public-page .category-home-footer strong {
  font-family: "Inter", Arial, sans-serif !important;
  letter-spacing: 0 !important;
}

html body.category-public-page .category-home-footer .footer-grid-v321 > div > strong {
  font-family: "Inter", Arial, sans-serif !important;
  font-size: 17px !important;
  font-weight: 800 !important;
}

html body.category-public-page .category-home-footer .footer-logo-column p,
html body.category-public-page .category-home-footer .footer-location-item,
html body.category-public-page .category-home-footer .footer-help-column a,
html body.category-public-page .category-home-footer .footer-bottom {
  font-family: "Inter", Arial, sans-serif !important;
  font-weight: 400 !important;
}

html body.category-public-page .category-home-footer .footer-store-button {
  font-family: "Inter", Arial, sans-serif !important;
  font-weight: 800 !important;
}

/* Foto 3: ocultar ruta de categoría. */
html body.category-public-page .category-breadcrumb {
  display: none !important;
}

/* Ajustar solo el espacio que deja la ruta oculta. */
html body.category-public-page .category-intro {
  padding-top: 28px !important;
}

/* Footer exactamente como el Inicio. */
html body.category-public-page .category-home-footer.store-footer {
  padding: 54px 0 24px !important;
  background: var(--fantasia-pink, #fa94ad) !important;
  color: #ffffff !important;
}

html body.category-public-page .category-home-footer .footer-grid-v321 {
  display: grid !important;
  grid-template-columns: 1.35fr .9fr .75fr .7fr !important;
  align-items: start !important;
  gap: 46px !important;
}

html body.category-public-page .category-home-footer .footer-logo-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: min(320px, 100%) !important;
  max-width: 100% !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

html body.category-public-page .category-home-footer .footer-logo-image {
  display: block !important;
  width: min(300px, 100%) !important;
  height: 94px !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: left center !important;
  filter: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

html body.category-public-page .category-home-footer .footer-logo-column p {
  max-width: 340px !important;
  margin: 8px 0 0 !important;
  line-height: 1.65 !important;
}

html body.category-public-page .category-home-footer .footer-grid-v321 > div > strong {
  margin: 0 0 10px !important;
  color: #ffffff !important;
  font-size: 17px !important;
  font-weight: 800 !important;
}

html body.category-public-page .category-home-footer .footer-payment-methods {
  justify-content: center !important;
  gap: 14px !important;
  margin-top: 30px !important;
  padding-top: 8px !important;
}

html body.category-public-page .category-home-footer .footer-bottom {
  margin-top: 18px !important;
  padding-top: 6px !important;
}

@media (max-width: 980px) {
  html body.category-public-page .category-home-footer .footer-grid-v321 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 34px 28px !important;
  }
}

@media (max-width: 620px) {
  html body.category-public-page .category-home-footer .footer-grid-v321 {
    grid-template-columns: 1fr !important;
  }

  html body.category-public-page .category-home-footer .footer-logo-link {
    width: min(280px, 100%) !important;
  }

  html body.category-public-page .category-home-footer .footer-logo-image {
    width: min(260px, 100%) !important;
    height: 82px !important;
  }

  html body.category-public-page .category-home-footer .footer-payment-methods {
    justify-content: flex-start !important;
  }
}

/* Logo del final: tratamiento exacto del Inicio. */
html body.category-public-page .category-home-footer .footer-logo-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: min(320px, 100%) !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

html body.category-public-page .category-home-footer .footer-logo-image {
  display: block !important;
  width: min(300px, 100%) !important;
  height: auto !important;
  max-height: 96px !important;
  object-fit: contain !important;
  object-position: left center !important;
  mix-blend-mode: multiply !important;
  filter: contrast(1.04) saturate(1.04) !important;
  opacity: 1 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* =========================================================
   CATEGORY_FOOTER_BUTTON_HOME_V15
   Corrige únicamente el botón "Ver punto de venta":
   - siempre visible como botón;
   - sin subrayado normal, hover, focus ni visited;
   - no modifica logo, menú, tarjetas ni otros enlaces.
   ========================================================= */

html body.category-public-page
.category-home-footer
.footer-grid-v321
a.footer-store-button,
html body.category-public-page
.category-home-footer
.footer-grid-v321
a.footer-store-button:link,
html body.category-public-page
.category-home-footer
.footer-grid-v321
a.footer-store-button:visited,
html body.category-public-page
.category-home-footer
.footer-grid-v321
a.footer-store-button:hover,
html body.category-public-page
.category-home-footer
.footer-grid-v321
a.footer-store-button:focus,
html body.category-public-page
.category-home-footer
.footer-grid-v321
a.footer-store-button:focus-visible,
html body.category-public-page
.category-home-footer
.footer-grid-v321
a.footer-store-button:active {
  position: relative !important;
  z-index: 2 !important;
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  min-width: 168px !important;
  min-height: 42px !important;
  margin: 14px 0 0 !important;
  padding: 0 18px !important;
  border: 0 !important;
  border-radius: 999px !important;
  outline: 0 !important;
  background: #ff5f9d !important;
  background-color: #ff5f9d !important;
  background-image: none !important;
  color: #ffffff !important;
  font-family: "Inter", Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  -webkit-text-decoration: none !important;
  box-shadow: 0 8px 18px rgba(131, 18, 74, .18) !important;
  filter: none !important;
}

html body.category-public-page
.category-home-footer
.footer-grid-v321
a.footer-store-button:hover,
html body.category-public-page
.category-home-footer
.footer-grid-v321
a.footer-store-button:focus-visible {
  background: #f24f91 !important;
  background-color: #f24f91 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  transform: translateY(-1px) !important;
}

/* =========================================================
   CATEGORY_TOAST_HOME_V16
   Aviso de producto agregado idéntico al Inicio.
   ========================================================= */

html body.category-public-page .category-toast.toast {
  position: fixed !important;
  left: 22px !important;
  right: auto !important;
  bottom: 22px !important;
  top: auto !important;
  z-index: 13050 !important;
  width: min(390px, calc(100vw - 32px)) !important;
  max-width: none !important;
  min-height: 76px !important;
  display: grid !important;
  grid-template-columns: 58px minmax(0, 1fr) 42px !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 10px 11px 10px 12px !important;
  border: 1px solid rgba(237, 95, 169, .16) !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  color: #24191f !important;
  box-shadow: 0 18px 48px rgba(56, 34, 47, .22) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(16px) scale(.98) !important;
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease !important;
  font-family: var(--font-general, "Inter", Arial, sans-serif) !important;
  text-align: left !important;
}

html body.category-public-page .category-toast.toast.show {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) scale(1) !important;
}

html body.category-public-page .category-toast .toast-cart-icon {
  width: 58px !important;
  height: 58px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 14px !important;
  background: #ffe4f1 !important;
  color: #ed5fa9 !important;
}

html body.category-public-page .category-toast .toast-cart-icon svg {
  width: 29px !important;
  height: 29px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.7 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

html body.category-public-page .category-toast .toast-content {
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  line-height: 1.2 !important;
}

html body.category-public-page .category-toast .toast-content strong {
  max-width: 100% !important;
  overflow: hidden !important;
  color: #1f1a1d !important;
  font-size: 17px !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
}

html body.category-public-page .category-toast .toast-content small {
  display: block !important;
  max-width: 100% !important;
  margin-top: 5px !important;
  overflow: hidden !important;
  color: #66535d !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
}

html body.category-public-page .category-toast .toast-cart-link {
  border: 0 !important;
  padding: 2px 0 0 !important;
  background: transparent !important;
  color: #ed5fa9 !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  text-decoration: none !important;
}

html body.category-public-page .category-toast .toast-cart-link:hover {
  text-decoration: underline !important;
}

html body.category-public-page .category-toast .toast-close {
  width: 40px !important;
  height: 48px !important;
  display: grid !important;
  place-items: center !important;
  border: 0 !important;
  border-left: 1px solid #f0dfe7 !important;
  background: transparent !important;
  color: #111111 !important;
  font: 400 34px/1 Arial, sans-serif !important;
}

html body.category-public-page .category-toast.toast-message {
  grid-template-columns: 46px minmax(0, 1fr) 38px !important;
  min-height: 64px !important;
}

html body.category-public-page .category-toast.toast-message .toast-cart-icon {
  width: 46px !important;
  height: 46px !important;
  border-radius: 12px !important;
}

html body.category-public-page .category-toast.toast-message .toast-content strong {
  font-size: 14px !important;
  white-space: normal !important;
}

@media (max-width: 620px) {
  html body.category-public-page .category-toast.toast {
    left: 14px !important;
    bottom: max(14px, env(safe-area-inset-bottom)) !important;
    width: calc(100vw - 28px) !important;
    grid-template-columns: 52px minmax(0, 1fr) 38px !important;
    min-height: 70px !important;
    border-radius: 15px !important;
  }

  html body.category-public-page .category-toast .toast-cart-icon {
    width: 52px !important;
    height: 52px !important;
  }

  html body.category-public-page .category-toast .toast-content strong {
    font-size: 15px !important;
  }

  html body.category-public-page .category-toast .toast-content small {
    font-size: 10px !important;
  }

  html body.category-public-page .category-toast .toast-close {
    width: 36px !important;
    height: 44px !important;
    font-size: 30px !important;
  }
}


/* =========================================================
   CATEGORY_MOBILE_HOME_V18
   CELULAR: cabecera y menú iguales al Inicio.
   - mismo alto de 72px;
   - misma distribución: logo, lupa, carrito y hamburguesa;
   - mismas medidas de 42px;
   - menú blanco desplegable;
   - compatible con menu-open e is-open;
   - no modifica la vista de escritorio.
   ========================================================= */

@media (max-width: 760px) {
  html body.category-public-page .seo-store-header,
  html body.category-public-page .seo-store-header .main-nav,
  html body.category-public-page .seo-store-header .nav-inner {
    overflow: visible !important;
  }

  html body.category-public-page .seo-store-header .main-nav {
    position: relative !important;
    padding: 0 !important;
    background: #ffffff !important;
  }

  html body.category-public-page .seo-store-header .nav-inner,
  html body.category-public-page .seo-store-header.header-layout-horizontal .nav-inner,
  html body.category-public-page .seo-store-header.header-layout-centered .nav-inner {
    position: relative !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 42px 42px 42px !important;
    grid-template-areas: "brand search cart toggle" !important;
    align-items: center !important;
    gap: 6px !important;
    width: min(1180px, calc(100% - 40px)) !important;
    min-height: 72px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  html body.category-public-page .seo-store-header .brand-logo,
  html body.category-public-page .seo-store-header.header-layout-horizontal .brand-logo,
  html body.category-public-page .seo-store-header.header-layout-centered .brand-logo {
    grid-area: brand !important;
    justify-self: start !important;
    align-self: center !important;
    width: min(var(--site-logo-width-mobile, 150px), 100%) !important;
    height: var(--site-logo-height-mobile, 54px) !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  html body.category-public-page .seo-store-header .brand-logo picture,
  html body.category-public-page .seo-store-header .brand-logo img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
  }

  html body.category-public-page .seo-store-header .brand-logo img {
    object-fit: contain !important;
    object-position: left center !important;
  }

  html body.category-public-page .seo-store-header .seo-header-search,
  html body.category-public-page .seo-store-header.header-layout-horizontal .seo-header-search,
  html body.category-public-page .seo-store-header.header-layout-centered .seo-header-search {
    grid-area: search !important;
    position: relative !important;
    inset: auto !important;
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
    justify-self: center !important;
    z-index: 175 !important;
  }

  html body.category-public-page .seo-store-header .search-icon-image {
    position: relative !important;
    width: 34px !important;
    height: 34px !important;
    display: block !important;
    object-fit: contain !important;
    pointer-events: none !important;
  }

  html body.category-public-page .seo-store-header .seo-cart-link,
  html body.category-public-page .seo-store-header.header-layout-horizontal .seo-cart-link,
  html body.category-public-page .seo-store-header.header-layout-centered .seo-cart-link {
    grid-area: cart !important;
    position: relative !important;
    inset: auto !important;
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    margin: 0 !important;
    justify-self: center !important;
  }

  html body.category-public-page .seo-store-header .menu-toggle,
  html body.category-public-page .seo-store-header.header-layout-horizontal .menu-toggle,
  html body.category-public-page .seo-store-header.header-layout-centered .menu-toggle {
    grid-area: toggle !important;
    position: relative !important;
    inset: auto !important;
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    color: #111111 !important;
    justify-self: center !important;
    z-index: 176 !important;
  }

  html body.category-public-page .seo-store-header .menu-toggle span {
    width: 23px !important;
    height: 2px !important;
    display: block !important;
    border-radius: 999px !important;
    background: currentColor !important;
  }

  html body.category-public-page .seo-store-header .nav-menu,
  html body.category-public-page .seo-store-header.header-layout-horizontal .nav-menu,
  html body.category-public-page .seo-store-header.header-layout-centered .nav-menu {
    position: absolute !important;
    left: 8px !important;
    right: 8px !important;
    top: calc(100% + 1px) !important;
    z-index: 5000 !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: calc(100vh - var(--store-header-height, 110px) - 12px) !important;
    margin: 0 !important;
    padding: 7px 12px 10px !important;
    display: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    border: 1px solid rgba(237, 95, 169, .24) !important;
    border-top: 0 !important;
    border-radius: 0 0 14px 14px !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    box-shadow: 0 14px 32px rgba(56, 34, 47, .18) !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    isolation: isolate !important;
  }

  html body.category-public-page .seo-store-header .main-nav.menu-open .nav-menu,
  html body.category-public-page .seo-store-header .nav-menu.is-open {
    display: flex !important;
  }

  html body.category-public-page .seo-store-header .nav-menu > .nav-link[data-seo-href="/"] {
    order: 1 !important;
  }

  html body.category-public-page .seo-store-header .nav-menu > .nav-category-trigger {
    order: 2 !important;
  }

  html body.category-public-page .seo-store-header .nav-menu > .nav-info-wrap {
    order: 3 !important;
  }

  html body.category-public-page .seo-store-header .nav-menu > .nav-link,
  html body.category-public-page .seo-store-header .nav-menu > .nav-info-wrap,
  html body.category-public-page .seo-store-header .nav-info-wrap .nav-info-trigger {
    position: static !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 44px !important;
    margin: 0 !important;
    transform: none !important;
  }

  html body.category-public-page .seo-store-header .nav-menu > .nav-link,
  html body.category-public-page .seo-store-header .nav-info-wrap .nav-info-trigger {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 11px 6px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(237, 95, 169, .22) !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    color: #21171d !important;
    text-align: left !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    opacity: 1 !important;
  }

  html body.category-public-page .seo-store-header .nav-menu > .nav-link::before,
  html body.category-public-page .seo-store-header .nav-menu > .nav-link::after,
  html body.category-public-page .seo-store-header .nav-info-wrap .nav-info-trigger::before,
  html body.category-public-page .seo-store-header .nav-info-wrap .nav-info-trigger::after {
    display: none !important;
    content: none !important;
  }

  html body.category-public-page .seo-store-header .nav-info-wrap {
    display: block !important;
    overflow: visible !important;
  }

  html body.category-public-page .seo-store-header .nav-info-wrap .information-dropdown,
  html body.category-public-page .seo-store-header .nav-info-wrap:hover .information-dropdown {
    position: static !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    display: none !important;
    margin: 0 !important;
    padding: 4px 0 7px 14px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    box-shadow: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: none !important;
  }

  html body.category-public-page .seo-store-header .nav-info-wrap.is-open .information-dropdown {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  html body.category-public-page .seo-store-header .nav-info-wrap .information-dropdown a {
    width: 100% !important;
    min-height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 9px 12px !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: #fff2f7 !important;
    color: #21171d !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-align: left !important;
    text-decoration: none !important;
  }
}

/* =========================================================
   CARRITO LOCAL EN CATEGORÍAS · V3
   Se abre sobre la categoría actual sin cambiar de página.
   ========================================================= */
body.category-local-cart-open,
body.category-local-checkout-open{
  overflow:hidden!important;
}
.category-local-cart{
  position:fixed;
  inset:0;
  z-index:15000;
  display:flex;
  justify-content:flex-end;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .2s ease,visibility .2s ease;
}
.category-local-cart.is-open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}
.category-local-cart-backdrop{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
  padding:0;
  background:rgba(35,18,28,.52);
  backdrop-filter:blur(4px);
}
.category-local-cart-panel{
  position:relative;
  z-index:1;
  width:min(440px,100%);
  height:100%;
  min-height:0;
  display:flex;
  flex-direction:column;
  padding:24px;
  background:#fff;
  box-shadow:-22px 0 60px rgba(35,18,28,.25);
  transform:translateX(100%);
  transition:transform .25s ease;
}
.category-local-cart.is-open .category-local-cart-panel{transform:translateX(0)}
.category-local-cart-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding-bottom:17px;
  border-bottom:1px solid var(--line);
}
.category-local-cart-header small{
  display:block;
  color:var(--pink-dark);
  font-size:11px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.category-local-cart-header h2{
  margin:3px 0 0;
  color:var(--plum);
  font-family:var(--font-titles);
  font-size:32px;
}
.category-local-cart-close,
.category-local-checkout-close{
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  flex:0 0 40px;
  border:0;
  border-radius:50%;
  background:var(--pink-soft);
  color:var(--plum);
  font-size:27px;
  line-height:1;
}
.category-local-cart-items{
  flex:1 1 auto;
  min-height:0;
  overflow-y:auto;
  padding:8px 3px 12px 0;
  overscroll-behavior:contain;
}
.category-local-cart-empty{
  min-height:290px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:30px;
  text-align:center;
  color:var(--muted);
}
.category-local-cart-empty span{font-size:42px}
.category-local-cart-empty strong{margin-top:10px;color:var(--plum);font-size:17px}
.category-local-cart-empty p{margin:7px 0 0;font-size:13px;line-height:1.5}
.category-local-cart-item{
  display:grid;
  grid-template-columns:58px minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  padding:15px 0;
  border-bottom:1px solid var(--line);
}
.category-local-cart-visual{
  width:58px;
  height:66px;
  overflow:hidden;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:linear-gradient(145deg,#ffe8f2,#efb5d1);
  color:var(--pink-dark);
  font-weight:900;
}
.category-local-cart-visual img{width:100%;height:100%;object-fit:cover}
.category-local-cart-info{min-width:0}
.category-local-cart-info p{
  margin:0 0 4px;
  overflow:hidden;
  color:var(--plum);
  font-size:13px;
  font-weight:800;
  line-height:1.35;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.category-local-cart-info p em{
  padding:2px 5px;
  border-radius:999px;
  background:var(--pink-soft);
  color:var(--pink-dark);
  font-size:9px;
  font-style:normal;
}
.category-local-cart-info>span{display:block;color:var(--muted);font-size:11px}
.category-local-cart-quantity{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:9px;
  padding:3px;
  border:1px solid var(--line);
  border-radius:999px;
  background:#fffafd;
}
.category-local-cart-quantity button{
  width:27px;
  height:27px;
  display:grid;
  place-items:center;
  border:0;
  border-radius:50%;
  background:#fff;
  color:var(--plum);
  font-size:18px;
  font-weight:800;
}
.category-local-cart-quantity strong{min-width:16px;text-align:center;font-size:12px}
.category-local-cart-actions{text-align:right}
.category-local-cart-actions>strong{display:block;margin-bottom:9px;color:var(--plum);font-size:13px;white-space:nowrap}
.category-local-cart-actions button{
  border:0;
  padding:0;
  background:transparent;
  color:var(--pink-dark);
  font-size:11px;
  font-weight:800;
}
.category-local-cart-footer{
  flex:0 0 auto;
  padding-top:17px;
  border-top:1px solid var(--line);
  background:#fff;
}
.category-local-cart-total{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  margin-bottom:14px;
  color:var(--plum);
  font-size:18px;
}
.category-local-cart-total strong{font-size:21px}
.category-local-checkout-button{
  width:100%;
  min-height:50px;
  border:0;
  border-radius:var(--global-button-radius);
  padding:13px 18px;
  background:var(--global-button-bg);
  color:var(--global-button-text);
  font-family:var(--font-buttons);
  font-weight:var(--font-weight-buttons);
  box-shadow:0 12px 28px rgba(223,63,130,.18);
}
.category-local-checkout-button:hover{
  background:var(--global-button-hover-bg);
  color:var(--global-button-hover-text);
}
.category-local-checkout{
  position:fixed;
  inset:0;
  z-index:16000;
  display:grid;
  place-items:center;
  padding:20px;
  opacity:0;
  visibility:hidden;
  transition:opacity .22s ease,visibility .22s ease;
}
.category-local-checkout[hidden]{display:none!important}
.category-local-checkout.is-visible{opacity:1;visibility:visible}
.category-local-checkout-backdrop{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
  padding:0;
  background:rgba(50,24,39,.6);
  backdrop-filter:blur(5px);
}
.category-local-checkout-dialog{
  position:relative;
  z-index:1;
  width:min(680px,100%);
  max-height:min(760px,calc(100vh - 34px));
  overflow:auto;
  padding:30px;
  border:1px solid rgba(223,63,130,.25);
  border-radius:28px;
  background:linear-gradient(145deg,#fff,#fff6fa);
  box-shadow:0 28px 90px rgba(56,34,47,.3);
  transform:translateY(18px) scale(.98);
  transition:transform .22s ease;
}
.category-local-checkout.is-visible .category-local-checkout-dialog{transform:translateY(0) scale(1)}
.category-local-checkout-close{position:absolute;right:16px;top:14px;background:#fff;box-shadow:0 5px 18px rgba(56,34,47,.14)}
.category-local-checkout-heading{text-align:center;padding:5px 38px 12px}
.category-local-checkout-heading>span{display:block;color:var(--pink-dark);font-size:12px;font-weight:900;letter-spacing:.15em}
.category-local-checkout-heading h2{margin:7px 0 5px;color:var(--plum);font-family:var(--font-titles);font-size:clamp(27px,4vw,38px)}
.category-local-checkout-heading p{margin:0;color:var(--muted);line-height:1.55}
.category-local-checkout-summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:8px 0 18px;
  padding:13px 16px;
  border-radius:16px;
  background:var(--pink-soft);
  color:#8a1d58;
}
.category-local-checkout-summary span{font-weight:700}
.category-local-checkout-summary strong{font-size:20px}
.category-local-checkout-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.category-local-checkout-fields label{display:flex;flex-direction:column;gap:6px;color:#3e2935;font-size:13px;font-weight:800}
.category-local-checkout-fields input{
  width:100%;
  height:48px;
  border:1px solid #ead5df;
  border-radius:14px;
  outline:none;
  padding:0 14px;
  background:#fff;
  color:#24191f;
}
.category-local-checkout-fields input:focus{border-color:var(--pink);box-shadow:0 0 0 4px rgba(255,151,176,.17)}
.category-local-checkout-error{margin:13px 0 0;padding:10px 12px;border-radius:12px;background:#fee2e2;color:#991b1b;font-weight:700}
.category-local-checkout-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:18px}
.category-local-checkout-secondary,
.category-local-checkout-submit{
  min-height:46px;
  border-radius:var(--global-button-radius);
  padding:0 20px;
  font-family:var(--font-buttons);
  font-weight:var(--font-weight-buttons);
}
.category-local-checkout-secondary{border:1px solid #e6c8d8;background:#fff;color:#7a4962}
.category-local-checkout-submit{border:0;background:var(--global-button-bg);color:var(--global-button-text);box-shadow:0 10px 25px rgba(223,63,130,.18)}
.category-local-checkout-submit:hover{background:var(--global-button-hover-bg);color:var(--global-button-hover-text)}
.category-local-checkout-submit:disabled{opacity:.65;cursor:wait}
@media(max-width:620px){
  .category-local-cart-panel{width:100%;padding:18px 16px 16px}
  .category-local-cart-header h2{font-size:28px}
  .category-local-cart-item{grid-template-columns:54px minmax(0,1fr) auto;gap:9px}
  .category-local-cart-visual{width:54px;height:62px}
  .category-local-cart-actions>strong{font-size:12px}
  .category-local-checkout{align-items:end;padding:0}
  .category-local-checkout-dialog{width:100%;max-height:92vh;padding:25px 18px 22px;border-radius:26px 26px 0 0}
  .category-local-checkout-fields{grid-template-columns:1fr}
  .category-local-checkout-actions{flex-direction:column-reverse}
  .category-local-checkout-actions button{width:100%}
  .category-local-checkout-heading{padding-left:28px;padding-right:28px}
}

/* =========================================================
   CATEGORY_CART_MATCH_HOME_V4
   El carrito de Categorías replica el diseño visual del Inicio.
   Solo corrige apariencia; no cambia navegación ni funciones.
   ========================================================= */
html body.category-public-page .category-local-cart-backdrop {
  background: rgba(0, 0, 0, .24) !important;
  backdrop-filter: none !important;
}

html body.category-public-page .category-local-cart-panel {
  width: min(420px, 100%) !important;
  padding: 22px !important;
  background: #ffffff !important;
  box-shadow: -22px 0 60px rgba(35, 18, 28, .22) !important;
}

html body.category-public-page .category-local-cart-header {
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
}

html body.category-public-page .category-local-cart-header small {
  display: none !important;
}

html body.category-public-page .category-local-cart-header h2 {
  margin: 0 !important;
  color: var(--plum, #38222f) !important;
  font-family: "Inter", Arial, sans-serif !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

html body.category-public-page .category-local-cart-close {
  width: 36px !important;
  height: 36px !important;
  flex-basis: 36px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: #161116 !important;
  box-shadow: none !important;
  font-size: 30px !important;
}

html body.category-public-page .category-local-cart-items {
  padding: 22px 0 !important;
}

html body.category-public-page .category-local-cart-item {
  grid-template-columns: 58px minmax(0, 1fr) auto !important;
  gap: 12px !important;
  padding: 12px 0 !important;
}

html body.category-public-page .category-local-cart-visual {
  width: 58px !important;
  height: 68px !important;
  border-radius: 13px !important;
  background: #fff2f6 !important;
}

html body.category-public-page .category-local-cart-visual img {
  object-fit: contain !important;
  background: #fff2f6 !important;
}

html body.category-public-page .category-local-cart-info p {
  margin-bottom: 4px !important;
  color: var(--plum, #38222f) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

html body.category-public-page .category-local-cart-info > span {
  color: var(--muted, #6f6269) !important;
  font-size: 13px !important;
}

html body.category-public-page .category-local-cart-quantity {
  gap: 8px !important;
  padding: 3px !important;
  border: 1px solid rgba(255, 151, 176, .46) !important;
  background: #ffffff !important;
}

html body.category-public-page .category-local-cart-quantity button {
  width: 28px !important;
  height: 28px !important;
  background: #ffe4eb !important;
  color: #e85f85 !important;
  font-weight: 900 !important;
}

html body.category-public-page .category-local-cart-quantity strong {
  min-width: 22px !important;
  color: var(--plum, #38222f) !important;
  font-size: 13px !important;
}

html body.category-public-page .category-local-cart-actions > strong {
  margin-bottom: 10px !important;
  color: var(--plum, #38222f) !important;
  font-size: 14px !important;
}

html body.category-public-page .category-local-cart-actions button {
  display: inline-flex !important;
  padding: 6px 10px !important;
  border: 1px solid rgba(255, 151, 176, .52) !important;
  border-radius: 999px !important;
  background: #fff7f9 !important;
  color: #e85f85 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

html body.category-public-page .category-local-cart-actions button:hover {
  background: #ffe4eb !important;
  color: #d94e76 !important;
}

html body.category-public-page .category-local-cart-footer {
  padding-top: 0 !important;
  border-top: 0 !important;
}

html body.category-public-page .category-local-cart-total {
  margin: 0 !important;
  padding: 18px 0 !important;
  border-top: 1px solid var(--line, #efdce5) !important;
  font-size: 18px !important;
}

html body.category-public-page .category-local-cart-total strong {
  font-size: 18px !important;
}

html body.category-public-page .category-local-checkout-button,
html body.category-public-page .category-local-checkout-submit {
  min-height: 42px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: #ff97b0 !important;
  background-color: #ff97b0 !important;
  background-image: none !important;
  color: #ffffff !important;
  font-family: "Inter", Arial, sans-serif !important;
  font-weight: 800 !important;
  box-shadow: none !important;
  filter: none !important;
}

html body.category-public-page .category-local-checkout-button:hover,
html body.category-public-page .category-local-checkout-submit:hover {
  background: #f27fa0 !important;
  background-color: #f27fa0 !important;
  color: #ffffff !important;
}

@media (max-width: 620px) {
  html body.category-public-page .category-local-cart-panel {
    width: 100% !important;
    padding: 18px !important;
  }

  html body.category-public-page .category-local-cart-item {
    grid-template-columns: 50px minmax(0, 1fr) !important;
  }

  html body.category-public-page .category-local-cart-visual {
    width: 50px !important;
    height: 60px !important;
  }

  html body.category-public-page .category-local-cart-actions {
    grid-column: 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    text-align: left !important;
  }

  html body.category-public-page .category-local-cart-actions > strong {
    margin: 0 !important;
  }
}

/* =========================================================
   FIX_NAV_INFO_HOME_EXACT_V1
   Parche final: fuerza que Inicio/Categorías/Información no
   muestren la barra rosada salvo en hover o activo, y que el
   desplegable de Información quede centrado bajo su propio
   botón, igual que en Inicio (ancho 260px, misma posición).
   Va al final del archivo para ganar cualquier conflicto con
   reglas antiguas restantes.
   ========================================================= */
html body.category-public-page .seo-store-header .nav-link,
html body.category-public-page .seo-store-header .nav-link:link,
html body.category-public-page .seo-store-header .nav-link:visited,
html body.category-public-page .seo-store-header .nav-link:hover,
html body.category-public-page .seo-store-header .nav-info-trigger,
html body.category-public-page .seo-store-header .nav-category-trigger {
  text-decoration: none !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

@media (min-width: 761px) {
  html body.category-public-page .seo-store-header .nav-link::after,
  html body.category-public-page .seo-store-header .nav-info-trigger::after {
    right: 100% !important;
  }
  html body.category-public-page .seo-store-header .nav-link:hover::after,
  html body.category-public-page .seo-store-header .nav-link.active::after,
  html body.category-public-page .seo-store-header .nav-info-trigger:hover::after,
  html body.category-public-page .seo-store-header .nav-info-trigger.active::after {
    right: 0 !important;
  }

  html body.category-public-page .seo-store-header .nav-info-wrap {
    position: relative !important;
  }
  html body.category-public-page .seo-store-header .information-dropdown {
    position: absolute !important;
    top: calc(100% - 4px) !important;
    left: 0 !important;
    right: auto !important;
    transform: translateY(-8px) !important;
    width: 260px !important;
    min-width: 260px !important;
    max-width: none !important;
  }
  html body.category-public-page .seo-store-header .nav-info-wrap.is-open .information-dropdown,
  html body.category-public-page .seo-store-header .nav-info-wrap:hover .information-dropdown {
    transform: translateY(0) !important;
  }
}
