.bbu-storefront {
  --bbu-black: #090909;
  --bbu-panel: #151515;
  --bbu-control: #202020;
  --bbu-line: #3e3b34;
  --bbu-cream: #ede7d6;
  --bbu-white: #f7f5ef;
  --bbu-muted: #c4beb0;
  --bbu-heading: Anton, Impact, sans-serif;
  --bbu-body: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  --bbu-radius: 12px;
  --ast-global-color-2: var(--bbu-white);
  --ast-global-color-3: var(--bbu-muted);
  --ast-global-color-4: var(--bbu-black);
  --ast-global-color-5: var(--bbu-panel);
  background: var(--bbu-black);
  color: var(--bbu-white);
}

/* Target the page body. Elementor's header, footer and cart drawer own their styling. */
.bbu-storefront :is(#page, #content, #primary, main#main, [data-elementor-type="wp-page"]),
.bbu-storefront.error404 [data-elementor-type="single"] {
  background-color: var(--bbu-black) !important;
  color: var(--bbu-white);
  font-family: var(--bbu-body);
}

.bbu-storefront :is(.entry-content, main#main, [data-elementor-type="wp-page"]) :is(h1, h2, h3, h4, .elementor-heading-title) {
  color: var(--bbu-white) !important;
}

.bbu-storefront :is(main#main, [data-elementor-type="wp-page"]) :is(h1, h2, h3, .elementor-heading-title):not(.woocommerce-loop-product__title) {
  font-family: var(--bbu-heading) !important;
  font-weight: 400;
}

.bbu-storefront :is(main#main, [data-elementor-type="wp-page"]) :is(p, li, label, dd, dt, td, th, legend, .elementor-tab-content) {
  font-family: var(--bbu-body);
}

.bbu-storefront :is(main#main, [data-elementor-type="wp-page"]) :is(a:not(.button):not(.elementor-button):not(.bbu-button), .elementor-tab-title) {
  color: var(--bbu-cream);
}

.bbu-storefront :is(#content, [data-elementor-type="product"], [data-elementor-type="wp-page"]) :is(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--bbu-cream) !important;
  outline-offset: 3px;
}

.bbu-storefront :is(main#main, [data-elementor-type="wp-page"], [data-elementor-type="product"], .bbu-sampler-card) :is(.button, .wp-element-button, .elementor-button, .bbu-button, button[type="submit"], input[type="submit"]):not(.added_to_cart),
.bbu-storefront.error404 [data-elementor-type="single"] .elementor-button {
  --ast-btn-color: var(--bbu-black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  padding: .7rem 1.1rem;
  border: 1px solid transparent;
  border-radius: var(--bbu-radius) !important;
  background: var(--bbu-cream) !important;
  color: var(--bbu-black) !important;
  font-family: var(--bbu-body) !important;
  font-size: .84rem;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}

.bbu-storefront :is(main#main, [data-elementor-type="wp-page"], [data-elementor-type="product"]) :is(.button, .wp-element-button, .elementor-button, .bbu-button, button[type="submit"], input[type="submit"]):hover,
.bbu-storefront.error404 [data-elementor-type="single"] .elementor-button:hover {
  background: #fff9ec !important;
}

.bbu-storefront :is(main#main, [data-elementor-type="wp-page"], [data-elementor-type="product"]) :is(.button, .wp-element-button, .elementor-button, button[type="submit"], input[type="submit"]):disabled {
  cursor: not-allowed;
  opacity: .55;
}

.bbu-storefront :is(main#main, [data-elementor-type="wp-page"], [data-elementor-type="product"]) :is(input:not([type]), input:is([type="text"], [type="email"], [type="password"], [type="tel"], [type="number"], [type="search"], [type="url"]), textarea, select, .select2-selection--single) {
  min-height: 44px;
  border: 1px solid var(--bbu-line) !important;
  border-radius: 8px;
  background: var(--bbu-control) !important;
  color: var(--bbu-white) !important;
  font: inherit;
  color-scheme: dark;
}

.bbu-storefront :is(main#main, [data-elementor-type="wp-page"]) ::placeholder {
  color: var(--bbu-muted);
  opacity: 1;
}

.bbu-catalog [data-elementor-type="wp-page"] > .elementor-element,
.bbu-support [data-elementor-type="wp-page"] > .elementor-element,
.bbu-commerce [data-elementor-type="wp-page"] > .elementor-element {
  background-color: transparent !important;
}

.bbu-catalog [data-elementor-type="wp-page"] {
  max-width: 1200px;
  margin-inline: auto;
}

.bbu-catalog [data-elementor-type="wp-page"] > .elementor-element:first-child {
  padding-top: clamp(2rem, 5vw, 4.25rem);
  padding-bottom: clamp(.55rem, 1.6vw, 1rem);
}

.bbu-catalog :is(main#main > .woocommerce-products-header, .ast-woocommerce-container > .woocommerce-products-header) {
  padding-top: clamp(2rem, 5vw, 4.25rem);
}

.bbu-catalog :is([data-elementor-type="wp-page"] > .elementor-element:first-child .elementor-heading-title, main#main .woocommerce-products-header__title, main#main .entry-title) {
  margin: 0;
  font-size: clamp(2.65rem, 6vw, 4.5rem) !important;
  line-height: 1.04;
  text-transform: uppercase;
}

.bbu-catalog :is(.woocommerce-result-count, .woocommerce-ordering, .woocommerce-breadcrumb, .woocommerce-breadcrumb a) {
  color: var(--bbu-muted) !important;
  font: 500 .875rem/1.5 var(--bbu-body);
}

.bbu-catalog .woocommerce-ordering select {
  padding-inline: .65rem;
}

.bbu-catalog :is(.ht-products.ht-row, ul.products) {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(.75rem, 2vw, 1.45rem);
  margin: 0 0 clamp(2rem, 5vw, 3.75rem) !important;
  padding: 0;
}

.bbu-catalog ul.products::before,
.bbu-catalog ul.products::after {
  display: none !important;
}

.bbu-catalog :is(.ht-products.ht-row > .ht-product, ul.products > li.product) {
  display: flex;
  flex-direction: column;
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.bbu-catalog :is(.ht-product-inner, ul.products > li.product) {
  flex: 1;
  overflow: hidden;
  border: 1px solid var(--bbu-line) !important;
  border-radius: 14px;
  background: var(--bbu-panel) !important;
  color: var(--bbu-white);
  transition: border-color .18s ease;
}

.bbu-catalog :is(.ht-product-inner, ul.products > li.product):is(:hover, :focus-within) {
  border-color: var(--bbu-muted) !important;
}

.bbu-catalog .ht-product-inner {
  display: flex;
  flex-direction: column;
}

.bbu-catalog :is(.ht-product-image-wrap, .astra-shop-thumbnail-wrap) {
  background: #0e0e0e;
}

.bbu-catalog :is(.ht-product-image a > img, ul.products li.product .astra-shop-thumbnail-wrap img, ul.products li.product a.woocommerce-LoopProduct-link > img) {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1;
  object-fit: contain;
  margin: 0 !important;
}

.bbu-catalog :is(.ht-product-content, .astra-shop-summary-wrap) {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  width: 100%;
  gap: .45rem;
  padding: clamp(.75rem, 1.55vw, 1.1rem) !important;
  text-align: left;
}

.bbu-catalog .ht-product-content-inner {
  width: 100%;
  text-align: left;
}

.bbu-catalog :is(.ht-product-title, .ht-product-title a, ul.products li.product .woocommerce-loop-product__title) {
  margin: 0 !important;
  color: var(--bbu-white) !important;
  font: 700 clamp(.91rem, 1.3vw, 1.07rem)/1.36 var(--bbu-body) !important;
  overflow-wrap: anywhere;
}

.bbu-catalog :is(.ht-product-categories, .ht-product-categories a, .ast-woo-product-category) {
  color: var(--bbu-muted) !important;
  font: 600 .74rem/1.5 var(--bbu-body) !important;
  opacity: 1;
}

.bbu-catalog :is(.ht-product-price, li.product .price) {
  justify-content: flex-start !important;
  align-items: baseline;
  margin: .45rem 0 0 !important;
  color: var(--bbu-cream) !important;
  font: 700 .94rem/1.35 var(--bbu-body) !important;
}

.bbu-catalog :is(.ht-product-price, li.product .price) :is(.price, .amount, bdi, .woocommerce-Price-currencySymbol) {
  color: inherit !important;
  font: inherit !important;
}

.bbu-catalog :is(.ht-product-price, li.product .price) del .amount {
  color: var(--bbu-muted) !important;
  font-weight: 500 !important;
}

.bbu-catalog :is(.ht-product-price, li.product .price) ins {
  background: transparent;
  text-decoration: none;
}

.bbu-catalog ul.products .astra-shop-summary-wrap :is(.button, .added_to_cart) {
  margin: auto 0 0;
}

.bbu-catalog :is(.onsale, .ht-product-label) {
  border-radius: 6px;
  background-color: var(--bbu-cream) !important;
  color: var(--bbu-black) !important;
  font-family: var(--bbu-body);
  font-weight: 800;
}

.bbu-catalog .woocommerce-pagination .page-numbers > li > * {
  border: 1px solid var(--bbu-line);
  background: var(--bbu-panel);
  color: var(--bbu-cream);
  font-family: var(--bbu-body);
}

.bbu-catalog .woocommerce-pagination .page-numbers > li > :is(.current, a:hover) {
  background: var(--bbu-cream);
  color: var(--bbu-black);
}

.bbu-sampler-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1rem 0 clamp(1rem, 3vw, 2rem);
  padding: clamp(1rem, 3vw, 1.8rem);
  border: 1px solid var(--bbu-line);
  border-radius: 14px;
  background: var(--bbu-panel);
}

.bbu-sampler-card h2 {
  margin: 0 0 .35rem;
  font: 400 clamp(1.45rem, 3vw, 2.2rem)/1.15 var(--bbu-heading);
  text-transform: uppercase;
}

.bbu-sampler-card p {
  margin: 0;
  color: var(--bbu-muted);
}

/* Elementor reserves space for this preview container even with no widgets. */
.bbu-product [data-elementor-type="product"] .elementor-element-8d3e7f0:not(:has(> .e-con-inner > *, > :not(.e-con-inner))) {
  display: none !important;
}

.bbu-product-type {
  margin: .4rem 0 0;
  color: var(--bbu-cream);
  font: 700 .8rem/1.45 var(--bbu-body);
  text-transform: uppercase;
  letter-spacing: .075em;
}

.bbu-product .bbu-product-intro {
  margin: .2rem 0 .55rem;
  color: var(--bbu-white);
  font: 400 clamp(1.15rem, 2vw, 1.55rem)/1.2 var(--bbu-heading);
  text-transform: uppercase;
}

.bbu-product .bbu-project-description-link {
  color: var(--bbu-cream);
  font: 600 .92rem/1.5 var(--bbu-body);
  text-decoration: underline;
  text-underline-offset: .22em;
}

/* Older cached Elementor containers may still include the previous section. */
.bbu-product .bbu-project-story:not([data-bbu-project-section]) {
  display: none;
}

.bbu-project-story {
  width: min(1184px, calc(100% - 2rem));
  margin: clamp(1.5rem, 4vw, 3.25rem) auto;
  padding: clamp(1rem, 4vw, 2.5rem);
  scroll-margin-top: 14rem;
  border: 1px solid var(--bbu-line);
  border-radius: 14px;
  background: var(--bbu-panel);
  color: var(--bbu-white);
  font: 400 1rem/1.6 var(--bbu-body);
}

.bbu-project-story :is(h2, h3) {
  color: var(--bbu-white);
  font: 400 clamp(1.7rem, 4vw, 2.6rem)/1.1 var(--bbu-heading);
}

.bbu-project-story > h2 {
  margin: 0 0 .9rem;
}

.bbu-project-story-content h3 {
  margin: 1.4rem 0 .75rem;
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
}

.bbu-project-story-content iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 8px;
}

.bbu-project-story .bbu-product-details {
  padding: 1.25rem 0 0;
  border-width: 1px 0 0;
  border-radius: 0;
}

.bbu-product-details {
  width: 100%;
  margin: 1rem 0 0;
  padding: clamp(.9rem, 2vw, 1.4rem);
  border: 1px solid var(--bbu-line);
  border-radius: 14px;
  background: var(--bbu-panel);
  color: var(--bbu-white);
  font: 400 1rem/1.6 var(--bbu-body);
  overflow-wrap: anywhere;
}

.bbu-product-details :is(h2, h3, h4) {
  color: var(--bbu-white);
  font-family: var(--bbu-heading);
}

.bbu-product-details > h2 {
  margin: 0 0 .65rem;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  text-transform: uppercase;
}

.bbu-product-details a {
  color: var(--bbu-cream);
  text-decoration: underline;
}

.bbu-product-details .bbu-product-specs {
  display: grid;
  gap: .75rem;
  margin: 1rem 0 0;
}

.bbu-product-specs > div {
  padding: .8rem 1rem;
  border: 1px solid var(--bbu-line);
  border-radius: 8px;
}

.bbu-product-specs dt {
  color: var(--bbu-cream);
  font-weight: 700;
}

.bbu-product-specs dd {
  margin: .2rem 0 0;
}

.bbu-commerce :is(.woocommerce, .woocommerce-MyAccount-content, .woocommerce-error, .woocommerce-info, .woocommerce-message, .cart-collaterals, .wc-block-cart, .wc-block-checkout) {
  --forms-fields-normal-color: var(--bbu-white);
  --forms-labels-color: var(--bbu-white);
  --sections-background-color: var(--bbu-panel);
  --sections-border-color: var(--bbu-line);
  --sections-title-color: var(--bbu-white);
  --order-summary-color: var(--bbu-white);
  --tabs-normal-color: var(--bbu-white);
  --tabs-normal-bg-color: var(--bbu-panel);
  --wc-primary: var(--bbu-cream);
  --wc-primary-text: var(--bbu-black);
  color: var(--bbu-white) !important;
  font-family: var(--bbu-body);
}

.bbu-commerce :is(.woocommerce-error, .woocommerce-info, .woocommerce-message, .wc-block-components-notice-banner, form.login, form.register, .woocommerce form.checkout_coupon, .woocommerce-MyAccount-navigation a, .woocommerce-terms-and-conditions, #payment, #payment div.payment_box, .woocommerce-checkout-review-order-table, .woocommerce table.shop_table, .woocommerce table.shop_table thead, .woocommerce table.shop_table th, .woocommerce table.shop_table td) {
  border-color: var(--bbu-line) !important;
  background: var(--bbu-panel) !important;
  color: var(--bbu-white) !important;
}

.bbu-commerce #payment div.payment_box::before {
  border-bottom-color: var(--bbu-panel) !important;
}

.bbu-commerce :is(.woocommerce-error, .woocommerce-info, .woocommerce-message, .woocommerce-MyAccount-navigation) a {
  color: var(--bbu-cream) !important;
}

.bbu-commerce .woocommerce-MyAccount-navigation .is-active > a {
  border-inline-start: 3px solid var(--bbu-cream);
}

.bbu-commerce .woocommerce-order-overview li {
  color: var(--bbu-muted) !important;
  font-family: var(--bbu-body) !important;
}

.bbu-commerce :is(.woocommerce-thankyou-order-received, .woocommerce-order-overview li strong, .woocommerce-order-downloads table thead th, .woocommerce-order-details table thead th) {
  color: var(--bbu-cream) !important;
}

.bbu-storefront .select2-container .select2-dropdown {
  border-color: var(--bbu-line);
  background: var(--bbu-panel);
  color: var(--bbu-white);
}

.bbu-storefront .select2-container .select2-selection__rendered {
  color: var(--bbu-white) !important;
}

.bbu-storefront .select2-results__option--highlighted {
  background: var(--bbu-cream) !important;
  color: var(--bbu-black) !important;
}

.bbu-support :is(.entry-content, main#main, [data-elementor-type="wp-page"]) {
  color: var(--bbu-white);
  line-height: 1.65;
}

.bbu-support :is(.elementor-text-editor, .elementor-tab-content, .elementor-accordion-item, .elementor-tab-title, .ast-404-layout-1) {
  border-color: var(--bbu-line) !important;
  background-color: transparent !important;
  color: var(--bbu-white) !important;
}

.bbu-support [data-elementor-type="wp-page"] :is(.elementor-tab-content, .elementor-widget-text-editor) :is(p, li) {
  color: var(--bbu-white) !important;
  font-family: var(--bbu-body) !important;
}

.bbu-support [data-elementor-type="wp-page"] :is(.elementor-tab-content a, .elementor-widget-text-editor a, .elementor-icon-list-text, .elementor-icon-list-icon i) {
  color: var(--bbu-cream) !important;
}

.bbu-support .elementor-tab-content a,
.bbu-support .elementor-text-editor a,
.bbu-support .entry-content p a,
.bbu-commerce .woocommerce-terms-and-conditions-wrapper a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bbu-storefront.error404 [data-elementor-type="single"] .elementor-heading-title {
  color: var(--bbu-white) !important;
  font-family: var(--bbu-heading) !important;
}

.bbu-storefront.error404 [data-elementor-type="single"] .elementor-button :is(.elementor-button-text, .elementor-button-icon) {
  color: inherit !important;
}

@media (max-width: 1000px) {
  .bbu-catalog :is(.ht-products.ht-row, ul.products) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1001px) {
  .bbu-catalog .ht-products.ht-row:has(> .ht-product:nth-child(3):last-child) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 880px;
    margin-inline: auto !important;
  }
}

@media (max-width: 760px) {
  .bbu-catalog :is(.ht-products.ht-row, ul.products) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bbu-sampler-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 360px) {
  .bbu-catalog :is(.ht-products.ht-row, ul.products) {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bbu-catalog :is(.ht-product-inner, ul.products > li.product) {
    transition: none;
  }
}
