.page-template-template-cotizador {
  --product-carousel-gap: 16px;
}

body {
  color: var(--pg-text);
  background: var(--pg-bg);
  font-family: var(--pg-body-font);
  letter-spacing: 0;
  line-height: 1.45;
}

body.demo-running {
  cursor: progress;
}

body.demo-running #stopDemoBtn {
  cursor: pointer;
}

body.demo-running #stopDemoBtn.demo-stop-floating {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 1000001;
  box-shadow: 0 10px 24px var(--pg-overlay-medium);
  border-color: var(--pg-primary-border-soft);
}

@media (max-width: 767.98px) {
  body.demo-running #stopDemoBtn.demo-stop-floating {
    right: 12px;
    bottom: 12px;
  }
}

h1,
h2,
h3,
h4,
h5,
h6,
.btn,
.summary-price,
.summary-total,
.tag-mini,
.line-badge {
  font-family: var(--pg-heading-font);
  letter-spacing: 0;
}

.page-template-template-cotizador .btn,
.page-template-template-cotizador .btn:link,
.page-template-template-cotizador .btn:visited,
.page-template-template-cotizador .btn:hover,
.page-template-template-cotizador .btn:focus,
.page-template-template-cotizador .btn:focus-visible,
.page-template-template-cotizador .btn:active,
.page-template-template-cotizador button.btn,
.page-template-template-cotizador a.btn,
.page-template-template-cotizador a.btn:link,
.page-template-template-cotizador a.btn:visited,
.page-template-template-cotizador a.btn:hover,
.page-template-template-cotizador a.btn:focus,
.page-template-template-cotizador a.btn:focus-visible,
.page-template-template-cotizador a.btn:active {
  text-decoration: none !important;
  text-decoration-line: none !important;
  text-decoration-color: transparent !important;
  box-shadow: none;
}

.page-template-template-cotizador #contactForm .btn[type="submit"] {
  position: relative;
  background: var(--pg-primary) !important;
  border-color: var(--pg-primary) !important;
  color: var(--pg-white) !important;
}

.page-template-template-cotizador #contactForm .btn[type="submit"]:hover,
.page-template-template-cotizador #contactForm .btn[type="submit"]:focus,
.page-template-template-cotizador #contactForm .btn[type="submit"]:focus-visible,
.page-template-template-cotizador #contactForm .btn[type="submit"]:active,
.page-template-template-cotizador #contactForm .btn[type="submit"].active,
.page-template-template-cotizador #contactForm .btn[type="submit"]:disabled {
  background: var(--pg-primary) !important;
  border-color: var(--pg-primary) !important;
  color: var(--pg-white) !important;
}

.page-template-template-cotizador #contactForm .btn[type="submit"].btn-loading {
  color: transparent !important;
  pointer-events: none;
}

.page-template-template-cotizador #contactForm .btn[type="submit"].btn-loading::before {
  position: absolute;
  left: calc(50% - 10px);
  top: calc(50% - 10px);
  width: 20px;
  height: 20px;
  border-width: 0.18rem;
}

.page-template-template-cotizador #exportPdfBtn {
  position: relative;
}

.page-template-template-cotizador #exportPdfBtn.btn-loading {
  color: transparent !important;
  pointer-events: none;
}

.page-template-template-cotizador #exportPdfBtn.btn-loading::before {
  content: "";
  position: absolute;
  left: calc(50% - 10px);
  top: calc(50% - 10px);
  width: 20px;
  height: 20px;
  border: 0.18rem solid var(--pg-primary-stroke-soft);
  border-top-color: var(--pg-primary);
  border-radius: 50%;
  animation: lp-cotizador-spin 0.8s linear infinite;
}

@keyframes lp-cotizador-spin {
  to {
    transform: rotate(360deg);
  }
}

::selection {
  background: var(--pg-primary-ring-soft);
  color: var(--pg-text);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--pg-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--pg-muted);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--pg-text);
}

.hero-title {
  font-weight: 800;
  letter-spacing: -0.03em;
}

.gradient-text {
  background: linear-gradient(120deg, #f58a07 0%, #f9b12d 28%, #ff7a18 55%, #ffb347 78%, #d96b00 100%);
  background-size: 220% 220%;
  color: var(--pg-primary-dark);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: orangeGradientFlow 4.5s ease-in-out infinite;
}

@keyframes orangeGradientFlow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.section-card {
  background: var(--pg-card-bg);
  border-radius: 8px;
  box-shadow: var(--pg-shadow);
  transition: all 0.2s ease;
}

.contact-delivery-card {
  border-color: #f2d7a4;
  background: linear-gradient(180deg, var(--pg-soft-warm-strong) 0%, var(--pg-white) 26%);
  box-shadow: var(--pg-shadow-warm), var(--pg-shadow);
}

.contact-collapse-toggle {
  color: var(--pg-text) !important;
}

.contact-collapse-toggle:hover {
  color: var(--pg-primary-dark) !important;
}

.contact-required-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid #f3cf8a;
  background: var(--pg-soft-warm);
  color: #a56b09;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.collapse-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1;
  color: var(--pg-text-muted);
  transition: color .2s ease, opacity .2s ease;
}

.collapse-indicator::before {
  content: "+";
}

.contact-collapse-toggle[aria-expanded="true"] .collapse-indicator {
  color: var(--pg-text);
}

.contact-collapse-toggle[aria-expanded="true"] .collapse-indicator::before {
  content: "\2212";
}

.country-code-btn {
  min-width: 100px;
  border: none;
  background: #eaeaea !important;
  border-bottom-left-radius: 50px;
  border-top-left-radius: 50px;
}

.country-dropdown-menu {
  width: 260px;
  max-height: 280px;
  overflow-y: auto;
}

.country-dropdown-search-wrap {
  top: -8px;
  z-index: 10;
}

.product-carousel-shell {
  position: relative;
  padding-inline: 40px;
}

.product-carousel-shell.-no-nav {
  padding-inline: 0;
}

.product-carousel-dots {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.product-carousel.catalog-transition-forward {
  animation: catalogSlideForward .28s ease;
}

.product-carousel.catalog-transition-backward {
  animation: catalogSlideBackward .28s ease;
}

@keyframes catalogSlideForward {
  0% {
    opacity: 0;
    transform: translateX(24px) scale(0.985);
  }

  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes catalogSlideBackward {
  0% {
    opacity: 0;
    transform: translateX(-24px) scale(0.985);
  }

  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.product-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #d5dbe3;
  transition: all .2s ease;
}

.product-carousel-dot.active {
  width: 20px;
  background: var(--pg-primary);
}

.product-filter-input {
  width: 150px;
  border-radius: 8px;
}

#productFilterInput,
.country-dropdown-search-wrap .form-control {
  background-image: none !important;
  padding-right: 0.75rem !important;
}

.was-validated #productFilterInput:valid,
.was-validated #productFilterInput:invalid,
.was-validated .country-dropdown-search-wrap .form-control:valid,
.was-validated .country-dropdown-search-wrap .form-control:invalid {
  background-image: none !important;
  box-shadow: none !important;
}

.page-template-template-cotizador .was-validated .form-control:valid,
.page-template-template-cotizador .was-validated .form-control:invalid,
.page-template-template-cotizador .was-validated .form-select:valid,
.page-template-template-cotizador .was-validated .form-select:invalid,
.page-template-template-cotizador .was-validated textarea.form-control:valid,
.page-template-template-cotizador .was-validated textarea.form-control:invalid,
.page-template-template-cotizador .form-control.is-valid,
.page-template-template-cotizador .form-control.is-invalid,
.page-template-template-cotizador .form-select.is-valid,
.page-template-template-cotizador .form-select.is-invalid,
.page-template-template-cotizador textarea.form-control.is-valid,
.page-template-template-cotizador textarea.form-control.is-invalid {
  background-image: none !important;
  box-shadow: none !important;
  padding-right: 0.75rem !important;
}

.page-template-template-cotizador .was-validated .form-control:valid,
.page-template-template-cotizador .form-control.is-valid,
.page-template-template-cotizador .was-validated .form-select:valid,
.page-template-template-cotizador .form-select.is-valid,
.page-template-template-cotizador .was-validated textarea.form-control:valid,
.page-template-template-cotizador textarea.form-control.is-valid {
  border-color: var(--pg-border) !important;
}

.product-filter-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.catalog-toolbar {
  min-width: 0;
}

.catalog-toolbar-copy {
  min-width: 0;
}

.catalog-toolbar-title {
  min-width: 0;
}

.catalog-toolbar-hint {
  min-width: 0;
}

.catalog-toolbar-controls {
  min-width: 0;
}

.product-filter-wrap .product-filter-input,
.product-filter-wrap #productFilterInput {
  padding-right: 34px;
}

.product-filter-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 999px;
  background: #d9d9d9;
  color: #1f2937;
  font-size: 1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.product-filter-clear:hover,
.product-filter-clear:focus-visible {
  background: #cfcfcf;
}

.product-filter-empty {
  margin-top: 14px;
  padding: 24px 18px;
  border: 1px dashed var(--pg-border);
  border-radius: 18px;
  background: linear-gradient(180deg, #fffdf8 0%, #f8fafc 100%);
  text-align: center;
}

.product-filter-empty-icon {
  font-size: 1.6rem;
  line-height: 1;
  margin-bottom: 8px;
  color: #000;
}

.product-filter-empty-icon svg {
  display: block;
  margin: 0 auto;
}

.product-filter-empty-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--pg-text);
}

