.ps-page { max-width: min(1100px, 100%); margin: 0 auto; padding: 16px 16px 48px; }
.ps-h1--sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
body.mp-page-printshop .mp-shell-main {
  padding-top: 0;
  padding-left: 0;
  padding-right: 0;
}
.ps-storebar {
  position: sticky;
  top: 0;
  z-index: 80;
  background: #131921;
  color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.28);
}
.ps-storebar__top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 8px;
  max-width: 1280px;
  margin: 0 auto;
}
.ps-storebar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 0 1 auto;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}
.ps-storebar__logo {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 8px;
  background: #fff;
  flex-shrink: 0;
}
.ps-storebar__name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
  font-size: 1rem;
}
.ps-storebar__search {
  flex: 1 1 220px;
  display: flex;
  min-width: 0;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.ps-storebar__search input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 0 14px;
  font-size: 15px;
  color: #0f172a;
  outline: none;
}
.ps-storebar__search button {
  width: 48px;
  border: 0;
  background: #febd69;
  color: #131921;
  cursor: pointer;
  font-size: 16px;
}
.ps-storebar__search button:hover { background: #f3a847; }
.ps-storebar__tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.ps-storebar__lang {
  display: flex;
  background: #232f3e;
  border-radius: 8px;
  overflow: hidden;
}
.ps-storebar__lang-btn {
  border: 0;
  background: transparent;
  color: #d1d5db;
  font-weight: 800;
  font-size: 12px;
  padding: 8px 10px;
  cursor: pointer;
}
.ps-storebar__lang-btn.is-active { background: #37475a; color: #fff; }
.ps-storebar__sign {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 8px;
  white-space: nowrap;
}
.ps-storebar__sign:hover, .ps-storebar__fav:hover { background: #232f3e; }
.ps-storebar__fav {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 18px;
}
.ps-storebar__fav.is-on { color: #f87171; }
.ps-storebar__cats {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  padding: 0 14px 10px;
  max-width: 1280px;
  margin: 0 auto;
  user-select: none;
}
.ps-storebar__cats::-webkit-scrollbar { display: none; }
.ps-storebar__cats.is-dragging { cursor: grabbing; }
.ps-storebar__chip {
  flex: 0 0 auto;
  white-space: nowrap;
  color: #fff;
  text-decoration: none;
  background: #232f3e;
  border: 0;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  -webkit-user-drag: none;
}
.ps-cat__h a { color: inherit; text-decoration: none; }
.ps-cat__h a:hover { text-decoration: underline; }
.ps-storebar__chip.is-on, .ps-storebar__chip:hover { background: #37475a; }
.ps-cat.is-off, [data-ps-card].is-off { display: none; }
[data-ps-card] { position: relative; }
.ps-card__fav {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: #64748b;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15,23,42,.14);
  font-size: 16px;
}
.ps-card__fav.is-on { color: #e11d48; }
@media (max-width: 720px) {
  .ps-storebar__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand tools" "search search";
    gap: 8px;
  }
  .ps-storebar__brand { grid-area: brand; }
  .ps-storebar__search { grid-area: search; flex-basis: auto; }
  .ps-storebar__tools { grid-area: tools; }
  .ps-storebar__name { max-width: 140px; }
  .ps-storebar__sign { font-size: 12px; padding: 8px 6px; }
}
.ps-h1 { font-size: 1.8rem; margin: 8px 0 10px; }
.ps-lead, .ps-empty { color: #475569; }
.ps-cat { margin: 28px 0 8px; scroll-margin-top: 108px; }
.ps-cat__h { font-size: 1.25rem; margin: 0 0 12px; color: #0f766e; letter-spacing: 0.02em; }
.ps-ficha__cat { margin: 0 0 4px; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: #0f766e; }
.ps-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.ps-card { display: block; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 0; overflow: hidden; text-decoration: none; color: inherit; box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06); content-visibility: auto; contain-intrinsic-size: 0 320px; }
.ps-card__media { display: block; aspect-ratio: 4 / 3; background: #e2e8f0; overflow: hidden; }
.ps-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ps-card__body { display: block; padding: 16px 18px 18px; }
.ps-card h2, .ps-card h3 { margin: 0 0 8px; font-size: 1.15rem; }
.ps-card p {
  margin: 0 0 12px;
  color: #64748b;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ps-card__cta { font-weight: 800; color: #0f766e; }
.ps-gallery { margin: 0 0 16px; }
.ps-gallery__stage {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #e2e8f0;
  cursor: zoom-in;
  line-height: 0;
}
.ps-gallery__stage:focus-visible { outline: 3px solid #0f766e; outline-offset: 2px; }
.ps-gallery__main { width: 100%; height: auto; display: block; object-fit: contain; }
.ps-gallery__thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.ps-gallery__thumb { flex: 0 0 auto; width: 80px; padding: 0; border: 2px solid #e2e8f0; border-radius: 10px; overflow: hidden; cursor: pointer; background: #e2e8f0; aspect-ratio: 4 / 3; }
.ps-gallery__thumb.is-on { border-color: #0f766e; }
.ps-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.ps-lightbox {
  position: fixed;
  inset: 0;
  z-index: 50000;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
}
.ps-lightbox[hidden],
.ps-lightbox__nav[hidden] { display: none !important; }
.ps-lightbox__img {
  max-width: 100vw;
  max-height: 100vh;
  max-height: 100dvh;
  width: auto;
  height: auto;
  object-fit: contain;
}
.ps-lightbox__close,
.ps-lightbox__nav {
  position: absolute;
  z-index: 1;
  border: 0;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  line-height: 1;
}
.ps-lightbox__close {
  top: 12px;
  right: 14px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 2rem;
}
.ps-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 2rem;
}
.ps-lightbox__prev { left: 12px; }
.ps-lightbox__next { right: 12px; }
.ps-lightbox__close:hover,
.ps-lightbox__nav:hover { background: rgba(255, 255, 255, 0.28); }
.ps-lightbox__count {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 4px #000;
}
body.ps-lightbox-open { overflow: hidden; }
.ps-ficha { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; align-items: start; }
.ps-desc { white-space: pre-wrap; line-height: 1.5; color: #334155; }
.ps-ficha__opts { position: sticky; top: 12px; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 16px; }
.ps-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: 1.1rem;
  margin-left: 4px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: help;
  vertical-align: middle;
}
.ps-back { display: inline-block; margin: 0 0 12px; font-weight: 700; color: #0f766e; }
.ps-field { display: block; margin: 0 0 12px; font-weight: 700; font-size: 0.92rem; }
.ps-field[hidden],
.ps-field.is-off { display: none !important; }
.ps-field select, .ps-field input, .ps-field textarea { display: block; width: 100%; margin-top: 4px; padding: 8px 10px; border: 1px solid #cbd5e1; border-radius: 10px; font-weight: 500; }
.ps-op { font-weight: 500; color: #64748b; }
.ps-precio { background: #f0fdf4; border-radius: 12px; padding: 12px; margin: 8px 0 14px; }
.ps-precio__total { font-size: 1.35rem; margin: 4px 0 0; }
.ps-precio--hero {
  position: sticky;
  top: 0;
  z-index: 3;
  margin: -16px -16px 16px;
  padding: 14px 16px 12px;
  background: #0f766e;
  color: #fff;
  border-radius: 16px 16px 0 0;
  text-align: center;
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.18);
}
.ps-precio--hero .ps-precio__label {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}
.ps-precio--hero .ps-precio__total {
  margin: 2px 0 0;
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.ps-precio--hero .ps-precio__fecha {
  margin: 6px 0 0;
  font-size: 0.88rem;
  font-weight: 500;
  opacity: 0.92;
}
.ps-submit { width: 100%; padding: 12px; border: 0; border-radius: 12px; background: #15803d; color: #fff; font-weight: 800; font-size: 1.05rem; cursor: pointer; }
.ps-submit:disabled { opacity: 0.6; cursor: wait; }
.ps-legal { font-size: 0.8rem; color: #64748b; margin-top: 10px; }
.ps-hp { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }
.ps-form-msg { padding: 10px; border-radius: 10px; }
.ps-login { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 14px; margin-top: 8px; }
.ps-login p { margin: 0 0 12px; color: #334155; font-weight: 600; }
.ps-login__btn { display: block; text-align: center; text-decoration: none; }
.ps-login__link { display: block; text-align: center; margin-top: 10px; font-weight: 700; color: #0f766e; }
.ps-form-msg.is-err { background: #fef2f2; color: #991b1b; }
@media (max-width: 860px) {
  .ps-ficha { grid-template-columns: 1fr; }
  .ps-ficha__opts { position: static; }
}
