body {
  background: #fff;
  color: #292929;
  font: 1rem/1.55 var(--font-body), sans-serif;
}
h1,
h2,
h3 {
  font-family: var(--font-title), sans-serif;
  color: var(--brand);
  letter-spacing: normal;
  font-weight: 750;
}
.wrap {
  width: min(calc(100% - 48px), var(--content));
  margin-inline: auto;
}
.shopheader {
  background: #f5f5f5;
  border: 0;
  position: relative;
  z-index: 4;
}
.ribbon {
  background: var(--brand);
  color: white;
  height: 40px;
  overflow: hidden;
  display: flex;
  align-items: center;
  font-size: 0.8125rem;
  font-weight: 500;
}
.ribbon-track {
  width: max-content;
  display: flex;
  white-space: pre;
  animation: ribbon-scroll 36s linear infinite;
}
.ribbon-track span {
  min-width: 100vw;
  text-align: center;
}
.ribbon:hover .ribbon-track {
  animation-play-state: paused;
}
@keyframes ribbon-scroll {
  to {
    transform: translateX(-50%);
  }
}
.bar {
  min-height: 70px;
  gap: 28px;
  justify-content: flex-start;
}
.brand {
  font-family: var(--font-title), sans-serif;
  max-width: 190px;
}
.brand img {
  height: 58px;
  max-width: 150px;
}
.bar nav {
  gap: 20px;
  flex-wrap: wrap;
}
.bar nav a,
.footergrid a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 550;
}
.bar nav a:last-child {
  display: inline-flex;
}
.bar nav a img,
.footergrid a img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.bar .account {
  margin-left: auto;
  color: white;
  background: var(--brand);
  border: 0;
  white-space: nowrap;
}
.mobile-menu {
  display: none;
}
.shop-slider {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
}
.slide-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.slide-track::-webkit-scrollbar {
  display: none;
}
.slide {
  isolation: isolate;
  position: relative;
  flex: 0 0 100%;
  min-width: 0;
  height: var(--hero-height);
  scroll-snap-align: start;
  background: var(--accent);
}
.slide picture,
.slide picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.slide-inner {
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: clamp(45px, 5.6vw, 90px);
  color: var(--brand);
}
.slide-inner > div {
  width: min(42%, 520px);
}
.slide-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(2.1rem, 3.5vw, 3.45rem);
  line-height: 1.05;
}
.slide-label i {
  font-family: var(--font-script), cursive;
  font-style: normal;
}
.slide-label b {
  font: 800 0.9em var(--font-title), sans-serif;
  letter-spacing: 0.01em;
  background: var(--brand);
  color: white;
  border-radius: 6px;
  padding: 0 0.28em;
}
.slide h1,
.slide h2 {
  font-size: 2.875rem;
  font-weight: 800;
  line-height: 1;
  margin: 14px 0 20px;
  max-width: 490px;
}
.slide p {
  white-space: pre-line;
  color: #332347;
  margin-bottom: 30px;
}
.slide .catcard {
  background: var(--brand);
  border-radius: 4px;
  padding: 14px 28px;
  color: white;
  aspect-ratio: auto;
  display: inline-block;
  isolation: auto;
  font-size: 0.875rem;
  font-weight: 600;
}
.catcard:after {
  display: none;
}
.slide-prev,
.slide-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #25232d;
  font: 32px/1 Arial;
  background: transparent;
  padding: 7px;
  min-height: 36px;
}
.slide-prev {
  left: 4px;
}
.slide-next {
  right: 4px;
}
.slide-dots {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  gap: 7px;
  background: white;
  padding: 8px 12px;
  border-radius: 30px;
}
.slide-dots a {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #bababa;
}
.slide-dots a[aria-current] {
  background: #333;
}
.catalogarea {
  max-width: min(var(--content), 1110px);
  margin-top: 78px;
}
.catalogarea > h2,
.guide h2 {
  text-align: center;
  text-transform: uppercase;
  font-size: 2.5rem;
  font-weight: 800;
}
.filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  border-bottom: 2px solid var(--accent);
  padding: 8px 0 18px;
  margin-bottom: 28px;
}
.filters a {
  color: var(--brand);
  background: var(--accent);
  border: 0;
  border-radius: 30px;
  padding: 12px 16px;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 700;
}
.filters a.active {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 14px color-mix(in srgb, var(--brand) 25%, transparent);
}
.cards {
  grid-template-columns: repeat(var(--columns), minmax(0, 1fr));
  gap: 20px;
}
.servicecard {
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 2px 9px #00000008;
  transition: box-shadow 0.2s;
}
.servicecard:hover {
  box-shadow: 0 4px 15px #0001;
}
.productphoto {
  aspect-ratio: 1;
  border-radius: 14px;
}
.productinfo {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 0;
}
.productinfo h3 {
  order: -1;
  font-size: 1rem;
  font-weight: 550;
  margin: 0.12rem 0 0.45rem;
}
.productinfo small {
  font-weight: 400;
  font-size: 0.875rem;
  text-transform: none;
  letter-spacing: normal;
  color: #888;
}
.rate {
  margin-top: 6px;
  color: var(--brand);
}
.rate span {
  font-size: 0.85rem;
  color: #777;
}
.pageband,
.crumbbar {
  background: var(--accent);
  color: var(--brand);
}
.pageband h1 {
  text-align: center;
  font-size: 2.625rem;
  font-weight: 800;
  margin: 0;
  padding: 20px;
}
.shop-list {
  display: grid;
  grid-template-columns: 23.5% minmax(0, 1fr);
  gap: 30px;
  padding-block: 40px;
}
.shop-list aside h3 {
  font-size: 1.25rem;
}
.shop-list form {
  display: grid;
  gap: 12px;
}
.shop-list form button {
  justify-self: start;
  background: #181818;
  border-radius: 4px;
}
.shop-list .filters {
  justify-content: flex-start;
  border-bottom: 0;
  padding: 0;
  margin: 0 0 15px;
}
.breadcrumbs {
  margin: 24px 0 18px;
  color: #555;
}
.crumbbar {
  padding: 0.65rem 0;
}
.productpage {
  padding: 20px 0 48px;
}
.servicegrid {
  grid-template-columns: 3fr 2fr;
  gap: 30px;
  margin: 0;
}
.gallery {
  border-radius: 16px;
}
.servicegrid .eyebrow {
  display: none;
}
.servicegrid h1 {
  font-size: 2rem;
  text-align: center;
  margin: 0 0 1.3rem;
}
.servicegrid h1:after {
  display: block;
  content: "";
  width: 56px;
  height: 4px;
  background: var(--brand);
  margin: 15px auto;
}
.servicegrid h3 {
  width: fit-content;
  max-width: 100%;
  margin: 20px auto;
  padding: 12px 25px;
  border-radius: 17px;
  border: 2px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 55%, white);
  font-size: 1.65rem;
}
.servicegrid .formcard {
  padding: 0;
  border: 0;
}
.servicegrid .formcard input[type="file"] {
  background: color-mix(in srgb, var(--accent) 40%, white);
  padding: 18px;
  border: 1px dashed var(--brand);
  border-radius: 12px;
}
.servicegrid .formcard button,
.servicegrid .btn {
  border-radius: 5px;
}
.guide {
  border: 0;
  padding: 36px 0;
  margin-block: 36px;
  text-align: center;
}
.guide p {
  margin-inline: auto;
}
.prose {
  white-space: pre-line;
}
.footergrid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 28px;
  padding-block: 40px;
}
.footergrid h3 {
  font-size: 1.375rem;
}
.footergrid a {
  display: flex;
  margin-bottom: 9px;
  font-size: 0.95rem;
}
.footergrid .brand {
  font-size: 1.5rem;
}
footer {
  background: var(--footer-bg, #f5f5f3);
  color: var(--footer-ink, #2b2b2b);
}
.chat {
  position: fixed;
  bottom: 20px;
  left: 20px;
  padding: 9px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  background: white;
  box-shadow: 0 4px 18px #0002;
  z-index: 3;
}
@media (max-width: 1024px) {
  .slide {
    height: 480px;
  }
  .wrap {
    width: calc(100% - 36px);
  }
  .bar {
    gap: 16px;
  }
  .desktop-menu {
    font-size: 0.875rem;
  }
  .shop-list {
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  .bar {
    height: 70px;
    justify-content: space-between;
  }
  .bar .account {
    margin: 0;
    padding: 8px;
    font-size: 0.8rem;
  }
  .slide {
    height: 520px;
  }
  .slide-inner {
    text-align: center;
    justify-content: center;
    padding: 0;
  }
  .slide-inner > div {
    width: 85%;
  }
  .slide-label {
    display: block;
    font-size: 2.9rem;
  }
  .slide-label i,
  .slide-label b {
    display: table;
    margin: 0 auto;
  }
  .slide h1,
  .slide h2 {
    font-size: clamp(2.1rem, 9vw, 2.9rem);
    margin: 16px auto;
  }
  .slide p {
    display: none;
  }
  .slide .catcard {
    margin-top: 15px;
  }
  .catalogarea {
    margin-top: 38px;
  }
  .catalogarea > h2,
  .guide h2 {
    font-size: 1.7rem;
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .servicecard {
    padding: 8px;
  }
  .productinfo h3 {
    font-size: 0.93rem;
  }
  .filters {
    gap: 5px;
  }
  .filters a {
    padding: 8px 12px;
  }
  .shop-list,
  .servicegrid {
    grid-template-columns: 1fr;
  }
  .shop-list {
    gap: 20px;
    padding-block: 22px;
  }
  .shop-list aside form {
    display: flex;
    align-items: end;
  }
  .footergrid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery {
    aspect-ratio: 1;
  }
  .servicegrid h1 {
    font-size: 1.65rem;
  }
  .rate {
    display: block;
  }
  .pageband h1 {
    font-size: 2rem;
  }
  .crumbbar {
    font-size: 0.82rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ribbon-track {
    animation: none;
  }
}
.bar .shopsearch {
  margin-left: auto;
}
.bar .account {
  margin-left: 0;
}
.shopsearch summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  width: 36px;
  height: 42px;
}
.shopsearch summary span {
  position: relative;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 50%;
}
.shopsearch summary span:after {
  content: "";
  position: absolute;
  width: 8px;
  height: 2px;
  background: currentColor;
  top: 12px;
  left: 10px;
  transform: rotate(45deg);
}
.shopsearch form {
  position: absolute;
  z-index: 2;
  top: 100%;
  right: max(10px, calc((100% - var(--content)) / 2));
  display: flex;
  align-items: end;
  gap: 8px;
  background: white;
  box-shadow: 0 6px 18px #0002;
  padding: 14px;
  width: min(360px, 96vw);
}
.catalog-tools,
.sort,
.sort label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.catalog-tools {
  justify-content: space-between;
  margin-bottom: 18px;
}
.sort {
  font-size: 0.86rem;
}
.sort select {
  width: auto;
}
.sort button {
  background: transparent;
  color: var(--brand);
  padding: 0.4rem;
  font-size: 0.86rem;
}
@media (max-width: 768px) {
  .bar {
    gap: 10px;
  }
  .bar .brand {
    margin-inline: auto;
  }
  .bar .shopsearch {
    margin: 0;
  }
  .bar .account {
    font-size: 0;
    gap: 0;
    background: transparent;
    color: var(--brand);
    padding: 8px;
  }
  .bar .account .usericon {
    width: 16px;
  }
  .catalog-tools {
    flex-wrap: wrap;
  }
  .catalog-tools .breadcrumbs {
    margin: 8px 0;
  }
}

/* ---------- Rediseño: tarjetas, carga, ficha de producto ---------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 20px; height: 20px; flex: none; }
.filters a { transition: background-color .25s, color .25s, box-shadow .25s, transform .25s; }
.servicecard {
  border-radius: var(--radius-card, 16px);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
}
.servicecard:hover { transform: translateY(-4px); box-shadow: 0 16px 34px color-mix(in srgb, var(--brand) 14%, transparent); }
.productphoto { border-radius: calc(var(--radius-card, 16px) - 4px); }
.productphoto img { transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.servicecard:hover .productphoto img { transform: scale(1.06); }
.productinfo .chip {
  display: inline-block; margin: 2px 0 2px;
  padding: 2px 10px; border-radius: 999px;
  background: var(--accent); color: var(--brand);
  font-size: .72rem; font-weight: 600;
}
.productinfo h3 { font-weight: 700; color: var(--brand); }
.rate strong { font-weight: 800; }

/* Cambio de categoría: el contenido no salta. Mientras llega la respuesta las tarjetas se atenúan,
   y luego el navegador anima el cambio (View Transitions): las tarjetas que siguen se deslizan
   a su nuevo lugar y las nuevas aparecen con un fundido suave. */
#catalog-content { position: relative; }
#catalog-content .cards { transition: opacity .2s ease; }
#catalog-content:has(.request-progress.htmx-request) .cards { opacity: .45; }
.spinner.request-progress.htmx-request {
  display: block; position: absolute; left: 50%; top: 72px; z-index: 2; width: 26px; height: 26px; margin: 0 0 0 -13px;
  border-radius: 50%;
  border: 3px solid var(--accent); border-top-color: var(--brand);
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.gallery-frame { position: relative; }
.gallery { background: var(--accent); }
.zoom {
  position: absolute; left: 14px; bottom: 14px;
  width: 40px; height: 40px; min-height: 0; padding: 0;
  border-radius: 50%; background: #fff; color: var(--brand);
  box-shadow: 0 4px 14px #0002;
  transition: transform .2s;
}
.zoom:hover { transform: scale(1.08); }
.zoom .ico { width: 18px; height: 18px; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1100px); max-height: 92vh; }
.lightbox::backdrop { background: rgb(20 10 35 / .82); backdrop-filter: blur(3px); }
.lightbox img { max-height: 88vh; width: auto; border-radius: 14px; }
.lightbox-close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; min-height: 0; padding: 0; border-radius: 50%; background: #fff; color: #222; }

.servicegrid h3.price-pill {
  box-shadow: 0 8px 22px color-mix(in srgb, var(--brand) 16%, transparent);
  border-color: color-mix(in srgb, var(--accent) 80%, var(--brand) 10%);
}
.qty-field { display: grid; gap: .32rem; font-size: .93rem; font-weight: 600; }
.stepper { display: inline-flex; align-items: center; width: fit-content; border: 1px solid #ddd; border-radius: 10px; overflow: hidden; background: #fff; }
.stepper input { width: 70px; border: 0; text-align: center; border-radius: 0; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper .step { min-height: 42px; width: 40px; padding: 0; background: var(--softer, #f6f0fa); color: var(--brand); border-radius: 0; transition: background .2s; }
.stepper .step:hover { background: var(--accent); }
.stepper .step .ico { width: 16px; height: 16px; }

.dropzone { gap: .45rem; }
.drop-title { display: flex; align-items: center; gap: 8px; color: var(--brand); font-weight: 700; }
.req { font-style: normal; font-size: .7rem; padding: 2px 8px; border-radius: 999px; background: var(--highlight); color: #fff; }
.drop-area {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  border: 2px dashed color-mix(in srgb, var(--brand) 45%, transparent);
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent) 35%, white);
  color: var(--brand);
  transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
  cursor: pointer;
}
.drop-area b { display: block; font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--brand) 35%, transparent); }
.drop-area small { display: block; color: #6c6280; font-weight: 400; }
.drop-area .info-ico { width: 40px; height: 40px; border-radius: 11px; background: var(--brand); color: #fff; }
.drop-area:hover, .drop-area.dragging { background: color-mix(in srgb, var(--accent) 65%, white); border-color: var(--brand); box-shadow: 0 8px 22px color-mix(in srgb, var(--brand) 14%, transparent); }
.drop-area.dragging { transform: scale(1.01); }
.drop-area.has-file { border-style: solid; }
.servicegrid .formcard .drop-area input[type="file"] {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: pointer; padding: 0; border: 0;
}
.servicegrid .formcard .cta { justify-self: stretch; min-height: 48px; font-size: 1rem; }
.wa-link { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); }

.totop {
  position: fixed; right: 20px; bottom: 20px; z-index: 5;
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 50%; background: var(--brand); color: #fff;
  box-shadow: var(--shadow-brand, 0 8px 20px #0003);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), opacity .3s;
}
.totop:not(.show) { visibility: hidden; opacity: 0; transform: translateY(12px); }
.totop.show:hover { transform: translateY(-3px); }
.totop { transition: transform .3s, opacity .3s, visibility .3s; }
.chat { transition: transform .25s, box-shadow .25s; }
.chat:hover { transform: translateY(-2px); box-shadow: 0 10px 24px #0003; }
.ribbon { background: linear-gradient(90deg, var(--brand), color-mix(in srgb, var(--brand) 75%, var(--highlight))); }

/* Transiciones suaves entre páginas de la tienda (Chrome y Edge) y al filtrar el catálogo. */
@view-transition { navigation: auto; }
.shopheader { view-transition-name: shop-header; }
::view-transition-group(*) { animation-duration: .38s; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }
::view-transition-old(root) { animation: .22s ease both vt-out; }
::view-transition-new(root) { animation: .32s cubic-bezier(.2, .8, .2, 1) both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* ---------- Síguenos en redes sociales ---------- */
.social-feed { padding: 56px 0 24px; text-align: center; }
.social-feed h2 { margin: 0; color: var(--brand); font-family: var(--font-title, inherit); font-size: clamp(1.6rem, 3vw, 2.4rem); }
.social-sub { margin: 8px auto 26px; max-width: 640px; color: #444; }
.social-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.social-post { flex: 1 1 170px; max-width: 230px; position: relative; display: block; overflow: hidden; aspect-ratio: 1; border-radius: var(--radius-card, 16px); background: var(--accent); }
.social-post img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.social-overlay {
  position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; gap: 22px; padding: 16px;
  background: linear-gradient(to top, rgb(0 0 0 / .62), rgb(0 0 0 / .1) 55%, transparent);
  color: #fff; font-weight: 700; font-size: 1.05rem; opacity: 0; transition: opacity .3s ease;
}
.social-overlay span { display: inline-flex; align-items: center; gap: 6px; }
.social-overlay .ico { width: 22px; height: 22px; stroke-width: 2.2; }
.social-post:is(:hover, :focus-visible) img { transform: scale(1.06); }
.social-post:is(:hover, :focus-visible) .social-overlay { opacity: 1; }
@media (max-width: 560px) { .social-grid { gap: 10px; } .social-post { flex-basis: calc(50% - 5px); max-width: none; } }
@media (hover: none) { .social-overlay { opacity: 1; background: linear-gradient(to top, rgb(0 0 0 / .5), transparent 45%); font-size: .9rem; } }
.social-links { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }
.social-links a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--brand); color: var(--brand); transition: background-color .25s, color .25s, transform .25s; }
.social-links a:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.social-links .ico { width: 18px; height: 18px; }

/* ---------- Pie de página ---------- */
.footergrid h3 { color: var(--footer-title, var(--brand)); }
.footergrid a { color: var(--footer-ink, #2b2b2b); transition: color .2s, transform .2s; }
.footergrid a:hover { color: var(--footer-title, var(--brand)); transform: translateX(2px); }
.footergrid a .ico { width: 18px; height: 18px; margin-right: 4px; }
.footer-brand { display: grid; justify-items: center; align-content: start; gap: 12px; text-align: center; }
.footer-brand .brand img { max-height: 92px; width: auto; }
.footer-tagline { display: grid; margin: 0; color: var(--footer-title, var(--brand)); font-weight: 700; line-height: 1.5; }
.footer-contact { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: .9rem; }
.footer-contact li { display: flex; align-items: center; justify-content: center; gap: 7px; }
.footer-contact .ico { width: 16px; height: 16px; color: var(--footer-title, var(--brand)); }
.footergrid .footer-contact a { display: inline; margin: 0; font-size: inherit; font-weight: 500; transform: none; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-block: 18px; border-top: 1px solid color-mix(in srgb, var(--footer-ink, #2b2b2b) 14%, transparent); font-size: .92rem; }
.footer-bottom p { margin: 0; }
.footer-bottom strong { color: var(--footer-title, var(--brand)); text-transform: uppercase; letter-spacing: .02em; }
.footer-pay { display: inline-flex; align-items: center; gap: 8px; }
.footer-pay .ico { width: 18px; height: 18px; color: var(--footer-title, var(--brand)); }
@media (max-width: 760px) { .footergrid h3 { font-size: 1.15rem; } .footer-brand { grid-column: 1 / -1; } .footer-bottom { justify-content: center; text-align: center; } }

/* Grosor de letra elegido en el panel (solo si el dueño lo cambia). */
html.storefront[data-wbody] body, html.storefront[data-wbody] :is(p, li, label, input, select, textarea) { font-weight: var(--font-body-weight); }
html.storefront[data-wtitle] :is(h1, h2, h3, .slide h1, .slide h2, .productinfo h3, .pageband h1) { font-weight: var(--font-title-weight); }
html.storefront[data-wscript] .slide-label i { font-weight: var(--font-script-weight); }

/* Categorías administrables: varias pestañas principales y subpestañas por categoría. */
.filters { flex-wrap: wrap; }
.filters.subfilters {
  gap: 6px;
  border-bottom: 1px solid var(--line, #e8e8e8);
  padding: 0 0 14px;
  margin: -14px 0 24px;
}
.filters.subfilters a {
  background: transparent;
  color: var(--ink, #222);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--brand) 22%, transparent);
  padding: 8px 14px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.82rem;
  font-weight: 600;
}
.filters.subfilters a:hover { box-shadow: inset 0 0 0 1.5px var(--brand); color: var(--brand); }
.filters.subfilters a.active { background: var(--brand); color: #fff; box-shadow: none; }
.shop-list .filters.subfilters { margin: 0 0 15px; }
@media (max-width: 700px) {
  .filters.subfilters { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; padding-bottom: 10px; }
  .filters.subfilters a { flex: none; }
}

/* Ventana emergente: tarjeta centrada en escritorio y hoja inferior en el celular. */
.popup {
  border: 0;
  padding: 0;
  width: min(440px, calc(100vw - 32px));
  max-height: calc(100dvh - 48px);
  border-radius: 22px;
  background: #fff;
  color: #2b2b2b;
  box-shadow: 0 30px 80px rgb(20 10 35 / .35);
  overflow: hidden;
}
.popup::backdrop { background: rgb(20 10 35 / .55); backdrop-filter: blur(2px); }
.popup[open] { animation: popup-in .35s cubic-bezier(.2, .8, .2, 1); }
.popup[open]::backdrop { animation: popup-fade .35s ease; }
.popup-inner { position: relative; max-height: inherit; overflow-y: auto; }
.popup-img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; background: var(--accent); }
.popup-content { padding: 26px 26px 24px; display: grid; gap: 10px; text-align: center; }
.popup:not(.has-img) .popup-content { padding-top: 40px; }
.popup:not(.has-img) .popup-content h2 { padding-inline: 30px; }
.popup-content h2 { margin: 0; color: var(--brand); font-size: 1.45rem; line-height: 1.2; text-wrap: balance; }
.popup-content p { margin: 0; line-height: 1.5; }
.popup-content form { display: contents; }
.popup-cta { justify-self: center; margin-top: 8px; min-width: 60%; }
.popup-close {
  position: absolute; top: 12px; right: 12px; z-index: 1;
  width: 36px; height: 36px; min-height: 0; padding: 0;
  display: grid; place-items: center;
  border-radius: 50%; background: rgb(255 255 255 / .92); color: #222;
  box-shadow: 0 2px 8px rgb(0 0 0 / .18);
}
.popup-close:hover { background: #fff; color: var(--brand); }
.popup-close .ico { width: 18px; height: 18px; }
.popup-preview { font-size: .78rem; color: #8a5a00; background: #fff4dc; border-radius: 8px; padding: 6px 10px; }
@keyframes popup-in { from { opacity: 0; transform: translateY(16px) scale(.97); } }
@keyframes popup-fade { from { opacity: 0; } }
@media (max-width: 640px) {
  .popup {
    width: 100%; max-width: 100%;
    margin: auto 0 0;
    border-radius: 22px 22px 0 0;
    max-height: 88dvh;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .popup[open] { animation: popup-sheet .38s cubic-bezier(.2, .8, .2, 1); }
  .popup-inner::before { content: ""; position: absolute; top: 8px; left: 50%; translate: -50% 0; width: 42px; height: 4px; border-radius: 4px; background: rgb(0 0 0 / .18); z-index: 1; }
  .popup-cta { width: 100%; }
}
@keyframes popup-sheet { from { transform: translateY(100%); } }
@media (prefers-reduced-motion: reduce) {
  .popup[open], .popup[open]::backdrop { animation: none; }
}

/* ---------- Carrito ---------- */
.cartpill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px 0 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: white;
  color: var(--brand);
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cartpill:hover { border-color: var(--brand); box-shadow: 0 4px 14px #0001; }
.cart-ico { position: relative; display: grid; place-items: center; }
.cart-ico .ico { width: 22px; height: 22px; }
.cart-badge {
  position: absolute;
  top: -9px;
  right: -10px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: #151515;
  font-size: 0.72rem;
  line-height: 19px;
  text-align: center;
  box-shadow: 0 0 0 2px white;
}
.bar nav a .ico { width: 18px; height: 18px; }
/* Menú: marca, enlaces, buscador, cuenta (ícono) y carrito en una sola línea. */
.bar { gap: 20px; }
.bar .brand { white-space: nowrap; max-width: none; flex: none; }
.bar .desktop-menu { flex-wrap: nowrap; gap: 18px; min-width: 0; }
.bar .desktop-menu a { white-space: nowrap; }
.bar .account { display: inline-grid; place-items: center; width: 42px; height: 42px; padding: 0; border-radius: 50%; flex: none; }
.bar .account .account-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bar .account .usericon { margin: 0; }
.bar .cartpill { flex: none; }
@media (max-width: 1180px) and (min-width: 769px) {
  .bar { gap: 14px; }
  .bar .desktop-menu { gap: 12px; font-size: 0.9rem; }
  .bar .cartpill .cart-total { display: none; }
  .bar .cartpill { padding: 0 12px; }
}
.bar nav a[aria-current="page"] { color: var(--brand); box-shadow: inset 0 -2px 0 var(--brand); }

.request-actions { display: grid; gap: 10px; }
.request-actions button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; width: 100%; }
.request-actions .ico { width: 20px; height: 20px; }
.servicegrid .formcard .request-actions button.request-alone,
[data-hover] .servicegrid .formcard .request-actions button.request-alone:hover { background: white; color: var(--brand); box-shadow: inset 0 0 0 1.5px var(--brand); }
.servicegrid .formcard .request-actions button.request-alone:hover { background: var(--soft); }
.request-hint { color: var(--muted); margin-top: -4px; }

.cartpage h1 { margin-bottom: 18px; }
.cart-added { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.cart-added .ico { flex: none; }
.cartgrid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.cart-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cart-line {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto auto;
  grid-template-areas: "thumb info qty price" "thumb info remove remove";
  gap: 10px 22px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}
.cart-line.has-problem { border-color: #e2a400; background: #fffbea; grid-template-areas: "thumb info remove remove"; }
.cart-thumb { grid-area: thumb; width: 96px; height: 96px; object-fit: cover; border-radius: 8px; background: var(--soft); }
.cart-info { grid-area: info; display: grid; gap: 6px; min-width: 0; }
.cart-info h2 { font-size: 1.12rem; margin: 0 0 2px; }
.cart-info h2 a:hover { text-decoration: underline; }
.cart-meta { margin: 0; color: var(--muted); font-size: 0.92rem; }
.cart-file, .cart-problem, .cart-note { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-size: 0.9rem; }
.cart-file { color: var(--muted); overflow-wrap: anywhere; }
.cart-file .ico, .cart-note .ico, .cart-problem .ico { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.cart-problem { color: #7a4d00; font-weight: 600; }
.cart-qty { grid-area: qty; display: grid; gap: 6px; font-size: 0.85rem; font-weight: 600; }
.cart-price { grid-area: price; display: grid; justify-items: end; gap: 2px; margin: 0; min-width: 120px; padding-top: 22px; }
.cart-price strong { font-size: 1.12rem; }
.cart-price small { color: var(--muted); font-size: 0.8rem; }
.cart-remove { grid-area: remove; justify-self: end; }
.cartpage .cart-line .cart-remove button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; min-height: 0; background: transparent; color: var(--muted); font-size: 0.88rem; font-weight: 600; box-shadow: none; }
.cartpage .cart-line .cart-remove button:hover { color: #b42318; background: #fdecea; }
.cart-remove .ico { width: 16px; height: 16px; }
.cart-summary { position: sticky; top: 20px; margin: 0; gap: 16px; }
.cart-summary dl { display: grid; grid-template-columns: 1fr auto; gap: 10px 0; margin: 0; }
.cart-summary dt { padding-right: 16px; }
.cart-summary dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.cart-summary .cart-total-label, .cart-summary .cart-total-value { white-space: nowrap; padding-top: 12px; border-top: 1px solid var(--line); font-weight: 700; font-size: 1.15rem; }
.cart-summary form { display: grid; }
.cart-summary .cta { justify-self: stretch; min-height: 50px; font-size: 1rem; }
.cart-note { color: var(--muted); }
.cart-more { justify-self: start; font-weight: 600; }
.cart-empty { max-width: 560px; justify-items: center; text-align: center; padding: 48px 28px; margin: 0 auto; }
.cart-empty-ico { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--soft); color: var(--brand); }
.cart-empty-ico .ico { width: 34px; height: 34px; }
.cart-empty p { color: var(--muted); }

@media (max-width: 900px) {
  .cartgrid { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
}
@media (max-width: 768px) {
  .cartpill { padding: 0 10px; border: 0; background: transparent; min-height: 40px; }
  .cartpill .cart-total { display: none; }
  .bar .cartpill { padding: 0 14px 0 8px; }
  .cart-line {
    grid-template-columns: 72px minmax(0, 1fr);
    grid-template-areas: "thumb info" "qty price" "remove remove";
    gap: 14px;
    padding: 14px;
  }
  .cart-line.has-problem { grid-template-areas: "thumb info" "remove remove"; }
  .cart-thumb { width: 72px; height: 72px; }
  .cart-price { padding-top: 0; align-self: end; }
}

/* ---------- Páginas de cuenta: confirmar correo, verificación ---------- */
.authpage { display: grid; place-items: center; min-height: 52vh; padding-block: clamp(32px, 6vw, 72px); }
.authcard { width: min(100%, 520px); margin: 0; justify-items: center; text-align: center; gap: 18px; padding: clamp(28px, 5vw, 44px); box-shadow: 0 18px 50px color-mix(in srgb, var(--brand) 10%, transparent); }
.authcard h1 { font-size: clamp(1.6rem, 3.6vw, 2.1rem); margin: 0; line-height: 1.15; }
.auth-ico { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--softer, #f6f0fa); color: var(--brand); }
.auth-ico .ico { width: 32px; height: 32px; }
.auth-lead { color: var(--muted); font-size: 1.02rem; overflow-wrap: anywhere; }
.auth-lead b { color: var(--brand); }
.auth-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; width: 100%; text-align: left; }
.auth-steps li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--softer, #f6f0fa); }
.auth-steps li > span { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; font-size: .82rem; font-weight: 700; }
.auth-steps p { margin: 2px 0 0; font-size: .95rem; }
.auth-note { display: flex; align-items: flex-start; gap: 8px; text-align: left; font-size: .88rem; color: var(--muted); }
.auth-note .ico { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.auth-actions { display: grid; justify-items: center; gap: 14px; width: 100%; }
.auth-actions .btn { width: 100%; text-align: center; min-height: 48px; display: grid; place-items: center; }
.authcard label { width: 100%; text-align: left; }
.authcard button.cta { justify-self: stretch; min-height: 48px; }
.auth-error { display: flex; align-items: flex-start; gap: 8px; width: 100%; margin: 0; padding: 12px 14px; border-radius: 12px; background: #fdecea; color: #8a1c13; text-align: left; font-size: .92rem; }
.auth-error .ico { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.auth-ok { display: flex; align-items: center; gap: 10px; }
.auth-ok .ico { flex: none; }
.forgot-link { justify-self: start; font-size: .92rem; }
.errorpage { min-height: 100vh; display: grid; background: var(--paper, #f7f7f2); }
.errorpage .authpage { min-height: 100vh; padding: 24px 16px; }
.error-brand { font: 800 1.3rem/1 var(--font-title, inherit), sans-serif; color: var(--brand); }
.error-brand img { max-height: 46px; max-width: 180px; }
.error-ico { background: #fdecea; color: #b42318; }
.auth-actions button.cta { width: 100%; min-height: 48px; justify-self: stretch; }
.auth-actions .btn-soft, :is(html.storefront) .auth-actions .btn-soft { width: 100%; min-height: 46px; display: grid; place-items: center; background: var(--softer, #f6f0fa); color: var(--brand); box-shadow: none; }
@media (max-width: 768px) {
  .bar { gap: 6px; }
  .bar .account { width: 38px; height: 38px; }
  .bar .cartpill { padding: 0 6px; min-width: 40px; justify-content: center; }
}
@media (max-width: 380px) {
  .bar .brand img, .bar .brand svg { max-width: 150px; }
}
/* Código de descuento en el carrito */
.cart-code { border: 1px dashed var(--line, #ddd); border-radius: 14px; padding: 12px 14px; }
.cart-code > summary { cursor: pointer; font-weight: 600; color: var(--brand); }
.cart-code[open] > summary { margin-bottom: 12px; }
.cart-code form { display: grid; gap: 10px; }
.cart-code-row { display: flex; gap: 8px; }
.cart-code-row input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: .04em; }
.cart-code-row button { flex: none; }
.cart-code-applied { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 12px; padding: 12px 14px; border-radius: 14px; background: #e9f7ef; color: #17603d; }
.cart-code-applied.has-problem { background: #fdecea; color: #8a1c13; }
.cart-code-tag { justify-self: start; display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 4px 10px; border-radius: 999px; background: #fff; font-size: .85rem; letter-spacing: .04em; overflow-wrap: anywhere; }
.cart-code-tag .ico { width: 16px; height: 16px; }
.cart-code-text { grid-column: 1 / -1; font-size: .9rem; line-height: 1.4; }
.cart-summary .cart-code-applied form { margin: 0; grid-column: 2; grid-row: 1; justify-self: end; }
.cart-code-remove { color: inherit; text-decoration: underline; font-weight: 600; background: none; padding: 4px; }
.cart-summary > * { min-width: 0; }
.cart-discount-label, .cart-discount-value { color: #17603d; font-weight: 600; }
.cart-remind { margin: 0; }
.cart-remind .tick { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; line-height: 1.4; }
.cart-remind .tick input { margin-top: 3px; flex: none; }
.cart-remind small { display: block; color: var(--muted); }
/* Menú de la cuenta en el encabezado */
.account-menu { position: relative; flex: none; display: flex; }
.account-pop { position: absolute; right: 0; top: 100%; z-index: 80; padding-top: 10px; min-width: 250px; display: none; }
.account-pop-inner { display: grid; gap: 2px; padding: 8px; border: 1px solid var(--line, #e5e5e5); border-radius: 16px; background: #fff; box-shadow: 0 18px 44px rgba(20, 10, 40, .16); }
.account-pop::before { content: ""; position: absolute; top: 4px; right: 16px; width: 12px; height: 12px; background: #fff; border-left: 1px solid var(--line, #e5e5e5); border-top: 1px solid var(--line, #e5e5e5); transform: rotate(45deg); }
@media (hover: hover) { .account-menu:hover .account-pop { display: block; } }
.account-menu:focus-within .account-pop, .account-menu.open .account-pop { display: block; }
.account-who { display: grid; gap: 2px; padding: 10px 12px 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line, #eee); }
.account-who b { color: var(--ink, #222); }
.account-who small { color: var(--muted); overflow-wrap: anywhere; }
.account-hello { margin: 0; padding: 8px 12px 10px; color: var(--muted); font-size: .9rem; line-height: 1.4; }
.account-pop form { margin: 0; display: block; }
.account-pop-inner > a, .account-pop .account-out { display: flex; align-items: center; justify-content: flex-start; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 10px; color: var(--ink, #222); font: inherit; font-weight: 600; text-decoration: none; text-align: left; background: none; border: 0; box-shadow: none; cursor: pointer; }
.account-pop-inner > a:hover, .account-pop .account-out:hover, .account-pop-inner > a:focus-visible, .account-pop .account-out:focus-visible { background: var(--soft, #f4effa); color: var(--brand); }
.account-pop .ico { width: 18px; height: 18px; color: var(--brand); }
.account-pop .account-out { margin-top: 4px; border-top: 1px solid var(--line, #eee); border-radius: 0 0 10px 10px; color: #8a1c13; }
.account-pop .account-out .ico { color: inherit; }
.account-pop .account-primary { background: var(--brand); color: #fff; justify-content: center; }
.account-pop .account-primary .ico { color: #fff; }
.account-pop .account-primary:hover { background: var(--brand); color: #fff; filter: brightness(1.1); }
@media (max-width: 768px) {
  .bar { position: relative; }
  .account-menu { position: static; }
  .account-pop { top: 100%; left: 0; right: 0; min-width: 0; padding-top: 6px; }
  .account-pop::before { display: none; }
  .account-menu.open .account-pop { display: block; }
}
/* Casillas del código de seis dígitos */
.otp { display: flex; justify-content: center; gap: clamp(4px, 1.6vw, 10px); margin-top: 8px; width: 100%; max-width: 380px; }
.otp[hidden] { display: none; }
.otp-box { flex: 1 1 0; min-width: 0; max-width: 52px; height: 58px; padding: 0; text-align: center; font-size: 1.6rem; font-weight: 700; font-variant-numeric: tabular-nums; border: 1.5px solid var(--line, #d8d4e2); border-radius: 12px; background: #fff; caret-color: var(--brand); }
.otp-box:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.otp-box:nth-child(3) { margin-right: clamp(4px, 1.6vw, 10px); }
.otp-toggle { justify-self: center; background: none; border: 0; padding: 4px; color: var(--brand); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; box-shadow: none; }

/* ---------- Mi cuenta: ingreso y registro ---------- */
.authpage { width: min(calc(100% - 48px), 1110px); padding-block: clamp(32px, 5vw, 56px) clamp(48px, 7vw, 80px); }
.auth-head { display: grid; justify-items: center; gap: 12px; max-width: 680px; margin: 0 auto clamp(26px, 4vw, 40px); text-align: center; }
.auth-head h1 { margin: 0; font-size: clamp(2rem, 4.4vw, 2.9rem); line-height: 1.05; }
.auth-head h1::after { content: ""; display: block; width: 46px; height: 3px; margin: 14px auto 0; border-radius: 3px; background: var(--accent); }
.auth-head p { margin: 0; color: #5d5470; font-size: 1.04rem; line-height: 1.6; }
.authpage .auth-ok { max-width: 680px; margin: 0 auto 24px; }
.authpage .authgrid { align-items: start; gap: clamp(16px, 2.4vw, 26px); }
.auth-side { display: grid; gap: clamp(16px, 2.4vw, 26px); min-width: 0; }
.authpage .auth-form { margin: 0; gap: 16px; padding: clamp(22px, 3vw, 34px); border-color: var(--line-soft, #eee6f5); border-radius: calc(var(--radius-card, 16px) + 4px); box-shadow: 0 18px 50px color-mix(in srgb, var(--brand) 9%, transparent); }
.auth-form-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 4px; }
.auth-form-head h2 { margin: 0 0 4px; font-size: clamp(1.35rem, 2.2vw, 1.6rem); }
.auth-form-head p { color: var(--muted); font-size: .95rem; line-height: 1.5; }
.auth-badge { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--brand); color: #fff; }
.auth-badge .ico { width: 22px; height: 22px; }
.auth-form label small { font-weight: 400; font-size: .84rem; color: var(--muted); }
.auth-form button.cta { justify-self: stretch; min-height: 50px; font-size: 1rem; }
.authpage .forgot-link { justify-self: center; }
.auth-fine { display: flex; align-items: flex-start; gap: 8px; color: var(--muted); font-size: .86rem; line-height: 1.45; }
.auth-fine .ico { flex: none; width: 17px; height: 17px; margin-top: 1px; color: var(--brand); }
.auth-perks { padding: clamp(20px, 3vw, 30px); border-radius: calc(var(--radius-card, 16px) + 4px); background: var(--softer, #f6f0fa); }
.auth-perks h2 { margin: 0 0 14px; font-size: 1.15rem; }
.auth-perks ul { list-style: none; display: grid; gap: 14px; margin: 0; padding: 0; }
.auth-perks li { display: flex; align-items: flex-start; gap: 12px; }
.auth-perks li > span { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #fff; color: var(--brand); box-shadow: 0 4px 12px color-mix(in srgb, var(--brand) 10%, transparent); }
.auth-perks li > span .ico { width: 19px; height: 19px; }
.auth-perks p { margin: 0; font-size: .95rem; line-height: 1.5; color: #4a4458; }
.auth-perks b { color: var(--brand); }
@media (max-width: 820px) {
  .authpage .authgrid { grid-template-columns: 1fr; }
  .authpage .auth-perks { order: 2; }
}

/* Largo con su unidad: el número ocupa más espacio que la unidad. */
.measure-fields { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }

/* Menú compacto (☰): en tablets y teléfonos, y también en pantallas anchas cuando los
   enlaces del menú no caben en una línea (site.js agrega html.menu-compact). */
@media (max-width: 1024px) {
  .bar { position: relative; }
  .bar .desktop-menu { display: none; }
  .mobile-menu { display: block; }
}
html.menu-compact .bar { position: relative; }
html.menu-compact .bar .desktop-menu { display: none; }
html.menu-compact .mobile-menu { display: block; }
.mobile-menu summary { font-size: 24px; list-style: none; cursor: pointer; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu nav {
  display: flex; position: absolute; top: 100%; left: 0; right: 0; z-index: 20;
  flex-direction: column; align-items: stretch;
  padding: 16px 20px; background: #fff; box-shadow: 0 8px 12px #0002;
}
.measure-help { display: flex; align-items: flex-start; gap: 10px; margin: -4px 0 2px; padding: 12px 14px; border-radius: 12px; background: var(--softer, #f6f0fa); color: #4a4458; font-size: .93rem; line-height: 1.5; }
.measure-help .ico { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--brand); }
.measure-help b { color: var(--brand); }

/* Precio por volumen y cobro mínimo en la ficha */
.price-tiers { display: grid; gap: 10px; margin: 4px 0 6px; padding: 14px 16px; border-radius: 14px; background: var(--softer, #f6f0fa); }
.price-tiers-title { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 700; color: var(--brand); }
.price-tiers-title .ico { width: 18px; height: 18px; }
.price-tiers table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.price-tiers th, .price-tiers td { padding: 7px 0; border-bottom: 1px dashed color-mix(in srgb, var(--brand) 18%, transparent); text-align: left; font-weight: 500; }
.price-tiers td { text-align: right; font-weight: 700; color: var(--brand); white-space: nowrap; }
.price-tiers tr:last-child :is(th, td) { border-bottom: 0; }
.price-min { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-size: .92rem; color: #4a4458; }
.price-min .ico { flex: none; width: 17px; height: 17px; margin-top: 2px; color: var(--brand); }
.price-min b { color: var(--brand); }
.price-note { color: var(--brand); font-weight: 600; }
