/* PrintA2Z Catalog — shop-by-size, clearer & calmer than dense marketplace grids */

.pa-catalog {
  --pa-ink: #152536;
  --pa-muted: #6a8094;
  --pa-brand: #0e7490;
  --pa-brand-deep: #155e75;
  --pa-line: #d5e6ec;
  --pa-paper: #f7fbfb;
  --pa-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pa-sticky-top: calc(var(--pa-header-h, 72px) + 0.25rem);
  font-family: var(--pa-font-body, "Outfit", "Segoe UI", sans-serif);
  color: var(--pa-ink);
}

.pa-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.pa-catalog-page {
  padding-top: 0.35rem;
  background:
    linear-gradient(180deg, #eef5f7 0%, #fcfdfd 180px);
}

.pa-catalog-body .pa-app-main {
  background: transparent;
}

/* Category strip */
.pa-catalog-cats {
  position: sticky;
  top: var(--pa-sticky-top);
  z-index: 35;
  display: flex;
  gap: 0.15rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 0 0 1.25rem;
  padding: 0.35rem 0 0.55rem;
  background: #ffffff;
  border-bottom: 1px solid var(--pa-line);
  box-shadow: none;
}

.pa-catalog-cats::-webkit-scrollbar {
  display: none;
}

.pa-cat-chip {
  flex: 0 0 auto;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--pa-muted);
  padding: 0.5rem 0.85rem;
  min-height: 40px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 999px;
  transition: color 0.15s, background 0.15s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  box-shadow: none;
}

.pa-cat-chip:hover {
  color: var(--pa-ink);
  background: rgba(14, 116, 144, 0.06);
}

.pa-cat-chip.is-active {
  color: var(--pa-brand);
  background: transparent;
  border-bottom: 2px solid var(--pa-brand);
  box-shadow: none;
}

a.pa-cat-dash {
  color: var(--pa-muted);
  background: transparent;
  margin-right: 0.25rem;
}

a.pa-cat-dash:hover {
  color: var(--pa-brand);
  background: transparent;
}

a.pa-cat-dash.is-active {
  color: var(--pa-brand);
  background: transparent;
  border-bottom: 2px solid var(--pa-brand);
}

/* Account pages — same strip as catalog */
.pa-account-cats {
  margin: 0;
  padding: 0.45rem 0 0.55rem;
  background: #ffffff;
  border-bottom: 1px solid var(--pa-line);
  box-shadow: none;
}

.pa-account-cats-inner {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.pa-account-cats-inner::-webkit-scrollbar {
  display: none;
}

/* Shop section head — beats “Shop by shapes” with clearer hierarchy */
.pa-shop-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.15rem;
}

.pa-shop-head__tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem 0.85rem;
  margin-left: auto;
}

.pa-side-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex: 0 1 auto;
  min-width: 0;
}

.pa-side-toggle.is-empty,
.pa-side-toggle[hidden] {
  display: none !important;
}

.pa-side-toggle__label {
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a97a8;
  white-space: nowrap;
}

.pa-side-toggle__btns {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0.18rem;
  border: 1px solid var(--pa-line);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 28, 51, 0.04);
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.pa-side-toggle__btns::-webkit-scrollbar {
  display: none;
}

.pa-side-toggle__btns .pa-chip-btn {
  border: 0;
  background: transparent;
  color: var(--pa-muted);
  min-height: 34px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 650;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.pa-side-toggle__btns .pa-chip-btn:hover {
  color: var(--pa-ink);
  background: rgba(14, 116, 144, 0.06);
}

.pa-shop-head__tools .pa-filter-clear {
  flex: 0 0 auto;
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  min-height: 34px;
  border-radius: 999px;
  background: rgba(14, 116, 144, 0.08);
  color: var(--pa-brand);
  font-size: 0.82rem;
  font-weight: 700;
}

.pa-shop-head__tools .pa-filter-clear:hover {
  background: rgba(14, 116, 144, 0.14);
}

.pa-shop-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pa-brand);
}