.product-filter-empty-copy {
  margin-top: 6px;
  font-size: 0.88rem;
  color: var(--pg-muted);
}

.product-actions-bar {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px dashed var(--pg-border);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.product-carousel {
  display: flex;
  align-items: stretch;
  gap: var(--product-carousel-gap);
  overflow-x: auto;
  overflow-y: visible;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 10px 2px 12px;
  scroll-snap-type: x mandatory;
}

.product-carousel-skeleton {
  display: flex;
  gap: var(--product-carousel-gap);
  overflow: hidden;
  padding: 10px 2px 12px;
}

.product-carousel::-webkit-scrollbar {
  display: none;
}

.product-slide {
  flex: 0 0 calc((100% - (var(--product-carousel-gap) * 3)) / 4);
  display: flex;
  align-items: stretch;
  padding-block: 4px;
  min-width: 0;
  scroll-snap-align: start;
}

.product-slide .product-card {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.product-media-icon {
  height: 90px;
  color: #000;
}

.product-slide .product-media-icon {
  height: 96px;
  min-height: 96px;
  flex: 0 0 96px;
}

.product-media-icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  display: block;
}

.product-card__eyebrow {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--pg-text-muted);
  margin-top: .35rem;
}

.product-card__content {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 56px;
}

.product-slide .product-card__content {
  min-height: 0;
  flex: 1 1 auto;
  align-items: flex-start;
  justify-content: flex-start;
}

.product-card__title {
  display: block;
  min-height: 2.9em;
  margin-top: .2rem;
  line-height: 1.45;
}

.product-slide .product-card__title {
  width: 100%;
  min-height: 0;
  max-height: 4.2em;
  margin-top: 0;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-card-skeleton {
  cursor: default;
  pointer-events: none;
}

.product-card-skeleton:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--pg-border);
}

.product-card-skeleton__media,
.product-card-skeleton__line {
  position: relative;
  overflow: hidden;
  background: #ececec;
}

.product-card-skeleton__media::after,
.product-card-skeleton__line::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.7) 50%, rgba(255,255,255,0) 100%);
  animation: lp-cotizador-skeleton-loading 1.1s ease-in-out infinite;
}

.product-card-skeleton__media {
  height: 90px;
  border-radius: 10px;
  margin-bottom: .85rem;
}

.product-card-skeleton__line {
  height: .8rem;
  border-radius: 999px;
}

.product-card-skeleton__line.-short {
  width: 58%;
  margin: 0 auto .45rem;
}

.product-card-skeleton__line:not(.-short) {
  width: 74%;
  margin: 0 auto;
}

.configurator-skeleton {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 6px 0 2px;
}

.configurator-skeleton__intro,
.configurator-skeleton__group,
.configurator-skeleton__size-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.configurator-skeleton__eyebrow,
.configurator-skeleton__headline,
.configurator-skeleton__subline,
.configurator-skeleton__label,
.configurator-skeleton__choice,
.configurator-skeleton__swatch,
.configurator-skeleton__size-chip,
.configurator-skeleton__size-input,
.configurator-skeleton__upload,
.configurator-skeleton__button {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #eef2f6 0%, #e3e8ef 100%);
}

.configurator-skeleton__eyebrow::after,
.configurator-skeleton__headline::after,
.configurator-skeleton__subline::after,
.configurator-skeleton__label::after,
.configurator-skeleton__choice::after,
.configurator-skeleton__swatch::after,
.configurator-skeleton__size-chip::after,
.configurator-skeleton__size-input::after,
.configurator-skeleton__upload::after,
.configurator-skeleton__button::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.78) 50%, rgba(255, 255, 255, 0) 100%);
  animation: lp-cotizador-skeleton-loading 1.1s ease-in-out infinite;
}

.configurator-skeleton__eyebrow {
  width: 132px;
  height: 12px;
  border-radius: 999px;
}

.configurator-skeleton__headline {
  width: min(100%, 320px);
  height: 22px;
  border-radius: 999px;
}

.configurator-skeleton__subline {
  width: min(100%, 260px);
  height: 12px;
  border-radius: 999px;
}

.configurator-skeleton__label {
  width: 180px;
  max-width: 60%;
  height: 14px;
  border-radius: 999px;
}

.configurator-skeleton__label.-medium {
  width: 210px;
}

.configurator-skeleton__label.-short {
  width: 140px;
}

.configurator-skeleton__choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.configurator-skeleton__choice {
  height: 78px;
  border-radius: 6px;
  border: 1px solid #e1e7ee;
}

.configurator-skeleton__choice.-wide {
  grid-column: span 2;
}

.configurator-skeleton__swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.configurator-skeleton__swatch {
  width: 58px;
  height: 58px;
  border-radius: 6px;
  border: 1px solid #e1e7ee;
}

.configurator-skeleton__size-block {
  padding: 18px;
  border-radius: 6px;
  border: 1px solid var(--pg-border);
  background: linear-gradient(180deg, #fcfcfd 0%, #f6f8fb 100%);
}

.configurator-skeleton__size-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 12px;
}

.configurator-skeleton__size-chip,
.configurator-skeleton__size-input {
  height: 48px;
  border-radius: 6px;
}

.configurator-skeleton__upload {
  height: 108px;
  border-radius: 6px;
  border: 1px dashed #d9e0e8;
}

.configurator-skeleton__actions {
  display: flex;
  gap: 12px;
}

.configurator-skeleton__button {
  height: 52px;
  border-radius: 6px;
  flex: 1 1 0;
}

.configurator-skeleton__button.-primary {
  flex-grow: 1.4;
}

@keyframes lp-cotizador-skeleton-loading {
  100% {
    transform: translateX(100%);
  }
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--pg-border);
  background: var(--pg-card-bg);
  box-shadow: var(--pg-shadow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--pg-text);
  transition: all 0.2s ease;
}

.carousel-nav svg {
  display: block;
}

.carousel-nav:hover {
  border-color: var(--pg-primary);
  color: var(--pg-primary-dark);
}

:focus-visible {
  outline: none;
  box-shadow: var(--pg-glow);
}

.carousel-prev {
  left: 0;
}

.carousel-next {
  right: 0;
}

.product-card,
.choice-card,
.pill-card,
.item-chip,
.product-mini-card {
  border-radius: 6px;
  background: var(--pg-card-bg);
  border: 1px solid var(--pg-border);
  transition: all 0.15s ease;
  cursor: pointer;
  position: relative;
  user-select: none;
}

.product-card:hover,
.choice-card:hover,
.pill-card:hover,
.item-chip:hover,
.product-mini-card:hover {
  border-color: var(--pg-primary);
  box-shadow: var(--pg-shadow);
  transform: translateY(-1px);
}

.product-card.active,
.choice-card.active,
.pill-card.active,
.item-chip.active,
.product-mini-card.active {
  border-color: var(--pg-primary);
  background: var(--pg-primary-light);
  box-shadow: var(--pg-glow), var(--pg-shadow);
}

.product-media {
  overflow: hidden;
}

.product-media img,
.preview-image-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.product-check,
.choice-check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: var(--pg-primary);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 800;
}

.product-card .product-check,
.choice-card .choice-check {
  display: none !important;
}

.product-card.active .product-check,
.choice-card.active .choice-check {
  display: inline-flex !important;
}

.choice-card,
.pill-card,
.product-mini-card {
  padding: 14px 16px;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  text-align: center;
  font-weight: 600;
  color: var(--pg-text);
  font-size: 0.95rem;
}

