* {
  box-sizing: border-box;
  font-family:
    poppins-medium,
    system-ui,
    -apple-system,
    sans-serif;
  letter-spacing: -0.2px;
  -webkit-tap-highlight-color: transparent;
}

body {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  color: #111;
}

body.upload-view #stickyHeader {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

p {
  margin: 0;
}

template {
  display: none !important;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes blink {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmerAnimation {
  0% {
    background-position: -200px 0;
  }
  100% {
    background-position: 200px 0;
  }
}

.shimmer {
  background: #f6f7f8;
  background-image: linear-gradient(
    to right,
    #f6f7f8 0%,
    #edeef1 20%,
    #f6f7f8 40%,
    #f6f7f8 100%
  );
  background-repeat: no-repeat;
  background-size: 800px 100%;
  animation: shimmerAnimation 1.5s infinite linear;
}

.skeleton-base {
  display: block;
  border-radius: 12px;
}

.skeleton-text {
  width: 70%;
  height: 28px;
  border-radius: 10px;
}

.skeleton-text.short {
  width: 100%;
  height: 14px;
  border-radius: 8px;
}

.skeleton-text.price {
  width: 120px;
  height: 28px;
  border-radius: 8px;
}

.skeleton-slider {
  width: 300px;
  height: 380px;
  border-radius: 10px;
  flex: 0 0 auto;
}
.slide-media-shimmer {
  position: absolute;
  inset: 0;
  border-radius: 10px;
}

.slider-wrapper {
  position: relative;
}

.embla {
  overflow: hidden;
  width: 100%;
}
.embla__container {
  display: flex;
  touch-action: pan-y;
}
.embla__slide {
  flex: 0 0 auto;
  min-width: 0;
  height: 380px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background-color: #f5f5f5;
  margin-right: 8px;
  border: 1px solid lightgrey;
}
.embla__slide img {
  display: block;
  height: 100%;
  width: 300px;
  max-width: none;
  object-fit: cover;
}
.embla__slide .compare-container {
  width: 300px;
  height: 100%;
}

.compare-container {
  position: relative;
  overflow: hidden;
  --compare-range-value: 50%;
  background-color: #f5f5f5;
}

.compare {
  position: relative;
  width: 100%;
  height: 100%;
}
.before-image,
.after-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.after-image {
  clip-path: inset(0 calc(100% - var(--compare-range-value)) 0 0);
  transition: clip-path 0.1s linear;
  will-change: clip-path;
}

.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--compare-range-value);
  width: 40px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: ew-resize;
  touch-action: none;
  z-index: 10;
  justify-content: center;
  transition: left 0.1s linear;
  will-change: left;
}

