/*
Theme Name: Blocksy Child
Theme URI: https://creativethemes.com/blocksy/
Description: Leaferry Quiet Luxury E-commerce Theme (Blocksy Child)
Author: Leaferry Studio
Author URI: https://leaferry.com
Template: blocksy
Version: 1.0.0
Text Domain: blocksy-child
*/

/* ==========================================================================
   1. CORE DESIGN TOKENS & JADE PLATE PALETTE
   ========================================================================== */
:root {
  /* Alukas core tokens completely eradicated */


  /* 淡青半透温润玉盘质感 (Translucent Celadon Jade Plate) */
  --jade-plate-bg: rgba(255, 255, 255, 0.45);
  --jade-plate-glow: 0 0 0 0 transparent;
  --jade-plate-border: 1px solid rgba(24, 51, 38, 0.05);
  --jade-plate-shadow: 
    0 2px 6px -1px rgba(24, 51, 38, 0.03),
    0 8px 22px -3px rgba(24, 51, 38, 0.05);
  --jade-plate-hover-shadow: 
    0 4px 16px -2px rgba(24, 51, 38, 0.06),
    0 16px 36px -4px rgba(24, 51, 38, 0.10),
    0 28px 56px -8px rgba(24, 51, 38, 0.08);
}

/* ==========================================================================
   2. ORIENTAL ZEN AMBIENT MINERAL MESH (环境微光)
   ========================================================================== */
body {
  background-color: var(--theme-palette-color-7, #FAF8F5) !important;
  position: relative;
  overflow-x: hidden;
}
.pls-site-wrapper {
  background-color: transparent !important;
  position: relative;
  z-index: 1;
}
.zen-atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.zen-atmosphere .glow-left-celadon {
  position: absolute;
  top: -220px;
  left: -160px;
  width: 820px;
  height: 820px;
  background: transparent !important;
  border-radius: 50%;
  filter: blur(88px);
  opacity: 0.72;
}
.zen-atmosphere .glow-right-apricot {
  position: absolute;
  top: -140px;
  right: -180px;
  width: 780px;
  height: 780px;
  background: transparent !important;
  border-radius: 50%;
  filter: blur(92px);
  opacity: 0.78;
}
.zen-atmosphere .glow-mid-lilac {
  display: none !important;
  position: absolute;
  top: 1250px;
  left: -240px;
  width: 850px;
  height: 850px;
  background: radial-gradient(circle, #E3DAF6 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.42;
}
.zen-atmosphere .glow-lower-water {
  display: none !important;
  position: absolute;
  top: 2200px;
  right: -160px;
  width: 740px;
  height: 740px;
  background: radial-gradient(circle, #D6F0E6 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.52;
}

@media (max-width: 767px) {
  .zen-atmosphere .glow-left-celadon {
    width: 480px;
    height: 480px;
    top: -100px;
    left: -120px;
    filter: blur(60px);
    opacity: 0.65;
  }
  .zen-atmosphere .glow-right-apricot {
    width: 460px;
    height: 460px;
    top: -60px;
    right: -140px;
    filter: blur(65px);
    opacity: 0.70;
  }
}

/* ==========================================================================
   11. GLOBAL SITE-WIDE TYPOGRAPHY HARMONIZATION
   Aligns Shop, Single Product, Cart, Checkout, and Blog with Museum Homepage
   Serif: Cormorant Garamond | Sans: Plus Jakarta Sans
   ========================================================================== */
:root {
  --font-display: var(--theme-headings-font-family, 'Cormorant Garamond', Georgia, serif);
  --font-serif: var(--theme-headings-font-family, 'Cormorant Garamond', Georgia, serif);
  --font-sans: var(--theme-font-family, 'Plus Jakarta Sans', sans-serif);
}

/* Aligns legacy serif classes to Blocksy headings font */
.serif,
.pls-secondary-font {
  font-family: var(--theme-headings-font-family, 'Cormorant Garamond', Georgia, serif);
  font-weight: 500;
  letter-spacing: 0.015em;
}



/* Price & Numeric Accents - Quiet & Understated Luxury */
.price,
.price *,
.price .amount,
.price ins,
.product-price,
.product-price *,
.woocommerce-Price-amount,
.order-total .amount,
.cart-subtotal .amount {
  font-family: var(--theme-font-family, 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif);
  font-weight: 500;
  letter-spacing: 0em;
  color: var(--theme-palette-color-1, #005441);
}

.price del,
.price del .amount {
  color: #8E9290;
  font-weight: 400;
}

/* Curatorial Micro-Badges & Indicators */
.editorial-badge,
.highlight-pill,
.badge-mineral {
  font-family: var(--theme-font-family, 'Plus Jakarta Sans', sans-serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7D6136;
}


/* ==========================================================================
   4. SHOP & CONTENT PAGE AMBIENT WARMING
   ========================================================================== */
/* Shop & Catalog Page Background Warming */
.woocommerce-shop,
.tax-product_cat,
.post-type-archive-product,
.page-id-118,
.page-id-122 {
  background-color: #FAF6EF !important;
}
.woocommerce-shop #main,
.tax-product_cat #main,
.post-type-archive-product #main {
  background: transparent !important;
}


/* ==========================================================================
   P0-a  2026-10-20 · Cookies 浮层不得覆盖首屏 CTA
   --------------------------------------------------------------------------
   实测（390×844，线上）：.cookie-notification 高 193px、fixed 占据 y=651–844，
   把位于 y=716–762 的主 CTA（.btn-soft）整个盖住 —— CTA 中心点命中的
   是浮层里的 Decline 按钮，首屏唯一可点的动作不是"加购"。
   这里把浮层压到 20vh 以内并收紧内部排版，使其顶边落在 CTA 之下。
   不改任何文案与同意逻辑，只改尺寸与排版。
   ========================================================================== */
@media (max-width: 767px) {
  .cookie-notification {
    max-height: 20vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .cookie-notification .ct-container {
    padding: 10px 14px 12px;
  }
  .cookie-notification .ct-cookies-content p {
    font-size: 11px;
    line-height: 1.5;
    margin: 0 0 8px;
  }
  .cookie-notification .ct-button {
    padding: 8px 18px;
    min-height: 0;
    font-size: 11px;
  }
}


/* ==========================================================================
   12. JOURNAL & BLOG SIDEBAR ARCHITECTURE (0 !important)
   Clean architectural cards, search bar, category index, and recent notes
   ========================================================================== */
#sidebar .ct-sidebar {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

#sidebar .ct-widget {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(0, 84, 65, 0.10);
  padding: 24px 24px;
  margin-bottom: 0;
}

#sidebar .ct-widget.widget_search {
  padding: 18px 20px;
}

#sidebar .ct-widget .editorial-badge {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7D6136;
  margin-bottom: 4px;
}

#sidebar .ct-widget .wp-block-heading {
  font-family: var(--theme-headings-font-family, 'Cormorant Garamond', Georgia, serif);
  letter-spacing: 0.01em;
  font-weight: 500;
  font-size: 23px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--theme-palette-color-1, #005441);
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 84, 65, 0.09);
}

