.shirt-mini {
  height: 110px;
  aspect-ratio: 1;
  overflow: hidden;
  background: #fff;
  border: 1px solid #ece9e3;
}

.shirt-mini img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  display: block;
}

.shirt-mini:not(.premium) img {
  width: 78%;
  height: auto;
  transform: translateY(-1%);
}

.shirt-mockup {
  position: absolute;
  z-index: 1;
  top: 4%;
  left: 50%;
  width: min(84%, 480px);
  height: 91%;
  transform: translateX(-50%);
  filter: drop-shadow(0 20px 16px rgba(23, 25, 27, .17));
}

.shirt-mockup svg,
.mockup-shirt svg {
  display: block;
  width: 100%;
  height: 100%;
}

.shirt-stage .print-zone {
  top: 29%;
  width: 25%;
  height: 35%;
  z-index: 2;
}

.empty-design {
  color: #73716c;
  background: rgba(255, 255, 255, .72);
}

.generation-visual { display: none; position: absolute; inset: 5%; overflow: hidden; border-radius: 8px; border: 1px solid rgba(216, 255, 69, .72); background: rgba(23, 25, 27, .3); backdrop-filter: blur(2px); }
.generation-visual::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--lime); box-shadow: 0 0 12px var(--lime); animation: generation-scan 1.7s ease-in-out infinite; }
.generation-visual i { position: absolute; left: 18%; right: 18%; height: 5px; border-radius: 99px; background: rgba(255,255,255,.82); transform-origin: left; animation: generation-draw 1.8s ease-in-out infinite both; }
.generation-visual i:nth-child(1) { top: 25%; right: 34%; }
.generation-visual i:nth-child(2) { top: 42%; animation-delay: .16s; }
.generation-visual i:nth-child(3) { top: 59%; right: 27%; animation-delay: .32s; }
.generation-visual i:nth-child(4) { top: 76%; right: 46%; animation-delay: .48s; }
.shirt-stage.is-generating .generation-visual { display: block; }
.shirt-stage.is-generating .print-zone > img { animation: design-breathe 1.8s ease-in-out infinite; }
.shirt-stage.is-generating .empty-design { opacity: .18; }
@keyframes generation-scan { 0%,100% { top: 8%; opacity: .3; } 50% { top: 90%; opacity: 1; } }
@keyframes generation-draw { 0%,15% { transform: scaleX(0); opacity: .2; } 55%,80% { transform: scaleX(1); opacity: .9; } 100% { transform: scaleX(.15); opacity: .25; } }
@keyframes design-breathe { 50% { opacity: .58; transform: scale(.96); filter: blur(1px) drop-shadow(0 0 9px rgba(216,255,69,.7)); } }