.handle-line {
  width: 3px;
  height: 100%;
  background: #fff;
}
.handle-circle {
  position: absolute;
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 50%;
  border: 2px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.handle-circle i {
  font-size: 14px;
  color: #000;
}

.product-section {
  padding: 10px;
  min-height: 600px;
}
.sold-badge-wrapper {
  margin-bottom: 5px;
}
.sold-badge-inner {
  display: inline-block;
  padding: 3px 6px;
  font-weight: 600;
  background-color: #c9ea12;
  border: 2px solid #825ba1;
  border-radius: 10px;
  text-align: center;
  font-size: 12px;
}
.product-title {
  font-family: poppins-bold;
  letter-spacing: -1px;
  margin: 0px;
  font-size: 28px;
}
.product-desc {
  font-size: 13px;
  color: #444;
  line-height: 1.4;
  font-style: italic;
  margin-top: 6px;
}
.rating-row {
  display: flex;
  align-items: center;
  width: fit-content;
}
.clickable-rating {
  cursor: pointer;
}
.stars-static {
  color: #f5b400;
  font-size: 14px;
  margin-top: -5px;
}
.price-row {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 5px 0px;
  min-height: 40px;
}
.old-price {
  text-decoration: line-through;
  color: #888;
  font-size: 12px;
}
.new-price {
  font-size: 20px;
  letter-spacing: -1px;
  font-family: poppins-bold;
}
.save-pill {
  background: #c9ea12;
  color: #000000;
  font-size: 12px;
  font-family: "poppins-semibold";
  padding: 2px 8px;
  border-radius: 6px;
}

.coupon-wrapper {
  position: relative;
  margin-top: 10px !important;
  margin: auto;
}
.coupon-banner {
  background: #569730;
  padding: 10px 8px 8px 12px;
  display: flex;
  justify-content: space-between;
  border-radius: 12px;

  color: white;
  margin-top: 15px;
}
.coupon-left {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 500;
}
.coupon-left span {
  margin: 0 5px;
}
.coupon-price {
  color: white;
  font-size: 22px;
  font-family: poppins-bold;
}
.coupon-btn {
  color: #ffffff;
  border-radius: 11px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  transition: transform 0.15s ease;
  background-color: #306412;
}
.st0 {
  fill: white;
  fill-rule: evenodd;
  clip-rule: evenodd;
}

.card {
  border-radius: 14px;
  margin-top: 5px;
  position: relative;
  border: 2px solid #ee95d7;
  padding: 12px 10px 10px 10px;
  background-color: #fff7fd;
}
.card-title {
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 12px;
  font-style: italic;
  color: #7a4aa3;
}

.card-title.card-title-pages {
  font-weight: 600;
  margin-bottom: 1px;
  font-size: 12px;
  font-style: italic;
  color: #7a4aa3;
}

.theme-row-container {
  overflow-x: auto;
}
.theme-row {
  display: flex;
  gap: 4px;
  padding: 8px 8px 0px 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.theme-item {
  text-align: center;
  font-size: 11px;
  cursor: pointer;
  flex-shrink: 0;
}
.theme-item img {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  border: 3px solid transparent;
  object-fit: cover;
}
.theme-item.active img {
  border-color: #7a4aa3;
}

.option-row {
  display: flex;
  gap: 5px;
  padding-bottom: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-left: -22px;
  margin-right: -22px;
  padding-left: 22px;
  padding-right: 22px;
  position: relative;
  z-index: 2;
  border-radius: 0;
}
.option-row::-webkit-scrollbar {
  display: none;
}
.option-pill {
  border: 1.5px solid #ddd;
  border-radius: 12px;
  padding: 8px 10px;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  background-color: white;
  color: #5a5a5a;
}
.option-pill.type-option-pill {
  align-items: flex-start !important;
}
.pill-text {
  font-family: "poppins-medium";
}
.pill-sub-text {
  font-family: "poppins-semibold";
}
.option-pill.active {
  border-color: #bb97da;
  background: #f3e5ff;
  color: #7a4aa3;
}
.page-count {
  font-size: 11px;
}

.shipping-title {
  font-weight: 600;
  font-size: 12px;
  margin: 12px 0 8px 0;
  font-style: italic;
  color: #7a4aa3;
}
.pincode-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #d6b0f1;
  border-radius: 14px;
  padding: 4px;
  margin-bottom: 8px;
  background-color: white;
  justify-content: space-between;
}
.pincode-location {
  font-size: 14px;
  padding-left: 5px;
}
#pincode-input {
  border: none;
  outline: none;
  font-size: 13px;
  font-weight: 600;
  color: #4b2c8a;
  background: transparent;
  width: 100%;
}
.pincode-change-btn {
  background: #7a4aa3;
  border: none;
  color: #fff;
  font-weight: 500;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.pincode-error {
  font-size: 12px;
  color: #d60000;
  margin: 4px;
  display: none;
}
.shipping-options {
  display: flex;
  gap: 3px;
}
.shipping-card {
  flex: 1;
  border: 1px solid #e0e0e0;
  border-radius: 14px;
  padding: 6px 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background-color: white;
}
.shipping-card.selected {
  border-color: var(--shipping-color, #7b3fe4);
  background: color-mix(in srgb, var(--shipping-color, #7b3fe4) 20%, white);
}
.shipping-date {
  font-family: "poppins-medium-italic";
  font-size: 12px;
}
.shipping-type-price {
  display: flex;
  gap: 8px;
  font-size: 11px;
}
.shipping-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #7a4aa3;
  animation: spin 1s ease-in-out infinite;
  margin: 0 auto;
}

.faq-section,
.related-section,
.ugc-wrapper {
  content-visibility: auto;
  contain-intrinsic-size: 1px 1000px;
}

.ugc-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-padding: 14px;
  padding: 0 10px 0px 10px;
}
.ugc-row::-webkit-scrollbar {
  display: none;
}

.ugc-video {
  position: relative;
  flex: 0 0 calc((100% - 20px) / 3.2);
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  overflow: visible;
  scroll-snap-align: center;
  cursor: pointer;
}

@media (min-width: 600px) {
  .ugc-video {
    flex: 0 0 calc((100% - 30px) / 4);
  }
}

.ugc-video img,
.ugc-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}
.ugc-video video {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.ugc-video.is-playing video {
  opacity: 1;
}
.ugc-video.is-playing img {
  opacity: 0;
}
.ugc-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 3;
}

.ugc-modal {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  padding: 24px;
}
.ugc-modal-inner {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  background: black;
  overflow: hidden;
}
.ugc-modal-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.ugc-modal-inner video {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}
.ugc-modal-inner.video-ready video {
  opacity: 1;
}
.ugc-close {
  position: absolute;
  top: 30px;
  z-index: 10;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.6);
  color: #000000;
  font-size: 18px;
  cursor: pointer;
}

