/* Componentes reutilizables y espacios de imagen pendientes. */
.step-icon { width:38px; height:38px; position:relative; border:1px solid var(--electric); transform:rotate(45deg); margin:34px 0 24px; }
.step-icon::after { content:""; position:absolute; width:16px; height:16px; left:10px; top:10px; border:1px solid var(--electric); }
.hero-monogram { position:absolute; z-index:2; top:18%; left:13%; width:64%; height:64%; display:flex; flex-direction:column; justify-content:center; align-items:center; gap:13px; background:var(--paper); border:3px solid var(--ink); box-shadow:13px 13px 0 var(--ink); transform:rotate(-7deg); }
.hero-monogram strong { font:clamp(76px,12vw,150px)/.78 var(--display); letter-spacing:-.12em; color:var(--electric); }
.hero-monogram span { font:10px/1.6 var(--mono); letter-spacing:.2em; text-align:center; }
.custom-spark { width:92px; height:92px; right:2%; bottom:4%; border:2px solid var(--ice); transform:rotate(45deg); }
.custom-spark::before { content:""; position:absolute; inset:18px; border:1px solid var(--ice); }

.product-card:focus-visible { outline:2px solid var(--electric); outline-offset:5px; }
.product-placeholder,
.detail-placeholder,
.feature-placeholder,
.admin-product-placeholder {
  position:relative; display:flex; overflow:hidden; align-items:center; justify-content:center;
  color:var(--ink); background:#dceaf3; border:1px solid var(--ink); isolation:isolate;
}
.product-placeholder::before,
.detail-placeholder::before,
.feature-placeholder::before {
  content:""; position:absolute; width:72%; aspect-ratio:1; border:1px solid rgba(16,37,58,.22);
  transform:rotate(45deg); z-index:0; pointer-events:none;
}
.product-placeholder::after,
.detail-placeholder::after,
.feature-placeholder::after {
  content:""; position:absolute; width:48%; aspect-ratio:1; background:var(--ice); border:1px solid var(--ink);
  transform:rotate(45deg) translate(8%,8%); z-index:0; pointer-events:none;
}
.cart-line .admin-product-placeholder { width:82px; height:92px; }
.product-placeholder > *, .detail-placeholder > *, .feature-placeholder > * { position:relative; z-index:1; }
.product-placeholder { width:100%; height:100%; min-height:240px; flex-direction:column; gap:9px; }
.product-placeholder strong,.detail-placeholder strong,.feature-placeholder strong { font:clamp(34px,6vw,74px)/.9 var(--display); letter-spacing:-.09em; }
.product-placeholder small,.detail-placeholder small,.feature-placeholder small { font:9px var(--mono); letter-spacing:.12em; text-align:center; }
.product-placeholder span { position:absolute; left:12px; bottom:12px; font:9px var(--mono); letter-spacing:.12em; }
.detail-placeholder { min-height:340px; aspect-ratio:1/1; flex-direction:column; gap:12px; }
.feature-placeholder { height:100%; min-height:300px; flex-direction:column; gap:12px; }
.admin-product-placeholder { width:40px; height:40px; flex:0 0 40px; font:11px var(--display); background:#dceaf3; }
/* Cuenta independiente: pantalla privada, sencilla y coherente con la tienda. */
.account-page-body { min-height:100vh; background:var(--paper); }
.account-page-header { min-height:78px; padding:15px 4.2%; display:flex; justify-content:space-between; align-items:center; gap:20px; border-bottom:1px solid var(--line); background:var(--paper); }
.account-page-header img { display:block; width:min(170px,42vw); }
.account-page-header nav { display:flex; gap:10px; flex-wrap:wrap; }
.account-page-main { width:min(1040px,91.6%); margin:60px auto 90px; }
.account-page-intro { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; border-bottom:2px solid var(--ink); padding-bottom:24px; margin-bottom:28px; }
.account-page-intro h1 { margin:0; font:clamp(42px,7vw,88px)/.9 var(--display); letter-spacing:-.07em; text-transform:uppercase; overflow-wrap:anywhere; }
.account-page-intro p { max-width:300px; margin:0; font-size:13px; line-height:1.7; }
.account-role { display:inline-flex; border:1px solid var(--ink); padding:7px 10px; font:9px var(--mono); letter-spacing:.1em; margin:0 0 15px; }
.account-actions { display:flex; gap:10px; flex-wrap:wrap; margin:26px 0 42px; }
.account-orders-head { display:flex; align-items:end; justify-content:space-between; gap:18px; margin-bottom:15px; }
.account-orders-head h2 { margin:0; font:clamp(27px,4vw,42px)/1 var(--display); letter-spacing:-.05em; }
.account-orders { display:grid; gap:12px; }
.account-order { border:1px solid var(--ink); background:#fff; padding:20px; box-shadow:5px 5px 0 var(--ice); }
.account-order-top { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; padding-bottom:12px; border-bottom:1px solid var(--line); }
.account-order-top strong { font:15px var(--mono); }
.account-order-meta { display:flex; gap:16px; flex-wrap:wrap; margin:12px 0; color:#60768a; font:10px var(--mono); }
.account-order-items { margin:0; padding-left:18px; font-size:13px; line-height:1.8; }
.account-empty,.account-error { border:1px dashed #92adbf; padding:24px; background:#fff; font-size:13px; line-height:1.7; }
.account-error { border-color:#9b4545; color:#853636; }
.account-page-footer { border-top:1px solid var(--line); padding:20px 4.2%; font:9px var(--mono); letter-spacing:.1em; }
.account-admin-entry { display:flex; align-items:center; justify-content:space-between; gap:20px; border:1px solid var(--ink); background:var(--ice); padding:24px; margin:0 0 32px; box-shadow:6px 6px 0 var(--electric); }
.account-admin-entry h2 { margin:0 0 7px; font:clamp(21px,3vw,30px) var(--display); }
.account-admin-entry p { margin:0; font-size:12px; line-height:1.6; max-width:530px; }
.account-admin-entry[hidden] { display:none; }
@media(max-width:650px) {
  .account-page-main { margin:35px auto 55px; }
  .account-page-intro { display:block; }
  .account-page-intro p { margin-top:18px; }
  .account-admin-entry { display:block; }
  .account-admin-entry .btn { margin-top:18px; width:100%; }
  .account-order { padding:15px; }
}

/* Motivo gráfico con el favicon real; se evita el monograma numérico. */
.step-icon { width:54px; height:54px; border:0; transform:none; margin:26px 0 20px; display:grid; place-items:center; }
.step-icon::after { display:none; }
.step-icon img { width:100%; height:100%; object-fit:contain; }
.hero-monogram,.hero-sticker,.vertical-note,.hero-index,.custom-no { display:none !important; }
.product-placeholder::before,.detail-placeholder::before,.feature-placeholder::before { width:78%; border:0; background:rgba(255,255,255,.35); }
.product-placeholder::after,.detail-placeholder::after,.feature-placeholder::after { width:55%; opacity:.35; }
.product-placeholder img { width:88px; height:88px; object-fit:contain; }
.detail-placeholder img { width:126px; height:126px; object-fit:contain; }
.feature-placeholder img { width:clamp(120px,18vw,190px); height:auto; object-fit:contain; }
.product-placeholder small,.detail-placeholder small,.feature-placeholder small { font:600 12px/1.6 var(--mono); letter-spacing:.07em; }
.product-placeholder span { display:none; }
.admin-product-placeholder img { width:100%; height:100%; object-fit:contain; }
.cart-line .admin-product-placeholder { border:0; }
.account-page-header .mini-btn { min-height:48px; padding:12px 17px; display:inline-flex; align-items:center; justify-content:center; font-size:12px; font-weight:800; }
.account-page-header #logoutBtn { color:#fff; background:#a63333; border-color:#a63333; }
.account-page-header #logoutBtn:hover { background:#7e2222; }
.account-admin-entry .btn { min-width:220px; justify-content:center; }
.legal-consent { display:flex !important; align-items:flex-start; gap:12px; padding:14px; border:1px solid var(--line); background:#fff; font:14px/1.6 var(--body) !important; }
.legal-consent input { width:22px !important; height:22px; min-height:22px !important; flex:0 0 22px; margin-top:2px; accent-color:var(--electric); }
.legal-consent a { text-decoration:underline; font-weight:800; color:var(--electric); }
.order-success-emblem img { width:82px; height:82px; object-fit:contain; }
.legal-page { background:var(--paper); min-height:100vh; }
.legal-header { min-height:84px; padding:14px 4.2%; display:flex; align-items:center; justify-content:space-between; gap:20px; border-bottom:1px solid var(--line); }
.legal-header img { display:block; width:min(170px,42vw); }
.legal-content { width:min(900px,90%); margin:54px auto 76px; }
.legal-content>h1 { margin:0; font:clamp(48px,8vw,92px)/.98 var(--display); letter-spacing:-.045em; }
.legal-updated { font:12px var(--mono); color:#536d80; margin:18px 0 32px; }
.legal-draft-alert { padding:16px 18px; margin:20px 0 30px; background:#fff0ce; border:2px solid #8a5d14; color:#513b16; font-size:15px; line-height:1.65; font-weight:700; }
.legal-draft-alert[hidden] { display:none; }
.legal-content section { padding:25px 0; border-top:1px solid var(--line); }
.legal-content section h2 { font:clamp(22px,3vw,30px)/1.2 var(--display); letter-spacing:-.025em; margin:0 0 14px; }
.legal-content section p,.legal-details { font-size:16px; line-height:1.8; color:#344e63; }
.legal-content section p+p { margin-top:13px; }
.legal-content a { color:#155987; text-decoration:underline; text-underline-offset:3px; }
.legal-details { display:grid; grid-template-columns:minmax(160px,.7fr) 1.3fr; gap:8px 18px; }
.legal-details dt { font-weight:800; }
.legal-details dd { margin:0; overflow-wrap:anywhere; }
.legal-end-mark { display:flex; justify-content:center; padding:25px 0; }
.legal-end-mark img { width:65px; height:65px; object-fit:contain; }
.legal-footer { border-top:1px solid var(--line); padding:20px 4.2%; display:flex; justify-content:space-between; gap:15px; font-size:14px; font-weight:700; }
@media(max-width:600px) {
  .legal-header { padding-inline:5%; }
  .legal-header .btn { min-height:44px; padding-inline:13px; font-size:11px; }
  .legal-content { margin:36px auto 50px; }
  .legal-details { grid-template-columns:1fr; gap:2px; }
  .legal-details dd { margin-bottom:10px; }
  .legal-content section p,.legal-details { font-size:15px; }
}

/* Carga de diseños PDF y presupuesto inmediato para clientes. */
.design-upload-panel { margin:22px 0 18px; padding:18px; border:1px solid var(--ink); background:#e6f0f7; }
.design-upload-panel .field-label { margin-top:14px; font-size:14px; line-height:1.45; }
.design-upload-panel .field-label:first-child { margin-top:0; }
.design-upload-panel .file-input { width:100%; max-width:100%; padding:14px; border:1px dashed #607f98; background:rgba(255,255,255,.68); font-size:16px; min-height:52px; }
.design-upload-help { margin:10px 0; color:#40586d; font-size:14px; line-height:1.7; }
.design-status { margin:12px 0; padding:13px 14px; background:rgba(255,255,255,.78); border-left:3px solid var(--electric); font-size:15px; line-height:1.55; overflow-wrap:anywhere; }
.design-unavailable { margin:12px 0 0; color:#7b3636; font-size:14px; line-height:1.65; }
.design-upload-panel .select-input { min-height:50px; font-size:16px; }
.design-quote { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:14px; }
.design-quote > div { display:flex; flex-direction:column; gap:6px; padding:12px; background:#fff; border:1px solid rgba(16,37,58,.15); }
.design-quote > div span { color:#53697d; font:12px var(--mono); letter-spacing:.05em; line-height:1.5; }
.design-quote > div strong { font-size:17px; line-height:1.4; overflow-wrap:anywhere; }
.design-quote .design-quote-total { grid-column:1/-1; background:var(--ink); color:#fff; border-color:var(--ink); }
.design-quote .design-quote-total span { color:var(--ice); }
.design-quote .design-quote-total strong { font:clamp(22px,4vw,30px) var(--display); }
.design-quote > small { grid-column:1/-1; color:#40586d; font-size:13px; line-height:1.65; }
.cart-design-meta { color:var(--electric) !important; font-weight:700; }
