/* ==========================================================================
   LA Precast Mantels — storefront design system
   Source of truth: design/Precast Mantels.dc.html (values copied verbatim).
   Everything is prefixed `pm-` so it can live next to the CMS's Bootstrap /
   pma-core styles that the not-yet-redesigned pages still use.
   ========================================================================== */

:root {
    --pm-red: #ed1c24;
    --pm-red-hover: #bb141a;
    --pm-red-soft: rgba(237, 28, 36, 0.06);
    --pm-red-tint: rgba(237, 28, 36, 0.1);
    --pm-navy: #0a2440;
    --pm-navy-deep: #06182c;
    --pm-ink: #1c1b1b;
    --pm-body: #5d3f3b;
    --pm-muted: #585f65;
    --pm-page: #fcf9f8;
    --pm-band: #f6f3f2;
    --pm-well: #f0eded;
    --pm-hover: #e5e2e1;
    --pm-white: #ffffff;
    --pm-line: rgba(231, 189, 182, 0.5);
    --pm-line-soft: rgba(231, 189, 182, 0.4);
    --pm-line-strong: #e7bdb6;
    --pm-flag-red: #b31942;
    --pm-flag-blue: #0a3161;

    --pm-serif: 'EB Garamond', Georgia, serif;
    --pm-sans: 'Montserrat', system-ui, sans-serif;

    --pm-gutter: clamp(20px, 4.4vw, 64px);
    --pm-section: clamp(56px, 6.7vw, 96px);
    --pm-radius-sm: 4px;
    --pm-radius: 6px;
    --pm-radius-card: 10px;
    --pm-radius-panel: 12px;
    --pm-shadow-pop: 0 18px 44px rgba(28, 27, 27, 0.18);
    --pm-shadow-menu: 0 10px 24px rgba(28, 27, 27, 0.12);
    --pm-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Base ---------------------------------------------------------------- */
body.pm-body {
    margin: 0;
    background: var(--pm-page);
    color: var(--pm-ink);
    font-family: var(--pm-sans);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}
.pm-body .pma-main-wrapper { background: var(--pm-page) !important; }
.pm-body a { color: var(--pm-red); text-decoration: none; }
.pm-body a:hover { color: var(--pm-red-hover); }
.pm-body *, .pm-body *::before, .pm-body *::after { box-sizing: border-box; }
.pm-body input, .pm-body button, .pm-body select, .pm-body textarea { font-family: inherit; }

.ms {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 20px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    user-select: none;
    /* One square glyph: the ligature name ("location_on") never widens the box (no CLS). */
    width: 1em;
    overflow: hidden;
}
/* The icon font CSS loads without blocking render (layouts/app): hide ligature names until then. */
html:not(.pm-icons-ready) .ms { visibility: hidden; }

.pm-container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--pm-gutter); }
.pm-section { padding-top: var(--pm-section); }
.pm-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* --- Type ---------------------------------------------------------------- */
.pm-h1, .pm-h2, .pm-h3, .pm-serif { font-family: var(--pm-serif); font-weight: 500; color: var(--pm-ink); text-wrap: pretty; }
.pm-h1 { font-size: clamp(34px, 3.5vw, 44px); line-height: 1.18; letter-spacing: -0.02em; margin: 0 0 10px; }
.pm-h2 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.17; margin: 0 0 12px; }
.pm-h2--sm { font-size: clamp(30px, 3.1vw, 44px); line-height: 1.18; margin-bottom: 20px; }
.pm-h3 { font-size: 24px; line-height: 32px; margin: 0; }
.pm-lead { font-size: 16px; line-height: 26px; color: var(--pm-body); margin: 0; }
.pm-copy { font-size: 16px; line-height: 28px; color: var(--pm-body); margin: 0 0 28px; }
.pm-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 12px; letter-spacing: 0.12em; font-weight: 600; text-transform: uppercase;
    color: var(--pm-red); margin: 0 0 18px;
}
.pm-label { font-size: 12px; letter-spacing: 0.1em; font-weight: 600; text-transform: uppercase; }
.pm-flag { display: block; width: 22px; height: 15px; border: 1px solid rgba(0, 0, 0, 0.15); border-radius: 2px; flex-shrink: 0; }