.pa-shop-head h1 {
  margin: 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.75rem, 4.5vw, 2.35rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.pa-catalog-lead {
  margin: 0.45rem 0 0;
  max-width: 28rem;
  color: var(--pa-muted);
  font-size: 1.02rem;
  line-height: 1.45;
}

.pa-catalog-search {
  position: relative;
  flex: 0 1 15rem;
  min-width: 11rem;
}

.pa-catalog-search i {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--pa-muted);
  pointer-events: none;
  font-size: 0.85rem;
}

.pa-catalog-search input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--pa-line);
  border-radius: 999px;
  padding: 0.5rem 1rem 0.5rem 2.35rem;
  background: #fff;
  font: inherit;
  font-size: 0.95rem;
  color: var(--pa-ink);
  box-shadow: 0 1px 2px rgba(16, 28, 51, 0.04);
}

.pa-catalog-search input:focus {
  outline: 2px solid rgba(14, 116, 144, 0.28);
  outline-offset: 1px;
  border-color: var(--pa-brand);
}

.pa-catalog-loading {
  padding: 3rem 1rem;
  text-align: center;
  color: var(--pa-muted);
}

.pa-catalog-result {
  min-height: 10rem;
}

/* Filters — quiet strip */
.pa-catalog-panel {
  display: grid;
  gap: 1.1rem;
}

.pa-catalog-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.85rem;
}

.pa-catalog-bar.no-filters .pa-filter-rail {
  display: none;
}

.pa-catalog-count {
  color: var(--pa-muted);
  font-size: 0.875rem;
  font-weight: 650;
  white-space: nowrap;
}

.pa-filter-clear {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--pa-brand);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 0.25rem;
}

.pa-filter-clear.is-hidden {
  display: none;
}

.pa-filter-rail {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.65rem;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.pa-filter-group {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex: 0 0 auto;
}

.pa-filter-group.is-empty {
  display: none;
}

.pa-filter-label {
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a97a8;
  white-space: nowrap;
}

.pa-filter-chips {
  display: inline-flex;
  gap: 0.3rem;
}

.pa-chip-btn {
  appearance: none;
  border: 1px solid var(--pa-line);
  background: #fff;
  color: var(--pa-ink);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  min-height: 32px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 650;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.pa-chip-btn.is-active {
  background: var(--pa-ink);
  border-color: var(--pa-ink);
  color: #fff;
}

/* Product grid — roomy, scannable */
.pa-catalog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

@media (min-width: 560px) {
  .pa-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 1rem;
  }
}

@media (min-width: 900px) {
  .pa-catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem 1.25rem;
  }
}

@media (min-width: 1440px) {
  .pa-catalog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.pa-product-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d5e6ec;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(16, 28, 51, 0.05);
  animation: paCardIn 0.45s var(--pa-ease) both;
  animation-delay: var(--pa-delay, 0s);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.pa-product-card:hover,
.pa-product-card:focus-within {
  border-color: rgba(14, 116, 144, 0.32);
  box-shadow: 0 10px 26px rgba(16, 28, 51, 0.1);
  transform: translateY(-2px);
}

@keyframes paCardIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.pa-product-card.is-filter-hidden,
.pa-product-card.is-search-hidden,
.pa-product-card.is-hidden {
  display: none;
}

.pa-product-hit {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit !important;
  text-decoration: none !important;
}

.pa-product-media {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  background: #e8f4f6;
  box-shadow: 0 10px 28px rgba(21, 37, 54, 0.08);
}

.pa-product-media img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s var(--pa-ease);
}

.pa-product-hit:hover .pa-product-media img,
.pa-product-hit:focus-visible .pa-product-media img {
  transform: scale(1.04);
}

.pa-product-badge {
  position: absolute;
  left: 0.65rem;
  top: 0.65rem;
  padding: 0.28rem 0.55rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--pa-ink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 1px 4px rgba(16, 28, 51, 0.12);
}

