/*
 Theme Name:   Bootscore Child
 Description:  Bootscore Child Theme
 Author:       Bootscore
 Author URI:   https://bootscore.me
 Template:     bootscore
 Version:      6.0.0
 Requires at least: 5.0
 Tested up to: 6.6
 Requires PHP: 7.4
 License: MIT License
 License URI: https://github.com/bootscore/bootscore-child/blob/main/LICENSE
 Text Domain:  bootscore
*/

/* 
All style editing is done via /assets/scss/_bootscore_custom.scss
*/


@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* ********** GENERAL ********** */

:root {
    --red: #E81752;
    --black: #000000;
    --white: #FFFFFF;
    --black2: #030303;
    --offwhite: #E8E8E8;
    --offwhite2: #F7F7F7;
}

html, #page {
	background-color: var(--black);
}

h1,
h2,
h3,
h4,
h5,
h6 p {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 500 !important;
    text-transform: uppercase;
}

h1 {
    font-size: 40px !important;
}

p {
    font-size: 16px !important;
}

.btn-cta {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 16px;
    padding: 14px 24px;
    border-radius: 100px;
    text-decoration: none;
    display: inline-block;
}

.btn-cta-white {
    background-color: var(--white);
    color: var(--black);
}

.bg-black2 {
    background-color: var(--black2);
}

.mw-850 {
    max-width: 850px;
}

.mw-750 {
    max-width: 750px;
}

.rounded-30 {
    border-radius: 30px;
}

.py-6 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

.pt-6 {
    padding-top: 5rem !imortant;
}

.pb-6 {
    padding-bottom: 5rem !important;
}

.py-10 {
    padding-top: 10rem !important;
    padding-bottom: 10rem !important;
}

.pt-10 {
    padding-top: 10rem !important;
}

.pb-10 {
    padding-bottom: 10rem !important;
}

/* ********** NAVIGATION ********** */

header {
    background-color: var(--black) !important;
}

.navbar-brand img {
    height: 50px;
    width: auto;
}

ul#bootscore-navbar a {
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    margin-left: 40px;
}

.nav-logo {
	display: none !important;
}

.nav-cta a {
	font-family: "Inter", sans-serif;
    font-weight: 400 !important;
    font-size: 16px !important;
    text-decoration: underline !important;
    display: inline-block !important;
    color: var(--white) !important;
}

.header-actions.d-flex.align-items-center {
	display: none !important;
}

.woocommerce-mini-cart-item .item-image,
.wc-block-components-order-summary-item__image,
.quantity {
	display: none !important;
}

/* ADD TO CART POPUP */

.offcanvas,
.woocommerce-mini-cart-item,
.cart-footer.bg-body-tertiary {
	background-color: var(--black) !important;
	color: var(--white) !important;
}

.woocommerce-mini-cart__buttons.buttons a.btn.btn-primary {
	background-color: var(--white) !important;
    color: var(--black) !important;
}

.toast-container.position-static.w-100.bg-body-tertiary.overflow-hidden.px-3.py-0 {
	background-color: var(--black) !important;
}

/* ********** HOME ********** */

.hero {
    background-color: var(--black);
}

.hero .container {
    background-size: cover;
    border-radius: 30px;
    padding: 5%;
    background-position: 50% 100%;
    height: 55vh;
}

/* How It Works */

/* ===== How it Works (Section) ===== */

.how-it-works {
    padding-top: 48px;
    padding-bottom: 48px;
}


/* ===== Card Base ===== */

.hiw-card {
    position: relative;
    display: block;

    /* Size */
    height: 220px;

    /* Visual */
    background-color: #0E0F11;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 22px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);

    overflow: hidden;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.hiw-card:hover,
.hiw-card:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.45);
    border-color: rgba(255, 255, 255, 0.10);
}


/* ===== Background Image Mode (optional) ===== */

.hiw-card--image {
    background-size: cover;
    background-position: center;
}

.hiw-card--image .hiw-card__overlay {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.50) 100%);
    pointer-events: none;
}

.hiw-card--plain .hiw-card__overlay {
    display: none;
}


