/* AUVRA Japão: visual japonês (01/11/2026). Só em /ja/ (body.auvra-jd). ?jp=off mostra o anterior. */
.ajd { --jd-ink: #1a1a1a; --jd-mute: #6b6b70; --jd-line: #e3e3e6; --jd-soft: #f5f5f6; --jd-red: #c8102e; --jd-gold: #c49a2c; --jd-silver: #8f99a3; --jd-bronze: #a8693a; --jd-w: 1240px; }
.ajd * { box-sizing: border-box; }
.ajd .ahv-sec, .ajd .ajd-sec { max-width: var(--jd-w); margin: 0 auto; padding: 44px 20px 0; }

/* títulos: barra vertical à esquerda + linha embaixo (padrão de loja japonesa) */
.ajd-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; padding: 0 0 10px; border-bottom: 1px solid var(--jd-line); }
.ajd-head h2 { position: relative; margin: 0; padding-left: 14px; font-size: 21px; line-height: 1.35; font-weight: 700; letter-spacing: .04em; }
.ajd-head h2::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 4px; border-radius: 2px; background: var(--jd-red); }
.ajd-head__sub { font-size: 12.5px; color: var(--jd-mute); }
.ajd-more { margin-left: auto; display: inline-flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 500; color: var(--jd-ink); text-decoration: none; white-space: nowrap; }
.ajd-more:hover { color: var(--jd-red); }
.ajd .ahv-head h2 { font-size: 21px; letter-spacing: .04em; padding-left: 14px; position: relative; }
.ajd .ahv-head h2::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 4px; border-radius: 2px; background: var(--jd-red); }
.ajd .ahv-head { border-bottom: 1px solid var(--jd-line); padding-bottom: 10px; margin-bottom: 18px; align-items: center; }

/* banner + 2 cartões ao lado */
.ajd-hero { display: grid; grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr); gap: 12px; max-width: var(--jd-w); margin: 16px auto 0; padding: 0 20px; }
.ajd-hero__main { min-width: 0; border-radius: 10px; overflow: hidden; }
.ajd-hero__main .ahv-hero__in { height: auto; aspect-ratio: 1900 / 820; }
.ajd-hero__main .ahv-slide__cta { left: 24px; bottom: 22px; height: 40px; padding: 0 18px; font-size: 13.5px; border-radius: 6px; }
.ajd-hero__main .ahv-bars { right: 20px; bottom: 22px; }
.ajd-hero__main .ahv-copy { left: 36px; max-width: 52%; }
.ajd-hero__main .ahv-copy h1 { font-size: clamp(24px, 2.6vw, 36px); line-height: 1.35; letter-spacing: .03em; margin-bottom: 8px; }
.ajd-hero__main .ahv-copy p { font-size: 14px; margin-bottom: 18px; }
.ajd-hero__main .ahv-copy__cta { height: 42px; padding: 0 20px; font-size: 13.5px; border-radius: 6px; }
.ajd-hero__side { display: grid; grid-template-rows: 1fr 1fr; gap: 12px; min-width: 0; }
.ajd-side { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; border-radius: 10px; text-decoration: none; color: var(--jd-ink) !important; overflow: hidden; border: 1px solid var(--jd-line); background: #fff; transition: border-color .15s; }
.ajd-side:hover { border-color: var(--jd-ink); }
.ajd-side__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ajd-side small { font-size: 12px; color: var(--jd-mute); }
.ajd-side strong { font-size: 22px; line-height: 1.3; font-weight: 700; letter-spacing: .04em; }
.ajd-side em { display: inline-flex; align-items: center; gap: 2px; margin-top: 6px; font-style: normal; font-size: 12.5px; font-weight: 500; }
.ajd-side--rank strong { color: var(--jd-red); }
.ajd-side__img { flex: none; width: 46%; max-width: 150px; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--jd-soft); }
.ajd-side__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ajd-side--ship { background: #fbf4f5; border-color: #f1d9dd; }
.ajd-side--ship strong { font-size: 26px; color: var(--jd-red); }
.ajd-side__ico { flex: none; color: var(--jd-red); opacity: .9; margin-right: 8px; }

/* faixa de vantagens: compacta, uma linha */
.ajd-perks { max-width: var(--jd-w); margin: 12px auto 0; padding: 0 20px; }
.ajd-perks ul { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; border: 1px solid var(--jd-line); border-radius: 10px; background: #fff; }
.ajd-perks li { display: flex; align-items: center; gap: 10px; padding: 12px 16px; }
.ajd-perks li + li { border-left: 1px solid var(--jd-line); }
.ajd-perks svg { flex: none; color: var(--jd-red); }
.ajd-perks strong { display: block; font-size: 13.5px; line-height: 1.35; }
.ajd-perks span { display: block; font-size: 12px; line-height: 1.4; color: var(--jd-mute); }

/* categorias: ícones redondos com nome */
.ajd-cats__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px 12px; margin: 0; padding: 0; list-style: none; }
.ajd-cats__grid a { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; color: var(--jd-ink) !important; }
.ajd-cat__img { display: block; width: 100%; max-width: 116px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--jd-soft); border: 1px solid var(--jd-line); transition: border-color .15s; }
.ajd-cat__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ajd-cats__grid a:hover .ajd-cat__img { border-color: var(--jd-ink); }
.ajd-cat__t { font-size: 13px; line-height: 1.4; text-align: center; font-weight: 500; }