.pa-disc-badge {
  position: absolute;
  left: 0;
  top: 0.85rem;
  z-index: 2;
  display: inline-flex;
  align-items: baseline;
  gap: 0.28rem;
  padding: 0.45rem 0.85rem 0.45rem 0.7rem;
  border-radius: 0 10px 10px 0;
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(190, 18, 60, 0.4);
}

.pa-disc-badge__amt {
  font-size: 1.05rem;
  font-weight: 850;
  letter-spacing: -0.02em;
  line-height: 1;
}

.pa-disc-badge__txt {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  opacity: 0.95;
}

.pa-product-body {
  padding: 1.15rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1;
  text-align: left;
}

.pa-product-body.has-discount {
  background: #fff;
}

.pa-product-title {
  margin: 0;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  font-size: 1.08rem;
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--pa-ink);
}

/* Shared inner panels — aligned columns, clear hierarchy */
.pa-card-panel {
  margin: 0;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  border: 1px solid #d5e6ec;
  background: #f7fbfb;
}

.pa-card-panel__label {
  margin: 0 0 0.55rem;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7f94;
}

.pa-card-panel--specs {
  background: #f7fbfb;
  border-color: #d7e4f0;
}

.pa-card-panel--price {
  margin-top: auto;
  background: #fff;
  border-color: #d5e6ec;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.pa-card-panel--price.is-sale {
  background: #f8fbfd;
  border-color: #b8d4dc;
}

.pa-spec-list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.pa-spec-row {
  display: grid;
  grid-template-columns: 5.75rem minmax(0, 1fr);
  column-gap: 0.75rem;
  align-items: center;
  min-height: 1.35rem;
}

.pa-spec-row dt {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 600;
  color: #6b7f94;
  line-height: 1.25;
}

.pa-spec-row dd {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 750;
  color: var(--pa-ink);
  line-height: 1.25;
  text-align: left;
}

.pa-price-qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  background: #e6fffa;
  border: 1px solid #99f6e4;
}

.pa-price-qty__label {
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #155e75;
}

.pa-price-qty__value {
  font-size: 0.95rem;
  font-weight: 800;
  color: #155e75;
  letter-spacing: -0.01em;
}

.pa-price-main {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.pa-price-main__label {
  font-size: 0.78rem;
  font-weight: 650;
  color: #5f738a;
}

.pa-price {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--pa-ink);
  line-height: 1;
  text-align: right;
}

.pa-price-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.pa-price-compare__was,
.pa-price-compare__save {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  padding: 0.5rem 0.55rem;
  border-radius: 8px;
  border: 1px solid transparent;
}

.pa-price-compare__was {
  background: #f1f4f8;
  border-color: #e0e6ee;
}

.pa-price-compare__save {
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.pa-price-compare__label {
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7f94;
}

.pa-price-compare__save .pa-price-compare__label {
  color: #047857;
}

.pa-price-compare__value {
  font-size: 0.86rem;
  font-weight: 750;
  color: var(--pa-ink);
  line-height: 1.25;
  word-break: break-word;
}

.pa-price-compare__was .pa-price-compare__value {
  text-decoration: line-through;
  color: #6b7f94;
  font-weight: 650;
}

.pa-price-compare__save .pa-price-compare__value {
  color: #047857;
}

.pa-price-each {
  margin: 0;
  padding-top: 0.15rem;
  border-top: 1px dashed #d9e3ee;
  font-size: 0.78rem;
  color: var(--pa-muted);
  line-height: 1.35;
}

.pa-price-label {
  margin: 0;
  margin-top: auto;
  color: var(--pa-muted);
  font-size: 0.82rem;
  font-weight: 650;
}

.pa-price-band,
.pa-price-for,
.pa-price-note {
  display: none;
}

.pa-product-finish,
.pa-product-meta-line,
.pa-product-ship,
.pa-disc-badge,
.pa-product-quick,
.pa-product-media-shine,
.pa-card-chips,
.pa-price-from,
.pa-price-was,
.pa-price-save-pill,
.pa-price-pack,
.pa-price-band__main {
  display: none !important;
}

.pa-product-cta {
  margin-top: 0.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--pa-brand);
  background: var(--pa-brand);
  color: #fff !important;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: background 0.18s, transform 0.18s;
}

