/* Hallmark · existing Parfumistas system · shared page measure.
 * Pre-emit critique: P5 H5 E4 S5 R5 V4. Advertising occupies separate rails.
 */
body.pv-site {
  --pv-content-measure: 1320px;
  --pv-page-gutter: 16px;
  --pv-shell-measure: calc(var(--pv-content-measure) + 2 * var(--pv-page-gutter));
}
body.pv-site .pv-header-stack,
body.pv-site:is(.home,.page-template-page-directory) .pv-header-stack { --pv-shell-max: var(--pv-shell-measure); }
body.pv-site .pv-header-stack .pv-header-shell,
body.pv-site .pv-header-stack .pv-navstrip__inner,
body.pv-site .pv-header-stack .pv-mega__inner,
body.pv-site .pv-h26 .pv-shell,
body.pv-site.home .pv-h26 .pv-shell,
body.pv-site .pv-catalog .pv-shell,
body.pv-site .pv-directory .pv-shell,
body.pv-site .pv-reference-taxonomy .pv-shell,
body.pv-site .pv-directory [class*="max-w-[1100px]"],
body.pv-site .pv-reference-taxonomy [class*="max-w-[1100px]"],
body.pv-site .pv-footer--refined .pv-container {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--pv-shell-measure);
  margin-inline: auto;
  padding-inline: var(--pv-page-gutter);
}
body.pv-site.home .pv-cta-section {
  width: calc(100% - 2 * var(--pv-page-gutter));
  max-width: var(--pv-content-measure);
  margin-inline: auto;
  padding-block: 0;
  border-radius: 4px;
}
body.pv-site.home .pv-cta-section .pv-cta-section__inner {
  padding: clamp(42px, 5vw, 72px) clamp(20px, 4vw, 48px);
}
body.pv-site.home .pv-cta-section h2,
body.pv-site.home .pv-cta-section h2 em { font-style: normal; }
body.pv-site .pv-footer--refined .pv-footer__bottom {
  border-top: 1px solid var(--pv-system-border);
}
body.pv-site .pv-perfume-page .pv-single-shell {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--pv-shell-measure);
  margin-inline: auto;
  padding-inline: var(--pv-page-gutter);
}
/* The article stays aligned with the header; rails need their own space. */
@media (min-width: 1440px) and (max-width: 1719px) {
  body.pv-site .pv-perfume-page .pv-ad-shell { display: block; }
  body.pv-site .pv-perfume-page .pv-ad--skyscraper { display: none; }
}
@media (min-width: 1720px) {
  body.pv-site .pv-perfume-page .pv-single-shell {
    max-width: calc(var(--pv-shell-measure) + 364px);
  }
  body.pv-site .pv-perfume-page .pv-ad-shell {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr) 160px;
    gap: 22px;
  }
}
