/* Cotas — mesma identidade do casamento; as fotos e legendas trazem o humor. */
.quotas-page { background: var(--sand); }
.quota-skip { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 14px; background: var(--sand); }
.quota-skip:focus { top: 12px; }
.quota-header { padding-inline: max(24px, calc((100vw - 1180px) / 2)); }
.quota-header nav { display: flex; align-items: center; gap: 34px; font-size: 11px; }
.quota-header [aria-current] { border-bottom: 1px solid var(--gold); padding-block: 12px; }
.quota-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: var(--sand); text-align: center; padding: 53px 24px 45px; }
.quota-eyebrow { margin: 0; font-size: 10px; text-transform: uppercase; letter-spacing: .19em; }
.quota-hero .quota-eyebrow { color: var(--gold); }
.quota-hero h1 { position: relative; margin: 26px 0 23px; font-family: var(--claudy); font-size: clamp(64px, 7vw, 94px); font-weight: 400; line-height: .88; }
.quota-hero > p:not(.quota-eyebrow) { position: relative; font-size: 13px; line-height: 1.9; color: var(--sand); opacity: .85; }
.quota-hero__shell { position: absolute; right: max(4%, calc((100vw - 1260px) / 2)); top: 97px; width: 190px; height: auto; opacity: .15; transform: rotate(15deg); z-index: -1; }
.quota-hero__link { display: inline-flex; gap: 18px; margin-top: 16px; padding-bottom: 10px; color: var(--gold); border-bottom: 1px solid rgb(221 197 123 / .4); font-size: 11px; }
.quota-hero__link:hover { color: var(--white); }
.quota-catalog { max-width: 1180px; margin: auto; padding: 48px 24px 64px; scroll-margin-top: 85px; }
.quota-intro { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 36px; }
.quota-intro > p { margin: 0; font-family: var(--serif); font-size: 21px; line-height: 1.6; }
.quota-intro em { font: inherit; color: var(--steel); }
.quota-intro > span { font-size: 12px; line-height: 1.9; max-width: 400px; }
.quota-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; border-block: 1px solid var(--mist); }
.quota-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.quota-filters button { padding: 11px 15px; border: 1px solid transparent; border-radius: 30px; background: transparent; font-size: 11px; cursor: pointer; }
.quota-filters button:hover { border-color: var(--steel); }
.quota-filters [aria-pressed="true"] { color: var(--sand); background: var(--navy); }
.quota-sort select { width: 100%; padding: 10px 5px; border: 0; background: transparent; font: inherit; font-size: 11px; color: var(--navy); cursor: pointer; }
.quota-count { font-size: 10px; letter-spacing: .05em; color: var(--steel); margin: 23px 0 20px; }
.quota-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.quota-card { min-width: 0; display: flex; flex-direction: column; background: var(--white); border: 1px solid rgb(170 183 190 / .4); border-radius: 5px; overflow: hidden; }
.quota-card__media { position: relative; aspect-ratio: 4 / 5; background: #e5e9eb; border-bottom: 1px solid rgb(170 183 190 / .3); }
.quota-card__media img, .quota-card__media video { display: block; width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center 35%; }
#cota-168 .quota-card__media img { object-position: center top; }
.quota-card__body { padding: 22px; display: flex; flex: 1; flex-direction: column; }
.quota-card h2 { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.6; }
.quota-card__body > p { margin: 12px 0 24px; font-size: 12px; line-height: 1.85; color: #516575; }
.quota-card__bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 20px; border-top: 1px solid #e5e9eb; }
.quota-card__price { font-size: 20px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.quota-card__price small { display: block; margin-top: 5px; font-size: 10px; color: var(--steel); }
.quota-button { display: inline-flex; align-items: center; justify-content: center; gap: 15px; min-height: 44px; border: 1px solid var(--navy); border-radius: 3px; background: var(--navy); color: var(--white); padding: 12px 17px; font-size: 11px; cursor: pointer; transition: background 180ms ease; }
.quota-button:hover { background: var(--steel); }
.quota-button:disabled { cursor: wait; opacity: .7; }
.quota-ending { margin: 68px 0 25px; text-align: center; font-size: 12px; line-height: 2; }
.quota-ending span { font-family: var(--claudy); display: block; margin-top: 12px; font-size: 38px; line-height: 1.1; }
.quota-back { display: block; width: fit-content; margin: auto; font-size: 11px; border-bottom: 1px solid var(--gold); padding-bottom: 8px; }
.quota-footer { border-top: 1px solid var(--mist); text-align: center; padding: 35px 24px; }
.quota-footer img { width: 49px; height: auto; }
.quota-footer p, .quota-footer a { font-size: 10px; line-height: 1.8; }
.quota-dialog { width: min(490px, calc(100% - 28px)); max-height: calc(100dvh - 32px); border: 0; border-radius: 8px; padding: 30px; background: var(--sand); color: var(--navy); overscroll-behavior: contain; }
.quota-dialog::backdrop { background: rgb(10 29 49 / .72); backdrop-filter: blur(4px); }
.quota-dialog__close { position: absolute; right: 12px; top: 10px; width: 44px; height: 44px; background: var(--sand); border: 1px solid var(--mist); border-radius: 50%; cursor: pointer; font-size: 27px; }
.quota-dialog__image { display: block; width: 100%; height: 155px; object-fit: contain; margin: 0 0 25px; }
.quota-dialog .quota-eyebrow { color: var(--steel); font-size: 9px; }
.quota-dialog h2 { font-size: 20px; line-height: 1.5; margin: 12px 0; }
#gift-description { font-size: 12px; line-height: 1.8; margin: 0; }
.quota-dialog__price { font-size: 29px; margin: 20px 0; }
.quota-card-payment { padding: 18px; margin-bottom: 14px; background: var(--navy); color: var(--sand); border-radius: 4px; }
.quota-card-payment__label { margin: 0 0 12px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.quota-card-payment .quota-button { width: 100%; }
.quota-button--gold { border-color: var(--gold); background: var(--gold); color: var(--navy); }
.quota-button--gold:hover { border-color: var(--white); background: var(--white); color: var(--navy); }
.quota-card-payment__note { margin: 11px 0 0; font-size: 10px; line-height: 1.65; color: rgb(245 243 238 / .72); }
.quota-pix { padding: 18px; background: var(--white); border: 1px solid var(--mist); border-radius: 4px; }
.quota-pix label { display: block; font-size: 10px; }
.quota-pix input { display: block; width: 100%; font-size: 13px; margin: 12px 0 16px; padding: 4px 0; border: 0; background: transparent; }
.quota-pix .quota-button { width: 100%; }
#gift-status { font-size: 11px; line-height: 1.7; margin: 10px 0 0; }
#gift-status:empty { display: none; }
.quota-dialog__note { font-size: 11px; line-height: 1.8; }
.quota-dialog__thanks { font-size: 11px; line-height: 1.8; margin-bottom: 0; color: var(--steel); }
@media (max-width: 1000px) {
  .quota-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quota-toolbar { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 580px) {
  .quota-header { padding: 10px 20px; }
  .quota-header nav { gap: 18px; font-size: 10px; }
  .quota-header .header__logo img { height: 28px; }
  .quota-hero { padding: 40px 22px 35px; }
  .quota-hero h1 { font-size: 67px; }
  .quota-hero > p:not(.quota-eyebrow) { font-size: 12px; }
  .quota-hero__shell { width: 130px; right: -36px; top: 95px; }
  .quota-hero__link { font-size: 10px; gap: 10px; }
  .desktop-break { display: none; }
  .quota-catalog { padding: 32px 20px 45px; }
  .quota-intro { display: block; margin-bottom: 22px; }
  .quota-intro > p { font-size: 18px; margin-bottom: 14px; }
  .quota-intro > span { font-size: 11px; }
  .quota-toolbar { gap: 10px; }
  .quota-filters { gap: 5px; }
  .quota-filters button { min-height: 44px; padding: 10px 13px; font-size: 10px; }
  .quota-sort select { min-height: 44px; }
  .quota-grid { grid-template-columns: 1fr; gap: 24px; }
  .quota-card__body { padding: 21px; }
  .quota-dialog { padding: 25px 21px; }
  .quota-ending span { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) { .quota-button { transition: none; } }
