/* ==========================================================================



   ZAZZLE WEB CUSTOMIZER TOOL STYLESHEET



   Matches exact Zazzle Design Tool (zazzle.com/customizer)



   ========================================================================== */



@import url('zazzle_fonts.css');







* {



  box-sizing: border-box;



  margin: 0;



  padding: 0;



}







body.zcu-body {



  font-family: 'ProximaNova', 'Proxima Nova', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;



  -webkit-font-smoothing: antialiased;



  -moz-osx-font-smoothing: grayscale;



  letter-spacing: normal;



  line-height: 1.45;



  background-color: #f0f2f7;



  color: #1f2937;



  height: 100vh;



  width: 100vw;



  overflow: hidden;



  display: flex;



  flex-direction: column;



}







/* ==========================================================================



   1. TOP HEADER BAR (Exact Zazzle Spec: 52px height)



   ========================================================================== */



.zcu-header {



  height: 52px;



  background: #ffffff;



  border-bottom: 1px solid #e2e8f0;



  display: flex;



  align-items: center;



  justify-content: space-between;



  padding: 0 16px;



  z-index: 50;



  flex-shrink: 0;



}







.zcu-header-left {



  display: flex;



  align-items: center;



  gap: 16px;



}







.zcu-btn-exit {



  display: inline-flex;



  align-items: center;



  gap: 6px;



  color: #111827;



  text-decoration: none;



  font-size: 13px;



  font-weight: 700;



  padding: 6px 10px;



  border-radius: 6px;



  transition: background 0.15s;



}



.zcu-btn-exit:hover {



  background: #f1f5f9;



  color: #111827;



}







.zcu-product-meta {



  display: flex;



  align-items: center;



  gap: 10px;



  font-size: 13px;



}







.zcu-product-title {



  font-weight: 700;



  color: #111827;



}







.zcu-pipe {



  color: #cbd5e1;



  font-weight: 300;



}







.zcu-status-pill {



  display: inline-flex;



  align-items: center;



  gap: 6px;



  font-size: 12px;



  font-weight: 600;



  color: #16a34a;



}



.zcu-status-dot {



  width: 7px;



  height: 7px;



  background: #16a34a;



  border-radius: 50%;



}







/* Top Center Nav Tabs */



.zcu-nav-tabs {



  display: flex;



  align-items: center;



  gap: 24px;



  height: 100%;



}







.zcu-nav-tab {



  background: none;



  border: none;



  height: 100%;



  font-size: 14px;



  font-weight: 700;



  color: #64748b;



  cursor: pointer;



  position: relative;



  display: flex;



  align-items: center;



  padding: 0 8px;



  transition: color 0.15s;



}



.zcu-nav-tab:hover {



  color: #0f172a;



}



.zcu-nav-tab.active {



  color: #0f172a;



}



.zcu-nav-tab.active::after {



  content: '';



  position: absolute;



  bottom: 0;



  left: 0;



  width: 100%;



  height: 3px;



  background: #0f172a;



  border-radius: 2px 2px 0 0;



}







/* Top Right Actions */



.zcu-header-right {



  display: flex;



  align-items: center;



  gap: 10px;



}







.zcu-tool-icon-btn {



  width: 34px;



  height: 34px;



  border-radius: 50%;



  border: 1px solid #e2e8f0;



  background: #ffffff;



  color: #475569;



  display: flex;



  align-items: center;



  justify-content: center;



  font-size: 13px;



  cursor: pointer;



  transition: all 0.15s;



}



.zcu-tool-icon-btn:hover {



  background: #f8fafc;



  color: #0f172a;



  border-color: #cbd5e1;



}







.zcu-btn-preview {



  display: inline-flex;



  align-items: center;



  gap: 6px;



  padding: 7px 16px;



  border-radius: 20px;



  border: 1px solid #cbd5e1;



  background: #ffffff;



  font-size: 13px;



  font-weight: 700;



  color: #1e293b;



  cursor: pointer;



  transition: all 0.15s;



}



.zcu-btn-preview:hover {



  background: #f8fafc;



  border-color: #94a3b8;



}







.zcu-btn-next {



  display: inline-flex;



  align-items: center;



  justify-content: center;



  padding: 8px 22px;



  border-radius: 24px;



  background: #1f239c;



  color: #ffffff;



  border: none;



  font-size: 13px;



  font-weight: 700;



  cursor: pointer;



  box-shadow: 0 2px 6px rgba(31, 35, 156, 0.25);



  transition: all 0.15s;



}



.zcu-btn-next:hover {



  background: #151874;



}







/* ==========================================================================



   2. MAIN WORKSPACE (Ribbon + Floating Drawer + Stage)



   ========================================================================== */



.zcu-workspace {



  flex: 1;



  display: flex;



  overflow: hidden;



  position: relative;



  background-color: #f0f2f7;



}







/* Left Ribbon Toolbar (64px width) */



.zcu-ribbon {



  width: 64px;



  background: #ffffff;



  border-right: 1px solid #e2e8f0;



  display: flex;



  flex-direction: column;



  align-items: center;



  padding: 8px 0;



  z-index: 40;



  flex-shrink: 0;



  overflow-y: auto;



}







.zcu-ribbon-item {



  display: flex;



  flex-direction: column;



  align-items: center;



  justify-content: center;



  width: 52px;



  height: 52px;



  margin-bottom: 6px;



  cursor: pointer;



  color: #475569;



  transition: all 0.15s;



  border: none;



  background: none;



  border-radius: 10px;



}



.zcu-ribbon-item:hover {



  background: #f1f5f9;



  color: #1f239c;



}



.zcu-ribbon-item.active {



  background: #e0f2fe;



  color: #0284c7;



  font-weight: 700;



}



.zcu-ribbon-icon {



  font-size: 17px;



  margin-bottom: 3px;



}



.zcu-ribbon-label {



  font-size: 10px;



  line-height: 1.1;



  text-align: center;



}







/* ==========================================================================



   3. FLOATING DRAWER CARD (Zazzle Spec: Floating white card, rounded 16px)



   ========================================================================== */



.zcu-drawer {



  position: absolute;



  left: 72px;



  top: 12px;



  bottom: 12px;



  width: 220px;



  background: #ffffff;



  border-radius: 14px;



  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);



  border: 1px solid #e2e8f0;



  display: flex;



  flex-direction: column;



  z-index: 35;



  overflow: hidden;



  transition: opacity 0.2s ease, transform 0.2s ease;



}



.zcu-drawer.closed {



  opacity: 0;



  pointer-events: none;



  transform: translateX(-15px);



}







.zcu-drawer-header {



  height: 44px;



  border-bottom: 1px solid #f1f5f9;



  padding: 0 14px;



  display: flex;



  align-items: center;



  justify-content: space-between;



  flex-shrink: 0;



}



.zcu-drawer-title {



  font-size: 14px;



  font-weight: 800;



  color: #0f172a;



}



.zcu-drawer-close {



  background: none;



  border: none;



  color: #94a3b8;



  font-size: 14px;



  cursor: pointer;



  padding: 4px;



  border-radius: 4px;



}



.zcu-drawer-close:hover {



  color: #0f172a;



  background: #f1f5f9;



}







.zcu-drawer-body {



  flex: 1;



  padding: 10px;



  overflow-y: auto;



}







/* Drawer Sections */



.zcu-drawer-section {



  display: none;



}



.zcu-drawer-section.active {



  display: block;



}







/* Layers list items in drawer */



#zcu-layers-list {



  display: flex;



  flex-direction: column;



  gap: 4px;



}







.zcu-layer-item {



  display: flex;



  align-items: center;



  justify-content: space-between;



  padding: 6px 8px;



  background: #ffffff;



  border: 1px solid transparent;



  border-radius: 8px;



  cursor: pointer;



  transition: all 0.15s;



}



.zcu-layer-item:hover {



  background: #f8fafc;



}



.zcu-layer-item.active {



  background: #f0f7ff;



  border-color: #93c5fd;



}



.zcu-layer-left {



  display: flex;



  align-items: center;



  gap: 8px;



  min-width: 0;



  flex: 1;



}



.zcu-layer-icon {



  width: 24px;



  height: 24px;



  border-radius: 4px;



  background: #f1f5f9;



  border: 1px solid #e2e8f0;



  display: flex;



  align-items: center;



  justify-content: center;



  font-size: 11px;



  font-weight: 800;



  color: #334155;



  flex-shrink: 0;



  overflow: hidden;



}



.zcu-layer-icon img {



  width: 100%;



  height: 100%;



  object-fit: cover;



}



.zcu-layer-name {



  font-size: 12px;



  font-weight: 600;



  color: #1e293b;



  white-space: nowrap;



  overflow: hidden;



  text-overflow: ellipsis;



}



.zcu-layer-actions {



  display: flex;



  align-items: center;



  gap: 2px;



}



.zcu-layer-btn {



  background: none;



  border: none;



  color: #94a3b8;



  cursor: pointer;



  padding: 2px 4px;



  font-size: 11px;



  border-radius: 3px;



}



.zcu-layer-btn:hover {



  color: #0f172a;



  background: #e2e8f0;



}



.zcu-layer-btn.zcu-layer-del:hover {



  color: #dc2626;



  background: #fee2e2;



}







/* Static background layer row */



.zcu-layer-bg-row {



  display: flex;



  align-items: center;



  justify-content: space-between;



  padding: 6px 8px;



  background: #ffffff;



  border-radius: 8px;



  margin-top: 4px;



  border-top: 1px solid #f1f5f9;



  cursor: pointer;



}



.zcu-layer-bg-row:hover {



  background: #f8fafc;



}



.zcu-checker-icon {



  background-image: linear-gradient(45deg, #cbd5e1 25%, transparent 25%), 



                    linear-gradient(-45deg, #cbd5e1 25%, transparent 25%), 



                    linear-gradient(45deg, transparent 75%, #cbd5e1 75%), 



                    linear-gradient(-45deg, transparent 75%, #cbd5e1 75%);



  background-size: 8px 8px;



  background-position: 0 0, 0 4px, 4px -4px, -4px 0px;



  background-color: #ffffff;



}







/* Form inputs & buttons in drawer */



.zcu-field {



  margin-bottom: 12px;



}



.zcu-label {



  display: block;



  font-size: 11px;



  font-weight: 700;



  color: #475569;



  margin-bottom: 4px;



  text-transform: uppercase;



  letter-spacing: 0.5px;



}



.zcu-input, .zcu-select {



  width: 100%;



  padding: 8px 10px;



  border: 1px solid #cbd5e1;



  border-radius: 6px;



  font-size: 13px;



  outline: none;



  transition: border-color 0.15s;



}



.zcu-input:focus, .zcu-select:focus {



  border-color: #1f239c;



}







.zcu-color-grid {



  display: flex;



  flex-wrap: wrap;



  gap: 6px;



}



.zcu-color-circle {



  width: 24px;



  height: 24px;



  border-radius: 50%;



  cursor: pointer;



  border: 2px solid #ffffff;



  box-shadow: 0 0 0 1px #cbd5e1;



  transition: transform 0.1s;



}



.zcu-color-circle:hover {



  transform: scale(1.15);



}



.zcu-color-circle.active {



  box-shadow: 0 0 0 2px #1f239c;



}







.zcu-btn-block {



  width: 100%;



  padding: 10px;



  background: #1f239c;



  color: #ffffff;



  border: none;



  border-radius: 6px;



  font-size: 12px;



  font-weight: 700;



  cursor: pointer;



  display: flex;



  align-items: center;



  justify-content: center;



  gap: 6px;



  transition: background 0.15s;



}



.zcu-btn-block:hover {



  background: #151874;



}







/* Upload Dropzone */



.zcu-dropzone {



  border: 2px dashed #cbd5e1;



  border-radius: 10px;



  padding: 20px 12px;



  text-align: center;



  background: #fafafa;



  cursor: pointer;



  position: relative;



  transition: all 0.15s;



}



.zcu-dropzone:hover {



  border-color: #1f239c;



  background: #f0f7ff;



}



.zcu-dropzone input[type="file"] {



  position: absolute;



  top: 0;



  left: 0;



  width: 100%;



  height: 100%;



  opacity: 0;



  cursor: pointer;



}







/* Templates grid */



.zcu-templates-grid {



  display: grid;



  grid-template-columns: 1fr;



  gap: 10px;



  margin-top: 10px;



}



.zcu-template-card {



  border: 1px solid #e2e8f0;



  border-radius: 6px;



  overflow: hidden;



  cursor: pointer;



  background: #ffffff;



  display: flex;



  align-items: center;



  padding: 6px;



  gap: 8px;



  transition: all 0.15s;



}



.zcu-template-card:hover {



  border-color: #1f239c;



  box-shadow: 0 2px 8px rgba(0,0,0,0.06);



}



.zcu-template-card img {



  width: 44px;



  height: 44px;



  border-radius: 4px;



  object-fit: cover;



}



.zcu-template-card-title {



  font-size: 12px;



  font-weight: 600;



  color: #0f172a;



  line-height: 1.2;



}







/* ==========================================================================



   4. TOP FLOATING LAYER TOOLBAR (Matches Image 3)



   Controls for selected layer: Change image, Crop, Duplicate, Delete, Group,



   Scale −/+, Fit, Fill, Alignment, Effects, Text styles



   ========================================================================== */



.zcu-top-layer-toolbar {



  position: absolute;



  top: 12px;



  left: 50%;



  transform: translateX(-50%);



  background: #ffffff;



  border-radius: 30px;



  padding: 4px 10px;



  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);



  border: 1px solid #e2e8f0;



  display: inline-flex;



  align-items: center;



  gap: 4px;



  z-index: 30;



  white-space: nowrap;



  transition: opacity 0.15s, transform 0.15s;



}



.zcu-top-layer-toolbar.hidden {



  opacity: 0;



  pointer-events: none;



  transform: translate(-50%, -8px);



}







.zcu-tb-btn {



  display: inline-flex;



  align-items: center;



  gap: 6px;



  padding: 6px 10px;



  border-radius: 20px;



  border: 1px solid transparent;



  background: none;



  color: #334155;



  font-size: 12px;



  font-weight: 600;



  cursor: pointer;



  transition: all 0.15s;



}



.zcu-tb-btn:hover {



  background: #f1f5f9;



  color: #0f172a;



}



.zcu-tb-btn.active {



  background: #e0f2fe;



  color: #0284c7;



  border-color: #bae6fd;



}







.zcu-tb-icon-btn {



  width: 30px;



  height: 30px;



  border-radius: 50%;



  border: 1px solid transparent;



  background: none;



  color: #475569;



  display: inline-flex;



  align-items: center;



  justify-content: center;



  font-size: 13px;



  cursor: pointer;



  transition: all 0.15s;



}



.zcu-tb-icon-btn:hover {



  background: #f1f5f9;



  color: #0f172a;



}



.zcu-tb-icon-btn.active {



  background: #e0f2fe;



  color: #0284c7;



}







.zcu-tb-sep {



  width: 1px;



  height: 20px;



  background: #e2e8f0;



  margin: 0 4px;



}







.zcu-tb-select {



  padding: 5px 8px;



  border: 1px solid #cbd5e1;



  border-radius: 6px;



  font-size: 12px;



  font-weight: 600;



  color: #1e293b;



  outline: none;



  background: #ffffff;



}







.zcu-tb-val {



  font-size: 12px;



  font-weight: 700;



  min-width: 22px;



  text-align: center;



  display: inline-block;



}







.zcu-tb-color-picker {



  width: 24px;



  height: 24px;



  border-radius: 50%;



  border: 1px solid #cbd5e1;



  cursor: pointer;



  padding: 0;



  background: none;



}



.zcu-tb-color-picker::-webkit-color-swatch-wrapper { padding: 0; }



.zcu-tb-color-picker::-webkit-color-swatch { border: none; border-radius: 50%; }







/* Dropdowns in top toolbar */



.zcu-dropdown {



  position: relative;



  display: inline-block;



}



.zcu-dropdown-menu {



  position: absolute;



  top: calc(100% + 6px);



  left: 50%;



  transform: translateX(-50%);



  background: #ffffff;



  border: 1px solid #e2e8f0;



  border-radius: 8px;



  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);



  padding: 6px;



  display: none;



  flex-direction: column;



  min-width: 170px;



  z-index: 50;



}



.zcu-dropdown.open .zcu-dropdown-menu {



  display: flex;



}



.zcu-dropdown-item {



  display: flex;



  align-items: center;



  gap: 8px;



  padding: 8px 10px;



  background: none;



  border: none;



  border-radius: 6px;



  font-size: 12px;



  font-weight: 500;



  color: #334155;



  cursor: pointer;



  text-align: left;



  transition: all 0.15s;



}



.zcu-dropdown-item:hover {



  background: #f1f5f9;



  color: #0f172a;



}







/* ==========================================================================



   5. ON-CANVAS FLOATING PILL FOR SELECTED OBJECT



   ========================================================================== */



.zcu-floating-obj-pill {



  position: absolute;



  display: none;



  align-items: center;



  gap: 4px;



  background: #ffffff;



  border: 1px solid #e2e8f0;



  border-radius: 20px;



  padding: 3px 6px;



  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);



  z-index: 25;



  transform: translate(-50%, -100%);



  margin-top: -12px;



}



.zcu-floating-obj-pill.visible {



  display: flex;



}



.zcu-fop-btn {



  width: 26px;



  height: 26px;



  border-radius: 50%;



  background: none;



  border: none;



  color: #475569;



  display: flex;



  align-items: center;



  justify-content: center;



  font-size: 12px;



  cursor: pointer;



  transition: all 0.15s;



}



.zcu-fop-btn:hover {



  background: #f1f5f9;



  color: #0f172a;



}



.zcu-fop-btn.zcu-fop-del:hover {



  color: #dc2626;



  background: #fee2e2;



}







/* ==========================================================================



   6. CENTER STAGE (Mug + Panoramic Sheet + Controls)



   ========================================================================== */



.zcu-stage {



  flex: 1;



  background: #f0f2f7;



  display: flex;



  align-items: center;



  justify-content: center;



  position: relative;



  overflow: hidden;



  user-select: none;



}







/* Panoramic Print Sheet (8.5 in x 3.6 in) */



.zcu-wrap-sheet-wrap {



  position: relative;



  z-index: 10;



  display: flex;



  flex-direction: column;



  align-items: center;



  justify-content: center;



  margin-left: 100px; /* Offset to allow ceramic handle on left */



}







/* 3D Ceramic Mug Backdrop (Exactly matches Image 3) */



/* The mug body sits directly behind the Left Face (first third) of wrap sheet */



.zcu-mug-backdrop {



  position: absolute;



  left: -82px; /* Handle sticks out to left of wrap sheet */



  top: 50%;



  transform: translateY(-50%);



  height: 350px;



  width: auto;



  pointer-events: none;



  z-index: 4;



  filter: drop-shadow(-8px 12px 20px rgba(0, 0, 0, 0.08));



}







.zcu-wrap-sheet {



  width: 780px;



  min-width: 780px;



  height: 330px;



  min-height: 330px;



  flex-shrink: 0;



  background: #ffffff; /* Crisp pure white canvas - no dirty background bleed */



  border: 1px solid #cbd5e1;



  border-radius: 4px;



  position: relative;



  z-index: 10;



  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.03);



  overflow: visible;



  transition: transform 0.15s ease;



}







/* Dimension Labels: 3.6 in & 8.5 in */



.zcu-dim-left {



  position: absolute;



  left: -32px;



  top: 50%;



  transform: translateY(-50%) rotate(-90deg);



  font-size: 11px;



  font-weight: 700;



  color: #475569;



  display: flex;



  align-items: center;



  gap: 6px;



  white-space: nowrap;



}



.zcu-dim-bottom {



  position: absolute;



  bottom: -26px;



  left: 50%;



  transform: translateX(-50%);



  font-size: 11px;



  font-weight: 700;



  color: #475569;



  display: flex;



  align-items: center;



  gap: 6px;



  white-space: nowrap;



}







/* Safe Area Border */



.zcu-safe-area {



  position: absolute;



  top: 14px;



  bottom: 14px;



  left: 16px;



  right: 16px;



  border: 1px dashed #22c55e;



  border-radius: 2px;



  pointer-events: none;



  z-index: 15;



}



.zcu-safe-area-pill {



  position: absolute;



  top: -10px;



  left: 50%;



  transform: translateX(-50%);



  background: #dcfce7;



  color: #15803d;



  font-size: 10px;



  font-weight: 700;



  padding: 1px 8px;



  border-radius: 999px;



  border: 1px solid #86efac;



}







/* Vertical Dotted Guidelines (33.3%, 50%, 66.6%) */



.zcu-guide-v {



  position: absolute;



  top: 0;



  bottom: 0;



  border-left: 1px dotted #94a3b8;



  pointer-events: none;



  z-index: 12;



}



.zcu-guide-v.left { left: 33.3%; }



.zcu-guide-v.center { left: 50%; }



.zcu-guide-v.right { left: 66.6%; }







.zcu-guide-cross {



  position: absolute;



  top: 50%;



  left: 50%;



  transform: translate(-50%, -50%);



  font-size: 20px;



  color: #94a3b8;



  pointer-events: none;



  font-weight: 300;



  z-index: 12;



}







/* Fabric.js Canvas Wrapper */



.zcu-canvas-container {



  position: absolute;



  top: 0;



  left: 0;



  width: 100%;



  height: 100%;



  z-index: 20;



}







/* Top Right Miniature Preview Card */



.zcu-mini-card {



  position: absolute;



  top: 16px;



  right: 20px;



  width: 84px;



  background: #ffffff;



  border: 1px solid #e2e8f0;



  border-radius: 8px;



  padding: 6px;



  box-shadow: 0 2px 10px rgba(0,0,0,0.06);



  z-index: 30;



  text-align: center;



}



.zcu-mini-thumb {



  width: 100%;



  height: 52px;



  object-fit: contain;



  background: #f8fafc;



  border: 1px solid #f1f5f9;



  border-radius: 4px;



  margin-bottom: 3px;



  display: block;



}



.zcu-mini-label {



  font-size: 10px;



  font-weight: 700;



  color: #475569;



}







/* Bottom Floating Controls */



.zcu-bottom-bar {



  position: absolute;



  bottom: 16px;



  left: 100px;



  display: flex;



  align-items: center;



  gap: 10px;



  z-index: 30;



}







.zcu-zoom-pill {



  display: flex;



  align-items: center;



  background: #ffffff;



  border: 1px solid #e2e8f0;



  border-radius: 20px;



  padding: 4px 8px;



  box-shadow: 0 2px 6px rgba(0,0,0,0.05);



  font-size: 12px;



  font-weight: 700;



  color: #334155;



}



.zcu-zoom-btn {



  background: none;



  border: none;



  padding: 2px 6px;



  cursor: pointer;



  color: #475569;



  font-size: 13px;



}



.zcu-zoom-btn:hover { color: #0f172a; }







.zcu-circle-btn {



  width: 32px;



  height: 32px;



  border-radius: 50%;



  background: #ffffff;



  border: 1px solid #e2e8f0;



  color: #475569;



  display: flex;



  align-items: center;



  justify-content: center;



  cursor: pointer;



  box-shadow: 0 2px 6px rgba(0,0,0,0.05);



  transition: all 0.15s;



}



.zcu-circle-btn:hover {



  color: #0f172a;



  background: #f8fafc;



}







.zcu-btn-share {



  display: inline-flex;



  align-items: center;



  gap: 5px;



  background: #ffffff;



  border: 1px solid #e2e8f0;



  border-radius: 20px;



  padding: 6px 12px;



  font-size: 12px;



  font-weight: 700;



  color: #334155;



  box-shadow: 0 2px 6px rgba(0,0,0,0.05);



  cursor: pointer;



}



.zcu-btn-share:hover {



  background: #f8fafc;



  color: #0f172a;



}







/* ==========================================================================



   7. 3D REALVIEW PREVIEW MODAL (Three.js WebGL Interactive Viewer)



   ========================================================================== */



.zcu-modal-overlay {



  position: fixed;



  top: 0;



  left: 0;



  width: 100vw;



  height: 100vh;



  background: rgba(0, 0, 0, 0.6);



  backdrop-filter: blur(4px);



  z-index: 100;



  display: none;



  align-items: center;



  justify-content: center;



}



.zcu-modal-overlay.open {



  display: flex;



}







.zcu-modal-card {



  width: 820px;



  max-width: 92vw;



  background: #ffffff;



  border-radius: 16px;



  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);



  overflow: hidden;



  display: flex;



  flex-direction: column;



}







.zcu-modal-header {



  padding: 16px 20px;



  border-bottom: 1px solid #e2e8f0;



  display: flex;



  align-items: center;



  justify-content: space-between;



}



.zcu-modal-title {



  font-size: 16px;



  font-weight: 800;



  color: #0f172a;



  display: flex;



  align-items: center;



  gap: 8px;



}







.zcu-modal-close-btn {



  width: 42px;



  height: 42px;



  border-radius: 50%;



  background: #f1f5f9;



  border: 1px solid #cbd5e1;



  font-size: 28px;



  font-weight: 300;



  line-height: 1;



  color: #475569;



  display: flex;



  align-items: center;



  justify-content: center;



  cursor: pointer;



  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);



  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);



}



.zcu-modal-close-btn:hover {



  background: #fee2e2;



  color: #dc2626;



  border-color: #fca5a5;



  transform: scale(1.1);



  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.18);



}







.zcu-modal-body {



  padding: 20px;



  display: flex;



  gap: 20px;



  align-items: center;



}







/* 3D WebGL Canvas Container */



.zcu-3d-stage {



  flex: 1;



  aspect-ratio: 1/1;



  background: #f0f0f0;



  border-radius: 12px;



  position: relative;



  display: flex;



  align-items: center;



  justify-content: center;



  overflow: hidden;



  border: 1px solid #dcdcdc;



}



#zcu-3d-mug-container {



  width: 100%;



  height: 100%;



  cursor: grab;



}



#zcu-3d-mug-container:active {



  cursor: grabbing;



}



.zcu-3d-hint {



  position: absolute;



  bottom: 10px;



  left: 50%;



  transform: translateX(-50%);



  background: rgba(255, 255, 255, 0.9);



  padding: 4px 10px;



  border-radius: 20px;



  font-size: 11px;



  font-weight: 600;



  color: #64748b;



  border: 1px solid #e2e8f0;



  pointer-events: none;



}







.zcu-modal-angles {



  width: 200px;



  display: flex;



  flex-direction: column;



  gap: 8px;



}



.zcu-angle-btn {



  display: flex;



  align-items: center;



  gap: 10px;



  padding: 8px 12px;



  border: 1px solid #e2e8f0;



  border-radius: 8px;



  background: #ffffff;



  cursor: pointer;



  font-size: 12px;



  font-weight: 600;



  color: #334155;



  transition: all 0.15s;



  text-align: left;



}



