.block-tools {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 12px 0;
}
.block-tools button {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fafafa;
  padding: 8px 3px;
  display: grid;
  gap: 3px;
  color: #6b6c72;
  font-size: 9px;
}
.block-tools button:hover { border-color: #d1a33e; background: #fffdf7; color: #222; }
.block-tools b { font-size: 14px; color: #9a6c08; }
.canvas-element { container-type: size; }
.canvas-element.product-compacto,
.canvas-element.product-fila,
.canvas-element.product-fila_sin_imagen,
.canvas-element.product-solo_imagen { background: transparent; box-shadow: none; border-radius: 2px; }
.canvas-element.product-compacto img { height: 68%; object-fit: contain; }
.canvas-element.product-compacto .element-copy { text-align: center; padding: 3%; }
.canvas-element.product-compacto b { font-size: clamp(7px, 7cqh, 16px); white-space: normal; }
.canvas-element.product-compacto strong { font-size: clamp(8px, 8cqh, 18px); color: inherit; }
.canvas-element.product-fila { display: grid; grid-template-columns: 28% 1fr; align-items: center; }
.canvas-element.product-fila img { height: 100%; width: 100%; object-fit: contain; }
.canvas-element.product-fila .element-copy { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 5px; padding: 4%; }
.canvas-element.product-fila b { white-space: normal; font-size: clamp(7px, 16cqh, 18px); }
.canvas-element.product-fila strong { font-size: clamp(8px, 18cqh, 20px); color: inherit; }
.canvas-element.product-fila_sin_imagen { display: flex; align-items: center; }
.canvas-element.product-fila_sin_imagen img { display: none; }
.canvas-element.product-fila_sin_imagen .element-copy { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 3px 14px; padding: 2% 1%; border-bottom: 1px solid currentColor; }
.canvas-element.product-fila_sin_imagen b { white-space: normal; font-size: clamp(8px, 28cqh, 22px); }
.canvas-element.product-fila_sin_imagen strong { font-size: clamp(9px, 30cqh, 24px); color: inherit; white-space: nowrap; }
.canvas-element.product-fila .element-copy { border-bottom: 1px solid currentColor; }
.canvas-element.hide-line .element-copy { border-bottom-color: transparent; }
.canvas-element .product-description { display: block; grid-column: 1 / -1; color: var(--description-color, #fff); font-size: .58em; line-height: 1.25; font-weight: 650; white-space: normal; }
.canvas-element.hide-description .product-description { display: none; }
.canvas-element.hide-image { display: flex; align-items: stretch; }
.canvas-element.hide-image > img { display: none; }
.canvas-element.hide-image .element-copy { width: 100%; min-width: 0; padding: 5% 6%; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr; align-content: center; align-items: center; gap: 3% 5%; overflow: hidden; }
.canvas-element.hide-image .element-copy b { min-width: 0; font-size: clamp(8px, 14cqh, 24px); line-height: 1.02; white-space: normal; overflow-wrap: anywhere; }
.canvas-element.hide-image .element-copy strong { font-size: clamp(9px, 16cqh, 28px); line-height: 1; white-space: nowrap; }
.canvas-element.hide-image .product-description { grid-column: 1 / -1; min-width: 0; max-height: 100%; overflow: hidden; font-size: clamp(6px, 7cqh, 14px); line-height: 1.12; }
.canvas-element.hide-image.hide-description .element-copy { grid-template-rows: 1fr; }
.canvas-element.product-compacto .product-description { margin-top: 2px; }
.product-options { display: grid; gap: 9px; padding: 2px 0 15px; }
.copy-style-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-bottom: 8px; }
.copy-style-actions .button { padding: 9px 7px; font-size: 10px; }
.copy-style-actions .button:disabled { cursor: not-allowed; opacity: .42; transform: none; }
.category-filter { margin: 10px 0 2px; }
.catalog-category-filter { border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 9px 11px; color: #555; font-size: 11px; }
.canvas-element.product-solo_imagen img { height: 100%; object-fit: contain; }
.canvas-element.product-solo_imagen .element-copy { display: none; }
.canvas-element.text-block { display: flex; align-items: center; background: transparent; box-shadow: none; border-radius: 0; overflow: visible; }
.canvas-element.text-block .text-content { width: 100%; white-space: pre-wrap; line-height: 1.08; font-weight: 500; }
.canvas-element.title-block .text-content { font-weight: 900; letter-spacing: -.03em; }
.canvas-element.image-block { background: transparent; box-shadow: none; border-radius: 0; }
.canvas-element.image-block > img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.canvas-element.carousel-block { background: transparent; box-shadow: none; overflow: hidden; }
.carousel-slide { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; object-fit: cover; pointer-events: none; }
.carousel-slide.active { opacity: 1; }
.carousel-block.effect-fade .carousel-slide.active { animation: carouselFade .7s ease both; }
.carousel-block.effect-slide_left .carousel-slide.active { animation: carouselSlideLeft .7s ease both; }
.carousel-block.effect-slide_right .carousel-slide.active { animation: carouselSlideRight .7s ease both; }
.carousel-block.effect-zoom .carousel-slide.active { animation: carouselZoom .9s ease both; }
@keyframes carouselFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes carouselSlideLeft { from { opacity: 1; transform: translateX(100%); } to { opacity: 1; transform: translateX(0); } }
@keyframes carouselSlideRight { from { opacity: 1; transform: translateX(-100%); } to { opacity: 1; transform: translateX(0); } }
@keyframes carouselZoom { from { opacity: 0; transform: scale(1.16); } to { opacity: 1; transform: scale(1); } }
.canvas-element.video-playlist-block { background: transparent; box-shadow: none; overflow: hidden; }
.playlist-video { display: block; width: 100%; height: 100%; opacity: 1; pointer-events: none; background: transparent; }
.video-playlist-block.effect-fade .playlist-video { opacity: 0; transition: opacity .7s ease; }
.video-playlist-block.effect-fade .playlist-video.active { opacity: 1; }
.video-audio-option { margin: 2px 0 18px; }
.video-list-heading { display: flex; justify-content: space-between; align-items: center; margin: 0 0 8px; font-size: 11px; font-weight: 800; color: #55575e; }
.video-list-heading small { color: #92949a; font-weight: 600; }
.video-playlist-order { display: grid; gap: 6px; margin-bottom: 16px; max-height: 220px; overflow: auto; }
.video-order-item { display: grid; grid-template-columns: 24px minmax(0,1fr) auto; gap: 7px; align-items: center; padding: 7px; border: 1px solid var(--line); border-radius: 9px; background: #fafafa; }
.video-order-number { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: #ebe8e1; font-size: 10px; font-weight: 900; }
.video-order-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; color: #50525a; }
.video-order-actions { display: flex; gap: 3px; }
.video-order-actions button { width: 24px; height: 24px; padding: 0; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: #4d4f55; }
.video-order-actions button:last-child { color: var(--danger); }
.video-order-actions button:disabled { opacity: .3; cursor: default; }
.add-playlist-videos { margin: 0 0 16px !important; }
.canvas-element .resize-handle { position: absolute; right: 0; bottom: 0; width: 14px; height: 14px; background: var(--accent); border-radius: 8px 0 0 0; opacity: 0; }
.product-shadow-option{margin:0 0 14px}.product-part-animations{display:grid;gap:8px;margin:0 0 16px;padding:11px;border:1px solid #e2e8ec;border-radius:11px;background:#f8fafb}.product-part-animations>span{color:#dd4a34;font-size:7px;font-weight:900;letter-spacing:.13em}.product-part-animations .field{margin:0}.canvas-element.product-photo-shadow img{filter:drop-shadow(0 8px 8px rgba(0,0,0,.28))}.editor-part:not(.editor-part-none){animation:.55s cubic-bezier(.2,.85,.25,1) both}.editor-part-fade{animation-name:editorPartFade!important}.editor-part-fade_up{animation-name:editorPartUp!important}.editor-part-slide_left{animation-name:editorPartLeft!important}.editor-part-slide_right{animation-name:editorPartRight!important}.editor-part-pop{animation-name:editorPartPop!important}.element-copy .editor-part:nth-child(2){animation-delay:.1s}.element-copy .editor-part:nth-child(3){animation-delay:.2s}@keyframes editorPartFade{from{opacity:0}to{opacity:1}}@keyframes editorPartUp{from{opacity:0;transform:translateY(35%)}to{opacity:1;transform:none}}@keyframes editorPartLeft{from{opacity:0;transform:translateX(-12%)}to{opacity:1;transform:none}}@keyframes editorPartRight{from{opacity:0;transform:translateX(12%)}to{opacity:1;transform:none}}@keyframes editorPartPop{from{opacity:0;transform:scale(.65)}72%{opacity:1;transform:scale(1.08)}to{opacity:1;transform:none}}
.canvas-element.selected .resize-handle { opacity: 1; }
.inspector-panel .button + .button { margin-top: 8px; }
.template-preview.pizzeria{position:relative;background:linear-gradient(155deg,#ffd600 0 62%,#ed0a74 62%);color:#111;overflow:hidden}.template-preview.pizzeria span{position:absolute;left:8px;right:8px;top:8px;font-size:10px;font-weight:950;text-transform:uppercase;line-height:1}.template-preview.pizzeria i{position:absolute;width:38px;height:38px;border-radius:50%;background:#fff;border:3px solid #111}.template-preview.pizzeria i:nth-of-type(1){left:9px;top:35px}.template-preview.pizzeria i:nth-of-type(2){left:47px;top:43px}.template-preview.pizzeria i:nth-of-type(3){right:8px;top:30px}.template-preview.pizzeria b{position:absolute;left:8px;right:8px;bottom:8px;padding:5px;background:#111;color:#fff;font-size:9px;text-align:center}.live-pizzeria{display:flex;flex-direction:column;padding:5%;background:linear-gradient(155deg,#ffd600 0 68%,#ed0a74 68%);color:#111}.live-pizzeria>strong{font-size:clamp(18px,3vw,42px);font-weight:950;text-transform:uppercase;line-height:.95}.live-pizzeria>section{display:grid;grid-template-columns:repeat(2,1fr);gap:3%;flex:1;margin:4% 0}.live-pizzeria article{display:grid;grid-template-rows:minmax(0,1fr) auto auto;padding:3%;overflow:hidden;border:2px solid #111;border-radius:14px;background:#fff;animation:templateCardExpand .75s both;animation-delay:calc(var(--live-index)*.1s)}.live-pizzeria article img{width:100%;height:100%;min-height:0;object-fit:contain}.live-pizzeria article>b{font-size:clamp(10px,1.3vw,18px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.live-pizzeria article small{font-size:9px;font-weight:900;color:#ed0a74}.live-pizzeria>em{align-self:flex-end;padding:2% 5%;background:#111;color:#fff;font-size:clamp(12px,1.5vw,22px);font-style:normal;font-weight:950}