/* Search Input Inside Wrapper */
#sidebar .wp-block-search .wp-block-search__inside-wrapper {
  display: flex;
  align-items: center;
  background: #FAFBF9;
  border: 1px solid rgba(0, 84, 65, 0.16);
  border-radius: 4px;
  padding: 2px 6px 2px 12px;
  transition: border-color 0.2s ease;
}

#sidebar .wp-block-search .wp-block-search__inside-wrapper:focus-within {
  border-color: var(--theme-palette-color-1, #005441);
  background: #FFFFFF;
}

#sidebar .wp-block-search .wp-block-search__input {
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 8px 4px;
  font-size: 13.5px;
  color: var(--theme-palette-color-3, #2D6354);
  min-height: 38px;
}

#sidebar .wp-block-search .wp-block-search__button {
  background: transparent;
  border: none;
  box-shadow: none;
  color: var(--theme-palette-color-1, #005441);
  padding: 6px 8px;
  min-height: 34px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#sidebar .wp-block-search .wp-block-search__button:hover {
  background: rgba(0, 84, 65, 0.07);
  color: var(--theme-palette-color-1, #005441);
}

#sidebar .wp-block-search .wp-block-search__button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Categories List */
#sidebar .wp-block-categories-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

#sidebar .wp-block-categories-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 84, 65, 0.07);
  font-size: 14px;
  color: var(--theme-palette-color-4, #4F796C);
}

#sidebar .wp-block-categories-list li:first-child {
  padding-top: 2px;
}

#sidebar .wp-block-categories-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

#sidebar .wp-block-categories-list a {
  color: var(--theme-palette-color-3, #2D6354);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.18s ease;
}

#sidebar .wp-block-categories-list a:hover {
  color: var(--theme-palette-color-1, #005441);
}

