/*
Theme Name: Fireworks Northampton
Template: twentytwentyfive
Description: Collection-only fireworks shop for Rock Bottom Northampton.
Version: 1.0.0
Text Domain: fireworks-northampton
*/
:root { --fwn-gold: #ffc83d; --fwn-red: #ff3b3b; --fwn-night: #0b0d1a; --fwn-card: #1b2040; --fwn-line: #2a3060; --fwn-muted: #a9afc9; }
body { background: radial-gradient(1200px 600px at 80% -10%, #1d1f4a 0%, rgba(11,13,26,0) 60%), var(--fwn-night); }
a { text-underline-offset: 3px; }

/* header */
.fwn-top { background: var(--fwn-gold); color: #111; font-weight: 800; font-size: 14px; text-align: center; padding: 8px 16px; }
.fwn-top a { color: #111; }
.fwn-header { border-bottom: 1px solid var(--fwn-line); background: rgba(11,13,26,.92); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 50; }
.fwn-logo { font-family: Anton, Impact, sans-serif; font-size: 28px; letter-spacing: 1px; line-height: 1; text-decoration: none; color: #fff !important; }
.fwn-logo span { color: var(--fwn-gold); }
.fwn-logo small { display: block; font-family: Inter, Arial, sans-serif; font-size: 11px; letter-spacing: 2px; color: var(--fwn-muted); margin-top: 4px; font-weight: 800; }
.fwn-header .wp-block-navigation a { color: #fff; font-weight: 700; }
.fwn-header .wp-block-navigation a:hover { color: var(--fwn-gold); }

/* hero */
.fwn-hero { position: relative; overflow: hidden; border-radius: 22px; background:
  radial-gradient(circle at 15% 30%, rgba(255,200,61,.35) 0 2px, transparent 3px),
  radial-gradient(circle at 75% 20%, rgba(255,59,59,.5) 0 2px, transparent 3px),
  radial-gradient(circle at 85% 70%, rgba(139,92,246,.5) 0 2px, transparent 3px),
  radial-gradient(500px 300px at 85% 25%, rgba(255,59,59,.35), transparent 70%),
  radial-gradient(500px 320px at 15% 80%, rgba(139,92,246,.35), transparent 70%),
  radial-gradient(400px 260px at 55% 10%, rgba(255,200,61,.25), transparent 70%),
  linear-gradient(160deg, #161a3c, #0b0d1a); border: 1px solid var(--fwn-line); }
.fwn-hero h1 { font-size: clamp(42px, 7vw, 86px); margin: 0; text-transform: uppercase; }
.fwn-hero h1 em { font-style: normal; color: var(--fwn-gold); }
.fwn-hero .fwn-lead { font-size: clamp(17px, 2vw, 21px); color: #e6e8f5; max-width: 620px; }
.fwn-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.fwn-chips li { background: rgba(255,255,255,.08); border: 1px solid var(--fwn-line); border-radius: 999px; padding: 6px 12px; font-size: 14px; font-weight: 700; }
.fwn-hero .wp-block-button.is-style-outline .wp-block-button__link { border-color: #fff; color: #fff; background: transparent; }

/* sections */
.fwn-kicker { font-weight: 800; letter-spacing: 2px; font-size: 13px; color: var(--fwn-gold); text-transform: uppercase; margin: 0 0 4px; }
.fwn-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.fwn-cat { display: block; text-decoration: none; background: var(--fwn-card); border: 1px solid var(--fwn-line); border-radius: 16px; padding: 12px; color: #fff !important; transition: transform .15s, border-color .15s; }
.fwn-cat:hover { transform: translateY(-3px); border-color: var(--fwn-gold); }
.fwn-cat img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 10px; }
.fwn-cat b { display: block; font-family: Anton, Impact, sans-serif; font-weight: 400; font-size: 20px; margin-top: 8px; letter-spacing: .5px; }
.fwn-cat span { font-size: 13px; color: var(--fwn-muted); }
.fwn-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; counter-reset: s; }
.fwn-step { background: var(--fwn-card); border: 1px solid var(--fwn-line); border-radius: 16px; padding: 20px; }
.fwn-step::before { counter-increment: s; content: counter(s); display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--fwn-gold); color: #111; font-family: Anton, Impact, sans-serif; font-size: 20px; margin-bottom: 8px; }
.fwn-step h3 { font-size: 24px; margin: 4px 0 6px; }
.fwn-step p { margin: 0; color: #d9dcef; }
.fwn-panel { background: var(--fwn-card); border: 1px solid var(--fwn-line); border-radius: 18px; padding: 22px; }
.fwn-hours { width: 100%; border-collapse: collapse; }
.fwn-hours td { padding: 6px 0; border-bottom: 1px solid var(--fwn-line); }
.fwn-hours td:last-child { text-align: right; font-weight: 700; }
.fwn-map iframe { width: 100%; height: 300px; border: 0; border-radius: 14px; }
.fwn-faq details { background: var(--fwn-card); border: 1px solid var(--fwn-line); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; }
.fwn-faq summary { font-weight: 800; cursor: pointer; }
.fwn-faq details p { margin: 10px 0 0; color: #d9dcef; }

/* product cards (blocks + shortcodes) */
.wc-block-product, ul.products li.product, .wc-block-grid__product { background: var(--fwn-card); border: 1px solid var(--fwn-line); border-radius: 16px; padding: 12px !important; }
.wc-block-components-product-image img, ul.products li.product img, .wp-block-woocommerce-product-image img, .woocommerce-product-gallery img { background: #fff; border-radius: 10px; aspect-ratio: 1; object-fit: contain !important; }
.wc-block-components-product-name, .wp-block-post-title a, ul.products li.product h2 { color: #fff !important; font-family: Inter, Arial, sans-serif !important; font-weight: 800 !important; font-size: 16px !important; text-decoration: none; }
.wc-block-components-product-price, .woocommerce-Price-amount, ul.products li.product .price { color: var(--fwn-gold) !important; font-family: Anton, Impact, sans-serif; font-size: 24px; font-weight: 400; }
.fwn-imgwrap { position: relative; }
.fwn-badge { position: absolute; top: 10px; left: 10px; background: var(--fwn-red); color: #fff; font-weight: 800; font-size: 12px; letter-spacing: .5px; padding: 5px 9px; border-radius: 8px; transform: rotate(-4deg); box-shadow: 0 4px 10px rgba(0,0,0,.35); z-index: 2; }
.fwn-offer { font-size: 13px; color: #ffd98a; margin-top: 4px; }
.wc-block-components-product-button .wp-block-button__link, .wp-block-button.wc-block-components-product-button button, ul.products li.product .button { background: var(--fwn-red) !important; color: #fff !important; border-radius: 10px !important; font-weight: 800 !important; width: 100%; }
.out-of-stock, .wc-block-components-product-stock-indicator--out-of-stock { color: #ff8a8a !important; font-weight: 800; }
.woocommerce-store-notice, p.demo_store { background: var(--fwn-red); }
.fwn-ty { background: var(--fwn-gold); color: #111; padding: 16px 18px; border-radius: 12px; margin: 0 0 20px; font-size: 18px; }

/* checkout / cart on a dark theme */
.wc-block-checkout, .wc-block-cart, .woocommerce-order { color: #fff; }
.wc-block-components-text-input input, .wc-block-components-select select, .wc-blocks-components-select__select, .wc-block-components-textarea { background: #fff !important; color: #111 !important; }
.wc-block-components-text-input label, .wc-blocks-components-select__label { color: #555 !important; }
.wc-block-components-sidebar, .wc-block-components-totals-wrapper { border-color: var(--fwn-line) !important; }

/* footer */
.fwn-footer { border-top: 1px solid var(--fwn-line); background: #080a14; color: var(--fwn-muted); font-size: 15px; }
.fwn-footer h3 { font-size: 20px; color: #fff; margin: 0 0 8px; }
.fwn-footer a { color: #fff; }
.fwn-legal { font-size: 13px; color: #7d84a6; }

/* age gate */
#fwn-age { position: fixed; inset: 0; z-index: 99999; background: rgba(5,6,14,.92); display: grid; place-items: center; padding: 16px; }
.fwn-age-box { background: #151931; border: 1px solid var(--fwn-line); border-radius: 20px; padding: 28px; max-width: 420px; text-align: center; color: #fff; }
.fwn-age-k { font-weight: 800; letter-spacing: 2px; font-size: 12px; color: var(--fwn-gold); }
.fwn-age-box h2 { font-family: Anton, Impact, sans-serif; font-weight: 400; font-size: 38px; margin: 8px 0; }
.fwn-age-b { display: flex; gap: 10px; justify-content: center; margin-top: 16px; }
.fwn-age-b button { background: var(--fwn-red); color: #fff; border: 0; border-radius: 10px; padding: 12px 20px; font-weight: 800; font-size: 16px; cursor: pointer; }
.fwn-age-b a { border: 1px solid #fff; color: #fff; border-radius: 10px; padding: 12px 20px; font-weight: 800; text-decoration: none; }
@media (max-width: 600px) { .fwn-logo { font-size: 22px; } .fwn-hide-sm { display: none !important; } }

/* grids: same card grid for blocks and the [products] shortcode */
ul.products { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin: 0 !important; padding: 0 !important; }
ul.products::before, ul.products::after { display: none !important; }
ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; position: relative; display: flex; flex-direction: column; list-style: none; }
ul.products li.product .button { margin-top: auto !important; }
.wc-block-product { position: relative; }
.fwn-more { text-align: center; color: var(--fwn-muted); font-weight: 700; padding: 24px 0; }
@media (max-width: 600px) { ul.products { grid-template-columns: repeat(2, 1fr); gap: 10px; } ul.wc-block-product-template { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; } }
ul.products li.product .button, ul.products li.product .added_to_cart { display: block !important; width: 100% !important; box-sizing: border-box !important; text-align: center; margin-left: 0 !important; margin-right: 0 !important; }
.wc-block-components-product-button { width: 100%; } .wc-block-components-product-button .wp-block-button__link { width: 100%; box-sizing: border-box; }
.woocommerce-product-details__short-description p { margin: 0 0 8px; }
.fwn-video { margin-top: 16px; background: var(--fwn-card); border: 1px solid var(--fwn-line); border-radius: 14px; padding: 12px; }
.fwn-video-h { font-family: Anton, Impact, sans-serif; font-size: 22px; color: var(--fwn-gold); margin-bottom: 8px; letter-spacing: .5px; }
.fwn-video-f { position: relative; padding-top: 56.25%; border-radius: 10px; overflow: hidden; background: #000; }
.fwn-video-f iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.fwn-vtag { position: absolute; top: 10px; right: 10px; z-index: 2; background: rgba(11,13,26,.85); color: var(--fwn-gold); font-weight: 800; font-size: 11px; padding: 4px 8px; border-radius: 8px; border: 1px solid var(--fwn-gold); }
/* footer v2 */
.fwn-footer { margin-top: 64px; padding: 0 16px 28px; }
.fwn-fband { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; transform: translateY(-50%); }
.fwn-fband-i { background: var(--fwn-card); border: 1px solid var(--fwn-line); border-radius: 14px; padding: 14px 16px; }
.fwn-fband-i b { display: block; color: #fff; font-size: 16px; } .fwn-fband-i span { font-size: 14px; }
.fwn-fgrid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; }
.fwn-flinks { list-style: none; margin: 0; padding: 0; } .fwn-flinks li { margin: 0 0 7px; } .fwn-flinks a { text-decoration: none; } .fwn-flinks a:hover { color: var(--fwn-gold); }
.fwn-fhours td { font-size: 14px; } .fwn-pay { margin-top: 10px; font-weight: 700; color: #fff; }
.fwn-fbottom { max-width: 1240px; margin: 28px auto 0; border-top: 1px solid var(--fwn-line); padding-top: 18px; }
.fwn-flegal-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 10px; } .fwn-flegal-links a { font-weight: 700; font-size: 14px; }
@media (max-width: 860px) { .fwn-fgrid { grid-template-columns: 1fr 1fr; } .fwn-fband { transform: none; margin-bottom: 24px; padding-top: 24px; } }
@media (max-width: 520px) { .fwn-fgrid { grid-template-columns: 1fr; } }

/* brand: Rock Bottom Fireworks logo (red / black / white) */
.fwn-header { background: #fff !important; border-bottom: 4px solid var(--fwn-red); backdrop-filter: none; }
.fwn-header .wp-block-navigation a, .fwn-header .wp-block-navigation-item__content { color: #111 !important; }
.fwn-header .wp-block-navigation a:hover { color: var(--fwn-red) !important; }
.fwn-header .wc-block-mini-cart__button, .fwn-header .wc-block-mini-cart__amount, .fwn-header svg { color: #111 !important; fill: #111; }
.fwn-header .wp-block-navigation__responsive-container-open svg { fill: #111; }
.fwn-brand img { display: block; height: 76px; width: auto; }
.fwn-brand-f { display: inline-block; background: #fff; border-radius: 14px; padding: 8px 12px; }
.fwn-brand-f img { height: 92px; }
.fwn-top { background: var(--fwn-red); color: #fff; } .fwn-top a { color: #fff; }
@media (max-width: 600px) { .fwn-brand img { height: 52px; } }
/* header v3: logo centred, menu underneath, whole header sticky (Mike 2026-10-18) */
header.wp-block-template-part { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 100; }
.fwn-header { position: static !important; }
.fwn-hrow { display: grid !important; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 10px 0 4px; }
.fwn-hleft { display: flex; flex-direction: column; font-size: 13px; color: #444; line-height: 1.35; }
.fwn-hleft a { color: #111 !important; font-weight: 800; text-decoration: none; font-size: 15px; }
.fwn-hright { justify-self: end; gap: 14px; }
.fwn-brand { justify-self: center; }
.fwn-brand img { height: 92px; transition: height .2s; }
.fwn-nav { padding: 2px 0 10px; }
.fwn-nav .wp-block-navigation-item__content { font-weight: 800; font-size: 16px; }
header.fwn-scrolled .fwn-brand img { height: 50px; }
header.fwn-scrolled .fwn-top { display: none; }
header.fwn-scrolled .fwn-hrow { padding: 4px 0 0; }
header.fwn-scrolled .fwn-nav { padding-bottom: 6px; }
@media (max-width: 781px) {
  .fwn-hrow { grid-template-columns: 1fr auto 1fr; padding: 8px 0; }
  .fwn-hleft { display: none; }
  .fwn-brand { grid-column: 2; } .fwn-hright { grid-column: 3; }
  .fwn-brand img { height: 58px; } header.fwn-scrolled .fwn-brand img { height: 44px; }
  .fwn-nav { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); padding: 0; }
  .fwn-header > .wp-block-group, .fwn-header { position: relative !important; }
  .fwn-top { font-size: 12px; padding: 6px 12px; }
}
.fwn-idbox { background: #fff4d6; border: 2px solid #ffc83d; color: #111; border-radius: 12px; padding: 12px 16px; margin: 0 0 18px; display: flex; flex-direction: column; gap: 2px; }
.fwn-idbox b { font-size: 17px; } .fwn-idbox span { font-size: 14px; }
/* centring: equal side columns, nav items centred under the logo, no stray margins */
.fwn-hrow { grid-template-columns: minmax(0,1fr) auto minmax(0,1fr) !important; }
.fwn-hrow > * { margin: 0 !important; }
.fwn-hleft { justify-self: start; }
.fwn-nav, .fwn-nav .wp-block-navigation__container { justify-content: center !important; margin-left: auto !important; margin-right: auto !important; width: 100%; }
.fwn-header > .wp-block-group, .fwn-header > nav { max-width: 1240px; margin-left: auto !important; margin-right: auto !important; }
.fwn-c25 { display: flex; gap: 14px; align-items: center; background: #fff; color: #111; border-radius: 14px; padding: 12px 14px; margin: 16px 0; border: 3px solid #e53935; }
.fwn-c25 img { width: 96px; height: 96px; flex: none; }
.fwn-c25 b { display: block; font-size: 17px; margin-bottom: 2px; } .fwn-c25 span { font-size: 14px; line-height: 1.4; }
.fwn-idbox { flex-direction: row !important; align-items: center; gap: 12px !important; } .fwn-idbox img { width: 64px; height: 64px; flex: none; }
.fwn-idbox > div { display: flex; flex-direction: column; }
.fwn-fc25 { display: flex; align-items: center; gap: 10px; margin-top: 14px; text-decoration: none; color: #fff !important; font-size: 13px; font-weight: 700; }
.fwn-fc25 img { width: 84px; height: 84px; }
@media (max-width: 781px) { .fwn-nav { width: auto !important; margin: 0 !important; } }
