/* Small additions theme.json can't express. */
.nos-footer a { color: var(--wp--preset--color--gold); }
.nos-footer .nos-fine { font-size: 13px; line-height: 1.55; opacity: .85; }
.wp-block-button__link { font-family: var(--wp--preset--font-family--league-spartan); letter-spacing: .02em; }
strong, b { font-weight: 700; }
/* Front page: the hero sits right under the header. */
.home main.wp-block-group { margin-top: 0 !important; }
.home main > .wp-block-group:first-child { padding-top: 0 !important; }

/* Header — modeled on hobbyflipper.com: brand left, links + Join right; on phones Join + menu button, drop-down list. */
.wp-site-blocks > header.wp-block-template-part { position: sticky; top: 0; z-index: 50; }
body.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 32px; }
@media (max-width: 782px) { body.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 46px; } }
.nos-header { position: relative; border-bottom: 3px solid var(--wp--preset--color--gold); }
.nos-header .nos-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 78px; margin: 0 auto; }
.nos-brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; min-width: 0; }
.nos-brand svg { flex: 0 0 auto; display: block; }
.nos-brand-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.nos-brand-tag { font-family: var(--wp--preset--font-family--montserrat); font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--wp--preset--color--gold); line-height: 1; }
.nos-brand-name { font-family: var(--wp--preset--font-family--league-spartan); font-size: 22px; font-weight: 800; line-height: 1; letter-spacing: -.01em; color: #fff; white-space: nowrap; }
.nos-links { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nos-links a, .nos-mobile-nav a { font-family: var(--wp--preset--font-family--league-spartan); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 14px; color: #fff; text-decoration: none; }
.nos-links a:hover, .nos-links a[aria-current="page"], .nos-mobile-nav a[aria-current="page"] { color: var(--wp--preset--color--gold); }
.nos-nav-right { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.nos-header a.nos-join { display: inline-block; background: var(--wp--preset--color--gold); color: var(--wp--preset--color--navy) !important; font-family: var(--wp--preset--font-family--league-spartan); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: 13.5px; padding: 12px 18px 10px; border-radius: 8px; text-decoration: none; white-space: nowrap; }
.nos-header a.nos-join:hover { background: #FFC93C; }
.nos-menu-btn { display: none; flex-direction: column; justify-content: center; gap: 4px; width: 42px; height: 40px; padding: 0 10px; background: none; border: 2px solid rgba(255,255,255,.35); border-radius: 6px; cursor: pointer; }
.nos-menu-btn span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .15s, opacity .15s; }
.nos-menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nos-menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nos-menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nos-menu-btn:focus-visible, .nos-links a:focus-visible, .nos-mobile-nav a:focus-visible { outline: 2px solid var(--wp--preset--color--gold); outline-offset: 3px; }
.nos-mobile-nav { position: absolute; left: 0; right: 0; top: calc(100% + 3px); margin: 0 !important; display: grid; background: var(--wp--preset--color--navy); border-top: 1px solid rgba(255,255,255,.12); border-bottom: 3px solid var(--wp--preset--color--gold); box-shadow: 0 18px 30px rgba(0,0,0,.25); }
.nos-mobile-nav[hidden] { display: none; }
.nos-mobile-nav a { padding: 16px 24px; border-bottom: 1px solid rgba(255,255,255,.12); }
.nos-mobile-nav a.nos-join { margin: 16px 24px 20px; padding: 15px 18px 13px; text-align: center; border: 0; font-size: 15px; }
@media (max-width: 820px) {
	.nos-header .nos-nav { height: 64px; gap: 10px; }
	.nos-links, .nos-hide-m { display: none; }
	.nos-menu-btn { display: inline-flex; }
	.nos-brand svg { width: 34px; height: 34px; }
	.nos-brand { gap: 10px; }
	.nos-brand-name { font-size: 19px; }
	.nos-header a.nos-join { padding: 10px 14px 8px; font-size: 13px; }
}
@media (max-width: 360px) { .nos-brand-tag { display: none; } .nos-brand-name { font-size: 17px; } }

/* Full-width buttons include their padding (fixes the deals button running off the right edge on phones). */
.nos-btn--big { box-sizing: border-box; max-width: 100%; }

/* Member gate on phones: top 3 open, one blurred teaser row, then the join box (keeps it near the top). */
@media (max-width: 760px) {
	.nos-table tbody tr:nth-child(4):not(.is-locked), .nos-table tbody tr:nth-child(5):not(.is-locked), .nos-table tr.is-locked ~ tr.is-locked { display: none; }
	.nos-table tr.is-locked { max-height: 170px; overflow: hidden; }
	.nos-table-wrap + .nos-gate { margin-top: -110px; }
	.nos-gate { padding: 22px 20px; }
}

/* Deal alerts: watch box on card pages, My account → Deal alerts. */
.nos-watch { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; justify-content: space-between; background: var(--wp--preset--color--paper, #F5F7FB); border: 1px solid var(--wp--preset--color--line, #E2E8F0); border-left: 4px solid var(--wp--preset--color--gold); border-radius: 12px; padding: 16px 20px; margin: 24px 0; }
.nos-watch p { margin: 0; flex: 1 1 320px; }
.nos-btn--ghost { background: transparent !important; box-shadow: inset 0 0 0 2px var(--wp--preset--color--navy); }
.nos-alerts label { display: block; cursor: pointer; }
.nos-alerts input[type="checkbox"] { width: 18px; height: 18px; vertical-align: -3px; margin-right: 6px; accent-color: var(--wp--preset--color--navy); }
.nos-watchlist { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--wp--preset--color--line, #E2E8F0); }
.nos-watchlist li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 12px 0; border-bottom: 1px solid var(--wp--preset--color--line, #E2E8F0); }
.nos-watchlist li > a { flex: 1 1 260px; text-decoration: none; }
.nos-watchlist li > a span { color: var(--wp--preset--color--slate, #64748B); font-size: 14px; }
.nos-watchlist form { margin: 0; }
.nos-link { background: none; border: 0; padding: 0; color: var(--wp--preset--color--loss, #B42318); text-decoration: underline; cursor: pointer; font: inherit; }

/* Checkout uses the same header (no Join button there). */
.nos-header--checkout { padding: 0 var(--wp--preset--spacing--50); }
.nos-header--checkout .nos-nav { max-width: 1240px; }
.nos-header--checkout .nos-join { display: none !important; }