.choice-card-label {
  display: block;
  line-height: 1.2;
}

.choice-card-caption {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--pg-text-muted);
  line-height: 1.2;
}

.plain-product-card-content {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
}

.plain-product-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--pg-primary-dark);
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
}

.plain-product-card-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}

.choice-card:focus-visible,
.product-card:focus-visible,
.item-chip:focus-visible,
.color-option:focus-visible,
.carousel-nav:focus-visible,
.action-icon:focus-visible,
.viewer-btn:focus-visible,
.btn:focus-visible {
  border-color: var(--pg-primary);
  box-shadow: var(--pg-glow);
}

.preview-image-box {
  min-height: 320px;
  border-radius: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  position: relative;
}

.preview-gallery {
  display: flex;
  align-items: stretch;
  gap: 14px;
  height: 100%;
  min-height: inherit;
  padding: 0;
}

.product-preview-image {
  flex-grow: 1;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  border-radius: 16px;
  padding: 0;
  cursor: zoom-in;
  min-width: 0;
  transition: opacity .18s ease;
}

.product-preview-image.preview-switching {
  opacity: .62;
}

.preview-thumbnails {
  width: 84px;
  min-width: 84px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-left: 0;
  border-left: 0;
}

.preview-skeleton {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(249, 177, 45, 0.25) 50%, rgba(255, 255, 255, 0) 100%),
    linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
  background-size: 200% 100%, 100% 100%;
  animation: shimmer 1.1s linear infinite;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0, 0 0;
  }

  100% {
    background-position: -200% 0, 0 0;
  }
}

.viewer-shell {
  position: relative;
  min-height: 420px;
  display: flex;
  flex-direction: column;
}

.viewer-toolbar {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.viewer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 4px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--pg-border);
  box-shadow: var(--pg-shadow);
  font-size: .75rem;
  font-weight: 700;
  color: var(--pg-text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(8px);
}

.viewer-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.viewer-btn {
  border: 1px solid var(--pg-border);
  background: var(--pg-card-bg);
  color: var(--pg-text);
  border-radius: 4px;
  padding: 8px 16px;
  font-size: .85rem;
  font-weight: 600;
  line-height: 1;
  transition: all .2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.viewer-btn:hover,
.viewer-btn.active {
  border-color: var(--pg-primary);
  background: var(--pg-primary-light);
  color: var(--pg-primary-dark);
}

.viewer-tabs .nav-link {
  color: var(--pg-muted);
  border-radius: 4px;
  border: 1px solid transparent;
  font-weight: 600;
  padding: 8px 16px;
  font-size: 0.9rem;
}

.viewer-tabs .nav-link:hover {
  color: var(--pg-text);
  background: var(--pg-soft);
}

.viewer-tabs .nav-link.active {
  border-color: var(--pg-border);
  color: var(--pg-text);
  background: var(--pg-card-bg);
  box-shadow: var(--pg-shadow);
}

.product-panel-tabs {
  gap: 10px;
  border-bottom: 1px solid var(--pg-border);
  padding-bottom: 12px;
}

.product-panel-tabs .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--pg-border);
  border-radius: 999px;
  padding: 8px 16px;
  background: var(--pg-card-bg);
  color: var(--pg-muted);
  font-weight: 700;
  transition: all .2s ease;
}

.product-panel-tabs .nav-link:hover {
  border-color: var(--pg-primary);
  color: var(--pg-primary-dark);
  background: var(--pg-primary-light);
}

.product-panel-tabs .nav-link.active {
  border-color: var(--pg-primary);
  color: var(--pg-primary-dark);
  background: var(--pg-primary-light);
  box-shadow: var(--pg-glow);
}

.product-tab-notice {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--pg-accent);
  box-shadow: 0 0 0 3px rgba(235, 92, 83, 0.18);
  flex: 0 0 auto;
  animation: productTabPulse 1.6s ease-in-out infinite;
}

.product-summary-panel {
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  min-height: 100%;
}

model-viewer.product-model-viewer {
  width: 100%;
  height: 420px;
  --poster-color: transparent;
  background: transparent;
}

.viewer-overlay-note {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  border-radius: 6px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--pg-border);
  backdrop-filter: blur(8px);
  box-shadow: var(--pg-shadow);
}

.viewer-overlay-note h4 {
  font-size: .9rem;
  margin-bottom: 4px;
  font-weight: 700;
  color: var(--pg-text);
}

.viewer-overlay-note p {
  margin: 0;
  font-size: .85rem;
  color: var(--pg-muted);
  line-height: 1.4;
}

.preview-empty {
  min-height: 420px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--pg-muted);
  padding: 36px;
}

.preview-floating-card {
  margin-top: 0;
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--pg-border);
  border-radius: 8px;
  box-shadow: var(--pg-shadow);
}

.config-subtitle,
.summary-config-text {
  font-size: 0.85rem;
}

.config-subtitle {
  margin-bottom: 0.75rem !important;
}

.file-upload-help,
.summary-price-label,
.summary-tax-text,
.summary-range-text,
.completion-text,
.completion-percent-text {
  font-size: 0.75rem;
}

.delivery-date-help {
  font-size: 0.8rem;
  line-height: 1.4;
}

.delivery-date-status {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(22, 163, 74, 0.2);
  background: #f0fdf4;
  color: #166534;
  font-size: 0.82rem;
  line-height: 1.45;
}

.delivery-date-status.-express {
  border-color: rgba(22, 163, 74, 0.2);
  background: #f0fdf4;
  color: #166534;
}

.delivery-date-status strong {
  font-weight: 800;
  color: inherit;
}

.summary-range-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.summary-range-title {
  color: var(--pg-text-muted);
}

.summary-range-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: var(--pg-text-muted);
}

.summary-range-line.is-empty {
  justify-content: center;
}

.summary-range-line-label {
  text-align: left;
}

.summary-range-line-value {
  flex-shrink: 0;
  font-weight: 700;
  color: var(--pg-text);
}

.empty-state-icon {
  font-size: 2.5rem;
  color: #000;
}

.quote-items-scroll {
  max-height: 400px;
  overflow-y: auto;
  padding-right: 5px;
}

.preview-box-fill {
  flex-grow: 1;
  position: relative;
}

.preview-empty-center {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-empty-icon {
  font-size: 3rem;
  color: #000;
}

.empty-state-icon svg,
.preview-empty-icon svg {
  display: block;
  margin: 0 auto;
}

.product-info-panel {
  border: 1px solid var(--pg-border);
  border-radius: 16px;
  background: linear-gradient(180deg, #fafafa 0%, #f3f3f3 100%);
  padding: 16px;
}

.product-info-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pg-text-muted);
}

.product-info-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--pg-text);
}

.product-info-copy {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--pg-muted);
}

.product-guide-link {
  min-height: auto;
  padding: 8px 14px;
}

.summary-price-label {
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.summary-tax-text {
  font-size: 0.72rem;
}

.summary-price-value {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--pg-primary-dark);
  line-height: 1;
}

.completion-shell {
  max-width: 350px;
}

.completion-progress-track {
  height: 6px;
  box-shadow: none;
  background-color: rgba(0, 0, 0, 0.05);
}

.completion-progress-bar {
  width: 0%;
  background-color: var(--pg-primary-dark);
}

.sticky-grand-total {
  color: var(--pg-primary-dark);
}

.toast-container-high {
  z-index: 3000;
}

.toast-icon-flat {
  color: var(--pg-primary);
}

.toast-icon-flat svg {
  width: 22px;
  height: 22px;
  display: block;
}

.success-modal-content {
  border-radius: 24px;
}

.success-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
}

.success-icon-flat {
  color: var(--pg-primary);
}

.success-icon-flat svg {
  display: block;
  margin: 0 auto;
}

.submission-table-wrap {
  overflow: visible;
}

.submission-cards {
  display: grid;
  gap: 14px;
}

.submission-card {
  border: 1px solid var(--pg-border);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #faf7f4 100%);
  padding: 18px;
}

.submission-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

.submission-card-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pg-text-muted);
  margin-bottom: 4px;
}

.submission-card-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--pg-text);
}

.submission-card-price {
  font-size: 1rem;
  font-weight: 800;
  color: var(--pg-primary-dark);
  white-space: nowrap;
}

.submission-card-meta {
  display: grid;
  gap: 10px;
}

.submission-card-meta-item {
  display: grid;
  gap: 2px;
}

.submission-card-meta-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pg-text-muted);
}

