.storefront-home .category-nav .employee-work-link{margin-left:6px;border:1px solid #b6d4f0;border-radius:5px;background:#eaf4ff;color:#164f89;min-height:36px;padding:0 14px}
@media(min-width:821px){.storefront-home nav.category-nav{gap:12px}}
@media(max-width:820px){.storefront-home nav.category-nav{display:flex;align-items:center;min-height:48px;max-width:100%;margin:0;padding:4px 14px;overflow-x:auto;border-radius:0}.storefront-home .category-nav>a{flex:none;font-size:13px;min-height:38px;padding:0 10px}}

:root {
  --bg: #f5f8f8;
  --surface: #ffffff;
  --surface-soft: #ecf5f4;
  --ink: #101818;
  --muted: #61716f;
  --line: #d9e5e3;
  --primary: #0f766e;
  --primary-dark: #0a4f49;
  --accent: #c47a24;
  --accent-soft: #fff2df;
  --danger: #b42318;
  --good: #15803d;
  --shadow: 0 24px 60px rgba(16, 24, 24, 0.12);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.card-catalog-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 7px;
  background: #d71920;
  box-shadow: 0 9px 22px rgba(215, 25, 32, 0.22);
  padding: 0 16px;
  color: #fff;
  font-weight: 950;
}

.card-catalog-action:hover {
  background: #a9090f;
  color: #fff;
  transform: translateY(-1px);
}

.card-catalog-action.large {
  min-height: 50px;
  padding-inline: 22px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
}

body.drawer-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  outline: none;
}

input,
select {
  min-height: 46px;
  padding: 0 13px;
}

textarea {
  resize: vertical;
  padding: 12px 13px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.14);
}

label,
legend {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(217, 229, 227, 0.85);
  background: rgba(255, 255, 255, 0.92);
  padding: 14px clamp(16px, 4vw, 54px);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 220px;
  gap: 11px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: var(--primary-dark);
  color: #fff;
  font-weight: 950;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.08rem;
  line-height: 1.05;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.main-nav,
.header-actions,
.hero-actions,
.trust-row,
.form-actions,
.summary-actions,
.drawer-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.main-nav {
  justify-content: center;
  flex: 1;
}

.main-nav a {
  border-radius: 8px;
  padding: 10px 11px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 850;
}

.main-nav a:hover {
  background: var(--surface-soft);
  color: var(--primary-dark);
}

.header-actions {
  justify-content: flex-end;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  width: min(300px, 24vw);
  color: var(--muted);
}

.search-box svg {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 18px;
}

.search-box input {
  padding-left: 40px;
}

.primary-action,
.secondary-action,
.icon-button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}

.primary-action {
  background: var(--primary);
  color: #fff;
}

.primary-action:hover {
  background: var(--primary-dark);
}

.secondary-action {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--primary-dark);
}

.secondary-action:hover {
  background: var(--surface-soft);
}

.large {
  min-height: 52px;
  padding: 0 20px;
}

.full {
  width: 100%;
}

.icon-button {
  position: relative;
  display: grid;
  width: 44px;
  min-width: 44px;
  place-items: center;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--primary-dark);
}

#cartCount {
  position: absolute;
  right: -5px;
  top: -7px;
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 950;
}

main {
  overflow: hidden;
}

.hero-section,
.catalog-section,
.builder-section,
.workflow-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-width: 0;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(420px, 0.9fr);
  align-items: start;
  gap: clamp(26px, 5vw, 72px);
  padding: clamp(46px, 7vw, 76px) 0 42px;
}

.hero-copy h1 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(2.8rem, 5.7vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.55;
}

.hero-actions {
  margin-top: 30px;
}

.trust-row {
  flex-wrap: wrap;
  margin-top: 26px;
}

.trust-row span {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px 12px;
  color: var(--primary-dark);
  font-size: 0.84rem;
  font-weight: 900;
}

.hero-studio,
.order-panel,
.summary-panel,
.workflow-grid article,
.drawer-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-studio {
  width: 100%;
  overflow: hidden;
}

.studio-toolbar,
.studio-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 18px;
}

.studio-toolbar {
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-weight: 900;
}

.studio-toolbar strong {
  color: var(--primary-dark);
  font-size: 1.25rem;
}

.mockup-stage {
  position: relative;
  height: 510px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.08), transparent 42%),
    linear-gradient(315deg, rgba(196, 122, 36, 0.13), transparent 38%),
    #f9fbfb;
}

.mock-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 8px;
  box-shadow: 0 26px 42px rgba(16, 24, 24, 0.18);
}

.business-card {
  left: 9%;
  top: 18%;
  width: 270px;
  height: 164px;
  transform: rotate(-8deg);
  background: linear-gradient(135deg, #062f2c, #0f766e);
  color: #fff;
  padding: 22px;
}

.business-card span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 950;
}

.business-card strong {
  margin-top: auto;
  font-size: 1.28rem;
}

.business-card small {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.76);
}

.qr-card {
  right: 9%;
  top: 28%;
  width: 178px;
  height: 204px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: #fff;
  padding: 18px;
  text-align: center;
}

.qr-grid {
  width: 84px;
  height: 84px;
  background:
    linear-gradient(90deg, #111 10px, transparent 10px 18px, #111 18px 28px, transparent 28px),
    linear-gradient(#111 10px, transparent 10px 18px, #111 18px 28px, transparent 28px);
  background-size: 32px 32px;
  border: 8px solid #111;
}

.label-roll {
  position: absolute;
  left: 16%;
  bottom: 13%;
  width: 250px;
  height: 88px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(16, 24, 24, 0.16);
}

.label-roll::before,
.label-roll::after {
  content: "";
  position: absolute;
  top: 50%;
  border-radius: 50%;
  transform: translateY(-50%);
}

.label-roll::before {
  left: 20px;
  width: 54px;
  height: 54px;
  background: var(--surface-soft);
}

.label-roll::after {
  right: 23px;
  width: 38px;
  height: 38px;
  background: var(--accent-soft);
}

.label-roll span {
  position: absolute;
  top: 24px;
  width: 28px;
  height: 40px;
  border-radius: 6px;
  background: #0f766e;
}

.label-roll span:nth-child(1) {
  left: 94px;
}

.label-roll span:nth-child(2) {
  left: 128px;
  background: var(--accent);
}

.label-roll span:nth-child(3) {
  left: 162px;
}

.mug-mock {
  position: absolute;
  right: 16%;
  bottom: 10%;
  display: grid;
  width: 116px;
  height: 122px;
  place-items: center;
  border-radius: 16px 16px 28px 28px;
  background: #fff;
  box-shadow: 0 22px 38px rgba(16, 24, 24, 0.16);
}

.mug-mock::after {
  content: "";
  position: absolute;
  right: -28px;
  top: 30px;
  width: 48px;
  height: 48px;
  border: 12px solid #fff;
  border-left: 0;
  border-radius: 0 999px 999px 0;
}

.mug-mock span,
.shirt-mock span {
  color: var(--primary-dark);
  font-weight: 950;
}

.shirt-mock {
  position: absolute;
  right: 31%;
  top: 9%;
  display: grid;
  width: 132px;
  height: 122px;
  place-items: center;
  clip-path: polygon(20% 0, 37% 0, 43% 10%, 57% 10%, 63% 0, 80% 0, 100% 26%, 84% 42%, 78% 100%, 22% 100%, 16% 42%, 0 26%);
  background: #e6f4f2;
  filter: drop-shadow(0 18px 28px rgba(16, 24, 24, 0.14));
}

.studio-status {
  justify-content: flex-start;
  gap: 9px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 850;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--good);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.section-heading h2,
.bulk-section h2,
.drawer-head h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.05;
}

.section-heading p,
.bulk-section p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.catalog-section,
.builder-section,
.workflow-section {
  padding: 36px 0;
}

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

.product-card {
  display: grid;
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.product-card:hover,
.product-card.active {
  border-color: rgba(15, 118, 110, 0.45);
  box-shadow: 0 18px 38px rgba(16, 24, 24, 0.1);
  transform: translateY(-2px);
}

.product-visual {
  position: relative;
  min-height: 96px;
  border-radius: 8px;
  background: var(--surface-soft);
  overflow: hidden;
}

.product-visual::before,
.product-visual::after {
  content: "";
  position: absolute;
  border-radius: 8px;
  background: var(--primary);
  box-shadow: 0 12px 22px rgba(16, 24, 24, 0.14);
}

.visual-card::before {
  left: 26px;
  top: 28px;
  width: 92px;
  height: 54px;
  transform: rotate(-8deg);
}

.visual-card::after {
  right: 28px;
  top: 22px;
  width: 76px;
  height: 56px;
  background: #fff;
}

.visual-sticker::before {
  left: 30px;
  top: 20px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--accent);
}

.visual-sticker::after {
  right: 34px;
  top: 27px;
  width: 74px;
  height: 48px;
  background: #fff;
}

.visual-apparel::before {
  left: 48px;
  top: 18px;
  width: 98px;
  height: 76px;
  clip-path: polygon(18% 0, 38% 0, 44% 10%, 56% 10%, 62% 0, 82% 0, 100% 28%, 84% 45%, 78% 100%, 22% 100%, 16% 45%, 0 28%);
}

.visual-apparel::after {
  right: 40px;
  top: 34px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
}

.visual-gift::before {
  left: 38px;
  top: 20px;
  width: 72px;
  height: 74px;
  border-radius: 10px 10px 20px 20px;
  background: #fff;
}

.visual-gift::after {
  right: 38px;
  top: 24px;
  width: 78px;
  height: 58px;
  background: var(--accent);
}

.product-card h3,
.workflow-grid h3 {
  margin: 16px 0 6px;
  font-size: 1.08rem;
}

.product-card p,
.workflow-grid p,
.summary-panel p,
.cart-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  color: var(--primary-dark);
  font-size: 0.9rem;
  font-weight: 950;
}

.builder-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.42fr);
  gap: 18px;
  align-items: start;
}

.order-panel,
.summary-panel {
  padding: 18px;
}

.order-panel {
  display: grid;
  gap: 16px;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.order-panel label {
  display: grid;
  gap: 8px;
}

.design-choice {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  border: 0;
  margin: 0;
  padding: 0;
}

.design-choice legend {
  grid-column: 1 / -1;
}

.design-choice label {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 0 12px;
  color: var(--ink);
}

.design-choice input {
  width: auto;
  min-height: auto;
}

.upload-box {
  display: flex !important;
  min-height: 74px;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(15, 118, 110, 0.45);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--primary-dark);
  cursor: pointer;
  font-weight: 950;
}

.upload-box svg {
  width: 24px;
  height: 24px;
}

.summary-panel {
  position: sticky;
  top: 92px;
}

.summary-head {
  border-radius: 8px;
  background: var(--primary-dark);
  padding: 18px;
  color: #fff;
}

.summary-head span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 850;
}

.summary-head strong {
  display: block;
  margin-top: 4px;
  font-size: 2.25rem;
}

.price-breakdown {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.price-breakdown div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.price-breakdown dt {
  color: var(--muted);
  font-weight: 850;
}

.price-breakdown dd {
  margin: 0;
  text-align: right;
  font-weight: 950;
}

.summary-actions {
  flex-direction: column;
}

.summary-panel p {
  margin-top: 14px;
  font-size: 0.88rem;
}

.bulk-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 44px auto;
  border-radius: 8px;
  background: var(--primary-dark);
  padding: clamp(24px, 4vw, 42px);
  color: #fff;
}

.bulk-section p {
  color: rgba(255, 255, 255, 0.76);
}

.bulk-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.bulk-form button {
  grid-column: 1 / -1;
  background: var(--accent);
}

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

.workflow-grid article {
  padding: 18px;
}

.workflow-grid strong {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  justify-content: flex-end;
  background: rgba(16, 24, 24, 0.32);
  padding: 16px;
}

.drawer-card {
  display: grid;
  width: min(420px, 100%);
  max-height: 100%;
  grid-template-rows: auto 1fr auto;
  padding: 18px;
}

.drawer-head {
  justify-content: space-between;
  padding-bottom: 14px;
}

.cart-items {
  display: grid;
  align-content: start;
  gap: 12px;
  overflow: auto;
  padding-right: 4px;
}

.cart-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}

.cart-item strong {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.empty-cart {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 18px;
  color: var(--muted);
  text-align: center;
}

.mobile-nav {
  display: none;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  max-width: min(420px, calc(100% - 36px));
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  padding: 13px 15px;
  font-weight: 850;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .main-nav {
    display: none;
  }

  .hero-section {
    grid-template-columns: 1fr;
  }

  .mockup-stage {
    height: 420px;
  }

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

@media (max-width: 820px) {
  body {
    padding-bottom: 72px;
  }

  .site-header {
    padding: 12px 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand small,
  .search-box,
  .header-actions .primary-action {
    display: none;
  }

  .hero-section,
  .catalog-section,
  .builder-section,
  .workflow-section,
  .bulk-section {
    width: min(680px, calc(100vw - 24px));
    max-width: 300px;
    min-width: 0;
  }

  .hero-section {
    padding-top: 30px;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.25rem, 9vw, 3.05rem);
    line-height: 1;
    overflow-wrap: anywhere;
  }

  .hero-copy p {
    max-width: 100%;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .large {
    width: 100%;
  }

  .trust-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-row span {
    min-width: 0;
    overflow-wrap: anywhere;
    text-align: center;
  }

  .hero-studio {
    min-width: 0;
  }

  .studio-toolbar,
  .studio-status {
    padding-inline: 14px;
  }

  .studio-status {
    align-items: flex-start;
  }

  .studio-status span:last-child {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .mockup-stage {
    height: 360px;
  }

  .business-card {
    left: 8%;
    width: 220px;
    height: 136px;
  }

  .qr-card {
    right: 7%;
    width: 140px;
    height: 170px;
  }

  .label-roll {
    left: 9%;
    width: 210px;
  }

  .mug-mock {
    right: 14%;
    width: 94px;
    height: 104px;
  }

  .shirt-mock {
    right: 28%;
    width: 105px;
    height: 98px;
  }

  .section-heading {
    display: grid;
  }

  .product-grid,
  .workflow-grid,
  .builder-layout,
  .bulk-section,
  .bulk-form,
  .two-col,
  .design-choice {
    grid-template-columns: 1fr;
  }

  .summary-panel {
    position: static;
  }

  .cart-drawer {
    padding: 10px;
  }

  .drawer-card {
    width: 100%;
  }

  .toast {
    bottom: 86px;
  }

  .mobile-nav {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 25;
    display: grid;
    width: min(100vw, 390px);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.94);
    padding: 8px 8px max(8px, env(safe-area-inset-bottom));
    backdrop-filter: blur(18px);
  }

  .mobile-nav a {
    min-width: 0;
    display: grid;
    place-items: center;
    gap: 4px;
    border-radius: 8px;
    padding: 8px 4px;
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 900;
    overflow: hidden;
  }

  .mobile-nav a:hover,
  .mobile-nav a:focus {
    background: var(--surface-soft);
    color: var(--primary-dark);
  }

  .mobile-nav svg {
    width: 20px;
    height: 20px;
  }
}

/* ID card designer text fit pass */
.product-id .vc-text {
  gap: 1px;
  width: min(58%, 390px);
}

.product-id .vc-text strong,
.product-id .vc-text span,
.product-id .vc-text small {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-id .vc-text strong {
  font-size: clamp(1.05rem, 1.8vw, 1.55rem);
  line-height: 1.02;
}

.product-id .vc-text span,
.product-id .vc-text small {
  font-size: clamp(0.68rem, 0.85vw, 0.82rem);
  line-height: 1.12;
}

.product-id.layout-center-seal .vc-text,
.product-id.layout-luxury-frame .vc-text,
.product-id.layout-minimal-grid .vc-text {
  inset: auto 64px 18px;
  width: auto;
}

.product-id.layout-top-band .vc-text,
.product-id.layout-editorial .vc-text,
.product-id.layout-contact-bar .vc-text {
  top: 54px;
  width: 62%;
}

.product-id.layout-qr-ledger .vc-text,
.product-id.layout-portrait-panel .vc-text {
  width: 50%;
}

/* Final QR sticker designer overrides */
.qr-template-card .qr-template-image-frame {
  aspect-ratio: 1;
}

.designer-card-face .product-qr.vc-preview {
  width: min(540px, 92%);
  aspect-ratio: 1;
  min-height: auto;
  border-radius: 30px;
}

.product-qr .vc-text {
  inset: auto 30px 28px !important;
  width: auto !important;
  text-align: center !important;
  gap: 2px;
}

.product-qr .vc-text strong,
.product-qr .vc-text span,
.product-qr .vc-text small {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-qr .vc-text strong {
  font-size: clamp(1rem, 2.1vw, 1.55rem);
}

.product-qr .vc-text span,
.product-qr .vc-text small {
  font-size: clamp(0.68rem, 1vw, 0.88rem);
}

.product-qr .vc-qr {
  left: 50% !important;
  top: 46% !important;
  right: auto !important;
  bottom: auto !important;
  width: clamp(108px, 23vw, 172px) !important;
  height: clamp(108px, 23vw, 172px) !important;
  box-sizing: content-box;
  overflow: hidden !important;
  opacity: 1 !important;
  border: 10px solid #ffffff !important;
  border-radius: 18px;
  transform: translate(-50%, -50%) !important;
  background: #ffffff !important;
  background-size: 22px 22px, 22px 22px;
  color: #111827 !important;
  box-shadow: 0 0 0 2px rgba(17, 24, 39, 0.14), 0 18px 34px rgba(17, 24, 39, 0.18);
}

.product-qr .vc-qr.qr-svg {
  display: block !important;
  box-sizing: content-box;
  overflow: hidden !important;
  opacity: 1 !important;
  background: #ffffff !important;
  border: 10px solid #ffffff !important;
  color: #111827 !important;
  box-shadow: 0 0 0 2px rgba(17, 24, 39, 0.14), 0 18px 34px rgba(17, 24, 39, 0.18);
}

.product-qr .vc-qr.qr-svg svg {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  shape-rendering: crispEdges;
}

.product-qr .vc-mark {
  left: 50% !important;
  top: 22px !important;
  transform: translateX(-50%) !important;
}

.product-qr .vc-accent-line {
  left: 50% !important;
  top: 92px !important;
  width: 118px !important;
  height: 8px !important;
  transform: translateX(-50%) !important;
}

/* Product label template and designer flow */
.labels-page .vc-template-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.label-template-card .label-template-image-frame,
.label-preview-image-frame {
  aspect-ratio: 1.52 / 1;
  background: #f8fafc;
}

.labels-page .vc-template-image,
.label-preview-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.designer-card-face .product-label.vc-preview {
  width: min(580px, 94%);
  aspect-ratio: 1.52 / 1;
  min-height: auto;
  border-radius: 28px;
}

.product-label .vc-text {
  inset: auto 36px 38px !important;
  width: min(68%, 430px) !important;
  text-align: left !important;
  gap: 3px;
}

.product-label .vc-text strong,
.product-label .vc-text span,
.product-label .vc-text small {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-label .vc-text strong {
  font-size: clamp(1.15rem, 2vw, 1.85rem);
}

.product-label .vc-text span {
  font-size: clamp(0.84rem, 1.15vw, 1.08rem);
}

.product-label .vc-text small {
  font-size: clamp(0.68rem, 0.95vw, 0.82rem);
}

.product-label .vc-mark {
  left: 36px !important;
  top: 30px !important;
  transform: none !important;
}

.product-label .vc-accent-line {
  left: 36px !important;
  top: 104px !important;
  width: 136px !important;
  height: 8px !important;
  transform: none !important;
}

.product-label .vc-qr.label-barcode {
  left: auto !important;
  right: 36px !important;
  top: auto !important;
  bottom: 40px !important;
  width: 132px !important;
  height: 42px !important;
  border: 0 !important;
  border-radius: 6px;
  opacity: 0.92 !important;
  transform: none !important;
  background:
    repeating-linear-gradient(
      90deg,
      currentColor 0 3px,
      transparent 3px 7px,
      currentColor 7px 9px,
      transparent 9px 15px,
      currentColor 15px 20px,
      transparent 20px 25px
    ) !important;
  box-shadow: none !important;
}

@media (max-width: 620px) {
  .product-label .vc-text {
    inset: auto 22px 28px !important;
    width: calc(100% - 44px) !important;
  }

  .product-label .vc-qr.label-barcode {
    right: 22px !important;
    bottom: 22px !important;
    width: 94px !important;
    height: 30px !important;
  }
}

/* Final imported ID designer: keep the selected template image as the real base. */
.designer-card-face .vc-art.has-template-bg.product-id {
  padding: 0 !important;
  background: #ffffff !important;
  overflow: hidden;
}

.designer-card-face .vc-art.has-template-bg.product-id::before,
.designer-card-face .vc-art.has-template-bg.product-id::after {
  display: none !important;
}

.designer-card-face .vc-art.has-template-bg.product-id .designer-template-bg {
  z-index: 2;
  object-fit: cover;
}

.designer-card-face .vc-art.has-template-bg.product-id.zip-template-bg .designer-template-bg {
  object-fit: contain;
}

.designer-card-face .vc-art.has-template-bg.product-id .vc-mark,
.designer-card-face .vc-art.has-template-bg.product-id .vc-text,
.designer-card-face .vc-art.has-template-bg.product-id .vc-qr,
.designer-card-face .vc-art.has-template-bg.product-id .vc-accent-line,
.designer-card-face .vc-art.has-template-bg.product-id em {
  display: none !important;
}

.designer-card-face .vc-art.has-template-bg.product-id em {
  z-index: 4;
  right: 12px;
  bottom: 10px;
  background: rgba(255, 255, 255, 0.76);
  color: #111827;
}

@media (max-width: 620px) {
  .accessories-page .accessory-template-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .accessories-page .accessory-template-card {
    min-width: 0;
    padding: 8px;
  }
}

/* Legacy record software module styles */
.pinned-page {
  --pin-bg: #f8f8ff;
  --pin-ink: #141526;
  --pin-muted: #60657a;
  --pin-line: rgba(124, 116, 214, 0.2);
  --pin-purple: #6754ec;
  --pin-purple-dark: #4d3cd1;
  --pin-soft: #f0eeff;
  --pin-danger: #d03a4d;
  min-height: 100vh;
  background:
    linear-gradient(180deg, #ffffff 0, #f8f8ff 34%, #f3f5ff 100%);
  color: var(--pin-ink);
}

.pinned-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(210px, 0.55fr) minmax(280px, 1fr) auto;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.74);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.16)),
    linear-gradient(135deg, rgba(104, 85, 239, 0.94), rgba(170, 149, 255, 0.92));
  padding: 16px clamp(16px, 4vw, 58px);
  box-shadow: 0 20px 48px rgba(90, 75, 213, 0.2);
  backdrop-filter: blur(12px);
}

.pinned-brand,
.pinned-header-actions,
.pinned-hero-panel,
.pinned-section-head,
.pinned-action-grid,
.pinned-row-actions,
.pinned-mobile-nav {
  display: flex;
  align-items: center;
}

.pinned-brand {
  gap: 12px;
  min-width: 0;
  color: #fff;
}

.pinned-brand-mark {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.64);
  font-weight: 950;
}

.pinned-brand strong,
.pinned-brand small {
  display: block;
}

.pinned-brand strong {
  font-size: 1.26rem;
  line-height: 1;
}

.pinned-brand small,
.pinned-header-copy p {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 850;
}

.pinned-header-copy h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.65rem, 4vw, 3.1rem);
  line-height: 0.98;
}

.pinned-header-copy p {
  margin: 5px 0 0;
  line-height: 1.35;
}

.pinned-header-actions {
  gap: 10px;
  justify-content: flex-end;
}

.pinned-primary-btn,
.pinned-ghost-btn,
.pinned-action-grid button,
.pinned-action-grid a,
.pinned-tabs button,
.pinned-row-actions button,
.pinned-mobile-nav button,
.pinned-mobile-nav a {
  min-height: 44px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 950;
  letter-spacing: 0;
}

.pinned-primary-btn {
  border: 0;
  background: linear-gradient(135deg, var(--pin-purple), #aa95ff);
  color: #fff;
  box-shadow: 0 14px 32px rgba(92, 76, 226, 0.26);
}

.pinned-ghost-btn {
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.pinned-header-actions .pinned-primary-btn,
.pinned-header-actions .pinned-ghost-btn {
  padding: 0 18px;
}

.pinned-shell {
  display: grid;
  width: min(1440px, calc(100% - 36px));
  grid-template-columns: 88px minmax(0, 1fr) minmax(330px, 0.34fr);
  gap: 18px;
  margin: 22px auto 96px;
  overflow: visible;
}

.pinned-rail,
.pinned-main,
.pinned-side-panel,
.pinned-actions-card,
.pinned-records-panel,
.pinned-stats article {
  border: 1px solid var(--pin-line);
  background: rgba(255, 255, 255, 0.86);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 18px 46px rgba(78, 71, 145, 0.11);
}

.pinned-rail {
  position: sticky;
  top: 104px;
  display: grid;
  align-content: start;
  gap: 10px;
  height: calc(100vh - 130px);
  border-radius: 22px;
  padding: 12px;
}

.pinned-rail button,
.pinned-rail a {
  display: grid;
  min-height: 68px;
  place-items: center;
  gap: 4px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: transparent;
  color: var(--pin-muted);
  text-align: center;
  cursor: pointer;
}

.pinned-rail button.active,
.pinned-rail button:hover,
.pinned-rail a:hover {
  border-color: rgba(103, 84, 236, 0.2);
  background: linear-gradient(135deg, rgba(103, 84, 236, 0.14), rgba(255, 255, 255, 0.74));
  color: var(--pin-purple-dark);
}

.pinned-rail span {
  display: grid;
  min-width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  background: var(--pin-soft);
  color: var(--pin-purple-dark);
  font-size: 0.78rem;
  font-weight: 950;
}

.pinned-rail small {
  font-size: 0.72rem;
  font-weight: 950;
}

.pinned-main {
  display: grid;
  gap: 16px;
  min-width: 0;
  border-radius: 26px;
  padding: clamp(14px, 2vw, 20px);
}

.pinned-hero-panel {
  justify-content: space-between;
  gap: 18px;
  min-height: 178px;
  overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.2), transparent 38%),
    linear-gradient(135deg, #6653ef, #a997ff);
  padding: clamp(22px, 4vw, 38px);
  color: #fff;
}

.pinned-company {
  display: block;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pinned-hero-panel h2 {
  margin: 7px 0 10px;
  font-size: clamp(2.2rem, 5.4vw, 5rem);
  line-height: 0.92;
}

.pinned-hero-panel p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.45;
}

.pinned-user-card {
  display: grid;
  min-width: 180px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.18);
  padding: 18px;
  text-align: right;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.pinned-user-card span {
  color: rgba(255, 255, 255, 0.84);
  font-weight: 850;
}

.pinned-user-card strong {
  font-size: 1.6rem;
}

.pinned-alert {
  display: flex;
  gap: 12px;
  align-items: center;
  border-left: 5px solid var(--pin-danger);
  border-radius: 16px;
  background: #fff0f4;
  padding: 15px 18px;
  color: #7c2434;
}

.pinned-alert strong {
  color: #b51f37;
}

.pinned-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.pinned-stats article {
  display: grid;
  min-height: 112px;
  place-items: center;
  border-radius: 22px;
  text-align: center;
}

.pinned-stats strong {
  color: var(--pin-purple);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.pinned-stats span {
  color: var(--pin-muted);
  font-size: 0.84rem;
  font-weight: 950;
  text-transform: uppercase;
}

.pinned-actions-card,
.pinned-records-panel,
.pinned-side-panel {
  min-width: 0;
  border-radius: 24px;
  padding: clamp(16px, 2.4vw, 24px);
}

.pinned-section-head {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.pinned-section-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  line-height: 1;
}

.pinned-section-head p {
  margin: 6px 0 0;
  color: var(--pin-muted);
  line-height: 1.35;
}

.pinned-section-head > span,
.pinned-status,
.pinned-type {
  border: 1px solid rgba(103, 84, 236, 0.16);
  border-radius: 999px;
  background: var(--pin-soft);
  color: var(--pin-purple-dark);
  padding: 7px 10px;
  font-size: 0.78rem;
  font-weight: 950;
}

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

.pinned-action-grid button,
.pinned-action-grid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  border: 1px solid rgba(124, 116, 214, 0.22);
  background: rgba(255, 255, 255, 0.88);
  color: var(--pin-ink);
  padding: 0 14px;
  text-align: center;
}

.pinned-action-grid .pinned-action-main {
  grid-column: 1 / -1;
  min-height: 72px;
  border: 0;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.24), transparent 42%),
    linear-gradient(135deg, #6552ef, #b3a4ff);
  color: #fff;
  box-shadow: 0 18px 36px rgba(92, 76, 226, 0.24);
}

