/*
 * Obsidian Premium Experience v1.1.0
 * Scoped to body.obsidian-premium-ui. Checkout/order-payment screens do not
 * enqueue this file.
 */

body.obsidian-premium-ui {
  --ope-black: #070708;
  --ope-charcoal: #111216;
  --ope-panel: #17181d;
  --ope-ink: #171923;
  --ope-muted: #656978;
  --ope-red: #ed1c24;
  --ope-red-deep: #a9001c;
  --ope-red-soft: rgba(237, 28, 36, .12);
  --ope-line: rgba(18, 21, 31, .12);
  --ope-white: #fff;
  --ope-radius-sm: 12px;
  --ope-radius: 18px;
  --ope-radius-lg: 24px;
  --ope-shadow: 0 18px 48px rgba(8, 10, 18, .10), 0 3px 12px rgba(8, 10, 18, .06);
  --ope-shadow-dark: 0 18px 50px rgba(0, 0, 0, .34), 0 0 28px rgba(237, 28, 36, .08);
  --ope-amino-motif: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 760 250'%3E%3Cg fill='none' stroke='%23ff4054' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M26 143L101 94l76 49 77-49 76 49 77-49 76 49 77-49 76 49 77-49 76 49'/%3E%3Cpath d='M177 143v66M254 94V29M330 143v66M407 94V29M483 143v66M560 94V29'/%3E%3C/g%3E%3Cg fill='%23ff4054'%3E%3Ccircle cx='26' cy='143' r='6'/%3E%3Ccircle cx='101' cy='94' r='5'/%3E%3Ccircle cx='177' cy='143' r='6'/%3E%3Ccircle cx='254' cy='94' r='5'/%3E%3Ccircle cx='330' cy='143' r='6'/%3E%3Ccircle cx='407' cy='94' r='5'/%3E%3Ccircle cx='483' cy='143' r='6'/%3E%3Ccircle cx='560' cy='94' r='5'/%3E%3Ccircle cx='636' cy='143' r='6'/%3E%3C/g%3E%3C/svg%3E");
  color: var(--ope-ink);
  font-family: "Outfit", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.obsidian-premium-ui :where(button, input, select, textarea) {
  font-family: inherit;
}

/* Premium molecular Astra header — preserves the existing builder layout. */
body.obsidian-premium-ui #masthead,
body.obsidian-premium-ui .site-header,
body.obsidian-premium-ui .main-header-bar,
body.obsidian-premium-ui .ast-primary-header-bar {
  border: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, .10) !important;
  background-color: var(--ope-black) !important;
  background-image:
    radial-gradient(circle at 8% 23%, rgba(255, 70, 78, .48) 0 2px, transparent 3px),
    radial-gradient(circle at 16% 70%, rgba(255, 255, 255, .25) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 27% 35%, rgba(237, 28, 36, .34) 0 2px, transparent 3px),
    linear-gradient(116deg, transparent 0 10%, rgba(237, 28, 36, .13) 10.3% 10.8%, transparent 11.1% 100%),
    linear-gradient(28deg, transparent 0 18%, rgba(255, 255, 255, .07) 18.3% 18.7%, transparent 19% 100%),
    radial-gradient(ellipse at 12% 0%, rgba(237, 28, 36, .26), transparent 34%),
    linear-gradient(105deg, #070708 0%, #121014 48%, #260008 100%) !important;
  background-size: 260px 104px, 260px 104px, 260px 104px, 260px 104px, 260px 104px, 100% 100%, 100% 100% !important;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .30), inset 0 -1px 0 rgba(237, 28, 36, .18) !important;
}

body.obsidian-premium-ui #masthead {
  position: relative;
  isolation: isolate;
  z-index: 40;
}

body.obsidian-premium-ui #masthead::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(237, 28, 36, .88) 50%, transparent);
  box-shadow: 0 0 16px rgba(237, 28, 36, .36);
  pointer-events: none;
}

body.obsidian-premium-ui #masthead :where(.ast-container, .ast-builder-grid-row, .site-primary-header-wrap) {
  position: relative;
  z-index: 1;
}

body.obsidian-premium-ui .ast-primary-header-bar,
body.obsidian-premium-ui .site-primary-header-wrap {
  min-height: 88px !important;
}

body.obsidian-premium-ui .site-header .custom-logo-link {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 10px 28px rgba(0, 0, 0, .20);
}

body.obsidian-premium-ui .site-header .custom-logo-link img,
body.obsidian-premium-ui .site-header .custom-logo {
  width: auto !important;
  max-width: 250px !important;
  max-height: 78px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 5px 12px rgba(0, 0, 0, .30));
}

body.obsidian-premium-ui.ast-desktop .main-header-menu > .menu-item > .menu-link,
body.obsidian-premium-ui .ast-desktop .main-header-menu > .menu-item > .menu-link {
  position: relative;
  min-height: 44px;
  margin: 0 2px;
  padding: 0 16px !important;
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(255, 255, 255, .90) !important;
  font-size: 15px !important;
  font-weight: 650 !important;
  letter-spacing: .015em;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease !important;
}

body.obsidian-premium-ui .ast-desktop .main-header-menu > .menu-item > .menu-link::after {
  right: 14px !important;
  bottom: 6px !important;
  left: 14px !important;
  height: 2px !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, transparent, #ff3b43, transparent) !important;
}

body.obsidian-premium-ui .ast-desktop .main-header-menu > .menu-item:hover > .menu-link,
body.obsidian-premium-ui .ast-desktop .main-header-menu > .current-menu-item > .menu-link,
body.obsidian-premium-ui .ast-desktop .main-header-menu > .current_page_item > .menu-link,
body.obsidian-premium-ui .ast-desktop .main-header-menu > .current-menu-ancestor > .menu-link,
body.obsidian-premium-ui .ast-desktop .main-header-menu > .menu-item > .menu-link:focus-visible {
  border-color: rgba(237, 28, 36, .32);
  background: linear-gradient(135deg, rgba(237, 28, 36, .16), rgba(255, 255, 255, .035));
  color: #fff !important;
  transform: translateY(-1px);
}