.submission-card-meta-value {
  color: var(--pg-text);
  line-height: 1.45;
}

.submission-card-total {
  background: linear-gradient(180deg, #fff5eb 0%, #ffe8d1 100%);
  border-color: rgba(234, 88, 12, 0.14);
}

.preview-modal-content {
  border-radius: 20px;
  overflow: hidden;
}

.size-guide-modal-content {
  border-radius: 22px;
  overflow: hidden;
}

.size-guide-modal-body {
  max-height: 78vh;
  overflow: auto;
}

.size-guide-shell {
  max-width: 980px;
  margin: 0 auto;
}

.size-guide-card {
  background: #ffffff;
  border: 1px solid var(--pg-border);
  border-radius: 24px;
  box-shadow: var(--pg-shadow);
  overflow: hidden;
}

.size-guide-hero {
  padding: 28px 28px 22px;
  background: linear-gradient(135deg, #fff7e8 0%, #ffffff 100%);
  border-bottom: 1px solid var(--pg-border);
}

.size-guide-kicker {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d8941f;
}

.size-guide-title {
  margin: 0 0 10px;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
}

.size-guide-copy {
  margin: 0;
  max-width: 720px;
  color: var(--pg-muted);
  line-height: 1.6;
}

.size-guide-content {
  padding: 28px;
  display: grid;
  gap: 22px;
}

.size-guide-section {
  border: 1px solid var(--pg-border);
  border-radius: 18px;
  padding: 20px;
  background: #fff;
}

.size-guide-section h2 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.size-guide-section p {
  margin: 0 0 16px;
  color: var(--pg-muted);
  line-height: 1.55;
}

.size-guide-table-wrap {
  overflow-x: auto;
}

.size-guide-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
}

.size-guide-table th,
.size-guide-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--pg-border);
  text-align: center;
  font-size: 0.95rem;
}

.size-guide-table th {
  background: #f8fafc;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--pg-muted);
}

.size-guide-table td:first-child,
.size-guide-table th:first-child {
  text-align: left;
  font-weight: 700;
  color: var(--pg-text);
}

.size-guide-table tr:last-child td {
  border-bottom: none;
}

.size-guide-notes {
  display: grid;
  gap: 10px;
  color: var(--pg-muted);
  font-size: 0.92rem;
}

.size-guide-note {
  padding: 12px 14px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid var(--pg-border);
}

@media (max-width: 640px) {

  .size-guide-hero,
  .size-guide-content {
    padding: 18px;
  }
}

.summary-price,
.summary-total {
  font-size: clamp(1.5rem, 2vw, 2.25rem);
  font-weight: 800;
  color: var(--pg-text);
  line-height: 1;
  letter-spacing: -0.02em;
}

.muted-label {
  color: var(--pg-muted);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.form-label {
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--pg-muted);
  display: flex !important;
  align-items: center;
}

.form-control,
.form-select {
  border-radius: 999px;
  border: none !important;
  min-height: 44px;
  padding: 8px 16px;
  background: #eaeaea;
  color: var(--pg-text);
  transition: all 0.2s ease;
  font-size: 0.95rem;
  box-shadow: none;
}

.form-select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='%230f1c27' d='m7 10 5 5 5-5z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 16px 16px !important;
}

.form-control:hover,
.form-select:hover {
  background: #e4e4e4;
}

.form-control:focus,
.form-select:focus {
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  background: #e4e4e4;
  color: var(--pg-text);
}

.form-control::placeholder {
  color: var(--pg-muted);
}

.btn-pg {
  background: var(--pg-primary);
  border: 1px solid var(--pg-primary);
  color: #fff;
  min-height: 48px;
  font-weight: 700;
  border-radius: 999px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 6px -1px rgba(234, 88, 12, 0.2);
}

.btn-pg:hover,
.btn-pg:focus,
.btn-pg:active,
.btn-pg.active {
  color: #fff;
  background: var(--pg-primary-dark);
  border-color: var(--pg-primary-dark);
  box-shadow: 0 4px 6px -1px rgba(234, 88, 12, 0.2);
}

.btn-soft {
  background: var(--pg-card-bg);
  border: 1px solid var(--pg-border);
  color: var(--pg-text);
  min-height: 48px;
  font-weight: 600;
  border-radius: 999px;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-soft:hover {
  background: var(--pg-soft);
  border-color: var(--pg-muted);
}

.btn-demo-animated {
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, #ea580c, #facc15, #ea580c) border-box;
  background-size: 100% 100%, 200% 100%;
  border: 2px solid transparent;
  color: #000;
  font-weight: 800;
  border-radius: 999px;
  min-height: 48px;
  transition: box-shadow 0.2s ease;
  animation: demoGradientBorder 2.5s linear infinite;
}

.btn-demo-animated:hover {
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.2);
  color: #000;
}

.btn-demo-animated:focus,
.btn-demo-animated:active {
  color: #000;
}

@keyframes demoGradientBorder {
  0% {
    background-position: 0 0, 0% 0;
  }

  100% {
    background-position: 0 0, 200% 0;
  }
}

@keyframes productTabPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(235, 92, 83, 0.32);
  }

  70% {
    transform: scale(1.08);
    box-shadow: 0 0 0 8px rgba(235, 92, 83, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(235, 92, 83, 0);
  }
}

.step-pill {
  border-radius: 4px;
  background: var(--pg-soft);
  border: 1px solid transparent;
  padding: 6px 12px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--pg-muted);
}

.step-pill.done {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: var(--pg-green);
}

