/* ==========================================================================
   Beast Design System: cross-page polish layer (2026-11-26)
   Loads last (after design-system.css, pages.css, product-details.css).
   Purpose: one gutter, one container, one button size, one heading scale
   across every page type and width. Remove this file to roll back.
   ========================================================================== */

/* 1. One container: 1220px content + 15px gutters (matches header/Flatsome) */
.bnds .bnp-wrap { max-width: 1250px; padding-left: 15px; padding-right: 15px; }
/* Full-bleed bands on the PHP pages used 100vw, which includes the desktop
   scrollbar and pushed every band ~8px left on Windows. Their parent is
   already full width, so plain auto width does the same job without the shift. */
.bnds .bnp > .bnp-hero,
.bnds .bnp > .bnp-sec,
.bnds .bnp > .bnp-cta { width: auto; margin-left: 0; margin-right: 0; }

/* 2. Homepage hero grid: keep the 15px gutter between 550px and 1249px
      (it ran edge to edge at tablet/small-laptop widths) */
@media (min-width: 550px) and (max-width: 1249px) {
	.bnds .bn-home-hero .bn-hero-grid { padding-left: 15px !important; padding-right: 15px !important; box-sizing: border-box; }
	.bnds .bn-home-hero .bn-hero-grid > .col { padding-left: 0; padding-right: 0; }
	.bnds .bn-home-hero .bn-hero-grid .row.row-collapse { margin-left: 0; margin-right: 0; width: auto; max-width: 100%; }
}

/* 3. Quick-add buttons on product cards: same size on every listing */
.bnds .product-small .bnqa-btn { min-height: 40px !important; font-size: 13px; line-height: 1.15; width: 100% !important; max-width: none; box-sizing: border-box; justify-content: center; }

/* 4. Cart / checkout step bar: align with the content container */
.bnds .checkout-page-title .page-title-inner { max-width: 1250px; margin-left: auto; margin-right: auto; padding-left: 15px; padding-right: 15px; box-sizing: border-box; }
.bnds .checkout-page-title nav.checkout-breadcrumbs { width: 100%; box-sizing: border-box; }

/* 5. Blog post: breadcrumb lines up with the title and body column */
.bn-blog .blog-single .is-xlarge { max-width: 700px; }
@media (min-width: 1200px) {
	.bn-has-toc .blog-single .is-xlarge { margin-left: max(0px, calc(50% - 540px)); margin-right: auto; }
}
.bnds .blog-single .rank-math-breadcrumb { font-size: 13px; }
.bnds .blog-single .entry-content h4 { font-size: 18px; line-height: 1.35; }

/* 6. Section headings on the PHP landing pages (about, deals, brands...):
      bring 36px down so they sit closer to the 22px shop section titles */
@media (min-width: 850px) {
	.bnds .bnp h2 { font-size: 30px; }
}

/* 7. Policy pages: the first line of the policy text is an <h1> in the
      content; style it as a lead paragraph, not a second giant heading */
.bnds .bnp-prose h1 { font-size: 18px; line-height: 1.5; font-weight: 600; letter-spacing: -0.005em; margin: 24px 0 16px; }