.pa-product-hit:hover .pa-product-cta,
.pa-product-hit:focus-visible .pa-product-cta {
  background: var(--pa-brand-deep);
  color: #fff !important;
  transform: none;
}

.pa-catalog-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--pa-muted);
  border: 1px dashed var(--pa-line);
  border-radius: 12px;
  background: #fff;
}

@media (max-width: 519px) {
  .pa-shop-head {
    margin-bottom: 0.9rem;
  }

  .pa-shop-head h1 {
    font-size: 1.55rem;
  }

  .pa-catalog-search {
    flex: 1 1 100%;
  }

  .pa-catalog-grid {
    gap: 1.25rem 0.7rem;
  }

  .pa-product-title {
    font-size: 0.98rem;
  }

  .pa-size-hero__value {
    font-size: 1.2rem;
  }

  .pa-price {
    font-size: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pa-product-card {
    animation: none;
  }

  .pa-product-media img {
    transition: none;
  }

  .pa-product-hit:hover .pa-product-media img {
    transform: none;
  }
}

/* ---------- PDP — customize / order page ---------- */
.pa-pdp-wrap {
  padding: 0.5rem 0 2.5rem;
}

.pa-pdp-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--pa-brand) !important;
  text-decoration: none !important;
}

.pa-pdp-back:hover {
  text-decoration: underline !important;
}

.pa-pdp {
  display: grid;
  gap: 1.35rem;
  align-items: start;
  padding: 1.2rem 1.25rem 1.4rem;
  box-sizing: border-box;
}

@media (min-width: 900px) {
  .pa-pdp {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 1.75rem;
    padding: 1.5rem 1.55rem 1.65rem;
  }
}

.pa-pdp-gallery {
  position: relative;
  background:
    linear-gradient(160deg, #e8f4f6 0%, #f7fbfb 55%, #fff 100%);
  border: 1px solid var(--pa-line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(14, 116, 144, 0.1);
}

.pa-pdp-gallery img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1;
  object-fit: cover;
  background: #e8f4f6;
  transition: transform 0.45s var(--pa-ease, ease);
}

.pa-pdp-gallery:hover img {
  transform: scale(1.03);
}

@media (prefers-reduced-motion: reduce) {
  .pa-pdp-gallery:hover img {
    transform: none;
  }
}

.pa-pdp-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0.85rem 0.9rem 1rem;
  box-sizing: border-box;
  min-width: 0;
}

@media (min-width: 900px) {
  .pa-pdp-panel {
    position: sticky;
    top: calc(var(--pa-header-h, 72px) + 0.75rem);
    padding: 1rem 1.05rem 1.15rem;
  }
}

.pa-pdp-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pa-brand);
}

.pa-pdp-title {
  margin: 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.55rem, 3.2vw, 2.05rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--pa-ink);
}

.pa-pdp-desc {
  margin: 0;
  color: var(--pa-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.pa-pdp-specs {
  display: grid;
  gap: 0.5rem;
}

.pa-pdp-spec {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: #f0fdfa;
  border: 1px solid #d5e6ec;
}

.pa-pdp-spec--hero {
  background: linear-gradient(135deg, #155e75 0%, #0e7490 55%, #14b8a6 100%);
  border: 0;
  color: #fff;
  box-shadow: 0 8px 20px rgba(14, 116, 144, 0.22);
  padding: 0.85rem 1rem;
}

.pa-pdp-spec--hero .pa-pdp-spec__label {
  color: rgba(255, 255, 255, 0.78);
}

.pa-pdp-spec--hero .pa-pdp-spec__value {
  color: #fff;
  font-size: 1.35rem;
}

.pa-pdp-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.pa-pdp-spec__label {
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a8ba0;
}

.pa-pdp-spec__value {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--pa-ink);
  word-break: break-word;
}

.pa-pdp-section-label {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a8ba0;
}

.pa-qty-pills {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr));
  gap: 0.5rem;
}