#infoTabsMount {
  padding: 0 10px;
  margin-top: 14px;
}
.tabs-wrapper {
  padding: 6px;
  border-radius: 35px;
  background: #fff;
  border: 2px solid #f4a0d8;
}
.tabs {
  position: relative;
  display: flex;
  background: #f1eef5;
  border-radius: 999px;
  padding: 6px;
}
.tab-slider {
  position: absolute;
  top: 6px;
  left: 6px;
  width: calc((100% - 12px) / 3);
  height: calc(100% - 12px);
  background: #7a4aa0;
  border-radius: 999px;
  transition: left 0.35s ease;
}
.tab {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 0;
  font-size: 12px;
  font-weight: 600;
  color: #7a4aa0;
  cursor: pointer;
  position: relative;
  z-index: 1;
  text-transform: capitalize;
}
.tab.active {
  color: #fff;
}
.tab-content {
  display: none;
  padding: 14px 8px 6px;
  font-size: 12px;
  line-height: 1.45;
  animation: fade 0.25s ease;
}
.tab-content.active {
  display: block;
}
.tab-content p {
  margin: 0 0 8px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.details-indent {
  margin-left: 16px !important;
  font-size: 12px;
}

.faq-section {
  padding: 0px 10px;
  background: #fff;
  margin-bottom: 15px;
}
.faq-main-title {
  text-align: center;
  color: #7a4aa3;
  font-family: poppins-bold;
  font-style: italic;
  font-size: 24px;
  margin-bottom: 20px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.faq-item {
  background: #faeaff;
  border: 1px solid #ffcdf3;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-question {
  padding: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}
.q-text {
  font-weight: 600;
  font-size: 14px;
  color: #000;
}
.q-icon {
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  transition: transform 0.25s ease;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    opacity 0.25s ease;
}
.faq-item.active .faq-answer {
  max-height: 500px;
  opacity: 1;
}
.faq-item.active .q-icon {
  transform: rotate(180deg);
}
.answer-content {
  padding: 10px 16px 10px 16px;
  font-size: 12px;
  color: #3e3e3e;
  line-height: 1.5;
  opacity: 1;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}
.faq-item.active .answer-content .overall-rating .stars-row .rating-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 12px;
  color: #444;
}
.star-label {
  display: flex;
  align-items: center;
  width: 20px;
}
.star-label::after {
  content: "★";
  color: #389692;
  margin-left: 2px;
}
.bar-track {
  flex: 1;
  height: 10px;
  background: #f0f0f0;
  border-radius: 10px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  background: #389692;
  border-radius: 10px;
}
.bar-percent .verified-badge .view-more-btn {
  display: none;
  background: #389692;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  margin: 0px auto;
  align-items: center;
  gap: 6px;
  margin-bottom: 15px;
}

.related-section {
  display: none;
  padding: 15px;
}
.section-title {
  color: #7a4aa3;
  font-family: poppins-bold;
  font-style: italic;
  font-size: 18px;
  text-align: center;
  margin-bottom: 10px;
}
.related-slider {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  scrollbar-width: none;
}
.related-slider::-webkit-scrollbar {
  display: none;
}
.related-card {
  flex: 0 0 160px;
  scroll-snap-align: start;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}
@media (min-width: 400px) {
  .related-card {
    flex: 0 0 180px;
  }
}
.related-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 8px;
  background: #eee;
}
.related-info {
  margin-top: 8px;
}
.related-title {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.related-stars {
  color: #f5b400;
  font-size: 12px;
  margin-bottom: 2px;
}
.related-price {
  font-weight: 700;
  font-size: 14px;
  color: #000;
}
.slider-progress-bar {
  width: 100%;
  height: 3px;
  background: #e0e0e0;
  border-radius: 2px;
  margin-top: 10px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: #7a4aa3;
  width: 0;
  transition: width 0.1s linear;
}

#uploadView {
  margin: 0;
  padding: 0;
  background-color: #f6f6f6;
  min-height: 100vh;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 50;
}
#uploadView .header-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  z-index: 1000;
}
#uploadView .header-div {
  background-color: white;
  margin: 0 auto;
  display: flex;
  width: 100%;
  padding: 0px;
  justify-content: space-between;
}
#uploadView .header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
#uploadView .back-btn {
  cursor: pointer;
  height: 70px;
  width: 60px;
  text-align: center;
  align-content: center;
  font-size: 20px;
}
#uploadView .header-text {
  display: flex;
  flex-direction: column;
}
#uploadView .header-title {
  font-size: 18px;
  font-weight: 600;
}
#uploadView .sub-heading {
  color: #6b6b6b;
  font-size: 12px;
  margin: 0px;
}
#uploadView .sub-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #c9ea12;
  font-size: 11px;
  text-align: center;
  padding: 5px 0;
  color: #000000;
  gap: 3px;
}
#uploadView .sub-header i {
  margin: 0 5px;
  font-size: 18px;
}