/* 8. Product page: tidy the SKU / category / brand meta block */
.bnds.single-product .product_meta { display: grid; gap: 6px; padding: 14px 16px; border: 1px solid #e5e7eb; border-radius: 12px; background: #fff; font-size: 13px; color: #6b7280; }
.bnds.single-product .product_meta > span { display: block; margin: 0; padding: 0; border: 0; }
.bnds.single-product .product_meta a { color: #1f2937; font-weight: 600; }

/* 9. Product page on tablets: stop the main image filling the whole screen */
@media (min-width: 550px) and (max-width: 849px) {
	.bnds.single-product .bn-gal-col .product-images,
	.bnds.single-product .bn-gal-col .product-thumbnails { max-width: 520px !important; margin-left: auto !important; margin-right: auto !important; }
}

/* 10. Google rating badge: keep it clear of the sticky add-to-cart bar */
/* Google sets bottom inline with !important, so lift it with a transform instead. */
#google-merchantwidget-iframe-wrapper { transition: transform .2s ease; }
body:has(.sticky-add-to-cart--active) #google-merchantwidget-iframe-wrapper { transform: translateY(-72px); }
body:has(.bn-pdp2-bar.is-on) #google-merchantwidget-iframe-wrapper { transform: translateY(-56px); }

/* 11. Search results title: same alignment and size as category titles */
.bnds.search h1.shop-page-title { text-align: left; font-size: 20px; }
.bnds.search .page-title-inner .flex-col.medium-text-center { text-align: left; }
@media (min-width: 850px) { .bnds.search h1.shop-page-title { font-size: 28px; } }

/* 12. Search fields inside page content (404, pages): match the site's input style
       instead of FiboSearch's 2px black pill */
.bnds #main .dgwt-wcas-search-input { border: 1px solid #d1d5db !important; border-radius: 12px !important; background: #fff; min-height: 48px; }
.bnds #main .dgwt-wcas-search-input:focus { border-color: #007a5e !important; box-shadow: 0 0 0 3px rgba(0, 122, 94, .15); outline: 0; }

/* 13. Blog archive: card grid used an 83% column, so it sat 90px inside the
       hero and topic chips above it; use the full container width */
.bnds .blog-archive .row.align-center > .large-10.col { flex-basis: 100%; max-width: 100%; }

/* 14. Slider arrows set to sit outside the slider were half cut off by the
       screen edge below 1280px; keep them just inside instead */
@media (max-width: 1279px) {
	.bnds .slider-nav-outside .flickity-prev-next-button.previous,
	.bnds .row-slider .flickity-prev-next-button.previous { left: 4px !important; }
	.bnds .slider-nav-outside .flickity-prev-next-button.next,
	.bnds .row-slider .flickity-prev-next-button.next { right: 4px !important; left: auto !important; }
}

/* 15. Blog archive infinite scroll (assets/blog-infinite.js) */
.bn-inf-hidden { display: none !important; }
.bn-inf { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 8px 0 32px; }
.bn-inf-spin { display: none; width: 28px; height: 28px; border: 3px solid #e5e7eb; border-top-color: #007a5e; border-radius: 50%; animation: bn-inf-spin .8s linear infinite; }
.bn-inf.is-loading .bn-inf-spin { display: block; }
.bn-inf-more { display: none; min-height: 44px; padding: 0 22px; border: 1px solid #007a5e; border-radius: 99px; background: #fff; color: #007a5e; font-size: 14px; font-weight: 600; cursor: pointer; }
.bn-inf-more:hover { background: #effaf5; }
.bn-inf.is-error .bn-inf-more { display: inline-flex; align-items: center; }
.bn-inf-end { display: none; margin: 0; font-size: 13px; color: #6b7280; }
.bn-inf.is-done .bn-inf-end { display: block; }
@keyframes bn-inf-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .bn-inf-spin { animation-duration: 2s; } }

/* 16. Flatsome rows dropped straight into the PHP pages (e.g. the deals-page banner
       block) kept their column padding without the row's negative margin, so banners
       sat ~10px inside the heading and trust tiles above them */
.bnds .bnp-wrap > .row.row-small { margin-left: -9.8px !important; margin-right: -9.8px !important; width: auto; max-width: none; }
.bnds .bnp-wrap > .row:not(.row-small):not(.row-collapse) { margin-left: -15px !important; margin-right: -15px !important; width: auto; max-width: none; }

/* 17. Footer toll-free wordmark (BN_Footer::tollfree) */
#footer.footer-wrapper { display: flex; flex-direction: column; }
#footer > .bn-foot-band { order: 1; }
#footer > .footer-widgets { order: 2; }
#footer > .bn-tollfree { order: 3; }
#footer > .absolute-footer { order: 4; }
.bn-tollfree { padding: 8px 0 28px; overflow: hidden; }
.bn-tollfree .container { position: relative; }
.bn-tf-link { position: relative; display: inline-flex; flex-direction: column; align-items: flex-start; max-width: 100%; text-decoration: none !important; }
.bn-tf-num {
	display: block; font-size: clamp(44px, 10.4vw, 150px); font-weight: 700; line-height: .95; letter-spacing: -.035em; white-space: nowrap;
	font-variant-numeric: tabular-nums;
	background: linear-gradient(180deg, rgba(52,195,143,.95) 0%, rgba(52,195,143,.55) 55%, rgba(52,195,143,.12) 100%);
	-webkit-background-clip: text; background-clip: text; color: transparent;
	transition: filter .2s ease;
}
.bn-tf-link:hover .bn-tf-num, .bn-tf-link:focus-visible .bn-tf-num { filter: brightness(1.25); }
.bn-tf-tag { font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-size: clamp(20px, 2.6vw, 36px); line-height: 1; color: #d4a24c; margin: 0 0 6px 4px; white-space: nowrap; }
.bn-tf-sub { margin: 10px 0 0 4px; font-size: 13px; color: rgba(255,255,255,.55); }
@media (min-width: 850px) {
	.bn-tf-link { flex-direction: row; align-items: flex-end; gap: 22px; }
	.bn-tf-tag { order: 2; margin: 0 0 .5em; }
}
