/*
Theme Name: LoveCircles Kadence
Theme URI: http://localhost:8090
Description: LoveCircles child theme of Kadence for SEO content, shop sidebar, and books/courses.
Author: LoveCircles
Template: kadence
Version: 1.5.22
Text Domain: lovecircle-kadence
*/

:root {
  --lc-ink: #1c1412;
  --lc-muted: #5c4a45;
  --lc-paper: #f7f1ea;
  --lc-blush: #e8c4b8;
  --lc-peach: #f0b89a;
  --lc-rose: #d46a8a;
  --lc-orchid: #9b6bc7;
  --lc-deep: #3a221c;
  --lc-title-purple: #7a3f9c;
  --lc-title-purple-hover: #5e2c7d;
  --lc-link-blue: #2563c9;
  --lc-link-blue-hover: #1c4ea0;
  --lc-brand-gradient: linear-gradient(105deg, #f0b89a 0%, #e07aad 48%, #9b6bc7 100%);
  --lc-serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --lc-sans: "Outfit", system-ui, sans-serif;
  --lc-topbar-h: 38px;
  --lc-radius: 12px;
}

body {
  font-family: var(--lc-sans);
  color: var(--lc-ink);
  background:
    radial-gradient(ellipse at top left, rgba(240, 184, 154, 0.28), transparent 42%),
    radial-gradient(ellipse at top right, rgba(155, 107, 199, 0.12), transparent 40%),
    linear-gradient(180deg, #fbf7f2 0%, var(--lc-paper) 45%, #f3ebe3 100%);
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.site-branding .site-title {
  font-family: var(--lc-serif);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ---------- Branding ---------- */

.site-header-wrap,
#masthead {
  background:
    linear-gradient(180deg, rgba(255, 252, 248, 0.96) 0%, rgba(251, 247, 242, 0.92) 100%);
  border-bottom: 1px solid rgba(58, 34, 28, 0.08);
  transition: padding 0.25s ease, box-shadow 0.25s ease;
  overflow: visible !important;
  /* Stay above page content, but do not cover archive cards */
  z-index: 40;
  pointer-events: none;
}

.site-header-inner-wrap,
.site-header-upper-wrap,
.site-main-header-wrap,
.site-header-row-container-inner,
.header-navigation,
.main-navigation,
.primary-menu-container {
  overflow: visible !important;
  pointer-events: auto;
}

.site-header-wrap a,
#masthead a,
.site-header-wrap button,
#masthead button,
.site-header-wrap input,
#masthead input,
.site-header-wrap select,
#masthead select,
.site-header-wrap textarea,
#masthead textarea,
.site-header-wrap [role="button"],
#masthead [role="button"] {
  pointer-events: auto;
}

/* Sticky header must not leave an invisible full-page hit layer */
.site-header-wrap.kadence-sticky-header.item-is-fixed,
#masthead.kadence-sticky-header.item-is-fixed {
  z-index: 40;
  height: auto !important;
  max-height: none;
  pointer-events: none;
}

.site-header-wrap.kadence-sticky-header.item-is-fixed .site-header-inner-wrap,
#masthead.kadence-sticky-header.item-is-fixed .site-header-inner-wrap {
  pointer-events: auto;
}

body.lc-header-compact .site-header-wrap,
body.lc-header-compact #masthead {
  box-shadow: 0 8px 24px rgba(28, 20, 18, 0.06);
}

.site-header-inner-wrap,
.site-main-header-wrap .site-header-row-container-inner {
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}