.zcu-angle-btn:hover { border-color: #1f239c; color: #1f239c; }



.zcu-angle-btn.active {



  border-color: #1f239c;



  background: #f0f7ff;



  color: #1f239c;



}



.zcu-angle-icon {



  font-size: 14px;



  color: #1f239c;



}







.zcu-modal-footer {



  padding: 14px 20px;



  border-top: 1px solid #e2e8f0;



  background: #f8fafc;



  display: flex;



  align-items: center;



  justify-content: space-between;



}







/* Quick Personalizer Edit Section (Screenshot 4) */



.zcu-edit-block {



  background: #f8fafc;



  border: 1px solid #e2e8f0;



  border-radius: 8px;



  padding: 12px;



  margin-bottom: 14px;



}



.zcu-btn-pill-action {



  display: flex;



  align-items: center;



  gap: 8px;



  padding: 8px 12px;



  border: 1px dashed #cbd5e1;



  border-radius: 6px;



  background: #ffffff;



  color: #334155;



  font-size: 12px;



  font-weight: 600;



  cursor: pointer;



  transition: all 0.15s;



  text-align: left;



}



.zcu-btn-pill-action:hover {



  border-color: #1f239c;



  color: #1f239c;



  background: #f0f7ff;



}







/* User requested: Hide Crop, Remove-Bg, and Group buttons */



#tb-crop,



#tb-remove-bg,



#tb-group,



[data-filter="remove-bg"] {



  display: none !important;



}







/* Touch gesture lock: strictly prevents browser page scrolling during canvas drag */



#zcu-fabric-canvas,



.canvas-container,



.upper-canvas,



.lower-canvas,



.zcu-wrap-sheet,



.zcu-stage {



  touch-action: none !important;



  user-select: none !important;



  -webkit-user-select: none !important;



  -webkit-touch-callout: none !important;



  overscroll-behavior: none !important;



}







/* Zero horizontal scrolling across entire viewport */



html, body, .zcu-body {



  overflow-x: hidden !important;



  max-width: 100vw !important;



  width: 100% !important;



  overscroll-behavior: none !important;



}







/* ==========================================================================



   MOBILE RESPONSIVE SYSTEM (Mobile First: max-width: 768px)



   ========================================================================== */



@media (max-width: 768px) {



  body.zcu-body {



    height: 100vh;



    height: 100dvh;



    overflow: hidden !important;



    overflow-x: hidden !important;



    max-width: 100vw !important;



  }







  /* 1. TOP HEADER (Clean single 48px row, zero wrapping or collisions) */



  .zcu-header {



    height: 48px;



    padding: 0 10px;



    gap: 8px;



    justify-content: space-between;



  }



  .zcu-header-left {



    gap: 6px;



    flex-shrink: 1;



    min-width: 0;



  }



  .zcu-btn-exit {



    padding: 6px 8px;



    font-size: 12px;



    gap: 4px;



    white-space: nowrap;



    flex-shrink: 0;



    color: #1e293b;



    background: #f1f5f9;



  }



  .zcu-btn-exit span {



    display: none;



  }



  .zcu-btn-exit::after {



    content: 'Назад';



    font-size: 12px;



    font-weight: 700;



  }



  .zcu-product-meta {



    gap: 6px;



    font-size: 11px;



    min-width: 0;



  }



  .zcu-product-title {



    overflow: hidden;



    text-overflow: ellipsis;



    white-space: nowrap;



    max-width: 100px;



    font-size: 11px;



    font-weight: 700;



  }



  .zcu-pipe {



    display: none;



  }



  .zcu-status-pill {



    display: none;



  }







  /* Hide center nav tabs on mobile */



  .zcu-nav-tabs {



    display: none !important;



  }







  /* Header right actions */



  .zcu-header-right {



    gap: 6px;



    flex-shrink: 0;



  }



  .zcu-tool-icon-btn {



    width: 30px;



    height: 30px;



    font-size: 11px;



    border-radius: 50%;



  }



  .zcu-btn-preview {



    padding: 6px 10px;



    font-size: 11px;



    border-radius: 16px;



    gap: 4px;



    background: #ffffff;



    border: 1px solid #cbd5e1;



  }



  .zcu-btn-preview span {



    font-size: 11px;



  }



  .zcu-btn-next {



    padding: 6px 12px;



    font-size: 11px;



    border-radius: 16px;



    gap: 4px;



    background: #1f239c;



    color: #ffffff;



    box-shadow: none;



  }



  .zcu-btn-next span {



    font-size: 11px;



  }







  /* 2. MAIN WORKSPACE */



  .zcu-workspace {



    flex-direction: column;



    padding-bottom: 56px; /* Space for bottom ribbon */



    position: relative;



    overflow: hidden;



  }







  /* Bottom Ribbon Navigation Bar */



  .zcu-ribbon {



    position: fixed;



    bottom: 0;



    left: 0;



    right: 0;



    width: 100%;



    height: 56px;



    flex-direction: row;



    justify-content: space-around;



    align-items: center;



    background: #ffffff;



    border-right: none;



    border-top: 1px solid #e2e8f0;



    box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.08);



    padding: 0 4px;



    padding-bottom: env(safe-area-inset-bottom, 0px);



    z-index: 45;



    overflow-x: auto;



    overflow-y: hidden;



    -webkit-overflow-scrolling: touch;



  }



  .zcu-ribbon-item {



    flex: 1 1 0;



    min-width: 42px;



    max-width: 56px;



    height: 50px;



    margin-bottom: 0;



    border-radius: 8px;



    padding: 4px 1px;



  }



  .zcu-ribbon-icon {



    font-size: 16px;



    margin-bottom: 2px;



  }



  .zcu-ribbon-label {



    font-size: 9px;



    font-weight: 600;



    white-space: nowrap;



    overflow: hidden;



    text-overflow: ellipsis;



  }







  /* 3. MOBILE BOTTOM SHEET DRAWER */



  .zcu-drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    z-index: 38;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }



  .zcu-drawer-backdrop.active {



    opacity: 1;



    pointer-events: auto;



  }







  .zcu-drawer-handle-bar {



    width: 40px;



    height: 4px;



    background: #cbd5e1;



    border-radius: 2px;



    margin: 8px auto 4px auto;



    flex-shrink: 0;



  }







  .zcu-drawer {



    position: fixed;



    left: 0;



    right: 0;



    bottom: 56px;



    top: auto;



    width: 100%;



    max-height: 58vh;



    border-radius: 20px 20px 0 0;



    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.20);



    border: 1px solid #e2e8f0;



    border-bottom: none;



    z-index: 40;



    transform: translateY(0);



    opacity: 1;



    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;



  }



  .zcu-drawer.closed {



    transform: translateY(115%);



    opacity: 0;



    pointer-events: none;



  }



  .zcu-drawer-header {



    height: 40px;



    padding: 0 16px;



  }



  .zcu-drawer-title {



    font-size: 13px;



    font-weight: 800;



  }



  .zcu-drawer-close {



    width: 30px;



    height: 30px;



    display: flex;



    align-items: center;



    justify-content: center;



    font-size: 16px;



    border-radius: 50%;



    background: #f1f5f9;



  }



  .zcu-drawer-body {



    max-height: calc(58vh - 52px);



    padding: 10px 14px;



    overflow-y: auto;



    -webkit-overflow-scrolling: touch;



  }







  /* 4. CENTER STAGE & CANVAS */



  .zcu-stage {



    padding: 8px 10px;



    display: flex;



    flex-direction: column;



    align-items: center;



    justify-content: flex-start;



    overflow: hidden;



    flex: 1;



    min-height: 0;



  }



  .zcu-wrap-sheet-wrap {



    margin-left: auto !important;



    margin-right: auto !important;



    margin-top: 10px !important;



    position: relative;



    display: flex;



    align-items: center;



    justify-content: center;



    overflow: visible;



  }



  .zcu-wrap-sheet {



    width: 780px !important;



    min-width: 780px !important;



    max-width: 780px !important;



    height: 330px !important;



    min-height: 330px !important;



    max-height: 330px !important;



    flex-shrink: 0 !important;



    transform-origin: center center !important;



  }



  .zcu-mug-backdrop {



    display: none !important;



  }



  .zcu-dim-left, .zcu-dim-bottom {



    display: none !important;



  }



  .zcu-safe-area-pill {



    font-size: 8px;



    padding: 0 4px;



    top: -8px;



  }







  /* Mini preview card */



  .zcu-mini-card {



    top: 8px;



    right: 8px;



    padding: 3px;



    border-radius: 8px;



    max-width: 64px;



  }



  .zcu-mini-thumb {



    width: 34px;



    height: 34px;



  }



  .zcu-mini-label {



    display: none;



  }







  /* Floating controls & bottom bar */



  .zcu-bottom-bar {



    bottom: 64px;



    left: 8px;



    transform: none;



    padding: 2px 6px;



    gap: 6px;



  }



  .zcu-btn-share, .zcu-circle-btn {



    display: none;



  }







  /* Top floating layer toolbar: positioned above canvas in vertical flow, no overlap! */



  .zcu-top-layer-toolbar {



    position: relative !important;



    top: auto !important;



    left: auto !important;



    right: auto !important;



    transform: none !important;



    margin: 6px auto 10px auto !important;



    max-width: calc(100vw - 16px) !important;



    width: fit-content !important;



    overflow-x: auto !important;



    overflow-y: hidden !important;



    -webkit-overflow-scrolling: touch !important;



    white-space: nowrap !important;



    padding: 4px 8px;



    border-radius: 20px;



    box-sizing: border-box !important;



    flex-shrink: 0;



  }



  .zcu-top-layer-toolbar.hidden {



    display: none !important;



  }



  #zcu-tb-image-controls,



  #zcu-tb-text-controls {



    align-items: center;



    gap: 4px;



    max-width: 100%;



    flex-wrap: nowrap;



    white-space: nowrap;



  }



  .zcu-tb-btn {



    padding: 4px 8px;



    font-size: 11px;



    flex-shrink: 0;



  }



  .zcu-tb-icon-btn {



    width: 28px;



    height: 28px;



    font-size: 11px;



    flex-shrink: 0;



  }



  .zcu-mini-card {



    display: none !important;



  }







  /* 5. 3D REALVIEW MODAL ON MOBILE */



  .zcu-modal-overlay {



    padding: 8px;



  }



  .zcu-modal-card {



    width: 100%;



    max-width: 100vw;



    height: auto;



    max-height: 94vh;



    border-radius: 16px;



    overflow: hidden;



  }



  .zcu-modal-header {



    padding: 10px 14px;



  }



  .zcu-modal-title {



    font-size: 14px;



  }



  .zcu-modal-close-btn {



    width: 34px;



    height: 34px;



    font-size: 22px;



  }



  .zcu-modal-body {



    flex-direction: column;



    padding: 10px;



    gap: 10px;



    overflow-y: auto;



  }



  .zcu-3d-stage {



    width: 100%;



    height: 280px;



    max-height: 42vh;



    aspect-ratio: auto;



  }



  .zcu-modal-angles {



    width: 100%;



    flex-direction: row;



    overflow-x: auto;



    -webkit-overflow-scrolling: touch;



    white-space: nowrap;



    padding-bottom: 4px;



    gap: 6px;



  }



  .zcu-angle-btn {



    flex: 0 0 auto;



    padding: 6px 10px;



    font-size: 11px;



    border-radius: 6px;



    gap: 6px;



  }



  .zcu-3d-toggle-row {



    width: 100%;



    margin-top: 6px !important;



  }



  .zcu-modal-footer {



    padding: 10px 14px;



  }



  #zcu-modal-add-cart {



    width: 100%;



    justify-content: center;



    padding: 10px 16px;



    font-size: 13px;



  }



}















/* ==========================================================================



   DESKTOP VISIBILITY LOCKS (strictly hides mobile UI on desktop)



   ========================================================================== */



.zcu-mobile-only,



div.zcu-mobile-only,



button.zcu-mobile-only,



span.zcu-mobile-only,



.zcu-modal-angles-section.zcu-mobile-only,



.zcu-modal-footer.zcu-mobile-only,



.zcu-stage-top-actions,



.zcu-quick-sheet,



.zcu-context-sheet,



.zcu-mobile-bottom-fixed,



.zcu-zoom-fit-pill,



.zcu-dropdown.zcu-mobile-only {



  display: none !important;



}







.zcu-desktop-only {



  display: flex !important;



}



div.zcu-desktop-only {



  display: block !important;



}



span.zcu-desktop-only {



  display: inline !important;



}



.zcu-modal-angles.zcu-desktop-only {



  display: flex !important;



  flex-direction: column !important;



}



.zcu-modal-footer.zcu-desktop-only {



  display: flex !important;



}











@media (max-width: 768px) {







  /* Strict Mobile vs Desktop Overrides */



  .zcu-desktop-only,



  div.zcu-desktop-only,



  button.zcu-desktop-only,



  span.zcu-desktop-only,



  .zcu-modal-angles.zcu-desktop-only,



  .zcu-modal-footer.zcu-desktop-only {



    display: none !important;



  }







  .zcu-mobile-only {



    display: flex !important;



  }



  div.zcu-mobile-only {



    display: block !important;



  }



  span.zcu-mobile-only {



    display: inline !important;



  }



  .zcu-modal-angles-section.zcu-mobile-only {



    display: block !important;



  }



  .zcu-modal-footer.zcu-mobile-only {



    display: flex !important;



  }



  .zcu-mobile-bottom-fixed {



    display: flex !important;



  }



  .zcu-stage-top-actions {



    display: flex !important;



  }



  .zcu-zoom-fit-pill {



    display: flex !important;



  }



  .zcu-quick-sheet {



    display: block !important;



  }



  .zcu-quick-sheet.collapsed {



    display: none !important;



  }







  body.zcu-body {



    height: 100vh;



    height: 100dvh;



    overflow: hidden !important;



    overflow-x: hidden !important;



    max-width: 100vw !important;



    background: #f8fafc;



  }







  /* Visibility Helpers */



  .zcu-desktop-only {



    display: none !important;



  }



  .zcu-mobile-only {



    display: flex !important;



  }







  /* 1. TOP HEADER (Matching user mockup) */



  .zcu-header {



    height: 54px;



    padding: 0 12px;



    gap: 8px;



    justify-content: space-between;



    background: #ffffff;



    border-bottom: 1px solid #e2e8f0;



    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);



    z-index: 35;



  }



  .zcu-header-left {



    display: flex;



    align-items: center;



    gap: 8px;



    flex-shrink: 1;



    min-width: 0;



  }



  .zcu-btn-exit {



    width: 34px;



    height: 34px;



    border-radius: 10px;



    background: #f8fafc;



    border: 1px solid #e2e8f0;



    display: flex;



    align-items: center;



    justify-content: center;



    color: #0f172a;



    text-decoration: none;



    font-size: 14px;



    flex-shrink: 0;



    padding: 0;



  }



  .zcu-btn-exit span,



  .zcu-btn-exit::after {



    display: none !important;



  }



  .zcu-product-meta {



    display: flex;



    flex-direction: column;



    justify-content: center;



    gap: 2px;



    min-width: 0;



  }



  .zcu-product-title {



    font-size: 15px;



    font-weight: 800;



    color: #0f172a;



    line-height: 1.2;



    overflow: hidden;



    text-overflow: ellipsis;



    white-space: nowrap;



    max-width: 170px;



  }



  .zcu-product-title .zcu-desktop-only {



    display: none !important;



  }



  .zcu-product-title .zcu-mobile-only {



    display: inline !important;



  }



  .zcu-pipe {



    display: none !important;



  }



  .zcu-status-pill {



    display: flex !important;



    align-items: center;



    gap: 4px;



    background: transparent;



    padding: 0;



    color: #16a34a;



    font-size: 11px;



    font-weight: 600;



    line-height: 1;



  }



  .zcu-status-dot {



    width: 6px;



    height: 6px;



    background: #16a34a;



    border-radius: 50%;



    display: inline-block;



  }







  /* Hide center nav tabs on mobile */



  .zcu-nav-tabs {



    display: none !important;



  }







  /* Header right actions */



  .zcu-header-right {



    display: flex;



    align-items: center;



    gap: 8px;



    flex-shrink: 0;



  }



  .zcu-btn-preview {



    background: #ffffff;



    border: 1px solid #e2e8f0;



    border-radius: 20px;



    padding: 6px 12px;



    font-size: 12px;



    font-weight: 600;



    color: #0f172a;



    display: inline-flex;



    align-items: center;



    gap: 6px;



    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);



    cursor: pointer;



    transition: all 0.15s;



  }



  .zcu-btn-preview:hover,



  .zcu-btn-preview:active {



    background: #f8fafc;



    border-color: #cbd5e1;



  }



  .zcu-more-btn {



    width: 34px;



    height: 34px;



    border-radius: 50%;



    border: 1px solid #e2e8f0;



    background: #ffffff;



    display: flex;



    align-items: center;



    justify-content: center;



    color: #475569;



    font-size: 14px;



    cursor: pointer;



  }







  /* 2. MAIN WORKSPACE */



  .zcu-workspace {



    flex-direction: column;



    height: calc(100vh - 54px);



    height: calc(100dvh - 54px);



    position: relative;



    overflow: hidden;



    padding-bottom: 0;



  }







  /* Hide Desktop Ribbon on Mobile */



  .zcu-ribbon {



    display: none !important;



  }







  /* Hide old desktop top layer toolbar */



  .zcu-top-layer-toolbar {



    display: none !important;



  }



  .zcu-mini-card {



    display: none !important;



  }



  .zcu-bottom-bar {



    display: none !important;



  }







  /* 3. CENTER STAGE & WORK AREA */



  .zcu-stage {



    padding: 6px 8px 115px 8px;



    flex: 1;



    overflow-y: auto;



    overflow-x: hidden;



    -webkit-overflow-scrolling: touch;



    display: flex;



    flex-direction: column;



    align-items: center;



    justify-content: flex-start;



    width: 100%;



    box-sizing: border-box;



    position: relative;



  }







  /* Top Quick Actions Bar (Undo / Redo) */



  .zcu-stage-top-actions {



    display: flex !important;



    width: 100%;



    align-items: center;



    justify-content: flex-start;



    padding: 6px 14px 2px 14px;



    box-sizing: border-box;



    flex-shrink: 0;



  }



  .zcu-floating-history {



    display: flex !important;



    position: relative !important;



    top: auto !important;



    left: auto !important;



    gap: 8px;



    z-index: 25;



  }



  .zcu-history-btn {



    width: 40px;



    height: 40px;



    border-radius: 12px;



    background: #ffffff;



    border: 1px solid #e2e8f0;



    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);



    display: flex;



    align-items: center;



    justify-content: center;



    font-size: 15px;



    color: #0f172a;



    cursor: pointer;



    transition: all 0.15s;



  }



  .zcu-history-btn:active {



    background: #f1f5f9;



    transform: scale(0.94);



  }



  /* .zcu-floating-obj-pill enabled on mobile */







  /* Canvas Wrap & Silhouette */



  .zcu-wrap-sheet-wrap {



    margin-left: auto !important;



    margin-right: auto !important;



    margin-top: 18px !important;



    margin-bottom: 10px !important;



    position: relative;



    display: flex;



    align-items: center;



    justify-content: center;



    overflow: visible !important;



    flex-shrink: 0;



  }



  .zcu-wrap-sheet {



    width: 780px !important;



    min-width: 780px !important;



    max-width: 780px !important;



    height: 330px !important;



    min-height: 330px !important;



    max-height: 330px !important;



    flex-shrink: 0 !important;



    transform-origin: center center !important;



  }







  /* Ceramic Mug Handle Silhouette (replaced by dynamic SVG #zcu-ctx-mug) */



  .zcu-mug-backdrop {



    display: none !important;



  }



  .zcu-dim-left, .zcu-dim-bottom {



    display: none !important;



  }



  .zcu-safe-area-pill {



    font-size: 9px;



    font-weight: 600;



    padding: 1px 8px;



    background: #dcfce7;



    color: #15803d;



    border: 1px solid #bbf7d0;



    border-radius: 10px;



    top: -9px;



    left: 50%;



    transform: translateX(-50%);



    position: absolute;



    white-space: nowrap;



    z-index: 10;



  }







  /* 4. CANVAS ZOOM & FIT PILL [ - | По ширине ▾ | + ] */



  .zcu-zoom-fit-pill {



    display: inline-flex !important;



    align-items: center;



    background: #ffffff;



    border: 1px solid #e2e8f0;



    border-radius: 24px;



    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);



    padding: 3px 8px;



    gap: 8px;



    margin: 8px auto 6px auto;



    z-index: 10;



    flex-shrink: 0;



  }



  .zcu-zfp-btn {



    border: none;



    background: transparent;



    font-size: 16px;



    font-weight: 700;



    color: #475569;



    width: 28px;



    height: 28px;



    display: flex;



    align-items: center;



    justify-content: center;



    cursor: pointer;



    border-radius: 50%;



  }



  .zcu-zfp-btn:active {



    background: #f1f5f9;



  }



  .zcu-zfp-sep {



    width: 1px;



    height: 14px;



    background: #e2e8f0;



  }



  .zcu-zfp-label {



    border: none;



    background: transparent;



    font-size: 12px;



    font-weight: 600;



    color: #0f172a;



    display: flex;



    align-items: center;



    gap: 4px;



    padding: 0 4px;



    cursor: pointer;



  }



  .zcu-zfp-arrow {



    font-size: 9px;



    color: #64748b;



  }







  /* 5. ON-CANVAS MINI FLOATING ACTION PILL (Screen 2 UX: [ 🗑 | ⧉ | ⋯ ]) */



  .zcu-floating-obj-pill {



    position: absolute;



    display: none;



    background: #ffffff;



    border-radius: 20px;



    padding: 3px 6px;



    gap: 4px;



    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);



    border: 1px solid #e2e8f0;



    z-index: 35;



    transform: translate(-50%, -100%);



    margin-top: -8px;



  }



  .zcu-floating-obj-pill.active {



    display: flex !important;



  }



  .zcu-fop-btn {



    width: auto;



    height: 30px;



    border-radius: 50%;



    background: #f8fafc;



    border: 1px solid #e2e8f0;



    display: flex;



    align-items: center;



    justify-content: center;



    font-size: 13px;



    color: #334155;



    cursor: pointer;



    transition: all 0.15s;



  }



  .zcu-fop-btn:hover, .zcu-fop-btn:active {



    background: #1f239c;



    color: #ffffff;



    border-color: #1f239c;



  }



  .zcu-fop-btn.zcu-fop-del:hover, .zcu-fop-btn.zcu-fop-del:active {



    background: #dc2626;



    color: #ffffff;



    border-color: #dc2626;



  }







  /* 6. UNIFIED QUICK PANELS SYSTEM (Screens 2 - 7) */



  .zcu-quick-sheet {



    display: flex !important;



    flex-direction: column;



    position: fixed;



    bottom: 104px;



    left: 8px;



    right: 8px;



    max-width: 440px;



    margin: 0 auto;



    background: #ffffff;



    border-radius: 18px;



    border: 1px solid #e2e8f0;



    box-shadow: 0 -4px 25px rgba(15, 23, 42, 0.15), 0 2px 8px rgba(0, 0, 0, 0.04);



    padding: 10px 14px 14px 14px;



    z-index: 55;



    max-height: calc(100vh - 350px);



    max-height: calc(100dvh - 350px);



    min-height: 180px;



    box-sizing: border-box;



    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease;



    transform: translateY(0);



    opacity: 1;



    pointer-events: auto;



  }



  .zcu-quick-sheet.collapsed {



    transform: translateY(calc(100% + 140px));



    opacity: 0;



    pointer-events: none;



  }



  .zcu-quick-handle {



    width: 38px;



    height: 4px;



    background: #cbd5e1;



    border-radius: 2px;



    margin: 0 auto 8px auto;



    cursor: pointer;



    flex-shrink: 0;



  }



  .zcu-quick-header {



    display: flex;



    align-items: center;



    justify-content: space-between;



    padding-bottom: 8px;



    margin-bottom: 10px;



    border-bottom: 1px solid #f1f5f9;



    flex-shrink: 0;



  }



  .zcu-quick-title-box {



    display: flex;



    align-items: center;



    gap: 8px;



  }



  .zcu-quick-icon {



    width: 26px;



    height: 26px;



    border-radius: 7px;



    background: #eef2ff;



    color: #4f46e5;



    display: flex;



    align-items: center;



    justify-content: center;



    font-size: 13px;



    font-weight: 700;



  }



  .zcu-quick-title {



    font-size: 14px;



    font-weight: 700;



    color: #0f172a;



  }



  .zcu-quick-close-btn {



    width: 28px;



    height: 28px;



    border-radius: 50%;



    background: #f1f5f9;



    border: none;



    display: flex;



    align-items: center;



    justify-content: center;



    color: #64748b;



    font-size: 13px;



    cursor: pointer;



    transition: all 0.15s;



  }



  .zcu-quick-close-btn:hover, .zcu-quick-close-btn:active {



    background: #e2e8f0;



    color: #0f172a;



  }



  .zcu-quick-body {



    overflow-y: auto;



    -webkit-overflow-scrolling: touch;



    flex: 1;



    padding-right: 2px;



  }



  .zcu-quick-panel {



    display: none;



  }



  .zcu-quick-panel.active {



    display: block;



  }







  /* 4-TOOL GRID (Screen 2: Image Tools) */



  .zcu-tool-grid-4 {



    display: grid;



    grid-template-columns: repeat(4, 1fr);



    gap: 8px;



    margin-bottom: 10px;



  }



  .zcu-tool-card {



    display: flex;



    flex-direction: column;



    align-items: center;



    justify-content: center;



    background: #f8fafc;



    border: 1px solid #e2e8f0;



    border-radius: 10px;



    padding: 8px 4px;



    cursor: pointer;



    transition: all 0.15s;



  }



  .zcu-tool-card:hover, .zcu-tool-card:active {



    background: #eef2ff;



    border-color: #6366f1;



  }



  .zcu-tool-card-icon {



    font-size: 16px;



    color: #1f239c;



    margin-bottom: 4px;



  }



  .zcu-tool-card-label {



    font-size: 11px;



    font-weight: 600;



    color: #334155;



    text-align: center;



  }



  .zcu-filters-bar {



    display: flex;



    gap: 6px;



    overflow-x: auto;



    padding: 4px 0 10px 0;



    margin-bottom: 8px;



    border-bottom: 1px dashed #e2e8f0;



    -webkit-overflow-scrolling: touch;



  }



  .zcu-filter-chip {



    padding: 5px 12px;



    border-radius: 14px;



    border: 1px solid #cbd5e1;



    background: #ffffff;



    font-size: 11px;



    font-weight: 600;



    color: #334155;



    white-space: nowrap;



    cursor: pointer;



  }



  .zcu-filter-chip.active {



    background: #1f239c;



    color: #ffffff;



    border-color: #1f239c;



  }







  /* SLIDERS (Screen 2 & 3) */



  .zcu-slider-row {



    display: flex;



    align-items: center;



    gap: 10px;



    margin-bottom: 10px;



  }



  .zcu-slider-title {



    width: 95px;



    font-size: 12px;



    font-weight: 600;



    color: #475569;



    flex-shrink: 0;



  }



  .zcu-slider-track-wrap {



    flex: 1;



    display: flex;



    align-items: center;



  }



  .zcu-slider-badge {



    min-width: 40px;



    padding: 3px 6px;



    background: #f1f5f9;



    border-radius: 6px;



    font-size: 12px;



    font-weight: 700;



    color: #0f172a;



    text-align: center;



  }



  .zcu-action-btn-row {



    display: flex;



    gap: 8px;



    margin-top: 8px;



  }



  .zcu-quick-action-btn {



    flex: 1;



    height: 36px;



    border-radius: 10px;



    background: #f8fafc;



    border: 1px solid #e2e8f0;



    font-size: 12px;



    font-weight: 600;



    color: #1e293b;



    display: flex;



    align-items: center;



    justify-content: center;



    gap: 6px;



    cursor: pointer;



    transition: all 0.15s;



  }



  .zcu-quick-action-btn:hover, .zcu-quick-action-btn:active {



    background: #eef2ff;



    border-color: #6366f1;



  }



  .zcu-quick-action-btn.active {



    background: #1f239c;



    color: #ffffff;



    border-color: #1f239c;



  }



  .zcu-action-danger {



    color: #dc2626;



    background: #fef2f2;



    border-color: #fee2e2;



  }



  .zcu-action-danger:hover {



    background: #fee2e2;



  }







  /* TEXT EDITING (Screen 3) */



  .zcu-quick-text-input-wrap {



    margin-bottom: 10px;



  }



  .zcu-quick-text-input {



    width: 100%;



    height: 42px;



    border-radius: 10px;



    border: 1.5px solid #cbd5e1;



    padding: 0 12px;



    font-size: 14px;



    font-weight: 600;



    color: #0f172a;



    box-sizing: border-box;



    outline: none;



    background: #ffffff;



    transition: border-color 0.15s;



  }



  .zcu-quick-text-input:focus {



    border-color: #1f239c;



    box-shadow: 0 0 0 3px rgba(31, 35, 156, 0.1);



  }



  .zcu-quick-colors-row {



    display: flex;



    align-items: center;



    gap: 8px;



    margin-bottom: 10px;



    overflow-x: auto;



    padding: 4px 0;



    -webkit-overflow-scrolling: touch;



  }



  .zcu-qcolor-circle {



    width: 28px;



    height: 28px;



    border-radius: 50%;



    cursor: pointer;



    flex-shrink: 0;



    transition: transform 0.15s;



    box-shadow: 0 1px 3px rgba(0,0,0,0.15);



  }



  .zcu-qcolor-circle.active {



    transform: scale(1.15);



    outline: 2.5px solid #1f239c;



    outline-offset: 2px;



  }



  .zcu-qcolor-picker-label {



    width: 28px;



    height: 28px;



    border-radius: 50%;



    background: linear-gradient(135deg, #f43f5e, #8b5cf6, #3b82f6);



    color: #ffffff;



    display: flex;



    align-items: center;



    justify-content: center;



    font-size: 12px;



    cursor: pointer;



    flex-shrink: 0;



    position: relative;



    overflow: hidden;



  }



  .zcu-hidden-color-input {



    position: absolute;



    top: 0;



    left: 0;



    width: 100%;



    height: 100%;



    opacity: 0;



    cursor: pointer;



  }



  .zcu-ctx-select-container {



    position: relative;



    display: flex;



    align-items: center;



    flex: 1;



    min-width: 0;



    max-width: 100%;



    box-sizing: border-box;



  }



  .zcu-font-picker-trigger {



    width: 100%;



    height: 38px;



    background: #f8fafc;



    border: 1px solid #cbd5e1;



    border-radius: 10px;



    padding: 0 32px 0 12px;



    display: flex;



    align-items: center;



    justify-content: space-between;



    text-align: left;



    cursor: pointer;



    box-sizing: border-box;



    transition: border-color 0.15s, box-shadow 0.15s;



    outline: none;



  }



  .zcu-font-picker-trigger:focus, .zcu-font-picker-trigger:hover {



    border-color: #2b14c4;



    background: #ffffff;



  }



  .zcu-font-trigger-text {



    font-size: 13px;



    font-weight: 600;



    color: #0f172a;



    white-space: nowrap;



    overflow: hidden;



    text-overflow: ellipsis;



  }



  .zcu-font-picker-dropdown {



    position: absolute;



    top: calc(100% + 4px);



    left: 0;



    right: 0;



    width: 100%;



    max-width: 100%;



    box-sizing: border-box;



    background: #ffffff;



    border: 1.5px solid #cbd5e1;



    border-radius: 12px;



    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.16);



    z-index: 1000;



    overflow-y: auto;



    max-height: 200px;



    padding: 4px;



  }



  .zcu-font-option {



    display: flex;



    align-items: center;



    justify-content: space-between;



    padding: 8px 10px;



    border-radius: 8px;



    cursor: pointer;



    transition: background 0.12s;



  }



  .zcu-font-option:hover, .zcu-font-option.active {



    background: #eff6ff;



  }



  .zcu-font-option.active .zcu-fo-name {



    color: #2b14c4;



    font-weight: 700;



  }



  .zcu-fo-name {



    font-size: 14px;



    color: #0f172a;



    white-space: nowrap;



    overflow: hidden;



    text-overflow: ellipsis;



  }



  .zcu-fo-tag {



    font-size: 11px;



    color: #64748b;



    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;



    background: #f1f5f9;



    padding: 2px 6px;



    border-radius: 4px;



    flex-shrink: 0;



  }



  .zcu-ctx-select {



    width: 100%;



    height: 38px;



    background: #f8fafc;



    border: 1px solid #cbd5e1;



    border-radius: 10px;



    padding: 0 32px 0 12px;



    font-size: 13px;



    font-weight: 600;



    color: #0f172a;



    outline: none;



    cursor: pointer;



    -webkit-appearance: none;



    -moz-appearance: none;



    appearance: none;



    transition: border-color 0.15s, box-shadow 0.15s;



    box-sizing: border-box;



  }



  .zcu-ctx-select:focus {



    border-color: #1f239c;



    box-shadow: 0 0 0 3px rgba(31, 35, 156, 0.1);



  }



  .zcu-ctx-select-chevron {



    position: absolute;



    right: 12px;



    top: 50%;



    transform: translateY(-50%);



    pointer-events: none;



    color: #64748b;



    font-size: 11px;



  }



  .zcu-qtext-tools-row {



    display: flex;



    align-items: center;



    justify-content: space-between;



    gap: 8px;



    margin-bottom: 10px;



  }



  .zcu-align-segmented-bar {



    display: inline-flex;



    background: #f1f5f9;



    border-radius: 10px;



    padding: 3px;



    gap: 3px;



    border: 1px solid #e2e8f0;



  }



  .zcu-align-segment-btn {



    width: 38px;



    height: 32px;



    border-radius: 7px;



    border: none;



    background: transparent;



    font-size: 13px;



    font-weight: 600;



    color: #64748b;



    display: inline-flex;



    align-items: center;



    justify-content: center;



    cursor: pointer;



    transition: all 0.15s ease;



  }



  .zcu-align-segment-btn:hover {



    color: #1e293b;



  }



  .zcu-align-segment-btn.active {



    background: #ffffff;



    color: #1f239c;



    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);



  }







  /* PHOTO UPLOAD (Screen 4) */



  .zcu-upload-big-options {



    margin-bottom: 12px;



  }



  .zcu-upload-card-btn.primary {



    width: 100%;



    height: 48px;



    border-radius: 12px;



    background: #eef2ff;



    border: 1.5px dashed #6366f1;



    color: #4338ca;



    display: flex;



    align-items: center;



    justify-content: center;



    gap: 10px;



    cursor: pointer;



    margin-bottom: 8px;



  }



  .zcu-upload-card-btn.primary:hover {



    background: #e0e7ff;



  }



  .zcu-uc-icon {



    font-size: 18px;



  }



  .zcu-uc-title {



    font-size: 13px;



    font-weight: 700;



  }



  .zcu-upload-card-row {



    display: flex;



    gap: 8px;



  }



  .zcu-upload-card-btn.secondary {



    flex: 1;



    height: 38px;



    border-radius: 10px;



    background: #f8fafc;



    border: 1px solid #cbd5e1;



    font-size: 12px;



    font-weight: 600;



    color: #334155;



    display: flex;



    align-items: center;



    justify-content: center;



    gap: 6px;



    cursor: pointer;



  }



  .zcu-preset-art-grid {



    display: grid;



    grid-template-columns: repeat(4, 1fr);



    gap: 8px;



    margin-top: 8px;



  }



  .zcu-art-card {



    border-radius: 10px;



    border: 1px solid #e2e8f0;



    background: #f8fafc;



    padding: 6px;



    display: flex;



    flex-direction: column;



    align-items: center;



    cursor: pointer;



    transition: all 0.15s;



  }



  .zcu-art-card:hover {



    border-color: #6366f1;



    transform: translateY(-2px);



  }



  .zcu-art-card img {



    width: 48px;



    height: 48px;



    object-fit: cover;



    border-radius: 6px;



    margin-bottom: 4px;



  }



  .zcu-art-card-fallback {



    width: 48px;



    height: 48px;



    border-radius: 6px;



    display: flex;



    align-items: center;



    justify-content: center;



    font-size: 20px;



    margin-bottom: 4px;



  }



  .zcu-art-card span {



    font-size: 10px;



    font-weight: 600;



    color: #334155;



    text-align: center;



    white-space: nowrap;



    overflow: hidden;



    text-overflow: ellipsis;



    max-width: 100%;



  }







  /* CLIPARTS (Screen 5) */



  .zcu-search-box {



    position: relative;



    margin-bottom: 8px;



  }



  .zcu-search-icon {



    position: absolute;



    left: 10px;



    top: 50%;



    transform: translateY(-50%);



    color: #94a3b8;



    font-size: 13px;



  }



  .zcu-search-input {



    width: 100%;



    height: 36px;



    padding: 0 10px 0 32px;



    border-radius: 8px;



    border: 1px solid #cbd5e1;



    font-size: 12px;



    outline: none;



    box-sizing: border-box;



  }



  .zcu-chips-scroll-row {



    display: flex;



    gap: 6px;



    overflow-x: auto;



    padding-bottom: 6px;



    margin-bottom: 8px;



    -webkit-overflow-scrolling: touch;



  }



  .zcu-chip-filter {



    padding: 4px 10px;



    border-radius: 12px;



    background: #f1f5f9;



    border: 1px solid #e2e8f0;



    font-size: 11px;



    font-weight: 600;



    color: #475569;



    white-space: nowrap;



    cursor: pointer;



  }



  .zcu-chip-filter.active {



    background: #1f239c;



    color: #ffffff;



    border-color: #1f239c;



  }



  .zcu-clipart-grid {



    display: grid;



    grid-template-columns: repeat(5, 1fr);



    gap: 8px;



    max-height: 160px;



    overflow-y: auto;



  }



  .zcu-clipart-item {



    height: 48px;



    background: #f8fafc;



    border: 1px solid #e2e8f0;



    border-radius: 8px;



    display: flex;



    align-items: center;



    justify-content: center;



    font-size: 22px;



    cursor: pointer;



    transition: all 0.15s;



  }



  .zcu-clipart-item:hover, .zcu-clipart-item:active {



    background: #eef2ff;



    border-color: #6366f1;



    transform: scale(1.08);



  }







  /* BACKGROUND & PATTERNS (Screen 6) */



  .zcu-subnav-segmented {



    display: flex;



    background: #f1f5f9;



    border-radius: 10px;



    padding: 3px;



    gap: 3px;



    margin-bottom: 12px;



  }



  .zcu-subnav-btn {



    flex: 1;



    height: 32px;



    border-radius: 7px;



    border: none;



    background: transparent;



    font-size: 11px;



    font-weight: 600;



    color: #475569;



    display: flex;



    align-items: center;



    justify-content: center;



    gap: 4px;



    cursor: pointer;



  }



  .zcu-subnav-btn.active {



    background: #ffffff;



    color: #0f172a;



    box-shadow: 0 1px 3px rgba(0,0,0,0.1);



  }



  .zcu-subtab-pane {



    display: none;



  }



  .zcu-subtab-pane.active {



    display: block;



  }



  .zcu-patterns-grid {



    display: grid;



    grid-template-columns: repeat(3, 1fr);



    gap: 8px;



  }



  .zcu-pattern-card {



    border-radius: 10px;



    border: 1.5px solid #e2e8f0;



    background: #ffffff;



    padding: 6px;



    display: flex;



    flex-direction: column;



    align-items: center;



    cursor: pointer;



    transition: all 0.15s;



  }



  .zcu-pattern-card.active, .zcu-pattern-card:hover {



    border-color: #1f239c;



    background: #f8fafc;



  }



  .zcu-pattern-preview {



    width: 100%;



    height: 44px;



    border-radius: 6px;



    display: flex;



    align-items: center;



    justify-content: center;



    font-size: 16px;



    margin-bottom: 4px;



    border: 1px solid #e2e8f0;



    overflow: hidden;



  }



  .paws-preview {



    background: #f8fafc;



    color: #64748b;



    letter-spacing: 2px;



  }



  .hearts-preview {



    background: #fff1f2;



    color: #e11d48;



  }



  .dots-preview {



    background: #f1f5f9;



    color: #94a3b8;



    letter-spacing: 3px;



    font-size: 10px;



  }



  .stars-preview {



    background: #fefce8;



    color: #ca8a04;



  }



  .stripes-preview {



    background: repeating-linear-gradient(45deg, #f1f5f9, #f1f5f9 6px, #ffffff 6px, #ffffff 12px);



    color: #64748b;



    font-weight: 800;



  }



  .zcu-pattern-card span {



    font-size: 11px;



    font-weight: 600;



    color: #334155;



  }



  .zcu-color-palette-grid {



    display: grid;



    grid-template-columns: repeat(5, 1fr);



    gap: 10px;



    padding: 4px 0;



  }



  .zcu-bg-color-item {



    height: 40px;



    border-radius: 10px;



    cursor: pointer;



    box-shadow: 0 1px 3px rgba(0,0,0,0.1);



    transition: transform 0.15s;



  }



  .zcu-bg-color-item.active {



    transform: scale(1.1);



    outline: 2.5px solid #1f239c;



    outline-offset: 2px;



  }



  .zcu-bg-color-picker-item {



    height: 40px;



    border-radius: 10px;



    background: linear-gradient(135deg, #f43f5e, #8b5cf6, #3b82f6);



    color: #ffffff;



    display: flex;



    align-items: center;



    justify-content: center;



    font-size: 16px;



    cursor: pointer;



    position: relative;



    overflow: hidden;



  }



  .zcu-templates-list-compact {



    display: flex;



    flex-direction: column;



    gap: 8px;



  }



  .zcu-tmpl-card-item {



    display: flex;



    align-items: center;



    gap: 10px;



    padding: 8px 12px;



    border-radius: 10px;



    background: #f8fafc;



    border: 1px solid #e2e8f0;



    cursor: pointer;



  }



  .zcu-tmpl-card-item.active {



    background: #eef2ff;



    border-color: #6366f1;



  }



  .zcu-tci-icon {



    font-size: 18px;



  }



  .zcu-tci-title {



    font-size: 12px;



    font-weight: 700;



    color: #0f172a;



  }



  .zcu-tci-sub {



    font-size: 11px;



    color: #64748b;



  }







  /* LAYERS (Screen 7) */



  .zcu-layers-list {



    display: flex;



    flex-direction: column;



    gap: 6px;



    max-height: 220px;



    overflow-y: auto;



  }



  .zcu-layer-row {



    display: flex;



    align-items: center;



    justify-content: space-between;



    padding: 8px 10px;



    border-radius: 8px;



    background: #f8fafc;



    border: 1px solid #e2e8f0;



    cursor: pointer;



    transition: all 0.15s;



  }



  .zcu-layer-row.active {



    background: #eef2ff;



    border-color: #6366f1;



  }



  .zcu-layer-info {



    display: flex;



    align-items: center;



    gap: 8px;



    flex: 1;



    min-width: 0;



  }



  .zcu-layer-icon {



    font-size: 14px;



    color: #4f46e5;



    width: 20px;



    text-align: center;



  }



  .zcu-layer-name {



    font-size: 12px;



    font-weight: 600;



    color: #0f172a;



    white-space: nowrap;



    overflow: hidden;



    text-overflow: ellipsis;



  }



  .zcu-layer-actions {



    display: flex;



    align-items: center;



    gap: 4px;



  }



  .zcu-layer-act-btn {



    width: 26px;



    height: 26px;



    border-radius: 6px;



    border: 1px solid #e2e8f0;



    background: #ffffff;



    color: #64748b;



    display: flex;



    align-items: center;



    justify-content: center;



    font-size: 11px;



    cursor: pointer;



  }



  .zcu-layer-act-btn:hover {



    background: #f1f5f9;



    color: #0f172a;



  }



  .zcu-layer-act-btn.danger:hover {



    background: #fee2e2;



    color: #dc2626;



    border-color: #fca5a5;



  }







  /* 7. MOBILE BOTTOM FIXED AREA (Add to Cart + 4 Core Navigation Tabs) */



  .zcu-mobile-bottom-fixed {



    position: fixed;



    bottom: 0;



    left: 0;



    right: 0;



    width: 100%;



    background: #ffffff;



    border-top: 1px solid #e2e8f0;



    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.06);



    z-index: 50;



    display: flex !important;



    flex-direction: column;



    padding-bottom: env(safe-area-inset-bottom, 0px);



  }



  .zcu-mobile-cart-bar {



    padding: 8px 14px 4px 14px;



  }



  .zcu-mobile-cart-btn {



    width: 100%;



    height: 46px;



    border-radius: 12px;



    background: #1f239c;



    color: #ffffff;



    font-size: 15px;



    font-weight: 700;



    border: none;



    display: flex;



    align-items: center;



    justify-content: center;



    gap: 8px;



    box-shadow: 0 4px 14px rgba(31, 35, 156, 0.25);



    cursor: pointer;



    transition: all 0.15s;



  }



  .zcu-mobile-cart-btn:active {



    background: #181b7a;



    transform: scale(0.98);



  }



  .zcu-mobile-nav {



    display: flex !important;



    justify-content: space-around;



    align-items: center;



    height: 50px;



    padding: 0 4px;



  }



  .zcu-mobile-nav-item {



    flex: 1;



    display: flex;



    flex-direction: column;



    align-items: center;



    justify-content: center;



    height: 46px;



    border: none;



    background: transparent;



    cursor: pointer;



    color: #64748b;



    transition: all 0.15s;



    position: relative;



  }



  .zcu-mobile-nav-item.active {



    color: #1f239c;



    font-weight: 700;



  }



  .zcu-mobile-nav-item.active::after {
    display: none !important;
  }



  .zcu-mobile-nav-icon {



    font-size: 16px;



    margin-bottom: 2px;



  }



  .zcu-mobile-nav-label {



    font-size: 10px;



    font-weight: 600;



    line-height: 1;



  }







  /* Disable conflicting desktop drawer on mobile */



  .zcu-drawer,



  .zcu-drawer-backdrop {



    display: none !important;



  }







  /* 8. 3D REALVIEW MODAL ON MOBILE (Screen 8 UX) */



  .zcu-modal-overlay {



    padding: 8px;



  }



  .zcu-modal-card {



    width: 100%;



    max-width: 100vw;



    height: auto;



    max-height: 94vh;



    border-radius: 16px;



    overflow: hidden;



  }



  .zcu-modal-header {



    padding: 10px 14px;



  }



  .zcu-modal-title {



    font-size: 14px;



  }



  .zcu-modal-close-btn {



    width: 34px;



    height: 34px;



    font-size: 22px;



  }



  .zcu-modal-body {



    flex-direction: column;



    padding: 10px;



    gap: 8px;



    overflow-y: auto;



  }



  .zcu-3d-stage {



    width: 100%;



    height: 270px;



    max-height: 38vh;



    aspect-ratio: auto;



  }



  .zcu-modal-angles-section {



    margin-top: 6px;



    padding-top: 8px;



    border-top: 1px solid #f1f5f9;



  }



  .zcu-angles-title {



    font-size: 12px;



    font-weight: 700;



    color: #475569;



    margin-bottom: 6px;



  }



  .zcu-angles-carousel {



    display: flex;



    gap: 6px;



    overflow-x: auto;



    padding-bottom: 6px;



    -webkit-overflow-scrolling: touch;



  }



  .zcu-angle-pill-card {



    flex-shrink: 0;



    height: 34px;



    padding: 0 12px;



    border-radius: 17px;



    border: 1px solid #cbd5e1;



    background: #ffffff;



    font-size: 11px;



    font-weight: 600;



    color: #334155;



    display: flex;



    align-items: center;



    gap: 6px;



    cursor: pointer;



    transition: all 0.15s;



  }



  .zcu-angle-pill-card.active {



    background: #1f239c;



    color: #ffffff;



    border-color: #1f239c;



  }



  .zcu-sublimation-checkbox-label {



    display: flex;



    align-items: center;



    gap: 8px;



    font-size: 12px;



    font-weight: 600;



    color: #334155;



    margin-top: 8px;



    cursor: pointer;



  }



  .zcu-modal-footer {



    padding: 10px 14px;



  }



  .zcu-modal-checkout-row {



    display: flex;



    align-items: center;



    gap: 10px;



    width: 100%;



  }



  .zcu-modal-cart-primary-btn {



    flex: 1;



    height: 48px;



    border-radius: 12px;



    background: #1f239c;



    color: #ffffff;



    font-size: 15px;



    font-weight: 700;



    border: none;



    display: flex;



    align-items: center;



    justify-content: center;



    gap: 8px;



    cursor: pointer;



    box-shadow: 0 4px 14px rgba(31, 35, 156, 0.25);



    transition: all 0.15s;



  }



  .zcu-modal-cart-primary-btn:active {



    background: #181b7a;



    transform: scale(0.98);



  }



  .zcu-modal-share-icon-btn {



    height: 48px;



    padding: 0 16px;



    border-radius: 12px;



    background: #f1f5f9;



    border: 1px solid #e2e8f0;



    color: #334155;



    font-size: 13px;



    font-weight: 600;



    display: flex;



    align-items: center;



    gap: 6px;



    cursor: pointer;



  }



  .zcu-modal-share-icon-btn:hover {



    background: #e2e8f0;



  }



}











