/* DigitalPass Studio — Premium Apple layer
   Preserves original layout geometry (fixed sidebar + margin-left + fixed emulator).
   Upgrades materials, type, and section chrome only. */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
	/* Accent neutro (negro). El color de cada negocio sigue en --business-primary-color */
	--st-orange: #1d1d1f;
	--st-orange-soft: rgba(29, 29, 31, 0.1);
	--st-ink: #1d1d1f;
	--st-muted: #86868b;
	--st-bg: #f5f5f7;
	--st-surface: #ffffff;
	--st-line: rgba(0, 0, 0, 0.08);
	--st-sidebar: rgba(255, 255, 255, 0.48);
	--st-sidebar-w: 272px;
	--st-radius: 12px;
	--st-radius-lg: 18px;
	--st-font: 'Instrument Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	--st-ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* ——— Base (keep layout intact) ——— */
html {
	/* clip no crea scrollport; overflow-x:hidden en body rompe position:sticky */
	overflow-x: clip;
}

body.studio-layout {
	font-family: var(--st-font) !important;
	overflow-x: clip !important;
	/* Atmósfera detrás del glass (para que el blur se note) */
	background:
		radial-gradient(1200px 700px at -5% -10%, color-mix(in srgb, var(--business-primary-color, #1d1d1f) 10%, #fff) 0%, transparent 55%),
		radial-gradient(900px 600px at 30% 110%, rgba(180, 190, 210, 0.18) 0%, transparent 50%),
		radial-gradient(800px 500px at 100% 0%, rgba(210, 225, 245, 0.35) 0%, transparent 45%),
		linear-gradient(180deg, #eceef2 0%, #f5f5f7 45%, #eef0f4 100%) !important;
	background-attachment: fixed !important;
	color: var(--st-ink);
	-webkit-font-smoothing: antialiased;
	letter-spacing: -0.011em;
}

.studio-container {
	background: transparent !important;
}

/* ——— Sidebar: liquid glass ——— */
.studio-sidebar {
	width: var(--st-sidebar-w) !important;
	position: fixed !important;
	left: 0 !important;
	top: 0 !important;
	height: 100vh !important;
	height: 100dvh !important;
	background:
		linear-gradient(
			165deg,
			rgba(255, 255, 255, 0.72) 0%,
			rgba(255, 255, 255, 0.38) 45%,
			rgba(255, 255, 255, 0.55) 100%
		) !important;
	backdrop-filter: saturate(200%) blur(40px) brightness(1.05);
	-webkit-backdrop-filter: saturate(200%) blur(40px) brightness(1.05);
	border-right: 1px solid rgba(255, 255, 255, 0.55) !important;
	box-shadow:
		inset 1px 0 0 rgba(255, 255, 255, 0.75),
		inset 0 1px 0 rgba(255, 255, 255, 0.65),
		8px 0 32px rgba(0, 0, 0, 0.04) !important;
	color: var(--st-ink) !important;
	z-index: 1000 !important;
	padding: 0 !important;
	isolation: isolate;
}

.studio-sidebar::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, transparent 28%),
		radial-gradient(120% 60% at 0% 0%, rgba(255, 255, 255, 0.45) 0%, transparent 55%);
}

.studio-sidebar > * {
	position: relative;
	z-index: 1;
}

body.studio-sidebar-open .studio-sidebar {
	z-index: 1100 !important;
}

.studio-sidebar-brand {
	padding: 1.35rem 1.25rem 1.1rem !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.35) !important;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent);
}

.studio-sidebar-brand-link {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	text-decoration: none;
	color: inherit;
}

.studio-sidebar-brand-icon {
	width: 36px !important;
	height: 36px !important;
	border-radius: 10px !important;
	background: #0e0e10 !important;
	color: #fff !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	letter-spacing: -0.04em;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22) !important;
	display: block !important;
	object-fit: cover;
	flex-shrink: 0;
}

.studio-sidebar-brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
	font-size: inherit !important;
}

.studio-sidebar-brand-text strong {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--st-ink);
	letter-spacing: -0.03em;
}

.studio-sidebar-brand-text small {
	font-size: 0.72rem;
	font-weight: 550;
	color: var(--st-muted);
	margin-top: 2px;
}

.studio-sidebar-brand:has(.studio-app-switch.is-open) {
	z-index: 6;
	overflow: visible;
}

.studio-app-switch {
	position: relative;
	display: block;
}

.studio-app-switch-face {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 0.3rem 0.35rem 0.3rem 0;
	border: 0;
	border-radius: 14px;
	background: transparent;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.studio-app-switch-face:hover,
.studio-app-switch.is-open .studio-app-switch-face {
	background: rgba(255, 255, 255, 0.55);
}

.studio-app-switch-face:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px rgba(29, 29, 31, 0.16);
}

.studio-app-switch-thumb {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	overflow: hidden;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: -0.04em;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}

.studio-app-switch-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.studio-app-switch-face .studio-sidebar-brand-text {
	min-width: 0;
	flex: 1;
}

.studio-app-switch-face .studio-sidebar-brand-text strong,
.studio-app-switch-copy strong {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.studio-app-switch-chevron {
	width: 28px;
	height: 28px;
	margin-left: auto;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: var(--st-muted);
	background: rgba(255, 255, 255, 0.7);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
	transition: transform 0.22s var(--st-ease);
}

.studio-app-switch-chevron i {
	font-size: 0.68rem;
}

.studio-app-switch.is-open .studio-app-switch-chevron {
	transform: rotate(180deg);
}

.studio-app-switch-menu {
	position: absolute;
	left: -0.35rem;
	right: -0.35rem;
	top: calc(100% + 0.45rem);
	z-index: 8;
	padding: 0.55rem;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: saturate(180%) blur(28px);
	-webkit-backdrop-filter: saturate(180%) blur(28px);
	border: 1px solid rgba(255, 255, 255, 0.85);
	box-shadow:
		0 22px 50px rgba(0, 0, 0, 0.14),
		0 2px 8px rgba(0, 0, 0, 0.05);
	transform-origin: top center;
	transition: opacity 0.18s var(--st-ease), transform 0.18s var(--st-ease), visibility 0.18s;
}

.studio-app-switch:not(.is-open) .studio-app-switch-menu {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(-6px) scale(0.98);
}

.studio-app-switch.is-open .studio-app-switch-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.studio-app-switch-kicker {
	margin: 0.2rem 0.55rem 0.4rem;
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--st-muted);
}