.pinned-search {
  width: min(340px, 100%);
}

.pinned-search input {
  border-color: rgba(124, 116, 214, 0.24);
  background: #fff;
}

.pinned-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 14px;
}

.pinned-tabs button {
  border: 1px solid rgba(124, 116, 214, 0.2);
  background: #fff;
  color: var(--pin-muted);
  padding: 0 15px;
}

.pinned-tabs button.active {
  border-color: transparent;
  background: var(--pin-purple);
  color: #fff;
}

.pinned-table-wrap {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  border: 1px solid rgba(124, 116, 214, 0.16);
  border-radius: 18px;
}

.pinned-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #fff;
}

.pinned-table th,
.pinned-table td {
  padding: 15px 14px;
  border-bottom: 1px solid rgba(124, 116, 214, 0.14);
  text-align: left;
  vertical-align: middle;
}

.pinned-table th {
  color: var(--pin-muted);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.pinned-table td {
  color: var(--pin-ink);
  font-weight: 800;
}

.pinned-table td strong,
.pinned-table td small {
  display: block;
}

.pinned-table td small {
  margin-top: 3px;
  color: var(--pin-muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.pinned-status.hot {
  background: #f2efff;
  color: var(--pin-purple-dark);
}

.pinned-row-actions {
  flex-wrap: wrap;
  gap: 7px;
}

.pinned-row-actions button {
  min-height: 34px;
  border: 1px solid rgba(124, 116, 214, 0.2);
  background: #fff;
  color: var(--pin-purple-dark);
  padding: 0 10px;
  font-size: 0.76rem;
}

.pinned-empty {
  margin: 14px 0 0;
  border: 1px dashed rgba(124, 116, 214, 0.25);
  border-radius: 16px;
  padding: 16px;
  color: var(--pin-muted);
  text-align: center;
}

.pinned-side-panel {
  position: sticky;
  top: 104px;
  align-self: start;
}

.pinned-form-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.28), transparent 42%),
    linear-gradient(135deg, #6552ef, #a995ff);
  padding: 18px;
  color: #fff;
}

.pinned-form-head span {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 900;
}

.pinned-form-head strong {
  font-size: 1.5rem;
}

.pinned-form {
  display: grid;
  gap: 13px;
}

.pinned-form label {
  display: grid;
  gap: 7px;
  color: var(--pin-muted);
  font-size: 0.82rem;
}

.pinned-form input,
.pinned-form select {
  border-color: rgba(124, 116, 214, 0.23);
  background: #fff;
}

.pinned-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 0.62fr);
  gap: 10px;
}

.pinned-check {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 9px !important;
  border: 1px solid rgba(124, 116, 214, 0.18);
  border-radius: 14px;
  background: #fbfbff;
  padding: 10px 12px;
}

.pinned-check input {
  width: 18px;
  min-height: 18px;
}

.pinned-form .pinned-primary-btn,
.pinned-form .pinned-ghost-btn {
  width: 100%;
  color: #fff;
}

.pinned-form .pinned-ghost-btn {
  border-color: rgba(124, 116, 214, 0.22);
  background: #fff;
  color: var(--pin-purple-dark);
}

.pinned-mobile-nav {
  display: none;
}

@media (max-width: 1160px) {
  .pinned-header {
    grid-template-columns: 1fr auto;
  }

  .pinned-header-copy {
    grid-column: 1 / -1;
    order: 3;
  }

  .pinned-shell {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .pinned-side-panel {
    grid-column: 2;
    position: static;
  }
}

@media (max-width: 820px) {
  .pinned-page {
    padding-bottom: 74px;
  }

  .pinned-header {
    position: relative;
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .pinned-header-actions {
    justify-content: stretch;
  }

  .pinned-header-actions .pinned-primary-btn,
  .pinned-header-actions .pinned-ghost-btn {
    flex: 1;
  }

  .pinned-shell {
    width: min(100% - 24px, 560px);
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 14px;
  }

  .pinned-rail {
    display: none;
  }

  .pinned-main,
  .pinned-side-panel {
    grid-column: auto;
    width: 100%;
    border-radius: 22px;
  }

  .pinned-hero-panel {
    align-items: stretch;
    flex-direction: column;
    border-radius: 22px;
  }

  .pinned-user-card {
    min-width: 0;
    text-align: left;
  }

  .pinned-alert {
    align-items: flex-start;
    flex-direction: column;
  }

  .pinned-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
  }

  .pinned-action-grid,
  .pinned-form-grid {
    grid-template-columns: 1fr;
  }

  .pinned-section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .pinned-search {
    width: 100%;
  }

  .pinned-mobile-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-top: 1px solid rgba(124, 116, 214, 0.18);
    background: rgba(255, 255, 255, 0.94);
    padding: 8px 8px max(8px, env(safe-area-inset-bottom));
    backdrop-filter: blur(14px);
  }

  .pinned-mobile-nav button,
  .pinned-mobile-nav a {
    display: grid;
    min-width: 0;
    min-height: 46px;
    place-items: center;
    border: 0;
    background: transparent;
    color: var(--pin-muted);
    font-size: 0.76rem;
    text-align: center;
  }

  .pinned-mobile-nav .active,
  .pinned-mobile-nav button:hover,
  .pinned-mobile-nav a:hover {
    background: var(--pin-soft);
    color: var(--pin-purple-dark);
  }
}

/* Final imported ID designer: keep the selected template image as the real base. */
.designer-card-face .vc-art.has-template-bg.product-id {
  padding: 0 !important;
  background: #ffffff !important;
  overflow: hidden;
}

.designer-card-face .vc-art.has-template-bg.product-id::before,
.designer-card-face .vc-art.has-template-bg.product-id::after {
  display: none !important;
}

.designer-card-face .vc-art.has-template-bg.product-id .designer-template-bg {
  z-index: 2;
  object-fit: cover;
}

.designer-card-face .vc-art.has-template-bg.product-id.zip-template-bg .designer-template-bg {
  object-fit: contain;
}

.designer-card-face .vc-art.has-template-bg.product-id .vc-mark,
.designer-card-face .vc-art.has-template-bg.product-id .vc-text,
.designer-card-face .vc-art.has-template-bg.product-id .vc-qr,
.designer-card-face .vc-art.has-template-bg.product-id .vc-accent-line {
  display: none !important;
}

.designer-card-face .vc-art.has-template-bg.product-id em {
  z-index: 4;
  right: 12px;
  bottom: 10px;
  background: rgba(255, 255, 255, 0.76);
  color: #111827;
}

/* Imported ID card pack previews */
.id-page .vc-template-card.imported-id-template {
  border-color: rgba(111, 93, 242, 0.32);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 246, 255, 0.96) 100%);
  box-shadow: 0 18px 44px rgba(80, 70, 160, 0.12);
}

.id-page .vc-template-card.imported-id-template b::after {
  content: "RAR";
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(111, 93, 242, 0.12);
  color: #5f52f2;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.id-page .vc-template-card.zip-id-template {
  border-color: rgba(37, 99, 235, 0.34);
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.id-page .vc-template-card.zip-id-template b::after {
  content: "ZIP";
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
}

.id-page .vc-template-card.zip-id-template .vc-template-image {
  object-fit: contain;
}

.id-page .vc-template-card.zip-id-template .vc-template-image-frame {
  background: #f8fafc;
}

.designer-card-face .vc-art.has-template-bg {
  background: #fff !important;
}

.designer-template-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.zip-template-bg .designer-template-bg {
  object-fit: contain;
  background: #ffffff;
}

.vc-art.has-template-bg .vc-mark,
.vc-art.has-template-bg .vc-text,
.vc-art.has-template-bg .vc-qr,
.vc-art.has-template-bg .vc-accent-line,
.vc-art.has-template-bg em {
  z-index: 4;
}

.vc-art.has-template-bg.product-id .vc-text {
  inset: auto 30px 28px 30px !important;
  width: auto !important;
  max-width: 66%;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 38px rgba(17, 24, 39, 0.14);
  color: #111827;
  backdrop-filter: blur(8px);
}

.vc-art.has-template-bg.product-id .vc-text strong,
.vc-art.has-template-bg.product-id .vc-text span,
.vc-art.has-template-bg.product-id .vc-text small {
  color: #111827;
}

.vc-art.has-template-bg.product-id .vc-mark {
  left: 28px !important;
  top: 26px !important;
  transform: none !important;
  background: rgba(255, 255, 255, 0.86);
  color: #111827;
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.16);
}

.vc-art.has-template-bg.product-id .vc-qr {
  right: 30px !important;
  bottom: 30px !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
  width: 78px !important;
  height: 78px !important;
  opacity: 0.96;
}

.vc-art.has-template-bg.product-id .vc-accent-line {
  display: none;
}

@media (max-width: 620px) {
  .vc-art.has-template-bg.product-id .vc-text {
    inset: auto 18px 18px 18px !important;
    max-width: calc(100% - 36px);
  }

  .vc-art.has-template-bg.product-id .vc-qr {
    display: none;
  }
}

/* Keep the live designer QR visible above all earlier card-pattern rules. */
.product-qr .vc-qr.qr-svg {
  display: block !important;
  box-sizing: content-box;
  overflow: hidden !important;
  opacity: 1 !important;
  background: #ffffff !important;
  border: 10px solid #ffffff !important;
  color: #111827 !important;
  box-shadow: 0 0 0 2px rgba(17, 24, 39, 0.14), 0 18px 34px rgba(17, 24, 39, 0.18);
}

.product-qr .vc-qr.qr-svg svg {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  shape-rendering: crispEdges;
}

/* Keep the live designer QR visible above all earlier card-pattern rules. */
.product-qr .vc-qr.qr-svg {
  display: block !important;
  box-sizing: content-box;
  overflow: hidden !important;
  opacity: 1 !important;
  background: #ffffff !important;
  border: 10px solid #ffffff !important;
  color: #111827 !important;
  box-shadow: 0 0 0 2px rgba(17, 24, 39, 0.14), 0 18px 34px rgba(17, 24, 39, 0.18);
}

.product-qr .vc-qr.qr-svg svg {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  shape-rendering: crispEdges;
}

.product-qr .vc-qr.qr-svg {
  display: block !important;
  box-sizing: content-box;
  overflow: hidden !important;
  opacity: 1 !important;
  background: #ffffff !important;
  border: 10px solid #ffffff !important;
  color: #111827 !important;
  box-shadow: 0 0 0 2px rgba(17, 24, 39, 0.14), 0 18px 34px rgba(17, 24, 39, 0.18);
}

.product-qr .vc-qr.qr-svg svg {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  shape-rendering: crispEdges;
}

/* Final real QR code rendering */
.product-qr .vc-qr {
  background: #ffffff !important;
  border: 10px solid #ffffff !important;
  box-shadow: 0 0 0 2px rgba(17, 24, 39, 0.14), 0 18px 34px rgba(17, 24, 39, 0.18);
}

.product-qr .vc-qr svg {
  display: block;
  width: 100%;
  height: 100%;
  shape-rendering: crispEdges;
}

/* QR page final square preview fit */
.qr-page .vc-template-grid {
  grid-template-columns: repeat(auto-fit, minmax(178px, 1fr));
}

.qr-page .vc-template-image-frame,
.qr-page .nfc-preview-image-frame {
  aspect-ratio: 1;
  background: #f8fafc;
}

.qr-page .vc-template-image,
.qr-page .nfc-preview-image {
  object-fit: contain;
  padding: 8px;
}

.qr-page .nfc-preview-card {
  justify-items: center;
}

.qr-page .nfc-preview-image-frame {
  max-width: min(360px, 100%);
  border-radius: 26px;
}

/* QR sticker designer fit overrides */
.qr-template-card .qr-template-image-frame {
  aspect-ratio: 1;
}

.designer-card-face .product-qr.vc-preview {
  width: min(540px, 92%);
  aspect-ratio: 1;
  min-height: auto;
  border-radius: 30px;
}

.product-qr .vc-text {
  inset: auto 30px 28px !important;
  width: auto !important;
  text-align: center !important;
  gap: 2px;
}

.product-qr .vc-text strong,
.product-qr .vc-text span,
.product-qr .vc-text small {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-qr .vc-text strong {
  font-size: clamp(1rem, 2.1vw, 1.55rem);
}

.product-qr .vc-text span,
.product-qr .vc-text small {
  font-size: clamp(0.68rem, 1vw, 0.88rem);
}

.product-qr .vc-qr {
  left: 50% !important;
  top: 46% !important;
  right: auto !important;
  bottom: auto !important;
  width: clamp(108px, 23vw, 172px);
  height: clamp(108px, 23vw, 172px);
  border-width: 8px;
  border-radius: 18px;
  transform: translate(-50%, -50%) !important;
  background-size: 22px 22px, 22px 22px;
}

.product-qr .vc-mark {
  left: 50% !important;
  top: 22px !important;
  transform: translateX(-50%);
}

.product-qr .vc-accent-line {
  left: 50% !important;
  top: 92px !important;
  width: 118px;
  height: 8px;
  transform: translateX(-50%) !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* VistaPrint-inspired liquid glass refresh */
body {
  background:
    linear-gradient(180deg, #ffffff 0, #f3f8f8 34%, #eef6f5 100%);
}

.site-header {
  display: block;
  padding: 0;
  border-bottom: 1px solid rgba(200, 216, 214, 0.72);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 42px rgba(15, 79, 73, 0.06);
  backdrop-filter: blur(28px) saturate(180%);
}

.header-main {
  display: grid;
  grid-template-columns: minmax(190px, 0.55fr) minmax(280px, 0.78fr) auto;
  align-items: center;
  gap: 18px;
  padding: 14px clamp(16px, 4vw, 54px);
}

.brand-mark,
.primary-action,
.secondary-action,
.glass-action,
.icon-button,
.search-box input,
.product-card,
.hero-studio,
.hero-order-card,
.order-panel,
.summary-panel,
.workflow-grid article {
  position: relative;
  overflow: hidden;
}

.brand-mark::after,
.primary-action::after,
.secondary-action::after,
.glass-action::after,
.icon-button::after,
.product-card::after,
.hero-studio::after,
.hero-order-card::after,
.order-panel::after,
.summary-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.42), transparent 42%);
  pointer-events: none;
}

.brand-mark {
  background: linear-gradient(145deg, #073f3b, #0f766e);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 12px 28px rgba(10, 79, 73, 0.22);
}

.search-box {
  width: 100%;
}

.search-box input {
  border-color: rgba(185, 207, 204, 0.78);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(18px);
}

.header-actions {
  gap: 12px;
}

.utility-link {
  color: #1d2b2a;
  font-size: 0.88rem;
  font-weight: 850;
  white-space: nowrap;
}

.utility-link:hover {
  color: var(--primary);
}

.category-nav {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  border-top: 1px solid rgba(217, 229, 227, 0.7);
  padding: 0 clamp(16px, 4vw, 54px);
}

.category-nav a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding: 0 15px;
  color: #263836;
  font-size: 0.92rem;
  font-weight: 850;
  white-space: nowrap;
}

.category-nav a:hover {
  color: var(--primary);
}

.primary-action,
.secondary-action,
.glass-action,
.icon-button {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42), 0 14px 28px rgba(10, 79, 73, 0.1);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.primary-action:hover,
.secondary-action:hover,
.glass-action:hover,
.icon-button:hover {
  transform: translateY(-1px);
}

.primary-action {
  background: linear-gradient(135deg, #0f766e, #0b5f58);
}

.glass-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid rgba(180, 204, 201, 0.82);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--primary-dark);
  padding: 0 16px;
  font-weight: 900;
  backdrop-filter: blur(18px) saturate(160%);
}

.cart-action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #f8b12f, #d6851f);
  color: #201402;
  font-weight: 950;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 18px 36px rgba(196, 122, 36, 0.24);
}

.hero-section {
  width: min(1280px, calc(100% - 32px));
  grid-template-columns: minmax(0, 0.82fr) minmax(480px, 0.72fr);
  align-items: center;
  padding-top: clamp(38px, 5vw, 64px);
}

.hero-copy h1 {
  font-size: clamp(3.2rem, 5vw, 5.35rem);
  line-height: 0.96;
}

.hero-copy p {
  max-width: 660px;
}

.trust-row span {
  background: rgba(255, 255, 255, 0.64);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(14px);
}

.hero-studio {
  border-color: rgba(182, 206, 203, 0.78);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 34px 78px rgba(16, 24, 24, 0.14);
  backdrop-filter: blur(24px) saturate(170%);
}

.mockup-stage {
  height: 490px;
  background:
    radial-gradient(circle at 72% 68%, rgba(196, 122, 36, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(255, 255, 255, 0.22) 48%),
    #f8fbfb;
}

.business-card {
  left: 7%;
  top: 22%;
  background: linear-gradient(135deg, #073f3b, #0f766e 76%, #1d9489);
}

.hero-order-card {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  display: grid;
  width: min(285px, calc(100% - 36px));
  gap: 10px;
  border: 1px solid rgba(198, 217, 215, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  padding: 14px;
  box-shadow: 0 20px 45px rgba(16, 24, 24, 0.16);
  backdrop-filter: blur(22px) saturate(180%);
}

.hero-order-head,
.hero-order-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hero-order-head a {
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 950;
}

.hero-order-step {
  justify-content: flex-start;
  border: 1px solid rgba(217, 229, 227, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  padding: 10px;
}

.hero-order-step > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--primary-dark);
  font-weight: 950;
}

.hero-order-step small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-weight: 800;
}

.product-card,
.order-panel,
.summary-panel,
.workflow-grid article {
  border-color: rgba(188, 211, 208, 0.85);
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(18px) saturate(150%);
}

.product-card {
  box-shadow: 0 14px 36px rgba(16, 24, 24, 0.07);
}

.product-card:hover,
.product-card.active {
  box-shadow: 0 24px 54px rgba(10, 79, 73, 0.15);
}

.summary-head {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), transparent 38%),
    linear-gradient(135deg, #063b37, #0f766e);
}

.bulk-section {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 42%),
    linear-gradient(135deg, #073f3b, #0f766e);
  box-shadow: 0 30px 70px rgba(10, 79, 73, 0.18);
}

@media (max-width: 1120px) {
  .header-main {
    grid-template-columns: minmax(180px, auto) 1fr auto;
  }

  .utility-link {
    display: none;
  }

  .hero-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .header-main {
    display: flex;
    padding: 12px 14px;
  }

  .category-nav,
  .header-actions .primary-action {
    display: none;
  }

  .hero-section {
    width: min(100% - 24px, 300px);
    max-width: 300px;
  }

  .hero-copy {
    display: grid;
    justify-items: center;
    text-align: center;
  }

  .hero-copy h1 {
    max-width: 315px;
    font-size: clamp(2.35rem, 10vw, 3.1rem);
  }

  .hero-copy p {
    max-width: 330px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-order-card {
    display: none;
  }

  .mockup-stage {
    height: 330px;
  }

  .mobile-nav {
    width: min(100vw, 390px);
    left: 50%;
    transform: translateX(-50%);
  }
}

/* High-fidelity glass pass */
:root {
  --glass: rgba(255, 255, 255, 0.68);
  --glass-strong: rgba(255, 255, 255, 0.84);
  --glass-line: rgba(185, 211, 207, 0.68);
  --ink: #081312;
  --muted: #627471;
  --primary: #006d66;
  --primary-dark: #004c47;
  --accent: #f5a313;
  --shadow: 0 24px 80px rgba(13, 35, 33, 0.13);
}

body {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 249, 0.92) 36%, #eef6f5),
    radial-gradient(circle at 62% 12%, rgba(0, 109, 102, 0.13), transparent 34%);
}

.service-strip {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--glass-line);
  padding: 0 clamp(16px, 4vw, 54px);
  color: #243836;
  font-size: 0.82rem;
  font-weight: 800;
}

.service-strip span {
  white-space: nowrap;
}

.site-header {
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(30px) saturate(190%);
}

.header-main {
  grid-template-columns: minmax(214px, 0.46fr) minmax(360px, 0.78fr) auto;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand-mark {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.24), transparent 35%),
    linear-gradient(135deg, #003f3b, #008179);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 18px 36px rgba(0, 77, 71, 0.24);
}

.brand strong {
  font-size: 1.48rem;
  letter-spacing: 0;
}

.brand small {
  color: #344a47;
  font-size: 0.83rem;
}

.search-box input {
  min-height: 54px;
  border-radius: 14px;
  border-color: rgba(167, 197, 192, 0.78);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.62));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 16px 44px rgba(13, 35, 33, 0.08);
  font-weight: 750;
}

.category-nav {
  min-height: 58px;
  align-items: center;
  background: rgba(255, 255, 255, 0.46);
}

.category-nav a {
  min-height: 40px;
  border-radius: 12px;
  padding: 0 18px;
}

.category-nav a:hover {
  background: rgba(255, 255, 255, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 12px 30px rgba(13, 35, 33, 0.08);
}

.primary-action,
.secondary-action,
.glass-action,
.icon-button,
.cart-action {
  border-radius: 12px;
}

.primary-action {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.25), transparent 40%),
    linear-gradient(135deg, #008177, #005f59);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 18px 36px rgba(0, 109, 102, 0.24);
}

.secondary-action,
.glass-action,
.icon-button {
  border: 1px solid rgba(174, 203, 198, 0.82);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.54));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 18px 38px rgba(13, 35, 33, 0.08);
  backdrop-filter: blur(22px) saturate(180%);
}

.cart-action {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.32), transparent 42%),
    linear-gradient(135deg, #ffba2f, #ed8b00);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.46),
    0 20px 44px rgba(237, 139, 0, 0.28);
}

.hero-section {
  width: min(1440px, calc(100% - 48px));
  grid-template-columns: minmax(0, 0.78fr) minmax(560px, 0.82fr);
  gap: clamp(34px, 4vw, 76px);
  padding-top: clamp(44px, 5vw, 78px);
}

.hero-copy h1 {
  max-width: 720px;
  font-size: clamp(3.8rem, 5.25vw, 6rem);
  line-height: 0.94;
  font-weight: 950;
}

.hero-copy p {
  max-width: 650px;
  color: #536966;
  font-size: clamp(1.1rem, 1.42vw, 1.42rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions .large {
  min-height: 58px;
  padding: 0 24px;
  font-size: 0.98rem;
}

.proof-panel {
  display: grid;
  max-width: 620px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--glass-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 22px 55px rgba(13, 35, 33, 0.09);
  backdrop-filter: blur(20px) saturate(170%);
}

.proof-panel span {
  display: grid;
  gap: 4px;
  min-height: 76px;
  align-content: center;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.42);
}

.proof-panel strong {
  color: var(--ink);
}

.proof-panel small {
  color: var(--muted);
  font-weight: 760;
}

.trust-row span {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.66);
}

.hero-studio {
  border-radius: 18px;
  border-color: rgba(160, 190, 185, 0.72);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.48)),
    rgba(255, 255, 255, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 38px 94px rgba(13, 35, 33, 0.17);
}

.studio-toolbar,
.studio-status {
  min-height: 64px;
  padding-inline: 22px;
}

.mockup-stage {
  display: grid;
  height: 520px;
  place-items: center;
  background:
    radial-gradient(circle at 72% 20%, rgba(0, 109, 102, 0.1), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(232, 244, 243, 0.82));
}

.mockup-stage img {
  width: min(94%, 720px);
  max-height: 96%;
  object-fit: contain;
  mix-blend-mode: normal;
  filter: drop-shadow(0 28px 40px rgba(13, 35, 33, 0.14));
}

.hero-order-card {
  right: 22px;
  bottom: 22px;
  width: min(332px, calc(100% - 44px));
  border-radius: 18px;
  border-color: rgba(185, 211, 207, 0.86);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.62)),
    rgba(255, 255, 255, 0.72);
  padding: 16px;
}

.hero-order-step {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.74);
}

.product-grid {
  gap: 18px;
}

.product-card {
  min-height: 250px;
  border-radius: 18px;
  border-color: rgba(159, 191, 186, 0.8);
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.6)),
    rgba(255, 255, 255, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 18px 48px rgba(13, 35, 33, 0.09);
}

.product-visual {
  min-height: 120px;
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.42), transparent 42%),
    linear-gradient(135deg, #e8f3f2, #ffffff);
}