body.obsidian-premium-ui :where(.ast-header-account-wrap, .ast-site-header-cart > div, .ast-header-search) > a,
body.obsidian-premium-ui .ast-button-wrap .menu-toggle {
  border: 1px solid rgba(255, 255, 255, .10) !important;
  border-radius: 13px !important;
  background: rgba(255, 255, 255, .045) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 8px 20px rgba(0, 0, 0, .18) !important;
}

body.obsidian-premium-ui .ast-sticky-active :where(.ast-primary-header-bar, .site-primary-header-wrap) {
  min-height: 72px !important;
  background-color: rgba(7, 7, 8, .96) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Standard page-title treatment: technical, spacious, and molecular. */
body.obsidian-premium-ui :where(.entry-header .entry-title, .woocommerce-products-header__title) {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 34px;
  color: var(--ope-ink);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.025em;
  text-wrap: balance;
}

body.obsidian-premium-ui :where(.entry-header .entry-title, .woocommerce-products-header__title)::after {
  display: block;
  width: min(360px, 78vw);
  height: 72px;
  margin-top: 8px;
  content: "";
  opacity: .78;
  background-image: var(--ope-amino-motif);
  background-position: left center;
  background-size: auto 82px;
  background-repeat: no-repeat;
}

/* Global premium surfaces and controls. */
body.obsidian-premium-ui :where(.wp-element-button, .wp-block-button__link, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button):not(.menu-link) {
  min-height: 46px;
  padding: 12px 22px !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #f11e2a, #b3001e) !important;
  box-shadow: 0 10px 24px rgba(190, 0, 28, .22), inset 0 1px 0 rgba(255, 255, 255, .18) !important;
  color: #fff !important;
  font-weight: 700 !important;
  letter-spacing: .01em;
  text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease !important;
}

body.obsidian-premium-ui :where(.wp-element-button, .wp-block-button__link, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button):not(.menu-link):hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(190, 0, 28, .28), inset 0 1px 0 rgba(255, 255, 255, .20) !important;
}

body.obsidian-premium-ui :where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid rgba(237, 28, 36, .30) !important;
  outline-offset: 3px;
}

/* Shop and product-card refinement. */
body.obsidian-premium-ui.woocommerce :where(ul.products, .wc-block-product-template) li.product {
  overflow: hidden;
  border: 1px solid var(--ope-line) !important;
  border-radius: var(--ope-radius) !important;
  background: #fff !important;
  box-shadow: 0 12px 34px rgba(8, 10, 18, .075) !important;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease !important;
}

body.obsidian-premium-ui.woocommerce :where(ul.products, .wc-block-product-template) li.product:hover {
  border-color: rgba(237, 28, 36, .28) !important;
  box-shadow: var(--ope-shadow) !important;
  transform: translateY(-5px);
}

body.obsidian-premium-ui.woocommerce :where(ul.products, .wc-block-product-template) li.product :where(.woocommerce-loop-product__title, .wc-block-components-product-name) {
  color: var(--ope-ink) !important;
  font-weight: 750 !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
}

body.obsidian-premium-ui.woocommerce :where(ul.products, .wc-block-product-template) li.product a:hover :where(.woocommerce-loop-product__title, .wc-block-components-product-name) {
  color: var(--ope-red-deep) !important;
}

body.obsidian-premium-ui.woocommerce :where(.woocommerce-result-count, .woocommerce-ordering) {
  color: var(--ope-muted);
}

body.obsidian-premium-ui.woocommerce span.onsale,
body.obsidian-premium-ui.woocommerce .ast-shop-product-out-of-stock {
  border-radius: 999px !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .18) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Do not render an unfinished empty recently-viewed panel. */
body.obsidian-premium-ui :where(.widget_recently_viewed_products, .woocommerce.widget_recently_viewed_products):not(:has(ul.products, .product_list_widget li)) {
  display: none !important;
}

body.obsidian-premium-ui.home :where(.recently-viewed, .recently-viewed-products):has(.woocommerce-info:only-child) {
  display: none !important;
}

/* The active Recently Viewed plugin uses this empty-state class. */
body.obsidian-premium-ui.home .rvpw-empty {
  display: none !important;
}

/* About page repair: remove accidental spacer/min-height inflation and restore readable width. */
body.obsidian-premium-ui.obsidian-page-about .site-main {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

body.obsidian-premium-ui.obsidian-page-about {
  background: #fff !important;
}

body.obsidian-premium-ui.obsidian-page-about #content {
  padding: clamp(24px, 4vw, 52px) 18px clamp(48px, 7vw, 82px);
  background: #fff !important;
  background-image: none !important;
}

body.obsidian-premium-ui.obsidian-page-about #content > .ast-container {
  display: block !important;
  width: min(1120px, 100%) !important;
  max-width: 1120px !important;
  margin-inline: auto !important;
  padding: 0 !important;
}

body.obsidian-premium-ui.obsidian-page-about :where(.site-main, article) {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  background: transparent !important;
}

body.obsidian-premium-ui.obsidian-page-about .entry-header {
  overflow: visible;
  margin: 0 0 24px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

body.obsidian-premium-ui.obsidian-page-about .entry-header::before {
  display: none !important;
}

body.obsidian-premium-ui.obsidian-page-about .entry-header .entry-title {
  margin: 0 !important;
  color: var(--ope-ink) !important;
  font-size: clamp(2rem, 4.4vw, 3.65rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -.035em !important;
  text-transform: none !important;
  text-shadow: none !important;
}

body.obsidian-premium-ui.obsidian-page-about .entry-content {
  width: 100% !important;
  max-width: 1120px !important;
  overflow: visible;
  margin-inline: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

body.obsidian-premium-ui.obsidian-page-about #hero.nfd-wb-animate,
body.obsidian-premium-ui.obsidian-page-about #hero.nfd-wb-zoom-in {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  background: transparent !important;
  background-image: none !important;
}

body.obsidian-premium-ui.obsidian-page-about #hero > .wp-block-columns {
  display: grid !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr) !important;
  align-items: start !important;
  gap: clamp(34px, 6vw, 72px) !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

body.obsidian-premium-ui.obsidian-page-about #hero > .wp-block-columns > .wp-block-column {
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}

