/* JR CONFECÇÕES 7.1 — correções visuais de produção
   Colocado DEPOIS das folhas anteriores para impedir regras antigas de quebrar
   o slider e o rodapé. Sem alteração dos pedidos, pagamentos ou banco. */

/* Slider: uma grade limpa, imagem dentro de sua própria área e sem letras gigantes sobre a arte. */
body:not(.is-admin-view) .elite-store-hero {
  position: relative;
  min-height: 525px;
  overflow: hidden;
  isolation: isolate;
  background: #111820;
}
body:not(.is-admin-view) .elite-slides { height: 525px; }
body:not(.is-admin-view) .elite-slide {
  background: radial-gradient(ellipse at 74% 53%, #343d48 0%, #19212c 41%, #10151d 90%);
}
body:not(.is-admin-view) .elite-slide.is-light {
  background: linear-gradient(105deg,#f6f7f8,#dde2e8);
}
body:not(.is-admin-view) .elite-slide-bg {
  /* A marca em dimensões enormes passava sobre a camiseta. */
  display: none;
}
body:not(.is-admin-view) .elite-slide-layout {
  width: min(calc(100% - 80px), 1320px);
  height: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 55%) minmax(0, 45%);
  align-items: center;
  gap: 12px;
}
body:not(.is-admin-view) .elite-slide-copy {
  min-width: 0;
  position: relative;
  z-index: 3;
  padding: 20px 0 70px;
}
body:not(.is-admin-view) .elite-slide h1 {
  font-size: clamp(40px, 5.0vw, 76px);
  max-width: 680px;
  line-height: 1.04;
  letter-spacing: -.055em;
  margin: 22px 0 18px;
  text-wrap: balance;
  overflow-wrap: break-word;
}
body:not(.is-admin-view) .elite-slide-copy p {
  max-width: 490px;
  line-height: 1.65;
  color: #cdd3dd;
}
body:not(.is-admin-view) .elite-slide-photo {
  position: relative;
  inset: auto;
  opacity: 1;
  min-width: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: visible;
}
body:not(.is-admin-view) .elite-slide-photo picture {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(100%, 570px);
  height: min(100%, 485px);
  justify-content: center;
  align-items: center;
}
body:not(.is-admin-view) .elite-slide-photo img {
  display: block;
  height: 100%;
  max-height: 465px;
  width: 100%;
  max-width: 100%;
  object-fit: contain;
  transform: none;
  filter: drop-shadow(0 22px 26px #05090e65);
}
body:not(.is-admin-view) .elite-slide.is-current .elite-slide-photo img {
  animation: jr71Float 7s ease-in-out infinite;
}
@keyframes jr71Float {0%,100% {transform:translateY(0)}50% {transform:translateY(-8px)}}
body:not(.is-admin-view) .elite-photo-ring {
  width: min(420px, 90%);
  height: auto;
  aspect-ratio: 1;
  max-width: none;
  border-color: #ffffff16;
  pointer-events: none;
}
body:not(.is-admin-view) .elite-slide-index {
  bottom: 26px;
  right: max(28px, calc((100vw - 1320px)/2));
}
body:not(.is-admin-view) .elite-slide-controls {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  width: min(calc(100% - 80px), 1320px);
  height: 74px;
  z-index: 8;
}
body:not(.is-admin-view) .elite-slide-controls button {
  cursor: pointer;
}

/* Rodapé: 36px era adequado para ícones, não para textos longos. */
body:not(.is-admin-view) .footer-grid {
  grid-template-columns: minmax(210px,1.35fr) minmax(125px,.8fr) minmax(135px,.8fr) minmax(225px,1.1fr);
  gap: clamp(20px,3vw,44px);
}
body:not(.is-admin-view) .footer-grid > div {min-width:0;}
body:not(.is-admin-view) .footer-brand .brand {
  display: inline-flex;
  flex-wrap: nowrap;
  max-width: 100%;
  align-items: center;
}
body:not(.is-admin-view) .footer-brand .brand-copy {
  min-width: 0;
  font-size: 10px;
  letter-spacing: 2px;
  overflow-wrap: normal;
  white-space: normal;
}
body:not(.is-admin-view) .footer-brand .brand-copy small {
  font-size: 7px;
  letter-spacing: 1px;
  line-height: 1.4;
}
body:not(.is-admin-view) .footer-brand p {
  max-width: 360px;
  overflow-wrap: anywhere;
}
body:not(.is-admin-view) .socials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
body:not(.is-admin-view) .socials span {
  box-sizing: border-box;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 auto;
  width: auto;
  height: auto;
  max-width: 100%;
  min-height: 33px;
  padding: 7px 11px;
  border: 1px solid #444a53;
  border-radius: 5px;
  color: #d9dfe8;
  font-size: 9px;
  line-height: 1.3;
  letter-spacing: .65px;
  text-align: center;
  white-space: nowrap;
}
body:not(.is-admin-view) .footer-bottom {gap:16px;flex-wrap:wrap;}

@media(max-width:1050px) {
  body:not(.is-admin-view) .elite-slide-layout {width:calc(100% - 56px);grid-template-columns:minmax(0,56%) minmax(0,44%);}
  body:not(.is-admin-view) .elite-slide h1 {font-size:clamp(39px,5.2vw,61px);}
  body:not(.is-admin-view) .elite-slide-photo picture {height:440px;}
  body:not(.is-admin-view) .elite-slide-controls {width:calc(100% - 56px);}
  body:not(.is-admin-view) .footer-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 28px;}
}
@media(max-width:650px) {
  body:not(.is-admin-view) .elite-store-hero {min-height:650px;}
  body:not(.is-admin-view) .elite-slides {height:650px;}
  body:not(.is-admin-view) .elite-slide-layout {
    width:calc(100% - 36px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: 0;
  }
  body:not(.is-admin-view) .elite-slide-copy {
    width: 100%;
    min-height: 0;
    flex: 0 0 auto;
    padding: 35px 0 0;
  }
  body:not(.is-admin-view) .elite-slide h1 {
    font-size: clamp(35px, 9vw, 50px);
    max-width: 100%;
    line-height: 1.04;
    margin: 14px 0 10px;
    letter-spacing: -.048em;
  }
  body:not(.is-admin-view) .elite-slide-copy p {
    font-size: 12px;
    line-height: 1.55;
    max-width: 95%;
    margin: 0;
  }
  body:not(.is-admin-view) .elite-slide-actions {gap:13px;margin-top:18px;}
  body:not(.is-admin-view) .elite-slide-button {padding:13px 16px;}
  body:not(.is-admin-view) .elite-slide-tag {display:none;}
  body:not(.is-admin-view) .elite-slide-photo {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 0;
    height: 265px;
    flex: 1 1 auto;
    margin: 0 auto 68px;
    overflow:hidden;
    opacity: 1;
  }
  body:not(.is-admin-view) .elite-slide-photo picture {width:min(100%,380px);height:100%;}
  body:not(.is-admin-view) .elite-slide-photo img {max-height:100%;height:100%;width:100%;object-fit:contain;}
  body:not(.is-admin-view) .elite-photo-ring {width:min(275px,75%);}
  body:not(.is-admin-view) .elite-slide-bg {display:none;}
  body:not(.is-admin-view) .elite-slide-controls {width:calc(100% - 36px);height:54px;}
  body:not(.is-admin-view) .elite-slide-index {font-size:15px;bottom:18px;right:18px;}
  body:not(.is-admin-view) .elite-slide-progress {width:50px;}
  body:not(.is-admin-view) .footer {padding-top:40px;}
  body:not(.is-admin-view) .footer-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 16px;}
  body:not(.is-admin-view) .footer-brand,
  body:not(.is-admin-view) .footer-subscribe {grid-column: 1 / -1;}
  body:not(.is-admin-view) .footer-brand .brand-copy {font-size:10px;}
  body:not(.is-admin-view) .socials span {font-size:9px;}
}
@media(max-width:370px) {
  body:not(.is-admin-view) .elite-store-hero,
  body:not(.is-admin-view) .elite-slides {height:685px;min-height:685px;}
  body:not(.is-admin-view) .elite-slide h1 {font-size:34px;}
  body:not(.is-admin-view) .elite-slide-photo {margin-bottom:58px;}
}
@media(prefers-reduced-motion: reduce) {
  body:not(.is-admin-view) .elite-slide.is-current .elite-slide-photo img {animation:none!important;}
}
/* Separa os dois textos legais também nos celulares estreitos. */
@media(max-width:650px){
  body:not(.is-admin-view) .footer-bottom > span {
    display:block;
    margin:0 0 8px;
    overflow-wrap:anywhere;
  }
}

/* 7.2: persistent, accessible product-save errors */
.studio-save-feedback:not([hidden]){display:block;margin:16px 0 10px;padding:14px 17px;border:1px solid #eb9b9e;border-left:5px solid #c51121;background:#fff2f3;color:#841725;font-weight:700;font-size:14px;line-height:1.5;border-radius:10px;overflow-wrap:anywhere}
.studio-save-feedback[hidden]{display:none !important}
/* Checkout JR 8.0 — layout específico, sem alterar páginas antigas. */
.jr-checkout{padding-bottom:78px}.jr-checkout-top{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:12px 0 32px}.jr-checkout-promise{font-size:11px;color:#64717a}.jr-checkout-promise span{color:#e30613;margin:0 7px}.jr-checkout .checkout-layout{grid-template-columns:minmax(0,1fr) 370px;gap:34px}.jr-checkout-step{display:flex;align-items:center;gap:17px;margin:25px 0 18px}.jr-checkout-step:first-child{margin-top:0}.jr-step-number{display:grid;place-items:center;width:45px;height:45px;background:#111820;color:white;font-size:17px;font-weight:900;border-radius:12px;flex-shrink:0}.jr-checkout-step h2{margin:0 0 3px!important;font-size:21px}.jr-checkout-step p{font-size:12px;color:#74808d;margin:0;line-height:1.5}.jr-checkout-panel{border:1px solid #e4e8ed;background:white;border-radius:16px;padding:28px;box-shadow:0 10px 28px #1d253008}.jr-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.jr-field{display:flex;flex-direction:column;gap:7px;min-width:0}.jr-field>span{font-size:12px;font-weight:750;color:#222}.jr-field b{color:#d41322}.jr-field input,.jr-field textarea{width:100%;min-width:0;background:#fbfcfd;border:1px solid #d7dde5;border-radius:9px;padding:13px 14px;font-size:14px;min-height:47px;transition:border-color .18s,box-shadow .18s}.jr-field input:focus,.jr-field textarea:focus{outline:none;border-color:#ce1022;box-shadow:0 0 0 3px #e3061320}.jr-field input:user-invalid{border-color:#b71d34}.jr-privacy-hint{color:#6c7581;display:block;font-size:11px;line-height:1.6;margin-top:13px}.jr-cep-entry{display:flex;gap:8px;align-items:end}.jr-cep-entry>.jr-field{flex:1}.jr-lookup{border:1px solid #141a23;background:#141a23;color:white;min-height:47px;font-size:10px;font-weight:850;letter-spacing:.03em;padding:0 14px;border-radius:9px;cursor:pointer}.jr-cep-status{font-size:11px;color:#687785;margin:17px 0}.jr-freight-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:26px 0 14px}.jr-freight-head h3{font-size:15px;margin:0}.jr-freight-head span{font-size:11px;color:#737c8d}.jr-freight-options{display:grid;gap:10px}.jr-freight-options>p{padding:15px;border:1px dashed #cdd5df;border-radius:10px;color:#7b8491;font-size:12px;line-height:1.6}.jr-freight-option{display:flex;align-items:center;gap:13px;padding:15px;border:1px solid #dfe5ec;background:#fbfcfd;border-radius:11px;cursor:pointer}.jr-freight-option:has(input:checked){border-color:#de172d;background:#fff7f8;box-shadow:0 0 0 2px #e3061315}.jr-freight-option input{accent-color:#df182b;width:17px;height:17px;flex:none}.jr-freight-title{flex:1}.jr-freight-title strong{display:block;font-size:13px;margin-bottom:3px}.jr-freight-title small{display:block;font-size:11px;color:#6f7885}.jr-freight-price{font-size:15px;font-weight:850;white-space:nowrap}.jr-requote{margin-top:13px;padding:8px 0;border:0;background:none;text-decoration:underline;cursor:pointer;color:#6b7280;font-size:11px}.jr-payment-options{display:grid;gap:11px}.jr-payment-option{padding:16px;border:1px solid #e1e5eb;background:#fff;border-radius:12px;display:flex;gap:12px;align-items:center;cursor:pointer}.jr-payment-option:has(input:checked){background:#fff7f8;border-color:#d81127;box-shadow:0 0 0 2px #e3061314}.jr-payment-option input{width:18px;height:18px;accent-color:#e30613;flex:none}.jr-pay-ico{display:grid;place-items:center;width:39px;height:39px;background:#f2f3f5;border-radius:10px;font-size:20px;flex:none}.jr-payment-option strong{font-size:13px}.jr-payment-option strong em{background:#da142a;color:white;border-radius:5px;padding:4px 7px;font-style:normal;font-size:10px;margin-left:7px}.jr-payment-option small{display:block;margin-top:5px;color:#6f7785;font-size:11px;line-height:1.5}.jr-policy-copy,.jr-pay-footer{font-size:11px;color:#767e87;line-height:1.7}.jr-accept{display:flex;gap:11px;align-items:flex-start;border-top:1px solid #e7eaf0;padding:20px 0 15px;margin-top:16px;color:#484f58;font-size:12px;line-height:1.6}.jr-accept input{margin-top:3px;accent-color:#e30613;flex:none}.jr-accept a{color:#c50e22;text-decoration:underline}.jr-checkout-error{padding:14px;border:1px solid #f3adb4;background:#fff1f3;color:#a11d32;border-radius:9px;font-size:12px;font-weight:650}.jr-finalize{border-radius:9px;min-height:53px;margin-bottom:12px}.jr-order-summary{background:#f8f9fa;border:1px solid #eaedf0;border-radius:17px;padding:26px}.jr-summary-kicker{color:#cb1427;font-size:10px;font-weight:900;letter-spacing:.13em}.jr-order-summary h2{font-size:22px;margin:10px 0 25px}.jr-order-summary .summary-item img{object-fit:contain;background:#fff;border:1px solid #edf0f4;border-radius:8px}.jr-order-summary .summary-line{font-size:13px}.jr-order-summary .jr-discount{color:#20854f}.jr-order-summary .summary-line.big{font-size:19px}.jr-total-caption{font-size:11px;line-height:1.6;color:#737c86}.jr-checkout-guarantees{margin-top:23px;border-top:1px solid #e4e7eb;padding-top:15px}.jr-checkout-guarantees p{margin:9px 0;font-size:11px;color:#5d6671}.jr-pix-box{margin:20px auto;padding:25px;background:#fff;border:1px solid #dde3ea;border-radius:16px;display:grid;justify-items:center;gap:13px}.jr-pix-qr{width:220px;height:220px;object-fit:contain}.jr-pix-box .jr-field{width:100%;text-align:left}.jr-admin-pix-head{grid-column:1/-1;border-bottom:1px solid #ddd;padding:13px 0}.jr-admin-pix-head strong{display:block;margin-bottom:4px}.jr-admin-pix-head small{color:#64717d;line-height:1.5}.jr-freight-error{color:#be182b!important;background:#fff5f5;border-color:#efbac3!important}
@media(max-width:900px){.jr-checkout .checkout-layout{display:flex;flex-direction:column-reverse;gap:10px}.jr-order-summary{position:static;order:0;width:100%}.jr-checkout .checkout-form{width:100%}}
@media(max-width:600px){.jr-checkout-top{display:block}.jr-checkout-promise{margin-top:10px}.jr-form-grid{grid-template-columns:1fr}.jr-checkout-panel{padding:17px}.jr-freight-option{padding:11px 10px;gap:9px}.jr-freight-price{font-size:12px}.jr-cep-entry{gap:6px}.jr-lookup{padding:0 10px;font-size:9px}.jr-checkout-step h2{font-size:18px}.jr-step-number{width:38px;height:38px}.jr-checkout .checkout-layout{display:flex;flex-direction:column-reverse}.jr-order-summary{padding:18px}}

/* Product v8 — legible merchandising, proportional media, accessible size/color selectors. */
.product-media{min-width:0}.product-media .main-product-img{aspect-ratio:4/5;width:100%;height:auto;object-fit:contain;background:#f6f7f9;border-radius:13px;max-height:780px}.product-media .thumbs{overflow:auto;max-height:720px}.product-media .thumbs button{aspect-ratio:4/5;overflow:hidden;border-radius:8px}.product-media .thumbs img{width:100%;height:100%;aspect-ratio:4/5;object-fit:contain;background:#f5f6f7}.product-details .color-options{flex-wrap:wrap}.product-details .color-choice{border-radius:8px;min-height:39px}.product-details .size-options{flex-wrap:wrap}.jr-product-information{margin-top:32px;border-top:1px solid #e3e7ed;padding-top:22px}.jr-product-information>h4{font-size:13px;font-weight:900;color:#1c2532;margin:24px 0 13px;letter-spacing:.04em}.jr-product-information>h4:first-child{margin-top:0}.jr-description{padding:0 0 6px}.jr-description p{font-size:13px;line-height:1.9;color:#4f5866;margin:8px 0;overflow-wrap:anywhere}.jr-description h5{font-size:13px;color:#171c23;margin:22px 0 8px}.jr-product-bullet{display:flex;gap:10px;align-items:flex-start;margin:10px 0}.jr-product-bullet>span{display:grid;place-items:center;background:#eaf9ee;border-radius:50%;color:#14864d;width:21px;height:21px;font-size:11px;font-weight:950;flex:none}.jr-product-bullet p{margin:0}.jr-color-gallery-box{border:1px solid #e0e6ed;background:#fbfcff;border-radius:13px;margin:20px 0;padding:17px}.jr-color-gallery-box h4{margin:0 0 8px;font-size:14px}.jr-color-gallery-box p{color:#75808d;line-height:1.65;font-size:11px}.jr-color-gallery-box textarea{width:100%;border:1px solid #d5dde6;border-radius:9px;min-height:87px;padding:12px;font-size:12px;line-height:1.5}.jr-kit-custom-toggle{display:flex;gap:10px;align-items:center;margin:15px 0;padding:15px;border-radius:9px;border:1px solid #dce2eb;background:#fafbfd;font-weight:700;font-size:12px}.jr-kit-custom-toggle input{width:18px;height:18px;accent-color:#e30613}.jr-kit-personalization{margin-top:25px;padding:18px;border:1px solid #e4e8ef;border-radius:14px;background:#fbfcfd}.jr-kit-personalization>h3{font-size:17px;font-weight:900;margin:0}.jr-kit-personalization>p{font-size:11px;color:#747c86;line-height:1.6}.jr-kit-line{display:grid;grid-template-columns:minmax(90px,1fr) minmax(95px,1fr) minmax(65px,1fr);gap:11px;align-items:end;border-top:1px solid #e5e9f0;padding:12px 0}.jr-kit-line>strong{font-size:12px;line-height:1.35}.jr-kit-line>label{display:grid;gap:7px;font-size:11px;color:#64717d}.jr-kit-line select{border-radius:9px;border:1px solid #d5dde8;max-width:100%;min-height:37px;background:#fff;padding:8px 10px}
/* Home hero v8: keep content within the slide while preserving the configured desktop/mobile art. */
.elite-store-hero{isolation:isolate}.elite-slide-layout{min-width:0}.elite-slide-copy{min-width:0;max-width:100%;padding-right:35px}.elite-slide h1{overflow-wrap:break-word}.elite-slide-photo{overflow:hidden}.elite-slide-photo picture{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.elite-slide-photo img{width:min(100%,550px);max-height:100%;object-fit:contain;transform:none!important;animation:none!important;filter:drop-shadow(0 18px 19px #0005)}.elite-slide-bg{opacity:.35}.elite-slide-controls{gap:10px}.elite-slide-controls>button{flex:none}.elite-slide-progress{height:2px;min-width:35px}
@media(max-width:700px){.elite-store-hero,.elite-slides{min-height:610px;height:610px}.elite-slide-layout{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start}.elite-slide-copy{padding:30px 0 0;min-height:0;max-height:none;flex:none}.elite-slide h1{font-size:clamp(31px,9.4vw,49px);line-height:1.03;margin:15px 0 12px;letter-spacing:-.055em}.elite-slide-copy p{font-size:12px;line-height:1.55}.elite-slide-photo{position:relative;bottom:auto;right:auto;width:100%;height:260px;min-height:260px;margin-top:12px}.elite-slide-photo img{max-height:260px;object-fit:contain}.elite-slide-index{bottom:15px}.elite-slide-controls{margin-top:-50px;height:50px;width:calc(100% - 30px)}.elite-slide-tag{display:none}.jr-kit-line{grid-template-columns:1fr 1fr}.jr-kit-line>strong{grid-column:1/-1}.product-media .main-product-img{max-height:540px}}
@media(prefers-reduced-motion:reduce){.elite-slide img{animation:none!important;transition:none!important}}