.product-visual.image-thumb {
  display: block;
  min-height: 150px;
  border: 1px solid rgba(181, 207, 203, 0.7);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.66), transparent 42%),
    #edf6f5;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 16px 34px rgba(13, 35, 33, 0.08);
}

.product-visual.image-thumb::before,
.product-visual.image-thumb::after {
  display: none;
}

.product-visual.image-thumb img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.02);
}

.product-card h3 {
  font-size: 1.16rem;
}

.builder-section,
.workflow-section,
.catalog-section {
  width: min(1280px, calc(100% - 48px));
}

.order-panel,
.summary-panel,
.workflow-grid article,
.drawer-card {
  border-radius: 18px;
  border-color: rgba(159, 191, 186, 0.8);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.6)),
    rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow);
}

.upload-box {
  border-radius: 16px;
  border-color: rgba(0, 109, 102, 0.36);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(236, 246, 245, 0.74));
}

.design-choice label {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
}

.bulk-section {
  border: 1px solid rgba(187, 216, 211, 0.8);
  border-radius: 22px;
}

.mobile-nav {
  border: 1px solid rgba(185, 211, 207, 0.78);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 -18px 54px rgba(13, 35, 33, 0.1);
  backdrop-filter: blur(24px) saturate(180%);
}

@media (max-width: 1120px) {
  .hero-section {
    grid-template-columns: 1fr;
  }

  .hero-copy h1,
  .hero-copy p {
    max-width: 820px;
  }

  .hero-studio {
    max-width: 820px;
  }
}

@media (max-width: 820px) {
  .service-strip,
  .category-nav {
    display: none;
  }

  .header-main {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .hero-section,
  .catalog-section,
  .builder-section,
  .workflow-section,
  .bulk-section {
    width: min(100% - 24px, 300px);
    max-width: 300px;
  }

  .hero-copy h1 {
    max-width: 300px;
    font-size: clamp(2.45rem, 10vw, 3.15rem);
  }

  .hero-copy p,
  .hero-actions,
  .proof-panel,
  .trust-row,
  .hero-studio {
    width: 100%;
    max-width: 300px;
  }

  .hero-actions .large {
    width: 100%;
    padding-inline: 12px;
  }

  .proof-panel {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .proof-panel span {
    min-height: 58px;
  }

  .hero-studio {
    width: 100%;
  }

  .mockup-stage {
    height: 335px;
  }

  .mockup-stage img {
    width: 108%;
  }

  .studio-toolbar,
  .studio-status {
    padding-inline: 14px;
  }
}

/* Purple mirror glass theme from reference */
:root {
  --bg: #f7f8ff;
  --surface: #ffffff;
  --surface-soft: #f1efff;
  --ink: #171822;
  --muted: #687080;
  --line: #e1e4f2;
  --primary: #7563f4;
  --primary-dark: #5c48df;
  --accent: #8d7cff;
  --accent-soft: #f0edff;
  --good: #6d5df0;
  --shadow: 0 26px 80px rgba(76, 68, 145, 0.15);
  --glass: rgba(255, 255, 255, 0.64);
  --glass-strong: rgba(255, 255, 255, 0.86);
  --glass-line: rgba(177, 171, 226, 0.42);
}

body {
  background:
    radial-gradient(circle at 50% -8%, rgba(117, 99, 244, 0.18), transparent 34%),
    linear-gradient(180deg, #fbfbff 0, #f6f7ff 42%, #f1f2fb 100%);
}

.site-header {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.service-strip {
  margin: 0 auto;
  width: min(1440px, 100%);
  border: 0;
  background: linear-gradient(135deg, #7663f3, #9e8cff);
  color: rgba(255, 255, 255, 0.94);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.36), 0 20px 54px rgba(97, 82, 226, 0.22);
}

.header-main {
  margin: 0 auto;
  width: min(1440px, 100%);
  border-radius: 0 0 36px 36px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.22), transparent 44%),
    linear-gradient(135deg, #7563f4 0%, #927ff8 56%, #a695ff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 26px 70px rgba(97, 82, 226, 0.28);
}

.brand strong,
.brand small,
.utility-link {
  color: #fff;
  text-shadow: 0 1px 10px rgba(55, 43, 130, 0.24);
}

.brand-mark {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.34), transparent 42%),
    rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.66),
    0 18px 42px rgba(62, 48, 165, 0.28);
  backdrop-filter: blur(20px) saturate(170%);
}

.search-box input,
.icon-button,
.secondary-action,
.glass-action,
.category-nav,
.proof-panel,
.trust-row span,
.hero-studio,
.hero-order-card,
.product-card,
.order-panel,
.summary-panel,
.workflow-grid article,
.drawer-card,
.upload-box,
.design-choice label,
.mobile-nav {
  border-color: rgba(179, 173, 231, 0.5);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.56)),
    rgba(255, 255, 255, 0.64);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 22px 58px rgba(81, 75, 140, 0.12);
  backdrop-filter: blur(24px) saturate(180%);
}

.search-box input {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.38);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.12)),
    rgba(255, 255, 255, 0.16);
}

.search-box input::placeholder {
  color: rgba(255, 255, 255, 0.84);
}

.search-box svg {
  color: rgba(255, 255, 255, 0.82);
}

.category-nav {
  margin: 16px auto 0;
  width: min(1360px, calc(100% - 40px));
  border: 1px solid rgba(179, 173, 231, 0.46);
  border-radius: 22px;
  padding: 8px;
}

.category-nav a {
  color: #2d2f44;
  border-radius: 16px;
}

.category-nav a:hover {
  color: var(--primary-dark);
  background: rgba(245, 243, 255, 0.9);
}

.primary-action {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.3), transparent 42%),
    linear-gradient(135deg, #725ff2, #9c88ff);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 20px 48px rgba(98, 81, 232, 0.3);
}

.primary-action:hover {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.32), transparent 42%),
    linear-gradient(135deg, #624de5, #8b76fa);
}

.secondary-action,
.glass-action,
.icon-button {
  color: #4b3fc8;
}

.cart-action {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.34), transparent 44%),
    linear-gradient(135deg, #7764f5, #a493ff);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.52),
    0 20px 48px rgba(98, 81, 232, 0.28);
}

#cartCount {
  background: #f3a83b;
  box-shadow: 0 8px 20px rgba(243, 168, 59, 0.26);
}

.hero-section {
  padding-top: clamp(34px, 5vw, 68px);
}

.hero-copy h1 {
  color: #11131f;
}

.hero-copy p,
.section-heading p,
.product-card p {
  color: #697181;
}

.proof-panel {
  overflow: hidden;
  border-radius: 22px;
}

.proof-panel span {
  background: rgba(255, 255, 255, 0.38);
}

.trust-row span {
  color: #4d43c9;
}

.studio-toolbar,
.studio-status {
  color: #767a8c;
}

.studio-toolbar strong,
.product-meta,
.price-breakdown dd {
  color: #5145d6;
}

.mockup-stage {
  background:
    radial-gradient(circle at 52% 42%, rgba(148, 132, 255, 0.18), transparent 40%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(242, 240, 255, 0.9));
}

.hero-order-step {
  background: rgba(255, 255, 255, 0.72);
}

.hero-order-step > span {
  background: #f0edff;
  color: #6c5cf0;
}

.product-card:hover,
.product-card.active {
  border-color: rgba(117, 99, 244, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 28px 72px rgba(98, 81, 232, 0.2);
}

.product-visual.image-thumb {
  border-color: rgba(179, 173, 231, 0.44);
  background: #f7f6ff;
}

.summary-head,
.bulk-section {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.24), transparent 42%),
    linear-gradient(135deg, #725ff2, #9b88ff);
}

input:focus,
select:focus,
textarea:focus {
  border-color: #7563f4;
  box-shadow: 0 0 0 4px rgba(117, 99, 244, 0.16);
}

@media (max-width: 820px) {
  .header-main {
    border-radius: 0 0 34px 34px;
  }

  .brand small {
    display: none;
  }

  .hero-section,
  .catalog-section,
  .builder-section,
  .workflow-section,
  .bulk-section {
    width: min(100% - 24px, 322px);
    max-width: 322px;
  }

  .hero-copy p,
  .hero-actions,
  .proof-panel,
  .trust-row,
  .hero-studio {
    max-width: 322px;
  }

  .mobile-nav {
    width: min(100vw - 20px, 380px);
    bottom: 0;
    border-radius: 24px 24px 0 0;
  }
}

/* Final readability and polish pass */
:root {
  --ink: #11121c;
  --muted: #4f5668;
  --line: #d5d2f3;
  --primary: #6957ef;
  --primary-dark: #4f3fd1;
  --shadow: 0 22px 68px rgba(55, 48, 110, 0.16);
}

body {
  color: var(--ink);
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

.site-header,
.header-main,
.service-strip {
  backdrop-filter: blur(18px) saturate(170%);
}

.service-strip {
  color: #fff;
  font-weight: 950;
}

.header-main {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.3), transparent 40%),
    linear-gradient(135deg, #6c59ef 0%, #8270f6 52%, #a28fff 100%);
}

.brand strong,
.brand small,
.utility-link,
.service-strip span {
  text-shadow: 0 2px 14px rgba(45, 35, 120, 0.35);
}

.search-box input {
  color: #fff;
  font-weight: 900;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.18)),
    rgba(255, 255, 255, 0.2);
}

.search-box input::placeholder {
  color: rgba(255, 255, 255, 0.95);
}

.category-nav,
.proof-panel,
.trust-row span,
.hero-studio,
.hero-order-card,
.product-card,
.order-panel,
.summary-panel,
.workflow-grid article,
.drawer-card,
.upload-box,
.design-choice label,
.mobile-nav {
  border-color: rgba(151, 142, 225, 0.58);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.74)),
    rgba(255, 255, 255, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 22px 60px rgba(55, 48, 110, 0.13);
  backdrop-filter: blur(14px) saturate(150%);
}

.hero-copy h1,
.section-heading h2,
.bulk-section h2,
.drawer-head h2,
.product-card h3,
.workflow-grid h3 {
  color: #10111b;
  font-weight: 950;
}

.hero-copy p,
.section-heading p,
.product-card p,
.workflow-grid p,
.summary-panel p,
.cart-item p,
.proof-panel small,
.studio-toolbar,
.studio-status,
.hero-order-step small {
  color: var(--muted);
  font-weight: 720;
}

.category-nav a,
.proof-panel strong,
.trust-row span,
.product-meta,
.price-breakdown dt,
.price-breakdown dd,
.hero-order-head,
.hero-order-step strong,
label,
legend,
.mobile-nav a {
  color: #2a2b39;
  font-weight: 920;
}

.trust-row span,
.secondary-action,
.glass-action,
.icon-button,
.hero-order-head a,
.studio-toolbar strong,
.product-meta,
.price-breakdown dd {
  color: var(--primary-dark);
}

.primary-action,
.cart-action {
  color: #fff;
  text-shadow: 0 1px 12px rgba(42, 28, 120, 0.32);
}

.primary-action {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.34), transparent 40%),
    linear-gradient(135deg, #6b59f1, #917fff);
}

.cart-action {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.35), transparent 42%),
    linear-gradient(135deg, #6653ef, #9b88ff);
}

.secondary-action,
.glass-action,
.icon-button {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 248, 255, 0.9));
}

input,
select,
textarea {
  color: #171822;
  border-color: rgba(151, 142, 225, 0.56);
  background: rgba(255, 255, 255, 0.94);
  font-weight: 720;
}

input::placeholder,
textarea::placeholder {
  color: #7a8191;
}

.summary-head,
.bulk-section {
  color: #fff;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.28), transparent 42%),
    linear-gradient(135deg, #6653ef, #9784ff);
}

.summary-head span,
.bulk-section p {
  color: rgba(255, 255, 255, 0.88);
}

.product-visual.image-thumb {
  border-color: rgba(151, 142, 225, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 18px 42px rgba(55, 48, 110, 0.12);
}

.product-visual.image-thumb img {
  filter: saturate(1.08) contrast(1.04) brightness(1.02);
}

.mobile-nav {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 247, 255, 0.9));
}

.mobile-nav a {
  color: #5d6373;
}

.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--primary-dark);
  background: rgba(239, 236, 255, 0.95);
}

/* Final polish pass: higher visibility while keeping the soft glass look. */
:root {
  --ink: #10111f;
  --muted: #535b70;
  --line: #d8d6ee;
  --glass-line: rgba(140, 130, 215, 0.38);
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 50% -8%, rgba(117, 99, 244, 0.14), transparent 32%),
    linear-gradient(180deg, #fcfcff 0, #f7f7ff 46%, #f2f3fb 100%);
}

.header-main {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.25), transparent 40%),
    linear-gradient(135deg, #6f5df2 0%, #8f7cf6 58%, #a492ff 100%);
}

.search-box input,
.icon-button,
.secondary-action,
.glass-action,
.category-nav,
.proof-panel,
.trust-row span,
.hero-studio,
.hero-order-card,
.product-card,
.order-panel,
.summary-panel,
.workflow-grid article,
.drawer-card,
.upload-box,
.design-choice label,
.mobile-nav {
  border-color: var(--glass-line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.74)),
    rgba(255, 255, 255, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 18px 48px rgba(72, 64, 132, 0.13);
  backdrop-filter: blur(14px) saturate(145%);
}

.search-box input {
  color: #fff;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.17)),
    rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.52);
}

.search-box input::placeholder {
  color: rgba(255, 255, 255, 0.94);
}

.hero-copy h1,
.section-heading h2,
.product-card h3,
.drawer-head h2,
.bulk-section h2,
.workflow-grid h3 {
  color: #10111f;
}

.hero-copy p,
.section-heading p,
.product-card p,
.workflow-grid p,
.summary-panel p,
.cart-item p {
  color: #535b70;
}

.brand strong,
.brand small,
.utility-link,
.service-strip {
  color: #fff;
  text-shadow: 0 1px 8px rgba(39, 30, 115, 0.28);
}

.primary-action,
.cart-action {
  color: #fff;
  text-shadow: 0 1px 8px rgba(45, 32, 132, 0.28);
}

.secondary-action,
.glass-action,
.icon-button,
.category-nav a,
.trust-row span {
  color: #3427b9;
}

.proof-panel strong,
.product-meta,
.studio-toolbar strong,
.price-breakdown dd {
  color: #4130cf;
}

.proof-panel small,
.studio-toolbar,
.studio-status,
label,
legend {
  color: #596174;
}

.product-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.78)),
    rgba(255, 255, 255, 0.82);
}

.product-visual.image-thumb {
  background: #fbfbff;
  border-color: rgba(144, 132, 225, 0.36);
}

input,
select,
textarea {
  background: rgba(255, 255, 255, 0.94);
  color: #171822;
  border-color: var(--line);
}

.bulk-section,
.summary-head {
  color: #fff;
}

.bulk-section p,
.summary-head span {
  color: rgba(255, 255, 255, 0.9);
}

.mobile-nav a {
  color: #5b6275;
}

.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #3427b9;
  background: #f2f0ff;
}

.template-studio {
  display: grid;
  gap: 18px;
  margin-top: 24px;
  border: 1px solid rgba(140, 130, 215, 0.38);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.72)),
    rgba(255, 255, 255, 0.8);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 22px 62px rgba(72, 64, 132, 0.14);
  padding: clamp(16px, 2.5vw, 26px);
  backdrop-filter: blur(14px) saturate(150%);
}

.template-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.template-intro span {
  color: #4f3fd1;
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.template-intro h3 {
  margin: 5px 0 8px;
  color: #10111f;
  font-size: clamp(1.55rem, 2.5vw, 2.35rem);
  line-height: 1;
}

.template-intro p {
  max-width: 680px;
  margin: 0;
  color: #535b70;
  font-weight: 750;
  line-height: 1.5;
}

.template-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.34fr);
  gap: 18px;
  align-items: start;
}

.template-grid {
  display: grid;
  max-height: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  overflow: visible;
  padding: 2px 4px 8px 2px;
}

.template-card {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(144, 132, 225, 0.34);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(250, 249, 255, 0.84));
  padding: 10px;
  color: #10111f;
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.template-card:hover,
.template-card.active {
  border-color: rgba(105, 87, 239, 0.72);
  box-shadow: 0 16px 34px rgba(72, 64, 132, 0.18);
  transform: translateY(-2px);
}

.template-card strong {
  display: block;
  font-size: 0.9rem;
  line-height: 1.2;
}

.template-card small {
  display: block;
  margin-top: 3px;
  color: #596174;
  font-size: 0.76rem;
  font-weight: 800;
}

.template-mini {
  position: relative;
  display: grid;
  align-content: end;
  gap: 3px;
  aspect-ratio: 1.72 / 1;
  overflow: hidden;
  border-radius: 12px;
  padding: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.template-mini::before,
.template-mini::after,
.mini-card-preview::before,
.mini-card-preview::after {
  content: "";
  position: absolute;
  border-radius: inherit;
  pointer-events: none;
}

.template-mini::before,
.mini-card-preview::before {
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.22), transparent 38%);
}

.template-mini::after {
  right: -18%;
  bottom: -35%;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.template-brand,
.template-card-name,
.template-card-role,
.template-card-contact,
.template-card-email,
.template-accent {
  position: absolute;
  z-index: 1;
  display: block;
}

.template-brand {
  top: 12px;
  left: 12px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 950;
}

.template-card-name,
.template-card-role,
.template-card-contact,
.template-card-email {
  left: 12px;
  right: 12px;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.template-card-name {
  bottom: 42px;
  font-size: clamp(0.74rem, 0.85vw, 0.95rem);
  font-weight: 950;
  letter-spacing: 0;
}

.template-card-role {
  bottom: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.56rem, 0.68vw, 0.72rem);
  font-weight: 850;
}

.template-card-contact {
  bottom: 15px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(0.52rem, 0.62vw, 0.68rem);
  font-weight: 800;
}

.template-card-email {
  bottom: 4px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.5rem, 0.58vw, 0.64rem);
  font-weight: 800;
}

.template-accent {
  right: 12px;
  top: 12px;
  width: 24px;
  height: 24px;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
}

.template-editor {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
  border: 1px solid rgba(140, 130, 215, 0.38);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.76)),
    rgba(255, 255, 255, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 18px 42px rgba(72, 64, 132, 0.13);
  padding: 14px;
}

.mini-card-preview {
  position: relative;
  display: grid;
  min-height: 205px;
  align-content: end;
  gap: 6px;
  overflow: hidden;
  border-radius: 18px;
  padding: 18px;
  color: #fff;
  box-shadow: 0 18px 40px rgba(45, 36, 112, 0.2);
}

.mini-card-preview strong {
  position: relative;
  z-index: 1;
  max-width: 92%;
  font-size: 1.55rem;
  line-height: 1.02;
}

.mini-card-preview span,
.mini-card-preview small,
.mini-card-preview em {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.9);
  font-style: normal;
  font-weight: 800;
}

