/* ==============================
   Branch to Box – Woo brand skin
   ============================== */
:root {
  --btb-primary: #a6ac00;
  --btb-secondary: #f28c28;
  --btb-text: #333333;
  --btb-accent: #4ba3c3;
  --btb-bg: #faf9f6;

  --btb-font-heading: "Londrina Solid", Sans-serif;
  --btb-font-secondary: "Montserrat", Arial, Helvetica, sans-serif;
  --btb-font-body:
    "Lato", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial,
    sans-serif;
  --btb-font-accent: "Permanent Marker", cursive;

  /* Helpful derived colors */
  --btb-primary-dark: #839000; /* accessible hover */
  --btb-secondary-dark: #d97712; /* deeper orange */
  --btb-muted: #e9ecef;
  --btb-border: #d6d6d6;
}

/* Base Woo typography alignment */
.woocommerce,
.woocommerce-page {
  color: var(--btb-text);
  font-family: var(--btb-font-body);
}
.woocommerce h1,
.woocommerce h2,
.woocommerce h3,
.woocommerce h4,
.woocommerce h5,
.woocommerce h6 {
  font-family: var(--btb-font-heading);
  font-weight: 700;
  color: var(--btb-primary);
}

/* 2) Base body */
html {
  font-size: 100%;
} /* 16px baseline */
body {
  background: var(--btb-bg);
  color: var(--btb-text);
  font-family: var(--btb-font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: rgb(253 126 13);
  text-decoration: none;
}

/* 3) Global heading styles (semantic + Elementor compatibility) */
h1,
h2,
h3,
h4,
h5,
h6,
.elementor h1,
.elementor h2,
.elementor h3,
.elementor h4,
.elementor h5,
.elementor h6,
.elementor-widget-heading h1.elementor-heading-title,
.elementor-widget-heading h2.elementor-heading-title,
.elementor-widget-heading h3.elementor-heading-title,
.elementor-widget-heading h4.elementor-heading-title,
.elementor-widget-heading h5.elementor-heading-title,
.elementor-widget-heading h6.elementor-heading-title {
  margin-top: 0;
  margin-bottom: 0.5rem;
  line-height: 1.1;
  letter-spacing: 0; /* Londrina has chunky forms; keep tracking normal */
  color: var(--btb-primary);
  font-family: var(--btb-font-heading);
  font-weight: 700;
}

/* 4) Visually appealing scale (fluid for small screens) 
   H1 target ≈ 73px = 4.5625rem
   The clamp() mins are tuned for mobile; maxes match desktop targets.
*/
h1,
.elementor h1,
.elementor-widget-heading h1.elementor-heading-title {
  font-size: clamp(2.5rem, 1.2rem + 4vw, 4.5625rem); /* ~40px → 73px */
}

h2,
.elementor h2,
.elementor-widget-heading h2.elementor-heading-title {
  font-size: clamp(2rem, 1rem + 2.8vw, 3.25rem); /* ~32px → 52px */
}

h3,
.elementor h3,
.elementor-widget-heading h3.elementor-heading-title {
  font-size: clamp(1.625rem, 0.9rem + 1.8vw, 2.25rem); /* ~26px → 36px */
}

h4,
.elementor h4,
.elementor-widget-heading h4.elementor-heading-title {
  font-size: clamp(1.375rem, 0.85rem + 1.2vw, 1.75rem); /* ~22px → 28px */
}

h5,
.elementor h5,
.elementor-widget-heading h5.elementor-heading-title {
  font-size: clamp(1.125rem, 0.8rem + 0.6vw, 1.375rem); /* ~18px → 22px */
}

h6,
.elementor h6,
.elementor-widget-heading h6.elementor-heading-title {
  font-size: 1.125rem; /* 18px */
  font-weight: 700;
}

/* 5) Helpful utilities that match your brand */
.lead {
  font-family: var(--btb-font-secondary);
  font-weight: 400;
  font-size: clamp(1.125rem, 1rem + 0.4vw, 1.375rem); /* ~18px → 22px */
  line-height: 1.6;
}

.font-secondary {
  font-family: var(--btb-font-secondary);
}
.font-body {
  font-family: var(--btb-font-body);
}
.font-accent {
  font-family: var(--btb-font-accent);
}

/* Optional: accent text/links util */
.text-accent {
  color: var(--btb-accent) !important;
}

/* Ensure Elementor “theme style” doesn’t override brand headings */
.elementor-kit h1,
.elementor-kit h2,
.elementor-kit h3,
.elementor-kit h4,
.elementor-kit h5,
.elementor-kit h6 {
  color: var(--btb-primary) !important;
  font-family: var(--btb-font-heading) !important;
  font-weight: 700 !important;
}

/* ------------------------------
   Buttons (add to cart, checkout)
   ------------------------------ */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .wc-block-components-button,
.woocommerce .wc-block-cart__submit-button,
.woocommerce
  .wc-block-checkout__actions
  .wc-block-components-checkout-place-order-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--btb-primary);
  color: #fff;
  border: 0;
  border-radius: 0.5rem;
  padding: 0.65rem 1.1rem;
  font-weight: 700;
  font-family: var(--btb-font-secondary);
  text-transform: none;
  letter-spacing: 0.2px;
  line-height: 1.2;
  transition:
    background-color 0.15s ease,
    transform 0.05s ease,
    box-shadow 0.15s ease;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce .wc-block-components-button:hover {
  background-color: var(--btb-primary-dark);
  color: #fff;
}
.woocommerce a.button:active,
.woocommerce button.button:active,
.woocommerce input.button:active,
.woocommerce #respond input#submit:active {
  transform: translateY(1px);
}
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background-color: var(--btb-secondary);
}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
  background-color: var(--btb-secondary-dark);
}

