.ppm-shell {
  margin: 24px auto;
  padding: 44px 40px 40px;
  border: 1px solid transparent;
  border-radius: 22px;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(180deg, #d32f2f 0%, #ee6f00 54%, #ff8800 100%) border-box;
  color: #420d0d;
  font-family: "Roboto", Arial, sans-serif;
  box-sizing: border-box;
}

.ppm-shell * {
  box-sizing: border-box;
}

.ppm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.ppm-section-title {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 22px;
  color: #420d0d;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 14px;
  line-height: 140%;
  letter-spacing: 0.01em;
  font-weight: 500;
  white-space: nowrap;
}

.ppm-section-title span {
  color: #b12424;
  font-weight: 500;
}

.ppm-section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  margin-left: 18px;
  background: #e7e7e7;
}

.ppm-upload-border {
  width: 100%;
  min-height: 286px;
  border: 1px dashed #d1d1d1;
  border-radius: 16px;
  background: #fbfbfb;
  padding: 4px;
  overflow: hidden;
}

.ppm-upload {
  min-height: 300px;
  width: 100%;
  border: 0;
  border-radius: 16px;
  background: #fbfbfb;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
}

.ppm-upload input {
  display: none;
}

.ppm-upload-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 12px;
  display: grid;
  place-items: center;
}

.ppm-upload-icon img {
  width: 60px;
  height: 60px;
  display: block;
}

.ppm-upload strong {
  display: block;
  margin: 0 0 12px;
  color: #420d0d;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 0;
  font-weight: 600;
  text-align: center;
}

.ppm-upload small {
  color: #6d6d6d;
  text-align: center;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
  font-weight: 300;
}

.ppm-upload small b,
.ppm-upload small strong {
  color: #0a0a0a;
  font-weight: 500;
}

.ppm-upload-border.has-file {
  border-color: #e65a50;
  background: #fff7f5;
}

.ppm-upload-border.has-file .ppm-upload {
  background: #fff7f5;
}

.ppm-preview-layout {
  display: grid;
  grid-template-columns: 240px 260px;
  gap: 40px;
  align-items: center;
}

.ppm-canvas-column {
  width: 220px;
  max-width: 100%;
}

.ppm-canvas-wrap {
  width: 240px;
  max-width: 100%;
}

#ppm-canvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  background: transparent;
  cursor: grab;
  touch-action: none;
}

.ppm-zoom {
  display: block;
  width: 100%;
  margin: 14px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: center;
}

.ppm-zoom span {
  display: block;
  margin-bottom: 6px;
  color: #420d0d;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 13px;
  line-height: 18px;
  letter-spacing: 0.01em;
  font-weight: 700;
}

.ppm-zoom input {
  --ppm-zoom-progress: 20%;
  width: 100%;
  height: 18px;
  margin: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
}

.ppm-zoom input::-webkit-slider-runnable-track {
  height: 8px;
  border: 1px solid #d1d1d1;
  border-radius: 999px;
  background: linear-gradient(to right, #b92820 0%, #b92820 var(--ppm-zoom-progress), #f5f5f5 var(--ppm-zoom-progress), #f5f5f5 100%);
}

.ppm-zoom input::-webkit-slider-thumb {
  width: 20px;
  height: 20px;
  margin-top: -7px;
  border: 0;
  border-radius: 50%;
  background: #b92820;
  box-shadow: 0 2px 7px rgba(66, 13, 13, 0.22);
  appearance: none;
  -webkit-appearance: none;
}

.ppm-zoom input::-moz-range-track {
  height: 8px;
  border: 1px solid #d1d1d1;
  border-radius: 999px;
  background: #f5f5f5;
}

.ppm-zoom input::-moz-range-progress {
  height: 8px;
  border-radius: 999px;
  background: #b92820;
}

.ppm-zoom input::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 50%;
  background: #b92820;
  box-shadow: 0 2px 7px rgba(66, 13, 13, 0.22);
}

.ppm-zoom small {
  display: block;
  margin-top: 6px;
  color: #8b6c66;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 11px;
  line-height: 15px;
  letter-spacing: 0;
  font-weight: 400;
}

.ppm-preview-copy {
  width: 260px;
}

.ppm-preview-copy p {
  max-width: 260px;
  margin: 0 0 32px;
  color: #0a0a0a;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 0;
  font-weight: 400;
}

.ppm-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 260px;
}