/* Recent Notes List */
#sidebar .wp-block-latest-posts__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

#sidebar .wp-block-latest-posts__list li {
  padding: 13px 0;
  margin: 0;
  border-bottom: 1px solid rgba(0, 84, 65, 0.07);
}

#sidebar .wp-block-latest-posts__list li:first-child {
  padding-top: 2px;
}

#sidebar .wp-block-latest-posts__list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

#sidebar .wp-block-latest-posts__post-title {
  display: block;
  font-family: var(--theme-headings-font-family, 'Cormorant Garamond', Georgia, serif);
  letter-spacing: 0.01em;
  font-weight: 500;
  font-size: 18.5px;
  font-weight: 500;
  line-height: 1.32;
  color: var(--theme-palette-color-1, #005441);
  text-decoration: none;
  transition: color 0.18s ease;
}

#sidebar .wp-block-latest-posts__post-title:hover {
  color: #7D6136;
}

#sidebar .wp-block-latest-posts__post-date {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--theme-palette-color-4, #4F796C);
}

/* Studio Note Card in Sidebar */
#sidebar .lf-sidebar-studio-card p {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--theme-palette-color-3, #2D6354);
  margin: 0 0 16px;
}

#sidebar .lf-sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 84, 65, 0.08);
}

#sidebar .lf-sidebar-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--theme-palette-color-1, #005441);
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.18s ease;
}

#sidebar .lf-sidebar-links a:hover {
  color: #7D6136;
}


/* ==========================================================================
   13. JOURNAL ARTICLE EDITORIAL LAYOUT (.lf-journal-post) (0 !important)
   Editorial layout for single journal articles
   ========================================================================== */
.lf-journal-post {
  --lf-canvas: #FAFBF9;
  --lf-panel: #FAF8F5;
  --lf-white: #FFFFFF;
  --lf-forest: #0E2C23;
  --lf-ink: #005441;
  --lf-body: #2D6354;
  --lf-muted: #4F796C;
  --lf-brown: #7D6136;
  --lf-line: rgba(0, 84, 65, 0.11);
  --lf-line-soft: rgba(0, 84, 65, 0.07);
  --lf-serif: var(--theme-headings-font-family, 'Cormorant Garamond', Georgia, serif);
  --lf-sans: var(--theme-font-family, 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif);
  font-family: var(--lf-sans);
  color: var(--lf-body);
  font-size: 16.5px;
  line-height: 1.85;
}

.lf-journal-post *,
.lf-journal-post *::before,
.lf-journal-post *::after {
  box-sizing: border-box;
}

.lf-journal-post .lf-label {
  font-family: var(--lf-sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lf-brown);
}

.lf-journal-post .lf-byline {
  font-size: 13.5px;
  color: var(--lf-muted);
  margin: 0 0 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--lf-line);
}

.lf-journal-post .lf-byline strong {
  color: var(--lf-ink);
  font-weight: 600;
}

.lf-journal-post p {
  margin: 0 0 22px;
  color: var(--lf-body);
}

.lf-journal-post h2 {
  font-family: var(--lf-serif);
  font-size: clamp(26px, 3vw, 33px);
  font-weight: 500;
  line-height: 1.24;
  color: var(--lf-ink);
  margin: 52px 0 18px;
  padding-top: 36px;
  border-top: 1px solid var(--lf-line);
}

.lf-journal-post .lf-pullquote {
  margin: 32px 0;
  padding: 18px 24px;
  background: var(--lf-panel);
  border-left: 2px solid var(--lf-brown);
  font-family: var(--lf-serif);
  font-size: 22px;
  font-style: italic;
  line-height: 1.48;
  color: var(--lf-ink);
}

.lf-journal-post .lf-figure {
  margin: 34px 0 38px;
  background: var(--lf-panel);
  border: 1px solid var(--lf-line);
  padding: 16px;
}

.lf-journal-post .lf-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 6 / 5;
  object-fit: cover;
}

.lf-journal-post .lf-figure-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--lf-line-soft);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lf-muted);
}

.lf-journal-post .lf-ns-badge {
  color: var(--lf-brown);
  padding: 2px 8px;
  border: 1px solid rgba(125, 97, 54, 0.35);
  background: rgba(125, 97, 54, 0.06);
  white-space: nowrap;
}

.lf-journal-post .lf-figure-caption {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--lf-muted);
}

.lf-journal-post .lf-bench-diptych {
  margin: 32px 0 36px;
  background: var(--lf-panel);
  border: 1px solid var(--lf-line);
  padding: 18px;
}