/* Subtle ghost style (use class="button outline") */
.woocommerce a.button.outline,
.woocommerce button.button.outline {
  background: transparent;
  color: var(--btb-primary);
  border: 2px solid var(--btb-primary);
}
.woocommerce a.button.outline:hover,
.woocommerce button.button.outline:hover {
  background: var(--btb-primary);
  color: #fff;
}

/* Add to cart link after ajax */
.woocommerce a.added_to_cart {
  font-family: var(--btb-font-secondary);
  color: var(--btb-accent);
  margin-left: 0.5rem;
  text-decoration: underline;
}

/* Focus ring (A11y) */
.woocommerce a.button:focus,
.woocommerce button.button:focus,
.woocommerce input.button:focus,
.woocommerce #respond input#submit:focus {
  outline: 0;
  box-shadow: 0 0 0 0.22rem rgba(166, 172, 0, 0.35);
}

/* ------------------------------
   Product cards / badges / price
   ------------------------------ */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: #fff;
  border: 1px solid var(--btb-border);
  border-radius: 0.75rem;
  padding: 1rem;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--btb-font-secondary);
  font-weight: 700;
  color: var(--btb-text);
}

/* Price styles */
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce ul.products li.product .price {
  color: var(--btb-primary);
  font-weight: 700;
  font-family: var(--btb-font-secondary);
}
.woocommerce del {
  color: #7a7a7a;
}
.woocommerce ins {
  text-decoration: none;
}

/* Sale flash */
.woocommerce span.onsale {
  background: var(--btb-secondary);
  color: #fff;
  font-family: var(--btb-font-secondary);
  font-weight: 700;
  border-radius: 999px;
  min-width: 3rem;
  min-height: 3rem;
  line-height: 3rem;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.08);
}

/* Ratings */
.woocommerce .star-rating span,
.woocommerce .woocommerce-product-rating .star-rating {
  color: var(--btb-accent);
}