/* ==========================================================================



   55+ MUGS PICKER IN CUSTOMIZER OPTIONS TAB (Desktop & Mobile UX/UI)



   ========================================================================== */



#zcu-section-options.active {



  display: flex;



  flex-direction: column;



  flex: 1;



  min-height: 0;



}







.zcu-active-mug-card {



  display: flex;



  align-items: center;



  gap: 12px;



  padding: 11px 12px;



  border-radius: 12px;



  background: #f0f3ff;



  border: 1.5px solid #c9d5ff;



  margin-bottom: 12px;



  flex-shrink: 0;



}



.zcu-active-mug-card img {



  width: 56px;



  height: 56px;



  object-fit: contain;



  background: #ffffff;



  border-radius: 10px;



  border: 1px solid #e2e8f0;



  padding: 3px;



  flex-shrink: 0;



}



.zcu-active-mug-info {



  min-width: 0;



  flex: 1;



}



.zcu-active-mug-label {



  font-size: 10.5px;



  font-weight: 700;



  color: #64748b;



  text-transform: uppercase;



  letter-spacing: 0.3px;



}



.zcu-active-mug-info b {



  display: block;



  font-size: 13px;



  color: #0f172a;



  line-height: 1.25;



  white-space: nowrap;



  overflow: hidden;



  text-overflow: ellipsis;



}



.zcu-active-mug-meta {



  display: flex;



  align-items: center;



  gap: 6px;



  font-size: 12.5px;



  font-weight: 700;



  color: #1f239c;



  margin-top: 3px;



}



.zcu-opt-color-dot {



  width: 11px;



  height: 11px;



  border-radius: 50%;



  border: 1px solid rgba(0, 0, 0, 0.25);



  display: inline-block;



  flex-shrink: 0;



}







/* Family Filter Chips inside Customizer:



   Desktop wraps all 9 chips so every category is immediately visible & clickable;



   Mobile scrolls horizontally with touch/wheel/drag. */



.zcu-mug-fam-chips {



  display: flex;



  flex-wrap: wrap;



  align-items: center;



  gap: 6px;



  padding-bottom: 4px;



  margin-bottom: 12px;



  flex-shrink: 0;



}



.zcu-fam-chip {



  white-space: nowrap;



  padding: 6px 11px;



  border-radius: 999px;



  border: 1.5px solid #cbd5e1;



  background: #ffffff;



  color: #334155;



  font-size: 12px;



  font-weight: 600;



  cursor: pointer;



  flex-shrink: 0;



  transition: all 0.15s ease;



}



.zcu-fam-chip:hover {



  border-color: #64748b;



  background: #f8fafc;



  color: #0f172a;



}



.zcu-fam-chip.active {



  background: #1f239c;



  border-color: #1f239c;



  color: #ffffff;



  box-shadow: 0 2px 8px rgba(31, 35, 156, 0.22);



}







/* 2-Column Scrollable Grid of 55 Mugs (Full Height in Desktop Drawer) */



.zcu-mug-picker-grid {



  position: relative;



  display: grid;



  grid-template-columns: repeat(2, minmax(0, 1fr));



  gap: 10px;



  flex: 1;



  min-height: 220px;



  overflow-y: auto;



  padding-right: 4px;



  align-content: start;



}



.zcu-mug-picker-mob {



  max-height: 210px;



  flex: none;



  gap: 6px;



}



.zcu-mug-pick-card {



  display: flex;



  flex-direction: column;



  text-align: left;



  padding: 9px;



  border-radius: 12px;



  border: 1.5px solid #e2e8f0;



  background: #ffffff;



  cursor: pointer;



  transition: all 0.15s ease;



}



.zcu-mug-pick-card:hover {



  border-color: #94a3b8;



  transform: translateY(-1px);



  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);



}



.zcu-mug-pick-card.active {



  border-color: #1f239c;



  background: #f5f7ff;



  box-shadow: 0 0 0 1.5px #1f239c;



}



.zcu-mug-pick-thumb {



  position: relative;



  width: 100%;



  height: 98px;



  background: #f8fafc;



  border-radius: 8px;



  display: flex;



  align-items: center;



  justify-content: center;



  margin-bottom: 7px;



  padding: 4px;



}



.zcu-mug-pick-thumb img {



  max-width: 100%;



  max-height: 100%;



  object-fit: contain;



}



.zcu-mug-pick-vol {



  position: absolute;



  top: 4px;



  right: 4px;



  background: #ffffff;



  border: 1px solid #e2e8f0;



  color: #334155;



  font-size: 10px;



  font-weight: 700;



  padding: 2px 6px;



  border-radius: 999px;



}



.zcu-mug-pick-meta {



  display: flex;



  align-items: center;



  gap: 6px;



  font-size: 12.5px;



  font-weight: 700;



  color: #0f172a;



}



.zcu-mug-pick-dot {



  width: 11px;



  height: 11px;



  border-radius: 50%;



  border: 1px solid rgba(0, 0, 0, 0.22);



  flex-shrink: 0;



}



.zcu-mug-pick-color {



  overflow: hidden;



  text-overflow: ellipsis;



  white-space: nowrap;



}



.zcu-mug-pick-name {



  font-size: 11px;



  color: #64748b;



  line-height: 1.25;



  margin-top: 3px;



  display: -webkit-box;



  -webkit-line-clamp: 2;



  -webkit-box-orient: vertical;



  overflow: hidden;



}











/* ==========================================================================



   MUG CONTEXT — выбранная кружка видна в конструкторе



   (2D-сцена вокруг развёртки, плашка «что за кружка», живое 3D-мини-превью)



   ========================================================================== */







/* Кружка, нарисованная вокруг развёртки: ручка слева, ободок/цвет внутри сверху, цвет корпуса под макетом.



   Лежит внутри .zcu-wrap-sheet (z-index:-1) и масштабируется вместе с ним. */



.zcu-ctx-mug {



  position: absolute;



  left: -132px;



  top: -60px;



  width: 1012px;



  height: 444px;



  pointer-events: none;



  z-index: -1;



}



.zcu-ctx-mug svg {



  display: block;



}







/* Размеры 3.6 / 8.5 in не должны лежать поверх ручки — переносим их вправо */



.zcu-dim-left {



  left: auto;



  right: -42px;



  font-size: 12px;



  transform: translateY(-50%) rotate(90deg);



}



.zcu-dim-bottom {



  font-size: 12px;



  bottom: -30px;



}







/* Плашка над кружкой: «Цветной ободок и ручка · Лазурная · 330 мл  [Сменить]» */



.zcu-ctx-pill {



  position: absolute;



  z-index: 40;



  display: flex;



  align-items: center;



  gap: 12px;



  padding: 8px 10px 8px 14px;



  background: #ffffff;



  border: 1px solid #e2e8f0;



  border-radius: 16px;



  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.09);



  max-width: 520px;



  white-space: nowrap;



  top: -86px;



  left: 0;



}



.zcu-ctx-dots {



  display: inline-flex;



  gap: 4px;



  flex-shrink: 0;



}



.zcu-ctx-dots i {



  display: block;



  width: 23px;



  height: 23px;



  border-radius: 50%;



  border: 1.5px solid rgba(0, 0, 0, 0.22);



  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.45);



}



.zcu-ctx-text {



  min-width: 0;



  display: block;



}



.zcu-ctx-text b {



  display: block;



  font-size: 13.5px;



  font-weight: 800;



  color: #0f172a;



  line-height: 1.2;



  overflow: hidden;



  text-overflow: ellipsis;



}



.zcu-ctx-text small {



  display: block;



  font-size: 12px;



  font-weight: 600;



  color: #64748b;



  line-height: 1.25;



  overflow: hidden;



  text-overflow: ellipsis;



}



.zcu-ctx-change {



  flex-shrink: 0;



  border: 1.5px solid #c9d5ff;



  background: #f0f3ff;



  color: #1f239c;



  font-size: 12.5px;



  font-weight: 700;



  padding: 7px 13px;



  border-radius: 999px;



  cursor: pointer;



  transition: all 0.15s ease;



}



.zcu-ctx-change:hover {



  background: #1f239c;



  border-color: #1f239c;



  color: #ffffff;



}







/* Живое мини-превью: скрыто по запросу пользователя */

.zcu-mini-card, #zcu-mini-card { display: none !important; }

/* 



.zcu-mini-card {



  position: absolute !important;



  top: 66px !important;



  right: 14px !important;



  width: 64px !important;



  padding: 3px !important;



  border-radius: 8px !important;



  border: 1.5px solid #cbd5e1 !important;



  background: #ffffff !important;



  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08) !important;



  cursor: pointer !important;



  z-index: 30 !important;



  text-align: center !important;



  transition: all 0.15s ease !important;



}



.zcu-mini-card:hover {



  border-color: #1f239c !important;



  box-shadow: 0 6px 18px rgba(31, 35, 156, 0.16) !important;



  transform: translateY(-1px);



}



.zcu-mini-3d {



  width: 100% !important;



  height: 48px !important;



  border-radius: 5px !important;



  background: linear-gradient(180deg, #f8fafc 0%, #edf0f6 100%) !important;



  overflow: hidden !important;



}



.zcu-mini-3d canvas {



  display: block;



  width: 100% !important;



  height: 100% !important;



}



.zcu-mini-label {



  display: block;



  margin-top: 3px;



  font-size: 10px;



  font-weight: 700;



  color: #1f239c;



}







/* Сводка «Выбранная основа» */



.zcu-active-mug-kind {



  font-size: 11.5px;



  font-weight: 600;



  color: #64748b;



  margin-top: 2px;



}







/* Подсказка для логотипных кружек (без технических терминов) */



.zcu-logo-hint {



  display: flex;



  gap: 10px;



  align-items: flex-start;



  margin-top: 14px;



  padding: 12px 14px;



  border-radius: 12px;



  background: #f0f3ff;



  border: 1px solid #c9d5ff;



  font-size: 12.5px;



  line-height: 1.45;



  color: #334155;



}



.zcu-logo-hint i {



  color: #1f239c;



  margin-top: 2px;



  font-size: 16px;



}







/* Уведомление при смене кружки */



.zcu-ctx-toast {



  position: fixed;



  left: 50%;



  bottom: 96px;



  transform: translateX(-50%) translateY(16px);



  background: #0f172a;



  color: #ffffff;



  padding: 12px 20px;



  border-radius: 14px;



  font-size: 14px;



  font-weight: 600;



  line-height: 1.35;



  max-width: 90vw;



  text-align: center;



  opacity: 0;



  pointer-events: none;



  transition: opacity 0.25s ease, transform 0.25s ease;



  z-index: 100000;



  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);



}



.zcu-ctx-toast.show {



  opacity: 1;



  transform: translateX(-50%) translateY(0);



}







/* ==========================================================================



   DESKTOP ZAZZLE ORIGINAL SCALE (Large Ribbon, 356px Drawer, Large Controls)



   ========================================================================== */



@media (min-width: 769px) {



  .zcu-header {



    height: 60px;



    padding: 0 24px;



  }



  .zcu-btn-exit {



    font-size: 14px;



    padding: 8px 12px;



    gap: 8px;



  }



  .zcu-product-meta {



    font-size: 14.5px;



  }



  .zcu-status-pill {



    font-size: 13px;



  }



  .zcu-nav-tabs {



    gap: 30px;



  }



  .zcu-nav-tab {



    font-size: 15px;



    padding: 0 10px;



  }



  .zcu-tool-icon-btn {



    width: 38px;



    height: 38px;



    font-size: 15px;



  }



  .zcu-btn-preview {



    padding: 9px 18px;



    font-size: 14px;



    border-radius: 22px;



  }



  .zcu-btn-next {



    padding: 10px 26px;



    font-size: 14.5px;



    border-radius: 24px;



  }







  /* Floating Left Ribbon Card (Exact Original Zazzle Style) */



  .zcu-ribbon {



    width: 76px;



    margin: 14px 0 14px 14px;



    border-radius: 16px;



    border: 1px solid #e2e8f0;



    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);



    padding: 10px 0;



  }



  .zcu-ribbon-item {



    width: 64px;



    height: 60px;



    margin-bottom: 6px;



    border-radius: 12px;



  }



  .zcu-ribbon-icon {



    font-size: 20px;



    margin-bottom: 4px;



  }



  .zcu-ribbon-label {



    font-size: 11px;



    font-weight: 600;



  }







  /* Wide Floating Left Drawer Card (356px like Original Zazzle) */



  .zcu-drawer {



    left: 102px;



    top: 14px;



    bottom: 72px;



    width: 356px;



    border-radius: 16px;



    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.10), 0 1px 4px rgba(15, 23, 42, 0.05);



  }



  .zcu-drawer-header {



    height: 56px;



    padding: 0 20px;



  }



  .zcu-drawer-title {



    font-size: 18px;



    font-weight: 800;



  }



  .zcu-drawer-close {



    font-size: 18px;



    padding: 6px 8px;



    border-radius: 8px;



  }



  .zcu-drawer-body {



    padding: 16px 18px;



    display: flex;



    flex-direction: column;



  }







  /* Larger inputs, buttons, and cards across all drawer tabs */



  .zcu-label {



    font-size: 12px;



    margin-bottom: 6px;



  }



  .zcu-input,



  .zcu-select {



    padding: 10px 12px !important;



    font-size: 13.5px !important;



    border-radius: 8px;



  }



  .zcu-btn-block {



    padding: 12px 16px;



    font-size: 14px;



    border-radius: 10px;



  }



  .zcu-color-circle {



    width: 30px;



    height: 30px;



  }



  .zcu-template-card {



    padding: 10px;



    gap: 12px;



    border-radius: 10px;



  }



  .zcu-template-card img {



    width: 58px;



    height: 58px;



    border-radius: 6px;



  }



  .zcu-template-card-title {



    font-size: 14px;



  }



  .zcu-layer-item {



    padding: 10px 12px;



    border-radius: 10px;



  }



  .zcu-layer-icon {



    width: 32px;



    height: 32px;



    font-size: 13px;



  }



  .zcu-layer-name {



    font-size: 13.5px;



  }







  /* Bottom Floating Zoom & Share Bar (Original Zazzle Proportions) */



  .zcu-bottom-bar {



    left: 14px;



    bottom: 14px;



    gap: 12px;



  }



  .zcu-zoom-pill {



    height: 42px;



    padding: 0 14px;



    border-radius: 24px;



    font-size: 13.5px;



  }



  .zcu-zoom-btn {



    font-size: 16px;



    padding: 4px 8px;



  }



  .zcu-circle-btn {



    width: 42px;



    height: 42px;



    font-size: 16px;



  }



  .zcu-btn-share {



    height: 42px;



    padding: 0 18px;



    border-radius: 24px;



    font-size: 13.5px;



    gap: 7px;



  }



}







/* ==========================================================================



   РЕЖИМЫ КОНСТРУКТОРА



   photo — белые и сублимационные кружки: фото, фон, шаблоны



   logo  — корпоративные цветные кружки: логотип и надписи (фото-инструменты скрыты)



   ========================================================================== */



body.zcu-mode-logo .zcu-ribbon-item[data-tab="background"],



body.zcu-mode-logo .zcu-ribbon-item[data-tab="templates"],



body.zcu-mode-logo .zcu-subnav-btn[data-sub="patterns"],



body.zcu-mode-logo .zcu-subnav-btn[data-sub="color"],



body.zcu-mode-logo .zcu-subnav-btn[data-sub="templates"],



body.zcu-mode-logo .zcu-photo-only {



  display: none !important;



}



body.zcu-mode-photo .zcu-logo-only {



  display: none !important;



}







/* ==========================================================================



   MOBILE: плашка + мини-кружка + горизонтальный скролл чипов



   ========================================================================== */



@media (max-width: 768px) {



  .zcu-mug-fam-chips {



    flex-wrap: nowrap;



    overflow-x: auto;



    -webkit-overflow-scrolling: touch;



    padding-bottom: 6px;



    margin-bottom: 8px;



  }



  .zcu-mug-pick-thumb {



    height: 62px;



    margin-bottom: 5px;



  }



  .zcu-mug-pick-card {



    padding: 6px;



    border-radius: 8px;



  }



  .zcu-mug-pick-meta {



    font-size: 10.5px;



  }



  .zcu-mug-pick-name {



    font-size: 9.5px;



    -webkit-line-clamp: 1;



  }



  .zcu-mini-card {



    display: block !important;



    position: absolute;



    top: 8px;



    right: 12px;



    width: 74px;



    padding: 4px;



    border-radius: 12px;



    z-index: 30;



  }



  .zcu-mini-3d {



    height: 58px;



  }



  .zcu-mini-label {



    display: none;



  }



  /* место над макетом под плашку и горлышко кружки */



  .zcu-wrap-sheet-wrap {



    margin-top: 78px !important;



  }



  .zcu-ctx-pill {



    max-width: calc(100vw - 104px);



    padding: 5px 8px 5px 9px;



    gap: 7px;



  }



  .zcu-ctx-dots i {



    width: 17px;



    height: 17px;



  }



  .zcu-ctx-text b {



    font-size: 11px;



  }



  .zcu-ctx-text small {



    font-size: 10px;



  }



  .zcu-ctx-change {



    padding: 5px 9px;



    font-size: 11px;



  }



  .zcu-ctx-toast {



    bottom: 150px;



  }



}