/* --- Buttons ------------------------------------------------------------- */
.pm-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 16px 32px; border-radius: var(--pm-radius); border: 1px solid transparent;
    font-size: 12px; letter-spacing: 0.1em; font-weight: 600; text-transform: uppercase;
    line-height: 16px; cursor: pointer; white-space: nowrap;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s var(--pm-ease);
}
.pm-btn .ms { font-size: 18px; transition: transform 0.25s var(--pm-ease); }
.pm-btn:hover .ms-arrow, .pm-link-arrow:hover .ms-arrow { transform: translateX(3px); }
.pm-btn:active { transform: translateY(1px); }
.pm-btn:focus-visible, .pm-link-arrow:focus-visible, .pm-icon-btn:focus-visible { outline: 2px solid var(--pm-red); outline-offset: 3px; }
.pm-body .pm-btn--primary { background: var(--pm-red); color: var(--pm-white); }
.pm-body .pm-btn--primary:hover { background: var(--pm-red-hover); color: var(--pm-white); }
.pm-body .pm-btn--outline { background: transparent; border-color: var(--pm-red); color: var(--pm-red); }
.pm-body .pm-btn--outline:hover { background: var(--pm-red-soft); color: var(--pm-red); }
.pm-body .pm-btn--ghost { background: transparent; border-color: var(--pm-line-strong); color: var(--pm-muted); }
.pm-body .pm-btn--ghost:hover { border-color: var(--pm-red); color: var(--pm-red); }
.pm-body .pm-btn--white { background: var(--pm-white); color: var(--pm-red); }
.pm-btn--hero { padding: 17px 34px; border-radius: var(--pm-radius-sm); }
.pm-btn--block { width: 100%; }
.pm-btn[disabled], .pm-btn.is-loading { opacity: 0.6; pointer-events: none; }

.pm-link-arrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12px; letter-spacing: 0.1em; font-weight: 600; text-transform: uppercase;
}
.pm-link-arrow .ms { font-size: 18px; transition: transform 0.25s var(--pm-ease); }

