:root {
  --cream: #f6f1e8;
  --paper: #fffdf8;
  --ink: #201e1a;
  --orange: #e74a2f;
  --lime: #dff26a;
  --muted: #6e685e;
  --border: #d8d0c3;
  --display: "Arial Black", "Franklin Gothic Heavy", Impact, sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(circle at 8% 0%, rgba(223, 242, 106, .24), transparent 26rem), var(--cream);
  color: var(--ink);
  font-family: var(--body);
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--lime); color: var(--ink); }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(0,0,0,.1); background: rgba(246,241,232,.9); backdrop-filter: blur(18px); }
.header-inner, .footer-inner, .section { width: min(100% - 32px, 1384px); margin-inline: auto; }
.header-inner { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font: 900 24px/1 var(--display); letter-spacing: -.045em; }
.brand span { color: var(--orange); }
.brand i { display: inline-block; width: 8px; height: 8px; margin-left: 4px; border-radius: 50%; background: var(--lime); vertical-align: top; }
nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 800; }
nav a { transition: color .2s ease; }
nav a:hover, nav a.active { color: var(--orange); }
.button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 17px; border: 0; border-radius: 12px; font-weight: 900; transition: transform .2s ease, background .2s ease, opacity .2s ease; }
.button:hover { transform: translateY(-1px); }
.button:disabled { cursor: not-allowed; opacity: .55; transform: none; }
.button-primary { background: var(--orange); color: white; }
.button-light { border: 1px solid var(--border); background: rgba(255,255,255,.88); color: var(--ink); }
.menu-button { display: none; width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 12px; background: white; font-size: 19px; }