.pa-qty-pill {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.7rem 0.75rem;
  border-radius: 12px;
  border: 1.5px solid #d5e6ec;
  background: #fff;
  color: inherit !important;
  text-decoration: none !important;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.pa-qty-pill:hover {
  border-color: rgba(14, 116, 144, 0.45);
  transform: translateY(-1px);
}

.pa-qty-pill.is-active {
  border-color: var(--pa-brand);
  background: #eef8f9;
  box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.12);
}

.pa-qty-pill__pcs {
  font-size: 0.82rem;
  font-weight: 750;
  color: var(--pa-ink);
}

.pa-qty-pill__price {
  font-size: 1.05rem;
  font-weight: 850;
  letter-spacing: -0.02em;
  color: var(--pa-brand-deep);
}

.pa-qty-pill__save {
  font-size: 0.7rem;
  font-weight: 750;
  color: #be123c;
}

.pa-qty-custom {
  margin-top: 0.85rem;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  border: 1.5px solid #d5e6ec;
  background: #fff;
}

.pa-qty-custom.is-active {
  border-color: var(--pa-brand, #0e7490);
  background: #eef8f9;
  box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.12);
}

.pa-qty-custom__label {
  display: block;
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7a8ba0;
}

.pa-qty-custom__row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.pa-qty-custom__input {
  width: 7.5rem;
  min-height: 2.45rem;
  padding: 0.45rem 0.65rem;
  border: 1.5px solid #d5e6ec;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--pa-ink, #152536);
  background: #fff;
}

.pa-qty-custom__input:focus {
  outline: none;
  border-color: var(--pa-brand, #0e7490);
  box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.12);
}

.pa-qty-custom__unit {
  font-size: 0.9rem;
  font-weight: 650;
  color: #5f738a;
}

.pa-qty-custom__btn {
  min-height: 2.45rem;
  padding: 0.45rem 0.95rem;
  border: none;
  border-radius: 10px;
  background: var(--pa-brand, #0e7490);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.pa-qty-custom__btn:hover {
  background: var(--pa-brand-deep, #155e75);
}

.pa-qty-custom__hint {
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
  color: #7a8ba0;
  line-height: 1.4;
}

.pa-pdp-price-band {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: #f7fbfb;
  border: 1px solid #d5e6ec;
}

.pa-pdp-price-band.is-sale {
  background: linear-gradient(135deg, #fff1f4 0%, #ffe8ee 100%);
  border-color: #fecdd3;
}

.pa-pdp-price-band__main {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 0.65rem;
}

.pa-pdp-price {
  font-size: 1.85rem;
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--pa-ink);
}

.pa-pdp-price-band.is-sale .pa-pdp-price {
  color: #9f1239;
}

.pa-pdp-price-note {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--pa-muted);
}

.pa-pdp-tax {
  color: var(--pa-muted);
  font-size: 0.9rem;
  margin: 0 0 0.85rem;
}

.pa-pdp-artwork,
.pa-pdp-checkout {
  margin-top: 1.75rem;
  padding: 1.25rem 1.2rem 1.35rem;
  background: #fff;
  border: 1px solid var(--pa-line);
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(16, 28, 51, 0.04);
}

.pa-pdp-artwork__head {
  margin-bottom: 1rem;
}

.pa-pdp-artwork__title {
  margin: 0 0 0.35rem;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--pa-ink);
}

.pa-pdp-section {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--pa-line);
}

.pa-pdp-section h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pa-muted);
  margin: 0 0 0.55rem;
}

.pa-pdp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin-top: 1rem;
}

.pa-sets-field {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  font-weight: 750;
  font-size: 0.85rem;
  color: var(--pa-muted);
}

.pa-sets-input {
  width: 4.5rem;
  min-height: 46px;
  text-align: center;
  border: 1px solid var(--pa-line);
  border-radius: 10px;
  font: inherit;
  font-weight: 750;
  color: var(--pa-ink);
  background: #fff;
}