body.lc-header-compact .site-header-inner-wrap,
body.lc-header-compact .site-main-header-wrap .site-header-row-container-inner {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.site-branding {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.05rem;
}

.site-branding .site-title,
.site-branding .site-title a {
  color: var(--lc-deep);
  font-family: var(--lc-serif);
  font-size: clamp(1.15rem, 1.55vw, 1.35rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.site-branding .site-title a span,
.lc-brand-accent {
  color: var(--lc-rose);
}

.site-branding .site-description {
  display: block !important;
  margin: 0;
  max-width: 16rem;
  font-family: var(--lc-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--lc-muted);
  opacity: 0.9;
}

.site-branding .custom-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  margin-bottom: 0;
}

.site-branding .custom-logo,
.custom-logo {
  display: block;
  width: auto;
  height: 30px;
  max-height: 30px;
  max-width: min(220px, 50vw);
}

body.lc-header-compact .site-branding .custom-logo,
body.lc-header-compact .custom-logo {
  height: 28px;
  max-height: 28px;
}

@media (max-width: 767px) {
  .site-branding .custom-logo,
  .custom-logo {
    height: 28px;
    max-height: 28px;
  }
}

/* ---------- Navigation ---------- */

.main-navigation .primary-menu-container > ul > li > a,
.primary-menu > li > a {
  font-family: var(--lc-sans);
  font-weight: 500;
  font-size: 0.84rem;
  letter-spacing: 0.01em;
  color: var(--lc-deep) !important;
  padding: 0.28rem 0.55rem !important;
  position: relative;
  transition: color 0.2s ease, letter-spacing 0.2s ease;
}

.main-navigation .primary-menu-container > ul > li > a::after,
.primary-menu > li > a::after {
  content: "";
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  bottom: 0.1rem;
  height: 1px;
  background: var(--lc-rose);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.main-navigation .primary-menu-container > ul > li > a:hover,
.primary-menu > li > a:hover,
.main-navigation .primary-menu-container > ul > li.current-menu-item > a,
.primary-menu > li.current-menu-item > a {
  color: var(--lc-rose) !important;
  letter-spacing: 0.03em;
}

.main-navigation .primary-menu-container > ul > li > a:hover::after,
.primary-menu > li > a:hover::after,
.main-navigation .primary-menu-container > ul > li.current-menu-item > a::after,
.primary-menu > li.current-menu-item > a::after {
  transform: scaleX(1);
}

.menu-item-lc-cta > a.lc-nav-cta,
#site-navigation .menu-item-lc-cta > a.lc-nav-cta,
#mobile-site-navigation .menu-item-lc-cta > a.lc-nav-cta,
.header-navigation .menu-item-lc-cta > a,
.lc-nav-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin-left: 0.25rem;
  padding: 0.32rem 0.75rem !important;
  border-radius: 10px;
  background: linear-gradient(105deg, #d46a8a 0%, #9b6bc7 100%) !important;
  color: #fff8f4 !important;
  font-weight: 600 !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.02em;
  text-decoration: none !important;
  box-shadow: none;
  transition: filter 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.menu-item-lc-cta > a.lc-nav-cta::after,
#site-navigation .menu-item-lc-cta > a.lc-nav-cta::after,
a.lc-nav-cta::after {
  display: none !important;
}

.menu-item-lc-cta > a.lc-nav-cta:hover,
.menu-item-lc-cta > a.lc-nav-cta:focus,
.menu-item-lc-cta.current-menu-item > a.lc-nav-cta,
#site-navigation .menu-item-lc-cta > a.lc-nav-cta:hover,
#site-navigation .menu-item-lc-cta > a.lc-nav-cta:focus,
#mobile-site-navigation .menu-item-lc-cta > a.lc-nav-cta:hover,
.header-navigation .menu-item-lc-cta > a:hover,
.lc-nav-cta:hover,
.lc-nav-cta:focus {
  background: linear-gradient(105deg, #c45a7a 0%, #8a5bb5 100%) !important;
  color: #fff8f4 !important;
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.main-navigation .sub-menu,
.primary-menu .sub-menu {
  border: 1px solid rgba(58, 34, 28, 0.08);
  border-radius: var(--lc-radius);
  background: #fffcf8;
  box-shadow: 0 16px 40px rgba(28, 20, 18, 0.1);
  padding: 0.25rem 0;
  z-index: 60 !important;
  pointer-events: auto;
}

.main-navigation .sub-menu a,
.primary-menu .sub-menu a {
  font-family: var(--lc-sans);
  font-size: 0.82rem;
  padding: 0.36rem 0.8rem !important;
  color: var(--lc-deep) !important;
  background: #fffcf8 !important;
}

.main-navigation .sub-menu a:hover,
.main-navigation .sub-menu a:focus,
.primary-menu .sub-menu a:hover,
.primary-menu .sub-menu a:focus {
  color: #3a221c !important;
  background: rgba(232, 196, 184, 0.45) !important;
}

/* ---------- Announcement bar ---------- */

body.has-lc-topbar {
  --lc-topbar-h: 38px;
}

.lc-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 50;
  min-height: var(--lc-topbar-h, 38px);
  background: linear-gradient(90deg, #3a221c 0%, #6b3558 48%, #7a4ea8 100%);
  color: #fff8f4;
  box-shadow: 0 2px 10px rgba(28, 20, 18, 0.16);
}

.lc-topbar-spacer {
  height: var(--lc-topbar-h, 38px);
  width: 100%;
  flex-shrink: 0;
}

.lc-topbar-inner {
  width: min(1240px, calc(100% - 1.75rem));
  margin: 0 auto;
  min-height: var(--lc-topbar-h, 38px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.25rem 0;
}

.lc-topbar-text {
  margin: 0;
  font-family: var(--lc-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.35;
}

.lc-topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.lc-topbar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.28rem 0.75rem;
  border-radius: 10px;
  background: #fff8f4;
  color: #3a221c !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.78rem;
  white-space: nowrap;
}

.lc-topbar-btn:hover,
.lc-topbar-btn:focus {
  background: #fff8f4 !important;
  color: #3a221c !important;
}

.lc-topbar-link {
  color: #fff8f4 !important;
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  opacity: 0.95;
}

.lc-topbar-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

body.has-lc-topbar .kadence-sticky-header.item-is-fixed,
body.has-lc-topbar #masthead.kadence-sticky-header.item-is-fixed,
body.has-lc-topbar .site-header-wrap.kadence-sticky-header.item-is-fixed {
  top: var(--lc-topbar-h, 38px) !important;
}

@media (max-width: 820px) {
  .lc-topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.4rem 0;
  }
  .lc-topbar-actions {
    width: 100%;
  }
}

/* ---------- Trust strip ---------- */

.lc-trust-strip {
  position: relative;
  z-index: 1;
  border-bottom: 1px solid rgba(58, 34, 28, 0.08);
  background: rgba(255, 252, 248, 0.78);
  /* Do not sit above header dropdowns */
  pointer-events: none;
}

.lc-trust-strip-inner {
  pointer-events: none;
}

.lc-trust-strip-inner {
  width: min(1240px, calc(100% - 1.75rem));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem 1rem;
  padding: 0.32rem 0;
  font-family: var(--lc-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--lc-muted);
  text-align: center;
}

.lc-trust-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(58, 34, 28, 0.28);
}

/* ---------- Compact page / archive titles (override Kadence 200px hero) ---------- */

.entry-hero.page-hero-section .entry-header,
.entry-hero.product-hero-section .entry-header,
.entry-hero.archive-hero-section .entry-header,
body.page .entry-hero.page-hero-section .entry-header,
body.archive .entry-hero .entry-header,
body.search .entry-hero .entry-header,
body.woocommerce-page .entry-hero .entry-header {
  min-height: 0 !important;
  height: auto !important;
  padding: 0.45rem 0 !important;
  margin: 0 !important;
  display: block !important;
  align-items: flex-start !important;
}

.entry-hero.page-hero-section,
.entry-hero.product-hero-section,
.entry-hero.archive-hero-section,
body.page .entry-hero,
body.archive .entry-hero,
body.search .entry-hero,
body.woocommerce-page .entry-hero {
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border-bottom: 1px solid rgba(58, 34, 28, 0.08);
}

.entry-hero.page-hero-section .entry-hero-container-inner,
.entry-hero.product-hero-section .entry-hero-container-inner,
body.page .entry-hero .entry-hero-container-inner,
body.archive .entry-hero .entry-hero-container-inner,
body.woocommerce-page .entry-hero .entry-hero-container-inner {
  min-height: 0 !important;
  padding: 0 !important;
  display: block !important;
}

.entry-hero .hero-section-overlay,
.post-archive-hero-section .hero-section-overlay {
  display: none !important;
  pointer-events: none !important;
}

/* Archive cards: keep title/thumbnail links above any stray overlays */
body.archive #archive-container,
body.archive .entry-list-item,
body.archive .loop-entry,
body.archive .entry-content-wrap,
body.archive .entry-title,
body.archive .entry-title a,
body.archive a.post-thumbnail,
body.archive a.post-more-link {
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

/* Listing affordance: purplish post titles, blue "Read More" to signal clicking */
body.archive .loop-entry .entry-title a,
body.blog .loop-entry .entry-title a,
body.search .loop-entry .entry-title a,
body.home .loop-entry .entry-title a {
  color: var(--lc-title-purple);
  text-decoration: none;
  transition: color 0.15s ease;
}

body.archive .loop-entry .entry-title a:hover,
body.archive .loop-entry .entry-title a:focus,
body.blog .loop-entry .entry-title a:hover,
body.blog .loop-entry .entry-title a:focus,
body.search .loop-entry .entry-title a:hover,
body.search .loop-entry .entry-title a:focus,
body.home .loop-entry .entry-title a:hover,
body.home .loop-entry .entry-title a:focus {
  color: var(--lc-title-purple-hover);
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.archive a.post-more-link,
body.blog a.post-more-link,
body.search a.post-more-link,
body.home a.post-more-link {
  color: var(--lc-link-blue) !important;
  font-weight: 600;
  text-decoration: none;
}

body.archive a.post-more-link:hover,
body.archive a.post-more-link:focus,
body.blog a.post-more-link:hover,
body.blog a.post-more-link:focus,
body.search a.post-more-link:hover,
body.search a.post-more-link:focus,
body.home a.post-more-link:hover,
body.home a.post-more-link:focus {
  color: var(--lc-link-blue-hover) !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.archive a.post-more-link .kadence-svg-iconset,
body.blog a.post-more-link .kadence-svg-iconset,
body.search a.post-more-link .kadence-svg-iconset,
body.home a.post-more-link .kadence-svg-iconset {
  color: inherit;
}

.entry-hero.page-hero-section .hero-container,
.entry-hero.product-hero-section .hero-container,
body.page .entry-hero .hero-container,
body.archive .entry-hero .hero-container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.entry-hero.page-hero-section .entry-title,
.entry-hero.product-hero-section .entry-title,
body.page .entry-header .entry-title,
body.archive .entry-header .entry-title,
body.woocommerce-page .entry-header .entry-title {
  margin: 0 !important;
  font-family: var(--lc-serif);
  font-size: clamp(1.2rem, 1.8vw, 1.45rem) !important;
  font-weight: 600;
  line-height: 1.2;
  color: var(--lc-deep);
}

body.page .content-area,
body.archive .content-area,
body.search .content-area,
body.woocommerce-page .content-area {
  margin-top: 0.75rem !important;
  margin-bottom: 2rem !important;
}

body.page .entry-content-wrap,
body.archive .entry-content-wrap,
body.woocommerce-page .entry-content-wrap {
  padding-top: 1rem !important;
}

/* ---------- Buttons ---------- */

.button,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.lc-shop-cta {
  border-radius: var(--lc-radius) !important;
}

.lc-shop-panel,
.lc-ad-panel,
.lc-related-panel {
  border: 1px solid rgba(28, 20, 18, 0.12);
  background: rgba(255, 252, 248, 0.9);
  padding: 1.1rem 1.15rem;
  margin-bottom: 1.25rem;
  border-radius: var(--lc-radius);
}

.lc-shop-panel h2,
.lc-ad-panel h2,
.lc-related-panel h2 {
  margin: 0 0 0.7rem;
  font-size: 1.05rem;
  color: var(--lc-deep);
}

.lc-shop-panel ul {
  margin: 0;
  padding-left: 1.1rem;
}

.lc-shop-cta {
  display: inline-block;
  margin-top: 0.6rem;
  padding: 0.55rem 0.95rem;
  background: var(--lc-deep);
  color: #fff8f4 !important;
  text-decoration: none !important;
}

/* Shop: compact product cards first; page copy under the grid */
.woocommerce-shop ul.products,
.tax-product_cat ul.products,
.lc-product-catalog-page ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(13rem, 14.5rem));
  gap: 1.15rem;
  justify-content: start;
  margin: 0 0 2rem;
  float: none;
  width: 100%;
  max-width: 48rem;
}

.woocommerce-shop ul.products::before,
.woocommerce-shop ul.products::after,
.tax-product_cat ul.products::before,
.tax-product_cat ul.products::after,
.lc-product-catalog-page ul.products::before,
.lc-product-catalog-page ul.products::after {
  display: none !important;
  content: none !important;
}

.woocommerce-shop ul.products li.product,
.tax-product_cat ul.products li.product,
.lc-product-catalog-page ul.products li.product {
  width: auto !important;
  max-width: none;
  margin: 0 !important;
  float: none !important;
  clear: none !important;
  padding: 0.85rem 0.85rem 1rem;
  border: 1px solid rgba(28, 20, 18, 0.1);
  border-radius: var(--lc-radius);
  background: rgba(255, 252, 248, 0.95);
  box-shadow: none;
}

.woocommerce-shop ul.products li.product .woocommerce-loop-image-link,
.tax-product_cat ul.products li.product .woocommerce-loop-image-link,
.lc-product-catalog-page ul.products li.product .woocommerce-loop-image-link {
  display: block;
  margin: 0 0 0.65rem;
  overflow: hidden;
  border-radius: calc(var(--lc-radius) - 2px);
  background: rgba(232, 196, 184, 0.2);
}

.woocommerce-shop ul.products li.product img,
.tax-product_cat ul.products li.product img,
.lc-product-catalog-page ul.products li.product img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.woocommerce-shop ul.products li.product .product-details,
.tax-product_cat ul.products li.product .product-details,
.lc-product-catalog-page ul.products li.product .product-details {
  padding: 0 !important;
}

.woocommerce-shop ul.products li.product .woocommerce-loop-product__title,
.tax-product_cat ul.products li.product .woocommerce-loop-product__title,
.lc-product-catalog-page ul.products li.product .woocommerce-loop-product__title {
  font-size: 1rem;
  line-height: 1.3;
  margin: 0 0 0.4rem;
  font-weight: 600;
}

.woocommerce-shop ul.products li.product .woocommerce-loop-product__title a,
.tax-product_cat ul.products li.product .woocommerce-loop-product__title a,
.lc-product-catalog-page ul.products li.product .woocommerce-loop-product__title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.woocommerce-shop ul.products li.product .product-excerpt,
.tax-product_cat ul.products li.product .product-excerpt,
.lc-product-catalog-page ul.products li.product .product-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--lc-muted);
  margin: 0 0 0.55rem;
}

.woocommerce-shop ul.products li.product .product-excerpt p,
.tax-product_cat ul.products li.product .product-excerpt p,
.lc-product-catalog-page ul.products li.product .product-excerpt p {
  margin: 0;
}

.woocommerce-shop ul.products li.product .price,
.tax-product_cat ul.products li.product .price,
.lc-product-catalog-page ul.products li.product .price {
  font-size: 0.9rem;
  margin: 0 0 0.5rem;
}

.woocommerce-shop ul.products li.product .button,
.woocommerce-shop ul.products li.product a.button,
.tax-product_cat ul.products li.product .button,
.tax-product_cat ul.products li.product a.button,
.lc-product-catalog-page ul.products li.product .button,
.lc-product-catalog-page ul.products li.product a.button {
  font-size: 0.82rem;
  padding: 0.45rem 0.7rem !important;
  min-height: 0;
  line-height: 1.2;
  width: 100%;
  text-align: center;
}

/* Kill Kadence hover-overlay button so it never covers title/excerpt */
.woocommerce-shop ul.products.woo-archive-action-on-hover li.product .entry-content-wrap,
.tax-product_cat ul.products.woo-archive-action-on-hover li.product .entry-content-wrap,
.lc-product-catalog-page ul.products.woo-archive-action-on-hover li.product .entry-content-wrap,
.woocommerce-shop ul.products.woo-archive-action-on-hover li.product:hover .entry-content-wrap,
.tax-product_cat ul.products.woo-archive-action-on-hover li.product:hover .entry-content-wrap,
.lc-product-catalog-page ul.products.woo-archive-action-on-hover li.product:hover .entry-content-wrap,
.woocommerce-shop ul.products.woo-archive-action-on-hover li.product:focus-within .entry-content-wrap,
.tax-product_cat ul.products.woo-archive-action-on-hover li.product:focus-within .entry-content-wrap,
.lc-product-catalog-page ul.products.woo-archive-action-on-hover li.product:focus-within .entry-content-wrap {
  transform: none !important;
  position: relative;
}

.woocommerce-shop ul.products.woo-archive-action-on-hover li.product .product-action-wrap,
.tax-product_cat ul.products.woo-archive-action-on-hover li.product .product-action-wrap,
.lc-product-catalog-page ul.products.woo-archive-action-on-hover li.product .product-action-wrap,
.woocommerce-shop ul.products.woo-archive-action-on-hover li.product:hover .product-action-wrap,
.tax-product_cat ul.products.woo-archive-action-on-hover li.product:hover .product-action-wrap,
.lc-product-catalog-page ul.products.woo-archive-action-on-hover li.product:hover .product-action-wrap,
.woocommerce-shop ul.products.woo-archive-action-on-hover li.product:focus-within .product-action-wrap,
.tax-product_cat ul.products.woo-archive-action-on-hover li.product:focus-within .product-action-wrap,
.lc-product-catalog-page ul.products.woo-archive-action-on-hover li.product:focus-within .product-action-wrap {
  position: static !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  opacity: 1 !important;
  margin-top: 0.55rem !important;
  padding: 0 !important;
  width: 100% !important;
  transition: none !important;
}

.woocommerce-shop .page-description.lc-shop-below {
  margin-top: 1.75rem;
  clear: both;
}

.woocommerce-shop .lc-page[data-page="shop"] {
  margin-top: 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(28, 20, 18, 0.1);
}

.woocommerce-shop .lc-page[data-page="shop"] .lc-dek {
  margin-top: 0;
  font-size: 1rem;
}

.lc-product-catalog-page .lc-page {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(28, 20, 18, 0.1);
}

.lc-product-catalog-page .lc-page .lc-dek {
  margin-top: 0;
  font-size: 1rem;
}

.lc-ad-slot {
  min-height: 250px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(184, 92, 74, 0.35);
  color: var(--lc-muted);
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.45);
}

.lc-draft-badge {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.15rem 0.45rem;
  font-size: 0.75rem;
  border-radius: 4px;
  background: #f3e0d8;
  color: var(--lc-deep);
}

/* Book-chapter article layout */
.lc-chapter { max-width: 46rem; }
.lc-dek { font-size: 1.15rem; color: #5c4a45; margin-bottom: 1.5rem; }
.lc-toc { border: 1px solid rgba(28,20,18,.12); background: rgba(255,252,248,.9); padding: 1rem 1.25rem; margin: 1.5rem 0 2rem; border-radius: var(--lc-radius); }
.lc-toc h2 { margin: 0 0 .75rem; font-size: 1.05rem; }
.lc-toc ol { margin: 0; padding-left: 1.2rem; }
.lc-toc li { margin: .35rem 0; }
.lc-figure { margin: 1.75rem 0; }
.lc-figure img { width: 100%; height: auto; display: block; border-radius: 2px; }
.lc-figure figcaption { margin-top: .55rem; font-size: .9rem; color: #5c4a45; }
.lc-pull { margin: 1.75rem 0; padding: 1rem 1.25rem; border-left: 3px solid #b85c4a; background: rgba(232,196,184,.25); }
.lc-pull p { margin: 0; }
.lc-table { width: 100%; border-collapse: collapse; margin: 1.25rem 0 1.75rem; font-size: .95rem; }
.lc-table th, .lc-table td { border: 1px solid rgba(28,20,18,.12); padding: .65rem .7rem; text-align: left; vertical-align: top; }
.lc-table th { background: rgba(255,252,248,.95); }
.lc-next { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(28,20,18,.12); color: #5c4a45; }
.lc-buy-strip { margin: 1.5rem 0 2rem; padding: 1rem 1.25rem; border: 1px solid rgba(28,20,18,.12); background: rgba(255,252,248,.95); border-radius: var(--lc-radius); }
.lc-buy-strip p { margin: 0 0 .65rem; }
.lc-buy-strip ul { margin: 0; padding-left: 1.2rem; }
.lc-buy-strip li { margin: .4rem 0; }
.lc-hero-img { width: 100%; height: auto; max-height: min(70vh, 42rem); object-fit: contain; }
.entry-content h2 { margin-top: 2.25rem; }
.entry-content h3 { margin-top: 1.5rem; }

/* ---------- Premium footer ---------- */

.lc-site-footer {
  margin-top: 3.5rem;
  background:
    linear-gradient(180deg, #2a1814 0%, #3a221c 55%, #2f1a28 100%);
  color: #f4ebe4;
}

.lc-site-footer a {
  color: #f4ebe4;
  text-decoration: none;
}

.lc-site-footer a:hover {
  color: var(--lc-peach);
}

.lc-site-footer-inner {
  width: min(1240px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 2rem 1.75rem;
  padding: 3.25rem 0 2.5rem;
}

.lc-footer-brand-name {
  margin: 0 0 0.65rem;
  font-family: var(--lc-serif);
  font-size: 1.65rem;
  font-weight: 600;
}

.lc-footer-brand-copy {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(244, 235, 228, 0.82);
  max-width: 18rem;
}

.lc-footer-heading {
  margin: 0 0 0.85rem;
  font-family: var(--lc-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 235, 228, 0.7);
}

.lc-footer-links,
.lc-footer-social {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lc-footer-links li,
.lc-footer-social li {
  margin: 0 0 0.55rem;
}

.lc-footer-links a,
.lc-footer-social a {
  font-size: 0.95rem;
}

.lc-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.lc-footer-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.lc-footer-form input[type="email"] {
  flex: 1 1 10rem;
  min-width: 0;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(244, 235, 228, 0.22);
  border-radius: var(--lc-radius);
  background: rgba(255, 255, 255, 0.06);
  color: #fff8f4;
  font-family: var(--lc-sans);
}

.lc-footer-form input[type="email"]::placeholder {
  color: rgba(244, 235, 228, 0.55);
}

.lc-footer-form-msg {
  flex-basis: 100%;
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: #bfe3b8;
}

.lc-footer-form-msg.is-error {
  color: #f0b0a0;
}

.lc-footer-form button {
  padding: 0.7rem 1.05rem;
  border: 0;
  border-radius: var(--lc-radius);
  background: var(--lc-brand-gradient);
  color: #1c1412;
  font-family: var(--lc-sans);
  font-weight: 600;
  cursor: pointer;
}

.lc-site-footer-bottom {
  width: min(1240px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 1.1rem 0 1.5rem;
  border-top: 1px solid rgba(244, 235, 228, 0.12);
  font-size: 0.82rem;
  color: rgba(244, 235, 228, 0.65);
}

.lc-site-footer-bottom p {
  margin: 0;
}

@media (max-width: 960px) {
  .lc-site-footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .lc-site-footer-inner {
    grid-template-columns: 1fr;
    padding-top: 2.5rem;
  }
  .lc-trust-strip-inner {
    gap: 0.35rem 0.7rem;
  }
  .lc-trust-dot {
    display: none;
  }
}

/* Hide default Kadence footer chrome when custom footer is present */
body:has(.lc-site-footer) .site-footer-wrap,
body:has(.lc-site-footer) .site-bottom-footer-wrap {
  display: none !important;
}