/* --- Header -------------------------------------------------------------- */
.pm-header {
    position: sticky; top: 0; z-index: 1030; width: 100%;
    background: rgba(252, 249, 248, 0.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--pm-line-soft);
}
.pm-header__bar {
    display: flex; align-items: center; justify-content: space-between; gap: clamp(12px, 2vw, 24px);
    height: 80px; max-width: 1440px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 64px);
}
.pm-header__logo { display: flex; align-items: center; height: 100%; flex: 0 0 auto; }
.pm-header__logo img { height: 44px; width: auto; object-fit: contain; display: block; }
.pm-nav { display: flex; align-items: center; justify-content: center; gap: clamp(8px, 1.2vw, 18px); flex: 1 1 auto; min-width: 0; margin: 0; padding: 0; list-style: none; }
.pm-nav__item { position: relative; }
.pm-body .pm-nav__link {
    display: flex; align-items: center; gap: 2px; background: none; border: 0; padding: 8px 0;
    font-size: clamp(10px, 1.05vw, 12px); line-height: 16px; letter-spacing: 0.08em; font-weight: 600;
    text-transform: uppercase; color: var(--pm-muted); cursor: pointer; white-space: nowrap;
}
.pm-body .pm-nav__link:hover, .pm-nav__item:focus-within > .pm-nav__link, .pm-nav__link.is-active { color: var(--pm-red); }
.pm-nav__link .ms { font-size: 16px; transition: transform 0.2s ease; }
.pm-nav__item:hover > .pm-nav__link .ms, .pm-nav__item:focus-within > .pm-nav__link .ms { transform: rotate(180deg); }
.pm-nav__menu {
    position: absolute; left: 0; top: 100%; padding-top: 8px; z-index: 50;
    opacity: 0; visibility: hidden; transform: translateY(-4px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
}
.pm-nav__item:hover > .pm-nav__menu, .pm-nav__item:focus-within > .pm-nav__menu {
    opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
.pm-nav__menu ul { list-style: none; margin: 0; padding: 8px 0; width: 268px; background: var(--pm-page); border: 1px solid var(--pm-line); box-shadow: var(--pm-shadow-menu); }
.pm-body .pm-nav__menu a {
    display: block; padding: 12px 16px; font-size: 12px; line-height: 16px; letter-spacing: 0.1em;
    font-weight: 600; text-transform: uppercase; color: var(--pm-muted);
}
.pm-body .pm-nav__menu a:hover, .pm-body .pm-nav__menu a:focus-visible { color: var(--pm-red); background: var(--pm-hover); outline: none; }

.pm-header__tools { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.pm-icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; padding: 0; color: var(--pm-ink); cursor: pointer; }
.pm-body .pm-icon-btn:hover { color: var(--pm-red); }
.pm-icon-btn .ms { font-size: 22px; }
.pm-icon-btn .ms-account { font-size: 24px; }
.pm-badge-count {
    position: absolute; top: -4px; right: -6px; width: 16px; height: 16px; border-radius: 9999px;
    background: var(--pm-red); color: var(--pm-white); font-size: 10px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.pm-dropdown { position: relative; display: inline-block; }
.pm-dropdown__panel {
    position: absolute; right: 0; top: 100%; padding-top: 14px; z-index: 120;
    opacity: 0; visibility: hidden; transform: translateY(-4px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
}
/* Hover menus (account) open on hover/focus; click menus (mini-cart) only via .is-open. */
.pm-dropdown:not(.pm-dropdown--click):hover > .pm-dropdown__panel, .pm-dropdown:not(.pm-dropdown--click):focus-within > .pm-dropdown__panel, .pm-dropdown.is-open > .pm-dropdown__panel {
    opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
.pm-pop__close { display: inline-flex; background: none; border: 0; padding: 0; color: var(--pm-muted); cursor: pointer; }
.pm-pop__close .ms { font-size: 20px; }
.pm-pop__close:hover { color: var(--pm-red); }
.pm-pop__close:focus-visible { outline: 2px solid var(--pm-red); outline-offset: 3px; }
.pm-pop { background: var(--pm-page); border: 1px solid rgba(231, 189, 182, 0.6); border-radius: var(--pm-radius-card); box-shadow: var(--pm-shadow-pop); overflow: hidden; }
.pm-pop__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; background: var(--pm-band); border-bottom: 1px solid var(--pm-line); }
.pm-account { width: 268px; }
.pm-account__who { display: flex; align-items: center; gap: 12px; padding: 18px 20px; background: var(--pm-band); border-bottom: 1px solid var(--pm-line); }
.pm-avatar { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 9999px; background: var(--pm-red); color: var(--pm-white); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; }
.pm-account__name { font-size: 14px; line-height: 20px; font-weight: 600; margin: 0 0 2px; color: var(--pm-ink); }
.pm-account__mail { font-size: 12px; line-height: 18px; color: var(--pm-muted); margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm-account ul { list-style: none; margin: 0; padding: 6px 0; }
.pm-body .pm-account li a { display: flex; align-items: center; gap: 12px; padding: 11px 20px; font-size: 14px; color: var(--pm-ink); }
.pm-body .pm-account li a:hover { background: var(--pm-band); color: var(--pm-red); }
.pm-account li .ms { color: var(--pm-muted); }
.pm-account__foot { padding: 12px 20px 16px; border-top: 1px solid var(--pm-line); }
.pm-body .pm-account__foot a { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: 0.08em; font-weight: 600; text-transform: uppercase; color: var(--pm-muted); }
.pm-body .pm-account__foot a:hover { color: var(--pm-red); }

.pm-minicart { width: 360px; }
.pm-minicart__items { max-height: 320px; overflow: auto; }
.pm-minicart__row { display: grid; grid-template-columns: 56px 1fr auto auto; gap: 14px; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--pm-line-soft); }
.pm-minicart__img { aspect-ratio: 1 / 1; border-radius: var(--pm-radius); background: #efeae8 center / cover no-repeat; }
.pm-minicart__name { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--pm-ink); margin: 0 0 2px; }
.pm-minicart__meta { font-size: 12px; line-height: 18px; color: var(--pm-muted); margin: 0; }
.pm-minicart__price { font-size: 14px; font-weight: 700; color: var(--pm-red); white-space: nowrap; }
.pm-minicart__remove { background: none; border: 0; color: var(--pm-muted); cursor: pointer; padding: 0; }
.pm-minicart__remove:hover { color: var(--pm-red); }
.pm-minicart__foot { padding: 16px 20px 20px; }
.pm-minicart__sub { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.pm-minicart__empty { padding: 32px 20px; text-align: center; color: var(--pm-muted); font-size: 14px; }
.pm-minicart__empty .ms { font-size: 36px; color: var(--pm-line-strong); display: block; margin: 0 auto 8px; }

.pm-burger, .pm-header__call { display: none; }
.pm-drawer, .pm-tabbar { display: none; }

/* --- Search overlay ------------------------------------------------------ */
.pm-search {
    position: fixed; inset: 0; z-index: 1100; background: rgba(16, 15, 15, 0.94);
    display: flex; flex-direction: column; align-items: center; padding: 96px 32px 48px; overflow-y: auto;
    opacity: 0; visibility: hidden; transition: opacity 0.2s ease, visibility 0s linear 0.2s;
}
.pm-search.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.pm-search__inner { width: 100%; max-width: 62rem; display: flex; flex-direction: column; gap: 32px; transform: translateY(8px); transition: transform 0.3s var(--pm-ease); }
.pm-search.is-open .pm-search__inner { transform: none; }
.pm-search__close { align-self: flex-start; color: var(--pm-white); }
.pm-search__close .ms { font-size: 34px; }
.pm-search__form { display: flex; align-items: center; gap: 20px; margin: 0; }
.pm-search__label { color: rgba(255, 255, 255, 0.72); font-size: 12px; letter-spacing: 0.12em; font-weight: 600; text-transform: uppercase; margin: 0 0 -16px 40px; }
.pm-search__input {
    flex: 1; min-width: 0; background: var(--pm-white); border: 0; border-radius: 9999px;
    padding: 26px 40px; font-size: 26px; line-height: 32px; color: var(--pm-ink); outline: none;
}
.pm-search__input:focus { box-shadow: 0 0 0 3px var(--pm-red); }
.pm-search__go { width: 84px; height: 84px; flex-shrink: 0; border-radius: 9999px; border: 0; background: var(--pm-red); color: var(--pm-white); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.pm-search__go:hover { background: var(--pm-red-hover); }
.pm-search__go .ms { font-size: 36px; }
.pm-search__hint { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); margin: 0; text-align: center; }

/* --- Inner page hero ----------------------------------------------------- */
.pm-page-hero { background: var(--pm-band); padding: 24px 0 28px; border-bottom: 1px solid var(--pm-line-soft); margin-bottom: 32px; }
.pm-crumbs { font-size: 12px; line-height: 16px; color: var(--pm-muted); margin-bottom: 12px; }
.pm-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pm-body .pm-crumbs a { color: var(--pm-muted); }
.pm-body .pm-crumbs a:hover { color: var(--pm-red); }
.pm-crumbs [aria-current] { color: var(--pm-ink); }
.pm-page-hero .pm-h1 { font-size: 36px; line-height: 44px; }
.pm-page-hero__intro { font-size: 15px; line-height: 24px; color: var(--pm-body); max-width: 44rem; margin: 0; }
/* Hero -> content gap. The hero keeps its 32px margin (shop/search toolbar sits
   32px below it, as in the design); content pages that follow it directly top
   up to the design's 56px, the room planner to its 40px. Two-class selectors
   so they beat .pm-page-body / --tight / the mobile padding in precast-pages.css. */
.pm-page-hero + .pm-page-body, .pm-page-hero + #cart-details > .pm-page-body { padding-top: 24px; }
.pm-page-hero + .pm-page-body:has(> .pm-room) { padding-top: 8px; }
.pm-page-hero + .pm-page-body.pm-page-body--flush { padding-top: 0; }

/* --- Footer -------------------------------------------------------------- */
.pm-footer { background: var(--pm-band); border-top: 1px solid var(--pm-line); margin-top: auto; }
.pm-footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 24px; padding: 72px var(--pm-gutter) 40px; max-width: 1440px; margin: 0 auto; }
.pm-footer__logo { height: 40px; width: auto; display: block; margin-bottom: 22px; }
.pm-footer__contact { display: flex; flex-direction: column; gap: 10px; margin: 0 0 30px; padding: 0; list-style: none; }
.pm-footer__contact li { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 22px; color: var(--pm-muted); }
.pm-footer__contact .ms { font-size: 18px; color: var(--pm-muted); }
.pm-body .pm-footer__contact a { color: var(--pm-muted); }
.pm-footer h2 { line-height: 1.2; font-size: 12px; letter-spacing: 0.1em; font-weight: 600; text-transform: uppercase; color: var(--pm-ink); margin: 0 0 18px; }
.pm-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.pm-footer__links li { display: flex; align-items: center; gap: 12px; }
.pm-footer__links li::before { content: ''; width: 12px; height: 1px; background: var(--pm-line-strong); flex-shrink: 0; transition: width 0.2s ease, background-color 0.2s ease; }
.pm-footer__links li:hover::before { width: 18px; background: var(--pm-red); }
.pm-body .pm-footer__links a, .pm-body .pm-footer__social a { font-size: 15px; line-height: 22px; color: var(--pm-muted); }
.pm-body .pm-footer__social a { font-size: 14px; }
.pm-body .pm-footer__links a:hover, .pm-body .pm-footer__social a:hover { color: var(--pm-red); }
.pm-footer__social { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 26px; }
.pm-pay { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pm-pay__chip { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; background: var(--pm-white); border: 1px solid rgba(231, 189, 182, 0.7); border-radius: var(--pm-radius); }
.pm-pay__paypal { font-size: 15px; font-weight: 700; font-style: italic; letter-spacing: -0.02em; color: #003087; }
.pm-pay__paypal span { color: #009cde; }
.pm-pay__card { font-size: 12px; letter-spacing: 0.04em; font-weight: 600; color: #0b2148; }
.pm-footer__bottom { max-width: 1440px; margin: 0 auto; padding: 0 var(--pm-gutter) 48px; }
.pm-footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid rgba(231, 189, 182, 0.35); }
.pm-footer__bottom p { font-size: 12px; line-height: 18px; color: var(--pm-muted); margin: 0; }
.pm-footer__legal { display: flex; align-items: center; gap: 20px; }
.pm-body .pm-footer__legal a { font-size: 12px; color: var(--pm-muted); }
.pm-body .pm-footer__legal a:hover { color: var(--pm-red); }

/* --- Floating support ---------------------------------------------------- */
.pm-support {
    position: fixed; bottom: 32px; right: 32px; z-index: 1020;
    display: inline-flex; align-items: center; gap: 12px; padding: 12px 24px;
    background: var(--pm-page); border: 1px solid var(--pm-line); border-radius: 9999px;
    box-shadow: 0 10px 24px rgba(28, 27, 27, 0.15);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.25s var(--pm-ease);
}
.pm-support:hover { border-color: #25d366; box-shadow: 0 12px 28px rgba(28, 27, 27, 0.22); transform: translateY(-2px); }
.pm-support__icon { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; }
.pm-support__label { font-size: 12px; letter-spacing: 0.1em; font-weight: 600; text-transform: uppercase; color: var(--pm-ink); white-space: nowrap; }
/* Wider than 900px, set by chrome_script when the pill would cover the order summary or a
   primary button: round icon docked in the page gutter, or stepped aside while that covers it too. */
@media (min-width: 901px) {
    .pm-support.pm-support--compact { right: 6px; bottom: 76px; padding: 4px; gap: 0; } /* above the back-to-top button */
    .pm-support.pm-support--compact .pm-support__label { display: none; }
    /* No transform here: chrome_script measures the button right after switching classes. */
    .pm-support.pm-support--away { opacity: 0; pointer-events: none; }
    .pm-support.pm-support--away:focus-visible { opacity: 1; pointer-events: auto; }
}

/* --- Responsive chrome --------------------------------------------------- */
@media (max-width: 1100px) {
    .pm-nav { display: none; }
    .pm-burger { display: inline-flex; }
    /* Full-screen menu sheet (design mobile drawer). */
    .pm-drawer {
        display: flex; flex-direction: column; position: fixed; inset: 0; z-index: 1110; overflow-y: auto;
        background: var(--pm-page);
        opacity: 0; visibility: hidden;
        transition: opacity 0.2s ease, visibility 0s linear 0.2s;
    }
    .pm-drawer.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
    .pm-drawer__head { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 16px; border-bottom: 1px solid var(--pm-line); flex-shrink: 0; }
    .pm-drawer__head img { height: 32px; width: auto; display: block; }
    .pm-drawer__close .ms { font-size: 28px; }
    .pm-drawer__body { display: flex; flex-direction: column; padding: 8px 20px 120px; }
    .pm-drawer__group { padding: 20px 0 12px; border-bottom: 1px solid var(--pm-line-soft); }
    .pm-drawer__label { font-size: 11px; letter-spacing: 0.12em; font-weight: 600; text-transform: uppercase; color: var(--pm-red); margin: 0 0 8px; }
    .pm-body .pm-drawer__item, .pm-body .pm-drawer__link { display: flex; align-items: center; justify-content: space-between; color: var(--pm-ink); }
    .pm-body .pm-drawer__item { min-height: 44px; font-size: 16px; }
    .pm-body .pm-drawer__link { min-height: 56px; border-bottom: 1px solid var(--pm-line-soft); font-size: 13px; letter-spacing: 0.1em; font-weight: 600; text-transform: uppercase; }
    .pm-drawer__item .ms, .pm-drawer__link .ms { font-size: 18px; color: #926f69; }
    .pm-body .pm-drawer__call {
        margin-top: 28px; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px;
        border: 1px solid var(--pm-red); border-radius: var(--pm-radius); color: var(--pm-red);
        font-size: 13px; letter-spacing: 0.1em; font-weight: 600; text-transform: uppercase;
    }
    .pm-drawer__call .ms { font-size: 20px; }
    .pm-footer__grid { grid-template-columns: repeat(2, 1fr); }
}
/* --- Phones (design mobile breakpoint: 900px) ----------------------------- */
@media (max-width: 900px) {
    :root { --pm-gutter: 20px; }
    .pm-header__bar { height: 64px; padding: 0 16px; }
    .pm-header__logo img { height: 32px; }
    .pm-header__tools { gap: 14px; }
    .pm-header__call { display: inline-flex; }
    .pm-body a.pm-icon-btn:not(:hover) { color: var(--pm-ink); }
    .pm-header__tools .pm-burger .ms { font-size: 26px; }
    .pm-minicart { width: min(360px, calc(100vw - 32px)); }
    .pm-dropdown__panel { position: fixed; right: 16px; top: 64px; }

    .pm-tabbar {
        display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 1028;
        height: calc(64px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
        background: rgba(252, 249, 248, 0.97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid rgba(231, 189, 182, 0.6);
    }
    .pm-body .pm-tabbar__tab {
        position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
        background: none; border: 0; padding: 0; cursor: pointer; color: var(--pm-muted);
        font-size: 10px; letter-spacing: 0.06em; font-weight: 600; text-transform: uppercase; line-height: 14px;
    }
    .pm-body .pm-tabbar__tab.is-active, .pm-body .pm-tabbar__tab:hover { color: var(--pm-red); }
    .pm-tabbar__tab .ms { font-size: 24px; }
    .pm-tabbar__badge {
        position: absolute; top: 8px; left: 50%; margin-left: 6px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 9999px;
        background: var(--pm-red); color: var(--pm-white); font-size: 10px; font-weight: 700; letter-spacing: 0;
        display: flex; align-items: center; justify-content: center;
    }

    /* Footer: brand block full width, then each link group full width with a divider. */
    .pm-footer__grid { grid-template-columns: 1fr 1fr; padding: 48px 20px 32px; gap: 32px 20px; }
    .pm-footer__grid > :first-child, .pm-footer__grid > nav { grid-column: 1 / -1; }
    .pm-footer__grid > nav { padding-top: 24px; border-top: 1px solid rgba(231, 189, 182, 0.45); }
    .pm-footer__grid > nav h2 { margin-bottom: 14px; }
    .pm-footer__links li::before { display: none; }
    .pm-body .pm-footer__links a { font-size: 14px; line-height: 20px; white-space: nowrap; }
    .pm-footer__bottom { padding: 0 20px 96px; }

    /* Design mobile system: buttons full width and 52px tall; fields 52px with 16px text (no iOS zoom).
       Icon-only buttons (.pm-icon-btn) and opt-outs (.pm-btn--inline) keep their size. */
    .pm-body .pm-btn:not(.pm-btn--inline) { display: flex; width: 100%; min-height: 52px; padding-top: 0; padding-bottom: 0; justify-content: center; text-align: center; }
    .pm-body input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"]):not([type="hidden"]),
    .pm-body select { min-height: 52px; font-size: 16px; }
    /* 16px beats page form styles (14-15px): smaller text makes iOS zoom into the field. */
    .pm-body input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"]):not([type="hidden"]),
    .pm-body select, .pm-body textarea { font-size: 16px !important; }

    .pm-support { right: 16px; bottom: 84px; padding: 6px; }
    .pm-support__label { display: none; }
    .pm-search { padding: 72px 16px 32px; }
    .pm-search__input { padding: 18px 24px; font-size: 18px; }
    .pm-search__go { width: 60px; height: 60px; }
    .pm-search__label { margin-left: 24px; }
}

/* Narrow phones: long button labels wrap instead of pushing the page wider. */
@media (max-width: 400px) {
    .pm-btn { white-space: normal; text-align: center; max-width: 100%; padding-left: 24px; padding-right: 24px; }
}

@media (prefers-reduced-motion: reduce) {
    .pm-body *, .pm-body *::before, .pm-body *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Keyboard focus: a visible ring on every storefront link that has no designed state of its own. */
.pm-body a:focus-visible { outline: 2px solid var(--pm-red); outline-offset: 2px; }
.pm-body .pm-header__logo:focus-visible { outline-offset: 4px; border-radius: 4px; }
.pm-body .pm-style-card:focus-visible { outline: 2px solid var(--pm-red); outline-offset: 4px; }
#pm-content:focus { outline: none; }

.pm-skip-link {
    position: absolute; left: 16px; top: -64px; z-index: 2000;
    padding: 12px 20px; border-radius: var(--pm-radius);
    background: var(--pm-ink); color: var(--pm-white); font-size: 13px; font-weight: 600;
    transition: transform 0.2s var(--pm-ease);
}
.pm-skip-link:focus { transform: translateY(80px); color: var(--pm-white); }

/* --- Design form fields ---------------------------------------------------
   Opt-in per form (the generic .pm-field in precast-pages.css stays for
   checkout/account). Selectors carry an extra class so they win over
   precast-pages.css, which loads after this file.
   --caps : contact, trade, personal order (12px uppercase muted labels, no *)
   --plain: measuring (14px ink labels, red * kept)                           */
.pm-fields--caps .pm-form-grid { gap: 20px; }
.pm-fields--caps .pm-field, .pm-fields--plain .pm-field { gap: 8px; }
.pm-fields--caps .pm-field > span:first-child { font-size: 12px; line-height: 16px; letter-spacing: 0.08em; font-weight: 600; text-transform: uppercase; color: var(--pm-muted); }
.pm-fields--caps .pm-field .pm-req { display: none; }
.pm-fields--plain .pm-field > span:first-child { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--pm-ink); }
.pm-fields--caps .pm-field input, .pm-fields--caps .pm-field textarea, .pm-fields--caps .pm-field select,
.pm-fields--plain .pm-field input, .pm-fields--plain .pm-field textarea, .pm-fields--plain .pm-field select { background-color: var(--pm-page); padding: 12px 14px; }
.pm-fields--caps .pm-field select, .pm-fields--plain .pm-field select { padding-right: 40px; }
.pm-fields--caps .pm-field textarea, .pm-fields--plain .pm-field textarea { line-height: 24px; }

/* Selected chip (design `chip()`): soft red fill, red border, red text.
   Personal-order style/finish chips and the product Color/Finish/Hearth choices. */
.pm-chips .pm-chip span { color: var(--pm-ink); }
.pm-chips .pm-chip input:checked + span,
.pm-choices .pm-choice input:checked + span { background: var(--pm-red-soft); border-color: var(--pm-red); color: var(--pm-red); }