/* ==========================================================================



   MOBILE TEXT PANEL: ПЕРЕКЛЮЧАТЕЛЬ НАДПИСЕЙ + КНОПКА "+ НОВАЯ НАДПИСЬ"



   ========================================================================== */



.zcu-qtext-top-bar {



  display: flex;



  align-items: center;



  justify-content: space-between;



  gap: 8px;



  margin-bottom: 8px;



}



.zcu-qtext-layers-bar,

.zcu-qtext-pills-bar {

  display: flex;

  align-items: center;

  gap: 8px;

  overflow-x: auto;

  -webkit-overflow-scrolling: touch;

  scrollbar-width: none;

  min-width: 0;

  margin-bottom: 12px;

  padding: 2px 2px 4px 2px;

}



.zcu-qtext-layers-bar::-webkit-scrollbar,

.zcu-qtext-pills-bar::-webkit-scrollbar {

  display: none;

}



.zcu-qtext-layer-pill {

  display: inline-flex;

  align-items: center;

  gap: 6px;

  padding: 6px 12px;

  border-radius: 999px;

  border: 1.5px solid #cbd5e1;

  background: #f8fafc;

  color: #334155;

  font-size: 13px;

  font-weight: 600;

  white-space: nowrap;

  cursor: pointer;

  flex-shrink: 0;

  transition: all 0.15s ease;

  user-select: none;

}



.zcu-qtext-layer-pill:hover {

  background: #f1f5f9;

  border-color: #94a3b8;

  color: #0f172a;

}



.zcu-qtext-layer-pill.active {

  background: #eff6ff !important;

  border: 1.5px solid #1f239c !important;

  color: #1f239c !important;

  font-weight: 700 !important;

  box-shadow: 0 1px 3px rgba(31, 35, 156, 0.12);

}



.zcu-qtext-layer-pill.zcu-qtext-pill-add {

  border: 1.5px dashed #94a3b8;

  background: transparent;

  color: #64748b;

  padding: 6px 10px;

}



.zcu-qtext-layer-pill.zcu-qtext-pill-add:hover {

  border-color: #1f239c;

  background: #eff6ff;

  color: #1f239c;

}



.zcu-qtext-add-btn {



  display: inline-flex;



  align-items: center;



  gap: 5px;



  padding: 6px 11px;



  border-radius: 999px;



  border: 1.5px solid #1f239c;



  background: #f0f3ff;



  color: #1f239c;



  font-size: 12px;



  font-weight: 800;



  white-space: nowrap;



  cursor: pointer;



  flex-shrink: 0;



  transition: all 0.15s ease;



}



.zcu-qtext-add-btn:hover,



.zcu-qtext-add-btn:active {



  background: #1f239c;



  color: #ffffff;



}



.zcu-quick-text-input-wrap {



  position: relative;



  display: flex;



  align-items: center;



}



.zcu-quick-text-input {



  padding-right: 36px !important;



}



.zcu-qtext-clear-btn {



  position: absolute;



  right: 8px;



  top: 50%;



  transform: translateY(-50%);



  border: none;



  background: none;



  color: #94a3b8;



  font-size: 18px;



  line-height: 1;



  padding: 4px;



  cursor: pointer;



}



.zcu-qtext-clear-btn:hover {



  color: #475569;



}







/* ==========================================================================



   EASY POSITION & NUDGE CONTROLS (Слева / Центр / Справа + ◀ ▲ ▼ ▶)



   ========================================================================== */



.zcu-pos-control-bar {



  display: flex;



  align-items: center;



  justify-content: space-between;



  gap: 8px;



  margin-bottom: 10px;



  background: #f8fafc;



  border: 1px solid #e2e8f0;



  border-radius: 12px;



  padding: 5px 6px;



}



.zcu-pos-zones {



  display: flex;



  align-items: center;



  gap: 4px;



  flex: 1;



  min-width: 0;



}



.zcu-pos-zone-btn {



  flex: 1;



  height: 32px;



  border-radius: 8px;



  border: 1px solid #cbd5e1;



  background: #ffffff;



  color: #1e293b;



  font-size: 11.5px;



  font-weight: 700;



  display: inline-flex;



  align-items: center;



  justify-content: center;



  gap: 4px;



  padding: 0 6px;



  cursor: pointer;



  white-space: nowrap;



  user-select: none;



  -webkit-user-select: none;



  transition: all 0.14s ease;



}



.zcu-pos-zone-btn:hover,



.zcu-pos-zone-btn:active,



.zcu-pos-zone-btn.active {



  background: #1f239c;



  border-color: #1f239c;



  color: #ffffff;



}



.zcu-pos-dpad {



  display: flex;



  align-items: center;



  gap: 4px;



  flex-shrink: 0;



}



.zcu-pos-nudge-btn {



  width: 32px;



  height: 32px;



  border-radius: 8px;



  border: 1px solid #cbd5e1;



  background: #ffffff;



  color: #1e293b;



  font-size: 12px;



  display: inline-flex;



  align-items: center;



  justify-content: center;



  cursor: pointer;



  user-select: none;



  -webkit-user-select: none;



  touch-action: manipulation;



  transition: all 0.12s ease;



}



.zcu-pos-nudge-btn:hover,



.zcu-pos-nudge-btn:active {



  background: #1f239c;



  border-color: #1f239c;



  color: #ffffff;



  transform: scale(0.95);



}







/* ====================================================================



   MOCKUP MATCH: TEXT PANEL V2 & MINI-CART FOOTER



   ==================================================================== */



.zcu-qtext-box-wrap {



  position: relative;



  background: #ffffff;



  border: 1.5px solid #e2e8f0;



  border-radius: 12px;



  padding: 8px 12px 20px 12px;



  margin-bottom: 10px;



  transition: border-color 0.15s, box-shadow 0.15s;



  box-sizing: border-box;



}



.zcu-qtext-box-wrap:focus-within {



  border-color: #6366f1;



  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);



}



.zcu-qtext-box-input {



  width: 100%;



  border: none;



  background: transparent;



  padding: 0 24px 0 0;



  margin: 0;



  resize: none;



  font-family: inherit;



  font-size: 14px;



  font-weight: 600;



  line-height: 1.35;



  color: #1e293b;



  box-sizing: border-box;



  outline: none;



  min-height: 40px;



}



.zcu-qtext-box-clear {



  position: absolute;



  top: 8px;



  right: 8px;



  border: none;



  background: transparent;



  color: #94a3b8;



  font-size: 16px;



  cursor: pointer;



  padding: 2px;



  line-height: 1;



  transition: color 0.15s;



}



.zcu-qtext-box-clear:hover {



  color: #475569;



}



.zcu-qtext-box-counter {



  position: absolute;



  bottom: 4px;



  right: 10px;



  font-size: 11px;



  font-weight: 500;



  color: #94a3b8;



  pointer-events: none;



}







.zcu-param-row {



  display: flex;



  align-items: center;



  justify-content: space-between;



  margin-bottom: 9px;



  gap: 10px;



}



.zcu-param-label {



  font-size: 13px;



  font-weight: 600;



  color: #334155;



  min-width: 80px;



  flex-shrink: 0;



}



.zcu-param-val-badge {



  width: 44px;



  height: 32px;



  background: #f8fafc;



  border: 1px solid #e2e8f0;



  border-radius: 8px;



  font-weight: 700;



  font-size: 13px;



  text-align: center;



  display: flex;



  align-items: center;



  justify-content: center;



  color: #0f172a;



  flex-shrink: 0;



}



.zcu-slider-purple-track {



  accent-color: #6366f1;



}







.zcu-qcolors-palette-wrap {



  display: flex;



  align-items: center;



  gap: 13px;



  flex: 1;



  justify-content: flex-start;



}



.zcu-qcolors-palette-wrap .zcu-qcolor-circle {



  width: 30px;



  height: 30px;



  border-radius: 50%;



  cursor: pointer;



  box-sizing: border-box;



  transition: transform 0.15s, box-shadow 0.15s;



  flex-shrink: 0;



  border: none;



  padding: 0;



}



.zcu-qcolors-palette-wrap .zcu-qcolor-circle:hover {



  transform: scale(1.1);



}



.zcu-qcolors-palette-wrap .zcu-qcolor-circle.active {



  box-shadow: 0 0 0 2.5px #ffffff, 0 0 0 4.5px #2b14c4;



}







/* Rainbow spectrum full gradient circle */



.zcu-qcolor-spectrum {



  background: conic-gradient(from 0deg, #ff0000, #ff8000, #ffff00, #00ff00, #00ffff, #0000ff, #8000ff, #ff0080, #ff0000) !important;



  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);



  border: 1px solid rgba(0, 0, 0, 0.08) !important;



}







/* Full Spectrum Color Picker Box */



.zcu-spectrum-palette-box {



  background: #ffffff;



  border: 1.5px solid #e2e8f0;



  border-radius: 14px;



  padding: 12px;



  margin-bottom: 12px;



  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08);



  animation: zcuFadeDown 0.2s ease-out;



}



@keyframes zcuFadeDown {



  from { opacity: 0; transform: translateY(-6px); }



  to { opacity: 1; transform: translateY(0); }



}



.zcu-sp-header {



  display: flex;



  align-items: center;



  justify-content: space-between;



  margin-bottom: 8px;



}



.zcu-sp-title {



  display: flex;



  align-items: center;



  gap: 8px;



  font-size: 13px;



  font-weight: 700;



  color: #1e293b;



}



.zcu-sp-preview-dot {



  width: 18px;



  height: 18px;



  border-radius: 50%;



  border: 1.5px solid #ffffff;



  box-shadow: 0 0 0 1px #cbd5e1;



  display: inline-block;



  flex-shrink: 0;



}



.zcu-sp-close-btn {



  width: 24px;



  height: 24px;



  border-radius: 50%;



  border: none;



  background: #f1f5f9;



  color: #64748b;



  font-size: 11px;



  cursor: pointer;



  display: flex;



  align-items: center;



  justify-content: center;



  line-height: 1;



}



.zcu-sp-close-btn:hover {



  background: #e2e8f0;



  color: #0f172a;



}



.zcu-sp-canvas-wrap {



  position: relative;



  width: 100%;



  height: 80px;



  border-radius: 10px;



  overflow: hidden;



  margin-bottom: 8px;



  touch-action: none;



  cursor: crosshair;



  user-select: none;



  -webkit-user-select: none;



}



.zcu-sp-canvas {



  width: 100%;



  height: 100%;



  display: block;



  border-radius: 10px;



}



.zcu-sp-cursor {



  position: absolute;



  width: 16px;



  height: 16px;



  border-radius: 50%;



  border: 2px solid #ffffff;



  box-shadow: 0 0 3px rgba(0, 0, 0, 0.6), inset 0 0 2px rgba(0, 0, 0, 0.4);



  transform: translate(-50%, -50%);



  pointer-events: none;



  box-sizing: border-box;



}



.zcu-sp-slider-wrap {



  margin-bottom: 8px;



}



.zcu-sp-hue-slider {



  -webkit-appearance: none;



  appearance: none;



  width: 100%;



  height: 14px;



  border-radius: 7px;



  background: linear-gradient(to right, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);



  outline: none;



  cursor: pointer;



}



.zcu-sp-hue-slider::-webkit-slider-thumb {



  -webkit-appearance: none;



  appearance: none;



  width: 20px;



  height: 20px;



  border-radius: 50%;



  background: #ffffff;



  border: 2px solid #2b14c4;



  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);



  cursor: pointer;



}



.zcu-sp-quick-swatches {



  display: grid;



  grid-template-columns: repeat(9, 1fr);



  gap: 6px;



  margin-bottom: 8px;



}



.zcu-sp-mini-swatch {



  height: 22px;



  border-radius: 5px;



  cursor: pointer;



  transition: transform 0.12s;



  box-sizing: border-box;



}



.zcu-sp-mini-swatch:hover, .zcu-sp-mini-swatch:active {



  transform: scale(1.15);



  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);



}



.zcu-sp-footer {



  display: flex;



  align-items: center;



  justify-content: space-between;



}



.zcu-sp-hex-code {



  font-size: 13px;



  font-weight: 700;



  font-family: monospace;



  color: #334155;



  background: #f8fafc;



  border: 1px solid #e2e8f0;



  border-radius: 6px;



  padding: 4px 8px;



}



.zcu-sp-done-btn {



  background: #2b14c4;



  color: #ffffff;



  border: none;



  border-radius: 8px;



  padding: 6px 18px;



  font-size: 13px;



  font-weight: 700;



  cursor: pointer;



  transition: background 0.15s;



}



.zcu-sp-done-btn:hover {



  background: #200ea3;



}







/* Dedicated Compact Color Palette View (Unobstructed Canvas View) */



.zcu-palette-view {



  animation: zcuFadeDown 0.18s ease-out;



  padding: 4px 0 2px 0;



  width: 100%;



  box-sizing: border-box;



}



.zcu-pv-header {



  display: flex;



  align-items: center;



  justify-content: space-between;



  margin-bottom: 8px;



  gap: 8px;



}



.zcu-pv-back-btn {



  display: flex;



  align-items: center;



  gap: 6px;



  border: 1px solid #cbd5e1;



  background: #ffffff;



  color: #334155;



  border-radius: 8px;



  padding: 5px 12px;



  font-size: 12px;



  font-weight: 600;



  cursor: pointer;



  transition: all 0.12s;



}



.zcu-pv-back-btn:hover {



  background: #f1f5f9;



  color: #0f172a;



}



.zcu-pv-center-info {



  display: flex;



  align-items: center;



  gap: 8px;



}



.zcu-pv-done-btn {



  background: #2b14c4;



  color: #ffffff;



  border: none;



  border-radius: 8px;



  padding: 6px 16px;



  font-size: 12px;



  font-weight: 700;



  cursor: pointer;



  transition: background 0.12s;



}



.zcu-pv-done-btn:hover {



  background: #1e0fa3;



}







/* 5 Tool buttons (B, I, Left, Center, Right) in one row with equal width and equal spacing */



.zcu-qtext-tools-toolbar {



  display: flex;



  align-items: center;



  justify-content: space-between;



  gap: 8px;



  margin-bottom: 12px;



  width: 100%;



}



.zcu-qtext-tool-btn {



  flex: 1;



  height: 44px;



  background: #f8fafc;



  border: 1px solid #e2e8f0;



  border-radius: 12px;



  color: #475569;



  font-size: 16px;



  font-weight: 700;



  display: flex;



  align-items: center;



  justify-content: center;



  text-align: center;



  cursor: pointer;



  transition: all 0.14s ease;



  user-select: none;



  -webkit-user-select: none;



  box-sizing: border-box;



}



.zcu-qtext-tool-btn b {



  font-size: 17px;



  font-weight: 800;



  font-family: inherit;



}



.zcu-qtext-tool-btn i {



  font-size: 15px;



  display: flex;



  align-items: center;



  justify-content: center;



}



.zcu-qtext-tool-btn:hover {



  background: #f1f5f9;



  color: #0f172a;



}



.zcu-qtext-tool-btn.active {

  background: #ffffff !important;

  color: #1f239c !important;

  border: 1.5px solid #1f239c !important;

  box-shadow: none !important;

}







.zcu-btn-add-text-full {



  width: 100%;



  height: 42px;



  background: #fdfcff;



  border: 1.5px solid #c4b5fd;



  border-radius: 12px;



  color: #4338ca;



  font-weight: 700;



  font-size: 14px;



  display: flex;



  align-items: center;



  justify-content: center;



  gap: 8px;



  cursor: pointer;



  transition: all 0.15s;



  box-sizing: border-box;



}



.zcu-btn-add-text-full:hover {



  background: #f5f3ff;



  border-color: #a78bfa;



}



.zcu-btn-add-text-full:active {



  transform: scale(0.99);



}







@media (max-width: 768px) {



  .zcu-mobile-cart-bar {



    display: flex !important;



    align-items: center !important;



    justify-content: space-between !important;



    padding: 8px 16px !important;



    background: #ffffff !important;



    border-bottom: 1px solid #f1f5f9 !important;



  }



  .zcu-mcb-info {



    display: flex;



    flex-direction: column;



    justify-content: center;



  }



  .zcu-mcb-price {



    font-size: 20px;



    font-weight: 800;



    color: #0f172a;



    line-height: 1.1;



  }



  .zcu-mcb-desc {



    font-size: 11px;



    color: #64748b;



    margin-top: 3px;



    font-weight: 500;



  }



  .zcu-mobile-cart-btn {



    width: auto !important;



    min-width: 130px !important;



    height: 44px !important;



    border-radius: 12px !important;



    background: #2b14c4 !important;



    color: #ffffff !important;



    font-size: 15px !important;



    font-weight: 700 !important;



    border: none !important;



    display: flex !important;



    align-items: center !important;



    justify-content: center !important;



    gap: 8px !important;



    padding: 0 20px !important;



    cursor: pointer !important;



    box-shadow: 0 4px 12px rgba(43, 20, 196, 0.25) !important;



    transition: all 0.15s !important;



  }



  .zcu-mobile-cart-btn:hover {



    background: #2410a8 !important;



  }



  .zcu-mobile-nav-item.active {



    color: #2b14c4 !important;



  }



  .zcu-mobile-nav-item.active::after {
    display: none !important;
  }



}







/* ================================================================



   GLOBAL UNIFIED QUICK TOOLS: PHOTO & TEXT (Desktop & Mobile)



   Applied universally across Mugs, Mousepads, Pillows, Tablets



   ================================================================ */







/* --- 1. PHOTO UPLOADS & GALLERY SUBVIEW --- */



.zcu-upload-big-options {



  width: 100%;



  margin-bottom: 16px;



  display: flex;



  flex-direction: column;



  gap: 8px;



  box-sizing: border-box;



}







.zcu-upload-card-btn {



  font-family: inherit;



  outline: none;



  cursor: pointer;



  transition: all 0.15s ease;



  user-select: none;



  box-sizing: border-box;



}







.zcu-upload-card-btn.primary {



  width: 100% !important;



  min-height: 58px !important;



  padding: 12px 18px !important;



  border-radius: 14px !important;



  background: #f0f4ff !important;



  border: 1.5px dashed #4f46e5 !important;



  color: #3730a3 !important;



  display: flex !important;



  align-items: center !important;



  justify-content: center !important;



  gap: 14px !important;



  text-decoration: none !important;



  box-shadow: 0 1px 3px rgba(79, 70, 229, 0.06);



}







.zcu-upload-card-btn.primary:hover {



  background: #e0e7ff !important;



  border-color: #4338ca !important;



  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15);



  transform: translateY(-1px);



}







.zcu-upload-card-btn.primary:active {



  transform: translateY(0);



}







.zcu-upload-card-btn.primary .zcu-uc-icon {



  font-size: 26px !important;



  color: #4f46e5 !important;



  display: flex !important;



  align-items: center !important;



  justify-content: center !important;



  flex-shrink: 0 !important;



}







.zcu-upload-card-btn.primary .zcu-uc-text {



  display: flex !important;



  flex-direction: column !important;



  text-align: left !important;



}







.zcu-upload-card-btn.primary .zcu-uc-title {



  font-size: 14px !important;



  font-weight: 700 !important;



  color: #1e1b4b !important;



  line-height: 1.25 !important;



}







.zcu-upload-card-btn.primary .zcu-uc-sub {



  font-size: 11.5px !important;



  color: #6366f1 !important;



  font-weight: 500 !important;



  line-height: 1.2 !important;



  margin-top: 3px !important;



}







.zcu-upload-card-row {



  display: flex !important;



  gap: 8px !important;



  width: 100% !important;



  box-sizing: border-box !important;



}







.zcu-upload-card-btn.secondary {



  flex: 1 !important;



  height: 42px !important;



  border-radius: 10px !important;



  background: #ffffff !important;



  border: 1px solid #cbd5e1 !important;



  font-size: 12.5px !important;



  font-weight: 600 !important;



  color: #334155 !important;



  display: inline-flex !important;



  align-items: center !important;



  justify-content: center !important;



  gap: 7px !important;



  padding: 0 10px !important;



  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);



}







.zcu-upload-card-btn.secondary:hover {



  background: #f8fafc !important;



  border-color: #94a3b8 !important;



  color: #0f172a !important;



  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);



}







.zcu-upload-card-btn.secondary:active {



  background: #f1f5f9 !important;



}







.zcu-upload-card-btn.secondary i {



  font-size: 14px !important;



  color: #64748b !important;



}







.zcu-upload-card-btn.secondary:hover i {



  color: #1f239c !important;



}







/* Uploads gallery grid */



.zcu-uploads-grid {



  display: grid !important;



  grid-template-columns: repeat(4, 1fr) !important;



  gap: 8px !important;



  width: 100% !important;



  box-sizing: border-box !important;



}







.zcu-uploaded-thumb {



  aspect-ratio: 1 / 1 !important;



  border-radius: 10px !important;



  overflow: hidden !important;



  border: 1.5px solid #e2e8f0 !important;



  cursor: pointer !important;



  background: #f8fafc !important;



  transition: all 0.15s ease !important;



  position: relative !important;



}







.zcu-uploaded-thumb img {



  width: 100% !important;



  height: 100% !important;



  object-fit: cover !important;



  display: block !important;



}







.zcu-uploaded-thumb:hover {



  border-color: #6366f1 !important;



  transform: translateY(-2px) !important;



  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.20) !important;



}







/* --- 2. IMAGE TRANSFORM CONTROLS SUBVIEW --- */



.zcu-qimg-top-bar {



  display: flex !important;



  align-items: center !important;



  justify-content: space-between !important;



  margin-bottom: 12px !important;



  width: 100% !important;



}







.zcu-qtext-add-btn {



  display: inline-flex !important;



  align-items: center !important;



  gap: 6px !important;



  padding: 6px 14px !important;



  border-radius: 20px !important;



  background: #eef2ff !important;



  border: 1px solid #c7d2fe !important;



  color: #4338ca !important;



  font-size: 12px !important;



  font-weight: 700 !important;



  cursor: pointer !important;



  transition: all 0.15s ease !important;



  outline: none !important;



  font-family: inherit !important;



}







.zcu-qtext-add-btn:hover {



  background: #4338ca !important;



  color: #ffffff !important;



  border-color: #4338ca !important;



  box-shadow: 0 2px 8px rgba(67, 56, 202, 0.25) !important;



}







.zcu-slider-row {



  display: flex !important;



  align-items: center !important;



  gap: 12px !important;



  margin-bottom: 14px !important;



  width: 100% !important;



  box-sizing: border-box !important;



}







.zcu-slider-title {



  font-size: 13px !important;



  font-weight: 700 !important;



  color: #334155 !important;



  width: 80px !important;



  flex-shrink: 0 !important;



}







.zcu-slider-track-wrap {



  flex: 1 !important;



  display: flex !important;



  align-items: center !important;



}







.zcu-range-slider {



  width: 100% !important;



  accent-color: #2b14c4 !important;



  cursor: pointer !important;



  height: 6px !important;



  border-radius: 3px !important;



}







.zcu-slider-badge,



.zcu-param-val-badge {



  min-width: 48px !important;



  padding: 4px 8px !important;



  background: #f1f5f9 !important;



  border: 1px solid #e2e8f0 !important;



  border-radius: 8px !important;



  font-size: 12px !important;



  font-weight: 700 !important;



  color: #0f172a !important;



  text-align: center !important;



  flex-shrink: 0 !important;



}







.zcu-action-btn-row {



  display: flex !important;



  gap: 8px !important;



  margin-top: 12px !important;



  width: 100% !important;



  box-sizing: border-box !important;



}







.zcu-quick-action-btn {



  flex: 1 !important;



  height: 42px !important;



  border-radius: 10px !important;



  background: #f8fafc !important;



  border: 1px solid #cbd5e1 !important;



  font-size: 12.5px !important;



  font-weight: 600 !important;



  color: #1e293b !important;



  display: inline-flex !important;



  align-items: center !important;



  justify-content: center !important;



  gap: 6px !important;



  cursor: pointer !important;



  transition: all 0.15s ease !important;



  outline: none !important;



  font-family: inherit !important;



  box-sizing: border-box !important;



}







.zcu-quick-action-btn i {



  font-size: 14px !important;



  color: #64748b !important;



}







.zcu-quick-action-btn:hover {



  background: #f1f5f9 !important;



  border-color: #94a3b8 !important;



  color: #0f172a !important;



}







.zcu-quick-action-btn:hover i {



  color: #1f239c !important;



}







.zcu-quick-action-btn.zcu-action-danger {



  color: #dc2626 !important;



  background: #fef2f2 !important;



  border-color: #fecaca !important;



}







.zcu-quick-action-btn.zcu-action-danger i {



  color: #dc2626 !important;



}







.zcu-quick-action-btn.zcu-action-danger:hover {



  background: #fee2e2 !important;



  border-color: #f87171 !important;



  color: #b91c1c !important;



}







/* --- 3. TEXT EDITING CONTROLS --- */



.zcu-qtext-box-wrap {



  position: relative !important;



  background: #ffffff !important;



  border: 1.5px solid #e2e8f0 !important;



  border-radius: 12px !important;



  padding: 8px 12px 20px 12px !important;



  margin-bottom: 14px !important;



  transition: border-color 0.15s, box-shadow 0.15s !important;



  width: 100% !important;



  box-sizing: border-box !important;



}







.zcu-qtext-box-wrap:focus-within {



  border-color: #6366f1 !important;



  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12) !important;



}







.zcu-qtext-box-input {



  width: 100% !important;



  border: none !important;



  background: transparent !important;



  font-family: inherit !important;



  font-size: 15px !important;



  font-weight: 600 !important;



  color: #0f172a !important;



  text-align: left;



  resize: none !important;



  outline: none !important;



  line-height: 1.35 !important;



  padding: 0 !important;



  margin: 0 !important;



  display: block !important;



  box-sizing: border-box !important;



}







.zcu-qtext-box-clear {



  position: absolute !important;



  top: 8px !important;



  right: 8px !important;



  border: none !important;



  background: none !important;



  color: #94a3b8 !important;



  cursor: pointer !important;



  padding: 4px !important;



  font-size: 14px !important;



  display: flex !important;



  align-items: center !important;



  justify-content: center !important;



  border-radius: 50% !important;



  transition: color 0.15s, background 0.15s !important;



}







.zcu-qtext-box-clear:hover {



  color: #ef4444 !important;



  background: #fee2e2 !important;



}







.zcu-qtext-box-counter {



  position: absolute !important;



  bottom: 4px !important;



  right: 10px !important;



  font-size: 11px !important;



  color: #94a3b8 !important;



  font-weight: 600 !important;



  pointer-events: none !important;



}







.zcu-param-row {



  display: flex !important;



  align-items: center !important;



  gap: 12px !important;



  margin-bottom: 12px !important;



  width: 100% !important;



  box-sizing: border-box !important;



}







.zcu-param-label {



  font-size: 13px !important;



  font-weight: 700 !important;



  color: #334155 !important;



  width: 80px !important;



  flex-shrink: 0 !important;



}







.zcu-ctx-select-container {



  position: relative !important;



  flex: 1 !important;



  max-width: 100% !important;



}







.zcu-font-picker-trigger {



  width: 100% !important;



  height: 40px !important;



  border-radius: 10px !important;



  border: 1px solid #cbd5e1 !important;



  background: #ffffff !important;



  padding: 0 12px !important;



  display: flex !important;



  align-items: center !important;



  justify-content: space-between !important;



  cursor: pointer !important;



  outline: none !important;



  transition: border-color 0.15s, box-shadow 0.15s !important;



  box-sizing: border-box !important;



  font-family: inherit !important;



}







.zcu-font-picker-trigger:hover {



  border-color: #6366f1 !important;



}







.zcu-font-trigger-text {



  font-size: 13.5px !important;



  font-weight: 700 !important;



  color: #1e293b !important;



  overflow: hidden !important;



  text-overflow: ellipsis !important;



  white-space: nowrap !important;



}







.zcu-ctx-select-chevron {



  font-size: 12px !important;



  color: #94a3b8 !important;



  margin-left: 6px !important;



  flex-shrink: 0 !important;



}







.zcu-font-picker-dropdown {



  position: absolute !important;



  top: calc(100% + 4px) !important;



  left: 0 !important;



  right: 0 !important;



  background: #ffffff !important;



  border: 1px solid #cbd5e1 !important;



  border-radius: 12px !important;



  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.16) !important;



  z-index: 9999 !important;



  max-height: 230px !important;



  overflow-y: auto !important;



  padding: 6px !important;



  box-sizing: border-box !important;



}







.zcu-font-option {



  display: flex !important;



  align-items: center !important;



  justify-content: space-between !important;



  padding: 8px 10px !important;



  border-radius: 8px !important;



  cursor: pointer !important;



  transition: background 0.12s !important;



}







.zcu-font-option:hover {



  background: #f1f5f9 !important;



}







.zcu-font-option.active {



  background: #eef2ff !important;



  color: #4338ca !important;



  font-weight: 700 !important;



}







.zcu-fo-name {



  font-size: 14px !important;



  color: #0f172a !important;



}







.zcu-font-option.active .zcu-fo-name {



  color: #4338ca !important;



}







.zcu-fo-tag {



  font-size: 10.5px !important;



  font-weight: 600 !important;



  color: #64748b !important;



  background: #f1f5f9 !important;



  padding: 2px 6px !important;



  border-radius: 4px !important;



}







.zcu-font-option.active .zcu-fo-tag {



  background: #c7d2fe !important;



  color: #3730a3 !important;



}







.zcu-qcolors-palette-wrap {



  display: flex !important;



  align-items: center !important;



  gap: 10px !important;



  flex-wrap: wrap !important;



}







.zcu-qcolor-circle {



  width: 28px !important;



  height: 28px !important;



  border-radius: 50% !important;



  cursor: pointer !important;



  border: 2px solid #ffffff !important;



  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;



  transition: transform 0.15s, box-shadow 0.15s !important;



  box-sizing: border-box !important;



  display: inline-block !important;



  padding: 0 !important;



}







.zcu-qcolor-circle:hover {



  transform: scale(1.12) !important;



}







.zcu-qcolor-circle.active {



  box-shadow: 0 0 0 2.5px #2b14c4, 0 2px 6px rgba(43, 20, 196, 0.35) !important;



  transform: scale(1.15) !important;



}







