/* Levizza: página do produto. */

.pdp > .wrap:first-of-type { padding-top: 18px; }
.pdp__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); padding-top: 16px; align-items: start; }
.pdp__sticky { position: sticky; top: calc(var(--hdr) + 20px); }
.pdp__eyebrow a:hover { text-decoration: underline; }
.pdp__t { font: 400 clamp(36px, 4vw, 56px)/1.02 var(--f-display); letter-spacing: -.015em; margin-bottom: 12px; }
.pdp__rating { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.pdp__price { font-size: 22px; margin-bottom: 6px; }
.pdp__price .price__inst { font-size: 14px; margin-top: 2px; }
.pdp__lead { color: var(--muted); margin-top: 14px; }
.buy__pix { display: flex; align-items: center; gap: 8px; font-size: 14px; margin: 6px 0 0; }
.buy__pix .i { width: 18px; color: var(--ok); }
.buy__pix span { color: var(--muted); }
.pdp__extra:empty { display: none; }

/* Galeria */
.gal { display: grid; grid-template-columns: 76px 1fr; gap: 14px; }
.gal__thumbs { display: flex; flex-direction: column; gap: 10px; max-height: calc(100vh - var(--hdr) - 60px); overflow-y: auto; scrollbar-width: none; position: sticky; top: calc(var(--hdr) + 20px); }
.gal__thumbs::-webkit-scrollbar { display: none; }
.gal__thumb { width: 76px; aspect-ratio: 2 / 3; overflow: hidden; opacity: .55; transition: opacity .3s; outline-offset: -2px; background: var(--nude); flex: none; }
.gal__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gal__thumb.is-on, .gal__thumb:hover { opacity: 1; }
.gal__thumb.is-on { box-shadow: inset 0 0 0 1px var(--ink); }
.gal__main { position: relative; min-width: 0; }
.gal__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; background: var(--nude); }
.gal__track::-webkit-scrollbar { display: none; }
.gal__slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; aspect-ratio: 2 / 3; overflow: hidden; cursor: zoom-in; position: relative; }
.gal__slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease-out; transform-origin: var(--zx, 50%) var(--zy, 50%); }
.gal__slide.is-zoom img { transform: scale(2.2); transition: transform .2s ease-out; }
.gal__nav { position: absolute; top: 50%; width: 46px; height: 46px; margin-top: -23px; display: grid; place-items: center; border-radius: 50%; background: rgba(251, 248, 245, .85); opacity: 0; transition: opacity .3s; }
.gal__main:hover .gal__nav { opacity: 1; }
.gal__nav--prev { left: 14px; }
.gal__nav--next { right: 14px; }
.gal__zoom { position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(251, 248, 245, .85); }
.gal__dots { display: none; }
@media (max-width: 900px) {
	.pdp__grid { grid-template-columns: 1fr; }
	.pdp__media { margin-inline: calc(-1 * var(--gut)); }
	.gal { grid-template-columns: 1fr; }
	.gal__thumbs { display: none; }
	.gal__nav { display: none; }
	.gal__dots { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
	.gal__dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .6); transition: width .3s, background .3s; }
	.gal__dots span.is-on { width: 20px; border-radius: 3px; background: #fff; }
	.pdp__sticky { position: static; }
}

