.public-premium { --theme:#0f766e; --theme-2:#164e63; --surface:#ffffff; --soft:#f3faf8; --ink:#101828; --muted:#667085; --line:#d0d5dd; background:linear-gradient(180deg,var(--soft),#fff); }
.public-premium .premium-hero { border:0; border-radius:0; margin:-34px -20px 28px; padding:34px 20px 38px; background:radial-gradient(circle at 20% 15%, rgba(255,255,255,.18), transparent 26%), linear-gradient(135deg,var(--theme),var(--theme-2)); color:#fff; }
.public-premium .premium-hero-inner { max-width:1120px; margin:0 auto; display:grid; gap:14px; }
.public-premium .premium-hero h1 { max-width:820px; color:#fff; }
.public-premium .premium-hero p { max-width:720px; color:rgba(255,255,255,.88); }
.public-premium .badge { border-color:rgba(255,255,255,.22); background:rgba(255,255,255,.14); color:inherit; }
.premium-actions { display:flex; flex-wrap:wrap; gap:12px; align-items:center; margin-top:8px; }
.premium-button, .public-premium .button, .public-premium button { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:12px 16px; border:0; border-radius:10px; background:var(--theme); color:#fff; font-weight:800; text-decoration:none; box-shadow:0 8px 18px rgba(16,24,40,.14); cursor:pointer; }
.premium-button.secondary { background:#fff; color:var(--theme); }
.section-title { margin:28px 0 8px; }
.promo-banner { border:0; background:linear-gradient(135deg,#fff,var(--soft)); box-shadow:0 10px 28px rgba(16,24,40,.08); border-left:5px solid var(--theme); }
.category-chip { display:inline-flex; gap:8px; align-items:center; padding:10px 12px; border:1px solid var(--line); border-radius:999px; background:#fff; margin:6px 6px 0 0; }
.product-card { display:flex; flex-direction:column; gap:10px; border:0; box-shadow:0 10px 24px rgba(16,24,40,.08); min-height:100%; }
.product-visual { min-height:118px; display:grid; place-items:center; border-radius:12px; background:radial-gradient(circle at 25% 15%, rgba(255,255,255,.95), transparent 28%), linear-gradient(135deg,var(--soft), color-mix(in srgb, var(--theme) 14%, white)); color:var(--theme); font-size:48px; overflow:hidden; border:1px solid color-mix(in srgb, var(--theme) 12%, white); }
.product-visual img { width:100%; height:160px; object-fit:cover; }
.payment-card { border:0; box-shadow:0 8px 22px rgba(16,24,40,.07); }
.payment-card img { max-width:124px; height:auto; border:1px solid var(--line); border-radius:8px; background:#fff; }
.order-shell { position:sticky; bottom:12px; z-index:5; border:2px solid color-mix(in srgb, var(--theme) 24%, white); box-shadow:0 18px 38px rgba(16,24,40,.16); background:linear-gradient(180deg,#fff,var(--soft)); }
.order-shell button[data-inc], .order-shell button[data-dec], .order-shell button[data-remove] { width:auto; min-height:34px; padding:6px 10px; border-radius:8px; box-shadow:none; margin:4px; }
.order-form-card { border:0; box-shadow:0 12px 28px rgba(16,24,40,.08); }
.file-drop { display:grid; gap:4px; padding:16px; border:1.5px dashed color-mix(in srgb, var(--theme) 45%, white); border-radius:12px; background:var(--soft); color:var(--theme); cursor:pointer; }
.file-drop span { color:var(--muted); font-weight:600; }
.visually-hidden-file { position:absolute; width:1px; height:1px; opacity:0; pointer-events:none; }
.final-whatsapp { width:100%; font-size:16px; }
.public-footer { margin:28px -20px -34px; padding:28px 20px; background:linear-gradient(135deg,#101828,#1d2939); color:#fff; }
.public-footer a { color:#fff; }
.brand-mark { margin-top:18px; color:rgba(255,255,255,.78); }
.brand-mark.strong { font-weight:800; color:#fff; }
.panel-nav { display:flex; flex-wrap:wrap; gap:10px; margin:18px 0; }
.panel-nav a { padding:11px 13px; border-radius:10px; background:#fff; border:1px solid var(--line); text-decoration:none; font-weight:800; box-shadow:0 6px 16px rgba(16,24,40,.05); }
.panel-card { box-shadow:0 10px 24px rgba(16,24,40,.06); border:0; }
.login-hero { border:0; background:linear-gradient(135deg,#0f766e,#164e63); color:#fff; box-shadow:0 16px 34px rgba(16,24,40,.12); }
.login-shell { display:grid; place-items:center; margin-top:24px; }
.login-card { width:min(100%,460px); border:0; box-shadow:0 18px 40px rgba(16,24,40,.12); }
.login-card button[type="submit"] { width:100%; min-height:46px; border-radius:10px; }
.login-card input { min-height:46px; }
.hero.warning { border:0; border-left:6px solid #f97316; background:linear-gradient(135deg,#fff7ed,#fff); box-shadow:0 10px 24px rgba(154,52,18,.08); }
.hero.warning .badge { background:#fff; color:#9a3412; }
input[readonly] { background:#f9fafb; font-weight:700; color:#344054; }
table { width:100%; border-collapse:collapse; }
th, td { padding:12px; border-bottom:1px solid var(--line); text-align:left; vertical-align:top; }
.theme-restaurant-polleria { --theme:#b42318; --theme-2:#7a271a; --soft:#fff4ed; }
.theme-cafeteria-premium { --theme:#7a4f2a; --theme-2:#4e2d1b; --soft:#fbf4ea; }
.theme-pasteleria-premium { --theme:#be3b75; --theme-2:#7a284f; --soft:#fff1f6; }
.theme-panaderia-premium { --theme:#9a5b13; --theme-2:#613a12; --soft:#fff7e8; }
.theme-boutique-luxury { --theme:#111827; --theme-2:#a16207; --soft:#faf7f0; }
.theme-calzado-premium { --theme:#1f2937; --theme-2:#1d4ed8; --soft:#f3f4f6; }
.theme-clinica-dental { --theme:#087ea4; --theme-2:#0e7490; --soft:#effaff; }
.theme-veterinaria-petcare { --theme:#16803c; --theme-2:#0f766e; --soft:#f0fdf4; }
.theme-spa-belleza { --theme:#b54777; --theme-2:#2f855a; --soft:#fff5f7; }
.theme-servicios-profesionales { --theme:#155eef; --theme-2:#344054; --soft:#eff4ff; }
.theme-tecnologia-gadgets { --theme:#2563eb; --theme-2:#581c87; --soft:#eef2ff; }
.theme-otros-personalizar { --theme:#0f766e; --theme-2:#164e63; --soft:#f3faf8; }
@media (max-width: 720px) {
    main { padding-left:16px; padding-right:16px; }
    .public-premium .premium-hero { padding:28px 16px 30px; margin-left:-16px; margin-right:-16px; }
    .public-premium .premium-hero h1 { font-size:34px; }
    .order-shell { position:static; }
    .premium-actions .button, .premium-actions .premium-button { width:100%; text-align:center; }
    .public-premium button, .public-premium .button, .premium-button { width:100%; min-height:46px; }
    .product-visual { min-height:92px; }
    .category-chip { width:100%; justify-content:center; }
    table { display:block; overflow-x:auto; white-space:nowrap; }
}

/* Appearance editor premium V2 */
.appearance-editor { display:grid; gap:18px; }
.appearance-editor-header { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; padding:22px; border:1px solid rgba(15,23,42,.08); border-radius:18px; background:linear-gradient(135deg,#ffffff,#f8fafc); box-shadow:0 16px 40px rgba(16,24,40,.08); }
.appearance-editor-header h1 { margin-top:8px; }
.appearance-editor-shell { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr); gap:20px; align-items:start; }
.appearance-config { display:grid; gap:16px; }
.appearance-section { border:1px solid rgba(15,23,42,.08); border-radius:18px; padding:20px; box-shadow:0 14px 34px rgba(16,24,40,.07); }
.appearance-section h2 { margin:0; font-size:22px; }
.section-heading { display:flex; gap:12px; align-items:flex-start; margin-bottom:16px; }
.section-heading .badge { min-width:34px; min-height:34px; display:inline-grid; place-items:center; border-radius:12px; font-weight:900; }
.compact-grid { grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:14px; margin-top:10px; }
.appearance-section textarea { min-height:92px; }
.color-row { display:flex; align-items:center; gap:10px; padding:10px; border:1px solid var(--line); border-radius:14px; background:#f8fafc; }
.color-row input[type="color"] { width:48px; height:42px; padding:2px; border:0; border-radius:12px; background:transparent; }
.color-chip { width:42px; height:42px; border-radius:14px; box-shadow:inset 0 0 0 1px rgba(15,23,42,.12); }
.upload-panel { display:grid; gap:10px; padding:14px; border:1px solid var(--line); border-radius:16px; background:#fbfdff; }
.image-preview-logo, .image-preview-cover { display:grid; place-items:center; overflow:hidden; border:1px solid rgba(15,23,42,.10); background:linear-gradient(135deg,#f8fafc,#eef2f7); color:#667085; font-weight:900; }
.image-preview-logo { width:132px; aspect-ratio:1 / 1; border-radius:22px; padding:12px; }
.image-preview-cover { width:100%; aspect-ratio:16 / 7; min-height:142px; border-radius:18px; }
.image-preview-logo img { width:100%; height:100%; object-fit:contain; display:block; }
.image-preview-cover img { width:100%; height:100%; object-fit:cover; display:block; }
.social-control { display:grid; gap:8px; padding:12px; border:1px solid var(--line); border-radius:14px; background:#fff; }
.appearance-preview-panel { position:sticky; top:18px; }
.preview-device { overflow:hidden; border-radius:28px; border:1px solid rgba(15,23,42,.10); background:#fff; box-shadow:0 24px 60px rgba(16,24,40,.16); }
.preview-hero { min-height:320px; display:grid; align-content:end; gap:10px; padding:22px; color:#fff; background:linear-gradient(135deg,var(--preview-primary),var(--preview-secondary)); background-size:cover; background-position:center; position:relative; }
.preview-hero::before { content:""; position:absolute; inset:0; background:radial-gradient(circle at 20% 18%, rgba(255,255,255,.20), transparent 34%); pointer-events:none; }
.preview-hero > * { position:relative; z-index:1; }
.preview-logo { width:74px; height:74px; display:grid; place-items:center; padding:8px; border-radius:18px; background:rgba(255,255,255,.94); color:var(--preview-primary); font-weight:900; box-shadow:0 14px 30px rgba(16,24,40,.20); }
.preview-logo img { width:100%; height:100%; object-fit:contain; display:block; }
.preview-hero h2 { margin:0; color:#fff; font-size:34px; line-height:1; }
.preview-hero p { margin:0; color:rgba(255,255,255,.84); }
.preview-phrase { color:#fff !important; font-weight:900; }
.preview-button { width:max-content; margin-top:4px; background:#fff !important; color:var(--preview-primary) !important; border-radius:14px !important; }
.preview-body { display:grid; gap:10px; padding:18px; }
.preview-body p { margin:0; }
.preview-cta-row { display:flex; justify-content:space-between; gap:12px; align-items:center; padding:12px; border-radius:14px; background:color-mix(in srgb, var(--preview-primary) 9%, white); color:var(--preview-primary); }
.public-welcome-message { margin:0 0 22px; border:0; border-left:5px solid var(--theme); background:linear-gradient(135deg,#fff,var(--soft)); box-shadow:0 12px 28px rgba(16,24,40,.08); font-weight:800; }
@media (max-width: 920px) {
    .appearance-editor-header { display:grid; }
    .appearance-editor-shell { grid-template-columns:1fr; }
    .appearance-preview-panel { position:static; }
}
@media (max-width: 640px) {
    .appearance-editor-header, .appearance-section { border-radius:14px; padding:16px; }
    .preview-hero { min-height:260px; }
    .preview-hero h2 { font-size:28px; }
    .compact-grid { grid-template-columns:1fr; }
}

/* V1.1.3 rubro flow premium polish */
.hero-platform { display:flex; align-items:center; gap:10px; flex-wrap:wrap; font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:rgba(255,255,255,.72); }
.hero-platform strong { color:rgba(255,255,255,.88); }
.hero-badges { display:flex; gap:8px; flex-wrap:wrap; }
.hero-actions { display:grid; grid-template-columns:repeat(2, minmax(0, 220px)); gap:12px; align-items:center; margin-top:8px; }
.hero-actions .premium-button { width:100%; min-height:48px; margin-top:0; text-decoration:none; }
.hero-actions .premium-button.secondary { background:rgba(255,255,255,.96); color:var(--theme); }
.product-visual span::before { content:""; display:block; width:54px; height:54px; border-radius:18px; background:currentColor; box-shadow:0 18px 45px color-mix(in srgb, var(--theme) 22%, transparent); }
.placeholder-plate span::before { border-radius:50%; background:radial-gradient(circle at center, transparent 35%, currentColor 37% 47%, transparent 49%), linear-gradient(currentColor,currentColor); mask:radial-gradient(circle, #000 62%, transparent 64%); }
.placeholder-coffee span::before { border-radius:16px 16px 22px 22px; background:linear-gradient(180deg,currentColor 0 72%, transparent 72%); }
.placeholder-cake span::before { border-radius:16px; background:linear-gradient(180deg, color-mix(in srgb, var(--theme) 45%, white) 0 28%, currentColor 28% 100%); }
.placeholder-bread span::before { border-radius:60% 60% 22px 22px; }
.placeholder-fashion span::before { border-radius:22px 22px 10px 10px; transform:skew(-6deg); }
.placeholder-shoe span::before { width:64px; height:32px; border-radius:80% 20% 24px 24px; transform:translateY(10px); }
.placeholder-dental span::before { background:#fff; border:12px solid currentColor; border-radius:18px 18px 28px 28px; box-shadow:inset 0 -16px 0 color-mix(in srgb, var(--theme) 16%, white); }
.placeholder-tech span::before { border-radius:14px; background:linear-gradient(135deg,currentColor 0 20%, transparent 20% 32%, currentColor 32% 58%, transparent 58% 70%, currentColor 70%); }
.placeholder-service span::before, .placeholder-general span::before { border-radius:14px; background:linear-gradient(135deg,currentColor 0 48%, color-mix(in srgb, var(--theme) 36%, white) 48% 100%); }
.placeholder-spa span::before { border-radius:50% 8px 50% 8px; transform:rotate(-12deg); }
.placeholder-petcare span::before { border-radius:50%; background:radial-gradient(circle at 30% 28%, currentColor 0 13%, transparent 14%), radial-gradient(circle at 70% 28%, currentColor 0 13%, transparent 14%), radial-gradient(circle at 50% 68%, currentColor 0 24%, transparent 25%); }
.payment-card { display:grid; gap:8px; }
.copy-button, .payment-link { display:inline-flex; align-items:center; justify-content:center; width:max-content; min-height:40px; padding:9px 12px; border:0; border-radius:10px; background:color-mix(in srgb, var(--theme) 12%, white); color:var(--theme); font-weight:800; text-decoration:none; box-shadow:none; cursor:pointer; }
.qr-clean { width:max-content; padding:10px; border:1px solid var(--line); border-radius:12px; background:#fff; }
.file-help { margin-top:8px; font-size:13px; }
.order-grid { align-items:start; }
.public-footer { display:grid; gap:6px; }
.public-footer a { color:rgba(255,255,255,.86); text-decoration:none; font-weight:700; }
.public-footer .access-link a { font-size:13px; color:rgba(255,255,255,.68); }
.unavailable-screen { min-height:44vh; display:grid; align-content:center; gap:10px; }
.mode-appointment .order-shell { border-color:color-mix(in srgb, var(--theme) 20%, white); }
@media (max-width: 720px) {
    .hero-platform { justify-content:space-between; }
    .hero-actions { grid-template-columns:1fr; }
    .hero-actions .premium-button, .premium-actions .premium-button { min-height:48px; }
    .public-footer { text-align:center; }
    .copy-button, .payment-link { width:100%; }
    .file-drop { min-height:78px; align-content:center; }
}
/* V1.1.4 hero premium branding */
.public-premium .premium-hero { display:none; }
.business-hero { position:relative; isolation:isolate; overflow:hidden; margin:-34px -20px 30px; padding:24px 20px 28px; color:var(--hero-text,#fff); background:var(--hero-gradient); display:grid; grid-template-columns:minmax(0,1fr); gap:22px; box-shadow:0 24px 60px rgba(16,24,40,.20); }
.business-hero::before { content:""; position:absolute; inset:0; z-index:-2; background:radial-gradient(circle at 12% 16%, rgba(255,255,255,.24), transparent 28%), radial-gradient(circle at 88% 8%, rgba(255,255,255,.16), transparent 26%), linear-gradient(135deg, rgba(255,255,255,.08), transparent 45%); }
.business-hero::after { content:""; position:absolute; inset:auto -20% -40% 28%; height:70%; z-index:-1; background:radial-gradient(circle, color-mix(in srgb, var(--hero-accent) 28%, transparent), transparent 64%); filter:blur(2px); opacity:.9; }
.business-hero.has-cover-image::before { background:linear-gradient(90deg, rgba(15,23,42,.72), rgba(15,23,42,.28)), var(--hero-cover) center/cover no-repeat; opacity:1; }
.hero-content { display:grid; gap:13px; align-content:center; max-width:720px; }
.hero-platform { display:flex; align-items:center; justify-content:space-between; gap:10px; color:var(--hero-muted); }
.hero-platform strong { font-size:12px; letter-spacing:.12em; color:var(--hero-muted); }
.platform-chip { border-color:rgba(255,255,255,.22); background:rgba(255,255,255,.12); color:var(--hero-text); }
.hero-chips { display:flex; flex-wrap:wrap; gap:8px; }
.hero-chips .badge, .business-hero .badge { border-color:rgba(255,255,255,.24); background:rgba(255,255,255,.13); color:var(--hero-text); backdrop-filter:blur(8px); }
.business-hero h1 { color:var(--hero-text); font-size:clamp(38px, 11vw, 74px); line-height:.94; letter-spacing:0; max-width:850px; text-wrap:balance; }
.hero-kicker { margin:0; color:var(--hero-text); font-weight:900; font-size:clamp(16px, 3.4vw, 22px); }
.hero-copy { color:var(--hero-muted); font-size:clamp(16px, 3.8vw, 20px); max-width:680px; margin:0; }
.hero-location { color:var(--hero-muted); margin:0; font-weight:800; }
.business-hero .hero-actions { display:grid; grid-template-columns:1fr; gap:10px; margin-top:4px; max-width:460px; }
.btn-primary, .btn-secondary { display:inline-flex; align-items:center; justify-content:center; min-height:50px; border-radius:14px; padding:13px 18px; text-decoration:none !important; font-weight:900; letter-spacing:0; box-shadow:0 14px 30px rgba(16,24,40,.18); }
.btn-primary { background:#fff; color:var(--theme); }
.btn-secondary { background:rgba(255,255,255,.14); color:var(--hero-text); border:1px solid rgba(255,255,255,.28); }
.hero-visual { min-height:210px; border:1px solid rgba(255,255,255,.24); border-radius:28px; background:linear-gradient(160deg, rgba(255,255,255,.22), rgba(255,255,255,.06)); display:grid; place-items:center; align-content:center; gap:14px; position:relative; overflow:hidden; box-shadow:inset 0 1px 0 rgba(255,255,255,.24), 0 20px 44px rgba(16,24,40,.18); }
.hero-visual::before { content:""; position:absolute; width:180px; height:180px; border-radius:999px; border:1px solid rgba(255,255,255,.22); background:radial-gradient(circle, rgba(255,255,255,.24), transparent 58%); }
.hero-visual .visual-orbit { position:absolute; width:68%; aspect-ratio:1; border:1px dashed rgba(255,255,255,.28); border-radius:999px; transform:rotate(-18deg); }
.hero-visual .visual-mark { position:relative; width:92px; height:92px; color:var(--hero-accent); display:block; }
.hero-visual .visual-mark::before { content:""; position:absolute; inset:0; background:currentColor; box-shadow:0 22px 54px color-mix(in srgb, var(--hero-accent) 35%, transparent); }
.hero-visual strong { position:relative; z-index:1; color:var(--hero-text); font-size:15px; letter-spacing:.08em; text-transform:uppercase; }
.public-logo-frame { width:86px; height:86px; border-radius:18px; padding:10px; background:rgba(255,255,255,.92); box-shadow:0 16px 34px rgba(16,24,40,.18); }
.public-logo-frame img { width:100%; height:100%; object-fit:contain; display:block; }
.hero-icon-plate .visual-mark::before { border-radius:50%; mask:radial-gradient(circle, transparent 0 34%, #000 36% 50%, transparent 52%); }
.hero-icon-fashion .visual-mark::before { border-radius:26px 26px 12px 12px; transform:skew(-7deg); }
.hero-icon-dental .visual-mark::before { background:#fff; border:18px solid currentColor; border-radius:24px 24px 36px 36px; box-sizing:border-box; }
.hero-icon-tech .visual-mark::before { border-radius:18px; background:linear-gradient(135deg,currentColor 0 18%, transparent 18% 30%, currentColor 30% 58%, transparent 58% 70%, currentColor 70%); }
.hero-icon-spa .visual-mark::before { border-radius:50% 8px 50% 8px; transform:rotate(-14deg); }
.hero-icon-petcare .visual-mark::before { border-radius:50%; background:radial-gradient(circle at 30% 28%, currentColor 0 13%, transparent 14%), radial-gradient(circle at 70% 28%, currentColor 0 13%, transparent 14%), radial-gradient(circle at 50% 68%, currentColor 0 25%, transparent 26%); }
.hero-icon-service .visual-mark::before, .hero-icon-general .visual-mark::before { border-radius:20px; background:linear-gradient(135deg,currentColor 0 48%, rgba(255,255,255,.62) 48% 100%); }
.pattern-circuit-grid { background-image:linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px), var(--hero-gradient); background-size:28px 28px, 28px 28px, cover; }
.pattern-editorial-lines::before { background:repeating-linear-gradient(120deg, rgba(255,255,255,.08) 0 1px, transparent 1px 18px), radial-gradient(circle at 12% 16%, rgba(255,255,255,.24), transparent 28%); }
.pattern-clean-cross::before { background:linear-gradient(90deg, transparent 48%, rgba(255,255,255,.10) 48% 52%, transparent 52%), linear-gradient(0deg, transparent 48%, rgba(255,255,255,.10) 48% 52%, transparent 52%), radial-gradient(circle at 15% 12%, rgba(255,255,255,.28), transparent 28%); }
.product-card { border:1px solid color-mix(in srgb, var(--theme) 10%, white); border-radius:16px; padding:16px; box-shadow:0 16px 34px rgba(16,24,40,.10); transition:transform .18s ease, box-shadow .18s ease; }
.product-card:hover { transform:translateY(-2px); box-shadow:0 20px 42px rgba(16,24,40,.14); }
.product-card strong { font-size:18px; }
.product-card .price { color:var(--theme); }
.product-card .button { border-radius:12px; min-height:46px; margin-top:auto; }
.product-visual { border-radius:16px; min-height:150px; }
.social-link, .access-link, .footer-link { display:inline-flex; align-items:center; justify-content:center; min-height:34px; padding:7px 11px; border-radius:999px; background:rgba(255,255,255,.10); color:rgba(255,255,255,.88) !important; text-decoration:none !important; font-weight:800; }
.access-link { font-size:13px; opacity:.82; }
.footer-socials { display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-start; }
@media (min-width: 860px) {
    .business-hero { grid-template-columns:minmax(0,1.18fr) minmax(280px,.82fr); align-items:center; padding:46px; border-radius:0 0 30px 30px; }
    .business-hero .hero-actions { grid-template-columns:repeat(2, minmax(0, 1fr)); }
    .hero-visual { min-height:330px; }
}
@media (max-width: 720px) {
    .business-hero { margin-left:-16px; margin-right:-16px; padding:22px 16px 24px; border-radius:0 0 24px 24px; }
    .hero-visual { min-height:178px; border-radius:22px; }
    .hero-visual .visual-mark { width:78px; height:78px; }
    .hero-platform { align-items:flex-start; }
    .business-hero .hero-actions { max-width:none; }
    .btn-primary, .btn-secondary { width:100%; min-height:50px; }
    .product-visual { min-height:132px; }
    .footer-socials { justify-content:center; }
}

/* PREVENTA / PILOTO REAL V1 premium product polish */
body { background:linear-gradient(180deg,#f8fbfb 0%,#eef7f4 42%,#ffffff 100%); }
header { position:sticky; top:0; z-index:20; backdrop-filter:blur(14px); background:rgba(255,255,255,.88) !important; box-shadow:0 10px 30px rgba(16,24,40,.06); }
nav strong { letter-spacing:.08em; font-size:13px; }
nav a, .link-button { display:inline-flex; align-items:center; min-height:34px; padding:6px 8px; border-radius:999px; }
nav a:hover, .link-button:hover { background:#eef7f6; color:var(--brand); }
.landing-hero { position:relative; overflow:hidden; border:0; color:#fff; background:linear-gradient(135deg,#0f766e,#164e63 58%,#111827); box-shadow:0 24px 70px rgba(16,24,40,.18); }
.landing-hero::after { content:""; position:absolute; right:-80px; bottom:-120px; width:360px; height:360px; border-radius:999px; background:radial-gradient(circle, rgba(255,255,255,.22), transparent 65%); }
.landing-hero h1 { max-width:820px; color:#fff; line-height:.98; }
.landing-hero p { max-width:680px; color:rgba(255,255,255,.86); font-size:18px; }
.landing-hero .badge { color:#fff; border-color:rgba(255,255,255,.28); background:rgba(255,255,255,.14); }
.button.secondary, button.secondary, a.secondary { background:#fff; color:var(--brand); border:1px solid var(--line); box-shadow:0 8px 18px rgba(16,24,40,.08); }
.page-heading { display:flex; justify-content:space-between; gap:18px; align-items:flex-start; margin-bottom:18px; }
.page-heading h1 { margin-top:8px; }
.heading-actions, .card-actions { display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.success-card { border-color:#bbf7d0; background:#f0fdf4; color:#166534; }
.usage-card, .operator-strip { display:flex; gap:10px; align-items:center; justify-content:space-between; flex-wrap:wrap; }
.panel-hero { border:0; color:#fff; background:linear-gradient(135deg,#0f766e,#164e63); box-shadow:0 18px 42px rgba(16,24,40,.12); }
.panel-hero h2, .panel-hero p { color:#fff; }
.panel-hero .badge { color:#fff; background:rgba(255,255,255,.14); border-color:rgba(255,255,255,.25); }
.metric-card { display:grid; gap:8px; }
.metric-card a, .panel-card a:not(.button) { color:var(--brand); font-weight:800; text-decoration:none; }
.trust-grid .card, .product-admin-card, .order-card, .filter-card { border:0; box-shadow:0 16px 36px rgba(16,24,40,.08); }
.product-admin-card { display:grid; gap:10px; align-content:start; }
.product-admin-visual { min-height:150px; display:grid; place-items:center; border-radius:8px; overflow:hidden; background:linear-gradient(135deg,#fff7ed,#eef7f6); color:var(--brand); font-size:48px; border:1px solid var(--line); }
.product-admin-visual img { width:100%; height:170px; object-fit:cover; }
.order-card { border-left:5px solid var(--brand); display:grid; gap:6px; }
.order-card.status-pending { border-left-color:#f59e0b; }
.order-card.status-in_progress { border-left-color:#2563eb; }
.order-card.status-completed { border-left-color:#16a34a; }
.order-card.status-cancelled { border-left-color:#dc2626; }
.order-card-head { display:flex; justify-content:space-between; gap:12px; align-items:center; }
.proof-card img { max-width:300px; width:100%; height:auto; border:1px solid var(--line); border-radius:8px; box-shadow:0 12px 28px rgba(16,24,40,.10); }
.empty-state { min-height:150px; display:grid; align-content:center; text-align:center; }
.filter-card button, .filter-card .button { margin-right:8px; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* HOTFIX V1: global media system for SaaS visual consistency */
.media-frame { position:relative; display:grid; place-items:center; width:100%; overflow:hidden; border:1px solid var(--line); border-radius:8px; background:linear-gradient(135deg,#fff,#f6faf9); color:var(--brand); }
.media-frame-product, .media-frame-service { aspect-ratio:4 / 3; min-height:132px; max-height:220px; }
.media-frame-promo { aspect-ratio:16 / 9; min-height:120px; max-height:210px; }
.media-frame-proof { width:min(100%, 340px); aspect-ratio:4 / 3; background:#fff; }
.media-frame-qr { width:min(100%, 168px); aspect-ratio:1 / 1; padding:10px; background:#fff; }
.media-frame-logo { width:min(100%, 180px); aspect-ratio:1 / 1; padding:12px; background:#fff; }
.media-img-cover, .media-frame-product img, .media-frame-service img, .media-frame-promo img { width:100%; height:100%; object-fit:cover; display:block; }
.media-img-contain, .media-frame-proof img, .media-frame-qr img, .media-frame-logo img { width:100%; height:100%; object-fit:contain; display:block; }
.media-fallback { display:grid; place-items:center; width:100%; height:100%; min-height:inherit; font-size:clamp(34px, 9vw, 54px); background:linear-gradient(135deg,#fff7ed,#eef7f6); color:var(--brand); }
.media-caption { margin-top:8px; font-size:13px; color:var(--muted); }
.product-visual.media-frame, .product-admin-visual.media-frame { min-height:0; }
.qr-clean.media-frame-qr { width:min(100%, 168px); }
.proof-card .media-frame-proof { margin:10px 0; box-shadow:0 12px 28px rgba(16,24,40,.10); }
.promo-banner .media-frame-promo, .promotion-admin-card .media-frame-promo { margin-bottom:12px; }
.commercial-hero { border:0; color:#fff; background:linear-gradient(135deg,#0f766e,#164e63); box-shadow:0 22px 52px rgba(16,24,40,.16); }
.commercial-hero .badge { color:#fff; background:rgba(255,255,255,.14); border-color:rgba(255,255,255,.28); }
.commercial-hero p { max-width:760px; color:rgba(255,255,255,.88); font-size:18px; }
.commercial-demo, .commercial-close { margin-top:24px; border:0; box-shadow:0 16px 36px rgba(16,24,40,.08); }
.how-to-order .panel-card { border:0; box-shadow:0 12px 28px rgba(16,24,40,.07); }
.whatsapp-assist { margin-top:10px; font-size:13px; }

/* PANEL PRODUCTOS VISUAL PREMIUM V2 */
.product-usage-card { display:flex; align-items:center; gap:8px; width:max-content; max-width:100%; padding:12px 14px; border:0; box-shadow:0 10px 24px rgba(16,24,40,.06); }
.product-usage-card strong { font-size:22px; color:var(--brand); line-height:1; }
.products-admin-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(260px, 1fr)); gap:18px; align-items:stretch; }
.products-admin-grid .product-admin-card { display:grid; grid-template-rows:auto 1fr; gap:0; padding:0; overflow:hidden; border:1px solid color-mix(in srgb, var(--brand) 10%, white); border-radius:12px; background:#fff; box-shadow:0 14px 32px rgba(16,24,40,.08); min-height:100%; }
.products-admin-grid .product-admin-card:hover { box-shadow:0 18px 40px rgba(16,24,40,.12); transform:translateY(-1px); transition:box-shadow .18s ease, transform .18s ease; }
.products-admin-grid .product-admin-visual.media-frame { aspect-ratio:auto; height:clamp(180px, 18vw, 220px); min-height:180px; max-height:220px; border:0; border-bottom:1px solid var(--line); border-radius:0; background:linear-gradient(135deg,#fff7ed,#eef7f6); font-size:42px; }
.products-admin-grid .product-admin-visual.media-frame img { width:100%; height:100%; object-fit:cover; display:block; }
.product-admin-body { display:grid; gap:10px; padding:14px; min-width:0; }
.product-admin-topline, .product-admin-title-row, .product-admin-footer { display:flex; align-items:center; justify-content:space-between; gap:10px; min-width:0; }
.product-admin-topline { font-size:13px; }
.product-admin-title-row strong { min-width:0; font-size:18px; line-height:1.22; color:var(--ink); overflow-wrap:anywhere; }
.product-admin-title-row .badge { flex:0 0 auto; max-width:46%; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.status-pill { display:inline-flex; align-items:center; justify-content:center; min-height:26px; padding:5px 9px; border-radius:999px; font-size:12px; font-weight:800; background:#f2f4f7; color:#475467; }
.status-pill.is-active { background:#ecfdf3; color:#027a48; }
.status-pill.is-inactive { background:#fff1f3; color:#c01048; }
.product-admin-description { min-height:42px; max-height:42px; overflow:hidden; margin:0; color:var(--muted); line-height:1.45; font-size:14px; }
.product-admin-footer { align-self:end; padding-top:2px; }
.product-admin-footer .price { font-size:20px; line-height:1; color:var(--brand); }
.product-admin-footer .button { min-height:38px; padding:9px 12px; border-radius:10px; margin:0; flex:0 0 auto; }
.products-empty-state { grid-column:1 / -1; }

/* PANEL PRODUCTOS VISUAL PREMIUM V3: fixed admin-only product media */
main .admin-products-grid {
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
    gap:20px;
    align-items:stretch;
    margin-top:18px;
}
main .admin-products-grid .admin-product-card {
    overflow:hidden;
    display:flex;
    flex-direction:column;
    min-height:100%;
    padding:14px;
    gap:12px;
    border:1px solid color-mix(in srgb, var(--brand) 10%, white);
    border-radius:12px;
    background:#fff;
    box-shadow:0 14px 32px rgba(16,24,40,.08);
}
main .admin-products-grid .admin-product-media {
    width:100%;
    height:210px !important;
    min-height:210px !important;
    max-height:210px !important;
    overflow:hidden;
    border-radius:12px;
    background:#f8fafc;
    border:1px solid var(--line);
    display:block;
    flex:0 0 auto;
}
main .admin-products-grid .admin-product-card .admin-product-media img {
    width:100% !important;
    height:100% !important;
    max-width:none !important;
    max-height:none !important;
    object-fit:cover !important;
    display:block !important;
    border:0 !important;
    border-radius:0 !important;
}
main .admin-products-grid .admin-product-fallback {
    display:grid;
    place-items:center;
    width:100%;
    height:100%;
    font-size:44px;
    background:linear-gradient(135deg,#fff7ed,#eef7f6);
    color:var(--brand);
}
main .admin-products-grid .admin-product-body {
    display:flex;
    flex-direction:column;
    gap:10px;
    flex:1 1 auto;
    min-width:0;
}
main .admin-products-grid .admin-product-meta,
main .admin-products-grid .admin-product-title-row,
main .admin-products-grid .admin-product-actions {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    min-width:0;
}
main .admin-products-grid .admin-product-meta { font-size:13px; }
main .admin-products-grid .admin-product-title-row strong {
    min-width:0;
    font-size:18px;
    line-height:1.22;
    color:var(--ink);
    overflow-wrap:anywhere;
}
main .admin-products-grid .admin-product-title-row .badge {
    flex:0 0 auto;
    max-width:46%;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
main .admin-products-grid .admin-product-description {
    min-height:42px;
    max-height:42px;
    overflow:hidden;
    margin:0;
    color:var(--muted);
    line-height:1.45;
    font-size:14px;
}
main .admin-products-grid .admin-product-actions {
    margin-top:auto;
    padding-top:2px;
}
main .admin-products-grid .admin-product-actions .price {
    font-size:20px;
    line-height:1;
    color:var(--brand);
}
main .admin-products-grid .admin-product-actions .button {
    min-height:38px;
    padding:9px 12px;
    border-radius:10px;
    margin:0;
    flex:0 0 auto;
}
main .admin-products-grid .admin-products-empty { grid-column:1 / -1; }
@media (max-width: 720px) {
    header { position:static; }
    nav { gap:10px; }
    nav div { display:flex; flex-wrap:wrap; gap:6px; }
    .page-heading { display:grid; }
    .heading-actions, .card-actions { display:grid; grid-template-columns:1fr; width:100%; }
    .heading-actions .button, .card-actions .button, .filter-card button, .filter-card .button { width:100%; margin-right:0; }
    .landing-hero h1 { font-size:38px; }
    .media-frame-product, .media-frame-service { min-height:112px; max-height:170px; }
    .media-frame-promo { min-height:104px; max-height:160px; }
    .media-frame-proof { width:100%; max-height:260px; }
    .media-frame-qr { width:min(100%, 144px); }
    .product-usage-card { width:100%; justify-content:center; }
    .products-admin-grid { grid-template-columns:1fr; gap:14px; }
    .products-admin-grid .product-admin-visual.media-frame { height:clamp(160px, 44vw, 190px); min-height:160px; max-height:190px; }
    .product-admin-body { padding:13px; }
    .product-admin-title-row { align-items:flex-start; }
    .product-admin-footer .button { min-width:96px; }
    main .admin-products-grid {
        grid-template-columns:1fr;
        gap:14px;
    }
    main .admin-products-grid .admin-product-card {
        padding:12px;
    }
    main .admin-products-grid .admin-product-media {
        height:170px !important;
        min-height:170px !important;
        max-height:170px !important;
        border-radius:10px;
    }
    main .admin-products-grid .admin-product-title-row {
        align-items:flex-start;
    }
    main .admin-products-grid .admin-product-actions .button {
        min-width:96px;
    }
}