.zcu-qcolor-spectrum {



  background: conic-gradient(from 180deg at 50% 50%, #ff0000, #ff8000, #ffff00, #00ff00, #00ffff, #0000ff, #8000ff, #ff00ff, #ff0000) !important;



}







.zcu-qtext-tools-toolbar {



  display: flex !important;



  align-items: center !important;



  justify-content: space-between !important;



  gap: 8px !important;



  margin: 14px 0 !important;



  width: 100% !important;



  box-sizing: border-box !important;



}







.zcu-qtext-tool-btn {



  flex: 1 !important;



  height: 42px !important;



  border-radius: 10px !important;



  background: #f8fafc !important;



  border: 1px solid #cbd5e1 !important;



  font-size: 15px !important;



  font-weight: 700 !important;



  color: #334155 !important;



  display: inline-flex !important;



  align-items: center !important;



  justify-content: center !important;



  cursor: pointer !important;



  transition: all 0.15s ease !important;



  outline: none !important;



  padding: 0 !important;



  box-sizing: border-box !important;



  font-family: inherit !important;



}







.zcu-qtext-tool-btn:hover {



  background: #f1f5f9 !important;



  border-color: #94a3b8 !important;



  color: #0f172a !important;



}







.zcu-qtext-tool-btn.active {

  background: #ffffff !important;

  color: #1f239c !important;

  border: 1.5px solid #1f239c !important;

  box-shadow: none !important;

}







.zcu-btn-add-text-full {

  width: 100% !important;

  min-height: 44px !important;

  padding: 10px 18px !important;

  background: #ffffff !important;

  border: 1.5px solid #1f239c !important;

  border-radius: 24px !important;

  color: #1f239c !important;

  font-size: 14px !important;

  font-weight: 600 !important;

  display: flex !important;

  align-items: center !important;

  justify-content: center !important;

  gap: 8px !important;

  cursor: pointer !important;

  box-sizing: border-box !important;

  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;

  margin-top: 8px !important;

  outline: none !important;

  font-family: inherit !important;

}



.zcu-btn-add-text-full:hover {

  background: #f0f4ff !important;

  border-color: #16197a !important;

  color: #16197a !important;

  box-shadow: 0 2px 8px rgba(31, 35, 156, 0.16) !important;

  transform: translateY(-1px) !important;

}



.zcu-btn-add-text-full:active {

  transform: translateY(0) !important;

  box-shadow: 0 1px 2px rgba(31, 35, 156, 0.1) !important;

}







/* Compact Palette View */



.zcu-palette-view {



  width: 100% !important;



  box-sizing: border-box !important;



  border-radius: 14px !important;



  background: #ffffff !important;



  border: 1px solid #e2e8f0 !important;



  padding: 12px 14px !important;



  margin-top: 10px !important;



}







.zcu-pv-header {



  display: flex !important;



  align-items: center !important;



  justify-content: space-between !important;



  margin-bottom: 10px !important;



}







.zcu-pv-btn {



  height: 32px !important;



  padding: 0 12px !important;



  border-radius: 6px !important;



  font-size: 12px !important;



  font-weight: 600 !important;



  cursor: pointer !important;



  border: 1px solid #cbd5e1 !important;



  background: #f8fafc !important;



  color: #334155 !important;



  display: inline-flex !important;



  align-items: center !important;



  gap: 5px !important;



}







.zcu-pv-btn.primary {



  background: #2b14c4 !important;



  color: #ffffff !important;



  border: none !important;



}







.zcu-pv-preview-wrap {



  display: flex !important;



  align-items: center !important;



  gap: 8px !important;



}







.zcu-pv-color-preview {



  width: 26px !important;



  height: 26px !important;



  border-radius: 6px !important;



  border: 1px solid #cbd5e1 !important;



}







.zcu-pv-hex {



  font-size: 12px !important;



  font-weight: 700 !important;



  color: #0f172a !important;



}







.zcu-spectrum-touch-container {



  width: 100% !important;



  height: 80px !important;



  position: relative !important;



  border-radius: 8px !important;



  overflow: hidden !important;



  cursor: crosshair !important;



  margin-bottom: 10px !important;




  touch-action: none !important;
}







.zcu-spectrum-canvas {



  width: 100% !important;



  height: 100% !important;



  display: block !important;



}







.zcu-spectrum-cursor {



  position: absolute !important;



  width: 16px !important;



  height: 16px !important;



  border: 2px solid #ffffff !important;



  border-radius: 50% !important;



  box-shadow: 0 0 4px rgba(0,0,0,0.6) !important;



  transform: translate(-50%, -50%) !important;



  pointer-events: none !important;



}







.zcu-sp-hue-slider {



  width: 100% !important;



  height: 14px !important;



  border-radius: 7px !important;



  outline: none !important;



  background: linear-gradient(to right, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%) !important;



  -webkit-appearance: none !important;



  appearance: none !important;



  margin-bottom: 10px !important;



}







.zcu-sp-hue-slider::-webkit-slider-thumb {



  -webkit-appearance: none !important;



  width: 20px !important;



  height: 20px !important;



  border-radius: 50% !important;



  background: #ffffff !important;



  border: 2.5px solid #334155 !important;



  box-shadow: 0 1px 4px rgba(0,0,0,0.3) !important;



  cursor: pointer !important;



}







.zcu-sp-mini-swatches {



  display: flex !important;



  align-items: center !important;



  gap: 6px !important;



  justify-content: space-between !important;



}







.zcu-sp-mini-swatch {



  flex: 1 !important;



  height: 22px !important;



  border-radius: 5px !important;



  cursor: pointer !important;



  border: 1px solid rgba(0,0,0,0.1) !important;



  transition: transform 0.1s !important;



}







.zcu-sp-mini-swatch:hover {



  transform: scale(1.15) !important;



}







/* ============================================================================



   UNIFIED LEFT RIBBON SIDEBAR — 50% LARGER CUSTOM SVG ICONS (ALL PRODUCTS)



   ============================================================================ */



.zcu-ribbon .zcu-ribbon-item {



  padding: 10px 4px !important;



  border-radius: 14px !important;



  gap: 3px !important;



}







.zcu-ribbon .zcu-ribbon-icon {



  width: 38px !important;



  height: 38px !important;



  font-size: 28px !important;



  margin-bottom: 2px !important;



  display: flex !important;



  align-items: center !important;



  justify-content: center !important;



}







.zcu-ribbon .zcu-ribbon-icon svg {



  width: 28px !important;



  height: 28px !important;



  display: block !important;



  stroke: currentColor !important;



  flex-shrink: 0 !important;



  transition: transform 0.18s cubic-bezier(0.2, 0, 0, 1) !important;



}







.zcu-ribbon .zcu-ribbon-item:hover .zcu-ribbon-icon svg,



.zcu-ribbon .zcu-ribbon-item.active .zcu-ribbon-icon svg {



  transform: scale(1.06) !important;



}







.zcu-ribbon .zcu-ribbon-label {



  font-size: 11.5px !important;



  font-weight: 600 !important;



  line-height: 1.15 !important;



  text-align: center !important;



  letter-spacing: -0.01em !important;



}







.zcu-ribbon .zcu-ribbon-item.active .zcu-ribbon-label {



  font-weight: 700 !important;



}







@media (min-width: 769px) {



  .zcu-ribbon,



  .zcu-body .zcu-ribbon,



  .zcu-mode-tablet .zcu-ribbon {



    width: 82px !important;



    padding: 10px 6px !important;



    gap: 6px !important;



  }



  .zcu-ribbon .zcu-ribbon-item {



    width: 100% !important;



    min-height: 66px !important;



    height: auto !important;



  }



  .zcu-drawer,



  .zcu-body .zcu-drawer,



  .zcu-mode-tablet .zcu-drawer {



    left: 108px !important;



  }



}







@media (min-width: 769px) {



  .zcu-body .zcu-top-layer-toolbar {



    top: 12px !important;



    left: 50% !important;



    transform: translateX(-50%) !important;



    border-radius: 38px !important;



    padding: 5px 10px !important;



    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(15, 23, 42, 0.05) !important;



    border: 1.5px solid #e2e8f0 !important;



    background: #ffffff !important;



    gap: 3px !important;



    z-index: 40 !important;



  }



  .zcu-body #zcu-tb-image-controls,



  .zcu-body #zcu-tb-text-controls {



    display: flex !important;



    align-items: center !important;



    gap: 3px !important;



  }



  .zcu-body .zcu-top-layer-toolbar .zcu-tb-btn {



    height: 38px !important;



    padding: 0 8px !important;



    border-radius: 19px !important;



    font-size: 13.5px !important;



    font-weight: 500 !important;



    gap: 5px !important;



    color: #1e293b !important;



    background: transparent !important;



    border: 1px solid transparent !important;



    transition: all 0.15s ease !important;



  }



  .zcu-body .zcu-top-layer-toolbar .zcu-tb-btn:hover {



    background: #f1f5f9 !important;



    color: #0f172a !important;



  }



  .zcu-body .zcu-top-layer-toolbar .zcu-tb-btn i {



    font-size: 14.5px !important;



  }



  .zcu-body .zcu-top-layer-toolbar .zcu-tb-icon-btn {



    width: 32px !important;



    height: 32px !important;



    border-radius: 16px !important;



    font-size: 14.5px !important;



    color: #334155 !important;



    background: transparent !important;



    border: 1px solid transparent !important;



    display: inline-flex !important;



    align-items: center !important;



    justify-content: center !important;



    transition: all 0.15s ease !important;



  }



      /* Bolder stroke for duplicate and delete icons to match other bold toolbar controls */

      .zcu-body .zcu-tb-icon-btn i.fa-clone,

      .zcu-body .zcu-tb-icon-btn i.fa-trash-o,

      .zcu-body #tb-duplicate i,

      .zcu-body #tb-delete i,

      .zcu-body #tb-text-dup i,

      .zcu-body #tb-text-del i,

      #tb-duplicate i,

      #tb-delete i,

      #tb-text-dup i,

      #tb-text-del i,

      #fop-duplicate i,

      #fop-delete i {

        -webkit-text-stroke: 0.45px currentColor !important;

        text-shadow: 0 0 0.25px currentColor !important;

      }





  .zcu-body .zcu-top-layer-toolbar .zcu-tb-icon-btn:hover {



    background: #f1f5f9 !important;



    color: #0f172a !important;



  }



  .zcu-body .zcu-top-layer-toolbar .zcu-tb-icon-btn.active {



    background: #e0f2fe !important;



    color: #0284c7 !important;



    border-color: #bae6fd !important;



  }



  .zcu-body .zcu-top-layer-toolbar #tb-scale-minus,



  .zcu-body .zcu-top-layer-toolbar #tb-scale-plus,



  .zcu-body .zcu-top-layer-toolbar #tb-text-fs-minus,



  .zcu-body .zcu-top-layer-toolbar #tb-text-fs-plus,



  .zcu-body .zcu-top-layer-toolbar #tb-text-lh-minus,



  .zcu-body .zcu-top-layer-toolbar #tb-text-lh-plus {



    font-size: 18px !important;



    font-weight: 500 !important;



    width: 30px !important;



    height: 30px !important;



    line-height: 1 !important;



  }



  .zcu-body .zcu-top-layer-toolbar .zcu-tb-val {



    font-size: 13.5px !important;



    font-weight: 500 !important;



    min-width: 30px !important;



    text-align: center !important;



    color: #0f172a !important;



  }



  .zcu-body .zcu-top-layer-toolbar .zcu-tb-sep {



    width: 1.5px !important;



    height: 22px !important;



    margin: 0 3px !important;



    background: #cbd5e1 !important;



    display: inline-block !important;



  }



  .zcu-body .zcu-top-layer-toolbar .zcu-tb-select {



    height: 34px !important;



    padding: 0 8px !important;



    font-size: 13.5px !important;



    font-weight: 600 !important;



    border-radius: 8px !important;



    border: 1.5px solid #cbd5e1 !important;



    background: #ffffff !important;



    color: #1e293b !important;



  }



  .zcu-body .zcu-top-layer-toolbar .zcu-tb-color-picker {



    width: 30px !important;



    height: 30px !important;



    border-radius: 6px !important;



    border: 1.5px solid #cbd5e1 !important;



    padding: 0 !important;



    cursor: pointer !important;



  }



}







/* ============================================================================



   UNIFIED LAYERS MANAGER (ALL PRODUCTS: MUGS, MOUSEPADS, PILLOWS, TABLETS)



   ============================================================================ */



#zcu-layers-list,



#zcu-quick-layers-list {



  display: flex !important;



  flex-direction: column !important;



  gap: 8px !important;



  width: 100% !important;



}







.zcu-empty-layers {



  padding: 20px 14px !important;



  text-align: center !important;



  color: #94a3b8 !important;



  font-size: 13px !important;



  background: #f8fafc !important;



  border: 1px dashed #cbd5e1 !important;



  border-radius: 12px !important;



}







.zcu-layers-helper-bar {



  display: flex !important;



  align-items: center !important;



  justify-content: space-between !important;



  gap: 8px !important;



  padding: 8px 10px !important;



  background: #eef2ff !important;



  border: 1px solid #c7d2fe !important;



  border-radius: 10px !important;



  margin-bottom: 2px !important;



}







.zcu-layers-helper-text {



  font-size: 11.5px !important;



  font-weight: 600 !important;



  color: #3730a3 !important;



  display: inline-flex !important;



  align-items: center !important;



  gap: 5px !important;



}







.zcu-layers-swap-btn {



  height: 30px !important;



  padding: 0 10px !important;



  border-radius: 8px !important;



  border: none !important;



  background: #2b14c4 !important;



  color: #ffffff !important;



  font-size: 11.5px !important;



  font-weight: 700 !important;



  cursor: pointer !important;



  display: inline-flex !important;



  align-items: center !important;



  gap: 6px !important;



  transition: all 0.15s ease !important;



  white-space: nowrap !important;



  box-shadow: 0 2px 6px rgba(43, 20, 196, 0.2) !important;



}







.zcu-layers-swap-btn:hover {



  background: #1e0e94 !important;



  transform: translateY(-1px) !important;



}







.zcu-layer-item {



  display: flex !important;



  align-items: center !important;



  gap: 7px !important;



  padding: 8px 8px !important;



  background: #ffffff !important;



  border: 1.5px solid #e2e8f0 !important;



  border-radius: 12px !important;



  cursor: pointer !important;



  transition: all 0.15s ease !important;



  user-select: none !important;



}







.zcu-layer-item:hover {



  border-color: #cbd5e1 !important;



  background: #f8fafc !important;



}







.zcu-layer-item.active {



  background: #f5f7ff !important;



  border-color: #2b14c4 !important;



  box-shadow: 0 2px 8px rgba(43, 20, 196, 0.1) !important;



}







.zcu-layer-item.zcu-layer-dragging {



  opacity: 0.5 !important;



  border-style: dashed !important;



}







.zcu-layer-item.zcu-layer-dragover {



  border-color: #2b14c4 !important;



  background: #e0e7ff !important;



  transform: scale(1.01) !important;



}







.zcu-layer-drag-handle {



  color: #94a3b8 !important;



  font-size: 14px !important;



  font-weight: 700 !important;



  letter-spacing: -1px !important;



  cursor: grab !important;



  padding: 2px 2px !important;



  flex-shrink: 0 !important;



}







.zcu-layer-thumb {



  width: 36px !important;



  height: 36px !important;



  border-radius: 8px !important;



  background: #f1f5f9 !important;



  border: 1px solid #e2e8f0 !important;



  display: flex !important;



  align-items: center !important;



  justify-content: center !important;



  overflow: hidden !important;



  flex-shrink: 0 !important;



  color: #475569 !important;



  font-size: 15px !important;



}







.zcu-layer-thumb-text {



  background: #eef2ff !important;



  color: #2b14c4 !important;



  border-color: #c7d2fe !important;



}







.zcu-layer-thumb-img {



  width: 100% !important;



  height: 100% !important;



  object-fit: cover !important;



  display: block !important;



}







.zcu-layer-info {



  flex: 1 !important;



  min-width: 0 !important;



  overflow: hidden !important;



  display: flex !important;



  flex-direction: column !important;



  gap: 2px !important;



}







.zcu-layer-name {



  font-size: 12px !important;



  font-weight: 700 !important;



  color: #0f172a !important;



  white-space: nowrap !important;



  overflow: hidden !important;



  text-overflow: ellipsis !important;



  line-height: 1.2 !important;



}







.zcu-layer-pos-badge {



  display: inline-block !important;



  font-size: 9.5px !important;



  font-weight: 700 !important;



  line-height: 1.25 !important;



  padding: 2px 5px !important;



  border-radius: 4px !important;



  width: fit-content !important;



  max-width: 100% !important;



  overflow: hidden !important;



  text-overflow: ellipsis !important;



  white-space: nowrap !important;



}







.zcu-layer-pos-badge.is-top {



  background: #dcfce7 !important;



  color: #15803d !important;



}







.zcu-layer-pos-badge.is-bottom {



  background: #f1f5f9 !important;



  color: #64748b !important;



}







.zcu-layer-pos-badge.is-mid,



.zcu-layer-pos-badge.is-single {



  background: #e0e7ff !important;



  color: #3730a3 !important;



}







.zcu-layer-actions {



  display: flex !important;



  align-items: center !important;



  gap: 4px !important;



  flex-shrink: 0 !important;



}







.zcu-layer-btn {



  width: 28px !important;



  height: 28px !important;



  border-radius: 7px !important;



  border: 1px solid #cbd5e1 !important;



  background: #ffffff !important;



  color: #334155 !important;



  display: inline-flex !important;



  align-items: center !important;



  justify-content: center !important;



  font-size: 11.5px !important;



  cursor: pointer !important;



  transition: all 0.15s ease !important;



  padding: 0 !important;



}







.zcu-layer-btn.zcu-layer-up,



.zcu-layer-btn.zcu-layer-down {



  background: #f8fafc !important;



  color: #1f239c !important;



  border-color: #c7d2fe !important;



}







.zcu-layer-btn.zcu-layer-up:hover:not(:disabled),



.zcu-layer-btn.zcu-layer-down:hover:not(:disabled) {



  background: #2b14c4 !important;



  color: #ffffff !important;



  border-color: #2b14c4 !important;



}







.zcu-layer-btn:hover:not(:disabled) {



  background: #f1f5f9 !important;



  color: #0f172a !important;



}







.zcu-layer-btn:disabled {



  opacity: 0.32 !important;



  cursor: not-allowed !important;



  background: #f8fafc !important;



  color: #94a3b8 !important;



  border-color: #e2e8f0 !important;



}







.zcu-layer-btn.is-hidden {



  background: #fef3c7 !important;



  color: #b45309 !important;



  border-color: #fde68a !important;



}







.zcu-layer-btn.danger:hover {



  background: #fee2e2 !important;



  color: #dc2626 !important;



  border-color: #fca5a5 !important;



}







/* Quick Layer Order Row inside Photo Settings (#zcu-panel-image) */



.zcu-img-layer-order-row {



  display: flex !important;



  align-items: center !important;



  justify-content: space-between !important;



  gap: 8px !important;



  margin-top: 10px !important;



  padding: 8px 10px !important;



  background: #f8fafc !important;



  border: 1px solid #e2e8f0 !important;



  border-radius: 10px !important;



}







.zcu-img-layer-order-label {



  font-size: 12px !important;



  font-weight: 700 !important;



  color: #475569 !important;



}







.zcu-img-layer-order-btns {



  display: flex !important;



  align-items: center !important;



  gap: 6px !important;



}







.zcu-quick-layer-step-btn {



  height: 30px !important;



  padding: 0 10px !important;



  border-radius: 8px !important;



  border: 1px solid #c7d2fe !important;



  background: #ffffff !important;



  color: #2b14c4 !important;



  font-size: 12px !important;



  font-weight: 700 !important;



  cursor: pointer !important;



  display: inline-flex !important;



  align-items: center !important;



  gap: 5px !important;



  transition: all 0.15s ease !important;



}







.zcu-quick-layer-step-btn:hover {



  background: #2b14c4 !important;



  color: #ffffff !important;



  border-color: #2b14c4 !important;



}























/* ====================================================================



   AUTHENTIC PAPER RECEIPT CARD WITH TEAR-OFF PERFORATION (SIDEBAR)



   ==================================================================== */



.zcu-receipt-sidebar {



  width: 320px;



  flex-shrink: 0;



  padding: 16px;



  overflow-y: auto;



  background: #f8fafc;



  border-left: 1px solid #e2e8f0;



  display: flex;



  flex-direction: column;



  z-index: 20;



}







.zcu-paper-receipt {



  position: relative;



  background: #ffffff;



  border-radius: 14px 14px 0 0;



  border: 1px solid #e2e8f0;



  border-bottom: none;



  padding: 20px 18px 16px 18px;



  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);



  font-family: 'ProximaNova', 'Proxima Nova', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;



  margin-bottom: 14px;



}







.zcu-receipt-sawtooth {



  position: absolute;



  bottom: -10px;



  left: -1px;



  right: -1px;



  height: 10px;



  background: linear-gradient(-45deg, transparent 6px, #ffffff 0), linear-gradient(45deg, transparent 6px, #ffffff 0);



  background-repeat: repeat-x;



  background-size: 12px 10px;



  filter: drop-shadow(0 2px 2px rgba(15, 23, 42, 0.06));



}







.zcu-pr-header {



  text-align: center;



  padding-bottom: 10px;



}



.zcu-pr-brand {



  display: inline-flex;



  align-items: center;



  gap: 6px;



  font-size: 11px;



  font-weight: 800;



  letter-spacing: 0.08em;



  color: #1f239c;



  text-transform: uppercase;



}



.zcu-pr-scissors {



  font-size: 12px;



  transform: rotate(90deg);



}



.zcu-pr-order-id {



  font-size: 10.5px;



  color: #94a3b8;



  font-family: monospace;



  margin-top: 3px;



}







.zcu-pr-title-box {



  display: flex;



  justify-content: space-between;



  align-items: center;



  margin-top: 8px;



  gap: 8px;



}



.zcu-pr-prod-title {



  font-size: 13.5px;



  font-weight: 700;



  color: #0f172a;



  line-height: 1.25;



}



.zcu-pr-badge {



  font-size: 11px;



  font-weight: 700;



  padding: 3px 8px;



  border-radius: 6px;



  background: #eef2ff;



  color: #1f239c;



  white-space: nowrap;



}







.zcu-pr-dash-line {



  border-top: 1.5px dashed #cbd5e1;



  margin: 12px -18px;



}







.zcu-pr-items {



  display: flex;



  flex-direction: column;



}



.zcu-pr-row {



  display: flex;



  justify-content: space-between;



  align-items: baseline;



  gap: 8px;



}



.zcu-pr-item-name {



  font-size: 13px;



  font-weight: 600;



  color: #1e293b;



  line-height: 1.3;



}



.zcu-pr-item-price {



  font-size: 13.5px;



  font-weight: 700;



  color: #0f172a;



  white-space: nowrap;



  font-variant-numeric: tabular-nums;



}



.zcu-pr-item-sub {



  font-size: 11px;



  color: #64748b;



  margin-top: 2px;



  line-height: 1.3;



}







.zcu-pr-qty-wrap {



  display: flex;



  justify-content: space-between;



  align-items: center;



  margin-top: 12px;



  padding-top: 10px;



  border-top: 1px dotted #e2e8f0;



}



.zcu-pr-qty-label {



  font-size: 12px;



  color: #475569;



  font-weight: 600;



}



.zcu-pr-qty-stepper {



  display: inline-flex;



  align-items: center;



  border: 1px solid #cbd5e1;



  border-radius: 8px;



  overflow: hidden;



  background: #f8fafc;



}



.zcu-pr-qty-btn {



  background: none;



  border: none;



  width: 28px;



  height: 26px;



  font-size: 14px;



  font-weight: 700;



  color: #334155;



  cursor: pointer;



  display: flex;



  align-items: center;



  justify-content: center;



  transition: background 0.15s;



}



.zcu-pr-qty-btn:hover {



  background: #e2e8f0;



  color: #0f172a;



}



.zcu-pr-qty-val,
input.zcu-pr-qty-val,
input.zcu-inline-qty-input {
  width: 34px;
  min-width: 28px;
  height: 24px;
  padding: 0 2px;
  margin: 0;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  text-align: center;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: #0f172a;
  box-shadow: none;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  cursor: text;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.zcu-pr-qty-val:focus,
input.zcu-pr-qty-val:focus,
input.zcu-inline-qty-input:focus {
  background: #ffffff;
  border-color: #6C50CE;
  box-shadow: 0 0 0 2px rgba(108, 80, 206, 0.18);
  color: #191823;
}

span.zcu-pr-qty-val,
span.zcu-mob-qty-val,
span#zcu-receipt-qty-val-mob {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: text;
}







.zcu-pr-perforation {



  position: relative;



  margin: 16px -18px;



  height: 18px;



  display: flex;



  align-items: center;



}



.zcu-pr-notch {



  width: 14px;



  height: 18px;



  background: #f8fafc;



  position: absolute;



  top: 0;



}



.zcu-pr-notch.left {



  left: -1px;



  border-radius: 0 14px 14px 0;



  border: 1px solid #e2e8f0;



  border-left: none;



}



.zcu-pr-notch.right {



  right: -1px;



  border-radius: 14px 0 0 14px;



  border: 1px solid #e2e8f0;



  border-right: none;



}



.zcu-pr-perf-line {



  flex: 1;



  display: flex;



  align-items: center;



  justify-content: center;



  margin: 0 18px;



  gap: 6px;



}



.zcu-pr-perf-dash {



  flex: 1;



  border-top: 2px dashed #94a3b8;



}



.zcu-pr-perf-text {



  font-size: 8.5px;



  font-weight: 800;



  letter-spacing: 0.12em;



  color: #94a3b8;



  white-space: nowrap;



}







.zcu-pr-total-section {



  padding-bottom: 12px;



}



.zcu-pr-total-row {



  display: flex;



  justify-content: space-between;



  align-items: baseline;



}



.zcu-pr-total-label {



  font-size: 13px;



  font-weight: 800;



  letter-spacing: 0.04em;



  color: #0f172a;



}



.zcu-pr-tax-note {



  font-size: 10px;



  color: #94a3b8;



  margin-top: 1px;



}



.zcu-pr-total-amount {



  font-size: 22px;



  font-weight: 900;



  color: #1f239c;



  font-variant-numeric: tabular-nums;



  letter-spacing: -0.02em;



}



.zcu-pr-feature-badge {



  margin-top: 10px;



  background: #f8fafc;



  border: 1px solid #f1f5f9;



  border-radius: 8px;



  padding: 7px 10px;



  font-size: 11px;



  color: #475569;



  display: flex;



  align-items: center;



  gap: 7px;



  line-height: 1.35;



}







.zcu-pr-barcode-wrap {



  text-align: center;



  padding: 10px 0 14px 0;



  border-top: 1px dotted #e2e8f0;



  margin-top: 6px;



}



.zcu-pr-barcode {



  width: 170px;



  height: 32px;



  margin: 0 auto;



  display: block;



}



.zcu-pr-barcode-num {



  font-family: monospace;



  font-size: 10px;



  letter-spacing: 0.18em;



  color: #64748b;



  margin-top: 4px;



}



.zcu-pr-footer-note {



  font-size: 9px;



  font-weight: 700;



  letter-spacing: 0.08em;



  color: #94a3b8;



  margin-top: 2px;



}







.zcu-pr-buy-btn {



  width: 100%;



  background: #1f239c;



  color: #ffffff;



  border: none;



  border-radius: 10px;



  padding: 12px 14px;



  font-size: 13.5px;



  font-weight: 700;



  cursor: pointer;



  display: flex;



  align-items: center;



  justify-content: center;



  gap: 8px;



  transition: all 0.2s ease;



  box-shadow: 0 4px 12px rgba(31, 35, 156, 0.25);



}



.zcu-pr-buy-btn:hover {



  background: #181b7a;



  transform: translateY(-1px);



  box-shadow: 0 6px 16px rgba(31, 35, 156, 0.35);



}







.zcu-receipt-guarantee {



  background: #ffffff;



  border: 1px solid #e2e8f0;



  border-radius: 10px;



  padding: 10px 12px;



  font-size: 11px;



  color: #475569;



  display: flex;



  flex-direction: column;



  gap: 6px;



}



.zcu-receipt-guarantee-item {



  display: flex;



  align-items: center;



  gap: 6px;



}



.zcu-receipt-guarantee-item i {



  color: #1f239c;



  font-size: 12px;



}







@media (max-width: 992px) {



  .zcu-receipt-sidebar {



    display: none !important;



  }



}







/* ====================================================================



   CART BADGE, SUCCESS MODAL & NOTIFICATION TOAST



   ==================================================================== */



.zcu-cart-badge {



  display: inline-flex;



  align-items: center;



  justify-content: center;



  background: #ef4444;



  color: #ffffff;



  font-size: 11px;



  font-weight: 800;



  min-width: 19px;



  height: 19px;



  padding: 0 5px;



  border-radius: 10px;



  margin-left: 6px;



  line-height: 1;



  box-shadow: 0 2px 5px rgba(239, 68, 68, 0.4);



}







.zcu-cart-modal-card {



  max-width: 480px;



  width: 92%;



  border-radius: 16px;



  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.22);



  overflow: hidden;



  background: #ffffff;



}



.zcu-cart-modal-header {



  padding: 14px 18px;



  border-bottom: 1px solid #f1f5f9;



  display: flex;



  align-items: center;



  justify-content: space-between;



  background: #ffffff;



}



.zcu-cart-success-title {



  color: #059669;



  font-size: 16px;



  font-weight: 700;



  display: flex;



  align-items: center;



  gap: 8px;



}



.zcu-cart-success-title i {



  font-size: 18px;



}



.zcu-cart-modal-body {



  padding: 18px;



  display: flex;



  flex-direction: column;



  gap: 14px;



}



.zcu-cart-modal-item {



  display: flex;



  align-items: center;



  gap: 14px;



  padding: 12px;



  background: #f8fafc;



  border: 1px solid #e2e8f0;



  border-radius: 12px;



}



.zcu-cart-modal-thumb-wrap {



  width: 76px;



  height: 64px;



  background: #ffffff;



  border: 1px solid #cbd5e1;



  border-radius: 8px;



  display: flex;



  align-items: center;



  justify-content: center;



  overflow: hidden;



  flex-shrink: 0;



}



.zcu-cart-modal-thumb-wrap img {



  max-width: 100%;



  max-height: 100%;



  object-fit: contain;



  display: block;



}



.zcu-cart-modal-info {



  flex: 1;



  min-width: 0;



}



.zcu-cart-modal-title {



  font-weight: 700;



  font-size: 14px;



  color: #0f172a;



  white-space: nowrap;



  overflow: hidden;



  text-overflow: ellipsis;



  margin-bottom: 2px;



}



.zcu-cart-modal-spec {



  font-size: 12px;



  color: #64748b;



  margin-bottom: 4px;



}



.zcu-cart-modal-price-row {



  display: flex;



  align-items: center;



  gap: 6px;



  font-size: 13px;



  font-weight: 700;



  color: #1f239c;



}



.zcu-cart-modal-dot {



  color: #94a3b8;



}



.zcu-cart-modal-total-banner {



  background: #eff6ff;



  border: 1px solid #bfdbfe;



  border-radius: 10px;



  padding: 10px 14px;



  display: flex;



  align-items: center;



  gap: 10px;



  font-size: 13px;



  font-weight: 600;



  color: #1e40af;



}



.zcu-cart-modal-total-banner i {



  font-size: 15px;



  color: #2563eb;



}



.zcu-cart-modal-hint {



  display: flex;



  align-items: flex-start;



  gap: 8px;



  background: #fafafa;



  border: 1px dashed #cbd5e1;



  border-radius: 10px;



  padding: 10px 12px;



  font-size: 12px;



  color: #475569;



  line-height: 1.4;



}



.zcu-cart-modal-hint i {



  color: #f59e0b;



  font-size: 14px;



  margin-top: 1px;



}



.zcu-cart-modal-actions {



  display: flex;



  gap: 10px;



  margin-top: 4px;



}