.ppm-primary,
.ppm-secondary {
  width: 100%;
  height: 56px;
  border-radius: 100px;
  padding: 0 24px;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.ppm-primary img,
.ppm-secondary img {
  width: 24px;
  height: 24px;
  display: block;
}

.ppm-primary {
  border: 1px solid #b12424;
  background: #b12424;
  color: #ffffff;
}

.ppm-secondary {
  border: 1px solid #d1d1d1;
  background: #ffffff;
  color: #0a0a0a;
}

@media (max-width: 1081px) and (min-width: 768px) {
  .ppm-shell {
    margin: 18px auto;
    padding: 32px 32px 36px;
  }

  .ppm-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ppm-upload-border {
    min-height: 220px;
  }

  .ppm-upload {
    min-height: 280px;
  }

  .ppm-preview-layout {
    grid-template-columns: 300px 300px;
    gap: 40px;
    justify-content: center;
    align-items: center;
  }

  .ppm-canvas-column,
  .ppm-canvas-wrap {
    width: 280px;
  }

  .ppm-preview-copy {
    width: 300px;
  }

  .ppm-preview-copy p {
    max-width: 300px;
    margin-bottom: 32px;
  }

  .ppm-actions {
    width: 300px;
  }
}

@media (max-width: 767px) {
  .ppm-shell {
    margin: 12px auto;
    padding: 20px 16px 16px;
    border-radius: 16px;
  }

  .ppm-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ppm-section-title {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: 0.01em;
  }

  .ppm-section-title::after {
    margin-left: 12px;
  }

  .ppm-upload-border {
    min-height: 156px;
    border-radius: 16px;
    padding: 4px;
  }

  .ppm-upload {
    min-height: 200px;
    border-radius: 16px;
  }

  .ppm-upload-icon,
  .ppm-upload-icon img {
    width: 44px;
    height: 44px;
  }

  .ppm-upload-icon {
    margin-bottom: 10px;
  }

  .ppm-upload strong {
    margin-bottom: 8px;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0.01em;
  }

  .ppm-upload small {
    font-size: 13px;
    line-height: 18px;
    font-weight: 400;
  }

  .ppm-preview-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .ppm-canvas-column,
  .ppm-canvas-wrap {
    width: min(310px, 100%);
  }

  .ppm-zoom {
    margin-top: 14px;
  }

  .ppm-preview-copy {
    width: 100%;
  }

  .ppm-preview-copy p {
    max-width: 100%;
    margin: 0 0 20px;
    text-align: center;
    font-size: 16px;
    line-height: 26px;
  }

  .ppm-actions {
    width: 100%;
    gap: 10px;
  }

  .ppm-primary,
  .ppm-secondary {
    height: 56px;
    width: 100%;
  }
}

/* Profile Pic Maker protection inside Services .main-content */
.main-content .ppm-shell,
.main-content .ppm-shell * ,
.main-content .ppm-shell *::before,
.main-content .ppm-shell *::after {
  box-sizing: border-box !important;
}

.main-content .ppm-shell {
  font-family: "Roboto", Arial, sans-serif !important;
  color: #420d0d !important;
}

.main-content .ppm-shell img,
.main-content .ppm-shell svg {
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 !important;
  display: block !important;
}

.main-content .ppm-shell button {
  appearance: none !important;
  -webkit-appearance: none !important;
  text-transform: none !important;
  box-shadow: none !important;
}

.main-content .ppm-shell p,
.main-content .ppm-shell label,
.main-content .ppm-shell span,
.main-content .ppm-shell small,
.main-content .ppm-shell strong {
  text-transform: none !important;
  letter-spacing: inherit !important;
}

/* Upload icon */
.main-content .ppm-shell .ppm-upload-icon img {
  width: 60px !important;
  height: 60px !important;
}

/* Button icons */
.main-content .ppm-shell .ppm-primary img,
.main-content .ppm-shell .ppm-secondary img {
  width: 24px !important;
  height: 24px !important;
}

/* Paragraph reset inside preview copy */
.main-content .ppm-shell .ppm-preview-copy p {
  max-width: 260px !important;
  margin: 0 0 32px !important;
  color: #0a0a0a !important;
  font-family: "Roboto", Arial, sans-serif !important;
  font-size: 16px !important;
  line-height: 26px !important;
  letter-spacing: 0 !important;
  font-weight: 400 !important;
}

/* Prevent theme button styles from taking over */
.main-content .ppm-shell .ppm-primary,
.main-content .ppm-shell .ppm-secondary {
  width: 100% !important;
  height: 56px !important;
  border-radius: 100px !important;
  padding: 0 24px !important;
  font-family: "Roboto", Arial, sans-serif !important;
  font-size: 16px !important;
  line-height: 24px !important;
  letter-spacing: 0 !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  text-align: center !important;
}

.main-content .ppm-shell .ppm-primary {
  border: 1px solid #b12424 !important;
  background: #b12424 !important;
  color: #ffffff !important;
}

.main-content .ppm-shell .ppm-secondary {
  border: 1px solid #d1d1d1 !important;
  background: #ffffff !important;
  color: #0a0a0a !important;
}

/* Tablet protection */
@media (max-width: 1081px) and (min-width: 768px) {
  .main-content .ppm-shell .ppm-preview-copy p {
    max-width: 300px !important;
    margin-bottom: 32px !important;
  }

  .main-content .ppm-shell .ppm-upload-icon img {
    width: 60px !important;
    height: 60px !important;
  }

  .main-content .ppm-shell .ppm-primary img,
  .main-content .ppm-shell .ppm-secondary img {
    width: 24px !important;
    height: 24px !important;
  }
}

/* Mobile protection */
@media (max-width: 767px) {
  .main-content .ppm-shell .ppm-upload-icon img {
    width: 44px !important;
    height: 44px !important;
  }

  .main-content .ppm-shell .ppm-primary img,
  .main-content .ppm-shell .ppm-secondary img {
    width: 24px !important;
    height: 24px !important;
  }

  .main-content .ppm-shell .ppm-preview-copy p {
    max-width: 100% !important;
    margin: 0 0 20px !important;
    text-align: center !important;
    font-size: 16px !important;
    line-height: 26px !important;
  }
}

.postid-12393 .ppm-shell br,
.postid-12393 .ppm-shell p:empty {
  display: none !important;
}

.main-content .ppm-shell br {
  display: inline !important;
}

.main-content .ppm-shell p:empty {
  display: none !important;
}