.system-alert { width: min(100% - 32px, 1384px); margin: 18px auto -3px; padding: 13px 16px; border: 1px solid #e3b237; border-radius: 12px; background: #fff3c9; font-size: 14px; }
.lab-section { padding-top: 34px; padding-bottom: 38px; }
.hero-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 23px; }
.eyebrow { margin: 0; color: var(--orange); font-size: 12px; font-weight: 950; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow-pill { display: inline-flex; gap: 7px; align-items: center; padding: 7px 12px; border: 1px solid rgba(0,0,0,.1); border-radius: 999px; background: var(--lime); color: var(--ink); }
h1, h2, h3 { margin: 0; font-family: var(--display); letter-spacing: -.04em; }
h1 { margin-top: 10px; font-size: clamp(42px, 5vw, 72px); line-height: .92; }
h1 span { color: var(--orange); }
.hero-copy, .section-heading > p { max-width: 385px; margin: 0 0 2px; color: var(--muted); font-size: 14px; line-height: 1.65; }

.laboratory { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(360px, .75fr); overflow: hidden; border: 1px solid rgba(0,0,0,.1); border-radius: 28px; background: var(--paper); box-shadow: 0 24px 80px rgba(59,45,23,.09); }
.preview-panel { position: relative; min-height: 650px; overflow: hidden; border-right: 1px solid rgba(0,0,0,.1); background-color: #e8e0d2; }
.paper-grid { background-image: linear-gradient(rgba(32,30,26,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(32,30,26,.045) 1px, transparent 1px); background-size: 24px 24px; }
.preview-toolbar { position: relative; z-index: 5; display: flex; justify-content: space-between; padding: 28px; }
.view-pill { padding: 7px 12px; border-radius: 999px; background: rgba(0,0,0,.76); color: white; font-size: 12px; font-weight: 800; }
.shirt-stage { position: absolute; inset: 70px 55px 50px; display: flex; align-items: center; justify-content: center; }
.shirt-stage::after { content: ""; position: absolute; z-index: 0; left: 15%; right: 15%; bottom: 3%; height: 10%; border-radius: 50%; background: rgba(31,26,20,.16); filter: blur(16px); }
#product-mockup { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; transition: filter .3s ease, opacity .2s ease; }
#product-color-tint { position: absolute; z-index: 2; inset: 0; background: var(--tint-color, transparent); -webkit-mask-image: var(--mockup-mask); mask-image: var(--mockup-mask); -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; mix-blend-mode: multiply; opacity: 0; pointer-events: none; transition: background-color .25s, opacity .25s; }
#design-preview, #design-preview-secondary { display: none; position: absolute; z-index: 3; aspect-ratio: 1; object-fit: contain; border-radius: 3%; opacity: .93; mix-blend-mode: multiply; filter: saturate(.96) contrast(1.04) drop-shadow(0 1px 1px rgba(0,0,0,.1)); transition: width .25s, left .25s, top .25s, opacity .2s, transform .25s; }
#design-preview-secondary[hidden] { display: none !important; }
.print-finish { position: absolute; z-index: 4; pointer-events: none; background: linear-gradient(105deg, rgba(255,255,255,.24), transparent 38%, rgba(0,0,0,.08) 72%, transparent); mix-blend-mode: soft-light; opacity: .45; }
.print-finish[hidden] { display: none !important; }
#product-texture { position: absolute; z-index: 5; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: .2; mix-blend-mode: multiply; filter: grayscale(1) contrast(1.18); pointer-events: none; }
#product-texture[hidden] { display: none !important; }
.design-placeholder { position: absolute; z-index: 6; left: 38%; top: 30%; width: 24%; aspect-ratio: 1; display: grid; align-content: center; padding: 8px; border: 2px dashed rgba(0,0,0,.22); border-radius: 12px; background: rgba(255,255,255,.78); color: rgba(0,0,0,.55); font-size: 12px; font-weight: 800; text-align: center; backdrop-filter: blur(5px); transition: width .25s, left .25s, top .25s; }
.design-placeholder[hidden] { display: none !important; }
.design-placeholder span { display: block; margin-bottom: 3px; font-size: 19px; }
.shirt-stage[data-product="tenis-lona"] #design-preview,
.shirt-stage[data-product="tenis-lona"] #design-preview-secondary,
.shirt-stage[data-product="tenis-lona"] .print-finish {
  transform-origin: center;
  transform: rotate(4deg) skewX(-5deg) scale(.97);
  clip-path: polygon(2% 0, 98% 12%, 92% 88%, 6% 100%);
  border-radius: 0;
}
.shirt-stage[data-product="tenis-lona"] .print-finish {
  opacity: .62;
  mix-blend-mode: overlay;
  background:
    repeating-linear-gradient(8deg, rgba(255,255,255,.16) 0 1px, rgba(31,26,20,.08) 1px 2px, transparent 2px 4px),
    repeating-linear-gradient(98deg, rgba(255,255,255,.12) 0 1px, transparent 1px 3px);
}
.product-note { position: absolute; z-index: 3; bottom: 28px; left: 28px; padding: 7px 12px; border: 1px solid rgba(0,0,0,.1); border-radius: 999px; background: rgba(255,255,255,.85); font-size: 12px; font-weight: 700; backdrop-filter: blur(6px); }

.controls-panel { min-height: 650px; display: flex; flex-direction: column; padding: 30px; }
.controls-panel h2 { margin-top: 4px; font-size: 33px; line-height: 1; }
.controls-panel fieldset { margin: 23px 0 0; padding: 0; border: 0; }
.controls-panel legend, .field-label { display: block; margin-bottom: 11px; color: var(--ink); font-size: 14px; font-weight: 900; }
.controls-panel legend span { color: var(--muted); font-weight: 400; }
.color-options { display: flex; gap: 12px; }
.color-swatch { position: relative; width: 40px; height: 40px; border: 3px solid white; border-radius: 50%; background: var(--swatch); box-shadow: 0 0 0 1px #c9c1b5; transition: transform .2s, box-shadow .2s; }
.color-swatch.selected { transform: scale(1.11); box-shadow: 0 0 0 2px var(--orange); }
.color-swatch i { display: none; color: white; font-style: normal; font-weight: 900; text-shadow: 0 1px 3px black; }
.color-swatch.selected i { display: block; }
.size-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(54px, 1fr)); gap: 8px; }
.choice-button { height: 40px; border: 1px solid var(--border); border-radius: 11px; background: white; font-size: 13px; font-weight: 850; }
.choice-button.selected { border-color: var(--ink); background: var(--ink); color: white; }
.print-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.print-card { padding: 12px; border: 1px solid var(--border); border-radius: 12px; background: white; text-align: left; }
.print-card strong, .print-card small, .print-card em { display: block; }
.print-card strong { font-size: 13px; }
.print-card small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.print-card em { margin-top: 8px; color: var(--orange); font-size: 12px; font-style: normal; font-weight: 900; }
.print-card.selected { border-color: var(--orange); background: #fff8f5; box-shadow: 0 0 0 2px rgba(231,74,47,.11); }
.controls-panel > div:nth-of-type(2) { margin-top: 22px; }
.upload-field { height: 51px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; padding: 0 14px; border: 1.5px dashed #bdb3a3; border-radius: 12px; background: white; cursor: pointer; }
.upload-field span { color: var(--orange); font-size: 22px; }
.upload-field b { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.upload-field small, .help-text { color: var(--muted); font-size: 10px; }
.help-text { margin: 7px 0 0; }
.checkout-box { margin-top: auto !important; padding-top: 23px; }
.price-row { display: flex; align-items: end; justify-content: space-between; gap: 15px; padding-top: 18px; border-top: 1px dashed var(--border); }
.price-row small { color: var(--muted); font-size: 11px; }
.price-row p { margin: 3px 0 0; font-size: 11px; font-weight: 700; }
.total-price { font: 900 39px/1 var(--display) !important; white-space: nowrap; }
.total-price span { color: var(--muted); font: 600 10px/1 var(--body); letter-spacing: 0; }
.whatsapp-button { width: 100%; min-height: 52px; margin-top: 17px; background: #25d366; color: #0d3b20; box-shadow: 0 10px 28px rgba(37,211,102,.18); }
.whatsapp-button:hover { background: #20bd5b; }
.whatsapp-icon { font-size: 20px; }
.status-message { min-height: 17px; margin: 9px 0 0; color: var(--orange); font-size: 11px; font-weight: 800; text-align: center; }
.status-message.success { color: #16733a; }

.catalog-section { padding-top: 80px; padding-bottom: 82px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; }
.section-heading h2, .how-section h2 { margin-top: 4px; font-size: clamp(42px, 4.5vw, 64px); line-height: .95; }
.category-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.category-filters button { padding: 9px 16px; border: 1px solid var(--border); border-radius: 999px; background: var(--paper); font-size: 13px; font-weight: 900; }
.category-filters button.selected { border-color: var(--ink); background: var(--ink); color: white; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; margin-top: 25px; }
.product-card { overflow: hidden; border: 1px solid rgba(0,0,0,.1); border-radius: 24px; background: var(--paper); transition: transform .3s, box-shadow .3s; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(59,45,23,.1); }
.product-card.active { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(231,74,47,.13), 0 18px 55px rgba(59,45,23,.09); }
.product-card[hidden] { display: none; }
.product-visual { position: relative; height: 225px; display: grid; place-items: center; overflow: hidden; background: var(--product-color); }
.product-visual > span { font-size: 90px; filter: saturate(.7); transition: transform .4s; }
.product-visual img { width: 115%; height: 115%; object-fit: contain; transition: transform .4s; }
.product-card:hover .product-visual img, .product-card:hover .product-visual > span { transform: rotate(-3deg) scale(1.05); }
.product-visual b { position: absolute; top: 13px; left: 13px; padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,.86); font-size: 10px; backdrop-filter: blur(4px); }
.product-info { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 20px; }
.product-info h3 { font-size: 24px; }
.product-info p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.product-info p strong { color: var(--ink); }
.product-info > a { width: 43px; height: 43px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--ink); color: white; font-size: 20px; font-weight: 900; transition: background .2s; }
.product-info > a:hover { background: var(--orange); }

.how-section { background: var(--ink); color: #fffdf8; }
.how-section .section { padding-top: 74px; padding-bottom: 74px; }
.eyebrow.light { color: var(--lime); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; margin-top: 34px; border: 1px solid rgba(255,255,255,.13); border-radius: 23px; background: rgba(255,255,255,.13); }
.steps article { padding: 31px; background: var(--ink); }
.steps article > strong { color: var(--lime); font: 900 52px/1 var(--display); }
.steps h3 { margin-top: 40px; font-size: 24px; }
.steps p { margin: 8px 0 0; color: rgba(255,255,255,.6); font-size: 14px; line-height: 1.6; }
.quality-banner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 17px; margin-top: 28px; padding: 26px 28px; border-radius: 22px; background: var(--orange); }
.quality-banner > span { width: 40px; height: 40px; display: grid; place-items: center; border: 2px solid white; border-radius: 50%; font-size: 22px; font-weight: 900; }
.quality-banner h3 { font-size: 30px; }
.quality-banner p { max-width: 680px; margin: 5px 0 0; color: rgba(255,255,255,.8); font-size: 13px; line-height: 1.55; }

footer { border-top: 1px solid rgba(0,0,0,.1); }
.footer-inner { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-inner small { color: var(--muted); }
.footer-inner > div:last-child { display: flex; gap: 22px; font-size: 13px; font-weight: 850; }
.footer-inner a:hover { color: var(--orange); }

.page-shell { min-height: 100vh; padding: 34px 0 65px; }
.back-link { display: inline-flex; margin-bottom: 22px; color: var(--muted); font-size: 13px; font-weight: 800; }
.back-link:hover { color: var(--orange); }
.share-card { display: grid; grid-template-columns: 1.05fr .95fr; max-width: 900px; margin: 0 auto; overflow: hidden; border: 1px solid rgba(0,0,0,.1); border-radius: 28px; background: var(--paper); box-shadow: 0 24px 80px rgba(59,45,23,.1); }
.share-image { min-height: 470px; display: grid; place-items: center; padding: 34px; background-color: #e8e0d2; }
.share-image img { max-height: 500px; border-radius: 16px; box-shadow: 0 15px 45px rgba(0,0,0,.17); }
.share-empty { color: var(--muted); text-align: center; }
.share-empty span { display: block; margin-bottom: 8px; font-size: 56px; }
.share-details { display: flex; flex-direction: column; padding: 34px; }
.share-details h1 { margin-top: 5px; font-size: 42px; }
.share-details > p { color: var(--muted); font-size: 13px; line-height: 1.6; }
.detail-list { display: grid; gap: 10px; margin: 24px 0; }
.detail-row { display: grid; grid-template-columns: 38px 1fr; gap: 11px; align-items: center; padding: 10px; border: 1px solid var(--border); border-radius: 12px; background: white; }
.detail-row > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 9px; background: var(--lime); }
.detail-row small, .detail-row strong { display: block; }
.detail-row small { color: var(--muted); font-size: 10px; }
.detail-row strong { margin-top: 2px; font-size: 13px; }
.share-checkout { margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--border); }
.share-checkout .total-price { margin: 4px 0 15px; }

.admin-wrap { width: min(100% - 32px, 980px); margin: 0 auto; }
.admin-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.admin-heading h1 { font-size: clamp(40px, 6vw, 58px); }
.admin-heading > p { max-width: 500px; color: var(--muted); font-size: 13px; }
.admin-card { overflow: hidden; margin-top: 22px; border: 1px solid rgba(0,0,0,.1); border-radius: 22px; background: var(--paper); box-shadow: 0 18px 60px rgba(59,45,23,.07); }
.admin-card-header { padding: 20px 22px; border-bottom: 1px solid var(--border); }
.admin-card-header h2 { font-size: 27px; }
.admin-card-header p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.price-edit-row { display: grid; grid-template-columns: 1fr 150px; align-items: center; gap: 18px; padding: 14px 22px; border-bottom: 1px solid var(--border); }
.price-edit-row:last-child { border-bottom: 0; }
.price-edit-row strong, .price-edit-row small { display: block; }
.price-edit-row small { margin-top: 3px; color: var(--muted); }
.money-input { display: flex; align-items: center; padding: 0 11px; border: 1px solid var(--border); border-radius: 11px; background: white; font-weight: 900; }
.money-input input { min-width: 0; width: 100%; height: 42px; border: 0; padding-left: 7px; outline: 0; background: transparent; }
.admin-actions { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 22px; }
.notice { padding: 12px 15px; border-radius: 11px; background: var(--lime); font-size: 13px; font-weight: 800; }
.login-card { max-width: 430px; margin: 70px auto; padding: 28px; border: 1px solid var(--border); border-radius: 24px; background: var(--paper); box-shadow: 0 24px 80px rgba(59,45,23,.1); }
.login-card h1 { margin-top: 6px; font-size: 39px; }
.login-card > p { color: var(--muted); font-size: 13px; line-height: 1.6; }
.text-field { width: 100%; height: 47px; margin-top: 10px; padding: 0 13px; border: 1px solid var(--border); border-radius: 11px; outline: 0; }
.text-field:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(231,74,47,.1); }
.login-card .button { width: 100%; margin-top: 12px; }
.admin-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 22px; margin-top: 30px; }
.admin-create-card { align-self: start; margin-top: 0; }
.admin-form { display: grid; gap: 16px; padding: 22px; }
.admin-form label > span:first-child { display: block; font-size: 12px; font-weight: 850; }
.admin-form .text-field { margin-top: 7px; }
.admin-textarea { min-height: 96px; padding-top: 12px; resize: vertical; }
.admin-form-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.admin-form .money-input { height: 47px; margin-top: 7px; }
.admin-form .button { width: 100%; }
.color-form-columns { grid-template-columns: 1fr 88px; align-items: end; }
.color-field { width: 100%; height: 47px; margin-top: 7px; padding: 4px; border: 1px solid var(--border); border-radius: 11px; background: white; }
.admin-color-list { display: flex; flex-wrap: wrap; gap: 7px; max-height: 230px; padding: 0 22px 22px; overflow-y: auto; }
.admin-color-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border: 1px solid var(--border); border-radius: 999px; background: white; color: var(--muted); font-size: 10px; font-weight: 750; }
.admin-color-chip i { width: 13px; height: 13px; flex: 0 0 auto; border: 1px solid rgba(0,0,0,.15); border-radius: 50%; background: var(--chip-color); }

@media (max-width: 900px) {
  nav, .header-cta { display: none; }
  .menu-button { display: block; }
  .site-header.menu-open nav { position: absolute; top: 64px; left: 0; right: 0; display: grid; gap: 0; padding: 8px 16px 16px; border-bottom: 1px solid var(--border); background: var(--cream); }
  .site-header.menu-open nav a { padding: 13px 8px; }
  .hero-heading, .section-heading { align-items: start; flex-direction: column; }
  .laboratory { grid-template-columns: 1fr; }
  .preview-panel { min-height: 540px; border-right: 0; border-bottom: 1px solid var(--border); }
  .controls-panel { min-height: auto; }
  .checkout-box { margin-top: 28px !important; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .steps h3 { margin-top: 20px; }
  .quality-banner { grid-template-columns: auto 1fr; }
  .quality-banner .button { grid-column: 1 / -1; }
  .share-card { grid-template-columns: 1fr; }
  .admin-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .section, .header-inner, .footer-inner { width: min(100% - 24px, 1384px); }
  .lab-section { padding-top: 22px; }
  h1 { font-size: 43px; }
  .hero-copy { font-size: 13px; }
  .laboratory { border-radius: 21px; }
  .preview-panel { min-height: 440px; }
  .preview-toolbar { padding: 15px; }
  .shirt-stage { inset: 55px 12px 42px; }
  .product-note { bottom: 13px; left: 13px; }
  .controls-panel { padding: 23px 18px; }
  .controls-panel h2 { font-size: 29px; }
  .print-card { padding: 10px 7px; }
  .print-card strong { font-size: 12px; }
  .category-filters { flex-wrap: nowrap; margin-inline: -12px; padding-inline: 12px; overflow-x: auto; scrollbar-width: none; }
  .category-filters button { flex: 0 0 auto; }
  .product-grid { grid-template-columns: 1fr; }
  .catalog-section { padding-top: 58px; padding-bottom: 60px; }
  .steps article { padding: 25px; }
  .quality-banner { grid-template-columns: 1fr; }
  .quality-banner > span { display: none; }
  .footer-inner { align-items: start; flex-direction: column; padding-block: 25px; }
  .footer-inner > div:last-child { flex-direction: column; gap: 12px; }
  .share-image { min-height: 350px; }
  .share-details { padding: 25px 20px; }
  .admin-heading { align-items: start; flex-direction: column; }
  .price-edit-row { grid-template-columns: 1fr; }
  .admin-actions { align-items: stretch; flex-direction: column; }
  .admin-form-columns { grid-template-columns: 1fr; }
  .color-form-columns { grid-template-columns: 1fr 80px; }
}

/* === MemeLux Shirts-only mobile editor v20 === */
.shirts-only .catalog-section{display:none!important}.compact-hero{margin-bottom:26px}.shirt-editor-layout{align-items:start}.shirt-preview-panel{min-height:620px;position:sticky;top:78px}.preview-toolbar-actions{display:flex;gap:8px;align-items:center}.icon-button{width:42px;height:42px;border-radius:14px;border:1px solid var(--line,#ddd4c8);background:#fff;font-size:20px;cursor:pointer}.shirt-viewer{position:absolute;inset:74px 38px 116px;perspective:1100px;display:grid;place-items:center;overflow:visible}.shirt-perspective{width:100%;height:100%;transform-style:preserve-3d;transition:transform .42s cubic-bezier(.2,.75,.25,1)}.shirt-viewer .shirt-stage{position:absolute;inset:0;transform-style:preserve-3d}.shirt-viewer .shirt-stage::after{bottom:1%}.shirt-viewer #product-mockup{width:min(96%,520px);height:min(96%,520px);object-fit:contain;user-select:none;transition:transform .3s ease;z-index:1}.shirt-viewer[data-shirt-style="oversize"] #product-mockup{transform:scaleX(1.09) scaleY(.97)}.shirt-viewer[data-shirt-style="polo"] #polo-details{display:block}.shirt-viewer[data-view="back"] #back-collar-cover{display:block}.shirt-viewer[data-view="back"] #product-mockup{transform:scaleX(-1)}.shirt-viewer[data-shirt-style="oversize"][data-view="back"] #product-mockup{transform:scaleX(-1.09) scaleY(.97)}
#polo-details{display:none;position:absolute;z-index:4;left:50%;top:18%;width:72px;height:92px;transform:translateX(-50%);pointer-events:none}#polo-details i{position:absolute;left:8px;right:8px;top:0;height:34px;border:8px solid rgba(215,215,211,.92);border-top:0;border-radius:0 0 28px 28px}#polo-details b{position:absolute;left:34px;width:5px;height:5px;border-radius:50%;background:#aaa}#polo-details b:nth-child(2){top:42px}#polo-details b:nth-child(3){top:55px}#polo-details b:nth-child(4){top:68px}#back-collar-cover{display:none;position:absolute;z-index:3;left:43%;right:43%;top:16.5%;height:6%;background:rgba(245,245,241,.94);border-radius:50%;filter:blur(2px);pointer-events:none}
.print-zone{position:absolute;z-index:5;touch-action:none;display:grid;place-items:center;overflow:visible;transition:left .25s,top .25s,width .25s,height .25s;transform:translateZ(5px)}.print-zone::before{content:"";position:absolute;inset:-6px;border:1px dashed rgba(231,74,47,.38);border-radius:10px;opacity:0;transition:opacity .2s}.print-zone:hover::before,.print-zone.dragging::before{opacity:1}#design-preview{position:absolute!important;inset:auto!important;width:100%!important;height:100%!important;object-fit:contain!important;transform-origin:center;filter:saturate(.96) contrast(1.03) drop-shadow(0 1px 1px rgba(0,0,0,.09));will-change:transform}.print-zone .design-placeholder{position:relative!important;inset:auto!important;width:100%!important;height:100%!important;display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:center;border:1px dashed rgba(231,74,47,.45);border-radius:12px;background:rgba(255,255,255,.34);font-size:12px}.print-zone .design-placeholder[hidden]{display:none!important}.print-zone .design-placeholder span{font-size:24px}.print-zone .design-placeholder small{font-weight:500;opacity:.65;text-align:center}
.view-tabs{position:absolute;left:22px;right:22px;bottom:54px;z-index:10;display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.view-tabs button{min-height:48px;border:1px solid #ded6ca;background:rgba(255,255,255,.88);backdrop-filter:blur(10px);border-radius:14px;font:700 12px/1.1 inherit;color:#514b43;padding:7px 5px;cursor:pointer}.view-tabs button span{display:block;font-size:15px;margin-bottom:3px}.view-tabs button.selected{border-color:#e74a2f;box-shadow:0 0 0 2px rgba(231,74,47,.11);color:#c83d26;background:#fff}.gesture-hint{position:absolute;bottom:18px;left:30px;right:30px;margin:0;text-align:center;font-size:12px;color:#71695f}
.shirt-style-options{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.style-card{border:1px solid #ded6ca;border-radius:16px;background:#fff;padding:13px 10px;text-align:left;cursor:pointer}.style-card strong,.style-card small{display:block}.style-card small{margin-top:3px;color:#80776c}.style-card.selected{border-color:#e74a2f;box-shadow:0 0 0 2px rgba(231,74,47,.1)}.design-tools[disabled]{opacity:.45;pointer-events:none}.tool-row{display:grid;grid-template-columns:1fr 54px;gap:12px;align-items:end;margin:10px 0}.tool-row label span{display:block;font-size:12px;font-weight:800;margin-bottom:7px}.tool-row input{width:100%}.tool-row output{text-align:right;font-weight:900;font-size:13px}.nudge-grid{display:grid;grid-template-columns:44px 44px 1fr 44px 44px;gap:7px}.nudge-grid button{height:42px;border:1px solid #ded6ca;background:#fff;border-radius:12px;font-weight:800}.shirt-controls{gap:22px}
@media(max-width:860px){.shirts-only .header-inner nav{display:none}.shirt-lab{padding-top:22px}.compact-hero{display:block}.compact-hero h1{font-size:clamp(34px,10vw,50px)}.compact-hero .hero-copy{margin-top:12px}.shirt-editor-layout{display:flex;flex-direction:column;gap:14px}.shirt-preview-panel{position:relative;top:auto;width:100%;min-height:520px;height:64vh;max-height:620px;border-radius:22px}.shirt-viewer{inset:58px 8px 106px}.mobile-sticky-preview-bar{top:12px;left:12px;right:12px}.view-tabs{left:10px;right:10px;bottom:48px;gap:5px}.view-tabs button{font-size:10px;min-height:46px}.gesture-hint{bottom:13px;left:10px;right:10px;font-size:10px}.shirt-controls{width:100%}.shirt-style-options{grid-template-columns:repeat(3,1fr)}.style-card{padding:11px 8px}.style-card strong{font-size:13px}.style-card small{font-size:10px}.checkout-box{position:sticky;bottom:8px;z-index:20;box-shadow:0 15px 45px rgba(30,25,20,.17)} }
@media(max-width:480px){.section{padding-left:14px;padding-right:14px}.shirt-preview-panel{height:58vh;min-height:470px}.shirt-viewer{inset:56px -2px 104px}.preview-toolbar-actions .button{padding:9px 10px}.icon-button{width:38px;height:38px}.view-tabs button span{display:none}.shirt-style-options{gap:6px}.nudge-grid{grid-template-columns:40px 40px 1fr 40px 40px}.nudge-grid button{height:40px}.controls-panel{padding:18px}}