.side-label { z-index: 3; }
.generation-actions { display: flex; gap: 9px; margin-top: 18px; }
.generation-actions .generate-button { flex: 1; width: auto; margin: 0; }
.generate-button:disabled { opacity: .68; cursor: wait; }
.reset-design-button {
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 0 14px;
  background: #fff;
  font: 750 11px Manrope;
  white-space: nowrap;
  cursor: pointer;
}
.reset-design-button:hover { border-color: var(--ink); }
.reset-design-button:disabled { opacity: .5; cursor: wait; }
.design-controls.is-revision .preset-row { display: none; }
.generation-progress { margin-top: 13px; }
.generation-progress[hidden] { display: none; }
.progress-copy { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 7px; font-size: 9px; color: var(--muted); }
.progress-copy b { color: var(--ink); font-variant-numeric: tabular-nums; }
.progress-track { height: 7px; overflow: hidden; border-radius: 99px; background: #e2ddd3; box-shadow: inset 0 1px 2px rgba(23, 25, 27, .08); }
.progress-track i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #9fb526, var(--lime), #fff36d, var(--lime)); background-size: 220% 100%; transition: width .55s ease; animation: progress-shimmer 1.2s linear infinite; }
@keyframes progress-shimmer { to { background-position: -220% 0; } }

.generation-note.is-error,
.payment-message.is-error { color: #a62d1f; font-weight: 700; }
.generation-note.is-success { color: #547313; font-weight: 700; }

.reference-item { position: relative; display: inline-flex; }
.reference-item button {
  position: absolute;
  right: -5px;
  top: -5px;
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  line-height: 1;
  cursor: pointer;
}

.review-shirt,
.checkout-thumb { background: #fff; overflow: hidden; position: relative; }
.mockup-shirt {
  position: absolute;
  inset: 3%;
  filter: drop-shadow(0 8px 7px rgba(23, 25, 27, .13));
}
.mockup-design {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 28%;
  width: 23%;
  height: 35%;
  transform: translateX(-50%);
  object-fit: contain;
}
.checkout-thumb .mockup-shirt { inset: 1%; }
.checkout-thumb .mockup-design { top: 27%; width: 23%; height: 36%; }

.payment-shell {
  min-height: 120px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  background: #fff;
  margin-bottom: 10px;
}
.payment-loading { display: flex; align-items: center; gap: 12px; }
.payment-loading[hidden] { display: none; }
.payment-loading div { display: flex; flex-direction: column; gap: 2px; }
.payment-loading small { color: var(--muted); font-size: 10px; }
.payment-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid #ddd;
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: payment-spin .8s linear infinite;
}
.payment-message { min-height: 18px; margin: 0 0 10px; color: var(--muted); font-size: 11px; }
@keyframes payment-spin { to { transform: rotate(360deg); } }

.download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  border-radius: 9px;
  padding: 10px 12px;
  font-size: 11px;
  font-weight: 800;
}
.success-downloads { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: -10px 0 24px; }

@media (max-width: 800px) {
  .shirt-mini { height: 82px; }
  .shirt-mini:not(.premium) img { width: 78%; }
  .shirt-mockup { width: min(91%, 450px); }
  .shirt-stage .print-zone { width: 27%; height: 34%; }
  .reset-design-button { padding: 0 11px; }
}

/* Natiskaj.si brand layer */
.topbar { height: 82px; }
.brand { gap: 11px; font: inherit; }
.brand-mark {
  display: block;
  width: 42px;
  height: 42px;
  background: none;
  border-radius: 0;
  filter: drop-shadow(0 7px 12px rgba(23, 25, 27, .14));
  transition: transform .2s ease;
}
.brand:hover .brand-mark { transform: rotate(-4deg) scale(1.04); }
.brand-wordmark { display: flex; align-items: baseline; font: 800 20px/1 Manrope; letter-spacing: -.055em; }
.brand-wordmark span { color: #8c991d; }
.brand-pill { display: flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 999px; background: #e8e2d7; font-size: 11px; font-weight: 800; letter-spacing: .02em; }
.brand-pill span { color: #76850f; }
.intro { padding-top: 72px; }
.intro h1 { font-size: clamp(46px, 7vw, 82px); line-height: .92; margin-bottom: 23px; letter-spacing: -.065em; }
.intro h1 span { position: relative; display: inline-block; z-index: 0; }
.intro h1 span::after { content: ""; position: absolute; z-index: -1; left: -.04em; right: -.04em; bottom: .02em; height: .2em; border-radius: 999px; background: var(--lime); transform: rotate(-1.2deg); }
.intro > p { margin: auto; max-width: 620px; color: var(--muted); font-size: 17px; }
.hero-points { display: flex; justify-content: center; gap: 9px; flex-wrap: wrap; margin-top: 24px; }
.hero-points span { padding: 8px 11px; border: 1px solid rgba(23, 25, 27, .1); border-radius: 999px; background: rgba(255, 253, 250, .72); color: #55595c; font-size: 10px; font-weight: 700; }
.site-footer { width: min(1180px, calc(100% - 40px)); margin: 0 auto 34px; padding: 23px 4px 0; border-top: 1px solid rgba(23, 25, 27, .12); display: flex; align-items: center; gap: 18px; color: var(--muted); }
.footer-brand { display: flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; }
.footer-brand img { width: 32px; height: 32px; }
.footer-brand strong { font: 800 15px Manrope; letter-spacing: -.045em; }
.footer-brand strong span { color: #8c991d; }
.site-footer p { margin: 0; font-size: 11px; }
.site-footer small { margin-left: auto; font-size: 10px; }
button:focus-visible, a:focus-visible, textarea:focus-visible, input:focus-visible { outline: 3px solid rgba(140, 153, 29, .42); outline-offset: 3px; }

@media (max-width: 800px) {
  .topbar { height: 72px; }
  .brand-pill { display: none; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-wordmark { font-size: 18px; }
  .intro { padding: 48px 10px 34px; }
  .intro h1 { font-size: clamp(44px, 14vw, 62px); }
  .hero-points { gap: 6px; margin-top: 20px; }
}

@media (max-width: 600px) {
  .site-footer { width: calc(100% - 28px); flex-wrap: wrap; gap: 8px 14px; }
  .site-footer p { width: calc(100% - 48px); }
  .site-footer small { width: 100%; margin-left: 46px; }
}

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