.lf-journal-post .lf-bench-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--lf-line-soft);
}

.lf-journal-post .lf-bench-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.lf-journal-post .lf-bench-card {
  margin: 0;
  background: var(--lf-white);
  border: 1px solid var(--lf-line);
  padding: 10px;
}

.lf-journal-post .lf-bench-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.lf-journal-post .lf-bench-card figcaption {
  margin-top: 9px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--lf-muted);
}

.lf-journal-post .lf-bench-card figcaption strong {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lf-brown);
  margin-bottom: 3px;
}

.lf-journal-post .lf-etym-box {
  margin: 26px 0 30px;
  border: 1px solid var(--lf-line);
  background: var(--lf-white);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.lf-journal-post .lf-etym-col {
  padding: 24px 26px;
}

.lf-journal-post .lf-etym-col:first-child {
  border-right: 1px solid var(--lf-line);
}

.lf-journal-post .lf-etym-word {
  font-family: var(--lf-serif);
  font-size: 23px;
  font-weight: 500;
  color: var(--lf-ink);
  margin-right: 8px;
}

.lf-journal-post .lf-etym-phon {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lf-brown);
}

.lf-journal-post .lf-etym-col p {
  margin: 8px 0 0;
  font-size: 14.5px;
  line-height: 1.65;
}

.lf-journal-post .lf-standard-list {
  list-style: none;
  margin: 24px 0 30px;
  padding: 0;
  border: 1px solid var(--lf-line);
  background: var(--lf-white);
}

.lf-journal-post .lf-standard-list li {
  padding: 20px 24px;
  margin: 0;
  border-bottom: 1px solid var(--lf-line-soft);
  font-size: 15px;
  line-height: 1.75;
}

.lf-journal-post .lf-standard-list li:last-child {
  border-bottom: none;
}

.lf-journal-post .lf-standard-list li strong {
  display: block;
  font-family: var(--lf-serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--lf-ink);
  margin-bottom: 4px;
}

.lf-journal-post .lf-signoff {
  margin: 42px 0 48px;
  padding-top: 24px;
  border-top: 1px solid var(--lf-line);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
}

.lf-journal-post .lf-signoff-name {
  font-family: var(--lf-serif);
  font-size: 28px;
  font-style: italic;
  color: var(--lf-ink);
  line-height: 1.1;
}

.lf-journal-post .lf-signoff-meta {
  font-size: 13px;
  color: var(--lf-muted);
  margin-top: 6px;
}

.lf-journal-post .lf-about-link {
  text-decoration: none;
  border-bottom: 1px solid var(--lf-brown);
  padding-bottom: 3px;
}

.lf-journal-post .lf-post-cta {
  background: var(--lf-forest);
  color: #D6E4DE;
  padding: 44px 36px;
  text-align: center;
}

.lf-journal-post .lf-post-cta .lf-label {
  color: #B5D8CB;
}

.lf-journal-post .lf-post-cta h3 {
  font-family: var(--lf-serif);
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 400;
  color: #FFFFFF;
  margin: 10px 0 12px;
  line-height: 1.2;
}

.lf-journal-post .lf-post-cta p {
  font-size: 15px;
  line-height: 1.75;
  color: #BCCEC6;
  max-width: 520px;
  margin: 0 auto 26px;
}

.lf-journal-post .lf-cta-btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.lf-journal-post .lf-cta-btn-primary {
  display: inline-block;
  background: #FAF8F5;
  color: var(--lf-forest);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 28px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.lf-journal-post .lf-cta-btn-primary:hover {
  background: #E6E0D5;
  color: var(--lf-forest);
}

.lf-journal-post .lf-cta-btn-secondary {
  display: inline-block;
  border: 1px solid rgba(250, 248, 245, 0.35);
  color: #FAF8F5;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 22px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.lf-journal-post .lf-cta-btn-secondary:hover {
  border-color: #FAF8F5;
  background: rgba(250, 248, 245, 0.08);
  color: #FAF8F5;
}

@media (max-width: 640px) {
  .lf-journal-post .lf-bench-grid,
  .lf-journal-post .lf-etym-box {
    grid-template-columns: 1fr;
  }
  .lf-journal-post .lf-etym-col:first-child {
    border-right: none;
    border-bottom: 1px solid var(--lf-line);
  }
  .lf-journal-post .lf-post-cta {
    padding: 34px 22px;
  }
}
