/* Global public shell for theme-managed pages. The front page keeps its
 * dedicated template; these rules align every subsequent WordPress route. */

body.bbl-site-shell {
  margin: 0;
  background: var(--bbl-paper);
  color: var(--bbl-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

.bbl-site-shell *,
.bbl-site-shell *::before,
.bbl-site-shell *::after { box-sizing: border-box; }

.bbl-site-shell img { max-width: 100%; height: auto; }
.bbl-site-shell a { transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease; }
.bbl-site-shell a:focus-visible,
.bbl-site-shell button:focus-visible,
.bbl-site-shell input:focus-visible,
.bbl-site-shell select:focus-visible,
.bbl-site-shell textarea:focus-visible { outline: 3px solid var(--bbl-cyan); outline-offset: 3px; }

/* Replace only the theme chrome. Page, product, cart, form, and checkout
 * content remain owned by WordPress and WooCommerce. */
.bbl-site-shell #masthead.site-header,
.bbl-site-shell #colophon.site-footer,
.bbl-site-shell .woocommerce-store-notice { display: none !important; }

.bbl-site-shell .bbl-notice,
.bbl-site-shell .bbl-header,
.bbl-site-shell .bbl-footer { width: 100%; }

.bbl-site-shell .bbl-header a,
.bbl-site-shell .bbl-footer a,
.bbl-site-shell .bbl-notice a { text-decoration: none; }

.bbl-site-shell .bbl-header { box-shadow: 0 14px 34px rgba(8, 12, 33, .12); }

.bbl-site-shell .site-content-contain { background: var(--bbl-paper); }
.bbl-site-shell #content.site-content { padding: clamp(52px, 6.4vw, 86px) 0 clamp(78px, 8vw, 118px); }
.bbl-site-shell #content.site-content > .inner-wrap {
  width: var(--bbl-wrap);
  max-width: none;
  margin-inline: auto;
  padding: 0;
}

.bbl-site-shell #primary,
.bbl-site-shell #main.site-main,
.bbl-site-shell article.page,
.bbl-site-shell .entry-content { width: 100%; max-width: none; margin-inline: auto; }

.bbl-site-shell .entry-header { margin: 0 0 34px; padding: 0; background: transparent; text-align: left; }
.bbl-site-shell .entry-header .inner-wrap { width: 100%; max-width: none; padding: 0; }
.bbl-site-shell .entry-title,
.bbl-site-shell .page-title,
.bbl-site-shell .woocommerce-products-header__title,
.bbl-site-shell .product_title {
  margin: 0 0 28px;
  color: var(--bbl-midnight);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5.2vw, 72px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.035em;
}

.bbl-site-shell .single-product .product_title,
.bbl-site-shell.single-product .product_title { font-size: clamp(38px, 4.2vw, 62px); }

.bbl-site-shell h2,
.bbl-site-shell h3,
.bbl-site-shell h4 { color: var(--bbl-midnight); font-family: Georgia, "Times New Roman", serif; line-height: 1.16; }
.bbl-site-shell h2 { font-size: clamp(31px, 3.4vw, 48px); font-weight: 500; }
.bbl-site-shell h3 { font-size: clamp(23px, 2.3vw, 32px); font-weight: 500; }
.bbl-site-shell p,
.bbl-site-shell li { color: #4b5265; }
.bbl-site-shell .entry-content > p,
.bbl-site-shell .entry-content > ul,
.bbl-site-shell .entry-content > ol { max-width: 820px; }

.bbl-site-shell .woocommerce-breadcrumb {
  margin: 0 0 24px;
  color: #657087;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.bbl-site-shell .woocommerce-breadcrumb a { color: var(--bbl-sea); }

/* Commerce surfaces */
.bbl-site-shell .woocommerce-result-count,
.bbl-site-shell .woocommerce-ordering { margin-bottom: 28px; }
.bbl-site-shell .woocommerce-ordering select,
.bbl-site-shell select,
.bbl-site-shell input[type="text"],
.bbl-site-shell input[type="email"],
.bbl-site-shell input[type="tel"],
.bbl-site-shell input[type="number"],
.bbl-site-shell textarea {
  min-height: 48px;
  border: 1px solid #c9c8c0;
  border-radius: 0;
  background: var(--bbl-white);
  color: var(--bbl-midnight);
  padding: 10px 13px;
}

.bbl-site-shell ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 26px; clear: both; }
.bbl-site-shell ul.products::before,
.bbl-site-shell ul.products::after { display: none; }
.bbl-site-shell ul.products li.product {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 0 22px;
  background: var(--bbl-white);
  border-bottom: 2px solid var(--bbl-gold);
  box-shadow: 0 14px 34px rgba(8, 12, 33, .07);
}
.bbl-site-shell ul.products li.product > a:not(.button) { display: block; text-decoration: none; }
.bbl-site-shell ul.products li.product img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; margin: 0 0 18px; }
.bbl-site-shell ul.products li.product .woocommerce-loop-product__title {
  min-height: 3.5em;
  margin: 0;
  padding: 0 18px;
  color: var(--bbl-midnight);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.25;
}
.bbl-site-shell ul.products li.product .price { display: block; padding: 10px 18px 0; color: var(--bbl-sea); font-weight: 780; }
.bbl-site-shell ul.products li.product .button { margin: 16px 18px 0; }

.bbl-site-shell .button,
.bbl-site-shell button.button,
.bbl-site-shell input.button,
.bbl-site-shell .wp-element-button,
.bbl-site-shell .wc-block-components-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--bbl-gold) !important;
  border-radius: 0 !important;
  background: var(--bbl-gold) !important;
  color: var(--bbl-midnight) !important;
  padding: 11px 20px !important;
  font-size: 11px !important;
  font-weight: 820 !important;
  letter-spacing: .07em;
  line-height: 1.2 !important;
  text-transform: uppercase;
  text-decoration: none !important;
}
.bbl-site-shell .button:hover,
.bbl-site-shell button.button:hover,
.bbl-site-shell .wp-element-button:hover,
.bbl-site-shell .wc-block-components-button:hover { background: var(--bbl-gold-light) !important; transform: translateY(-1px); }