.upload-container-wrapper {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding-top: 110px;
  padding-bottom: 70px;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}
.first-upload-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #7a4aa3;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  padding: 15px 20px;
  text-align: center;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 250px;
  border: none;
  font-weight: 600;
  color: white;
}
.first-upload-btn:hover {
  box-shadow: none;
  border: 1px solid #000000;
}

#buttonsArea {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  justify-items: center;
}

#landingView .upload-btn {
  background-color: #7a4aa3;
  color: white;
  padding: 15px 10px;
  display: flex;
  cursor: pointer;
  width: 100%;
  border-radius: 15px;
  font-weight: 700;
  font-size: 14px;
  align-content: center;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}

#uploadView .upload-btn {
  background-color: black;
  color: white;
  padding: 20px 10px;
  display: flex;
  cursor: pointer;
  width: 100%;
  max-width: 500px;
  gap: 30px;
  border: none;
  font-weight: 700;
  font-size: 14px;
  margin: 0px;
  border-radius: 0px;
  align-content: center;
  align-items: center;
  justify-content: center;
}
.checkout-btn {
  background-color: #887ae2;
  color: white;
  padding: 20px 10px;
  justify-content: center;
  display: flex;
  align-items: center;
  cursor: pointer;
  width: 100%;
  max-width: 500px;
  gap: 10px;
  border: none;
  font-weight: 700;
  font-size: 14px;
  margin: 0px;
  border-radius: 0px;
}
.file-input {
  display: none;
}
.items-list {
  padding: 0 10px;
  counter-reset: page-counter 1;
}
.item-wrapper {
  margin-bottom: 10px;
  position: relative;
  padding-top: 24px;
}
.item-wrapper::before {
  counter-increment: page-counter;
  content: "Page " counter(page-counter);
  position: absolute;
  top: 0;
  left: 5px;
  width: 100%;
  font-size: 12px;
  color: #333;
  font-weight: 600;
  pointer-events: none;
}
.item-wrapper:first-child::before {
  content: "Front Cover";
  counter-increment: none;
}
.items-list.is-full .item-wrapper:last-child::before {
  content: "Back Cover" !important;
  counter-increment: none;
}

.each-item-container {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px;
  border-radius: 10px;
  box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.2);
  background-color: white;
  position: relative;
  margin: 0;
  height: auto;
}

.drag-handle {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  font-size: 20px;
  color: #888;
  padding-right: 5px;
  align-self: center;
  flex-shrink: 0;
}

.image-container {
  position: relative;
  width: 80px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  align-self: flex-start;
}

.each-item-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
}
.image-container.shimmer .each-item-image {
  opacity: 0;
}
.image-container .each-item-image {
  opacity: 1;
  transition: opacity 0.3s ease-in;
}

.progress-overlay {
  border-radius: 10px;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;

  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 12px;
}

.quote-wrapper {
  flex: 1;
  min-width: 0;
  display: flex;
  background-color: #fcfcfc;
  border: 1px solid #e1e1e1;
  border-radius: 8px;
  min-height: 100px;
  overflow: hidden;
  padding: 8px;
  gap: 5px;
}