/* cartões de produto (ranking e novidades) */
.ajd-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px 14px; margin: 0; padding: 0; list-style: none; }
.ajd-card a { position: relative; display: flex; flex-direction: column; gap: 6px; height: 100%; text-decoration: none; color: var(--jd-ink) !important; }
.ajd-card__img { display: block; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--jd-soft); }
.ajd-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.ajd-card a:hover .ajd-card__img img { transform: scale(1.03); }
.ajd-card__t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 4px; font-size: 13px; line-height: 1.55; font-weight: 500; }
.ajd-card a:hover .ajd-card__t { text-decoration: underline; }
.ajd-card__r { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--jd-mute); }
.ajd-stars { position: relative; display: inline-block; width: 68px; height: 13px; background: linear-gradient(90deg, #f0a500 var(--r), #d9d9dc var(--r)); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68 13'%3E%3Cg%3E%3Cpath id='s' d='M6.5 0l1.9 4.1 4.4.5-3.3 3 .9 4.4-3.9-2.2-3.9 2.2.9-4.4L.2 4.6l4.4-.5z'/%3E%3Cuse href='%23s' x='13.8'/%3E%3Cuse href='%23s' x='27.6'/%3E%3Cuse href='%23s' x='41.4'/%3E%3Cuse href='%23s' x='55.2'/%3E%3C/g%3E%3C/svg%3E") no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68 13'%3E%3Cg%3E%3Cpath id='s' d='M6.5 0l1.9 4.1 4.4.5-3.3 3 .9 4.4-3.9-2.2-3.9 2.2.9-4.4L.2 4.6l4.4-.5z'/%3E%3Cuse href='%23s' x='13.8'/%3E%3Cuse href='%23s' x='27.6'/%3E%3Cuse href='%23s' x='41.4'/%3E%3Cuse href='%23s' x='55.2'/%3E%3C/g%3E%3C/svg%3E") no-repeat; }
.ajd-card__p { font-size: 17px; font-weight: 700; color: var(--jd-red); line-height: 1.3; }
.ajd-card__p del { font-size: 12px; font-weight: 400; color: var(--jd-mute); margin-right: 4px; }
.ajd-card__p ins { text-decoration: none; }
.ajd-card__tags { display: flex; flex-wrap: wrap; gap: 4px; }
.ajd-tag { display: inline-block; padding: 1px 6px; border: 1px solid var(--jd-red); border-radius: 3px; font-size: 11px; line-height: 1.5; color: var(--jd-red); font-weight: 500; }
.ajd-tag--sale { background: var(--jd-red); color: #fff; }

/* selo de posição: 1º ouro, 2º prata, 3º bronze, demais número */
.ajd-rank { position: absolute; top: 0; left: 0; z-index: 2; display: inline-flex; align-items: baseline; justify-content: center; gap: 1px; min-width: 34px; height: 30px; padding: 0 7px; align-items: center; border-radius: 8px 0 8px 0; background: rgba(26, 26, 26, .82); color: #fff; font-weight: 700; }
.ajd-rank b { font-size: 16px; line-height: 1; }
.ajd-rank small { font-size: 10px; line-height: 1; margin-top: 3px; }
.ajd-rank svg { margin-right: 2px; }
.ajd-rank--1 { background: var(--jd-gold); }
.ajd-rank--2 { background: var(--jd-silver); }
.ajd-rank--3 { background: var(--jd-bronze); }
.ajd-rank--1, .ajd-rank--2, .ajd-rank--3 { height: 34px; min-width: 52px; }
.ajd-rank--1 b, .ajd-rank--2 b, .ajd-rank--3 b { font-size: 19px; }

/* blocos reaproveitados da home v2 com espaçamento mais compacto */
.ajd .ahv-brands, .ajd .ahv-revs, .ajd .ahv-story { padding-top: 44px; }
.ajd .ahv-spot { margin-top: 44px; }

/* ---------------- página de produto ---------------- */
.auvra-jd .ajd-eta { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; padding: 12px 14px; border: 1px solid #f1d9dd; border-radius: 8px; background: #fbf4f5; }
.auvra-jd .ajd-eta svg { flex: none; margin-top: 2px; color: #c8102e; }
.auvra-jd .ajd-eta strong { display: block; font-size: 15px; line-height: 1.5; color: #c8102e; }
.auvra-jd .ajd-eta span { display: block; font-size: 12.5px; line-height: 1.6; color: #55555a; }
.auvra-jd .ajd-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.auvra-jd .ajd-trust li { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; border: 1px solid #e3e3e6; border-radius: 8px; text-align: center; font-size: 11.5px; line-height: 1.35; font-weight: 500; }
.auvra-jd .ajd-trust svg { color: #1a1a1a; }
.auvra-jd .ajd-spec { max-width: 1240px; margin: 40px auto 0; padding: 0 20px; }
.auvra-jd .ajd-spec__h { position: relative; margin: 0 0 14px; padding: 0 0 10px 14px; font-size: 20px; letter-spacing: .04em; border-bottom: 1px solid #e3e3e6; }
.auvra-jd .ajd-spec__h::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 13px; width: 4px; border-radius: 2px; background: #c8102e; }
.auvra-jd .ajd-spec table { width: 100%; border-collapse: collapse; border-top: 1px solid #e3e3e6; font-size: 14px; line-height: 1.7; }
.auvra-jd .ajd-spec th, .auvra-jd .ajd-spec td { padding: 11px 16px; border-bottom: 1px solid #e3e3e6; text-align: left; vertical-align: top; }
.auvra-jd .ajd-spec th { width: 200px; background: #f5f5f6; font-weight: 600; white-space: nowrap; }
.auvra-jd .ajd-spec td a { color: inherit; text-decoration: underline; }

/* ---------------- celular ---------------- */
@media (max-width: 900px) {
	.ajd-hero { grid-template-columns: 1fr; padding: 0 12px; margin-top: 10px; }
	.ajd-hero__main .ahv-hero__in { aspect-ratio: 4 / 3; }
	.ajd-hero__main .ahv-copy { left: 20px; right: 20px; max-width: none; top: auto; bottom: 20px; transform: none; }
	.ajd-hero__main .ahv-copy h1 { font-size: 23px; }
	.ajd-hero__main .ahv-copy p { font-size: 12.5px; margin-bottom: 12px; }
	.ajd-hero__side { grid-template-rows: none; grid-template-columns: 1fr 1fr; gap: 8px; }
	.ajd-side { flex-direction: column; align-items: flex-start; padding: 12px; gap: 6px; }
	.ajd-side strong { font-size: 17px; }
	.ajd-side--ship strong { font-size: 19px; }
	.ajd-side__img { display: none; }
	.ajd-side__ico { display: none; }
	.ajd-side em { margin-top: 2px; font-size: 11.5px; }
	.ajd-perks { padding: 0 12px; margin-top: 8px; }
	.ajd-perks ul { grid-template-columns: 1fr 1fr; }
	.ajd-perks li { padding: 10px 10px; gap: 8px; }
	.ajd-perks li + li { border-left: 0; }
	.ajd-perks li:nth-child(2n) { border-left: 1px solid var(--jd-line); }
	.ajd-perks li:nth-child(n+3) { border-top: 1px solid var(--jd-line); }
	.ajd-perks strong { font-size: 12.5px; }
	.ajd-perks span { font-size: 11px; }
	.ajd .ahv-sec, .ajd .ajd-sec { padding: 32px 12px 0; }
	.ajd-head h2, .ajd .ahv-head h2 { font-size: 18px; }
	.ajd-cats__grid { grid-template-columns: repeat(4, 1fr); gap: 14px 8px; }
	.ajd-cat__t { font-size: 11.5px; }
	.ajd-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 10px; }
	.ajd-grid--rank { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin: 0 -12px; padding: 0 12px 6px; scrollbar-width: none; }
	.ajd-grid--rank::-webkit-scrollbar { display: none; }
	.ajd-grid--rank .ajd-card { flex: 0 0 42%; scroll-snap-align: start; }
	.ajd-card__p { font-size: 15.5px; }
	.auvra-jd .ajd-trust li { font-size: 10.5px; padding: 8px 2px; }
	.auvra-jd .ajd-spec { padding: 0 12px; }
	.auvra-jd .ajd-spec th { width: 96px; white-space: normal; padding: 10px; }
	.auvra-jd .ajd-spec td { padding: 10px; font-size: 13px; }
}

/* ajustes 01/11: quebra de linha do título e contraste do banner no celular */
.ajd-hero__main .ahv-copy { max-width: 64%; }
.ajd-hero__main .ahv-copy h1 { word-break: keep-all; overflow-wrap: anywhere; }
@media (max-width: 900px) {
	.ajd-hero__main .ahv-slide::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,.62)); pointer-events: none; }
	.ajd-hero__main .ahv-copy { z-index: 2; }
	.ajd-hero__main .ahv-copy h1 { color: #fff !important; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
	.ajd-hero__main .ahv-copy p { display: block; color: rgba(255,255,255,.88) !important; }
	.ajd-hero__main .ahv-copy__cta { background: #fff !important; color: #1a1a1a !important; }
	.ajd-head__sub { display: none; }
}