.bbl-site-shell div.product { padding-top: 8px; }
.bbl-site-shell div.product .woocommerce-product-gallery,
.bbl-site-shell div.product .summary { margin-bottom: 64px; }
.bbl-site-shell div.product .summary .price { color: var(--bbl-sea); font-size: 23px; font-weight: 780; }
.bbl-site-shell .woocommerce-product-details__short-description {
  margin: 24px 0;
  padding: 18px 20px;
  border-left: 3px solid var(--bbl-gold);
  background: var(--bbl-white);
}
.bbl-site-shell .woocommerce-tabs { clear: both; padding-top: 28px; }
.bbl-site-shell .woocommerce-tabs ul.tabs { border-bottom: 1px solid #d7d3c7; }
.bbl-site-shell .be-belize-reviewed-product-copy { max-width: 820px; }
.bbl-site-shell .be-belize-reviewed-product-copy ul { margin: 22px 0 30px; padding: 22px 22px 22px 42px; background: var(--bbl-white); }

.bbl-site-shell .woocommerce-message,
.bbl-site-shell .woocommerce-info,
.bbl-site-shell .woocommerce-error {
  border-top-color: var(--bbl-gold);
  background: var(--bbl-white);
  color: var(--bbl-midnight);
}

.bbl-site-shell table.shop_table,
.bbl-site-shell .wc-block-cart,
.bbl-site-shell .wc-block-checkout { background: var(--bbl-white); }
.bbl-site-shell table.shop_table { border-radius: 0; }

@media (max-width: 1040px) {
  .bbl-site-shell ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .bbl-site-shell #content.site-content { padding-block: 44px 72px; }
  .bbl-site-shell .entry-title,
  .bbl-site-shell .page-title,
  .bbl-site-shell .woocommerce-products-header__title,
  .bbl-site-shell .product_title { font-size: clamp(38px, 11vw, 54px); }
  .bbl-site-shell ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .bbl-site-shell ul.products li.product .woocommerce-loop-product__title { min-height: 0; padding-inline: 12px; font-size: 16px; }
  .bbl-site-shell ul.products li.product .price { padding-inline: 12px; font-size: 13px; }
  .bbl-site-shell ul.products li.product .button { width: calc(100% - 24px); margin-inline: 12px; padding-inline: 8px !important; }
  .bbl-site-shell div.product .woocommerce-product-gallery,
  .bbl-site-shell div.product .summary { width: 100% !important; float: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .bbl-site-shell *,
  .bbl-site-shell *::before,
  .bbl-site-shell *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
