/* Produto de jornada · compatível com a estrutura de produto variável do WooCommerce */
.product-page { background: var(--bg); }
.product-page .header { position: sticky; }
.product-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 16px; color: var(--ink-3); font-size: 10px; font-weight: 500; letter-spacing: .11em; text-transform: uppercase; }
.product-breadcrumb a:hover { color: var(--ink); }

.product-hero { padding-bottom: clamp(52px, 7vw, 88px); border-bottom: 1px solid var(--line); }
.product-layout { display: grid; grid-template-columns: minmax(0, .92fr) minmax(410px, 1.08fr); gap: clamp(34px, 5vw, 72px); align-items: start; }
.product-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.product-gallery figure { overflow: hidden; border-radius: 8px; background: var(--bg-2); }
.product-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.product-main-image { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.product-thumbs { display: contents; }
.product-thumbs figure { aspect-ratio: 4 / 3; }
@media (hover: hover) { .product-gallery figure:hover img { transform: scale(1.025); } }

.product-buy { position: sticky; top: 96px; padding-top: 4px; }
.product-buy h1 { margin: 10px 0 14px; font-size: clamp(64px, 7.5vw, 108px); line-height: .8; letter-spacing: -.04em; }
.product-buy h1 em { color: var(--j-oceano); }
.product-lead { max-width: 46ch; color: var(--ink-2); font-size: 17px; line-height: 1.55; }
.product-facts { display: grid; grid-template-columns: 1fr 1fr; margin: 26px 0 24px; border-block: 1px solid var(--line); }
.product-facts > div { min-width: 0; padding: 13px 12px 14px 0; }
.product-facts > div:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--line); }
.product-facts > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.product-facts dt { color: var(--ink-3); font-size: 9px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.product-facts dd { margin: 4px 0 0; font-family: var(--serif); font-size: 18px; line-height: 1.08; }

.product-price { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 0 10px; margin-bottom: 20px; }
.product-price > span { grid-column: 1 / -1; color: var(--ink-3); font-size: 10px; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; }
.product-price strong { font-family: var(--serif); font-size: clamp(42px, 4.5vw, 62px); font-weight: 400; line-height: 1; }
.product-price small { padding-bottom: 6px; color: var(--ink-2); font-size: 12px; }

.purchase-form { padding: 20px; border: 1px solid var(--line); }
.purchase-form > label, .quantity-row label { display: block; margin-bottom: 8px; font-size: 10px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.purchase-form select { width: 100%; min-height: 52px; padding: 0 44px 0 14px; border: 1px solid var(--line); border-radius: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.2 var(--sans); cursor: pointer; }
.field-help { margin-top: 8px; min-height: 20px; color: var(--ink-2); font-size: 12px; line-height: 1.45; }
.quantity-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.quantity-row label { margin-bottom: 3px; }
.quantity-row p { color: var(--ink-2); font-size: 12px; line-height: 1.4; }
.quantity-control { display: grid; grid-template-columns: 38px 46px 38px; height: 42px; border: 1px solid var(--line); flex: 0 0 auto; }
.quantity-control button { font-size: 20px; line-height: 1; }
.quantity-control button:hover { background: var(--ink); color: var(--bg); }
.quantity-control input { width: 46px; border: 0; border-inline: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--ink); text-align: center; font: 500 14px/1 var(--sans); -moz-appearance: textfield; }
.quantity-control input::-webkit-inner-spin-button, .quantity-control input::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; }
.purchase-summary { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.purchase-summary > div { display: flex; justify-content: space-between; gap: 20px; padding-block: 3px; }
.purchase-summary span { color: var(--ink-2); font-size: 13px; }
.purchase-summary strong { font-family: var(--serif); font-size: 21px; font-weight: 400; }
.purchase-summary p { margin-top: 8px; color: var(--ink-2); font-size: 12px; }
.purchase-button { width: 100%; justify-content: center; margin-top: 18px; border-radius: 0; }
.purchase-button:disabled { cursor: not-allowed; opacity: .42; }
.purchase-status { margin-top: 12px; padding: 11px 12px; background: var(--bg-2); font-size: 13px; line-height: 1.45; }
.availability-note { margin-top: 13px; color: var(--ink-2); font-size: 12px; line-height: 1.5; }
.product-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 9px; letter-spacing: .11em; text-transform: uppercase; }

.product-overview { border-bottom: 1px solid var(--line); }
.overview-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(44px, 9vw, 132px); }
.overview-heading h2 { margin-top: 18px; font-size: clamp(48px, 6vw, 84px); line-height: .9; }
.overview-copy { padding-top: 28px; }
.overview-copy > p + p { margin-top: 20px; color: var(--ink-2); }
.overview-copy .link { margin-top: 28px; }

.product-inclusions { background: var(--j-oceano); color: var(--bg); }
.product-inclusions .label { color: rgba(251,249,235,.62); }
.inclusions-head { display: grid; grid-template-columns: .7fr 1.3fr; align-items: end; gap: 40px; margin-bottom: 44px; }
.inclusions-head h2 { font-size: clamp(52px, 6vw, 86px); line-height: .88; }
.inclusions-grid { display: grid; grid-template-columns: 1.35fr .65fr; border-top: 1px solid rgba(251,249,235,.38); border-bottom: 1px solid rgba(251,249,235,.38); }
.included-items { display: grid; grid-template-columns: 1fr 1fr; }
.included-items li { position: relative; display: flex; align-items: center; min-height: 60px; padding: 14px 22px 14px 42px; border-right: 1px solid rgba(251,249,235,.25); border-bottom: 1px solid rgba(251,249,235,.25); font-size: 14px; line-height: 1.35; }
.included-items li::before { content: "·"; position: absolute; top: 50%; left: 20px; transform: translateY(-50%); }
.included-items li:nth-last-child(-n+2) { border-bottom: 0; }
.excluded-box { padding: clamp(28px, 4vw, 52px); }
.excluded-box h3 { margin: 16px 0 26px; font-size: clamp(28px, 3vw, 40px); }
.excluded-box li { padding: 12px 0; border-top: 1px solid rgba(251,249,235,.28); font-size: 14px; }