.quote-box {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  color: #333;
  font-weight: 500;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

.item-actions {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
  background-color: transparent;
}

.delete-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  align-self: center;
}

.action-btn {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.1s;
}

.action-btn:active {
  transform: scale(0.95);
}

.btn-edit,
.btn-clear {
  background-color: #000000;
  color: white;
  font-size: 12px;
}

.btn-delete {
  background-color: transparent;
  color: #000;
  font-size: 18px;
  cursor: pointer;
}
.btn-delete:hover {
  color: #d32f2f;
}

.quote-skeleton {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sk-line {
  height: 10px;
  border-radius: 4px;
  background: #eee;
  width: 100%;
}
.sk-line.short {
  width: 60%;
}
.sk-shimmer {
  background: #f6f7f8;
  background-image: linear-gradient(
    to right,
    #f6f7f8 0%,
    #edeef1 20%,
    #f6f7f8 40%,
    #f6f7f8 100%
  );
  background-repeat: no-repeat;
  background-size: 800px 100%;
  animation: shimmerAnimation 1.5s infinite linear;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}
.confirmation-modal {
  background-color: white;
  border-radius: 10px;
  padding: 12px;
  width: 90%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}
.confirmation-modal p {
  color: #777777;
  font-size: 12px;
}
.button-group {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.modal-cancel {
  padding: 10px 20px;
  background-color: #f1f1f1;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  width: 100%;
}
.modal-confirm {
  padding: 10px 20px;
  background-color: black;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  width: 100%;
}
.textarea-container {
  position: relative;
  width: 100%;
}
.textarea-container textarea {
  background-color: rgb(235, 235, 235);
  width: 100%;
  border-radius: 10px;
  padding: 10px;
  box-sizing: border-box;
  resize: none;
  font-size: 12px;
  border: 1px solid #ddd;
}
.char-count {
  position: absolute;
  bottom: 12px;
  right: 6px;
  font-size: 12px;
  color: #555;
  padding: 2px 2px;
  border-radius: 5px;
  pointer-events: none;
  background-color: rgba(255, 255, 255, 0.8);
}

.sortable-ghost {
  opacity: 0.4;
}
.sortable-chosen {
  background-color: #f9f9f9;
}
.sortable-drag {
  opacity: 0.8;
  transform: rotate(5deg);
}
.sortable-drag::before {
  opacity: 0;
}
.sortable-ghost::before {
  opacity: 1;
}

.conversion-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.85) !important;
  color: white;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.spinner {
  border: 5px solid #f3f3f3;
  border-top: 5px solid #dd5993;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}
.btn-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top: 2px solid #fff;
  border-radius: 50%;
  display: inline-block;
  margin-left: 8px;
  animation: spin 0.8s linear infinite;
}
.loading span {
  display: inline-block;
  animation: blink 1.4s infinite both;
}
.loading span:nth-child(1) {
  animation-delay: 0s;
}
.loading span:nth-child(2) {
  animation-delay: 0.2s;
}
.loading span:nth-child(3) {
  animation-delay: 0.4s;
}

.progress-circle-container {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
}
.progress-circle-svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}
.progress-circle-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 8;
}
.progress-circle-bar {
  fill: none;
  stroke: #00d26a;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  transition: stroke-dashoffset 0.3s ease;
}
.progress-text-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.progress-percent {
  font-size: 24px;
  font-weight: 700;
  font-family: poppins-bold;
}
.progress-ratio {
  font-size: 12px;
  opacity: 0.8;
}
.progress-status-text {
  text-align: center;
  font-size: 14px;
  max-width: 280px;
  line-height: 1.5;
}
.progress-subtext {
  font-size: 12px;
  color: #ccc;
  margin-top: 5px;
}

.field-error {
  color: #d32f2f;
  font-size: 11px;
  display: none;
  font-weight: 500;
  margin-left: 10px;
}
.field-error.active {
  display: block;
}

.testimonial-section {
  margin: 0px 15px;
}

.input-error .testimonial-section .section-title {
  text-align: center;
  color: #7a4aa3;
  font-family: poppins-bold;
  font-style: italic;
  font-size: 18px;
  margin: 20px 0 10px 0;
}

.testimonial-viewport {
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0px 4px rgba(0, 0, 0, 0.1);
  transition: height 280ms ease;
}