.mini-card-preview .preview-number {
  position: absolute;
  top: 14px;
  left: 16px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.mini-card-preview em {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 0.72rem;
}

.editor-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.editor-fields label {
  display: grid;
  gap: 6px;
  color: #596174;
  font-size: 0.78rem;
  font-weight: 900;
}

.editor-fields label:nth-child(-n + 4) {
  grid-column: 1 / -1;
}

.template-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.template-editor small {
  color: #596174;
  font-weight: 750;
  line-height: 1.45;
}

button.cart-action {
  border: 0;
  cursor: pointer;
  font: inherit;
}

/* Final order drawer fit: keep added items and actions inside the glass panel. */
.cart-drawer {
  overflow: hidden;
}

.drawer-card {
  min-width: 0;
  max-width: min(420px, calc(100vw - 32px));
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: 12px;
  overflow: hidden;
}

.drawer-head,
.cart-item,
.cart-item strong,
.cart-item p,
.summary-actions,
.form-actions {
  min-width: 0;
}

.cart-items {
  min-height: 0;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

.cart-item {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.cart-item strong {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.cart-item strong span:first-child,
.cart-item p {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.cart-item strong span:last-child {
  white-space: nowrap;
}

.drawer-card .full,
.summary-actions .full,
.form-actions .primary-action,
.form-actions .secondary-action {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  text-align: center;
}

@media (max-width: 520px) {
  .cart-drawer {
    padding: 10px;
    align-items: stretch;
  }

  .drawer-card {
    width: 100%;
    max-width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
    padding: 14px;
  }

  .form-actions,
  .summary-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

.template-purple {
  background: linear-gradient(135deg, #6653ef, #a492ff);
}

.template-midnight {
  background: linear-gradient(135deg, #121421, #cda65a);
}

.template-teal {
  background: linear-gradient(135deg, #075f62, #25b7a7);
}

.template-mono {
  background: linear-gradient(135deg, #f8f8fb, #2a2c37);
}

.template-mono .template-brand,
.template-mono.template-mini,
.template-mono .template-card-name,
.template-mono .template-card-role,
.template-mono .template-card-contact,
.template-mono .template-card-email {
  color: #171822;
}

.template-mono .template-card-role,
.template-mono .template-card-contact,
.template-mono .template-card-email {
  color: rgba(23, 24, 34, 0.78);
}

.template-ruby {
  background: linear-gradient(135deg, #7f1d3a, #f35d78);
}

.template-emerald {
  background: linear-gradient(135deg, #0f5d3b, #57d68d);
}

.template-sky {
  background: linear-gradient(135deg, #2d62d9, #9fd8ff);
}

.template-carbon {
  background: linear-gradient(135deg, #171822, #4f3fd1);
}

.template-warm {
  background: linear-gradient(135deg, #8d4b1f, #f2b86d);
}

.template-royal {
  background: linear-gradient(135deg, #143b96, #6f8cff);
}

.layout-2 .template-accent,
.layout-2.mini-card-preview::after {
  border-radius: 999px;
}

.layout-3 .template-card-name,
.layout-3 .template-card-role,
.layout-3 .template-card-contact,
.layout-3 .template-card-email {
  left: auto;
  right: 12px;
  text-align: right;
}

.layout-4 .template-accent {
  width: 42px;
  border-radius: 999px;
}

.layout-5 .template-brand {
  top: auto;
  bottom: 12px;
}

.layout-5 .template-card-name,
.layout-5 .template-card-role,
.layout-5 .template-card-contact,
.layout-5 .template-card-email {
  left: 42px;
}

.layout-5 .template-card-name {
  bottom: 38px;
}

.layout-5 .template-card-role {
  bottom: 25px;
}

.layout-5 .template-card-contact {
  bottom: 13px;
}

.layout-5 .template-card-email {
  bottom: 3px;
}

.mini-card-preview::after {
  right: -56px;
  top: -42px;
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.18);
}

@media (max-width: 1120px) {
  .template-layout {
    grid-template-columns: 1fr;
  }

  .template-editor {
    position: static;
  }

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

@media (max-width: 820px) {
  .template-studio {
    width: min(100% - 24px, 322px);
    margin-inline: auto;
    border-radius: 20px;
    padding: 14px;
  }

  .template-intro {
    align-items: stretch;
    flex-direction: column;
  }

  .template-grid {
    max-height: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .editor-fields {
    grid-template-columns: 1fr;
  }
}

.vc-page {
  display: grid;
  gap: clamp(28px, 4vw, 52px);
  padding: 34px 0 80px;
}

.vc-product-hero,
.vc-workspace {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
}

.vc-product-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.62fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
  border: 1px solid rgba(140, 130, 215, 0.36);
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 15%, rgba(111, 93, 242, 0.18), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.7));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 24px 70px rgba(72, 64, 132, 0.14);
  padding: clamp(20px, 4vw, 44px);
}

.vc-product-copy > span,
.vc-section-head span {
  color: #4f3fd1;
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.vc-product-copy h1 {
  max-width: 780px;
  margin: 8px 0 14px;
  color: #10111f;
  font-size: clamp(2.5rem, 5vw, 5.5rem);
  line-height: 0.96;
}

.vc-product-copy p {
  max-width: 680px;
  color: #535b70;
  font-size: clamp(1rem, 1.5vw, 1.26rem);
  font-weight: 780;
  line-height: 1.5;
}

.vc-quick-stats {
  display: grid;
  max-width: 680px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.vc-quick-stats span {
  display: grid;
  gap: 3px;
  border: 1px solid rgba(140, 130, 215, 0.32);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  padding: 14px;
}

.vc-quick-stats strong {
  color: #4f3fd1;
  font-size: 1.35rem;
}

.vc-quick-stats small {
  color: #596174;
  font-weight: 850;
}

.vc-product-media {
  display: grid;
  aspect-ratio: 1 / 1;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(144, 132, 225, 0.34);
  border-radius: 24px;
  background: #fbfbff;
  box-shadow: 0 18px 48px rgba(72, 64, 132, 0.12);
  padding: clamp(10px, 1.5vw, 20px);
}

.vc-product-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  object-fit: contain;
  object-position: center;
}

.nfc-hero {
  border-color: rgba(49, 82, 132, 0.26);
  background:
    radial-gradient(circle at 90% 16%, rgba(33, 79, 122, 0.16), transparent 28%),
    radial-gradient(circle at 12% 86%, rgba(200, 164, 93, 0.14), transparent 24%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 252, 0.78));
}

.nfc-product-media {
  border-color: rgba(49, 82, 132, 0.22);
  background: #ffffff;
}

.vc-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.34fr);
  gap: 18px;
  align-items: start;
}

.vc-gallery-panel,
.vc-order-panel {
  border: 1px solid rgba(140, 130, 215, 0.36);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.74)),
    rgba(255, 255, 255, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 22px 62px rgba(72, 64, 132, 0.13);
  padding: clamp(14px, 2vw, 22px);
}

.vc-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.vc-section-head h2 {
  margin: 5px 0 0;
  color: #10111f;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.vc-section-head label {
  display: grid;
  min-width: 180px;
  gap: 6px;
  color: #596174;
  font-size: 0.78rem;
  font-weight: 900;
}

.vc-filter-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.vc-filter-row label {
  min-width: 154px;
}

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

.vc-template-card {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
  padding: 11px;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.03), 0 12px 26px rgba(17, 24, 39, 0.045);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.vc-template-card:hover,
.vc-template-card.active {
  border-color: rgba(17, 24, 39, 0.32);
  box-shadow: 0 20px 42px rgba(17, 24, 39, 0.13);
  transform: translateY(-2px);
}

.vc-template-card.canva-template,
.vc-template-card:has(.canva-pick-badge) {
  border-color: rgba(200, 164, 93, 0.36);
  background: linear-gradient(180deg, #fffdf8 0%, #ffffff 100%);
  box-shadow: 0 16px 38px rgba(122, 83, 23, 0.1);
}

.canva-pick-badge {
  display: inline-flex;
  width: max-content;
  align-items: center;
  border: 1px solid rgba(200, 164, 93, 0.36);
  border-radius: 999px;
  background: rgba(255, 248, 226, 0.78);
  color: #7a5317;
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  padding: 4px 8px;
  text-transform: uppercase;
}

.vc-template-card b {
  color: #10111f;
  font-size: 0.84rem;
  line-height: 1.12;
}

.vc-template-card i {
  color: #596174;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 850;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: capitalize;
  white-space: nowrap;
}

.vc-template-image-frame {
  display: block;
  overflow: hidden;
  aspect-ratio: 1.72 / 1;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 8px 20px rgba(17, 24, 39, 0.055);
}

.vc-template-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vc-template-card:hover .vc-template-image-frame,
.vc-template-card.active .vc-template-image-frame {
  border-color: rgba(17, 24, 39, 0.28);
}

/* Lanyards and ID card holders */
.accessory-tabs {
  display: grid;
  width: min(620px, calc(100% - 48px));
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 auto -18px;
  border: 1px solid rgba(140, 130, 215, 0.3);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 40px rgba(72, 64, 132, 0.1), inset 0 1px 0 #fff;
  padding: 7px;
}

.accessory-tabs button {
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #4f5669;
  font-weight: 900;
  cursor: pointer;
}

.accessory-tabs button.active {
  background: linear-gradient(135deg, #5e4fe8, #8c7cf5);
  color: #fff;
  box-shadow: 0 10px 24px rgba(94, 79, 232, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.accessory-product-media img {
  height: clamp(320px, 36vw, 520px);
  aspect-ratio: auto;
  object-fit: contain;
  background: #fff;
}

.accessory-template-art {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1.72 / 1;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 10px;
  background: linear-gradient(145deg, #fff, #eef1f7);
}

.lanyard-loop {
  position: absolute;
  top: 12%;
  left: 21%;
  width: 58%;
  height: 66%;
  border: 13px solid var(--a1);
  border-top-width: 10px;
  border-radius: 48% 48% 34% 34%;
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--a2) 72%, transparent), 0 8px 14px rgba(17, 24, 39, 0.14);
  transform: perspective(220px) rotateX(4deg);
}

.lanyard-loop::after {
  position: absolute;
  inset: -13px;
  border-radius: inherit;
  background: repeating-linear-gradient(135deg, transparent 0 16px, color-mix(in srgb, var(--a2) 74%, transparent) 16px 23px, transparent 23px 38px);
  content: "";
  opacity: 0.78;
}

.lanyard-loop span {
  position: absolute;
  z-index: 1;
  top: 45%;
  color: #fff;
  font-size: 0.42rem;
  font-weight: 950;
  white-space: nowrap;
}

.lanyard-loop span:first-child { left: -43px; transform: rotate(82deg); }
.lanyard-loop span:last-child { right: -43px; transform: rotate(-82deg); }

.lanyard-hook {
  position: absolute;
  bottom: 4%;
  left: calc(50% - 7px);
  width: 14px;
  height: 23px;
  border: 3px solid #a4a9b2;
  border-radius: 5px 5px 9px 9px;
  background: linear-gradient(90deg, #e9edf2, #9da3ad, #fff);
  box-shadow: 0 4px 7px rgba(17, 24, 39, 0.18);
}

.holder-art {
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 10%, color-mix(in srgb, var(--a2) 22%, #fff), #f4f6fa 66%);
}

.holder-shell {
  position: relative;
  z-index: 1;
  display: grid;
  width: 42%;
  height: 74%;
  place-items: center;
  border: 6px solid var(--a1);
  border-radius: 10px;
  background: color-mix(in srgb, var(--a1) 8%, rgba(255, 255, 255, 0.88));
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.18), inset 0 0 0 2px rgba(255, 255, 255, 0.7);
}

.holder-shell.horizontal {
  width: 65%;
  height: 50%;
}

.holder-slot {
  position: absolute;
  top: 4px;
  left: calc(50% - 11px);
  width: 22px;
  height: 5px;
  border-radius: 5px;
  background: #171a21;
}

.holder-insert {
  display: grid;
  width: calc(100% - 12px);
  height: calc(100% - 18px);
  align-content: center;
  justify-items: center;
  gap: 3px;
  margin-top: 10px;
  border-radius: 5px;
  background: linear-gradient(150deg, #fff 55%, var(--a2) 56%);
  color: #111827;
}

.holder-insert b { color: var(--a1); font-size: 0.82rem; }
.holder-insert i { font-size: 0.4rem; font-style: normal; font-weight: 900; }

.holder-clip {
  position: absolute;
  top: 2%;
  left: calc(50% - 5px);
  width: 10px;
  height: 20px;
  border-radius: 5px;
  background: linear-gradient(90deg, #8e949d, #f7f8fa, #898f99);
}

.accessory-preview {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.accessory-preview > .accessory-template-art {
  aspect-ratio: 1.42 / 1;
  border-radius: 18px;
  box-shadow: 0 18px 36px rgba(17, 24, 39, 0.12);
}

.accessory-preview .lanyard-loop { border-width: 18px; }
.accessory-preview .holder-shell { max-width: 150px; }

.accessory-preview-copy {
  display: grid;
  gap: 4px;
  color: #596174;
  font-size: 0.78rem;
  font-weight: 800;
}

.accessory-preview-copy strong {
  color: #10111f;
  font-size: 1rem;
}

@media (max-width: 720px) {
  .accessory-tabs { width: calc(100% - 28px); margin-bottom: -10px; }
  .accessory-template-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lanyard-loop { border-width: 10px; }
}

.nfc-preview-card {
  min-height: 0;
  align-content: start;
}

.nfc-preview-image-frame {
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1.72 / 1;
  border: 1px solid rgba(17, 24, 39, 0.14);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 36px rgba(17, 24, 39, 0.11);
}

.nfc-preview-duo {
  display: grid;
  gap: 10px;
}

.nfc-preview-duo .nfc-preview-image {
  aspect-ratio: 1.72 / 1;
  border: 1px solid rgba(17, 24, 39, 0.14);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 16px 32px rgba(17, 24, 39, 0.1);
}

.nfc-preview-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nfc-preview-meta {
  display: grid;
  gap: 5px;
  margin-top: 14px;
  color: #596174;
  font-size: 0.82rem;
  font-weight: 800;
}

.nfc-preview-meta strong {
  color: #10111f;
  font-size: 1rem;
  font-weight: 950;
}

.vc-art {
  --c1: #6251ee;
  --c2: #a391ff;
  --c3: #efeaff;
  --tc: #ffffff;
  --ghost: rgba(255, 255, 255, 0.18);
  --ghost-soft: rgba(255, 255, 255, 0.1);
  --ghost-lift: rgba(255, 255, 255, 0.2);
  --ghost-mid: rgba(255, 255, 255, 0.26);
  --ghost-bold: rgba(255, 255, 255, 0.36);
  --ghost-strong: rgba(255, 255, 255, 0.56);
  --ghost-stroke: rgba(255, 255, 255, 0.72);
  --grid-line: rgba(255, 255, 255, 0.14);
  --mark-border: rgba(255, 255, 255, 0.65);
  --mark-bg: transparent;
  --mark-outline-bg: rgba(255, 255, 255, 0.16);
  --monogram-bg: rgba(255, 255, 255, 0.22);
  position: relative;
  display: grid;
  align-content: end;
  overflow: hidden;
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), transparent 36%),
    linear-gradient(135deg, var(--c1), var(--c2));
  color: var(--tc);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.surface-plain-white,
.surface-minimal-line,
.surface-mono-outline,
.surface-clinic-clean,
.surface-editorial-paper,
.surface-kraft-tag,
.surface-silver-premium,
.surface-cyan-clinic,
.surface-ruby-salon,
.surface-lavender-glass,
.surface-peach-brand,
.surface-green-eco,
.surface-blue-qr {
  --ghost: rgba(20, 26, 38, 0.08);
  --ghost-soft: rgba(20, 26, 38, 0.045);
  --ghost-lift: rgba(20, 26, 38, 0.1);
  --ghost-mid: rgba(20, 26, 38, 0.13);
  --ghost-bold: rgba(20, 26, 38, 0.18);
  --ghost-strong: rgba(20, 26, 38, 0.32);
  --ghost-stroke: rgba(20, 26, 38, 0.42);
  --grid-line: rgba(20, 26, 38, 0.1);
  --mark-border: rgba(20, 26, 38, 0.24);
  --mark-bg: rgba(20, 26, 38, 0.035);
  --mark-outline-bg: rgba(20, 26, 38, 0.06);
  --monogram-bg: rgba(20, 26, 38, 0.08);
}

.surface-plain-white {
  background:
    linear-gradient(90deg, var(--c2) 0 8px, transparent 8px),
    linear-gradient(180deg, #ffffff, #ffffff);
}

.surface-plain-white::after {
  inset: 13px;
  border: 1px solid var(--c2);
  border-radius: 10px;
  opacity: 0.34;
}

.surface-minimal-line {
  background:
    linear-gradient(180deg, transparent 0 70%, var(--c3) 70% 100%),
    #ffffff;
}

.surface-minimal-line::after {
  inset: 20px 14px auto 14px;
  height: 2px;
  border-radius: 99px;
  background: var(--c2);
}

.surface-mono-outline {
  background:
    linear-gradient(135deg, rgba(20, 26, 38, 0.06), transparent 42%),
    #fdfdfc;
}

.surface-mono-outline::after {
  inset: 10px;
  border: 2px solid rgba(20, 26, 38, 0.18);
  border-radius: 12px;
}

.surface-clinic-clean {
  background:
    radial-gradient(circle at 90% 10%, var(--c3) 0 22%, transparent 23%),
    linear-gradient(180deg, #ffffff 0 58%, var(--c1) 58% 100%);
}

.surface-clinic-clean::after {
  right: 18px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  border: 8px solid var(--c2);
  border-radius: 999px;
  opacity: 0.18;
}

.surface-editorial-paper {
  background:
    linear-gradient(90deg, rgba(20, 26, 38, 0.07) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(180deg, var(--c1), #fffaf3);
}

.surface-editorial-paper::after {
  left: 12px;
  top: 0;
  width: 42%;
  height: 100%;
  background: rgba(255, 255, 255, 0.48);
}

.surface-kraft-tag {
  background:
    radial-gradient(circle, rgba(71, 45, 21, 0.14) 1px, transparent 1.5px) 0 0 / 13px 13px,
    linear-gradient(135deg, var(--c1), #f5dfbf);
}

.surface-kraft-tag::after {
  left: -20px;
  bottom: -20px;
  width: 90px;
  height: 90px;
  border: 14px solid var(--c2);
  border-radius: 999px;
  opacity: 0.16;
}

.surface-silver-premium {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.92), transparent 34%, rgba(255, 255, 255, 0.72) 62%, transparent 63%),
    linear-gradient(135deg, #eef1f5, #cdd4df);
}

.surface-silver-premium::after {
  inset: 0 0 auto;
  height: 7px;
  background: var(--c2);
}

.surface-black-foil {
  background:
    radial-gradient(circle at 82% 26%, var(--c3) 0 6px, transparent 7px),
    linear-gradient(135deg, #090b12, var(--c1) 55%, #16110b);
}

.surface-black-foil::after {
  inset: 12px;
  border: 1px solid var(--c2);
  border-radius: 12px;
  opacity: 0.42;
}

.surface-charcoal-split {
  background:
    linear-gradient(102deg, #f8f9fb 0 38%, transparent 38%),
    linear-gradient(135deg, var(--c1), #05060a);
}

.surface-charcoal-split::after {
  left: 38%;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--c2);
  opacity: 0.65;
}

.surface-navy-ledger {
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    linear-gradient(135deg, var(--c1), #071525);
  background-size: 18px 18px, 18px 18px, auto;
}

.surface-navy-ledger::after {
  right: 0;
  top: 0;
  width: 34%;
  height: 100%;
  background: linear-gradient(180deg, var(--c3), transparent);
  opacity: 0.24;
}

.surface-indigo-tech {
  background:
    radial-gradient(circle at 18% 20%, var(--c3) 0 5px, transparent 6px),
    radial-gradient(circle at 70% 70%, var(--c2) 0 3px, transparent 4px),
    linear-gradient(135deg, var(--c1), #120e32);
}

.surface-indigo-tech::after {
  inset: 12px auto 12px 12px;
  width: 34px;
  border: 1px solid var(--c3);
  border-radius: 10px;
  opacity: 0.42;
}

.surface-teal-block {
  background:
    linear-gradient(90deg, var(--c1) 0 46%, #ffffff 46% 100%);
}

.surface-teal-block::after {
  right: 16px;
  top: 16px;
  width: 62px;
  height: 62px;
  background: var(--c3);
  clip-path: polygon(0 0, 100% 30%, 70% 100%, 0 70%);
  opacity: 0.24;
}

.surface-emerald-natural {
  background:
    linear-gradient(108deg, #ffffff 0 52%, var(--c1) 52% 100%);
}

.surface-emerald-natural::after {
  right: 18px;
  top: 14px;
  width: 62px;
  height: 36px;
  border-radius: 60% 40% 60% 40%;
  background: var(--c3);
  opacity: 0.28;
  transform: rotate(-18deg);
}

.surface-cobalt-corporate {
  background:
    linear-gradient(180deg, #ffffff 0 46%, var(--c1) 46% 100%);
}

.surface-cobalt-corporate::after {
  right: -24px;
  top: -18px;
  width: 120px;
  height: 80px;
  border-radius: 999px;
  background: var(--c3);
  opacity: 0.22;
}

.surface-ruby-salon {
  background:
    radial-gradient(circle at 0 0, var(--c3) 0 26%, transparent 27%),
    linear-gradient(135deg, #fff7fa, var(--c1));
}

.surface-ruby-salon::after {
  right: 0;
  bottom: 0;
  width: 44%;
  height: 36%;
  border-radius: 44px 0 0 0;
  background: var(--c2);
  opacity: 0.12;
}

.surface-amber-restaurant {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0 50%, transparent 50%) 0 0 / 24px 100%,
    linear-gradient(135deg, var(--c1), var(--c2));
}

.surface-amber-restaurant::after {
  inset: auto 0 0;
  height: 34%;
  background: rgba(20, 26, 38, 0.2);
}

.surface-yellow-creative {
  background:
    linear-gradient(135deg, #fff9cf 0 45%, var(--c1) 45% 72%, var(--c2) 72% 100%);
}

.surface-yellow-creative::after {
  left: 16px;
  top: 16px;
  width: 38px;
  height: 38px;
  border: 6px solid rgba(20, 26, 38, 0.18);
  border-radius: 999px;
}

.surface-orange-bold {
  background:
    linear-gradient(116deg, var(--c1) 0 56%, var(--c3) 56% 74%, var(--c2) 74% 100%);
}

.surface-orange-bold::after {
  inset: 16px 18px auto auto;
  width: 54px;
  height: 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 18px 0 rgba(255, 255, 255, 0.3);
}

.surface-cyan-clinic {
  background:
    linear-gradient(135deg, #ffffff 0 60%, var(--c1) 60% 100%);
}

.surface-cyan-clinic::after {
  inset: 14px;
  border: 1px dashed var(--c2);
  border-radius: 13px;
  opacity: 0.34;
}

.surface-lavender-glass {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), transparent 32%),
    radial-gradient(circle at 86% 16%, var(--c3) 0 26%, transparent 27%),
    linear-gradient(135deg, var(--c1), #ffffff);
}

.surface-lavender-glass::after {
  left: 18px;
  bottom: 14px;
  width: 96px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(8px);
}

.surface-peach-brand {
  background:
    linear-gradient(90deg, var(--c2) 0 10px, transparent 10px),
    linear-gradient(135deg, var(--c1), #fff8f1);
}

.surface-peach-brand::after {
  right: 0;
  top: 0;
  width: 44%;
  height: 100%;
  background: rgba(255, 255, 255, 0.54);
}

.surface-red-stamp {
  background:
    linear-gradient(135deg, var(--c1), var(--c2));
}

.surface-red-stamp::after {
  right: 14px;
  top: 14px;
  width: 76px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.46);
  border-radius: 6px;
  transform: rotate(-8deg);
}

.surface-green-eco {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0 54%, transparent 54%),
    linear-gradient(135deg, var(--c1), var(--c3));
}

.surface-green-eco::after {
  left: 12px;
  top: 12px;
  width: 44px;
  height: 28px;
  border-radius: 100% 0 100% 0;
  background: var(--c2);
  opacity: 0.24;
}

.surface-blue-qr {
  background:
    linear-gradient(180deg, #ffffff 0 68%, var(--c3) 68% 100%);
}

.surface-blue-qr::after {
  right: 12px;
  top: 12px;
  width: 58px;
  height: 58px;
  background:
    linear-gradient(90deg, var(--c2) 50%, transparent 0) 0 0 / 12px 12px,
    linear-gradient(var(--c2) 50%, transparent 0) 0 0 / 12px 12px;
  opacity: 0.18;
}

.surface-graphite-photo {
  background:
    radial-gradient(circle at 76% 18%, rgba(255, 255, 255, 0.16) 0 12%, transparent 13%),
    linear-gradient(135deg, #11131a, var(--c1));
}

.surface-graphite-photo::after {
  left: -24px;
  bottom: -26px;
  width: 148px;
  height: 94px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--c2), transparent);
  opacity: 0.28;
}

.vc-thumb {
  aspect-ratio: 1.72 / 1;
  min-height: 118px;
  padding: 14px;
}

.vc-thumb em,
.vc-thumb .vc-qr {
  display: none;
}

.vc-thumb .vc-text {
  gap: 4px;
}

.vc-thumb .vc-text strong {
  max-width: 88%;
  font-size: clamp(0.92rem, 1.18vw, 1.16rem);
  line-height: 1.02;
}

.vc-thumb .vc-text span {
  max-width: 76%;
  font-size: clamp(0.58rem, 0.72vw, 0.74rem);
  letter-spacing: 0;
  opacity: 0.72;
}

.vc-thumb .vc-accent-line {
  opacity: 0.3;
}

.vc-preview-card {
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 18px 42px rgba(72, 64, 132, 0.2);
}

.vc-preview {
  aspect-ratio: 1.72 / 1;
  min-height: 220px;
  padding: 22px;
}

.vc-art::before,
.vc-art::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.vc-art .vc-mark,
.vc-art strong,
.vc-art span,
.vc-art small,
.vc-art em {
  position: relative;
  z-index: 1;
  max-width: 92%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vc-art .vc-mark {
  position: absolute;
  top: 12px;
  left: 12px;
  font-weight: 950;
}

.vc-art strong {
  font-size: clamp(0.82rem, 1vw, 1.05rem);
  line-height: 1.05;
}

.vc-preview strong {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.vc-art span,
.vc-art small {
  margin-top: 2px;
  color: var(--tc);
  opacity: 0.88;
  font-size: clamp(0.55rem, 0.68vw, 0.72rem);
  font-weight: 850;
}

.vc-preview span,
.vc-preview small {
  font-size: 0.88rem;
}

.vc-art em {
  position: absolute;
  top: 12px;
  right: 12px;
  color: var(--tc);
  opacity: 0.86;
  font-size: 0.64rem;
  font-style: normal;
  font-weight: 900;
}

.graphic-diagonal::before {
  inset: -30% -40% auto auto;
  width: 72%;
  height: 140%;
  background: var(--ghost);
  transform: rotate(28deg);
}

.graphic-wave::before {
  right: -22%;
  bottom: -54%;
  width: 84%;
  aspect-ratio: 1;
  border-radius: 44% 56% 48% 52%;
  background: var(--ghost-lift);
}

.graphic-circle::before {
  right: 10px;
  top: 14px;
  width: 38px;
  height: 38px;
  border: 3px solid var(--ghost-stroke);
  border-radius: 999px;
}

.graphic-grid::before {
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 18px 18px;
}

.graphic-corner::before {
  right: 0;
  top: 0;
  border-top: 58px solid var(--ghost-mid);
  border-left: 74px solid transparent;
}

.graphic-split::before {
  inset: 0 44% 0 0;
  background: var(--ghost-lift);
}

.graphic-stripe::before {
  inset: 16px auto auto 0;
  width: 100%;
  height: 12px;
  background: var(--ghost-bold);
  box-shadow: 0 20px 0 var(--ghost-lift);
}

.graphic-arc::before {
  right: -14px;
  top: 12px;
  width: 92px;
  height: 92px;
  border: 10px solid var(--ghost-lift);
  border-radius: 999px;
}

.graphic-frame::before {
  inset: 10px;
  border: 2px solid var(--ghost-bold);
  border-radius: 10px;
}

.graphic-badge::before {
  right: 12px;
  top: 12px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--ghost-mid);
}

.graphic-ribbon::before {
  right: -24px;
  top: 22px;
  width: 120px;
  height: 22px;
  background: var(--ghost-mid);
  transform: rotate(38deg);
}

.graphic-spot::before {
  left: -20px;
  top: -20px;
  width: 76px;
  height: 76px;
  border-radius: 999px;
  background: var(--ghost);
  box-shadow: 94px 40px 0 var(--ghost-soft);
}

.graphic-bars::before {
  left: 12px;
  top: 36px;
  width: 78px;
  height: 6px;
  border-radius: 99px;
  background: var(--ghost-strong);
  box-shadow: 0 13px 0 var(--ghost-bold), 0 26px 0 var(--ghost-mid);
}

.graphic-panel::before {
  right: 0;
  top: 0;
  width: 34%;
  height: 100%;
  background: var(--ghost);
}

.graphic-slash::before {
  left: 36%;
  top: -20%;
  width: 18%;
  height: 140%;
  background: var(--ghost-mid);
  transform: rotate(16deg);
}

.graphic-halo::before {
  right: -26px;
  bottom: -26px;
  width: 118px;
  height: 118px;
  border-radius: 999px;
  background: radial-gradient(circle, transparent 45%, var(--ghost-mid) 46%, var(--ghost-mid) 62%, transparent 63%);
}

.graphic-steps::before {
  right: 14px;
  top: 16px;
  width: 58px;
  height: 42px;
  background:
    linear-gradient(90deg, var(--ghost-bold) 45%, transparent 45%) 0 0 / 22px 14px;
}

.graphic-orbit::before {
  right: 18px;
  top: 16px;
  width: 58px;
  height: 58px;
  border: 2px solid var(--ghost-bold);
  border-radius: 999px;
  box-shadow: -28px 20px 0 -20px var(--ghost-strong);
}

.graphic-fold::before {
  right: 0;
  bottom: 0;
  border-bottom: 54px solid var(--ghost-mid);
  border-left: 72px solid transparent;
}

.graphic-minimal::before {
  right: 14px;
  top: 16px;
  width: 44px;
  height: 24px;
  border: 2px solid var(--ghost-stroke);
  border-radius: 999px;
}

.graphic-sunburst::before {
  right: -22px;
  top: -22px;
  width: 126px;
  height: 126px;
  border-radius: 999px;
  background:
    conic-gradient(from 18deg, var(--ghost-strong) 0 12deg, transparent 12deg 24deg),
    radial-gradient(circle, transparent 0 38%, var(--ghost-mid) 39% 48%, transparent 49%);
}

.graphic-contour::before {
  inset: 12px;
  border: 1px solid var(--ghost-bold);
  border-radius: 45% 55% 52% 48%;
  box-shadow: 10px 8px 0 -2px var(--ghost-lift), 20px 18px 0 -4px var(--ghost-soft);
  transform: rotate(-10deg);
}

.graphic-barcode::before {
  right: 16px;
  bottom: 16px;
  width: 76px;
  height: 34px;
  background:
    linear-gradient(90deg, currentColor 0 4px, transparent 4px 8px, currentColor 8px 10px, transparent 10px 15px, currentColor 15px 20px, transparent 20px 25px, currentColor 25px 28px, transparent 28px 36px, currentColor 36px 42px, transparent 42px 48px, currentColor 48px 50px, transparent 50px 58px, currentColor 58px 64px, transparent 64px);
  color: var(--tc);
  opacity: 0.34;
}

.graphic-mosaic::before {
  right: 14px;
  top: 14px;
  width: 72px;
  height: 72px;
  background:
    linear-gradient(90deg, var(--ghost-strong) 50%, transparent 0) 0 0 / 24px 24px,
    linear-gradient(var(--ghost-mid) 50%, transparent 0) 0 0 / 24px 24px;
  border-radius: 14px;
}

.graphic-chevron::before {
  inset: 0;
  background:
    linear-gradient(135deg, transparent 42%, var(--ghost-mid) 43% 49%, transparent 50%),
    linear-gradient(45deg, transparent 42%, var(--ghost-lift) 43% 49%, transparent 50%);
  background-size: 56px 56px;
}

.graphic-ticket::before {
  left: 12px;
  right: 12px;
  top: 14px;
  height: 32px;
  border: 1px dashed var(--ghost-stroke);
  border-radius: 12px;
}

.graphic-leaf::before {
  right: 18px;
  top: 18px;
  width: 76px;
  height: 46px;
  border-radius: 76px 0 76px 0;
  background: var(--ghost-mid);
  transform: rotate(-22deg);
}

.graphic-pixel::before {
  left: 16px;
  top: 16px;
  width: 12px;
  height: 12px;
  background: var(--ghost-strong);
  box-shadow:
    18px 0 0 var(--ghost-mid),
    36px 0 0 var(--ghost-soft),
    0 18px 0 var(--ghost-mid),
    18px 18px 0 var(--ghost-soft),
    36px 18px 0 var(--ghost-strong);
}

.graphic-topography::before {
  inset: 0;
  background:
    radial-gradient(ellipse at 72% 24%, transparent 0 20px, var(--ghost-mid) 21px 22px, transparent 23px 32px, var(--ghost-soft) 33px 34px, transparent 35px),
    radial-gradient(ellipse at 22% 72%, transparent 0 18px, var(--ghost-lift) 19px 20px, transparent 21px 30px, var(--ghost-soft) 31px 32px, transparent 33px);
}

.graphic-capsule::before {
  right: 14px;
  top: 16px;
  width: 82px;
  height: 30px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ghost-strong) 0 48%, transparent 48% 52%, var(--ghost-mid) 52%);
}

.graphic-split-dot::before {
  left: 0;
  top: 0;
  width: 54%;
  height: 100%;
  background:
    radial-gradient(circle, var(--ghost-bold) 1.6px, transparent 2px) 0 0 / 12px 12px,
    var(--ghost-soft);
}

.graphic-corner-grid::before {
  right: 0;
  top: 0;
  width: 46%;
  height: 58%;
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 12px 12px;
}

.graphic-wave-lines::before {
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, transparent 0 28px, var(--ghost-mid) 29px 31px, transparent 32px 42px, var(--ghost-soft) 43px 45px, transparent 46px),
    radial-gradient(ellipse at 80% 20%, transparent 0 62px, var(--ghost-lift) 63px 65px, transparent 66px);
}

.graphic-premium-seal::before {
  right: 16px;
  top: 16px;
  width: 48px;
  height: 48px;
  border: 2px solid var(--ghost-stroke);
  border-radius: 999px;
  background: radial-gradient(circle, var(--ghost-mid) 0 28%, transparent 29%);
  box-shadow: 0 0 0 7px var(--ghost-soft);
}

.graphic-offset-block::before {
  right: 18px;
  bottom: 18px;
  width: 86px;
  height: 48px;
  background: var(--ghost-mid);
  box-shadow: -16px -14px 0 var(--ghost-soft);
  transform: rotate(-6deg);
}

.vc-order-panel {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 14px;
}

.vc-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.vc-form-grid label {
  display: grid;
  gap: 6px;
  color: #596174;
  font-size: 0.78rem;
  font-weight: 900;
}

.vc-form-grid label:nth-child(-n + 4) {
  grid-column: 1 / -1;
}

.vc-estimate {
  display: grid;
  gap: 4px;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.26), transparent 42%),
    linear-gradient(135deg, #6653ef, #9784ff);
  padding: 16px;
  color: #fff;
}

.vc-estimate span,
.vc-estimate small {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 850;
}

.vc-estimate strong {
  font-size: 2.25rem;
  line-height: 1;
}

.vc-order-panel > small {
  color: #596174;
  font-weight: 760;
  line-height: 1.45;
}

@media (max-width: 1120px) {
  .vc-product-hero,
  .vc-workspace {
    grid-template-columns: 1fr;
  }

  .vc-order-panel {
    position: static;
  }

  .vc-template-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .vc-page {
    padding-bottom: 96px;
  }

  .vc-product-hero,
  .vc-workspace {
    width: min(100% - 24px, 360px);
  }

  .vc-product-hero {
    grid-template-columns: 1fr;
    border-radius: 22px;
    padding: 16px;
  }

  .vc-product-copy h1 {
    font-size: clamp(2rem, 9vw, 2.9rem);
    text-align: left;
  }

  .vc-quick-stats {
    grid-template-columns: 1fr;
  }

  .vc-section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .vc-template-grid {
    grid-template-columns: 1fr;
  }

  .vc-thumb {
    min-height: 156px;
  }

  .vc-form-grid {
    grid-template-columns: 1fr;
  }
}

.designer-page {
  padding: 34px 0 90px;
}

.designer-shell {
  display: grid;
  width: min(1320px, calc(100% - 48px));
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.34fr);
  gap: 18px;
  margin: 0 auto;
  align-items: start;
}

.designer-canvas,
.designer-controls {
  border: 1px solid rgba(140, 130, 215, 0.36);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.74)),
    rgba(255, 255, 255, 0.84);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 22px 62px rgba(72, 64, 132, 0.13);
  padding: clamp(16px, 2.5vw, 26px);
}

.designer-toolbar,
.designer-panel-head,
.designer-options-row,
.designer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.designer-toolbar span,
.designer-panel-head span {
  color: #4f3fd1;
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.designer-toolbar h1 {
  margin: 5px 0 0;
  color: #10111f;
  font-size: clamp(1.9rem, 4vw, 4rem);
  line-height: 0.98;
}

.designer-view-toggle {
  display: inline-flex;
  border: 1px solid rgba(140, 130, 215, 0.38);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
  padding: 4px;
}

.designer-view-toggle button {
  min-height: 38px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #596174;
  cursor: pointer;
  font-weight: 950;
  padding: 0 14px;
}

.designer-view-toggle button.active {
  background: linear-gradient(135deg, #6653ef, #9b88ff);
  color: #fff;
}

.designer-preview-wrap {
  display: grid;
  gap: 14px;
  margin: 28px auto 0;
}

.designer-card-stack {
  position: relative;
  display: grid;
  min-height: clamp(280px, 42vw, 560px);
  place-items: center;
  border: 1px dashed rgba(140, 130, 215, 0.42);
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(140, 130, 215, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(140, 130, 215, 0.08) 1px, transparent 1px),
    rgba(251, 251, 255, 0.82);
  background-size: 28px 28px;
  padding: clamp(16px, 4vw, 42px);
}

.designer-card-face {
  display: none;
  width: min(760px, 100%);
  filter: drop-shadow(0 28px 42px rgba(55, 48, 110, 0.2));
}

.designer-card-face.active {
  display: block;
}

.designer-card-face .vc-preview {
  min-height: auto;
  width: 100%;
  border-radius: 22px;
}

.designer-card-face .product-lanyard.vc-preview {
  width: min(760px, 100%);
  aspect-ratio: 4.2 / 1;
  min-height: 150px;
  align-content: center;
  border-block: 9px solid color-mix(in srgb, var(--c2) 60%, transparent);
  border-radius: 18px;
  margin: 0 auto;
  background:
    repeating-linear-gradient(135deg, transparent 0 44px, rgba(255, 255, 255, 0.14) 44px 64px, transparent 64px 104px),
    linear-gradient(135deg, var(--c1), var(--c2));
}

.product-lanyard .vc-text {
  width: 76%;
  margin: 0 auto;
  text-align: center;
}

.product-lanyard .vc-text strong { letter-spacing: 0; text-transform: uppercase; }
.product-lanyard .vc-text small { display: none; }
.product-lanyard .vc-mark { top: 50%; transform: translateY(-50%); }
.product-lanyard em { top: 50%; transform: translateY(-50%); }

.lanyard-designer-hook {
  position: absolute !important;
  right: 10px;
  bottom: 10px;
  width: 17px;
  height: 28px;
  border: 4px solid rgba(255, 255, 255, 0.78);
  border-radius: 6px 6px 11px 11px;
}

.designer-card-face .product-holder.vc-preview {
  width: min(390px, 78%);
  aspect-ratio: 0.66 / 1;
  min-height: 430px;
  margin: 0 auto;
  border: 22px solid var(--c1);
  border-radius: 26px;
  background: linear-gradient(160deg, #fff 0 64%, var(--c3) 64% 100%);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.72), 0 24px 48px rgba(17, 24, 39, 0.22);
}

.product-holder .vc-text { color: #111827; }
.product-holder .vc-text strong { color: var(--c1); }
.product-holder .vc-text span,
.product-holder .vc-text small,
.product-holder em { color: #334155; }
.product-holder .vc-mark { color: var(--c1); }

.holder-designer-slot {
  position: absolute !important;
  top: -13px;
  left: calc(50% - 29px);
  width: 58px;
  height: 10px;
  border-radius: 8px;
  background: #111827;
}

@media (max-width: 620px) {
  .designer-card-face .product-lanyard.vc-preview { min-height: 116px; padding: 14px; }
  .designer-card-face .product-holder.vc-preview { min-height: 360px; width: min(300px, 90%); border-width: 16px; }
}

.designer-bleed {
  position: absolute;
  inset: 18px;
  z-index: 2;
  border: 1px dashed rgba(255, 255, 255, 0.58);
  border-radius: 20px;
  pointer-events: none;
}

.designer-back-card {
  --c1: #6251ee;
  --c2: #a391ff;
  --tc: #ffffff;
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 1.72 / 1;
  align-content: center;
  justify-items: center;
  overflow: hidden;
  border-radius: 22px;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.2), transparent 30%),
    linear-gradient(135deg, var(--c1), var(--c2));
  color: var(--tc);
}

.designer-back-card strong {
  position: relative;
  z-index: 1;
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 24px;
  font-size: 1.8rem;
}

.designer-back-card span,
.designer-back-card small {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  font-weight: 950;
}

.designer-back-card i {
  position: relative;
  z-index: 1;
  width: 68px;
  height: 68px;
  margin-top: 16px;
  border: 8px solid currentColor;
  border-radius: 12px;
  opacity: 0.86;
}

.designer-guides {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.designer-guides span {
  border: 1px solid rgba(140, 130, 215, 0.34);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  color: #4f3fd1;
  padding: 9px 12px;
  font-weight: 900;
}

.designer-controls {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 14px;
}

.designer-panel-head {
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.26), transparent 42%),
    linear-gradient(135deg, #6653ef, #9784ff);
  padding: 16px;
  color: #fff;
}

.designer-panel-head span {
  color: rgba(255, 255, 255, 0.9);
}

.designer-panel-head strong {
  font-size: 2rem;
}

.designer-control-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.designer-control-grid label {
  display: grid;
  gap: 6px;
  color: #596174;
  font-size: 0.78rem;
  font-weight: 900;
}

.designer-control-grid label:nth-child(-n + 4) {
  grid-column: 1 / -1;
}

.designer-logo-upload {
  align-content: center;
  min-height: 46px;
  border: 1px dashed rgba(105, 87, 239, 0.42);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(247, 245, 255, 0.88));
  padding: 9px 12px;
  cursor: pointer;
}

.designer-logo-upload span {
  color: #4f3fd1;
  font-size: 0.74rem;
  font-weight: 950;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.designer-actions {
  flex-direction: column;
}

.designer-actions button {
  width: 100%;
}

.designer-controls > small {
  color: #596174;
  font-weight: 760;
  line-height: 1.45;
}

@media (max-width: 1120px) {
  .designer-shell {
    grid-template-columns: 1fr;
  }

  .designer-controls {
    position: static;
  }
}

@media (max-width: 820px) {
  .designer-page {
    padding-bottom: 96px;
  }

  .designer-shell {
    width: min(100% - 24px, 360px);
  }

  .designer-toolbar,
  .designer-options-row {
    align-items: stretch;
    flex-direction: column;
  }

  .designer-view-toggle {
    width: 100%;
  }

  .designer-view-toggle button {
    flex: 1;
  }

  .designer-card-stack {
    min-height: 260px;
    padding: 12px;
  }

  .designer-control-grid {
    grid-template-columns: 1fr;
  }
}

/* Real-card anatomy: unique text placement, QR blocks, marks, and layout families. */
.vc-art .vc-text,
.vc-art .vc-qr,
.vc-art .vc-accent-line {
  position: absolute;
  z-index: 3;
  max-width: none;
  overflow: visible;
  white-space: normal;
}

.vc-art .vc-text {
  display: grid;
  gap: 2px;
  color: var(--tc);
}

.vc-art .vc-text strong {
  color: var(--tc);
  font-size: clamp(0.82rem, 1vw, 1.12rem);
  line-height: 1.06;
  white-space: normal;
}

.vc-preview .vc-text strong {
  font-size: clamp(1.5rem, 2.4vw, 2.15rem);
}

.vc-art .vc-text span,
.vc-art .vc-text small {
  color: var(--tc);
  font-size: clamp(0.55rem, 0.7vw, 0.76rem);
  font-weight: 850;
  line-height: 1.18;
  opacity: 0.82;
}

.vc-preview .vc-text span,
.vc-preview .vc-text small {
  font-size: clamp(0.76rem, 1.05vw, 0.9rem);
}

.vc-art .vc-qr {
  width: 34px;
  height: 34px;
  border: 3px solid currentColor;
  border-radius: 7px;
  color: var(--tc);
  opacity: 0.86;
  background:
    linear-gradient(90deg, currentColor 50%, transparent 0) 0 0 / 8px 8px,
    linear-gradient(currentColor 50%, transparent 0) 0 0 / 8px 8px,
    linear-gradient(135deg, transparent 38%, currentColor 39% 60%, transparent 61%);
}

.vc-preview .vc-qr {
  width: 58px;
  height: 58px;
  border-radius: 11px;
}

.vc-art .vc-accent-line {
  width: 74px;
  height: 6px;
  border-radius: 99px;
  background: var(--tc);
  opacity: 0.5;
}

.vc-art .vc-mark {
  display: grid;
  min-width: 28px;
  height: 28px;
  place-items: center;
  border: 2px solid var(--mark-border);
  border-radius: 8px;
  background: var(--mark-bg);
  padding: 0 7px;
}

.vc-art .vc-mark img,
.designer-back-card strong img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
}

.vc-preview .vc-mark {
  min-width: 48px;
  height: 48px;
  padding: 7px;
}

.designer-back-card strong:has(img) {
  padding: 12px;
  background: rgba(255, 255, 255, 0.18);
}

.mark-circle .vc-mark {
  min-width: 30px;
  border-radius: 999px;
}

.mark-pill .vc-mark {
  min-width: 48px;
  border-radius: 999px;
}

.mark-outline .vc-mark {
  background: var(--mark-outline-bg);
}

.mark-monogram .vc-mark {
  border: 0;
  background: var(--monogram-bg);
  font-size: 1rem;
}

.texture-paper {
  box-shadow: inset 0 0 0 1px var(--ghost-mid), inset 0 32px 70px var(--ghost-soft);
}

.texture-mesh {
  box-shadow: inset 0 0 0 1px var(--grid-line), inset 0 0 32px var(--ghost-soft);
}

.texture-micro {
  box-shadow: inset 0 0 0 1px var(--ghost-soft), inset 18px 0 40px var(--ghost-soft);
}

.texture-dots {
  box-shadow: inset 0 0 0 1px var(--ghost-mid), inset -22px -18px 40px var(--ghost-soft);
}

.layout-classic-left .vc-text {
  left: 14px;
  bottom: 14px;
  width: 64%;
}

.layout-classic-left .vc-qr {
  right: 14px;
  bottom: 14px;
}

.layout-classic-left .vc-accent-line {
  left: 14px;
  top: 47px;
}

.layout-corner-logo .vc-mark {
  left: auto;
  right: 14px;
}

.layout-corner-logo .vc-text {
  left: 14px;
  bottom: 15px;
  width: 68%;
}

.layout-corner-logo .vc-qr {
  right: 14px;
  bottom: 15px;
}

.layout-split-right .vc-text {
  right: 14px;
  bottom: 14px;
  width: 58%;
  text-align: right;
}

.layout-split-right .vc-qr {
  left: 14px;
  bottom: 14px;
}

.layout-center-seal .vc-text {
  inset: auto 16px 14px;
  text-align: center;
}

.layout-center-seal .vc-mark {
  left: 50%;
  top: 18px;
  transform: translateX(-50%);
}

.layout-center-seal .vc-qr {
  right: 16px;
  top: 16px;
  width: 24px;
  height: 24px;
}

.layout-vertical-rail .vc-mark {
  top: auto;
  bottom: 14px;
}

.layout-vertical-rail .vc-text {
  left: 46px;
  bottom: 14px;
  width: 60%;
}

.layout-vertical-rail .vc-accent-line {
  left: 0;
  top: 0;
  width: 32px;
  height: 100%;
  border-radius: 0;
  opacity: 0.24;
}

.layout-vertical-rail .vc-qr {
  right: 14px;
  top: 14px;
}

.layout-top-band .vc-text {
  left: 14px;
  top: 44px;
  width: 70%;
}

.layout-top-band .vc-accent-line {
  inset: 0 0 auto;
  width: 100%;
  height: 32px;
  border-radius: 0;
  opacity: 0.22;
}

.layout-top-band .vc-qr {
  right: 14px;
  bottom: 14px;
}

.layout-bottom-strip .vc-text {
  left: 14px;
  bottom: 14px;
  width: 72%;
}

.layout-bottom-strip .vc-accent-line {
  inset: auto 0 0;
  width: 100%;
  height: 46px;
  border-radius: 0;
  opacity: 0.2;
}

.layout-bottom-strip .vc-qr {
  right: 14px;
  top: 14px;
}

.layout-qr-ledger .vc-text {
  left: 14px;
  bottom: 14px;
  width: 56%;
}

.layout-qr-ledger .vc-qr {
  right: 18px;
  top: 50%;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
}

.layout-editorial .vc-text {
  left: 14px;
  top: 42px;
  width: 72%;
}

.layout-editorial .vc-text strong {
  font-size: clamp(1rem, 1.3vw, 1.3rem);
}

.layout-editorial .vc-qr {
  right: 14px;
  bottom: 14px;
}

.layout-minimal-grid .vc-text {
  inset: auto 16px 18px;
  text-align: center;
}

.layout-minimal-grid .vc-qr {
  right: 14px;
  top: 14px;
}

.layout-bold-initial .vc-mark {
  top: 10px;
  left: 12px;
  min-width: 54px;
  height: 54px;
  border: 0;
  background: rgba(255, 255, 255, 0.18);
  font-size: 1.45rem;
}

.layout-bold-initial .vc-text {
  right: 14px;
  bottom: 14px;
  width: 62%;
  text-align: right;
}

.layout-bold-initial .vc-qr {
  left: 16px;
  bottom: 14px;
}

.layout-diagonal-flow .vc-text {
  left: 14px;
  bottom: 14px;
  width: 58%;
}

.layout-diagonal-flow .vc-accent-line {
  right: -16px;
  top: 18px;
  width: 116px;
  height: 22px;
  transform: rotate(38deg);
}

.layout-diagonal-flow .vc-qr {
  right: 14px;
  bottom: 14px;
}

.layout-luxury-frame .vc-text {
  inset: auto 18px 18px;
  text-align: center;
}

.layout-luxury-frame .vc-accent-line {
  inset: 12px;
  width: auto;
  height: auto;
  border: 2px solid var(--tc);
  background: transparent;
  border-radius: 12px;
  opacity: 0.34;
}

.layout-luxury-frame .vc-qr {
  right: 22px;
  top: 22px;
}

.layout-contact-bar .vc-text {
  left: 14px;
  top: 44px;
  width: 72%;
}

.layout-contact-bar .vc-qr {
  right: 14px;
  bottom: 14px;
}

.layout-contact-bar .vc-accent-line {
  left: 0;
  bottom: 0;
  width: 100%;
  height: 24px;
  border-radius: 0;
  opacity: 0.26;
}

.layout-portrait-panel .vc-text {
  right: 14px;
  bottom: 14px;
  width: 56%;
  text-align: right;
}

.layout-portrait-panel .vc-accent-line {
  left: 0;
  top: 0;
  width: 38%;
  height: 100%;
  border-radius: 0;
  opacity: 0.22;
}

.layout-portrait-panel .vc-qr {
  left: 16px;
  bottom: 16px;
}

/* Full-width header fit pass */
.site-header {
  left: 0;
  right: 0;
  width: 100%;
  max-width: none;
  overflow: hidden;
}

.service-strip,
.header-main,
.category-nav {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  border-radius: 0;
}

.service-strip {
  padding-left: clamp(18px, 4vw, 68px);
  padding-right: clamp(18px, 4vw, 68px);
}

.header-main {
  grid-template-columns: minmax(230px, 1fr) auto;
  gap: clamp(14px, 2vw, 26px);
  padding: 16px clamp(18px, 4vw, 68px);
}

.vc-header .header-main {
  grid-template-columns: minmax(230px, 1fr) auto;
}

.category-nav {
  padding-left: clamp(18px, 4vw, 68px);
  padding-right: clamp(18px, 4vw, 68px);
}

.brand-mark,
.search-box input,
.icon-button,
.primary-action,
.secondary-action,
.glass-action,
.cart-action {
  border-radius: 10px;
}

/* Official horizontal logo: object-fit trims the transparent top and bottom padding. */
.brand-logo {
  display: block;
  width: clamp(190px, 20vw, 250px);
  height: 58px;
  flex: 0 0 auto;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 820px) {
  .brand-logo {
    width: clamp(155px, 45vw, 190px);
    height: 48px;
  }
}

@media (max-width: 430px) {
  .brand-logo {
    width: 150px;
    height: 44px;
  }
}

@media print {
  .site-header,
  .designer-toolbar,
  .designer-editor,
  .mobile-nav,
  .toast {
    display: none !important;
  }

  body,
  .designer-page,
  .designer-shell,
  .designer-canvas {
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  .designer-canvas {
    display: grid !important;
    gap: 12mm !important;
  }

  .designer-card-stage {
    break-inside: avoid;
  }
}

.header-actions {
  min-width: 0;
  flex-wrap: nowrap;
}

.search-box {
  min-width: 280px;
}

@media (max-width: 1120px) {
  .header-main {
    grid-template-columns: minmax(210px, 1fr) auto;
  }

  .header-actions {
    gap: 8px;
  }
}

@media (max-width: 820px) {
  .service-strip {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .header-main,
  .vc-header .header-main {
    grid-template-columns: 1fr;
    padding: 14px 16px;
  }

  .search-box {
    min-width: 0;
    width: 100%;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
  }
}

/* Final ID card text fit overrides */
.product-id .vc-text {
  gap: 1px;
  width: min(58%, 390px);
}

.product-id .vc-text strong,
.product-id .vc-text span,
.product-id .vc-text small {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-id .vc-text strong {
  font-size: clamp(1.05rem, 1.8vw, 1.55rem);
  line-height: 1.02;
}

.product-id .vc-text span,
.product-id .vc-text small {
  font-size: clamp(0.68rem, 0.85vw, 0.82rem);
  line-height: 1.12;
}

.product-id.layout-center-seal .vc-text,
.product-id.layout-luxury-frame .vc-text,
.product-id.layout-minimal-grid .vc-text {
  inset: auto 64px 18px;
  width: auto;
}

.product-id.layout-top-band .vc-text,
.product-id.layout-editorial .vc-text,
.product-id.layout-contact-bar .vc-text {
  top: 54px;
  width: 62%;
}

.product-id.layout-qr-ledger .vc-text,
.product-id.layout-portrait-panel .vc-text {
  width: 50%;
}

/* Final QR sticker designer overrides */
.qr-template-card .qr-template-image-frame {
  aspect-ratio: 1;
}

.designer-card-face .product-qr.vc-preview {
  width: min(540px, 92%);
  aspect-ratio: 1;
  min-height: auto;
  border-radius: 30px;
}

.product-qr .vc-text {
  inset: auto 30px 28px !important;
  width: auto !important;
  text-align: center !important;
  gap: 2px;
}

.product-qr .vc-text strong,
.product-qr .vc-text span,
.product-qr .vc-text small {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-qr .vc-text strong {
  font-size: clamp(1rem, 2.1vw, 1.55rem);
}

.product-qr .vc-text span,
.product-qr .vc-text small {
  font-size: clamp(0.68rem, 1vw, 0.88rem);
}

.product-qr .vc-qr {
  left: 50% !important;
  top: 46% !important;
  right: auto !important;
  bottom: auto !important;
  width: clamp(108px, 23vw, 172px) !important;
  height: clamp(108px, 23vw, 172px) !important;
  border-width: 8px !important;
  border-radius: 18px;
  transform: translate(-50%, -50%) !important;
  background-size: 22px 22px, 22px 22px;
}

.product-qr .vc-mark {
  left: 50% !important;
  top: 22px !important;
  transform: translateX(-50%) !important;
}

.product-qr .vc-accent-line {
  left: 50% !important;
  top: 92px !important;
  width: 118px !important;
  height: 8px !important;
  transform: translateX(-50%) !important;
}

/* Product label template and designer flow */
.labels-page .vc-template-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.label-template-card .label-template-image-frame,
.label-preview-image-frame {
  aspect-ratio: 1.52 / 1;
  background: #f8fafc;
}

.labels-page .vc-template-image,
.label-preview-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.designer-card-face .product-label.vc-preview {
  width: min(580px, 94%);
  aspect-ratio: 1.52 / 1;
  min-height: auto;
  border-radius: 28px;
}

.product-label .vc-text {
  inset: auto 36px 38px !important;
  width: min(68%, 430px) !important;
  text-align: left !important;
  gap: 3px;
}

.product-label .vc-text strong,
.product-label .vc-text span,
.product-label .vc-text small {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-label .vc-text strong {
  font-size: clamp(1.15rem, 2vw, 1.85rem);
}

.product-label .vc-text span {
  font-size: clamp(0.84rem, 1.15vw, 1.08rem);
}

.product-label .vc-text small {
  font-size: clamp(0.68rem, 0.95vw, 0.82rem);
}

.product-label .vc-mark {
  left: 36px !important;
  top: 30px !important;
  transform: none !important;
}

.product-label .vc-accent-line {
  left: 36px !important;
  top: 104px !important;
  width: 136px !important;
  height: 8px !important;
  transform: none !important;
}

.product-label .vc-qr.label-barcode {
  left: auto !important;
  right: 36px !important;
  top: auto !important;
  bottom: 40px !important;
  width: 132px !important;
  height: 42px !important;
  border: 0 !important;
  border-radius: 6px;
  opacity: 0.92 !important;
  transform: none !important;
  background:
    repeating-linear-gradient(
      90deg,
      currentColor 0 3px,
      transparent 3px 7px,
      currentColor 7px 9px,
      transparent 9px 15px,
      currentColor 15px 20px,
      transparent 20px 25px
    ) !important;
  box-shadow: none !important;
}

@media (max-width: 620px) {
  .product-label .vc-text {
    inset: auto 22px 28px !important;
    width: calc(100% - 44px) !important;
  }

  .product-label .vc-qr.label-barcode {
    right: 22px !important;
    bottom: 22px !important;
    width: 94px !important;
    height: 30px !important;
  }
}
/* Final imported ID designer: keep the selected template image as the real base. */
.designer-card-face .vc-art.has-template-bg.product-id {
  padding: 0 !important;
  background: #ffffff !important;
  overflow: hidden;
}

.designer-card-face .vc-art.has-template-bg.product-id::before,
.designer-card-face .vc-art.has-template-bg.product-id::after {
  display: none !important;
}

.designer-card-face .vc-art.has-template-bg.product-id .designer-template-bg {
  z-index: 2;
  object-fit: cover;
}

.designer-card-face .vc-art.has-template-bg.product-id.zip-template-bg .designer-template-bg {
  object-fit: contain;
}

.designer-card-face .vc-art.has-template-bg.product-id .vc-mark,
.designer-card-face .vc-art.has-template-bg.product-id .vc-text,
.designer-card-face .vc-art.has-template-bg.product-id .vc-qr,
.designer-card-face .vc-art.has-template-bg.product-id .vc-accent-line {
  display: none !important;
}

.designer-card-face .vc-art.has-template-bg.product-id em {
  z-index: 4;
  right: 12px;
  bottom: 10px;
  background: rgba(255, 255, 255, 0.76);
  color: #111827;
}
.verified-reviews-section,.faq-section{padding:48px clamp(18px,4vw,64px)}
.verified-review-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}
.verified-review{padding:20px;border:1px solid rgba(15,118,110,.16);background:rgba(255,255,255,.78);box-shadow:0 12px 32px rgba(15,23,42,.07)}
.verified-review>img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;margin:0 0 16px;border-radius:6px;background:#eef4f8}
.verified-review div{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#0f766e}.verified-review p{color:#263445;line-height:1.6}.verified-review small,.review-empty{color:#64748b}
:focus-visible{outline:3px solid #1678e8!important;outline-offset:3px!important}button,a,input,select,textarea{scroll-margin:96px}@media(forced-colors:active){button,a,input,select,textarea{forced-color-adjust:auto}.product-card,.summary-panel,.form-band{border:1px solid CanvasText!important}}
.faq-list{display:grid;gap:10px;max-width:980px}.faq-list details{border:1px solid rgba(15,118,110,.16);background:rgba(255,255,255,.78);padding:16px 18px}.faq-list summary{cursor:pointer;font-weight:800;color:#102a43}.faq-list p{margin:12px 0 0;color:#4b6073;line-height:1.6}

:root{--ink:#102039;--muted:#53647a;--line:rgba(70,104,150,.2);--glass:rgba(255,255,255,.78);--blue:#275ee7;--cyan:#00a9c8;--green:#087f6d;--shadow:0 14px 38px rgba(28,62,105,.1),inset 0 1px 0 rgba(255,255,255,.95)}
html{background:#eef6fb;color-scheme:light}body{color:var(--ink)!important;background:linear-gradient(140deg,#eef7ff 0%,#fbfdff 38%,#f0fbf5 72%,#f7f4ff 100%) fixed!important}
body::before{content:none}
.commerce-header,.site-header,.top-header,.main-header,.nav-shell{background:rgba(248,252,255,.84)!important;border:1px solid rgba(255,255,255,.92)!important;border-bottom-color:var(--line)!important;box-shadow:0 10px 28px rgba(32,72,118,.08),inset 0 1px 0 #fff!important;backdrop-filter:blur(10px) saturate(135%)}
.form-band,.summary-panel,.result-panel,.product-card,.category-card,.service-card,.trust-card,.payment-sheet,.modal-content,.track-card,.profile-head,.profile-actions a{position:relative;background:linear-gradient(135deg,rgba(255,255,255,.9),rgba(244,249,255,.7))!important;border:1px solid rgba(255,255,255,.96)!important;outline:1px solid var(--line);box-shadow:var(--shadow)!important}
.form-band::before,.summary-panel::before,.product-card::before,.category-card::before{content:"";position:absolute;inset:0 0 auto;height:1px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.98),transparent);pointer-events:none}
.btn,.commerce-nav a,.language-switch,.nav-actions a,.nav-actions button{border:1px solid rgba(74,106,153,.24)!important;background:rgba(255,255,255,.88)!important;color:var(--ink)!important;box-shadow:0 7px 18px rgba(35,73,116,.08),inset 0 1px 0 #fff;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.btn:hover,.commerce-nav a:hover,.nav-actions a:hover{transform:translateY(-1px);border-color:rgba(39,94,231,.42)!important;box-shadow:0 10px 24px rgba(39,94,231,.13),inset 0 1px 0 #fff}
.btn.primary,.btn.success,.primary-btn,.cta-button{color:#fff!important;border-color:transparent!important;background:linear-gradient(115deg,var(--blue),#517bea 52%,var(--cyan))!important;box-shadow:0 10px 24px rgba(39,94,231,.22),inset 0 1px 0 rgba(255,255,255,.4)!important}.btn.success{background:linear-gradient(115deg,var(--green),#0c9c82)!important}.commerce-logo{object-fit:contain!important}
input,select,textarea{background:rgba(255,255,255,.92)!important;border-color:rgba(69,101,146,.28)!important;color:var(--ink)!important;box-shadow:inset 0 1px 2px rgba(16,32,57,.04)}input:focus,select:focus,textarea:focus{outline:2px solid rgba(39,94,231,.2);border-color:var(--blue)!important}
.status-box{background:rgba(235,244,255,.82)!important;color:#23446f!important;border-color:var(--blue)!important}.status-box.warning{background:rgba(255,247,232,.9)!important;color:#7a4610!important;border-color:#d97706!important}.hint,.muted{color:var(--muted)!important}
.preflight-checks{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:14px}.preflight-checks span{min-height:38px;display:grid;place-items:center;border:1px solid var(--line);background:rgba(255,255,255,.7);font-size:.75rem;font-weight:850}.preflight-checks span::before{content:"-";margin-right:5px}.preflight-checks .pass{color:#067647;background:#ecfdf5;border-color:#85d8bc}.preflight-checks .pass::before{content:"OK"}.preflight-checks .warn{color:#9a5200;background:#fff8e8;border-color:#f0c673}.preflight-checks .warn::before{content:"Check"}
.summary-panel .btn{display:flex;align-items:center;justify-content:center;margin-top:10px}.language-switch{min-height:42px;padding:8px 10px;border-radius:8px}.narrow{max-width:820px}.commerce-title h1{font-size:3rem!important;letter-spacing:0!important}.commerce-title p{max-width:720px;line-height:1.65}.payment-qr{box-shadow:var(--shadow)}
@media(max-width:700px){.commerce-title h1{font-size:2.1rem!important}.preflight-checks{grid-template-columns:1fr 1fr}body::before{display:none}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.company-footer{position:relative;margin-top:36px;padding:32px max(20px,calc((100vw - 1240px)/2));color:#172b47;background:rgba(244,249,253,.9);border-top:1px solid rgba(67,101,147,.2);box-shadow:inset 0 1px 0 #fff}.company-footer-inner{display:grid;grid-template-columns:1.15fr 1fr 1.2fr;gap:32px}.company-brand img{width:min(270px,100%);height:72px;object-fit:contain;object-position:left center}.company-footer h2{margin:8px 0 14px;font-size:1rem}.company-footer p,.company-footer address,.company-footer dd{color:#53647a;font-size:.84rem;line-height:1.65}.company-footer address{font-style:normal}.company-footer dl{margin:0}.company-footer dl div{display:grid;grid-template-columns:110px 1fr;gap:8px;padding:6px 0;border-bottom:1px solid rgba(67,101,147,.12)}.company-footer dt{font-size:.78rem;font-weight:850}.company-footer dd{margin:0}.company-actions,.footer-policy-links{display:flex;flex-wrap:wrap;gap:8px}.footer-policy-links{margin-top:12px}.company-actions a,.footer-policy-links a,.direction-link{display:inline-flex;min-height:38px;align-items:center;padding:8px 11px;border:1px solid rgba(67,101,147,.22);border-radius:8px;background:rgba(255,255,255,.8);color:#214fae;font-size:.78rem;font-weight:850;text-decoration:none}.footer-policy-links a{min-height:34px;padding:6px 9px}.legal-line{margin-top:18px}@media(max-width:800px){.company-footer-inner{grid-template-columns:1fr}.company-footer{padding:26px 20px}.company-brand img{width:220px;height:58px}}
.company-footer-inner>section:last-child{display:flex;min-width:0;flex-direction:column;align-items:flex-start}.company-footer-inner>section:last-child address{display:block;width:100%;margin:8px 0 16px;overflow-wrap:anywhere}.company-footer-inner>section:last-child .direction-link{position:static;inset:auto;flex:0 0 auto;margin:0}.company-footer-inner>section:last-child .legal-line{margin:16px 0 0}

:root {
  --bg: #f4f8ff;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-soft: rgba(245, 249, 255, 0.86);
  --ink: #111827;
  --muted: #566176;
  --line: rgba(111, 132, 174, 0.28);
  --primary: #315ee8;
  --primary-dark: #173bb8;
  --accent: #e65778;
  --glass-line: rgba(255, 255, 255, 0.72);
}

.skip-link {
  position: fixed;
  left: 14px;
  top: -64px;
  z-index: 2000;
  min-height: 44px;
  padding: 12px 16px;
  border-radius: 8px;
  background: #ffffff;
  color: #173bb8;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(25, 49, 105, 0.2);
}

.skip-link:focus {
  top: 14px;
}

body {
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(226, 244, 255, 0.94), rgba(247, 247, 255, 0.94) 34%, rgba(240, 255, 250, 0.92) 68%, rgba(255, 243, 246, 0.92)),
    #f5f8ff;
}

.site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.66);
  background: rgba(246, 249, 255, 0.72);
  box-shadow: 0 16px 44px rgba(46, 59, 111, 0.12);
  backdrop-filter: blur(18px) saturate(150%);
}

.service-strip {
  color: #fff;
  background: linear-gradient(100deg, #2456db 0%, #5d5fe9 42%, #8058d9 70%, #cf527f 100%);
}

.header-main {
  grid-template-columns: minmax(210px, 0.62fr) minmax(250px, 1fr) auto;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.26), transparent 42%),
    linear-gradient(105deg, #2458db 0%, #506bea 35%, #745fe6 67%, #c35691 100%);
}

.search-box input {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.62);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.16));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62), 0 12px 30px rgba(29, 39, 118, 0.13);
  backdrop-filter: blur(12px) saturate(140%);
}

.category-nav,
.proof-panel,
.trust-row span,
.hero-studio,
.hero-order-card,
.product-card,
.order-panel,
.summary-panel,
.workflow-grid article,
.drawer-card,
.upload-box,
.design-choice label,
.mobile-nav,
.vc-template-card,
.designer-sidebar,
.designer-stage,
.designer-toolbar {
  border-color: var(--glass-line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.58)),
    rgba(240, 247, 255, 0.64);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -1px 0 rgba(115, 135, 181, 0.08),
    0 20px 54px rgba(41, 56, 112, 0.13);
  backdrop-filter: blur(16px) saturate(145%);
}

.category-nav {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
}

.primary-action,
.cart-action {
  color: #fff;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.32), transparent 44%),
    linear-gradient(112deg, #2458db, #655de7 58%, #a755c7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 15px 34px rgba(49, 74, 190, 0.25);
}

.secondary-action,
.glass-action,
.icon-button {
  border-color: rgba(255, 255, 255, 0.78);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(232, 241, 255, 0.76));
  color: #2347bd;
  box-shadow: inset 0 1px 0 #fff, 0 12px 28px rgba(37, 58, 120, 0.12);
}

.summary-head,
.bulk-section {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.23), transparent 42%),
    linear-gradient(112deg, #2458db 0%, #5a62e6 48%, #b44f9a 100%);
}

.product-card:nth-child(4n + 1) { border-color: rgba(57, 126, 231, 0.3); }
.product-card:nth-child(4n + 2) { border-color: rgba(35, 170, 154, 0.32); }
.product-card:nth-child(4n + 3) { border-color: rgba(226, 87, 120, 0.3); }
.product-card:nth-child(4n) { border-color: rgba(132, 82, 204, 0.3); }

.product-visual.image-thumb {
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(234, 242, 255, 0.72));
}

.product-visual.image-thumb img,
.mockup-stage img {
  display: block;
  max-width: 100%;
  height: auto;
}

.catalog-section,
.builder-section,
.workflow-section,
.bulk-section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 800px;
}

.product-card,
.vc-template-card,
.company-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 320px;
}

#cartButton {
  flex: 0 0 46px;
  width: 46px;
  min-width: 46px;
  height: 46px;
  min-height: 46px;
  overflow: hidden;
}

#cartButton svg {
  width: 19px;
  height: 19px;
}

#cartCount {
  top: 3px;
  right: 3px;
  min-width: 17px;
  height: 17px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  background: #e65778;
  padding: 0 3px;
  font-size: 0.61rem;
  line-height: 1;
}

.header-actions {
  min-width: 0;
  max-width: 100%;
}

.drawer-card {
  width: min(420px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 32px);
  border-radius: 18px;
}

.drawer-head .icon-button { flex: 0 0 44px; }

@media (max-width: 1240px) {
  .header-actions .utility-link { display: none; }
}

@media (max-width: 1400px) {
  .header-actions .header-contact-link { display: none; }

  .header-main,
  .vc-header .header-main {
    padding-inline: clamp(18px, 2.4vw, 34px);
  }
}

@media (max-width: 900px) {
  .header-main,
  .vc-header .header-main {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .search-box {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    min-width: 0;
  }

  .header-actions {
    justify-content: flex-end;
    overflow: visible;
  }
}

@media (max-width: 820px) {
  .hero-section,
  .catalog-section,
  .builder-section,
  .workflow-section,
  .bulk-section {
    width: min(100% - 24px, 720px);
    max-width: none;
  }

  .header-main,
  .vc-header .header-main {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .header-actions {
    width: auto;
    overflow: visible;
  }

  .header-actions .primary-action { display: none; }

  .mobile-nav {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 520px) {
  .service-strip {
    gap: 24px;
    padding-inline: 14px;
  }

  .service-strip span:nth-child(n + 3) { display: none; }
  .header-main { padding-inline: 12px; }

  .drawer-card {
    width: 100%;
    max-width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
  }
}

@media (max-width: 650px) {
  .hero-copy h1 {
    font-size: clamp(2rem, 8vw, 2.65rem);
    line-height: 1.03;
  }

  .mobile-nav {
    padding-bottom: max(8px, env(safe-area-inset-bottom));
  }
}

/* Keep the compact catalogue action from colliding with cart/order controls. */
.header-actions .card-catalog-action,
.header-actions .primary-action {
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (max-width: 1050px) {
  .header-actions .primary-action {
    display: none;
  }
}

body.payment-open {
  overflow: hidden;
}

.payment-sheet {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 18px;
}

.payment-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 24, 50, 0.48);
  backdrop-filter: blur(10px) saturate(125%);
}

.payment-dialog {
  position: relative;
  display: grid;
  width: min(510px, calc(100vw - 36px));
  max-height: calc(100dvh - 36px);
  gap: 16px;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(237, 244, 255, 0.87)),
    rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 #fff, 0 34px 90px rgba(18, 26, 76, 0.3);
  padding: clamp(18px, 3vw, 26px);
  backdrop-filter: blur(24px) saturate(160%);
}

.payment-dialog-head,
.payment-total-row,
.payment-brand-line,
.payment-security-row {
  display: flex;
  align-items: center;
}

.payment-dialog-head {
  justify-content: space-between;
  gap: 16px;
}

.payment-dialog-head span {
  color: #315ee8;
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.payment-dialog-head h2 {
  margin: 4px 0 0;
  color: #111827;
  font-size: clamp(1.32rem, 4vw, 1.75rem);
  line-height: 1.12;
}

.payment-total-row {
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(80, 102, 170, 0.16);
  border-radius: 12px;
  background: rgba(239, 245, 255, 0.75);
  padding: 13px 15px;
}

.payment-total-row span {
  min-width: 0;
  overflow: hidden;
  color: #59657a;
  font-size: 0.86rem;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.payment-total-row strong {
  flex: 0 0 auto;
  color: #173bb8;
  font-size: 1.22rem;
}

.payment-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 5px;
  border: 1px solid rgba(80, 102, 170, 0.16);
  border-radius: 12px;
  background: rgba(226, 235, 250, 0.7);
  padding: 5px;
}

.payment-tabs button {
  min-width: 0;
  min-height: 44px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #59657a;
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 900;
}

.payment-tabs button.active {
  background: rgba(255, 255, 255, 0.96);
  color: #173bb8;
  box-shadow: 0 8px 20px rgba(35, 55, 120, 0.12);
}

.payment-panel {
  display: grid;
  gap: 13px;
}

.payment-panel p,
.payment-panel small {
  margin: 0;
  color: #59657a;
  line-height: 1.5;
}

.payment-brand-line {
  gap: 12px;
}

.payment-brand-line strong,
.payment-brand-line small {
  display: block;
}

.payment-brand-line strong {
  color: #111827;
  font-size: 1.08rem;
}

.payment-brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, #315ee8, #725ee4);
  color: #fff;
  font-size: 1.18rem;
  font-weight: 950;
  box-shadow: 0 12px 25px rgba(49, 94, 232, 0.24);
}

.wallet-topup-trigger {
  display: inline-flex;
  min-height: 52px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 1px solid rgba(49, 94, 232, 0.22);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(229, 238, 255, 0.82));
  box-shadow: inset 0 1px 0 #fff, 0 10px 24px rgba(35, 55, 120, 0.12);
  color: #173bb8;
  padding: 5px 13px;
  cursor: pointer;
  font: inherit;
  white-space: nowrap;
}

.wallet-topup-trigger:hover {
  border-color: rgba(49, 94, 232, 0.42);
  background: #fff;
  transform: translateY(-1px);
}

.wallet-button-main {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.wallet-button-main span,
.wallet-button-main strong {
  font-size: 0.82rem;
  font-weight: 900;
}

.wallet-button-main strong {
  color: #111827;
}

.wallet-offer-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: #e52f62;
  box-shadow: 0 5px 12px rgba(229, 47, 98, 0.25);
  color: #fff;
  padding: 2px 7px;
  font-size: 0.62rem;
  font-weight: 950;
  line-height: 1.1;
}

.wallet-brand-mark {
  background: linear-gradient(145deg, #173bb8, #0f9f91);
}

.wallet-credit-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(15, 159, 145, 0.26);
  border-radius: 12px;
  background: rgba(231, 250, 247, 0.88);
  padding: 13px 15px;
}

.wallet-credit-box span {
  color: #4f5c73;
  font-size: 0.8rem;
  font-weight: 850;
}

.wallet-credit-box strong {
  color: #08766f;
  font-size: 1.2rem;
}

.wallet-offer-pop {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(229, 47, 98, 0.2);
  border-radius: 10px;
  background: rgba(255, 238, 244, 0.9);
  padding: 10px 12px;
}

.wallet-offer-pop strong {
  flex: 0 0 auto;
  border-radius: 5px;
  background: #e52f62;
  color: #fff;
  padding: 5px 8px;
  font-size: 0.78rem;
}

.wallet-offer-pop span {
  color: #6f2440;
  font-size: 0.8rem;
  font-weight: 850;
}

.wallet-payment-embed {
  display: grid;
  min-height: 54px;
  place-items: center;
  border: 1px solid rgba(49, 94, 232, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.84);
  padding: 10px;
}

.wallet-payment-embed form {
  display: grid;
  width: 100%;
  place-items: center;
}

.wallet-payment-embed .razorpay-payment-button {
  display: block !important;
  width: 100% !important;
}

.wallet-payment-embed .PaymentButton,
.wallet-payment-embed input[type="submit"],
.wallet-payment-embed button {
  display: flex !important;
  width: 100% !important;
  min-height: 48px !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: linear-gradient(135deg, #315ee8, #173bb8) !important;
  box-shadow: 0 14px 28px rgba(49, 94, 232, 0.22) !important;
  color: #fff !important;
  cursor: pointer !important;
  font: inherit !important;
  font-weight: 900 !important;
}

.wallet-verification-note {
  border-radius: 9px;
  background: rgba(255, 248, 225, 0.9);
  color: #73510d !important;
  padding: 10px 12px;
  text-align: center;
}

.product-card {
  align-content: start;
  gap: 12px;
  cursor: default;
}

.product-card h3 {
  margin-top: 0;
}

.product-design-badge,
.design-capability-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: max-content;
  min-height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 7px;
  background: #d51f36;
  box-shadow: 0 5px 12px rgba(178, 20, 43, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.38);
  padding: 6px 10px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
}

.product-design-badge {
  position: absolute;
  z-index: 3;
  top: 10px;
  left: 10px;
  text-decoration: none;
}

.product-design-badge:hover,
.product-design-badge:focus-visible {
  background: #ad1428;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.category-nav .design-nav-link,
.header-actions .design-nav-link {
  display: inline-grid;
  justify-items: center;
  align-content: center;
  gap: 3px;
  padding-block: 5px;
}

.design-nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-height: 18px;
  padding: 2px 7px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 4px;
  background: #d51f36;
  box-shadow: 0 3px 7px rgba(178, 20, 43, 0.18);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.product-design-badge > span,
.design-capability-badge > span {
  font-size: 1rem;
  line-height: 0.8;
}

.vc-product-copy > .design-capability-badge {
  color: #fff;
  text-shadow: 0 1px 2px rgba(17, 31, 76, 0.28);
}

.product-card-copy {
  min-height: 92px;
}

.product-card .product-meta {
  margin-top: auto;
}

.product-card .product-meta > span:first-child {
  display: grid;
  gap: 2px;
}

.product-card .product-meta strong {
  color: #111827;
  font-size: 1rem;
}

.product-card-order {
  display: grid;
  grid-template-columns: minmax(66px, 0.7fr) minmax(70px, 0.8fr) minmax(96px, 1.15fr);
  gap: 7px;
  align-items: end;
}

.product-card-order label {
  display: grid;
  gap: 4px;
  color: #59657a;
  font-size: 0.7rem;
  font-weight: 900;
}

.product-card-order input,
.product-card-order button {
  width: 100%;
  min-width: 0;
  min-height: 42px;
}

.product-card-order input {
  border: 1px solid rgba(80, 102, 170, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  padding: 0 8px;
  font: inherit;
  font-weight: 850;
}

.product-card-order button {
  padding: 0 8px;
  font-size: 0.76rem;
}

.cart-item-head,
.cart-item-detail,
.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cart-item-head > strong:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-item-detail {
  margin-top: 9px;
  border-radius: 8px;
  background: rgba(239, 245, 255, 0.8);
  padding: 8px 10px;
  color: #59657a;
  font-size: 0.8rem;
}

.cart-item-detail strong {
  color: #173bb8;
}

.cart-remove-button {
  min-height: 34px;
  margin-top: 9px;
  border: 1px solid rgba(229, 47, 98, 0.2);
  border-radius: 7px;
  background: rgba(255, 238, 244, 0.86);
  color: #a51f49;
  padding: 0 11px;
  cursor: pointer;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 900;
}

.cart-total-row {
  border-top: 1px solid rgba(80, 102, 170, 0.16);
  padding: 14px 2px 2px;
  color: #59657a;
  font-weight: 850;
}

.cart-total-row strong {
  color: #173bb8;
  font-size: 1.22rem;
}

.shared-cart-trigger {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 0 11px;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
}

.shared-cart-trigger strong {
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 6px;
  background: #e52f62;
  padding-inline: 4px;
  color: #fff;
  font-size: 0.68rem;
}

.shared-add-cart,
.wallet-payment-shortcut {
  width: 100%;
}

.wallet-payment-shortcut {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(15, 159, 145, 0.25);
  border-radius: 9px;
  background: linear-gradient(145deg, rgba(238, 255, 252, 0.98), rgba(220, 245, 255, 0.9));
  box-shadow: inset 0 1px 0 #fff, 0 10px 22px rgba(35, 55, 120, 0.1);
  color: #08766f;
  padding: 0 12px;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
}

.wallet-payment-shortcut strong {
  border-radius: 5px;
  background: #e52f62;
  color: #fff;
  padding: 3px 7px;
  font-size: 0.66rem;
}

.wallet-payment-shortcut.compact {
  width: auto;
  min-height: 44px;
  white-space: nowrap;
}

.template-actions .wallet-payment-shortcut {
  grid-column: 1 / -1;
}

.shared-cart-drawer .drawer-card {
  grid-template-rows: auto minmax(0, 1fr) auto auto auto;
  gap: 10px;
}

.razorpay-amount-box,
.upi-amount-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(49, 94, 232, 0.22);
  border-radius: 12px;
  background: rgba(235, 241, 255, 0.88);
  padding: 13px 15px;
}

.razorpay-amount-box span,
.upi-amount-banner span {
  color: #4f5c73;
  font-size: 0.8rem;
  font-weight: 850;
}

.razorpay-amount-box strong,
.upi-amount-banner strong {
  flex: 0 0 auto;
  color: #173bb8;
  font-size: 1.2rem;
}

.upi-qr-frame {
  display: grid;
  width: min(260px, 76vw);
  aspect-ratio: 1;
  place-items: center;
  justify-self: center;
  overflow: hidden;
  border: 1px solid rgba(80, 102, 170, 0.18);
  border-radius: 16px;
  background: #fff;
  padding: 12px;
  box-shadow: 0 16px 35px rgba(35, 55, 120, 0.12);
}

.upi-qr-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.upi-qr-empty {
  display: grid;
  max-width: 190px;
  gap: 8px;
  color: #59657a;
  text-align: center;
}

.upi-qr-empty strong {
  color: #173bb8;
  font-size: 1.35rem;
}

.upi-payee {
  color: #111827;
  text-align: center;
}

.upi-qr-id {
  color: #173bb8 !important;
  font-weight: 900;
  text-align: center;
}

.upi-poster-details {
  border: 1px solid rgba(80, 102, 170, 0.18);
  border-radius: 12px;
  background: rgba(248, 250, 255, 0.9);
  overflow: hidden;
}

.upi-poster-details summary {
  min-height: 44px;
  padding: 12px 14px;
  color: #173bb8;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 900;
}

.upi-poster-details img {
  display: block;
  width: min(300px, calc(100% - 28px));
  height: auto;
  margin: 0 auto 10px;
  border-radius: 8px;
}

.upi-poster-details small {
  display: block;
  padding: 0 14px 14px;
  text-align: center;
}

.upi-id-box {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(80, 102, 170, 0.18);
  border-radius: 12px;
  background: rgba(239, 245, 255, 0.78);
  padding: 15px;
}

.upi-id-box span {
  color: #59657a;
  font-size: 0.76rem;
  font-weight: 900;
}

.upi-id-box strong {
  max-width: 100%;
  overflow-wrap: anywhere;
  color: #173bb8;
  font-size: 1.08rem;
}

.payment-panel button:disabled {
  cursor: not-allowed;
  filter: grayscale(0.7);
  opacity: 0.48;
  box-shadow: none;
}

.payment-config-note {
  text-align: center;
}

.payment-feedback {
  min-height: 20px;
  margin: 0;
  color: #08766f;
  font-size: 0.82rem;
  font-weight: 850;
  text-align: center;
}

.payment-security-row {
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid rgba(80, 102, 170, 0.14);
  padding-top: 14px;
}

.payment-security-row span {
  color: #657086;
  font-size: 0.69rem;
  font-weight: 850;
  text-align: center;
}

@media (max-width: 520px) {
  .payment-sheet {
    align-items: end;
    padding: 0;
  }

  .payment-dialog {
    width: 100%;
    max-height: calc(100dvh - 12px);
    border-radius: 22px 22px 0 0;
    padding: 18px 14px max(18px, env(safe-area-inset-bottom));
  }

  .payment-tabs button {
    min-height: 40px;
    font-size: 0.7rem;
  }

  .payment-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .wallet-topup-trigger {
    min-height: 50px;
    padding-inline: 11px;
  }

  .product-card-order {
    grid-template-columns: 70px 1fr;
  }

  .product-card-order [data-card-add] {
    grid-column: 1 / -1;
  }

  .wallet-payment-shortcut.compact span {
    display: none;
  }

  .payment-security-row span {
    font-size: 0.62rem;
  }
}

/* Direct lanyard and holder customizer */
.accessory-customizer {
  display: grid;
  width: min(1480px, calc(100% - 48px));
  grid-template-columns: minmax(0, 1.28fr) minmax(360px, 0.72fr);
  gap: 22px;
  align-items: start;
  margin: 24px auto 72px;
}

.accessory-editor-stage,
.accessory-control-panel {
  border: 1px solid rgba(76, 98, 173, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 50px rgba(30, 53, 124, 0.1), inset 0 1px 0 #fff;
}

.accessory-editor-stage {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 18px;
  min-width: 0;
  padding: clamp(18px, 3vw, 34px);
}

.accessory-editor-head {
  display: grid;
  gap: 6px;
}

.accessory-editor-head > span,
.accessory-control-label {
  color: #315ee8;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.accessory-editor-head h2 {
  margin: 0;
  color: #101629;
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  letter-spacing: 0;
}

.accessory-editor-head p {
  max-width: 62ch;
  margin: 0;
  color: #5b6578;
  line-height: 1.55;
}

.accessory-control-panel {
  top: 92px;
  gap: 16px;
  padding: 20px;
}

@media (min-width: 981px) {
  .accessory-control-panel {
    max-height: calc(100dvh - 116px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: rgba(49, 94, 232, 0.55) transparent;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
  }

  .accessory-control-panel::-webkit-scrollbar {
    width: 8px;
  }

  .accessory-control-panel::-webkit-scrollbar-track {
    background: transparent;
  }

  .accessory-control-panel::-webkit-scrollbar-thumb {
    border: 2px solid transparent;
    border-radius: 8px;
    background: rgba(49, 94, 232, 0.5);
    background-clip: padding-box;
  }

  .accessory-control-panel::-webkit-scrollbar-thumb:hover {
    background: rgba(49, 94, 232, 0.72);
    background-clip: padding-box;
  }
}

.accessory-control-section {
  display: grid;
  gap: 10px;
}

.accessory-size-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.accessory-size-option {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 68px;
  align-content: center;
  gap: 4px;
  border: 1px solid rgba(76, 98, 173, 0.2);
  border-radius: 7px;
  background: rgba(248, 250, 255, 0.92);
  padding: 10px;
  color: #151b2d;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.accessory-size-option:hover,
.accessory-size-option.active {
  border-color: #315ee8;
  background: #f2f6ff;
  box-shadow: inset 0 0 0 1px #315ee8, 0 8px 18px rgba(49, 94, 232, 0.1);
}

.accessory-size-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.accessory-size-option strong,
.accessory-size-option span {
  min-width: 0;
  overflow-wrap: anywhere;
  letter-spacing: 0;
}

.accessory-size-option strong {
  font-size: 0.8rem;
}

.accessory-size-option span {
  color: #667085;
  font-size: 0.67rem;
  font-weight: 800;
}

.accessory-color-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(76px, 1fr));
  gap: 7px;
}

.accessory-color-option {
  display: grid;
  min-width: 0;
  min-height: 62px;
  place-items: center;
  gap: 5px;
  border: 1px solid rgba(76, 98, 173, 0.16);
  border-radius: 7px;
  background: rgba(250, 251, 255, 0.94);
  padding: 7px 5px;
  color: #273044;
  cursor: pointer;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.accessory-color-option:hover {
  transform: translateY(-1px);
}

.accessory-color-option.active {
  border-color: #315ee8;
  box-shadow: inset 0 0 0 1px #315ee8, 0 7px 16px rgba(49, 94, 232, 0.12);
}

.accessory-color-option > span {
  width: 26px;
  height: 26px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.48);
}

.accessory-color-option small {
  width: 100%;
  overflow: hidden;
  font-size: 0.62rem;
  font-weight: 850;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.accessory-custom-color {
  display: grid;
  grid-template-columns: minmax(110px, 0.72fr) minmax(0, 1.28fr);
  gap: 8px;
}

.accessory-custom-color label {
  display: grid;
  min-width: 0;
  gap: 6px;
  color: #596174;
  font-size: 0.7rem;
  font-weight: 900;
}

.accessory-custom-color input[type="color"] {
  width: 100%;
  height: 45px;
  border: 1px solid rgba(76, 98, 173, 0.22);
  border-radius: 7px;
  background: #fff;
  padding: 4px;
  cursor: pointer;
}

.accessory-custom-color input[type="color"]::-webkit-color-swatch {
  border: 0;
  border-radius: 4px;
}

.accessory-text-color {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 8px;
}

.accessory-text-color > label:first-child {
  display: grid;
  min-width: 0;
  gap: 6px;
  color: #596174;
  font-size: 0.7rem;
  font-weight: 900;
}

.accessory-text-color-input {
  display: grid;
  min-height: 45px;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(76, 98, 173, 0.22);
  border-radius: 7px;
  background: #fff;
  padding: 4px 10px 4px 4px;
}

.accessory-text-color-input input[type="color"] {
  width: 54px;
  height: 35px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.accessory-text-color-input input[type="color"]::-webkit-color-swatch {
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: 4px;
}

.accessory-text-color-input output {
  color: #273044;
  font-size: 0.72rem;
  font-weight: 900;
}

.accessory-text-color-auto {
  display: flex;
  min-height: 45px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(76, 98, 173, 0.2);
  border-radius: 7px;
  background: #f8faff;
  padding: 8px 10px;
  color: #273044;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 900;
}

.accessory-text-color-auto input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #315ee8;
}

.accessory-details-grid label:nth-child(-n + 4) {
  grid-column: auto;
}

.accessory-details-grid label:nth-child(-n + 2) {
  grid-column: 1 / -1;
}

.accessory-details-grid > .accessory-wide-field {
  grid-column: 1 / -1;
}

.accessory-company-field {
  display: grid;
  min-width: 0;
  gap: 7px;
}

.accessory-company-field > label {
  color: #596174;
  font-size: 0.78rem;
  font-weight: 900;
}

.accessory-company-tools {
  display: grid;
  grid-template-columns: minmax(120px, 0.72fr) minmax(180px, 1.28fr);
  gap: 8px;
  align-items: end;
}

.accessory-fit-toggle {
  display: flex !important;
  min-height: 46px;
  grid-column: auto !important;
  flex-direction: row;
  align-items: center;
  gap: 9px !important;
  border: 1px solid rgba(76, 98, 173, 0.2);
  border-radius: 7px;
  background: #f8faff;
  padding: 9px 11px;
  cursor: pointer;
}

.accessory-fit-toggle input {
  position: relative;
  width: 38px;
  height: 22px;
  flex: 0 0 auto;
  appearance: none;
  border: 1px solid #aab4c8;
  border-radius: 999px;
  background: #dce2ed;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}

.accessory-fit-toggle input::after {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 5px rgba(16, 24, 40, 0.22);
  content: "";
  transition: transform 160ms ease;
}

.accessory-fit-toggle input:checked {
  border-color: #315ee8;
  background: #315ee8;
}

.accessory-fit-toggle input:checked::after {
  transform: translateX(16px);
}

.accessory-fit-toggle span {
  color: #273044;
  font-size: 0.7rem;
  font-weight: 900;
}

.accessory-repeat-field {
  display: grid;
  min-width: 0;
  gap: 5px;
  margin: 0;
  border: 0;
  padding: 0;
}

.accessory-repeat-field[hidden] {
  display: none;
}

.accessory-repeat-field legend {
  padding: 0;
  color: #596174;
  font-size: 0.68rem;
  font-weight: 900;
}

.accessory-repeat-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  border: 1px solid rgba(76, 98, 173, 0.2);
  border-radius: 7px;
  background: #f3f6fc;
  padding: 4px;
}

.accessory-repeat-options label {
  position: relative;
  display: block !important;
  grid-column: auto !important;
  cursor: pointer;
}

.accessory-repeat-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.accessory-repeat-options span {
  display: grid;
  min-height: 36px;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 5px;
  color: #4e596e;
  font-size: 0.74rem;
  font-weight: 950;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.accessory-repeat-options input:checked + span {
  border-color: rgba(49, 94, 232, 0.18);
  background: #fff;
  color: #2452d4;
  box-shadow: 0 3px 10px rgba(49, 94, 232, 0.12);
}

.accessory-details-grid label > small {
  justify-self: end;
  color: #315ee8;
  font-size: 0.62rem;
  font-weight: 900;
}

.accessory-details-grid output {
  justify-self: end;
  color: #315ee8;
  font-size: 0.68rem;
}

.accessory-details-grid input[type="range"] {
  width: 100%;
  accent-color: #315ee8;
}

.custom-accessory-preview {
  display: grid;
  min-height: 390px;
  align-content: center;
  gap: 20px;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(78, 103, 183, 0.14);
  border-radius: 8px;
  background: #f8faff;
  padding: clamp(18px, 4vw, 38px);
}

.lanyard-editor-ruler {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 10px;
  color: #657086;
  font-size: 0.7rem;
  font-weight: 850;
}

.lanyard-editor-ruler::before,
.lanyard-editor-ruler::after {
  height: 1px;
  flex: 1;
  background: rgba(74, 98, 170, 0.28);
  content: "";
}

.lanyard-strip-space {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 128px;
  align-items: center;
  justify-content: center;
  padding-right: 42px;
}

.lanyard-print-strip {
  position: relative;
  display: flex;
  width: var(--strip-length);
  max-width: 100%;
  height: var(--strip-height);
  align-items: center;
  overflow: visible;
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: 3px;
  background: var(--strip-color);
  color: var(--strip-text);
  box-shadow: 0 16px 28px rgba(31, 42, 72, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.lanyard-artwork-layer {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  border-radius: inherit;
  clip-path: inset(0 round 3px);
}

.lanyard-print-content {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  padding-inline: 4px;
}

.lanyard-print-content[data-content-mode="logo"] { justify-content: space-evenly; }
.accessory-content-options { display:flex; flex-wrap:wrap; gap:8px; border:1px solid #cbd5e1; border-radius:6px; margin:0; padding:12px; }
.accessory-content-options legend { font-weight:800; padding:0 5px; color:#263550; }
.accessory-content-options label { display:flex; align-items:center; gap:6px; min-height:40px; padding:8px; background:#fff; border:1px solid #dbe2eb; border-radius:5px; cursor:pointer; font-size:14px; }
.accessory-content-options label:has(input:checked) { border-color:#315ee8; background:#eef3ff; }
.accessory-content-options input { accent-color:#315ee8; width:16px; height:16px; }
.accessory-content-options[hidden] { display:none; }

.accessory-artwork-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  border: 1px solid rgba(49, 94, 232, 0.14);
  border-radius: 7px;
  background: rgba(247, 250, 255, 0.82);
  padding: 12px;
}

.accessory-artwork-controls > .accessory-wide-field,
.accessory-artwork-quality {
  grid-column: 1 / -1;
}

.accessory-artwork-quality {
  min-width: 0;
  margin: 0;
  border-left: 3px solid #8090aa;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.92);
  padding: 8px 10px;
  color: #526078;
  font-size: 0.68rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.accessory-artwork-quality[data-quality="good"] { border-left-color: #059669; color: #066b4e; }
.accessory-artwork-quality[data-quality="fair"] { border-left-color: #d69013; color: #855708; }
.accessory-artwork-quality[data-quality="low"] { border-left-color: #dc3545; color: #a01f2d; }

.accessory-manual-controls {
  display: grid;
  min-width: 0;
  gap: 12px;
  margin: 0;
  border: 1px solid rgba(49, 94, 232, 0.18);
  border-radius: 7px;
  background: rgba(246, 250, 255, 0.86);
  padding: 12px;
}

.accessory-manual-controls[hidden] {
  display: none;
}

.accessory-manual-controls legend {
  padding: 0 6px;
  color: #233eb2;
  font-size: 0.78rem;
  font-weight: 900;
}

.accessory-manual-controls > p {
  margin: 0;
  color: #5b6578;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.5;
}

.accessory-manual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.accessory-manual-grid label {
  display: grid;
  min-width: 0;
  grid-template-columns: 1fr auto;
  gap: 5px 8px;
  align-items: center;
  color: #263550;
  font-size: 0.72rem;
  font-weight: 850;
}

.accessory-manual-grid output {
  color: #315ee8;
  font-variant-numeric: tabular-nums;
}

.accessory-manual-grid input[type="range"] {
  width: 100%;
  grid-column: 1 / -1;
  accent-color: #315ee8;
}

.accessory-manual-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.accessory-manual-actions .secondary-action {
  min-height: 40px;
}

.lanyard-print-unit {
  display: flex;
  min-width: 0;
  flex: 1 0 0;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 0.65vw, 8px);
  overflow: visible;
  padding: 0 clamp(3px, 0.7vw, 8px);
}

.lanyard-boundary-logo {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  margin-inline: clamp(3px, 0.45vw, 6px);
  cursor: grab;
  touch-action: none;
  transform-origin: center;
  will-change: transform;
}

.lanyard-transform-object {
  position: relative;
  isolation: isolate;
  margin: 0;
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  font: inherit;
  outline: none;
  cursor: grab;
  touch-action: none;
  transform-origin: center;
  user-select: none;
  will-change: transform;
}

.lanyard-text-object {
  display: inline-grid;
  width: max-content;
  min-width: max-content;
  flex: 0 0 auto;
  max-width: none;
  place-items: center;
}

.lanyard-transform-object.is-dragging,
.lanyard-transform-object.is-transforming {
  z-index: 8;
  cursor: grabbing;
}

.lanyard-transform-object:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

.lanyard-transform-ui {
  position: absolute;
  z-index: 10;
  inset: -3px;
  border: 1px solid #0b73ff;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.9);
  opacity: 0;
  pointer-events: none;
}

.lanyard-transform-object.is-selected .lanyard-transform-ui,
.lanyard-transform-object.is-transforming .lanyard-transform-ui {
  opacity: 1;
}

.lanyard-transform-handle,
.lanyard-transform-rotate {
  position: absolute;
  display: block;
  box-sizing: border-box;
  width: 8px;
  height: 8px;
  border: 1px solid #0b73ff;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(16, 44, 105, 0.32);
  opacity: 0;
  pointer-events: none;
  touch-action: none;
}

.lanyard-transform-object.is-selected .lanyard-transform-handle,
.lanyard-transform-object.is-selected .lanyard-transform-rotate,
.lanyard-transform-object.is-transforming .lanyard-transform-handle,
.lanyard-transform-object.is-transforming .lanyard-transform-rotate {
  opacity: 1;
  pointer-events: auto;
}

.lanyard-transform-handle.is-nw { top: 0; left: 0; cursor: nwse-resize; transform: translate(-50%, -50%); }
.lanyard-transform-handle.is-n { top: 0; left: 50%; cursor: ns-resize; transform: translate(-50%, -50%); }
.lanyard-transform-handle.is-ne { top: 0; right: 0; cursor: nesw-resize; transform: translate(50%, -50%); }
.lanyard-transform-handle.is-e { top: 50%; right: 0; cursor: ew-resize; transform: translate(50%, -50%); }
.lanyard-transform-handle.is-se { right: 0; bottom: 0; cursor: nwse-resize; transform: translate(50%, 50%); }
.lanyard-transform-handle.is-s { bottom: 0; left: 50%; cursor: ns-resize; transform: translate(-50%, 50%); }
.lanyard-transform-handle.is-sw { bottom: 0; left: 0; cursor: nesw-resize; transform: translate(-50%, 50%); }
.lanyard-transform-handle.is-w { top: 50%; left: 0; cursor: ew-resize; transform: translate(-50%, -50%); }

.lanyard-transform-rotate {
  top: 50%;
  right: -21px;
  left: auto;
  width: 12px;
  height: 12px;
  border-width: 2px;
  border-left-color: transparent;
  border-radius: 50%;
  cursor: grab;
  transform: translateY(-50%);
}

.lanyard-transform-rotate::before {
  pointer-events: none;
  position: absolute;
  top: 4px;
  left: -10px;
  width: 9px;
  height: 1px;
  background: #0b73ff;
  content: "";
}

.lanyard-transform-rotate::after {
  pointer-events: none;
  position: absolute;
  top: -2px;
  left: -2px;
  width: 4px;
  height: 4px;
  border-top: 2px solid #0b73ff;
  border-left: 2px solid #0b73ff;
  content: "";
  transform: rotate(-20deg);
}

.lanyard-boundary-logo img,
.lanyard-logo-placeholder {
  flex: 0 0 auto;
  max-width: none;
  max-height: none;
  user-select: none;
}

.lanyard-logo-placeholder {
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 3px;
  color: var(--strip-contrast);
  font-size: 0.42rem;
  font-weight: 950;
}

.lanyard-print-unit b {
  display: inline-block;
  width: max-content;
  min-width: max-content;
  max-width: none;
  overflow: visible;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
  text-overflow: clip;
  pointer-events: none;
  transform-origin: center;
  user-select: none;
  will-change: transform;
  white-space: nowrap;
}

.lanyard-width-label {
  position: absolute;
  right: 0;
  display: grid;
  height: var(--strip-height);
  min-height: 38px;
  place-items: center;
  color: #5e687c;
  font-size: 0.66rem;
  font-weight: 900;
  writing-mode: vertical-rl;
}

.accessory-preview-meta {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.accessory-preview-meta > * {
  max-width: 100%;
  border: 1px solid rgba(76, 98, 173, 0.16);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.9);
  padding: 6px 9px;
  color: #596174;
  font-size: 0.68rem;
  font-weight: 820;
  overflow-wrap: anywhere;
}

.accessory-preview-meta strong {
  color: #173bb8;
}

.custom-holder-shell {
  --holder-color: #2458db;
  --holder-text: #fff;
  position: relative;
  display: grid;
  width: min(260px, 72vw);
  aspect-ratio: 0.67;
  justify-self: center;
  place-items: center;
  border: 10px solid var(--holder-color);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 22px 38px rgba(31, 42, 72, 0.2);
}

.custom-holder-shell.horizontal {
  width: min(360px, 82vw);
  aspect-ratio: 1.58;
}

.custom-holder-slot {
  position: absolute;
  top: -6px;
  width: 48px;
  height: 8px;
  border-radius: 5px;
  background: #151b2d;
}

.custom-holder-card {
  display: grid;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  min-width: 0;
  place-items: center;
  align-content: center;
  gap: 10px;
  overflow: hidden;
  background: var(--holder-color);
  padding: 16px;
  color: var(--holder-text);
  text-align: center;
}

.custom-holder-card img,
.holder-logo-placeholder {
  max-width: 38%;
  object-fit: contain;
}

.holder-logo-placeholder {
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 5px;
  font-weight: 950;
}

.custom-holder-card strong {
  width: 100%;
  max-width: 100%;
  color: var(--holder-text);
  overflow-wrap: anywhere;
  line-height: 1.1;
}

.custom-holder-card img,
.custom-holder-card .holder-logo-placeholder,
.custom-holder-card small {
  color: var(--holder-contrast);
}

.custom-holder-card small {
  font-weight: 850;
  opacity: 0.72;
}

@media (max-width: 980px) {
  .accessory-customizer {
    width: min(calc(100% - 28px), 760px);
    grid-template-columns: 1fr;
  }

  .accessory-editor-stage,
  .accessory-control-panel {
    position: static;
  }
}

@media (max-width: 560px) {
  .accessory-customizer {
    width: calc(100% - 20px);
    gap: 12px;
    margin-top: 14px;
  }

  .accessory-editor-stage,
  .accessory-control-panel {
    padding: 14px;
  }

  .accessory-size-options {
    grid-template-columns: 1fr;
  }

  .accessory-size-option {
    min-height: 54px;
  }

  .accessory-color-options {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .accessory-custom-color,
  .accessory-details-grid,
  .accessory-company-tools,
  .accessory-artwork-controls,
  .accessory-manual-grid {
    grid-template-columns: 1fr;
  }

  .accessory-details-grid label,
  .accessory-details-grid label:nth-child(-n + 2) {
    grid-column: 1;
  }

  .custom-accessory-preview {
    min-height: 310px;
    padding: 16px 10px;
  }

  .lanyard-strip-space {
    min-height: 108px;
    padding-right: 30px;
  }

  .lanyard-print-unit {
    gap: 3px;
    padding-inline: 3px;
  }

  .lanyard-logo-placeholder {
    font-size: 0.34rem;
  }

  .lanyard-transform-handle {
    width: 10px;
    height: 10px;
  }

  .lanyard-transform-rotate {
    right: -25px;
    width: 14px;
    height: 14px;
  }

  .lanyard-width-label {
    font-size: 0.58rem;
  }

  .accessory-preview-meta {
    align-items: stretch;
    flex-direction: column;
    text-align: center;
  }
}
.vc-template-card,
.studio-template-card {
  content-visibility: auto;
  contain-intrinsic-size: 260px 190px;
}

/* Launch polish: compact template discovery and stable navigation. */
.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; }
.category-nav {
  justify-content: center;
  flex-wrap: wrap;
  overflow: visible;
}

.vc-gallery-controls {
  display: grid;
  grid-template-columns: minmax(220px, 1.25fr) minmax(180px, .75fr);
  gap: 10px;
  width: min(560px, 100%);
}

.vc-gallery-controls label {
  display: grid;
  gap: 6px;
}

.vc-gallery-controls input,
.vc-gallery-controls select {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(69, 101, 146, .28);
  border-radius: 8px;
  padding: 9px 11px;
}

.vc-gallery-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding-top: 20px;
  color: #526279;
  font-size: .82rem;
  font-weight: 800;
}

.vc-empty-state {
  grid-column: 1 / -1;
  padding: 36px 18px;
  color: #526279;
  text-align: center;
}

.delivery-check-section {
  display: grid;
  width: min(1240px, calc(100% - 40px));
  grid-template-columns: minmax(0, .75fr) minmax(460px, 1.25fr);
  gap: 28px;
  align-items: center;
  margin: 18px auto 64px;
  border-block: 1px solid rgba(67, 101, 147, .16);
  padding: 34px 0;
}
.delivery-check-section>div>span { color: var(--primary); font-size: .75rem; font-weight: 900; text-transform: uppercase; }
.delivery-check-section h2 { margin: 6px 0 8px; font-size: clamp(1.6rem, 3vw, 2.35rem); }
.delivery-check-section p { color: #526279; line-height: 1.6; }
.delivery-check-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; }
.delivery-check-form label { display: grid; gap: 6px; color: #526279; font-size: .75rem; font-weight: 850; }
.delivery-check-form input { width: 100%; min-height: 44px; border: 1px solid rgba(69,101,146,.28); border-radius: 8px; padding: 9px 11px; }
.delivery-check-form p { grid-column: 1 / -1; min-height: 22px; margin: 0; font-size: .78rem; font-weight: 800; }
.delivery-check-form p.success { color: #08766f; }.delivery-check-form p.warning { color: #a24b09; }
.order-confidence-section { width: min(1240px, calc(100% - 40px)); margin: 0 auto 64px; }
.order-confidence-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.order-confidence-grid article { border: 1px solid rgba(67,101,147,.18); border-radius: 8px; background: rgba(255,255,255,.76); padding: 20px; }
.order-confidence-grid p { margin: 7px 0 0; color: #526279; font-size: .84rem; line-height: 1.55; }

@media (max-width: 1100px) {
  .category-nav {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: thin;
  }
}

@media (max-width: 700px) {
  .vc-gallery-controls { grid-template-columns: 1fr; }
  .vc-gallery-footer { flex-direction: column; }
  .mobile-nav { width: 100%; grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .mobile-nav a { font-size: .66rem; }
  .delivery-check-section { width: min(100% - 24px, 1240px); grid-template-columns: 1fr; gap: 16px; }
  .delivery-check-form { grid-template-columns: 1fr; }
  .order-confidence-grid { grid-template-columns: 1fr; }
}

/* Customer account actions beside the primary order control. */
.account-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
}

.account-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(34, 80, 171, .22);
  border-radius: 8px;
  padding: 10px 15px;
  color: #173f85;
  background: rgba(255, 255, 255, .84);
  box-shadow: inset 0 1px 0 #fff, 0 8px 20px rgba(30, 73, 142, .1);
  font-size: .78rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.account-signup {
  border-color: #1f72dc;
  color: #fff;
  background: #1f72dc;
  box-shadow: 0 10px 22px rgba(31, 114, 220, .24), inset 0 1px 0 rgba(255,255,255,.3);
}

.account-action:hover {
  transform: translateY(-1px);
  border-color: #1f72dc;
  box-shadow: 0 12px 26px rgba(31, 82, 164, .18);
}

.account-action:active { transform: translateY(0); }

@media (max-width: 1050px) {
  .account-action { min-height: 42px; padding-inline: 12px; }
}

@media (max-width: 820px) {
  .header-main,
  .vc-header .header-main {
    grid-template-columns: minmax(0, 1fr);
  }

  .header-actions {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .header-actions::-webkit-scrollbar { display: none; }
  .account-actions { margin-left: auto; }
}

@media (max-width: 480px) {
  .header-actions .card-catalog-action { display: none; }
  .account-actions { margin-left: auto; }
  .account-action { min-height: 40px; padding-inline: 11px; font-size: .74rem; }
}

/* Product navigation remains usable without click-only JavaScript handlers. */
.product-image-link { display: block; width: 100%; height: 100%; }
.product-card-copy h3 a { color: inherit; text-decoration: none; }
.product-card-order a[data-card-view] { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.product-card.active:not(:hover) { transform: none; }
.category-nav a { flex: 0 0 auto; }

.vc-product-copy{text-align:center}.vc-product-copy h1,.vc-product-copy p,.vc-quick-stats{margin-inline:auto}
.accessories-page .accessory-tabs{grid-template-columns:1fr;width:min(420px,calc(100% - 32px))}
.accessories-page .accessory-customizer{width:min(1320px,calc(100% - 48px));grid-template-columns:minmax(0,1fr);justify-items:center}
.accessories-page .accessory-editor-stage{position:static;width:100%;max-width:1080px;padding:24px}
.accessories-page .accessory-editor-head{text-align:center}.accessories-page .accessory-editor-head p{margin-inline:auto}
.accessories-page .accessory-control-panel{position:static;width:100%;max-width:960px;min-width:0}
.accessories-page .custom-accessory-preview{min-height:240px;padding:24px 42px}
.accessories-page .lanyard-strip-space{padding-inline:42px}.accessories-page .accessory-preview-meta{justify-content:center;text-align:center}
@media(max-width:980px){.accessories-page .accessory-customizer{width:min(760px,calc(100% - 32px))}}
@media(max-width:560px){.accessories-page .accessory-customizer{width:calc(100% - 24px)}.accessories-page .accessory-editor-stage{padding:14px}.accessories-page .custom-accessory-preview{padding:16px 10px}.accessories-page .lanyard-strip-space{padding-inline:30px}}

@media (max-width: 820px) {
  .site-header .header-main { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
  .site-header .header-main > .brand { flex: 1 1 100%; min-width: 0; }
  .site-header .header-actions { position: static; width: 100%; display: flex; flex-wrap: wrap; gap: 8px; overflow: visible; }
  .site-header .header-actions .account-actions { margin-left: auto; }
  .site-header .brand-logo { width: 174px; height: 44px; object-fit: contain; }
}

/* Storefront-only layout; product designers retain their own sizing and controls. */
body.storefront-home {
  min-width: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
  background: #f7f9fc !important;
  color: #172438 !important;
  letter-spacing: 0;
}
.storefront-home .site-header {
  display: block;
  position: relative;
  top: 0;
  margin: 0;
  padding: 0;
  gap: 0;
  border: 0 !important;
  background: #fff !important;
  box-shadow: 0 2px 12px #17243808 !important;
  backdrop-filter: none;
  overflow: visible;
}
.storefront-home .header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1280px, 100%);
  margin: auto;
  padding: 12px 24px;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.storefront-home .site-header :is(a, button, span) {
  text-shadow: none;
}
.storefront-home .header-main {
  backdrop-filter: none;
}
.storefront-home .brand { flex: 0 0 auto; min-width: 0; }
.storefront-home .brand-logo {
  width: 220px;
  height: 62px;
  object-fit: cover;
  object-position: center;
}
.storefront-home .header-actions {
  width: auto;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  overflow: visible;
}
.storefront-home .header-actions .utility-link {
  color: #334155;
  font-size: .875rem;
  font-weight: 600;
}
.storefront-home .account-actions { gap: 6px; }
.storefront-home .account-action,
.storefront-home .header-actions > a:not(.utility-link) {
  min-height: 44px;
  padding: 10px 14px;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.25;
  border-radius: 8px;
  box-shadow: none;
}
.storefront-home .account-signup {
  background: #eaf3ff;
  color: #1251aa;
  border-color: #ccdef4;
}
.storefront-home .account-actions .account-login {
  background: #1251aa;
  border-color: #1251aa;
  color: #fff;
}
.storefront-home .account-actions .account-login:hover {
  background: #103f84;
  border-color: #103f84;
  box-shadow: none;
  transform: none;
}
.storefront-home .account-actions .account-login:active { background: #0c326b; }
.storefront-home #cartButton {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  flex: 0 0 44px;
  padding: 0;
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
  color: #214b87;
}
.storefront-home #cartCount { background: #d51a31; }
.storefront-home .category-nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 20px;
  min-height: 0;
  height: auto;
  padding: 0 max(24px, calc((100% - 1232px) / 2));
  overflow-x: auto;
  border: 0;
  border-top: 1px solid #e9edf3;
  border-bottom: 1px solid #e0e6ef;
  background: #fff;
  box-shadow: none;
  backdrop-filter: none;
  scrollbar-width: none;
}
.storefront-home .category-nav::-webkit-scrollbar { display: none; }
.storefront-home .category-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #35465c;
  font-size: .875rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: none;
}
.storefront-home .category-nav .design-nav-link { flex-direction: row; gap: 5px; }
.storefront-home .category-nav .hot-deal-link { display: inline-flex; align-items: center; gap: 6px; }
.storefront-home .category-nav .hot-deal-badge { padding: 3px 5px; border-radius: 3px; background: #d71937; color: #fff; font-size: .625rem; font-weight: 800; text-transform: uppercase; white-space: nowrap; }
.storefront-home .design-nav-badge { padding: 3px 5px; font-size: .75rem; box-shadow: none; }
.storefront-home .hero-section {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 38px 24px 30px;
  background: #eff6fc;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.storefront-home .hero-copy { display: block; justify-items: center; max-width: 900px; margin: auto; text-align: center; }
.storefront-home .hero-copy .home-eyebrow {
  width: 100%;
  margin: 0 0 10px;
  color: #32627d;
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.4;
}
.storefront-home .hero-copy h1 {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  color: #122438;
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0;
}
.storefront-home .hero-copy h1 br { display: none; }
.storefront-home .hero-copy > p:not(.home-eyebrow) {
  width: 100%;
  max-width: 760px;
  margin: 14px auto 20px;
  color: #536376;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.55;
}
.storefront-home .hero-copy > p:not(.home-eyebrow) br { display: none; }
.storefront-home .hero-actions { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; width: 100%; max-width: none; margin: 0; gap: 10px; }
.storefront-home .hero-actions .large {
  width: auto;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.4;
  box-shadow: none;
  white-space: normal;
}
.storefront-home .card-catalog-action { background: #d9192d; color: #fff; }
.storefront-home .primary-action,
.storefront-home .cart-action { background: #1768c4; color: #fff; box-shadow: none; }
.storefront-home .glass-action { background: #fff; color: #204c7c; border: 1px solid #c8d7e7; box-shadow: none; }
.storefront-home .home-order-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-top: 16px; }
.storefront-home .home-order-links a,
.storefront-home .home-catalog-link { color: #245b95; font-size: .875rem; font-weight: 600; line-height: 1.5; text-decoration: none; }
.storefront-home .home-order-links a { padding: 6px 0; }
.storefront-home .home-order-links a:hover,
.storefront-home .home-catalog-link:hover { text-decoration: underline; }
.storefront-home .catalog-section {
  width: min(1232px, calc(100% - 48px));
  max-width: none;
  margin: 0 auto 48px;
  padding: 28px 0 0;
  content-visibility: visible;
}
.storefront-home .catalog-section .section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  align-items: center;
  margin: 0 0 20px;
  text-align: left;
}
.storefront-home .section-heading h2 { margin: 0; font-size: 1.5rem; line-height: 1.25; font-weight: 700; }
.storefront-home .catalog-section .section-heading p { grid-row: 2; margin: 0; color: #637185; font-size: .875rem; font-weight: 400; }
.storefront-home .home-catalog-link { grid-column: 2; grid-row: 1 / 3; padding-block: 12px; }
.storefront-home .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.storefront-home .product-card,
.storefront-home .product-card.active {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding: 0;
  gap: 0;
  border: 1px solid #dce4ee !important;
  border-radius: 8px;
  outline: 0;
  background: #fff !important;
  box-shadow: 0 2px 6px #182c4405 !important;
  backdrop-filter: none;
  transform: none;
  content-visibility: visible;
}
.storefront-home .product-card::before { content: none; }
.storefront-home .product-card:hover { border-color: #8ba9c9 !important; transform: none; }
.storefront-home .product-visual.image-thumb {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 3;
  margin: 0;
  padding: 8px;
  border: 0;
  border-bottom: 1px solid #edf0f5;
  border-radius: 8px 8px 0 0;
  background: #fff;
  box-shadow: none;
}
.storefront-home .product-visual.image-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  transform: none;
  filter: none;
}
.storefront-home .product-card-copy { flex: 1; padding: 14px 14px 10px; }
.storefront-home .product-card h3 { margin: 0 0 6px; color: #1a304b; font-size: 1rem; line-height: 1.35; font-weight: 700; }
.storefront-home .product-card p { margin: 0; color: #627184; font-size: .875rem; line-height: 1.5; font-weight: 400; }
.storefront-home .product-card-copy > a { display: inline-block; padding-top: 8px; font-size: .875rem; }
.storefront-home .product-meta { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 6px; padding: 0 14px 12px; margin: 0; color: #647186; font-size: .75rem; font-weight: 400; }
.storefront-home .product-meta strong { display: block; margin-top: 4px; color: #20374d; font-size: 1.125rem; font-weight: 700; }
.storefront-home .digital-product .product-meta small { display: block; margin-top: 5px; font-size: .75rem; line-height: 1.4; }
.storefront-home .product-card-order { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; padding: 12px 14px 14px; border-top: 1px solid #edf0f5; }
.storefront-home .digital-product .product-card-order { grid-template-columns: 1fr; }
.storefront-home .product-card[data-product-id="blank-cards"] .product-card-order { grid-template-columns: minmax(0, 1fr); }
.storefront-home .product-card[data-product-id="blank-cards"] .product-card-order a { justify-content: center; text-align: center; }
.storefront-home .product-card-order label { display: flex; align-items: center; gap: 6px; color: #57677d; font-size: .75rem; font-weight: 400; }
.storefront-home .product-card-order input { width: 100%; min-width: 0; height: 42px; min-height: 42px; padding: 6px; font-size: .875rem; font-weight: 500; }
.storefront-home .product-card-order a,
.storefront-home .product-card-order button { min-height: 42px; padding: 8px; border-radius: 6px; font-size: .875rem; font-weight: 600; line-height: 1.3; white-space: normal; box-shadow: none; }
.storefront-home .product-card-order [data-card-add] { grid-column: 1 / -1; }
.storefront-home .product-card-order .secondary-action { color: #285585; border: 1px solid #d5e0ec; background: #f5f9fd; }
.storefront-home .product-design-badge { top: 8px; left: 8px; right: auto; font-size: .75rem; min-height: 30px; border-radius: 5px; padding: 5px 8px; box-shadow: none; }
.storefront-home .mobile-nav { border-radius: 0; box-shadow: 0 -2px 12px #17243808; background: rgba(255,255,255,.97); }
.storefront-home .mobile-nav a { color: #52637a; font-weight: 500; }
.storefront-home .drawer-card { border-radius: 8px; background: #fff; box-shadow: 0 12px 48px #162d4930; backdrop-filter: none; }
.storefront-home .drawer-head h2 { margin: 0; font-size: 1.25rem; line-height: 1.3; font-weight: 700; }
.storefront-home .drawer-card p { font-size: .875rem; line-height: 1.5; font-weight: 400; }
.storefront-home .drawer-card .full { font-size: .9375rem; font-weight: 600; border-radius: 6px; }
.storefront-home .cart-total-row { font-size: 1rem; line-height: 1.4; font-weight: 600; }
.storefront-home #cards { scroll-margin-top: 20px; }
.storefront-home .home-card-count { color: #59677b; font-size: .875rem; font-weight: 500; vertical-align: middle; }
.storefront-home .home-cards-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0 0 20px; }
.storefront-home .home-cards-toolbar label { display: grid; gap: 6px; width: min(320px, 100%); color: #33475d; font-size: .875rem; font-weight: 600; }
.storefront-home .home-cards-toolbar select { width: 100%; min-height: 46px; padding: 10px 32px 10px 12px; border: 1px solid #c2cfde; border-radius: 6px; background-color: #fff; color: #172438; font: inherit; font-size: 1rem; font-weight: 400; box-shadow: none; }
.storefront-home #homeCardsStatus { margin: 0 0 12px; color: #536174; font-size: .875rem; line-height: 1.4; font-weight: 400; }
.storefront-home .home-cards-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; gap: 16px; }
.storefront-home .home-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid #d5dfeb; border-radius: 8px; background: #fff; overflow: hidden; }
.storefront-home .home-card[hidden], .storefront-home #homeCardsMore[hidden] { display: none !important; }
.storefront-home .home-card-image { display: block; width: 100%; aspect-ratio: 4 / 3; padding: 8px; background: #fff; border-bottom: 1px solid #edf1f6; }
.storefront-home .home-card-image img { display: block; width: 100%; height: 100%; object-fit: contain; transform: none; filter: none; }
.storefront-home .home-card-copy { flex: 1; padding: 16px 14px 10px; }
.storefront-home .home-card-category { color: #5a6b7e; font-size: .75rem; font-weight: 500; }
.storefront-home .home-card h3 { margin: 6px 0 8px; font-size: 1rem; line-height: 1.4; font-weight: 700; overflow-wrap: anywhere; }
.storefront-home .home-card h3 a { color: #182e47; text-decoration: none; }
.storefront-home .home-card h3 a:hover { text-decoration: underline; }
.storefront-home .home-card-copy p { margin: 0; color: #536174; font-size: .875rem; line-height: 1.5; font-weight: 400; overflow-wrap: anywhere; }
.storefront-home .home-card-price { display: grid; gap: 5px; padding: 0 14px 14px; color: #536174; font-size: .875rem; line-height: 1.5; font-weight: 400; }
.storefront-home .home-card-price strong { color: #172438; font-size: 1.125rem; font-weight: 700; }
.storefront-home .home-card-view { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 44px; margin: 0 14px 14px; padding: 10px 12px; border: 1px solid #efd0d5; border-radius: 6px; background: #fff5f6; color: #b2182b; text-decoration: none; font-size: .875rem; font-weight: 600; line-height: 1.4; }
.storefront-home .home-card-view:hover { border-color: #bd2437; background: #ffebee; }
.storefront-home .catalog-section .section-heading{grid-template-columns:minmax(0,1fr);justify-items:center;text-align:center;gap:8px}
.storefront-home .home-catalog-link{grid-column:1;grid-row:auto}
.storefront-home .product-card-copy,.storefront-home .home-card-copy,.storefront-home .home-card-price{text-align:center}
.storefront-home .product-meta{justify-content:center;text-align:center}.storefront-home .home-card-view{justify-content:center}
.storefront-home .product-grid,.storefront-home .home-cards-grid{--product-columns:4;display:flex;flex-wrap:wrap;justify-content:center}
.storefront-home .product-card,.storefront-home .home-card{flex:0 0 calc((100% - (var(--product-columns) - 1)*16px)/var(--product-columns))}
@media(max-width:1100px){.storefront-home .product-grid,.storefront-home .home-cards-grid{--product-columns:3}}
@media(max-width:820px){.storefront-home .product-grid,.storefront-home .home-cards-grid{--product-columns:2}}
@media(max-width:520px){.storefront-home .product-grid,.storefront-home .home-cards-grid{--product-columns:1}}
.storefront-home .home-cards-more { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-top: 24px; }
.storefront-home #homeCardsMore { display: inline-flex; align-items: center; gap: 16px; min-height: 46px; padding: 12px 20px; border: 1px solid #b8c9dd; border-radius: 6px; background: #fff; color: #244d7b; font: inherit; font-size: .9375rem; font-weight: 600; box-shadow: none; cursor: pointer; }
.storefront-home .home-cards-more > a { color: #245b95; font-size: .875rem; font-weight: 600; line-height: 1.5; padding: 12px 0; }
.storefront-home :is(a, button, input, select):focus-visible { outline: 3px solid #1768c4 !important; outline-offset: 3px; }
.storefront-home .product-card p { color: #536174; }
.storefront-home .section-heading p { color: #536174; }
html[data-theme] body.storefront-home { background: #f7f9fc !important; }
html[data-theme] .storefront-home .primary-action,
html[data-theme] .storefront-home .cart-action { background: var(--theme-primary) !important; }
@media (max-width: 1100px) {
  .storefront-home .header-actions .utility-link { display: none; }
  .storefront-home .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .storefront-home .home-cards-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  body.storefront-home { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .storefront-home .site-header .header-main { flex-wrap: nowrap; gap: 8px; padding: 8px 16px; min-height: 70px; }
  .storefront-home .site-header .header-main > .brand { flex: 1 1 auto; }
  .storefront-home .site-header .brand-logo { width: 176px; max-width: 100%; height: 48px; object-fit: cover; }
  .storefront-home .site-header .header-actions { flex: 0 0 auto; width: auto; flex-wrap: nowrap; gap: 8px; }
  .storefront-home .header-actions > a { display: none; }
  .storefront-home .site-header .account-actions { margin: 0; }
  .storefront-home .account-actions .account-signup { display: none; }
  .storefront-home .account-actions .account-login { min-height: 44px; padding: 8px 10px; font-size: .875rem; }
  .storefront-home .category-nav { padding-inline: 16px; gap: 20px; }
  .storefront-home .category-nav a { min-height: 44px; }
  .storefront-home .hero-section { padding: 26px 20px 20px; }
  .storefront-home .hero-copy { max-width: 640px; }
  .storefront-home .hero-copy h1 { max-width: none; font-size: 2rem; line-height: 1.15; }
  .storefront-home .hero-copy h1 br { display: initial; }
  .storefront-home .hero-copy > p:not(.home-eyebrow) { max-width: none; margin: 12px auto 18px; font-size: .9375rem; line-height: 1.55; }
  .storefront-home .hero-copy > p:not(.home-eyebrow) br { display: initial; }
  .storefront-home .hero-actions { gap: 8px; }
  .storefront-home .hero-actions .large { flex: 0 1 auto; padding: 11px 16px; min-height: 46px; font-size: .875rem; }
  .storefront-home .home-order-links { gap: 24px; margin-top: 10px; }
  .storefront-home .catalog-section { width: calc(100% - 32px); padding-top: 24px; }
  .storefront-home .catalog-section .section-heading { margin-bottom: 16px; }
  .storefront-home .section-heading h2 { font-size: 1.25rem; }
  .storefront-home .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .storefront-home .product-card-copy { padding: 12px 10px 8px; }
  .storefront-home .product-card p { font-size: .875rem; }
  .storefront-home .home-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .storefront-home .home-card-copy { padding: 12px 10px 10px; }
  .storefront-home .home-card-price { padding: 0 10px 12px; }
  .storefront-home .home-card-view { margin: 0 10px 12px; padding: 10px; }
  .storefront-home .home-cards-toolbar { align-items: stretch; flex-direction: column; gap: 10px; }
  .storefront-home #homeCardsStatus { margin: 0; }
  .storefront-home .home-cards-toolbar label { width: 100%; }
  .storefront-home .product-meta { padding: 0 10px 10px; }
  .storefront-home .product-card-order { padding: 10px; gap: 6px; }
  .storefront-home .mobile-nav { width: 100%; left: 0; right: 0; bottom: 0; transform: none; min-height: 64px; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 0; padding: 5px 8px max(5px,env(safe-area-inset-bottom)); border: 0; border-top: 1px solid #e0e6ef; }
  .storefront-home .mobile-nav a { min-height: 54px; padding: 5px 2px; gap: 5px; font-size: .75rem; line-height: 1.25; border-radius: 0; }
  .storefront-home .mobile-nav svg { width: 21px; height: 21px; }
}
@media (max-width: 360px) {
  .storefront-home .site-header .header-main { padding-inline: 12px; }
  .storefront-home .site-header .brand-logo { width: 150px; height: 44px; }
  .storefront-home .hero-section { padding-inline: 16px; }
  .storefront-home .hero-copy h1 { font-size: 1.75rem; }
  .storefront-home .home-order-links { gap: 18px; }
  .storefront-home .product-grid { gap: 8px; }
  .storefront-home .home-cards-grid { grid-template-columns: 1fr; }
}
.storefront-home #builder,
.storefront-home #bulk {
  width: min(1232px, calc(100% - 48px));
  margin: 40px auto;
  content-visibility: visible;
  contain: none;
  contain-intrinsic-size: none;
  overflow: visible;
  height: auto;
  max-height: none;
}
.storefront-home #builder .section-heading { align-items: baseline; gap: 12px; margin-bottom: 24px; }
.storefront-home #builder h2 { font-size: 1.5rem; line-height: 1.3; }
.storefront-home #builder .section-heading p { color: #52637a; font-size: 1rem; font-weight: 400; }
.storefront-home #builder .builder-layout { grid-template-columns: minmax(0, 1fr) minmax(300px, 360px); gap: 32px; align-items: start; overflow: visible; }
.storefront-home #builder :is(.order-panel, .summary-panel) { min-width: 0; height: auto; max-height: none; box-shadow: none; backdrop-filter: none; overflow: visible; background: #fff; }
.storefront-home #builder .order-panel { padding: 0; border: 0; border-radius: 0; gap: 22px; background: transparent; }
.storefront-home #builder :is(.order-panel, .summary-panel)::after { display: none; }
.storefront-home #builder :is(label, legend) { color: #33475d; font-size: .875rem; line-height: 1.5; font-weight: 600; text-shadow: none; }
.storefront-home #builder legend { margin-bottom: 8px; }
.storefront-home #builder :is(select, input:not([type=radio]):not([type=file]), textarea),
.storefront-home #bulk :is(input, select) { width: 100%; min-width: 0; min-height: 48px; padding: 12px; border: 1px solid #bac8d9; border-radius: 6px; color: #172438; background: #fff; box-shadow: none; font-size: 1rem; line-height: 1.4; font-weight: 400; }
.storefront-home #builder textarea { min-height: 100px; resize: vertical; }
.storefront-home #builder .design-choice { grid-template-columns: repeat(3, minmax(0, 1fr)); min-width: 0; }
.storefront-home #builder .design-choice label { min-height: 52px; padding: 10px; border: 1px solid #c7d3e1; border-radius: 6px; background: #fff; box-shadow: none; backdrop-filter: none; cursor: pointer; }
.storefront-home #builder .design-choice label:has(:checked) { background: #edf5ff; border-color: #1251aa; color: #1251aa; }
.storefront-home #builder input[type=radio] { flex: 0 0 18px; width: 18px; height: 18px; margin: 0; accent-color: #1251aa; }
.storefront-home #builder .upload-box { position: relative; min-height: 80px; padding: 16px; border: 1px dashed #7195bd; color: #1251aa; background: #f6faff; box-shadow: none; backdrop-filter: none; overflow-wrap: anywhere; }
.storefront-home #builder .summary-panel { position: static; padding: 24px; border: 1px solid #d5e0ec; border-radius: 8px; }
.storefront-home #builder .upload-box input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.storefront-home #builder .upload-box:focus-within { outline: 3px solid #1251aa; outline-offset: 3px; }
.storefront-home #builder .summary-head { padding: 0 0 20px; border-radius: 0; background: none; color: #172438; }
.storefront-home #builder .summary-head span { color: #52637a; font-size: .875rem; font-weight: 500; }
.storefront-home #builder .summary-head strong { margin-top: 8px; font-size: 2rem; line-height: 1.2; font-weight: 700; font-variant-numeric: tabular-nums; }
.storefront-home #builder .price-breakdown { margin: 0 0 24px; gap: 12px; }
.storefront-home #builder .price-breakdown div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 12px; padding-bottom: 12px; border-color: #e7edf4; }
.storefront-home #builder .price-breakdown :is(dt, dd) { font-size: .875rem; line-height: 1.5; font-weight: 500; overflow-wrap: anywhere; }
.storefront-home #builder .price-breakdown dt { color: #52637a; }
.storefront-home #builder .price-breakdown dd { color: #172438; }
.storefront-home #builder .summary-panel > p { margin: 16px 0 0; font-size: .8125rem; line-height: 1.6; color: #52637a; font-weight: 400; }
.storefront-home #builder :is(button, .summary-actions a),
.storefront-home #bulk button { min-height: 48px; padding: 12px 18px; border-radius: 6px; font-size: .9375rem; line-height: 1.4; font-weight: 600; text-shadow: none; white-space: normal; box-shadow: none; transform: none; }
.storefront-home #builder :is(.primary-action, .cart-action), .storefront-home #bulk button { background: #1251aa; border: 1px solid #1251aa; color: #fff; }
.storefront-home #builder :is(.primary-action, .cart-action):hover, .storefront-home #bulk button:hover { background: #103f84; }
.storefront-home #builder :is(.secondary-action, #whatsappQuote) { background: #fff; color: #1251aa; border: 1px solid #bac8d9; }
.storefront-home #builder .summary-actions { display: grid; gap: 10px; }
.storefront-home #builder .form-actions { gap: 12px; flex-wrap: wrap; }
.storefront-home #builder :focus-visible, .storefront-home #bulk :focus-visible { outline: 3px solid #1251aa; outline-offset: 3px; }
.storefront-home #bulk { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding: 32px 0; border: 0; border-top: 1px solid #d5e0ec; border-radius: 0; background: none; box-shadow: none; }
.storefront-home #bulk h2 { color: #172438; font-size: 1.5rem; line-height: 1.3; }
.storefront-home #bulk p { color: #52637a; font-size: 1rem; line-height: 1.6; font-weight: 400; }
.storefront-home #bulk .bulk-form { min-width: 0; gap: 12px; }
@media (max-width: 800px) {
  .storefront-home #builder, .storefront-home #bulk { width: calc(100% - 32px); margin-block: 32px; }
  .storefront-home #builder .section-heading { align-items: flex-start; flex-direction: column; }
  .storefront-home #builder .builder-layout, .storefront-home #bulk { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .storefront-home #builder .summary-panel { padding: 20px; }
}
@media (max-width: 480px) {
  .storefront-home #builder .design-choice, .storefront-home #builder .two-col, .storefront-home #bulk .bulk-form { grid-template-columns: minmax(0, 1fr); }
  .storefront-home #builder .form-actions .primary-action { flex: 1; }
}
@media print {
  .storefront-home .site-header, .storefront-home .mobile-nav { display: none; }
}

.review-offer[hidden]{display:none!important}.review-offer{position:fixed;right:24px;bottom:24px;z-index:90;width:320px;max-width:calc(100% - 32px);max-height:calc(100dvh - 48px);overflow:auto;padding:18px;border:1px solid #dce2e9;border-radius:8px;background:#fff;color:#15263c;box-shadow:0 12px 44px #172b4d2e;font-family:Arial,Helvetica,sans-serif;letter-spacing:0}.review-offer .review-offer-close{position:absolute;top:6px;right:6px;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:6px;background:#fff;color:#334155;font-size:26px;line-height:1;box-shadow:none;cursor:pointer}.review-offer img{display:block;width:100%;height:150px;object-fit:contain;margin:8px 0 12px}.review-offer h2{margin:0 0 8px;font-size:20px;line-height:1.3;font-weight:700;color:#15263c;letter-spacing:0}.review-offer p{margin:0 0 14px;font-size:14px;line-height:1.5;color:#526176;font-weight:400}.review-offer .review-offer-link{display:block;padding:12px 16px;min-height:44px;border-radius:6px;background:#c91c32;color:#fff;text-align:center;font-size:14px;font-weight:700;text-decoration:none}.review-offer :focus-visible{outline:3px solid #1674d3;outline-offset:3px}@media(max-width:700px){.review-offer{right:16px;bottom:calc(82px + env(safe-area-inset-bottom));max-height:calc(100dvh - 110px);width:300px}.review-offer img{height:124px}}@media(max-height:540px){.review-offer img{display:none}}