/* ------------------------------
   Forms / quantity / selects
   ------------------------------ */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .quantity .qty {
  font-family: var(--btb-font-body);
  border: 1px solid var(--btb-border);
  border-radius: 0.5rem;
  background: #fff;
  padding: 0.6rem 0.75rem;
  color: var(--btb-text);
}
.woocommerce form .form-row input:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus,
.woocommerce .quantity .qty:focus {
  border-color: var(--btb-primary);
  box-shadow: 0 0 0 0.2rem rgba(166, 172, 0, 0.2);
  outline: 0;
}

/* Quantity buttons (if theme adds .qty-btn) */
.qty-btn {
  background: var(--btb-muted);
  border: 1px solid var(--btb-border);
  color: var(--btb-text);
}
.qty-btn:hover {
  background: #ddd;
}

/* ------------------------------
   Cart / notices / messages
   ------------------------------ */
.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
  border: 0;
  border-left: 0.35rem solid var(--btb-primary);
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  font-family: var(--btb-font-body);
}
.woocommerce-error {
  border-left-color: #dc3545;
}
.woocommerce-info {
  border-left-color: var(--btb-accent);
}
.woocommerce-message {
  border-left-color: var(--btb-primary);
}

/* Mini-cart buttons */
.woocommerce-mini-cart__buttons a.button.checkout {
  background: var(--btb-secondary);
}
.woocommerce-mini-cart__buttons a.button.checkout:hover {
  background: var(--btb-secondary-dark);
}

/* ------------------------------
   Pagination
   ------------------------------ */
.woocommerce nav.woocommerce-pagination ul {
  border: 0;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  font-family: var(--btb-font-secondary);
  border: 1px solid var(--btb-border);
  color: var(--btb-text);
}
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover {
  background: var(--btb-primary);
  color: #fff;
  border-color: var(--btb-primary);
}

/* ------------------------------
   Accent headline / flair (optional)
   ------------------------------ */
.btb-accent-hand {
  font-family: var(--btb-font-accent);
  color: var(--btb-secondary);
  font-weight: 500;
}

li#tab-title-description {
  display: none;
}

div#tab-description h2:first-child {
  display: none;
}

button.single_add_to_cart_button.button.alt.disabled.wc-variation-selection-needed {
  background-color: #3d3d3d;
}

table.variations > tbody > tr:first-of-type {
  display: none;
}

div#zipcode_validation.success {
  background: #a6ac0229;
  border-radius: 0.5rem;
}

div#zipcode_validation.fail {
  background: #ac1a0229;
  border-radius: 0.5rem;
}

button.btn.btn-primary.w-100 {
  background: #fa9336;
  border-color: #eb882e;
}

table.variations {
  opacity: 0.3;
  height: 0px;
  cursor: not-allowed;
  pointer-events: none;
}

table.variations tr:hover td {
  cursor: not-allowed;
}

table.variations.active {
  opacity: 1;
  cursor: initial;
  pointer-events: initial;
}

label[for="shipping-schedule"],
select#shipping-schedule {
  display: none;
}

ul.wc-item-meta li:first-child {
  display: none;
}

/*<li><strong class="wc-item-meta-label">Schedule::</strong> schedule_2</li>*/

dt.variation-ShippingSchedule,
dd.variation-ShippingSchedule {
  display: none !important;
}

#top.woocommerce-cart td.product-name dl.variation dt {
  display: none;
}

#top.woocommerce-checkout td.product-name dl.variation dt {
  display: none;
}

a.woocommerce-LoopProduct-link.woocommerce-loop-product__link {
  text-align: center;
}
a.button.product_type_variable-subscription.add_to_cart_button {
  text-align: center;
}
.woocommerce ul.products li.product .button {
  display: inline-block;
  margin-top: 1em;
  margin: 0 auto;
  display: block;
}

ul.products.product-grid.row.row-cols-1.row-cols-md-2.row-cols-lg-4.g-4.justify-content-center.list-unstyled {
  max-width: 1200px;
  margin: auto;
}
