/*
Theme Name:   Metro Digital Store
Template:     kadence
Description:  Kadence child theme for the Metro Digital large-format store. Tokens follow DESIGN.md.
Version:      0.3.19
Text Domain:  metro-digital
*/

:root {
	/* 2026 brand colors (tools/recolor-2026.py): navy #0C2B40 for dark backgrounds, headings and text; yellow #F4B41A as an accent only.
	   OK: navy on white, white on navy, yellow on navy, navy on yellow. Never yellow text on white or white text on yellow.
	   Kadence global palette (also set in Customizer → Colors) */
	--global-palette1: #0C2B40; /* brand */
	--global-palette2: #08202F; /* brand-deep */
	--global-palette3: #0C2B40; /* ink */
	--global-palette4: #243B4D; /* ink-2 */
	--global-palette5: #536576; /* muted */
	--global-palette6: #8695A3; /* faint */
	--global-palette7: #E1E6EC; /* line */
	--global-palette8: #F7F8FA; /* canvas */
	--global-palette9: #FFFFFF; /* white */

	--md-gold: #F4B41A;
	--md-gold-soft: #FDEFC9;
	--md-sky: #8CC4EA;
	--md-success: #1D7A46;
	--md-warning: #A65F00;
	--md-error: #C62F30;

	--md-font: "Plus Jakarta Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
	--md-r-sm: 8px; --md-r-card: 20px; --md-r-hero: 28px; --md-r-pill: 980px;
	--md-shadow-hover: 0 8px 28px rgba(12, 43, 64, .12);
}

body { font-family: var(--md-font); font-size: 17px; line-height: 1.53; color: var(--global-palette4); background: var(--global-palette8); }
h1, h2, h3, h4 { font-family: var(--md-font); color: var(--global-palette3); letter-spacing: -0.015em; text-wrap: balance; }

/* Buttons: Apple-style pills */
.wp-element-button, .button, button.button, .kb-button {
	border-radius: var(--md-r-pill) !important; font-weight: 600; padding: 12px 22px;
	background: var(--global-palette1); color: #fff; border: 0;
}
.wp-element-button:hover, .button:hover, .kb-button:hover { background: var(--global-palette2); }
.is-style-outline .wp-element-button, .button.alt-secondary {
	background: #fff; color: var(--global-palette1); box-shadow: inset 0 0 0 1px var(--global-palette7);
}
/* Focus ring: navy on light surfaces (14.6:1 on white); light blue on the navy surfaces, where navy would not show. */
:focus-visible { outline: 3px solid var(--global-palette1); outline-offset: 2px; }
.md-hero-card :focus-visible, .md-footer :focus-visible, .md-aud :focus-visible, #mobile-drawer :focus-visible, .popup-drawer :focus-visible { outline-color: var(--md-sky); }
.md-aud .md-aud__panel :focus-visible { outline-color: var(--global-palette1); }

/* WooCommerce product tiles */
.woocommerce ul.products li.product {
	background: #fff; border-radius: var(--md-r-card); padding: 20px; transition: box-shadow .2s, transform .2s;
}
.woocommerce ul.products li.product:hover { box-shadow: var(--md-shadow-hover); transform: translateY(-2px); }
.woocommerce ul.products li.product .price { font-size: 14px; color: var(--global-palette5); font-variant-numeric: tabular-nums; }