.optional-toggle {
  background: var(--pg-card-bg);
  border: 1px solid var(--pg-border);
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.optional-toggle button span {
  color: var(--pg-text) !important;
}

.tag-mini {
  display: inline-flex;
  border-radius: 4px;
  padding: 4px 8px;
  background: var(--pg-soft);
  color: var(--pg-muted);
  font-weight: 700;
  font-size: .7rem;
  border: 1px solid var(--pg-border);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price-help {
  font-size: .85rem;
  color: var(--pg-muted);
  margin-top: 6px;
}

.technique-advisor-note {
  margin-top: 16px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  color: var(--pg-text);
  box-shadow: none;
}

.embroidery-advisor {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.embroidery-advisor__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.embroidery-advisor__title {
  font-family: var(--pg-heading-font);
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--pg-text);
}

.embroidery-advisor__intro {
  max-width: 680px;
  margin-top: 8px;
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--pg-muted);
}

.embroidery-advisor__content {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 16px;
  align-items: start;
}

.embroidery-advisor__tips {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.embroidery-advisor__tip {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.embroidery-advisor__tip-icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  color: #17803d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.embroidery-advisor__tip-title {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--pg-text);
}

.embroidery-advisor__tip-copy {
  margin-top: 4px;
  font-size: 0.94rem;
  line-height: 1.45;
  color: var(--pg-muted);
  font-weight: 400;
}

.embroidery-advisor__footnote {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  margin-top: 8px;
  padding-top: 6px;
  font-size: 0.94rem;
  line-height: 1.45;
  color: #5f4a2f;
  font-weight: 600;
}

.embroidery-advisor__footnote-icon {
  color: #e65100;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.embroidery-advisor__visual {
  min-width: 0;
}

.embroidery-compare {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.embroidery-compare__stage {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  border-radius: 16px;
  border: 1px solid #dddfe7;
  background: #fff;
}

.embroidery-compare__layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.embroidery-compare__panel,
.embroidery-compare__layer {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.embroidery-compare__layer--before {
  clip-path: inset(0 calc(100% - var(--compare-position, 50%)) 0 0);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  z-index: 2;
}

.embroidery-compare__layer--after {
  background: linear-gradient(180deg, #f7f7fb 0%, #eef1f5 100%);
  z-index: 1;
}

.embroidery-compare__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--compare-position, 50%);
  width: 1px;
  background: rgba(15, 28, 39, 0.16);
  transform: translateX(-50%);
  z-index: 4;
}

.embroidery-compare__art {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: none;
  aspect-ratio: auto;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.embroidery-compare__art-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.embroidery-compare__art::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 0;
}

.embroidery-compare__art--before {
  background:
    radial-gradient(circle at 30% 30%, rgba(80, 124, 255, 0.28), transparent 34%),
    radial-gradient(circle at 65% 42%, rgba(26, 188, 156, 0.2), transparent 36%),
    linear-gradient(135deg, #f8fbff 0%, #edf3fb 100%);
  border: 1px solid #d9e2ee;
}

.embroidery-compare__art--after {
  background:
    radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.24), transparent 20%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0 2px, rgba(0, 0, 0, 0.02) 2px 4px),
    linear-gradient(135deg, #dfe6ef 0%, #f4f6f9 100%);
  border: 1px solid #d2dae4;
}

.embroidery-compare__art-mark {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 104px;
  min-height: 104px;
  padding: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 28, 39, 0.08);
  box-shadow: 0 18px 30px -20px rgba(15, 28, 39, 0.35);
  font-family: var(--pg-heading-font);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pg-text);
}

.embroidery-compare__stage[data-compare-theme="octopus"] .embroidery-compare__art--before {
  background:
    radial-gradient(circle at 28% 28%, rgba(107, 135, 255, 0.4), transparent 28%),
    radial-gradient(circle at 64% 40%, rgba(68, 182, 255, 0.22), transparent 33%),
    linear-gradient(135deg, #f7fbff 0%, #eaf1fb 100%);
}

.embroidery-compare__stage[data-compare-theme="octopus"] .embroidery-compare__art--after {
  background:
    radial-gradient(circle at 26% 25%, rgba(255, 255, 255, 0.22), transparent 20%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 2px, rgba(40, 68, 120, 0.04) 2px 4px),
    linear-gradient(135deg, #d8e0ee 0%, #f6f8fb 100%);
}

.embroidery-compare__stage[data-compare-theme="lion"] .embroidery-compare__art--before {
  background:
    radial-gradient(circle at 30% 22%, rgba(125, 255, 179, 0.32), transparent 26%),
    radial-gradient(circle at 70% 70%, rgba(29, 78, 216, 0.22), transparent 34%),
    linear-gradient(135deg, #09111f 0%, #0f2e5f 100%);
}

.embroidery-compare__stage[data-compare-theme="lion"] .embroidery-compare__art--after {
  background:
    radial-gradient(circle at 26% 24%, rgba(255, 244, 167, 0.32), transparent 24%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 2px, rgba(0, 0, 0, 0.02) 2px 4px),
    linear-gradient(135deg, #021018 0%, #0a3f20 100%);
}

.embroidery-compare__stage[data-compare-theme="eagle"] .embroidery-compare__art--before {
  background:
    radial-gradient(circle at 36% 26%, rgba(255, 220, 160, 0.36), transparent 26%),
    radial-gradient(circle at 68% 68%, rgba(255, 255, 255, 0.14), transparent 28%),
    linear-gradient(135deg, #b71c1c 0%, #ef5350 100%);
}

.embroidery-compare__stage[data-compare-theme="eagle"] .embroidery-compare__art--after {
  background:
    radial-gradient(circle at 28% 26%, rgba(255, 250, 218, 0.28), transparent 20%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 2px, rgba(0, 0, 0, 0.03) 2px 4px),
    linear-gradient(135deg, #861313 0%, #d28f54 100%);
}

.embroidery-compare__stage[data-compare-theme="badge"] .embroidery-compare__art--before {
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.34), transparent 24%),
    radial-gradient(circle at 64% 64%, rgba(214, 180, 120, 0.28), transparent 34%),
    linear-gradient(135deg, #d9d0c1 0%, #f3efe6 100%);
}

.embroidery-compare__stage[data-compare-theme="badge"] .embroidery-compare__art--after {
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.3), transparent 22%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 2px, rgba(122, 87, 43, 0.05) 2px 4px),
    linear-gradient(135deg, #b9ad97 0%, #f6f0e1 100%);
}

.embroidery-compare__range {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.embroidery-compare__handle {
  position: absolute;
  top: 50%;
  left: var(--compare-position, 50%);
  z-index: 6;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: var(--pg-primary);
  border: 1px solid var(--pg-primary);
  box-shadow: 0 14px 26px -16px rgba(217, 148, 31, 0.55);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  pointer-events: none;
}

.embroidery-compare__handle::before,
.embroidery-compare__handle::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 2px;
  height: calc(50% + 108px);
  background: rgba(217, 148, 31, 0.18);
  transform: translateX(-50%);
}

.embroidery-compare__handle::before {
  bottom: calc(100% + 2px);
}

.embroidery-compare__handle::after {
  top: calc(100% + 2px);
}

.embroidery-compare__handle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.embroidery-compare__thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.embroidery-compare__thumb {
  appearance: none;
  min-height: 72px;
  border-radius: 12px;
  border: 1px solid #d8dee7;
  background-color: var(--pg-card-bg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  position: relative;
}

.embroidery-compare__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(15, 28, 39, 0.12));
  pointer-events: none;
}

.embroidery-compare__thumb.is-active {
  border-color: #2140ff;
  box-shadow: 0 0 0 2px rgba(33, 64, 255, 0.12);
}

.plain-product-card {
  width: 100%;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  cursor: pointer;
}

.plain-product-inline-wrap {
  margin-top: 14px;
}

.plain-product-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.completion-panel {
  border: 1px solid var(--pg-border);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #fff8ea 100%);
  padding: 12px 14px;
  box-shadow: var(--pg-shadow);
}

.completion-panel-shell {
  border-radius: 18px;
  padding: 16px 18px;
  margin-top: -6px;
}

.completion-title {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--pg-text-muted);
}

.completion-percent {
  font-size: .85rem;
  font-weight: 800;
  color: var(--pg-primary-dark);
}

.completion-progress {
  height: 10px;
  background: #fef3c7;
  border-radius: 999px;
  overflow: hidden;
}

.completion-progress .progress-bar {
  background: linear-gradient(90deg, var(--pg-primary), var(--pg-accent));
  border-radius: 999px;
  transition: width .3s ease;
}

.completion-copy {
  font-size: .82rem;
  color: var(--pg-muted);
}

.completion-chip {
  border: 1px solid var(--pg-border);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: .73rem;
  font-weight: 700;
  background: #ffffff;
  color: var(--pg-text);
  transition: all .2s ease;
}

.completion-chip:hover,
.completion-chip:focus-visible {
  border-color: var(--pg-primary);
  color: var(--pg-primary-dark);
  background: var(--pg-primary-light);
}

.completion-chip.done {
  border-color: rgba(15, 118, 110, .3);
  background: #ecfeff;
  color: var(--pg-green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.design-size-info {
  border: 1px solid var(--pg-border);
  border-radius: 6px;
  background: var(--pg-soft);
  padding: 12px;
  display: grid;
  gap: 8px;
}

.design-size-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 4px;
  background: var(--pg-card-bg);
  border: 1px solid var(--pg-border);
  font-size: .88rem;
  color: var(--pg-text);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.design-size-item strong {
  color: var(--pg-text);
  font-weight: 700;
}

.dtf-panel {
  border: 1px solid var(--pg-border);
  border-radius: 6px;
  background: var(--pg-soft);
  padding: 16px;
}

.dtf-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}

.dtf-total-box {
  border-radius: 4px;
  border: 1px solid var(--pg-border);
  background: var(--pg-card-bg);
  padding: 10px 14px;
  font-size: .9rem;
  color: var(--pg-text);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.dtf-total-box strong {
  color: var(--pg-text);
  font-weight: 800;
  margin-left: 6px;
}

.hidden {
  display: none !important;
}

.pg-location-tabs,
.pg-location-tabs * {
  box-sizing: border-box;
}

.pg-location-tabs {
  display: grid;
  gap: 14px;
}

.pg-location-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pg-location-tabs__tab {
  all: unset;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--pg-border);
  background: #fff;
  color: var(--pg-text);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.pg-location-tabs__tab:hover {
  border-color: var(--pg-primary);
  color: var(--pg-primary-dark);
  transform: translateY(-1px);
}

.pg-location-tabs__tab.is-active {
  background: var(--pg-primary);
  border-color: var(--pg-primary);
  color: #fff;
  box-shadow: 0 12px 28px rgba(212, 167, 98, 0.22);
}

.pg-location-group {
  border: 1px solid var(--pg-border);
  border-radius: 18px;
  background: #fff;
  padding: 18px;
}

.pg-location-group.is-hidden {
  display: none !important;
}

.pg-location-group__title {
  margin-bottom: 14px;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--pg-text);
}

.pg-location-tabs__tab:focus-visible,
.pg-location-group__option:focus-visible {
  outline: none;
  border-color: var(--pg-primary);
  box-shadow: var(--pg-glow);
}

.pg-location-group__options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pg-location-group__option {
  all: unset;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 74px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--pg-border);
  background: var(--pg-card-bg);
  color: var(--pg-text);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease, transform .18s ease, color .18s ease;
}

[data-field="locations"] .pg-location-group__option.hidden,
[data-field="locations"] .pg-location-group__option[hidden] {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.pg-location-group__option:hover {
  border-color: var(--pg-primary);
  box-shadow: var(--pg-shadow);
  transform: translateY(-1px);
}

.pg-location-group__option.is-active {
  border-color: var(--pg-primary);
  background: var(--pg-primary-light);
  box-shadow: var(--pg-glow), var(--pg-shadow);
}

.pg-location-group__option-label {
  display: block;
}

@media (max-width: 767px) {
  .pg-location-group__options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.product-card {
  position: relative;
  border: 1px solid var(--pg-border);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.size-matrix {
  border: 1px solid var(--pg-border);
  border-radius: 16px;
  cursor: default;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  overflow: hidden;
  background: var(--pg-card-bg);
}

.size-matrix-header,
.size-row {
  display: grid;
  grid-template-columns: minmax(70px, 1fr) minmax(110px, 1fr);
  gap: 0;
  align-items: stretch;
}

.size-matrix-header {
  background: var(--pg-soft);
  font-size: .8rem;
  font-weight: 700;
  color: var(--pg-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  border-bottom: 1px solid var(--pg-border);
}

.size-matrix-header>div,
.size-row>div {
  padding: 10px 14px;
  border-bottom: 1px solid var(--pg-border);
  background-clip: padding-box;
}

.size-matrix-header>div:not(:last-child),
.size-row>div:not(:last-child) {
  border-right: 1px solid var(--pg-border);
}

.size-row:last-child>div {
  border-bottom: none;
}

.size-row {
  transition: background-color .22s ease, transform .22s ease;
}

.size-row:focus-within,
.size-row.has-value {
  background: #fffdf7;
}

.size-row.has-value>div {
  background: #fffdf7;
}

[data-field="variant"] {
  width: 100%;
  max-width: 50%;
}

[data-field="variant"] #variantOptions {
  margin-inline: 0;
}

[data-field="variant"] #variantOptions > [class*='col-'] {
  width: 100%;
  max-width: 100%;
  padding-inline: 0;
}

#plainProductToggleWrap,
.plain-product-inline-wrap {
  margin-bottom: 20px;
}

.size-name {
  font-weight: 700;
  color: var(--pg-text);
}

.size-name-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.size-price-note {
  font-size: .85rem;
  color: var(--pg-muted);
}

.size-qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  max-width: 184px;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

.size-step-btn {
  width: 30px;
  height: 30px;
  border: 1px solid var(--pg-border);
  border-radius: 9px;
  background: #ffffff;
  color: var(--pg-text);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 1px rgba(15, 28, 39, 0.06);
  transition: all .16s ease;
}

.size-step-btn:hover,
.size-step-btn:focus-visible {
  background: var(--pg-primary-light);
  border-color: var(--pg-primary);
  color: var(--pg-primary-dark);
  box-shadow: 0 0 0 2px rgba(249, 177, 45, 0.2);
}

.size-step-btn:active {
  transform: scale(0.96);
}

.size-step-btn.is-disabled,
.size-step-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
  border-color: var(--pg-border);
  background: var(--pg-soft);
  box-shadow: none;
}

.size-qty-input {
  min-height: 32px;
  max-width: 82px;
  border: 1px solid var(--pg-border) !important;
  background: #ffffff;
  border-radius: 9px;
  text-align: center;
  font-weight: 700;
  color: var(--pg-text);
  letter-spacing: .02em;
  box-shadow: none;
  appearance: textfield;
  -moz-appearance: textfield;
}

.size-qty-input::-webkit-outer-spin-button,
.size-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.size-qty-input:focus {
  border-color: var(--pg-primary-dark) !important;
  box-shadow: inset 0 0 0 1px rgba(249, 177, 45, 0.32) !important;
}

.size-helper-box {
  border: 1px dashed var(--pg-border);
  background: var(--pg-soft);
  border-radius: 6px;
  padding: 12px 14px;
  font-size: .9rem;
  color: var(--pg-muted);
}

.sizes-block-wrap {
  flex-grow: 0;
}

#dateSectionWrap {
  margin-top: 14px !important;
}

/* #dateSectionWrap,
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
  animation: section-fade-in .35s ease;
} */

/* @keyframes section-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
} */

.footer-note {
  font-size: .85rem;
  color: var(--pg-muted);
}

#previewZoomModal .modal-dialog {
  width: fit-content;
  max-width: min(1000px, calc(100vw - 1.2rem));
  margin-left: auto;
  margin-right: auto;
  height: min(92vh, 940px);
}

#previewZoomModal {
  z-index: 4000 !important;
}

.modal-backdrop.show {
  z-index: 3990 !important;
}

#successModal {
  z-index: 4010 !important;
}