/* ===== Card Inner ===== */

.hiw-card__inner {
    position: relative;
    z-index: 2;
    color: #FFFFFF;

    padding: 24px;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* move content to bottom */
}


/* ===== Number Badge (top-left) ===== */

.hiw-card__number {
    position: absolute;
    top: 16px;
    left: 16px;

    width: 50px;
    height: 50px;
    line-height: 45px;

    border-radius: 999px;
    background-color: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.18);

    color: #FFFFFF;
    font-weight: 700;
    font-size: 20px;
    text-align: center;
    backdrop-filter: blur(2px);

    transition: background-color 160ms ease, border-color 160ms ease;
}

.hiw-card:hover .hiw-card__number,
.hiw-card:focus-within .hiw-card__number {
    background-color: rgba(0, 0, 0, 0.50);
    border-color: rgba(255, 255, 255, 0.24);
}


/* ===== Title & Description ===== */

.hiw-card__title {
    color: #FFFFFF;
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 0.02em;
    margin-bottom: 8px;
    width: 90%;
    text-transform: none;
}

p.hiw-card__desc {
    color: #CFCFCF;
    font-size: 15px !important;
    line-height: 1.55;
    margin-bottom: 0;
}


/* ===== Footnote ===== */

.footnote {
    color: #8F8F8F;
}


/* ===== Small Tweaks for Narrow Screens ===== */

@media (max-width: 575.98px) {
    .hiw-card {
        min-height: 200px;
    }

    .hiw-card__title {
        font-size: 17px;
        width: 95%;
    }

    p.hiw-card__desc {
        font-size: 14px !important;
    }

    .hiw-card__number {
        top: 12px;
        left: 12px;
        width: 32px;
        height: 32px;
        line-height: 32px;
        font-size: 14px;
    }
}

/* Home Row Three */

/* .home-row-three .container {
	height: 680px;
} */

.bullet-icon {
    position: relative;
    top: -5px;
}

span.bullet-text {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 18px;
}

/* ===== Logos Ticker (MagicScroll) ===== */

.row-magicscroll {
    padding-bottom: 3rem;
}

.row-magicscroll-top {
    padding: 3rem 3rem 0 3rem;
}

.fld-logos-ticker {
    --fld-logo-w: 180px;
    --fld-logo-h: 90px;
    --fld-gap: 28px;
}

.fld-logos-ticker .fld-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--fld-logo-w);
    height: var(--fld-logo-h);
    margin-right: var(--fld-gap);
    border-radius: 12px;
    background: transparent;
    text-decoration: none;
}

.fld-logos-ticker img {
    max-width: 80%;
    max-height: 70%;
    object-fit: contain;
    display: block;
    opacity: 0.95;
    transition: transform 160ms ease, opacity 160ms ease;
}

.fld-logos-ticker .fld-logo:hover img {
    transform: scale(1.03);
    opacity: 1;
}

@media (max-width: 575.98px) {
    .fld-logos-ticker {
        --fld-logo-w: 140px;
        --fld-logo-h: 72px;
        --fld-gap: 20px;
    }
}



/* MagicScroll expects UL/LI; keep our sizing helpers */
.fld-logos-ticker {
    --fld-logo-w: 180px;
    --fld-logo-h: 90px;
    --fld-gap: 28px;
}

.fld-logos-ticker li {
    list-style: none;
    margin-right: var(--fld-gap);
}

.fld-logos-ticker .fld-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--fld-logo-w);
	width: auto;
    height: var(--fld-logo-h);
    border-radius: 12px;
    text-decoration: none;
}

.fld-logos-ticker img {
    max-width: 80%;
    max-height: 70%;
    object-fit: contain;
    display: block;
    opacity: .95;
    transition: transform .16s ease, opacity .16s ease;
}

.fld-logos-ticker .fld-logo:hover img {
    transform: scale(1.03);
    opacity: 1;
}

@media (max-width: 575.98px) {
    .fld-logos-ticker {
        --fld-logo-w: 140px;
        --fld-logo-h: 72px;
        --fld-gap: 20px;
    }
}