.zcu-cart-btn-secondary {



  flex: 1;



  display: inline-flex;



  align-items: center;



  justify-content: center;



  gap: 6px;



  background: #f1f5f9;



  color: #0f172a;



  border: 1px solid #cbd5e1;



  border-radius: 10px;



  padding: 11px 14px;



  font-size: 13px;



  font-weight: 700;



  cursor: pointer;



  transition: all 0.15s ease;



  text-decoration: none;



}



.zcu-cart-btn-secondary:hover {



  background: #e2e8f0;



  border-color: #94a3b8;



  color: #0f172a;



}



.zcu-cart-btn-primary {



  flex: 1;



  display: inline-flex;



  align-items: center;



  justify-content: center;



  gap: 6px;



  background: #1f239c;



  color: #ffffff;



  border: none;



  border-radius: 10px;



  padding: 11px 16px;



  font-size: 13px;



  font-weight: 700;



  cursor: pointer;



  transition: all 0.15s ease;



  box-shadow: 0 4px 12px rgba(31, 35, 156, 0.25);



  text-decoration: none;



}



.zcu-cart-btn-primary:hover {



  background: #181b7a;



  color: #ffffff;



  transform: translateY(-1px);



  box-shadow: 0 6px 16px rgba(31, 35, 156, 0.35);



}



@media (max-width: 480px) {



  .zcu-cart-modal-actions {



    flex-direction: column;



  }



}







/* Floating Toast Notification */



.zcu-toast {



  position: fixed;



  top: 76px;



  left: 50%;



  transform: translateX(-50%) translateY(-20px);



  background: #1e293b;



  color: #ffffff;



  padding: 10px 18px;



  border-radius: 24px;



  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);



  display: flex;



  align-items: center;



  gap: 8px;



  font-size: 13px;



  font-weight: 600;



  z-index: 10000;



  opacity: 0;



  pointer-events: none;



  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);



}



.zcu-toast.show {



  opacity: 1;



  transform: translateX(-50%) translateY(0);



  pointer-events: auto;



}



.zcu-toast i {



  color: #10b981;



  font-size: 15px;



}











/* ====================================================================



   CART SLIDE-OUT DRAWER & DESIGN INSPECTOR MODAL



   ==================================================================== */



.zcu-cart-drawer-backdrop {



  position: fixed;



  top: 0;



  left: 0;



  width: 100vw;



  height: 100vh;



  background: rgba(15, 23, 42, 0.45);



  backdrop-filter: blur(2px);



  z-index: 9998;



  opacity: 0;



  pointer-events: none;



  transition: opacity 0.25s ease;



}



.zcu-cart-drawer-backdrop.open {



  opacity: 1;



  pointer-events: auto;



}







.zcu-cart-drawer {



  position: fixed;



  top: 0;



  right: 0;



  width: 440px;



  max-width: 95vw;



  height: 100vh;



  background: #ffffff;



  box-shadow: -8px 0 32px rgba(15, 23, 42, 0.2);



  z-index: 9999;



  display: flex;



  flex-direction: column;



  transform: translateX(100%);



  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);



}



.zcu-cart-drawer.open {



  transform: translateX(0);



}







.zcu-cart-drawer-header {



  padding: 16px 20px;



  border-bottom: 1px solid #e2e8f0;



  display: flex;



  align-items: center;



  justify-content: space-between;



  background: #f8fafc;



}



.zcu-cart-drawer-title-wrap {



  display: flex;



  align-items: center;



  gap: 10px;



}



.zcu-cart-drawer-title {



  font-size: 17px;



  font-weight: 800;



  color: #0f172a;



  margin: 0;



}



.zcu-cart-drawer-badge {



  background: #1f239c;



  color: #ffffff;



  font-size: 11px;



  font-weight: 800;



  padding: 2px 8px;



  border-radius: 12px;



}



.zcu-cart-drawer-close {



  background: none;



  border: none;



  font-size: 22px;



  color: #64748b;



  cursor: pointer;



  width: 32px;



  height: 32px;



  display: flex;



  align-items: center;



  justify-content: center;



  border-radius: 8px;



  transition: all 0.15s ease;



}



.zcu-cart-drawer-close:hover {



  background: #e2e8f0;



  color: #0f172a;



}







.zcu-cart-drawer-body {



  flex: 1;



  overflow-y: auto;



  padding: 16px 20px;



  display: flex;



  flex-direction: column;



  gap: 14px;



}







/* Item Card */



.zcu-cart-item-card {



  background: #ffffff;



  border: 1.5px solid #e2e8f0;



  border-radius: 14px;



  padding: 12px;



  display: flex;



  flex-direction: column;



  gap: 10px;



  transition: all 0.2s ease;



  position: relative;



}



.zcu-cart-item-card:hover {



  border-color: #cbd5e1;



  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);



}



.zcu-cart-item-top {



  display: flex;



  gap: 12px;



  align-items: flex-start;



}



.zcu-cart-item-thumb-box {



  width: 90px;



  height: 68px;



  background: #f8fafc;



  border: 1px solid #cbd5e1;



  border-radius: 8px;



  overflow: hidden;



  position: relative;



  cursor: pointer;



  flex-shrink: 0;



  display: flex;



  align-items: center;



  justify-content: center;



}



.zcu-cart-item-thumb-box img {



  max-width: 100%;



  max-height: 100%;



  object-fit: contain;



  display: block;



}



.zcu-cart-item-thumb-zoom {



  position: absolute;



  bottom: 3px;



  right: 3px;



  background: rgba(15, 23, 42, 0.7);



  color: #ffffff;



  width: 18px;



  height: 18px;



  border-radius: 4px;



  font-size: 10px;



  display: flex;



  align-items: center;



  justify-content: center;



}



.zcu-cart-item-details {



  flex: 1;



  min-width: 0;



}



.zcu-cart-item-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  color: #1f239c;
  background: #eff6ff;
  padding: 1px 6px;
  border-radius: 4px;
  margin-bottom: 0;
}

.zcu-cart-item-header-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  margin-bottom: 2px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}



.zcu-cart-item-title {



  font-size: 13px;



  font-weight: 700;



  color: #0f172a;



  line-height: 1.3;



  margin-bottom: 2px;



  white-space: nowrap;



  overflow: hidden;



  text-overflow: ellipsis;



}



.zcu-cart-item-spec {



  font-size: 11px;



  color: #64748b;



  margin-bottom: 4px;



}



.zcu-cart-item-price-row {



  display: flex;



  align-items: center;



  justify-content: space-between;



}



.zcu-cart-item-price {



  font-size: 14px;



  font-weight: 800;



  color: #0f172a;



}



.zcu-cart-qty-stepper {



  display: inline-flex;



  align-items: center;



  background: #f1f5f9;



  border-radius: 6px;



  overflow: hidden;



}



.zcu-cart-qty-btn {



  background: none;



  border: none;



  width: 26px;



  height: 24px;



  font-size: 13px;



  font-weight: 700;



  color: #334155;



  cursor: pointer;



  display: flex;



  align-items: center;



  justify-content: center;



}



.zcu-cart-qty-btn:hover {



  background: #e2e8f0;



}



.zcu-cart-qty-num {



  font-size: 12px;



  font-weight: 800;



  color: #0f172a;



  min-width: 22px;



  text-align: center;



}







/* Actions Bar inside item */



.zcu-cart-item-actions {



  display: flex;



  align-items: center;



  gap: 6px;



  padding-top: 8px;
  border-top: 1px dashed #e2e8f0;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.zcu-cart-btn-inspect,
.zcu-cart-btn-edit {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  height: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  padding: 0 8px !important;
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  box-sizing: border-box !important;
  line-height: 1 !important;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
}

.zcu-cart-btn-inspect span,
.zcu-cart-btn-edit span {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  display: inline-block !important;
  max-width: 100% !important;
}

.zcu-cart-btn-inspect:hover {
  background: #ede9fe !important;
  border-color: #c4b5fd !important;
  color: #4338ca !important;
}

.zcu-cart-btn-edit:hover {
  background: #f1f5f9 !important;
  border-color: #94a3b8 !important;
  color: #0f172a !important;
}

.zcu-cart-btn-remove {
  flex: 0 0 32px !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  max-width: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  padding: 0 !important;
  background: none !important;
  border: 1px solid transparent !important;
  border-radius: 8px !important;
  color: #64748b !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 18px !important;
  box-sizing: border-box !important;
  transition: all 0.15s ease !important;
  margin: 0 !important;
}

.zcu-cart-btn-remove:hover {
  background: #fee2e2 !important;
  border-color: #fecaca !important;
  color: #dc2626 !important;
  transform: scale(1.08) !important;
}







/* Empty State */



.zcu-cart-empty-state {



  text-align: center;



  padding: 40px 20px;



  color: #64748b;



  display: flex;



  flex-direction: column;



  align-items: center;



  gap: 12px;



}



.zcu-cart-empty-icon {



  width: 64px;



  height: 64px;



  background: #f1f5f9;



  border-radius: 50%;



  display: flex;



  align-items: center;



  justify-content: center;



  font-size: 26px;



  color: #94a3b8;



}







/* Drawer Footer */



.zcu-cart-drawer-footer {



  padding: 16px 20px;



  border-top: 1px solid #e2e8f0;



  background: #f8fafc;



  display: flex;



  flex-direction: column;



  gap: 12px;



}



.zcu-cart-total-row {



  display: flex;



  align-items: center;



  justify-content: space-between;



}



.zcu-cart-total-label {



  font-size: 14px;



  font-weight: 600;



  color: #475569;



}



.zcu-cart-total-amount {



  font-size: 20px;



  font-weight: 800;



  color: #0f172a;



}



.zcu-cart-checkout-btn {



  background: #1f239c;



  color: #ffffff;



  border: none;



  border-radius: 12px;



  padding: 13px 18px;



  font-size: 14px;



  font-weight: 800;



  cursor: pointer;



  display: flex;



  align-items: center;



  justify-content: center;



  gap: 8px;



  box-shadow: 0 4px 14px rgba(31, 35, 156, 0.25);



  text-decoration: none;



  transition: all 0.15s ease;



}



.zcu-cart-checkout-btn:hover {



  background: #181b7a;



  color: #ffffff;



  transform: translateY(-1px);



  box-shadow: 0 6px 18px rgba(31, 35, 156, 0.35);



}



.zcu-cart-new-design-btn {



  background: #ffffff;



  color: #1e293b;



  border: 1.5px solid #cbd5e1;



  border-radius: 12px;



  padding: 10px 16px;



  font-size: 13px;



  font-weight: 700;



  cursor: pointer;



  display: flex;



  align-items: center;



  justify-content: center;



  gap: 6px;



  transition: all 0.15s ease;



}



.zcu-cart-new-design-btn:hover {



  background: #f1f5f9;



  border-color: #94a3b8;



}







/* DESIGN INSPECTOR MODAL */



#zcu-design-inspect-modal {



  z-index: 10005 !important;



}



#zcu-design-inspect-modal.zcu-modal-overlay {
  position: fixed !important;
  top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
  width: 100vw !important; height: 100vh !important;
  background: rgba(22, 16, 44, 0.58) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 18px !important;
  z-index: 200000 !important;
  box-sizing: border-box !important;
}

#zcu-design-inspect-modal.open {
  display: flex !important;
}

.zcu-inspect-card {
  width: 95% !important;
  max-width: 680px !important;
  background: linear-gradient(180deg, #FDFCFF 0%, #F6F3FC 100%) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.95) !important;
  border-radius: 28px !important;
  box-shadow: 0 28px 70px rgba(24, 12, 58, 0.28), 0 4px 16px rgba(24, 12, 58, 0.1) !important;
  padding: 24px 28px 24px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.zcu-inspect-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 0 12px 0 !important;
  border-bottom: 1px solid #E8E3F5 !important;
  background: transparent !important;
}

.zcu-inspect-title {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #0F0D1D !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  letter-spacing: -0.01em !important;
}

.zcu-inspect-title i {
  color: #3C1A9A !important;
  font-size: 20px !important;
}

.zcu-inspect-body {
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  background: transparent !important;
}

.zcu-inspect-preview-wrap {
  background: #FFFFFF !important;
  border: 1.5px solid #E2DDF2 !important;
  border-radius: 18px !important;
  padding: 16px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 16px rgba(40, 20, 95, 0.04) !important;
}

.zcu-inspect-preview-wrap img {
  max-width: 100% !important;
  max-height: 280px !important;
  object-fit: contain !important;
  border-radius: 8px !important;
}

.zcu-inspect-sides-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px !important;
  width: 100% !important;
}

.zcu-inspect-side-card {
  background: #FFFFFF !important;
  border: 1px solid #E2DDF2 !important;
  border-radius: 12px !important;
  padding: 10px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 6px !important;
}

.zcu-inspect-side-card img {
  max-width: 100% !important;
  max-height: 220px !important;
  object-fit: contain !important;
}

.zcu-inspect-side-label {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #3C1A9A !important;
}

.zcu-inspect-preview-note {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #493D73 !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-top: 8px !important;
}

.zcu-inspect-meta-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
  background: #FFFFFF !important;
  border: 1px solid #E8E3F5 !important;
  border-radius: 14px !important;
  padding: 12px 14px !important;
  font-size: 12.5px !important;
  color: #64748B !important;
}

.zcu-inspect-meta-item b {
  color: #0F0D1D !important;
  font-weight: 700 !important;
}

.zcu-inspect-footer {
  display: grid !important;
  grid-template-columns: 0.85fr 1.15fr !important;
  gap: 14px !important;
  padding-top: 8px !important;
  background: transparent !important;
  border: none !important;
}

.zcu-inspect-btn-back {
  height: 50px !important;
  min-height: 50px !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, #FFFFFF 0%, #F1EDFC 100%) !important;
  border: 1.5px solid #D5CCF0 !important;
  color: #341690 !important;
  font-size: 15px !important;
  font-weight: 750 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(56, 22, 148, 0.06), inset 0 1px 0 #FFFFFF !important;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.zcu-inspect-btn-back:hover {
  background: linear-gradient(180deg, #FFFFFF 0%, #E8E1FA 100%) !important;
  border-color: #C0B2E8 !important;
  transform: translateY(-1px) !important;
}

.zcu-inspect-btn-edit {
  height: 50px !important;
  min-height: 50px !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, #6338E8 0%, #461DBB 50%, #2D0F85 100%) !important;
  border: 1px solid rgba(167, 139, 250, 0.45) !important;
  color: #FFFFFF !important;
  font-size: 15.5px !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
  text-shadow: 0 1px 2px rgba(18, 5, 58, 0.35) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  cursor: pointer !important;
  box-shadow:
    0 12px 28px -4px rgba(59, 24, 166, 0.52),
    0 4px 10px rgba(30, 10, 88, 0.25),
    inset 0 1.5px 1px rgba(255, 255, 255, 0.44),
    inset 0 -2px 5px rgba(18, 5, 58, 0.38) !important;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.zcu-inspect-btn-edit:hover {
  background: linear-gradient(180deg, #6E42F2 0%, #4F23C8 50%, #341296 100%) !important;
  transform: translateY(-1.5px) !important;
}

.zcu-inspect-actions {
  display: flex !important;
  gap: 10px !important;
  margin-top: 4px !important;
}

@media (max-width: 768px) {
  .zcu-inspect-card {
    padding: 16px !important;
    border-radius: 22px !important;
  }
  .zcu-inspect-footer {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }
  .zcu-inspect-btn-back,
  .zcu-inspect-btn-edit {
    width: 100% !important;
    height: 46px !important;
    min-height: 46px !important;
  }
}








/* Large, comfortable, perfectly styled top floating layer toolbar */

@media (min-width: 769px) {

  .zcu-body .zcu-top-layer-toolbar {

    top: 14px !important;

    left: 50% !important;

    transform: translateX(-50%) !important;

    border-radius: 46px !important;

    padding: 6px 14px !important;

    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.16), 0 2px 8px rgba(15, 23, 42, 0.08) !important;

    border: 1.5px solid #cbd5e1 !important;

    background: #ffffff !important;

    gap: 6px !important;

    z-index: 40 !important;

  }

  .zcu-body #zcu-tb-image-controls,

  .zcu-body #zcu-tb-text-controls {

    display: flex !important;

    align-items: center !important;

    gap: 6px !important;

  }

  .zcu-body .zcu-top-layer-toolbar .zcu-tb-btn {

    height: 42px !important;

    padding: 0 14px !important;

    border-radius: 21px !important;

    font-size: 13.5px !important;

    font-weight: 500 !important;

    gap: 7px !important;

    color: #1e293b !important;

    background: transparent !important;

    border: 1px solid transparent !important;

    transition: all 0.15s ease !important;

  }

  .zcu-body .zcu-top-layer-toolbar .zcu-tb-btn:hover {

    background: #f1f5f9 !important;

    color: #0f172a !important;

  }

  .zcu-body .zcu-top-layer-toolbar .zcu-tb-btn i {

    font-size: 16px !important;

  }

  .zcu-body .zcu-top-layer-toolbar .zcu-tb-icon-btn {

    width: 38px !important;

    height: 38px !important;

    border-radius: 19px !important;

    font-size: 16px !important;

    color: #334155 !important;

    background: transparent !important;

    border: 1px solid transparent !important;

    display: inline-flex !important;

    align-items: center !important;

    justify-content: center !important;

    transition: all 0.15s ease !important;

  }

  .zcu-body .zcu-top-layer-toolbar .zcu-tb-icon-btn:hover {

    background: #f1f5f9 !important;

    color: #0f172a !important;

  }

  .zcu-body .zcu-top-layer-toolbar .zcu-tb-icon-btn.active {

    background: #ffffff !important;

    color: #1f239c !important;

    border: 1.5px solid #1f239c !important;

    box-shadow: none !important;

  }

  .zcu-body .zcu-top-layer-toolbar #tb-scale-minus,

  .zcu-body .zcu-top-layer-toolbar #tb-scale-plus,

  .zcu-body .zcu-top-layer-toolbar #tb-text-fs-minus,

  .zcu-body .zcu-top-layer-toolbar #tb-text-fs-plus {

    font-size: 20px !important;

    font-weight: 400 !important;

    width: 36px !important;

    height: 36px !important;

    line-height: 1 !important;

  }

  .zcu-body .zcu-top-layer-toolbar #tb-text-lh-minus,

  .zcu-body .zcu-top-layer-toolbar #tb-text-lh-plus {

    font-size: 18px !important;

    font-weight: 400 !important;

    width: 30px !important;

    height: 30px !important;

    line-height: 1 !important;

  }

  .zcu-body .zcu-top-layer-toolbar .zcu-tb-val {

    font-size: 13.5px !important;

    font-weight: 500 !important;

    min-width: 36px !important;

    text-align: center !important;

    color: #0f172a !important;

  }

  .zcu-body .zcu-top-layer-toolbar .zcu-tb-sep {

    width: 2px !important;

    height: 26px !important;

    margin: 0 5px !important;

    background: #cbd5e1 !important;

    display: inline-block !important;

  }

  .zcu-body .zcu-top-layer-toolbar .zcu-tb-select,

  .zcu-top-layer-toolbar .zcu-tb-select,

  .zcu-tb-font-trigger {

    height: 38px !important;

    padding: 0 8px !important;

    font-size: 13.5px !important;

    font-weight: 500 !important;

    border: none !important;

    background: transparent !important;

    color: #1e293b !important;

    cursor: pointer !important;

    outline: none !important;

    box-shadow: none !important;

  }

  .zcu-body .zcu-top-layer-toolbar .zcu-tb-color-picker {

    width: 36px !important;

    height: 36px !important;

    border-radius: 8px !important;

    border: 1.5px solid #cbd5e1 !important;

    padding: 0 !important;

    cursor: pointer !important;

  }

}





/* ==========================================================================

   UNIFIED UPLOADS PANEL & THUMBNAILS GALLERY (MATCHES ORIGINAL ZAZZLE)

   ========================================================================== */

.zcu-upload-desc {

  font-size: 13px !important;

  line-height: 1.45 !important;

  color: #475569 !important;

  margin: 0 0 12px 0 !important;

  font-weight: 500 !important;

  word-break: break-word !important;

}



.zcu-upload-divider {

  height: 1px !important;

  background: #e2e8f0 !important;

  margin: 0 0 16px 0 !important;

  width: 100% !important;

  border: none !important;

}



.zcu-upload-single-btn {

  width: 100% !important;

  min-height: 44px !important;

  padding: 10px 18px !important;

  background: #ffffff !important;

  border: 1.5px solid #1f239c !important;

  border-radius: 24px !important;

  color: #1f239c !important;

  font-size: 14px !important;

  font-weight: 600 !important;

  display: flex !important;

  align-items: center !important;

  justify-content: center !important;

  gap: 10px !important;

  cursor: pointer !important;

  box-sizing: border-box !important;

  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;

  outline: none !important;

  box-shadow: 0 1px 3px rgba(31, 35, 156, 0.08) !important;

}



.zcu-upload-single-btn:hover {

  background: #f0f4ff !important;

  border-color: #16197a !important;

  color: #16197a !important;

  box-shadow: 0 2px 8px rgba(31, 35, 156, 0.16) !important;

  transform: translateY(-1px) !important;

}



.zcu-upload-single-btn:active {

  transform: translateY(0) !important;

  box-shadow: 0 1px 2px rgba(31, 35, 156, 0.1) !important;

}



.zcu-upload-icon-svg {

  width: 20px !important;

  height: 20px !important;

  stroke: currentColor !important;

  stroke-width: 2 !important;

  fill: none !important;

  flex-shrink: 0 !important;

}



.zcu-uploads-subtitle {

  margin-top: 18px !important;

  margin-bottom: 10px !important;

  font-weight: 700 !important;

  font-size: 13px !important;

  color: #334155 !important;

}



.zcu-uploads-grid {

  display: grid !important;

  grid-template-columns: repeat(3, 1fr) !important;

  gap: 10px !important;

  margin-top: 8px !important;

  width: 100% !important;

  box-sizing: border-box !important;

}



.zcu-upload-thumb,

.zcu-uploaded-thumb {

  position: relative !important;

  aspect-ratio: 1 / 1 !important;

  width: 100% !important;

  border-radius: 12px !important;

  overflow: hidden !important;

  background: #f8fafc !important;

  border: 1.5px solid #e2e8f0 !important;

  cursor: pointer !important;

  box-sizing: border-box !important;

  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease !important;

  padding: 0 !important;

  margin: 0 !important;

}



.zcu-upload-thumb:hover,

.zcu-uploaded-thumb:hover {

  border-color: #1f239c !important;

  transform: translateY(-2px) !important;

  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12) !important;

}



.zcu-upload-thumb img,

.zcu-uploaded-thumb img {

  width: 100% !important;

  height: 100% !important;

  object-fit: contain !important;

  display: block !important;

  pointer-events: none !important;

}



.zcu-upload-thumb-del {

  position: absolute !important;

  top: 5px !important;

  left: 5px !important;

  width: 22px !important;

  height: 22px !important;

  border-radius: 50% !important;

  background: rgba(15, 23, 42, 0.72) !important;

  color: #ffffff !important;

  border: none !important;

  display: flex !important;

  align-items: center !important;

  justify-content: center !important;

  padding: 0 !important;

  margin: 0 !important;

  font-size: 11px !important;

  cursor: pointer !important;

  z-index: 10 !important;

  line-height: 1 !important;

  transition: background 0.15s ease, transform 0.15s ease !important;

  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;

}



.zcu-upload-thumb-del:hover {

  background: #ef4444 !important;

  transform: scale(1.15) !important;

}







      /* Unified clean line thickness and balanced font weight across top layer toolbar */

      .zcu-body .zcu-top-layer-toolbar,

      .zcu-top-layer-toolbar {

        font-weight: 500 !important;

      }

      .zcu-body .zcu-top-layer-toolbar .zcu-tb-btn,

      .zcu-top-layer-toolbar .zcu-tb-btn,

      .zcu-body .zcu-top-layer-toolbar .zcu-tb-btn span,

      .zcu-top-layer-toolbar .zcu-tb-btn span {

        font-weight: 500 !important;

        font-size: 13.5px !important;

        letter-spacing: -0.01em !important;

      }

      .zcu-body .zcu-top-layer-toolbar .zcu-tb-val,

      .zcu-top-layer-toolbar .zcu-tb-val {

        font-weight: 500 !important;

        font-size: 13.5px !important;

      }

      .zcu-body .zcu-top-layer-toolbar .zcu-tb-select,

      .zcu-top-layer-toolbar .zcu-tb-select {

        font-weight: 500 !important;

        font-size: 13.5px !important;

      }

      .zcu-body .zcu-top-layer-toolbar #tb-scale-minus,

      .zcu-body .zcu-top-layer-toolbar #tb-scale-plus,

      .zcu-body .zcu-top-layer-toolbar #tb-text-fs-minus,

      .zcu-body .zcu-top-layer-toolbar #tb-text-fs-plus,

      .zcu-body .zcu-top-layer-toolbar #tb-text-lh-minus,

      .zcu-body .zcu-top-layer-toolbar #tb-text-lh-plus {

        font-weight: 400 !important;

        font-size: 20px !important;

        line-height: 1 !important;

      }

      .zcu-body .zcu-top-layer-toolbar .zcu-tb-sep,

      .zcu-top-layer-toolbar .zcu-tb-sep {

        width: 1px !important;

        background: #e2e8f0 !important;

      }



      /* Never overlap the open left drawer on desktop: center in the free visible workspace */

      @media (min-width: 769px) {

        .zcu-body .zcu-drawer:not(.closed) ~ .zcu-stage .zcu-top-layer-toolbar,

        .zcu-body .zcu-drawer:not(.closed) ~ .zcu-stage #zcu-top-layer-toolbar,

        .zcu-body .zcu-drawer:not(.closed) ~ .zcu-stage-wrap .zcu-top-layer-toolbar,

        .zcu-body .zcu-drawer:not(.closed) ~ .zcu-stage-wrap #zcu-top-layer-toolbar {

          left: calc(50% + 190px) !important;

        }

      }



/* Top Floating Toolbar Font & Color Picker Dropdowns */

.zcu-tb-font-picker-wrap {

  position: relative !important;

  display: inline-flex !important;

  align-items: center !important;

}



.zcu-tb-font-trigger {

  display: inline-flex !important;

  align-items: center !important;

  background: transparent !important;

  border: none !important;

  padding: 0 6px !important;

  height: 38px !important;

  cursor: pointer !important;

  font-size: 13.5px !important;

  font-weight: 500 !important;

  color: #1e293b !important;

  outline: none !important;

  box-shadow: none !important;

  border-radius: 8px !important;

  transition: background 0.15s ease !important;

}



.zcu-tb-font-trigger:hover {

  background: #f1f5f9 !important;

}



#zcu-tb-font-picker-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 99999;

  min-width: 210px !important;

  background: #ffffff !important;

  border: 1px solid #e2e8f0 !important;

  border-radius: 12px !important;

  padding: 6px !important;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;

}



.zcu-tb-color-wrap {

  position: relative !important;

  display: inline-flex !important;

  align-items: center !important;

  margin: 0 4px !important;

}



.zcu-tb-color-btn {

  display: inline-flex !important;

  align-items: center !important;

  justify-content: center !important;

  width: 28px !important;

  height: 28px !important;

  border-radius: 50% !important;

  border: none !important;

  background: transparent !important;

  padding: 0 !important;

  cursor: pointer !important;

  outline: none !important;

}



.zcu-tb-color-btn:hover {

  transform: scale(1.08) !important;

}



#zcu-tb-color-dropdown {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 99999 !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 10px 12px !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
  min-width: 250px !important;
  box-sizing: border-box !important;
}

#zcu-tb-color-quick-view {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

#zcu-tb-color-palette-view {
  width: 100%;
}

#zcu-tb-color-palette-view .zcu-pv-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 8px !important;
}

#zcu-tb-color-palette-view .zcu-spectrum-touch-container {
  width: 100% !important;
  height: 75px !important;
  position: relative !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  cursor: crosshair !important;
  margin-bottom: 8px !important;
  touch-action: none !important;
}

#zcu-tb-color-palette-view .zcu-spectrum-canvas {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

#zcu-tb-color-palette-view .zcu-sp-hue-slider {
  width: 100% !important;
  margin-bottom: 8px !important;
  display: block !important;
}

#zcu-tb-color-palette-view .zcu-sp-mini-swatches {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 4px !important;
}


/* Explicitly hide clear button and pills bar per user instruction */
.zcu-qtext-box-clear,
#zcu-qtext-clear,
.zcu-qtext-pills-bar,
#zcu-qtext-pills-bar,
#zcu-mob-qtext-pills-bar {
  display: none !important;
}

/* Modern Card Container & Quick Controls */
.zcu-modern-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
  box-sizing: border-box;
  transition: border-color 0.15s ease;
}

.zcu-modern-card:hover {
  border-color: #cbd5e1;
}

.zcu-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.zcu-card-title {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 7px;
}

.zcu-card-title i {
  color: #1f239c;
  font-size: 13px;
}

