/* Jordan 2.4.5 — vitrines da home em slide (destaques + uma por categoria). */
body .jg-rail{--rail-gap:1.25rem;--rail-cols:4;position:relative;max-width:1540px;margin:0 auto}
body .jg-rail ul.products.jg-rail__track{display:flex!important;flex-wrap:nowrap!important;gap:var(--rail-gap)!important;grid-template-columns:none!important;margin:0!important;padding:0 0 .5rem!important;list-style:none;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none}
body .jg-rail ul.products.jg-rail__track::-webkit-scrollbar{display:none}
body .jg-rail ul.products.jg-rail__track::before,body .jg-rail ul.products.jg-rail__track::after{display:none!important;content:none!important}
body .jg-rail ul.products.jg-rail__track>li.product{float:none!important;width:auto!important;margin:0!important;flex:0 0 calc((100% - (var(--rail-cols) - 1) * var(--rail-gap)) / var(--rail-cols))!important;max-width:none!important;min-width:0!important;scroll-snap-align:start}
body .jg-rail__arrow{position:absolute;z-index:4;top:calc(var(--rail-arrow-top,38%));width:46px;height:46px;display:grid;place-items:center;padding:0;border:1px solid #e4dccd;border-radius:50%;background:rgba(255,255,255,.96);color:#223646;box-shadow:0 10px 28px rgba(24,38,49,.14);cursor:pointer;transform:translateY(-50%);transition:opacity .2s,background .2s,color .2s}
body .jg-rail__arrow svg{width:20px;height:20px}
body .jg-rail__arrow:hover{background:#223646;color:#fff;border-color:#223646}
body .jg-rail__arrow:focus-visible{outline:2px solid #223646;outline-offset:3px}
body .jg-rail__arrow--prev{left:-23px}
body .jg-rail__arrow--next{right:-23px}
body .jg-rail__arrow[disabled]{opacity:0;pointer-events:none}
body .jg-rail.is-static .jg-rail__arrow{display:none}
/* Vitrines de categoria em sequência: menos respiro entre elas. */
body .products-section--category+.products-section--category{padding-top:clamp(1.5rem,3vw,3rem)}
@media(max-width:1100px){body .jg-rail{--rail-cols:3}}
@media(max-width:800px){
	body .jg-rail{--rail-cols:2.2;--rail-gap:.8rem}
	body .jg-rail__arrow{display:none}
	body .products-section--category .section-head>.text-link{display:inline-flex}
}
@media(max-width:480px){body .jg-rail{--rail-cols:1.6}}
@media(prefers-reduced-motion:reduce){body .jg-rail ul.products.jg-rail__track{scroll-behavior:auto}}

/* Jordan 2.4.6 — relacionados: carrossel compacto (cards menores). */
body .jg-rail.jg-rail--compact{--rail-cols:6;--rail-gap:1rem}
body .jg-rail--compact .product-card .product-image{aspect-ratio:1/1!important}
body .jg-rail--compact .product-info{min-height:0!important;padding:.7rem .15rem .2rem!important}
body .jg-rail--compact .product-info .product-brand{font-size:.58rem!important;letter-spacing:.12em!important}
body .jg-rail--compact .product-info h3{font-size:.86rem!important;line-height:1.3!important;margin:.25rem 0 .4rem!important}
body .jg-rail--compact .product-info h3 a{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body .jg-rail--compact .price-line,body .jg-rail--compact .price-line .price{font-size:.88rem!important}
body .jg-rail--compact .installments,body .jg-rail--compact .stock-note{font-size:.68rem!important}
body .jg-rail--compact .card-actions a.button.quick-add{min-height:38px!important;padding:.5rem .6rem!important;font-size:.62rem!important}
body .jg-rail--compact .wish,body .jg-rail--compact .yith-wcwl-add-button a{width:32px!important;height:32px!important}
body .jg-rail--compact .wish svg{width:15px!important}
body .jg-rail--compact .jg-rail__arrow{width:38px;height:38px}
body .jg-rail--compact .jg-rail__arrow--prev{left:-19px}
body .jg-rail--compact .jg-rail__arrow--next{right:-19px}
body.single-product section.jg-related>h2{font-size:clamp(1.4rem,2.2vw,2rem)!important}
@media(max-width:1300px){body .jg-rail.jg-rail--compact{--rail-cols:5}}
@media(max-width:1100px){body .jg-rail.jg-rail--compact{--rail-cols:4}}
@media(max-width:800px){body .jg-rail.jg-rail--compact{--rail-cols:2.6;--rail-gap:.7rem}}
@media(max-width:480px){body .jg-rail.jg-rail--compact{--rail-cols:2.2}}

/* Jordan 2.4.7 — vitrine de destaques: fundo azul grafite, 3 por vez, fotos em duotone. */
body .products-section.products-section--featured{background:#223646!important;color:#f6f2ec}
body .products-section--featured .eyebrow{color:#d8c58f!important}
body .products-section--featured .section-head h2{color:#fff!important}
body .products-section--featured .section-head>.text-link{color:#f6f2ec;border-color:#d8c58f}
body .products-section--featured .section-head>.text-link:hover{color:#d8c58f}
body .jg-rail.jg-rail--featured{--rail-cols:3;--rail-gap:1.6rem}
body .jg-rail--featured .product-card .product-image{aspect-ratio:4/5;background:#16242f}
body .jg-rail--featured .product-card .product-image img{filter:url(#jg-duotone);transition:filter .5s ease,opacity .5s ease,transform 1s cubic-bezier(.2,.7,.2,1)}
@media(hover:hover){body .jg-rail--featured .product-card:hover .product-image img{filter:none}}
body .jg-rail--featured .product-card .product-brand{color:#d8c58f!important}
body .jg-rail--featured .product-card .product-info h3,body .jg-rail--featured .product-card .product-info h3 a{color:#fff!important;font-size:1.15rem!important}
body .jg-rail--featured .product-card .price-line,body .jg-rail--featured .product-card .price-line .price,body .jg-rail--featured .product-card .installments b{color:#fff!important}
body .jg-rail--featured .product-card .price-line del,body .jg-rail--featured .product-card .installments,body .jg-rail--featured .product-card .stock-note{color:#b9c3ca!important}
body .woocommerce .jg-rail--featured ul.products li.product .card-actions a.button.quick-add,body .jg-rail--featured .product-card .card-actions .quick-add{background:#d8c58f!important;border-color:#d8c58f!important;color:#172936!important}
body .woocommerce .jg-rail--featured ul.products li.product .card-actions a.button.quick-add:hover,body .jg-rail--featured .product-card .card-actions .quick-add:hover{background:#eadbb0!important;border-color:#eadbb0!important;color:#172936!important}
body .jg-rail--featured .product-card .card-actions .added_to_cart{color:#d8c58f}
body .jg-rail--featured .product-card .product-badge{background:#d8c58f;color:#172936}
body .jg-rail--featured .jg-rail__arrow{width:52px;height:52px;border-color:rgba(216,197,143,.5);background:#f6f2ec;color:#172936}
body .jg-rail--featured .jg-rail__arrow:hover{background:#d8c58f;border-color:#d8c58f;color:#172936}
body .jg-rail--featured .jg-rail__arrow:focus-visible{outline-color:#d8c58f}
body .jg-rail--featured .jg-rail__arrow--prev{left:-26px}
body .jg-rail--featured .jg-rail__arrow--next{right:-26px}
@media(max-width:1100px){body .jg-rail.jg-rail--featured{--rail-cols:2}}
@media(max-width:800px){body .jg-rail.jg-rail--featured{--rail-cols:1.35;--rail-gap:1rem}}

/* Jordan 2.4.8 — Vistos recentemente. */
body .jg-viewed[hidden]{display:none!important}
body .jg-viewed{box-sizing:border-box;width:100%;max-width:1540px;margin:0 auto;padding:0 5vw;color:#223646}
body .jg-viewed--home{max-width:none;padding:clamp(2.5rem,5vw,4.5rem) 5vw;background:#f6f2ec}
body .jg-viewed--home>*{max-width:1540px;margin-left:auto;margin-right:auto}
body.single-product .jg-viewed--product{margin-top:clamp(2.5rem,5vw,4rem)!important}
body .jg-viewed__head{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;margin-bottom:clamp(1.2rem,2.4vw,1.8rem)}
body .jg-viewed__head h2{margin:0;font-size:clamp(1.3rem,2vw,1.8rem)!important;font-weight:600;letter-spacing:-.01em;color:#223646!important;text-align:left!important}
body .jg-viewed__clear{flex:0 0 auto;padding:.2rem 0;border:0;border-bottom:1px solid currentColor;background:none;color:#5e6e79;font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;cursor:pointer}
body .jg-viewed__clear:hover{color:#223646}
body .jg-viewed__clear:focus-visible{outline:2px solid #223646;outline-offset:3px}
@media(max-width:800px){body .jg-viewed{padding:0 1.1rem}body .jg-viewed--home{padding:2.5rem 1.1rem}}

/* Jordan 2.4.10 — Vistos recentemente: recolher / mostrar. */
body .jg-viewed__count{font-size:.6em;font-weight:400;color:#7b8a95;vertical-align:middle}
body .jg-viewed__tools{display:flex;align-items:center;gap:1.1rem;flex:0 0 auto}
body .jg-viewed__toggle{display:inline-flex;align-items:center;gap:.45rem;min-height:38px;padding:.45rem .95rem;border:1px solid #223646;border-radius:999px;background:transparent;color:#223646;font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;cursor:pointer;transition:background .2s,color .2s}
body .jg-viewed__toggle svg{width:16px;height:16px;transition:transform .25s ease}
body .jg-viewed__toggle:hover{background:#223646;color:#fff}
body .jg-viewed__toggle:focus-visible{outline:2px solid #223646;outline-offset:3px}
body .jg-viewed.is-collapsed .jg-viewed__toggle svg{transform:rotate(180deg)}
body .jg-viewed.is-collapsed .jg-viewed__head{margin-bottom:0}
body .jg-viewed.is-collapsed .jg-viewed__clear{display:none}
body .jg-viewed--home.is-collapsed{padding-top:1.6rem;padding-bottom:1.6rem}
body .jg-viewed__body[hidden]{display:none!important}
@media(max-width:480px){body .jg-viewed__head{flex-wrap:wrap;align-items:center}body .jg-viewed__tools{gap:.8rem}}
@media(prefers-reduced-motion:reduce){body .jg-viewed__toggle svg{transition:none}}
body .category-card.has-product-cover img{object-position:center 30%}
/* 2.4.12 — transição suave do recolher (padding e cabeçalho acompanham o corpo). */
body .jg-viewed--home{transition:padding .42s cubic-bezier(.22,.8,.24,1)}
body .jg-viewed__head{transition:margin .42s cubic-bezier(.22,.8,.24,1)}
body .jg-viewed__clear{transition:opacity .25s}
body .jg-viewed.is-collapsed .jg-viewed__clear{display:inline-block;opacity:0;pointer-events:none}
body .jg-viewed__toggle svg{transition:transform .42s cubic-bezier(.22,.8,.24,1)}
@media(prefers-reduced-motion:reduce){body .jg-viewed--home,body .jg-viewed__head,body .jg-viewed__toggle svg{transition:none}}

/* Jordan 2.9.0 — seção editorial para vistos recentemente após o produto. */
body.single-product .product-page > .jg-viewed--product {
  max-width:1540px!important;
  width:calc(100% - clamp(32px,8vw,120px))!important;
  margin:clamp(42px,6vw,88px) auto clamp(54px,7vw,100px)!important;
  padding:clamp(24px,3vw,42px)!important;
  background:#f6f2ec;
  border:1px solid #e9e0d1;
  border-radius:18px;
  clear:both;
}
body.single-product .product-page > .jg-viewed--product .jg-viewed__head {
  align-items:center;
  border-bottom:1px solid #ded5c7;
  padding-bottom:18px;
}
body.single-product .product-page > .jg-viewed--product .jg-viewed__head h2 {
  font-family:var(--font-body,Arial,sans-serif)!important;
  font-size:clamp(21px,2.2vw,31px)!important;
  font-weight:750!important;
  line-height:1.18!important;
  letter-spacing:-.03em;
}
body.single-product .product-page > .jg-viewed--product .jg-rail {
  width:100%; max-width:100%; min-width:0;
}
body.single-product .product-page > .jg-viewed--product .jg-rail--compact {
  --rail-cols:4;
  --rail-gap:16px;
}
body.single-product .product-page > .jg-viewed--product .jg-rail__arrow--prev {left:-17px}
body.single-product .product-page > .jg-viewed--product .jg-rail__arrow--next {right:-17px}
@media (max-width:1024px) {
  body.single-product .product-page > .jg-viewed--product .jg-rail--compact {--rail-cols:3}
}
@media (max-width:720px) {
  body.single-product .product-page > .jg-viewed--product {width:calc(100% - 28px)!important;padding:20px 14px!important;border-radius:14px}
  body.single-product .product-page > .jg-viewed--product .jg-rail--compact {--rail-cols:1.8;--rail-gap:12px}
}