.testimonial-track {
  display: flex;
  transition: transform 320ms ease;
  will-change: transform;
  align-items: flex-start;
}

.testimonial-slide {
  position: relative;
  width: 100%;
  flex: 0 0 100%;
  padding: 20px 25px;
}

.testimonial-text {
  font-size: 12px;
  line-height: 1.6;
  color: #222;
}

.testimonial-controls {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.testimonial-btn {
  flex: 1;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid #e2e6f2;
  background: #ffffff;
  cursor: pointer;
  font-weight: 700;
}

.testimonial-dots {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 7px;
  height: 14px;

  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;

  width: calc((7 * 10px) + (6 * 6px));
  margin-left: auto;
  margin-right: auto;
  justify-content: flex-start;
}

.testimonial-dots::-webkit-scrollbar {
  display: none;
}

.testimonial-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: #d0d6e8;
  padding: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex: 0 0 auto;
}

.testimonial-dot.active {
  width: 18px;
  border-radius: 10px;
  background: #7a4aa3;
}

.testimonial-dot[data-dist="1"] {
  transform: scale(0.9);
  opacity: 0.55;
}

.testimonial-dot[data-dist="2"] {
  transform: scale(0.75);
  opacity: 0.45;
}

.testimonial-dot[data-dist="3"] {
  transform: scale(0.6);
  opacity: 0.35;
}

.testimonial-arrows {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.testimonial-arrow {
  pointer-events: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-80%);
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid #e2e6f2;
  background: #ffffff;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.testimonial-arrow-prev {
  left: -10px;
}
.testimonial-arrow-next {
  right: -10px;
}

.testimonial-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.t-stars {
  color: #f5b400;
  font-size: 14px;
  letter-spacing: 1px;
}
.t-name {
  font-family: "poppins-semibold";
  font-size: 14px;
  color: #111;
}

@keyframes sbShimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.generating-caption,
.caption-generating,
.caption-loading,
.quote-loading,
.generating-text {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.06) 0%,
    rgba(0, 0, 0, 0.12) 50%,
    rgba(0, 0, 0, 0.06) 100%
  );
  background-size: 200% 100%;
  animation: sbShimmer 1.25s linear infinite;
  min-height: 14px;
}

.generating-caption span,
.caption-generating span,
.caption-loading span,
.quote-loading span,
.generating-text span {
  position: relative;
  z-index: 2;
  font-size: 12px;
  opacity: 0.75;
}

.upload-card.is-uploading img,
.upload-item.is-uploading img,
.file-card.is-uploading img,
.image-card.is-uploading img {
  filter: blur(10px);
  transform: scale(1.04);
  opacity: 0.75;
  transition:
    filter 650ms ease,
    transform 650ms ease,
    opacity 650ms ease;
}

.upload-card.is-ready img,
.upload-item.is-ready img,
.file-card.is-ready img,
.image-card.is-ready img {
  filter: blur(0);
  transform: scale(1);
  opacity: 1;
  transition:
    filter 650ms ease,
    transform 650ms ease,
    opacity 650ms ease;
}

.upload-card img,
.upload-item img,
.file-card img,
.image-card img {
  transition:
    filter 650ms ease,
    transform 650ms ease,
    opacity 650ms ease;
}

.upload-progress-ring,
.circular-progress,
.progress-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  position: relative;
  display: grid;
  place-items: center;
}

.upload-progress-ring::before,
.circular-progress::before,
.progress-circle::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    rgba(0, 0, 0, 0.85) calc(var(--p, 0) * 1%),
    rgba(0, 0, 0, 0.1) 0
  );
  -webkit-mask: radial-gradient(transparent 60%, black 61%);
  mask: radial-gradient(transparent 60%, black 61%);
}

.upload-progress-ring::after,
.circular-progress::after,
.progress-circle::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
}

.upload-progress-ring .progress-text,
.circular-progress .progress-text,
.progress-circle .progress-text {
  position: relative;
  z-index: 2;
  font-size: 11px;
  font-weight: 600;
  opacity: 0.85;
}

.upload-card.is-uploading .image-wrap,
.upload-item.is-uploading .image-wrap,
.file-card.is-uploading .image-wrap,
.image-card.is-uploading .image-wrap {
  position: relative;
  overflow: hidden;
}

