#wppp-personalizer {

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.wppp-canvas-container {
  border: 1px solid #ddd;
  padding: 0.5rem;
  max-width: 100%;
}

#wppp-canvas {
  width: 100%;
  height: auto;
  background: #fff;
}

.printie-size-chart-link a {
  color: rgb(58, 79, 102) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
}

.wppp-thumbnails {
  display: flex;
  gap: 0.5rem;
  max-width: 100%;
  overflow-x: auto;
}



.drag-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  z-index: 100;
}

#wppp-personalizer.drag-hover .drag-overlay {
  opacity: 1;
}

.canvas-container {
  width: 100%;
  max-width: 700px;
  height: auto;
}

button.wppp-upload:hover {
  background: #005f95;
}

.single-product .ct-product-gallery__image img,
.single-product .ct-product-gallery__main img,
.single-product .woocommerce-product-gallery__image img,
.sku_wrapper {
  display: none !important;
}

#wppp-fullscreen-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  z-index: 99999;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.wppp-spinner {
  width: 4em;
  height: 4em;
  border: 0.5em solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: wppp-spin 0.8s linear infinite;
  margin-bottom: 1rem;
}

@keyframes wppp-spin {
  to {
    transform: rotate(360deg);
  }
}

.wppp-message {
  font-family: var(--h2-font-family, inherit);
  font-weight: var(--h2-font-weight, inherit);
  font-size: var(--h2-font-size, inherit);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 500;
  text-align: center;
}

.reset_variations {
  display: none !important;
}

.hero-section[data-type="type-1"] {
  margin-bottom: 0px !important;
}
@media (max-width: 998px) {
  .wppp-toolbar-spacer {
    display: none !important;
  }
  .wppp-toolbar {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 0 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  #wppp-overlay-list {
    margin-left: 0 !important;
    margin-right: auto !important;
    text-align: left;
  }

  .color-variable-items-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 5px !important;
    padding: 8px 0;
    margin: 0 auto;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .wizard-dockbar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.05);
    z-index: 999;
  }

  .wizard-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .wizard-price {
    font-weight: 700;
    color: #fff;
    margin-right: auto;
  }

  .wizard-button {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 12px;
    background: var(--theme-palette-color-1);
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    gap: 12px;
    line-height: 1;

    cursor: pointer;
    transition: background 0.2s ease;
  }

  .wizard-cart-icon {
    stroke: #fff;
    flex: none;
  }

  .wizard-button:hover {
    background: var(--theme-palette-color-1);
  }

  .wppp-tool {
    flex: 0 1 calc(50% - 10px) !important;
    max-width: calc(50% - 10px) !important;
    border-radius: 8px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08) !important;
  }

  .wppp-btn {
    all: unset !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-bottom: 4px !important;
  }
  .wppp-btn svg {
    width: 22px !important;
    height: 22px !important;
    stroke: #fff !important;
  }

  .wppp-tool-label {
    font-size: 13px !important;
    color: #fff !important;
    line-height: 1.1 !important;
    padding: 0 2px !important;
    word-break: break-word !important;
  }

  .dock-select-clone {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    list-style: none;
    margin: 0 0 12px 0;
    padding: 0;
  }

  .dock-select-clone li {
    flex: 1 1 0;
    padding: 6px 4px;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;

    background: #f1f4f7;
    border: 2px solid #f1f4f7;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.15s;
  }

  .entry-summary-items {
    display: none !important;
  }

  .dock-select-clone li.selected {
    background: #7ad237;
    border-color: #7ad237;
    color: #fff;
  }

  .dock-select-clone li:hover:not(.selected) {
    background: #e5e9ec;
  }
}

#wppp-overlay-list {
  margin-top: 1em;
  font-size: 13px;
}
#wppp-overlay-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wppp-layer-tile {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 8px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.wppp-layer-info {
  margin-bottom: 8px;
}
.layer-name {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 4px;
}
.layer-cost {
  font-size: 0.85rem;
  color: #666;
}

.wppp-layer-remove,
.wppp-layer-edit {
  align-self: flex-end;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}
.wppp-layer-remove:hover {
  color: #c00;
}

@media (max-width: 800px) {
  .wppp-layer-tile {
    width: calc(50% - 8px);
  }
}
@media (max-width: 500px) {
  .wppp-layer-tile {
    width: 100%;
  }
}

#wppp-text-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}


.wppp-row label {
  flex: 0 0 60px;
}
.wppp-row select,
.wppp-row input[type="color"] {
  flex: 1;
}


.hidden {
  display: none !important;
}

.wppp-toolbar {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  margin-bottom: 20px;
  box-sizing: border-box;
  width: 720px;
}

@media (max-width: 750px) {
  .wppp-toolbar--match {
    width: 100%;
  }
}

.wppp-toolbar-spacer {
  flex: 1;
}

.wppp-tool--history {
  width: 48px !important;
  aspect-ratio: 1/1 !important;
  background: #fff !important;
  border: 3px solid #000 !important;
  border-radius: 4px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

.wppp-tool--history .wppp-tool-label {
  display: none !important;
}

.wppp-tool--history .wppp-btn svg {
  width: 28px !important;
  height: 28px !important;
  stroke: #000 !important;
}

.wppp-tool--history:hover {
  background: #f5f5f5 !important;
}

.wppp-tool {
  display: flex;
  align-items: center;
  background: #0084FF;
  border: none;
  padding: 10px 25px;
  font-size: 13px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.wppp-tool:hover {
  background: #46A5FF;;
}

.wppp-btn {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  color: white;
}

.wppp-btn svg {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  stroke: white;
}

.wppp-tool-label {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  color: white;
}