/* Minimal shim so overflow scroll works even if vendor CSS is missing */
.MagicScroll {
    display: block;
    white-space: nowrap;
    overflow: hidden;
}

.MagicScroll > li {
    display: inline-block;
}

/* Home Row Four - Form */

.home-row-four .container {
    max-width: 750px !important;
    background-color: #0F0F0F;
    border-radius: 30px;
}

.gform_wrapper.gravity-theme .ginput_complex input,
.gform_wrapper.gravity-theme .ginput_complex select,
.gform_wrapper.gravity-theme .gfield input.large,
.gform_wrapper.gravity-theme .gfield select.large,
.gform_wrapper.gravity-theme .gfield textarea {
    background-color: #0F0F0F !important;
    border: none !important;
    border-radius: 0 !important;
    border-bottom: 1px solid #fff !important;
    color: var(--white) !important;
}

p.gform_required_legend {
    display: none;
}

.gform_button {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 16px;
    padding: 14px 24px;
    border-radius: 100px;
    text-decoration: none;
    display: inline-block;
    width: 100%;
}

/* Let MagicScroll items shrink to fit image size */
.MagicScroll .mcs-item,
.MagicScroll li {
    display: inline-block !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 5px
}

.MagicScroll img {
    display: inline-block;
    height: 60px;
    /* or whatever uniform height you want */
    width: auto;
    object-fit: contain;
}

.mcs-item img {
	height: 40px !important;
}

/* ********** MEMBER BENEFITS ********** */

.hero-member-benefits {
    padding-top: 50px;
}

/* Card shell */
.benefit-card {
    background-color: #0E0F11;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Logo area */
.benefit-card__logo {
    height: 88px;
    /* adjust as needed (72–100px works well) */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* left align */
}

.benefit-card__logo img {
    max-height: 40px;
    /* a bit less than container */
    width: auto;
    object-fit: contain;
    display: block;
}

.benefit-card__logo--placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 10px;
    font-size: 12px;
    color: #9aa0a6;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 8px;
}

/* Body */
.benefit-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.benefit-card__business {
    color: #CFCFCF;
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.benefit-card__title {
    color: #FFFFFF;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: .02em;
    margin: 0;
    /* tighten spacing */
}

.benefit-card__desc {
    color: #CFCFCF;
    font-size: 15px !important;
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* clamp to ~3 lines for balanced cards */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* CTA pinned to bottom via mt-auto on wrapper */
.benefit-card__cta .btn {
    border-radius: 10px;
}

/* Subtle hover affordance */
.benefit-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

#mb-nationwide h2
#mb-local h2 {
	font-size: 22px !important;
}

#member-benefits-filter-form {
	position: sticky;
    top: 65px;
    background-color: var(--black);
	padding-bottom: 20px;
}

#member-benefits-filter-form input,
#member-benefits-filter-form select {
    background-color: var(--black) !important;
	font-size: 15px !important;
	color: var(--white) !important;
	border: none;
	border-bottom: 1px solid var(--white);
	border-radius: 0;
}

/* Placeholder color for search and select in member benefits filter */
#member-benefits-filter-form input::placeholder,
#member-benefits-filter-form select::placeholder {
  color: #757575 !important;
  opacity: 1; /* Ensure consistent appearance across browsers */
}

/* For browsers that use special pseudo-elements */
#member-benefits-filter-form input::-webkit-input-placeholder,
#member-benefits-filter-form select::-webkit-input-placeholder {
  color: #757575 !important;
}

#member-benefits-filter-form input::-moz-placeholder,
#member-benefits-filter-form select::-moz-placeholder {
  color: #757575 !important;
}

#member-benefits-filter-form input:-ms-input-placeholder,
#member-benefits-filter-form select:-ms-input-placeholder {
  color: #757575 !important;
}

#member-benefits-filter-form input::-ms-input-placeholder,
#member-benefits-filter-form select::-ms-input-placeholder {
  color: #757575 !important;
}

/* Hide GF honeypot field */
.gform_wrapper .gform_validation_container {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
}

