@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&display=swap');

/* Captain Baltimore — sitewide brand layer.
   Same energy as the new homepage: ink borders, hard shadows, neon accents,
   Poppins display type. Deliberately conservative: theme colors stay, the
   cartoon treatment goes on top. */

:root {
    --cb-ink: #111111;
    --cb-paper: #ffffff;
    --cb-pink: #ff2e88;
    --cb-purple: #7b2fff;
    --cb-cyan: #00c2e8;
    --cb-lime: #7ed321;
    --cb-yellow: #ffd500;
}

::selection {
    background: var(--cb-yellow);
    color: var(--cb-ink);
}

/* Display type everywhere */
h1, h2, h3,
.woocommerce-loop-product__title,
.tribe-events-single-event-title {
    font-family: 'Poppins', sans-serif;
    letter-spacing: .01em;
}

/* Header + footer get the ink rule line (dashed per Jacob, 2026-11-12) */
.site-header {
    border-bottom: 3px dashed var(--cb-ink);
}
#site-footer, .site-footer {
    border-top: 3px dashed var(--cb-ink);
}

/* Buttons: chunky, bordered, hard shadow — theme colors untouched */
.button,
button.button,
input[type="submit"],
input[type="button"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wp-block-button__link,
.tribe-common a.tribe-common-c-btn,
.tribe-common button.tribe-common-c-btn {
    border: 2.5px solid var(--cb-ink) !important;
    border-radius: 10px !important;
    box-shadow: 3px 3px 0 var(--cb-ink);
    font-weight: 700;
    transition: transform .12s ease, box-shadow .12s ease;
}
.button:hover,
button.button:hover,
input[type="submit"]:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.wp-block-button__link:hover,
.tribe-common a.tribe-common-c-btn:hover,
.tribe-common button.tribe-common-c-btn:hover {
    transform: translate(-1px, -1px);
    box-shadow: 4px 4px 0 var(--cb-ink);
}

/* Shop product cards become sticker cards */
.woocommerce ul.products li.product {
    background: #ffffff;
    border: 3px solid var(--cb-ink);
    border-radius: 0;
    box-shadow: 5px 5px 0 rgba(17, 17, 17, .9);
    overflow: hidden;
    padding-bottom: 14px;
}
.woocommerce ul.products li.product a img {
    border-bottom: 3px solid var(--cb-ink);
    border-radius: 0;
    margin-bottom: 12px;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price {
    padding-left: 12px;
    padding-right: 12px;
}
.woocommerce ul.products li.product .price {
    font-weight: 700;
    color: var(--cb-ink);
}

/* Single product image gets the frame too */
.woocommerce div.product div.images img {
    border: 3px solid var(--cb-ink);
    border-radius: 0;
}

/* Events list: each event becomes a card */
.tribe-events .tribe-events-calendar-list__event {
    background: #ffffff;
    border: 3px solid var(--cb-ink);
    border-radius: 0;
    box-shadow: 5px 5px 0 rgba(17, 17, 17, .9);
    padding: 18px;
    margin-bottom: 22px;
}
.tribe-events .tribe-events-calendar-list__event-featured-image {
    border: 2.5px solid var(--cb-ink);
    border-radius: 0;
}

/* Sale badge pops in brand pink */
.woocommerce span.onsale {
    background: var(--cb-pink);
    border: 2px solid var(--cb-ink);
    color: #ffffff;
    font-weight: 700;
}

/* ── Pirate Radio tuner re-skin (cb-pirate-radio plugin) ─────────────
   The tuner is variable-driven: remap its skin to the brand palette and
   layer the hard-shadow card treatment on top. Variables carry !important
   so the plugin's inline defaults can't win. Playback, presets, voting,
   and charts behavior are untouched. */
body .cb-tuner,
body .cb-charts {
    --cb-hull: #fffdf4 !important;
    --cb-panel: #ffffff !important;
    --cb-brass: #7b2fff !important;
    --cb-signal: #ff2e88 !important;
    --cb-ink: #111111 !important;
    --cb-ink-dim: #5c5c55 !important;
    --cb-border: #111111 !important;
    --cb-bw: 3px !important;
    --cb-radius: 0 !important;
    --cb-radius-sm: 0 !important;
    --cb-hover: .5 !important;
    --cb-font: 'Poppins', Arial, sans-serif !important;
    box-shadow: 7px 7px 0 #111111;
}
.cb-tuner .cb-tuner__unit { background: #ffffff; }
.cb-tuner .cb-tuner__digits {
    color: #111111;
    text-shadow: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
}
.cb-tuner .cb-tuner__callsign,
.cb-tuner .cb-tuner__display-label,
.cb-charts .cb-charts__title {
    font-family: 'Poppins', sans-serif;
}
.cb-tuner .cb-tuner__play {
    background: #ffd500;
    border: 3px solid #111111;
    color: #111111;
    box-shadow: 4px 4px 0 #111111;
}
.cb-tuner .cb-tuner__play.is-playing {
    background: #ff2e88;
    color: #ffffff;
}
.cb-tuner .cb-tuner__preset.is-tuned {
    background: #ffd500;
    box-shadow: 3px 3px 0 #111111;
}
.cb-tuner #cb-volume { accent-color: #ff2e88; }

/* Footer join band ([cb_join]) — the yellow newsletter block, sitewide.
   Form rules mirror the locked 54px input/button alignment from cb-home.css. */
.cb-joinband { background: #FFD500; color: #111111; text-align: center; padding: 34px 20px 30px; border-top: 3px solid #111111; border-bottom: 3px solid #111111; font-family: 'Poppins', sans-serif; width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); box-sizing: border-box; }
.cb-joinband__kicker { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #FF2E88; }
.cb-joinband__title { margin: 0 0 14px; font-size: 30px; font-weight: 800; line-height: 1.15; color: #111111; font-family: 'Poppins', sans-serif; }
.cb-joinband__btn { display: inline-block; margin: 0 0 20px; padding: 10px 18px; border: 3px solid #111111; background: transparent; color: #111111 !important; font-weight: 700; text-decoration: none; box-shadow: 3px 3px 0 #111111; }
.cb-joinband__btn:hover { background: #111111; color: #FFD500 !important; }
.cb-joinband .cb-home-sub { display: flex; gap: 0; max-width: 520px; margin: 0 auto; align-items: stretch; text-align: left; }
.cb-joinband .cb-home-sub__input { flex: 1 1 auto; min-width: 0; border: 3px solid #111111; border-right: none; border-radius: 0; height: 54px; min-height: 54px; max-height: 54px; padding: 0 16px; line-height: 1.2; box-sizing: border-box; font-size: 16px; background: #fff; color: #111111; }
.cb-joinband .cb-home-sub__btn { flex: none; border: 3px solid #111111; border-radius: 0; background: #111111; color: #fff !important; font-weight: 700; height: 54px; min-height: 54px; max-height: 54px; padding: 0 22px; line-height: 1.2; box-sizing: border-box; cursor: pointer; }
.cb-joinband .cb-home-sub__btn:hover { background: #FF2E88; }
.cb-joinband .cb-home-sub__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cb-joinband .cb-home-sub__msg { display: none; font-weight: 700; margin: 10px 0 0; }
.cb-joinband .cb-home-sub__msg.is-visible { display: block; }
.cb-joinband .cb-home-note { font-size: 15px; margin: 0; }
.cb-joinband .cb-home-note a { color: #7B2FFF; font-weight: 700; }
@media (max-width: 560px) {
    .cb-joinband .cb-home-sub { flex-direction: column; }
    .cb-joinband .cb-home-sub__input { border-right: 3px solid #111111; border-bottom: none; }
    .cb-joinband__title { font-size: 24px; }
}

/* Footer band full-bleed (Jacob, 2026-10-23: "expands the whole way"):
   release the theme's row/column constraints around the footer widget area
   so the yellow band runs edge to edge. */
.site-footer-widget-area { padding-left: 0 !important; padding-right: 0 !important; }
.site-footer-widget-area .row { max-width: none !important; width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }
.site-footer-widget-area .columns { padding-left: 0 !important; padding-right: 0 !important; float: none !important; }
.site-footer-widget-area aside.widget { margin-bottom: 0 !important; }

/* Form row hard-pinning (v1.2.10): on Jacob's laptop the theme stacked the
   button under the field despite the flex rules — lock the row layout down
   with !important so no theme rule can break it up. */
.cb-joinband .cb-home-sub { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; align-items: stretch !important; gap: 0 !important; }
.cb-joinband .cb-home-sub__input { flex: 1 1 auto !important; width: auto !important; min-width: 0 !important; float: none !important; }
.cb-joinband .cb-home-sub__btn { flex: 0 0 auto !important; width: auto !important; float: none !important; }
@media (max-width: 560px) {
    .cb-joinband .cb-home-sub { flex-direction: column !important; }
    .cb-joinband .cb-home-sub__btn { width: 100% !important; }
}

/* All-caps page titles sitewide, matching the RADIO page (v1.2.11; !important added v1.2.12 — the theme overrode the plain rule) */
.page-title { text-transform: uppercase !important; }

/* Shop price filter button: was a bare orange right-floated label inside an outline pill (Jacob: "looks kind of wonky", 2026-11-12). Make it a proper brand button like JOIN THE FUN. */
.woocommerce .widget.widget_price_filter .price_slider_amount .button {
    float: none !important;
    display: inline-block;
    padding: 10px 22px !important;
    background: #111111 !important;
    color: #ffffff !important;
    border-radius: 0 !important;
    text-align: center !important;
    text-transform: uppercase;
    line-height: 1.2;
}

/* Product cards: title was flush to the card borders and the hover button was a bare pink label clipped by the card edge (Jacob, 2026-11-12). Give the title/price real insets and make the loop button a solid bar that lives inside the card, always visible. */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    padding-left: 12px !important;
    padding-right: 12px !important;
}
.woocommerce ul.products li.product .product_after_shop_loop,
.woocommerce ul.products li.product .product_after_shop_loop_switcher {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: auto !important;
}
.woocommerce ul.products li.product .product_after_shop_loop_switcher a.button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    margin: 10px 12px 12px !important;
    padding: 12px 10px !important;
    background: #111111 !important;
    color: #ffffff !important;
    border-radius: 0 !important;
    text-align: center !important;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1.2;
}

/* Mobile menu close button: plain big black X, no gray circle (Jacob, 2026-11-12) */
html .off-canvas .menu-close .close-button,
html .off-canvas .menu-close .close-button span {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #111111 !important;
    font-size: 38px !important;
    line-height: 1 !important;
}
html .off-canvas .menu-close .close-button {
    width: 48px;
    height: 48px;
}

/* Cart page: Return to shop was a bare pink label overflowing a pill outline; make it a real brand button. The theme also hides the empty-cart message entirely; show it (Jacob, 2026-11-12) */
.return-to-shop { text-align: center; }
body.woocommerce-cart .return-to-shop a.button.wc-backward {
    display: inline-block !important;
    padding: 13px 28px !important;
    background-color: #111111 !important;
    color: #ffffff !important;
    border-radius: 0 !important;
    font-size: 14px !important;
    text-transform: uppercase;
    text-align: center;
}
body.woocommerce-cart .cart-empty.woocommerce-info {
    display: block !important;
    text-align: center;
    padding-left: 30px !important;
    padding-right: 30px !important;
}

/* Empty-cart icon: removed entirely, it hung crooked out of the message box (Jacob, 2026-11-12) */
body.woocommerce-cart .cart-empty:before {
    display: none !important;
    content: none !important;
}
body.woocommerce-cart .cart-empty {
    font-size: 24px;
    padding-bottom: 26px;
}

/* Search panel: the submit input is an invisible tap target over the theme's magnifier icon; the brand button border turned it into an empty square (Jacob, 2026-11-12) */
.site-search .search-form input[type="submit"] {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    border-radius: 0 !important;
}

/* Shop grid on phones: one big card per row (Jacob's pick, 2026-11-12), and pull the wishlist heart in from the card edge where it was clipped */
@media (max-width: 680px) {
    .woocommerce ul.products li.product {
        width: 100% !important;
        float: none !important;
        clear: both;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}
.woocommerce ul.products li.product .product_thumbnail_icons {
    right: 12px !important;
}

/* Product detail pages: no borders around the gallery images, main or thumbnails (Jacob, 2026-11-12) */
.single-product .woocommerce-product-gallery,
.single-product .woocommerce-product-gallery figure,
.single-product .woocommerce-product-gallery .flex-viewport,
.single-product .woocommerce-product-gallery img,
.single-product .flex-control-thumbs li {
    border: none !important;
    box-shadow: none !important;
}

/* Single product Add to Cart: brand treatment like the hero buttons - black, sharp corners, hard pink offset shadow (Jacob, 2026-11-12) */
body.single-product button.single_add_to_cart_button.button.alt,
.woocommerce-account form.login button.button,
.woocommerce-account form.register button.button,
.woocommerce-account form.lost_reset_password button.button {
    background: #111111 !important;
    color: #ffffff !important;
    border: 3px solid #111111 !important;
    border-radius: 0 !important;
    box-shadow: 5px 5px 0 #FF2E88 !important;
    text-transform: uppercase;
}
body.single-product button.single_add_to_cart_button.button.alt:hover,
.woocommerce-account form.login button.button:hover,
.woocommerce-account form.register button.button:hover,
.woocommerce-account form.lost_reset_password button.button:hover {
    box-shadow: 7px 7px 0 #FF2E88 !important;
}

/* Single post pages: title decoupled from the featured image, Baltimore Beat style (Jacob, 2026-11-12).
   Title and byline sit on white above; the featured image follows as its own block. */
body.single-post .single-post-header {
    display: flex !important;
    flex-direction: column;
    height: auto !important;
    min-height: 0 !important;
    background: #ffffff !important;
    padding: 40px 0 34px;
}
body.single-post .single-post-header-overlay {
    display: none !important;
}
body.single-post .single-post-header .row,
body.single-post .single-post-header .row > div,
body.single-post .single-post-header .title {
    height: auto !important;
    min-height: 0 !important;
}
body.single-post .single-post-header .row {
    order: 1;
    width: 100% !important;
    max-width: 920px;
    margin: 0 auto;
}
body.single-post .single-post-header .row > div {
    width: 100% !important;
    max-width: 920px;
    float: none;
    margin: 0 auto;
    padding: 0 20px;
}
body.single-post .single-post-header .title {
    position: static;
    transform: none;
    text-align: left;
    padding: 0;
}
body.single-post .single-post-header h1.entry-title {
    color: #111111 !important;
    font-size: 46px;
    line-height: 1.05;
    text-shadow: none !important;
    margin: 0 0 14px;
    text-align: left;
}
body.single-post .single-post-header .post_meta,
body.single-post .single-post-header .post_meta a {
    color: #666666 !important;
    text-shadow: none !important;
    text-align: left;
}
body.single-post .single-post-header .post_meta a {
    color: #FF2E88 !important;
}
body.single-post .single-post-header-bkg {
    order: 2;
    position: relative !important;
    top: auto; right: auto; bottom: auto; left: auto;
    width: min(880px, calc(100% - 40px)) !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    margin: 26px auto 0;
    background-size: cover;
    background-position: center;
}
@media (max-width: 680px) {
    body.single-post .single-post-header { padding: 26px 0 24px; }
    body.single-post .single-post-header h1.entry-title { font-size: 31px; }
    body.single-post .single-post-header-bkg { aspect-ratio: 4 / 3; margin-top: 20px; }
}

/* Post header alignment pass: title block and image share one 880px column, byline tightened */
body.single-post .single-post-header .title {
    width: min(880px, calc(100% - 40px)) !important;
    margin: 0 auto !important;
    padding: 0 !important;
}
body.single-post .single-post-header .post_meta {
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    line-height: 1.5;
}

/* Post header: row and image in the exact same column */
body.single-post .single-post-header .row {
    width: min(880px, calc(100% - 40px)) !important;
    max-width: none !important;
}
body.single-post .single-post-header .row > div {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    left: 0 !important;
    float: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
body.single-post .single-post-header .title {
    width: 100% !important;
}

/* Post header final pass: show the WHOLE featured image (no crop), and force the title column wide (Jacob, 2026-11-12) */
body.single-post .single-post-header-bkg {
    background-size: contain !important;
    background-repeat: no-repeat;
    background-color: #ffffff;
}
body.single-post .single-post-header .row > div {
    flex: 0 0 100% !important;
}

/* Post page mobile fixes (Jacob, 2026-11-12): the theme pulls the post header up -85px (title slid under the site header) and leaves a 90px margin under it (dead space before the article) */
body.single-post .single-post-header {
    margin-bottom: 18px !important;
}
body.single-post .single-post-header .post_meta {
    line-height: 1.35 !important;
}
body.single-post .single-post-header .post_meta a {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
@media (max-width: 1024px) {
    body.single-post .single-post-header {
        margin-top: 0 !important;
    }
    body.single-post .single-post-header-bkg {
        margin-top: 12px !important;
    }
}

/* Events calendar FIND EVENTS button: brand treatment, sharp corners + full 3D shadow (Jacob, 2026-11-12) */
body .tribe-events .tribe-events-c-search__button,
body .tribe-common .tribe-common-c-btn.tribe-events-c-search__button {
    position: relative;
    z-index: 2;
    border-radius: 0 !important;
    border: 3px solid #111111 !important;
    background: #111111 !important;
    color: #ffffff !important;
    box-shadow: 5px 5px 0 #FF2E88 !important;
    text-transform: uppercase;
}
body .tribe-events .tribe-events-c-search__button:hover,
body .tribe-common .tribe-common-c-btn.tribe-events-c-search__button:hover {
    box-shadow: 7px 7px 0 #FF2E88 !important;
}
body .tribe-events .tribe-events-c-events-bar {
    padding-bottom: 10px;
}

/* Cart flow buttons: brand treatment (Jacob, 2026-11-12: "fix her buttons") - sharp corners everywhere, checkout is the hero button, apply coupon fits its label, view cart is a black chip on the pink notice */
body .wc-proceed-to-checkout a.checkout-button,
body.woocommerce-cart .checkout-button,
body.woocommerce-checkout .checkout-button {
    background: #111111 !important;
    color: #ffffff !important;
    border: 3px solid #111111 !important;
    border-radius: 0 !important;
    box-shadow: 5px 5px 0 #FF2E88 !important;
    text-transform: uppercase;
}
body .wc-proceed-to-checkout a.checkout-button:hover {
    box-shadow: 7px 7px 0 #FF2E88 !important;
}
body .woocommerce .return-to-shop a.button,
body .woocommerce a.button.continue-shopping,
body .woocommerce-cart a.continue,
body .woocommerce .cart-collaterals a.button {
    border-radius: 0 !important;
}
body .woocommerce .woocommerce-message a.button,
body .woocommerce .woocommerce-info a.button {
    background: #111111 !important;
    color: #ffffff !important;
    border: 3px solid #111111 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-transform: uppercase;
}
body .woocommerce-cart .coupon button.button,
body .woocommerce-cart .coupon input[name="apply_coupon"],
body .woocommerce .coupon .button {
    background: #111111 !important;
    color: #ffffff !important;
    border: 3px solid #111111 !important;
    border-radius: 0 !important;
    box-shadow: 5px 5px 0 #FF2E88 !important;
    white-space: nowrap;
    width: auto !important;
    min-width: 170px;
    padding-left: 18px !important;
    padding-right: 18px !important;
    text-transform: uppercase;
}
body .woocommerce-cart button[name="update_cart"] {
    border-radius: 0 !important;
    border: 3px solid #111111 !important;
    background: #ffffff !important;
    color: #111111 !important;
    box-shadow: none !important;
    text-transform: uppercase;
}

/* Cart buttons round 2: the two the first pass missed, by their real classes */
.shopkeeper-continue-shopping a.button {
    border-radius: 0 !important;
    border: 3px solid #111111 !important;
    background: #ffffff !important;
    color: #111111 !important;
    box-shadow: none !important;
    text-transform: uppercase;
}
.woocommerce-mini-cart__buttons a.button {
    border-radius: 0 !important;
    border: 3px solid #111111 !important;
    background: #111111 !important;
    color: #ffffff !important;
    box-shadow: none !important;
    text-transform: uppercase;
}

/* Mini-cart buttons, heavy selector: the theme paints them with the accent color and rounds them (Jacob, 2026-11-12) */
html body .widget_shopping_cart .woocommerce-mini-cart__buttons a.button.wc-forward,
html body .widget_shopping_cart .woocommerce-mini-cart__buttons a.button.checkout {
    border-radius: 0 !important;
    border: 3px solid #111111 !important;
    background: #111111 !important;
    color: #ffffff !important;
    box-shadow: none !important;
    text-transform: uppercase;
}

/* The VISIBLE added-to-cart notice is the theme's custom notification (gbt-custom-notification), plus the standard Woo notice button (Jacob, 2026-11-12) */
html body .gbt-custom-notification-message a.button,
html body .woocommerce-message a.button.wc-forward,
html body .woocommerce-info a.button.wc-forward {
    border-radius: 0 !important;
    border: 3px solid #111111 !important;
    background: #111111 !important;
    color: #ffffff !important;
    box-shadow: none !important;
    text-transform: uppercase;
}

/* Events calendar chrome cleanup (Jacob, 2026-11-13): list view is forced sitewide
   (/events/month/ redirects to list), so the lone "List" view switcher next to
   FIND EVENTS is pointless — hide it. Same for the "Subscribe to calendar"
   dropdown at the bottom of the events list. The FIND EVENTS button, the search
   bar, and the Next Events pagination link are untouched. */
.tribe-events .tribe-events-c-view-selector,
.tribe-events .tribe-events-c-subscribe-dropdown__container,
.tribe-events .tribe-events-c-subscribe-dropdown {
    display: none !important;
}
