/* Pappitas — Tienda → Portada (rediseño nov 2026)
 * Una sola pantalla, sin modales. Colores del panel por tokens del tema
 * (claro/oscuro); los únicos colores fijos son las muestras de color que
 * elige el vendedor y las miniaturas de cada diseño (son la tienda en chico).
 */

/* En tiendas Bento la portada nueva reemplaza las tarjetas viejas */
#store-section-page.pt-on > *:not(#store-bento-card) { display: none !important; }

.pt { min-width: 0; max-width: 100%; display: flex; flex-direction: column; gap: 18px; padding-bottom: 84px; font-family: var(--font, inherit); color: var(--text-primary); }
.pt button { font-family: inherit; }
.pt-card { background: var(--bg-card); border-radius: 18px; box-shadow: 0 0 0 1px var(--border); }
.pt-top { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 16px; align-items: start; }
.pt-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pt-head b { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.pt-head b .icon { width: 16px; height: 16px; }
.pt-head--out { margin-bottom: -6px; }
.pt-mini { border: 0; background: none; padding: 4px 2px; font-size: 13px; font-weight: 700; color: var(--text-primary); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.pt-mini span { color: var(--text-muted); font-weight: 600; }
.pt-mini--card { background: var(--bg-card); border-radius: 999px; padding: 7px 14px; box-shadow: 0 0 0 1px var(--border); }
.pt-cap { font-size: 12px; font-weight: 800; color: var(--text-muted); letter-spacing: .03em; text-transform: uppercase; }

/* ── Tu marca ── */
.pt-brand { position: relative; overflow: hidden; display: flex; flex-direction: column; }
.pt-brand__band { height: 88px; background: var(--bg-hover); display: flex; align-items: flex-start; justify-content: space-between; padding: 14px 14px 0 16px; box-sizing: border-box; }
.pt-pill { max-width: 62%; height: 28px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--bg-card); color: var(--text-secondary); font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.pt-logo { position: absolute; left: 16px; top: 54px; width: 68px; height: 68px; border-radius: 50%; background: var(--bg-card); box-shadow: 0 0 0 4px var(--bg-card), 0 0 0 5px var(--border); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.pt-logo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.pt-logo > span { font-size: 28px; font-weight: 900; color: var(--text-primary); }
.pt-logo__pen { position: absolute; right: -2px; bottom: -2px; width: 24px; height: 24px; border-radius: 50%; background: var(--text-primary); color: var(--bg-card); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px var(--bg-card); }
.pt-logo__pen .icon { width: 12px; height: 12px; }
.pt-brand__body { padding: 44px 18px 18px; display: flex; flex-direction: column; gap: 14px; }
.pt-field--name { display: flex; align-items: center; gap: 6px; padding: 0 12px; border-radius: 12px; background: var(--bg-hover); }
.pt-ok { width: 18px; height: 18px; flex-shrink: 0; color: var(--text-primary); }
.pt-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 26px; }
.pt-row > span:first-child { font-size: 13px; font-weight: 700; color: var(--text-secondary); white-space: nowrap; }
.pt-brand .pt-dots { gap: 5px; flex-wrap: nowrap; }
.pt-brand .pt-dot { width: 20px; height: 20px; }
.pt-sep { height: 1px; background: var(--border); }
.pt-linkbox { display: flex; flex-direction: column; gap: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.pt-linkbox[hidden] { display: none; }
.pt-domainbox { display: flex; flex-direction: column; }
.pt-domainbox:empty { display: none; }
.pt-domainbox > div { max-width: none !important; margin: 0 !important; }
.pt-domainbox .form-label { font-size: 13px; font-weight: 700; color: var(--text-secondary); }
.pt-linkbox .form-group { margin: 0; }

/* ── Campos (negrita, un poco más grandes) ── */
.pt-in { flex: 1; min-width: 0; height: 46px; border: 0; background: transparent; padding: 0 4px; font-size: 16px; font-weight: 700; color: var(--text-primary); outline: none; font-family: inherit; }
.pt-in::placeholder { color: var(--text-muted); font-weight: 600; }
.pt-in--name { font-size: 17px; font-weight: 800; }
.pt-in--t { font-size: 17px; font-weight: 800; }
.pt-in--box { width: 100%; box-sizing: border-box; padding: 0 14px; border-radius: 12px; background: var(--bg-hover); margin-top: 10px; }

/* ── Muestras de color ── */
.pt-dots { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.pt-dot { position: relative; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(127, 127, 127, .28); cursor: pointer; flex-shrink: 0; }
.pt-dot.is-on { box-shadow: 0 0 0 2px var(--bg-card), 0 0 0 3.5px var(--text-primary); }
.pt-dot--custom { background: conic-gradient(from 0deg, #ff8fb3, #fff1a8, #a8f0d4, #a9d8ff, #c9b8ff, #ff8fb3); overflow: hidden; }
.pt-dot--custom.is-on { background: var(--c); }
.pt-dot--custom input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.pt-dot--grad { background: linear-gradient(135deg, #c9b8ff, #a9d8ff, #a8f0d4); }
.pt-dot--auto { background: var(--bg-card); color: var(--text-muted); font-size: 10px; font-weight: 800; }
.pt-dots__sep { width: 1px; height: 16px; background: var(--border); margin: 0 2px; }

/* ── Diseño ── */
.pt-design { padding: 20px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.pt-designs { contain: inline-size; display: flex; gap: 14px; overflow-x: auto; padding: 4px; margin: -4px; scrollbar-width: none; scroll-snap-type: x mandatory; }
.pt-designs::-webkit-scrollbar { display: none; }
.pt-designs.is-all { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; }
.pt-dz { flex: 0 0 calc((100% - 42px) / 4); min-width: 132px; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; display: flex !important; flex-direction: column; align-items: stretch !important; justify-content: flex-start !important; gap: 8px; height: auto !important; scroll-snap-align: start; color: var(--text-primary); }
.pt-dz__n { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; padding: 0 2px; }
.pt-dz__n b { font-size: 13px; font-weight: 700; }
.pt-dz__n small { font-size: 11px; font-weight: 600; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-dz.is-on .pt-th { box-shadow: 0 0 0 2px var(--bg-card), 0 0 0 4px var(--text-primary); }
.pt-dz.is-on .pt-dz__n b { font-weight: 800; }

/* Miniatura limpia y clara: forma de portada + efecto + productos en chico */
.pt-th { position: relative; display: flex; flex-direction: column; gap: 6px; width: 100%; box-sizing: border-box; height: 172px; padding: 8px; border-radius: 18px; overflow: hidden; background: #ffffff; box-shadow: 0 0 0 1px rgba(127, 127, 127, .14), 0 10px 24px -18px rgba(21, 18, 28, .35); --ink: #15121c; --tone: #efeaff; }
.pt-th--palabras { --tone: #efeaff; } .pt-th--aurora { --tone: #e8ecff; } .pt-th--studio { --tone: #f2ede6; } .pt-th--full { --tone: #e4f0ff; }
.pt-th--clean { --tone: #ffece2; } .pt-th--luxe { --tone: #f4ecdd; --ink: #3d2a17; } .pt-th--destellos { --tone: #e6f6ee; } .pt-th--bold { --tone: #fff4c9; }
.pt-th__hero { position: relative; flex: 1; min-height: 0; border-radius: 12px; overflow: hidden; background: #ffffff; }
.pt-th__img { position: absolute; display: block; background: var(--tone); border-radius: 12px; overflow: hidden; }
.pt-th__img svg { display: none; }
.pt-th__img::before { content: ""; position: absolute; width: 46%; aspect-ratio: 1; right: 14%; top: 50%; transform: translateY(-50%); border-radius: 50%; background: rgba(255, 255, 255, .75); }
.pt-th__tx { position: absolute; z-index: 2; display: flex; flex-direction: column; gap: 7px; }
.pt-th__t { color: var(--ink); font-size: 14px; font-weight: 900; letter-spacing: -.055em; line-height: 1; }
.pt-th__btn { display: block; width: 32px; height: 9px; border-radius: 999px; background: var(--ink); }
/* Formas de portada */
.pt-L-left .pt-th__img { inset: 0; }
.pt-L-left .pt-th__tx { left: 10px; top: 12px; width: 52%; }
.pt-L-center .pt-th__img { inset: 0; }
.pt-L-center .pt-th__img::before { display: none; }
.pt-L-center .pt-th__tx { inset: 0; align-items: center; justify-content: center; text-align: center; }
.pt-L-float .pt-th__img { inset: 0; }
.pt-L-float .pt-th__img::before { right: 8px; width: 34%; aspect-ratio: auto; top: 8px; bottom: 8px; height: auto; transform: rotate(4deg); border-radius: 10px; background: #ffffff; box-shadow: 0 6px 14px -6px rgba(21, 18, 28, .25); }
.pt-L-float .pt-th__tx { left: 10px; top: 12px; width: 52%; }
.pt-L-full .pt-th__img, .pt-L-fullc .pt-th__img { inset: 0; }
.pt-L-full .pt-th__img::before, .pt-L-fullc .pt-th__img::before { right: 50%; transform: translate(50%, -60%); width: 34%; }
.pt-L-full .pt-th__tx { left: 10px; bottom: 10px; }
.pt-L-fullc .pt-th__tx { left: 0; right: 0; bottom: 10px; align-items: center; text-align: center; }
.pt-L-split .pt-th__img { right: 0; top: 0; bottom: 0; width: 46%; }
.pt-L-split .pt-th__img::before { right: 50%; transform: translate(50%, -50%); width: 60%; }
.pt-L-split .pt-th__tx { left: 6px; top: 50%; transform: translateY(-50%); width: 48%; }
.pt-L-stack .pt-th__img { left: 0; right: 0; top: 0; height: 52%; }
.pt-L-stack .pt-th__img::before { right: 50%; transform: translate(50%, -50%); width: 26%; }
.pt-L-stack .pt-th__tx { left: 0; right: 0; bottom: 4px; align-items: center; text-align: center; gap: 5px; }
.pt-L-bold .pt-th__img { left: 0; right: 0; bottom: 0; height: 38%; }
.pt-L-bold .pt-th__img::before { width: 18%; }
.pt-L-bold .pt-th__tx { left: 4px; top: 4px; }
.pt-L-bold .pt-th__t { font-size: 21px; letter-spacing: -.065em; }
.pt-L-bold .pt-th__btn { display: none; }
.pt-th--luxe .pt-th__t { font-family: "Playfair Display", Georgia, serif; font-weight: 700; letter-spacing: -.02em; }
.pt-zoom { animation: ptKb 5s ease-in-out infinite alternate; }
/* Productos en chico: solo la forma, limpia */
.pt-c { display: flex; gap: 5px; height: 40px; flex: none; overflow: hidden; }
.pt-pc { flex: 1; min-width: 0; border-radius: 10px; background: #f6f5f8; display: flex; align-items: center; justify-content: center; }
.pt-pc i { width: 18px; height: 18px; border-radius: 50%; display: block; }
.pt-pc svg, .pt-pc s { display: none; }
.pt-c--big .pt-pc i { width: 22px; height: 22px; }
.pt-c--row .pt-pc { flex: 0 0 40%; }
.pt-rw { display: inline-block; height: 1em; overflow: hidden; vertical-align: top; font-style: normal; }
.pt-rw > em { display: flex; flex-direction: column; font-style: normal; color: #7c5cff; animation: ptWords 4.5s ease-in-out infinite; }
.pt-rw span { display: block; height: 1em; }
.pt-fx-aur { position: absolute; inset: -30% -20%; z-index: 1; background: radial-gradient(30% 40% at 30% 45%, rgba(255, 143, 199, .45) 0%, transparent 70%), radial-gradient(30% 40% at 70% 50%, rgba(122, 162, 255, .45) 0%, transparent 70%); filter: blur(12px); animation: ptAur 6s ease-in-out infinite; pointer-events: none; }
.pt-fx-par { position: absolute; inset: 0; z-index: 1; }
.pt-fx-par b { position: absolute; bottom: 0; width: 4px; height: 4px; border-radius: 50%; background: #7cc9a4; box-shadow: 0 0 6px rgba(124, 201, 164, .8); animation: ptUp 3.4s linear infinite; }
.pt-fx-par b:nth-child(1) { left: 14%; } .pt-fx-par b:nth-child(2) { left: 34%; animation-delay: -1s; } .pt-fx-par b:nth-child(3) { left: 52%; animation-delay: -2s; }
.pt-fx-par b:nth-child(4) { left: 70%; animation-delay: -.5s; } .pt-fx-par b:nth-child(5) { left: 86%; animation-delay: -2.6s; }
.pt-shine { background: linear-gradient(90deg, var(--ink) 35%, #c9b8ff 50%, var(--ink) 65%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: ptShine 2.8s linear infinite; }
@keyframes ptWords { 0%, 25% { transform: translateY(0); } 33%, 58% { transform: translateY(-1em); } 66%, 91% { transform: translateY(-2em); } 100% { transform: translateY(0); } }
@keyframes ptAur { 0% { transform: translate(-6%, -4%) scale(1); } 50% { transform: translate(8%, 6%) scale(1.15); } 100% { transform: translate(-6%, -4%) scale(1); } }
@keyframes ptKb { from { transform: scale(1); } to { transform: scale(1.12); } }
@keyframes ptUp { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-80px); opacity: 0; } }
@keyframes ptShine { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ── Fotos de portada ── */
.pt-photos { display: flex; gap: 16px; align-items: flex-start; }
.pt-strip { width: 220px; flex: none; display: flex; flex-direction: column; gap: 4px; padding-top: 4px; }
.pt-strip__it { display: flex; align-items: center; gap: 12px; padding: 6px; border: 0; border-radius: 14px; background: none; text-align: left; cursor: pointer; color: var(--text-secondary); font-family: inherit; }
.pt-strip__img { width: 64px; height: 44px; flex: none; border-radius: 10px; background: var(--bg-hover) center / cover no-repeat; display: flex; align-items: center; justify-content: center; color: var(--text-muted); }
.pt-strip__img .icon { width: 18px; height: 18px; }
.pt-strip__it.is-on .pt-strip__img { box-shadow: 0 0 0 2px var(--bg-app), 0 0 0 4px var(--text-primary); }
.pt-strip__it.is-on { color: var(--text-primary); font-weight: 800; }
.pt-strip__t { font-size: 13px; font-weight: inherit; line-height: 1.25; min-width: 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pt-strip__t small { display: block; font-size: 12px; font-weight: 600; color: var(--text-muted); }
.pt-strip__add { font-weight: 700; }
.pt-strip__add .pt-strip__img { background: transparent; border: 1.5px dashed var(--border-strong, var(--border)); box-sizing: border-box; }
.pt-slide { flex: 1; min-width: 0; padding: 14px; display: flex; gap: 18px; }
.pt-view { position: relative; width: 470px; flex: none; min-height: 250px; border-radius: 14px; background: var(--bg-hover) center / cover no-repeat; overflow: hidden; display: flex; align-items: center; }
.pt-view::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(242, 242, 244, .92) 0, rgba(242, 242, 244, .7) 40%, rgba(242, 242, 244, 0) 80%); }
.pt-view--aurora::before, .pt-view--full::before { background: linear-gradient(90deg, rgba(0, 0, 0, .7) 0, rgba(0, 0, 0, .45) 45%, rgba(0, 0, 0, 0) 85%); }
.pt-view__txt { position: relative; z-index: 1; padding: 24px 26px; max-width: 78%; }
.pt-view__t { font-size: 34px; font-weight: 900; letter-spacing: -.055em; line-height: .96; color: #1d1d1f; overflow-wrap: anywhere; }
.pt-view__s { margin-top: 10px; font-size: 15px; font-weight: 600; color: #3a3a3c; }
.pt-view--aurora .pt-view__t, .pt-view--full .pt-view__t { color: #ffffff; }
.pt-view--aurora .pt-view__s, .pt-view--full .pt-view__s { color: rgba(255, 255, 255, .86); }
.pt-view--bold .pt-view__t { letter-spacing: -.065em; }
.pt-view--luxe .pt-view__t { font-family: "Playfair Display", Georgia, serif; font-weight: 700; letter-spacing: -.02em; }
.pt-view__w { color: #7c5cff; }
.pt-view__a { position: absolute; right: 10px; top: 10px; z-index: 2; display: flex; gap: 6px; }
.pt-chip { height: 30px; padding: 0 12px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .94); color: #0a0a0a; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.pt-chip .icon { width: 13px; height: 13px; }
.pt-chip--ghost { width: 30px; padding: 0; justify-content: center; }
.pt-fields { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.pt-tf { border-radius: 12px; background: var(--bg-hover); padding: 0 6px 0 12px; }
.pt-tf__row { display: flex; align-items: center; gap: 6px; }
.pt-aa { height: 32px; padding: 0 8px 0 11px; flex: none; border: 0; border-radius: 999px; background: var(--bg-card); box-shadow: 0 0 0 1px var(--border); color: var(--text-primary); font-size: 13px; cursor: pointer; display: inline-flex !important; align-items: center; gap: 3px; transition: box-shadow .15s, background .15s; }
.pt-aa b { font-weight: 800; letter-spacing: -.02em; }
.pt-aa svg { width: 13px; height: 13px; transition: transform .2s; }
.pt-aa:hover { box-shadow: 0 0 0 1px var(--border-strong, var(--border)), 0 2px 8px -4px rgba(0, 0, 0, .2); }
.pt-aa.is-on { background: var(--text-primary); color: var(--bg-card); box-shadow: none; }
.pt-aa.is-on svg { transform: rotate(180deg); }
.pt-tf__panel { border-top: 1px solid var(--border); margin-right: 6px; padding: 12px 0 12px; display: flex; flex-direction: column; gap: 12px; }
.pt-size { display: flex; align-items: center; gap: 14px; }
.pt-size output { width: 30px; text-align: right; font-size: 12px; font-weight: 700; color: var(--text-secondary); }
.pt-range { flex: 1; min-width: 60px; accent-color: var(--text-primary); }
.pt-seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--bg-card); box-shadow: 0 0 0 1px var(--border); flex-shrink: 0; }
.pt-seg button { height: 28px; padding: 0 12px; border: 0; border-radius: 999px; background: none; color: var(--text-secondary); font-size: 12px; font-weight: 600; cursor: pointer; }
.pt-seg button.is-on { background: var(--text-primary); color: var(--bg-card); font-weight: 700; }
.pt-words, .pt-chips { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 0 2px; }
.pt-words > span:first-child { font-size: 12px; font-weight: 700; color: var(--text-muted); margin-right: 2px; }
.pt-word { height: 30px; padding: 0 6px 0 12px; border-radius: 999px; background: var(--bg-hover); color: var(--text-primary); font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.pt-word button { width: 20px; height: 20px; padding: 0; border: 0; border-radius: 50%; background: var(--bg-card); color: var(--text-muted); font-size: 13px; line-height: 1; cursor: pointer; }
.pt-word--lg { height: 36px; font-size: 14px; background: var(--bg-card); box-shadow: 0 0 0 1px var(--border); }
.pt-word__in { width: 110px; height: 30px; padding: 0 12px; border: 1.5px dashed var(--border); border-radius: 999px; background: transparent; color: var(--text-primary); font-size: 13px; font-weight: 700; outline: none; font-family: inherit; }
.pt-word__in--lg { width: 220px; height: 36px; font-size: 14px; }
.pt-word__in--wide { width: 230px; }
.pt-view__w { display: inline-block; }
.pt-view__w.is-in { animation: ptWordIn .45s cubic-bezier(.2, .7, .2, 1); }
@keyframes ptWordIn { from { opacity: 0; transform: translateY(.4em); } to { opacity: 1; transform: none; } }
.pt-empty { width: 100%; min-height: 200px; border: 1.5px dashed var(--border); border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--text-secondary); font-weight: 700; cursor: pointer; }
.pt-empty .icon { width: 26px; height: 26px; }

/* ── Complementos ── */
.pt-plug { border-radius: 22px; background: var(--bg-hover); padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.pt-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 290px)); gap: 12px; }
.pt-tile { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--bg-card); box-shadow: 0 0 0 1px var(--border); cursor: pointer; }
.pt-tile.is-on { box-shadow: 0 0 0 2px var(--text-primary); }
.pt-tile b { flex: 1; font-size: 15px; font-weight: 700; }
.pt-sk { width: 56px; height: 52px; flex: none; border-radius: 9px; background: var(--bg-card); box-shadow: 0 0 0 1px var(--border); padding: 6px; box-sizing: border-box; display: flex; flex-direction: column; gap: 3px; }
.pt-sk i { display: block; height: 9px; border-radius: 3px; background: var(--bg-hover); }
.pt-sk i:nth-child(2) { height: 16px; }
.pt-sk--m i:first-child { height: 5px; background: var(--text-primary); }
.pt-sk--p i:nth-child(3) { width: 55%; background: var(--text-primary); }
.pt-sk--b i:nth-child(4) { background: var(--text-primary); }
.pt-sk--n i:nth-child(3) { width: 70%; margin-left: auto; border-radius: 999px; background: var(--text-primary); }
.pt-plugbox { min-width: 0; contain: inline-size; border-radius: 16px; background: var(--bg-card); padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.pt-plugbox[hidden] { display: none; }
.pt-mq { contain: inline-size; width: 100%; min-width: 0; height: 38px; border-radius: 10px; overflow: hidden; display: flex; align-items: center; color: var(--text-primary); font-size: 14px; font-weight: 700; }
.pt-mq__t { display: flex; width: max-content; animation: ptMq 28s linear infinite; }
.pt-mq--slow { animation-duration: 42s; } .pt-mq--fast { animation-duration: 16s; }
.pt-mq__t > span { display: flex; align-items: center; gap: 26px; padding-right: 26px; white-space: nowrap; }
.pt-mq i { font-style: normal; opacity: .5; }
@keyframes ptMq { to { transform: translateX(-50%); } }
.pt-mqopt { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.pt-mqopt__g { display: inline-flex; align-items: center; gap: 10px; }
.pt-mqopt__g small { font-size: 12px; font-weight: 700; color: var(--text-secondary); }
.pt-form .tm-add, .pt-form .tm-pick { margin: 0; }
.pt-note { margin: 0; font-size: 14px; color: var(--text-secondary); }

/* ── Guardar (siempre a mano) ── */
.pt-save { position: sticky; bottom: 14px; z-index: 5; display: flex; justify-content: flex-end; pointer-events: none; }
.pt-save__btn { pointer-events: auto; height: 46px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--text-primary); color: var(--bg-card); font-size: 15px; font-weight: 800; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; box-shadow: var(--shadow-card, 0 8px 24px -10px rgba(0, 0, 0, .35)); }
.pt-save__btn i { width: 7px; height: 7px; border-radius: 50%; background: var(--c-success); }
.pt-save__btn:disabled { opacity: .7; }

/* ── Tablet ── */
@media (max-width: 1180px) {
  .pt-slide { flex-direction: column; }
  .pt-view { width: 100%; }
}
/* ── Celular: una sola columna, compacto ── */
@media (max-width: 760px) {
  .pt { gap: 14px; }
  .pt-top { grid-template-columns: 1fr; }
  .pt-brand__band { height: 70px; }
  .pt-logo { top: 38px; width: 58px; height: 58px; }
  .pt-brand__body { padding-top: 34px; }
  .pt-design { padding: 14px; gap: 12px; }
  .pt-design { overflow: hidden; }
  .pt-designs, .pt-designs.is-all { display: flex; overflow-x: auto; margin: 0; padding: 4px 2px 6px; gap: 10px; }
  .pt-dz { flex: 0 0 104px; min-width: 104px; }
  .pt-th { height: 112px; border-radius: 12px; padding: 4px; gap: 4px; }
  .pt-c { height: 30px; }
  .pt-pc s { display: none; }
  .pt-pc i { width: 18px; height: 18px; }
  .pt-th__t { font-size: 10.5px; }
  .pt-th--bold .pt-th__t { font-size: 14px; }
  .pt-th__btn { width: 22px; height: 6px; }
  .pt-dz__n { flex-direction: column; gap: 0; align-items: flex-start; }
  .pt-photos { flex-direction: column; align-items: stretch; gap: 10px; }
  .pt-slide { width: 100%; box-sizing: border-box; }
  .pt-view { flex-direction: column; align-items: stretch; justify-content: space-between; }
  .pt-view__a { position: relative; top: auto; right: auto; justify-content: flex-end; padding: 0 10px 10px; }
  .pt-strip { width: auto; flex-direction: row; gap: 8px; overflow-x: auto; padding: 4px; margin: -4px; }
  .pt-strip__it { padding: 0; }
  .pt-strip__t { display: none; }
  .pt-strip__img { width: 58px; height: 42px; }
  .pt-slide { padding: 10px; gap: 10px; }
  .pt-view { min-height: 140px; }
  .pt-view__txt { padding: 16px 16px 10px; max-width: 86%; }
  .pt-size { flex-wrap: wrap; }
  .pt-plug { padding: 14px; border-radius: 18px; }
  .pt-tiles { grid-template-columns: 1fr; gap: 8px; }
  .pt-sk { width: 44px; height: 40px; }
  .pt-word__in--lg { width: 100%; }
  .pt-save { bottom: calc(76px + env(safe-area-inset-bottom)); }
  .pt-save__btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .pt-rw > em, .pt-fx-aur, .pt-th--full::before, .pt-fx-par b, .pt-shine, .pt-mq__t { animation: none; }
}

/* Campos limpios: sin el recuadro de foco del navegador ni del tema */
.pt input.pt-in, .pt input.pt-in:focus, .pt input.pt-word__in:focus, .pt input.pt-in:focus-visible { outline: none !important; box-shadow: none !important; border-color: transparent !important; -webkit-appearance: none; appearance: none; }
.pt input.pt-in { border: 0 !important; background: transparent !important; }
.pt input.pt-in--box { background: var(--bg-hover) !important; }
.pt-tf, .pt-field--name { transition: box-shadow .15s; }
.pt-tf:focus-within, .pt-field--name:focus-within, .pt input.pt-in--box:focus { box-shadow: 0 0 0 1.5px var(--border-strong, var(--border)) !important; }
.pt-word__in:focus { border-style: solid !important; border-color: var(--border-strong, var(--border)) !important; }
.pt-slide, .pt-photos, .pt-fields, .pt-design, .pt-top > * { min-width: 0; }

/* Menú de la tienda: pastillas como Pasarela de pago, Productos primero */
#store-workspace-view .store-workspace { display: block; }
#store-workspace-view .store-rail { position: static; display: inline-flex; flex-direction: row; gap: 4px; width: auto; max-width: 100%; box-sizing: border-box; padding: 4px; margin: 0 0 18px; border: 0; border-radius: 14px; background: color-mix(in srgb, var(--text-primary) 5%, transparent); overflow-x: auto; scrollbar-width: none; }
#store-workspace-view .store-rail::-webkit-scrollbar { display: none; }
#store-workspace-view .store-rail-item { width: auto; height: 38px; padding: 0 16px; gap: 7px; border-radius: 11px; background: transparent; color: var(--text-secondary); font-size: 13.5px; font-weight: 600; white-space: nowrap; }
#store-workspace-view .store-rail-item .icon { display: block; width: 16px; height: 16px; }
#store-workspace-view .store-rail-item::after { content: attr(data-tip); position: static; transform: none !important; opacity: 1; background: none; color: inherit; font-size: inherit; font-weight: inherit; padding: 0; border-radius: 0; }
#store-workspace-view .store-rail-item:hover { background: transparent; color: var(--text-primary); }
#store-workspace-view .store-rail-item.active { background: var(--bg-card); color: var(--text-primary); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
#store-workspace-view [data-storesection="products"] { order: 2; }
#store-workspace-view [data-storesection="page"] { order: 1; }
#store-workspace-view [data-storesection="menu"] { order: 3; }
#store-workspace-view [data-storesection="checkout"] { order: 4; }
#store-workspace-view [data-storesection="config"] { order: 5; }
#store-workspace-view [data-storesection="templates"] { order: 6; }
@media (max-width: 760px) {
  /* Celular: las pestañas se deslizan con el dedo, siempre con su nombre completo */
  #store-workspace-view .store-rail { display: flex !important; flex-wrap: nowrap !important; width: 100% !important; justify-content: flex-start !important; overflow-x: auto !important; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
  #store-workspace-view .store-rail-item { flex: none !important; flex-direction: row !important; width: auto !important; min-width: 0 !important; max-width: none !important; height: 36px !important; padding: 0 14px !important; gap: 6px !important; font-size: 13px !important; scroll-snap-align: start; overflow: visible !important; }
  #store-workspace-view .store-rail-item::after { overflow: visible !important; text-overflow: clip !important; max-width: none !important; white-space: nowrap !important; }
  #store-workspace-view .store-rail-item .icon { width: 15px; height: 15px; }
}
