/* Bigfoot Songs — store pages (cart, checkout, orders, product pages) + shell helpers.
   Colours and fonts follow the original site (Elementor kit 88): dark #121016, panel #1c1724, cream #f6f2ec,
   text #b7aebe, purple #b98aff, lime #d7e89a, coral #ff765c; Poppins headings, DM Sans text. */
html { scroll-behavior: smooth; }
#site-header { min-height: 86px; background: #121016; }
/* Elementor's sticky header (it used a jQuery plugin; CSS sticky gives the same result) */
.elementor-location-header { position: sticky; top: 0; z-index: 99; }
[id="music"], [id="about"], [id="collection"], [id="contact"] { scroll-margin-top: 86px; }
.screen-reader-text:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
.elementor-menu-toggle { cursor: pointer; }

.bf-store-page { background: #121016; color: #b7aebe; font-family: "DM Sans", sans-serif; font-size: 16px; line-height: 1.6; margin: 0; }
.bf-store { display: block; min-height: 50vh; }
body main.site-main.bf-store { max-width: none; width: 100%; margin: 0; padding: 0; }
.bf-store a { color: #d7e89a; }
.bf-wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.bf-wrap.narrow { max-width: 820px; }
.bf-intro { padding: 70px 0 30px; background: radial-gradient(1200px 400px at 20% 0%, #2a1d3a 0%, transparent 70%), #121016; }
.bf-intro h1, .bf-store h1 { font-family: "Poppins", sans-serif; font-weight: 800; text-transform: uppercase; color: #f6f2ec; font-size: clamp(34px, 5vw, 56px); line-height: 1.1; letter-spacing: -0.5px; margin: 14px 0 12px; }
.bf-lead { max-width: 640px; font-size: 17px; margin: 0; }
.bf-pill { display: inline-block; margin: 0; padding: 7px 14px; border-radius: 25px; background: #d7e89a5e; color: #d7e89a; font: 400 12px/1.4 "Poppins", sans-serif; letter-spacing: .7px; text-transform: uppercase; }
.bf-section { padding: 30px 0 80px; }
.bf-section.alt { background: #1a1023; padding-top: 70px; }
.bf-h2, .bf-panel h2, .bf-store h2 { font-family: "Poppins", sans-serif; font-weight: 800; text-transform: uppercase; color: #f6f2ec; font-size: 22px; line-height: 1.25; margin: 0 0 16px; }
.bf-h2 { font-size: clamp(26px, 3.4vw, 38px); margin: 14px 0 28px; }
.bf-panel { background: #1c1724; border: 1px solid #ffffff1a; border-radius: 14px; padding: 26px; }
.bf-help { font-size: 13px; color: #9d93a6; margin: 6px 0 14px; }
.bf-status { color: #ff765c; font-size: 14px; margin: 12px 0 0; min-height: 1em; }
body .bf-store .bf-btn, body .bf-store a.bf-btn, body .bf-store button.bf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 4px; background: #d7e89a; color: #121016 !important; font: 600 13px/1.2 "DM Sans", sans-serif; padding: 14px 20px; text-decoration: none; cursor: pointer; transition: background .2s, transform .1s; }
body .bf-store .bf-btn:hover { background: #e7f5b5; color: #121016; }
.bf-btn:active { transform: translateY(1px); }
body .bf-store .bf-btn.alt { background: #b98aff; }
body .bf-store .bf-btn.alt:hover { background: #c9a5ff; }
body .bf-store .bf-btn.ghost { background: transparent; color: #f6f2ec !important; border: 1px solid #ffffff40; }
.bf-btn.ghost:hover { border-color: #d7e89a; }
.bf-btn.wide { width: 100%; padding: 16px; font-size: 15px; margin-top: 16px; }
.bf-btn[disabled] { opacity: .5; cursor: not-allowed; }
.bf-link { background: none; border: 0; padding: 0; color: #d7e89a; font: inherit; font-size: 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; display: inline-block; margin-top: 10px; }
.bf-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.bf-hp { position: absolute; left: -9999px; }

/* Forms */
.bf-store label { display: block; font-size: 14px; color: #f6f2ec; margin: 0 0 14px; }
.bf-store label span { color: #ff765c; }
.bf-store input, .bf-store select, .bf-store textarea { display: block; width: 100%; box-sizing: border-box; margin-top: 6px; background: #121016; color: #f6f2ec; border: 1px solid #ffffff2e; border-radius: 6px; padding: 12px 13px; font: 15px/1.4 "DM Sans", sans-serif; }
.bf-store input:focus, .bf-store select:focus, .bf-store textarea:focus { outline: 2px solid #b98aff; outline-offset: 1px; border-color: transparent; }
.bf-store label.radio { display: flex; align-items: center; gap: 10px; }
.bf-store label.radio input { width: auto; margin: 0; }
.bf-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.bf-row3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 0 16px; }
.pay-title { color: #f6f2ec; font-weight: 600; margin: 16px 0 8px; }

/* Cart */
.bf-cart { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.bf-cart-item { display: grid; grid-template-columns: 84px 1fr auto auto; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid #ffffff1a; }
.bf-cart-item img { width: 84px; height: 84px; object-fit: cover; border-radius: 8px; display: block; }
.bf-cart-item h2 { font-size: 16px; margin: 0 0 4px; }
.bf-cart-item h2 a { color: #f6f2ec; text-decoration: none; }
.bf-cart-item strong { color: #f6f2ec; font-size: 16px; }
.bf-qty input { width: 70px; }
.bf-card-meta { margin: 0; font-size: 12px; letter-spacing: .6px; text-transform: uppercase; color: #9d93a6; }
.bf-line, .bf-lines li { display: flex; justify-content: space-between; gap: 12px; }
.bf-line strong, .bf-lines strong { color: #f6f2ec; }
.bf-lines { list-style: none; margin: 0 0 12px; padding: 0; }
.bf-lines li { padding: 8px 0; border-bottom: 1px solid #ffffff12; font-size: 15px; }
.bf-lines.totals li:last-child { border: 0; }
.bf-lines .grand { font-size: 18px; color: #f6f2ec; padding-top: 12px; }
.bf-lines .grand strong { color: #d7e89a; }
.bf-empty { text-align: center; padding: 40px 20px; }
.bf-empty h2 { font-size: 26px; }

/* Checkout */
.bf-checkout { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.bf-summary { position: sticky; top: 110px; }
.bf-coupon { display: flex; gap: 8px; margin-top: 12px; }
.bf-coupon input { margin: 0; }
.bf-card-fields { margin-top: 14px; display: grid; gap: 8px; }
.bf-card-fields > div { min-height: 44px; }

/* Orders + downloads */
.bf-order { margin-top: 20px; }
.bf-order-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 14px; }
.bf-order-head p { margin: 6px 0 0; }
.bf-status-pill { border-radius: 30px; padding: 6px 14px; font-size: 13px; background: #ffffff14; color: #f6f2ec; white-space: nowrap; }
.bf-status-pill.status-paid, .bf-status-pill.status-completed { background: #d7e89a; color: #121016; }
.bf-status-pill.status-failed, .bf-status-pill.status-cancelled { background: #ff765c33; color: #ff765c; }
.bf-downloads.bfgp-downloads { margin-top: 10px; }
.bf-downloads p { margin: 6px 0 0; }
.bf-downloads a:not(.bfgp-download-button) { color: #473755; }

/* Product page */
.bf-crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; padding-top: 34px; color: #9d93a6; }
.bf-crumbs a { color: #b7aebe; text-decoration: none; }
.bf-product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; padding: 30px 0; align-items: start; }
.bf-cover img { width: 100%; height: auto; display: block; border-radius: 10px; border: 1px solid #ffffff1a; box-shadow: 0 30px 60px #0007; }
.bf-product-info h1 { margin-top: 18px; }
.bf-by { text-transform: uppercase; letter-spacing: 1px; font-size: 13px; margin: 0 0 8px; }
.bf-price { color: #d7e89a; font: 700 18px/1.3 "Poppins", sans-serif; margin: 8px 0; }
.bf-price.big { font-size: 30px; margin: 10px 0 18px; }
.bf-price del { color: #9d93a6; font-weight: 400; margin-right: 6px; }
.bf-short { margin-bottom: 16px; }
.bf-buy-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 18px 0 10px; }
.bf-note { font-size: 14px; color: #9d93a6; }
.bf-tracklist { margin-top: 26px; }
.bf-tracklist ol { margin: 0; padding-left: 22px; }
.bf-tracklist li { padding: 6px 0; border-bottom: 1px solid #ffffff12; color: #f6f2ec; }
.bf-prose { max-width: 760px; }
body .bf-store button.jkbf-listen { background: #b98aff; color: #121016; border: 0; border-radius: 4px; padding: 12px 18px; font: 600 13px/1 "DM Sans", sans-serif; cursor: pointer; }
.bf-store .jkbf-listen[aria-pressed="true"] { background: #d7e89a; }
.bf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; }
.bf-card { background: #1c1724; border: 1px solid #ffffff1a; border-radius: 12px; padding: 14px; display: flex; flex-direction: column; }
.bf-card-img img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; display: block; }
.bf-card h3 { font: 700 15px/1.3 "Poppins", sans-serif; text-transform: uppercase; margin: 12px 0 4px; }
.bf-card h3 a { color: #f6f2ec; text-decoration: none; }
.bf-card-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; align-items: center; }
.bf-card-actions .bf-btn, .bf-card-actions .jkbf-listen { padding: 10px 12px; font-size: 12px; }

@media (max-width: 960px) {
  .bf-cart, .bf-checkout { grid-template-columns: 1fr; }
  .bf-summary { position: static; }
  .bf-product { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 600px) {
  .bf-row2, .bf-row3 { grid-template-columns: 1fr; }
  .bf-cart-item { grid-template-columns: 64px 1fr auto; }
  .bf-cart-item img { width: 64px; height: 64px; }
  .bf-cart-item .bf-qty, .bf-cart-item > span { grid-column: 2; }
  .bf-panel { padding: 20px; }
  .bf-intro { padding-top: 46px; }
}
/* Theme reset styles buttons (pink border/background); keep store buttons in the site style */
.bf-store button.bf-link, .bf-store button.bf-link:hover, .bf-store button.bf-link:focus { background: none; border: 0; padding: 0; color: #d7e89a; border-radius: 0; font-size: 14px; }
.bf-store button.bf-btn, .bf-store button.bf-btn:hover, .bf-store button.bf-btn:focus { border: 0; }
.bf-store button.bf-btn.ghost { border: 1px solid #ffffff40; background: transparent; }
.bf-store button.jkbf-listen:hover, .bf-store button.jkbf-listen:focus { background: #c9a5ff; color: #121016; }

/* Hover fixes (2026-12-04). The original theme turns these buttons transparent on hover, which hid the text
   (same on the WordPress site). Hover = outlined button in the button's own colour. */
body.elementor-kit-88 button.jkbf-listen:hover, body.elementor-kit-88 button.jkbf-listen:focus, body.elementor-kit-88 button.jkbf-listen:active { background-color: transparent; color: #ff765c; border: 1.25px solid #ff765c; }
.elementor-menu-cart__footer-buttons .elementor-button--view-cart:hover, .elementor-menu-cart__footer-buttons .elementor-button--view-cart:focus { background-color: #fff; color: #ff6b2c; box-shadow: inset 0 0 0 2px #ff6b2c; }
.elementor-menu-cart__footer-buttons .elementor-button--checkout:hover, .elementor-menu-cart__footer-buttons .elementor-button--checkout:focus { background-color: #fff; color: #ff2e93; box-shadow: inset 0 0 0 2px #ff2e93; }