.zcu-modern-textarea {
  width: 100%;
  height: 56px;
  min-height: 56px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 8px 12px;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.35;
  color: #1e293b;
  background: #ffffff;
  resize: vertical;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.zcu-modern-textarea::placeholder {
  color: #94a3b8;
}

.zcu-modern-textarea:focus {
  border-color: #1f239c;
  outline: none;
  box-shadow: 0 0 0 3px rgba(31, 35, 156, 0.1);
}

.zcu-card-secondary-btn {
  width: 100%;
  height: 38px;
  border-radius: 19px;
  border: 1px dashed #cbd5e1;
  background: #f8fafc;
  color: #1f239c;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  margin-top: 8px;
  transition: all 0.15s ease;
  box-sizing: border-box;
}

.zcu-card-secondary-btn:hover {
  background: #eff6ff;
  border-color: #1f239c;
  transform: translateY(-1px);
}


/* ==========================================================================
   UNIFIED ON-CANVAS FLOATING ACTION PILL & QUICK ACTION BUTTONS
   ========================================================================== */

.zcu-qtext-box-input::placeholder {
  color: #94a3b8 !important;
  opacity: 1 !important;
  font-style: normal !important;
  font-weight: 400 !important;
}

/* Floating Action Pill for Active Canvas Object */
.zcu-floating-obj-pill {
  position: fixed !important;
  display: none !important;
  align-items: center !important;
  background: #ffffff !important;
  border-radius: 30px !important;
  padding: 5px 8px !important;
  gap: 6px !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid #cbd5e1 !important;
  z-index: 99999 !important;
  pointer-events: auto !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  white-space: nowrap !important;
}

.zcu-floating-obj-pill.visible,
.zcu-floating-obj-pill.active {
  display: flex !important;
}

.zcu-fop-btn {
  width: auto !important;
  min-width: 36px !important;
  height: 36px !important;
  padding: 0 12px !important;
  border-radius: 18px !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  color: #334155 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  box-sizing: border-box !important;
}

.zcu-fop-btn:hover,
.zcu-fop-btn:active {
  background: #f1f5f9 !important;
  color: #0f172a !important;
}

.zcu-fop-btn.zcu-fop-del {
  background: #fef2f2 !important;
  border-color: #fecaca !important;
  color: #dc2626 !important;
  font-weight: 700 !important;
}

.zcu-fop-btn.zcu-fop-del:hover,
.zcu-fop-btn.zcu-fop-del:active {
  background: #fee2e2 !important;
  color: #b91c1c !important;
}

.zcu-fop-btn.zcu-fop-edit {
  background: #eef2ff !important;
  border-color: #c7d2fe !important;
  color: #3730a3 !important;
  font-weight: 700 !important;
}

.zcu-fop-btn.zcu-fop-edit:hover,
.zcu-fop-btn.zcu-fop-edit:active {
  background: #e0e7ff !important;
  color: #1e1b4b !important;
}

.zcu-fop-btn.zcu-fop-close {
  width: 36px !important;
  padding: 0 !important;
  color: #64748b !important;
}

.zcu-fop-btn.zcu-fop-close:hover {
  color: #0f172a !important;
  background: #e2e8f0 !important;
}

/* Quick Action Row inside Text Panel */
.zcu-qtext-action-row,
.zcu-qtext-bottom-actions {
  display: flex !important;
  gap: 10px !important;
  margin-top: 14px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.zcu-qtext-action-row .zcu-quick-action-btn,
.zcu-qtext-bottom-actions .zcu-quick-action-btn {
  flex: 1 !important;
  height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  border-radius: 12px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
}

.zcu-qtext-action-row .zcu-action-danger,
.zcu-qtext-bottom-actions .zcu-action-danger {
  background: #fef2f2 !important;
  color: #dc2626 !important;
  border: 1px solid #fecaca !important;
}

.zcu-qtext-action-row .zcu-action-danger:hover,
.zcu-qtext-action-row .zcu-action-danger:active,
.zcu-qtext-bottom-actions .zcu-action-danger:hover,
.zcu-qtext-bottom-actions .zcu-action-danger:active {
  background: #fee2e2 !important;
  color: #b91c1c !important;
}

.zcu-qtext-action-row .zcu-action-primary,
.zcu-qtext-bottom-actions .zcu-action-primary,
#zcu-desk-qtext-add-new,
#zcu-qtext-add-new {
  background: #ffffff !important;
  color: #2b14c4 !important;
  border: 1.5px solid #2b14c4 !important;
  box-shadow: none !important;
}

.zcu-qtext-action-row .zcu-action-primary i,
.zcu-qtext-bottom-actions .zcu-action-primary i,
#zcu-desk-qtext-add-new i,
#zcu-qtext-add-new i {
  color: #2b14c4 !important;
}

.zcu-qtext-action-row .zcu-action-primary:hover,
.zcu-qtext-action-row .zcu-action-primary:active,
.zcu-qtext-bottom-actions .zcu-action-primary:hover,
.zcu-qtext-bottom-actions .zcu-action-primary:active,
#zcu-desk-qtext-add-new:hover,
#zcu-desk-qtext-add-new:active,
#zcu-qtext-add-new:hover,
#zcu-qtext-add-new:active {
  background: #f5f3ff !important;
  border-color: #1f0fa0 !important;
  color: #1f0fa0 !important;
}

.zcu-qtext-action-row .zcu-action-primary:hover i,
.zcu-qtext-action-row .zcu-action-primary:active i,
.zcu-qtext-bottom-actions .zcu-action-primary:hover i,
.zcu-qtext-bottom-actions .zcu-action-primary:active i,
#zcu-desk-qtext-add-new:hover i,
#zcu-desk-qtext-add-new:active i,
#zcu-qtext-add-new:hover i,
#zcu-qtext-add-new:active i {
  color: #1f0fa0 !important;
}


@media (max-width: 480px) {
  .zcu-floating-obj-pill {
    padding: 4px 6px !important;
    gap: 4px !important;
    border-radius: 24px !important;
    max-width: 96vw !important;
  }
  .zcu-fop-btn {
    height: 34px !important;
    min-width: 34px !important;
    padding: 0 9px !important;
    font-size: 12px !important;
    border-radius: 17px !important;
  }
  .zcu-fop-btn.zcu-fop-close,
  .zcu-fop-btn#fop-rotate,
  .zcu-fop-btn#fop-flip-h,
  .zcu-fop-btn#fop-duplicate {
    width: 34px !important;
    min-width: 34px !important;
    padding: 0 !important;
  }
}


/* ================================================================
   CASEPRINT-STYLE CUSTOMIZER SYSTEM (Mobile Under-Canvas 5-Buttons,
   Floating Toolbar, Order Card & Volume Discount)
   ================================================================ */

/* 1. TOP FLOATING TOOLBAR ABOVE MOCKUP (Matches Screenshot 3) */
.zcu-cft-toolbar {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 30px !important;
  padding: 5px 10px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12) !important;
  margin: 6px auto 10px auto !important;
  z-index: 120 !important;
  position: relative !important;
  width: fit-content !important;
  max-width: 95% !important;
  box-sizing: border-box !important;
}

.zcu-cft-toolbar.hidden {
  display: none !important;
}

.zcu-cft-btn {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  border-radius: 50% !important;
  border: 1px solid #e2e8f0 !important;
  background: #f8fafc !important;
  color: #334155 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  padding: 0 !important;
  transition: all 0.15s ease !important;
  user-select: none !important;
  box-sizing: border-box !important;
}

.zcu-cft-btn:hover,
.zcu-cft-btn:active {
  background: #e2e8f0 !important;
  color: #0f172a !important;
  transform: scale(1.05) !important;
}

.zcu-cft-btn.zcu-cft-del {
  color: #ef4444 !important;
  border-color: #fecaca !important;
  background: #fef2f2 !important;
}

.zcu-cft-btn.zcu-cft-del:hover,
.zcu-cft-btn.zcu-cft-del:active {
  background: #fee2e2 !important;
  color: #dc2626 !important;
}

.zcu-cft-btn.zcu-cft-close {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  border-radius: 50% !important;
  border: none !important;
  background: #f1f5f9 !important;
  color: #64748b !important;
  margin-left: 2px !important;
}

.zcu-cft-btn.zcu-cft-close:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}

/* 2. 5 ACTION BUTTONS UNDER CANVAS (Matches Screenshot 1) */
.zcu-under-canvas-toolbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-around !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 18px !important;
  padding: 12px 6px !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
  margin: 12px 10px 16px 10px !important;
  width: calc(100% - 20px) !important;
  max-width: 500px !important;
  box-sizing: border-box !important;
}

.zcu-uct-btn {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer !important;
  padding: 4px 6px !important;
  flex: 1 !important;
  text-align: center !important;
  color: #1e293b !important;
  transition: transform 0.15s ease, opacity 0.15s ease !important;
  user-select: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

.zcu-uct-btn:active {
  transform: scale(0.93) !important;
  opacity: 0.8 !important;
}

.zcu-uct-icon {
  width: 28px !important;
  height: 28px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #1e293b !important;
  margin-bottom: 5px !important;
}

.zcu-uct-icon svg {
  width: 22px !important;
  height: 22px !important;
}

.zcu-uct-btn span {
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  line-height: 1.15 !important;
  white-space: nowrap !important;
}

/* 3. ORDER CARD UNDER CANVAS (Matches Screenshots 1 & 2) */
.zcu-order-card-mob {
  width: calc(100% - 20px) !important;
  max-width: 500px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 20px !important;
  padding: 18px 16px !important;
  margin: 0 10px 24px 10px !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04) !important;
  box-sizing: border-box !important;
}

.zcu-oc-header {
  margin-bottom: 14px !important;
}

.zcu-oc-title {
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 0 0 4px 0 !important;
}

.zcu-oc-subtitle {
  font-size: 13px !important;
  color: #64748b !important;
  margin: 0 !important;
}

.zcu-oc-product-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 12px 14px !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  background: #f8fafc !important;
  margin-bottom: 16px !important;
}

.zcu-oc-product-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.zcu-oc-product-name {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
}

.zcu-oc-product-meta {
  font-size: 13px !important;
  color: #64748b !important;
  font-weight: 500 !important;
}

.zcu-oc-change-link {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #2563eb !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  cursor: pointer !important;
  text-align: left !important;
  margin-top: 4px !important;
  text-decoration: underline !important;
}

.zcu-oc-product-thumb {
  width: 64px !important;
  height: 64px !important;
  flex-shrink: 0 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.zcu-oc-product-thumb img {
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}

.zcu-oc-qty-section {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-bottom: 16px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  margin-bottom: 16px !important;
}

.zcu-oc-qty-text {
  flex: 1 !important;
  padding-right: 12px !important;
}

.zcu-oc-qty-title {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin-bottom: 4px !important;
}

.zcu-oc-qty-hint {
  font-size: 11px !important;
  color: #64748b !important;
  line-height: 1.3 !important;
}

.zcu-oc-qty-stepper {
  display: flex !important;
  align-items: center !important;
  background: #f1f5f9 !important;
  border-radius: 20px !important;
  padding: 4px !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
}

.zcu-oc-qty-stepper button {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  border: none !important;
  background: #ffffff !important;
  color: #0f172a !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06) !important;
  transition: all 0.15s ease !important;
}

.zcu-oc-qty-stepper button:active {
  transform: scale(0.92) !important;
  background: #e2e8f0 !important;
}

.zcu-oc-qty-stepper span {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  min-width: 20px !important;
  text-align: center !important;
}

/* Volume Discount Section (Screenshot 2) */
.zcu-oc-discount-box {
  background: #f0f7ff !important;
  border: 1px solid #bfdbfe !important;
  border-radius: 14px !important;
  padding: 12px 14px !important;
}

.zcu-oc-discount-header {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  color: #1e40af !important;
  margin-bottom: 12px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.zcu-oc-discount-track-wrap {
  position: relative !important;
  margin-bottom: 10px !important;
}

.zcu-oc-discount-track {
  position: relative !important;
  height: 6px !important;
  background: #cbd5e1 !important;
  border-radius: 3px !important;
  margin: 10px 8px !important;
}

.zcu-oc-discount-bar {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  height: 100% !important;
  background: #2563eb !important;
  border-radius: 3px !important;
  transition: width 0.2s ease !important;
}

.zcu-oc-dot {
  position: absolute !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 12px !important;
  height: 12px !important;
  border-radius: 50% !important;
  background: #94a3b8 !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15) !important;
  transition: background 0.2s ease !important;
}

.zcu-oc-dot.dot-1   { left: 0% !important; }
.zcu-oc-dot.dot-13  { left: 25% !important; }
.zcu-oc-dot.dot-37  { left: 50% !important; }
.zcu-oc-dot.dot-100 { left: 75% !important; }
.zcu-oc-dot.dot-200 { left: 100% !important; }

.zcu-oc-dot.active {
  background: #2563eb !important;
}

.zcu-oc-discount-labels {
  display: flex !important;
  justify-content: space-between !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #64748b !important;
  margin-top: 6px !important;
}

.zcu-oc-lbl.active {
  color: #1e40af !important;
  font-weight: 700 !important;
}

.zcu-oc-discount-tip {
  margin-top: 10px !important;
  padding: 8px 10px !important;
  background: #ecfdf5 !important;
  border: 1px solid #a7f3d0 !important;
  border-radius: 8px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #065f46 !important;
  text-align: center !important;
}

/* 4. MOBILE BOTTOM FIXED BAR & NAV OVERRIDES */
@media (max-width: 768px) {
  /* HIDE the 4 bottom tabs completely as user requested */
  body.zcu-mode-mug .zcu-mobile-nav {
    display: none !important;
  }

  .zcu-mobile-bottom-fixed {
    padding-bottom: env(safe-area-inset-bottom, 8px) !important;
    background: #ffffff !important;
    border-top: 1px solid #e2e8f0 !important;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.08) !important;
  }

  .zcu-mobile-cart-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 16px !important;
    background: #ffffff !important;
    border-bottom: none !important;
    min-height: 56px !important;
  }

  .zcu-mcb-info {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }

  .zcu-mcb-price-row {
    display: flex !important;
    align-items: baseline !important;
    gap: 6px !important;
  }

  .zcu-mcb-prefix {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #64748b !important;
  }

  .zcu-mcb-price {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    line-height: 1.1 !important;
  }

  .zcu-mcb-desc {
    font-size: 11px !important;
    color: #64748b !important;
    margin-top: 2px !important;
    font-weight: 500 !important;
  }

  .zcu-mobile-cart-btn {
    width: auto !important;
    min-width: 140px !important;
    height: 44px !important;
    border-radius: 22px !important;
    background: #000000 !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 20px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
    transition: all 0.15s ease !important;
  }

  .zcu-mobile-cart-btn:active {
    transform: scale(0.96) !important;
    background: #262626 !important;
  }

  /* Make .zcu-stage scroll smoothly down to order card */
  .zcu-stage {
    padding-bottom: 90px !important;
  }
}

/* Hide mobile-specific under-canvas elements on desktop */
@media (min-width: 769px) {
  .zcu-under-canvas-toolbar,
  .zcu-order-card-mob {
    display: none !important;
  }
}

/* Completely disable on-canvas floating action pill across all devices */
.zcu-floating-obj-pill,
#zcu-floating-obj-pill {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Ensure top layer toolbar controls switch cleanly between photo and text */
#zcu-top-layer-toolbar #zcu-tb-image-controls.hidden,
#zcu-top-layer-toolbar #zcu-tb-text-controls.hidden,
#zcu-top-layer-toolbar #zcu-tb-image-controls[style*="none"],
#zcu-top-layer-toolbar #zcu-tb-text-controls[style*="none"] {
  display: none !important;
  visibility: hidden !important;
}
#zcu-top-layer-toolbar #zcu-tb-image-controls:not(.hidden):not([style*="none"]),
#zcu-top-layer-toolbar #zcu-tb-text-controls:not(.hidden):not([style*="none"]) {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  height: 100% !important;
  flex-shrink: 0 !important;
}


/* ==========================================================================
   TZ MOBILE MUG CONSTRUCTOR STYLES (as per TZ_Antigravity_Mobile_Mug.md)
   ========================================================================== */

/* --- Desktop Isolation: Hide mobile app parts on desktop --- */
@media (min-width: 769px) {
  #tz-mob-app {
    display: contents !important;
  }
  .tz-mob-header,
  .tz-mob-top-controls,
  .tz-mob-flex-spacer,
  .tz-mob-history-row,
  .tz-mob-view-switcher-wrap,
  .tz-mob-workspace-footer,
  .tz-mob-mug-spec-bar,
  #tz-mob-object-bar,
  .tz-mob-main-menu,
  .tz-mob-purchase-bar,
  .tz-sheet,
  .tz-sheet-backdrop,
  #tz-mob-stage-prev {
    display: none !important;
  }
  .tz-mob-workspace-card,
  #tz-mob-stage-wrap {
    display: contents !important;
  }
}

/* --- Mobile Presentation (max-width: 768px) --- */
@media (max-width: 768px) {
  body.zcu-body {
    background-color: #FFFFFF !important;
    overflow-x: hidden !important;
    padding-bottom: 80px !important;
  }

  /* Hide Desktop & Legacy Elements (excluding tablet constructor) */
  body.zcu-mode-mug .zcu-header,
  body.zcu-is-mug .zcu-header,
  .zcu-ribbon,
  .zcu-sidebar-receipt,
  .zcu-bottom-bar,
  .zcu-mobile-bottom-fixed,
  body.zcu-mode-mug .zcu-drawer,
  body.zcu-is-mug .zcu-drawer,
  body.zcu-mode-mug .zcu-drawer-backdrop,
  body.zcu-is-mug .zcu-drawer-backdrop,
  .zcu-quick-sheet,
  .zcu-floating-obj-pill,
  .zcu-top-layer-toolbar,
  .zcu-under-canvas-toolbar,
  .zcu-order-card-mob,
  .zcu-stage-top-actions,
  .zcu-cft-toolbar {
    display: none !important;
  }

  main.zcu-stage {
    display: block !important;
    width: 100% !important;
    max-width: 100vw !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #FFFFFF !important;
    overflow-x: hidden !important;
  }

  #tz-mob-app {
    width: 100% !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  /* 1. Header */
  .tz-mob-header {
    display: flex;
    align-items: center;
    position: relative;
    padding: 12px 16px 4px;
    background: #FFFFFF;
  }
  .tz-mob-back-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #282634;
    text-decoration: none;
    border-radius: 50%;
    transition: background 0.2s;
  }
  .tz-mob-back-btn:active {
    background: #F7F5F2;
  }
  .tz-mob-title-wrap {
    flex: 1;
    text-align: center;
    margin-right: 40px; /* Offset back button for center alignment */
  }
  .tz-mob-subhead {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #8A8793;
    text-transform: uppercase;
  }
  .tz-mob-title {
    font-size: 18px;
    font-weight: 700;
    color: #282634;
    margin: 1px 0 0;
    line-height: 1.2;
  }

  /* 2. History Row */
  .tz-mob-history-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 16px 8px;
    min-height: 38px;
  }
  .tz-mob-history-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .tz-mob-hist-btn {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border: 1px solid #ECEAE7;
    border-radius: 10px;
    color: #282634;
    cursor: pointer;
    transition: all 0.2s;
  }
  .tz-mob-hist-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    border-color: #F0EEEA;
  }
  .tz-mob-hist-btn:not(:disabled):active {
    background: #F0EBFC;
    color: #6C50CE;
    border-color: #6C50CE;
  }
  .tz-mob-save-indicator {
    font-size: 12px;
    color: #8A8793;
    display: flex;
    align-items: center;
    gap: 5px;
  }
  .tz-purple-dot {
    color: #6C50CE;
    font-size: 14px;
    font-weight: bold;
  }

  /* 3. View Switcher Pill */
  .tz-mob-view-switcher-wrap {
    display: flex;
    justify-content: center;
    padding: 4px 16px 10px;
  }
  .tz-mob-view-pill {
    display: flex;
    background: #EAE8E4;
    padding: 3px;
    border-radius: 20px;
    width: 220px;
  }
  .tz-view-toggle {
    flex: 1;
    border: none;
    background: transparent;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #8A8793;
    border-radius: 17px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
  }
  .tz-view-toggle.active {
    background: #FFFFFF;
    color: #282634;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  }

  /* 4. Workspace Card */
  .tz-mob-workspace-card {
    background: #F7F5F2 !important;
    border-radius: 24px !important;
    margin: 14px 16px 8px !important;
    padding: 12px 10px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    height: 290px !important;
    min-height: 290px !important;
  }
  #tz-mob-app #zcu-ctx-pill,
  #tz-mob-app .zcu-ctx-pill,
  #tz-mob-app #zcu-zoom-fit-pill,
  #tz-mob-app .zcu-zoom-fit-pill,
  #zcu-ctx-pill,
  .zcu-ctx-pill,
  #zcu-zoom-fit-pill,
  .zcu-zoom-fit-pill {
    display: none !important;
  }
  .tz-mob-stage-wrap {
    width: 100% !important;
    height: 100% !important;
    min-height: 260px !important;
    display: flex;
    justify-content: center !important;
    align-items: center !important;
    position: relative !important;
    overflow: hidden !important;
  }
  .tz-mob-stage-wrap .zcu-wrap-sheet-wrap {
    margin: 0 auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    transform: translateX(6px) !important;
  }
  .tz-mob-stage-prev {
    width: 100% !important;
    height: 100% !important;
    min-height: 260px !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
  }
  .tz-mob-3d-container {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .tz-mob-workspace-footer {
    width: 100% !important;
    text-align: center !important;
    margin: 6px 0 10px !important;
    padding: 0 16px !important;
  }
  .tz-mob-gesture-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11.5px;
    color: #8A8793;
    margin-top: 8px;
    text-align: center;
  }
  .tz-mob-product-sub {
    font-size: 11px;
    color: #8A8793;
    margin-top: 3px;
  }

  /* 5. Single Object Settings Panel ( между холстом и нижним меню ) */
  .tz-mob-object-bar {
    margin: 0 16px 12px;
    background: #FFFFFF;
    border: 1px solid #ECEAE7;
    border-radius: 18px;
    padding: 10px 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  }
  .tz-mob-ob-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid #F0EEEA;
  }
  .tz-mob-ob-title-wrap {
    font-size: 13px;
    font-weight: 600;
    color: #282634;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .tz-mob-ob-sub {
    color: #8A8793;
    font-weight: 400;
  }
  .tz-mob-ob-close-btn {
    border: none;
    background: transparent;
    color: #8A8793;
    font-size: 16px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
  }
  .tz-mob-ob-close-btn:active {
    background: #F7F5F2;
  }
  .tz-mob-ob-actions {
    display: flex;
    align-items: center;
    justify-content: space-around;
  }
  .tz-mob-ob-action {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    border: none;
    background: transparent;
    color: #282634;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 12px;
    transition: background 0.2s;
  }
  .tz-mob-ob-action:active {
    background: #F0EBFC;
  }
  .tz-mob-ob-action.tz-act-del:active {
    background: #FFEBEE;
  }
  .tz-ob-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .tz-mob-ob-action span {
    font-size: 11px;
    font-weight: 500;
  }

  /* 6. Main Menu (5 пунктов) */
  .tz-mob-main-menu {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    margin: 0 14px 12px;
    background: #FFFFFF;
    border: 1px solid #ECEAE7;
    border-radius: 18px;
    padding: 5px 2px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  }
  .tz-mm-item {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    padding: 5px 1px;
    cursor: pointer;
    position: relative;
    border-radius: 12px;
    transition: background 0.2s;
  }
  .tz-mm-item:active {
    background: #F0EBFC;
  }
  .tz-mm-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .tz-mm-item span {
    font-size: 9.5px;
    font-weight: 600;
    color: #282634;
    margin-top: 2px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 62px;
    display: block;
  }
  .tz-badge {
    position: absolute;
    top: 2px;
    right: 8px;
    background: #6C50CE;
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
  }

  /* 7. Fixed Purchase Bar */
  .tz-mob-purchase-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-top: 1px solid #ECEAE7;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.04);
  }
  .tz-pb-price-info {
    display: flex;
    flex-direction: column;
  }
  .tz-pb-label {
    font-size: 11px;
    color: #8A8793;
  }
  .tz-pb-amount {
    font-size: 18px;
    font-weight: 700;
    color: #282634;
    line-height: 1.2;
  }
  .tz-pb-cart-btn {
    background: #302A3D;
    color: #FFFFFF;
    border: none;
    border-radius: 14px;
    height: 48px;
    padding: 0 24px;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(48,42,61,0.25);
    transition: background 0.2s, transform 0.1s;
  }
  .tz-pb-cart-btn:active {
    background: #1A1624;
    transform: scale(0.98);
  }

  /* 8. Bottom Sheets (Text, Stickers, Layers) */
  .tz-sheet-backdrop {
    position: fixed;
    inset: 0;
    background: transparent !important;
    z-index: 290;
    pointer-events: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .tz-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-radius: 24px 24px 0 0;
    padding: 8px 18px calc(18px + env(safe-area-inset-bottom, 0px));
    z-index: 300;
    box-shadow: 0 -8px 32px rgba(0,0,0,0.12);
    max-height: 80vh;
    overflow-y: auto;
    box-sizing: border-box;
    animation: tzSheetUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }
  @keyframes tzSheetUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
  }
  .tz-sheet-drag {
    width: 36px;
    height: 4px;
    background: #D5D3CF;
    border-radius: 2px;
    margin: 4px auto 10px;
  }
  .tz-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
  }
  .tz-sheet-title {
    font-size: 17px;
    font-weight: 700;
    color: #282634;
    margin: 0;
  }
  .tz-sheet-done-btn {
    background: none;
    border: none;
    color: #6C50CE;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 8px;
  }
  .tz-sheet-subtitle {
    font-size: 13px;
    color: #8A8793;
    margin: 0 0 14px;
  }

  /* Mobile Text Editor - Phone Constructor Style (Exact Image Match) */
  .zcu-mob-ed-sheet#tz-sheet-text {
    padding: 14px 16px 14px;
    background: #ffffff;
    border-top: 1.5px solid #f1f5f9;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    box-shadow: 0 -6px 24px rgba(0,0,0,0.08);
  }
  .zcu-mob-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
  }
  .zcu-mob-sheet-title {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
  }
  .zcu-mob-sheet-close {
    background: none;
    border: none;
    padding: 4px;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border-radius: 6px;
  }
  .zcu-mob-sheet-close:active {
    background: #f1f5f9;
    color: #0f172a;
  }
  .zcu-mob-sheet-input {
    width: 100%;
    min-height: 56px;
    max-height: 120px;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    color: #0f172a;
    outline: none;
    box-sizing: border-box;
    margin-bottom: 10px;
    transition: border-color 0.15s, box-shadow 0.15s;
    font-family: inherit;
    resize: none;
    overflow-y: auto;
  }
  .zcu-mob-sheet-input:focus {
    border-color: #6366f1;
  }
  .zcu-mob-sheet-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
  }
  .zcu-mob-sheet-row-label {
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
  }
  .zcu-mob-sheet-font-select {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 6px 12px;
    font-size: 13.5px;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
  }
  .zcu-mob-sheet-font-select:active {
    background: #ede9fe;
    border-color: #6366f1;
  }
  .zcu-mob-format-row {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #f8fafc;
    padding: 4px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    margin-bottom: 10px;
  }
  .zcu-mob-fmt-btn {
    flex: 1;
    height: 34px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.12s ease;
  }
  .zcu-mob-fmt-btn:active {
    background: #f1f5f9;
  }
  .zcu-mob-fmt-btn.active {
    background: #ede9fe;
    color: #6d28d9;
  }
  .zcu-mob-fmt-divider {
    width: 1px;
    height: 20px;
    background: #cbd5e1;
    margin: 0 2px;
  }
  .zcu-mob-text-colors {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .zcu-mob-tc-swatch {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-sizing: border-box;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }
  .zcu-mob-tc-swatch.active {
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #6366f1;
  }
  .zcu-mob-tc-swatch svg {
    width: 14px;
    height: 14px;
    stroke: #0f172a;
    fill: none;
    stroke-width: 2.8;
    display: none;
  }
  .zcu-mob-tc-swatch[data-color="#111111"] svg,
  .zcu-mob-tc-swatch[data-color="#2563eb"] svg,
  .zcu-mob-tc-swatch[data-color="#ef4444"] svg {
    stroke: #ffffff;
  }
  .zcu-mob-tc-swatch.active svg {
    display: block;
  }
  .zcu-mob-tc-custom {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-sizing: border-box;
    position: relative;
    background: conic-gradient(from 0deg, #ff0000, #ff8000, #ffff00, #00ff00, #00ffff, #0000ff, #8000ff, #ff0080, #ff0000);
    border: 1px solid rgba(0, 0, 0, 0.12);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }
  .zcu-mob-tc-custom.active {
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #6366f1;
  }
  .zcu-mob-tc-custom-inner {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  }
  .zcu-mob-tc-custom-inner svg {
    display: block;
  }

  /* Actions Row: Copy and Delete Text */
  .zcu-mob-actions-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
  }
  .zcu-mob-act-btn {
    flex: 1;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.15s ease;
  }
  .zcu-mob-act-copy {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    color: #1e293b;
  }
  .zcu-mob-act-copy:active {
    background: #ede9fe;
    border-color: #6366f1;
    color: #4f46e5;
  }
  .zcu-mob-act-copy svg {
    width: 17px;
    height: 17px;
    stroke: currentColor;
    stroke-width: 2.2;
    fill: none;
  }
  .zcu-mob-act-del {
    background: #fef2f2;
    border: 1.5px solid #fecaca;
    color: #dc2626;
  }
  .zcu-mob-act-del:active {
    background: #fee2e2;
    border-color: #ef4444;
  }
  .zcu-mob-act-del svg {
    width: 17px;
    height: 17px;
    stroke: #dc2626;
    stroke-width: 2.2;
    fill: none;
  }

  /* In-Sheet Dedicated Palette View */
  .zcu-mob-text-palette-view {
    padding: 2px 0 6px;
    animation: tzSheetUp 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .zcu-mob-text-palette-view .zcu-pv-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
  }
  .zcu-mob-text-palette-view .zcu-pv-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    color: #1e293b;
    transition: all 0.12s;
  }
  .zcu-mob-text-palette-view .zcu-pv-btn:active {
    background: #ede9fe;
    border-color: #6366f1;
  }
  .zcu-mob-text-palette-view .zcu-pv-btn.primary {
    background: #6366f1;
    border-color: #6366f1;
    color: #ffffff;
  }
  .zcu-mob-text-palette-view .zcu-pv-btn.primary:active {
    background: #4f46e5;
  }
  .zcu-mob-text-palette-view .zcu-pv-preview-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    padding: 5px 12px;
    border-radius: 20px;
  }
  .zcu-mob-text-palette-view .zcu-pv-color-preview {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1.5px solid rgba(0,0,0,0.15);
    box-sizing: border-box;
    display: inline-block;
  }
  .zcu-mob-text-palette-view .zcu-pv-hex {
    font-size: 13.5px;
    font-weight: 800;
    font-family: monospace;
    color: #0f172a;
  }
  .zcu-mob-sp-mini-swatches {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-top: 4px;
  }
  .zcu-mob-sp-swatch {
    flex: 1;
    height: 28px;
    border-radius: 7px;
    cursor: pointer;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
  }
  .zcu-mob-sp-swatch:active {
    transform: scale(0.92);
  }
  .zcu-mob-sp-swatch.active {
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #6366f1;
  }

  /* Floating Font Picker Popup (Exact Phone Constructor Style) */
  .zcu-mob-font-picker {
    position: fixed;
    bottom: 295px;
    left: 12px;
    right: 12px;
    background: #ffffff;
    border-radius: 18px;
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.22);
    z-index: 350;
    max-height: 290px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  .zcu-mob-fp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px 10px;
    border-bottom: 1px solid #f1f5f9;
    background: #ffffff;
  }
  .zcu-mob-fp-title {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
  }
  .zcu-mob-fp-count {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
  }
  .zcu-mob-fp-list {
    overflow-y: auto;
    padding: 4px 0;
    max-height: 240px;
    -webkit-overflow-scrolling: touch;
  }
  .zcu-mob-fp-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px;
    cursor: pointer;
    border-bottom: 1px solid #f8fafc;
    transition: background 0.12s;
  }
  .zcu-mob-fp-item:hover, .zcu-mob-fp-item:active {
    background: #f8faff;
  }
  .zcu-mob-fp-item.active {
    background: #f5f3ff;
  }
  .zcu-mob-fp-sample {
    font-size: 19px;
    line-height: 1.25;
    color: #0f172a;
  }
  .zcu-mob-fp-check {
    width: 18px;
    height: 18px;
    color: #6366f1;
    stroke-width: 2.8;
    display: none;
  }
  .zcu-mob-fp-item.active .zcu-mob-fp-check {
    display: block;
  }

  /* Stickers 4x3 Grid */
  .tz-stickers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }
  .tz-sticker-card {
    background: #F7F5F2;
    border-radius: 16px;
    padding: 10px 4px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.15s, background 0.15s;
  }
  .tz-sticker-card:active {
    transform: scale(0.95);
    background: #F0EBFC;
  }
  .tz-sticker-preview {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .tz-sticker-label {
    font-size: 10px;
    color: #8A8793;
    margin-top: 4px;
    text-align: center;
  }

  /* Layers List */
  .tz-layers-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 280px;
    overflow-y: auto;
  }
  .tz-layer-row {
    display: flex;
    align-items: center;
    background: #F7F5F2;
    border-radius: 14px;
    padding: 8px 12px;
    gap: 10px;
    cursor: pointer;
    transition: background 0.15s, box-shadow 0.15s, transform 0.15s;
    user-select: none;
    -webkit-user-select: none;
    position: relative;
  }
  .tz-layer-row:active {
    background: #F0EBFC;
  }
  .tz-layer-row.is-dragging {
    background: #FFFFFF !important;
    box-shadow: 0 10px 25px rgba(108, 80, 206, 0.28) !important;
    border: 1.5px solid #6C50CE !important;
    z-index: 9999 !important;
    opacity: 0.96;
  }
  .tz-layer-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    background: #FFFFFF;
    border-radius: 8px;
    border: 1px solid #ECEAE7;
    flex-shrink: 0;
  }
  .tz-layer-thumb {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
  }
  .tz-layer-info {
    flex: 1;
    overflow: hidden;
  }
  .tz-layer-name {
    font-size: 13px;
    font-weight: 600;
    color: #282634;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .tz-layer-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }
  .tz-layer-btn {
    border: none;
    background: #FFFFFF;
    border: 1px solid #ECEAE7;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #282634;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    flex-shrink: 0;
  }
  .tz-layer-btn:active {
    background: #F7F5F2;
  }
  .tz-layer-btn.eye-hidden {
    background: #F7F5F2;
    border-color: #E2E0DC;
    color: #8A8793;
  }
  /* Drag Handle (три полосочки сбоку) */
  .tz-layer-handle {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    border-radius: 8px;
    background: #FFFFFF;
    border: 1px solid #ECEAE7;
    color: #8A8793;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    flex-shrink: 0;
  }
  .tz-layer-handle:active,
  .tz-layer-row.is-dragging .tz-layer-handle {
    cursor: grabbing;
    background: #EDE8F8;
    border-color: #6C50CE;
    color: #6C50CE;
  }
  body.tz-layer-sorting-active {
    user-select: none !important;
    -webkit-user-select: none !important;
    overflow: hidden !important;
  }
}