body.obsidian-premium-ui.obsidian-page-about #hero .nfd-text-giga {
  max-width: 760px;
  color: var(--ope-ink) !important;
  font-size: clamp(2rem, 4vw, 3.35rem) !important;
  line-height: 1.04 !important;
  letter-spacing: -.04em !important;
}

body.obsidian-premium-ui.obsidian-page-about #hero :where(h2, h3) {
  color: var(--ope-ink) !important;
  line-height: 1.15 !important;
  letter-spacing: -.025em !important;
}

body.obsidian-premium-ui.obsidian-page-about #hero figure {
  overflow: hidden;
  border: 1px solid rgba(237, 28, 36, .18);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(8, 10, 18, .14);
}

body.obsidian-premium-ui.obsidian-page-about .entry-content > .wp-block-spacer:first-child,
body.obsidian-premium-ui.obsidian-page-about .entry-content > .wp-block-spacer:empty {
  display: none !important;
}

body.obsidian-premium-ui.obsidian-page-about .entry-content > :where(.wp-block-group, .wp-block-columns) {
  width: 100% !important;
  max-width: 1120px !important;
  margin: 0 auto 28px !important;
}

body.obsidian-premium-ui.obsidian-page-about .entry-content :where(p, li) {
  max-width: 780px;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.75;
}

/* Contact/account/FAQ surfaces. */
body.obsidian-premium-ui:is(.obsidian-page-contact, .obsidian-page-account, .obsidian-page-faqs) .entry-content > :where(.wp-block-group, form, .woocommerce) {
  border-radius: var(--ope-radius-lg);
}

body.obsidian-premium-ui.obsidian-page-contact :where(.wpforms-container, .wpcf7, form),
body.obsidian-premium-ui.obsidian-page-account :where(.woocommerce-form-login, .woocommerce-form-register) {
  padding: clamp(22px, 4vw, 42px) !important;
  border: 1px solid var(--ope-line) !important;
  border-radius: var(--ope-radius-lg) !important;
  background: #fff !important;
  box-shadow: var(--ope-shadow) !important;
}

body.obsidian-premium-ui.obsidian-page-faqs .entry-content :where(details, .wp-block-details) {
  margin-bottom: 12px;
  padding: 17px 20px;
  border: 1px solid var(--ope-line);
  border-radius: var(--ope-radius-sm);
  background: #fff;
  box-shadow: 0 8px 24px rgba(8, 10, 18, .055);
}