.studio-app-switch-list {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	max-height: min(360px, calc(100dvh - 8.5rem));
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.studio-app-switch-option {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	min-height: 52px;
	padding: 0.4rem 0.5rem;
	border-radius: 13px;
	text-decoration: none;
	color: inherit;
}

.studio-app-switch-option:hover,
.studio-app-switch-option:focus-visible {
	background: rgba(0, 0, 0, 0.04);
	outline: none;
}

.studio-app-switch-option.is-current {
	background: color-mix(in srgb, var(--business-primary-color, #1d1d1f) 10%, #fff);
}

.studio-app-switch-copy {
	min-width: 0;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0.08rem;
}

.studio-app-switch-copy strong {
	font-size: 0.92rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--st-ink);
}

.studio-app-switch-copy small {
	font-size: 0.72rem;
	font-weight: 550;
	color: var(--st-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.studio-app-switch-check {
	color: var(--business-primary-color, #1d1d1f);
	font-size: 0.78rem;
	flex-shrink: 0;
}

@media (max-width: 860px) {
	.studio-app-switch-menu {
		left: -0.15rem;
		right: -0.15rem;
	}

	.studio-app-switch-list {
		max-height: min(52vh, calc(100dvh - 9.5rem));
	}
}

.dstore-row.is-current {
	background: #f6f6f8 !important;
}

.dstore-row-check {
	color: var(--business-primary-color, #1d1d1f);
	font-size: 0.85rem;
	flex-shrink: 0;
}

.studio-sidebar-nav {
	padding: 0.85rem 0.75rem 1rem !important;
}

.studio-sidebar-section {
	margin-bottom: 1.15rem !important;
}

.studio-sidebar-section-title {
	padding: 0.35rem 0.7rem 0.55rem !important;
	font-size: 0.68rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.06em !important;
	text-transform: uppercase !important;
	color: var(--st-muted) !important;
}

.studio-sidebar-project {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0.15rem 0.7rem 0.65rem;
}

.studio-sidebar-project-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	flex-shrink: 0;
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9);
}

.studio-sidebar-project-copy {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
}

.studio-sidebar-project-name {
	font-size: 0.8rem;
	font-weight: 650;
	color: var(--st-ink);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.studio-sidebar-project-giro {
	font-size: 0.68rem;
	font-weight: 550;
	color: var(--st-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.studio-sidebar-project-giro.is-missing {
	color: #000000;
}

.studio-header-giro {
	margin: 0.2rem 0 0;
	font-size: 0.8rem;
	font-weight: 550;
	color: var(--st-muted);
	letter-spacing: -0.01em;
}

.studio-sidebar-item {
	margin: 0 0 3px !important;
	padding: 0.62rem 0.7rem !important;
	border-radius: 12px !important;
	border-left: 0 !important;
	gap: 0.7rem !important;
	color: #3a3a3c !important;
	font-size: 0.9rem !important;
	font-weight: 550 !important;
	background: transparent !important;
	box-shadow: none !important;
	transition: background 0.15s var(--st-ease), color 0.15s var(--st-ease), transform 0.15s var(--st-ease);
}

.studio-sidebar-item:hover {
	background: rgba(255, 255, 255, 0.45) !important;
	color: var(--st-ink) !important;
	border-left-color: transparent !important;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55) !important;
}

.studio-sidebar-item.is-active {
	background: rgba(255, 255, 255, 0.72) !important;
	color: var(--st-ink) !important;
	font-weight: 650 !important;
	box-shadow:
		0 1px 2px rgba(0, 0, 0, 0.05),
		inset 0 0 0 1px rgba(255, 255, 255, 0.85),
		inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.studio-sidebar-item-icon {
	width: 30px !important;
	height: 30px !important;
	border-radius: 9px !important;
	background: rgba(255, 255, 255, 0.55) !important;
	color: #636366 !important;
	font-size: 0.8rem !important;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65) !important;
}

.studio-sidebar-item.is-active .studio-sidebar-item-icon {
	background: color-mix(in srgb, var(--business-primary-color, var(--st-orange)) 16%, #fff) !important;
	color: var(--business-primary-color, var(--st-orange)) !important;
	box-shadow: none !important;
}

.studio-sidebar-item.is-active .studio-sidebar-item-text {
	color: var(--st-ink) !important;
}

.studio-ico-apps,
.studio-ico-store {
	background: rgba(255, 255, 255, 0.55) !important;
	color: #636366 !important;
}

.studio-ico-new {
	background: color-mix(in srgb, var(--business-primary-color, var(--st-orange)) 14%, #fff) !important;
	color: var(--business-primary-color, var(--st-orange)) !important;
}

.studio-sidebar-app-thumb {
	overflow: hidden;
	padding: 0 !important;
	font-size: 9px !important;
	font-weight: 700;
	background: rgba(255, 255, 255, 0.65) !important;
	color: #636366 !important;
	border-radius: 9px !important;
}

.studio-sidebar-app-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 9px;
	display: block;
}

.studio-sidebar-item.studio-sidebar-app.is-active .studio-sidebar-app-thumb {
	box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--business-primary-color, var(--st-orange));
}

.studio-sidebar-send-wrap {
	padding: 0.65rem 0.85rem 0.35rem;
}

@keyframes studio-send-pulse {
	0%,
	100% {
		box-shadow:
			0 0 0 0 color-mix(in srgb, var(--business-primary-color, var(--st-orange)) 0%, transparent),
			0 8px 20px color-mix(in srgb, var(--business-primary-color, var(--st-orange)) 28%, transparent);
	}
	50% {
		box-shadow:
			0 0 0 6px color-mix(in srgb, var(--business-primary-color, var(--st-orange)) 18%, transparent),
			0 10px 24px color-mix(in srgb, var(--business-primary-color, var(--st-orange)) 36%, transparent);
	}
}

@keyframes studio-send-plane {
	0%,
	100% {
		transform: translate(0, 0) rotate(0deg);
	}
	40% {
		transform: translate(2px, -2px) rotate(-8deg);
	}
	70% {
		transform: translate(-1px, 1px) rotate(4deg);
	}
}

@keyframes studio-send-shimmer {
	0% {
		transform: translateX(-120%) skewX(-18deg);
		opacity: 0;
	}
	30% {
		opacity: 0.55;
	}
	100% {
		transform: translateX(180%) skewX(-18deg);
		opacity: 0;
	}
}

@keyframes studio-send-header-glow {
	0%,
	100% {
		box-shadow:
			0 0 0 0 color-mix(in srgb, var(--business-primary-color, #1d1d1f) 0%, transparent),
			0 6px 16px color-mix(in srgb, var(--business-primary-color, #1d1d1f) 28%, transparent);
	}
	50% {
		box-shadow:
			0 0 0 5px color-mix(in srgb, var(--business-primary-color, #1d1d1f) 16%, transparent),
			0 8px 22px color-mix(in srgb, var(--business-primary-color, #1d1d1f) 38%, transparent);
	}
}

/* Sidebar: Enviar App como CTA animado */
.studio-sidebar-item.studio-sidebar-send {
	position: relative;
	overflow: hidden;
	margin-top: 0.35rem;
	justify-content: flex-start;
	gap: 0.65rem;
	padding: 0.72rem 0.85rem !important;
	border-radius: 14px !important;
	background: var(--business-primary-color, var(--st-orange)) !important;
	color: #fff !important;
	font-weight: 750 !important;
	letter-spacing: -0.02em;
	box-shadow: 0 8px 20px color-mix(in srgb, var(--business-primary-color, var(--st-orange)) 28%, transparent) !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
	animation: studio-send-pulse 2.4s ease-in-out infinite;
	transition:
		transform 0.22s var(--st-ease, cubic-bezier(0.22, 1, 0.36, 1)),
		filter 0.22s ease,
		background 0.22s ease;
}

.studio-sidebar-item.studio-sidebar-send::after {
	content: "";
	position: absolute;
	inset: 0;
	width: 42%;
	background: linear-gradient(
		90deg,
		transparent 0%,
		rgba(255, 255, 255, 0.28) 48%,
		transparent 100%
	);
	pointer-events: none;
	animation: studio-send-shimmer 3.2s ease-in-out infinite;
}

.studio-sidebar-item.studio-sidebar-send .studio-sidebar-item-icon,
.studio-sidebar-item.studio-sidebar-send .studio-sidebar-send-icon {
	background: rgba(255, 255, 255, 0.18) !important;
	color: #fff !important;
	box-shadow: none !important;
}

.studio-sidebar-item.studio-sidebar-send .studio-sidebar-item-icon i,
.studio-sidebar-item.studio-sidebar-send .studio-sidebar-send-icon i {
	animation: studio-send-plane 2.4s ease-in-out infinite;
	transform-origin: center;
}

.studio-sidebar-item.studio-sidebar-send .studio-sidebar-item-text {
	color: #fff !important;
	font-weight: 750 !important;
}

.studio-sidebar-item.studio-sidebar-send:hover {
	background: var(--business-primary-color, var(--st-orange)) !important;
	filter: brightness(1.06);
	transform: translateY(-2px) scale(1.01);
	color: #fff !important;
	box-shadow: 0 12px 26px color-mix(in srgb, var(--business-primary-color, var(--st-orange)) 34%, transparent) !important;
}

.studio-sidebar-item.studio-sidebar-send:active {
	transform: translateY(0) scale(0.99);
	filter: brightness(0.98);
}

.studio-sidebar-item.studio-sidebar-send.is-active {
	animation: none;
	background: var(--business-primary-color, var(--st-orange)) !important;
	color: #fff !important;
	box-shadow:
		inset 0 0 0 2px rgba(255, 255, 255, 0.35),
		0 8px 20px color-mix(in srgb, var(--business-primary-color, var(--st-orange)) 28%, transparent) !important;
}

.studio-sidebar-item.studio-sidebar-send.is-active .studio-sidebar-item-icon,
.studio-sidebar-item.studio-sidebar-send.is-active .studio-sidebar-send-icon {
	background: rgba(255, 255, 255, 0.22) !important;
	color: #fff !important;
}

.studio-sidebar-item.studio-sidebar-send.is-active .studio-sidebar-item-text {
	color: #fff !important;
}

.studio-sidebar-item.studio-sidebar-send.is-active::after {
	animation: none;
	opacity: 0;
}

/* Header: Enviar App */
.studio-btn-send {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.55rem 1.05rem;
	border-radius: 980px;
	background: var(--business-primary-color, #1d1d1f);
	color: #fff !important;
	font-size: 0.85rem;
	font-weight: 700;
	text-decoration: none;
	border: 0;
	white-space: nowrap;
	overflow: hidden;
	isolation: isolate;
	animation: studio-send-header-glow 2.4s ease-in-out infinite;
	transition:
		transform 0.22s var(--st-ease, cubic-bezier(0.22, 1, 0.36, 1)),
		filter 0.22s ease,
		background 0.22s ease;
}

.studio-btn-send-glow {
	position: absolute;
	inset: 0;
	width: 42%;
	background: linear-gradient(
		90deg,
		transparent 0%,
		rgba(255, 255, 255, 0.3) 48%,
		transparent 100%
	);
	pointer-events: none;
	z-index: 0;
	animation: studio-send-shimmer 3.2s ease-in-out infinite;
}

.studio-btn-send > i,
.studio-btn-send > .studio-btn-label {
	position: relative;
	z-index: 1;
}

.studio-btn-send > i {
	animation: studio-send-plane 2.4s ease-in-out infinite;
	transform-origin: center;
}

.studio-btn-send:hover {
	filter: brightness(1.08);
	transform: translateY(-2px) scale(1.02);
	color: #fff !important;
}

.studio-btn-send:active {
	transform: translateY(0) scale(0.98);
	filter: brightness(0.97);
}

@media (prefers-reduced-motion: reduce) {
	.studio-sidebar-item.studio-sidebar-send,
	.studio-sidebar-item.studio-sidebar-send::after,
	.studio-sidebar-item.studio-sidebar-send .studio-sidebar-item-icon i,
	.studio-sidebar-item.studio-sidebar-send .studio-sidebar-send-icon i,
	.studio-btn-send,
	.studio-btn-send-glow,
	.studio-btn-send > i {
		animation: none !important;
	}
}

.studio-sidebar-footer {
	padding: 0.85rem 0.85rem 1rem !important;
	border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
	display: flex;
	align-items: center;
	gap: 6px;
	background: transparent;
}

.studio-theme-toggle {
	appearance: none;
	flex: none;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--st-muted);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s, color 0.15s;
}

.studio-theme-toggle i {
	font-size: 0.95rem;
}

.studio-theme-toggle [data-theme-icon="sun"] { display: none; }
.studio-theme-toggle[data-theme="dark"] [data-theme-icon="moon"] { display: none; }
.studio-theme-toggle[data-theme="dark"] [data-theme-icon="sun"] { display: inline-block; }

.studio-theme-toggle:hover {
	background: rgba(0, 0, 0, 0.06);
	color: var(--st-ink);
}

.studio-sidebar-user {
	flex: 1;
	min-width: 0;
	text-decoration: none;
	cursor: pointer;
	padding: 0.45rem 0.5rem !important;
	border-radius: 12px !important;
	transition: background 0.15s var(--st-ease);
}

.studio-sidebar-user:hover {
	background: rgba(255, 255, 255, 0.45) !important;
}

.studio-sidebar-user-avatar {
	background: var(--business-primary-color, var(--st-orange)) !important;
	box-shadow: none !important;
	width: 34px !important;
	height: 34px !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	color: #fff !important;
}

.studio-sidebar-user-name {
	color: var(--st-ink) !important;
	font-weight: 650 !important;
	font-size: 0.85rem !important;
}

.studio-sidebar-user-email {
	color: var(--st-muted) !important;
	font-size: 0.72rem !important;
}

.studio-sidebar-logout {
	width: 34px;
	height: 34px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--st-muted);
	text-decoration: none;
	flex-shrink: 0;
	transition: background 0.15s, color 0.15s;
}

.studio-sidebar-logout:hover {
	background: rgba(254, 242, 242, 0.85);
	color: #dc2626;
}

/* ——— Main: keep margin-left for fixed sidebar ——— */
.studio-main {
	flex: 1 !important;
	margin-left: var(--st-sidebar-w) !important;
	min-width: 0;
	background: transparent !important;
	overflow: visible !important;
}

.studio-header {
	background: rgba(255, 255, 255, 0.55) !important;
	backdrop-filter: saturate(200%) blur(28px);
	-webkit-backdrop-filter: saturate(200%) blur(28px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.45) !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
	padding: 1.15rem 2rem !important;
}

.studio-header-greeting {
	font-size: 12px !important;
	font-weight: 600;
	color: var(--business-primary-color, var(--st-orange)) !important;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 0.2rem !important;
}

.studio-header-title {
	font-size: clamp(1.5rem, 2.4vw, 1.85rem) !important;
	font-weight: 700 !important;
	letter-spacing: -0.035em;
	color: var(--st-ink) !important;
	line-height: 1.15;
}

.studio-header-search input {
	background: rgba(0, 0, 0, 0.04) !important;
	border: 0 !important;
	border-radius: 10px !important;
	font-family: inherit;
	font-size: 13px !important;
	width: 240px !important;
}

.studio-header-search input:focus {
	background: #fff !important;
	box-shadow: 0 0 0 4px var(--st-orange-soft) !important;
	border-color: transparent !important;
}

.studio-btn {
	border-radius: 980px !important;
	font-family: inherit !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	padding: 0.55rem 1.1rem !important;
}

.studio-btn-primary {
	background: var(--st-orange) !important;
	border-color: var(--st-orange) !important;
	box-shadow: none !important;
	transform: none !important;
}

.studio-btn-primary:hover {
	background: #000000 !important;
	border-color: #000000 !important;
	transform: none !important;
	box-shadow: none !important;
}

.studio-content {
	padding: 1.5rem 2rem 2.5rem !important;
	max-width: none !important;
}

.studio-toolbar {
	margin-bottom: 1.25rem !important;
}

.studio-filter-select {
	border: 0 !important;
	background: rgba(0, 0, 0, 0.04) !important;
	border-radius: 8px !important;
	font-family: inherit;
}

.studio-view-switcher {
	background: rgba(0, 0, 0, 0.04);
	border-radius: 10px;
	padding: 3px;
}

.studio-view-btn.is-active {
	background: #fff !important;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* ——— Apps grid ——— */
.appcenter-app-card {
	border-radius: var(--st-radius-lg) !important;
	border: 1px solid var(--st-line) !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
	transition: transform 0.2s var(--st-ease), box-shadow 0.2s var(--st-ease);
}

.appcenter-app-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08) !important;
}

.appcenter-app-icon {
	border-radius: 18px !important;
}

.appcenter-app-icon-placeholder {
	background: var(--st-orange) !important;
}

.appcenter-platform-ios {
	background: var(--st-orange-soft) !important;
	color: var(--st-orange) !important;
}

/* ——— Workspace + Apple Preview (aprev) ——— */
.studio-content {
	overflow: visible !important;
}

.studio-workspace {
	--studio-editor-w: 680px;
	display: flex !important;
	justify-content: center !important;
	align-items: flex-start !important;
	width: 100% !important;
	margin: 0 !important;
	overflow: visible !important;
}

.studio-workspace-pair {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: flex-start !important;
	justify-content: flex-start !important;
	gap: 2.25rem !important;
	width: max-content !important;
	max-width: 100% !important;
	margin: 0 auto !important;
	overflow: visible !important;
}

.studio-workspace-editor {
	flex: 0 1 var(--studio-editor-w) !important;
	width: var(--studio-editor-w) !important;
	max-width: min(var(--studio-editor-w), calc(100vw - var(--st-sidebar-w, 272px) - 340px - 5rem)) !important;
	min-width: 0 !important;
}

.studio-workspace-editor .istore,
.studio-workspace-editor .tstore,
.studio-workspace-editor .modstore,
.studio-workspace-editor .gstore {
	max-width: none !important;
	width: 100% !important;
}

.studio-workspace-editor > .box,
.studio-main .studio-workspace-editor > .box {
	background: var(--st-surface) !important;
	border: 1px solid var(--st-line) !important;
	border-radius: var(--st-radius-lg) !important;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03) !important;
	padding: 1.5rem 1.6rem !important;
}

.studio-workspace-editor > .box:has(.dp-studio-form),
.studio-workspace-editor > .box:has(.dp-form-card),
.studio-workspace-editor > .box:has(.tstore),
.studio-workspace-editor > .box:has(.modstore),
.studio-workspace-editor > .box:has(.mstore),
.studio-workspace-editor > .box:has(.mystore),
.studio-workspace-editor > .box:has(.istore),
.studio-workspace-editor > .box:has(.gstore) {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
}

/*
 * Apple preview — iPhone simulado en CSS (sin PNG Cosmic Orange).
 * El chrome es .emulator-device (notch, bezel oscuro, home indicator).
 */
@media screen and (min-width: 1200px) {
	.aprev.studio-emulator-column {
		--aprev-w: 260px;
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		justify-content: flex-start !important;
		flex: 0 0 300px !important;
		width: 300px !important;
		max-width: 300px !important;
		position: sticky !important;
		/* Debajo del header sticky (greeting + título + acciones) */
		top: 132px !important;
		align-self: flex-start !important;
		margin: 0 !important;
		padding: 0 8px 28px !important;
		background: transparent !important;
		border: 0 !important;
		border-radius: 0 !important;
		box-shadow: none !important;
		overflow: visible !important;
		z-index: 2 !important;
		float: none !important;
		inset: auto !important;
		right: auto !important;
		left: auto !important;
		height: auto !important;
		max-height: calc(100vh - 148px) !important;
	}

	.aprev-label {
		margin: 0 0 12px;
		font-size: 11px;
		font-weight: 650;
		letter-spacing: 0.1em;
		text-transform: uppercase;
		color: #86868b;
		text-align: center;
		flex-shrink: 0;
		position: relative;
		z-index: 2;
	}

	.aprev-phone {
		position: relative;
		width: var(--aprev-w);
		height: calc(var(--aprev-w) * 667 / 375);
		flex: 0 0 auto;
		padding: 0;
		border-radius: 0;
		overflow: visible;
		background: transparent;
		box-shadow: none;
		border: 0;
	}

	.aprev:has(.emulator-is-personal) {
		--aprev-w: 270px;
	}

	.aprev:has(.emulator-is-personal) .aprev-phone {
		height: calc(var(--aprev-w) * 852 / 390);
	}

	.aprev .emulator-is-personal {
		width: 100%;
		height: 100%;
	}

	.aprev .emulator-personal-shell {
		width: 100%;
		height: 100%;
		max-width: none;
		aspect-ratio: auto;
	}

	.aprev-phone::before {
		content: none;
		display: none;
	}

	.aprev-btn,
	.aprev-bezel,
	.aprev-statusbar,
	.aprev-island,
	.aprev-home,
	.aprev-frame {
		display: none !important;
	}

	.aprev-screen,
	.aprev .studio-preview-canvas {
		display: block !important;
		position: relative !important;
		inset: auto !important;
		width: 100% !important;
		height: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
		overflow: visible !important;
		background: transparent !important;
		border-radius: 0 !important;
		clip-path: none !important;
		-webkit-mask-image: none !important;
		mask-image: none !important;
		pointer-events: auto !important;
	}

	.aprev-screen::after {
		display: none;
		content: none;
	}

	.aprev .emulator-container {
		display: block !important;
		width: 100% !important;
		height: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
		overflow: visible !important;
		pointer-events: auto !important;
	}

	.aprev .emulator-wrapper,
	.aprev .emulator-personal-shell {
		transform: none !important;
		width: 100% !important;
		height: 100% !important;
		pointer-events: auto !important;
	}

	.aprev .emulator-device,
	.aprev .emulator-iphoneSE {
		position: relative !important;
		width: 100% !important;
		height: 100% !important;
		max-width: none !important;
		max-height: none !important;
		margin: 0 auto !important;
		box-sizing: border-box !important;
		/* Chrome CSS del iPhone (sin scale: clics reales) */
		padding: 7px !important;
		border-radius: 36px !important;
		background: #1f2937 !important;
		box-shadow:
			0 0 0 2px #111827,
			0 20px 60px rgba(0, 0, 0, 0.3),
			0 0 0 6px rgba(0, 0, 0, 0.1) !important;
		overflow: hidden !important;
		transform: none !important;
		pointer-events: auto !important;
	}

	.aprev .emulator-notch,
	.aprev .emulator-home-indicator,
	.aprev .emulator-buttons,
	.aprev .emulator-button {
		display: flex !important;
		visibility: visible !important;
		opacity: 1 !important;
	}

	.aprev .emulator-notch {
		display: flex !important;
	}

	.aprev .emulator-screen {
		position: relative !important;
		inset: auto !important;
		width: 100% !important;
		height: 100% !important;
		border-radius: 28px !important;
		overflow-x: hidden !important;
		overflow-y: auto !important;
		background: #fff !important;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		pointer-events: auto !important;
	}

	.aprev .emulator-is-personal .emulator-device,
	.aprev .emulator-is-personal .emulator-notch,
	.aprev .emulator-is-personal .emulator-home-indicator {
		display: none !important;
	}

	.aprev .emulator-notch {
		width: 96px !important;
		height: 22px !important;
	}

	.aprev .emulator-screen::-webkit-scrollbar {
		display: none;
	}

	.aprev .emulator-content {
		display: flex !important;
		flex-direction: column !important;
		width: 100% !important;
		min-height: 100% !important;
		margin: 0 !important;
		box-sizing: border-box !important;
	}

	.aprev .emulator-action-buttons {
		padding: 36px 12px 0 !important;
		gap: 0;
	}

	.aprev .emulator-action-btn {
		width: 30px !important;
		height: 30px !important;
		font-size: 0.72rem !important;
		backdrop-filter: blur(12px);
		-webkit-backdrop-filter: blur(12px);
		background: rgba(255, 255, 255, 0.82) !important;
		box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18) !important;
	}

	.aprev .emulator-action-buttons-right {
		gap: 0.45rem !important;
	}

	.aprev .emulator-hero {
		min-height: 150px !important;
		height: 36% !important;
		width: 100% !important;
		border-radius: 0 !important;
		flex-shrink: 0 !important;
		margin: 0 !important;
	}

	.aprev .emulator-main-content {
		padding: 1rem 0.65rem 2.25rem !important;
		border-radius: 18px 18px 0 0 !important;
		margin-top: -16px !important;
		width: 100% !important;
		box-sizing: border-box !important;
	}

	.aprev .emulator-modules-section {
		margin: 0.5rem 0 1rem !important;
	}

	.aprev .emulator-modules-grid {
		max-width: none !important;
		width: 100% !important;
		gap: 0.65rem !important;
		padding-bottom: 0.5rem !important;
		margin-top: 0.5rem !important;
	}

	.aprev .emulator-module-card {
		padding: 0.65rem 0.4rem !important;
		border-radius: 14px !important;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
	}

	.aprev .emulator-module-icon {
		font-size: 1.35rem !important;
		margin-bottom: 0.35rem !important;
	}

	.aprev .emulator-module-icon-img {
		width: 28px;
		height: 28px;
		object-fit: contain;
		margin-bottom: 0.35rem;
	}

	.aprev .emulator-module-name {
		font-size: 0.65rem !important;
		color: inherit !important;
	}

	.aprev .emulator-business-name {
		font-size: 1.05rem !important;
	}

	.aprev .emulator-location-distance,
	.aprev .emulator-delivery-text {
		font-size: 0.72rem !important;
	}

	.aprev .emulator-products-grid {
		gap: 0.5rem !important;
	}

	.aprev .emulator-minimalist-header {
		padding-top: 1.1rem !important;
	}

	.aprev .emulator-minimalist-content {
		min-height: auto !important;
		padding-bottom: 2rem !important;
	}

	.aprev .emulator-empty-products {
		margin: 0.75rem 0.7rem 1.5rem !important;
		padding: 1.75rem 1rem !important;
	}
}

/* ——— Section header ——— */
.studio-section-header-wrapper {
	margin-bottom: 1.25rem !important;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--st-line);
}

.studio-section-title {
	font-size: 1.35rem !important;
	font-weight: 700 !important;
	letter-spacing: -0.03em;
	color: var(--st-ink) !important;
	margin: 0 !important;
}

.studio-section-title .icon {
	width: 36px !important;
	height: 36px !important;
	border-radius: 10px !important;
	font-size: 1rem !important;
	background: var(--st-orange) !important;
	box-shadow: none !important;
}

.info-delete-btn {
	border-radius: 980px !important;
	background: rgba(255, 59, 48, 0.08) !important;
	border: 0 !important;
	color: #ff3b30 !important;
	font-family: inherit;
	font-size: 12px !important;
	padding: 0.5rem 0.9rem !important;
}

.info-delete-btn:hover {
	background: rgba(255, 59, 48, 0.14) !important;
	transform: none !important;
}

/* ——— Info tabs → Apple segmented control ——— */
.info-tabs.tabs,
.info-tabs.tabs.is-boxed {
	margin-bottom: 1.25rem !important;
	overflow-x: auto;
}

.info-tabs.tabs ul {
	border: 0 !important;
	background: rgba(0, 0, 0, 0.045);
	border-radius: 10px;
	padding: 3px;
	display: inline-flex;
	flex-wrap: nowrap;
	gap: 2px;
	min-height: 0;
}

.info-tabs.tabs.is-boxed ul li {
	margin: 0 !important;
}

.info-tabs.tabs.is-boxed ul li a,
.info-tabs.tabs ul li a {
	border: 0 !important;
	border-radius: 8px !important;
	background: transparent !important;
	color: var(--st-muted) !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	padding: 0.45rem 0.85rem !important;
	margin: 0 !important;
	white-space: nowrap;
	transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}

.info-tabs.tabs.is-boxed ul li a .icon,
.info-tabs.tabs ul li a .icon {
	margin-right: 0.35rem !important;
	color: inherit !important;
}

.info-tabs.tabs.is-boxed ul li:not(.is-active) a:hover,
.info-tabs.tabs ul li:not(.is-active) a:hover {
	background: rgba(0, 0, 0, 0.04) !important;
	color: var(--st-ink) !important;
	opacity: 1 !important;
	border-color: transparent !important;
}

.info-tabs.tabs.is-boxed ul li.is-active a,
.info-tabs.tabs.is-boxed ul li.is-active a:hover,
.info-tabs.tabs.is-boxed ul li.is-active a:focus,
.info-tabs.tabs ul li.is-active a {
	background: var(--business-primary-color, #1d1d1f) !important;
	color: #fff !important;
	box-shadow: 0 1px 3px color-mix(in srgb, var(--business-primary-color, #1d1d1f) 35%, transparent) !important;
	border-color: transparent !important;
	border-bottom-color: transparent !important;
	opacity: 1 !important;
}

.info-tabs.tabs.is-boxed ul li.is-active a .icon,
.info-tabs.tabs ul li.is-active a .icon,
.info-tabs.tabs.is-boxed ul li.is-active a .icon i,
.info-tabs.tabs ul li.is-active a .icon i {
	color: #fff !important;
}

/* Same treatment for other boxed tabs in studio */
.products-tabs.tabs ul,
.reviews-tabs.tabs ul {
	border: 0 !important;
	background: rgba(0, 0, 0, 0.045);
	border-radius: 10px;
	padding: 3px;
	display: inline-flex;
	gap: 2px;
}

.products-tabs.tabs.is-boxed ul li a,
.reviews-tabs.tabs.is-boxed ul li a {
	border: 0 !important;
	border-radius: 8px !important;
}

.products-tabs .tabs.is-boxed li.is-active a,
.reviews-tabs .tabs.is-boxed li.is-active a,
.products-tabs.tabs.is-boxed li.is-active a,
.reviews-tabs.tabs.is-boxed li.is-active a {
	background: var(--business-primary-color, #1d1d1f) !important;
	color: #fff !important;
	box-shadow: 0 1px 3px color-mix(in srgb, var(--business-primary-color, #1d1d1f) 35%, transparent) !important;
}

.products-tabs .tabs.is-boxed li.is-active a .icon,
.reviews-tabs .tabs.is-boxed li.is-active a .icon,
.products-tabs .tabs.is-boxed li.is-active a .icon i,
.reviews-tabs .tabs.is-boxed li.is-active a .icon i {
	color: #fff !important;
}

/* ——— Info form sections ——— */
.info-section {
	background: transparent !important;
	border: 1px solid var(--st-line) !important;
	border-radius: var(--st-radius) !important;
	padding: 1.25rem 1.35rem !important;
	margin-bottom: 1rem !important;
}

.info-section-title {
	font-size: 1.05rem !important;
	font-weight: 650 !important;
	letter-spacing: -0.02em;
	color: var(--st-ink) !important;
	margin-bottom: 0.25rem !important;
}

.info-section-subtitle {
	font-size: 13px !important;
	color: var(--st-muted) !important;
}

.info-field-label {
	font-size: 11px !important;
	font-weight: 600 !important;
	letter-spacing: 0.02em !important;
	color: var(--st-muted) !important;
	text-transform: uppercase;
}

.info-input,
.info-textarea,
.studio-main .input,
.studio-main .textarea,
.studio-main .select select {
	border-radius: 10px !important;
	border: 1px solid var(--st-line) !important;
	background: #fbfbfd !important;
	box-shadow: none !important;
	font-family: inherit !important;
	font-size: 14px !important;
	color: var(--st-ink) !important;
	min-height: 42px;
	transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.info-input:focus,
.info-textarea:focus,
.studio-main .input:focus,
.studio-main .textarea:focus,
.studio-main .select select:focus {
	border-color: rgba(29, 29, 31, 0.45) !important;
	box-shadow: 0 0 0 4px var(--st-orange-soft) !important;
	background: #fff !important;
}

.studio-main .control.has-icons-left .icon,
.studio-main .control.has-icons-left .info-textarea-icon {
	color: var(--st-muted) !important;
}

.info-image-container {
	height: 220px !important;
	border-radius: var(--st-radius) !important;
	border: 1.5px dashed rgba(0, 0, 0, 0.14) !important;
	background: #fbfbfd !important;
}

.studio-main .button.is-primary,
.studio-main .button.is-link,
.app-drawer-save,
.app-drawer-footer .button.is-primary {
	background: var(--st-orange) !important;
	border-color: var(--st-orange) !important;
	border-radius: 980px !important;
	font-weight: 600 !important;
	box-shadow: none !important;
}

.studio-main .button.is-primary:hover,
.studio-main .button.is-link:hover {
	background: #000000 !important;
	border-color: #000000 !important;
}

.studio-page-load-overlay {
	backdrop-filter: blur(10px);
	background: rgba(245, 245, 247, 0.88) !important;
}

.app-drawer-panel {
	border-radius: 18px 0 0 18px !important;
	font-family: var(--st-font);
	--drawer-pad-x: 1.85rem;
	--drawer-pad-y: 1.35rem;
}

/* Contenido del drawer: siempre aire lateral (nunca pegado a los lados) */
.app-drawer-content {
	padding: var(--drawer-pad-y) var(--drawer-pad-x) 2rem !important;
	box-sizing: border-box !important;
}

.app-drawer-header {
	padding-left: var(--drawer-pad-x) !important;
	padding-right: var(--drawer-pad-x) !important;
}

@media screen and (max-width: 768px) {
	.app-drawer-panel {
		--drawer-pad-x: 1.5rem;
		--drawer-pad-y: 1.15rem;
	}
}

/* Modules / cards inside studio */
.studio-main .card {
	border-radius: var(--st-radius) !important;
	border: 1px solid var(--st-line) !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
}

@media (max-width: 1023px) {
	.studio-emulator-column:not(.is-preview-open) .emulator-container {
		position: relative !important;
		top: auto !important;
		right: auto !important;
		width: 100% !important;
		height: auto !important;
		padding: 1rem 0 !important;
	}
}

@media (max-width: 860px) {
	.studio-sidebar {
		transform: translateX(-100%);
	}

	.studio-sidebar.is-open {
		transform: translateX(0);
	}

	.studio-main {
		margin-left: 0 !important;
	}
}

/* ——— Forms: mismo lenguaje que login/register ——— */
body.studio-layout {
	--dp-bg: #f5f5f7;
	--dp-bg-elevated: #ffffff;
	--dp-ink: #1d1d1f;
	--dp-muted: #6e6e73;
	--dp-line: rgba(0, 0, 0, 0.1);
	--dp-orange: #1d1d1f;
	--dp-orange-hover: #000000;
	--dp-error-bg: #fff5f5;
	--dp-error-ink: #b91c1c;
	--dp-error-line: #fecaca;
	--dp-ease: cubic-bezier(0.25, 0.1, 0.25, 1);
	--dp-font: 'Instrument Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-family: var(--dp-font) !important;
}

.dp-studio-form,
.app-drawer-content,
.studio-main .box {
	font-family: var(--dp-font);
}

.dp-section-eyebrow {
	margin: 0 0 4px;
	font-size: 12px;
	font-weight: 600;
	color: var(--dp-orange);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.dp-section-sub {
	margin: 6px 0 0;
	font-size: 14px;
	color: var(--dp-muted);
	line-height: 1.4;
	max-width: 42ch;
}

.dp-studio-form {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.dp-form-card {
	background: var(--dp-bg-elevated);
	border: 1px solid var(--dp-line);
	border-radius: 18px;
	padding: 24px 22px;
	margin-bottom: 14px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.dp-form-card-head {
	margin-bottom: 18px;
}

.dp-form-card-title {
	margin: 0 0 4px;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: -0.025em;
	color: var(--dp-ink);
}

.dp-form-card-sub {
	margin: 0;
	font-size: 13px;
	color: var(--dp-muted);
	line-height: 1.4;
}

.dp-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 16px;
}

.dp-field:last-child {
	margin-bottom: 0;
}

.dp-label {
	font-size: 13px;
	font-weight: 500;
	color: var(--dp-ink);
	letter-spacing: -0.01em;
	line-height: 1.35;
	overflow: visible;
}

.dp-optional {
	font-weight: 400;
	color: var(--dp-muted);
	font-size: 12px;
}

.dp-input,
.dp-textarea,
.studio-main .input,
.studio-main .textarea,
.app-drawer-content .input,
.app-drawer-content .textarea,
.studio-main .select select,
.app-drawer-content .select select {
	width: 100%;
	appearance: none;
	-webkit-appearance: none;
	border: 1px solid var(--dp-line) !important;
	background: #fafafa !important;
	border-radius: 12px !important;
	padding: 12px 14px !important;
	font-family: var(--dp-font) !important;
	font-size: 16px !important;
	color: var(--dp-ink) !important;
	letter-spacing: -0.02em;
	box-shadow: none !important;
	min-height: 46px;
	height: auto !important;
	transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.dp-textarea,
.studio-main .textarea,
.app-drawer-content .textarea {
	min-height: 110px;
	resize: vertical;
	line-height: 1.45;
}

.dp-input::placeholder,
.dp-textarea::placeholder,
.studio-main .input::placeholder,
.studio-main .textarea::placeholder {
	color: #a1a1a6;
}

.dp-input:hover,
.dp-textarea:hover,
.studio-main .input:hover,
.studio-main .textarea:hover,
.app-drawer-content .input:hover,
.app-drawer-content .textarea:hover {
	background: #fff !important;
}

.dp-input:focus,
.dp-textarea:focus,
.studio-main .input:focus,
.studio-main .textarea:focus,
.app-drawer-content .input:focus,
.app-drawer-content .textarea:focus,
.studio-main .select select:focus {
	outline: none !important;
	background: #fff !important;
	border-color: var(--dp-orange) !important;
	box-shadow: 0 0 0 3px rgba(29, 29, 31, 0.15) !important;
}

/* Quitar iconos Bulma dentro de inputs en studio */
.studio-main .control.has-icons-left .input,
.studio-main .control.has-icons-left .textarea,
.app-drawer-content .control.has-icons-left .input {
	padding-left: 14px !important;
}

.studio-main .control.has-icons-left > .icon.is-left,
.studio-main .info-textarea-icon,
.app-drawer-content .control.has-icons-left > .icon.is-left {
	display: none !important;
}

.studio-main .label,
.app-drawer-content .label {
	font-size: 13px !important;
	font-weight: 500 !important;
	color: var(--dp-ink) !important;
	letter-spacing: -0.01em !important;
	text-transform: none !important;
	margin-bottom: 6px !important;
}

.studio-main .label .icon,
.app-drawer-content .label .icon {
	display: none !important;
}

.studio-main .field,
.app-drawer-content .field {
	margin-bottom: 16px !important;
}

.dp-help {
	margin: 0;
	font-size: 12px;
	color: var(--dp-muted);
}

.dp-auth-errors {
	background: var(--dp-error-bg);
	border: 1px solid var(--dp-error-line);
	border-radius: 12px;
	padding: 12px 14px;
	margin-bottom: 16px;
}

.dp-auth-errors p {
	margin: 0;
	font-size: 13px;
	color: var(--dp-error-ink);
	line-height: 1.4;
}

.dp-auth-errors p + p {
	margin-top: 4px;
}

.dp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: var(--dp-font);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
	padding: 13px 22px;
	border-radius: 980px;
	border: 0;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.2s, transform 0.15s var(--dp-ease), color 0.2s;
}

.dp-btn-primary {
	background: var(--business-primary-color, var(--dp-orange, #1d1d1f)) !important;
	color: #fff !important;
	border-color: var(--business-primary-color, var(--dp-orange, #1d1d1f)) !important;
}

.dp-btn-primary:hover {
	background: color-mix(in srgb, var(--business-primary-color, var(--dp-orange, #1d1d1f)) 82%, #000) !important;
	color: #fff !important;
}

.dp-btn-primary:active {
	transform: scale(0.98);
}

.dp-btn-ghost {
	background: rgba(0, 0, 0, 0.05);
	color: var(--dp-ink);
}

.dp-btn-ghost:hover {
	background: rgba(0, 0, 0, 0.08);
	color: var(--dp-ink);
}

.dp-btn-sm {
	font-size: 13px;
	padding: 9px 14px;
}

.dp-btn-icon {
	width: 36px;
	height: 36px;
	padding: 0;
	border-radius: 50%;
}

.dp-btn-block {
	width: 100%;
}

.dp-form-actions {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 12px;
	margin-top: 16px;
	padding: 16px 0 8px;
	width: 100% !important;
	box-sizing: border-box;
}

.dp-form-actions > .dp-btn-ghost,
.dp-form-actions > a.dp-btn-ghost {
	order: 1;
	margin: 0 !important;
	margin-right: auto !important;
}

.dp-form-actions > .dp-btn-primary,
.dp-form-actions > button.dp-btn-primary {
	order: 2;
	margin: 0 !important;
	margin-left: auto !important;
}

/* Schedule rows — inputs login-like */
.schedule-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.schedule-item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px;
	background: #fafafa;
	border: 1px solid var(--dp-line);
	border-radius: 12px;
}

.schedule-day {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex: 1 1 auto;
	min-width: 140px;
}

.schedule-day-name {
	font-size: 14px;
	font-weight: 500;
	color: var(--dp-ink);
}

.schedule-times {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 0 1 auto;
}

.schedule-time-input.dp-input,
.schedule-times .dp-input,
.schedule-time-input {
	min-height: 40px;
	padding: 8px 10px !important;
	font-size: 14px !important;
	width: 118px;
	min-width: 0;
	flex: 1 1 auto;
	max-width: 140px;
	box-sizing: border-box;
}

.schedule-separator {
	color: var(--dp-muted);
	font-weight: 500;
	flex-shrink: 0;
}

@media screen and (max-width: 720px) {
	.schedule-item {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
		padding: 12px;
	}

	.schedule-day {
		width: 100%;
		min-width: 0;
	}

	.schedule-day-name {
		min-width: 0;
	}

	.schedule-times {
		width: 100%;
		display: grid;
		grid-template-columns: 1fr auto 1fr;
		align-items: center;
		gap: 8px;
	}

	.schedule-time-input.dp-input,
	.schedule-times .dp-input,
	.schedule-time-input {
		width: 100% !important;
		max-width: none !important;
		min-width: 0 !important;
		font-size: 16px !important; /* evita zoom iOS */
	}

	.schedule-separator {
		text-align: center;
	}
}

/* Image upload polish */
.info-image-container {
	height: 200px !important;
	border-radius: 14px !important;
	border: 1.5px dashed rgba(0, 0, 0, 0.14) !important;
	background: #fafafa !important;
}

.info-image-container-sm {
	height: 160px !important;
}

.info-image-overlay .dp-btn {
	pointer-events: auto;
}

.info-profile-hero {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0.65rem;
}

.info-avatar-wrap {
	position: relative;
	width: 132px;
	height: 132px;
	margin: 0.15rem auto 0;
}

.info-avatar.info-image-container {
	width: 132px !important;
	height: 132px !important;
	margin: 0;
	border-radius: 50% !important;
	border: none !important;
	overflow: hidden;
	cursor: pointer;
	background: #f3f4f6 !important;
	display: block;
}

.info-avatar .info-image-placeholder i {
	font-size: 2.4rem;
	margin-bottom: 0.2rem;
}

.info-avatar .info-image-placeholder p {
	font-size: 0.75rem;
}

.info-avatar-badge {
	position: absolute;
	right: 2px;
	bottom: 2px;
	z-index: 2;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--business-primary-color, #1d1d1f);
	color: #fff;
	border: 3px solid #fff;
	box-shadow: 0 6px 14px color-mix(in srgb, var(--business-primary-color, #1d1d1f) 28%, transparent);
	cursor: pointer;
	font-size: 0.9rem;
	transition: transform 0.15s ease, background 0.15s ease;
}
.info-avatar-badge:hover {
	transform: scale(1.06);
}

.info-avatar-edit {
	display: none;
}

.info-field-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

.info-field-head .dp-label {
	margin-bottom: 0;
}

.info-privacy {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin: 0;
	color: #6e6e73;
	font-size: 0.82rem;
	font-weight: 600;
	cursor: pointer;
}

.info-privacy-note {
	margin: 0 0 1rem;
	color: #6e6e73;
	font-size: 0.92rem;
}

/* Section title without bulky icon */
.studio-section-header-wrapper {
	align-items: flex-start !important;
	border-bottom: 1px solid var(--dp-line);
	padding-bottom: 1rem;
	margin-bottom: 1.25rem !important;
}

.studio-section-title {
	font-family: var(--dp-font) !important;
	font-size: 1.5rem !important;
	font-weight: 600 !important;
	letter-spacing: -0.03em;
}

.studio-section-title .icon {
	display: none !important;
}

/* Drawer form spacing */
.app-drawer-content .dp-studio-form {
	padding-top: 4px;
}

.app-drawer-content .drawer-section {
	margin-bottom: 0;
}

.app-drawer-title {
	font-family: var(--dp-font);
	font-weight: 600;
	letter-spacing: -0.02em;
}

.app-drawer-save.dp-btn-primary {
	box-shadow: none !important;
}

/* Nested info-section leftovers → flatten if any remain */
.info-section {
	background: transparent !important;
	border: 0 !important;
	padding: 0 !important;
	margin: 0 0 14px !important;
	border-radius: 0 !important;
}

/* ========== Responsive — header + preview limpios ========== */

.studio-header-content {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
	justify-content: flex-start !important;
	width: 100%;
	max-width: none;
	margin: 0;
	gap: 8px;
}

.studio-menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent !important;
	color: var(--st-ink);
	font-size: 18px;
	cursor: pointer;
	flex-shrink: 0;
}

.studio-header-titles {
	flex: 1 1 auto;
	min-width: 0;
}

.studio-header-actions {
	display: flex !important;
	flex-direction: row !important;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
	margin-left: auto;
}

.studio-preview-link {
	appearance: none;
	-webkit-appearance: none;
	border: 0;
	background: transparent;
	color: var(--st-orange);
	font-family: var(--st-font);
	font-size: 15px;
	font-weight: 500;
	padding: 8px 12px 8px 8px;
	cursor: pointer;
	white-space: nowrap;
	line-height: 1;
}

.studio-preview-close {
	display: none;
}

.studio-preview-toolbar {
	display: none;
}

.studio-preview-canvas {
	display: block;
}

.studio-preview-lottie {
	display: none;
	position: absolute;
	left: 50%;
	top: 48%;
	transform: translate(-50%, -50%);
	width: 120px;
	height: 120px;
	z-index: 5;
	pointer-events: none;
}

.studio-preview-lottie.is-visible {
	display: block;
}

.studio-sidebar-backdrop {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.35);
	z-index: 1090;
}

.studio-sidebar-backdrop.is-visible {
	display: block;
}

.studio-preview-backdrop {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.35);
	z-index: 1200;
}

.studio-preview-backdrop.is-visible {
	display: block;
}

@media screen and (min-width: 1200px) {
	.studio-menu-toggle,
	.studio-preview-link,
	.studio-preview-close,
	.studio-preview-toolbar,
	.studio-preview-lottie,
	.studio-preview-backdrop {
		display: none !important;
	}
}

/* Preview stage equilibrado */
@media screen and (max-width: 1199px) {
	.studio-preview-link {
		display: inline-block !important;
	}

	.studio-emulator-column:not(.is-preview-open),
	.studio-emulator-column:not(.is-preview-open) .emulator-container,
	.studio-emulator-column:not(.is-preview-open) .emulator-wrapper,
	.studio-emulator-column:not(.is-preview-open) .emulator-device {
		display: none !important;
		visibility: hidden !important;
		pointer-events: none !important;
		position: static !important;
		width: 0 !important;
		height: 0 !important;
		max-height: 0 !important;
		overflow: hidden !important;
		opacity: 0 !important;
		transform: none !important;
		top: auto !important;
		right: auto !important;
		left: auto !important;
		z-index: -1 !important;
	}

	/*
	 * Móvil: iPhone CSS bajo el toolbar (sin PNG naranja).
	 */
	.studio-emulator-column.is-preview-open {
		--aprev-w: min(280px, calc(100vw - 48px));
		display: flex !important;
		visibility: visible !important;
		opacity: 1 !important;
		flex-direction: column !important;
		align-items: center !important;
		justify-content: flex-start !important;
		position: fixed !important;
		inset: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
		height: 100% !important;
		height: 100dvh !important;
		margin: 0 !important;
		padding: 0 0 env(safe-area-inset-bottom, 12px) !important;
		z-index: 1201 !important;
		background: #e8e8ed !important;
		border-radius: 0 !important;
		overflow: hidden !important;
		pointer-events: auto !important;
	}

	.studio-emulator-column.is-preview-open .studio-preview-toolbar {
		display: flex !important;
		align-items: center;
		justify-content: space-between;
		flex: 0 0 auto !important;
		align-self: stretch;
		min-height: 52px;
		padding: env(safe-area-inset-top, 0px) 16px 0;
		height: calc(52px + env(safe-area-inset-top, 0px));
		background: rgba(232, 232, 237, 0.96);
		backdrop-filter: blur(16px);
		-webkit-backdrop-filter: blur(16px);
		border-bottom: 1px solid rgba(0, 0, 0, 0.06);
		z-index: 8;
		box-sizing: border-box;
		position: relative;
	}

	.studio-preview-toolbar-title {
		font-size: 16px;
		font-weight: 650;
		letter-spacing: -0.02em;
		color: #1d1d1f;
	}

	.studio-emulator-column.is-preview-open .studio-preview-close {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		min-width: 64px;
		height: 32px;
		padding: 0 14px;
		border: 0;
		border-radius: 980px;
		background: var(--business-primary-color, var(--st-orange, #1d1d1f));
		color: #fff;
		font-family: var(--st-font);
		font-size: 14px;
		font-weight: 650;
		cursor: pointer;
	}

	.studio-emulator-column.is-preview-open .aprev-phone {
		position: relative !important;
		inset: auto !important;
		width: var(--aprev-w) !important;
		height: calc(var(--aprev-w) * 667 / 375) !important;
		flex: 0 0 auto !important;
		margin: 16px auto 16px !important;
		padding: 0 !important;
		border-radius: 0 !important;
		background: transparent !important;
		border: 0 !important;
		box-shadow: none !important;
		overflow: visible !important;
		transform: none !important;
		opacity: 0;
		transition: opacity 0.28s var(--st-ease);
		z-index: 1;
		pointer-events: auto !important;
	}

	.studio-emulator-column.is-preview-open.is-preview-ready .aprev-phone {
		opacity: 1 !important;
		transform: none !important;
	}

	.studio-emulator-column.is-preview-open .aprev-frame {
		display: none !important;
	}

	.studio-emulator-column.is-preview-open .studio-preview-canvas,
	.studio-emulator-column.is-preview-open .aprev-screen {
		display: block !important;
		position: relative !important;
		inset: auto !important;
		width: 100% !important;
		height: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
		overflow: visible !important;
		border-radius: 0 !important;
		background: transparent !important;
		clip-path: none !important;
		-webkit-mask-image: none !important;
		mask-image: none !important;
		z-index: 1 !important;
		pointer-events: auto !important;
	}

	.studio-emulator-column.is-preview-open .emulator-container,
	.studio-emulator-column.is-preview-open .emulator-wrapper {
		display: block !important;
		width: 100% !important;
		height: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
		overflow: visible !important;
		transform: none !important;
		pointer-events: auto !important;
	}

	.studio-emulator-column.is-preview-open .emulator-device,
	.studio-emulator-column.is-preview-open .emulator-iphoneSE {
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
		position: relative !important;
		inset: auto !important;
		width: 100% !important;
		height: 100% !important;
		margin: 0 auto !important;
		padding: 7px !important;
		box-sizing: border-box !important;
		border-radius: 36px !important;
		background: #1f2937 !important;
		box-shadow:
			0 0 0 2px #111827,
			0 20px 60px rgba(0, 0, 0, 0.3),
			0 0 0 6px rgba(0, 0, 0, 0.1) !important;
		overflow: hidden !important;
		transform: none !important;
		pointer-events: auto !important;
	}

	.studio-emulator-column.is-preview-open .emulator-notch,
	.studio-emulator-column.is-preview-open .emulator-home-indicator {
		display: flex !important;
		visibility: visible !important;
		opacity: 1 !important;
		width: auto !important;
		height: auto !important;
	}

	.studio-emulator-column.is-preview-open .emulator-notch {
		width: 96px !important;
		height: 22px !important;
	}

	.studio-emulator-column.is-preview-open .emulator-screen {
		position: relative !important;
		inset: auto !important;
		width: 100% !important;
		height: 100% !important;
		border-radius: 28px !important;
		overflow-x: hidden !important;
		overflow-y: auto !important;
		background: #fff !important;
		box-shadow: none !important;
		padding: 0 !important;
		clip-path: none !important;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior: contain;
		touch-action: pan-y;
		pointer-events: auto !important;
	}

	.studio-emulator-column.is-preview-open .emulator-content {
		display: flex !important;
		flex-direction: column !important;
		width: 100% !important;
		min-width: 100% !important;
		max-width: 100% !important;
		min-height: 100% !important;
		margin: 0 !important;
		box-sizing: border-box !important;
	}

	.studio-emulator-column.is-preview-open .emulator-hero {
		width: 100% !important;
		min-height: 130px !important;
		height: 36% !important;
		max-height: none !important;
		flex-shrink: 0 !important;
		margin: 0 !important;
		border-radius: 0 !important;
	}

	.studio-emulator-column.is-preview-open .emulator-main-content,
	.studio-emulator-column.is-preview-open .emulator-minimalist-content,
	.studio-emulator-column.is-preview-open .emulator-modern-header {
		width: 100% !important;
		max-width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		box-sizing: border-box !important;
	}

	.studio-emulator-column.is-preview-open .emulator-main-content {
		flex: 1 1 auto !important;
		padding: 0.85rem 0.7rem 1.75rem !important;
		margin-top: -14px !important;
		border-radius: 16px 16px 0 0 !important;
		background: #fff !important;
	}

	.studio-emulator-column.is-preview-open .emulator-action-buttons {
		padding: 36px 10px 0 !important;
	}

	.studio-emulator-column.is-preview-open .emulator-modules-section {
		margin: 0.5rem 0 1rem !important;
	}

	.studio-emulator-column.is-preview-open .emulator-modules-grid {
		max-width: none !important;
		width: 100% !important;
		gap: 0.65rem !important;
		padding-bottom: 0.5rem !important;
	}

	.studio-emulator-column.is-preview-open .emulator-module-icon-img {
		width: 28px;
		height: 28px;
		object-fit: contain;
		margin-bottom: 0.35rem;
	}

	.studio-emulator-column.is-preview-open .emulator-empty-products {
		margin: 0.45rem 0.55rem 1rem !important;
		padding: 1.35rem 1rem !important;
	}

	.studio-emulator-column.is-preview-open .emulator-action-btn {
		width: 32px !important;
		height: 32px !important;
		font-size: 0.75rem !important;
	}

	.studio-emulator-column.is-preview-open .emulator-modules-grid {
		max-width: none !important;
		width: 100% !important;
		padding-left: 0.65rem !important;
		padding-right: 0.65rem !important;
	}

	.studio-emulator-column.is-preview-open .studio-preview-lottie {
		z-index: 8;
	}

	.studio-workspace {
		display: block !important;
	}

	.studio-workspace-pair {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	.studio-workspace-editor {
		width: 100% !important;
		max-width: 100% !important;
		flex: none !important;
	}

	.aprev-label,
	.aprev-island,
	.aprev-home,
	.aprev-statusbar,
	.aprev-btn,
	.aprev-bezel,
	.aprev-phone::before {
		display: none !important;
	}

	.studio-emulator-column:not(.is-preview-open) .aprev-phone {
		display: none !important;
	}

	.aprev-frame {
		display: none !important;
	}
}

@media screen and (max-width: 1024px) {
	.studio-sidebar {
		width: var(--st-sidebar-w) !important;
	}

	.studio-main {
		margin-left: var(--st-sidebar-w) !important;
	}

	.studio-sidebar-brand-text,
	.studio-sidebar-section-title,
	.studio-sidebar-item-text,
	.studio-sidebar-user-info,
	.studio-sidebar-project-name {
		display: flex !important;
	}

	.studio-sidebar-brand-text {
		flex-direction: column;
	}
}

@media screen and (max-width: 1023px) {
	.studio-menu-toggle {
		display: inline-flex !important;
	}

	.studio-sidebar {
		width: min(300px, 88vw) !important;
		transform: translateX(-105%) !important;
		transition: transform 0.25s var(--st-ease) !important;
		z-index: 1100 !important;
	}

	.studio-sidebar.is-open {
		transform: translateX(0) !important;
		pointer-events: auto !important;
	}

	.studio-main {
		margin-left: 0 !important;
		width: 100% !important;
	}

	.studio-header {
		position: sticky !important;
		top: 0 !important;
		z-index: 90 !important;
		padding: env(safe-area-inset-top, 0px) 0 0 !important;
		min-height: calc(52px + env(safe-area-inset-top, 0px));
		background: rgba(255, 255, 255, 0.66) !important;
		backdrop-filter: saturate(200%) blur(40px) brightness(1.05) !important;
		-webkit-backdrop-filter: saturate(200%) blur(40px) brightness(1.05) !important;
		border-bottom: 1px solid rgba(255, 255, 255, 0.5) !important;
		box-shadow:
			inset 0 1px 0 rgba(255, 255, 255, 0.8),
			0 1px 0 rgba(0, 0, 0, 0.04) !important;
	}

	.studio-header-content {
		position: relative !important;
		min-height: 52px;
		padding: 0 10px !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		align-items: center !important;
		justify-content: flex-start !important;
		gap: 6px !important;
	}

	.studio-menu-toggle {
		display: inline-flex !important;
		width: 36px !important;
		height: 36px !important;
		flex: 0 0 36px !important;
		border-radius: 980px !important;
		background: rgba(255, 255, 255, 0.55) !important;
		box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7) !important;
		color: var(--st-ink) !important;
		font-size: 15px !important;
	}

	.studio-menu-toggle:hover,
	.studio-menu-toggle:active {
		background: rgba(255, 255, 255, 0.8) !important;
	}

	.studio-header-titles {
		position: static !important;
		left: auto !important;
		right: auto !important;
		top: auto !important;
		transform: none !important;
		flex: 1 1 auto !important;
		margin: 0 !important;
		padding: 0 4px !important;
		text-align: left !important;
		pointer-events: none;
		min-width: 0;
	}

	.studio-header-greeting,
	.studio-header-giro {
		display: none !important;
	}

	.studio-header-title {
		font-size: 16px !important;
		font-weight: 650 !important;
		letter-spacing: -0.022em !important;
		margin: 0 !important;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		line-height: 1.2 !important;
		text-align: left !important;
		color: var(--st-ink) !important;
	}

	.studio-header-actions {
		margin-left: auto !important;
		flex: 0 0 auto !important;
		flex-shrink: 0;
		z-index: 1;
		gap: 6px !important;
		align-items: center !important;
		justify-content: flex-end !important;
	}

	/* Enviar App: solo icono en móvil (evita solapar el título) */
	.studio-header-actions .studio-btn-send {
		width: 36px !important;
		height: 36px !important;
		min-width: 36px !important;
		padding: 0 !important;
		justify-content: center !important;
		border-radius: 980px !important;
		gap: 0 !important;
		animation: none !important;
	}

	.studio-header-actions .studio-btn-send .studio-btn-label,
	.studio-header-actions .studio-btn-send .studio-btn-send-glow {
		display: none !important;
	}

	.studio-header-actions .studio-btn-send > i {
		margin: 0 !important;
		animation: none !important;
		font-size: 0.85rem !important;
	}

	.studio-preview-link {
		font-size: 14px !important;
		font-weight: 600 !important;
		padding: 8px 8px !important;
		color: #1d1d1f !important;
		letter-spacing: -0.01em;
	}

	.studio-header-search {
		display: none !important;
	}

	.studio-content {
		padding: 0.9rem 0.85rem 2.75rem !important;
		box-sizing: border-box;
		overflow-x: hidden !important;
	}

	.istore-panel,
	.dp-form-card {
		padding: 0.95rem 0.9rem !important;
		margin-bottom: 0.75rem !important;
		border-radius: 16px !important;
		box-sizing: border-box !important;
		max-width: 100% !important;
	}

	.istore .dp-input,
	.istore .dp-textarea,
	.dp-studio-form .dp-input,
	.dp-studio-form .dp-textarea {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
	}

	.astore-giro-grid {
		display: flex !important;
		flex-wrap: wrap !important;
		gap: 0.4rem !important;
	}

	.astore-giro-chip {
		max-width: 100% !important;
		white-space: normal !important;
		line-height: 1.25 !important;
		text-align: center !important;
		padding: 0.42rem 0.7rem !important;
		font-size: 0.78rem !important;
	}

	.studio-workspace-editor > .box,
	.studio-workspace-editor > .box:has(.dp-studio-form),
	.studio-workspace-editor > .box:has(.dp-form-card) {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	.studio-section-title {
		font-size: 22px !important;
	}

	.dp-form-card {
		padding: 16px !important;
	}

	.info-tabs.tabs ul {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.info-tabs.tabs ul::-webkit-scrollbar {
		display: none;
	}

	.appcenter-grid {
		grid-template-columns: 1fr !important;
	}

	.app-drawer-panel {
		width: 100% !important;
		max-width: 100% !important;
		border-radius: 16px 16px 0 0 !important;
	}
}

html.studio-preview-open,
body.studio-preview-open {
	overflow: hidden !important;
	overscroll-behavior: none !important;
}

body.studio-preview-open {
	position: fixed !important;
	left: 0;
	right: 0;
	width: 100% !important;
	touch-action: none;
}

body.studio-preview-open .studio-emulator-column.is-preview-open {
	touch-action: auto;
	overflow: hidden;
}

body.studio-preview-open .studio-emulator-column.is-preview-open .emulator-screen {
	touch-action: pan-y;
	overflow-y: auto !important;
}

/* Preview móvil: el device CSS se escala vía --aprev-scale; no forzar 100% */

/* ——— Drawer: módulos instalados (dstore / Apple) ——— */
.app-drawer-panel:has(.dstore) {
	background: #f5f5f7 !important;
	font-family: "Instrument Sans", "SF Pro Display", "Segoe UI", sans-serif;
}

.app-drawer-panel:has(.dstore) > .dstore {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 0;
}

.app-drawer-panel:has(.dstore) .app-drawer-content {
	background: #f5f5f7 !important;
	padding: var(--drawer-pad-y) var(--drawer-pad-x) 2rem !important;
	flex: 1;
	min-height: 0;
	overflow-y: auto;
	box-sizing: border-box !important;
}

.app-drawer-panel:has(.dstore) .dstore-header.app-drawer-header {
	background: rgba(245, 245, 247, 0.92) !important;
	color: #1d1d1f !important;
	box-shadow: none !important;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
	backdrop-filter: saturate(180%) blur(16px);
	-webkit-backdrop-filter: saturate(180%) blur(16px);
	padding: 1rem var(--drawer-pad-x) !important;
	gap: 0.75rem;
	align-items: center;
}

.app-drawer-panel:has(.dstore) .dstore-close.app-drawer-close {
	background: rgba(0, 0, 0, 0.06) !important;
	color: #1d1d1f !important;
	border-radius: 980px !important;
	width: 34px;
	height: 34px;
	flex-shrink: 0;
}

.app-drawer-panel:has(.dstore) .dstore-close.app-drawer-close:hover {
	background: rgba(0, 0, 0, 0.1) !important;
	transform: none;
}

.dstore-header-copy {
	flex: 1;
	min-width: 0;
}

.dstore-kicker {
	margin: 0;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--business-primary-color, #1d1d1f);
}

.dstore-title.app-drawer-title,
.app-drawer-panel:has(.dstore) .dstore-title {
	font-size: 1.35rem !important;
	font-weight: 800 !important;
	letter-spacing: -0.03em;
	color: #1d1d1f !important;
	margin: 0 !important;
	line-height: 1.15;
}

.app-drawer-header .dstore-store-btn,
.dstore-store-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.45rem 0.9rem;
	border: 0 !important;
	outline: none;
	border-radius: 980px;
	background: var(--business-primary-color, #1d1d1f) !important;
	color: #fff !important;
	text-decoration: none;
	font-size: 0.82rem;
	font-weight: 650;
	line-height: 1.2;
	flex-shrink: 0;
	cursor: pointer;
	box-shadow: none;
}

.app-drawer-header .dstore-store-btn span,
.dstore-store-btn span {
	display: inline !important;
	color: #fff !important;
}

.app-drawer-header .dstore-store-btn i,
.dstore-store-btn i {
	color: #fff !important;
}

.app-drawer-header .dstore-store-btn:hover,
.dstore-store-btn:hover {
	opacity: 1;
	background: var(--business-primary-color, #1d1d1f) !important;
	filter: brightness(0.92);
	color: #fff !important;
}

.dstore-store-btn.is-saving,
.dstore-store-btn:disabled {
	opacity: 0.75 !important;
	cursor: not-allowed !important;
	pointer-events: none !important;
}

.dstore-body {
	padding: var(--drawer-pad-y, 1.35rem) var(--drawer-pad-x, 1.85rem) 2rem !important;
}

.dstore-search {
	position: relative;
	margin-bottom: 1rem;
}

.dstore-search i {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: #86868b;
	font-size: 0.85rem;
	pointer-events: none;
}

.dstore-search input {
	width: 100%;
	box-sizing: border-box;
	border: 0;
	border-radius: 980px;
	background: rgba(0, 0, 0, 0.05);
	padding: 0.8rem 1rem 0.8rem 2.4rem;
	font: inherit;
	font-size: 0.95rem;
	color: #1d1d1f;
}

.dstore-search input:focus {
	outline: none;
	background: #fff;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--business-primary-color, #1d1d1f) 22%, transparent);
}

.dstore-section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5rem;
	margin-bottom: 0.25rem;
	padding: 0 0.15rem;
}

.dstore-section-head h3 {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 750;
	letter-spacing: -0.02em;
	color: #1d1d1f;
}

.dstore-count {
	font-size: 0.8rem;
	font-weight: 700;
	color: #86868b;
}

.dstore-hint {
	margin: 0 0 0.85rem;
	padding: 0 0.15rem;
	font-size: 0.82rem;
	color: #86868b;
}

.dstore-list {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.06);
	border-radius: 18px;
	overflow: hidden;
}

.dstore-row.drawer-module-row,
.dstore-row {
	display: flex !important;
	align-items: center;
	gap: 0.85rem;
	padding: 0.9rem 1rem !important;
	margin: 0 !important;
	border-radius: 0 !important;
	background: #fff !important;
	border: 0 !important;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
	box-shadow: none !important;
	transform: none !important;
	text-decoration: none;
	color: inherit;
	animation: none !important;
}

.dstore-row:last-child { border-bottom: 0 !important; }

.dstore-row:hover {
	background: #fafafa !important;
	transform: none !important;
	box-shadow: none !important;
}

.dstore-row.is-disabled { opacity: 0.55; cursor: default; }

.dstore-row-icon {
	width: 48px;
	height: 48px;
	border-radius: 13px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 1.15rem;
	flex-shrink: 0;
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
	overflow: hidden;
}

.dstore-row-icon.is-img {
	padding: 0;
	background: #f2f2f7;
}

.dstore-row-icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.dstore-row-copy {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.dstore-row-copy strong {
	font-size: 0.98rem;
	font-weight: 700;
	letter-spacing: -0.015em;
	color: #1d1d1f;
}

.dstore-row-copy small {
	font-size: 0.78rem;
	color: #86868b;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.dstore-row-side {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.35rem;
	flex-shrink: 0;
}

.dstore-pill {
	font-size: 0.65rem;
	font-weight: 750;
	padding: 0.15rem 0.5rem;
	border-radius: 980px;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	background: #ecfdf5;
	color: #047857;
}

.dstore-get {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 58px;
	padding: 0.3rem 0.7rem;
	border-radius: 980px;
	background: color-mix(in srgb, var(--business-primary-color, #1d1d1f) 14%, transparent);
	color: var(--business-primary-color, #1d1d1f);
	font-size: 0.78rem;
	font-weight: 750;
}

.dstore-row:hover .dstore-get {
	background: var(--business-primary-color, #1d1d1f);
	color: #fff;
}

.dstore-empty {
	text-align: center;
	padding: 2.75rem 1.25rem;
}

.dstore-empty-icon {
	width: 56px;
	height: 56px;
	margin: 0 auto 0.85rem;
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--business-primary-color, #1d1d1f);
	color: #fff;
	font-size: 1.35rem;
}

.dstore-empty strong {
	display: block;
	font-size: 1.15rem;
	color: #1d1d1f;
	margin-bottom: 0.35rem;
	letter-spacing: -0.02em;
}

.dstore-empty p {
	margin: 0 0 1.1rem;
	font-size: 0.9rem;
	color: #86868b;
}

.dstore-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.65rem 1.2rem;
	border: 0;
	border-radius: 980px;
	background: var(--business-primary-color, #1d1d1f);
	color: #fff !important;
	text-decoration: none;
	font-weight: 750;
	font-size: 0.9rem;
	cursor: pointer;
	font-family: inherit;
}

/* legacy hooks kept for search JS */
.drawer-installed-modules { padding: 0; }
.drawer-modules-search,
.drawer-modules-hint,
.drawer-modules-list,
.drawer-modules-empty { /* superseded by dstore */ }


/* ===== Productos Store (pstore) — mismo lenguaje que Module Store ===== */
.pstore {
	--pstore-ink: #1d1d1f;
	--pstore-muted: #86868b;
	--pstore-line: rgba(0, 0, 0, 0.08);
	--pstore-surface: #f5f5f7;
	font-family: "Instrument Sans", "SF Pro Display", "Segoe UI", sans-serif;
	color: var(--pstore-ink);
	max-width: 920px;
	padding-bottom: 2rem;
}

.pstore-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.25rem;
	margin-bottom: 1.35rem;
}

.pstore-kicker {
	margin: 0 0 0.15rem;
	font-size: 0.78rem;
	font-weight: 650;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--business-primary-color, #1d1d1f);
}

.pstore-title {
	margin: 0;
	font-size: clamp(2.2rem, 4.5vw, 3rem);
	font-weight: 800;
	letter-spacing: -0.045em;
	line-height: 1;
}

.pstore-subtitle {
	margin: 0.5rem 0 0;
	font-size: 1.02rem;
	color: var(--pstore-muted);
	line-height: 1.4;
	max-width: 26rem;
}

.pstore-header-actions { flex-shrink: 0; }

.pstore-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	padding: 0.7rem 1.2rem;
	border-radius: 980px;
	border: 0;
	font: inherit;
	font-size: 0.92rem;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.15s, opacity 0.15s;
}

.pstore-btn:hover { transform: scale(1.02); }

.pstore-btn-solid {
	background: var(--business-primary-color, #1d1d1f);
	color: #fff !important;
}

.pstore-btn-ghost {
	background: var(--pstore-surface);
	color: var(--pstore-ink);
}

.pstore-seg {
	display: inline-flex;
	gap: 0.35rem;
	padding: 0.3rem;
	margin-bottom: 1.25rem;
	background: var(--pstore-surface);
	border-radius: 14px;
}

.pstore-seg-item {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.55rem 0.95rem;
	border: 0;
	background: transparent;
	font: inherit;
	cursor: pointer;
	border-radius: 11px;
	text-decoration: none;
	color: var(--pstore-ink);
	font-size: 0.9rem;
	font-weight: 650;
	transition: background 0.15s, color 0.15s;
}

.pstore-seg-item em {
	font-style: normal;
	font-size: 0.75rem;
	font-weight: 700;
	padding: 0.1rem 0.45rem;
	border-radius: 980px;
	background: rgba(0, 0, 0, 0.06);
	color: var(--pstore-muted);
}

.pstore-seg-item.is-active {
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	color: var(--business-primary-color, #1d1d1f);
}

.pstore-seg-item.is-active em {
	background: color-mix(in srgb, var(--business-primary-color, #1d1d1f) 16%, transparent);
	color: var(--business-primary-color, #1d1d1f);
}

.pstore-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.1rem;
}

.pstore-search {
	position: relative;
	flex: 1;
	max-width: 320px;
}

.pstore-search i {
	position: absolute;
	left: 0.9rem;
	top: 50%;
	transform: translateY(-50%);
	color: var(--pstore-muted);
	font-size: 0.85rem;
	pointer-events: none;
}

.pstore-search input {
	width: 100%;
	box-sizing: border-box;
	border: 0;
	border-radius: 980px;
	background: var(--pstore-surface);
	padding: 0.72rem 1rem 0.72rem 2.35rem;
	font: inherit;
	font-size: 0.95rem;
}

.pstore-search input:focus {
	outline: none;
	background: #fff;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--business-primary-color, #1d1d1f) 22%, transparent);
}

.pstore-count {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--pstore-muted);
	white-space: nowrap;
}

.pstore-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 1.1rem;
}

.pstore-card {
	background: #fff;
	border: 1px solid var(--pstore-line);
	border-radius: 20px;
	overflow: hidden;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pstore-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.pstore-card-media {
	position: relative;
	aspect-ratio: 1 / 1;
	background: var(--pstore-surface);
	overflow: hidden;
}

.pstore-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.pstore-card-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.92);
	font-size: 2.4rem;
}

.pstore-card-actions {
	position: absolute;
	top: 0.65rem;
	right: 0.65rem;
	display: flex;
	gap: 0.35rem;
	opacity: 0;
	transform: translateY(-4px);
	transition: opacity 0.15s, transform 0.15s;
}

.pstore-card:hover .pstore-card-actions { opacity: 1; transform: none; }

.pstore-chip-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	padding: 0.4rem 0.7rem;
	border: 0;
	border-radius: 980px;
	background: rgba(255, 255, 255, 0.95);
	color: var(--pstore-ink);
	font: inherit;
	font-size: 0.75rem;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.pstore-chip-btn.is-danger { color: #dc2626; }

.pstore-card-badge {
	position: absolute;
	left: 0.65rem;
	bottom: 0.65rem;
	padding: 0.25rem 0.55rem;
	border-radius: 980px;
	background: rgba(0, 0, 0, 0.7);
	color: #fff;
	font-size: 0.7rem;
	font-weight: 700;
}

.pstore-card-body {
	padding: 0.95rem 1rem 1.05rem;
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	flex: 1;
}

.pstore-card-body h3 {
	margin: 0;
	font-size: 1.02rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.25;
}

.pstore-card-body p {
	margin: 0;
	font-size: 0.82rem;
	color: var(--pstore-muted);
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.pstore-card-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin-top: auto;
	padding-top: 0.65rem;
}

.pstore-price {
	font-size: 1.05rem;
	font-weight: 750;
	letter-spacing: -0.02em;
}

.pstore-price span {
	font-size: 0.85rem;
	margin-right: 0.05rem;
	opacity: 0.7;
}

.pstore-get {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 64px;
	padding: 0.35rem 0.75rem;
	border-radius: 980px;
	background: color-mix(in srgb, var(--business-primary-color, #1d1d1f) 14%, transparent);
	color: var(--business-primary-color, #1d1d1f);
	font-size: 0.8rem;
	font-weight: 750;
}

.pstore-card:hover .pstore-get {
	background: var(--business-primary-color, #1d1d1f);
	color: #fff;
}

/* Categories list */
.pstore-list {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--pstore-line);
	border-radius: 18px;
	overflow: hidden;
}

.pstore-row {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	padding: 0.95rem 1.05rem;
	border-bottom: 1px solid var(--pstore-line);
}

.pstore-row:last-child { border-bottom: 0; }

.pstore-row:hover { background: #fafafa; }

.pstore-row-icon {
	width: 48px;
	height: 48px;
	border-radius: 13px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 1.15rem;
	flex-shrink: 0;
}

.pstore-row-copy {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.12rem;
}

.pstore-row-copy strong {
	font-size: 1rem;
	font-weight: 650;
	letter-spacing: -0.015em;
}

.pstore-row-copy small {
	font-size: 0.8rem;
	color: var(--pstore-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.pstore-row-side {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	flex-shrink: 0;
}

.pstore-pill {
	padding: 0.2rem 0.55rem;
	border-radius: 980px;
	font-size: 0.68rem;
	font-weight: 750;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.pstore-pill-on {
	background: #ecfdf5;
	color: #047857;
}

.pstore-pill-off {
	background: #f3f4f6;
	color: #6b7280;
}

.pstore-icon-btn {
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 10px;
	background: var(--pstore-surface);
	color: var(--pstore-ink);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	text-decoration: none;
	font-size: 0.8rem;
}

.pstore-icon-btn.is-danger { color: #dc2626; }
.pstore-icon-btn:hover { background: #ebebed; }

.pstore-empty {
	text-align: center;
	padding: 3.25rem 1.5rem;
	background: var(--pstore-surface);
	border-radius: 22px;
}

.pstore-empty-icon {
	width: 64px;
	height: 64px;
	margin: 0 auto 1rem;
	border-radius: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 1.5rem;
}

.pstore-empty h2 {
	margin: 0 0 0.4rem;
	font-size: 1.4rem;
	letter-spacing: -0.02em;
}

.pstore-empty p {
	margin: 0 0 1.2rem;
	color: var(--pstore-muted);
}

.pstore-panel {
	background: #fff;
	border: 1px solid var(--pstore-line);
	border-radius: 18px;
	padding: 1.25rem 1.35rem 1.5rem;
}

.pstore-panel-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1rem;
}

.pstore-panel-head h2 {
	margin: 0;
	font-size: 1.2rem;
	letter-spacing: -0.02em;
}

.pstore-link {
	color: var(--business-primary-color, #1d1d1f);
	font-weight: 650;
	text-decoration: none;
	font-size: 0.9rem;
}

.pstore-form .dp-field { margin-bottom: 1rem; }

.pstore-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.pstore-color { padding: 0.25rem; height: 44px; }

.pstore-check {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	margin: 0.25rem 0 1.15rem;
	font-weight: 600;
	cursor: pointer;
}

.pstore-form-actions {
	display: flex;
	justify-content: space-between;
	gap: 0.75rem;
}

@media screen and (max-width: 768px) {
	.pstore-header {
		flex-direction: column;
		align-items: stretch;
	}

	.pstore-header-actions .pstore-btn { width: 100%; }

	.pstore-seg { width: 100%; display: flex; }

	.pstore-seg-item { flex: 1; justify-content: center; }

	.pstore-toolbar { flex-direction: column; align-items: stretch; }

	.pstore-search { max-width: none; }

	.pstore-card-actions { opacity: 1; transform: none; }

	.pstore-form-row { grid-template-columns: 1fr; }

	.pstore-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }

	.pstore-card-body { padding: 0.75rem; }

	.pstore-card-body h3 { font-size: 0.92rem; }

	.pstore-row {
		flex-wrap: wrap;
	}
}

/* Catálogo dentro del Drawer del App Builder */
.pstore--drawer {
	max-width: none;
	padding-bottom: 0;
	height: 100%;
	min-height: 0;
}

.pstore--drawer .pstore-seg {
	display: flex;
	width: 100%;
	margin-bottom: 0.9rem;
	background: rgba(0, 0, 0, 0.05);
}

.pstore--drawer .pstore-seg-item {
	flex: 1;
	justify-content: center;
}

.pstore--drawer .pstore-toolbar {
	margin-bottom: 0.85rem;
}

.pstore--drawer .pstore-search {
	max-width: none;
}

.pstore--drawer .pstore-search input {
	background: #fff;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.pstore--drawer .pstore-count {
	display: none;
}

.pstore--drawer .pstore-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	background: transparent;
	border: 0;
	border-radius: 0;
	overflow: visible;
}

.pstore--drawer .pstore-row {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 12px;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.06);
	border-radius: 16px;
	cursor: pointer;
}

.pstore--drawer .pstore-row-copy {
	align-items: flex-start;
	min-width: 0;
	gap: 2px;
}

.pstore--drawer .pstore-row-copy strong {
	display: block;
	width: 100%;
	font-size: 0.98rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.pstore--drawer .pstore-row-copy small {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	white-space: normal;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.35;
}

.pstore--drawer .pstore-row-side {
	flex-direction: row;
	align-items: center;
}

.pstore--drawer .pstore-row-thumb {
	width: 72px;
	height: 72px;
	border-radius: 14px;
	background: #f2f2f7;
	color: #86868b;
	padding: 0;
	overflow: hidden;
	align-self: center;
}

.pstore--drawer .pstore-row-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.pstore--drawer .pstore-row-price {
	display: block;
	margin: 0;
	font-size: 0.92rem;
	font-weight: 750;
	color: var(--business-primary-color, #1d1d1f);
}

.pstore--drawer .pstore-empty {
	background: #fff;
}

/* ===== Plantillas Store (tstore) ===== */
/* ===== Templates / Layouts Pro (tstore) ===== */
.tstore {
	--tstore-ink: #1d1d1f;
	--tstore-muted: #6e6e73;
	--tstore-line: rgba(0, 0, 0, 0.08);
	--tstore-surface: #f5f5f7;
	--tstore-paper: #ffffff;
	--tpl-color: #2563eb;
	font-family: var(--st-font, 'Instrument Sans', 'Helvetica Neue', Helvetica, sans-serif);
	color: var(--tstore-ink);
	max-width: 1040px;
	padding-bottom: 2.75rem;
}

.tstore-intro {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.25rem;
	margin-bottom: 1.75rem;
	padding-bottom: 1.35rem;
	border-bottom: 1px solid var(--tstore-line);
	flex-wrap: wrap;
	animation: tstoreFadeUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes tstoreFadeUp {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}

.tstore-eyebrow {
	margin: 0 0 0.4rem;
	font-size: 0.72rem;
	font-weight: 750;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--tstore-muted);
}

.tstore-title {
	margin: 0;
	font-size: clamp(1.85rem, 3.6vw, 2.55rem);
	font-weight: 780;
	letter-spacing: -0.045em;
	line-height: 1.05;
	color: var(--tstore-ink);
}

.tstore-lead {
	margin: 0.55rem 0 0;
	max-width: 36rem;
	font-size: 0.98rem;
	line-height: 1.5;
	color: var(--tstore-muted);
	font-weight: 500;
}

.tstore-intro-live {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
}

.tstore-live-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.45rem 0.85rem;
	border-radius: 980px;
	background: color-mix(in srgb, var(--tpl-color, #2563eb) 12%, #fff);
	border: 1px solid color-mix(in srgb, var(--tpl-color, #2563eb) 22%, transparent);
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--tstore-ink);
}

.tstore-live-chip strong { font-weight: 780; }

.tstore-live-chip--soft {
	background: var(--tstore-surface);
	border-color: var(--tstore-line);
}

.tstore-live-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--tpl-color, #2563eb);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--tpl-color, #2563eb) 22%, transparent);
}

.tstore-block { margin-bottom: 2.35rem; }

.tstore-block-head {
	margin-bottom: 1.15rem;
}

.tstore-block-kicker {
	margin: 0 0 0.25rem;
	font-size: 0.7rem;
	font-weight: 780;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--tstore-muted);
}

.tstore-block-head h2 {
	margin: 0;
	font-size: 1.4rem;
	font-weight: 780;
	letter-spacing: -0.03em;
}

.tstore-block-sub {
	margin: 0.35rem 0 0;
	font-size: 0.9rem;
	color: var(--tstore-muted);
	line-height: 1.45;
	max-width: 40rem;
}

/* —— Theme gallery —— */
.tstore-gallery {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
}

.tstore-card {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	text-align: left;
	padding: 0;
	margin: 0;
	border: 1px solid var(--tstore-line);
	border-radius: 22px;
	background: var(--tstore-paper);
	overflow: hidden;
	cursor: pointer;
	font: inherit;
	color: inherit;
	transition:
		transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.28s,
		border-color 0.2s;
	animation: tstoreFadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.tstore-card:nth-child(1) { animation-delay: 0.04s; }
.tstore-card:nth-child(2) { animation-delay: 0.1s; }
.tstore-card:nth-child(3) { animation-delay: 0.16s; }
.tstore-card:nth-child(4) { animation-delay: 0.22s; }

.tstore-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}

.tstore-card.is-active,
.tstore-card.template-card-active {
	border-color: color-mix(in srgb, var(--tpl-color, #1d1d1f) 55%, transparent);
	box-shadow:
		0 0 0 3px color-mix(in srgb, var(--tpl-color, #1d1d1f) 18%, transparent),
		0 18px 36px color-mix(in srgb, var(--tpl-color, #1d1d1f) 14%, transparent);
}

.tstore-card-stage {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 1.35rem 1rem 0.35rem;
	min-height: 248px;
	background:
		radial-gradient(120% 80% at 50% 100%, color-mix(in srgb, var(--tpl-color, #2563eb) 16%, transparent), transparent 55%),
		linear-gradient(180deg, #ececef 0%, #f7f7f8 100%);
}

.tstore-device {
	width: 118px;
	filter: drop-shadow(0 18px 28px rgba(15, 23, 42, 0.22));
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.tstore-card:hover .tstore-device {
	transform: translateY(-6px);
}

.tstore-device-bezel {
	position: relative;
	border-radius: 22px;
	padding: 7px;
	background: linear-gradient(160deg, #2a2a2e, #0c0c0e);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.tstore-device-island {
	position: absolute;
	top: 11px;
	left: 50%;
	transform: translateX(-50%);
	width: 38%;
	height: 7px;
	border-radius: 980px;
	background: #000;
	z-index: 3;
}

.tstore-screen {
	position: relative;
	height: 198px;
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
}

.tstore-card-body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.28rem;
	padding: 1rem 1.05rem 1.15rem;
}

.tstore-tag {
	display: inline-flex;
	padding: 0.18rem 0.5rem;
	border-radius: 980px;
	font-size: 0.65rem;
	font-weight: 780;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	background: color-mix(in srgb, var(--tpl-color, #2563eb) 12%, transparent);
	color: var(--tpl-color, #2563eb);
}

.tstore-tag--ink {
	background: rgba(29, 29, 31, 0.06);
	color: var(--tstore-ink);
}

.tstore-card-name {
	font-size: 1.05rem;
	font-weight: 780;
	letter-spacing: -0.025em;
}

.tstore-card-desc {
	font-size: 0.78rem;
	line-height: 1.4;
	color: var(--tstore-muted);
	font-weight: 500;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.tstore-card-desc--full {
	display: block;
	-webkit-line-clamp: unset;
	-webkit-box-orient: unset;
	overflow: visible;
}

.tstore-get {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 0.55rem;
	min-width: 76px;
	padding: 0.4rem 0.85rem;
	border-radius: 980px;
	background: rgba(29, 29, 31, 0.06);
	color: var(--tstore-ink);
	font-size: 0.76rem;
	font-weight: 780;
}

.tstore-card .tstore-get {
	background: color-mix(in srgb, var(--tpl-color, #1d1d1f) 12%, transparent);
	color: var(--tpl-color, #1d1d1f);
}

.tstore-get.is-on {
	background: var(--tpl-color, var(--business-primary-color, #1d1d1f));
	color: #fff;
}

.tstore-layout .tstore-get {
	background: color-mix(in srgb, var(--business-primary-color, #1d1d1f) 10%, transparent);
	color: var(--business-primary-color, #1d1d1f);
}

.tstore-layout .tstore-get.is-on {
	background: var(--business-primary-color, #1d1d1f);
	color: #fff;
}

/* —— Theme skins (phone UI) —— */
.tskin-hero {
	height: 42%;
	background:
		linear-gradient(160deg, color-mix(in srgb, var(--tpl-color, #2563eb) 75%, #111), var(--tpl-color, #2563eb));
}

.tskin-sheet {
	margin-top: -10%;
	padding: 8% 8% 0;
	border-radius: 12px 12px 0 0;
	background: #fff;
	min-height: 68%;
	box-shadow: 0 -6px 16px rgba(0, 0, 0, 0.06);
}

.tskin-brand {
	display: block;
	width: 48%;
	height: 6px;
	border-radius: 980px;
	background: #1d1d1f;
	margin-bottom: 5px;
}

.tskin-line {
	display: block;
	width: 70%;
	height: 3px;
	border-radius: 980px;
	background: rgba(0, 0, 0, 0.1);
	margin-bottom: 8px;
}

.tskin-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 5px;
}

.tskin-tile {
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: 0;
	background: transparent;
}

.tskin-tile i {
	display: block;
	aspect-ratio: 1.05;
	border-radius: 7px;
	background: color-mix(in srgb, var(--tpl-color, #2563eb) 18%, #f3f4f6);
}

.tskin-tile b {
	display: block;
	width: 70%;
	height: 3px;
	border-radius: 980px;
	background: rgba(0, 0, 0, 0.18);
}

.tskin-tile em {
	display: block;
	width: 40%;
	height: 3px;
	border-radius: 980px;
	background: var(--tpl-color, #2563eb);
	font-style: normal;
}

/* Modern */
.tstore-skin-modern {
	background: #f8fafc;
	display: flex;
	flex-direction: column;
}

.tskin-topbar {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 14px 8px 8px;
	background: var(--tpl-color, #0f766e);
}

.tskin-avatar {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
	flex-shrink: 0;
}

.tskin-brand-sm {
	flex: 1;
	height: 5px;
	border-radius: 980px;
	background: rgba(255, 255, 255, 0.75);
	max-width: 48%;
}

.tskin-chips {
	display: flex;
	gap: 4px;
	padding: 7px 8px 2px;
}

.tskin-chips span {
	height: 10px;
	width: 28px;
	border-radius: 980px;
	background: color-mix(in srgb, var(--tpl-color, #0f766e) 16%, #fff);
	border: 1px solid color-mix(in srgb, var(--tpl-color, #0f766e) 22%, transparent);
}

.tskin-grid--round {
	padding: 6px 8px 8px;
	flex: 1;
}

.tskin-grid--round .tskin-tile i {
	border-radius: 11px;
	background: linear-gradient(145deg, color-mix(in srgb, var(--tpl-color, #0f766e) 22%, #fff), #e2e8f0);
}

/* Premium */
.tstore-skin-premium {
	background: #0c0c0e;
	display: flex;
	flex-direction: column;
}

.tskin-premium-head {
	padding: 18px 10px 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	background:
		radial-gradient(80% 60% at 50% 0%, rgba(180, 83, 9, 0.35), transparent 70%),
		#111113;
}

.tskin-premium-mark {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 1.5px solid #d97706;
	box-shadow: inset 0 0 0 3px rgba(217, 119, 6, 0.2);
}

.tskin-premium-title {
	width: 52%;
	height: 5px;
	border-radius: 980px;
	background: rgba(255, 255, 255, 0.82);
}

.tskin-premium-rule {
	width: 24%;
	height: 1.5px;
	background: linear-gradient(90deg, transparent, #d97706, transparent);
}

.tskin-premium-body {
	padding: 8px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1;
}

.tskin-premium-feat {
	display: block;
	height: 58px;
	border-radius: 10px;
	overflow: hidden;
	background: linear-gradient(135deg, #1f1f23, #2a2118);
	border: 1px solid rgba(217, 119, 6, 0.28);
}

.tskin-premium-feat i {
	display: block;
	height: 100%;
	background:
		linear-gradient(120deg, transparent 40%, rgba(217, 119, 6, 0.18)),
		radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.08), transparent 50%);
}

.tskin-premium-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px;
}

.tskin-premium-row span {
	height: 42px;
	border-radius: 8px;
	background: #16161a;
	border: 1px solid rgba(255, 255, 255, 0.06);
	overflow: hidden;
}

.tskin-premium-row i {
	display: block;
	height: 100%;
	background: linear-gradient(160deg, rgba(217, 119, 6, 0.2), transparent 60%);
}

/* Minimal */
.tstore-skin-minimalist {
	background: #fff;
	display: flex;
	flex-direction: column;
	padding: 16px 10px 8px;
}

.tskin-min-head {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 10px;
	padding-bottom: 8px;
	border-bottom: 1px solid #ececee;
}

.tskin-min-logo {
	width: 12px;
	height: 12px;
	border-radius: 2px;
	background: #1d1d1f;
}

.tskin-min-title {
	width: 42%;
	height: 5px;
	background: #1d1d1f;
	border-radius: 1px;
}

.tskin-min-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.tskin-min-list > span {
	display: flex;
	align-items: center;
	gap: 7px;
}

.tskin-min-list i {
	width: 28px;
	height: 28px;
	border-radius: 3px;
	background: #f0f0f2;
	flex-shrink: 0;
}

.tskin-min-list div {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.tskin-min-list b {
	display: block;
	width: 70%;
	height: 3px;
	background: #1d1d1f;
	border-radius: 1px;
}

.tskin-min-list em {
	display: block;
	width: 36%;
	height: 3px;
	background: #c4c4c8;
	font-style: normal;
	border-radius: 1px;
}

/* —— Personal skins: Soft / Editorial / Bento / iOS —— */
.tstore-skin-soft {
	background: #f5f5f7;
	display: flex;
	flex-direction: column;
	padding: 14px 8px 8px;
	gap: 8px;
}
.tskin-soft-head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
	padding-top: 4px;
}
.tskin-soft-avatar {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--tpl-color, #22c55e) 28%, #fff);
	border: 2px solid color-mix(in srgb, var(--tpl-color, #22c55e) 55%, #fff);
}
.tskin-soft-name {
	width: 48%;
	height: 5px;
	border-radius: 980px;
	background: #1d1d1f;
}
.tskin-soft-sub {
	width: 36%;
	height: 3px;
	border-radius: 980px;
	background: rgba(0, 0, 0, 0.14);
}
.tskin-soft-actions {
	display: flex;
	gap: 5px;
	justify-content: center;
}
.tskin-soft-actions span {
	width: 38%;
	height: 14px;
	border-radius: 980px;
	background: var(--tpl-color, #22c55e);
}
.tskin-soft-actions span:last-child {
	background: color-mix(in srgb, var(--tpl-color, #22c55e) 16%, #fff);
	border: 1px solid color-mix(in srgb, var(--tpl-color, #22c55e) 30%, #fff);
}
.tskin-soft-cards {
	display: flex;
	flex-direction: column;
	gap: 5px;
	margin-top: 2px;
}
.tskin-soft-cards span {
	display: block;
	height: 22px;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.tstore-skin-editorial {
	background: #faf9f6;
	display: flex;
	flex-direction: column;
	padding: 14px 9px 8px;
	gap: 7px;
}
.tskin-ed-kicker {
	width: 34%;
	height: 3px;
	background: var(--tpl-color, #111827);
	opacity: 0.35;
}
.tskin-ed-hero {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.tskin-ed-hero b {
	display: block;
	width: 88%;
	height: 8px;
	background: #111827;
}
.tskin-ed-hero i {
	display: block;
	width: 62%;
	height: 8px;
	background: color-mix(in srgb, var(--tpl-color, #111827) 55%, #fff);
	font-style: normal;
}
.tskin-ed-rule {
	height: 1px;
	background: rgba(0, 0, 0, 0.12);
	margin: 2px 0;
}
.tskin-ed-cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px;
	flex: 1;
}
.tskin-ed-cols span {
	background: #ebe8e1;
	border-radius: 2px;
	min-height: 48px;
}

.tstore-skin-bento {
	background: #0b0b0c;
	display: flex;
	flex-direction: column;
	padding: 12px 7px 7px;
}
.tskin-bento-grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	grid-template-rows: 38px 28px 28px;
	gap: 5px;
	height: 100%;
}
.tskin-bento-grid > span {
	border-radius: 10px;
	background: #17171a;
	border: 1px solid rgba(255, 255, 255, 0.06);
}
.tskin-bento-lg {
	grid-row: span 2;
	background: linear-gradient(160deg, color-mix(in srgb, var(--tpl-color, #a3e635) 35%, #17171a), #17171a) !important;
}
.tskin-bento-wide {
	grid-column: span 2;
}

.tstore-skin-ios {
	background: #000;
	display: flex;
	flex-direction: column;
	padding: 14px 7px 8px;
	gap: 8px;
}
.tskin-ios-head {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 0 2px 4px;
}
.tskin-ios-avatar {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: linear-gradient(145deg, #3a3a3c, #1c1c1e);
	border: 1px solid rgba(255, 255, 255, 0.12);
}
.tskin-ios-title {
	width: 42%;
	height: 5px;
	border-radius: 980px;
	background: #f5f5f7;
}
.tskin-ios-group {
	display: flex;
	flex-direction: column;
	border-radius: 10px;
	overflow: hidden;
	background: #1c1c1e;
}
.tskin-ios-group > span {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 7px 8px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.tskin-ios-group > span:last-child {
	border-bottom: 0;
}
.tskin-ios-group i {
	width: 12px;
	height: 12px;
	border-radius: 3px;
	background: var(--tpl-color, #0a84ff);
	flex-shrink: 0;
}
.tskin-ios-group b {
	display: block;
	width: 55%;
	height: 3px;
	border-radius: 980px;
	background: rgba(255, 255, 255, 0.55);
}

/* —— Layouts —— */
.tstore-layouts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.tstore-layout {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	text-align: left;
	padding: 0;
	margin: 0;
	border: 1px solid var(--tstore-line);
	border-radius: 22px;
	background: var(--tstore-paper);
	overflow: hidden;
	cursor: pointer;
	font: inherit;
	color: inherit;
	transition:
		transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.28s,
		border-color 0.2s;
	animation: tstoreFadeUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.tstore-layout:nth-child(1) { animation-delay: 0.08s; }
.tstore-layout:nth-child(2) { animation-delay: 0.14s; }
.tstore-layout:nth-child(3) { animation-delay: 0.2s; }

.tstore-layout:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 36px rgba(15, 23, 42, 0.09);
}

.tstore-layout.is-active,
.tstore-layout.layout-card-active {
	border-color: color-mix(in srgb, var(--business-primary-color, #1d1d1f) 50%, transparent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--business-primary-color, #1d1d1f) 16%, transparent);
}

.tstore-layout-art {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.35rem 1rem 0.85rem;
	min-height: 220px;
	background:
		radial-gradient(90% 70% at 50% 0%, color-mix(in srgb, var(--business-primary-color, #1d1d1f) 10%, transparent), transparent 60%),
		linear-gradient(180deg, #f0f0f2, #f7f7f8);
}

.tstore-layout-phone {
	position: relative;
	width: 128px;
	height: 178px;
	border-radius: 18px;
	padding: 8px 7px 7px;
	background: #111113;
	box-shadow: 0 16px 32px rgba(15, 23, 42, 0.2);
}

.tstore-layout-notch {
	position: absolute;
	top: 10px;
	left: 50%;
	transform: translateX(-50%);
	width: 36%;
	height: 5px;
	border-radius: 980px;
	background: #000;
	z-index: 2;
}

.tlayout {
	height: 100%;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	padding: 12px 8px 8px;
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.tlayout-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 4px;
}

.tlayout-head b {
	width: 42%;
	height: 5px;
	border-radius: 980px;
	background: #1d1d1f;
}

.tlayout-head i {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--business-primary-color, #1d1d1f) 18%, #e5e5ea);
}

.tlayout-grid-cells {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 5px;
	flex: 1;
}

.tlayout-grid-cells span {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.tlayout-grid-cells i {
	display: block;
	flex: 1;
	min-height: 36px;
	border-radius: 8px;
	background: linear-gradient(145deg, color-mix(in srgb, var(--business-primary-color, #1d1d1f) 14%, #f4f4f5), #e8e8ed);
}

.tlayout-grid-cells b {
	display: block;
	width: 72%;
	height: 3px;
	border-radius: 980px;
	background: rgba(0, 0, 0, 0.2);
}

.tlayout-grid-cells em {
	display: block;
	width: 38%;
	height: 3px;
	border-radius: 980px;
	background: var(--business-primary-color, #1d1d1f);
	font-style: normal;
}

.tlayout-list-rows {
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1;
}

.tlayout-list-rows > span {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 4px;
	border-radius: 8px;
	background: #f7f7f8;
}

.tlayout-list-rows i {
	width: 26px;
	height: 26px;
	border-radius: 6px;
	background: color-mix(in srgb, var(--business-primary-color, #1d1d1f) 16%, #e5e5ea);
	flex-shrink: 0;
}

.tlayout-list-rows div {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.tlayout-list-rows b {
	display: block;
	width: 70%;
	height: 3px;
	border-radius: 980px;
	background: rgba(0, 0, 0, 0.28);
}

.tlayout-list-rows em {
	display: block;
	width: 90%;
	height: 2px;
	border-radius: 980px;
	background: rgba(0, 0, 0, 0.1);
	font-style: normal;
}

.tlayout-list-rows u {
	width: 16px;
	height: 3px;
	border-radius: 980px;
	background: var(--business-primary-color, #1d1d1f);
	text-decoration: none;
	flex-shrink: 0;
}

.tlayout-featured .tlayout-hero {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 0;
	border-radius: 10px;
	overflow: hidden;
	background: #f0f0f2;
	flex: 1.15;
}

.tlayout-featured .tlayout-hero i {
	display: block;
	height: 62%;
	background:
		linear-gradient(145deg, color-mix(in srgb, var(--business-primary-color, #1d1d1f) 35%, #d4d4d8), color-mix(in srgb, var(--business-primary-color, #1d1d1f) 12%, #eee));
}

.tlayout-featured .tlayout-hero div {
	padding: 5px 7px 7px;
	display: flex;
	flex-direction: column;
	gap: 3px;
	background: #fff;
}

.tlayout-featured .tlayout-hero b {
	width: 55%;
	height: 4px;
	border-radius: 980px;
	background: #1d1d1f;
}

.tlayout-featured .tlayout-hero em {
	width: 30%;
	height: 3px;
	border-radius: 980px;
	background: var(--business-primary-color, #1d1d1f);
	font-style: normal;
}

.tlayout-feat-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 5px;
}

.tlayout-feat-row span {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.tlayout-feat-row i {
	display: block;
	height: 34px;
	border-radius: 7px;
	background: color-mix(in srgb, var(--business-primary-color, #1d1d1f) 12%, #ececef);
}

.tlayout-feat-row b {
	display: block;
	width: 65%;
	height: 3px;
	border-radius: 980px;
	background: rgba(0, 0, 0, 0.18);
}

.tstore-layout-body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.28rem;
	padding: 0.15rem 1.1rem 1.2rem;
}

.tstore-layout-body strong {
	font-size: 1.05rem;
	font-weight: 780;
	letter-spacing: -0.02em;
}

.tstore-layout-body small {
	font-size: 0.8rem;
	line-height: 1.4;
	color: var(--tstore-muted);
	font-weight: 500;
}

.tstore-card.is-busy,
.tstore-layout.is-busy,
.webtheme-card.is-busy {
	opacity: 0.65;
	pointer-events: none;
	cursor: wait;
}

@media screen and (max-width: 1100px) {
	.tstore-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media screen and (max-width: 900px) {
	.tstore-layouts { grid-template-columns: 1fr; }
	.tstore-legal-grid { grid-template-columns: 1fr; }
}

@media screen and (max-width: 768px) {
	.tstore-intro { align-items: flex-start; }
	.tstore-gallery { grid-template-columns: 1fr; }
	.tstore-card-stage { min-height: 220px; }
	.tstore-featured { grid-template-columns: 1fr; }
	.tstore-featured-art { min-height: 180px; }
}

/* Página web — mini previews de temas */
.tstore--web .tstore-intro-live {
	flex-wrap: wrap;
}

.tstore-live-link {
	text-decoration: none;
	color: inherit;
}

.tstore-live-link:hover {
	filter: brightness(0.97);
}

.tstore-webthemes {
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.tstore-webthemes .tstore-layout-art {
	min-height: 148px;
	padding: 0.85rem 0.85rem 0.55rem;
}

.tstore-web-preview {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 12px;
	min-height: 124px;
	width: 100%;
	border-radius: 14px;
	background: #f5f5f7;
	position: relative;
	overflow: hidden;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.tstore-webthemes .tstore-layout-body {
	padding: 0.85rem 0.95rem 1rem;
}

.tstore-webthemes .tstore-get {
	margin-top: 0.55rem;
}

.tstore-web-bar {
	display: block;
	height: 8px;
	border-radius: 980px;
	background: rgba(0, 0, 0, 0.08);
	width: 70%;
}

.tstore-web-hero {
	display: block;
	flex: 1;
	min-height: 42px;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--business-primary-color, #1d1d1f), color-mix(in srgb, var(--business-primary-color, #1d1d1f) 45%, #111));
}

.tstore-web-line {
	display: block;
	height: 5px;
	border-radius: 980px;
	background: rgba(0, 0, 0, 0.1);
	width: 88%;
}

.tstore-web-line.is-short { width: 55%; }

.tstore-web-preview-classic {
	background: linear-gradient(160deg, #fff, #f5f5f7);
}
.tstore-web-preview-classic .tstore-web-hero {
	box-shadow: 0 8px 18px color-mix(in srgb, var(--business-primary-color, #1d1d1f) 25%, transparent);
}

.tstore-web-preview-bold {
	background: #07070a;
}
.tstore-web-preview-bold .tstore-web-bar {
	width: 48%;
	height: 10px;
	border-radius: 2px;
	background: #fff;
}
.tstore-web-preview-bold .tstore-web-line {
	background: rgba(255, 255, 255, 0.22);
	border-radius: 2px;
}
.tstore-web-preview-bold .tstore-web-hero {
	border-radius: 4px;
	background:
		radial-gradient(circle at 80% 20%, color-mix(in srgb, var(--business-primary-color, #1d1d1f) 70%, transparent), transparent 45%),
		linear-gradient(160deg, #18181b, #07070a);
	box-shadow: 0 0 16px color-mix(in srgb, var(--business-primary-color, #1d1d1f) 40%, transparent);
}

.tstore-web-preview-soft {
	background: linear-gradient(180deg, #f7fbfa, #e8f1f0);
}
.tstore-web-preview-soft .tstore-web-hero {
	border-radius: 22px;
	background: color-mix(in srgb, var(--business-primary-color, #1d1d1f) 22%, #a8d5ce);
}
.tstore-web-preview-soft .tstore-web-bar {
	width: 55%;
	background: #1a2a2e;
	border-radius: 4px;
}

.tstore-web-preview-market {
	background: #fffdf8;
	border-bottom: 2px solid #18181b;
}
.tstore-web-preview-market .tstore-web-bar {
	width: 36%;
	height: 10px;
	border-radius: 3px;
	background: var(--business-primary-color, #1d1d1f);
}
.tstore-web-preview-market .tstore-web-hero {
	min-height: 22px;
	border-radius: 6px;
	border: 2px solid #18181b;
	box-shadow: 2px 2px 0 #18181b;
	background: #fff;
}
.tstore-web-preview-market .tstore-web-line {
	height: 22px;
	width: 100%;
	border-radius: 6px;
	border: 2px solid #18181b;
	background: color-mix(in srgb, var(--business-primary-color, #1d1d1f) 12%, #fff);
	box-shadow: 2px 2px 0 #18181b;
}
.tstore-web-preview-market .tstore-web-line.is-short {
	width: 70%;
	height: 14px;
}

.tstore-web-preview-minimal {
	background: #fff;
	gap: 12px;
	padding-top: 14px;
}
.tstore-web-preview-minimal .tstore-web-bar {
	width: 28%;
	height: 14px;
	border-radius: 0;
	background: #111;
}
.tstore-web-preview-minimal .tstore-web-hero {
	min-height: 8px;
	border-radius: 0;
	background: color-mix(in srgb, var(--business-primary-color, #1d1d1f) 35%, #eee);
}
.tstore-web-preview-minimal .tstore-web-line {
	border-radius: 0;
	height: 3px;
	background: rgba(17, 17, 17, 0.15);
}

/* Legal en Studio */
.tstore-legal-lead {
	margin: 0 0 1rem;
	font-size: 0.92rem;
	line-height: 1.45;
	color: var(--tstore-muted, #6e6e73);
	max-width: 42rem;
}

.tstore-legal-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin-bottom: 1rem;
}

.tstore-legal-field {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}

.tstore-legal-field label {
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--tstore-ink, #1d1d1f);
}

.tstore-legal-field .dp-textarea {
	min-height: 180px;
	resize: vertical;
}

.tstore-legal-link {
	font-size: 0.82rem;
	font-weight: 650;
	color: var(--business-primary-color, #1d1d1f);
	width: fit-content;
}

.tstore-legal-link:hover { text-decoration: underline; }

.tstore-legal-save {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.7rem 1.2rem;
	border: 0;
	border-radius: 980px;
	background: var(--business-primary-color, #1d1d1f);
	color: #fff;
	font-size: 0.92rem;
	font-weight: 750;
	cursor: pointer;
}

.tstore-legal-save:hover { filter: brightness(1.05); }

@media screen and (max-width: 900px) {
	.tstore-layouts { grid-template-columns: 1fr; }
	.tstore-legal-grid { grid-template-columns: 1fr; }
}

@media screen and (max-width: 768px) {
	.tstore-featured { grid-template-columns: 1fr; }
	.tstore-featured-art { min-height: 180px; }
	.tstore-themes { grid-template-columns: 1fr; }
}

/* ===== Emulator chrome (solo fuera de .aprev; el Studio usa shell Apple) ===== */
.studio-emulator-column:not(.aprev) .emulator-container {
	display: block;
	pointer-events: none;
}

.studio-emulator-column:not(.aprev) .emulator-wrapper,
.studio-emulator-column:not(.aprev) .emulator-device {
	pointer-events: auto;
}

.studio-emulator-column:not(.aprev) .emulator-device {
	position: relative;
	background: #0b0b0c !important;
	border: 0 !important;
	border-radius: 48px !important;
	box-shadow:
		0 0 0 11px #1c1c1e,
		0 0 0 12px #3a3a3c,
		0 28px 70px rgba(0, 0, 0, 0.32) !important;
}

.studio-emulator-column:not(.aprev) .emulator-device::before {
	content: "";
	position: absolute;
	left: -14px;
	top: 110px;
	width: 3px;
	height: 28px;
	border-radius: 2px 0 0 2px;
	background: #2c2c2e;
	box-shadow: 0 42px 0 #2c2c2e, 0 84px 0 #2c2c2e;
	pointer-events: none;
}

.studio-emulator-column:not(.aprev) .emulator-device::after {
	content: "";
	position: absolute;
	right: -14px;
	top: 140px;
	width: 3px;
	height: 56px;
	border-radius: 0 2px 2px 0;
	background: #2c2c2e;
	pointer-events: none;
}

.studio-emulator-column:not(.aprev) .emulator-screen {
	border-radius: 40px !important;
	overflow: hidden;
}

.studio-emulator-column:not(.aprev) .emulator-home-indicator {
	background: rgba(0, 0, 0, 0.35) !important;
	width: 34% !important;
	height: 4px !important;
	border-radius: 980px !important;
}

/* ===== Generar App (gstore) ===== */
.gstore {
	--gstore-ink: #1d1d1f;
	--gstore-muted: #86868b;
	--gstore-line: rgba(0, 0, 0, 0.08);
	--gstore-surface: #f5f5f7;
	font-family: "Instrument Sans", "SF Pro Display", "Segoe UI", sans-serif;
	color: var(--gstore-ink);
	max-width: 820px;
	padding-bottom: 2.5rem;
}

.gstore-header { margin-bottom: 1.35rem; }

.gstore-kicker {
	margin: 0 0 0.15rem;
	font-size: 0.78rem;
	font-weight: 650;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--business-primary-color, #1d1d1f);
}

.gstore-title {
	margin: 0;
	font-size: clamp(2.2rem, 4.5vw, 3rem);
	font-weight: 800;
	letter-spacing: -0.045em;
	line-height: 1;
}

.gstore-subtitle {
	margin: 0.5rem 0 0;
	font-size: 1.02rem;
	color: var(--gstore-muted);
	line-height: 1.4;
	max-width: 28rem;
}

.gstore-hint {
	margin: 0 0 1rem;
	font-size: 0.88rem;
	color: var(--gstore-muted);
	line-height: 1.45;
}

.gstore-hint i { margin-right: 0.35rem; color: var(--business-primary-color, #1d1d1f); }

.gstore-hint-sm { font-size: 0.8rem; margin-top: 0.35rem; margin-bottom: 0; }

.gstore-muted { color: var(--gstore-muted); font-weight: 500; }
.gstore-req { color: #dc2626; }

.gstore-panel {
	background: #fff;
	border: 1px solid var(--gstore-line);
	border-radius: 18px;
	padding: 1.2rem 1.25rem 1.35rem;
	margin-bottom: 1rem;
}

.gstore-panel-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.gstore-panel-head h2 {
	margin: 0;
	font-size: 1.2rem;
	font-weight: 750;
	letter-spacing: -0.02em;
}

.gstore-section-hint {
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--gstore-muted);
}

.gstore-form .dp-field { margin-bottom: 0.95rem; }
.gstore-form .dp-field:last-child { margin-bottom: 0; }

.gstore-row-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.85rem;
}

.gstore-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
}

.gstore-thumb {
	width: 76px;
	text-align: center;
}

.gstore-thumb-frame {
	width: 76px;
	height: 76px;
	border-radius: 16px;
	overflow: hidden;
	background: var(--gstore-surface);
	border: 1px solid var(--gstore-line);
}

.gstore-thumb-frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.gstore-thumb-empty {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	color: #c7c7cc;
	font-size: 1.15rem;
}

.gstore-thumb-empty em {
	font-style: normal;
	font-size: 0.68rem;
	font-weight: 600;
	color: #aeaeb2;
}

.gstore-thumb > span {
	display: block;
	margin-top: 0.35rem;
	font-size: 0.7rem;
	font-weight: 600;
	color: var(--gstore-muted);
}

/* Uploads Login / Registro / Bienvenida en Generar */
.gstore-screen-uploads {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.85rem;
	margin-bottom: 1.1rem;
}

.gstore-screen-label {
	margin: 0 0 0.45rem;
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--gstore-ink);
}

.gstore-screen-frame {
	position: relative;
	aspect-ratio: 9 / 16;
	max-height: 220px;
	border-radius: 18px;
	overflow: hidden;
	background: var(--gstore-surface);
	border: 1px solid var(--gstore-line);
}

.gstore-screen-frame.generate-image-empty {
	border-style: dashed;
	border-color: color-mix(in srgb, var(--business-primary-color, #1d1d1f) 35%, #d1d1d6);
}

.gstore-screen-frame.is-uploading {
	opacity: 0.72;
	pointer-events: none;
}

.gstore-screen-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.gstore-screen-upload-btn {
	position: absolute;
	left: 50%;
	bottom: 10px;
	transform: translateX(-50%);
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.4rem 0.75rem;
	border-radius: 980px;
	background: rgba(29, 29, 31, 0.82);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 650;
	cursor: pointer;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	white-space: nowrap;
}

.gstore-screen-upload-btn:hover {
	background: rgba(29, 29, 31, 0.92);
}

.gstore-logo-row {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	padding-top: 0.35rem;
	border-top: 1px solid var(--gstore-line);
}

.gstore-logo-block {
	display: flex;
	flex-direction: column;
	gap: 0;
	padding-top: 0;
	border-top: 0;
}

.gstore-logo-options {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.65rem;
}

.gstore-logo-option {
	appearance: none;
	border: 1.5px solid rgba(0, 0, 0, 0.08);
	background: #fafafa;
	border-radius: 18px;
	padding: 0.7rem 0.45rem;
	cursor: pointer;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.gstore-logo-option:hover {
	transform: translateY(-1px);
	background: #fff;
	border-color: color-mix(in srgb, var(--business-primary-color, #1d1d1f) 40%, transparent);
}

.gstore-logo-option.is-selected {
	background: #fff;
	border-color: var(--business-primary-color, #1d1d1f);
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--business-primary-color, #1d1d1f) 20%, transparent);
}

.gstore-logo-option .gstore-thumb {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0;
	width: 100%;
}

.gstore-logo-option .gstore-thumb > span:not(.gstore-thumb-empty) {
	display: none;
}

.gstore-logo-option .gstore-thumb-frame {
	width: 92px;
	height: 92px;
	border-radius: 22px;
	overflow: hidden;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.06);
}

.gstore-logo-option .gstore-thumb-frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.gstore-logo-copy {
	min-width: 0;
}

@media screen and (max-width: 720px) {
	.gstore-logo-options {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 0.45rem;
	}

	.gstore-logo-option .gstore-thumb-frame {
		width: 72px;
		height: 72px;
		border-radius: 18px;
	}
}

.gstore-link-info {
	display: inline-block;
	margin-top: 0.25rem;
	font-size: 0.8rem;
	font-weight: 650;
	color: var(--business-primary-color, #1d1d1f);
	text-decoration: none;
}

.gstore-link-info:hover {
	text-decoration: underline;
}

@media screen and (max-width: 720px) {
	.gstore-screen-uploads {
		grid-template-columns: 1fr;
	}

	.gstore-screen-frame {
		max-height: 280px;
		aspect-ratio: 16 / 10;
	}
}

.gstore-panel-products {
	background: color-mix(in srgb, #10b981 6%, #fff);
	border-color: color-mix(in srgb, #10b981 22%, transparent);
}

.gstore-slots {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.gstore-slot { width: 104px; }

.gstore-slot-fill,
.gstore-slot-add {
	display: block;
	width: 100%;
	height: 104px;
	border-radius: 16px;
	border: 1.5px dashed color-mix(in srgb, #10b981 45%, transparent);
	background: #fff;
	overflow: hidden;
	position: relative;
	text-decoration: none;
	color: inherit;
	box-sizing: border-box;
}

.gstore-slot-fill img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.gstore-slot-fill em {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 0.3rem 0.4rem;
	font-style: normal;
	font-size: 0.65rem;
	font-weight: 650;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.gstore-slot-ok {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #dcfce7;
	color: #15803d;
	font-size: 1.25rem;
}

.gstore-slot-add {
	cursor: pointer;
}

.gstore-slot-add > span {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.25rem;
	font-size: 0.72rem;
	font-weight: 600;
	color: #64748b;
}

.gstore-slot-add i { font-size: 1.2rem; opacity: 0.85; }

.gstore-slot-label {
	display: block;
	margin-top: 0.3rem;
	font-size: 0.68rem;
	font-weight: 600;
	color: var(--gstore-muted);
	text-align: center;
}

.gstore-panel-asc {
	background: #fbfbfc;
	border-color: rgba(0, 0, 0, 0.06);
}

.gstore-panel-asc .gstore-panel-head {
	margin-bottom: 1rem;
}

.gstore-asc-slots {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
}

.gstore-asc-slot { width: 100px; flex-shrink: 0; }

.gstore-asc-preview {
	width: 100px;
	height: 140px;
	border-radius: 14px;
	border: 1.5px dashed color-mix(in srgb, var(--business-primary-color, #1d1d1f) 35%, transparent);
	background: #fff;
	overflow: hidden;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.gstore-asc-preview .app-store-slot-placeholder {
	font-size: 0.72rem;
	color: #64748b;
	text-align: center;
	padding: 0.5rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.25rem;
}

.gstore-asc-preview .app-store-slot-placeholder i { font-size: 1.2rem; opacity: 0.8; }

.gstore-asc-preview .app-store-slot-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gstore-asc-preview .app-store-slot-remove {
	position: absolute;
	top: 4px;
	right: 4px;
	width: 22px;
	height: 22px;
	border: none;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	border-radius: 50%;
	cursor: pointer;
	font-size: 0.75rem;
	line-height: 1;
}

.gstore-asc-preview .app-store-slot-add-text {
	position: absolute;
	bottom: 4px;
	left: 4px;
	width: 28px;
	height: 28px;
	border: none;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	border-radius: 8px;
	cursor: pointer;
	font-size: 0.7rem;
}

.gstore-alert {
	border-radius: 16px;
	padding: 1rem 1.15rem;
	margin-bottom: 1rem;
}

.gstore-alert strong {
	display: block;
	margin-bottom: 0.45rem;
	font-size: 0.95rem;
}

.gstore-alert ul {
	margin: 0;
	padding-left: 1.15rem;
	font-size: 0.88rem;
	line-height: 1.45;
}

.gstore-alert-warn {
	background: #fffbeb;
	border: 1px solid #fcd34d;
	color: #92400e;
}

.gstore-alert-error {
	background: #fef2f2;
	border: 1px solid #fca5a5;
	color: #991b1b;
}

.gstore-status {
	border-radius: 16px;
	border: 1px solid var(--gstore-line);
	border-left: 4px solid var(--business-primary-color, #1d1d1f);
	background: #fff;
	padding: 1rem 1.15rem;
	margin-bottom: 1rem;
}

.gstore-status-label {
	margin: 0 0 0.25rem;
	font-weight: 700;
	font-size: 0.92rem;
}

.gstore-status .generate-status-text {
	margin: 0;
	color: #424245;
	font-size: 0.92rem;
	line-height: 1.45;
}

.gstore-action { margin-top: 0.5rem; }

.gstore-generate-btn,
.generate-btn.gstore-generate-btn {
	width: 100%;
	border: none !important;
	border-radius: 980px !important;
	background: var(--business-primary-color, #1d1d1f) !important;
	color: #fff !important;
	font-weight: 750 !important;
	font-size: 1.05rem !important;
	padding: 1rem 1.5rem !important;
	height: auto !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	box-shadow: 0 10px 28px color-mix(in srgb, var(--business-primary-color, #1d1d1f) 35%, transparent);
	transition: transform 0.15s, opacity 0.15s;
}

.gstore-generate-btn:hover { transform: scale(1.01); }

.generate-btn-icon-wrap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	height: 28px;
}

.generate-btn-lottie {
	width: 28px;
	height: 28px;
}

/* ===== Generar App v2 (header limpio + checklist + dock) ===== */
.gstore-v2 {
	max-width: 880px;
	padding-bottom: 6.5rem;
}

.gstore-top {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.25rem;
	margin-bottom: 1.25rem;
	padding-bottom: 1.15rem;
	border-bottom: 1px solid var(--gstore-line);
	animation: gstoreRise 0.45s ease both;
}

.gstore-top-main {
	display: flex;
	align-items: center;
	gap: 0.95rem;
	min-width: 0;
}

.gstore-top-icon {
	width: 56px;
	height: 56px;
	border-radius: 14px;
	overflow: hidden;
	flex-shrink: 0;
	background: #f5f5f7;
	border: 1px solid var(--gstore-line);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 1.05rem;
	letter-spacing: -0.04em;
	color: #1d1d1f;
}

.gstore-top-icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.gstore-top-copy {
	min-width: 0;
}

.gstore-v2 .gstore-title {
	font-size: clamp(2rem, 4vw, 2.65rem);
}

.gstore-v2 .gstore-subtitle {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem;
	margin-top: 0.35rem;
	max-width: none;
}

.gstore-handle {
	font-size: 0.82rem;
	font-weight: 650;
	color: #86868b;
	background: #f5f5f7;
	border-radius: 8px;
	padding: 0.18rem 0.5rem;
	letter-spacing: -0.01em;
}

.gstore-top-meta {
	flex-shrink: 0;
	min-width: 9.5rem;
	text-align: right;
}

.gstore-progress-bar {
	height: 6px;
	border-radius: 980px;
	background: #ebebed;
	overflow: hidden;
	margin-bottom: 0.4rem;
}

.gstore-progress-bar > span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: #1d1d1f;
	transition: width 0.35s ease;
}

.gstore-progress-label {
	margin: 0;
	font-size: 0.78rem;
	color: var(--gstore-muted);
	font-weight: 550;
}

.gstore-progress-label strong {
	color: #1d1d1f;
	font-weight: 750;
}

@media (max-width: 720px) {
	.gstore-top {
		flex-direction: column;
		align-items: stretch;
		gap: 0.85rem;
	}
	.gstore-top-meta {
		text-align: left;
		min-width: 0;
	}
}

.gstore-checklist {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin: 0 0 1.15rem;
	animation: gstoreRise 0.55s ease 0.08s both;
}

.gstore-check {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.42rem 0.7rem 0.42rem 0.5rem;
	border-radius: 980px;
	background: #fff;
	border: 1px solid var(--gstore-line);
	text-decoration: none;
	color: var(--gstore-ink);
	font-size: 0.78rem;
	font-weight: 650;
	transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.gstore-check:hover {
	transform: translateY(-1px);
	border-color: rgba(0, 0, 0, 0.14);
}

.gstore-check-mark {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #f5f5f7;
	color: #aeaeb2;
	font-size: 0.58rem;
}

.gstore-check.is-done {
	background: color-mix(in srgb, #10b981 10%, #fff);
	border-color: color-mix(in srgb, #10b981 28%, transparent);
}

.gstore-check.is-done .gstore-check-mark {
	background: #10b981;
	color: #fff;
}

.gstore-v2 .gstore-panel {
	position: relative;
	border-radius: 22px;
	padding: 1.35rem 1.35rem 1.45rem;
	margin-bottom: 1.05rem;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
	animation: gstoreRise 0.55s ease both;
}

.gstore-v2 .gstore-step:nth-of-type(1) { animation-delay: 0.1s; }
.gstore-v2 .gstore-step:nth-of-type(2) { animation-delay: 0.16s; }
.gstore-v2 .gstore-step:nth-of-type(3) { animation-delay: 0.22s; }
.gstore-v2 .gstore-step:nth-of-type(4) { animation-delay: 0.28s; }

.gstore-step-badge {
	position: absolute;
	top: 1.15rem;
	right: 1.2rem;
	width: 28px;
	height: 28px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #1d1d1f;
	color: #fff;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.gstore-panel-lead {
	margin: 0.25rem 0 0;
	font-size: 0.88rem;
	color: var(--gstore-muted);
	font-weight: 500;
}

.gstore-v2 .gstore-panel-head {
	padding-right: 0;
	margin-bottom: 1.15rem;
	align-items: center;
	width: 100%;
}

.gstore-v2 .gstore-panel-head > :last-child {
	margin-left: auto;
	flex-shrink: 0;
}

.gstore-v2 .gstore-panel-head h2 {
	font-size: 1.28rem;
}

.gstore-screen-card.is-ready .gstore-screen-frame {
	border-color: color-mix(in srgb, #10b981 40%, transparent);
	box-shadow: 0 0 0 1px color-mix(in srgb, #10b981 18%, transparent);
}

.gstore-action-dock {
	position: sticky;
	bottom: 1rem;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 1.25rem;
	padding: 0.85rem 0.95rem 0.85rem 1.15rem;
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid var(--gstore-line);
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

.gstore-action-dock.is-ready {
	border-color: color-mix(in srgb, #10b981 35%, transparent);
	box-shadow:
		0 18px 48px rgba(0, 0, 0, 0.12),
		0 0 0 1px color-mix(in srgb, #10b981 12%, transparent);
}

.gstore-action-copy {
	display: flex;
	flex-direction: column;
	gap: 0.12rem;
	min-width: 0;
}

.gstore-action-copy strong {
	font-size: 0.95rem;
	font-weight: 750;
	letter-spacing: -0.02em;
}

.gstore-action-copy span {
	font-size: 0.8rem;
	color: var(--gstore-muted);
}

.gstore-action-dock .gstore-generate-btn {
	width: auto !important;
	min-width: 200px;
	flex-shrink: 0;
	padding: 0.85rem 1.35rem !important;
}

.gstore-editor-modal {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	z-index: 9999;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	box-sizing: border-box;
}

.gstore-editor-dialog {
	display: flex;
	flex-direction: row;
	background: #fff;
	border-radius: 20px;
	max-width: 920px;
	width: 100%;
	max-height: 90vh;
	box-shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
	overflow: hidden;
}

.gstore-editor-form {
	flex: 0 0 300px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	border-right: 1px solid var(--gstore-line);
}

.gstore-editor-form-head,
.gstore-editor-preview-head,
.gstore-editor-form-foot {
	padding: 1rem 1.15rem;
	border-bottom: 1px solid var(--gstore-line);
}

.gstore-editor-form-head h5 {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
}

.gstore-editor-form-body {
	padding: 1rem 1.15rem;
	overflow-y: auto;
	flex: 1;
}

.gstore-editor-block {
	padding-bottom: 1rem;
	margin-bottom: 1rem;
	border-bottom: 1px solid var(--gstore-line);
}

.gstore-editor-block:last-child {
	border-bottom: 0;
	margin-bottom: 0;
	padding-bottom: 0;
}

.gstore-editor-block-title {
	margin: 0 0 0.55rem;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #424245;
}

.gstore-swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.gstore-swatches .screenshot-editor-bg-color {
	width: 30px;
	height: 30px;
	border: 2px solid #e5e7eb;
	border-radius: 8px;
	cursor: pointer;
	padding: 0;
}

.gstore-text-colors {
	display: flex;
	gap: 0.5rem;
}

.gstore-text-colors .screenshot-editor-color {
	flex: 1;
	padding: 0.45rem;
	border: 1px solid var(--gstore-line);
	border-radius: 8px;
	background: #fff;
	font-size: 0.78rem;
	font-weight: 650;
	cursor: pointer;
}

.gstore-editor-form-foot {
	border-bottom: 0;
	border-top: 1px solid var(--gstore-line);
	display: flex;
	gap: 0.65rem;
	justify-content: flex-end;
}

.gstore-btn-ghost,
.gstore-btn-solid {
	padding: 0.55rem 1rem;
	border-radius: 980px;
	font-size: 0.88rem;
	font-weight: 700;
	cursor: pointer;
}

.gstore-btn-ghost {
	border: 1px solid var(--gstore-line);
	background: #fff;
	color: #1d1d1f;
}

.gstore-btn-solid {
	border: none;
	background: #1d1d1f;
	color: #fff;
}

.gstore-editor-preview {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	background: #f5f5f7;
}

.gstore-editor-preview-head {
	font-size: 0.82rem;
	font-weight: 700;
	color: #424245;
}

.gstore-editor-preview-area {
	flex: 1;
	min-height: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	overflow: hidden;
}

.gstore-editor-canvas-wrap {
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
	border-radius: 14px;
	background: #e8e8ed;
	line-height: 0;
}

.gstore-editor-canvas-wrap canvas {
	display: block;
	border-radius: 14px;
}

@keyframes gstoreHeroIn {
	from { opacity: 0; transform: translateY(10px) scale(0.985); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes gstoreRise {
	from { opacity: 0; transform: translateY(12px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes gstoreOrb {
	from { transform: translate3d(0, 0, 0) scale(1); }
	to { transform: translate3d(14px, -12px, 0) scale(1.08); }
}

@media screen and (max-width: 768px) {
	.gstore-row-2 { grid-template-columns: 1fr; }

	.gstore-hero-inner {
		flex-direction: column;
		align-items: stretch;
		padding: 1.15rem 1.1rem 1.2rem;
	}

	.gstore-hero-progress {
		justify-content: flex-start;
	}

	.gstore-action-dock {
		flex-direction: column;
		align-items: stretch;
		bottom: 0.65rem;
		padding: 0.85rem;
	}

	.gstore-action-dock .gstore-generate-btn {
		width: 100% !important;
		min-width: 0;
	}

	.gstore-editor-dialog {
		flex-direction: column;
		max-height: 95vh;
	}

	.gstore-editor-form {
		flex: 1 1 auto;
		border-right: none;
		border-bottom: 1px solid var(--gstore-line);
	}

	.gstore-editor-preview {
		min-height: 240px;
	}
}

@supports not (background: color-mix(in srgb, #000 50%, #fff)) {
	.gstore-hero {
		background: linear-gradient(145deg, #1d1d1f, #2c2c2e);
	}
	.gstore-check.is-done {
		background: #ecfdf5;
		border-color: #a7f3d0;
	}
}

/* ===== Info Store (istore) ===== */
.istore {
	--istore-ink: #1d1d1f;
	--istore-muted: #86868b;
	--istore-line: rgba(0, 0, 0, 0.08);
	--istore-surface: #f5f5f7;
	font-family: "Instrument Sans", "SF Pro Display", "Segoe UI", sans-serif;
	color: var(--istore-ink);
	max-width: 820px;
	padding-bottom: 2.5rem;
}

.istore-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.25rem;
	margin-bottom: 1.35rem;
}

.istore-kicker {
	margin: 0 0 0.15rem;
	font-size: 0.78rem;
	font-weight: 650;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--business-primary-color, #1d1d1f);
}

.istore-title {
	margin: 0;
	font-size: clamp(2.2rem, 4.5vw, 3rem);
	font-weight: 800;
	letter-spacing: -0.045em;
	line-height: 1;
}

.istore-subtitle {
	margin: 0.5rem 0 0;
	font-size: 1.02rem;
	color: var(--istore-muted);
	line-height: 1.4;
	max-width: 28rem;
}

.istore-delete.info-delete-btn,
.istore-delete {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.55rem 0.95rem;
	border: 0;
	border-radius: 980px;
	background: #fef2f2;
	color: #dc2626;
	font: inherit;
	font-size: 0.85rem;
	font-weight: 700;
	cursor: pointer;
	flex-shrink: 0;
}

.istore-delete:hover { background: #fee2e2; }

.istore-seg.info-tabs,
.istore-seg {
	display: flex;
	flex-wrap: nowrap;
	gap: 2px;
	padding: 3px;
	margin-bottom: 1.25rem;
	background: rgba(0, 0, 0, 0.045);
	border: 0;
	border-radius: 12px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.istore-seg::-webkit-scrollbar { display: none; }

/* a y button: mismo look (el Drawer usa <button>) */
.istore-seg-item,
button.istore-seg-item {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	flex: 0 0 auto;
	margin: 0;
	padding: 0.5rem 0.85rem;
	border: 0 !important;
	border-radius: 9px;
	background: transparent !important;
	box-shadow: none !important;
	appearance: none;
	-webkit-appearance: none;
	text-decoration: none;
	color: var(--istore-muted, #6e6e73) !important;
	font: inherit;
	font-size: 0.84rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.2;
	white-space: nowrap;
	cursor: pointer;
	transition: background 0.14s ease, color 0.14s ease, box-shadow 0.14s ease;
}

.istore-seg-item:link,
.istore-seg-item:visited {
	color: var(--istore-muted, #6e6e73) !important;
}

.istore-seg-item i {
	font-size: 0.78rem;
	opacity: 0.85;
	color: inherit !important;
}

.istore-seg-item:hover,
.istore-seg-item:focus-visible,
button.istore-seg-item:hover,
button.istore-seg-item:focus-visible {
	background: rgba(0, 0, 0, 0.04) !important;
	color: var(--istore-ink, #1d1d1f) !important;
	outline: none;
}

.istore-seg-item:hover i,
.istore-seg-item:focus-visible i {
	opacity: 1;
	color: inherit !important;
}

.istore-seg-item.is-active,
.istore-seg-item.is-active:link,
.istore-seg-item.is-active:visited,
.istore-seg-item.is-active:hover,
.istore-seg-item.is-active:focus-visible,
button.istore-seg-item.is-active,
button.istore-seg-item.is-active:hover,
button.istore-seg-item.is-active:focus-visible {
	background: #fff !important;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 0 0 0.5px rgba(0, 0, 0, 0.04) !important;
	color: var(--istore-ink, #1d1d1f) !important;
}

.istore-seg-item.is-active i,
.istore-seg-item.is-active:hover i {
	opacity: 1;
	color: inherit !important;
}

/* Override old Bulma info-tabs rules when using seg */
.istore .info-tabs.tabs,
.istore .info-tabs.tabs.is-boxed { display: none; }

.istore-panel {
	background: #fff;
	border: 1px solid var(--istore-line);
	border-radius: 18px;
	padding: 1.2rem 1.25rem 1.35rem;
	margin-bottom: 1rem;
}

.istore-panel-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.istore-panel-head h2 {
	margin: 0;
	font-size: 1.2rem;
	font-weight: 750;
	letter-spacing: -0.02em;
}

button.info-collapse-toggle {
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
	align-items: center;
	min-height: 44px;
	-webkit-tap-highlight-color: transparent;
}

.istore-collapse {
	transition: padding 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.istore-collapse:not(.is-open) > .info-collapse-toggle {
	margin-bottom: 0;
}

.istore-collapse.is-open > .info-collapse-toggle {
	margin-bottom: 1rem;
	transition: margin-bottom 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.istore-collapse:not(.is-open) {
	padding-bottom: 0.45rem;
}

.istore-collapse:not(.is-open) > .info-collapse-body {
	max-height: 0;
	opacity: 0;
	transform: translateY(-6px);
	pointer-events: none;
}

.istore-collapse.is-open > .info-collapse-body {
	max-height: 2400px;
	opacity: 1;
	transform: none;
	pointer-events: auto;
}

.info-collapse-body {
	min-width: 0;
	max-width: 100%;
	overflow: hidden;
	transition:
		max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1),
		opacity 0.32s ease,
		transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.info-collapse-chevron {
	width: 28px;
	height: 28px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	background: #f5f5f7;
	color: #6e6e73;
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.25s ease, color 0.25s ease;
}

.istore-collapse.is-open > .info-collapse-toggle .info-collapse-chevron {
	transform: rotate(180deg);
	background: color-mix(in srgb, var(--business-primary-color, #1d1d1f) 12%, #fff);
	color: var(--business-primary-color, #1d1d1f);
}

.info-profile-hero > .info-collapse-toggle {
	align-self: stretch;
}

.info-profile-hero > .info-collapse-body {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.65rem;
	width: 100%;
}

.istore-form .dp-field,
.istore-social-wrap,
.istore-social-input {
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
}

.rstore-kicker {
	margin: 0.2rem 0 0;
	font-size: 0.78rem;
	font-weight: 550;
	color: #86868b;
}

.rstore-head-actions {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	flex-shrink: 0;
}

.rstore-edit,
.rstore-text-btn {
	border: 0;
	background: transparent;
	font: inherit;
	font-size: 0.88rem;
	font-weight: 650;
	color: var(--business-primary-color, #1d1d1f);
	cursor: pointer;
	padding: 0.35rem 0.2rem;
}

.rstore-text-btn,
.rstore-save {
	display: none;
}

.rstore-card.is-editing .rstore-edit { display: none; }
.rstore-card.is-editing .rstore-text-btn,
.rstore-card.is-editing .rstore-save { display: inline-flex; }

.rstore-fields {
	display: flex;
	flex-direction: column;
}

.rstore-field {
	display: grid;
	grid-template-columns: 7.2rem minmax(0, 1fr);
	gap: 0.35rem 0.85rem;
	align-items: start;
	padding: 0.8rem 0;
	border-top: 1px solid rgba(0, 0, 0, 0.06);
	cursor: text;
}

.rstore-field > span:first-child {
	padding-top: 0.15rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #86868b;
}

.rstore-slot {
	min-width: 0;
	position: relative;
}

.rstore-face {
	display: block;
	font-size: 0.98rem;
	line-height: 1.45;
	color: #1d1d1f;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
	transition: opacity 0.18s ease, transform 0.18s ease;
}

.rstore-face:empty::before {
	content: attr(data-placeholder);
	color: #aeaeb2;
}

.rstore-input {
	display: none;
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.rstore-card.is-editing .rstore-face {
	display: none;
}

.rstore-card.is-editing .rstore-input {
	display: block;
	animation: rstoreFieldIn 0.22s ease;
}

@keyframes rstoreFieldIn {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: none; }
}

.rstore-visible {
	margin-top: 0.4rem;
}

@media (max-width: 640px) {
	.rstore-field {
		grid-template-columns: 1fr;
		gap: 0.3rem;
	}
	.istore-panel-head:has(.rstore-head-actions) {
		flex-wrap: wrap;
	}
}

.rstore-mode {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.35rem;
	padding: 0.3rem;
	margin: 0 0 1rem;
	border-radius: 12px;
	background: rgba(0, 0, 0, 0.04);
}

.rstore-mode-btn {
	border: 0;
	border-radius: 10px;
	padding: 0.55rem 0.7rem;
	background: transparent;
	color: #6e6e73;
	font-size: 0.82rem;
	font-weight: 650;
	cursor: pointer;
}

.rstore-mode-btn.is-active {
	background: #fff;
	color: #1d1d1f;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.rstore-project-fields.is-waiting {
	display: none !important;
}

.rstore-og-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0.55rem;
	align-items: stretch;
}

.rstore-og-row [data-resume-scrape][hidden] {
	display: none !important;
}

.rstore-og-row [data-resume-scrape]:disabled,
.rstore-og-row [data-resume-scrape].is-loading {
	opacity: 0.72;
	cursor: wait;
	pointer-events: none;
}

#resumeProjectForm[data-scrape-loading="1"] .rstore-mode-btn:disabled {
	opacity: 0.55;
	cursor: wait;
}

#resumeProjectForm[data-scrape-loading="1"] #project_url[readonly] {
	opacity: 0.85;
	cursor: wait;
}

.rstore-og-row .dp-input {
	min-width: 0;
}

.rstore-og-hint {
	margin: 0.45rem 0 0;
	font-size: 0.78rem;
	color: #86868b;
	line-height: 1.35;
}

.rstore-og-preview {
	display: grid;
	grid-template-columns: 4.5rem minmax(0, 1fr);
	gap: 0.75rem;
	align-items: center;
	padding: 0.7rem;
	margin: 0 0 0.95rem;
	border-radius: 14px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	background: rgba(245, 245, 247, 0.7);
}

.rstore-og-preview.is-empty {
	display: none;
}

.rstore-og-preview img {
	width: 4.5rem;
	height: 4.5rem;
	object-fit: cover;
	border-radius: 10px;
	background: #e8e8ed;
}

.rstore-og-preview-copy {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

.rstore-og-preview-copy small {
	font-size: 0.72rem;
	color: #86868b;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rstore-og-preview-copy strong {
	font-size: 0.95rem;
	line-height: 1.3;
	color: #1d1d1f;
}

@media (max-width: 520px) {
	.rstore-og-row {
		grid-template-columns: 1fr;
	}
}

.rstore-identity {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	margin: 0 0 1.1rem;
}

.rstore-identity div {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 0;
}

.rstore-identity dt {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #86868b;
}

.rstore-identity dd {
	margin: 0;
	font-size: 0.98rem;
	line-height: 1.4;
	color: #1d1d1f;
	overflow-wrap: anywhere;
}

.rstore-identity dd.is-empty {
	color: #aeaeb2;
}

.istore-section-hint {
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--istore-muted);
}

.istore-form .dp-field { margin-bottom: 0.95rem; }
.istore-form .dp-field:last-child { margin-bottom: 0; }

.istore-media-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
}

.istore-media-label {
	margin: 0 0 0.5rem;
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--istore-muted);
}

.istore-color-hero {
	text-align: center;
	margin-bottom: 1.25rem;
}

.istore-actions.dp-form-actions,
.istore-actions.istore-sticky-actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.75rem;
	margin-top: 1.25rem;
	padding: 0.75rem 0.85rem;
	position: sticky;
	bottom: 0.75rem;
	z-index: 20;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid rgba(0, 0, 0, 0.08);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.istore-action-cancel {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0.65rem 1rem;
	border-radius: 980px;
	border: 1px solid rgba(0, 0, 0, 0.1);
	background: #fff;
	color: #1d1d1f;
	font: inherit;
	font-size: 0.88rem;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}

.istore-action-save {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0.65rem 1.15rem;
	border-radius: 980px;
	border: 0;
	background: var(--business-primary-color, #1d1d1f);
	color: #fff;
	font: inherit;
	font-size: 0.88rem;
	font-weight: 700;
	cursor: pointer;
	margin-left: auto;
}

.istore-privacy-list {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.istore-privacy-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.85rem 0.15rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
	cursor: pointer;
}

.istore-privacy-row:last-child {
	border-bottom: 0;
}

.istore-privacy-copy {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 0;
}

.istore-privacy-copy strong {
	font-size: 0.95rem;
	font-weight: 700;
	color: #1d1d1f;
	letter-spacing: -0.02em;
}

.istore-privacy-copy small {
	font-size: 0.78rem;
	font-weight: 500;
	color: #86868b;
}

.istore .schedule-list,
.istore .hstore-list {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.hstore-sub {
	margin: 0.2rem 0 0;
	font-size: 0.82rem;
	color: #86868b;
	font-weight: 500;
}

.hstore-presets {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin: 0 0 0.95rem;
}

.hstore-preset {
	appearance: none;
	border: 1px solid rgba(0, 0, 0, 0.08);
	background: linear-gradient(180deg, #fff, #f5f5f7);
	color: #1d1d1f;
	font: inherit;
	font-size: 0.78rem;
	font-weight: 700;
	padding: 0.45rem 0.75rem;
	border-radius: 980px;
	cursor: pointer;
	transition: transform 0.12s ease, border-color 0.15s ease, background 0.15s ease;
}

.hstore-preset:hover {
	transform: translateY(-1px);
	border-color: rgba(0, 0, 0, 0.18);
}

.hstore-preset--ghost {
	background: transparent;
	border-style: dashed;
	color: #6e6e73;
}

.hstore-summary {
	margin: 0 0 0.95rem;
	padding: 0.75rem 0.9rem;
	border-radius: 14px;
	background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(37, 99, 235, 0.08));
	border: 1px solid rgba(0, 0, 0, 0.05);
	font-size: 0.84rem;
	font-weight: 650;
	color: #1d1d1f;
	line-height: 1.4;
}

.hstore-summary:empty { display: none; }

.istore .schedule-item,
.istore .istore-schedule-row,
.istore .hstore-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.85rem;
	padding: 0.85rem 0.95rem;
	border-radius: 16px;
	background: linear-gradient(180deg, #fff, #fbfbfd);
	border: 1px solid rgba(0, 0, 0, 0.05);
	box-shadow: 0 6px 16px rgba(15, 23, 42, 0.03);
	transition: opacity 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.istore .hstore-row.is-closed {
	background: #f5f5f7;
	border-color: transparent;
	box-shadow: none;
}

.istore .hstore-row.is-closed .hstore-times {
	opacity: 0.42;
	pointer-events: none;
}

.hstore-day {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	min-width: 0;
	flex: 1;
}

.hstore-day-abbr {
	flex-shrink: 0;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #fff;
	background: linear-gradient(135deg, #1d1d1f, #475569);
}

.hstore-row.is-closed .hstore-day-abbr {
	background: linear-gradient(135deg, #9ca3af, #6b7280);
}

.hstore-day-meta {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	min-width: 0;
	flex: 1;
}

.istore .schedule-day-name {
	font-weight: 750;
	font-size: 0.95rem;
	letter-spacing: -0.02em;
	min-width: 0;
}

.hstore-status {
	font-size: 0.72rem;
	font-weight: 700;
	color: #16a34a;
}

.hstore-row.is-closed .hstore-status {
	color: #86868b;
}

.hstore-switch {
	margin-left: auto;
	flex-shrink: 0;
}

.istore .schedule-times,
.istore .hstore-times {
	display: flex;
	align-items: flex-end;
	gap: 0.45rem;
	flex-shrink: 0;
}

.hstore-time {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	margin: 0;
}

.hstore-time > span {
	font-size: 0.68rem;
	font-weight: 700;
	color: #86868b;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.istore .schedule-time-input.dp-input {
	width: auto;
	min-width: 7.6rem;
	padding: 0.5rem 0.65rem;
	border-radius: 12px;
	background: #fff;
	font-weight: 650;
	font-variant-numeric: tabular-nums;
}

.istore .schedule-separator {
	align-self: center;
	padding-top: 1rem;
	color: #86868b;
	font-weight: 700;
}

@media screen and (max-width: 768px) {
	.istore {
		padding-left: 0;
		padding-right: 0;
	}

	.istore-header {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 0.75rem;
		margin-bottom: 1rem;
	}

	.istore-title {
		font-size: 1.75rem !important;
	}

	.istore-delete {
		align-self: center;
		margin-left: auto;
	}

	.istore-seg.info-tabs,
	.istore-seg {
		margin-bottom: 1rem;
	}

	.istore-panel {
		padding: 1.1rem 1.05rem !important;
		border-radius: 16px;
	}

	.istore-media-grid { grid-template-columns: 1fr; }

	.istore .schedule-item,
	.istore .istore-schedule-row,
	.istore .hstore-row {
		flex-direction: column;
		align-items: stretch;
	}

	.istore .schedule-times,
	.istore .hstore-times { width: 100%; }

	.istore .hstore-time { flex: 1; }

	.istore .schedule-time-input.dp-input { flex: 1; min-width: 0; width: 100%; }

	.hstore-presets { gap: 0.35rem; }

	.hstore-preset { font-size: 0.72rem; padding: 0.4rem 0.65rem; }

	.istore-actions.dp-form-actions,
	.istore-actions.istore-sticky-actions {
		flex-direction: row;
		bottom: 0.5rem;
		padding: 0.65rem 0.75rem;
	}

	.istore-action-cancel,
	.istore-action-save {
		flex: 1 1 auto;
		justify-content: center;
	}
}

/* ===== Shared Module Store shell (modstore) ===== */
.modstore {
	--mod-ink: #1d1d1f;
	--mod-muted: #86868b;
	--mod-line: rgba(0, 0, 0, 0.08);
	--mod-surface: #f5f5f7;
	font-family: "Instrument Sans", "SF Pro Display", "Segoe UI", sans-serif;
	color: var(--mod-ink);
	max-width: 920px;
	padding-bottom: 2rem;
}

.modstore-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.25rem;
	margin-bottom: 1.25rem;
}

.modstore-header:has(.modstore-header-lead) {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas:
		"nav nav"
		"title actions";
	align-items: end;
	column-gap: 1.25rem;
	row-gap: 0.55rem;
}

.modstore-header-lead {
	min-width: 0;
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.45rem;
}

.modstore-header:has(.modstore-header-lead) > .modstore-header-lead {
	display: contents;
}

.modstore-header-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.85rem;
	width: 100%;
	min-width: 0;
}

.modstore-header:has(.modstore-header-lead) > .modstore-header-lead > .modstore-header-nav,
.modstore-header:has(.modstore-header-lead) .modstore-header-nav {
	grid-area: nav;
}

.modstore-header:has(.modstore-header-lead) .modstore-title-edit {
	grid-area: title;
	align-self: end;
}

.modstore-header:has(.modstore-header-lead) > .modstore-header-actions,
.modstore-header:has(.modstore-header-lead) .modstore-header-actions {
	grid-area: actions;
	align-self: end;
}

.modstore-store-link,
.modstore-installed-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	background: transparent;
	border: 0;
	padding: 0;
	cursor: pointer;
	font-family: inherit;
	line-height: 1.2;
}

.modstore-store-link {
	color: var(--business-primary-color, #1d1d1f);
	text-decoration: underline;
	text-underline-offset: 0.18em;
	text-decoration-thickness: 1.5px;
}
.modstore-store-link i {
	font-size: 0.78rem;
	opacity: 0.95;
}
.modstore-store-link:hover {
	opacity: 0.82;
}

.modstore-installed-link {
	margin-left: auto;
	color: #636366;
	text-decoration: none;
}
.modstore-installed-link i {
	font-size: 0.78rem;
	opacity: 0.9;
}
.modstore-installed-link:hover {
	color: var(--business-primary-color, #1d1d1f);
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.modstore-title-edit {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	min-width: 0;
	width: 100%;
	align-self: end;
}
.modstore-title-field {
	display: block;
	min-width: 0;
	flex: 1;
	margin: 0;
	cursor: text;
}
.modstore-title-slot {
	display: block;
	position: relative;
	min-width: 0;
}
.modstore-title-face {
	display: block;
	margin: 0;
	font-size: clamp(2rem, 4vw, 2.75rem);
	font-weight: 800;
	letter-spacing: -0.045em;
	line-height: 1.05;
	color: #1d1d1f;
	word-break: break-word;
}
.modstore-title-input {
	display: none;
	width: 100%;
	max-width: 28rem;
	margin: 0;
	padding: 0.15rem 0.35rem;
	border: 0;
	border-bottom: 2px solid var(--business-primary-color, #1d1d1f);
	border-radius: 0;
	background: transparent;
	font: inherit;
	font-size: clamp(2rem, 4vw, 2.75rem);
	font-weight: 800;
	letter-spacing: -0.045em;
	line-height: 1.05;
	color: #1d1d1f;
	outline: none;
	box-shadow: none;
}
.modstore-title-edit.is-editing .modstore-title-face { display: none; }
.modstore-title-edit.is-editing .modstore-title-input { display: block; }

.modstore-title-tools {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	flex-shrink: 0;
}
.modstore-title-pen,
.modstore-title-cancel,
.modstore-title-save {
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 10px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	font-size: 0.9rem;
	line-height: 1;
}
.modstore-title-pen {
	background: transparent;
	color: #86868b;
}
.modstore-title-pen:hover {
	background: rgba(0, 0, 0, 0.05);
	color: #1d1d1f;
}
.modstore-title-cancel,
.modstore-title-save {
	display: none;
}
.modstore-title-edit.is-editing .modstore-title-pen {
	display: none;
}
.modstore-title-edit.is-editing .modstore-title-cancel,
.modstore-title-edit.is-editing .modstore-title-save {
	display: inline-flex;
}
.modstore-title-cancel {
	background: #f2f2f4;
	color: #1d1d1f;
}
.modstore-title-cancel:hover {
	background: #e8e8ed;
}
.modstore-title-save {
	background: var(--business-primary-color, #1d1d1f);
	color: #fff;
}
.modstore-title-save:hover {
	filter: brightness(0.95);
}
.modstore-title-save:disabled {
	opacity: 0.6;
	cursor: wait;
}

.rstore-privacy-actions {
	display: flex;
	justify-content: flex-end;
	margin-top: 1rem;
}
.rstore-privacy .info-privacy-note {
	margin: 0 0 0.85rem;
	color: #6e6e73;
}
.rstore-privacy .istore-panel {
	display: block;
	background: #fff;
	color: #1d1d1f;
}
.rstore-privacy .istore-panel-head h2 {
	color: #1d1d1f;
}
.rstore-privacy .dp-label {
	color: #1d1d1f;
}
body.studio-layout[data-studio-theme="dark"] .rstore-privacy .istore-panel {
	background: #1c1c1e;
	border-color: rgba(255, 255, 255, 0.1);
	color: #f5f5f7;
}
body.studio-layout[data-studio-theme="dark"] .rstore-privacy .istore-panel-head h2,
body.studio-layout[data-studio-theme="dark"] .rstore-privacy .istore-privacy-copy strong,
body.studio-layout[data-studio-theme="dark"] .rstore-privacy .dp-label {
	color: #f5f5f7;
}
body.studio-layout[data-studio-theme="dark"] .rstore-privacy .info-privacy-note,
body.studio-layout[data-studio-theme="dark"] .rstore-privacy .istore-privacy-copy small {
	color: #a1a1a6;
}
body.studio-layout[data-studio-theme="dark"] .rstore-privacy .istore-privacy-row {
	border-bottom-color: rgba(255, 255, 255, 0.08);
}
body.studio-layout[data-studio-theme="dark"] .rstore-privacy .dp-input {
	background: #2c2c2e;
	color: #f5f5f7;
	border-color: rgba(255, 255, 255, 0.12);
}

.modstore-privacy {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-left: auto;
	flex-shrink: 0;
	font-size: 0.75rem;
	font-weight: 700;
	color: #1d1d1f;
	cursor: pointer;
	user-select: none;
}
.modstore-privacy input {
	width: 2.4rem;
	height: 1.35rem;
	margin: 0;
	accent-color: #1d1d1f;
	cursor: pointer;
}
body.studio-layout[data-studio-theme="dark"] .modstore-privacy {
	color: #f5f5f7;
}
body.studio-layout[data-studio-theme="dark"] .modstore-privacy input {
	accent-color: #f5f5f7;
}

/* Cuando el título editable reemplaza al h1, oculta el h1 legacy si coexistiera */
.modstore-header-lead + .modstore-title { display: none; }

.modstore-header-actions {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
	align-items: center;
}

.modstore-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.75rem;
	margin: 0 0 1.25rem;
}

.modstore-stat {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	padding: 0.9rem 1rem;
	background: #fff;
	border: 1px solid var(--mod-line);
	border-radius: 16px;
	min-width: 0;
}

.modstore-stat-label,
.modstore-stat > span {
	display: block;
	font-size: 0.78rem;
	font-weight: 650;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--mod-muted);
	line-height: 1.2;
}

.modstore-stat-value,
.modstore-stat > strong {
	display: block;
	font-size: 1.55rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.1;
	color: var(--mod-ink);
}

@media (max-width: 640px) {
	.modstore-stats {
		grid-template-columns: 1fr;
	}
}

.modstore-kicker {
	margin: 0 0 0.15rem;
	font-size: 0.78rem;
	font-weight: 650;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--business-primary-color, #1d1d1f);
}

.modstore-title {
	margin: 0;
	font-size: clamp(2rem, 4vw, 2.75rem);
	font-weight: 800;
	letter-spacing: -0.045em;
	line-height: 1;
}

/* pstore (productos) reusa el mismo bloque de título */
.pstore-header.modstore-header {
	align-items: flex-end;
}
.pstore-header .modstore-title-face,
.pstore-header .modstore-title-input {
	font-size: clamp(1.85rem, 3.5vw, 2.4rem);
}

.modstore-subtitle {
	margin: 0.45rem 0 0;
	font-size: 1rem;
	color: var(--mod-muted);
	line-height: 1.4;
	max-width: 32rem;
}

.modstore-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0.7rem 1.15rem;
	border: 0;
	border-radius: 980px;
	font: inherit;
	font-size: 0.92rem;
	font-weight: 750;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.15s;
}

.modstore-btn:hover { transform: scale(1.02); }

.modstore-btn-solid {
	background: var(--business-primary-color, #1d1d1f);
	color: #fff !important;
}

.modstore-btn-ghost {
	background: var(--mod-surface);
	color: var(--mod-ink);
}

.modstore-btn-danger {
	background: #fef2f2;
	color: #dc2626 !important;
}

.modstore-btn-sm {
	padding: 0.4rem 0.75rem;
	font-size: 0.8rem;
}

.rstore-progress {
	background: #fff;
	border: 1px solid var(--mod-line);
	border-radius: 18px;
	padding: 1rem 1.1rem 1.05rem;
	margin-bottom: 1.15rem;
}

.rstore-progress-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.85rem;
	margin-bottom: 0.75rem;
}

.rstore-progress-head strong {
	display: block;
	font-size: 0.98rem;
	font-weight: 750;
	letter-spacing: -0.02em;
	color: #1d1d1f;
}

.rstore-progress-head p {
	margin: 0.2rem 0 0;
	font-size: 0.82rem;
	line-height: 1.35;
	color: #86868b;
}

.rstore-progress-meta {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	flex-shrink: 0;
}

.rstore-progress-pct {
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--business-primary-color, #1d1d1f);
	line-height: 1;
}

.rstore-visibility {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 999px;
	padding: 0.4rem 0.7rem;
	background: #f5f5f7;
	color: #6e6e73;
	font-size: 0.75rem;
	font-weight: 650;
	cursor: pointer;
	line-height: 1;
}

.rstore-visibility i {
	font-size: 0.82rem;
}

.rstore-visibility.is-on {
	background: color-mix(in srgb, var(--business-primary-color, #1d1d1f) 12%, #fff);
	border-color: color-mix(in srgb, var(--business-primary-color, #1d1d1f) 28%, transparent);
	color: var(--business-primary-color, #1d1d1f);
}

.rstore-visibility:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.rstore-progress-track {
	height: 0.55rem;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.06);
	overflow: hidden;
	margin-top: 0.15rem;
}

.rstore-progress-fill {
	height: 100%;
	border-radius: inherit;
	background: var(--business-primary-color, #1d1d1f);
	transition: width 0.35s ease;
}

.rstore-skill-rows {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-bottom: 0.85rem;
}

.rstore-skill-row {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
	gap: 0.65rem;
	padding: 0.75rem;
	border-radius: 14px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	background: rgba(245, 245, 247, 0.65);
}

.rstore-skill-row .dp-field {
	margin: 0;
}

.rstore-skill-remove {
	position: absolute;
	top: 0.45rem;
	right: 0.45rem;
	width: 1.7rem;
	height: 1.7rem;
	border: 0;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.06);
	color: #1d1d1f;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.rstore-skill-remove[hidden] {
	display: none !important;
}

.rstore-skill-add {
	width: 100%;
	justify-content: center;
}

@media (max-width: 520px) {
	.rstore-skill-row {
		grid-template-columns: 1fr;
		padding-top: 2.1rem;
	}
}

.modstore-seg {
	display: flex;
	flex-wrap: nowrap;
	gap: 0.35rem;
	padding: 0.3rem;
	margin-bottom: 1.15rem;
	background: var(--mod-surface);
	border-radius: 14px;
	overflow-x: auto;
	scrollbar-width: none;
}

.modstore-seg::-webkit-scrollbar { display: none; }

.modstore-seg-item {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	flex: 0 0 auto;
	padding: 0.55rem 0.9rem;
	border-radius: 11px;
	text-decoration: none;
	color: var(--mod-ink);
	font-size: 0.86rem;
	font-weight: 650;
	white-space: nowrap;
}

.modstore-seg-item.is-active {
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	color: var(--business-primary-color, #1d1d1f);
}

.modstore-list {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--mod-line);
	border-radius: 18px;
	overflow: hidden;
	margin-bottom: 1rem;
}

.modstore-row {
	display: flex;
	align-items: flex-start;
	gap: 0.9rem;
	padding: 1rem 1.1rem;
	border-bottom: 1px solid var(--mod-line);
	text-decoration: none;
	color: inherit;
}

.modstore-row:last-child { border-bottom: 0; }

.modstore-row:hover { background: #fafafa; }

.modstore-row-icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 1.05rem;
	flex-shrink: 0;
	background: var(--business-primary-color, #1d1d1f);
}

.modstore-row-thumb {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	flex-shrink: 0;
	overflow: hidden;
	background-color: #e8e8ed;
	background-size: cover;
	background-position: center;
}

.modstore-row-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.modstore-row-excerpt {
	display: block;
	margin-top: 0.35rem;
	color: #86868b;
	line-height: 1.35;
}

.modstore-row-copy {
	flex: 1;
	min-width: 0;
}

.modstore-row-copy strong {
	display: block;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: -0.015em;
	margin-bottom: 0.2rem;
}

.modstore-row-copy p,
.modstore-row-copy small {
	margin: 0;
	font-size: 0.84rem;
	color: var(--mod-muted);
	line-height: 1.4;
}

.modstore-row-side {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 0.35rem;
	flex-shrink: 0;
}

.modstore-icon-btn {
	width: 2.15rem;
	height: 2.15rem;
	border: 0;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.05);
	color: #1d1d1f;
	text-decoration: none;
	cursor: pointer;
	flex-shrink: 0;
}

.modstore-icon-btn:hover {
	background: rgba(0, 0, 0, 0.09);
	color: #1d1d1f;
}

.modstore-icon-btn.is-danger {
	background: rgba(220, 38, 38, 0.08);
	color: #dc2626;
}

.modstore-icon-btn.is-danger:hover {
	background: rgba(220, 38, 38, 0.14);
	color: #b91c1c;
}

.modstore-icon-btn.is-primary {
	background: var(--business-primary-color, #1d1d1f);
	color: #fff;
}

.modstore-icon-btn.is-primary:hover {
	background: var(--business-primary-color, #1d1d1f);
	color: #fff;
	filter: brightness(1.08);
}

.rstore-header {
	align-items: center;
	gap: 0.75rem;
}

.rstore-header .modstore-title {
	flex: 1;
	min-width: 0;
}

.rstore-alias-btn {
	flex-shrink: 0;
}

.rstore-section {
	background: #fff;
	border: 1px solid var(--mod-line);
	border-radius: 18px;
	overflow: hidden;
}

.rstore-section .modstore-list {
	margin: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.rstore-section .modstore-empty {
	border: 0;
	border-radius: 0;
	background: transparent;
	margin: 0;
	padding: 1.5rem 1rem 0.75rem;
}

.rstore-section-add {
	display: flex;
	justify-content: center;
	padding: 0.75rem 1rem 1rem;
	border-top: 1px solid var(--mod-line);
}

.rstore-section-add .modstore-icon-btn {
	width: 2.5rem;
	height: 2.5rem;
	font-size: 1rem;
}

.modstore-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	padding: 0.2rem 0.55rem;
	border-radius: 980px;
	font-size: 0.7rem;
	font-weight: 750;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.modstore-pill-on { background: #ecfdf5; color: #047857; }
.modstore-pill-off { background: #fef2f2; color: #b91c1c; }
.modstore-pill-warn { background: #fffbeb; color: #b45309; }
.modstore-pill-info { background: #eff6ff; color: #1d4ed8; }
.modstore-pill-muted { background: var(--mod-surface); color: var(--mod-muted); }

.modstore-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin-top: 0.45rem;
}

.modstore-chip {
	display: inline-flex;
	padding: 0.2rem 0.55rem;
	border-radius: 980px;
	background: var(--mod-surface);
	font-size: 0.72rem;
	font-weight: 600;
	color: #515154;
}

.modstore-panel {
	background: #fff;
	border: 1px solid var(--mod-line);
	border-radius: 18px;
	padding: 1.2rem 1.25rem 1.35rem;
	margin-bottom: 1rem;
}

.modstore-panel-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.85rem;
}

.modstore-panel-head h2,
.modstore-panel-head h3 {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 750;
	letter-spacing: -0.02em;
}

.modstore-empty {
	text-align: center;
	padding: 3rem 1.5rem;
	background: var(--mod-surface);
	border-radius: 22px;
}

.modstore-empty-icon {
	width: 60px;
	height: 60px;
	margin: 0 auto 0.9rem;
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--business-primary-color, #1d1d1f);
	color: #fff;
	font-size: 1.4rem;
}

.modstore-empty strong {
	display: block;
	font-size: 1.25rem;
	margin-bottom: 0.35rem;
	letter-spacing: -0.02em;
}

.modstore-empty p {
	margin: 0 0 1.1rem;
	color: var(--mod-muted);
}

.modstore-actions {
	display: flex;
	justify-content: space-between;
	gap: 0.75rem;
	margin-top: 1.15rem;
}

.modstore-check {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	margin-bottom: 1rem;
	cursor: pointer;
}

.modstore-check strong { display: block; font-size: 0.95rem; }
.modstore-check small { display: block; color: var(--mod-muted); font-size: 0.8rem; margin-top: 0.15rem; }

.modstore .dp-field { margin-bottom: 1rem; }
.modstore .dp-help { margin: 0.3rem 0 0; font-size: 0.8rem; color: var(--mod-muted); }

.modstore-stars { color: #f59e0b; letter-spacing: 0.05em; }
.modstore-stars .is-empty { color: #d1d5db; }

.modstore-section-card {
	background: #fff;
	border: 1px solid var(--mod-line);
	border-radius: 18px;
	padding: 1.1rem 1.15rem;
	margin-bottom: 0.9rem;
}

.modstore-section-card-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.85rem;
}

.modstore-product-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.75rem 0;
	border-top: 1px solid var(--mod-line);
}

.modstore-product-row:first-of-type { border-top: 0; }

@media screen and (max-width: 768px) {
	.modstore-header:not(.rstore-header) { flex-direction: column; align-items: stretch; }
	.modstore-header:not(.rstore-header) .modstore-btn { width: 100%; }
	.rstore-header {
		flex-direction: row;
		align-items: center;
	}
	.rstore-header .modstore-title {
		font-size: clamp(1.55rem, 7vw, 2rem);
	}
	.rstore-progress-head {
		flex-wrap: wrap;
		gap: 0.65rem;
	}
	.rstore-progress-meta {
		width: 100%;
		justify-content: space-between;
	}
	.modstore-row { flex-wrap: wrap; }
	.modstore-row-side { width: auto; flex-direction: row; justify-content: flex-end; margin-left: auto; }
	.modstore-actions { flex-direction: column-reverse; }
	.modstore-actions .modstore-btn { width: 100%; }
	.modstore-section-card-head { flex-direction: column; }
}

/* ===== Category drawer (cstore) ===== */
.cstore-body #createCategoryForm {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.cstore-toggle {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	padding: 0.9rem 1rem;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.06);
	border-radius: 16px;
	cursor: pointer;
	margin: 0;
}

.cstore-toggle .switch {
	flex-shrink: 0;
	width: 48px;
	height: 28px;
}

/* Override studio.css blue toggles — siempre color de la app */
.istore .switch input:checked + .slider,
.modstore .switch input:checked + .slider,
.mform .switch input:checked + .slider,
.dstore .switch input:checked + .slider,
.cstore .switch input:checked + .slider,
.cstore-toggle .switch input:checked + .slider,
.estore .switch input:checked + .slider,
.rstore .switch input:checked + .slider {
	background-color: var(--business-primary-color, #1d1d1f) !important;
}

.istore .switch input:focus + .slider,
.modstore .switch input:focus + .slider,
.mform .switch input:focus + .slider,
.dstore .switch input:focus + .slider,
.cstore-toggle .switch input:focus + .slider {
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--business-primary-color, #1d1d1f) 25%, transparent) !important;
}

.cstore-toggle-copy {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	min-width: 0;
}

.cstore-toggle-copy strong {
	font-size: 0.95rem;
	font-weight: 650;
	color: #1d1d1f;
}

.cstore-toggle-copy small {
	font-size: 0.78rem;
	color: #86868b;
}

.cstore-identity {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	width: 100%;
	padding: 0.95rem 1rem;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.06);
	border-radius: 16px;
	cursor: pointer;
	text-align: left;
	font: inherit;
	color: inherit;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.cstore-identity:hover {
	background: #fafafa;
	border-color: rgba(0, 0, 0, 0.1);
	transform: none;
	box-shadow: none;
}

.cstore-identity-icon,
.cstore .category-icon-preview {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 1.35rem;
	margin: 0;
	flex-shrink: 0;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.cstore-identity:hover .category-icon-preview {
	transform: none;
}

.cstore-identity-copy {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.cstore-identity-copy strong {
	font-size: 0.95rem;
	font-weight: 650;
	color: #1d1d1f;
}

.cstore-identity-copy small {
	font-size: 0.8rem;
	color: #86868b;
}

.cstore-identity-chevron {
	color: #c7c7cc;
	font-size: 0.85rem;
	flex-shrink: 0;
}

.cstore-panel {
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.06);
	border-radius: 16px;
	padding: 1rem 1.05rem 0.35rem;
}

.cstore-panel .dp-field {
	margin-bottom: 1rem;
}

/* ===== Icon + color selector modal (v2 — estilo personalizar) ===== */
.icon-color-selector-modal {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: none;
}

.icon-color-selector-modal.show {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.icon-color-selector-overlay {
	position: absolute;
	inset: 0;
	background: rgba(15, 15, 18, 0.45);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.icon-color-selector-content {
	position: relative;
	z-index: 10001;
	width: min(880px, 96vw);
	max-height: min(86vh, 760px);
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 28px;
	box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
	overflow: hidden;
}

.icon-color-selector-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.25rem 1.4rem 1.05rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
	background: #fff;
	flex-shrink: 0;
}

.icon-color-selector-kicker {
	margin: 0 0 0.2rem;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #86868b;
}

.icon-color-selector-header h3 {
	margin: 0;
	font-size: 1.55rem;
	font-weight: 800;
	letter-spacing: -0.04em;
	color: #111;
	line-height: 1.1;
}

.icon-color-selector-close {
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 980px;
	background: #f2f2f4;
	color: #1d1d1f;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-size: 0.95rem;
}

.icon-color-selector-close:hover {
	background: #e8e8ed;
}

.icon-color-selector-body {
	display: flex;
	gap: 0;
	flex: 1;
	min-height: 0;
	overflow: hidden;
	padding: 0;
}

.icon-color-selector-column {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	padding: 1.1rem 1.25rem 1.25rem;
	overflow-y: auto;
}

.icon-color-selector-column h4 {
	margin: 0 0 0.9rem;
	font-size: 0.7rem;
	font-weight: 750;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #86868b;
}

.icon-column {
	border-right: 1px solid rgba(0, 0, 0, 0.07);
	flex: 1.15;
}

.color-column {
	flex: 0.95;
}

.icon-color-selector-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.75rem;
	padding: 1rem 1.25rem 1.15rem;
	border-top: 1px solid rgba(0, 0, 0, 0.06);
	background: #fff;
	flex-shrink: 0;
}

.ics-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 7.5rem;
	padding: 0.72rem 1.35rem;
	border-radius: 16px;
	border: 0;
	font: inherit;
	font-size: 0.95rem;
	font-weight: 700;
	cursor: pointer;
	transition: opacity 0.15s ease, transform 0.15s ease, background 0.15s ease;
}

.ics-btn:hover { opacity: 0.94; }
.ics-btn:active { transform: scale(0.98); }

.ics-btn-ghost {
	background: #f2f2f4;
	color: #1d1d1f;
}

.ics-btn-solid {
	background: #111;
	color: #fff;
}

.icon-selector-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.75rem;
}

.color-selector-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0.75rem;
}

.icon-selector-item,
.color-selector-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.45rem;
	padding: 0.65rem 0.35rem 0.55rem;
	border-radius: 18px;
	cursor: pointer;
	background: transparent;
	border: 2.5px solid transparent;
	transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
	min-width: 0;
	box-sizing: border-box;
}

.icon-selector-item:hover,
.color-selector-item:hover {
	background: #f7f7f8;
	transform: translateY(-1px);
}

.icon-selector-item.is-selected,
.color-selector-item.is-selected {
	background: #fff;
	border-color: #111;
	box-shadow: none;
}

.icon-selector-icon {
	width: 52px;
	height: 52px;
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 1.35rem;
	background:
		linear-gradient(165deg, rgba(255, 255, 255, 0.42) 0%, transparent 42%),
		linear-gradient(180deg, color-mix(in srgb, var(--ics-accent, #3b82f6) 88%, #fff) 0%, var(--ics-accent, #3b82f6) 100%);
	box-shadow:
		0 8px 18px color-mix(in srgb, var(--ics-accent, #3b82f6) 35%, transparent),
		inset 0 1px 0 rgba(255, 255, 255, 0.45),
		inset 0 -2px 6px rgba(0, 0, 0, 0.12);
}

.icon-selector-icon i {
	color: #fff;
	filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.18));
}

.icon-selector-label,
.color-selector-label {
	color: #1d1d1f;
	font-size: 0.7rem;
	font-weight: 650;
	text-align: center;
	line-height: 1.2;
	word-break: break-word;
}

.color-selector-swatch {
	width: 44px;
	height: 44px;
	border-radius: 14px;
	box-shadow:
		0 6px 14px rgba(0, 0, 0, 0.12),
		inset 0 1px 0 rgba(255, 255, 255, 0.35),
		inset 0 -2px 5px rgba(0, 0, 0, 0.1);
	border: 0;
}

@media screen and (max-width: 768px) {
	.icon-color-selector-content {
		width: 100%;
		max-height: 92vh;
		border-radius: 22px 22px 0 0;
		align-self: flex-end;
	}

	.icon-color-selector-modal.show {
		align-items: flex-end;
		padding: 0;
	}

	.icon-color-selector-body {
		flex-direction: column;
		overflow-y: auto;
	}

	.icon-column {
		border-right: 0;
		border-bottom: 1px solid rgba(0, 0, 0, 0.06);
	}

	.icon-selector-grid,
	.color-selector-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.icon-color-selector-footer {
		flex-direction: row;
	}

	.ics-btn { flex: 1; }
}

/* ===== Product drawer (prstore) ===== */
.prstore-body #createProductForm {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.prstore-panel {
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.06);
	border-radius: 16px;
	padding: 1rem 1.05rem 1.05rem;
}

.prstore-panel-head {
	margin-bottom: 0.85rem;
}

.prstore-panel-head strong {
	display: block;
	font-size: 1.05rem;
	font-weight: 750;
	letter-spacing: -0.02em;
	color: #1d1d1f;
}

.prstore-panel-head small {
	display: block;
	margin-top: 0.2rem;
	font-size: 0.8rem;
	color: #86868b;
}

.prstore-row {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 0.75rem;
}

.prstore-row .dp-field { margin-bottom: 0.85rem; }

.prstore-toggle {
	margin-top: 0.15rem;
	border: 0;
	padding: 0.65rem 0 0.15rem;
	background: transparent;
	border-radius: 0;
}

.prstore-info {
	display: grid;
	grid-template-columns: 148px minmax(0, 1fr);
	gap: 0.9rem;
	align-items: stretch;
	margin-bottom: 0.35rem;
}

.prstore-info-fields {
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.prstore-info-fields .dp-field {
	margin-bottom: 0.7rem;
}

.prstore-info-fields .dp-field:last-child {
	margin-bottom: 0;
	flex: 1;
}

.prstore-info-fields .dp-textarea {
	min-height: 88px;
	height: 100% !important;
}

.prstore .product-image-upload-card.prstore-image {
	position: relative;
	width: 100%;
	height: auto;
	min-height: 148px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 16px;
	background: #f2f2f4;
	overflow: hidden;
	align-self: stretch;
}

.prstore .product-image-upload-card.prstore-image:hover {
	border: 0;
	background: #ececef;
}

.prstore .product-image-placeholder {
	width: 100%;
	height: 100%;
	min-height: 0;
	gap: 0;
}

.prstore .product-image-preview {
	width: 100%;
	height: 100%;
	border-radius: 16px;
}

.prstore .product-image-preview img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.prstore-image-cam {
	position: absolute;
	right: 8px;
	bottom: 8px;
	z-index: 2;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	color: #1d1d1f;
	font-size: 0.72rem;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
	pointer-events: none;
}

.prstore .product-image-remove {
	width: 26px;
	height: 26px;
	top: 6px;
	right: 6px;
	font-size: 0.7rem;
}

.prstore select.dp-input {
	background-color: #fafafa !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%236e6e73' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M1 1.2 6 6.2 11 1.2'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 14px center !important;
	background-size: 12px 8px !important;
	padding-right: 36px !important;
}

.prstore-variants {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	margin-bottom: 0.75rem;
}

.prstore-variants-empty {
	margin: 0;
	font-size: 0.85rem;
	color: #86868b;
}

.prstore-variant {
	display: grid;
	grid-template-columns: 1fr 110px 40px;
	gap: 0.5rem;
	align-items: center;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
}

.prstore-variant .dp-input {
	margin: 0;
}

.prstore-variant-remove {
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 12px;
	background: #fef2f2;
	color: #dc2626;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.prstore-variant-remove:hover {
	background: #fee2e2;
}

.prstore-add-variant {
	width: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0.7rem 1rem;
	border: 0;
	border-radius: 980px;
	background: var(--business-primary-color, #1d1d1f);
	color: #fff;
	font: inherit;
	font-size: 0.9rem;
	font-weight: 700;
	cursor: pointer;
}

.prstore-add-variant:hover { opacity: 0.92; }

.prstore-empty {
	text-align: center;
	padding: 2rem 1.25rem;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.06);
	border-radius: 18px;
}

.prstore-empty-icon {
	width: 56px;
	height: 56px;
	margin: 0 auto 0.9rem;
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: color-mix(in srgb, var(--business-primary-color, #1d1d1f) 12%, #fff);
	color: var(--business-primary-color, #1d1d1f);
	font-size: 1.35rem;
}

.prstore-empty strong {
	display: block;
	font-size: 1.15rem;
	letter-spacing: -0.02em;
	margin-bottom: 0.35rem;
}

.prstore-empty p {
	margin: 0 0 1.1rem;
	color: #86868b;
	font-size: 0.9rem;
	line-height: 1.4;
}

.prstore-empty .dstore-store-btn {
	margin: 0 auto;
}

@media screen and (max-width: 560px) {
	.prstore-info { grid-template-columns: 1fr; }
	.prstore .product-image-upload-card.prstore-image {
		width: 100%;
		height: 180px;
	}
	.prstore-row { grid-template-columns: 1fr; }
	.prstore-variant { grid-template-columns: 1fr 90px 36px; }
}

body.studio-layout[data-studio-theme="dark"] .prstore .product-image-upload-card.prstore-image {
	border: 0;
	background: #2c2c2e;
}

body.studio-layout[data-studio-theme="dark"] .prstore .product-image-upload-card.prstore-image:hover {
	border: 0;
	background: #3a3a3c;
}

body.studio-layout[data-studio-theme="dark"] .prstore-image-cam {
	background: #1c1c1e;
	color: #f5f5f7;
}

body.studio-layout[data-studio-theme="dark"] .prstore select.dp-input {
	background-color: #2c2c2e !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23aeaeb2' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M1 1.2 6 6.2 11 1.2'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 14px center !important;
	background-size: 12px 8px !important;
}

/* Toast polish */
.studio-toast {
	top: 1.1rem;
	right: 1.1rem;
	left: auto;
	border-radius: 14px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
	border: 1px solid rgba(0, 0, 0, 0.06);
	z-index: 12000;
	min-width: 280px;
	max-width: min(420px, calc(100vw - 2rem));
}

.studio-toast-error { border-left: 4px solid #ef4444; }
.studio-toast-error .studio-toast-content i { color: #ef4444; }
.studio-toast-info { border-left: 4px solid #3b82f6; }
.studio-toast-info .studio-toast-content i { color: #3b82f6; }

@media screen and (max-width: 480px) {
	.studio-toast {
		left: 1rem;
		right: 1rem;
		min-width: 0;
		max-width: none;
		transform: translateY(-24px);
	}
	.studio-toast.show { transform: translateY(0); }
}

/* ===== Create app drawer (astore) ===== */
.app-drawer-panel:has(.astore) {
	--drawer-pad-x: 1.85rem;
	--drawer-pad-y: 1.35rem;
	--astore-ink: #1d1d1f;
	--astore-muted: #6e6e73;
	--astore-app-color: #1d1d1f;
}

.app-drawer-panel:has(.astore) {
	background:
		radial-gradient(900px 420px at 100% -10%, rgba(37, 99, 235, 0.14), transparent 55%),
		radial-gradient(700px 380px at -10% 20%, rgba(8, 145, 178, 0.12), transparent 50%),
		radial-gradient(640px 360px at 80% 100%, rgba(124, 58, 237, 0.1), transparent 55%),
		#f2f3f7 !important;
}

.app-drawer-panel:has(.astore) .app-drawer-content.dstore-body.astore-body,
.app-drawer-panel:has(.astore) .dstore-body.astore-body {
	padding: var(--drawer-pad-y) var(--drawer-pad-x) 2rem !important;
	box-sizing: border-box !important;
	background: transparent !important;
}

/* Chrome del drawer: siempre tinta Studio, nunca el color de la app */
.astore .dstore-kicker,
.astore .astore-kicker {
	color: var(--astore-ink) !important;
}

.astore .dstore-store-btn,
.astore .astore-create-btn {
	background: linear-gradient(135deg, #1d1d1f 0%, #334155 100%) !important;
	color: #fff !important;
	box-shadow: 0 8px 20px rgba(29, 29, 31, 0.22) !important;
}

.astore .dstore-store-btn:hover,
.astore .astore-create-btn:hover {
	opacity: 1 !important;
	filter: brightness(1.08);
}

.app-drawer-panel:has(.astore) .dstore-header.app-drawer-header,
.astore .astore-header {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 245, 247, 0.88)) !important;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.astore-body #createAppForm,
.astore-form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.astore-panel {
	position: relative;
	overflow: hidden;
	background: linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%);
	border: 1px solid rgba(0, 0, 0, 0.06);
	border-radius: 20px;
	padding: 1.15rem 1.2rem 1.25rem;
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.astore-panel::before {
	content: '';
	position: absolute;
	inset: 0 auto auto 0;
	width: 100%;
	height: 3px;
	background: linear-gradient(90deg, #2563eb, #0891b2, #7c3aed);
	opacity: 0.85;
}

.astore-panel--kind::before {
	background: linear-gradient(90deg, #2563eb, #38bdf8);
}

.astore-panel--identity::before {
	background: linear-gradient(90deg, #0d9488, #22c55e);
}

.astore-panel--color::before {
	background: linear-gradient(90deg, #7c3aed, #db2777, #2563eb);
}

.astore-step {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.astore-step-num {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	border-radius: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.78rem;
	font-weight: 800;
	color: #fff;
	background: linear-gradient(135deg, #1d1d1f, #475569);
	box-shadow: 0 6px 14px rgba(29, 29, 31, 0.18);
}

.astore-panel--kind .astore-step-num {
	background: linear-gradient(135deg, #1d4ed8, #2563eb);
}

.astore-panel--identity .astore-step-num {
	background: linear-gradient(135deg, #0f766e, #14b8a6);
}

.astore-panel--color .astore-step-num {
	background: linear-gradient(135deg, #6d28d9, #a855f7);
}

.astore-panel-head {
	margin: 0;
	min-width: 0;
}

.astore-panel-head strong {
	display: block;
	font-size: 1.05rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--astore-ink);
}

.astore-panel-head small {
	display: block;
	margin-top: 0.15rem;
	font-size: 0.8rem;
	color: var(--astore-muted);
	font-weight: 500;
}

.astore-giro-help {
	margin: 0 0 0.65rem;
	font-size: 0.8rem;
	color: var(--astore-muted);
}

.astore-giro-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.astore-giro-chip {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 0.45rem 0.78rem;
	border-radius: 980px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	background: linear-gradient(180deg, #fff, #f5f5f7);
	color: var(--astore-ink);
	font-size: 0.78rem;
	font-weight: 650;
	cursor: pointer;
	user-select: none;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.12s ease;
}

.astore-giro-chip input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.astore-giro-chip:hover {
	border-color: rgba(29, 29, 31, 0.28);
	transform: translateY(-1px);
}

.astore-giro-chip.is-selected {
	background: linear-gradient(135deg, #1d1d1f, #334155);
	border-color: transparent;
	color: #fff;
	box-shadow: 0 8px 16px rgba(29, 29, 31, 0.18);
}

.astore-giro-children-wrap {
	margin-top: 0.95rem;
	padding-top: 0.85rem;
	border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.astore-giro-children-wrap.is-hidden,
.astore-giro-children.is-hidden,
.astore-giro-children[hidden] {
	display: none !important;
}

.astore-giro-child-label {
	margin-bottom: 0.55rem;
}

.astore-giro-parent-chip span {
	font-weight: 700;
}

.astore-giro-child-chip {
	background: #fff;
}

.astore-giro-child-chip.is-selected {
	background: linear-gradient(135deg, #0f766e, #14b8a6);
}

.astore-errors {
	padding: 0.85rem 1rem;
	border-radius: 14px;
	background: linear-gradient(135deg, #fef2f2, #fff1f2);
	border: 1px solid #fecaca;
	color: #b91c1c;
	margin-bottom: 0.85rem;
}

.astore-errors p {
	margin: 0;
	font-size: 0.9rem;
	font-weight: 600;
}

.astore-errors p + p { margin-top: 0.35rem; }

.astore-colors {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.15rem;
}

.astore-color-stage {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 112px;
	height: 112px;
	border-radius: 50%;
	background:
		radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.7), transparent 45%),
		conic-gradient(from 210deg, #2563eb, #0E4B3A, #ea580c, #a855f7, #ec4899, #ef4444, #2563eb);
	padding: 5px;
	box-shadow: 0 14px 30px rgba(37, 99, 235, 0.18);
}

.astore .drawer-color-preview.astore-color-preview {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
	border: 4px solid #fff;
	flex-shrink: 0;
	background: var(--astore-app-color, #2563eb);
}

.astore .drawer-color-options.astore-color-options {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.55rem;
	width: 100%;
	max-width: 280px;
}

.astore .drawer-color-btn {
	width: 34px;
	height: 34px;
	min-height: 0;
	aspect-ratio: 1;
	border-radius: 50%;
	border: 2px solid transparent !important;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
	cursor: pointer;
	position: relative;
	padding: 0;
	flex: 0 0 34px;
	transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.astore .drawer-color-btn:hover {
	transform: scale(1.08);
}

.astore .drawer-color-btn.is-selected {
	border-color: transparent !important;
	box-shadow:
		0 0 0 2px #fff,
		0 0 0 4px var(--astore-ink);
	transform: none;
}

.astore .drawer-color-btn.is-selected::after {
	content: "\f00c";
	font-family: "Font Awesome 5 Free", "Font Awesome 6 Free", FontAwesome;
	font-weight: 900;
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 0.75rem;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

@media screen and (max-width: 420px) {
	.astore-color-stage {
		width: 96px;
		height: 96px;
	}

	.astore .drawer-color-btn {
		width: 30px;
		height: 30px;
		flex-basis: 30px;
	}
}

/* ===== Product detail drawer (pdetail) ===== */
.pdetail-body {
	display: flex;
	flex-direction: column;
	gap: 0.95rem;
}

.pdetail-hero {
	position: relative;
	width: 100%;
	border-radius: 18px;
	overflow: hidden;
	background: #ececf0;
	aspect-ratio: 16 / 11;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.pdetail-hero-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.pdetail-hero-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	color: #86868b;
	font-size: 0.85rem;
	font-weight: 550;
}

.pdetail-hero-empty i {
	font-size: 1.6rem;
	opacity: 0.7;
}

.pdetail-panel {
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.06);
	border-radius: 16px;
	padding: 1.1rem 1.15rem;
}

.pdetail-title-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.45rem;
}

.pdetail-name {
	margin: 0;
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: #1d1d1f;
	line-height: 1.15;
}

.pdetail-desc {
	margin: 0 0 1rem;
	font-size: 0.95rem;
	color: #86868b;
	line-height: 1.45;
}

.pdetail-pill {
	display: inline-flex;
	align-items: center;
	padding: 0.28rem 0.65rem;
	border-radius: 980px;
	font-size: 0.72rem;
	font-weight: 700;
	flex-shrink: 0;
	white-space: nowrap;
}

.pdetail-pill-on {
	background: #ecfdf5;
	color: #047857;
}

.pdetail-pill-off {
	background: #fef2f2;
	color: #b91c1c;
}

.pdetail-price {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.75rem;
	padding-top: 0.85rem;
	border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.pdetail-price-label {
	font-size: 0.8rem;
	font-weight: 650;
	color: #86868b;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.pdetail-price strong {
	font-size: 1.45rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--business-primary-color, #1d1d1f);
}

.pdetail-panel-head {
	margin-bottom: 0.75rem;
}

.pdetail-panel-head strong {
	display: block;
	font-size: 1rem;
	font-weight: 750;
	letter-spacing: -0.02em;
	color: #1d1d1f;
}

.pdetail-panel-head small {
	display: block;
	margin-top: 0.15rem;
	font-size: 0.78rem;
	color: #86868b;
}

.pdetail-variants {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.pdetail-variant {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.7rem 0.85rem;
	border-radius: 12px;
	background: #f5f5f7;
	font-size: 0.92rem;
	font-weight: 550;
	color: #1d1d1f;
}

.pdetail-variant strong {
	color: var(--business-primary-color, #1d1d1f);
	font-weight: 750;
}

.pdetail-muted {
	margin: 0;
	font-size: 0.88rem;
	color: #86868b;
}

.pdetail-actions {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	margin-top: 0.25rem;
	padding-bottom: 0.5rem;
}

.pdetail-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	width: 100%;
	padding: 0.8rem 1.1rem;
	border: 0;
	border-radius: 980px;
	font: inherit;
	font-size: 0.95rem;
	font-weight: 700;
	cursor: pointer;
	transition: opacity 0.15s ease, transform 0.15s ease;
}

.pdetail-btn:active { transform: scale(0.98); }
.pdetail-btn:hover { opacity: 0.92; }

.pdetail-btn-solid {
	background: var(--business-primary-color, #1d1d1f);
	color: #fff;
}

.pdetail-btn-danger {
	background: #fef2f2;
	color: #dc2626;
}

.pdetail-empty {
	text-align: center;
	padding: 2.5rem 1.25rem;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.06);
	border-radius: 18px;
}

.pdetail-empty-icon {
	width: 56px;
	height: 56px;
	margin: 0 auto 0.9rem;
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: color-mix(in srgb, var(--business-primary-color, #1d1d1f) 12%, #fff);
	color: var(--business-primary-color, #1d1d1f);
	font-size: 1.35rem;
}

.pdetail-empty strong {
	display: block;
	font-size: 1.15rem;
	letter-spacing: -0.02em;
	margin-bottom: 0.35rem;
}

.pdetail-empty p {
	margin: 0;
	color: #86868b;
	font-size: 0.9rem;
}

/* ===== Module forms (coupons / menu drawers) ===== */
.mform-body {
	display: flex;
	flex-direction: column;
	gap: 1.15rem;
}

.mform-body #couponForm,
.mform-body #sectionForm,
.mform-body #addProductForm {
	display: flex;
	flex-direction: column;
	gap: 1.15rem;
}

.mform-panel {
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.06);
	border-radius: 16px;
	padding: 1rem 1.05rem 0.35rem;
}

.bstore #blogForm,
.ostore #offersForm {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.bstore .mform-panel,
.ostore .mform-panel {
	padding: 0.85rem 1.05rem 0.85rem;
	margin: 0;
}

.ostore .modstore-stats {
	grid-template-columns: repeat(2, minmax(0, 220px));
}

.mkstore .modstore-stats {
	grid-template-columns: repeat(2, minmax(0, 220px));
}

.mkstore-catalog {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
}

@media (min-width: 900px) {
	.mkstore-catalog {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 1rem;
	}
}

.mkstore-card {
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.06);
	border-radius: 14px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.mkstore-card.is-off {
	opacity: 0.72;
}

.mkstore-card-hit {
	display: block;
	width: 100%;
	border: 0;
	padding: 0;
	background: transparent;
	text-align: left;
	cursor: pointer;
	color: inherit;
}

.mkstore-card-media {
	display: block;
	aspect-ratio: 1 / 1;
	background: #f0f2f5;
	overflow: hidden;
}

.mkstore-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.mkstore-card-ph {
	width: 100%;
	height: 100%;
	display: grid;
	place-items: center;
	color: #8696a0;
	font-size: 1.6rem;
}

.mkstore-card-body {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	padding: 0.7rem 0.75rem 0.35rem;
}

.mkstore-card-body strong {
	font-size: 0.92rem;
	line-height: 1.25;
	letter-spacing: -0.02em;
	color: #111b21;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.mkstore-card-body em {
	font-style: normal;
	font-weight: 700;
	font-size: 0.95rem;
	color: #111b21;
}

.mkstore-card-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	padding: 0.2rem 0.65rem 0.35rem;
}

.mkstore-card-actions:last-child {
	padding-bottom: 0.7rem;
}

.ostore-row-excerpt {
	margin: 0.35rem 0 0;
	font-size: 0.86rem;
	line-height: 1.4;
	color: #86868b;
}

.odetail-price {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #1d1d1f;
}

.edetail-contact-icons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.55rem;
}

.edetail-contact-icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--business-primary-color, #1d1d1f);
	color: #fff;
	text-decoration: none;
	font-size: 1.15rem;
	transition: transform 0.12s ease, opacity 0.12s ease;
}

.edetail-contact-icon:hover {
	transform: translateY(-1px);
	opacity: 0.92;
	color: #fff;
}

.edetail-contact-icon.is-whatsapp {
	background: #25d366;
}

.mkdetail-cover {
	aspect-ratio: 1 / 1;
}

.mkdetail-cover-empty {
	display: flex;
	align-items: center;
	justify-content: center;
}

.dp-field[hidden] {
	display: none !important;
}

#offersForm:has(#offer_type option[value="service"]:checked) [data-offer-link],
#offersForm:has(#offer_type option[value="service"]:checked) [data-offer-image],
#offersForm:has(#offer_type option[value="thing"]:checked) [data-offer-map] {
	display: none !important;
}

.ostore-map-tools {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	margin-bottom: 0.65rem;
}

.ostore-geo-btn {
	position: static;
	transform: none;
	flex: 0 0 auto;
}

.ostore-map-tools .istore-geo-hint {
	margin: 0;
}

.ostore-link-preview {
	margin-top: 0.75rem;
	border-radius: 14px;
	overflow: hidden;
	background: #f5f5f7;
}

.ostore-link-preview img {
	display: block;
	width: 100%;
	max-height: 180px;
	object-fit: cover;
}

.dp-label-hint {
	display: block;
	margin-top: 0.2rem;
	font-size: 0.78rem;
	font-weight: 500;
	color: #86868b;
	letter-spacing: 0;
	text-transform: none;
}

.bstore-url-bar {
	display: flex;
	align-items: stretch;
	width: 100%;
	min-width: 0;
	border: 1px solid rgba(0, 0, 0, 0.14);
	border-radius: 14px;
	background: #fff;
	overflow: hidden;
}

.bstore-url-addon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	flex-shrink: 0;
	color: #6e6e73;
	border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.bstore-url-input.dp-input {
	flex: 1;
	min-width: 0;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
}

.bstore-url-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.85rem;
	flex-shrink: 0;
	border: 0;
	border-left: 1px solid rgba(0, 0, 0, 0.1);
	background: transparent;
	color: var(--business-primary-color, #1d1d1f);
	font-size: 0.95rem;
	cursor: pointer;
}

.bstore-url-action:hover {
	background: #f5f5f7;
}

.bstore-url-action:disabled,
.bstore-url-action.is-loading {
	opacity: 0.65;
	cursor: wait;
	pointer-events: none;
}

.mform-collapse-toggle {
	width: 100%;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.mform-collapse-toggle .mform-panel-head {
	margin-bottom: 0;
	flex: 1;
	min-width: 0;
}

.mform-collapse-chevron {
	width: 28px;
	height: 28px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	background: #f5f5f7;
	color: #6e6e73;
	transition: transform 0.28s ease;
}

.mform-collapse.is-open > .mform-collapse-toggle .mform-collapse-chevron {
	transform: rotate(180deg);
}

.mform-collapse-body {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.32s ease;
}

.mform-collapse.is-open > .mform-collapse-body {
	grid-template-rows: 1fr;
}

.mform-collapse-inner {
	overflow: hidden;
	min-height: 0;
}

.mform-collapse.is-open > .mform-collapse-body > .mform-collapse-inner {
	padding-top: 0.9rem;
}

.mform-panel-head {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	margin-bottom: 0.9rem;
}

.mform-panel-head strong {
	font-size: 0.95rem;
	font-weight: 650;
	color: #1d1d1f;
	letter-spacing: -0.01em;
}

.mform-panel-head small {
	font-size: 0.8rem;
	color: #86868b;
}

.mform-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 0.75rem;
}

.mform-row > .dp-field {
	min-width: 0;
}

.mform-row .dp-input {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

/* datetime-local y campos anchos: apilar en el drawer */
.mform-row-stack,
.app-drawer-panel .mform-row:has(input[type="datetime-local"]),
.app-drawer-panel .mform-row:has(input[type="date"]),
.app-drawer-panel .mform-row:has(input[type="datetime"]) {
	grid-template-columns: 1fr;
}

.mform-toggle {
	margin: 0.35rem 0 1rem;
}

.mform-search-wrap {
	position: relative;
	z-index: 2;
}

.mform-search {
	position: relative;
}

.mform-search > i.fa-search {
	position: absolute;
	left: 0.95rem;
	top: 50%;
	transform: translateY(-50%);
	color: #86868b;
	font-size: 0.85rem;
	pointer-events: none;
	z-index: 1;
}

.mform-search .dp-input {
	padding-left: 2.35rem;
}

.mform-search-dropdown,
.mform .search-results-dropdown {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 0.35rem);
	max-height: 220px;
	overflow-y: auto;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(16px) saturate(160%);
	-webkit-backdrop-filter: blur(16px) saturate(160%);
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 14px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
	z-index: 20;
}

.mform .search-result-item {
	padding: 0.75rem 0.95rem;
	font-size: 0.9rem;
	color: #1d1d1f;
	cursor: pointer;
	border-bottom: 1px solid rgba(0, 0, 0, 0.04);
	transition: background 0.12s ease;
}

.mform .search-result-item:last-child {
	border-bottom: none;
}

.mform .search-result-item:hover {
	background: color-mix(in srgb, var(--business-primary-color, #1d1d1f) 10%, #fff);
}

.mform .search-no-results,
.mform-search-empty {
	padding: 0.9rem 1rem;
	font-size: 0.85rem;
	color: #86868b;
	text-align: center;
}

.mform-selected-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin: 0.35rem 0 0.55rem;
	font-size: 0.8rem;
	font-weight: 600;
	color: #86868b;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.mform-count-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.4rem;
	height: 1.4rem;
	padding: 0 0.4rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--business-primary-color, #1d1d1f) 16%, #fff);
	color: var(--business-primary-color, #1d1d1f);
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0;
}

.mform-selected-list,
.mform .selected-products-list {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	min-height: 3.5rem;
	margin-bottom: 0.85rem;
}

.mform-chip,
.mform .selected-product-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.65rem;
	padding: 0.7rem 0.85rem;
	background: #f5f5f7;
	border: 1px solid rgba(0, 0, 0, 0.04);
	border-radius: 12px;
}

.mform .selected-product-item-name {
	font-size: 0.9rem;
	font-weight: 550;
	color: #1d1d1f;
	min-width: 0;
}

.mform .selected-product-item-remove {
	width: 28px;
	height: 28px;
	border: none;
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.05);
	color: #86868b;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: background 0.12s ease, color 0.12s ease;
}

.mform .selected-product-item-remove:hover {
	background: #fee2e2;
	color: #dc2626;
}

.mform-empty-inline {
	text-align: center;
	padding: 1.35rem 0.75rem;
	color: #86868b;
}

.mform-empty-inline i {
	font-size: 1.35rem;
	margin-bottom: 0.45rem;
	opacity: 0.7;
	display: block;
}

.mform-empty-inline p {
	margin: 0 0 0.2rem;
	font-size: 0.9rem;
	font-weight: 550;
	color: #6e6e73;
}

.mform-empty-inline small {
	font-size: 0.78rem;
}

.mform-warn {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	padding: 0.8rem 0.9rem;
	margin-bottom: 0.85rem;
	border-radius: 12px;
	background: #fff7ed;
	color: #9a3412;
	font-size: 0.82rem;
	line-height: 1.4;
}

.mform-warn i {
	margin-top: 0.1rem;
	color: #1d1d1f;
}

@media (max-width: 560px) {
	.mform-row {
		grid-template-columns: 1fr;
	}
}

/* ===== Mis Apps (mystore) ===== */
.mystore {
	--mystore-accent: var(--business-primary-color, var(--st-orange, #1d1d1f));
	width: 100%;
}

.mystore-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
	gap: 1.35rem;
	align-items: start;
}

.mystore-main {
	min-width: 0;
}

.mystore-aside {
	position: sticky;
	top: 5.5rem;
}

.mystore-aside-panel {
	position: relative;
	overflow: hidden;
	padding: 1.4rem 1.35rem 1.25rem;
	border-radius: 22px;
	border: 1px solid rgba(0, 0, 0, 0.06);
	background:
		radial-gradient(120% 80% at 100% 0%, color-mix(in srgb, var(--mystore-accent) 22%, #fff) 0%, transparent 55%),
		linear-gradient(165deg, #fff 0%, #f7f7f8 100%);
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.04);
}

.mystore-aside-kicker {
	margin: 0 0 0.35rem;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--mystore-accent);
}

.mystore-aside-title {
	margin: 0 0 0.45rem;
	font-size: 1.25rem;
	font-weight: 750;
	letter-spacing: -0.03em;
	color: #1d1d1f;
	line-height: 1.2;
}

.mystore-aside-text {
	margin: 0 0 1.1rem;
	font-size: 0.88rem;
	line-height: 1.45;
	color: #6e6e73;
}

.mystore-aside-tips {
	list-style: none;
	margin: 0.35rem 0 0;
	padding: 0.95rem 0 0;
	border-top: 1px solid rgba(0, 0, 0, 0.06);
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.mystore-aside-tips li {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	font-size: 0.82rem;
	font-weight: 550;
	color: #3a3a3c;
}

.mystore-aside-tips i {
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: color-mix(in srgb, var(--mystore-accent) 12%, #fff);
	color: var(--mystore-accent);
	font-size: 0.7rem;
	flex-shrink: 0;
}

.mystore-intro {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.25rem;
	margin-bottom: 1.35rem;
	padding-bottom: 1.15rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mystore-kicker {
	margin: 0 0 0.25rem;
	font-size: 0.72rem;
	font-weight: 650;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--mystore-accent);
}

.mystore-title {
	margin: 0 0 0.3rem;
	font-size: clamp(1.55rem, 2.6vw, 2rem);
	font-weight: 750;
	letter-spacing: -0.035em;
	color: #1d1d1f;
	line-height: 1.15;
}

.mystore-subtitle {
	margin: 0;
	font-size: 0.92rem;
	color: #86868b;
}

.mystore-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.65rem 1.15rem;
	border: none;
	border-radius: 980px;
	background: var(--mystore-accent);
	color: #fff;
	font: inherit;
	font-size: 0.9rem;
	font-weight: 650;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.15s ease, transform 0.15s ease;
}

.mystore-cta:hover {
	background: color-mix(in srgb, var(--mystore-accent) 88%, #000);
	transform: none;
	color: #fff;
}

.mystore-toolbar {
	margin-bottom: 1.1rem !important;
}

.mystore-filter {
	padding: 0.35rem 0.55rem 0.35rem 0.85rem;
	background: rgba(0, 0, 0, 0.035);
	border-radius: 12px;
}

.mystore-filter .studio-filter-label {
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #86868b;
}

.mystore .studio-view-switcher {
	background: rgba(0, 0, 0, 0.035);
	border-radius: 12px;
	padding: 4px;
	gap: 2px;
}

.mystore .studio-view-btn {
	width: 36px;
	height: 36px;
	border-radius: 9px;
	color: #86868b;
	background: transparent;
	border: none;
	cursor: pointer;
}

.mystore .studio-view-btn:hover {
	color: #1d1d1f;
	background: rgba(255, 255, 255, 0.55);
}

.mystore .studio-view-btn.is-active {
	background: #fff !important;
	color: var(--mystore-accent) !important;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.mystore-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 1rem;
}

.mystore-card {
	position: relative;
	background: #fff !important;
	border: 1px solid rgba(0, 0, 0, 0.06) !important;
	border-radius: 20px !important;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03) !important;
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.mystore-card:hover {
	transform: translateY(-2px);
	border-color: rgba(0, 0, 0, 0.1) !important;
	box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08) !important;
}

.mystore-card-link {
	display: flex;
	flex-direction: column;
	padding: 1.15rem 1.2rem 1.05rem !important;
	min-height: 100%;
	color: inherit;
	text-decoration: none;
}

.mystore-card-top {
	margin-bottom: 0.85rem !important;
}

.mystore .appcenter-platform-badge {
	border-radius: 980px !important;
	padding: 0.3rem 0.65rem !important;
	font-size: 0.7rem !important;
	background: color-mix(in srgb, var(--mystore-accent) 12%, #fff) !important;
	color: var(--mystore-accent) !important;
}

.mystore .appcenter-delete-btn {
	position: static;
	width: 30px;
	height: 30px;
	border-radius: 9px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.15s ease, background 0.15s ease;
}

.mystore-card:hover .appcenter-delete-btn,
.mystore-card:focus-within .appcenter-delete-btn {
	opacity: 1;
	pointer-events: auto;
}

.mystore-icon {
	width: 72px !important;
	height: 72px !important;
	margin: 0 auto 0.95rem !important;
	border-radius: 18px !important;
	overflow: hidden;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.mystore-icon img,
.mystore .appcenter-app-icon-placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 18px !important;
}

.mystore .appcenter-app-icon-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 750;
	font-size: 1.15rem;
	color: #fff;
}

.mystore-info {
	text-align: center;
	flex: 1;
}

.mystore .appcenter-app-name {
	margin: 0 0 0.25rem !important;
	font-size: 1.05rem !important;
	font-weight: 700 !important;
	letter-spacing: -0.02em;
	color: #1d1d1f !important;
}

.mystore-giro {
	margin: 0 0 0.4rem;
	font-size: 0.72rem;
	font-weight: 650;
	color: var(--business-primary-color, #1d1d1f);
	letter-spacing: -0.01em;
}

.mystore-giro.is-missing {
	color: #000000;
	font-weight: 550;
}

.istore-giro-alert {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	margin: 0 0 0.95rem;
	padding: 0.85rem 1rem;
	border-radius: 14px;
	background: color-mix(in srgb, var(--business-primary-color, #1d1d1f) 10%, #fff);
	border: 1px solid color-mix(in srgb, var(--business-primary-color, #1d1d1f) 28%, transparent);
	color: #1d1d1f;
}

.istore-giro-alert strong {
	font-size: 0.88rem;
	font-weight: 700;
}

.istore-giro-alert span {
	font-size: 0.8rem;
	color: #6e6e73;
}

.istore-giro-alert-error {
	background: #fef2f2;
	border-color: #fecaca;
	color: #b91c1c;
}

.istore-giro-alert-error span {
	color: #b91c1c;
}

.istore .astore-giro-field {
	margin-bottom: 0;
}

/* Redes: logo + campo, mismo patrón que el teléfono */
.istore-social-wrap {
	display: grid;
	grid-template-columns: 3.15rem minmax(0, 1fr);
	gap: 0.55rem;
	align-items: stretch;
}

.istore-social-addon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	border: 1px solid var(--dp-line);
	border-radius: 12px;
	background: #fafafa;
	color: #1d1d1f;
}

.istore-social-addon--facebook { color: #1877f2; }
.istore-social-addon--instagram { color: #e1306c; }
.istore-social-addon--linkedin { color: #0a66c2; }
.istore-social-addon--x,
.istore-social-addon--github { color: #1d1d1f; }
.istore-social-addon--gitlab { color: #e24329; }
.istore-social-addon--website { color: #1d1d1f; }
.istore-social-addon--whatsapp { color: #25d366; }

.istore-social-input.dp-input {
	min-width: 0;
}

/* Teléfono: código de país + número */
.istore-phone-wrap {
	display: grid;
	grid-template-columns: minmax(7.5rem, 9.5rem) minmax(0, 1fr);
	gap: 0.55rem;
	align-items: stretch;
}

.istore-phone-cc.dp-input {
	padding-left: 0.7rem !important;
	padding-right: 1.6rem !important;
	font-weight: 700;
	letter-spacing: -0.01em;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	background-image:
		linear-gradient(45deg, transparent 50%, #6e6e73 50%),
		linear-gradient(135deg, #6e6e73 50%, transparent 50%);
	background-position:
		calc(100% - 14px) calc(50% - 2px),
		calc(100% - 9px) calc(50% - 2px);
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
}

.istore-phone-local.dp-input {
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.02em;
}

.istore-phone-hint {
	margin: 0.45rem 0 0;
	font-size: 0.78rem;
	color: #86868b;
	font-weight: 500;
}

@media (max-width: 420px) {
	.istore-phone-wrap {
		grid-template-columns: 1fr;
	}
}

/* Dirección + geolocation */
.istore-address-wrap {
	position: relative;
	display: block;
}

.istore-address-input.dp-input {
	padding-right: 3.1rem !important;
}

.istore-geo-btn {
	position: absolute;
	top: 50%;
	right: 0.45rem;
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 10px;
	background: color-mix(in srgb, var(--business-primary-color, #1d1d1f) 12%, #fff);
	color: var(--business-primary-color, #1d1d1f);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.15s ease;
}

.istore-geo-btn:hover {
	background: color-mix(in srgb, var(--business-primary-color, #1d1d1f) 20%, #fff);
}

.istore-geo-btn:disabled,
.istore-geo-btn.is-loading {
	opacity: 0.75;
	cursor: wait;
}

.istore-geo-hint {
	margin: 0.45rem 0 0;
	font-size: 0.78rem;
	color: #86868b;
}

.istore-map-hint {
	margin: -0.35rem 0 0.85rem;
}

.istore .info-map-container.istore-leaflet-wrap {
	height: 360px;
	padding: 0;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 16px;
	overflow: hidden;
	background: #eef0f3;
	cursor: grab;
	position: relative;
}

.istore .info-map-container.istore-leaflet-wrap.has-coords {
	border-color: color-mix(in srgb, var(--business-primary-color, #1d1d1f) 35%, #e5e7eb);
}

.istore-leaflet-canvas {
	width: 100%;
	height: 100%;
	z-index: 1;
}

.istore-map-coords {
	position: absolute;
	left: 10px;
	bottom: 10px;
	z-index: 500;
	padding: 0.35rem 0.65rem;
	border-radius: 980px;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(0, 0, 0, 0.06);
	font-size: 0.72rem;
	font-weight: 600;
	color: #1d1d1f;
	pointer-events: none;
	max-width: calc(100% - 20px);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.istore .info-map-container .leaflet-control-attribution {
	font-size: 9px;
	background: rgba(255, 255, 255, 0.75);
}

.mystore .appcenter-app-description {
	margin: 0 !important;
	font-size: 0.82rem !important;
	color: #86868b !important;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.mystore-muted {
	opacity: 0.75;
}

.mystore-ready {
	list-style: none;
	margin: 0.75rem 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.mystore-ready-item {
	display: inline-flex;
	align-items: center;
	gap: 0.28rem;
	padding: 0.22rem 0.5rem;
	border-radius: 999px;
	font-size: 0.68rem;
	font-weight: 650;
	letter-spacing: 0.01em;
	color: #86868b;
	background: rgba(0, 0, 0, 0.04);
}

.mystore-ready-item i {
	font-size: 0.55rem;
}

.mystore-ready-item.is-done {
	color: #047857;
	background: rgba(16, 185, 129, 0.12);
}

.mystore-ready-pct {
	margin: 0.45rem 0 0;
	font-size: 0.72rem;
	font-weight: 650;
	color: #86868b;
}

.mystore-onboard-steps {
	margin: 1rem auto 1.25rem;
	padding: 0;
	list-style: none;
	max-width: 18rem;
	text-align: left;
	color: #6e6e73;
	font-size: 0.9rem;
	line-height: 1.45;
}

.mystore-onboard-steps li {
	position: relative;
	padding-left: 1.4rem;
	margin: 0.35rem 0;
}

.mystore-onboard-steps li::before {
	content: counter(step);
	counter-increment: step;
	position: absolute;
	left: 0;
	top: 0.05rem;
	width: 1rem;
	height: 1rem;
	border-radius: 50%;
	background: #1d1d1f;
	color: #fff;
	font-size: 0.62rem;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.mystore-empty {
	counter-reset: step;
}

.studio-onboard {
	margin: 0 0 1rem;
	padding: 0 1.25rem;
}

.studio-onboard-inner {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 0.75rem 1rem;
	padding: 0.75rem 1rem;
	border-radius: 16px;
	background: linear-gradient(135deg, #f5f5f7 0%, #eef2ff 100%);
	border: 1px solid rgba(0, 0, 0, 0.06);
	min-width: 0;
}

.studio-onboard-copy {
	flex: 0 0 auto;
	min-width: 0;
}

.studio-onboard-kicker {
	margin: 0;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #6366f1;
}

.studio-onboard-title {
	display: block;
	font-size: 0.95rem;
	font-weight: 700;
	color: #1d1d1f;
}

.studio-onboard-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 0.4rem;
	flex: 1 1 auto;
	min-width: 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	counter-reset: onboard;
}

.studio-onboard-steps::-webkit-scrollbar {
	display: none;
}

.studio-onboard-steps li {
	flex: 0 0 auto;
}

.studio-onboard-steps li a {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.35rem 0.7rem;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 650;
	color: #6e6e73;
	background: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	border: 1px solid rgba(0, 0, 0, 0.06);
	white-space: nowrap;
}

.studio-onboard-steps li.is-current a {
	color: #1d1d1f;
	border-color: #1d1d1f;
}

.studio-onboard-steps li.is-done a {
	color: #047857;
	background: rgba(16, 185, 129, 0.12);
	border-color: transparent;
}

.studio-onboard-num {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.studio-onboard-num::before {
	counter-increment: onboard;
	content: counter(onboard);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.1rem;
	height: 1.1rem;
	border-radius: 50%;
	font-size: 0.65rem;
	font-weight: 700;
	line-height: 1;
	background: #1d1d1f;
	color: #fff;
	flex-shrink: 0;
}

.studio-onboard-steps li.is-done .studio-onboard-num::before {
	content: "✓";
	background: #059669;
}

@media screen and (max-width: 768px) {
	.studio-onboard {
		padding: 0 0.75rem;
		margin-bottom: 0.75rem;
	}

	.studio-onboard-inner {
		flex-direction: column;
		align-items: stretch;
		gap: 0.55rem;
		padding: 0.7rem 0.75rem;
	}

	.studio-onboard-copy {
		display: flex;
		align-items: baseline;
		gap: 0.45rem;
		flex-wrap: wrap;
	}

	.studio-onboard-title {
		font-size: 0.82rem;
	}

	.studio-onboard-steps {
		width: 100%;
		padding-bottom: 0.1rem;
	}

	.studio-onboard-steps li a {
		padding: 0.32rem 0.6rem;
		font-size: 0.72rem;
	}
}

.studio-onboard-skip {
	font-size: 0.78rem;
	font-weight: 650;
	color: #86868b;
	text-decoration: none;
	margin-left: auto;
}

.studio-onboard-skip:hover {
	color: #1d1d1f;
}

.mystore-footer {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin-top: 1rem !important;
	padding-top: 0.85rem;
	border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.mystore .appcenter-status-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.78rem;
	font-weight: 600;
}

.mystore .appcenter-status-active {
	color: #059669;
}

.mystore .appcenter-status-active i {
	font-size: 0.45rem;
	color: #10b981;
}

.mystore .appcenter-status-inactive {
	color: #86868b;
}

.mystore .appcenter-status-inactive i {
	font-size: 0.45rem;
	color: #c7c7cc;
}

.mystore-open {
	font-size: 0.78rem;
	font-weight: 650;
	color: var(--mystore-accent);
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
}

.mystore-open i {
	font-size: 0.65rem;
	opacity: 0.85;
}

/* Lista */
.mystore-grid.appcenter-list {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.mystore-grid.appcenter-list .mystore-card-link {
	flex-direction: row;
	align-items: center;
	gap: 1rem;
	padding: 0.9rem 1.1rem !important;
	min-height: 0;
}

.mystore-grid.appcenter-list .mystore-card-top {
	order: 3;
	margin: 0 0 0 auto !important;
	flex-direction: row-reverse;
	gap: 0.5rem;
}

.mystore-grid.appcenter-list .mystore-icon {
	width: 52px !important;
	height: 52px !important;
	margin: 0 !important;
	flex-shrink: 0;
	border-radius: 14px !important;
}

.mystore-grid.appcenter-list .mystore-icon img,
.mystore-grid.appcenter-list .appcenter-app-icon-placeholder {
	border-radius: 14px !important;
}

.mystore-grid.appcenter-list .mystore-info {
	text-align: left;
	flex: 1;
	min-width: 0;
}

.mystore-grid.appcenter-list .appcenter-app-description {
	-webkit-line-clamp: 1;
}

.mystore-grid.appcenter-list .mystore-footer {
	margin: 0 !important;
	padding: 0;
	border: 0;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.35rem;
}

.mystore-grid.appcenter-list .mystore-open {
	display: none;
}

.mystore-grid.appcenter-list .appcenter-delete-btn {
	opacity: 1;
	pointer-events: auto;
}

.mystore-filter-empty {
	text-align: center;
	padding: 2.5rem 1rem;
	color: #86868b;
	font-size: 0.95rem;
}

.mystore-empty {
	text-align: center;
	padding: 3.5rem 1.5rem !important;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.06);
	border-radius: 22px;
}

.mystore-empty .appcenter-empty-icon {
	width: 64px;
	height: 64px;
	margin: 0 auto 1rem;
	border-radius: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: color-mix(in srgb, var(--mystore-accent) 12%, #fff);
	color: var(--mystore-accent);
	font-size: 1.5rem;
}

.mystore-empty .appcenter-empty-title {
	display: block;
	font-size: 1.25rem;
	font-weight: 750;
	letter-spacing: -0.02em;
	margin-bottom: 0.35rem;
}

.mystore-empty .appcenter-empty-text {
	margin: 0 0 1.25rem;
	color: #86868b;
}

@media (max-width: 1100px) {
	.mystore-layout {
		grid-template-columns: 1fr;
	}

	.mystore-aside {
		position: static;
	}
}

@media (max-width: 720px) {
	.mystore-intro {
		flex-direction: column;
		align-items: stretch;
	}

	.mystore-cta {
		justify-content: center;
	}

	.mystore-grid.appcenter-list .mystore-card-link {
		flex-wrap: wrap;
	}

	.mystore-grid.appcenter-list .mystore-footer {
		width: 100%;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}
}

/* Desktop: preview sticky — no centrar sobre el label */
@media screen and (min-width: 1200px) {
	.studio-workspace,
	.studio-workspace-pair,
	.studio-content,
	.studio-main {
		overflow: visible !important;
	}

	.aprev.studio-emulator-column {
		position: sticky !important;
		top: 132px !important;
		align-self: flex-start !important;
		background: transparent !important;
		border: 0 !important;
		box-shadow: none !important;
		z-index: 2 !important;
	}

	.studio-header {
		position: sticky !important;
		top: 0 !important;
		z-index: 40 !important;
	}

	.aprev-frame {
		display: none !important;
	}
}




/* App kind: Negocio | Personal */
.astore-kind-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.8rem;
}

.astore-kind-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.45rem;
	padding: 1.05rem 0.95rem 1.1rem;
	border-radius: 18px;
	border: 1.5px solid rgba(0, 0, 0, 0.08);
	background: linear-gradient(160deg, #fff 0%, #f8fafc 100%);
	cursor: pointer;
	transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s, background 0.18s;
	min-height: 148px;
}

.astore-kind-card input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.astore-kind-card:hover {
	border-color: rgba(0, 0, 0, 0.18);
	transform: translateY(-2px);
}

.astore-kind-icon {
	width: 42px;
	height: 42px;
	border-radius: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
	color: #fff;
	margin-bottom: 0.15rem;
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16);
}

.astore-kind-card--business .astore-kind-icon {
	background: linear-gradient(135deg, #1d4ed8, #38bdf8);
}

.astore-kind-card--personal .astore-kind-icon {
	background: linear-gradient(135deg, #7c3aed, #db2777);
}

.astore-kind-card--business.is-selected {
	border-color: #2563eb;
	background: linear-gradient(160deg, #eff6ff 0%, #fff 70%);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16), 0 12px 24px rgba(37, 99, 235, 0.1);
}

.astore-kind-card--personal.is-selected {
	border-color: #7c3aed;
	background: linear-gradient(160deg, #f5f3ff 0%, #fff 70%);
	box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.16), 0 12px 24px rgba(124, 58, 237, 0.1);
}

.astore-kind-title {
	font-size: 1rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--astore-ink, #1d1d1f);
}

.astore-kind-desc {
	font-size: 0.78rem;
	line-height: 1.4;
	color: var(--astore-muted, #6e6e73);
	font-weight: 500;
}

.astore-giro-field.is-hidden {
	display: none !important;
}

.studio-sidebar-item-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.studio-sidebar-app-kind {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #9ca3af;
}

@media (max-width: 520px) {
	.astore-kind-grid {
		grid-template-columns: 1fr;
	}
}

/* Compact mobile: Mis Apps + Nueva app drawer */
@media (max-width: 720px) {
	.mystore-kicker {
		font-size: 0.65rem;
		margin-bottom: 0.15rem;
	}

	.mystore-title {
		font-size: 1.35rem;
		margin-bottom: 0.15rem;
	}

	.mystore-intro {
		margin-bottom: 0.85rem;
		padding-bottom: 0.75rem;
		gap: 0.75rem;
	}

	.mystore-aside-panel {
		padding: 1rem 1rem 0.9rem;
		border-radius: 16px;
	}

	.mystore-aside-title {
		font-size: 1.05rem;
	}

	.mystore-empty {
		padding: 1.25rem 1rem !important;
		border-radius: 16px !important;
	}

	.mystore-empty .appcenter-empty-icon,
	.mystore-empty .appcenter-empty-icon-wrap {
		width: 2.5rem !important;
		height: 2.5rem !important;
		margin-bottom: 0.65rem !important;
	}

	.studio-topbar .studio-btn,
	.studio-header .studio-btn {
		padding: 0.45rem 0.75rem !important;
		font-size: 0.8rem !important;
	}

	.app-drawer-panel:has(.astore) .dstore-header,
	.astore .dstore-header {
		padding: 0.65rem 0.75rem !important;
		gap: 0.5rem !important;
	}

	.astore .dstore-title,
	.astore .app-drawer-title {
		font-size: 1.05rem !important;
	}

	.astore .dstore-kicker {
		font-size: 0.65rem !important;
	}

	.astore-body #createAppForm,
	.app-drawer-panel:has(.astore) .dstore-body.astore-body {
		padding: 0.65rem 0.75rem 1rem !important;
		gap: 0.65rem !important;
	}

	.astore-panel {
		padding: 0.75rem 0.8rem !important;
		border-radius: 12px !important;
		margin-bottom: 0.55rem !important;
	}

	.astore-panel-head {
		margin-bottom: 0.55rem !important;
	}

	.astore-panel-head strong {
		font-size: 0.88rem !important;
	}

	.astore-panel-head small {
		font-size: 0.72rem !important;
	}

	.astore-kind-grid {
		gap: 0.5rem;
	}

	.astore-kind-card {
		padding: 0.85rem 0.8rem;
		border-radius: 14px;
		gap: 0.3rem;
		min-height: 0;
	}

	.astore-kind-icon {
		width: 36px;
		height: 36px;
		border-radius: 12px;
		font-size: 0.9rem;
	}

	.astore-kind-title {
		font-size: 0.9rem;
	}

	.astore-kind-desc {
		font-size: 0.72rem;
		line-height: 1.3;
	}

	.astore-step-num {
		width: 24px;
		height: 24px;
		font-size: 0.7rem;
		border-radius: 8px;
	}

	.astore .dp-field {
		gap: 0.35rem !important;
		margin-bottom: 0.55rem !important;
	}

	.astore .dp-input {
		padding: 0.65rem 0.75rem !important;
		font-size: 0.95rem !important;
		border-radius: 10px !important;
	}

	.astore-giro-grid {
		gap: 0.4rem !important;
	}

	.astore-giro-chip {
		padding: 0.4rem 0.65rem !important;
		font-size: 0.78rem !important;
		border-radius: 980px !important;
	}

	.astore-color-options,
	.drawer-color-options.astore-color-options {
		gap: 0.4rem !important;
	}

	.astore .drawer-color-btn,
	.astore-color-options .drawer-color-btn {
		width: 1.65rem !important;
		height: 1.65rem !important;
	}

	.dstore-store-btn {
		padding: 0.45rem 0.75rem !important;
	}
}

/* Mobile compact: sin explicaciones / kickers / hints */
@media screen and (max-width: 768px) {
	.istore-kicker,
	.istore-subtitle,
	.istore-section-hint,
	.istore-phone-hint,
	.istore-geo-hint,
	.istore-map-hint,
	.astore-giro-help,
	.color-current-subtitle,
	.mstore-kicker,
	.mstore-subtitle,
	.mystore-kicker,
	.mystore-subtitle,
	.pstore-kicker,
	.pstore-subtitle,
	.gstore-kicker,
	.gstore-subtitle,
	.gstore-section-hint,
	.modstore-kicker,
	.modstore-subtitle,
	.items-subtitle,
	.istore-panel-head .istore-section-hint {
		display: none !important;
	}

	.istore-header {
		flex-direction: row !important;
		align-items: center !important;
		justify-content: space-between !important;
		margin-bottom: 0.65rem !important;
		gap: 0.5rem !important;
	}

	.istore-delete {
		margin-left: auto !important;
		align-self: center !important;
	}

	.istore-title,
	.mstore-title,
	.pstore-title,
	.tstore-title,
	.gstore-title,
	.modstore-title,
	.mystore-title {
		font-size: 1.45rem !important;
		line-height: 1.15 !important;
	}

	.istore-panel {
		padding: 0.9rem 0.95rem !important;
		margin-bottom: 0.75rem !important;
	}

	.istore-panel-head {
		margin-bottom: 0.65rem !important;
	}

	.istore-seg.info-tabs,
	.istore-seg {
		margin-bottom: 0.75rem !important;
	}

	.dp-field {
		margin-bottom: 0.75rem !important;
	}

	.istore-actions.dp-form-actions,
	.istore-actions.istore-sticky-actions {
		margin-top: 0.85rem !important;
		gap: 0.5rem !important;
	}
}

/* Calendar booking studio */
.cbook-section-title {
	font-size: 0.95rem;
	font-weight: 700;
	margin: 0 0 0.65rem;
	color: #1d1d1f;
}
.cbook-avail-row { align-items: center !important; }
.cbook-tabs { margin-bottom: 1rem !important; }

/* —— Blogs form —— */
.bstore-cover {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.bstore-cover-preview {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 16px;
	overflow: hidden;
	background: #f5f5f7;
	border: 1px dashed rgba(0, 0, 0, 0.14);
	padding: 0;
	margin: 0;
	cursor: pointer;
	font: inherit;
	color: inherit;
	display: block;
	box-sizing: border-box;
}

.bstore-cover-actions label.modstore-btn {
	margin: 0;
}

.bstore-cover-preview:hover {
	border-color: var(--business-primary-color, #1d1d1f);
}

.bstore-cover-preview img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.bstore-cover-empty {
	position: absolute;
	inset: 0;
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	color: #86868b;
	font-size: 0.9rem;
	font-weight: 600;
}

.bstore-cover-preview.is-empty .bstore-cover-empty { display: flex; }
.bstore-cover-preview.is-empty img { display: none; }

.bstore-cover-loading {
	position: absolute;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.72);
	color: var(--business-primary-color, #1d1d1f);
	font-size: 1.4rem;
}

.bstore-cover-preview.is-uploading .bstore-cover-loading {
	display: flex;
}

.bstore-cover-actions {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	flex-wrap: wrap;
}

.bstore-md-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.45rem;
}

.bstore-md-head .dp-label { margin: 0; }

.bstore-md-tabs {
	display: inline-flex;
	padding: 0.2rem;
	border-radius: 999px;
	background: #f5f5f7;
	gap: 0.15rem;
}

.bstore-md-tab {
	border: 0;
	background: transparent;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	font: inherit;
	font-size: 0.78rem;
	font-weight: 700;
	color: #86868b;
	cursor: pointer;
}

.bstore-md-tab.is-active {
	background: #fff;
	color: #1d1d1f;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.bstore-md-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin-bottom: 0.45rem;
}

.bstore-md-toolbar button {
	border: 1px solid rgba(0, 0, 0, 0.1);
	background: #fff;
	border-radius: 10px;
	padding: 0.35rem 0.55rem;
	font: inherit;
	font-size: 0.8rem;
	font-weight: 700;
	color: #1d1d1f;
	cursor: pointer;
}

.bstore-md-toolbar button:hover { background: #f5f5f7; }

.bstore-md-editor {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.92rem;
	line-height: 1.55;
	min-height: 12rem;
	resize: vertical;
}

.bstore-md-preview {
	min-height: 12rem;
	padding: 0.9rem 1rem;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 14px;
	background: #fff;
	line-height: 1.55;
	color: #1d1d1f;
}

.bstore-md-preview h1,
.bstore-md-preview h2,
.bstore-md-preview h3,
.bstore-md-preview h4,
.bstore-md-preview h5,
.bstore-md-preview h6 {
	margin: 0.75rem 0 0.35rem;
	letter-spacing: -0.02em;
	line-height: 1.25;
	font-weight: 700;
	color: #1d1d1f;
}
.bstore-md-preview h1 { font-size: 1.55rem; }
.bstore-md-preview h2 { font-size: 1.3rem; }
.bstore-md-preview h3 { font-size: 1.12rem; }
.bstore-md-preview h4,
.bstore-md-preview h5,
.bstore-md-preview h6 { font-size: 1rem; }
.bstore-md-preview ol { margin: 0.4rem 0; padding-left: 1.2rem; }
.bstore-md-preview hr {
	border: 0;
	border-top: 1px solid rgba(0, 0, 0, 0.12);
	margin: 0.9rem 0;
}
.bstore-md-preview del { color: #86868b; }

.bstore-md-preview p { margin: 0.4rem 0; }
.bstore-md-preview ul { margin: 0.4rem 0; padding-left: 1.2rem; }
.bstore-md-preview blockquote {
	margin: 0.5rem 0;
	padding-left: 0.85rem;
	border-left: 3px solid var(--business-primary-color, #1d1d1f);
	color: #636366;
}

.bstore-md-preview a { color: var(--business-primary-color, #0a66c2); }

/* —— Custom date picker —— */
.dp-calendar-trigger {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	width: 100%;
	padding: 0.75rem 0.95rem;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 14px;
	background: #fff;
	font: inherit;
	font-size: 0.95rem;
	font-weight: 650;
	color: #1d1d1f;
	cursor: pointer;
	text-align: left;
}

.dp-calendar-trigger i { color: var(--business-primary-color, #1d1d1f); }

.dp-calendar {
	margin-top: 0.55rem;
	padding: 0.85rem;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.dp-calendar-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin-bottom: 0.65rem;
}

.dp-calendar-nav strong {
	font-size: 0.95rem;
	font-weight: 750;
	text-transform: capitalize;
}

.dp-calendar-nav button {
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 999px;
	background: #f5f5f7;
	cursor: pointer;
	color: #1d1d1f;
}

.dp-calendar-weekdays,
.dp-calendar-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 0.25rem;
}

.dp-calendar-weekdays {
	margin-bottom: 0.25rem;
}

.dp-calendar-weekdays span {
	text-align: center;
	font-size: 0.72rem;
	font-weight: 700;
	color: #86868b;
	padding: 0.25rem 0;
}

.dp-calendar-grid button {
	aspect-ratio: 1;
	border: 0;
	border-radius: 999px;
	background: transparent;
	font: inherit;
	font-size: 0.88rem;
	font-weight: 650;
	color: #1d1d1f;
	cursor: pointer;
}

.dp-calendar-grid button:hover { background: #f5f5f7; }
.dp-calendar-grid button.is-muted { color: #c7c7cc; }
.dp-calendar-grid button.is-selected {
	background: var(--business-primary-color, #1d1d1f);
	color: #fff;
}
.dp-calendar-grid button.is-today:not(.is-selected) {
	box-shadow: inset 0 0 0 1.5px var(--business-primary-color, #1d1d1f);
}

.dp-calendar-time {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.65rem;
	margin-top: 0.75rem;
}

.dp-calendar-time label {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	font-size: 0.75rem;
	font-weight: 700;
	color: #86868b;
}

.dp-calendar-time select {
	width: 100%;
	padding: 0.55rem 0.65rem;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 12px;
	font: inherit;
	font-size: 0.92rem;
	font-weight: 650;
	background: #fff;
}

.dp-calendar-footer {
	display: flex;
	justify-content: space-between;
	gap: 0.5rem;
	margin-top: 0.85rem;
}

/* —— Blog list cards —— */
.bstore-cards {
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
}

.bstore-card {
	display: flex;
	align-items: flex-start;
	gap: 0.9rem;
	padding: 1rem 1.05rem;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 18px;
}

.bstore-card-thumb,
.bstore-card-icon {
	width: 56px;
	height: 56px;
	border-radius: 14px;
	flex-shrink: 0;
	overflow: hidden;
}

.bstore-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.bstore-card-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--business-primary-color, #1d1d1f);
	color: #fff;
	font-size: 1.15rem;
}

.bstore-card-copy {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.28rem;
}

.bstore-card-title {
	font-size: 1rem;
	font-weight: 750;
	letter-spacing: -0.02em;
	color: #1d1d1f;
	line-height: 1.25;
}

.bstore-card-date {
	display: block;
	font-size: 0.78rem;
	font-weight: 650;
	color: #86868b;
	letter-spacing: 0.01em;
}

.bstore-card-excerpt {
	margin: 0.15rem 0 0;
	font-size: 0.9rem;
	line-height: 1.45;
	color: #3a3a3c;
}

.bstore-card-more {
	display: inline;
	margin-left: 0.25rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--business-primary-color, #0a66c2);
	font: inherit;
	font-size: inherit;
	font-weight: 750;
	cursor: pointer;
}

.bstore-card-more:hover {
	text-decoration: underline;
}

.bstore-card-side {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.4rem;
	flex-shrink: 0;
}

@media (max-width: 720px) {
	.bstore-card {
		flex-wrap: wrap;
	}
	.bstore-card-side {
		width: 100%;
		flex-direction: row;
		justify-content: flex-end;
		align-items: center;
	}
}

/* —— Blog detail drawer —— */
.bdetail-body {
	padding-bottom: 1.5rem;
}

.bdetail-article {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.bdetail-cover {
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 18px;
	overflow: hidden;
	background: #f5f5f7;
}

.bdetail-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.bdetail-head {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.45rem;
}

.bdetail-date {
	font-size: 0.82rem;
	font-weight: 650;
	color: #86868b;
}

.bdetail-title {
	margin: 0.15rem 0 0;
	font-size: clamp(1.45rem, 3.5vw, 1.9rem);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.15;
	color: #1d1d1f;
}

.bdetail-source {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: 0.2rem;
	padding: 0.45rem 0.8rem;
	border-radius: 999px;
	background: #f5f5f7;
	color: #1d1d1f;
	text-decoration: none;
	font-size: 0.84rem;
	font-weight: 700;
}

.bdetail-source:hover {
	background: #ebebef;
}

.bdetail-content {
	padding-top: 0.35rem;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	color: #1d1d1f;
	font-size: 0.98rem;
	line-height: 1.65;
}

.bdetail-content h1,
.bdetail-content h2,
.bdetail-content h3,
.bdetail-content h4,
.bdetail-content h5,
.bdetail-content h6 {
	margin: 1rem 0 0.4rem;
	letter-spacing: -0.02em;
	line-height: 1.25;
	font-weight: 700;
	color: #1d1d1f;
}
.bdetail-content h1 { font-size: 1.55rem; }
.bdetail-content h2 { font-size: 1.28rem; }
.bdetail-content h3 { font-size: 1.1rem; }
.bdetail-content ol { margin: 0.55rem 0; padding-left: 1.2rem; }
.bdetail-content hr {
	border: 0;
	border-top: 1px solid rgba(0, 0, 0, 0.12);
	margin: 1rem 0;
}
.bdetail-content del { color: #86868b; }

.bdetail-content p { margin: 0.55rem 0; }
.bdetail-content ul { margin: 0.55rem 0; padding-left: 1.2rem; }
.bdetail-content blockquote {
	margin: 0.7rem 0;
	padding-left: 0.9rem;
	border-left: 3px solid var(--business-primary-color, #1d1d1f);
	color: #636366;
}
.bdetail-content a { color: var(--business-primary-color, #0a66c2); }
.bdetail-content img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	border-radius: 16px;
	margin: 1rem 0;
	background: #f5f5f7;
}
.bdetail-code {
	margin: 1.05rem 0;
	border-radius: 14px;
	overflow: hidden;
	background: #1e1e1e;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.bdetail-code-head {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.55rem 0.85rem;
	background: #2a2a2c;
	color: #d1d1d6;
	font-size: 0.78rem;
	font-weight: 650;
	letter-spacing: 0.01em;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bdetail-code-head i {
	opacity: 0.85;
	font-size: 0.85rem;
}

.bdetail-content .bdetail-code pre,
.bstore-md-preview .bdetail-code pre {
	margin: 0;
	padding: 0.95rem 1.05rem;
	border-radius: 0;
	background: #1e1e1e;
	color: #f5f5f7;
	overflow-x: auto;
	font-size: 0.84rem;
	line-height: 1.55;
	box-shadow: none;
}

.bdetail-content .bdetail-code pre code,
.bstore-md-preview .bdetail-code pre code {
	display: block;
	padding: 0;
	background: transparent !important;
	color: #abb2bf;
	font-size: inherit;
	white-space: pre;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* Dejar que Highlight.js pinte tokens (no forzar inherit en spans). */
.bdetail-content .bdetail-code pre code.hljs,
.bstore-md-preview .bdetail-code pre code.hljs,
.bdetail-content pre code.hljs {
	background: transparent !important;
	padding: 0;
}
.bdetail-content .hljs-comment,
.bstore-md-preview .hljs-comment { color: #5c6370 !important; font-style: italic; }
.bdetail-content .hljs-keyword,
.bstore-md-preview .hljs-keyword,
.bdetail-content .hljs-selector-tag,
.bstore-md-preview .hljs-selector-tag { color: #c678dd !important; }
.bdetail-content .hljs-string,
.bstore-md-preview .hljs-string,
.bdetail-content .hljs-attr,
.bstore-md-preview .hljs-attr { color: #98c379 !important; }
.bdetail-content .hljs-number,
.bstore-md-preview .hljs-number,
.bdetail-content .hljs-literal,
.bstore-md-preview .hljs-literal { color: #d19a66 !important; }
.bdetail-content .hljs-built_in,
.bstore-md-preview .hljs-built_in,
.bdetail-content .hljs-type,
.bstore-md-preview .hljs-type,
.bdetail-content .hljs-title,
.bstore-md-preview .hljs-title,
.bdetail-content .hljs-title.function_,
.bstore-md-preview .hljs-title.function_ { color: #61afef !important; }
.bdetail-content .hljs-meta,
.bstore-md-preview .hljs-meta,
.bdetail-content .hljs-meta .hljs-keyword,
.bstore-md-preview .hljs-meta .hljs-keyword { color: #e06c75 !important; }
.bdetail-content .hljs-params,
.bstore-md-preview .hljs-params,
.bdetail-content .hljs-variable,
.bstore-md-preview .hljs-variable { color: #e5c07b !important; }

.bdetail-content pre {
	margin: 1rem 0;
	padding: 0.95rem 1.05rem;
	border-radius: 14px;
	background: #1e1e1e;
	color: #f5f5f7;
	overflow-x: auto;
	font-size: 0.84rem;
	line-height: 1.5;
}

.bdetail-content pre code {
	display: block;
	padding: 0;
	background: transparent;
	color: #abb2bf;
	font-size: inherit;
	white-space: pre;
}
.bdetail-content p code,
.bdetail-content li code,
.bdetail-content h1 code,
.bdetail-content h2 code,
.bdetail-content h3 code {
	display: inline;
	padding: 0.12rem 0.4rem;
	border-radius: 7px;
	background: #f0f0f2;
	color: #b91c5c;
	font-size: 0.88em;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.bdetail-content code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.9em;
}
.bstore-md-preview img {
	display: block;
	max-width: 100%;
	border-radius: 12px;
	margin: 0.6rem 0;
}
.bstore-md-preview pre {
	margin: 0.6rem 0;
	padding: 0.75rem 0.9rem;
	border-radius: 12px;
	background: #1d1d1f;
	color: #f5f5f7;
	overflow-x: auto;
	font-size: 0.82rem;
}
.bstore-md-preview pre code {
	background: transparent;
	color: #abb2bf;
}
.bstore-md-preview code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	padding: 0.1rem 0.35rem;
	border-radius: 6px;
	background: #f0f0f2;
	color: #b91c5c;
	font-size: 0.88em;
}
.bdetail-empty { color: #86868b; }

/* ===== Polls composer (pstore) ===== */
.pstore-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.pstore-composer {
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
	padding: 0.15rem 0.15rem 0.35rem;
}
.pstore-question {
	width: 100%;
	border: 0;
	resize: none;
	background: transparent;
	font: inherit;
	font-size: 1.35rem;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.25;
	color: #1d1d1f;
	outline: none;
	padding: 0.15rem 0.1rem;
	min-height: 2.8rem;
}
.pstore-question::placeholder {
	color: #aeaeb2;
	font-weight: 650;
}
.pstore-choices {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	padding: 0.85rem;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 18px;
	background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}
.pstore-choice {
	display: flex;
	align-items: center;
	gap: 0.45rem;
}
.pstore-choice-field {
	position: relative;
	flex: 1;
	min-width: 0;
}
.pstore-choice-label {
	position: absolute;
	top: 0.42rem;
	left: 0.85rem;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	color: #86868b;
	pointer-events: none;
	transition: color 0.15s ease;
}
.pstore-choice-count {
	position: absolute;
	top: 0.42rem;
	right: 0.85rem;
	font-size: 0.68rem;
	font-weight: 650;
	color: #aeaeb2;
	pointer-events: none;
}
.pstore-choice-input {
	width: 100%;
	border: 1.5px solid rgba(0, 0, 0, 0.1);
	border-radius: 14px;
	background: #fff;
	padding: 1.35rem 0.85rem 0.55rem;
	font: inherit;
	font-size: 0.98rem;
	font-weight: 600;
	color: #1d1d1f;
	outline: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.pstore-choice-input::placeholder {
	color: #c7c7cc;
	font-weight: 550;
}
.pstore-choice.is-focused .pstore-choice-input,
.pstore-choice-input:focus {
	border-color: var(--business-primary-color, #1d1d1f);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--business-primary-color, #1d1d1f) 16%, transparent);
}
.pstore-choice.is-focused .pstore-choice-label,
.pstore-choice-input:focus ~ .pstore-choice-label,
.pstore-choice-field:focus-within .pstore-choice-label {
	color: var(--business-primary-color, #1d1d1f);
}
.pstore-add-choice,
.pstore-remove-choice {
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	background: transparent;
	color: var(--business-primary-color, #1d1d1f);
	font-size: 0.95rem;
	transition: background 0.15s ease, color 0.15s ease;
}
.pstore-add-choice:hover {
	background: color-mix(in srgb, var(--business-primary-color, #1d1d1f) 12%, transparent);
}
.pstore-remove-choice {
	color: #86868b;
}
.pstore-remove-choice:hover {
	background: rgba(185, 28, 28, 0.08);
	color: #b91c1c;
}
.pstore-length {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}
.pstore-length-label {
	margin: 0;
	font-size: 0.92rem;
	font-weight: 750;
	color: #1d1d1f;
	letter-spacing: -0.02em;
}
.pstore-length-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.55rem;
}
.pstore-length-field {
	position: relative;
	display: block;
	margin: 0;
}
.pstore-length-field span {
	position: absolute;
	top: 0.42rem;
	left: 0.75rem;
	font-size: 0.68rem;
	font-weight: 700;
	color: #86868b;
	pointer-events: none;
}
.pstore-length-field select {
	width: 100%;
	appearance: none;
	-webkit-appearance: none;
	border: 1.5px solid rgba(0, 0, 0, 0.1);
	border-radius: 14px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2386868b' d='M1.4 1.2 6 5.8l4.6-4.6 1.2 1.2L6 8.2 0.2 2.4z'/%3E%3C/svg%3E") no-repeat right 0.85rem center;
	background-size: 10px;
	padding: 1.35rem 1.8rem 0.55rem 0.75rem;
	font: inherit;
	font-size: 0.98rem;
	font-weight: 650;
	color: #1d1d1f;
	cursor: pointer;
	outline: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.pstore-length-field select:focus {
	border-color: var(--business-primary-color, #1d1d1f);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--business-primary-color, #1d1d1f) 16%, transparent);
}
.pstore-length-hint {
	margin: 0;
	font-size: 0.8rem;
	font-weight: 550;
	color: #86868b;
}
.pstore .mform-panel {
	margin-top: 0.35rem;
}
@media (max-width: 560px) {
	.pstore-question { font-size: 1.2rem; }
	.pstore-choices { padding: 0.7rem; }
	.pstore-length-grid { gap: 0.4rem; }
}

/* ===== Polls list (landing) ===== */
.plist .modstore-stats {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.5rem;
	margin: 0 0 1rem;
}
.plist .modstore-stat {
	padding: 0.55rem 0.7rem;
	border-radius: 12px;
	gap: 0.1rem;
}
.plist .modstore-stat-label,
.plist .modstore-stat > span {
	font-size: 0.68rem;
	letter-spacing: 0.03em;
}
.plist .modstore-stat-value,
.plist .modstore-stat > strong {
	font-size: 1.15rem;
}
@media (max-width: 720px) {
	.plist .modstore-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.plist-rows {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}
.plist-row {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.85rem 1rem;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 18px;
}
.plist-row-main {
	flex: 1;
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 0.85rem;
	padding: 0;
	border: 0;
	background: transparent;
	text-align: left;
	cursor: pointer;
	font: inherit;
	color: inherit;
}
.plist-row-icon {
	width: 48px;
	height: 48px;
	border-radius: 14px;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--business-primary-color, #1d1d1f);
	color: #fff;
	font-size: 1.05rem;
}
.plist-row-copy {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}
.plist-row-title {
	font-size: 1rem;
	font-weight: 750;
	letter-spacing: -0.02em;
	line-height: 1.3;
	color: #1d1d1f;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.plist-row-meta {
	font-size: 0.8rem;
	font-weight: 600;
	color: #86868b;
}
.plist-row-side {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	flex-shrink: 0;
}
@media (max-width: 720px) {
	.plist-row {
		flex-wrap: wrap;
	}
	.plist-row-side {
		width: 100%;
		justify-content: flex-end;
	}
}

/* ===== Poll detail drawer ===== */
.pdetail-body {
	padding-bottom: 1.5rem;
}
.pdetail-article {
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
}
.pdetail-head {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.35rem;
}
.pdetail-meta {
	font-size: 0.78rem;
	font-weight: 650;
	color: #86868b;
}
.pdetail-title {
	margin: 0.35rem 0 0;
	font-size: clamp(1.35rem, 3vw, 1.7rem);
	font-weight: 850;
	letter-spacing: -0.04em;
	line-height: 1.2;
	color: #1d1d1f;
}
.pdetail-desc {
	margin: 0.15rem 0 0;
	font-size: 0.95rem;
	line-height: 1.45;
	color: #3a3a3c;
}
.pdetail-votes {
	margin: 0.45rem 0 0;
	font-size: 0.88rem;
	font-weight: 650;
	color: #86868b;
}
.pdetail-votes strong {
	color: #1d1d1f;
	font-weight: 850;
	font-size: 1.05rem;
}
.pdetail-options {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}
.pdetail-option {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.28rem;
	width: 100%;
	padding: 0.9rem 1rem;
	border: 1.5px solid rgba(0, 0, 0, 0.08);
	border-radius: 16px;
	background: #fff;
	text-align: left;
	cursor: pointer;
	font: inherit;
	color: inherit;
	overflow: hidden;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}
.pdetail-option:hover {
	border-color: color-mix(in srgb, var(--business-primary-color, #1d1d1f) 45%, rgba(0,0,0,0.12));
}
.pdetail-option:disabled {
	cursor: default;
	opacity: 1;
}
.pdetail.has-voted .pdetail-option {
	cursor: default;
}
.pdetail.has-voted .pdetail-option:not(.is-selected) {
	opacity: 0.78;
}
.pdetail-option.is-selected,
.pdetail-option.is-leading {
	border-color: var(--business-primary-color, #1d1d1f);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--business-primary-color, #1d1d1f) 14%, transparent);
}
.pdetail-option-bar {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}
.pdetail-option-fill {
	display: block;
	height: 100%;
	width: 0;
	background: color-mix(in srgb, var(--business-primary-color, #1d1d1f) 14%, transparent);
	transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.pdetail-option-row,
.pdetail-option-votes {
	position: relative;
	z-index: 1;
}
.pdetail-option-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.85rem;
}
.pdetail-option-text {
	font-size: 0.98rem;
	font-weight: 750;
	letter-spacing: -0.02em;
	color: #1d1d1f;
}
.pdetail-option-pct {
	font-size: 0.92rem;
	font-weight: 850;
	font-variant-numeric: tabular-nums;
	color: var(--business-primary-color, #1d1d1f);
}
.pdetail-option-votes {
	font-size: 0.75rem;
	font-weight: 650;
	color: #86868b;
}
.pdetail-hint {
	margin: 0.15rem 0 0;
	font-size: 0.8rem;
	font-weight: 550;
	color: #86868b;
}
.pdetail-empty {
	margin: 0;
	color: #86868b;
}

/* ===== Events list ===== */
.elist .modstore-stats {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.5rem;
	margin: 0 0 1.15rem;
}
.elist .modstore-stat {
	padding: 0.55rem 0.7rem;
	border-radius: 12px;
	gap: 0.1rem;
}
.elist .modstore-stat-label,
.elist .modstore-stat > span {
	font-size: 0.68rem;
	letter-spacing: 0.03em;
}
.elist .modstore-stat-value,
.elist .modstore-stat > strong {
	font-size: 1.15rem;
}
@media (max-width: 720px) {
	.elist .modstore-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.elist-cards {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.elist-card {
	display: flex;
	align-items: flex-start;
	gap: 0.95rem;
	padding: 1.05rem 1.1rem;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 18px;
}
.elist-card-icon {
	width: 52px;
	height: 52px;
	border-radius: 15px;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--business-primary-color, #1d1d1f);
	color: #fff;
	font-size: 1.1rem;
}
.elist-card-copy {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.28rem;
}
.elist-card-top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem 0.65rem;
}
.elist-type {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.18rem 0.55rem;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 750;
	letter-spacing: 0.02em;
	background: rgba(0, 0, 0, 0.05);
	color: #3a3a3c;
}
.elist-type.is-online {
	background: color-mix(in srgb, var(--business-primary-color, #1d1d1f) 14%, #fff);
	color: var(--business-primary-color, #1d1d1f);
}
.elist-card-date {
	font-size: 0.78rem;
	font-weight: 650;
	color: #86868b;
}
.elist-card-title {
	font-size: 1.05rem;
	font-weight: 780;
	letter-spacing: -0.025em;
	line-height: 1.28;
	color: #1d1d1f;
}
.elist-card-place,
.elist-card-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0;
	max-width: 100%;
	font-size: 0.82rem;
	font-weight: 650;
	color: #636366;
	text-decoration: none;
}
.elist-card-place span,
.elist-card-link span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.elist-card-place i,
.elist-card-link i {
	flex-shrink: 0;
	font-size: 0.75rem;
	opacity: 0.85;
}
.elist-card-link {
	color: var(--business-primary-color, #0a66c2);
}
.elist-card-link:hover {
	text-decoration: underline;
}
.elist-card-excerpt {
	margin: 0.1rem 0 0;
	font-size: 0.9rem;
	line-height: 1.45;
	color: #3a3a3c;
}
.elist-card-more {
	display: inline;
	margin-left: 0.2rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--business-primary-color, #0a66c2);
	font: inherit;
	font-size: inherit;
	font-weight: 750;
	cursor: pointer;
}
.elist-card-more:hover {
	text-decoration: underline;
}
.elist-card-side {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.4rem;
	flex-shrink: 0;
}
@media (max-width: 720px) {
	.elist-card {
		flex-wrap: wrap;
	}
	.elist-card-side {
		width: 100%;
		flex-direction: row;
		justify-content: flex-end;
		align-items: center;
	}
}

/* Event detail drawer */
.edetail-body {
	padding-top: 0.35rem !important;
}
.edetail-article {
	display: flex;
	flex-direction: column;
	gap: 1.15rem;
}
.edetail-cover {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 18px;
	overflow: hidden;
	background:
		radial-gradient(120% 90% at 12% 18%, color-mix(in srgb, var(--business-primary-color, #1d1d1f) 38%, #fff), transparent 58%),
		linear-gradient(145deg, color-mix(in srgb, var(--business-primary-color, #1d1d1f) 88%, #111), #2a2a2e);
	color: #fff;
}
.edetail-cover-map {
	background: #e8eaee;
}
.edetail-cover-canvas {
	position: absolute;
	inset: 0;
	z-index: 1;
}
.edetail-cover-fallback {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	background:
		radial-gradient(120% 90% at 12% 18%, color-mix(in srgb, var(--business-primary-color, #1d1d1f) 38%, #fff), transparent 58%),
		linear-gradient(145deg, color-mix(in srgb, var(--business-primary-color, #1d1d1f) 88%, #111), #2a2a2e);
	color: #fff;
	text-align: center;
	padding: 1rem;
}
.edetail-cover-fallback[hidden] {
	display: none !important;
}
.edetail-cover.has-map .edetail-cover-fallback {
	display: none !important;
}
.edetail-cover-fallback small {
	font-size: 0.78rem;
	font-weight: 650;
	opacity: 0.88;
}
.edetail-cover-online {
	display: flex;
	align-items: center;
	justify-content: center;
}
.edetail-cover-orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(2px);
	opacity: 0.35;
	pointer-events: none;
}
.edetail-cover-orb-a {
	width: 42%;
	height: 58%;
	left: -8%;
	top: -18%;
	background: rgba(255, 255, 255, 0.35);
}
.edetail-cover-orb-b {
	width: 38%;
	height: 48%;
	right: -10%;
	bottom: -22%;
	background: rgba(0, 0, 0, 0.22);
}
.edetail-cover-icon {
	position: relative;
	z-index: 1;
	width: 64px;
	height: 64px;
	border-radius: 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.16);
	border: 1px solid rgba(255, 255, 255, 0.22);
	font-size: 1.55rem;
	backdrop-filter: blur(6px);
}
.edetail-cover-badge {
	position: absolute;
	z-index: 3;
	top: 0.75rem;
	left: 0.75rem;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.28rem 0.6rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	color: #1d1d1f;
	font-size: 0.72rem;
	font-weight: 750;
	letter-spacing: 0.02em;
}
.edetail-cover.has-map .edetail-cover-badge {
	display: none;
}
.edetail-cover-open {
	position: absolute;
	z-index: 4;
	right: 0.75rem;
	bottom: 0.75rem;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.42rem 0.7rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.94);
	color: #1d1d1f;
	font-size: 0.78rem;
	font-weight: 750;
	text-decoration: none;
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}
.edetail-cover-open:hover {
	background: #fff;
}
.edetail-cover-open[hidden] {
	display: none !important;
}
.edetail-head {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}
.edetail-badges {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem;
}
.edetail-title {
	margin: 0;
	font-size: 1.55rem;
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.15;
	color: #1d1d1f;
}
.edetail-desc {
	margin: 0;
	font-size: 0.98rem;
	line-height: 1.55;
	color: #3a3a3c;
}
.edetail-block {
	padding: 0.95rem 1rem;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 16px;
	background: #fafafa;
}
.edetail-label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.72rem;
	font-weight: 750;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #86868b;
}
.edetail-value {
	margin: 0;
	font-size: 0.98rem;
	font-weight: 650;
	color: #1d1d1f;
	line-height: 1.4;
}
.edetail-sep {
	margin: 0 0.35rem;
	color: #86868b;
	font-weight: 500;
}
.edetail-when-day {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 750;
	letter-spacing: -0.02em;
	color: #1d1d1f;
	line-height: 1.3;
}
.edetail-when-time {
	margin: 0.28rem 0 0;
	font-size: 0.95rem;
	font-weight: 650;
	color: #636366;
	letter-spacing: -0.01em;
}
.elist-card-date {
	text-transform: none;
	letter-spacing: -0.01em;
}
.edetail-place {
	display: flex;
	align-items: flex-start;
	gap: 0.45rem;
}
.edetail-place i {
	margin-top: 0.2rem;
	color: var(--business-primary-color, #1d1d1f);
}
.edetail-coords {
	margin: 0.45rem 0 0;
	font-size: 0.78rem;
	font-weight: 600;
	color: #86868b;
}
.edetail-link {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.75rem 0.85rem;
	border-radius: 14px;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	text-decoration: none;
	color: inherit;
	transition: border-color 0.15s ease, transform 0.12s ease;
}
.edetail-link:hover {
	border-color: color-mix(in srgb, var(--business-primary-color, #1d1d1f) 40%, #e5e7eb);
	transform: translateY(-1px);
}
.edetail-link-icon {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--business-primary-color, #1d1d1f);
	color: #fff;
	flex-shrink: 0;
}
.edetail-link-copy {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	min-width: 0;
}
.edetail-link-copy strong {
	font-size: 0.95rem;
	font-weight: 750;
	color: #1d1d1f;
}
.edetail-link-copy small {
	font-size: 0.78rem;
	font-weight: 600;
	color: #86868b;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.edetail-map-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: 0.7rem;
	padding: 0.45rem 0.75rem;
	border-radius: 999px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	background: #fff;
	color: var(--business-primary-color, #1d1d1f);
	font-size: 0.82rem;
	font-weight: 700;
	text-decoration: none;
}
.edetail-map-btn:hover {
	border-color: color-mix(in srgb, var(--business-primary-color, #1d1d1f) 35%, #e5e7eb);
}

/* Event form map (drawer) */
.estore .mform-panel + .mform-panel {
	margin-top: 0.75rem;
}
.estore-mode-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
.estore .astore-giro-chip.is-selected {
	background: var(--business-primary-color, #1d1d1f);
	border-color: transparent;
	color: #fff;
	box-shadow: 0 8px 16px color-mix(in srgb, var(--business-primary-color, #1d1d1f) 28%, transparent);
}
.estore-mode-panel[hidden] {
	display: none !important;
}
.estore-map.istore-leaflet-wrap,
.estore .info-map-container.istore-leaflet-wrap {
	height: 240px;
	padding: 0;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 16px;
	overflow: hidden;
	background: #eef0f3;
	position: relative;
}
.estore-map.has-coords {
	border-color: color-mix(in srgb, var(--business-primary-color, #1d1d1f) 35%, #e5e7eb);
}

/* Tema de la web del Studio. No toca el teléfono. */
body.studio-layout[data-studio-theme="dark"] {
	--st-ink: #f5f5f7;
	--st-muted: #aeaeb2;
	--st-bg: #000;
	--st-surface: #1c1c1e;
	--st-line: rgba(255, 255, 255, 0.12);
	--st-sidebar: rgba(28, 28, 30, 0.72);
	--dp-bg: #000;
	--dp-bg-elevated: #1c1c1e;
	--dp-ink: #f5f5f7;
	--dp-muted: #aeaeb2;
	--dp-line: rgba(255, 255, 255, 0.12);
	background: #000 !important;
	color: #f5f5f7;
}

body.studio-layout[data-studio-theme="dark"] .studio-sidebar {
	background: linear-gradient(165deg, rgba(28, 28, 30, 0.92) 0%, rgba(18, 18, 20, 0.88) 100%) !important;
	border-right-color: rgba(255, 255, 255, 0.08) !important;
	box-shadow: 8px 0 32px rgba(0, 0, 0, 0.35) !important;
	color: #f5f5f7 !important;
}

body.studio-layout[data-studio-theme="dark"] .studio-sidebar::before {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 28%);
}

body.studio-layout[data-studio-theme="dark"] .studio-sidebar-brand {
	border-bottom-color: rgba(255, 255, 255, 0.08) !important;
	background: transparent;
}

body.studio-layout[data-studio-theme="dark"] .studio-sidebar-item {
	color: #d1d1d6 !important;
}

body.studio-layout[data-studio-theme="dark"] .studio-sidebar-item:hover,
body.studio-layout[data-studio-theme="dark"] .studio-sidebar-item.is-active {
	background: rgba(255, 255, 255, 0.08) !important;
	color: #f5f5f7 !important;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
}

body.studio-layout[data-studio-theme="dark"] .studio-sidebar-item-icon {
	background: rgba(255, 255, 255, 0.08) !important;
	color: #d1d1d6 !important;
	box-shadow: none !important;
}

body.studio-layout[data-studio-theme="dark"] .studio-header {
	background: rgba(28, 28, 30, 0.86) !important;
	border-bottom-color: rgba(255, 255, 255, 0.08) !important;
	box-shadow: none !important;
}

body.studio-layout[data-studio-theme="dark"] .studio-header-title,
body.studio-layout[data-studio-theme="dark"] .studio-sidebar-brand-text strong,
body.studio-layout[data-studio-theme="dark"] .studio-sidebar-user-name {
	color: #f5f5f7 !important;
}

body.studio-layout[data-studio-theme="dark"] .studio-main .box,
body.studio-layout[data-studio-theme="dark"] .studio-main .card,
body.studio-layout[data-studio-theme="dark"] .dp-form-card,
body.studio-layout[data-studio-theme="dark"] .studio-workspace-editor > .box {
	background: #1c1c1e !important;
	border-color: rgba(255, 255, 255, 0.08) !important;
	color: #f5f5f7;
}

body.studio-layout[data-studio-theme="dark"] .info-input,
body.studio-layout[data-studio-theme="dark"] .info-textarea,
body.studio-layout[data-studio-theme="dark"] .studio-main .input,
body.studio-layout[data-studio-theme="dark"] .studio-main .textarea,
body.studio-layout[data-studio-theme="dark"] .studio-main .select select {
	background: #2c2c2e !important;
	color: #f5f5f7 !important;
	border-color: rgba(255, 255, 255, 0.12) !important;
}

body.studio-layout[data-studio-theme="dark"] .uibuilder {
	--ub-ink: #f5f5f7;
	--ub-muted: #aeaeb2;
	--ub-line: rgba(255, 255, 255, 0.12);
	--ub-panel: #1c1c1e;
	--ub-soft: #2c2c2e;
	color: #f5f5f7;
}

body.studio-layout[data-studio-theme="dark"] .uibuilder-palette,
body.studio-layout[data-studio-theme="dark"] .uibuilder-props,
body.studio-layout[data-studio-theme="dark"] .uibuilder-title,
body.studio-layout[data-studio-theme="dark"] .uibuilder-palette strong,
body.studio-layout[data-studio-theme="dark"] .uibuilder-props strong,
body.studio-layout[data-studio-theme="dark"] .uibuilder-tool,
body.studio-layout[data-studio-theme="dark"] .uibuilder-tool span {
	color: #f5f5f7;
}

body.studio-layout[data-studio-theme="dark"] .uibuilder-props input,
body.studio-layout[data-studio-theme="dark"] .uibuilder-props select,
body.studio-layout[data-studio-theme="dark"] .uibuilder-props textarea {
	background: #2c2c2e;
	color: #f5f5f7;
}

/* Drawer Nueva app: al hacer scroll, el botón de arriba se oculta y sale la barra inferior */
.astore .astore-create-btn {
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.astore.is-scrolled .astore-create-btn {
	opacity: 0;
	transform: scale(0.9);
	pointer-events: none;
}

.astore-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	position: sticky;
	bottom: 0.75rem;
	z-index: 20;
	margin-top: 0.5rem;
	padding: 0.75rem 0.85rem;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid rgba(0, 0, 0, 0.08);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
	opacity: 0;
	transform: translateY(14px);
	pointer-events: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.astore.is-scrolled .astore-actions {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.astore-action-cancel,
.astore-action-save {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0.65rem 1.1rem;
	border-radius: 980px;
	font: inherit;
	font-size: 0.88rem;
	font-weight: 700;
	cursor: pointer;
}

.astore-action-cancel {
	border: 1px solid rgba(0, 0, 0, 0.1);
	background: #fff;
	color: #1d1d1f;
}

.astore-action-save {
	border: 0;
	margin-left: auto;
	background: linear-gradient(135deg, #1d1d1f 0%, #334155 100%);
	color: #fff;
	box-shadow: 0 8px 20px rgba(29, 29, 31, 0.22);
}

/* ---- Info tabs: dark theme (excluido del generador por data-studio-theme) ---- */
body.studio-layout[data-studio-theme="dark"] .istore-seg.info-tabs,
body.studio-layout[data-studio-theme="dark"] .istore-seg {
	background: rgba(255, 255, 255, 0.06) !important;
}

body.studio-layout[data-studio-theme="dark"] .istore-seg-item,
body.studio-layout[data-studio-theme="dark"] button.istore-seg-item {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	color: #aeaeb2 !important;
}

body.studio-layout[data-studio-theme="dark"] .istore-seg-item i,
body.studio-layout[data-studio-theme="dark"] button.istore-seg-item i {
	color: inherit !important;
}

body.studio-layout[data-studio-theme="dark"] .istore-seg-item:hover,
body.studio-layout[data-studio-theme="dark"] .istore-seg-item:focus-visible,
body.studio-layout[data-studio-theme="dark"] button.istore-seg-item:hover,
body.studio-layout[data-studio-theme="dark"] button.istore-seg-item:focus-visible {
	background: rgba(255, 255, 255, 0.08) !important;
	color: #f5f5f7 !important;
}

body.studio-layout[data-studio-theme="dark"] .istore-seg-item.is-active,
body.studio-layout[data-studio-theme="dark"] .istore-seg-item.is-active:hover,
body.studio-layout[data-studio-theme="dark"] .istore-seg-item.is-active:focus-visible,
body.studio-layout[data-studio-theme="dark"] button.istore-seg-item.is-active,
body.studio-layout[data-studio-theme="dark"] button.istore-seg-item.is-active:hover,
body.studio-layout[data-studio-theme="dark"] button.istore-seg-item.is-active:focus-visible {
	background: #3a3a3c !important;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35) !important;
	color: #f5f5f7 !important;
}

body.studio-layout[data-studio-theme="dark"] .istore-seg-item.is-active i,
body.studio-layout[data-studio-theme="dark"] .istore-seg-item.is-active:hover i {
	color: inherit !important;
}

body.studio-layout[data-studio-theme="dark"] .istore-panel {
	background: #1c1c1e;
	border-color: rgba(255, 255, 255, 0.1);
}

body.studio-layout[data-studio-theme="dark"] .app-drawer-panel:has(.istore) .app-drawer-content,
body.studio-layout[data-studio-theme="dark"] .app-drawer-panel:has(.dstore) .app-drawer-content {
	background: #111113 !important;
}

body.studio-layout[data-studio-theme="dark"] .pstore--drawer .pstore-seg {
	background: rgba(255, 255, 255, 0.06);
}

body.studio-layout[data-studio-theme="dark"] .pstore--drawer .pstore-seg-item {
	color: #f5f5f7;
}

body.studio-layout[data-studio-theme="dark"] .pstore--drawer .pstore-seg-item.is-active {
	background: #3a3a3c;
	color: #fff;
}

body.studio-layout[data-studio-theme="dark"] .pstore--drawer .pstore-search input {
	background: #1c1c1e;
	color: #f5f5f7;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

body.studio-layout[data-studio-theme="dark"] .pstore--drawer .pstore-list {
	background: transparent;
	border: 0;
}

body.studio-layout[data-studio-theme="dark"] .pstore--drawer .pstore-row,
body.studio-layout[data-studio-theme="dark"] .pstore--drawer .pstore-empty {
	background: #1c1c1e;
	border-color: rgba(255, 255, 255, 0.08);
}

body.studio-layout[data-studio-theme="dark"] .pstore--drawer .pstore-row:hover {
	background: #2c2c2e;
}

body.studio-layout[data-studio-theme="dark"] .pstore--drawer .pstore-row-copy strong,
body.studio-layout[data-studio-theme="dark"] .pstore--drawer .pstore-row-price,
body.studio-layout[data-studio-theme="dark"] .pstore--drawer .pstore-empty h2 {
	color: #f5f5f7;
}

body.studio-layout[data-studio-theme="dark"] .pstore--drawer .pstore-icon-btn {
	background: #2c2c2e;
	color: #f5f5f7;
}

body.studio-layout[data-studio-theme="dark"] .istore .dp-label {
	color: #f5f5f7;
}

body.studio-layout[data-studio-theme="dark"] .istore .dp-input,
body.studio-layout[data-studio-theme="dark"] .istore .dp-textarea {
	color: #f5f5f7;
	background: #212123 !important;
	border-color: rgba(255, 255, 255, 0.14) !important;
}

body.studio-layout[data-studio-theme="dark"] .istore .dp-input::placeholder,
body.studio-layout[data-studio-theme="dark"] .istore .dp-textarea::placeholder {
	color: #8e8e93;
}

/* App Builder top actions — dark */
body.studio-layout[data-studio-theme="dark"] .uibuilder-toolbtn {
	background: #2c2c2e;
	border-color: rgba(255, 255, 255, 0.14);
	color: #f5f5f7;
}

body.studio-layout[data-studio-theme="dark"] .uibuilder-toolbtn:hover {
	background: #3a3a3c;
}

body.studio-layout[data-studio-theme="dark"] .uibuilder-toolbtn--danger {
	color: #ff7b72;
	border-color: rgba(255, 123, 114, 0.28);
}

body.studio-layout[data-studio-theme="dark"] .uibuilder-toolbtn--danger:hover {
	background: #3a1d1d;
}

/* Type picker (¿Cómo lo quieres ver?) — dark contrast */
body.studio-layout[data-studio-theme="dark"] .ub-typepick {
	background: rgba(0, 0, 0, 0.55) !important;
}

body.studio-layout[data-studio-theme="dark"] .ub-typepick-card {
	background: #1c1c1e !important;
	color: #f5f5f7 !important;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}

body.studio-layout[data-studio-theme="dark"] .ub-typepick-title {
	color: #f5f5f7 !important;
}

body.studio-layout[data-studio-theme="dark"] .ub-typepick-mod {
	color: #aeaeb2 !important;
}

body.studio-layout[data-studio-theme="dark"] .ub-typepick-opt {
	background: #2c2c2e !important;
	border-color: rgba(255, 255, 255, 0.14) !important;
	color: #f5f5f7 !important;
}

body.studio-layout[data-studio-theme="dark"] .ub-typepick-opt strong,
body.studio-layout[data-studio-theme="dark"] .ub-typepick-opt span {
	color: #f5f5f7 !important;
}

body.studio-layout[data-studio-theme="dark"] .ub-typepick-opt small {
	color: #aeaeb2 !important;
}

body.studio-layout[data-studio-theme="dark"] .ub-typepick-opt i {
	color: #d1d1d6 !important;
}

body.studio-layout[data-studio-theme="dark"] .ub-typepick-opt:hover {
	background: #3a3a3c !important;
	border-color: rgba(255, 255, 255, 0.22) !important;
}

body.studio-layout[data-studio-theme="dark"] .ub-typepick-opt.is-on {
	background: #3a3a3c !important;
	border-color: #f5f5f7 !important;
	box-shadow: inset 0 0 0 1px #f5f5f7 !important;
	color: #f5f5f7 !important;
}

body.studio-layout[data-studio-theme="dark"] .ub-typepick-cancel {
	color: #aeaeb2 !important;
}

body.studio-layout[data-studio-theme="dark"] .ub-typepick-cancel:hover {
	color: #f5f5f7 !important;
}

/* Theme toggles + footer + tab + en dark */
body.studio-layout[data-studio-theme="dark"] .studio-sidebar-footer {
	border-top-color: rgba(255, 255, 255, 0.1) !important;
	background: transparent !important;
}

body.studio-layout[data-studio-theme="dark"] .studio-theme-toggle {
	color: #aeaeb2;
}

body.studio-layout[data-studio-theme="dark"] .studio-theme-toggle:hover {
	background: rgba(255, 255, 255, 0.08);
	color: #f5f5f7;
}

body.studio-layout[data-studio-theme="dark"] .ub-theme-toggle {
	background: #2c2c2e;
	border-color: rgba(255, 255, 255, 0.14);
	color: #f5f5f7;
}

body.studio-layout[data-studio-theme="dark"] .ub-theme-toggle:hover {
	background: #3a3a3c;
}

body.studio-layout[data-studio-theme="dark"] .ub-tabitem-add {
	background: #3a3a3c !important;
	color: #f5f5f7 !important;
}

body.studio-layout[data-studio-theme="dark"] .ub-tabitem-add:hover {
	background: #48484a !important;
}

/* ===== Drawer Mi Perfil (ustore) — chrome Studio, sin naranja ===== */
.app-drawer-panel:has(.ustore) .dstore-header.app-drawer-header {
	background: rgba(245, 245, 247, 0.92) !important;
	color: #1d1d1f !important;
	box-shadow: none !important;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.app-drawer-panel:has(.ustore) .dstore-kicker {
	color: #86868b !important;
}

.app-drawer-panel:has(.ustore) .dstore-title,
.app-drawer-panel:has(.ustore) .app-drawer-title {
	color: #1d1d1f !important;
}

.app-drawer-panel:has(.ustore) .dstore-close {
	color: #1d1d1f !important;
	background: rgba(0, 0, 0, 0.05) !important;
}

.app-drawer-panel:has(.ustore) .app-drawer-content {
	background: #f5f5f7 !important;
}

.ustore .dstore-store-btn {
	background: #1d1d1f !important;
	color: #fff !important;
	box-shadow: none !important;
}

.ustore-header-spacer {
	width: 36px;
	flex: none;
}

.ustore-hero {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 1rem;
	padding: 1rem 1.05rem;
	border-radius: 16px;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.06);
}

.ustore-ava {
	flex: none;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: #1d1d1f;
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.ustore-hero-copy {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.ustore-hero-copy strong {
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #1d1d1f;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ustore-hero-copy span {
	font-size: 0.82rem;
	color: #86868b;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ustore-form .mform-panel {
	padding: 1rem 1.05rem 0.85rem;
}

.ustore-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 2.5rem 1rem;
	text-align: center;
	color: #86868b;
}

.ustore-empty i {
	font-size: 1.6rem;
	opacity: 0.7;
}

.ustore-empty p {
	margin: 0;
	font-size: 0.9rem;
}

body.studio-layout[data-studio-theme="dark"] .app-drawer-panel:has(.ustore) .dstore-header.app-drawer-header {
	background: rgba(28, 28, 30, 0.94) !important;
	color: #f5f5f7 !important;
	border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.studio-layout[data-studio-theme="dark"] .app-drawer-panel:has(.ustore) .dstore-kicker {
	color: #aeaeb2 !important;
}

body.studio-layout[data-studio-theme="dark"] .app-drawer-panel:has(.ustore) .dstore-title,
body.studio-layout[data-studio-theme="dark"] .app-drawer-panel:has(.ustore) .app-drawer-title {
	color: #f5f5f7 !important;
}

body.studio-layout[data-studio-theme="dark"] .app-drawer-panel:has(.ustore) .dstore-close {
	color: #f5f5f7 !important;
	background: rgba(255, 255, 255, 0.08) !important;
}

body.studio-layout[data-studio-theme="dark"] .app-drawer-panel:has(.ustore) .app-drawer-content {
	background: #111113 !important;
}

body.studio-layout[data-studio-theme="dark"] .ustore-hero {
	background: #1c1c1e;
	border-color: rgba(255, 255, 255, 0.1);
}

body.studio-layout[data-studio-theme="dark"] .ustore-ava {
	background: #3a3a3c;
	color: #f5f5f7;
}

body.studio-layout[data-studio-theme="dark"] .ustore-hero-copy strong {
	color: #f5f5f7;
}

body.studio-layout[data-studio-theme="dark"] .ustore-hero-copy span,
body.studio-layout[data-studio-theme="dark"] .ustore-empty {
	color: #aeaeb2;
}

body.studio-layout[data-studio-theme="dark"] .ustore .mform-panel {
	background: #1c1c1e;
	border-color: rgba(255, 255, 255, 0.1);
}

body.studio-layout[data-studio-theme="dark"] .ustore .mform-panel-head strong {
	color: #f5f5f7;
}

body.studio-layout[data-studio-theme="dark"] .ustore .mform-panel-head small {
	color: #aeaeb2;
}

body.studio-layout[data-studio-theme="dark"] .ustore .dp-label {
	color: #f5f5f7;
}

body.studio-layout[data-studio-theme="dark"] .ustore .dp-input {
	color: #f5f5f7;
	background: #212123 !important;
	border-color: rgba(255, 255, 255, 0.14) !important;
}

body.studio-layout[data-studio-theme="dark"] .ustore .dstore-store-btn {
	background: #f5f5f7 !important;
	color: #1d1d1f !important;
}

/* Tienda de módulos: grid por categoría */
.dstore-cats {
	display: flex;
	flex-direction: column;
	gap: 1.15rem;
}

.dstore-cat-title {
	margin: 0 0 0.55rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #86868b;
}

.dstore-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.65rem;
}

.dstore-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.55rem;
	min-width: 0;
	padding: 0.85rem 0.8rem 0.75rem;
	border-radius: 16px;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.06);
	cursor: pointer;
}

.dstore-dl {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 2;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: #f2f2f7;
	color: #1d1d1f;
	display: grid;
	place-items: center;
	cursor: pointer;
}

.dstore-dl i {
	font-size: 0.72rem;
	line-height: 1;
}

.dstore-dl:hover {
	background: #e8e8ed;
}

.dstore-dl:disabled,
.dstore-dl.is-saving {
	opacity: 0.45;
	cursor: default;
}

.dstore-dl--bar {
	position: static;
	flex: none;
}

.dstore-dl.is-done {
	background: #e8f8ee;
	color: #15803d;
	cursor: default;
}

.dstore-card-main {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.55rem;
	min-width: 0;
	width: 100%;
	padding-right: 1.6rem;
	border: 0;
	background: none;
	font: inherit;
	text-align: left;
	text-decoration: none;
	color: inherit;
	cursor: pointer;
}

.dstore-card-icon {
	width: 42px;
	height: 42px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 1.05rem;
	overflow: hidden;
	flex: none;
}

.dstore-card-icon.is-img {
	background: #f2f2f7;
	padding: 0;
}

.dstore-card-icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.dstore-card-main strong {
	font-size: 0.88rem;
	font-weight: 700;
	letter-spacing: -0.015em;
	color: #1d1d1f;
	line-height: 1.25;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.dstore-card .dstore-get {
	align-self: flex-start;
}

body.studio-layout[data-studio-theme="dark"] .dstore-card {
	background: #1c1c1e;
	border-color: rgba(255, 255, 255, 0.1);
}

body.studio-layout[data-studio-theme="dark"] .dstore-card-main strong {
	color: #f5f5f7;
}

body.studio-layout[data-studio-theme="dark"] .dstore-cat-title {
	color: #aeaeb2;
}

body.studio-layout[data-studio-theme="dark"] .dstore-card-icon.is-img {
	background: #2c2c2e;
}

body.studio-layout[data-studio-theme="dark"] .dstore-dl {
	background: #2c2c2e;
	color: #f5f5f7;
}

body.studio-layout[data-studio-theme="dark"] .dstore-dl:hover {
	background: #3a3a3c;
}

body.studio-layout[data-studio-theme="dark"] .dstore-dl.is-done {
	background: #14301f;
	color: #4ade80;
}

.dstore-mod-hero {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.85rem;
}

.dstore-mod-icon {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	font-size: 1.2rem;
}

.dstore-mod-hero-copy p {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.35;
	color: #1d1d1f;
}

.dstore-mod-about p {
	margin: 0 0 0.7rem;
	font-size: 0.88rem;
	line-height: 1.45;
	color: #3a3a3c;
}

.dstore-mod-feats {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	margin-top: 0.35rem;
}

.dstore-mod-feat {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	padding: 0.7rem 0.75rem;
	border-radius: 14px;
	background: #f5f5f7;
}

.dstore-mod-feat i {
	width: 1.1rem;
	margin-top: 0.12rem;
	text-align: center;
	color: var(--business-primary-color, #1d1d1f);
	flex: none;
}

.dstore-mod-feat strong {
	display: block;
	font-size: 0.84rem;
	color: #1d1d1f;
}

.dstore-mod-feat span {
	display: block;
	margin-top: 0.1rem;
	font-size: 0.78rem;
	line-height: 1.35;
	color: #6e6e73;
}

.dstore-mod-list {
	list-style: none;
	margin: 0.85rem 0 0;
	padding: 0;
}

.dstore-mod-list li {
	padding: 0.45rem 0;
	border-top: 1px solid rgba(0, 0, 0, 0.06);
	font-size: 0.84rem;
	color: #1d1d1f;
}

body.studio-layout[data-studio-theme="dark"] .dstore-mod-hero-copy p,
body.studio-layout[data-studio-theme="dark"] .dstore-mod-feat strong,
body.studio-layout[data-studio-theme="dark"] .dstore-mod-list li {
	color: #f5f5f7;
}

body.studio-layout[data-studio-theme="dark"] .dstore-mod-about p,
body.studio-layout[data-studio-theme="dark"] .dstore-mod-feat span {
	color: #aeaeb2;
}

body.studio-layout[data-studio-theme="dark"] .dstore-mod-feat {
	background: #2c2c2e;
}

body.studio-layout[data-studio-theme="dark"] .dstore-mod-list li {
	border-top-color: rgba(255, 255, 255, 0.08);
}

.cstore--drawer .cstore-stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.5rem;
	margin: 0 0 0.85rem;
}

.cstore--drawer .cstore-stat {
	padding: 0.7rem 0.75rem;
	border-radius: 14px;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.06);
}

.cstore--drawer .cstore-stat span {
	display: block;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #86868b;
}

.cstore--drawer .cstore-stat strong {
	display: block;
	margin-top: 0.15rem;
	font-size: 1.15rem;
	font-weight: 750;
	letter-spacing: -0.03em;
	color: #1d1d1f;
}

.cstore--drawer .cstore-list {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.cstore--drawer .cstore-row {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.7rem 0.7rem;
	border-radius: 16px;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.06);
}

.cstore--drawer .cstore-ico {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	flex: none;
	background: color-mix(in srgb, var(--business-primary-color, #1d1d1f) 12%, #fff);
	color: var(--business-primary-color, #1d1d1f);
}

.cstore--drawer .cstore-copy {
	min-width: 0;
	flex: 1;
}

.cstore--drawer .cstore-copy strong {
	display: block;
	font-size: 0.92rem;
	letter-spacing: -0.02em;
	color: #1d1d1f;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.cstore--drawer .cstore-copy small {
	display: block;
	margin-top: 0.12rem;
	font-size: 0.78rem;
	color: #6e6e73;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.cstore--drawer .pstore-icon-btn {
	background: #f2f2f7;
	color: #1d1d1f;
	flex: none;
}

.cstore--drawer .cstore-empty {
	text-align: center;
	padding: 1.6rem 0.8rem 0.4rem;
}

.cstore--drawer .cstore-empty-icon {
	width: 52px;
	height: 52px;
	margin: 0 auto 0.75rem;
	border-radius: 16px;
	display: grid;
	place-items: center;
	background: var(--business-primary-color, #1d1d1f);
	color: #fff;
	font-size: 1.15rem;
}

.cstore--drawer .cstore-empty strong {
	display: block;
	font-size: 1.02rem;
	color: #1d1d1f;
}

.cstore--drawer .cstore-empty p {
	margin: 0.3rem 0 0.9rem;
	font-size: 0.86rem;
	color: #6e6e73;
}

body.studio-layout[data-studio-theme="dark"] .cstore--drawer .cstore-stat,
body.studio-layout[data-studio-theme="dark"] .cstore--drawer .cstore-row {
	background: #1c1c1e;
	border-color: rgba(255, 255, 255, 0.1);
}

body.studio-layout[data-studio-theme="dark"] .cstore--drawer .cstore-stat strong,
body.studio-layout[data-studio-theme="dark"] .cstore--drawer .cstore-copy strong,
body.studio-layout[data-studio-theme="dark"] .cstore--drawer .cstore-empty strong {
	color: #f5f5f7;
}

body.studio-layout[data-studio-theme="dark"] .cstore--drawer .cstore-copy small,
body.studio-layout[data-studio-theme="dark"] .cstore--drawer .cstore-empty p,
body.studio-layout[data-studio-theme="dark"] .cstore--drawer .cstore-stat span {
	color: #aeaeb2;
}

body.studio-layout[data-studio-theme="dark"] .cstore--drawer .pstore-icon-btn {
	background: #2c2c2e;
	color: #f5f5f7;
}