/* ========================================================
   MUG SELECTOR IN HEADER NAV (REPLACING "ПАРАМЕТРЫ")
   ======================================================== */
.zcu-nav-tab.zcu-nav-mug-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  height: 38px;
  margin: auto 0;
  padding: 4px 10px 4px 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.zcu-nav-tab.zcu-nav-mug-btn::after {
  display: none !important;
}

.zcu-nav-tab.zcu-nav-mug-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.zcu-nav-tab.zcu-nav-mug-btn.active {
  background: #eff6ff;
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.18);
}

.zcu-nav-mug-btn .zcu-ctx-dots {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}

.zcu-nav-mug-btn .zcu-ctx-dots i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.22);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
  display: inline-block;
}

.zcu-nav-mug-btn .zcu-ctx-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.15;
}

.zcu-nav-mug-btn .zcu-ctx-text b {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

.zcu-nav-mug-btn .zcu-ctx-text small {
  font-size: 11px;
  color: #64748b;
  font-weight: 500;
}

.zcu-nav-mug-btn.active .zcu-ctx-text b {
  color: #1d4ed8;
}

.zcu-nav-mug-btn.active .zcu-ctx-text small {
  color: #3b82f6;
}

.zcu-nav-mug-btn .zcu-ctx-change {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  color: #334155;
  transition: all 0.15s ease;
  pointer-events: none;
}

.zcu-nav-mug-btn:hover .zcu-ctx-change {
  background: #e2e8f0;
  color: #0f172a;
  border-color: #94a3b8;
}

.zcu-nav-mug-btn.active .zcu-ctx-change {
  background: #dbeafe;
  border-color: #93c5fd;
  color: #1e40af;
}

/* Hide any floating canvas pill on desktop or mobile */
#zcu-wrap-sheet-wrap .zcu-ctx-pill,
.zcu-wrap-sheet-wrap #zcu-ctx-pill,
.zcu-wrap-sheet-wrap .zcu-ctx-pill,
#zcu-ctx-pill {
  display: none !important;
}


/* Uploaded Photo Thumbnail Contain Override */
.zcu-upload-thumb,
.zcu-uploaded-thumb {
  background: #f8fafc !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 3px !important;
  box-sizing: border-box !important;
}
.zcu-upload-thumb img,
.zcu-uploaded-thumb img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

/* Hide Background tab for mugs; enhance ribbon mug type */
.zcu-is-mug .zcu-ribbon-item[data-tab="background"],
.zcu-is-mug #zcu-section-background {
  display: none !important;
}


/* --- Mobile Mug Spec Bar (Single high-contrast row under gesture hint) --- */
.tz-mob-mug-spec-bar {
  margin: 10px 14px 0;
  background: #FFFFFF;
  border: 1.5px solid #6C50CE;
  border-radius: 24px;
  padding: 6px 8px 6px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 3px 12px rgba(108, 80, 206, 0.1);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.tz-mob-mug-spec-bar:active {
  transform: scale(0.985);
}
.tz-mss-left {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}
.tz-mss-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #6C50CE;
  box-shadow: 0 0 0 2px #EDE8F8;
  flex-shrink: 0;
}
.tz-mss-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #1E1B2E;
  letter-spacing: -0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tz-mss-vol {
  font-size: 12.5px;
  font-weight: 500;
  color: #71717A;
}
.tz-mss-btn {
  background: #EDE8F8;
  color: #6C50CE;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  border: none;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  cursor: pointer;
}
.tz-mss-btn:active {
  background: #dfd7f5;
}

/* Touch responsiveness & callout elimination */
.upper-canvas,
.lower-canvas,
.canvas-container,
.zcu-wrap-sheet,
#tz-mob-workspace-card {
  -webkit-touch-callout: none !important;
  -webkit-user-select: none !important;
  user-select: none !important;
  touch-action: none !important;
}

/* Hide spec bar on 3D Preview */
#tz-mob-stage-prev:not([style*="display: none"]) ~ .tz-mob-workspace-footer .tz-mob-mug-spec-bar {
  display: none !important;
}

/* --- Sheet 4: Templates (Шаблоны кружек) --- */
.tz-templates-list-mob {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 420px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0 12px;
}
.tz-tmpl-card-mob {
  border: 1.5px solid #EDEAE6;
  border-radius: 14px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #FAF8F5;
  cursor: pointer;
  transition: all 0.15s ease;
}
.tz-tmpl-card-mob:active {
  transform: scale(0.99);
  border-color: #6C50CE;
  background: #F8F6FF;
}
.tz-tcm-thumb {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid #ECE7E1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.tz-tcm-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tz-tcm-empty {
  color: #6C50CE;
  font-size: 18px;
}
.tz-tcm-body {
  flex: 1;
  min-width: 0;
}
.tz-tcm-title {
  font-size: 13px;
  font-weight: 700;
  color: #1E1B2E;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tz-tcm-sub {
  font-size: 11px;
  color: #8A8793;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tz-tcm-apply-btn {
  background: #EDE8F8;
  color: #6C50CE;
  border: none;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 11.5px;
  font-weight: 700;
  flex-shrink: 0;
  cursor: pointer;
}

/* --- Sheet 5: Mug Type & Color (Выбор типа и цвета кружки) --- */
.tz-mugs-scroll-mob {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 440px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0 16px;
}
.tz-mug-sec-heading {
  font-size: 10.5px;
  font-weight: 800;
  color: #6C50CE;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 2px 0;
}
.tz-mug-sec-heading.tz-sec-corp {
  color: #2563EB;
  margin-top: 6px;
  border-top: 1px dashed #E2E8F0;
  padding-top: 10px;
}
.tz-mug-family-box {
  border: 1.5px solid #EDEAE6;
  border-radius: 14px;
  padding: 9px 11px;
  background: #FAF8F5;
  transition: all 0.15s ease;
}
.tz-mug-family-box.tz-box-corp {
  border-color: #DBEAFE;
  background: #F8FAFC;
}
.tz-mug-family-box.active-fam {
  border-color: #6C50CE;
  background: #FCFAFF;
}
.tz-mfb-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.tz-mfb-thumb {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #FFF;
  border: 1px solid #ECE7E1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  font-size: 16px;
}
.tz-mfb-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tz-corp-thumb {
  background: #EFF6FF;
  border-color: #BFDBFE;
}
.tz-mfb-info {
  flex: 1;
  min-width: 0;
}
.tz-mfb-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.tz-mfb-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #1E1B2E;
}
.tz-mfb-badge {
  background: #EDE8F8;
  color: #6C50CE;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
}
.tz-badge-blue {
  background: #DBEAFE;
  color: #1E40AF;
}
.tz-mfb-sub {
  font-size: 10px;
  color: #8A8793;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tz-mfb-prods {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tz-mfb-prod-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid #DCD8D2;
  border-radius: 18px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
  color: #282634;
  cursor: pointer;
  transition: all 0.15s ease;
}
.tz-mfb-prod-pill:active {
  transform: scale(0.96);
}
.tz-mfb-prod-pill.active {
  border-color: #6C50CE;
  background: #EDE8F8;
  color: #6C50CE;
  font-weight: 700;
  box-shadow: 0 0 0 1px #6C50CE;
}
.tz-mfb-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}


/* Header Cart Button Spacing Fix */
.zcu-btn-next,
#zcu-btn-next {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}

.zcu-btn-next i,
#zcu-btn-next i,
.zcu-btn-next svg,
#zcu-btn-next svg {
  margin: 0 !important;
  font-size: 14.5px !important;
  width: 17px !important;
  height: 17px !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
  display: block !important;
}

.zcu-btn-next > #zcu-header-cart-text,
#zcu-btn-next > #zcu-header-cart-text {
  display: inline-block !important;
  line-height: 1 !important;
}

.zcu-cart-badge,
#zcu-header-cart-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 20px !important;
  height: 20px !important;
  padding: 0 6px !important;
  border-radius: 999px !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  font-variant-numeric: tabular-nums !important;
  line-height: 1 !important;
  background: rgba(255, 255, 255, 0.24) !important;
  color: #ffffff !important;
  box-sizing: border-box !important;
  margin-left: 0 !important;
  text-align: center !important;
  vertical-align: middle !important;
  flex-shrink: 0 !important;
}

#zcu-btn-cart-open #zcu-header-cart-badge {
  background: #1f239c !important;
  color: #ffffff !important;
}


.zcu-pm-btn-secondary { padding: 9px 16px; border-radius: 8px; background: #f1f5f9; border: 1px solid #e2e8f0; color: #334155; font-size: 13px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: all 0.2s; text-decoration: none; }
.zcu-pm-btn-secondary:hover { background: #e2e8f0; color: #0f172a; }


/* ====================================================================
   Black Mug with White Sublimation Patch (Product 1055)
   ==================================================================== */
#zcu-wrap-sheet.zcu-sheet-patch,
.zcu-wrap-sheet.zcu-sheet-patch {
  background: #111114 !important;
  border-color: #27272a !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45) !important;
}

/* Keep wrap-sheet transparent when showing mug SVG body so colored/glass mugs never show a white sheet backdrop */
body.zcu-is-mug:not([data-zcu-kind="patch"]) #zcu-wrap-sheet,
body[data-zcu-kind="solid"] #zcu-wrap-sheet,
body[data-zcu-kind="solid_inside"] #zcu-wrap-sheet,
body[data-zcu-kind="glass"] #zcu-wrap-sheet {
  background: transparent !important;
}

#zcu-patch-backdrop {
  display: none !important;
}

.zcu-sheet-patch #zcu-patch-backdrop {
  position: absolute !important;
  top: 16px !important;
  bottom: 16px !important;
  left: 36px !important;
  right: 36px !important;
  background: #ffffff !important;
  border-radius: 4px !important;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.3) !important;
  z-index: 1 !important;
  pointer-events: none !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  padding: 8px 12px !important;
  box-sizing: border-box !important;
}

#zcu-patch-backdrop .zcu-patch-label {
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  color: #94a3b8 !important;
  opacity: 0.85 !important;
}

.zcu-sheet-patch .zcu-safe-area {
  top: 16px !important;
  bottom: 16px !important;
  left: 36px !important;
  right: 36px !important;
  border: 1.5px dashed #22c55e !important;
  border-radius: 4px !important;
  z-index: 4 !important;
}

.zcu-sheet-patch .zcu-canvas-container,
.zcu-sheet-patch .canvas-container {
  clip-path: inset(16px 36px 16px 36px round 4px) !important;
  z-index: 3 !important;
}



/* ========================================================
   CRITICAL FIX: ELEGANT VISIBLE OUTLINE FOR WHITE SWATCHES
   Prevents white swatches from disappearing on white backgrounds
   ======================================================== */
.zcu-qcolor-circle[data-color="#ffffff"],
.zcu-qcolor-circle[data-color="#FFFFFF"],
.zcu-qcolor-circle[data-color="#fff"],
.zcu-qcolor-circle[data-color="white"],
.zcu-qcolor-circle[style*="#ffffff"],
.zcu-qcolor-circle[style*="#FFFFFF"],
.zcu-qcolor-circle[style*="white"],
.zcu-color-circle[data-color="#ffffff"],
.zcu-color-circle[data-color="#FFFFFF"],
.zcu-color-circle[data-color="#fff"],
.zcu-color-circle[data-color="white"],
.zcu-color-circle[style*="#ffffff"],
.zcu-color-circle[style*="#FFFFFF"],
.zcu-color-circle[style*="white"],
.zcu-sp-mini-swatch[data-color="#ffffff"],
.zcu-sp-mini-swatch[data-color="#FFFFFF"],
.zcu-sp-mini-swatch[data-color="#fff"],
.zcu-sp-mini-swatch[data-color="white"],
.zcu-sp-mini-swatch[style*="#ffffff"],
.zcu-sp-mini-swatch[style*="#FFFFFF"],
.zcu-sp-mini-swatch[style*="white"],
.zcu-mob-tc-swatch[data-color="#ffffff"],
.zcu-mob-tc-swatch[data-color="#FFFFFF"],
.zcu-mob-tc-swatch[data-color="#fff"],
.zcu-mob-tc-swatch[data-color="white"],
.zcu-mob-sp-swatch[data-color="#ffffff"],
.zcu-mob-sp-swatch[data-color="#FFFFFF"],
.zcu-bg-color-item[data-bgcolor="#ffffff"],
.zcu-bg-color-item[data-bgcolor="#FFFFFF"],
.zcu-color-square-swatch[data-color="white"],
.zcu-color-square-btn[data-color-key="white"] .zcu-color-square-swatch,
.ktl-color-swatch[data-color="white"],
.kts-color-dot[data-color="white"],
.cc-mug-color-dot[data-mug-color="Белый"],
.cc-mug-color-dot[data-mug-color="белый"],
.color-chip-dot[data-color*="бел"],
.color-chip-dot[data-color*="Бел"] {
  border: 1.5px solid #94a3b8 !important;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.zcu-qcolor-circle[data-color="#ffffff"]:hover,
.zcu-qcolor-circle[data-color="#FFFFFF"]:hover,
.zcu-qcolor-circle[data-color="#fff"]:hover,
.zcu-qcolor-circle[data-color="white"]:hover,
.zcu-color-circle[data-color="#ffffff"]:hover,
.zcu-color-circle[data-color="#FFFFFF"]:hover,
.zcu-sp-mini-swatch[data-color="#ffffff"]:hover,
.zcu-sp-mini-swatch[data-color="#FFFFFF"]:hover {
  border-color: #64748b !important;
  transform: scale(1.12) !important;
}

.zcu-qcolor-circle[data-color="#ffffff"].active,
.zcu-qcolor-circle[data-color="#FFFFFF"].active,
.zcu-qcolor-circle[data-color="#fff"].active,
.zcu-qcolor-circle[data-color="white"].active,
.zcu-color-circle[data-color="#ffffff"].active,
.zcu-color-circle[data-color="#FFFFFF"].active {
  border: 1.5px solid #94a3b8 !important;
  box-shadow: 0 0 0 2.5px #2b14c4, 0 2px 6px rgba(43, 20, 196, 0.35) !important;
  transform: scale(1.15) !important;
}



/* --- MUG SAFE AREA & CONTOUR REFINEMENTS (User Request) --- */
.zcu-safe-area,
.zcu-sheet-patch .zcu-safe-area {
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  border: 1px dashed rgba(34, 197, 94, 0.42) !important;
  border-radius: 4px !important;
  pointer-events: none !important;
  z-index: 15 !important;
}

.zcu-safe-area-pill {
  display: none !important;
}

.zcu-bottom-bar,
.zcu-btn-share,
.zcu-zoom-pill {
  display: none !important;
}


/* Unified Compact Mobile Header Cart Bag Icon */
@media (min-width: 769px) {
  .zcu-mob-header-cart {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .zcu-mob-header-cart,
  .zcu-mob-cat-cart {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    color: #0f172a !important;
    font-size: 18px !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 50% !important;
    padding: 0 !important;
    transition: background-color 0.16s ease, transform 0.14s ease !important;
    -webkit-tap-highlight-color: transparent !important;
  }
  .zcu-mob-header-cart:active,
  .zcu-mob-cat-cart:active {
    background: rgba(15, 23, 42, 0.05) !important;
    transform: scale(0.94) !important;
  }
  .zcu-mob-header-cart .zcu-cart-bag-svg,
  .zcu-mob-cat-cart .zcu-cart-bag-svg {
    width: 23px !important;
    height: 23px !important;
    display: block !important;
    flex-shrink: 0 !important;
    transform: translate(-1.5px, 1px) !important;
  }
  .zcu-mob-header-cart .zcu-mob-cart-count,
  .zcu-mob-cat-cart .zcu-mob-cart-count {
    position: absolute !important;
    top: 1px !important;
    right: 0px !important;
    min-width: 18px !important;
    height: 18px !important;
    padding: 0 4.5px !important;
    border-radius: 999px !important;
    border: 2px solid #ffffff !important;
    background: #1f239c !important;
    color: #ffffff !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    font-variant-numeric: tabular-nums !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
    box-shadow: 0 2px 5px rgba(31, 35, 156, 0.28) !important;
    pointer-events: none !important;
  }
  .zcu-mob-header-cart .zcu-mob-cart-count[data-count="0"],
  .zcu-mob-cat-cart .zcu-mob-cart-count[data-count="0"] {
    background: #e8edf4 !important;
    color: #334155 !important;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08) !important;
  }
}

/* ====================================================================
   PREVIEW MODAL IN CART INSPECT MODE (FOR MUGS & CUSTOMIZER TOOL)
   ==================================================================== */
#zcu-preview-modal.zcu-pm-inspect-mode,
.zcu-preview-modal.zcu-pm-inspect-mode {
  z-index: 200000 !important;
}

#zcu-preview-modal.zcu-pm-inspect-mode .zcu-preview-backdrop {
  z-index: 200000 !important;
}

#zcu-preview-modal.zcu-pm-inspect-mode .zcu-preview-modal-card,
#zcu-preview-modal.zcu-pm-inspect-mode .zcu-mug-3d-card {
  z-index: 200001 !important;
}

/* Hide regular preview buttons when in inspect mode */
html body #zcu-preview-modal.zcu-pm-inspect-mode #zcu-preview-modal-back,
html body #zcu-preview-modal.zcu-pm-inspect-mode #zcu-preview-modal-buy,
html body #zcu-preview-modal.zcu-pm-inspect-mode .zcu-receipt-trigger-order,
html body #zcu-preview-modal.zcu-pm-inspect-mode #zcu-modal-add-cart,
html body #zcu-preview-modal.zcu-pm-inspect-mode .zcu-btn-next,
html body #zcu-preview-modal.zcu-pm-inspect-mode .zcu-pm-btn-secondary:not(.zcu-pm-btn-inspect-back),
html body #zcu-preview-modal.zcu-pm-inspect-mode .zcu-pm-btn-primary:not(.zcu-pm-btn-inspect-edit) {
  display: none !important;
}

html body #zcu-preview-modal.zcu-pm-inspect-mode .zcu-pm-btn-inspect-back,
html body #zcu-preview-modal.zcu-pm-inspect-mode .zcu-pm-btn-inspect-edit {
  display: inline-flex !important;
}

#zcu-preview-modal.zcu-pm-inspect-mode .zcu-pm-btn-inspect-back {
  height: 50px !important;
  min-height: 50px !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, #FFFFFF 0%, #F1EDFC 100%) !important;
  border: 1.5px solid #D5CCF0 !important;
  color: #341690 !important;
  font-size: 15px !important;
  font-weight: 750 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 0 22px !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(56, 22, 148, 0.06), inset 0 1px 0 #FFFFFF !important;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#zcu-preview-modal.zcu-pm-inspect-mode .zcu-pm-btn-inspect-back:hover {
  background: linear-gradient(180deg, #FFFFFF 0%, #E8E1FA 100%) !important;
  border-color: #C0B2E8 !important;
  transform: translateY(-1px) !important;
}

#zcu-preview-modal.zcu-pm-inspect-mode .zcu-pm-btn-inspect-edit {
  height: 50px !important;
  min-height: 50px !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, #6338E8 0%, #461DBB 50%, #2D0F85 100%) !important;
  border: 1px solid rgba(167, 139, 250, 0.45) !important;
  color: #FFFFFF !important;
  font-size: 15.5px !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
  text-shadow: 0 1px 2px rgba(18, 5, 58, 0.35) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 11px !important;
  padding: 0 26px !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  box-shadow:
    0 12px 28px -4px rgba(59, 24, 166, 0.52),
    0 4px 10px rgba(30, 10, 88, 0.25),
    inset 0 1.5px 1px rgba(255, 255, 255, 0.44),
    inset 0 -2px 5px rgba(18, 5, 58, 0.38) !important;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#zcu-preview-modal.zcu-pm-inspect-mode .zcu-pm-btn-inspect-edit:hover {
  background: linear-gradient(180deg, #6E42F2 0%, #4F23C8 50%, #341296 100%) !important;
  transform: translateY(-1.5px) !important;
}

/* Mobile Mug: raise canvas above bottom object bar / sheets and prevent vertical cutoff */
@media (max-width: 768px) {
  #tz-mob-app .tz-mob-top-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 6px;
    padding: 4px 12px 6px;
    flex: 0 0 auto;
    position: relative;
    z-index: 32;
  }
  #tz-mob-app .tz-mob-top-controls .tz-mob-history-row {
    padding: 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
    justify-content: flex-start;
  }
  #tz-mob-app .tz-mob-top-controls .tz-mob-history-actions {
    gap: 6px;
  }
  #tz-mob-app .tz-mob-top-controls .tz-mob-hist-btn {
    width: 34px;
    height: 34px;
  }
  #tz-mob-app .tz-mob-top-controls .tz-mob-view-switcher-wrap {
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    justify-content: center;
  }
  #tz-mob-app .tz-mob-top-controls .tz-mob-view-pill {
    width: auto !important;
    max-width: 196px;
    margin: 0;
    padding: 3px;
  }
  #tz-mob-app .tz-mob-top-controls .tz-view-toggle {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    padding: 6px 14px !important;
    font-size: 12.5px !important;
    white-space: nowrap;
  }
  #tz-mob-app .tz-mob-top-controls .tz-mob-top-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
  }
  #tz-mob-app .tz-mob-top-controls .tz-mob-save-indicator {
    font-size: 10.5px;
    line-height: 1.2;
    white-space: nowrap;
    padding: 3px 6px;
    gap: 3px;
  }
  .tz-mob-stage-group {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
  }
  body.zcu-body.zcu-is-mug main.zcu-stage {
    display: flex !important;
    flex-direction: column !important;
    overflow-y: auto !important;
    min-height: 0 !important;
    -webkit-overflow-scrolling: touch;
  }
  body.zcu-body.zcu-is-mug #tz-mob-app {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-height: 100% !important;
    width: 100%;
  }
  body.zcu-body.zcu-is-mug .tz-mob-spacer-top {
    flex: 54 1 8px;
    min-height: 8px;
    max-height: 240px;
  }
  body.zcu-body.zcu-is-mug .tz-mob-spacer-bottom {
    flex: 46 1 6px;
    min-height: 6px;
  }
  body.zcu-body.zcu-is-mug.zcu-mob-dock-open .tz-mob-workspace-footer {
    display: none !important;
  }
  body.zcu-body.zcu-is-mug.zcu-mob-dock-open .tz-mob-spacer-top,
  body.zcu-body.zcu-is-mug:has(.tz-sheet:not(#tz-sheet-text):not([style*="none"])) .tz-mob-spacer-top {
    flex: 0 1 2px;
    min-height: 2px;
    max-height: 6px;
  }
  body.zcu-body.zcu-is-mug.zcu-mob-dock-open .tz-mob-spacer-bottom,
  body.zcu-body.zcu-is-mug:has(.tz-sheet:not(#tz-sheet-text):not([style*="none"])) .tz-mob-spacer-bottom {
    flex: 0 1 2px;
    min-height: 2px;
  }
  body.zcu-body.zcu-is-mug.zcu-mob-dock-open .zcu-item-slots-bar.zcu-mob-slots-inline {
    margin-bottom: 6px !important;
  }
  body.zcu-body.zcu-is-mug .tz-mob-header {
    padding: 8px 16px 2px;
    flex: 0 0 auto;
  }
  body.zcu-body.zcu-is-mug .tz-mob-workspace-card {
    margin: 4px 16px 6px !important;
    height: 256px !important;
    min-height: 256px !important;
    padding: 14px 10px !important;
  }
  body.zcu-body.zcu-is-mug .tz-mob-stage-wrap,
  body.zcu-body.zcu-is-mug .tz-mob-stage-prev {
    min-height: 224px !important;
  }
  body.zcu-body.zcu-is-mug.tz-mob-ob-active .tz-mob-gesture-hint,
  body.zcu-body.zcu-is-mug:has(#tz-mob-object-bar[style*="block"]) .tz-mob-gesture-hint {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .tz-mob-stage-group {
    display: contents !important;
  }
}

@media (max-width: 768px) and (max-height: 750px) {
  body.zcu-body.zcu-is-mug {
    padding-bottom: 72px !important;
  }
  body.zcu-body.zcu-is-mug .tz-mob-header {
    padding: 6px 16px 2px;
  }
  body.zcu-body.zcu-is-mug .tz-mob-back-btn {
    width: 34px;
    height: 34px;
  }
  body.zcu-body.zcu-is-mug #tz-mob-app .tz-mob-top-controls {
    padding: 2px 14px 4px;
  }
  body.zcu-body.zcu-is-mug .tz-mob-spacer-top {
    flex: 54 1 4px;
    min-height: 4px;
    max-height: 180px;
  }
  body.zcu-body.zcu-is-mug .tz-mob-spacer-bottom {
    flex: 46 1 4px;
    min-height: 4px;
  }
  body.zcu-body.zcu-is-mug.zcu-mob-dock-open .tz-mob-spacer-top,
  body.zcu-body.zcu-is-mug:has(.tz-sheet:not(#tz-sheet-text):not([style*="none"])) .tz-mob-spacer-top {
    flex: 0 1 2px;
    min-height: 2px;
    max-height: 4px;
  }
  body.zcu-body.zcu-is-mug.zcu-mob-dock-open .tz-mob-spacer-bottom,
  body.zcu-body.zcu-is-mug:has(.tz-sheet:not(#tz-sheet-text):not([style*="none"])) .tz-mob-spacer-bottom {
    flex: 0 1 2px;
    min-height: 2px;
  }
  body.zcu-body.zcu-is-mug #zcu-mob-shelf.is-open {
    padding: 8px 10px 6px !important;
  }
  body.zcu-body.zcu-is-mug .zcu-ms-swatch {
    width: 24px !important;
    height: 24px !important;
  }
  body.zcu-body.zcu-is-mug #zcu-ms-spectrum-box.open {
    max-height: 82px !important;
    padding-top: 5px !important;
  }
  body.zcu-body.zcu-is-mug #zcu-ms-sp-touch-area {
    height: 44px !important;
  }
  body.zcu-body.zcu-is-mug .tz-mob-workspace-card {
    height: 204px !important;
    min-height: 204px !important;
    margin: 4px 16px 6px !important;
    padding: 6px 10px !important;
  }
  body.zcu-body.zcu-is-mug .tz-mob-stage-wrap,
  body.zcu-body.zcu-is-mug .tz-mob-stage-prev {
    min-height: 188px !important;
  }
  body.zcu-body.zcu-is-mug .tz-mob-object-bar {
    padding: 8px 14px;
    margin: 0 14px 8px;
  }
  body.zcu-body.zcu-is-mug .tz-mob-ob-header {
    margin-bottom: 6px;
    padding-bottom: 5px;
  }
  body.zcu-body.zcu-is-mug .tz-mob-main-menu {
    margin: 0 14px 8px;
  }
  body.zcu-body.zcu-is-mug.tz-mob-ob-active .tz-mob-workspace-footer,
  body.zcu-body.zcu-is-mug:has(#tz-mob-object-bar[style*="block"]) .tz-mob-workspace-footer {
    display: none !important;
  }
}

/* Mobile Mug: lead-time label, purchase qty stepper, pill price tag */
@media (max-width: 768px) {
  .tz-mss-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }
  .tz-mss-lead {
    font-size: 10.5px;
    font-weight: 600;
    color: #6C50CE;
    line-height: 1.2;
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .tz-mob-purchase-bar {
    gap: 8px;
    padding: 8px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  }
  .tz-pb-price-info {
    min-width: 0;
    flex: 1 1 auto;
  }
  .tz-pb-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .tz-pb-qty-stepper {
    display: inline-flex;
    align-items: center;
    background: #F4F2EE;
    border: 1px solid #E5E2DC;
    border-radius: 12px;
    padding: 2px;
    flex-shrink: 0;
  }
  .tz-pb-qty-btn {
    width: 28px;
    height: 32px;
    border: none;
    background: #FFFFFF;
    color: #282634;
    font-size: 16px;
    font-weight: 700;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  }
  .tz-pb-qty-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    box-shadow: none;
  }
  .tz-pb-qty-val,
  input.tz-pb-qty-val {
    width: 34px;
    min-width: 34px;
    height: 30px;
    padding: 0 2px;
    margin: 0;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    text-align: center;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    color: #282634;
    box-shadow: none;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
    cursor: text;
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  }
  .tz-pb-qty-val:focus,
  input.tz-pb-qty-val:focus {
    background: #FFFFFF;
    border-color: #6C50CE;
    box-shadow: 0 0 0 2px rgba(108, 80, 206, 0.18);
    color: #191823;
  }
  .tz-pb-cart-btn {
    height: 44px;
    padding: 0 16px;
    font-size: 14px;
    flex-shrink: 0;
  }
  .tz-mfb-prod-price {
    color: #6C50CE;
    font-size: 10.5px;
    font-weight: 700;
    margin-left: 2px;
  }
  body.zcu-body.zcu-is-mug .tz-mob-workspace-footer,
  body.zcu-body.zcu-is-mug #tz-mob-mug-spec-bar,
  body.zcu-body.zcu-is-mug .tz-mob-gesture-hint {
    display: none !important;
  }
}