/* Empty cart should feel deliberate rather than abandoned. */
body.obsidian-premium-ui.obsidian-page-cart .cart-empty {
  max-width: 720px;
  margin: 40px auto 18px !important;
  padding: clamp(28px, 5vw, 54px) !important;
  border: 1px solid var(--ope-line);
  border-radius: var(--ope-radius-lg);
  background: linear-gradient(145deg, #fff, #f7f7f9);
  box-shadow: var(--ope-shadow);
  text-align: center;
}

/* Prevent WordPress alignfull blocks from creating the observed 8px edge scroll
   inside the constrained Contact, Knowledge Center, and Account templates. */
body.obsidian-premium-ui:is(.obsidian-page-contact, .obsidian-page-knowledge, .obsidian-page-account)
  .entry-content :where(.alignfull, .wp-block-group.alignfull) {
  width: 100% !important;
  max-width: 100% !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

/* Account title injected by the PHP layer when Astra hides the page title. */
body.obsidian-premium-ui .ope-account-heading {
  max-width: 1180px;
  margin: 0 auto clamp(24px, 4vw, 42px);
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(237, 28, 36, .16);
  border-radius: var(--ope-radius-lg);
  background:
    radial-gradient(circle at 92% 10%, rgba(237, 28, 36, .10), transparent 32%),
    linear-gradient(145deg, #fff, #f8f8fa);
  box-shadow: var(--ope-shadow);
}

body.obsidian-premium-ui .ope-account-heading h1 {
  margin: 0 0 7px;
  color: var(--ope-ink);
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.05;
  letter-spacing: -.035em;
}

body.obsidian-premium-ui .ope-account-heading p {
  margin: 0;
  color: var(--ope-muted);
  font-size: 1rem;
}

/* Privacy content headings are changed from extra H1 elements to H2 by PHP. */
body.obsidian-premium-ui.obsidian-page-privacy .entry-content h2 {
  margin-top: clamp(28px, 4vw, 48px);
  margin-bottom: 12px;
  color: var(--ope-ink);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.18;
  letter-spacing: -.02em;
}

/* Footer legibility and finish. */
body.obsidian-premium-ui :where(.site-footer, footer) {
  --ast-global-color-2: #fff;
}

body.obsidian-premium-ui :where(.site-footer, footer) .footer-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(46px, 4.4vw, 58px) clamp(28px, 5vw, 58px) 30px !important;
}

body.obsidian-premium-ui :where(.site-footer, footer) .footer-section::before {
  position: absolute;
  top: -54px;
  right: -118px;
  z-index: -1;
  width: min(58vw, 760px);
  height: 260px;
  content: "";
  opacity: .10;
  background: var(--ope-amino-motif) right top / auto 190px no-repeat;
  filter: drop-shadow(0 0 8px rgba(255, 60, 70, .22));
  pointer-events: none;
}

body.obsidian-premium-ui :where(.site-footer, footer) .footer-section > * {
  position: relative;
  z-index: 1;
}

body.obsidian-premium-ui :where(.site-footer, footer) :where(p, li, a) {
  line-height: 1.55;
}

body.obsidian-premium-ui :where(.site-footer, footer) :where(.disclaimer, [class*="disclaimer"]) {
  font-size: max(14px, .875rem) !important;
  line-height: 1.68 !important;
}

body.obsidian-premium-ui :where(.site-footer, footer) .footer-section :where(p, li) {
  max-width: 70ch;
}

body.obsidian-premium-ui :where(.site-footer, footer) a {
  text-underline-offset: 4px;
  transition: color .2s ease, opacity .2s ease;
}

body.obsidian-premium-ui :where(.site-footer, footer) a:hover {
  color: #ff424a !important;
}

/* Clean policy/footer-linked reading surfaces.
 * Molecular artwork belongs in the masthead and footer—not behind legal,
 * policy, FAQ, or affiliate-program text. These deliberately strong selectors
 * neutralize the older Premium Footer Page Backgrounds Additional CSS while
 * retaining its white cards, borders, spacing, and dark gradient title panel.
 */
body.obsidian-premium-ui.obsidian-footer-reading-page .site-content :where(
  .entry-header::after,
  .entry-header .entry-title::after,
  .entry-content::before,
  .entry-content::after,
  .entry-content > .wp-block-group::before,
  .entry-content > .wp-block-group::after,
  .entry-content > .wp-block-cover::before,
  .entry-content > .wp-block-cover::after
) {
  display: none !important;
  content: none !important;
  background: none !important;
  background-image: none !important;
}

/* Knowledge Center and Account are focused work surfaces. Keep their
 * intentional in-card imagery, but remove the older photographic molecule
 * image that was bleeding through behind the page content. */
body.obsidian-premium-ui:is(.obsidian-page-knowledge, .obsidian-page-account) {
  background: #f7f7f9 !important;
}

body.obsidian-premium-ui:is(.obsidian-page-knowledge, .obsidian-page-account) :where(
  #page,
  .site,
  .site-content,
  .ast-container,
  .site-main
) {
  background-image: none !important;
}

/* The Knowledge Center keeps its editorial DNA artwork inside the hero card,
 * but its surrounding hero canvas now matches the homepage's abstract
 * amino-chain environment rather than using a separate photographic image. */
body.obsidian-premium-ui.obsidian-page-knowledge {
  background-color: #0b0709 !important;
  background-image:
    radial-gradient(circle at 8% 20%, rgba(255, 74, 84, .54) 0 2px, transparent 3px),
    radial-gradient(circle at 92% 72%, rgba(255, 255, 255, .24) 0 1px, transparent 2px),
    var(--ope-amino-motif),
    var(--ope-amino-motif),
    radial-gradient(ellipse at 0% 24%, rgba(237, 28, 36, .34), transparent 32%),
    radial-gradient(ellipse at 100% 62%, rgba(154, 0, 28, .25), transparent 34%),
    linear-gradient(112deg, #120609 0%, #22070c 48%, #070708 100%) !important;
  background-repeat: repeat, repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat !important;
  background-position: 0 0, 72px 94px, left 8% top 156px, right 8% top 308px, 0 0, 100% 0, 0 0 !important;
  background-size: 180px 166px, 230px 202px, auto 330px, auto 330px, 100% 100%, 100% 100%, 100% 100% !important;
}

/* Account/login panels must sit on a quiet work surface. Some Astra/UAGB
 * wrapper variants apply a background image below the standard content
 * container, so reset those specific account wrappers and their pseudo layers
 * without touching WooCommerce fields, buttons, or account navigation. */
body.obsidian-premium-ui.obsidian-page-account :where(
  .site-content,
  .site-main,
  .ast-container,
  article,
  .entry-content,
  .woocommerce,
  .woocommerce-account,
  .woocommerce-MyAccount-content,
  .woocommerce-form-login,
  .woocommerce-form-register
) {
  background-image: none !important;
}

body.obsidian-premium-ui.obsidian-page-account :where(
  .site-content,
  .site-main,
  .ast-container,
  article,
  .entry-content,
  .woocommerce
)::before,
body.obsidian-premium-ui.obsidian-page-account :where(
  .site-content,
  .site-main,
  .ast-container,
  article,
  .entry-content,
  .woocommerce
)::after {
  display: none !important;
  content: none !important;
  background: none !important;
  background-image: none !important;
}

/* The Account page builder saved amino-chain.png directly in an inline style
 * on its full-width group. An !important scoped override is required to
 * supersede that inline declaration on desktop and mobile. */
body.obsidian-premium-ui.obsidian-page-account .entry-content > .wp-block-group.alignfull[style*="amino-chain.png"] {
  background-color: #f7f7f9 !important;
  background-image: none !important;
}

/* Give the Account page the same composed outer canvas as the homepage after
 * removing its old inline photo. Account panels remain white and legible; the
 * molecular treatment appears only in the surrounding gutter space. */
body.obsidian-premium-ui.obsidian-page-account {
  background-color: #0b0709 !important;
  background-image:
    radial-gradient(circle at 8% 20%, rgba(255, 74, 84, .48) 0 2px, transparent 3px),
    radial-gradient(circle at 92% 72%, rgba(255, 255, 255, .20) 0 1px, transparent 2px),
    var(--ope-amino-motif),
    var(--ope-amino-motif),
    radial-gradient(ellipse at 0% 24%, rgba(237, 28, 36, .30), transparent 32%),
    radial-gradient(ellipse at 100% 62%, rgba(154, 0, 28, .22), transparent 34%),
    linear-gradient(112deg, #120609 0%, #22070c 48%, #070708 100%) !important;
  background-repeat: repeat, repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat !important;
  background-position: 0 0, 72px 94px, left 8% top 150px, right 8% top 300px, 0 0, 100% 0, 0 0 !important;
  background-size: 180px 166px, 230px 202px, auto 330px, auto 330px, 100% 100%, 100% 100%, 100% 100% !important;
}

@media (max-width: 921px) {
  body.obsidian-premium-ui.obsidian-page-account .site-content {
    width: calc(100% - 12px) !important;
    max-width: none !important;
    margin-inline: auto !important;
    box-shadow: 0 0 0 1px rgba(237, 28, 36, .11), 0 18px 36px rgba(0, 0, 0, .12);
  }

  body.obsidian-premium-ui.obsidian-page-account {
    background-image:
      var(--ope-amino-motif),
      radial-gradient(ellipse at 0% 20%, rgba(237, 28, 36, .22), transparent 38%),
      linear-gradient(112deg, #150609 0%, #080609 100%) !important;
    background-position: left -118px top 180px, 0 0, 0 0 !important;
    background-size: auto 245px, 100% 100%, 100% 100% !important;
    background-repeat: no-repeat, no-repeat, no-repeat !important;
  }
}

@media (max-width: 544px) {
  body.obsidian-premium-ui.obsidian-page-account .site-content {
    width: calc(100% - 8px) !important;
  }
}

/* Astra's account icon opens its own login/account popover rather than the
 * /my-account page. Keep that compact interaction surface clean across both
 * desktop and mobile—no inherited molecular photography behind the form. */
body.obsidian-premium-ui :where(
  .ast-header-account-wrap,
  .ast-header-account-wrap .ast-woo-account-login-wrapper,
  .ast-header-account-wrap .ast-woo-account-login,
  .ast-header-account-wrap .ast-account-nav,
  .ast-header-account-wrap .ast-account-nav-wrap,
  .ast-header-account-wrap .ast-login-form
) {
  background-image: none !important;
}

body.obsidian-premium-ui :where(
  .ast-header-account-wrap .ast-woo-account-login-wrapper,
  .ast-header-account-wrap .ast-woo-account-login,
  .ast-header-account-wrap .ast-account-nav,
  .ast-header-account-wrap .ast-account-nav-wrap,
  .ast-header-account-wrap .ast-login-form
)::before,
body.obsidian-premium-ui :where(
  .ast-header-account-wrap .ast-woo-account-login-wrapper,
  .ast-header-account-wrap .ast-woo-account-login,
  .ast-header-account-wrap .ast-account-nav,
  .ast-header-account-wrap .ast-account-nav-wrap,
  .ast-header-account-wrap .ast-login-form
)::after {
  display: none !important;
  content: none !important;
  background: none !important;
  background-image: none !important;
}

@media (max-width: 921px) {
  body.obsidian-premium-ui.obsidian-page-knowledge {
    background-image:
      var(--ope-amino-motif),
      radial-gradient(ellipse at 0% 20%, rgba(237, 28, 36, .22), transparent 38%),
      linear-gradient(112deg, #150609 0%, #080609 100%) !important;
    background-position: left -118px top 180px, 0 0, 0 0 !important;
    background-size: auto 245px, 100% 100%, 100% 100% !important;
    background-repeat: no-repeat, no-repeat, no-repeat !important;
  }
}

/* Accessible homepage H1: the visual hero carries the same message as artwork,
 * while this supplies a real document heading without changing its layout. */
body.obsidian-premium-ui .ope-home-heading {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Product image loading should look deliberate instead of presenting an empty
 * white hole while WordPress/Jetpack resolves the requested image. */
body.obsidian-premium-ui.woocommerce :where(
  ul.products li.product .astra-shop-thumbnail-wrap,
  ul.products li.product .woocommerce-LoopProduct-link,
  .woocommerce-product-gallery__wrapper
) {
  background-color: #f3f4f6;
  background-image: linear-gradient(110deg, #f0f1f3 8%, #fafafa 18%, #f0f1f3 33%);
  background-size: 220% 100%;
  animation: ope-image-loading 1.6s linear infinite;
}

body.obsidian-premium-ui.woocommerce :where(
  ul.products li.product img,
  .woocommerce-product-gallery__image img
) {
  background: #fff;
}

@keyframes ope-image-loading {
  to { background-position-x: -220%; }
}

/* Signature Current Lot & Documentation panel. */
/* Astra renders the product summary as an ordered flex column. Custom modules
 * without an explicit order default to zero and otherwise jump above the title.
 * Preserve the purchase-first flow on both desktop and mobile. */
body.obsidian-premium-ui.single-product .summary > .stock.out-of-stock {
  order: 4;
}

body.obsidian-premium-ui.single-product .summary > .oac {
  order: 5;
  width: 100%;
}

body.obsidian-premium-ui.single-product .summary > .ope-lot-panel {
  order: 9;
  width: 100%;
}

body.obsidian-premium-ui.single-product .summary > .ore-material-actions {
  order: 10;
  width: 100%;
}

body.obsidian-premium-ui.single-product .summary > .obr-trigger,
body.obsidian-premium-ui.single-product .summary > .obr-note {
  order: 11;
  width: 100%;
}

body.obsidian-premium-ui.single-product .ope-lot-panel {
  position: relative;
  clear: both;
  margin: 24px 0 8px;
  padding: clamp(20px, 3vw, 28px);
  overflow: hidden;
  border: 1px solid rgba(237, 28, 36, .18);
  border-left: 4px solid var(--ope-red);
  border-radius: var(--ope-radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(237, 28, 36, .07), transparent 38%),
    linear-gradient(145deg, #fff, #f8f8fa);
  box-shadow: 0 14px 36px rgba(8, 10, 18, .08);
}

body.obsidian-premium-ui.single-product .ope-lot-panel__heading {
  margin-bottom: 16px;
}

body.obsidian-premium-ui.single-product .ope-lot-panel__eyebrow {
  display: block;
  margin-bottom: 5px;
  color: var(--ope-red-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

body.obsidian-premium-ui.single-product .ope-lot-panel h2 {
  margin: 0 !important;
  color: var(--ope-ink) !important;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem) !important;
  line-height: 1.18 !important;
  letter-spacing: -.02em !important;
}

body.obsidian-premium-ui.single-product .ope-lot-panel__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 14px;
}

body.obsidian-premium-ui.single-product .ope-lot-panel__facts > div {
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid rgba(18, 21, 31, .09);
  border-radius: 10px;
  background: rgba(255, 255, 255, .82);
}

body.obsidian-premium-ui.single-product .ope-lot-panel__facts :where(dt, dd) {
  margin: 0;
  overflow-wrap: anywhere;
}

body.obsidian-premium-ui.single-product .ope-lot-panel__facts dt {
  margin-bottom: 3px;
  color: var(--ope-muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .045em;
  text-transform: uppercase;
}

body.obsidian-premium-ui.single-product .ope-lot-panel__facts dd {
  color: var(--ope-ink);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
}

body.obsidian-premium-ui.single-product :where(.ope-lot-panel__note, .ope-lot-panel__disclaimer) {
  margin: 12px 0;
  color: var(--ope-muted);
  line-height: 1.55;
}

body.obsidian-premium-ui.single-product .ope-lot-panel__note {
  color: var(--ope-ink);
  font-size: 14px;
}

body.obsidian-premium-ui.single-product .ope-lot-panel__disclaimer {
  margin-bottom: 0;
  padding-top: 12px;
  border-top: 1px solid rgba(18, 21, 31, .09);
  font-size: 12px;
}

body.obsidian-premium-ui.single-product .ope-lot-panel__button {
  min-height: 40px !important;
  padding: 9px 16px !important;
  font-size: 13px !important;
}

/* Accurate, restrained documentation badges on catalog cards. */
body.obsidian-premium-ui.woocommerce ul.products li.product .ope-documentation-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  max-width: calc(100% - 24px);
  margin: 2px 12px 10px;
  padding: 7px 10px;
  border: 1px solid rgba(33, 112, 73, .18);
  border-radius: 999px;
  background: rgba(33, 112, 73, .07);
  color: #175c3c;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .02em;
}

body.obsidian-premium-ui.woocommerce ul.products li.product .ope-documentation-badge > span {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #238657;
  box-shadow: 0 0 0 3px rgba(35, 134, 87, .12);
}

/* A purposeful empty-cart state; WooCommerce's original notice remains as a
 * lightweight status message while this becomes the primary visual. */
body.obsidian-premium-ui .ope-empty-cart-enhancement {
  max-width: 720px;
  margin: 18px auto 48px;
  padding: clamp(30px, 5vw, 54px);
  border: 1px solid rgba(237, 28, 36, .15);
  border-radius: var(--ope-radius-lg);
  background:
    radial-gradient(circle at 50% 0%, rgba(237, 28, 36, .08), transparent 36%),
    linear-gradient(145deg, #fff, #f7f7f9);
  box-shadow: var(--ope-shadow);
  text-align: center;
}

body.obsidian-premium-ui .ope-empty-cart-enhancement__icon {
  position: relative;
  display: block;
  width: 48px;
  height: 54px;
  margin: 0 auto 18px;
  border: 3px solid var(--ope-red-deep);
  border-radius: 9px 9px 13px 13px;
  background: linear-gradient(#fff 0 55%, rgba(237, 28, 36, .10) 55% 100%);
  box-shadow: 0 10px 24px rgba(190, 0, 28, .14);
}

body.obsidian-premium-ui .ope-empty-cart-enhancement__icon::before {
  position: absolute;
  top: -9px;
  left: 7px;
  width: 28px;
  height: 10px;
  content: "";
  border: 2px solid var(--ope-red-deep);
  border-radius: 4px;
  background: #fff;
}

body.obsidian-premium-ui .ope-empty-cart-enhancement h2 {
  margin: 0 0 10px;
  color: var(--ope-ink);
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -.025em;
}

body.obsidian-premium-ui .ope-empty-cart-enhancement p {
  max-width: 560px;
  margin: 0 auto 20px;
  color: var(--ope-muted);
  line-height: 1.65;
}

/* Footer cleanup that remains safe across Astra and block-footer variants. */
body.obsidian-premium-ui :where(.site-footer, footer) a[href*="bluehost.com"] {
  display: none !important;
}

body.obsidian-premium-ui :where(.site-footer, footer) img:not([alt]),
body.obsidian-premium-ui :where(.site-footer, footer) img[alt=""] {
  opacity: 1;
}

body.obsidian-premium-ui.obsidian-footer-reading-page .site-content :where(
  .entry-content,
  .entry-content > .wp-block-group.has-background,
  .entry-content > .wp-block-group.alignfull.has-background,
  .entry-content > .wp-block-cover
) {
  background-image: none !important;
}

/* Coupon Affiliates' standalone portal does not inherit Astra body classes.
   Scope every rule to its own root so checkout and account pages are untouched. */
.affiliate-portal-container {
  background: #f6f7f9 !important;
  color: #171923 !important;
  font-family: "Outfit", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

.affiliate-portal-container .sidebar {
  border-right: 1px solid rgba(255, 255, 255, .10) !important;
  background:
    radial-gradient(circle at 15% 4%, rgba(237, 28, 36, .34), transparent 30%),
    linear-gradient(165deg, #08090b 0%, #21040a 48%, #650012 100%) !important;
  box-shadow: 12px 0 34px rgba(0, 0, 0, .18) !important;
}

.affiliate-portal-container .sidebar-logo {
  padding: 18px 14px 12px !important;
}

.affiliate-portal-container .sidebar-logo :where(h1, h2, h3, p, span, strong),
.affiliate-portal-container .sidebar :where(.portal-title, .affiliate-portal-title) {
  color: #fff !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .32);
}

.affiliate-portal-container .portal-tablink {
  margin: 4px 12px !important;
  width: calc(100% - 24px) !important;
  border: 1px solid transparent !important;
  border-radius: 12px !important;
  background: transparent !important;
  color: rgba(255, 255, 255, .84) !important;
  font-weight: 650 !important;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease !important;
}

.affiliate-portal-container .portal-tablink:hover,
.affiliate-portal-container .portal-tablink:focus-visible {
  border-color: rgba(255, 255, 255, .12) !important;
  background: rgba(255, 255, 255, .07) !important;
  color: #fff !important;
  transform: translateX(2px);
}

.affiliate-portal-container .portal-tablink.active {
  border-color: rgba(255, 65, 78, .40) !important;
  background: linear-gradient(135deg, rgba(237, 28, 36, .34), rgba(255, 255, 255, .07)) !important;
  box-shadow: inset 3px 0 0 #ff3340, 0 8px 22px rgba(0, 0, 0, .18) !important;
  color: #fff !important;
}

.affiliate-portal-container .content-header {
  min-height: 72px !important;
  border-bottom: 1px solid rgba(18, 21, 31, .09) !important;
  background: rgba(255, 255, 255, .92) !important;
  box-shadow: 0 8px 22px rgba(8, 10, 18, .055) !important;
}

.affiliate-portal-container .content {
  background:
    radial-gradient(circle at 94% 2%, rgba(237, 28, 36, .055), transparent 26%),
    #f7f8fa !important;
}

.affiliate-portal-container :where(.content form, .wcu-card, .wcu-card-container, .wcu-table, table) {
  border-radius: 16px !important;
}

.affiliate-portal-container :where(button, .button, input[type="submit"], a.button) {
  color: #fff !important;
}

.affiliate-portal-container :where(button, .button, input[type="submit"], a.button):hover,
.affiliate-portal-container :where(button, .button, input[type="submit"], a.button):focus-visible {
  color: #fff !important;
  filter: brightness(1.06);
}

@media (max-width: 921px) {
	/* The homepage Why section is an alignfull UAGB block nested inside a
	   constrained core column. Neutralize the full-width offset on phones. */
	body.obsidian-premium-ui.home .obsidian-why.alignfull {
		left: auto !important;
		right: auto !important;
		width: 100% !important;
		max-width: 100% !important;
		margin-right: auto !important;
		margin-left: auto !important;
		padding-right: clamp(14px, 4vw, 24px) !important;
		padding-left: clamp(14px, 4vw, 24px) !important;
		transform: none !important;
	}

	body.obsidian-premium-ui.home .obsidian-why > .uagb-container-inner-blocks-wrap,
	body.obsidian-premium-ui.home .obsidian-why .uagb-block-f043867b,
	body.obsidian-premium-ui.home .obsidian-why .wp-block-columns {
		box-sizing: border-box !important;
		width: 100% !important;
		max-width: 100% !important;
		margin-right: auto !important;
		margin-left: auto !important;
	}

	body.obsidian-premium-ui.home .obsidian-why .wp-block-columns {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 12px !important;
	}

	body.obsidian-premium-ui.home .obsidian-why .obsidian-feature-card {
		box-sizing: border-box !important;
		width: 100% !important;
		min-width: 0 !important;
		max-width: none !important;
		margin: 0 !important;
	}

  body.obsidian-premium-ui #masthead,
  body.obsidian-premium-ui .site-header,
  body.obsidian-premium-ui .ast-primary-header-bar {
    background-size: 220px 82px, 220px 82px, 220px 82px, 220px 82px, 220px 82px, 100% 100%, 100% 100% !important;
  }

  body.obsidian-premium-ui .ast-primary-header-bar,
  body.obsidian-premium-ui .site-primary-header-wrap {
    min-height: 76px !important;
  }

  body.obsidian-premium-ui .site-header .custom-logo-link {
    padding: 4px 8px;
    border-radius: 12px;
  }

  body.obsidian-premium-ui .site-header .custom-logo-link img,
  body.obsidian-premium-ui .site-header .custom-logo {
    max-width: min(190px, 44vw) !important;
    max-height: 62px !important;
  }

  body.obsidian-premium-ui #ast-mobile-header .site-header-primary-section-right,
  body.obsidian-premium-ui .ast-mobile-header-wrap .site-header-primary-section-right {
    gap: 9px !important;
  }

  body.obsidian-premium-ui #ast-mobile-header [data-section="section-header-mobile-trigger"] .menu-toggle,
  body.obsidian-premium-ui .ast-mobile-header-wrap [data-section="section-header-mobile-trigger"] .menu-toggle {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
  }

  body.obsidian-premium-ui :where(.entry-header .entry-title, .woocommerce-products-header__title) {
    margin-bottom: 26px;
    font-size: clamp(32px, 8vw, 46px) !important;
  }

  body.obsidian-premium-ui.woocommerce :where(ul.products, .wc-block-product-template) li.product:hover {
    transform: none;
  }

  body.obsidian-premium-ui.obsidian-page-about #hero > .wp-block-columns {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  body.obsidian-premium-ui :where(.site-footer, footer) .footer-section {
    padding: 42px 24px 28px !important;
  }

  body.obsidian-premium-ui :where(.site-footer, footer) .footer-section::before {
		top: -36px;
		right: -155px;
		width: min(118vw, 680px);
		height: 300px;
		opacity: .17;
		background-size: auto 220px;
  }

	body.obsidian-premium-ui :where(.site-footer, footer) .footer-section::after {
		position: absolute;
		top: 0;
		right: 0;
		left: 0;
		z-index: 0;
		height: 1px;
		content: "";
		background: linear-gradient(90deg, transparent, rgba(237, 28, 36, .92), transparent);
		box-shadow: 0 0 18px rgba(237, 28, 36, .36);
		pointer-events: none;
	}
}

@media (max-width: 544px) {
	body.obsidian-premium-ui.home .obsidian-why.alignfull {
		padding-right: 12px !important;
		padding-left: 12px !important;
	}

	body.obsidian-premium-ui.home .obsidian-why :where(h2, h3) {
		max-width: 100%;
		font-size: clamp(1.75rem, 8.2vw, 2.5rem) !important;
		line-height: 1.08 !important;
		text-wrap: balance;
	}

	body.obsidian-premium-ui.home .obsidian-why :where(p, .wp-block-paragraph) {
		max-width: 100%;
		font-size: clamp(15px, 4.4vw, 18px) !important;
		line-height: 1.55 !important;
	}

	body.obsidian-premium-ui #obs-rocky-root .obs-rocky-launcher {
		right: max(10px, env(safe-area-inset-right)) !important;
		bottom: max(10px, env(safe-area-inset-bottom)) !important;
		max-width: calc(100vw - 20px);
		min-height: 48px;
		padding-right: 14px;
		padding-left: 12px;
		transform: scale(.88);
		transform-origin: right bottom;
	}

  body.obsidian-premium-ui .ast-primary-header-bar,
  body.obsidian-premium-ui .site-primary-header-wrap {
    min-height: 70px !important;
  }

  body.obsidian-premium-ui .site-header .custom-logo-link img,
  body.obsidian-premium-ui .site-header .custom-logo {
    max-width: min(158px, 40vw) !important;
    max-height: 54px !important;
  }

  body.obsidian-premium-ui :where(.wp-element-button, .wp-block-button__link, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button):not(.menu-link) {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  body.obsidian-premium-ui.single-product .ope-lot-panel__facts {
    grid-template-columns: 1fr;
  }

  body.obsidian-premium-ui.single-product .ope-lot-panel {
    margin-top: 18px;
    padding: 18px;
    border-radius: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.obsidian-premium-ui *,
  body.obsidian-premium-ui *::before,
  body.obsidian-premium-ui *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }

  body.obsidian-premium-ui.woocommerce :where(
    ul.products li.product .astra-shop-thumbnail-wrap,
    ul.products li.product .woocommerce-LoopProduct-link,
    .woocommerce-product-gallery__wrapper
  ) {
    animation: none !important;
  }
}

/*
 * Homepage premium canvas (v1.1.1)
 *
 * The homepage uses a centered content composition. Instead of leaving the
 * viewport edges as plain white gutters, give the entire page a quiet
 * laboratory-at-night canvas. The molecular marks live only at the far edges
 * and fade before the content column, retaining clean reading and shopping
 * surfaces.
 */
body.obsidian-premium-ui.home {
  background:
    radial-gradient(ellipse 36vw 34vw at -8% 16%, rgba(237, 28, 36, .24), transparent 70%),
    radial-gradient(ellipse 34vw 38vw at 108% 42%, rgba(160, 0, 28, .22), transparent 72%),
    linear-gradient(112deg, #110609 0%, #1a070b 38%, #10070a 68%, #050506 100%) !important;
  background-attachment: fixed !important;
}

body.obsidian-premium-ui.home #page,
body.obsidian-premium-ui.home .site,
body.obsidian-premium-ui.home .site-content {
  position: relative;
  isolation: isolate;
}

body.obsidian-premium-ui.home #page::before,
body.obsidian-premium-ui.home #page::after {
  position: fixed;
  top: 116px;
  bottom: 0;
  z-index: -1;
  width: min(23vw, 360px);
  content: "";
  opacity: .52;
  background-image:
    radial-gradient(circle at 18% 20%, rgba(255, 100, 110, .85) 0 2px, transparent 2.5px),
    radial-gradient(circle at 42% 58%, rgba(255, 255, 255, .36) 0 1px, transparent 1.7px),
    var(--ope-amino-motif);
  background-repeat: repeat, repeat, no-repeat;
  background-position: 0 0, 44px 58px, left 18% center;
  background-size: 170px 145px, 210px 170px, auto 360px;
  filter: drop-shadow(0 0 18px rgba(237, 28, 36, .16));
  pointer-events: none;
}

body.obsidian-premium-ui.home #page::before {
  left: 0;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.84) 52%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.84) 52%, transparent 100%);
}

body.obsidian-premium-ui.home #page::after {
  right: 0;
  transform: scaleX(-1);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.84) 52%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.84) 52%, transparent 100%);
}

/* Make the main homepage composition feel finished without forcing individual
 * block widths. Existing intentional full-width blocks continue to work. */
body.obsidian-premium-ui.home .site-main,
body.obsidian-premium-ui.home .entry-content {
  position: relative;
}

body.obsidian-premium-ui.home .entry-content > :where(.wp-block-group, .wp-block-cover, .wp-block-columns, .uagb-container, .uagb-block-layout) {
  position: relative;
}

/* Fine red molecular rules between the homepage's major sections. They are
 * intentionally not attached to every block, which avoids visual noise. */
body.obsidian-premium-ui.home .entry-content > :where(.wp-block-group, .wp-block-cover, .wp-block-columns, .uagb-container, .uagb-block-layout):not(:first-child)::before {
  position: absolute;
  top: -30px;
  right: clamp(18px, 4vw, 64px);
  left: clamp(18px, 4vw, 64px);
  height: 1px;
  content: "";
  opacity: .7;
  background:
    radial-gradient(circle at 50% 50%, #ff4b57 0 2px, transparent 2.8px),
    linear-gradient(90deg, transparent 0%, rgba(237,28,36,.12) 8%, rgba(237,28,36,.72) 28%, rgba(255,255,255,.30) 50%, rgba(237,28,36,.72) 72%, rgba(237,28,36,.12) 92%, transparent 100%);
  box-shadow: 0 0 16px rgba(237, 28, 36, .16);
  pointer-events: none;
}

@media (max-width: 921px) {
  body.obsidian-premium-ui.home {
    background:
      radial-gradient(ellipse 115% 26% at 50% 0%, rgba(237, 28, 36, .22), transparent 70%),
      linear-gradient(112deg, #150609 0%, #080609 100%) !important;
    background-attachment: scroll !important;
  }

  body.obsidian-premium-ui.home #page::before,
  body.obsidian-premium-ui.home #page::after {
    top: 74px;
    width: 28px;
    opacity: .32;
    background-position: left top, 0 112px, left 6% top 120px;
    background-size: 105px 126px, 132px 154px, auto 250px;
    filter: none;
  }

  /* Creates a six-pixel molecular frame without materially reducing content
     width. Header remains naturally full width; only the scrolling homepage
     content reveals the surrounding brand canvas. */
  body.obsidian-premium-ui.home .site-content {
    width: calc(100% - 12px) !important;
    max-width: none !important;
    margin-inline: auto !important;
    box-shadow: 0 0 0 1px rgba(237, 28, 36, .11), 0 18px 36px rgba(0, 0, 0, .12);
  }

  body.obsidian-premium-ui.home .entry-content > :where(.wp-block-group, .wp-block-cover, .wp-block-columns, .uagb-container, .uagb-block-layout):not(:first-child)::before {
    right: 16px;
    left: 16px;
    top: -20px;
    opacity: .42;
  }
}

@media (max-width: 544px) {
  body.obsidian-premium-ui.home #page::before,
  body.obsidian-premium-ui.home #page::after {
    top: 68px;
    width: 18px;
    opacity: .24;
    background-size: 86px 118px, 110px 142px, auto 210px;
  }

  body.obsidian-premium-ui.home .site-content {
    width: calc(100% - 8px) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.obsidian-premium-ui.home {
    background-attachment: scroll !important;
  }
}