.upload-card.is-uploading .image-wrap::before,
.upload-item.is-uploading .image-wrap::before,
.file-card.is-uploading .image-wrap::before,
.image-card.is-uploading .image-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  background-size: 200% 100%;
  animation: sbShimmer 1.2s linear infinite;
  pointer-events: none;
  opacity: 0.7;
}

body.upload-view .whatsapp-float,
body.upload-view #whatsapp-widget,
body.upload-view .wa-chat-widget,
body.upload-view a[href*="wa.me"] {
  display: none !important;
}

.quote-box.is-placeholder {
  font-style: normal !important;
  border-radius: 8px !important;
}

.quote-box.is-generating::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: linear-gradient(
    90deg,
    rgba(255, 247, 223, 0.7) 0%,
    rgba(255, 255, 255, 0.9) 50%,
    rgba(255, 247, 223, 0.7) 100%
  );
  background-size: 200% 100%;
  animation: shimmerAnimation 1.35s infinite linear;
  pointer-events: none;
  opacity: 0.7;
}
.quote-box {
  position: relative;
}

.quote-skeleton .sk-line.sk-shimmer {
  background-image: linear-gradient(
    90deg,
    rgba(233, 226, 255, 0.9) 0%,
    rgba(255, 247, 223, 0.95) 45%,
    rgba(233, 226, 255, 0.9) 100%
  ) !important;
  background-size: 240% 100% !important;
  animation: shimmerAnimation 1.25s infinite linear !important;
}

.progress-overlay {
  --p: 0;
  background: rgba(0, 0, 0, 0.5) !important;
}

.progress-overlay::before {
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: conic-gradient(
    rgba(255, 255, 255, 0.95) calc(var(--p) * 1%),
    rgba(255, 255, 255, 0.25) 0
  );
  box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.12);
  -webkit-mask: radial-gradient(transparent 62%, black 63%);
  mask: radial-gradient(transparent 62%, black 63%);
}

.progress-overlay::after {
  content: "";
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
}

.progress-overlay * {
  position: relative;
  z-index: 2;
  color: rgba(255, 255, 255, 0.95) !important;
  font-weight: 700;
}

.image-container.converting-blur .each-item-image {
  filter: blur(10px);
  transform: scale(1.04);
  opacity: 0.75;
}

.bottom-sheet-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.bottom-sheet-container.is-keyboard-active {
  transition: padding-bottom 0.3s ease;
  padding-bottom: 30vh;
}

.bottom-sheet {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #f3ecf9;
  border-radius: 20px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.3s ease-out;
  display: flex;
  flex-direction: column;
  color: #f7f7f7;
  margin: 10px;
  max-height: 85vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: calc(80px + env(safe-area-inset-bottom));
  width: 90%;
  margin: 0 auto;
  bottom: 25px;
  max-width: 450px;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

#uploadAuthModal h1 {
  font-family: poppins-bold;
  font-size: 21px;
  margin: 12px 0px;
  text-align: center;
  color: #7a4aa3;
}

#uploadAuthModal p {
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  width: 80%;
  margin: 0 auto;
  color: black;
}

#uploadAuthModal input {
  width: 100%;
  padding: 14px;
  border: 1px solid #e0e0e0;
  background: #ffffff;
  border-radius: 12px;
  font-size: 13px;
  outline: none;
  font-family: poppins-medium;
  color: #000;
  transition: border 0.2s;
}

#uploadAuthModal input:focus {
  border-color: #7a4aa3;
  background: #fff;
}

.otp-button,
.otp-verify-btn {
  width: 100%;
  background: #7a4aa3;
  color: #fff;
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(122, 74, 163, 0.3);
}

.otp-button:active,
.otp-verify-btn:active {
  transform: scale(0.98);
}

.otp-edit {
  color: #7a4aa3;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  border: 1px solid #7a4aa3;
  border-radius: 10px;
  padding: 3px 8px;
}

.otp-resend {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: #666;
  margin-bottom: 0px;
}

.otp-error {
  background: #ffebeb;
  color: #d32f2f;
  padding: 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 15px;
  text-align: center;
  display: none;
}

.otp-info {
  font-size: 13px;
  color: #666;
  margin-bottom: 5px;
}

.login-close-center {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #f5f5f5;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  font-size: 14px;
}

.phone-input-section {
  padding: 8px 16px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.otp-card {
  padding: 8px 16px;
}

#uploadOtpPhoneText {
  color: #7a4aa3;
}