/* Tela cheia */
.lb { position: fixed; inset: 0; z-index: 130; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0f0b0a; color: #fff; }
.lb[open] { display: block; animation: modal-in .4s var(--ease); }
.lb::backdrop { background: #0f0b0a; }
.lb__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lb__track::-webkit-scrollbar { display: none; }
.lb__s { flex: 0 0 100%; height: 100%; scroll-snap-align: center; overflow: auto; display: grid; place-items: center; touch-action: pan-x pan-y pinch-zoom; }
.lb__s img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb__close { position: absolute; top: 14px; right: 14px; z-index: 2; color: #fff; background: rgba(255, 255, 255, .1); }
.lb__count { position: absolute; top: 24px; left: 24px; font-size: 13px; letter-spacing: .14em; }

/* Escolhas */
.buy { margin-top: 24px; }
.pick { margin-bottom: 22px; }
.pick__l { display: flex; align-items: center; gap: 8px; width: 100%; margin-bottom: 12px; font-size: 14px; }
.pick__l span { color: var(--muted); }
.pick__l strong { font-weight: 500; }
.pick__guide { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.pick__guide .i { width: 16px; }
.pick__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.pick__o { position: relative; cursor: pointer; }
.pick__o input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.pick__t { display: grid; place-items: center; min-width: 52px; height: 48px; padding: 0 14px; border: 1px solid var(--line-2); font-weight: 500; transition: border-color .2s, background .2s, color .2s; }
.pick__o:hover .pick__t { border-color: var(--ink); }
.pick__o input:checked + .pick__t { background: var(--ink); border-color: var(--ink); color: #fff; }
.pick__o input:focus-visible + .pick__t, .pick__o input:focus-visible + .sw { outline: 2px solid var(--wine); outline-offset: 3px; }
.pick__o.is-off .pick__t { color: var(--muted); background: linear-gradient(to top left, transparent calc(50% - .5px), var(--line-2) 50%, transparent calc(50% + .5px)); }
.pick__o.is-off input:checked + .pick__t { background: var(--muted); border-color: var(--muted); color: #fff; }
.pick__o--color .sw { transition: box-shadow .2s; }
.pick__o--color input:checked + .sw { box-shadow: inset 0 0 0 1px rgba(22, 17, 15, .18), 0 0 0 3px var(--paper), 0 0 0 4px var(--ink); }
.pick__o--color.is-off .sw { opacity: .4; }
.pick.is-error .pick__opts { animation: shake .4s; }
.pick.is-error .pick__l span { color: var(--err); }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.buy__stock { min-height: 22px; margin: 0 0 12px; font-size: 14px; color: var(--wine); }
.buy__stock.is-ok { color: var(--ok); }
.buy__row { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: stretch; }
.buy__row .qty { height: 56px; }
.buy__add .i { width: 20px; }
.buy__fav { width: 56px; height: 56px; border: 1px solid var(--line-2); border-radius: 0; }
.buy__fav:hover { border-color: var(--ink); background: transparent; }
.buy__add.is-done::before { transform: none; background: var(--ok); }
@media (max-width: 420px) { .buy__row { grid-template-columns: 1fr auto; } .buy__row .qty { display: none; } }

/* Avise-me */
.notify { margin-top: 18px; padding: 20px; background: var(--blush); }
.notify__t { display: flex; align-items: center; gap: 8px; font: 400 24px/1.1 var(--f-display); margin-bottom: 6px; }
.notify__t .i { width: 20px; }
.notify__d { font-size: 14px; color: var(--muted); }
.notify__f { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.notify__ok { margin: 10px 0 0; color: var(--ok); }

/* Frete */
.ship { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.ship__f label { display: flex; align-items: center; gap: 8px; font-weight: 500; margin-bottom: 10px; }
.ship__f label .i { width: 20px; }
.ship__row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.ship__row input { min-height: 44px; }
.ship__row .btn { min-height: 44px; }
.ship__help { display: inline-block; margin-top: 8px; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.ship__res { margin-top: 12px; display: grid; gap: 6px; }
.ship__res li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; background: #fff; border: 1px solid var(--line); font-size: 14px; animation: card-in .5s var(--ease) both; }
.ship__res li small { display: block; color: var(--muted); font-size: 12px; }
.ship__res li strong { font-weight: 500; white-space: nowrap; }
.ship__res .is-free strong { color: var(--ok); }
.ship__res .ship__msg { background: none; border: 0; padding: 4px 0; color: var(--muted); }
@keyframes card-in { from { opacity: 0; transform: translateY(10px); } }

.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 24px 0; }
.trust li { display: grid; justify-items: center; gap: 6px; padding: 14px 6px; border: 1px solid var(--line); font-size: 12px; text-align: center; color: var(--muted); }
.trust .i { width: 22px; color: var(--ink); stroke-width: 1.3; }

/* Acordeões */
.acc { border-top: 1px solid var(--line); }
.acc__i { border-bottom: 1px solid var(--line); }
.acc__i summary { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font: 500 13px/1 var(--f-sans); letter-spacing: .16em; text-transform: uppercase; }
.acc__i summary .i { width: 18px; transition: transform .35s var(--ease); }
.acc__i[open] summary .i { transform: rotate(45deg); }
.acc__b { padding-bottom: 20px; font-size: 15px; }
.acc__b.prose { font-size: 15px; line-height: 1.7; }

/* História */
.story { margin-top: clamp(56px, 8vw, 110px); background: var(--ink); color: #efe5df; }
.story__in { max-width: 860px; margin: 0 auto; padding: clamp(56px, 8vw, 110px) var(--gut); text-align: center; }
.story .eyebrow { color: #d7a3ad; }
.story__t { font: italic 400 clamp(36px, 4.6vw, 64px)/1.05 var(--f-display); color: #fff; margin-bottom: 26px; }
.story__d { font: 400 clamp(19px, 1.6vw, 23px)/1.6 var(--f-display); color: rgba(239, 229, 223, .88); }
.story__d p:last-child { margin: 0; }

/* Avaliações */
.reviews { padding-block: clamp(40px, 6vw, 80px); }
.rev__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 26px; }
.rev__sum { display: flex; align-items: center; gap: 10px; margin: 0; }
.rev__sum strong { font: 400 34px/1 var(--f-display); }
.rev__list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.rev__i { padding: 22px 0; border-bottom: 1px solid var(--line); }
.rev__top { display: flex; align-items: center; gap: 12px; }
.rev__meta { font-size: 13px; margin: 4px 0 8px; }
.rev__form { margin-top: 26px; }
.rev__form summary { display: inline-flex; }
.rev__form[open] summary { margin-bottom: 20px; }
.rev__form .comment-form { max-width: 620px; }
.stars { position: relative; display: inline-block; font-size: 15px; letter-spacing: 2px; color: var(--line-2); line-height: 1; }
.stars__on { position: absolute; inset: 0; width: var(--p); overflow: hidden; color: var(--wine); white-space: nowrap; }
.rate { margin-bottom: 16px; }
.rate legend { font-weight: 500; font-size: 14px; margin-bottom: 6px; }
.rate__opts { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.rate input { position: absolute; opacity: 0; }
.rate label { font-size: 30px; color: var(--line-2); cursor: pointer; transition: color .15s; }
.rate input:checked ~ label, .rate label:hover, .rate label:hover ~ label { color: var(--wine); }
.rate input:focus-visible + label { outline: 2px solid var(--wine); }

/* Barra fixa */
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 65; background: rgba(251, 248, 245, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .5s var(--ease); padding-bottom: env(safe-area-inset-bottom); }
.sticky-buy.is-on { transform: none; }
.sticky-buy__in { display: flex; align-items: center; gap: 14px; height: 76px; }
.sticky-buy img { width: 40px; aspect-ratio: 2 / 3; object-fit: cover; }
.sticky-buy__txt { flex: 1; min-width: 0; }
.sticky-buy__t { margin: 0; font: 400 20px/1.1 var(--f-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy__p { margin: 0; font-size: 14px; }
.sticky-buy .btn { padding: 0 22px; }
@media (max-width: 600px) { .sticky-buy__t { font-size: 17px; } .sticky-buy .btn { padding: 0 16px; font-size: 12px; } }

/* Ajuda pelo WhatsApp */
.pdp-help { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; padding: 14px 16px; background: #eef7f1; border: 1px solid #cfe8d9; border-radius: 6px; font-size: 14px; transition: border-color .2s; }
.pdp-help:hover { border-color: #1f8f56; }
.pdp-help > .i:first-child { width: 26px; height: 26px; color: #1f8f56; flex: none; }
.pdp-help span { flex: 1; }
.pdp-help strong { display: block; font-weight: 500; }
.pdp-help > .i:last-child { width: 18px; color: #1f8f56; }