.modal-body {
	padding-top: 0 !important;
}

.modal-content {
	border: 1px solid #545454 !important;
}

.modal-title {
	font-size: 16px;
}

.gform_title {
	display: none;
}

.gform-footer.gform_footer.top_label {
	padding-bottom: 0 !important;
}

.gform_button {
	margin-bottom: 0 !important;
}

/* Responsive tuning */
@media (max-width:575.98px) {
    .benefit-card {
        padding: 20px;
    }

    .benefit-card__logo {
        height: 72px;
    }

    .benefit-card__logo img {
        max-height: 40px;
    }
}

/* ********** CART/CHECKOUT ********** */

.woocommerce-cart,
.woocommerce-checkout,
.woocommerce-cart .entry-content a,
.woocommerce-checkout .entry-content a {
	color: var(--white)	!important;
}

.wc-block-components-order-summary-item__description {
	padding-left: 0 !important;
}

button.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained {
	background-color: var(--white);
    color: var(--black) !important;
}

.wc-block-components-text-input.is-active input {
	padding: 1.5em .5em .5em !important;
}

.wc-block-components-text-input label {
    top: 0 !important;
    transform: translateY(4px) scale(.75) !important;
}

.wc-block-components-text-input input {
    padding: 1.5em .5em .5em !important;
}

/* ********** MEDIA QUERIES ********** */

@media (max-width: 1199px) {

	.container {
		max-width: 90% !important;
	}
	
}

@media (max-width: 991px) {
	
	/* ***** GENERAL ***** */
	h1 {
		font-size: 30px !important;
	}
	
	p {
		font-size: 15px !important;
	}
	
	/* ***** NAVIGATION ***** */
	.header-actions.d-flex.align-items-center {
		display: none !important;
	}
	
}

@media (max-width: 767px) {
	
	/* ***** GENERAL ***** */
	h1 {
		font-size: 24px !important;
	}
	
	.py-6 {
		padding-top: 2.5rem !important;
		padding-bottom: 2.5rem !important;
	}
	
	.pt-6 {
		padding-top: 2.5rem !important;
	}
	
	.pb-6 {
		padding-bottom: 2.5rem !important;
	}
	
	.py-10 {
		padding-top: 5rem !important;
		padding-bottom: 5rem !important;
	}
	
	.pt-10 {
		padding-top: 5rem !important;
	}
	
	.pb-10 {
		padding-top: 5rem !important;
	}
	
	/* ***** NAVIGATION ***** */
	.header-actions.d-flex.align-items-center {
		display: block !important;
	}
	
	.offcanvas {
		background-color: var(--black2) !important;
	}
	
	.offcanvas .span.h5.offcanvas-title {
		display: none !important;
	}
	
	.offcanvas-header {
		padding: 30px 0 0 0 !important;
	}
	
	.offcanvas-header .btn-close {
		top: 50px;
		right: 20px;
		position: absolute;
		filter: invert(1) !important;
	}

	.nav-toggler img {
	  filter: brightness(0) invert(1);
	}
	
	button.btn.btn-outline-secondary {
		border: none;
	}

	.nav-logo {
		display: block !important;
	}
	
	.nav-logo img {
		height: 75px;
    	margin-bottom: 25px;
	}
	
	.offcanvas ul#bootscore-navbar a {
		margin-left: 10px !important;
	}
	
	.offcanvas-body {
		padding-top: 0 !important;
	}
	
	/* ***** HOME ***** */
	.hero .container,
	.home-row-three .container {
		max-width: 90% !important;
	}
	
	.row.row-magicscroll-top.align-items-center.h-100 {
		padding: 1rem 20px 20px 20px;
	}
	
	.hiw-card {
		height: initial !important;
		min-height: initial !important;
	}
	
	.hiw-card.hiw-card--plain,
	.hiw-card.hiw-card--plain {
		position: initial;
	}
	
	.hiw-card__number {
		position: relative;
		top: 0;
		left: -5px;
	}
	
	h3.hiw-card__title.mb-2 {
		margin-top: 15px;
	}
	
	
}