.pa-pdp-actions .pa-btn-cart,
.pa-pdp-actions .pa-btn-order {
  min-height: 46px;
  padding: 0.65rem 1.25rem;
  border-radius: 10px;
  border: 0;
  font-weight: 750;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  transition: background 0.15s, transform 0.15s;
}

.pa-btn-cart {
  background: var(--pa-brand);
  color: #fff;
}

.pa-btn-cart:hover:not(:disabled) {
  background: var(--pa-brand-deep);
}

.pa-btn-order {
  background: #0e7490;
  color: #fff;
}

.pa-btn-order:hover:not(:disabled) {
  background: #14b8a6;
}

.pa-upload-grid {
  display: grid;
  gap: 0.85rem;
  min-width: 0;
}

@media (min-width: 700px) {
  .pa-upload-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.pa-upload-box {
  border: 1.5px dashed #a8c5ce;
  border-radius: 14px;
  padding: 0.85rem;
  background: linear-gradient(180deg, #f7fbfb 0%, #eef8f9 100%);
  transition: border-color 0.15s, background 0.15s;
  min-width: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.pa-upload-box:hover {
  border-color: rgba(14, 116, 144, 0.45);
  background: #f7fbfb;
}

.pa-upload-box.is-disabled {
  opacity: 0.72;
  background: #f5f6f8;
}

.pa-upload-box__title {
  display: block;
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--pa-ink);
}

.pa-upload-box .file span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  background: var(--pa-brand);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
}

.pa-live-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #155e75 0%, #0e7490 100%);
  color: #fff;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-top: 0.85rem;
  font-weight: 700;
}

.pa-live-total strong {
  color: #fff;
  font-size: 1.15rem;
}

.pa-live-total small {
  color: rgba(255, 255, 255, 0.75) !important;
}

.pa-pdp-extras {
  margin-top: 1.5rem;
}

.pa-catalog-toolbar,
.pa-catalog-hero {
  display: none;
}

@media (max-width: 559px) {
  .pa-pdp-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .pa-pdp-actions .pa-btn-cart,
  .pa-pdp-actions .pa-btn-order,
  .pa-sets-field {
    width: 100%;
  }

  .pa-sets-input {
    margin-left: auto;
  }
}

/* ===== Calm catalog cards — clarity over decoration ===== */
.pa-catalog-grid {
  gap: 1.25rem;
}

@media (min-width: 1280px) {
  .pa-catalog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.pa-product-card {
  border: 1px solid #d5e6ec;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(20, 35, 58, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pa-product-card:hover,
.pa-product-card:focus-within {
  border-color: #a8c5ce;
  box-shadow: 0 8px 22px rgba(20, 35, 58, 0.08);
  transform: none;
}

.pa-product-media {
  aspect-ratio: 4 / 3;
  background: #eef2f7;
}

.pa-product-media img {
  filter: none;
  transition: transform 0.35s var(--pa-ease);
}

.pa-product-hit:hover .pa-product-media img,
.pa-product-hit:focus-visible .pa-product-media img {
  transform: scale(1.02);
  filter: none;
}

.pa-product-body {
  padding: 1.15rem 1.15rem 1.25rem;
  gap: 0.85rem;
}

.pa-product-title {
  font-family: "DM Sans", "Segoe UI", sans-serif;
  font-weight: 750;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 0;
}

.pa-price {
  font-size: 1.55rem;
  color: var(--pa-ink);
}

.pa-product-cta {
  border: 1px solid var(--pa-brand);
  border-radius: 10px;
  background: var(--pa-brand);
  box-shadow: none;
}

.pa-product-hit:hover .pa-product-cta,
.pa-product-hit:focus-visible .pa-product-cta {
  filter: none;
  background: var(--pa-brand-deep);
  box-shadow: none;
}

@media (max-width: 519px) {
  .pa-spec-row {
    grid-template-columns: 5.25rem minmax(0, 1fr);
    column-gap: 0.55rem;
  }

  .pa-price-compare {
    grid-template-columns: 1fr;
  }

  .pa-product-title {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pa-product-card:hover {
    transform: none;
  }

  .pa-product-hit:hover .pa-product-media img {
    transform: none;
  }
}