#previewZoomModal .modal-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  width: fit-content;
  max-width: 100%;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 18px;
  color: var(--pg-text);
}

#previewZoomModal .modal-body {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: block;
}

.preview-zoom-header {
  align-items: flex-start;
  color: var(--pg-text);
  border-bottom: 1px solid var(--pg-border);
}

.preview-zoom-header .btn-close {
  filter: none;
  opacity: .85;
}

.preview-zoom-body {
  padding-top: 10px !important;
  position: relative;
  height: 100%;
}

.preview-zoom-stage-shell {
  position: relative;
  height: 100%;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
}

.preview-zoom-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--pg-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 22px rgba(15, 28, 39, 0.12);
  padding: 8px 10px;
}

.preview-zoom-toolbar-floating {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 3;
}

.preview-zoom-toolbar-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.preview-zoom-btn {
  min-height: 34px;
  padding-inline: 12px;
  font-size: 0.82rem;
}

.preview-zoom-btn.btn-soft {
  border-color: var(--pg-border);
  background: #ffffff;
  color: var(--pg-text);
}

.preview-zoom-btn.btn-soft:hover,
.preview-zoom-btn.btn-soft:focus-visible {
  border-color: var(--pg-primary);
  background: var(--pg-primary-light);
  color: var(--pg-primary-dark);
}

.preview-zoom-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  min-height: 34px;
  border-radius: 999px;
  border: 1px solid #ead4aa;
  background: #fff8ea;
  color: #9a6208;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: .03em;
}

.preview-zoom-stage {
  height: 100%;
  width: fit-content;
  max-width: 100%;
  border: 1px solid var(--pg-border);
  border-radius: 14px;
  background:
    linear-gradient(45deg, rgba(15, 28, 39, 0.035) 25%, transparent 25%, transparent 75%, rgba(15, 28, 39, 0.035) 75%),
    linear-gradient(45deg, rgba(15, 28, 39, 0.035) 25%, transparent 25%, transparent 75%, rgba(15, 28, 39, 0.035) 75%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  background-size: 18px 18px, 18px 18px, 100% 100%;
  background-position: 0 0, 10px 10px, 0 0;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 20px;
}

.preview-zoom-image {
  width: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  user-select: none;
  transform-origin: center center;
  transition: transform .16s ease, opacity .16s ease;
  will-change: transform;
}

@media (max-width: 767.98px) {
  .preview-zoom-stage {
    padding: 12px;
  }

  .preview-zoom-toolbar-floating {
    left: 8px;
    right: 8px;
    bottom: 8px;
  }

  .preview-zoom-toolbar {
    padding: 8px;
    gap: 6px;
  }

  .preview-zoom-toolbar-group {
    gap: 4px;
  }

  .preview-zoom-btn {
    min-height: 32px;
    padding-inline: 10px;
    font-size: 0.76rem;
  }

  .preview-zoom-badge {
    min-height: 32px;
    min-width: 62px;
  }
}

.quote-table {
  border: 1px solid var(--pg-border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--pg-card-bg);
  box-shadow: var(--pg-shadow);
}

#quoteTableWrapper {
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

#quoteItemsBody {
  gap: 10px !important;
  max-height: 420px !important;
  overflow-y: auto !important;
  overflow-x: hidden;
  padding: 2px 4px 2px 2px !important;
}

.quote-item-card {
  border-color: #d7dee8 !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06) !important;
  background: #fff !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.quote-item-card:hover {
  transform: translateY(-1px);
  border-color: #c3cfdd !important;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.1) !important;
}

.quote-table table {
  margin-bottom: 0;
  color: var(--pg-text);
}

.quote-table thead th {
  background: var(--pg-soft);
  color: var(--pg-muted);
  font-weight: 700;
  border-bottom: 1px solid var(--pg-border);
  white-space: nowrap;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  padding: 12px 16px;
}

