/* Peptis Elementor/WooCommerce support styles */

/* Elementor marketing pages: hide Astra page title + author/date byline */
body.home .entry-header,
body.home .entry-meta,
body.home .post-meta,
body.page-slug-home .entry-header,
body.page-slug-home .entry-meta,
body.page-slug-coa-batch-documentation .entry-header,
body.page-slug-coa-batch-documentation .entry-meta,
body.page-slug-about .entry-header,
body.page-slug-about .entry-meta,
body.page-slug-about h1.entry-title,
body.elementor-page-title-hidden .entry-header,
body.elementor-page-title-hidden .entry-meta,
body.elementor-page-title-hidden .post-meta,
body.elementor-page-title-hidden h1.entry-title{
  display:none!important;
}

/* Collapse empty header band when only meta was rendered */
body.home .site-content > .ast-container > .content-area > article > .entry-header,
body.elementor-page-title-hidden .site-content > .ast-container > .content-area > article > .entry-header{
  margin:0!important;
  padding:0!important;
  min-height:0!important;
  border:0!important;
}

/* About (and similar HTML widgets): full-bleed inside Astra boxed layout */
body.elementor-page .site-content .ast-container,
body.elementor-page .entry-content{
  max-width:100%;
}
body.elementor-page .entry-content > .elementor{
  width:100%;
  max-width:none;
}
.peptis-about-bleed,
#peptis-about,
.peptis-home-bleed,
#peptis-home-hero{
  width:100vw;
  max-width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
}

/* Sticky dark header with white logo */
.elementor-location-header{
  position:sticky;
  top:0;
  z-index:100;
}

/* When Theme Builder header is active, hide Astra's default header (brown logo on cream) */
body:has(.elementor-location-header) #masthead,
body:has(.elementor-location-header) .site-header,
body:has(.elementor-location-header) .ast-mobile-header-wrap,
body:has(.elementor-location-header) .ast-above-header-wrap,
body:has(.elementor-location-header) .ast-below-header-wrap{
  display:none!important;
}
.peptis-header-logo img{
  height:44px;
  width:auto;
  display:block;
}

/* Homepage category cards: keep links clickable (Elementor overlay-safe) */
.peptis-cat-card{
  position:relative;
  z-index:2;
  cursor:pointer;
}
.peptis-cat-card img{
  pointer-events:none;
}

:root{--peptis-bg:#fff8f1;--peptis-surface:#faf3ea;--peptis-surface-high:#eee7de;--peptis-primary:#5A171D;--peptis-primary-deep:#3d020a;--peptis-gold:#C7A86B;--peptis-sage:#7E8F6E;--peptis-ink:#1e1b16;--peptis-muted:#544242;--peptis-outline:#dac1c0}body{background:var(--peptis-bg);color:var(--peptis-ink)}h1,h2,h3,.elementor-heading-title{font-family:'Noto Serif',Georgia,serif}.button,.elementor-button,.woocommerce a.button,.woocommerce button.button{border-radius:4px;background:var(--peptis-primary);color:var(--peptis-bg);font-family:Manrope,Arial,sans-serif;font-weight:700}.button:hover,.elementor-button:hover{background:var(--peptis-primary-deep);color:var(--peptis-bg)}.peptis-coa-section{background:var(--peptis-surface);border:1px solid var(--peptis-outline);border-radius:12px;padding:24px;margin:24px 0}.peptis-coa-select{width:100%;max-width:420px;margin:12px 0;padding:12px;border:1px solid var(--peptis-outline);border-radius:4px}.peptis-coa-download{display:inline-block;margin-top:8px;font-weight:700;color:var(--peptis-primary)}.peptis-product-mode{margin:16px 0}.peptis-unavailable{border:1px solid var(--peptis-outline);background:var(--peptis-surface-high);padding:14px;border-radius:8px}
/* Bundle single product: keep bundled line items tidy inside add-to-cart only */
.single-product .woocommerce-product-details__short-description{margin-bottom:1rem}
.single-product .bundled_product{margin:12px 0;padding:12px;border:1px solid var(--peptis-outline);border-radius:8px;background:#fff}
.single-product .bundled_product .bundled_product_images img{max-width:72px;height:auto}
.single-product .elementor-widget-woocommerce-product-title .elementor-heading-title{margin:0}.peptis-ruo-acknowledgement{background:var(--peptis-surface);border:1px solid var(--peptis-outline);padding:12px;border-radius:8px}