/* Category shelf: [md_category_shelf] shortcode output */
.md-shelf { display: flex; gap: 24px; overflow-x: auto; padding: 8px 0 16px; scroll-snap-type: x mandatory; }
.md-shelf a { flex: none; width: 104px; text-align: center; font-size: 14px; font-weight: 600; color: var(--global-palette3); scroll-snap-align: start; text-decoration: none; }
.md-shelf img { width: 88px; height: 88px; border-radius: 50%; background: #fff; object-fit: contain; display: block; margin: 0 auto 8px; }

/* Proof check pills used by the proofer block */
.md-pill { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: var(--md-r-pill); }
.md-pill.ok { background: #E3F2EA; color: var(--md-success); }
.md-pill.warn { background: #FBEEDB; color: var(--md-warning); }
.md-pill.bad { background: #F9E1E1; color: var(--md-error); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---- Home page components (from the approved design) ---- */
[hidden]{display:none!important}
.md-hero-card{border-radius:28px;background:radial-gradient(120% 140% at 85% 20%,#1B4A68 0%,#0C2B40 38%,#08202F 100%);color:#d4e4ec;padding:clamp(24px,3.6vw,48px) clamp(24px,4.4vw,64px)!important;margin-top:16px}
.md-hero-card h1{color:#fff;font-size:clamp(34px,4.6vw,60px);font-weight:800;line-height:1.03;letter-spacing:-.03em;margin:12px 0 14px}
.md-hero-card h1 em{font-style:normal;color:#F4B41A}
.md-hero-card h1 .md-p{margin-left:-.09em}
.md-k{margin-right:.045em}
.md-hero-card p{color:#C2D0DC;font-size:clamp(16px,1.35vw,18px)}
.md-hero-card .md-eyebrow{color:#8CC4EA}
.md-eyebrow{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#536576;margin:0}
.md-hero-card .wp-block-image img{border-radius:14px;box-shadow:0 30px 60px -18px rgba(0,0,0,.45);animation:mdfloat 7s ease-in-out infinite}
@keyframes mdfloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
.md-btn-gold .wp-block-button__link{background:#F4B41A!important;color:#0C2B40!important}
.md-btn-ghost .wp-block-button__link{background:transparent!important;color:#fff!important;box-shadow:inset 0 0 0 1.5px #ffffff66}
.md-trust{background:#fff;border-radius:20px;margin:20px 0 8px;gap:0!important}
.md-trust>.wp-block-column{padding:18px 22px;border-left:1px solid #E1E6EC}
.md-trust>.wp-block-column:first-child{border-left:0}
.md-trust b{display:block;color:#0C2B40}
.md-trust span{font-size:14px;color:#536576}
.md-steps .wp-block-column{border-top:2px solid #0C2B40;padding-top:14px}
.md-steps b{color:#0C2B40;display:block}
.md-cta-band{margin:48px 0;border-radius:28px;background:linear-gradient(135deg,#FDEFC9,#fff 70%);padding:clamp(28px,4vw,48px)!important}
.md-cta-band h2{font-size:clamp(28px,4vw,44px);letter-spacing:-.025em;line-height:1.08}
.md-home h2{letter-spacing:-.02em}
@media (prefers-reduced-motion:reduce){.md-hero-card .wp-block-image img{animation:none}}

/* header: the logo carries the name */
.site-branding .site-title,.site-branding .site-description,.site-branding .site-title-wrap .site-title{display:none}

/* ---- Category and shop pages ---- */
.product-archive-hero-section,.woocommerce-result-count,.woocommerce-products-header,.kadence-woo-results-count,.kadence-woo-toggle{display:none!important}
/* Sort menu (metro-proofer/includes/sorting.php): one labeled dropdown, right-aligned above the products */
.kadence-shop-top-row{display:flex;justify-content:flex-end;max-width:1120px;margin:0 auto 18px}
.kadence-shop-top-row .kadence-woo-ordering{margin:0}
.kadence-shop-top-row .woocommerce-ordering{display:flex;align-items:center;gap:10px;margin:0}
.kadence-shop-top-row .woocommerce-ordering::before{content:"Sort by";font-size:15px;font-weight:600;color:#0C2B40}
.kadence-shop-top-row select.orderby{min-height:44px;padding:8px 40px 8px 14px;border:1.5px solid #C9D1D7;border-radius:12px;background-color:#fff;font-size:16px;font-weight:600;color:#0C2B40;cursor:pointer}
.kadence-shop-top-row select.orderby:focus-visible{outline:3px solid #0C2B40;outline-offset:2px}
body.search-results .kadence-shop-top-row{display:none!important}
@media (max-width:640px){.kadence-shop-top-row{justify-content:stretch}.kadence-shop-top-row .kadence-woo-ordering,.kadence-shop-top-row .woocommerce-ordering{flex:1}.kadence-shop-top-row select.orderby{flex:1;width:100%}}
.md-cat-head{max-width:1120px;margin:0 auto;padding:28px 0 8px}
.md-cat-head .md-crumbs{font-size:14px;color:#536576}
.md-cat-head .md-crumbs a{color:#0C2B40}
.md-cat-head h1{font-size:clamp(32px,4.4vw,48px);font-weight:800;letter-spacing:-.025em;line-height:1.05;margin:10px 0 8px;color:#0C2B40}
.md-cat-desc,.md-cat-desc p{color:#536576;font-size:18px;max-width:60ch;margin:0}
.md-chips{display:flex;gap:8px;overflow-x:auto;padding:22px 2px 6px;scrollbar-width:none}
.md-chips::-webkit-scrollbar{display:none}
.md-chips .md-chip{flex:none;border:1px solid #E1E6EC;background:#fff;border-radius:980px;padding:8px 16px;font:inherit;font-size:14px;font-weight:600;color:#243B4D;cursor:pointer;text-decoration:none;transition:background .15s,color .15s}
.md-chips .md-chip:hover{border-color:#0C2B40;color:#0C2B40}
.md-chips .md-chip[aria-pressed="true"]{background:#0C2B40;color:#fff;border-color:#0C2B40}
/* product tiles */
.woocommerce ul.products{gap:20px!important;margin-top:18px}
.woocommerce ul.products li.entry.product,.woocommerce ul.products li.product{background:#fff;border-radius:20px;padding:16px;box-shadow:none;transition:box-shadow .2s,transform .2s;overflow:hidden}
.woocommerce ul.products li.product:hover{box-shadow:0 8px 28px rgba(12, 43, 64,.12);transform:translateY(-2px)}
.woocommerce ul.products li.product .product-details{padding:12px 4px 4px;background:transparent}
.woocommerce ul.products li.product img{border-radius:14px}
.woocommerce ul.products li.product .woocommerce-loop-product__title,.woocommerce ul.products li.product h2{font-size:17px;font-weight:700;line-height:1.3;color:#0C2B40;margin:0 0 2px}
.woocommerce ul.products li.product .price{font-size:14px;color:#536576;font-variant-numeric:tabular-nums}
.woocommerce ul.products li.product .price .md-from{margin-right:4px}
.woocommerce ul.products li.product .product-action-wrap,.woocommerce ul.products li.product .button,.woocommerce ul.products li.product .added_to_cart{display:none!important}
.woocommerce ul.products li.product .product-details .entry-header{margin:0}
@media (max-width:600px){.md-cat-head{padding-top:18px}.md-cat-desc,.md-cat-desc p{font-size:16px}.woocommerce ul.products{gap:12px!important}.woocommerce ul.products li.product{padding:10px;border-radius:16px}}
@media (max-width:600px){.woocommerce ul.products.grid-cols{grid-template-columns:repeat(2,minmax(0,1fr))!important}.woocommerce ul.products li.product .woocommerce-loop-product__title,.woocommerce ul.products li.product h2{font-size:15px}}

/* ---- Help strip (above the footer, hidden on Contact) ---- */
.md-help{background:#F7F8FA;padding:48px 24px 64px}
.md-help__card{box-sizing:border-box;max-width:1120px;margin:0 auto;background:#fff;border-radius:20px;padding:28px 32px;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
.md-help h2{font-size:24px;line-height:1.2;font-weight:700;letter-spacing:-.015em;color:#0C2B40;margin:0 0 4px}
.md-help p{margin:0;color:#536576;font-size:17px}
.md-help__actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.md-help__call{display:inline-block;background:#0C2B40;color:#fff;border-radius:980px;padding:12px 22px;font-weight:600;text-decoration:none;white-space:nowrap}
.md-help__call:hover{background:#08202F;color:#fff}
.md-help__mail{color:#0C2B40;font-weight:600;text-decoration:none}
.md-help__mail:hover{text-decoration:underline}
.md-help a:focus-visible{outline:3px solid #0C2B40;outline-offset:2px}.md-footer a:focus-visible{outline:3px solid #8CC4EA;outline-offset:2px}

/* ---- Branded footer ---- */
.md-footer{background:#08202F;color:#C2D0DC;font-size:15px;line-height:1.6}
.md-footer__inner{max-width:1120px;margin:0 auto;padding:56px 24px 28px;box-sizing:content-box}
.md-footer__logo{display:inline-block;line-height:0;padding:4px 0}
.md-footer__logo img{display:block;width:220px;max-width:100%;height:auto}
.md-footer__cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;margin:40px 0}
.md-footer h2{color:#fff;font-size:14px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;margin:0 0 12px}
.md-footer ul{list-style:none;margin:0;padding:0}
.md-footer li{margin:0 0 8px}
.md-footer address{font-style:normal;margin:0 0 12px}
.md-footer a{color:#fff;text-decoration:none}
.md-footer a:hover{color:#fff;text-decoration:underline}
.md-footer__legal{border-top:1px solid rgba(255,255,255,.14);padding-top:20px;display:flex;justify-content:space-between;gap:12px 24px;flex-wrap:wrap;font-size:14px}
.md-footer__legal p{margin:0}
.md-footer__legal-links{display:flex;gap:8px}
@media (max-width:768px){
	.md-help{padding:32px 16px 48px}
	.md-help__card{padding:24px 20px;flex-direction:column;align-items:flex-start}
	.md-footer__inner{padding:40px 16px 24px}
	.md-footer__cols{grid-template-columns:1fr;gap:28px;margin:32px 0}
}

/* ---- Home hero: fit one screen + before/after slider ---- */
.md-hero-card>.wp-block-columns{gap:clamp(20px,4vw,56px);margin:0}
.md-hero-card .wp-block-buttons{margin:20px 0 14px}
.md-hero-card .has-small-font-size{font-size:14px!important;margin:0}
.md-ba{--h:min(calc(100svh - 230px),600px);position:relative;height:var(--h);aspect-ratio:616/1366;max-width:100%;margin:0 auto;border-radius:16px;background:#fff;box-shadow:0 30px 60px -18px rgba(0,0,0,.45);overflow:hidden;touch-action:pan-y;user-select:none}
.md-ba img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;display:block;pointer-events:none}
.md-ba-before{clip-path:inset(0 calc(100% - var(--pos)) 0 0)}
.md-ba-line{position:absolute;top:0;bottom:0;left:var(--pos);width:2px;margin-left:-1px;background:#fff;box-shadow:0 0 0 1px rgba(12, 43, 64,.25);pointer-events:none}
.md-ba-knob{position:absolute;top:50%;left:50%;width:40px;height:40px;margin:-20px 0 0 -20px;border-radius:50%;background:#fff;color:#0C2B40;display:grid;place-items:center;box-shadow:0 4px 14px rgba(12, 43, 64,.35)}
.md-ba-tag{position:absolute;top:12px;white-space:nowrap;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:4px 9px;border-radius:980px;background:rgba(12, 43, 64,.72);color:#fff;pointer-events:none}
.md-ba-tag-l{left:10px}.md-ba-tag-r{right:10px}
.md-ba-range{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:ew-resize;-webkit-appearance:none;appearance:none}
.md-ba-range::-webkit-slider-thumb{-webkit-appearance:none;width:48px;height:100vh}
.md-ba-range::-moz-range-thumb{width:48px;height:100vh;border:0}
.md-ba:has(.md-ba-range:focus-visible) .md-ba-knob{outline:3px solid #8CC4EA;outline-offset:2px}
@media (max-width:781px){
 .md-hero-card{padding:22px 20px 24px!important}
 .md-hero-card>.wp-block-columns{gap:18px}
 .md-hero-card h1{font-size:clamp(30px,8.6vw,40px);margin:8px 0 10px}
 .md-hero-card .wp-block-buttons{margin:16px 0 0}
 .md-hero-card .has-small-font-size{display:none}
 .md-ba{--h:min(42svh,380px)}
}
/* home: less space above the hero so it fits one screen */
.home .content-area{margin-top:16px}
.home .entry-content-wrap{padding-top:0}
@media (max-width:781px){.home .content-area{margin-top:8px}.home .md-hero-card{margin-top:8px}}
@media (max-width:781px){
 .md-hero-card .md-eyebrow{font-size:11px}
 .md-hero-card p{font-size:15px;line-height:1.45}
 .md-hero-card .wp-block-buttons{gap:8px;flex-wrap:wrap}
 .md-hero-card .wp-block-button__link{padding:10px 15px!important;font-size:15px!important;white-space:nowrap}
 .md-ba{--h:min(34svh,320px)}
}
@media (max-width:781px){
 .md-ba{overflow:visible}
 .md-ba img{border-radius:16px}
 .md-ba-tag{top:50%;transform:translateY(-50%);background:rgba(255,255,255,.14);font-size:10px}
 .md-ba-tag-l{left:auto;right:calc(100% + 10px)}
 .md-ba-tag-r{right:auto;left:calc(100% + 10px)}
}
/* product tiles: calm hover. Kadence's "action on hover" slid the title up 2rem over the photo (we hide its button), so turn that off and use a small lift + gentle photo zoom instead */
.woocommerce ul.products.woo-archive-action-on-hover li.product:hover .entry-content-wrap,
.woocommerce ul.products.woo-archive-action-on-hover li.product:focus-within .entry-content-wrap{transform:none!important}
.woocommerce ul.products li.product .woocommerce-loop-product__link{display:block;overflow:hidden;border-radius:14px;isolation:isolate}
.woocommerce ul.products li.product .woocommerce-loop-product__link img{transition:transform .5s cubic-bezier(.2,.7,.3,1)}
.woocommerce ul.products li.product:hover .woocommerce-loop-product__link img{transform:scale(1.04)}
.woocommerce ul.products li.product{transition:box-shadow .25s ease,transform .25s ease}
@media (hover:none){.woocommerce ul.products li.product:hover{transform:none}.woocommerce ul.products li.product:hover .woocommerce-loop-product__link img{transform:none}}
@media (prefers-reduced-motion:reduce){.woocommerce ul.products li.product:hover .woocommerce-loop-product__link img{transform:none}}
/* hero banner: constant up-and-down float, 6px, never stops */
@keyframes mdbabob{from{transform:translateY(0)}to{transform:translateY(-6px)}}
.md-ba{animation:mdbabob 2.2s ease-in-out infinite alternate;will-change:transform}
@media (prefers-reduced-motion:reduce){.md-ba{animation:none}}
/* home: no white page panel behind the hero (its square top edge showed above the card); sections sit on the soft grey canvas */
.home article.single-entry.content-bg{background:transparent!important;box-shadow:none!important}
/* home: featured product tiles get the same white cards as the shop (the shortcode grid isn't inside .woocommerce) */
.md-home ul.products li.product{background:#fff;border-radius:20px;padding:16px;transition:box-shadow .25s ease,transform .25s ease}
.md-home ul.products li.product:hover{box-shadow:0 8px 28px rgba(12, 43, 64,.12);transform:translateY(-2px)}
.md-home ul.products li.product .woocommerce-loop-product__link{display:block;overflow:hidden;border-radius:14px}
.md-home ul.products li.product .woocommerce-loop-product__link img{transition:transform .5s cubic-bezier(.2,.7,.3,1)}
.md-home ul.products li.product:hover .woocommerce-loop-product__link img{transform:scale(1.04)}
.md-home ul.products li.product:hover .entry-content-wrap{transform:none!important}
@media (hover:none){.md-home ul.products li.product:hover{transform:none}.md-home ul.products li.product:hover .woocommerce-loop-product__link img{transform:none}}
.md-ship-note{margin:10px 0 0;font-size:14px;color:#536576}

/* ---------- Niche landing pages (e.g. /churches/) ---------- */
/* They reuse the home page blocks (.md-home, .md-hero-card, .md-trust, .md-steps, .md-cta-band) and add these. */
body:has(.md-niche) .content-area{margin-top:16px}
body:has(.md-niche) .entry-content-wrap{padding-top:0}
body:has(.md-niche) article.single-entry.content-bg{background:transparent!important;box-shadow:none!important}
.md-niche h2{letter-spacing:-.02em}
.md-niche .md-section-intro{color:#536576;margin-top:-8px;max-width:680px}
.md-mosaic{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.md-mosaic-cell{position:relative;display:block;border-radius:16px;overflow:hidden;background:#e9eef1;aspect-ratio:1/1;box-shadow:0 18px 40px -20px rgba(0,0,0,.5)}
.md-mosaic-cell img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.md-mosaic-cell:hover img{transform:scale(1.04)}
.md-mosaic-cell span{position:absolute;left:8px;bottom:8px;padding:4px 10px;border-radius:980px;background:rgba(12, 43, 64,.82);color:#fff;font-size:12px;font-weight:600;line-height:1.4}
.md-ideas{gap:16px!important;margin:0 0 8px;flex-wrap:wrap!important}
.md-ideas>.wp-block-column{background:#fff;border-radius:20px;padding:22px 22px 18px;flex:1 1 280px!important;border:1px solid #E1E6EC}
.md-ideas h3{font-size:19px;line-height:1.3;margin:0 0 6px;color:#0C2B40}
.md-ideas p{font-size:15px;color:#536576;margin:0 0 10px}
.md-ideas p.md-idea-links{margin:0;font-size:14px;line-height:1.9}
.md-ideas .md-idea-links a{display:inline-block;margin:0 6px 0 0;padding:2px 10px;border-radius:980px;background:#E7EEF4;color:#0C2B40;font-weight:600;text-decoration:none}
.md-ideas .md-idea-links a:hover{background:#0C2B40;color:#fff}
.md-niche ul.products li.product{background:#fff;border-radius:20px;padding:16px;transition:box-shadow .25s ease,transform .25s ease}
.md-niche ul.products li.product:hover{box-shadow:0 8px 28px rgba(12, 43, 64,.12);transform:translateY(-2px)}
.md-niche .md-finder{margin-top:8px}
@media (max-width:781px){
  .md-mosaic{gap:8px}
  .md-mosaic-cell span{display:none}
  .md-niche .md-hero-card .md-mosaic{max-width:340px;margin:0 auto}
}
@media (prefers-reduced-motion:reduce){.md-mosaic-cell img{transition:none}}
.md-niche .md-finder,.md-niche #favorites{scroll-margin-top:110px}
.md-niche .md-ideas{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))}
.md-niche .md-ideas>.wp-block-column{flex:none!important;margin:0!important}
.md-niche .md-section-intro{margin-left:0!important;text-align:left}
@media (max-width:1000px){.md-niche .md-ideas{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){.md-niche .md-ideas{grid-template-columns:1fr}}
@media (max-width:781px){.md-niche .md-hero-card .md-mosaic{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;max-width:none}.md-mosaic-cell{border-radius:10px}}

/* Print finder section right under the hero (home and niche pages). */
.md-finder-section{margin:28px 0 8px}
.md-finder-section>*{max-width:none!important}
.md-finder-section h2{margin:0 0 6px}
.md-home .md-section-intro{color:#536576;max-width:680px!important;margin:0 0 16px!important;text-align:left}
.md-home .md-finder{scroll-margin-top:110px;margin-bottom:0}
@media (max-width:781px){.md-finder-section{margin-top:20px}}
/* Shorter hero on wide screens so the print finder's first question shows without scrolling. */
@media (min-width:782px){.home .md-ba{--h:min(calc(100svh - 400px),480px);min-height:300px}.home .md-hero-card h1{font-size:clamp(34px,4vw,54px)}}
/* Home: the finder sits straight under the hero with tighter spacing, so its first question is visible on arrival. */
.md-finder-section.is-compact{margin-top:20px}
.md-finder-section.is-compact .md-finder{padding:22px clamp(20px,3vw,36px) 26px;min-height:0}
.md-finder-section.is-compact .md-f-progress{margin-bottom:14px}
.md-finder-section.is-compact .md-f-hint{margin-bottom:14px}
/* Roomier product pills in the occasion cards. */
.md-ideas p.md-idea-links{display:flex;flex-wrap:wrap;gap:8px;line-height:1.3;margin-top:4px}
.md-ideas .md-idea-links a{margin:0;padding:8px 16px}

/* ---------- Header menu: "Who it's for" and "Products" dropdowns, "Help me choose" button ---------- */
.header-navigation .header-menu-container ul ul.sub-menu{background:#fff;width:270px;padding:8px;border-radius:16px;border:1px solid #E1E6EC;box-shadow:0 18px 40px -12px rgba(12, 43, 64,.25);margin-top:0}
.header-navigation .header-menu-container ul ul li.menu-item>a{color:#0C2B40;font-size:15px;font-weight:500;padding:10px 14px;border-radius:10px;width:100%}
.header-navigation .header-menu-container ul ul li.menu-item>a:hover,.header-navigation .header-menu-container ul ul li.menu-item>a:focus-visible{background:#E7EEF4;color:#0C2B40}
.header-navigation .header-menu-container ul ul li.menu-item{border:0}
.header-navigation .header-menu-container ul ul li.md-menu-notsure{margin-top:6px;padding-top:6px;border-top:1px solid #E1E6EC}
.header-navigation .header-menu-container ul ul li.md-menu-notsure>a{color:#0C2B40;font-weight:700}
.header-navigation .header-menu-container ul ul li.current-menu-item>a{background:#E7EEF4;color:#0C2B40}
/* "Help me choose" as a button at the end of the menu. */
.header-navigation .header-menu-container li.md-menu-cta{margin-left:8px}
.header-navigation .header-menu-container li.md-menu-cta>a{background:#0C2B40;color:#fff!important;border-radius:980px;padding:10px 20px!important;font-weight:600;line-height:1.2}
.header-navigation .header-menu-container li.md-menu-cta>a:hover{background:#08202F}
/* Phone menu: same labels, roomier rows, the "Not sure" link stands out. */
.mobile-navigation ul li.md-menu-notsure>a{color:#8CC4EA!important;font-weight:700}
.mobile-navigation ul li.md-menu-cta{border:0!important;margin-top:18px}
.mobile-navigation ul li.md-menu-cta>a{display:flex!important;justify-content:center;background:#F4B41A;color:#0C2B40!important;font-weight:700;border-radius:980px;padding:14px 20px!important}

/* Invisible bridge above each dropdown so moving the mouse from the tab down into the list never closes it. */
.header-navigation .header-menu-container ul ul.sub-menu::before{content:"";position:absolute;left:-12px;right:-12px;top:-14px;height:14px}
/* Dropdown rows: fully rounded highlight, like the other pill buttons on the site. */
.header-navigation .header-menu-container ul ul li.menu-item>a,.header-navigation .header-menu-container ul ul li.menu-item>a:hover,.header-navigation .header-menu-container ul ul li.menu-item>a:focus,.header-navigation .header-menu-container ul ul li.menu-item>a:focus-visible{border-radius:999px!important;padding:10px 16px}

/* New Metro Digital logo (2026-11-17, black italic wordmark with CMYK M): a little larger than the old one. */
#main-header .site-branding img.custom-logo { width: 260px; max-width: none; height: auto; }
#mobile-header .site-branding img.custom-logo { width: 210px; max-width: 60vw; height: auto; }
