
.store{--primary:#1748a0;--accent:#e9f0fc;--ink:#18263d;--surface:#fff;--store-bg:#f5f7fb;background:var(--store-bg);color:var(--ink)}
.store .button.primary,.store .count,.store .floating-cart{background:var(--primary);border-color:var(--primary);color:white}.store .brand,.store .eyebrow,.store .preview-price,.store .product-bottom>strong{color:var(--primary)}.store .store-intro,.store .intro-mark{background:var(--accent);color:var(--ink)}.store .product-card,.store .store-header,.store .catalog-toolbar{background:var(--surface)}
.store .brand img{width:70px;height:70px;object-fit:contain}.store .brand>span{font-size:34px}.store .brand-sub{font-size:14px;letter-spacing:.25em}
.store .custom-hero{display:grid;grid-template-columns:1.2fr 1fr;gap:24px;align-items:center}.store .hero-photo{width:100%;max-height:340px;object-fit:contain;border-radius:16px}.store .custom-hero h1,.store .custom-hero p{white-space:pre-line}
.store-banner{margin:20px 0;border-radius:16px;overflow:hidden;background:var(--surface)}.store-banner img,.store-banner video{display:block;width:100%;max-height:380px;object-fit:contain}
.store-marquee{overflow:hidden;background:var(--primary);color:white;padding:10px 0;white-space:nowrap;border-radius:8px;margin:14px 0}.store-marquee>div{display:flex;width:max-content;animation:verest-scroll linear infinite}.store-marquee span{padding:0 40px;min-width:60vw}.marquee-right>div{animation-direction:reverse}.marquee-paused>div,.store-marquee:hover>div{animation-play-state:paused}@keyframes verest-scroll{to{transform:translateX(-50%)}}
.floating-cart,.floating-chat{position:fixed;bottom:22px;z-index:30;border-radius:28px;padding:14px 20px;box-shadow:0 5px 24px #14274a33;font-weight:700}.floating-cart{right:20px}.floating-chat{left:20px;background:var(--primary);color:white;border:0}.store-footer{padding-bottom:100px}
.offer-price{color:#b72744!important;font-weight:800}.old-price{color:#69788e;font-size:13px;text-decoration:line-through}.offer-badge{display:inline-block;background:#ffe7ec;color:#a41a3d;padding:3px 7px;border-radius:5px;font-size:12px;font-weight:800}
.design-preview{border:1px solid #dbe3ef;border-radius:16px;padding:16px;max-width:680px;margin:20px auto;overflow:hidden}.design-preview.preview-mobile{max-width:390px}.design-preview .store-intro{padding:20px}.design-preview h1{font-size:28px}.design-preview .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.design-preview .intro-mark{min-height:100px}.design-preview.preview-mobile .store-intro{grid-template-columns:1fr}.design-preview .hero-photo{max-height:200px}
.theme-boutique .product-card{border-radius:28px;box-shadow:0 6px 20px #16243a12}.theme-boutique .store-intro{border-radius:40px}.theme-boutique .product-grid{gap:28px}
.theme-editorial .custom-hero{border-radius:0;border-bottom:5px solid var(--primary)}.theme-editorial h1,.theme-editorial h3{font-family:Georgia,serif}.theme-editorial .product-card{border-radius:0;border:0;border-bottom:2px solid var(--primary)}
.theme-minimal .store-intro{background:transparent;border-bottom:1px solid #ccd4df;border-radius:0}.theme-minimal .intro-mark{display:none}.theme-minimal .custom-hero{grid-template-columns:1fr}.theme-minimal .product-card{border:0;box-shadow:none;border-radius:0}.theme-minimal .product-grid{gap:32px}
.theme-tarjetas .product-card{border:2px solid var(--primary);box-shadow:5px 5px 0 var(--accent)}.theme-tarjetas .store-intro{border:2px solid var(--primary);border-radius:12px}
.theme-escaparate .custom-hero{grid-template-columns:1fr;text-align:center}.theme-escaparate .intro-mark{display:none}.theme-escaparate .hero-photo{max-height:440px}.theme-escaparate .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.theme-escaparate .product-info{text-align:center}
.theme-suave .product-card{border:0;border-radius:32px;background:var(--accent)}.theme-suave .product-image{border-radius:50%;margin:12px}.theme-suave .store-intro{border-radius:60px 12px}
.theme-geometrico .product-card{border-radius:0 24px 0 24px;border:2px solid var(--primary)}.theme-geometrico .store-intro{border-radius:0 70px 0 70px}.theme-geometrico .button{border-radius:0 12px}
.theme-compacto .product-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.theme-compacto .product-info{padding:12px}.theme-compacto .store-intro{padding:24px}.theme-compacto h1{font-size:34px}
.theme-elegante h1,.theme-elegante .brand{font-family:Georgia,serif}.theme-elegante .product-card{border-radius:4px;border:1px solid var(--primary)}.theme-elegante .product-info{padding:24px}.theme-elegante .store-intro{border-radius:4px;border-top:4px double var(--primary);border-bottom:4px double var(--primary)}
.chat-log{max-height:42vh;overflow-y:auto;display:flex;flex-direction:column;gap:10px;padding:12px;background:#f4f6fb;border-radius:10px}.chat-message{padding:10px;border-radius:10px;background:white;white-space:pre-wrap;overflow-wrap:anywhere}.chat-message.staff{background:#e5efff}.chat-message small{display:block;color:#5e6c82;font-size:11px}.chat-form textarea{min-height:65px}.chat-panel{max-width:520px;width:calc(100vw - 32px)}.chat-state{font-weight:700;padding:10px 0}.delivery-panel{background:#edf4ff;border-radius:12px;padding:16px;margin:20px 0}.delivery-panel label{display:block}.delivery-panel .button{margin-top:10px}
@media(max-width:700px){.store .brand img{width:56px;height:56px}.store .brand>span{font-size:27px}.store .brand-sub{font-size:12px}.store .store-tag{display:none}.store .store-header{gap:8px;padding:10px 12px}.store .store-header>.button{padding:10px;font-size:12px}.store .custom-hero{grid-template-columns:1fr;padding:24px}.store .custom-hero h1{font-size:32px}.store .hero-photo{max-height:270px}.store-banner{margin:12px 0;border-radius:10px}.store-banner img,.store-banner video{max-height:260px}.theme-compacto .product-grid,.theme-escaparate .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.floating-cart,.floating-chat{bottom:max(16px,env(safe-area-inset-bottom));padding:12px 15px;font-size:13px}.floating-cart{right:12px}.floating-chat{left:12px}.design-preview{padding:10px}}
@media(prefers-reduced-motion:reduce){.store-marquee>div{animation:none}}
.palette-azul{--primary:#1748a0;--accent:#e9f0fc;--ink:#18263d;--surface:#fff;--store-bg:#f5f7fb}
.palette-rosa{--primary:#a62c64;--accent:#fce8f1;--ink:#442039;--surface:#fff;--store-bg:#fff8fc}
.palette-lavanda{--primary:#6445a0;--accent:#eee7fb;--ink:#302444;--surface:#fff;--store-bg:#faf7ff}
.palette-menta{--primary:#156d61;--accent:#dcf4ed;--ink:#163e38;--surface:#fff;--store-bg:#f4fcf8}
.palette-coral{--primary:#b64030;--accent:#ffebe3;--ink:#4a2620;--surface:#fff;--store-bg:#fff8f3}
.palette-arena{--primary:#7b5b2f;--accent:#f3e9d6;--ink:#403525;--surface:#fffdf8;--store-bg:#faf6ed}
.palette-noche{--primary:#738dff;--accent:#26334c;--ink:#ecf1ff;--surface:#172238;--store-bg:#10192a}
.palette-bosque{--primary:#376137;--accent:#e4eedc;--ink:#263b25;--surface:#fff;--store-bg:#f5f8f0}
.palette-cereza{--primary:#922c43;--accent:#f9e4e8;--ink:#482431;--surface:#fff;--store-bg:#fff7f9}
.palette-cobre{--primary:#92512c;--accent:#f4e7da;--ink:#442d23;--surface:#fffaf4;--store-bg:#fbf3eb}
.marquee-speed-5>div{animation-duration:5s}
.marquee-speed-6>div{animation-duration:6s}
.marquee-speed-7>div{animation-duration:7s}
.marquee-speed-8>div{animation-duration:8s}
.marquee-speed-9>div{animation-duration:9s}
.marquee-speed-10>div{animation-duration:10s}
.marquee-speed-11>div{animation-duration:11s}
.marquee-speed-12>div{animation-duration:12s}
.marquee-speed-13>div{animation-duration:13s}
.marquee-speed-14>div{animation-duration:14s}
.marquee-speed-15>div{animation-duration:15s}
.marquee-speed-16>div{animation-duration:16s}
.marquee-speed-17>div{animation-duration:17s}
.marquee-speed-18>div{animation-duration:18s}
.marquee-speed-19>div{animation-duration:19s}
.marquee-speed-20>div{animation-duration:20s}
.marquee-speed-21>div{animation-duration:21s}
.marquee-speed-22>div{animation-duration:22s}
.marquee-speed-23>div{animation-duration:23s}
.marquee-speed-24>div{animation-duration:24s}
.marquee-speed-25>div{animation-duration:25s}
.marquee-speed-26>div{animation-duration:26s}
.marquee-speed-27>div{animation-duration:27s}
.marquee-speed-28>div{animation-duration:28s}
.marquee-speed-29>div{animation-duration:29s}
.marquee-speed-30>div{animation-duration:30s}
.marquee-speed-31>div{animation-duration:31s}
.marquee-speed-32>div{animation-duration:32s}
.marquee-speed-33>div{animation-duration:33s}
.marquee-speed-34>div{animation-duration:34s}
.marquee-speed-35>div{animation-duration:35s}
.marquee-speed-36>div{animation-duration:36s}
.marquee-speed-37>div{animation-duration:37s}
.marquee-speed-38>div{animation-duration:38s}
.marquee-speed-39>div{animation-duration:39s}
.marquee-speed-40>div{animation-duration:40s}
.marquee-speed-41>div{animation-duration:41s}
.marquee-speed-42>div{animation-duration:42s}
.marquee-speed-43>div{animation-duration:43s}
.marquee-speed-44>div{animation-duration:44s}
.marquee-speed-45>div{animation-duration:45s}
.marquee-speed-46>div{animation-duration:46s}
.marquee-speed-47>div{animation-duration:47s}
.marquee-speed-48>div{animation-duration:48s}
.marquee-speed-49>div{animation-duration:49s}
.marquee-speed-50>div{animation-duration:50s}
.marquee-speed-51>div{animation-duration:51s}
.marquee-speed-52>div{animation-duration:52s}
.marquee-speed-53>div{animation-duration:53s}
.marquee-speed-54>div{animation-duration:54s}
.marquee-speed-55>div{animation-duration:55s}
.marquee-speed-56>div{animation-duration:56s}
.marquee-speed-57>div{animation-duration:57s}
.marquee-speed-58>div{animation-duration:58s}
.marquee-speed-59>div{animation-duration:59s}
.marquee-speed-60>div{animation-duration:60s}
.marquee-size-12{font-size:12px}
.marquee-size-13{font-size:13px}
.marquee-size-14{font-size:14px}
.marquee-size-15{font-size:15px}
.marquee-size-16{font-size:16px}
.marquee-size-17{font-size:17px}
.marquee-size-18{font-size:18px}
.marquee-size-19{font-size:19px}
.marquee-size-20{font-size:20px}
.marquee-size-21{font-size:21px}
.marquee-size-22{font-size:22px}
.marquee-size-23{font-size:23px}
.marquee-size-24{font-size:24px}
.marquee-size-25{font-size:25px}
.marquee-size-26{font-size:26px}
.marquee-size-27{font-size:27px}
.marquee-size-28{font-size:28px}
.marquee-size-29{font-size:29px}
.marquee-size-30{font-size:30px}
.marquee-size-31{font-size:31px}
.marquee-size-32{font-size:32px}

.palette-noche .product-info h3,.palette-noche .store-footer,.palette-noche .catalog-toolbar h2{color:var(--ink)}.palette-noche .product-info{color:var(--ink)}

.admin .sidebar{overflow-y:auto}.design-editor{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.9fr);gap:18px;align-items:start}.design-preview-panel{grid-column:2;grid-row:1 / span 2;position:sticky;top:95px;max-height:calc(100vh - 115px);overflow-y:auto}.design-editor>section{min-width:0}.design-preview .product-image{position:relative;aspect-ratio:1}.design-preview .product-image>img{width:100%;height:100%;object-fit:contain}
@media(max-width:1100px){.design-editor{grid-template-columns:1fr}.design-preview-panel{grid-column:auto;grid-row:auto;position:static;max-height:none}}

.store .hero-image-only{grid-template-columns:1fr;padding:12px}.store .hero-image-only .hero-photo{max-height:480px;border-radius:12px}

/* Editor visual y comercio 1.5 */
.visual-hero{margin:20px 0;border-radius:16px;overflow:hidden}.hero-canvas{display:block;width:100%;height:auto}.canvas-stage{width:100%;aspect-ratio:1000/520;border:1px solid #b9c8de;background:#f4f7fc;border-radius:12px;overflow:hidden;touch-action:none}.canvas-stage .hero-canvas{user-select:none}.canvas-stage [data-canvas-element]{cursor:move}.canvas-stage [data-canvas-resize]{cursor:nwse-resize}.canvas-stage [data-canvas-element]:focus{outline:none}.canvas-stage [data-canvas-element]:focus>rect{stroke:#2563eb}.hero-full-preview{display:block;width:100%;height:100%;object-fit:contain}.canvas-workbench{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:20px;align-items:start;margin:18px 0}.canvas-inspector{padding:16px;background:#f1f5fc;border-radius:12px}.canvas-inspector .form-grid{gap:10px}.canvas-tools,.canvas-layers{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.designer-top{display:flex;align-items:center;justify-content:space-between;gap:16px}.designer-top>div{flex:1}.hero-upload-zone{padding:16px;background:#f6f8fc;border:1px dashed #bdcde2;border-radius:12px;margin:16px 0}.palette-picker{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:16px 0}.palette-choice{display:flex!important;flex-direction:column;gap:8px;position:relative;border:2px solid #e0e6ef;border-radius:12px;padding:12px;background:white;cursor:pointer}.palette-choice:has(input:checked){border-color:#1748a0;box-shadow:0 0 0 2px #1748a020}.palette-choice input{align-self:flex-start;min-height:18px!important;width:18px!important}.palette-swatches{display:flex;border-radius:6px;overflow:hidden;height:24px;min-width:60px}.palette-swatches i{flex:1}.palette-swatches i:nth-child(1){background:var(--primary)}.palette-swatches i:nth-child(2){background:var(--accent)}.palette-swatches i:nth-child(3){background:var(--ink)}.palette-swatches i:nth-child(4){background:var(--store-bg)}.payment-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.payment-toggle{display:flex!important;align-items:center;gap:10px;flex-wrap:wrap}.payment-toggle input{width:20px!important;min-height:20px!important}.payment-toggle span{font-size:12px;color:#617188}.commerce-heading{margin-top:28px}.payment-instructions,.shipping-checkout{background:#edf4ff;border-radius:12px;padding:16px;margin:18px 0;overflow-wrap:anywhere}.payment-instructions p{margin-bottom:8px;white-space:pre-wrap}.customer-history{padding:14px;border:1px solid #dae3f0;border-radius:10px;margin:10px 0}.customer-history summary{cursor:pointer}.customer-history>div{padding-top:10px}.customer-code{padding:10px;background:#e9f4ee;border-radius:8px}
#visual-design-form>section{margin-bottom:20px}.canvas-stage.image-only-stage{min-height:200px}.canvas-stage .empty{padding:25px}.canvas-inspector input[type=color]{width:100%;height:42px}.canvas-inspector textarea{white-space:pre-wrap}.canvas-stage:focus-within{box-shadow:0 0 0 2px #9ac0ff}
@media(max-width:1000px){.canvas-workbench{grid-template-columns:1fr}.canvas-inspector{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.canvas-inspector>h3,.canvas-inspector>p,.canvas-inspector>label:has(textarea){grid-column:1/-1}.palette-picker{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.payment-cards{grid-template-columns:1fr}.designer-top{align-items:stretch;flex-direction:column}.palette-picker{grid-template-columns:repeat(2,minmax(0,1fr))}.canvas-tools .button{flex:1}.visual-hero{border-radius:10px}.canvas-inspector{grid-template-columns:1fr}.canvas-workbench{gap:12px}.palette-choice{padding:10px}.hero-upload-zone{padding:12px}}

.activity-description{min-width:260px;max-width:520px;white-space:normal}.activity-description details{margin-top:10px}.activity-description summary{cursor:pointer;color:#1748a0}.activity-change{padding:10px;margin:8px 0;background:#f1f5fb;border-radius:8px;overflow-wrap:anywhere}.activity-change p{margin:4px 0;white-space:pre-wrap}.activity-change span{font-weight:600}