.upload-login-subtext {
  padding-bottom: 10px;
}

.otp-subtext {
  padding-bottom: 10px;
}

#uploadOtpInput {
  margin-bottom: 10px;
}

@keyframes captionShimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.quote-box .skeleton-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  background: transparent;
  padding: 0;
  border: none;
}

.quote-box .skeleton-header {
  width: 100%;
  padding: 5px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  color: #7a4aa3;
  margin-bottom: 2px;

  background: linear-gradient(90deg, #f1edfe 25%, #fff1ce 50%, #f1edfe 75%);
  background-size: 200% 100%;
  animation: captionShimmer 1.5s infinite;
}

.quote-box .skeleton-line {
  width: 100%;
  height: 12px;
  border-radius: 4px;

  background: linear-gradient(90deg, #f1edfe 25%, #fff1ce 50%, #f1edfe 75%);
  background-size: 200% 100%;
  animation: captionShimmer 1.5s infinite;
}

.quote-box .skeleton-line.short {
  width: 60%;
}

#page-options-container .option-pill {
  position: relative;
}

.best-seller-tag {
  position: absolute;
  top: -15px;
  background: #118c4f;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  z-index: 2;
}

#page-options-container {
  overflow-y: visible !important;
  padding-top: 14px;
}

#page-options-container .options-row {
  overflow-y: visible !important;
}

#page-options-container .option-pill {
  overflow: visible !important;
}

#theme-options-container {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: 16px;
  padding-right: 16px;
}

#theme-options-container {
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

#theme-options-container::-webkit-scrollbar {
  display: none;
}

.header-skeleton {
  height: 56px;
  width: 100%;
}

.theme-skeleton {
  pointer-events: none;
  opacity: 0.9;
}
.theme-skeleton-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 2px solid transparent;
}
.theme-skeleton-title {
  width: 50px;
  height: 10px;
  border-radius: 6px;
  margin: 6px auto 0 auto;
}

.pill-skeleton,
.page-pill-skeleton {
  pointer-events: none;
}
.pill-skel-line {
  width: 70px;
  height: 12px;
  border-radius: 8px;
}
.pill-skel-line.small {
  width: 55px;
  height: 10px;
  opacity: 0.95;
}

.testimonial-slider {
  position: relative;
}

.coupon-code {
  font-size: 14px;
  font-family: "poppins-bold";
}

.upload-purple-space-note {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  width: 90%;
  max-width: 340px;
  text-align: center;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.92);
  opacity: 0.9;
  pointer-events: none;
}

#uploadAuthModal .upload-login-empty-space {
  position: absolute;
  left: 0;
  right: 0;

  bottom: env(safe-area-inset-bottom);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
}

#uploadAuthModal .upload-auth-footer-note {
  width: 100%;
  max-width: 360px;
  text-align: center;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 600;
  color: #2f2f2f !important;
}

.upload-auth-footer-text {
  font-size: 11px !important;
}

.upload-auth-footer-text a {
  color: #7a4aa3;
  text-decoration: none;
}

.theme-thumb-skel {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  flex-shrink: 0;
}

.t-date {
  display: none !important;
}

.review-date {
  display: none !important;
}

.coupon-ribbon {
  border-radius: 0px 0px 4px 4px;
  background: #bf1414;
  box-shadow: 0px 4px 4px -4px rgba(0, 0, 0, 0.6);
  position: absolute;
  z-index: 10;

  min-width: 150px;
  left: 50%;
  transform: translateX(-50%);
  top: -8px;
}

@media screen and (min-width: 601px) {
  .coupon-ribbon {
    width: 30%;
  }
}

@media screen and (max-width: 600px) {
  .coupon-ribbon {
    width: 45%;
  }
}

.coupon-ribbon:before,
.coupon-ribbon:after {
  content: "";
  width: 6px;
  height: 8px;
  background: #920000;
  position: absolute;
  top: 0px;
  z-index: -1;
}

.coupon-ribbon::before {
  left: -6px;
  border-radius: 15px 10px 0 0px;
  border-right: 5px solid #bf1414;
}

.coupon-ribbon::after {
  right: -6px;
  border-radius: 15px 10px 0 0px;
  border-left: 5px solid #bf1414;
}

.ribbon-info {
  text-align: center;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 0;
  font-family: "poppins-semibold";
}
