:root {
  --navy: #0d1b35;
  --navy-2: #182844;
  --blue: #1264e6;
  --blue-dark: #0b4fbd;
  --ice: #edf4ff;
  --orange: #f16a3c;
  --cream: #f8f3eb;
  --ink: #17223a;
  --muted: #667085;
  --line: #e2e7ee;
  --success: #15805d;
  --warning: #b85c12;
  --danger: #b42318;
  --white: #fff;
  --shadow: 0 20px 55px rgba(13, 27, 53, .12);
  --radius: 22px;
}

/* Flujo compacto de catálogo, personalización y aprobación final */
.catalog-internal-panel{position:static!important;min-height:0!important;padding:0!important;border:0!important;background:transparent!important}
.catalog-internal-panel .protected-catalog-group-head,.catalog-internal-panel .protected-design-grid,.catalog-internal-panel .protected-empty-portal{display:none!important}
.catalog-internal-panel .protected-editor-overlay{pointer-events:auto}
.predesigned-progress{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:18px 0;padding:12px 14px;border-radius:14px;background:#eef5ff;color:#53627a}
.predesigned-progress b{color:#0b56d7;margin-right:8px}.predesigned-progress span{background:#fff;border:1px solid #d8e3f4;border-radius:999px;padding:5px 10px}
.predesigned-single-stage{animation:predesigned-stage-in .2s ease}.predesigned-back{border:0;background:transparent;color:#0b63ed;font-weight:800;padding:0 0 12px;cursor:pointer}
@keyframes predesigned-stage-in{from{opacity:.35;transform:translateY(6px)}to{opacity:1;transform:none}}
.quick-portal-entry{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px;border:1px solid #d8e3f4;border-radius:20px;background:#fff}.quick-portal-entry h3{margin:8px 0}.quick-portal-entry p{margin:0;color:#66728a}
.quick-portal-colors{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:16px}.quick-portal-colors button{width:34px;height:34px;border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 1px #c8d3e4;cursor:pointer}.quick-portal-colors button.selected{box-shadow:0 0 0 3px #146cf0}
.design-approval-dialog{width:min(940px,calc(100vw - 24px));max-height:calc(100vh - 24px);overflow-y:auto;overflow-x:hidden;background:#fff;border-radius:20px;box-shadow:0 28px 80px rgba(7,24,54,.32)}
.design-approval-dialog>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:17px 20px;border-bottom:1px solid #dfe7f3}.design-approval-dialog h3{margin:5px 0}.design-approval-dialog header p{margin:0;color:#66728a}.design-approval-dialog header button{border:1px solid #ccd8e9;background:#fff;border-radius:10px;padding:8px 12px;font-weight:800;cursor:pointer}
.design-approval-layout{display:grid;grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);gap:12px;padding:12px}.design-approval-preview{min-width:0;min-height:300px;display:grid;place-items:center;padding:8px;border-radius:12px;background:#10223e}.design-approval-preview img{display:block;max-width:100%;max-height:500px;object-fit:contain}.design-approval-preview.arch img{border-radius:999px 999px 4px 4px}.design-approval-preview.circle img{border-radius:50%}
.design-approval-details{min-width:0;display:grid;align-content:start;gap:7px}.design-approval-details section{min-width:0}.design-approval-details section h4{margin:1px 0 5px;font-size:14px}.approval-specs{display:grid;gap:2px;padding:8px 10px;border-radius:10px;background:#f3f7fc}.approval-specs strong{font-size:15px}.approval-specs span,.approval-specs small{color:#607089;font-size:11px}.approval-base-list{min-width:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(105px,1fr));gap:5px}.approval-base-card{min-width:0;min-height:40px;display:flex;align-items:center;gap:6px;padding:5px 7px;border:1px solid #ced9e9;border-radius:8px;cursor:pointer;overflow:hidden}.approval-base-card input{width:14px;height:14px;flex:0 0 14px;margin:0}.approval-base-card:has(input:checked){border-color:#146cf0;background:#eef5ff}.approval-base-card span{min-width:0;flex:1;display:grid;margin:0;line-height:1.08}.approval-base-card strong{font-size:11px;overflow-wrap:anywhere}.approval-base-card small{font-size:9px;color:#66728a}.approval-no-base{padding:7px;border-radius:8px;background:#f3f7fc}.approval-terms{border:1px solid #d7e1ef;border-radius:8px;padding:7px 9px}.approval-terms summary{font-size:12px;font-weight:800;cursor:pointer}.approval-terms p{white-space:pre-line;color:#526078;line-height:1.4;font-size:12px}.approval-accept{min-width:0;min-height:40px;display:flex;align-items:center;gap:7px;padding:7px 9px;border-radius:8px;background:#fff5e8;color:#7a4b08}.approval-accept input{width:14px;height:14px;flex:0 0 14px;margin:0}.approval-accept span{min-width:0;flex:1;margin:0;font-size:11px;line-height:1.22}.design-approval-details>.btn{min-height:40px;padding:8px 10px}
.quick-approval-admin{display:grid;gap:10px;margin-top:14px;padding:14px;border:1px solid #d8e3f4;border-radius:14px;background:#f7faff}.quick-approval-admin label{display:grid;gap:6px}.quick-approval-admin textarea{resize:vertical}
@media(max-width:760px){.design-approval-dialog>header{padding:14px}.design-approval-layout{grid-template-columns:1fr;padding:12px}.design-approval-preview{min-height:280px}.approval-base-list{grid-template-columns:1fr}.approval-base-card{min-height:48px}.approval-accept{min-height:48px}.quick-portal-entry{align-items:flex-start;flex-direction:column}.predesigned-progress span{font-size:12px}}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "DM Sans", sans-serif; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }
.prototype-ribbon { height: 28px; display: grid; place-items: center; color: #fff; background: var(--navy); font-size: 11px; font-weight: 700; letter-spacing: .16em; }
.site-header { height: 82px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(22px, 5vw, 76px); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); position: sticky; top: 0; z-index: 20; }
.brand { color: var(--navy); display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; border-radius: 13px; display: inline-grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--blue), #2a80ee); font: 800 20px "Manrope", sans-serif; box-shadow: 0 8px 20px rgba(18,100,230,.25); }
.brand strong { display: block; font: 800 20px "Manrope", sans-serif; letter-spacing: .04em; }
.brand small { display: block; margin-top: -2px; font-size: 9px; font-weight: 700; letter-spacing: .12em; color: var(--muted); }
.top-actions, .language-picker { display: flex; align-items: center; gap: 10px; }
.language-picker { padding: 4px; background: #f2f4f7; border-radius: 12px; }
.language { border: 0; background: transparent; color: var(--muted); padding: 7px 9px; border-radius: 9px; font-weight: 700; font-size: 12px; }
.language.active { background: #fff; color: var(--blue); box-shadow: 0 2px 8px rgba(13,27,53,.1); }
.text-link { color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: none; }
.btn { border: 0; border-radius: 12px; padding: 12px 18px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; font-weight: 700; transition: .2s ease; text-decoration: none; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #fff; background: var(--blue); box-shadow: 0 9px 24px rgba(18,100,230,.22); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { color: var(--navy); background: #fff; border: 1px solid #cfd6e1; }
.btn-quiet { color: var(--navy); background: transparent; }
.btn-soft { color: var(--blue-dark); background: var(--ice); }
.btn-large { padding: 16px 24px; border-radius: 14px; }
.btn-block { width: 100%; }
.screen { display: none; }
.screen.active { display: flex; }
.hero { min-height: calc(100vh - 110px); align-items: stretch; background: var(--cream); overflow: hidden; }
.hero-copy { width: 52%; padding: clamp(54px, 6vw, 92px) 3vw clamp(54px, 6vw, 88px) 6vw; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 2; }
.eyebrow { color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .15em; }
h1, h2, h3 { font-family: "Manrope", sans-serif; }
.hero h1 { margin: 18px 0; max-width: 650px; font-size: clamp(43px, 4.6vw, 68px); line-height: 1; letter-spacing: -.055em; color: var(--navy); }
.hero-copy > p { max-width: 540px; font-size: 19px; line-height: 1.65; color: #536078; }
.hero-actions { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 38px; color: #5f6a7d; font-size: 12px; font-weight: 600; }
.hero-visual { width: 48%; min-height: 650px; position: relative; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--cream), transparent 28%); pointer-events: none; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.floating-card { position: absolute; z-index: 2; left: 8%; bottom: 10%; width: 270px; padding: 16px; display: flex; align-items: center; gap: 12px; border: 1px solid rgba(255,255,255,.75); border-radius: 16px; background: rgba(255,255,255,.92); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.floating-card div { flex: 1; }
.floating-card strong, .floating-card small { display: block; }
.floating-card small { color: var(--muted); margin-top: 3px; }
.status-dot { width: 11px; height: 11px; border-radius: 50%; background: #20ad7a; box-shadow: 0 0 0 6px #dff7ee; }
.check { width: 28px; height: 28px; display: grid; place-items: center; color: var(--success); background: #e7f7f0; border-radius: 50%; font-weight: 900; }

.order-shell { min-height: calc(100vh - 110px); background: #f6f8fb; }
.order-sidebar { width: 310px; height:calc(100vh - 82px); flex: 0 0 310px; padding: 34px 28px; color: #fff; background: var(--navy); display: flex; flex-direction: column; position:sticky; top:82px; align-self:flex-start; overflow-y:auto; }
.back-home { align-self: flex-start; border: 0; padding: 0; margin-bottom: 48px; color: #aeb9ca; background: transparent; font-size: 13px; }
.order-sidebar .eyebrow { color: #70a9ff; }
.order-sidebar h2 { margin: 10px 0 34px; font-size: 24px; line-height: 1.25; }
.steps { list-style: none; padding: 0; margin: 0; }
.steps li { display: flex; gap: 14px; min-height: 78px; position: relative; color: #7f8da4; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 38px; bottom: 5px; width: 1px; background: #30415d; }
.steps li > span { width: 35px; height: 35px; flex: 0 0 35px; display: grid; place-items: center; border: 1px solid #40516d; border-radius: 50%; font-weight: 700; }
.steps strong, .steps small { display: block; }
.steps strong { color: #9ba7b9; }
.steps small { margin-top: 4px; font-size: 11px; }
.steps li.active > span, .steps li.completed > span { color: #fff; border-color: var(--blue); background: var(--blue); }
.steps li.active strong, .steps li.completed strong { color: #fff; }
.steps li.completed:not(:last-child)::after { background: var(--blue); }
.sidebar-help { margin-top: auto; display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid #30415d; border-radius: 15px; background: #162743; }
.sidebar-help > span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: #a9c9ff; background: #263b5b; }
.sidebar-help strong, .sidebar-help small { display: block; }
.sidebar-help small { color: #8d9bb0; font-size: 10px; margin-top: 3px; }
.order-content { width: 100%; padding: 58px clamp(28px, 6vw, 94px); overflow: hidden; }
.order-step { display: none; max-width: 1050px; margin: 0 auto; }
.order-step.active { display: block; animation: fadeSlide .34s ease; }
@keyframes fadeSlide { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.order-step > h2 { margin: 10px 0 8px; font-size: clamp(31px, 4vw, 46px); letter-spacing: -.04em; color: var(--navy); }
.lead { margin: 0 0 28px; color: var(--muted); line-height: 1.6; }
.mobile-progress { display: none; }
.mobile-progress-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mobile-progress-head button { padding: 0; color: var(--blue); border: 0; background: transparent; font-weight: 800; font-size: 11px; }
.mobile-progress-track { height: 5px; margin-top: 8px; overflow: hidden; border-radius: 5px; background: #dfe5ed; }
.mobile-progress-track i { display: block; width: 25%; height: 100%; background: var(--blue); transition: .2s; }
.admin-quote-banner{max-width:1050px;margin:0 auto 22px;padding:14px 16px;display:flex;justify-content:space-between;align-items:center;gap:18px;border:1px solid #bad4fb;border-radius:15px;background:#edf5ff}.admin-quote-banner>div{display:grid;gap:3px}.admin-quote-banner strong{font-size:17px}.admin-quote-banner small{color:var(--muted)}.admin-quote-banner button{padding:9px 11px;color:var(--blue);border:1px solid #c7d9f4;border-radius:10px;background:#fff;font-weight:800}.quote-items-section{padding:18px;border:1px solid #bdd4f5;border-radius:17px;background:#f4f8ff}.quote-items-heading{display:flex;justify-content:space-between;align-items:center;gap:14px}.quote-items-heading h3{margin:5px 0}.quote-items-list{display:grid;gap:8px;margin-top:12px}.quote-line-item{padding:11px;display:grid;grid-template-columns:1fr auto;gap:12px;border:1px solid var(--line);border-radius:11px;background:#fff}.quote-line-item strong,.quote-line-item small{display:block}.quote-line-item small{margin-top:3px;color:var(--muted)}.quote-line-item b{color:var(--navy)}
.quote-line-fields{margin-top:8px;display:flex;gap:6px;flex-wrap:wrap}.quote-line-fields span{padding:4px 7px;border-radius:7px;color:#526078;background:#edf2f8;font-size:9px;font-weight:700}.image-review-status{width:max-content;padding:5px 8px;border-radius:99px;font-size:9px;font-weight:900}.image-review-status.pending{color:#88500e;background:#fff0d5}.image-review-status.approved{color:#087255;background:#e4f8f0}.image-review-status.changes{color:#a52a22;background:#fee9e7}.client-quote-dialog{width:min(920px,calc(100% - 30px));max-height:90vh;padding:26px;border:0;border-radius:20px;box-shadow:0 25px 80px rgba(13,27,53,.28)}.client-quote-dialog::backdrop{background:rgba(8,21,42,.58)}.client-quote-dialog h2{margin:7px 0}.client-quote-items{display:grid;gap:12px}.client-review-card{padding:16px;display:grid;grid-template-columns:110px 1fr;gap:16px;border:1px solid var(--line);border-radius:15px;background:#fff}.client-review-visual{min-height:120px;display:grid;place-items:center;border-radius:12px;background:#eef3fa;overflow:hidden}.client-review-visual img{width:100%;height:100%;object-fit:contain}.client-review-visual span{padding:12px;color:var(--muted);text-align:center;font-size:11px}.client-review-head{display:flex;justify-content:space-between;gap:12px}.client-review-head h3{margin:0}.client-review-meta{margin:8px 0;display:grid;gap:4px;color:var(--muted);font-size:12px}.client-review-actions{display:flex;gap:7px;flex-wrap:wrap}.client-review-actions button{padding:8px 10px;border:1px solid #cad7ea;border-radius:9px;color:var(--navy);background:#fff;font-weight:800}.client-review-actions button.primary{color:#fff;border-color:var(--blue);background:var(--blue)}.item-chat-panel{margin-top:16px;padding:16px;border:1px solid #c7d9f4;border-radius:15px;background:#f4f8ff}.item-chat-panel h3{margin:5px 0}.item-chat-messages{max-height:180px;margin:12px 0;display:grid;gap:7px;overflow:auto}.chat-message{padding:9px 11px;border-radius:11px;background:#fff}.chat-message strong,.chat-message small{display:block}.chat-message small{margin-top:3px;color:var(--muted)}.item-chat-panel label span{display:block;margin-bottom:5px;font-size:10px;font-weight:800}.item-chat-panel textarea{width:100%;min-height:80px;margin-bottom:9px;padding:11px;border:1px solid #cfd6e1;border-radius:10px;resize:vertical}.customer-safety-note{margin-top:15px;padding:12px;color:#526078;border-radius:11px;background:#edf4ff;font-size:11px}
.account-access-card{margin-top:16px;padding:18px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px 18px;border:1px solid #c7d9f4;border-radius:16px}.account-access-card .pill{grid-column:1/-1;width:max-content}.account-access-card h3,.account-signup-panel h3{margin:0 0 5px}.account-access-card p,.account-signup-panel p{margin:0;color:var(--muted);line-height:1.5}.account-offer{background:linear-gradient(135deg,#eef6ff,#fff9e8);border-color:#a9c9f5}.account-review{background:#fff8e8;border-color:#f2d397}.account-active{background:#ecfaf5;border-color:#9bd8c4}.account-signup-panel{margin-top:16px;padding:20px;border:2px solid #b9d2f5;border-radius:17px;background:#f7faff}.account-signup-grid{margin:15px 0;display:grid;grid-template-columns:1fr 1fr;gap:12px}.account-signup-grid label{display:grid;gap:5px}.account-signup-grid label.wide{grid-column:1/-1}.account-signup-grid span{font-size:11px;font-weight:800}.account-signup-grid input,.account-signup-grid select{width:100%;padding:11px;border:1px solid #cbd7e8;border-radius:10px;background:#fff}.account-signup-actions{display:flex;justify-content:flex-end;gap:9px;margin-bottom:10px}.account-interest-products{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.account-interest-products span{padding:7px 10px;border-radius:99px;color:#075f49;background:#d9f4ea;font-size:11px;font-weight:800}
.quote-items-heading small{color:var(--muted)}
.quote-line-side{display:flex;align-items:flex-end;justify-content:space-between;flex-direction:column;gap:10px}
.quote-line-actions{display:flex;gap:6px}
.quote-line-actions button{padding:7px 10px;border:1px solid #c8d7eb;border-radius:8px;color:var(--blue);background:#fff;font-size:11px;font-weight:800}
.quote-line-actions button:hover{border-color:var(--blue);background:#edf5ff}
.quote-line-actions .danger{color:#b42318;border-color:#f0c5c1}
.quote-line-actions .danger:hover{border-color:#b42318;background:#fff1f0}
.quote-line-item.locked-order-item{border-color:#f1cf8b;background:#fffbf2}
.locked-order-badge{width:max-content;max-width:100%;margin-top:8px;padding:5px 8px;display:block;border-radius:999px;color:#8a5600;background:#fff0c7;font-size:9px;font-weight:900}
.quote-line-locked{margin-top:8px;padding:7px 10px;border:1px solid #e5c475;border-radius:8px;color:#805000;background:#fff4d7;font-size:11px;font-weight:900;text-align:center}
.empty-cart{padding:24px;text-align:center;color:var(--muted);border:1px dashed #b9cae1;border-radius:12px;background:#fff}
.empty-cart strong,.empty-cart small{display:block}.empty-cart small{margin-top:5px}
.order-design-service-note{margin-top:12px;padding:10px 12px;color:#087255;border:1px solid #a9dfcd;border-radius:10px;background:#e9f8f2;font-size:11px;font-weight:800}
.service-card button:disabled,.analysis-options button:disabled{cursor:not-allowed;opacity:.65;background:#d9e1ed;border-color:#d9e1ed;color:#526078}
.cart-shortcut{display:flex;align-items:center;gap:7px;padding:9px 12px;border:1px solid #c7d7ec;border-radius:11px;color:var(--navy);background:#fff;font:inherit;cursor:pointer}
.cart-shortcut strong{font-size:12px}.cart-shortcut b{min-width:22px;height:22px;padding:0 6px;display:grid;place-items:center;color:#fff;border-radius:99px;background:var(--blue);font-size:11px}
.cart-shortcut:hover{border-color:var(--blue);box-shadow:0 5px 18px rgba(31,105,224,.12)}
.checkout-card .admin-pricing-controls{margin:8px 0;padding:12px;display:grid;gap:10px;border:1px solid #bad4fb;border-radius:12px;background:#f4f8ff}.checkout-card .admin-pricing-controls.hidden{display:none}.admin-pricing-controls>strong{font-size:12px}.admin-discount-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.admin-pricing-controls label{display:grid;gap:4px}.admin-pricing-controls label span{color:var(--muted);font-size:9px;font-weight:800}.admin-pricing-controls select,.admin-pricing-controls input[type="number"]{width:100%;padding:9px;border:1px solid #cbd7e7;border-radius:8px;background:#fff}.admin-pricing-controls .credit-apply-control{display:flex;align-items:center;gap:7px;padding:8px;border-radius:8px;background:#e8f7f0}.admin-pricing-controls .credit-apply-control.hidden{display:none}.admin-pricing-controls .credit-apply-control span{color:#087255}
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.shipping-first-card { margin-bottom: 28px; padding: 22px; border: 1px solid #cfe0fb; border-radius: 20px; background: linear-gradient(135deg,#fff,#eef5ff); }
.shipping-first-card > h2 { margin: 6px 0; font-size: 30px; }
.shipping-first-card .lead { margin-bottom: 17px; }
.shipping-mode-grid .choice-card { min-height: 155px; }
.availability-message { margin-top: 15px; padding: 16px; color: #8b4b0b; border: 1px solid #f0c68f; border-radius: 13px; background: #fff7e9; font-weight: 700; }
.choice-card { min-height: 205px; padding: 25px; text-align: left; position: relative; display: flex; flex-direction: column; align-items: flex-start; border: 2px solid var(--line); border-radius: var(--radius); background: #fff; transition: .2s ease; }
.choice-card:hover { transform: translateY(-2px); border-color: #b8cdf2; box-shadow: 0 14px 34px rgba(13,27,53,.08); }
.choice-card.selected { border-color: var(--blue); box-shadow: 0 0 0 3px var(--ice); }
.choice-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; color: var(--blue); background: var(--ice); font-size: 21px; }
.choice-check { display: none; position: absolute; top: 20px; right: 20px; width: 24px; height: 24px; place-items: center; border-radius: 50%; color: #fff; background: var(--blue); }
.choice-card.selected .choice-check { display: grid; }
.choice-card strong { margin-top: 20px; color: var(--navy); font: 700 18px "Manrope", sans-serif; }
.choice-card small { margin: 7px 0 18px; color: var(--muted); line-height: 1.5; }
.choice-card b { margin-top: auto; color: var(--blue); font-size: 13px; }
.form-card { margin-top: 22px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.form-heading { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.form-heading strong, .form-heading small { display: block; }
.form-heading small { margin-top: 3px; color: var(--muted); }
.form-heading > span { color: var(--muted); font-size: 11px; }
.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
label span { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 700; color: #364156; }
input, select { width: 100%; padding: 13px 14px; border: 1px solid #cfd6e1; border-radius: 11px; color: var(--ink); background: #fff; outline: none; }
input:focus, select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--ice); }
input.invalid { border-color: var(--danger); box-shadow: 0 0 0 3px #feeceb; }
.full { grid-column: 1 / -1; }
.step-actions { margin-top: 28px; display: flex; justify-content: space-between; align-items: center; }
.product-summary-card { display: flex; align-items: center; gap: 18px; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.product-summary-card img { width: 132px; height: 95px; object-fit: cover; border-radius: 12px; }
.product-summary-card h3 { margin: 8px 0 3px; }
.product-summary-card p { margin: 0; color: var(--muted); font-size: 13px; }
.material-picker { margin-top: 14px; padding: 15px 18px; display: grid; grid-template-columns: minmax(220px,360px) 1fr; gap: 20px; align-items: end; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.product-picker-section { margin-bottom: 14px; }
.product-select-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(210px,1fr)); gap: 10px; }
.product-select-card { padding: 10px; display: flex; align-items: center; gap: 12px; text-align: left; border: 2px solid var(--line); border-radius: 14px; background: #fff; }
.product-select-card.selected { border-color: var(--blue); box-shadow: 0 0 0 3px var(--ice); }
.product-select-card img { width: 62px; height: 62px; object-fit: contain; border-radius: 10px; background: #eef5ff; }
.product-select-card strong,.product-select-card small { display: block; }
.product-select-card strong { color: var(--navy); }
.product-select-card small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.material-picker small { padding-bottom: 13px; color: var(--muted); }
.template-section-help { margin: -5px 0 14px; color: var(--muted); font-size: 12px; }
.published-shape-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(108px,1fr)); gap: 9px; }
.published-shape-card { min-height: 92px; padding: 9px 7px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 2px solid var(--line); border-radius: 13px; background: #fff; }
.published-shape-card.selected { border-color: var(--blue); box-shadow: 0 0 0 3px var(--ice); }
.published-shape-card .shape-sample { width: 34px; height: 45px; }
.published-shape-card strong { margin-top: 6px; color: var(--navy); font-size: 12px; text-align: center; line-height: 1.15; }
.published-shape-card object.shape-sample { object-fit: contain; pointer-events: none; }
.compact-title { margin-top: 18px; }
.exact-template-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(108px,1fr)); gap: 9px; }
.exact-template-card { min-height: 128px; padding: 9px 6px; display: flex; flex-direction: column; align-items: center; text-align: center; border: 2px solid var(--line); border-radius: 13px; background: #fff; }
.exact-template-card.selected { border-color: var(--blue); box-shadow: 0 0 0 3px var(--ice); }
.exact-template-card .template-shape { width: 34px; height: 46px; display: block; border: 2px solid #8eadde; background: linear-gradient(145deg,#e8eef8,#fff); }
.exact-template-card strong { margin-top: 6px; color: var(--navy); font-size: 12px; line-height: 1.15; }
.exact-template-card small { margin: 3px 0 6px; color: var(--muted); }
.exact-template-card b { margin-top: auto; color: var(--blue); font-size: 15px; }
.exact-template-card object.template-shape { object-fit: contain; pointer-events: none; }
.template-reference-image { object-fit: contain; border: 0 !important; background: #eef5ff; border-radius: 8px; }
.template-admin-reference { object-fit: contain; border: 0 !important; border-radius: 10px; background: #eef5ff; }
.folded-badge { margin: 3px 0 5px; padding: 3px 6px; color: #8a4b08; border-radius: 99px; background: #fff0d9; font-size: 8px; font-style: normal; font-weight: 800; }
.shipping-fold-note { margin-top: 8px !important; padding: 7px 9px; color: #8a4b08 !important; border-radius: 9px; background: #fff0d9; font-weight: 700; }
.custom-template-card .custom-size-icon { width: 52px; height: 52px; margin: 9px 0 0; font-size: 24px; }
.custom-shape-selector .custom-size-icon { width: 34px; height: 34px; margin: 0; font-size: 18px; }
.custom-size-entry { width: 100%; margin-top: 15px; padding: 16px 20px; display: grid; grid-template-columns: auto 1fr auto; gap: 15px; align-items: center; text-align: left; border: 2px dashed #9eb6dc; border-radius: 16px; background: #fff; }
.custom-size-entry .custom-size-icon { width: 50px; height: 50px; margin: 0; }
.custom-size-entry strong,.custom-size-entry small { display: block; }
.custom-size-entry small { margin-top: 3px; color: var(--muted); }
.custom-size-entry b { color: var(--blue); }
.pill { display: inline-block; color: var(--blue); background: var(--ice); border-radius: 999px; padding: 5px 9px; font-size: 9px; font-weight: 800; letter-spacing: .09em; }
.section-title { margin: 26px 0 12px; font-size: 16px; }
.shape-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.shape-card { min-height: 150px; padding: 16px 12px; display: flex; flex-direction: column; align-items: center; border: 2px solid var(--line); border-radius: 17px; background: #fff; }
.shape-card.selected { border-color: var(--blue); box-shadow: 0 0 0 3px var(--ice); }
.shape-card strong { margin-top: 10px; color: var(--navy); }
.shape-card small { margin-top: 4px; color: var(--muted); text-align: center; font-size: 10px; }
.shape-sample { width: 58px; height: 74px; display: block; border: 2px solid #8eadde; background: linear-gradient(145deg,#e7eef9,#fff); }
.shape-arch { border-radius: 999px 999px 4px 4px; }
.shape-square { border-radius: 4px; aspect-ratio: 1; height: auto !important; }
.shape-rectangle { border-radius: 4px; clip-path: none; }
.shape-circle { border-radius: 50%; aspect-ratio: 1; height: auto !important; }
.shape-oval { border-radius: 50%; }
.shape-hexagon { border-radius: 0; clip-path: polygon(25% 0,75% 0,100% 25%,100% 75%,75% 100%,25% 100%,0 75%,0 25%); }
.shape-custom-outline { border-radius: 45% 20% 38% 14%; border-style: dashed !important; }
.shape-cutout { border-radius: 44% 44% 12% 12% / 28% 28% 8% 8%; clip-path: polygon(31% 0,69% 0,78% 18%,72% 34%,88% 52%,77% 68%,68% 53%,67% 100%,51% 100%,50% 63%,49% 100%,33% 100%,32% 53%,23% 68%,12% 52%,28% 34%,22% 18%); }
.shape-die-cut { border-radius: 38% 18% 42% 23%; clip-path: polygon(18% 3%,72% 0,96% 23%,84% 55%,100% 82%,62% 100%,28% 91%,0 66%,13% 34%); }
.size-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.size-card { min-height: 210px; padding: 18px; border: 2px solid var(--line); border-radius: 18px; background: #fff; display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; }
.size-card.selected { border-color: var(--blue); box-shadow: 0 0 0 3px var(--ice); }
.size-shape { display: block; margin-bottom: 13px; border: 2px solid #9eb6dc; background: linear-gradient(145deg, #e8eef8, #fff); }
.size-shape.tall { width: 52px; height: 88px; }
.size-shape.medium { width: 59px; height: 74px; }
.size-shape.slim { width: 42px; height: 82px; }
.custom-size-icon { width: 78px; height: 78px; margin-bottom: 13px; display: grid; place-items: center; border: 2px dashed #9eb6dc; border-radius: 14px; color: var(--blue); background: #f5f9ff; font-size: 30px; }
.size-card strong { color: var(--navy); }
.size-card small { margin: 4px 0 10px; color: var(--muted); font-size: 11px; }
.size-card b { margin-top: auto; color: var(--blue); font-size: 18px; }
.custom-size-panel { margin-top: 16px; padding: 23px; border: 1px solid #cfe0fb; border-radius: 18px; background: linear-gradient(135deg,#fff,#f3f7ff); }
.custom-size-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.custom-size-heading h3 { margin: 8px 0 3px; }
.custom-size-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.square-foot-rate { min-width: 145px; padding: 12px 15px; text-align: right; border-radius: 13px; background: #fff; box-shadow: 0 6px 18px rgba(13,27,53,.06); }
.square-foot-rate span, .square-foot-rate small, .square-foot-rate strong { display: block; }
.square-foot-rate span, .square-foot-rate small { color: var(--muted); font-size: 9px; }
.square-foot-rate strong { margin: 2px 0; color: var(--blue); font-size: 21px; }
.custom-size-fields { display: grid; grid-template-columns: 1fr auto 1fr 1fr 1fr; gap: 14px; align-items: end; margin-top: 20px; }
.measurement-input { display: flex; align-items: center; overflow: hidden; border: 1px solid #cfd6e1; border-radius: 11px; background: #fff; }
.measurement-input:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px var(--ice); }
.measurement-input input { border: 0; box-shadow: none !important; }
.measurement-input b { padding: 0 13px; color: var(--muted); font-size: 11px; }
.dimension-times { padding-bottom: 13px; color: var(--muted); font-size: 21px; }
.area-result { min-height: 47px; padding: 8px 12px; border-left: 1px solid #cfdbeb; }
.area-result span, .area-result strong { display: block; }
.area-result span { color: var(--muted); font-size: 10px; }
.area-result strong { margin-top: 4px; color: var(--navy); }
.area-result.price strong { color: var(--blue); }
.custom-size-note { margin: 16px 0 0; color: var(--muted); font-size: 10px; }
.order-options-section { margin-top: 18px; padding: 22px; border: 1px solid #d7e3f5; border-radius: 18px; background: #fff; }
.order-options-heading h3 { margin: 8px 0 3px; }
.order-options-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.order-options { margin-top: 17px; display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.portal-option { padding: 14px; border: 1px solid var(--line); border-radius: 13px; background: #f9fbfe; }
.portal-option>strong,.portal-option>small { display: block; }
.portal-option>small { margin: 4px 0 11px; color: var(--muted); }
.option-values { display: grid; grid-template-columns:repeat(auto-fit,minmax(130px,1fr)); gap: 8px; }
.option-choice { position:relative; min-height:64px; padding:9px; display:grid; grid-template-columns:auto 1fr; align-items:center; gap:8px; border:2px solid #d5deea; border-radius:11px; background:#fff; cursor:pointer; overflow:hidden; }
.option-choice.has-reference-image { min-height:150px; padding:0; display:flex; flex-direction:column; align-items:stretch; }
.option-choice>input { width:auto; accent-color:var(--blue); }
.option-choice.has-reference-image>input { position:absolute; z-index:2; top:9px; right:9px; width:20px; height:20px; }
.option-choice>img { width:100%; height:105px; padding:6px; object-fit:contain; background:#eef3fa; }
.option-choice>span { min-width:0; display:flex; align-items:center; justify-content:space-between; gap:7px; }
.option-choice.has-reference-image>span { padding:9px 10px; }
.option-choice strong { color:var(--navy); font-size:12px; }
.option-choice small { color:var(--blue); font-size:10px; font-weight:800; }
.option-choice:has(input:checked) { border-color:var(--blue); background:var(--ice); box-shadow:0 0 0 2px rgba(25,105,230,.12); }
.quantity-row, .price-preview { margin-top: 16px; padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.quantity-tier-section { margin-top: 16px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.quantity-tier-section h3,.quantity-tier-section p { margin: 0; }
.quantity-tier-section p { margin-top: 4px; color: var(--muted); font-size: 12px; }
.quantity-tier-grid { margin-top: 13px; display: grid; grid-template-columns: repeat(auto-fit,minmax(110px,1fr)); gap: 8px; }
.quantity-tier-card { padding: 12px 8px; border: 2px solid var(--line); border-radius: 12px; background: #fff; text-align: center; }
.quantity-tier-card.selected { border-color: var(--blue); background: var(--ice); }
.quantity-tier-card strong,.quantity-tier-card small { display: block; }
.quantity-tier-card small { margin-top: 3px; color: var(--blue); }
.quantity-row strong, .quantity-row small { display: block; }
.quantity-row { padding: 22px 24px; border: 2px solid #b9cff5; background: linear-gradient(135deg,#fff,#f1f6ff); box-shadow: 0 10px 25px rgba(25,93,193,.08); }
.quantity-row strong { font-size: 20px; }
.quantity-row small { color: var(--muted); margin-top: 3px; }
.quantity-control { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.quantity-control button { width: 52px; height: 52px; border: 0; background: #fff; color: var(--navy); font-size: 24px; }
.quantity-control output { min-width: 58px; text-align: center; font-size: 21px; font-weight: 800; }
.fulfillment-card { margin-bottom: 20px; padding: 22px; border: 1px solid #cfe0fb; border-radius: 19px; background: linear-gradient(135deg,#fff,#f3f7ff); }
.fulfillment-card h3 { margin: 9px 0 4px; }
.fulfillment-card > p { margin: 0 0 18px; color: var(--muted); }
.fulfillment-options { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin-top: 13px; }
.fulfillment-options h4 { grid-column: 1/-1; margin: 4px 0 0; }
.fulfillment-choice { padding: 14px; display: flex; gap: 11px; align-items: flex-start; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.fulfillment-choice:has(input:checked) { border-color: var(--blue); box-shadow: 0 0 0 2px var(--ice); }
.fulfillment-choice input { width: auto; margin-top: 3px; }
.fulfillment-choice strong,.fulfillment-choice small { display: block; }
.fulfillment-choice small { margin-top: 4px; color: var(--muted); }
.fulfillment-calculation { display: block; margin-top: 15px; color: var(--muted); }
.order-date-card{margin-bottom:20px;padding:22px;display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,360px);gap:14px 20px;align-items:end;border:1px solid #cfe0fb;border-radius:19px;background:#fff}.order-date-card h3{margin:9px 0 4px}.order-date-card p{margin:0;color:var(--muted);line-height:1.5}.order-date-card label{display:grid;gap:6px}.order-date-card label span{font-size:11px;font-weight:800}.order-date-card input{width:100%;padding:12px;border:1px solid #cbd7e8;border-radius:10px;background:#fff}.requested-date-message{grid-column:1/-1;padding:12px 14px;border-radius:11px;font-size:12px;font-weight:700}.requested-date-message.neutral{color:#526078;background:#f1f5fa}.requested-date-message.success{color:#087255;background:#e4f8f0}.requested-date-message.warning{color:#8a4b08;border:1px solid #efc36e;background:#fff4dc}.requested-date-message.error{color:#a52a22;border:1px solid #efaca8;background:#feeceb}
.order-date-card .date-rule-override{grid-column:1/-1;padding:13px 14px;display:flex;align-items:flex-start;gap:11px;border:1px solid #e5b65e;border-radius:12px;background:#fff8e8}.order-date-card .date-rule-override.hidden{display:none}.order-date-card .date-rule-override input{width:auto;margin-top:2px}.date-rule-override span,.date-rule-override strong,.date-rule-override small{display:block}.date-rule-override small{margin-top:3px;color:#6f5a33;font-weight:500}
.requested-date-field{display:grid;gap:7px}.requested-date-field>span{font-size:11px;font-weight:800}.requested-date-calendar{padding:12px;border:1px solid #cbd7e8;border-radius:14px;background:#fff}.calendar-heading{display:grid;grid-template-columns:38px 1fr 38px;align-items:center;gap:8px}.calendar-heading strong{text-align:center;text-transform:capitalize;color:var(--navy)}.calendar-heading button{width:38px;height:36px;border:1px solid #cbd7e8;border-radius:9px;background:#f7faff;color:var(--blue);font-weight:900}.calendar-heading button:disabled{opacity:.3}.calendar-weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.calendar-weekdays{margin:11px 0 6px}.calendar-weekdays span{text-align:center;color:#708097;font-size:10px;font-weight:900}.calendar-day{position:relative;min-width:0;min-height:39px;padding:4px;border:1px solid #d7e1ee;border-radius:9px;background:#f7fbff;color:var(--navy);font-weight:800}.calendar-day small{position:absolute;right:3px;bottom:1px;font-size:9px}.calendar-day.available:hover{border-color:var(--blue);background:#edf5ff}.calendar-day.blocked{border-color:#f0b1ad;background:#ffebe9;color:#b32d25;cursor:not-allowed;opacity:1}.calendar-day.selected{border-color:#0867e8;background:#0867e8;color:#fff;box-shadow:0 3px 10px rgba(8,103,232,.22)}.calendar-day.today:not(.selected){box-shadow:inset 0 0 0 2px #8bb9f5}.calendar-empty{min-height:39px}.calendar-legend{margin-top:10px;display:flex;flex-wrap:wrap;justify-content:center;gap:9px;color:#66748a;font-size:9px;font-weight:700}.calendar-legend span{display:flex;align-items:center;gap:4px}.calendar-legend i{width:10px;height:10px;border:1px solid #d7e1ee;border-radius:3px;background:#f7fbff}.calendar-legend i.blocked{border-color:#f0b1ad;background:#ffebe9}.calendar-legend i.selected{border-color:#0867e8;background:#0867e8}
@media(max-width:700px){.order-date-card{grid-template-columns:1fr;padding:16px}.requested-date-message{grid-column:auto}}
@media(max-width:420px){.requested-date-calendar{padding:9px}.calendar-weekdays,.calendar-grid{gap:3px}.calendar-day,.calendar-empty{min-height:36px}.calendar-day{font-size:11px;border-radius:7px}}
.price-preview { color: var(--muted); background: #f0f5ff; border-color: #d8e6ff; }
.price-preview > div { text-align: right; }
.price-preview small { display: block; margin-bottom: 3px; }
.price-preview strong { color: var(--navy); font-size: 22px; }
.design-tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; padding: 5px; margin-bottom: 18px; width: 100%; max-width: 100%; box-sizing: border-box; overflow: hidden; border-radius: 13px; background: #e9edf3; }
.design-tabs button { min-width: 0; padding: 10px 8px; border: 0; border-radius: 9px; color: var(--muted); background: transparent; font-weight: 700; font-size: 12px; line-height: 1.25; white-space: normal; overflow-wrap: anywhere; }
.design-tabs button.active { color: var(--blue); background: #fff; box-shadow: 0 3px 12px rgba(13,27,53,.1); }
.design-panel { display: none; }
.design-panel.active { display: block; }
.upload-zone { min-height: 270px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 2px dashed #aebed4; border-radius: var(--radius); background: #fff; transition: .2s; }
.upload-zone:hover, .upload-zone.dragging { border-color: var(--blue); background: #f8fbff; }
.upload-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; color: var(--blue); background: var(--ice); font-size: 26px; }
.upload-zone strong { margin-top: 15px; font-size: 18px; }
.upload-zone small { margin-top: 6px; color: var(--muted); }
.upload-zone b { margin-top: 15px; color: var(--blue); }
.analysis-card { padding: 16px; display: grid; grid-template-columns: 250px 1fr; gap: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.analysis-preview-block { width: 250px; min-height: 315px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; }
.analysis-preview-block > small { color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .08em; text-align: center; }
.analysis-preview { width: 171px; height: 300px; display: grid; place-items: center; overflow: hidden; border: 2px solid #8eadde; background: repeating-conic-gradient(#f4f6f9 0 25%, #fff 0 50%) 50% / 18px 18px; }
.analysis-preview img { width: 100%; height: 100%; display: block; object-fit: contain; object-position: center; }
.analysis-preview.preview-without-shape { padding: 18px; box-sizing: border-box; clip-path: none; border-radius: 12px; background: #f7f9fc; }
.analysis-preview.preview-without-shape img { object-fit: contain !important; transform: none !important; }
.summary-product-visual.preview-without-shape { padding: 7px; box-sizing: border-box; clip-path: none; border-radius: 9px; background: #f7f9fc; }
.summary-product-visual.preview-without-shape img { object-fit: contain !important; transform: none !important; }
.analysis-preview.crop-applied { border-color: var(--success); box-shadow: 0 0 0 3px #e7f7f0; }
.analysis-preview.crop-applied img { object-fit: contain; }
.analysis-details { padding: 10px 10px 10px 0; }
.analysis-details h3 { margin: 10px 0; }
.analysis-metrics { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 13px; overflow: hidden; }
.analysis-metrics div { padding: 12px; }
.analysis-metrics div + div { border-left: 1px solid var(--line); }
.analysis-metrics span, .analysis-metrics strong { display: block; }
.analysis-metrics span { color: var(--muted); font-size: 10px; }
.analysis-metrics strong { margin-top: 4px; font-size: 12px; }
.analysis-details p { color: var(--muted); line-height: 1.5; }
.analysis-options { display: flex; flex-wrap: wrap; gap: 8px; }
.btn-crop { margin-bottom: 10px; color: #fff; background: var(--navy); }
.crop-editor { margin-top: 18px; padding: 24px; border: 1px solid #cfe0fb; border-radius: var(--radius); background: #fff; box-shadow: 0 18px 45px rgba(13,27,53,.09); }
.crop-editor-heading { display: flex; justify-content: space-between; gap: 20px; }
.crop-editor-heading h3 { margin: 9px 0 4px; color: var(--navy); font-size: 22px; }
.crop-editor-heading p { margin: 0; color: var(--muted); }
.crop-close { width: 36px; height: 36px; flex: 0 0 36px; border: 0; border-radius: 50%; color: var(--muted); background: #f2f4f7; font-size: 23px; }
.crop-warning { margin: 18px 0 14px; padding: 13px 15px; color: #8a3d0b; border: 1px solid #ffd6a8; border-radius: 12px; background: #fff5e8; font-size: 13px; }
.crop-stage { min-height: 420px; padding: 25px; display: grid; place-items: center; position: relative; overflow: hidden; border-radius: 18px; background: repeating-linear-gradient(135deg,#1d293d 0 18px,#182337 18px 36px); }
.crop-outside-label { position: absolute; top: 16px; left: 18px; color: rgba(255,255,255,.58); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.crop-print-frame { width: 206px; height: 360px; position: relative; overflow: hidden; border: 3px solid #54a0ff; background: #fff; box-shadow: 0 0 0 2px rgba(255,255,255,.5),0 18px 40px rgba(0,0,0,.35); }
.crop-print-frame img { width: 100%; height: 100%; display: block; object-fit: contain; object-position: 50% 50%; transform: scale(1); transform-origin: center; }
.crop-safe-label { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); width: max-content; padding: 6px 9px; color: #fff; border-radius: 999px; background: rgba(18,100,230,.88); font-size: 8px; font-weight: 800; letter-spacing: .08em; pointer-events: none; }
.crop-controls { margin-top: 18px; display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.crop-controls label { padding: 14px; border: 1px solid var(--line); border-radius: 13px; background: #f8fafc; }
.crop-controls label > span { margin-bottom: 9px; }
.crop-controls input[type="range"] { padding: 0; border: 0; box-shadow: none; accent-color: var(--blue); }
.crop-controls output { display: block; margin-top: 5px; color: var(--blue); font-size: 11px; font-weight: 800; text-align: center; }
.crop-actions { margin-top: 18px; display: flex; justify-content: flex-end; gap: 10px; }
.catalog-toolbar { margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center; }
.catalog-toolbar strong, .catalog-toolbar small { display: block; }
.catalog-toolbar small { color: var(--muted); margin-top: 3px; }
.catalog-toolbar select { width: 190px; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.catalog-card { padding: 0; overflow: hidden; text-align: left; border: 2px solid var(--line); border-radius: 17px; background: #fff; }
.catalog-card.selected { border-color: var(--blue); box-shadow: 0 0 0 3px var(--ice); }
.catalog-card > span:last-child { display: block; padding: 14px; }
.catalog-card strong, .catalog-card small { display: block; }
.catalog-card small { color: var(--muted); margin-top: 3px; }
.catalog-art { height: 165px; display: grid; place-items: center; position: relative; overflow: hidden; }
.catalog-art::before, .catalog-art::after { content: ""; position: absolute; border-radius: 50%; }
.catalog-art i { position: relative; z-index: 2; color: rgba(255,255,255,.72); transform: rotate(-15deg); font-size: 11px; font-style: normal; font-weight: 800; letter-spacing: .15em; }
.art-one { background: linear-gradient(145deg,#d8b999,#f7e8d8 50%,#9d5538); }
.art-one::before { width: 150px; height: 150px; background: rgba(255,255,255,.24); left: -40px; top: -50px; }
.art-two { background: radial-gradient(circle at 30% 30%,#e7c875,transparent 20%),linear-gradient(145deg,#17233b,#544329); }
.art-three { background: repeating-linear-gradient(135deg,#64748b 0 10px,#526175 10px 20px); filter: grayscale(1); }
.catalog-card.locked { cursor: not-allowed; opacity: .68; }
.service-card { padding: 30px; display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: start; border: 1px solid #d4e2fb; border-radius: var(--radius); background: linear-gradient(135deg,#fff,#f0f6ff); }
.service-icon { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 18px; color: #fff; background: var(--blue); font-size: 27px; }
.service-card h3 { margin: 10px 0 4px; font-size: 22px; }
.service-card p { color: var(--muted); }
.service-card ul { padding-left: 18px; color: #4e5c73; }
.service-card li { margin: 7px 0; }
.service-price { min-width: 160px; text-align: center; padding: 20px; border-radius: 16px; background: #fff; box-shadow: 0 10px 25px rgba(13,27,53,.08); }
.service-price strong, .service-price small { display: block; }
.service-price strong { color: var(--navy); font-size: 32px; }
.service-price small { color: var(--muted); margin-bottom: 15px; }
.summary-layout { display: grid; grid-template-columns: 1fr 330px; gap: 20px; align-items: start; }
.summary-main, .checkout-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.summary-product { padding: 18px; display: flex; align-items: center; gap: 18px; border-bottom: 1px solid var(--line); }
.summary-product-visual { width: 86px; height: 120px; flex: 0 0 auto; position: relative; overflow: hidden; border: 2px solid #8eadde; background: #eef2f7; }
.summary-product-visual img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.summary-preview-status { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); width: max-content; padding: 4px 6px; color: #fff; border-radius: 99px; background: rgba(21,128,93,.9); font-size: 7px; font-weight: 800; }
.summary-product h3 { margin: 7px 0 3px; }
.summary-product p { color: var(--muted); }
.summary-calculation { display: block; margin: -8px 0 10px; color: var(--blue); font-size: 11px; font-weight: 700; }
.summary-product button, .summary-section button { padding: 0; color: var(--blue); border: 0; background: transparent; font-weight: 700; font-size: 12px; }
.summary-section { padding: 19px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.summary-section:last-child { border: 0; }
.summary-section strong, .summary-section small { display: block; }
.summary-section small { margin-top: 4px; color: var(--muted); }
.coming { color: var(--warning); background: #fff2df; border-radius: 99px; padding: 5px 8px; font-size: 9px; font-weight: 800; }
.checkout-card { padding: 24px; position: sticky; top: 132px; box-shadow: 0 14px 35px rgba(13,27,53,.07); }
.checkout-card h3 { margin-top: 0; }
.checkout-card > div { margin: 14px 0; display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 13px; }
.checkout-card b { color: var(--ink); text-align: right; }
.checkout-card hr { border: 0; border-top: 1px solid var(--line); }
.checkout-card .total { align-items: center; color: var(--navy); }
.checkout-card .total strong { font-size: 25px; }
.checkout-card>.hidden{display:none!important}.checkout-card .amount-due-row{margin-top:6px;padding:8px 10px;border-radius:9px;background:#edf5ff;color:#0d5bd2}.checkout-card .amount-due-row span{font-size:11px;font-weight:800}.checkout-card .amount-due-row b{color:inherit}.checkout-card .account-balance-row{margin-top:8px;padding:8px 10px;border-radius:9px;background:#eaf8f1;color:#087255}.checkout-card .account-balance-row.debt{background:#fff1ef;color:#a52b22}.checkout-card .account-balance-row span{font-size:11px;line-height:1.25}.checkout-card .account-balance-row b{color:inherit}
.secure-note { display: block; margin-top: 12px; color: var(--muted); text-align: center; font-size: 10px; }
.customer-preview-open { display: flex; justify-content: center; margin-top: 16px; text-decoration: none; }
.modal { width: min(460px, calc(100% - 30px)); padding: 34px; border: 0; border-radius: 24px; box-shadow: var(--shadow); }
.modal::backdrop { background: rgba(7,16,32,.64); backdrop-filter: blur(5px); }
.modal .brand-mark { margin-bottom: 22px; }
.modal h2 { margin: 8px 0; font-size: 30px; }
.modal p { margin: 0 0 22px; color: var(--muted); }
.modal label { display: block; margin-bottom: 14px; }
.modal-close { position: absolute; right: 18px; top: 16px; border: 0; background: transparent; font-size: 27px; color: var(--muted); }
.modal > small { display: block; margin-top: 18px; text-align: center; color: var(--muted); }
.missing-design-dialog{text-align:center}.missing-design-dialog .missing-design-icon{width:54px;height:54px;margin:0 auto 16px;display:grid;place-items:center;border-radius:50%;color:#9a5b00;background:#fff0cf;font-size:28px;font-weight:900}.missing-design-dialog h2{font-size:27px;line-height:1.12}.missing-design-dialog p{line-height:1.55}.missing-design-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.missing-design-actions .btn{min-height:48px;padding:10px 12px}
@media(max-width:520px){.missing-design-dialog{padding:25px 18px}.missing-design-dialog h2{font-size:23px}.missing-design-actions{grid-template-columns:1fr}}
.magic-link { width: 100%; margin-top: 9px; padding: 10px; color: var(--blue); border: 0; background: transparent; font-weight: 700; }
.toast { position: fixed; z-index: 100; right: 22px; bottom: 22px; max-width: 390px; padding: 14px 18px; color: #fff; background: var(--navy); border-radius: 13px; box-shadow: var(--shadow); opacity: 0; transform: translateY(15px); pointer-events: none; transition: .25s; }
.toast.show { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero { flex-direction: column; }
  .hero-copy, .hero-visual { width: 100%; }
  .hero-copy { padding: 70px 7vw 40px; }
  .hero-visual { min-height: 430px; }
  .hero-visual::after { background: linear-gradient(180deg, var(--cream), transparent 28%); }
  .order-sidebar { width: 250px; flex-basis: 250px; padding: 30px 20px; }
  .summary-layout { grid-template-columns: 1fr; }
  .checkout-card { position: static; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .shape-grid, .size-grid, .exact-template-grid { grid-template-columns: repeat(2, 1fr); }
  .custom-size-fields { grid-template-columns: 1fr auto 1fr; }
  .area-result { border-left: 0; border-top: 1px solid #cfdbeb; }
}

@media (min-width: 761px) and (max-width: 900px) {
  .order-sidebar { display: none; }
  .order-content { padding: 34px 32px 54px; }
  .mobile-progress { display: block; position: sticky; top: 82px; z-index: 15; margin: -34px -32px 64px; padding: 12px 32px 11px; color: var(--muted); background: rgba(246,248,251,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); font-size: 11px; font-weight: 700; }
  .product-select-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .custom-size-fields { grid-template-columns: 1fr auto 1fr; }
  .custom-size-fields .area-result { grid-column: span 3; }
}

@media (max-width: 760px) {
  body { overflow-x: hidden; }
  .prototype-ribbon { font-size: 9px; }
  .site-header { height: 68px; padding: 0 14px; }
  .brand { gap: 9px; }
  .brand-mark { width: 38px; height: 38px; border-radius: 12px; font-size: 18px; }
  .brand strong { font-size: 18px; }
  .brand small, .text-link, .language-picker { display: none; }
  .top-actions .btn { padding: 10px 12px; font-size: 12px; }
  .hero-copy { padding: 54px 20px 30px; }
  .hero h1 { font-size: 43px; }
  .hero-copy > p { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-visual { min-height: 340px; }
  .floating-card { width: calc(100% - 40px); left: 20px; bottom: 20px; }
  .order-sidebar { display: none; }
  .order-content { padding: 20px 14px 42px; }
  .mobile-progress { display: block; position: sticky; top: 68px; z-index: 15; margin: -20px -14px 64px; padding: 10px 14px 9px; color: var(--muted); background: rgba(246,248,251,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); font-size: 11px; font-weight: 700; }
  .order-step > h2 { font-size: 29px; line-height: 1.08; }
  .lead { margin-bottom: 20px; font-size: 14px; line-height: 1.5; }
  .shipping-first-card { margin-bottom: 20px; padding: 14px; border-radius: 17px; }
  .shipping-first-card > h2 { font-size: 25px; line-height: 1.12; }
  .choice-grid, .field-grid, .catalog-grid { grid-template-columns: 1fr; }
  .choice-grid { gap: 10px; }
  .choice-card, .shipping-mode-grid .choice-card { min-height: 0; padding: 16px; border-radius: 16px; }
  .choice-icon { width: 38px; height: 38px; border-radius: 11px; font-size: 18px; }
  .choice-check { top: 14px; right: 14px; }
  .choice-card strong { margin-top: 12px; font-size: 16px; }
  .choice-card small { margin: 5px 0 10px; }
  .form-card { padding: 18px 15px; border-radius: 17px; }
  .field-grid { gap: 13px; }
  .form-heading { flex-direction: column; }
  .full { grid-column: auto; }
  .product-picker-section { margin-left: -14px; margin-right: -14px; overflow: hidden; }
  .product-picker-section > .section-title { margin-left: 14px; }
  .product-select-grid { display: flex; gap: 9px; padding: 3px 14px 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .product-select-grid::-webkit-scrollbar { display: none; }
  .product-select-card { flex: 0 0 148px; min-height: 152px; padding: 9px; flex-direction: column; align-items: stretch; scroll-snap-align: start; }
  .product-select-card img { width: 100%; height: 82px; }
  .product-select-card small { line-height: 1.25; }
  .product-summary-card { align-items: flex-start; }
  .product-summary-card img { width: 95px; height: 95px; }
  .shape-grid, .size-grid, .exact-template-grid { grid-template-columns: repeat(2, 1fr); }
  .size-card { min-height: 160px; padding: 12px 7px; }
  .size-card small { display: none; }
  .size-shape.tall { width: 38px; height: 65px; }
  .size-shape.medium { width: 43px; height: 56px; }
  .size-shape.slim { width: 31px; height: 62px; }
  .custom-size-icon { width: 55px; height: 55px; }
  .custom-size-heading { flex-direction: column; }
  .square-foot-rate { width: 100%; text-align: left; }
  .custom-size-fields { grid-template-columns: 1fr auto 1fr; }
  .custom-size-fields .area-result { grid-column: span 3; }
  .custom-size-panel,.order-options-section,.quantity-tier-section { padding: 16px 13px; }
  .published-shape-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .exact-template-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .material-picker,.order-options,.fulfillment-options { grid-template-columns:1fr; }
  .design-tabs { width: 100%; max-width: 100%; overflow: hidden; }
  .design-tabs button { padding: 9px 5px; font-size: 11px; white-space: normal; }
  .analysis-card { grid-template-columns: 1fr; }
  .analysis-preview-block { width: 100%; }
  .analysis-details { padding: 4px; }
  .analysis-metrics { grid-template-columns: 1fr; }
  .analysis-metrics div + div { border-left: 0; border-top: 1px solid var(--line); }
  .crop-editor { padding: 17px; }
  .crop-stage { min-height: 380px; padding: 18px; }
  .crop-controls { grid-template-columns: 1fr; }
  .catalog-toolbar { align-items: stretch; flex-direction: column; gap: 12px; }
  .catalog-toolbar select { width: 100%; }
  .service-card { grid-template-columns: 1fr; }
  .service-price { width: 100%; }
  .summary-product { align-items: flex-start; }
  .summary-product-visual { max-width: 105px; max-height: 120px; }
  .quantity-row,.price-preview { padding: 15px; gap: 12px; }
  .quantity-row strong { font-size: 17px; }
  .quantity-control button { width: 44px; height: 44px; }
  .quantity-control output { min-width: 44px; font-size: 18px; }
  .price-preview { align-items: flex-end; }
  .price-preview > span { max-width: 58%; font-size: 12px; }
  .step-actions { gap: 10px; }
  .step-actions .btn { min-height: 44px; font-size: 12px; padding: 11px 13px; }
  .crop-stage { min-height: 330px; }
  .crop-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .crop-actions .btn { width: 100%; padding-left: 10px; padding-right: 10px; }
  .toast { right: 12px; bottom: 12px; left: 12px; max-width: none; }
  .admin-quote-banner{margin:0 0 18px;align-items:flex-start;flex-direction:column}.quote-items-heading{align-items:flex-start;flex-direction:column}.quote-items-heading .btn{width:100%}.quote-line-item{grid-template-columns:1fr}
  .quote-line-side{align-items:stretch}.quote-line-actions button{flex:1}.cart-shortcut strong{display:none}
  .client-quote-dialog{padding:18px 13px}.client-review-card{grid-template-columns:1fr}.client-review-visual{min-height:170px}.client-review-head{flex-direction:column}.account-access-card{grid-template-columns:1fr}.account-signup-grid{grid-template-columns:1fr}.account-signup-grid label.wide{grid-column:auto}.account-signup-actions{align-items:stretch;flex-direction:column}
}

.quote-line-item{grid-template-columns:76px minmax(0,1fr) auto;align-items:start}
.quote-line-preview{width:76px;height:76px;padding:5px;display:grid;place-items:center;overflow:hidden;border:1px solid #d5dfec;border-radius:10px;background:#f2f6fb}
.quote-line-preview img{width:100%;height:100%;display:block;object-fit:contain}
.quote-line-content{min-width:0}
.cart-only-summary>.summary-product,.cart-only-summary>.summary-section{display:none}
.customer-quote-name-field{margin:15px 0 5px;padding:13px;display:block;border:1px solid #b9d1f6;border-radius:12px;background:#f3f7fd}.customer-quote-name-field span{display:block;margin-bottom:7px;color:#40516d;font-size:11px;font-weight:800}.customer-quote-name-field input{width:100%}

@media (max-width: 720px){
  .quote-line-item{grid-template-columns:64px minmax(0,1fr)}
  .quote-line-preview{width:64px;height:64px}
  .quote-line-side{grid-column:1/-1}
}

@media (max-width: 390px) {
  .site-header .btn-outline { padding: 9px 10px; }
  .product-summary-card { gap: 12px; }
  .product-summary-card img { width: 78px; height: 78px; }
  .published-shape-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .custom-size-fields { grid-template-columns: 1fr; }
  .dimension-times { display: none; }
  .custom-size-fields .area-result { grid-column: auto; }
  .measurement-input b { padding: 0 9px; }
  .summary-product { flex-direction: column; }
  .summary-section { align-items: flex-start; gap: 12px; }
}

/* Flujo móvil compacto y diseños independientes por unidad */
.quantity-design-choice,.unit-design-uploads{margin:16px 0;padding:18px;border:1px solid var(--line);border-radius:16px;background:#fff}.quantity-design-choice h3,.unit-design-head h3{margin:8px 0 4px}.quantity-design-choice p,.unit-design-head p{margin:0 0 12px;color:var(--muted)}.quantity-design-actions{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.quantity-design-actions button{min-height:82px;padding:12px;display:grid;gap:4px;text-align:left;border:1px solid var(--line);border-radius:12px;background:#fff}.quantity-design-actions button.selected{border:2px solid var(--blue);background:var(--ice)}.quantity-design-actions small{color:var(--muted)}.unit-design-uploads{display:grid;gap:10px}.unit-design-card{padding:10px;display:grid;grid-template-columns:34px 1fr;gap:10px;align-items:center;border:1px dashed #9db4d5;border-radius:12px;background:#f8fbff;cursor:pointer}.unit-design-card>span{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;color:#fff;background:#7587a3;font-weight:900}.unit-design-card.ready{border-style:solid;border-color:#31a778;background:#effbf6}.unit-design-card.ready>span{background:#159467}.unit-design-card div{display:grid;grid-template-columns:48px 1fr;gap:2px 8px;align-items:center}.unit-design-card img{width:48px;height:48px;grid-row:1/3;object-fit:cover;border-radius:8px}.unit-design-card strong,.unit-design-card small{grid-column:2}.unit-design-hidden{display:none!important}.pwa-install-help{width:min(470px,calc(100vw - 28px));padding:24px;border:0;border-radius:20px;color:var(--navy);box-shadow:0 30px 80px rgba(4,18,40,.35)}.pwa-install-help::backdrop{background:rgba(6,20,43,.65)}.pwa-install-help>[data-close-install]{position:absolute;right:14px;top:12px;border:0;background:none;font-size:24px}.pwa-install-help>span{color:var(--blue);font-size:12px;font-weight:900;letter-spacing:.14em}.pwa-install-help h2{margin:10px 0}.pwa-install-help li{margin:9px 0}.pwa-install-help>div{display:flex;gap:8px}.pwa-install-help>div button{flex:1;padding:12px;border:1px solid var(--line);border-radius:10px;background:#fff;font-weight:800}

@media(max-width:600px){
  .hero.screen:not(.active){display:none!important}
  .prototype-ribbon{height:28px;padding:7px 4px;font-size:9px}.site-header{min-height:72px;padding:10px 18px}.site-header .language-picker,.site-header .text-link{display:none}.top-actions{gap:7px}.top-actions .btn{padding:10px 12px;font-size:13px}.brand span:last-child small{display:none}
  .hero{min-height:calc(100svh - 100px);display:grid;grid-template-rows:auto minmax(170px,1fr)}.hero-copy{width:100%;padding:28px 26px 18px;justify-content:flex-start}.hero h1{margin:10px 0;font-size:clamp(35px,10.4vw,48px);line-height:.98}.hero-copy>p{margin:0;font-size:15px;line-height:1.4}.hero-actions{margin-top:14px;display:grid;grid-template-columns:1.25fr .9fr;gap:7px}.hero-actions .btn{min-width:0;padding:13px 9px;font-size:13px}.trust-row{margin-top:13px;display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.trust-row span{font-size:9px}.hero-visual{width:100%;min-height:190px}.floating-card{display:none}
  .shipping-first-card{padding:13px}.shipping-first-card h2,.order-step>h2{font-size:27px}.shipping-first-card>.lead,#customer-access-choice>.lead{font-size:13px}.shipping-mode-grid,.order-step[data-step="1"] #customer-access-choice>.choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.choice-card,.shipping-mode-grid .choice-card{min-height:126px;padding:11px;border-radius:13px}.choice-card .choice-icon{width:34px;height:34px}.choice-card strong{margin-top:7px;font-size:13px;line-height:1.2}.choice-card small{margin:3px 0;font-size:10px;line-height:1.25}.choice-card b{display:none}
  .product-select-grid{grid-template-columns:repeat(3,minmax(118px,1fr));gap:7px;overflow-x:auto;scroll-snap-type:x mandatory}.product-select-card{min-width:118px;padding:8px;scroll-snap-align:start}.product-select-card img{height:88px}.product-select-card h3{font-size:15px}.product-select-card p{font-size:10px}.mobile-await-product #standard-product-config{display:none}
  .mobile-choice-sheet{position:fixed!important;z-index:1200;left:10px;right:10px;bottom:10px;max-height:82svh;overflow:auto;margin:0!important;padding:58px 14px 14px!important;border:1px solid #cad7e8!important;border-radius:22px!important;background:#fff!important;box-shadow:0 22px 80px rgba(4,18,40,.35);overscroll-behavior:contain}.mobile-choice-sheet:before{content:attr(data-mobile-title);position:sticky;z-index:1;display:block;top:-58px;margin:-38px 86px 20px 4px;padding:0;background:#fff;font:800 16px Manrope,sans-serif;color:var(--navy)}.mobile-choice-sheet:has(>.mobile-sheet-back):before{margin-left:44px}.mobile-sheet-close,.mobile-sheet-back{position:sticky;z-index:3;top:-45px;width:34px;height:34px;border:1px solid var(--line);border-radius:9px;background:#fff;font-weight:900}.mobile-sheet-close{float:right;margin-top:-45px}.mobile-sheet-back{float:left;margin-top:-45px;color:var(--blue);font-size:18px}.mobile-sheet-backdrop{position:fixed;z-index:1190;inset:0;background:rgba(7,21,43,.58);backdrop-filter:blur(2px)}.mobile-sheet-underlay{visibility:hidden!important;pointer-events:none!important}.mobile-sheet-continue{margin-top:14px}.mobile-sheet-open{overscroll-behavior:none}
  .mobile-choice-sheet .option-values{grid-template-columns:repeat(2,minmax(0,1fr))}.mobile-choice-sheet .option-choice:not(.has-reference-image){min-height:58px}.mobile-choice-sheet .option-choice img{height:82px}
  .quantity-design-actions{grid-template-columns:1fr}.unit-design-card div{grid-template-columns:42px 1fr}.unit-design-card img{width:42px;height:42px}
  .neon-config-dialog{width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border-radius:0}.neon-config-body{height:calc(100dvh - 76px);overflow:auto}.neon-config-layout{display:flex;flex-direction:column;padding:0 12px 18px}.neon-preview-column{order:-1;position:sticky;top:0;z-index:6;padding:8px 0;background:#f5f8fc}.neon-preview-sticky{position:static}.neon-room{min-height:190px;max-height:235px}.neon-sign{transform:scale(.82)}.neon-preview-column:not(.neon-mobile-complete) .neon-price-card{display:none}.neon-price-card{padding:13px}.neon-price-card>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:8px}.neon-price-card strong{font-size:25px}.neon-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 8px;font-size:10px}.neon-controls{padding:0}.neon-progress{margin:7px 0 10px}.neon-controls .neon-section{display:none;margin:0;padding:14px}.neon-controls .neon-section.neon-mobile-active{display:block}.neon-section h3{margin:0 0 5px;font-size:20px}.neon-section>p{margin:0 0 11px;font-size:12px}.neon-choice-grid,.neon-route-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.neon-choice{min-height:76px;padding:9px;font-size:12px}.neon-choice strong{font-size:13px}.neon-established-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.neon-text-fields{gap:7px}.neon-text-fields label{font-size:11px}.neon-submit{min-height:46px}
}

/* Correos autorizados del laboratorio privado */
.staging-email-panel{display:grid;gap:18px}.staging-email-panel h3,.staging-email-panel p{margin:0}.staging-email-help{color:var(--muted);line-height:1.5}.staging-email-notice{padding:12px 14px;border:1px solid #b9d1f6;border-radius:12px;background:#f2f7ff;color:var(--navy);font-size:13px;line-height:1.45}.staging-email-status{min-height:22px;color:var(--muted);font-size:13px}.staging-email-status.is-error{color:#b42318}.staging-email-send-grid{display:grid;grid-template-columns:minmax(220px,1fr) minmax(220px,1fr) auto;gap:10px;align-items:end}.staging-email-add-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:10px;align-items:end}.staging-email-send-grid label,.staging-email-add-form label{display:grid;gap:6px;color:var(--navy);font-size:12px;font-weight:800}.staging-email-send-grid select,.staging-email-send-grid input,.staging-email-add-form input,.staging-email-add-form textarea{width:100%;min-width:0;padding:12px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--navy);font:inherit}.staging-email-add-form textarea{min-height:46px;resize:vertical}.staging-email-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.staging-email-recipient-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:10px}.staging-email-recipient{padding:14px;display:grid;grid-template-columns:1fr auto;gap:7px 12px;align-items:center;border:1px solid var(--line);border-radius:14px;background:#fff}.staging-email-recipient.is-inactive{opacity:.66;background:#f4f6f9}.staging-email-recipient strong,.staging-email-recipient span,.staging-email-recipient small{min-width:0;overflow-wrap:anywhere}.staging-email-recipient span,.staging-email-recipient small{grid-column:1;color:var(--muted)}.staging-email-recipient button{grid-column:2;grid-row:1/4}.staging-email-badge{display:inline-flex;width:max-content;padding:4px 8px;border-radius:999px;background:#e8f8f1;color:#087a55;font-size:10px;font-weight:900}.staging-email-recipient.is-inactive .staging-email-badge{background:#e8ebef;color:#56606f}
@media(max-width:760px){.staging-email-send-grid,.staging-email-add-form{grid-template-columns:1fr}.staging-email-send-grid button,.staging-email-add-form button{width:100%}.staging-email-recipient-list{grid-template-columns:1fr}}

/* Flujo progresivo definitivo: una decisión visible por etapa */
.progressive-stage-hidden{display:none!important}
.progressive-order-flow .order-step{display:none!important}
.progressive-order-flow .order-step.progressive-parent-active{display:block!important}
.progressive-order-flow .mobile-progress{display:none!important}
.progressive-order-flow .order-step>.eyebrow,
.progressive-order-flow .order-step[data-step="2"]>h2,
.progressive-order-flow .order-step[data-step="2"]>#product-config-lead,
.progressive-order-flow .order-step[data-step="4"]>#summary-mode-label,
.progressive-order-flow .order-step[data-step="4"]>h2,
.progressive-order-flow .order-step[data-step="4"]>#summary-mode-description{display:none!important}
.progressive-order-flow .order-step>.step-actions{display:none!important}
.progressive-stage-header{position:sticky;z-index:35;top:0;margin:0 0 18px;padding:10px 14px;display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;border:1px solid #d4dfed;border-radius:14px;background:rgba(255,255,255,.96);box-shadow:0 8px 24px rgba(9,31,67,.08);backdrop-filter:blur(12px)}
.progressive-stage-header button{min-height:38px;padding:8px 12px;border:1px solid #c9d7e8;border-radius:10px;background:#fff;color:var(--navy);font-weight:800}
.progressive-stage-header button:disabled{opacity:.35}
.progressive-stage-header div{display:flex;align-items:baseline;justify-content:center;gap:9px;text-align:center}
.progressive-stage-header span{font-weight:900;color:var(--navy)}
.progressive-stage-header small{color:var(--muted);font-size:11px;font-weight:800}
.progressive-stage-footer{position:sticky;z-index:34;bottom:10px;margin:18px 0 0;padding:10px;display:flex;justify-content:space-between;gap:10px;border:1px solid #d4dfed;border-radius:14px;background:rgba(255,255,255,.96);box-shadow:0 10px 34px rgba(9,31,67,.14);backdrop-filter:blur(12px)}
.progressive-stage-footer>button:first-child{padding:10px 14px;border:0;background:transparent;color:var(--navy);font-weight:800}
.progressive-stage-footer>button:disabled{opacity:.35}
.progressive-order-flow .section-title{font-size:clamp(21px,2.2vw,30px);line-height:1.12}
.progressive-order-flow .fulfillment-card{margin:0;padding:22px}
.progressive-order-flow .fulfillment-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.progressive-order-flow .fulfillment-options>h4{grid-column:1/-1;margin:8px 0 0}
.progressive-order-flow .fulfillment-options label{min-height:108px;margin:0}
.progressive-order-flow #customer-form{margin:0}
.progressive-order-flow .summary-layout{margin-top:0}
.national-shipping-stage{padding:24px;border:1px solid #cbd9ea;border-radius:18px;background:#fff}
.national-shipping-stage h2{margin:8px 0;color:var(--navy)}
.national-shipping-stage p{color:var(--muted);line-height:1.55}
.national-shipping-stage>div{padding:15px;display:grid;gap:4px;border-radius:13px;background:var(--ice);color:var(--navy)}
.national-shipping-stage small{color:var(--muted);line-height:1.4}

@media(max-width:900px){
  .progressive-order-flow .order-layout{display:block}
  .progressive-order-flow .order-sidebar{display:none}
  .progressive-order-flow .order-content{width:min(100%,720px);margin:0 auto;padding:12px}
  .progressive-order-flow .site-header{position:sticky;top:0;z-index:50}
  .progressive-stage-header{top:0;margin-bottom:12px}
  .progressive-order-flow .product-select-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;overflow:visible!important}
  .progressive-order-flow .product-select-card{min-width:0!important}
  .progressive-order-flow .material-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .progressive-order-flow .published-shape-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .progressive-order-flow .exact-template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:600px){
  .progressive-stage-header{border-radius:11px;padding:7px 8px;gap:7px}
  .progressive-stage-header button{min-height:34px;padding:6px 9px;font-size:11px}
  .progressive-stage-header span{font-size:13px}.progressive-stage-header small{font-size:9px}
  .progressive-stage-footer{bottom:6px;margin-top:12px;padding:7px}
  .progressive-stage-footer .btn{min-height:42px;padding:9px 13px;font-size:12px}
  .progressive-order-flow .shipping-first-card,#customer-access-choice{padding:13px}
  .progressive-order-flow .shipping-first-card h2,#customer-access-choice h2{font-size:25px;line-height:1.05}
  .progressive-order-flow .choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .progressive-order-flow .choice-card{min-height:132px;padding:10px}
  .progressive-order-flow .product-summary-card{padding:10px}.progressive-order-flow .product-summary-card img{width:62px;height:62px}
  .progressive-order-flow .section-title{margin:8px 0;font-size:22px!important;line-height:1.08}
  .progressive-order-flow .template-section-help{font-size:12px}
  .progressive-order-flow .fulfillment-card{padding:13px}
  .progressive-order-flow .fulfillment-card h3{font-size:22px}
  .progressive-order-flow .fulfillment-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .progressive-order-flow .fulfillment-options label{min-height:112px;padding:10px;align-items:flex-start}
  .progressive-order-flow .fulfillment-options label small{font-size:9px;line-height:1.25}
  .progressive-order-flow .field-grid{grid-template-columns:1fr}
  .progressive-order-flow .form-card{padding:14px}
  .progressive-order-flow .order-date-card{padding:15px}.progressive-order-flow .order-date-card h3{font-size:24px}
}

/* Selección visual publicada desde Matriz: producto -> material -> forma -> medida */
.awaiting-product #standard-product-config{display:none}
.material-picker{align-items:stretch;grid-template-columns:1fr}
.material-picker-heading h3{margin:0 0 4px;color:var(--navy)}
.material-picker-heading p{margin:0;color:var(--muted);font-size:12px}
.material-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}
.material-card{min-width:0;padding:9px;display:flex;gap:10px;align-items:center;text-align:left;border:2px solid var(--line);border-radius:14px;background:#fff;color:var(--navy)}
.material-card.selected{border-color:var(--blue);box-shadow:0 0 0 3px var(--ice);background:#f7fbff}
.material-card img{width:72px;height:72px;display:block;object-fit:cover;border-radius:10px;background:#eef3f9}
.material-card span,.material-card strong,.material-card small{display:block;min-width:0}
.material-card small{margin-top:4px;padding:0;color:var(--muted);font-size:10px;line-height:1.3}
#material-select{display:none!important}
.mobile-product-finalize{display:grid;gap:12px}
.approval-base-confirmed{padding:13px;border:1px solid #b9d1f6;border-radius:12px;background:#f2f7ff;color:var(--navy)}

@media(max-width:600px){
  .product-picker-section{overflow:visible}
  .product-select-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;padding:3px 0 12px!important;overflow:visible!important;scroll-snap-type:none!important}
  .product-select-card{width:auto!important;min-width:0!important;min-height:132px!important;padding:6px!important;gap:5px!important;scroll-snap-align:none!important}
  .product-select-card img{height:68px!important;border-radius:9px!important}
  .product-select-card strong{font-size:12px!important;line-height:1.12!important}
  .product-select-card small{font-size:8px!important;line-height:1.18!important}
  .product-select-card .favorite-button{transform:scale(.78);transform-origin:top right}
  .material-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
  .material-card{min-height:132px;padding:6px;display:flex;flex-direction:column;align-items:stretch;gap:6px}
  .material-card img{width:100%;height:72px}
  .material-card strong{font-size:12px;line-height:1.12}
  .material-card small{display:none}
  .material-picker-heading{display:none}
  .material-picker>small{display:none}
  .mobile-choice-sheet .published-shape-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .mobile-choice-sheet .exact-template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mobile-choice-sheet .mobile-product-finalize{display:grid;gap:10px}
  .mobile-choice-sheet .quantity-row,.mobile-choice-sheet .price-preview{margin:0}
}