.booking-notes { padding-bottom: 0; }
.booking-head { display: grid; grid-template-columns: .7fr 1.3fr; gap: 40px; align-items: start; margin-bottom: 38px; }
.booking-head h2 { max-width: 16ch; }
.booking-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.booking-grid article { min-height: 210px; padding: 22px; border-right: 1px solid var(--line); }
.booking-grid article:last-child { border-right: 0; }
.booking-grid article > span { font-size: 10px; letter-spacing: .12em; }
.booking-grid h3 { margin: 20px 0 10px; font-size: 29px; }
.booking-grid p { color: var(--ink-2); font-size: 14px; line-height: 1.5; }

.product-faq { scroll-margin-top: 90px; }
.faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(48px, 8vw, 112px); align-items: start; }
.faq-heading { position: sticky; top: 110px; }
.faq-heading h2 { margin: 18px 0 20px; max-width: 11ch; }
.faq-heading p { max-width: 32ch; color: var(--ink-2); }
.product-faq-list { border-top: 1px solid var(--line); }
.product-faq-list details { border-bottom: 1px solid var(--line); }
.product-faq-list summary { position: relative; padding: 20px 46px 20px 0; cursor: pointer; font-family: var(--serif); font-size: clamp(21px, 2vw, 27px); line-height: 1.1; list-style: none; }
.product-faq-list summary::-webkit-details-marker { display: none; }
.product-faq-list summary span::before, .product-faq-list summary span::after { content: ""; position: absolute; top: 50%; right: 8px; width: 16px; height: 1px; background: var(--ink); transition: transform var(--t-fast); }
.product-faq-list summary span::after { transform: rotate(90deg); }
.product-faq-list details[open] summary span::after { transform: rotate(0); }
.product-faq-list details p { max-width: 68ch; padding: 0 46px 22px 0; color: var(--ink-2); font-size: 15px; line-height: 1.58; }
.product-faq-list details p a { border-bottom: 1px solid currentColor; color: var(--ink); }

.product-final { position: relative; display: grid; min-height: min(76svh, 760px); place-items: center; overflow: hidden; color: var(--bg); }
.product-final > img { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); border-radius: 8px; object-fit: cover; }
.product-final::after { content: ""; position: absolute; inset: 8px; background: rgba(3,28,20,.48); border-radius: 8px; }
.product-final .container { position: relative; z-index: 1; text-align: center; }
.product-final .label { color: rgba(251,249,235,.76); }
.product-final h2 { margin: 22px auto 34px; font-size: clamp(68px, 10vw, 138px); line-height: .82; }
.product-final .btn { border-color: var(--bg); color: var(--bg); }
.product-final .btn:hover { background: var(--bg); color: var(--ink); }

@media (max-width: 980px) {
  .product-layout { grid-template-columns: 1fr; }
  .product-buy { position: static; }
  .product-buy h1 { font-size: clamp(70px, 14vw, 108px); }
  .booking-grid { grid-template-columns: 1fr 1fr; }
  .booking-grid article:nth-child(2) { border-right: 0; }
  .booking-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 760px) {
  .product-breadcrumb { overflow: hidden; white-space: nowrap; }
  .product-layout, .overview-layout, .inclusions-head, .inclusions-grid, .booking-head, .faq-layout { grid-template-columns: 1fr; }
  .product-gallery { margin-inline: calc(var(--gutter) * -1); }
  .product-gallery figure { border-radius: 0; }
  .product-main-image { aspect-ratio: 4 / 3; }
  .product-main-image img { object-position: 46% center; }
  .product-buy h1 { font-size: clamp(64px, 23vw, 94px); }
  .purchase-form { padding: 16px; }
  .quantity-row { align-items: flex-end; }
  .overview-copy { padding-top: 0; }
  .inclusions-head { gap: 18px; }
  .included-items { grid-template-columns: 1fr; }
  .included-items li, .included-items li:nth-last-child(-n+2) { border-right: 0; border-bottom: 1px solid rgba(251,249,235,.25); }
  .included-items li:last-child { border-bottom: 0; }
  .excluded-box { border-top: 1px solid rgba(251,249,235,.38); }
  .booking-head { gap: 18px; }
  .faq-heading { position: static; }
  .faq-heading h2 { max-width: 12ch; }
  .product-final { min-height: 68svh; }
}

@media (max-width: 520px) {
  .product-facts { grid-template-columns: 1fr; }
  .product-facts > div, .product-facts > div:nth-child(even) { padding: 12px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .product-facts > div:last-child { border-bottom: 0; }
  .quantity-row { display: grid; grid-template-columns: 1fr auto; }
  .booking-grid { grid-template-columns: 1fr; }
  .booking-grid article, .booking-grid article:nth-child(2) { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .booking-grid article:last-child { border-bottom: 0; }
  .booking-grid h3 { margin-top: 18px; }
  .product-final h2 { font-size: clamp(58px, 20vw, 82px); }
}