.quote-table td,
.quote-table th {
  vertical-align: middle;
  border-bottom: 1px solid var(--pg-border);
  padding: 14px 16px;
}

.line-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: .7rem;
  font-weight: 700;
  background: var(--pg-soft);
  border: 1px solid var(--pg-border);
  color: var(--pg-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.action-icon {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  border: 1px solid var(--pg-border);
  background: var(--pg-card-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all .2s ease;
  color: var(--pg-muted);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.action-icon svg,
.quote-item-delete-btn svg,
.quote-file-badge svg {
  width: 16px;
  height: 16px;
  display: block;
}

.quote-file-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.quote-item-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  border-radius: 999px;
  border: 1px solid var(--pg-border);
  background: var(--pg-soft);
  color: var(--pg-text);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  vertical-align: middle;
}

.action-icon:hover {
  border-color: var(--pg-text);
  color: var(--pg-text);
}

.action-icon.delete:hover {
  border-color: var(--pg-danger);
  color: var(--pg-danger);
  background: #fff1f2;
}

.empty-state {
  border: 1px dashed var(--pg-border);
  border-radius: 6px;
  background: var(--pg-soft);
  padding: 32px 24px;
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
  color: var(--pg-text);
}

.empty-state-fullwidth {
  width: 100%;
  max-width: none;
}

.empty-state .small {
  color: var(--pg-muted);
}

#itemsChips {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  margin: 0 0 1rem 0 !important;
}

#itemsChips>[class*="col-"] {
  width: auto;
  max-width: none;
  flex: initial;
  padding: 0;
}

.item-chip {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  width: 100%;
  border: none;
  box-shadow: none;
  cursor: default;
  transition: none;
}

.item-chip:hover,
.item-chip.active,
.item-chip:focus-visible {
  border: none;
  box-shadow: none;
  transform: none;
  background: transparent;
  outline: none;
}

.item-chip-title {
  font-weight: 700;
  color: var(--pg-text);
  line-height: 1.2;
}

.item-chip-meta {
  margin-top: 3px;
  color: var(--pg-text);
  opacity: 0.92;
}

.item-chip-index {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--pg-soft);
  border: 1px solid var(--pg-border);
  font-size: .8rem;
  font-weight: 700;
  color: var(--pg-muted);
  flex: 0 0 auto;
}

.item-chip small {
  color: var(--pg-muted);
  display: block;
  line-height: 1.4;
  margin-top: 2px;
}

.product-color-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  vertical-align: middle;
  flex: 0 0 auto;
  margin-left: 10px;
}

.current-item-bar {
  border-radius: 8px;
  background: var(--pg-card-bg);
  border: 1px solid var(--pg-border);
  box-shadow: var(--pg-shadow);
}

.summary-stat-title {
  font-size: .75rem;
  color: var(--pg-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 700;
}

.summary-stat-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--pg-text);
  line-height: 1.2;
}

.summary-stat-value.total {
  font-size: 1.5rem;
  color: var(--pg-primary-dark);
  letter-spacing: -0.02em;
}

.sticky-submit {
  min-width: 220px;
}

.color-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(36px, 1fr));
  gap: 8px;
  justify-items: start;
}

.color-option {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.12);
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  background: #e5e7eb;
}

.color-option:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.color-option.placeholder {
  background: #e5e7eb !important;
  border-color: rgba(15, 23, 42, 0.08);
  cursor: default;
  box-shadow: none;
}

.color-option.placeholder:hover {
  transform: none;
  box-shadow: none;
}

.color-option.active {
  border-width: 2px;
  border-color: var(--pg-text);
  box-shadow: var(--pg-glow);
}

.color-option::after {
  content: '✓';
  color: white;
  font-size: 14px;
  font-weight: bold;
  opacity: 0;
  text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.4);
}

.color-option.active::after {
  opacity: 1;
}

.color-selection-legend {
  margin-top: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--pg-text);
}

.color-selection-legend.is-hint {
  font-weight: 500;
  color: var(--pg-text-muted);
}

.contact-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

html.contact-scroll-locked,
body.contact-scroll-locked {
  overflow: hidden;
  height: 100%;
}

body.contact-scroll-locked {
  touch-action: none;
}

.contact-card {
  background: var(--pg-card-bg);
  border-radius: 8px;
  border: 1px solid var(--pg-border);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  max-width: 480px;
  width: 100%;
  padding: 32px 40px;
  text-align: center;
}

.contact-card h2,
.contact-card p,
.contact-card .fs-13px {
  color: var(--pg-text) !important;
}

.right-fixed-column {
  position: sticky;
  top: var(--pg-right-column-top-offset, 0px);
  overflow-y: auto;
  padding: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  box-shadow: var(--pg-shadow);
}

.right-fixed-column.is-stuck {
  padding-top: 0;
}

.demo-spotlight-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  pointer-events: none;
  opacity: 0;
  transition: opacity .22s ease;
}

.demo-spotlight-overlay.active {
  opacity: 1;
}

.demo-spotlight-hole {
  position: fixed;
  border-radius: 14px;
  box-shadow: 0 0 0 9999px rgba(12, 18, 25, 0.72);
  border: 2px solid rgba(249, 177, 45, 0.95);
  background: transparent;
  outline: 2px solid rgba(255, 255, 255, 0.38);
  outline-offset: 1px;
  transition: top .24s ease, left .24s ease, width .24s ease, height .24s ease;
}

.demo-spotlight-label {
  position: fixed;
  max-width: min(340px, calc(100vw - 24px));
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(15, 28, 39, 0.82);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.35;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
}

.demo-selection-confirm {
  animation: demo-selection-pulse .9s ease;
}

@keyframes demo-selection-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(249, 177, 45, 0.75);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(249, 177, 45, 0.14);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(249, 177, 45, 0);
  }
}

.contact-icon {
  width: 64px;
  height: 64px;
  background: var(--pg-card-bg);
  border: 1px solid var(--pg-border);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 1.5rem;
  color: var(--pg-text);
}

.hidden-until-contact {
  opacity: 0.3;
  pointer-events: none;
  filter: blur(2px);
  transition: all 0.3s ease;
}

.contact-field.is-invalid-field .form-control,
.contact-field.is-invalid-field .country-code-btn {
  border-color: rgba(225, 29, 72, 0.4) !important;
  background-color: #fff1f2 !important;
}

@media (max-width: 991.98px) {
  .embroidery-advisor__content {
    grid-template-columns: 1fr;
  }

  [data-field="variant"] {
    max-width: 100%;
  }

  .configurator-skeleton__choices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .configurator-skeleton__choice.-wide {
    grid-column: span 2;
  }

  .product-slide {
    flex-basis: calc((100% - (var(--product-carousel-gap) * 2)) / 3);
  }

  #stickyGoToList {
    display: none !important;
  }

  .quote-table {
    overflow-x: auto;
  }

  .quote-table table {
    min-width: 760px;
  }

  .product-carousel-shell {
    padding-inline: 0.85rem;
  }

  .carousel-nav {
    display: none;
  }

  .preview-image-box,
  .preview-empty {
    min-height: 250px;
    height: 250px;
  }

  .preview-gallery {
    padding: 8px;
    gap: 10px;
  }

  .product-preview-image {
    max-height: 250px;
    padding: 8px;
  }

  .preview-thumbnails {
    width: 72px;
    min-width: 72px;
    gap: 8px;
    padding-left: 10px;
  }

  .completion-panel-shell {
    padding: 14px;
    margin-top: 0;
  }

  .preview-floating-card {
    margin-top: 16px;
  }

  .sticky-submit {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 767.98px) {
  .catalog-toolbar {
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .catalog-toolbar-copy {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
  }

  .catalog-toolbar-title {
    flex: 0 0 auto;
    font-size: 1rem;
    line-height: 1.1;
    white-space: nowrap;
  }

  .catalog-toolbar-hint {
    display: none;
  }

  .catalog-toolbar-controls {
    flex: 0 0 auto;
    gap: 6px !important;
  }

  #categoryBackBtn {
    min-width: 36px;
    height: 36px;
    padding-inline: 10px !important;
  }

  .product-filter-wrap {
    width: 136px;
    min-width: 136px;
  }

  .product-filter-input {
    width: 100%;
  }

  .technique-advisor-note {
    padding: 0;
    border-radius: 0;
  }

  .embroidery-advisor__title {
    font-size: 1.1rem;
  }

  .embroidery-advisor__intro,
  .embroidery-advisor__tip-copy,
  .embroidery-advisor__footnote {
    font-size: 0.9rem;
  }

  .embroidery-compare__stage {
    min-height: 220px;
  }

  .embroidery-compare__art {
    max-width: none;
  }

  .embroidery-compare__art-mark {
    min-width: 80px;
    min-height: 80px;
    font-size: 0.75rem;
  }

  .embroidery-compare__thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .configurator-skeleton__choices,
  .configurator-skeleton__actions,
  .configurator-skeleton__size-row {
    grid-template-columns: 1fr;
    display: grid;
  }

  .configurator-skeleton__button.-primary,
  .configurator-skeleton__choice.-wide {
    grid-column: auto;
  }

  .configurator-skeleton__swatch {
    width: calc((100% - 24px) / 3);
    min-width: 56px;
  }

  .product-slide {
    flex-basis: calc((100% - var(--product-carousel-gap)) / 2);
  }

  .product-slide .product-card__content {
    min-height: 0;
  }

  .product-carousel-dots {
    display: flex;
  }
}

@media (max-width: 575.98px) {
  .product-slide {
    flex-basis: calc((100% - var(--product-carousel-gap)) / 2);
  }
}

.fs-13px {
  font-size: 13px;
}

.text-secondary {
  color: var(--pg-muted) !important;
}

.bg-light {
  background-color: var(--pg-soft) !important;
}

.text-dark {
  color: var(--pg-text) !important;
}

.alert-warning {
  background: #fffbeb !important;
  color: #b45309 !important;
  border: 1px solid #fde68a !important;
  box-shadow: none !important;
}

.bottom-summary-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--pg-border);
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.05);
}

.bottom-summary-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.sticky-summary-shell {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sticky-summary-actions {
  align-items: center;
  flex-wrap: wrap;
}

.sticky-breakdown-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0;
  border: 1px solid var(--pg-border);
  border-radius: 999px;
  background: #fff;
  color: var(--pg-text);
  font-weight: 700;
  line-height: 1;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.sticky-breakdown-toggle:hover {
  border-color: #f2c062;
  color: var(--pg-primary-dark);
  box-shadow: 0 10px 24px -18px rgba(201, 136, 13, 0.8);
}

.sticky-breakdown-arrow {
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.sticky-breakdown-toggle[aria-expanded="true"] .sticky-breakdown-arrow {
  transform: rotate(-135deg) translateY(-1px);
}

.sticky-breakdown-panel {
  padding: 16px 18px;
  border: 1px solid rgba(227, 231, 239, 0.95);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 16px 28px -28px rgba(15, 23, 42, 0.35);
}

.sticky-breakdown-table {
  display: grid;
  gap: 10px;
}

.sticky-breakdown-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(203, 213, 225, 0.9);
}

.sticky-breakdown-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.sticky-breakdown-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--pg-text);
}

.sticky-breakdown-value {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--pg-text);
  text-align: right;
}

.sticky-breakdown-row-total .sticky-breakdown-label,
.sticky-breakdown-row-total .sticky-breakdown-value {
  color: var(--pg-primary-dark);
}

@media (max-width: 767.98px) {
  .bottom-summary-bar {
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  }

  .bottom-summary-inner .sticky-summary-main {
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    gap: 10px !important;
  }

  .bottom-summary-inner .ms-auto {
    margin-left: 0 !important;
  }

  .bottom-summary-inner .d-flex.gap-4 {
    gap: 12px !important;
    flex: 1 1 auto;
    min-width: 0;
  }

  .bottom-summary-inner .summary-stat-title {
    font-size: 0.62rem;
    margin-bottom: 2px;
  }

  .bottom-summary-inner .summary-stat-value {
    font-size: 1rem;
  }

  .bottom-summary-inner .summary-stat-value.total {
    font-size: 1.2rem;
  }

  .bottom-summary-inner .sticky-submit {
    width: auto;
    min-width: 168px;
    min-height: 42px;
    padding-inline: 16px !important;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .sticky-summary-actions {
    gap: 8px !important;
  }

  .sticky-breakdown-toggle {
    min-height: 42px;
    min-width: 42px;
  }

  .sticky-breakdown-panel {
    padding: 14px;
  }
}

@media (max-width: 420px) {
  .bottom-summary-inner .sticky-summary-main {
    gap: 6px !important;
  }

  .bottom-summary-inner .d-flex.gap-4 {
    gap: 8px !important;
    flex: 1 1 auto;
    min-width: 0;
  }

  .bottom-summary-inner .summary-stat-title {
    display: none;
  }

  .bottom-summary-inner .summary-stat-value {
    font-size: 0.95rem;
    line-height: 1.1;
  }

  .bottom-summary-inner .summary-stat-value.total {
    font-size: 1.05rem;
  }

  .bottom-summary-inner .sticky-submit {
    min-width: 142px;
    min-height: 38px;
    padding-inline: 12px !important;
    font-size: 0.86rem;
    line-height: 1;
  }

  .sticky-breakdown-toggle {
    min-height: 38px;
    min-width: 38px;
  }

  .sticky-breakdown-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .sticky-breakdown-value {
    text-align: left;
  }

  .size-qty-stepper {
    max-width: 164px;
    gap: 5px;
    padding: 4px 5px;
  }

  .size-step-btn {
    width: 28px;
    height: 28px;
    font-size: 0.95rem;
  }

  .size-qty-input {
    max-width: 72px;
    min-height: 30px;
  }
}

/* File Upload Zone */
.file-upload-zone {
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  background: var(--pg-card-bg);
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.file-upload-zone:hover {
  border-color: var(--pg-primary);
  background: #fdfaf6;
}

.file-input-hidden {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
}

.file-preview-item {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  border: 1px solid var(--pg-border);
  background-size: cover;
  background-position: center;
  background-color: #fff;
}

.file-preview-item.non-image {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background-color: var(--pg-bg);
}

.file-preview-remove {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #ef4444;
  color: white;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: none;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Dashboard Forms Typography */
.form-label {
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--pg-muted);
  display: flex !important;
  align-items: center;
}

/* Helper Tooltip Icon */
.tip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #000;
  opacity: 0.72;
  cursor: help;
  transition: opacity 0.2s ease;
  margin-left: 0.4rem;
}

.tip-icon:hover {
  opacity: 1;
}

.tip-icon svg {
  width: 15px;
  height: 15px;
  display: block;
}

.choice-check svg {
  display: block;
}

/* Progressive Disclosure Animation */
.field-animate {
  animation: fade-slide-up 0.38s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* @keyframes fade-slide-up {
  0% { opacity: 0; transform: translateY(12px) scale(0.985); }
  70% { opacity: 1; transform: translateY(-1px) scale(1.003); }
  100% { opacity: 1; transform: translateY(0); }
} */

.btn-sm {
  min-height: 34px;
  border-radius: 999px;
}

/* Validaciones Visuales */
.is-invalid-field .form-label {
  color: var(--pg-danger) !important;
}

.is-invalid-field .choice-card,
.is-invalid-field .size-matrix,
.is-invalid-field .form-control,
.is-invalid-field .file-upload-zone {
  border-color: rgba(225, 29, 72, 0.4);
  background-color: #fff1f2;
}

.btn-disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
}

.preview-thumbnails img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
  flex: 0 0 auto;
}

.preview-thumbnails img.active {
  border-color: var(--pg-primary);
}

.preview-thumbnails img:hover {
  transform: scale(1.05);
}

/* --- ESTILOS DE TOAST UNIFICADOS (Puedes modificar esto abajo) --- */
.custom-toast {
  border-radius: 50px !important;
  padding: 4px 6px;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  background: rgba(15, 28, 39, 0.85) !important;
  /* Tema oscuro similar a demo */
  color: #ffffff !important;
  font-size: .85rem;
  font-weight: 500;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35) !important;
  backdrop-filter: blur(6px);
  width: auto;
  min-width: 250px;
  max-width: 90vw;
}

.custom-toast .btn-close-white {
  filter: invert(1) grayscale(100%) brightness(200%);
  font-size: 0.7rem;
}

.text-primary {
  color: var(--pg-primary) !important;
}

.sticky-lg-top::-webkit-scrollbar {
  width: 6px;
}

.sticky-lg-top::-webkit-scrollbar-track {
  background: transparent;
}

.sticky-lg-top::-webkit-scrollbar-thumb {
  background-color: #e9d8c8;
  border-radius: 10px;
}
