/*
Theme Name: Luz de Maio
Description: A custom block theme.
Requires at least: 6.7
Tested up to: 6.9
Requires PHP: 7.2
Version: 0.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: luz-de-maio
Tags: full-site-editing, block-patterns, block-styles, wide-blocks, accessibility-ready, style-variations
*/

/* === fonts === */
@font-face {
  font-family: 'Playwrite US Modern';
  font-style: normal;
  font-weight: 100 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/playwriteusmodern/v11/H4c7BWmRlMXPhla3hmMaveiYz8nSDkIFNtw6YbxK.woff2) format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/fraunces/v38/6NU78FyLNQOQZAnv9bYEvDiIdE9Ea92uemAk_WBq8U_9v0c2Wa0KxC9TeP2Xz5c.woff2) format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/fraunces/v38/6NUs8FyLNQOQZAnv9ZwNjucMHVn85Ni7emAe9lKqZTnbB-gzTK0K1ChJdt9hFwpX9W37ll9_mv0iQublWII.woff2) format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/dmsans/v17/rP2Hp2ywxg089UriCZOIHTWEBlw.woff2) format('woff2');
}
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/dmmono/v16/aFTU7PB1QTsUX8KYthqQBK6PYK0.woff2) format('woff2');
}
/* === reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { background: #fdf6f0; color: #402e26; font-family: 'DM Sans', system-ui, sans-serif; }
html { overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }
/* === tokens === */
:root {
  --rosa: #c56e6b;
  --azul: #497593;
  --ambar: #de9639;
  --brown: #402e26;
  --cream: #fdf6f0;
  --cream-2: #f7ecdf;
  --cream-3: #efdfcc;
  --rosa-soft: #e8b4ac;
  --azul-soft: #a9bdc9;
  --ambar-soft: #edc896;
  --rosa-bebe: #eed4d3;
  --azul-bebe: #d6e2eb;
  --ambar-bebe: #f9eddc;
  --font-hand: 'Playwrite US Modern', cursive;
  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'DM Mono', ui-monospace, monospace;
  --radius-card: 18px;
  --radius-pill: 999px;
  --shadow-card: 0 20px 40px -20px rgba(43,31,26,0.25);
  --shadow-candle: 0 30px 40px -20px rgba(43,31,26,0.35);
  --transition-fast: 0.15s ease;
  --transition-normal: 0.18s ease;
  --transition-slow: 0.25s ease;
  --content-max-width: 1320px;
}
/* === base === */
.wp-site-blocks { padding: 0 !important; }
.entry-content, .wp-block-post-content { padding: 0 !important; }
.is-layout-constrained > :not(.alignleft):not(.alignright):not(.alignfull) { max-width: var(--content-max-width) !important; padding-left: 40px; padding-right: 40px; }
.alignfull { max-width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
/* === layout === */
.ldm-wrap {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 40px;
}
.ldm-section {
  padding: 60px 0;
  position: relative;
}
/* Scallop edge — each section provides its own color via .collection::before etc */
.ldm-scallop { position: relative; margin-top: 0 !important; overflow: visible; }
.ldm-scallop::before,
.ldm-scallop::after  { z-index: 10 !important; }
.ldm-collection::before, .ldm-collection::after { content:''; position:absolute; left:0; right:0; height:40px; background:var(--azul-bebe); -webkit-mask-image:radial-gradient(circle at 20px 0, transparent 20px, black 21px); mask-image:radial-gradient(circle at 20px 0, transparent 20px, black 21px); -webkit-mask-size:40px 40px; mask-size:40px 40px; -webkit-mask-repeat:repeat-x; mask-repeat:repeat-x; filter:drop-shadow(0 0 1.5px rgba(43,31,26,0.14)) drop-shadow(0 2px 4px rgba(43,31,26,0.1)); }
.ldm-collection::before { top:-39px; -webkit-mask-position:0 0; mask-position:0 0; }
.ldm-collection::after  { display:none; }

.ldm-story::before, .ldm-story::after { content:''; position:absolute; left:0; right:0; height:40px; background:var(--ambar-bebe); -webkit-mask-image:radial-gradient(circle at 20px 0, transparent 20px, black 21px); mask-image:radial-gradient(circle at 20px 0, transparent 20px, black 21px); -webkit-mask-size:40px 40px; mask-size:40px 40px; -webkit-mask-repeat:repeat-x; mask-repeat:repeat-x; filter:drop-shadow(0 0 1.5px rgba(43,31,26,0.14)) drop-shadow(0 2px 4px rgba(43,31,26,0.1)); }
.ldm-story::before { top:-39px; -webkit-mask-position:0 0; mask-position:0 0; }
.ldm-story::after  { display:none; }

.ldm-ritual::before, .ldm-ritual::after { content:''; position:absolute; left:0; right:0; height:40px; -webkit-mask-image:radial-gradient(circle at 20px 0, transparent 20px, black 21px); mask-image:radial-gradient(circle at 20px 0, transparent 20px, black 21px); -webkit-mask-size:40px 40px; mask-size:40px 40px; -webkit-mask-repeat:repeat-x; mask-repeat:repeat-x; filter:drop-shadow(0 0 1.5px rgba(43,31,26,0.14)) drop-shadow(0 2px 4px rgba(43,31,26,0.1)); }
.ldm-ritual::before { top:-39px; background:var(--rosa); -webkit-mask-position:0 0; mask-position:0 0; }
/* ritual::before paints salmon into the amber section above — amber section has no ::after so this is the sole scallop at that boundary */
.ldm-ritual::after  { bottom:-18px; background:var(--rosa-bebe); }
.ldm-contact-cta::before, .ldm-contact-cta::after { content:''; position:absolute; left:0; right:0; height:40px; background:var(--rosa-bebe); z-index:2; -webkit-mask-image:radial-gradient(circle at 20px 0, transparent 20px, black 21px); mask-image:radial-gradient(circle at 20px 0, transparent 20px, black 21px); -webkit-mask-size:40px 40px; mask-size:40px 40px; -webkit-mask-repeat:repeat-x; mask-repeat:repeat-x; filter:drop-shadow(0 0 1.5px rgba(43,31,26,0.14)) drop-shadow(0 2px 4px rgba(43,31,26,0.1)); }
.ldm-contact-cta::before { display:none; }
.ldm-contact-cta::after  { display:none; }

.ldm-faq::before, .ldm-faq::after { content:''; position:absolute; left:0; right:0; height:40px; background:var(--azul-bebe); -webkit-mask-image:radial-gradient(circle at 20px 0, transparent 20px, black 21px); mask-image:radial-gradient(circle at 20px 0, transparent 20px, black 21px); -webkit-mask-size:40px 40px; mask-size:40px 40px; -webkit-mask-repeat:repeat-x; mask-repeat:repeat-x; filter:drop-shadow(0 0 1.5px rgba(43,31,26,0.14)) drop-shadow(0 2px 4px rgba(43,31,26,0.1)); }
.ldm-faq::before { top:-39px; -webkit-mask-position:0 0; mask-position:0 0; }
.ldm-faq::after  { display:none; }
/* === ticker === */
.ldm-ticker-outer {
  background: var(--cream);
  padding: 10px 0 14px;
}
.ldm-ticker {
  background: var(--brown);
  color: var(--cream-3);
  overflow: hidden;
  contain: paint;
  border-radius: var(--radius-pill);
  position: relative;
}
.ldm-ticker-track {
  display: flex;
  gap: 50px;
  white-space: nowrap;
  padding: 10px 0;
  animation: ldm-scroll 40s linear infinite;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ldm-ticker-track span { display: inline-flex; align-items: center; gap: 50px; }
.ldm-ticker-track .t-rosa  { color: var(--rosa-soft); }
.ldm-ticker-track .t-azul  { color: var(--azul-soft); }
.ldm-ticker-track .t-ambar { color: var(--ambar-soft); }
@keyframes ldm-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ldm-ticker-track { animation: none; } }
/* === header === */
/* Sticky is on the template-part wrapper — covers both the group and the raw header */
header.wp-block-template-part,
.ldm-header {
  position: sticky;
  top: 0;
  z-index: 100;
}
.ldm-header {
  background: var(--cream);
  display: flex;
  flex-direction: column;
}
.ldm-header::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 40px;
  background: var(--cream);
  -webkit-mask-image: radial-gradient(circle at 20px 0, transparent 20px, black 21px);
  mask-image: radial-gradient(circle at 20px 0, transparent 20px, black 21px);
  -webkit-mask-size: 40px 40px; mask-size: 40px 40px;
  -webkit-mask-repeat: repeat-x; mask-repeat: repeat-x;
  bottom: -39px; transform: scaleY(-1);
  pointer-events: none;
  filter: drop-shadow(0 0 1.5px rgba(43,31,26,0.14)) drop-shadow(0 2px 4px rgba(43,31,26,0.1));
  transition: opacity 0.25s ease;
}
.ldm-header.scrolled::after { opacity: 0; }
/* Header inner: mirrors the original .wrap — max-width 1320px,
   centred, 40px padding each side. At the user's wide screen
   this keeps the nav cluster tight and avoids edge-to-edge spread. */
.ldm-header-inner {
  max-width: 914px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  width: 100%;
}
/* Top row */
.ldm-header > .ldm-header-inner,
.ldm-header > .ldm-header-inner:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 23px;
  padding-bottom: 10px;
}
/* Logo */
.ldm-logo {
  font-family: var(--font-hand); font-weight: 400; font-size: 28px;
  line-height: 1; color: var(--brown); display: flex !important; align-items: center;
  gap: 10px; white-space: nowrap; text-decoration: none !important; flex-shrink: 0;
}
.ldm-logo svg { width: 22px; height: 22px; flex-shrink: 0; display: block; }
/* Nav */
.ldm-nav {
  display: flex; gap: 30px; font-size: 14px; font-weight: 500;
}
.ldm-nav a, .ldm-nav button, .ldm-anchor-nav {
  position: relative; padding: 6px 2px; color: var(--brown);
  text-decoration: none; background: none; border: none;
  font-size: 14px; font-weight: 500; font-family: inherit; cursor: pointer;
  transition: color var(--transition-fast);
}
.ldm-nav a:hover, .ldm-nav button:hover, .ldm-anchor-nav:hover { color: var(--rosa); }
/* Cart + hamburger */
.ldm-header-actions { display: flex; gap: 10px; align-items: center; }

/* Account link — circular icon button, matches the cart button */
.ldm-account-link {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--brown);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--brown); text-decoration: none; flex-shrink: 0;
  transition: all var(--transition-fast);
}
.ldm-account-link:hover { background: var(--ambar); color: var(--brown); }
.ldm-account-link svg { width: 19px; height: 19px; display: block; }

/* ── Checkout header — branded, distraction-free (logo + cart only) ── */
.ldm-checkout-header > .ldm-header-inner {
  max-width: 1080px;
  box-sizing: border-box;
  padding-left: 40px;
  padding-right: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (max-width: 768px) {
  .ldm-checkout-header > .ldm-header-inner { padding-left: 20px; padding-right: 20px; }
}
/* Cart link styled to match the site's circular cart button.
   (The interactive mini-cart block doesn't load its script on checkout, so we
   use the simple cart-link block and give it the same look.) */
.ldm-checkout-header .wp-block-woocommerce-cart-link { display: flex; align-items: center; }
.ldm-checkout-header .wc-block-cart-link {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--brown);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--brown); text-decoration: none; position: relative;
  transition: all var(--transition-fast);
}
.ldm-checkout-header .wc-block-cart-link:hover { background: var(--ambar); color: var(--brown); }
.ldm-checkout-header .wc-block-cart-link svg,
.ldm-checkout-header .wc-block-cart-link__text { display: none; }
.ldm-checkout-header .wc-block-cart-link::before {
  content: ''; width: 18px; height: 18px; flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8'%3E%3Cpath d='M3 6h18l-2 12H5L3 6z'/%3E%3Cpath d='M8 6a4 4 0 0 1 8 0'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8'%3E%3Cpath d='M3 6h18l-2 12H5L3 6z'/%3E%3Cpath d='M8 6a4 4 0 0 1 8 0'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* WooCommerce Cart page */
.wp-block-woocommerce-cart { padding: 40px 40px 80px; }

/* WooCommerce Mini-Cart block — styled to match original circular button */
.wc-block-mini-cart { display: flex; align-items: center; }
.wc-block-mini-cart__button {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--brown); display: inline-flex;
  align-items: center; justify-content: center; position: relative;
  transition: all var(--transition-fast); background: transparent;
  color: var(--brown); padding: 0; cursor: pointer;
}
.wc-block-mini-cart__button:hover { background: var(--ambar); color: var(--brown); }
.wc-block-mini-cart__quantity-badge { position: relative; display: flex; align-items: center; justify-content: center; }
/* Replace WC bag icon with our cart SVG via CSS mask */
.wc-block-mini-cart__icon {
  width: 18px !important; height: 18px !important;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8'%3E%3Cpath d='M3 6h18l-2 12H5L3 6z'/%3E%3Cpath d='M8 6a4 4 0 0 1 8 0'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8'%3E%3Cpath d='M3 6h18l-2 12H5L3 6z'/%3E%3Cpath d='M8 6a4 4 0 0 1 8 0'/%3E%3C/svg%3E") center/contain no-repeat;
  fill: none; flex-shrink: 0;
}
/* Count bubble — WC uses .wc-block-mini-cart__badge */
.wc-block-mini-cart__badge {
  position: absolute; top: -10px; right: -10px;
  background: var(--rosa) !important; color: var(--cream) !important;
  width: 20px; height: 20px; border-radius: 50%;
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 2px var(--cream);
  min-width: unset; padding: 0; line-height: 1;
}
/* Hide the price label (hasHiddenPrice is set but belt-and-suspenders) */
.wc-block-mini-cart__amount { display: none !important; }

/* Mini-cart item image cell.
   The Mini-Cart block outputs TWO <img> per item: a hidden one (shown only when
   the product is hidden from the catalog) plus the real one inside the link.
   Scope styling to :not([hidden]) so we don't force-display the hidden one —
   a plain `display:block !important` here overrides the [hidden] attribute and
   makes both images appear (a duplicate image in the side cart). */
.wc-block-cart-item__image img:not([hidden]) {
  border-radius: 10px !important;
  width: 64px !important;
  height: 64px !important;
  object-fit: cover !important;
  display: block !important;
  position: relative !important;
  z-index: 1 !important;
}
.wc-block-cart-item__image img[hidden] {
  display: none !important;
}
/* Remove loading-state ghost background on the <a> wrapper —
   WC sets a skeleton shimmer background on the <a> that can persist
   and appear as a second image behind the real one */
.wc-block-cart-item__image > a {
  background: transparent !important;
  display: block !important;
}
.wc-block-cart-item__image > a::after {
  display: none !important;
}
/* Hide ALL skeleton/placeholder elements inside the image cell.
   WC Blocks injects a .wc-block-components-skeleton__element with
   padding-bottom:100% (= square box) that looks like a second image. */
.wc-block-cart-item__image .wc-block-components-skeleton,
.wc-block-cart-item__image .wc-block-components-skeleton__element,
.wc-block-cart-item__image .wc-block-components-skeleton__element * {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}
/* Ensure the <td> itself clips to just the image */
.wc-block-cart-item__image {
  overflow: hidden !important;
  vertical-align: top !important;
}
.ldm-hamburger {
  display: none; width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid var(--brown); background: transparent;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; padding: 0; transition: all var(--transition-fast);
}
.ldm-hamburger span { display: block; width: 18px; height: 2px; background: var(--brown); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.ldm-hamburger:hover { background: var(--ambar); }
/* Cross state when mobile nav is open */
.ldm-mobile-nav.open ~ * .ldm-hamburger span:nth-child(1),
.ldm-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ldm-mobile-nav.open ~ * .ldm-hamburger span:nth-child(2),
.ldm-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.ldm-mobile-nav.open ~ * .ldm-hamburger span:nth-child(3),
.ldm-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* Ticker row — full width, kill block-gap margin injected by wp:group */
.ldm-ticker-outer {
  background: var(--cream);
  padding: 10px 40px 14px;
  margin-top: 0 !important;
}
/* Mobile nav */
.ldm-mobile-nav {
  display: none; flex-direction: column;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--cream); max-height: 0; overflow: hidden;
  opacity: 0; transition: max-height 0.18s ease, opacity 0.18s ease, padding 0.18s ease;
  z-index: 101;
  box-shadow: 0 12px 32px rgba(43,31,26,0.12);
  border-radius: 0 0 var(--radius-card) var(--radius-card);
}
.ldm-mobile-nav.open { max-height: 400px; opacity: 1; padding: 12px 0 20px; }
.ldm-mobile-nav a, .ldm-mobile-nav button {
  display: block; padding: 12px 40px;
  font-family: var(--font-hand); font-size: 26px; font-weight: 300;
  color: var(--brown); text-decoration: none; background: none;
  border: none; width: 100%; text-align: left;
  transition: color var(--transition-fast);
}
.ldm-mobile-nav a:hover, .ldm-mobile-nav button:hover { color: var(--rosa); }
/* === hero === */
.ldm-hero {
  background: var(--rosa-bebe);
  padding: 70px 0 60px;
  margin: 16px 0;
  position: relative;
}
.ldm-hero::after {
  content: '';
  position: absolute; left: 0; right: 0; height: 40px;
  background: var(--rosa-bebe);
  -webkit-mask-image: radial-gradient(circle at 20px 0, transparent 20px, black 21px);
  mask-image: radial-gradient(circle at 20px 0, transparent 20px, black 21px);
  -webkit-mask-size: 40px 40px; mask-size: 40px 40px;
  -webkit-mask-repeat: repeat-x; mask-repeat: repeat-x;
  bottom: -39px; transform: scaleY(-1);
  filter: drop-shadow(0 0 1.5px rgba(43,31,26,0.14)) drop-shadow(0 2px 4px rgba(43,31,26,0.1));
}
.ldm-hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 60px; align-items: center;
}
.ldm-hero-title {
  font-family: var(--font-hand); font-weight: 300;
  font-size: clamp(20px, 7vw, 80px); line-height: 1.2;
  letter-spacing: -0.01em; color: var(--brown);
}
.ldm-hero-title em {
  font-style: normal; position: relative; display: inline-block;
  color: var(--azul);
}
.ldm-hero-title em::after {
  content: ''; position: absolute; left: -4px; right: -4px; bottom: 8%;
  height: 18%; background: var(--ambar); opacity: 0.35;
  border-radius: 8px; transform: skewX(-8deg); z-index: -1;
}
.ldm-hero-title .t-rosa  { color: var(--rosa); }
.ldm-hero-title .t-ambar { color: var(--ambar); }
.ldm-hero-sub {
  margin-top: 28px; max-width: 480px;
  font-size: 19px; line-height: 1.55; color: #4a3a30;
}
.ldm-hero-cta {
  margin-top: 34px; display: flex; gap: 14px;
  align-items: center; flex-wrap: wrap;
}
.ldm-btn-primary {
  padding: 16px 26px; border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 600; display: inline-flex;
  align-items: center; gap: 10px;
  border: 1.5px solid var(--ambar); background: var(--rosa); color: var(--cream);
  text-decoration: none; transition: all var(--transition-normal);
  font-family: var(--font-sans);
}
.ldm-btn-primary:hover { background: var(--ambar); border-color: var(--rosa); transform: translateY(-2px); color: var(--brown); }
.ldm-btn-outline {
  padding: 16px 26px; border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 600; display: inline-flex;
  align-items: center; justify-content: center; gap: 10px;
  border: 1.5px solid var(--brown); background: transparent;
  color: var(--brown); text-decoration: none;
  transition: all var(--transition-normal); font-family: var(--font-sans);
  min-width: 172px;
}
.ldm-btn-outline:hover { background: var(--ambar); color: var(--brown); transform: translateY(-2px); }
.ldm-hero-visual {
  position: relative; height: 620px;
  margin-top: 0 !important;
  overflow: hidden;
}
.ldm-hero-visual.lit::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 40%, rgba(222,150,57,0.25), transparent 50%);
  animation: ldm-pulse 3s ease-in-out infinite;
}
@keyframes ldm-pulse { 50% { opacity: 0.7; } }
.ldm-candle-stage {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.ldm-blob {
  position: absolute; filter: blur(2px);
}
.ldm-blob-azul {
  /* Size and position as % of .ldm-candle-stage so the blob stays
     proportionally placed at every viewport width.
     Height !important overrides wp-block-spacer inline style="height:0px". */
  width: 88%;
  height: 52% !important;
  background: var(--azul-soft);
  bottom: 14%; right: 0;
  opacity: 0.7;
  border-radius: 62% 38% 55% 45% / 52% 58% 42% 48%;
}
/* Desktop CTA visible, mobile CTA hidden */
.ldm-hero-cta-desktop { display: flex !important; }
.ldm-hero-cta-mobile  { display: none  !important; }
/* === collection === */
.ldm-collection {
  background: var(--azul-bebe);
  padding: 60px 0;
  position: relative;
}
.ldm-section-title {
  font-family: var(--font-hand); font-weight: 300;
  font-size: clamp(40px, 5vw, 68px); line-height: 1.2;
  color: var(--brown); max-width: 680px; margin-bottom: 50px;
}
.ldm-section-title .t-rosa  { color: var(--rosa); }
.ldm-section-title .t-ambar { color: var(--ambar); }
.ldm-section-title .t-azul  { color: var(--azul); }
.ldm-products {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 28px;
}
.ldm-product-card {
  background: var(--cream); border-radius: var(--radius-card);
  padding: 22px; display: flex; flex-direction: column; gap: 16px;
  position: relative; transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer; text-decoration: none; color: inherit;
}
.ldm-product-card:hover { transform: scale(1.02) !important; box-shadow: var(--shadow-card) !important; }
.ldm-product-img {
  aspect-ratio: 4/5; border-radius: 12px; overflow: hidden;
  display: flex !important; align-items: center; justify-content: center;
  position: relative; flex-direction: column;
}
.ldm-product-img.c-rosa  { background: linear-gradient(160deg,#e8b4ac 0%,#c56e6b 100%); }
.ldm-product-img.c-azul  { background: linear-gradient(160deg,#a9bdc9 0%,#497593 100%); }
.ldm-product-img.c-ambar { background: linear-gradient(160deg,#f3c891 0%,#de9639 100%); }
/* Image inside product img container */
.ldm-product-img figure { margin: 0; width: 100%; height: 100%; }
.ldm-product-img figure img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; display: block; }
/* Product tag sits above image */
.ldm-product-tag { position: absolute; top: 14px; left: 14px; z-index: 2; }
.ldm-product-img .ldm-product-tag { position: absolute; }
.ldm-product-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--cream); color: var(--brown);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 6px 10px; border-radius: var(--radius-pill);
}
.ldm-product-name {
  font-family: var(--font-hand); font-size: 28px; font-weight: 300;
  line-height: 1; color: var(--brown);
}
.ldm-product-notes {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: #6b564a; line-height: 1.5;
}
.ldm-product-row { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.ldm-product-price { font-family: var(--font-serif); font-size: 22px; font-weight: 600; color: var(--brown); }
.ldm-add-btn {
  padding: 10px 16px; border-radius: var(--radius-pill);
  background: var(--ambar); color: var(--brown);
  font-size: 12px; font-weight: 600; display: inline-flex;
  align-items: center; gap: 6px;
  transition: all var(--transition-fast); border: none; cursor: pointer;
  font-family: var(--font-sans); text-decoration: none;
}
.ldm-add-btn:hover { background: var(--rosa); color: var(--cream); }
.ldm-see-all { margin-top: 40px; text-align: center; }
.ldm-see-all a {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--brown);
  text-decoration: none; border-bottom: 1.5px solid var(--ambar); padding-bottom: 3px;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}
.ldm-see-all a:hover { color: var(--rosa); border-color: var(--rosa); }
/* === story === */
.ldm-story {
  background: var(--ambar-bebe);
  padding: 50px 0;
  position: relative;
}
.ldm-story-title {
  font-family: var(--font-hand); font-weight: 300;
  font-size: clamp(38px, 4.2vw, 58px); line-height: 1.2;
  color: var(--brown); margin-bottom: 50px;
}
.ldm-story-title .t-rosa { color: var(--rosa); }
.ldm-story-grid {
  display: grid; grid-template-columns: 0.8fr 1fr;
  gap: 40px; align-items: start;
}
.ldm-story-img {
  aspect-ratio: 4/5; border-radius: 20px; overflow: hidden;
  background: linear-gradient(135deg, #f3c891 0%, #de9639 60%, #c56e6b 100%);
  display: flex !important; align-items: center; justify-content: center;
  width: 100%; max-width: 280px !important;
  box-shadow: 0 30px 50px -20px rgba(43,31,26,0.3);
  margin: 0;
}
.ldm-story-img img { width:100% !important; height:100%; object-fit:cover; border-radius:20px; display:block; }
.ldm-story-img figcaption { display: none; }
.ldm-story-text p { font-size: 18px; line-height: 1.65; color: #3f2e24; margin-bottom: 18px; max-width: 520px; }
.ldm-signature, .ldm-story-text p.ldm-signature {
  font-family: var(--font-hand); font-size: 26px; color: var(--rosa);
  margin-top: 28px; display: inline-block; transform: rotate(-3deg);
}
/* === ritual === */
.ldm-ritual {
  background: var(--rosa);
  color: var(--brown); padding: 60px 0; position: relative;
}
.ldm-ritual-title {
  font-family: var(--font-hand); font-weight: 300;
  font-size: clamp(40px, 5vw, 68px); line-height: 1.2;
  color: var(--brown); max-width: 680px; margin-bottom: 50px;
}
.ldm-ritual-title .t-rosa-bebe { color: var(--rosa-bebe); }
.ldm-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; align-items: stretch; }
.ldm-steps > .wp-block-group { margin-top: 0 !important; }
.ldm-step {
  padding: 30px; border-radius: var(--radius-card); background: var(--cream);
  border: 1px dashed rgba(64,46,38,0.2);
  display: flex; flex-direction: column; gap: 16px;
  transition: all var(--transition-slow);
}
.ldm-step:hover { background: var(--rosa-bebe); border-color: rgba(64,46,38,0.35); }
.ldm-step-num, .ldm-step p.ldm-step-num {
  font-family: var(--font-hand); font-size: 72px; font-weight: 300;
  line-height: 0.8; color: var(--ambar); opacity: 1;
}
.ldm-step.s2 .ldm-step-num, .ldm-step.s2 p.ldm-step-num { color: var(--rosa); }
.ldm-step.s3 .ldm-step-num, .ldm-step.s3 p.ldm-step-num { color: var(--azul); }
.ldm-step h3 { font-family: var(--font-hand); font-size: 36px; font-weight: 300; color: var(--brown); line-height: 1; }
.ldm-step p:not(.ldm-step-num) { font-size: 17px; line-height: 1.55; color: #4a3a30; opacity: 0.9; }
/* === contactcta === */
.ldm-contact-cta {
  background: var(--rosa-bebe);
  padding: 60px 0; position: relative;
  overflow: hidden;
}
/* CTA blobs via pseudo-elements on .ldm-wrap inside .ldm-contact-cta */
.ldm-contact-cta .ldm-wrap { position: relative; }
.ldm-contact-cta .ldm-wrap::before {
  content: ''; position: absolute; pointer-events: none; z-index: 0;
  width: 280px; height: 280px; background: var(--ambar);
  top: 0; left: -40px; opacity: 0.55;
  border-radius: 58% 42% 48% 52% / 45% 55% 45% 55%;
  filter: blur(2px);
}
.ldm-contact-cta .ldm-wrap::after {
  content: ''; position: absolute; pointer-events: none; z-index: 0;
  width: 200px; height: 200px; background: var(--azul-soft);
  bottom: 0; right: 0; opacity: 0.6;
  border-radius: 50%; filter: blur(2px);
}
.ldm-cta-blob { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.ldm-cta-blob-c {
  position: absolute; border-radius: 50%; filter: blur(1px);
}
.ldm-cta-blob-c.c1 { width:360px;height:360px;background:var(--ambar);top:40px;left:-80px;opacity:0.55;border-radius:58% 42% 48% 52% / 45% 55% 45% 55%; }
.ldm-cta-blob-c.c2 { width:260px;height:260px;background:var(--azul-soft);bottom:40px;right:-40px;opacity:0.6; }
.ldm-cta-blob-c.c3 { width:140px;height:140px;background:var(--cream);top:40%;right:12%;opacity:0.35; }
.ldm-cta-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.3fr 0.7fr;
  gap: 60px; align-items: center;
}
.ldm-cta-title {
  font-family: var(--font-hand); font-weight: 300;
  font-size: clamp(52px, 7vw, 108px); line-height: 1.2;
  color: var(--brown); letter-spacing: -0.01em;
}
.ldm-cta-title .t-rosa { color: var(--rosa); }
.ldm-cta-sub {
  margin-top: 26px; max-width: 520px;
  font-size: 19px; line-height: 1.55; color: #3f2e24; opacity: 0.92;
}
.ldm-cta-row { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.ldm-envelope { position: relative; aspect-ratio: 1/1; max-width: 460px; margin-left: auto; }
.ldm-env-svg {
  width: 100%; height: auto; display: block;
  filter: drop-shadow(12px 14px 0 rgba(43,31,26,0.35));
  transform: rotate(-4deg);
  transition: transform 0.4s ease;
}
.ldm-envelope:hover .ldm-env-svg { transform: rotate(-2deg) translateY(-4px); }
.ldm-env-seal {
  position: absolute; top: 34%; left: 50%;
  transform: translate(-50%,-50%) rotate(-6deg);
  width: 78px; height: 78px; border-radius: 50%;
  background: var(--ambar); border: 2px solid var(--brown);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-hand); font-size: 30px; color: var(--brown);
  box-shadow: 4px 4px 0 rgba(43,31,26,0.4); z-index: 3;
}
/* === faq === */
.ldm-faq {
  background: var(--azul-bebe);
  padding: 80px 0; position: relative;
}
.ldm-faq-kicker {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--brown);
  display: flex; align-items: center; gap: 10px; margin-bottom: 18px;
}
.ldm-faq-kicker .kn {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--brown); color: var(--cream);
  display: inline-flex; align-items: center; justify-content: center; font-size: 11px;
}
.ldm-faq-title {
  font-family: var(--font-hand); font-weight: 300;
  font-size: clamp(40px, 5vw, 68px); line-height: 1.2;
  color: var(--brown); margin-bottom: 50px;
}
.ldm-faq-title .t-ambar { color: var(--ambar); }
.ldm-faq-list { max-width: 820px; margin: 0 auto; }
.ldm-faq-item { border-top: 1.5px solid var(--brown); padding: 22px 0; }
.ldm-faq-item:last-child { border-bottom: 1.5px solid var(--brown); }
/* core/details-based FAQ */
.ldm-faq-item summary {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; text-align: left; gap: 20px;
  font-family: var(--font-serif); font-size: 22px; line-height: 1.2;
  font-weight: 500; color: var(--brown);
  cursor: pointer; list-style: none; padding: 0;
}
.ldm-faq-item summary::-webkit-details-marker { display: none; }
.ldm-faq-item summary::after {
  content: '+';
  width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid var(--brown); display: flex;
  align-items: center; justify-content: center;
  flex-shrink: 0; transition: all var(--transition-slow);
  font-size: 20px; line-height: 1;
}
.ldm-faq-item[open] summary::after {
  background: var(--rosa); border-color: var(--rosa);
  color: var(--cream); content: '+';
  transform: rotate(135deg);
}
.ldm-faq-a-inner { padding-top: 14px; font-size: 17px; line-height: 1.6; color: #3f2e24; max-width: 680px; }
.ldm-faq-item .ldm-faq-a-inner,
.ldm-faq-item p { margin-top: 14px; font-size: 17px; line-height: 1.6; color: #3f2e24; max-width: 680px; }
/* Candle toggle btn */
.ldm-candle-toggle-btn .wp-element-button {
  padding: 16px 26px; border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 600;
  border: 1.5px solid var(--brown) !important; background: transparent !important;
  color: var(--brown) !important; min-width: 172px;
}
.ldm-candle-toggle-btn .wp-element-button:hover {
  background: var(--ambar) !important; color: var(--brown) !important;
}
/* Primary wrap button */
.ldm-btn-primary-wrap .wp-element-button {
  border: 1.5px solid var(--ambar) !important;
  background: var(--rosa) !important; color: var(--cream) !important;
  padding: 16px 26px !important;
}
.ldm-btn-primary-wrap .wp-element-button:hover {
  background: var(--ambar) !important; border-color: var(--rosa) !important; color: var(--brown) !important; transform: translateY(-2px);
}
/* Add to cart button */
.ldm-add-btn-wrap .wp-element-button {
  padding: 10px 16px !important; border-radius: var(--radius-pill) !important;
  background: var(--ambar) !important; color: var(--brown) !important;
  font-size: 12px !important; font-weight: 600 !important;
  border: none !important;
}
.ldm-add-btn-wrap .wp-element-button:hover {
  background: var(--rosa) !important; color: var(--cream) !important;
}
/* CTA primary fill */
.is-style-fill .wp-element-button {
  background: var(--ambar) !important; color: var(--brown) !important;
  border: 1.5px solid var(--ambar) !important;
}
.is-style-fill .wp-element-button:hover {
  background: var(--rosa) !important; border-color: var(--rosa) !important; color: var(--cream) !important; transform: translateY(-2px);
}
/* === footer === */
.ldm-footer {
  background: var(--rosa); color: var(--cream);
  padding: 80px 0 30px; position: relative;
}
.ldm-footer::before {
  content: ''; position: absolute; left: 0; right: 0; height: 40px;
  background: var(--rosa);
  -webkit-mask-image: radial-gradient(circle at 20px 0, transparent 20px, black 21px);
  mask-image: radial-gradient(circle at 20px 0, transparent 20px, black 21px);
  -webkit-mask-size: 40px 40px; mask-size: 40px 40px;
  -webkit-mask-repeat: repeat-x; mask-repeat: repeat-x;
  top: -39px; -webkit-mask-position: 0 0; mask-position: 0 0;
  filter: drop-shadow(0 0 1.5px rgba(43,31,26,0.14)) drop-shadow(0 2px 4px rgba(43,31,26,0.1));
}
.ldm-footer-hero {
  font-family: var(--font-hand); font-weight: 300;
  font-size: clamp(20px, 8.5vw, 84px); line-height: 0.9;
  color: var(--brown); margin-bottom: 60px;
  display: flex; flex-wrap: wrap; gap: 0.2em;
  overflow: visible; /* cursive ascenders must not be clipped */
  padding-top: 0.15em; /* room for Playwrite ascenders above cap-height */
}
/* Reset WP flow-layout block-gap margin on hero spans */
.ldm-footer-hero span { margin-block-start: 0 !important; }
.ldm-footer-hero .t-brown { color: var(--brown); }
.ldm-footer-hero .t-rosa-bebe { color: var(--rosa-bebe); }
.ldm-footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 40px; padding-top: 40px;
  border-top: 1px solid rgba(253,246,240,0.2);
}
/* Reset WP flow-layout block-gap margin on grid children and nav links */
.ldm-footer-grid > .wp-block-group { margin-top: 0 !important; }
.ldm-footer-col a { margin-block-start: 0 !important; }
.ldm-footer-logo { font-family: var(--font-hand); font-size: 32px; line-height: 1; margin-bottom: 14px; }
.ldm-footer-social { display: flex; gap: 10px; margin-top: 18px; }
.ldm-footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(253,246,240,0.3);
  display: inline-flex !important; align-items: center; justify-content: center;
  padding: 0 !important;
  font-size: 12px; transition: all var(--transition-fast);
  color: var(--cream); text-decoration: none;
}
.ldm-footer-social a:hover { background: var(--ambar); border-color: var(--ambar); color: var(--brown); opacity: 1; }
.ldm-footer-col a {
  display: block; font-size: 14px; padding: 4px 0;
  opacity: 0.8; text-decoration: none; color: var(--cream);
  transition: opacity var(--transition-fast), color var(--transition-fast);
}
.ldm-footer-col a:hover { opacity: 1; color: var(--ambar); }
/* === candle === */
.ldm-candle-wrap {
  position: relative; z-index: 3; transform: rotate(-3deg); cursor: pointer;
  width: 440px; max-width: 90%;
  filter: drop-shadow(0 30px 40px rgba(43,31,26,0.22));
  transition: transform 0.4s ease, filter 0.4s ease; outline: none;
  display: block; /* not flex — let image set natural square size */
  margin-top: 0 !important; /* kill WP block-gap */
}
.ldm-candle-wrap figure { margin: 0; }
.ldm-candle-wrap .wp-block-image { margin: 0; position: relative; z-index: 3; }
.ldm-candle-wrap .wp-block-image img { width: 100%; max-width: 100%; height: auto; display: block; pointer-events: none; }
/* blob rules consolidated above */
.ldm-candle-wrap:hover { transform: rotate(-2deg) translateY(-6px); }
.ldm-candle-wrap.lit {
  filter: drop-shadow(0 30px 40px rgba(43,31,26,0.22)) drop-shadow(0 0 50px rgba(222,150,57,0.55));
}
.ldm-candle-wrap img { width:100%; height:auto; display:block; pointer-events:none; user-select:none; }
.ldm-flame {
  position: absolute; top: 5%; left: 54%;
  transform: translateX(-50%);
  width: 32px; height: 50px !important;
  background: radial-gradient(ellipse at 50% 70%, #ffd37a 0%, #ff9b3c 45%, #c56e6b 85%, transparent 100%);
  border-radius: 50% 50% 40% 40% / 70% 70% 30% 30%;
  filter: blur(0.4px) drop-shadow(0 0 12px rgba(255,200,100,0.8));
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: ldm-flicker 1.8s ease-in-out infinite alternate;
  z-index: 4; pointer-events: none;
}
.ldm-flame::before {
  content: ''; position: absolute; inset: 4px 4px 8px 4px;
  background: radial-gradient(ellipse at 50% 70%, #fff8cf 0%, #ffd37a 50%, transparent 75%);
  border-radius: inherit;
}
.ldm-candle-wrap.lit .ldm-flame { opacity: 1; }
@keyframes ldm-flicker {
  0%,100% { transform: translateX(-50%) scale(1) rotate(-1deg); }
  30%      { transform: translateX(-50%) scale(1.05,.95) rotate(1deg); }
  60%      { transform: translateX(-50%) scale(.95,1.08) rotate(-2deg); }
}
@media (prefers-reduced-motion: reduce) { .ldm-flame { animation: none; } }
/* === woocommerce === */

/* Hide the per-product "Ver carrinho" link that WC injects after each
   add-to-cart click — replaced by a single button below the grid via JS */
.wc-block-product-template .added_to_cart,
.wc-block-product-template a.added_to_cart.wc_forward,
.wc-block-components-product-button .added_to_cart {
  display: none !important;
}

/* Single "Ver carrinho" bar that JS injects below the product grid */
.ldm-view-cart-bar {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
.ldm-view-cart-bar a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ambar) !important;
  color: var(--brown) !important;
  font-family: var(--font-sans) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  padding: 14px 32px !important;
  border-radius: var(--radius-pill) !important;
  text-decoration: none !important;
  transition: all var(--transition-normal) !important;
  box-shadow: 0 4px 20px -6px rgba(222,150,57,0.35);
}
.ldm-view-cart-bar a:hover {
  background: var(--rosa) !important;
  color: var(--cream) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -6px rgba(197,110,107,0.35);
}
.woocommerce-store-notice, p.demo_store { background: var(--brown) !important; color: var(--cream) !important; }
.woocommerce ul.products li.product a.woocommerce-loop-product__link { text-decoration: none; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-hand); font-size: 28px; font-weight: 300;
  line-height: 1; color: var(--brown); padding: 0;
}
.woocommerce ul.products li.product .price {
  font-family: var(--font-serif); font-size: 22px; font-weight: 600; color: var(--brown);
}
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit {
  background: var(--ambar) !important; color: var(--brown) !important;
  border-radius: var(--radius-pill) !important;
  font-family: var(--font-sans) !important;
  font-weight: 600 !important; transition: all var(--transition-fast) !important;
  padding: 10px 20px !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover {
  background: var(--rosa) !important; color: var(--cream) !important;
}
.woocommerce a.button.alt, .woocommerce button.button.alt {
  background: var(--rosa) !important; color: var(--cream) !important;
}
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover {
  background: var(--ambar) !important; color: var(--brown) !important;
}
.woocommerce div.product .product_title {
  font-family: var(--font-hand) !important; font-weight: 300 !important; font-size: clamp(32px, 5vw, 60px) !important; color: var(--brown) !important; line-height: 1.2;
}
.woocommerce div.product p.price, .woocommerce div.product span.price {
  font-family: var(--font-serif) !important; font-size: 28px !important; color: var(--brown) !important;
}
.woocommerce-breadcrumb { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brown); opacity: 0.7; }
.woocommerce div.product div.images .woocommerce-product-gallery__image {
  border-radius: var(--radius-card); overflow: hidden;
  background: linear-gradient(160deg, #e8b4ac 0%, #c56e6b 100%);
}
.woocommerce div.product div.images .woocommerce-product-gallery__image img {
  border-radius: var(--radius-card);
}
.woocommerce div.product form.cart .button {
  padding: 16px 32px !important; border-radius: var(--radius-pill) !important;
  background: var(--ambar) !important; color: var(--brown) !important;
  font-family: var(--font-sans) !important; font-weight: 600 !important;
  font-size: 14px !important; border: none !important;
  transition: all var(--transition-normal) !important;
}
.woocommerce div.product form.cart .button:hover {
  background: var(--rosa) !important; color: var(--cream) !important;
  transform: translateY(-2px);
}
.woocommerce div.product form.cart .qty {
  border: 1.5px solid rgba(64,46,38,0.3) !important;
  border-radius: 10px !important; padding: 10px 16px !important;
  font-family: var(--font-sans) !important; background: var(--cream) !important;
  color: var(--brown) !important; font-size: 15px !important;
}
.woocommerce .product .woocommerce-tabs ul.tabs li a {
  font-family: var(--font-sans); font-weight: 500; color: var(--brown);
}
.woocommerce .product .woocommerce-tabs ul.tabs li.active a { color: var(--rosa); }
.woocommerce .product .woocommerce-tabs ul.tabs { border-bottom: 1.5px solid rgba(64,46,38,0.2); }
.woocommerce .product .woocommerce-Tabs-panel h2 { font-family: var(--font-hand); font-weight: 300; font-size: 28px; color: var(--brown); }
/* Woo notices */
.woocommerce-message { border-top: 3px solid var(--ambar) !important; background: var(--ambar-bebe) !important; }
.woocommerce-message a.button { background: var(--ambar) !important; color: var(--brown) !important; }
.woocommerce .woocommerce-error, .woocommerce .woocommerce-info, .woocommerce .woocommerce-message {
  border-top-color: var(--ambar) !important;
}
/* === Minha Conta: login/register page === */

/* Constrain and center the whole account page content */
.woocommerce-account .entry-content > .woocommerce {
  max-width: 960px;
  margin: 48px auto 80px;
  padding: 0 24px;
}

/* Two-column layout for login + register cards */
.woocommerce-account #customer_login.col2-set {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 32px !important;
  align-items: stretch !important;
  width: 100% !important;
}

/* Each card — stretch to equal height */
.woocommerce-account .u-column1,
.woocommerce-account .u-column2 {
  background: var(--cream-2) !important;
  border-radius: 24px !important;
  border: 1.5px solid rgba(64,46,38,0.12) !important;
  padding: 40px 36px !important;
  width: auto !important;
  float: none !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Section headings: handwritten */
.woocommerce-account #customer_login h2 {
  font-family: var(--font-hand) !important;
  font-weight: 400 !important;
  font-size: 36px !important;
  color: var(--brown) !important;
  margin-bottom: 28px !important;
  line-height: 1.1 !important;
}

/* Labels: mono small caps */
.woocommerce-account .woocommerce-MyAccount-navigation ul li a,
.woocommerce form .form-row label {
  font-family: var(--font-mono) !important;
  font-size: 10px !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  opacity: 0.7 !important;
  display: block !important;
  margin-bottom: 6px !important;
}

/* Inputs: cream pill — must beat .woocommerce form .form-row input.input-text */
.woocommerce-account .woocommerce form .form-row input.input-text,
.woocommerce-account .woocommerce-Input.input-text,
.woocommerce-account .woocommerce-Input--text,
.woocommerce-account .woocommerce-form-row input.input-text {
  border: 1.5px solid rgba(64,46,38,0.22) !important;
  border-radius: var(--radius-pill) !important;
  padding: 14px 20px !important;
  font-family: var(--font-sans) !important;
  font-size: 15px !important;
  color: var(--brown) !important;
  background: var(--cream) !important;
  width: 100% !important;
  box-shadow: none !important;
  transition: border-color var(--transition-fast) !important;
  display: block !important;
  box-sizing: border-box !important;
}
.woocommerce-account .woocommerce form .form-row input.input-text:focus,
.woocommerce-account .woocommerce-Input.input-text:focus,
.woocommerce-account .woocommerce-Input--text:focus,
.woocommerce-account .woocommerce-form-row input.input-text:focus {
  border-color: var(--rosa) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(197,110,107,0.10) !important;
}

/* Form row: label above input — override WC's row flex */
.woocommerce-account .woocommerce-form-row,
.woocommerce-account .woocommerce-form-row.form-row-wide {
  margin-bottom: 20px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0 !important;
  flex-wrap: nowrap !important;
}
/* Extra top margin on the password row in the login form */
.woocommerce-account .woocommerce-form-login .woocommerce-form-row + .woocommerce-form-row {
  margin-top: 18px !important;
}
/* Actions row (Manter sessão + Iniciar sessão) — stack with breathing room */
.woocommerce-account .woocommerce-form-login p.form-row:not(.woocommerce-form-row) {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 20px !important;
  margin-top: 26px !important;
  margin-bottom: 10px !important;
}

/* Password-input wrapper: relative container so the toggle button sits inside */
.woocommerce-account .password-input {
  display: block !important;
  width: 100% !important;
  position: relative !important;
}
.woocommerce-account .password-input input {
  width: 100% !important;
  padding-right: 52px !important; /* room for the eye button */
}
/* Show-password toggle: clean eye icon inside the pill */
.woocommerce-account .show-password-input {
  position: absolute !important;
  right: 16px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 24px !important;
  height: 24px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--brown) !important;
  opacity: 0.45 !important;
  transition: opacity var(--transition-fast) !important;
  font-size: 0 !important; /* hide any text */
  outline: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.woocommerce-account .show-password-input:hover {
  opacity: 0.9 !important;
}
/* Eye icon via CSS mask */
.woocommerce-account .show-password-input::after {
  content: '' !important;
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  background-color: var(--brown) !important;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") !important;
  -webkit-mask-repeat: no-repeat !important;
  mask-repeat: no-repeat !important;
  -webkit-mask-size: contain !important;
  mask-size: contain !important;
  -webkit-mask-position: center !important;
  mask-position: center !important;
}

/* "Manter sessão" checkbox row */
.woocommerce-account .woocommerce-form-login__rememberme {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
  opacity: 0.7 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.woocommerce-account .woocommerce-form__input-checkbox {
  accent-color: var(--rosa) !important;
  width: 16px !important; height: 16px !important;
}

/* ── Error banner on the account/login page — on-brand (soft rosa) ──
   WC ships errors in bright red, which clashes with the cream palette.
   Re-tint to the theme's rosa; still reads as an alert. Scoped to the
   account page so genuine checkout blockers stay their default red. */
.woocommerce-account .wc-block-components-notice-banner.is-error {
  background: rgba(197,110,107,0.10) !important;
  border: 1px solid rgba(197,110,107,0.40) !important;
  border-radius: 16px !important;
  color: var(--brown) !important;
  align-items: center !important;
}
.woocommerce-account .wc-block-components-notice-banner.is-error svg {
  background: var(--rosa) !important;
  fill: var(--cream) !important;
  color: var(--cream) !important;
}
.woocommerce-account .wc-block-components-notice-banner.is-error .wc-block-components-notice-banner__content {
  font-family: var(--font-sans) !important;
  color: var(--brown) !important;
}
.woocommerce-account .wc-block-components-notice-banner.is-error a {
  color: var(--rosa) !important;
  text-decoration: underline !important;
}

/* Success banner (e.g. "Detalhes da conta alterados com sucesso") — on-brand.
   WC ships it bright green; re-tint to the theme's blue accent. The check icon
   keeps it reading as success. */
.woocommerce-account .wc-block-components-notice-banner.is-success {
  background: var(--azul-bebe) !important;
  border: 1px solid rgba(73,117,147,0.28) !important;
  border-radius: 16px !important;
  color: var(--brown) !important;
  align-items: center !important;
  padding: 18px 22px !important;
}
.woocommerce-account .wc-block-components-notice-banner.is-success svg {
  background: var(--azul) !important;
  fill: var(--cream) !important;
  color: var(--cream) !important;
}
.woocommerce-account .wc-block-components-notice-banner.is-success .wc-block-components-notice-banner__content {
  font-family: var(--font-sans) !important;
  color: var(--brown) !important;
}

/* Register card: more vertical breathing room between elements */
.woocommerce-account .woocommerce-form-register .woocommerce-form-row {
  margin-bottom: 28px !important;
}
.woocommerce-account .woocommerce-form-register p:not(.woocommerce-form-row) {
  margin-bottom: 20px !important;
  line-height: 1.65 !important;
}
/* "A ligação para definir..." info note */
.woocommerce-account .woocommerce-form-register .woocommerce-privacy-policy-text + *,
.woocommerce-account .woocommerce-register-email-note {
  margin-top: 12px !important;
}
/* Password set info text (the grey note about the link).
   Must exclude `.woocommerce-form-row` — that <p> wraps the submit button, and
   dimming it made the “Registar nova conta” button look disabled. */
.woocommerce-account .woocommerce-form-register p:not([class]),
.woocommerce-account .woocommerce-form-register > p:not(.woocommerce-form-row) {
  font-size: 13px !important;
  opacity: 0.65 !important;
  margin-top: 4px !important;
  margin-bottom: 24px !important;
}
/* Privacy note text */
.woocommerce-account .woocommerce-privacy-policy-text {
  font-family: var(--font-sans) !important;
  font-size: 12px !important;
  color: var(--brown) !important;
  opacity: 0.55 !important;
  line-height: 1.7 !important;
  margin: 0 0 28px !important;
  padding-top: 4px !important;
}
.woocommerce-account .woocommerce-privacy-policy-text a {
  color: var(--brown) !important;
  text-decoration: underline !important;
}

/* Buttons: amber pill */
.woocommerce-account .woocommerce-Button.button,
.woocommerce-account .woocommerce-form-login__submit,
.woocommerce-account .woocommerce-form-register__submit {
  background: var(--ambar) !important;
  color: var(--brown) !important;
  border: none !important;
  border-radius: var(--radius-pill) !important;
  font-family: var(--font-sans) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  padding: 14px 28px !important;
  cursor: pointer !important;
  transition: all var(--transition-normal) !important;
  letter-spacing: 0.01em !important;
  display: inline-block !important;
}
.woocommerce-account .woocommerce-Button.button:hover,
.woocommerce-account .woocommerce-form-login__submit:hover,
.woocommerce-account .woocommerce-form-register__submit:hover {
  background: var(--rosa) !important;
  color: var(--cream) !important;
  transform: translateY(-1px) !important;
}

/* "Perdeu a sua senha?" link */
.woocommerce-account .woocommerce-LostPassword a {
  font-family: var(--font-mono) !important;
  font-size: 11px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--brown) !important;
  opacity: 0.5 !important;
  text-decoration: none !important;
  display: inline-block !important;
  margin-top: 8px !important;
  transition: opacity var(--transition-fast) !important;
}
.woocommerce-account .woocommerce-LostPassword a:hover { opacity: 1 !important; }

/* Actions row (button + lost password) */
.woocommerce-account .woocommerce-form-row.form-row {
  flex-direction: row !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
  margin-bottom: 0 !important;
}

/* ═══════════════════════════════════════════════════════════════════
   My Account — logged-in layout (sidebar nav card + content card)
   The theme strips WooCommerce's default CSS, so the nav and content
   render stacked and unstyled. Rebuild a two-column card layout.
   Scoped with :has(nav) so the login / lost-password pages are untouched.
   ═══════════════════════════════════════════════════════════════════ */
.woocommerce-account .entry-content > .woocommerce:has(.woocommerce-MyAccount-navigation) {
  max-width: 1060px !important;
  display: grid !important;
  grid-template-columns: 220px minmax(0, 1fr) !important;
  gap: 28px !important;
  align-items: start !important;
  padding: 0 24px !important;
}

/* ── Navigation sidebar card ── */
.woocommerce-account .woocommerce-MyAccount-navigation {
  position: sticky;
  top: 100px;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 12px !important;
  background: var(--cream-2);
  border: 1.5px solid rgba(64,46,38,0.12);
  border-radius: 20px;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li {
  margin: 0 !important;
  border: none !important;
}
/* Nav links — override the shared label rule above with richer styling */
.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  display: block !important;
  padding: 11px 16px !important;
  margin-bottom: 2px !important;
  border-radius: 12px !important;
  font-family: var(--font-mono) !important;
  font-size: 11px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--brown) !important;
  opacity: 0.7 !important;
  text-decoration: none !important;
  transition: background var(--transition-fast), opacity var(--transition-fast) !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
  background: var(--cream) !important;
  opacity: 1 !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
  background: var(--ambar) !important;
  color: var(--brown) !important;
  opacity: 1 !important;
  font-weight: 700 !important;
}
/* Logout link — set apart at the bottom */
.woocommerce-account .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout {
  margin-top: 8px !important;
  padding-top: 8px !important;
  border-top: 1px solid rgba(64,46,38,0.1) !important;
}

/* ── Content card ── */
.woocommerce-account .woocommerce-MyAccount-content {
  background: var(--cream-2);
  border: 1.5px solid rgba(64,46,38,0.12);
  border-radius: 24px;
  padding: 34px 38px !important;
  min-width: 0;
  float: none !important;
  width: auto !important;
}
/* Injected hand-font section heading.
   Scoped to `.woocommerce-account h1.ldm-account-title` so it beats the broad
   shop-title rule `.woocommerce-page h1` (which was forcing it to 68px). */
.woocommerce-account h1.ldm-account-title {
  font-family: var(--font-hand) !important;
  font-weight: 400 !important;
  font-size: 28px !important;
  color: var(--brown) !important;
  line-height: 1.1 !important;
  margin: 0 0 22px !important;
}
/* Content typography */
.woocommerce-account .woocommerce-MyAccount-content p {
  font-family: var(--font-sans) !important;
  color: var(--brown) !important;
  line-height: 1.65 !important;
}
.woocommerce-account .woocommerce-MyAccount-content a:not(.button):not(.woocommerce-button) {
  color: var(--brown) !important;
  text-decoration: underline !important;
}
.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 {
  font-family: var(--font-hand) !important;
  font-weight: 400 !important;
  font-size: 24px !important;
  color: var(--brown) !important;
  margin: 0 0 12px !important;
}

/* ── Empty-state info banner (e.g. "no orders yet") — theme it ──
   WC's block notice banner ships blue (light-blue bg, blue border + icon),
   which clashes with the cream palette. Recolour to amber/brown. */
.woocommerce-account .woocommerce-MyAccount-content .wc-block-components-notice-banner.is-info {
  background: var(--ambar-bebe) !important;
  border: 1px solid rgba(64,46,38,0.12) !important;
  border-radius: 16px !important;
  color: var(--brown) !important;
  align-items: center !important;
  padding: 18px 22px !important;
}
.woocommerce-account .woocommerce-MyAccount-content .wc-block-components-notice-banner.is-info svg {
  fill: var(--brown) !important;
  color: var(--brown) !important;
  background: var(--ambar) !important;
}
.woocommerce-account .woocommerce-MyAccount-content .wc-block-components-notice-banner__content {
  font-family: var(--font-sans) !important;
  color: var(--brown) !important;
}
/* "Ver produtos" call-to-action — clean amber pill, no underline */
.woocommerce-account .woocommerce-MyAccount-content .wc-block-components-notice-banner .button,
.woocommerce-account .woocommerce-MyAccount-content .wc-block-components-notice-banner a.woocommerce-Button {
  text-decoration: none !important;
  border: none !important;
  border-radius: var(--radius-pill) !important;
  background: var(--ambar) !important;
  color: var(--brown) !important;
  font-family: var(--font-sans) !important;
  font-weight: 700 !important;
  padding: 12px 24px !important;
  transition: all var(--transition-fast) !important;
}
.woocommerce-account .woocommerce-MyAccount-content .wc-block-components-notice-banner .button:hover,
.woocommerce-account .woocommerce-MyAccount-content .wc-block-components-notice-banner a.woocommerce-Button:hover {
  background: var(--rosa) !important;
  color: var(--cream) !important;
}

/* ── Addresses: two sub-cards inside the content card ── */
.woocommerce-account .woocommerce-MyAccount-content .u-columns {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 20px !important;
  margin-top: 20px !important;
  width: 100% !important;
}
.woocommerce-account .woocommerce-MyAccount-content .u-column1,
.woocommerce-account .woocommerce-MyAccount-content .u-column2 {
  background: var(--cream) !important;
  border: 1px solid rgba(64,46,38,0.10) !important;
  border-radius: 16px !important;
  padding: 24px !important;
}
.woocommerce-account .woocommerce-MyAccount-content address {
  font-style: normal !important;
  font-family: var(--font-sans) !important;
  line-height: 1.6 !important;
  color: var(--brown) !important;
}
/* Address heading sits above its edit/add button */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title {
  display: block !important;
  margin-bottom: 4px !important;
}
/* "Editar/Adicionar Morada" — amber pill button (same for billing & shipping) */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address .edit,
.woocommerce-account .woocommerce-MyAccount-content .u-column1 a.edit,
.woocommerce-account .woocommerce-MyAccount-content .u-column2 a.edit {
  display: inline-block !important;
  margin: 6px 0 16px !important;
  padding: 9px 18px !important;
  background: var(--ambar) !important;
  color: var(--brown) !important;
  border: none !important;
  border-radius: var(--radius-pill) !important;
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: all var(--transition-fast) !important;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address .edit:hover,
.woocommerce-account .woocommerce-MyAccount-content .u-column1 a.edit:hover,
.woocommerce-account .woocommerce-MyAccount-content .u-column2 a.edit:hover {
  background: var(--rosa) !important;
  color: var(--cream) !important;
}

/* ── Account details: password fieldset becomes a sub-card ── */
.woocommerce-account .woocommerce-EditAccountForm fieldset {
  margin-top: 28px !important;
  padding: 8px 24px 24px !important;
  border: 1px solid rgba(64,46,38,0.12) !important;
  border-radius: 16px !important;
  background: var(--cream) !important;
}
.woocommerce-account .woocommerce-EditAccountForm fieldset legend {
  font-family: var(--font-hand) !important;
  font-size: 22px !important;
  font-weight: 400 !important;
  color: var(--brown) !important;
  padding: 0 8px !important;
  float: none !important;
}

/* ── Account/address form rows: label tight above its own input ──
   A broad `.woocommerce-form-row.form-row` rule (meant for the login actions
   row) was forcing these into flex-row/wrap with margin-bottom:0, so each
   label sat glued to the input ABOVE it. Force a clean column layout here. */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-form-row.form-row {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  flex-wrap: nowrap !important;
  gap: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 22px !important;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-form-row.form-row label {
  margin-bottom: 8px !important;
}
/* The "Isto será como o seu nome..." hint sits under its field, not floating */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-form-row span em,
.woocommerce-account .woocommerce-MyAccount-content form > span.description {
  display: block !important;
  margin-top: 6px !important;
  font-size: 12px !important;
  opacity: 0.6 !important;
}
/* Save button ("Guardar alterações") — space it from the fields above */
.woocommerce-account .woocommerce-MyAccount-content form button[name="save_account_details"],
.woocommerce-account .woocommerce-MyAccount-content form button[name="save_address"] {
  margin-top: 30px !important;
}

/* ── Country/region select2 — match the cream pill inputs ── */
/* Keep it full-width from first paint so it doesn't flash narrow then stretch
   when select2 initialises (the native <select> renders before the JS runs). */
.woocommerce-account .woocommerce-MyAccount-content select,
.woocommerce-account .woocommerce-MyAccount-content select.country_select,
.woocommerce-account .select2,
.woocommerce-account .select2-container {
  width: 100% !important;
  box-sizing: border-box !important;
}
/* Native select fallback styling (visible only in the brief pre-init moment) */
.woocommerce-account .woocommerce-MyAccount-content select.country_select {
  height: 51px !important;
  padding: 0 22px !important;
  border: 1.5px solid rgba(64,46,38,0.22) !important;
  border-radius: var(--radius-pill) !important;
  background: var(--cream) !important;
  font-family: var(--font-sans) !important;
  font-size: 15px !important;
  color: var(--brown) !important;
}
.woocommerce-account .select2-container--default .select2-selection--single {
  height: 51px !important;
  background: var(--cream) !important;
  border: 1.5px solid rgba(64,46,38,0.22) !important;
  border-radius: var(--radius-pill) !important;
  transition: border-color var(--transition-fast) !important;
}
.woocommerce-account .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--brown) !important;
  font-family: var(--font-sans) !important;
  font-size: 15px !important;
  line-height: 48px !important;
  height: 48px !important;
  padding: 0 42px 0 22px !important;
}
.woocommerce-account .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 49px !important;
  right: 16px !important;
}
.woocommerce-account .select2-container--default .select2-selection__arrow b {
  border-color: var(--brown) transparent transparent transparent !important;
}
.woocommerce-account .select2-container--default.select2-container--open .select2-selection--single,
.woocommerce-account .select2-container--default.select2-container--focus .select2-selection--single {
  border-color: var(--rosa) !important;
}
/* Dropdown panel (appended to body) — themed to match */
.select2-dropdown {
  background: var(--cream) !important;
  border: 1.5px solid rgba(64,46,38,0.22) !important;
  border-radius: 14px !important;
  overflow: hidden !important;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1.5px solid rgba(64,46,38,0.2) !important;
  border-radius: 10px !important;
  background: var(--cream-2) !important;
  font-family: var(--font-sans) !important;
  color: var(--brown) !important;
  padding: 8px 12px !important;
}
.select2-container--default .select2-results__option {
  font-family: var(--font-sans) !important;
  color: var(--brown) !important;
}
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted {
  background: var(--ambar) !important;
  color: var(--brown) !important;
}

/* ── Lost password (logged-out, no nav): centered card ── */
.woocommerce-account .entry-content > .woocommerce:has(.woocommerce-ResetPassword) {
  max-width: 520px !important;
  background: var(--cream-2);
  border: 1.5px solid rgba(64,46,38,0.12);
  border-radius: 24px;
  padding: 40px 36px !important;
}
.woocommerce-account .woocommerce-ResetPassword > p:first-child {
  font-family: var(--font-sans) !important;
  font-size: 14px !important;
  color: var(--brown) !important;
  opacity: 0.7 !important;
  line-height: 1.6 !important;
  margin-bottom: 26px !important;
}
/* Breathing room around the email input row */
.woocommerce-account .woocommerce-ResetPassword .woocommerce-form-row--first {
  margin-top: 6px !important;
  margin-bottom: 28px !important;
}
/* Smaller title here — the card is narrow, 34px wraps and feels oversized */
.woocommerce-account .woocommerce:has(.woocommerce-ResetPassword) .ldm-account-title {
  font-size: 27px !important;
  margin-bottom: 18px !important;
}

/* Mobile: stack the cards */
@media (max-width: 780px) {
  .woocommerce-account #customer_login.col2-set {
    grid-template-columns: 1fr !important;
  }
  .woocommerce-account .u-column1,
  .woocommerce-account .u-column2 {
    padding: 28px 20px !important;
  }
  .woocommerce-account .entry-content > .woocommerce:has(.woocommerce-MyAccount-navigation) {
    grid-template-columns: 1fr !important;
  }
  .woocommerce-account .woocommerce-MyAccount-navigation { position: static; }
  .woocommerce-account .woocommerce-MyAccount-content .u-columns {
    grid-template-columns: 1fr !important;
  }
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
  border: 1.5px solid rgba(64,46,38,0.3) !important;
  border-radius: 10px !important;
  font-family: var(--font-sans) !important;
  background: var(--cream) !important;
  color: var(--brown) !important;
  transition: border-color var(--transition-fast) !important;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
  border-color: var(--rosa) !important;
  outline: none !important;
}
.woocommerce .cart-collaterals .cart_totals, .woocommerce-checkout #order_review {
  background: var(--cream-2); border-radius: var(--radius-card); padding: 30px;
}
/* Product image gradient placeholders */
.woocommerce ul.products li.product .woocommerce-placeholder { opacity: 0.5; }
/* Shop page */
.woocommerce h1.woocommerce-page-title,
.woocommerce h1.woocommerce-products-header__title,
.woocommerce-page h1 {
  font-family: var(--font-hand) !important; font-weight: 300 !important;
  font-size: clamp(38px, 5vw, 68px) !important; color: var(--brown) !important;
  margin-bottom: 16px;
}
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; }
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(3,1fr) !important; gap: 28px !important; margin: 0 !important; }
.woocommerce ul.products li.product {
  background: var(--cream); border-radius: var(--radius-card);
  padding: 22px !important; display: flex !important; flex-direction: column !important;
  gap: 12px !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: left !important;
}
.woocommerce ul.products li.product:hover { transform: scale(1.02); box-shadow: var(--shadow-card); }
.woocommerce ul.products li.product a img {
  border-radius: 12px !important; margin: 0 0 12px 0 !important;
  width: 100% !important; object-fit: cover !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-hand) !important; font-size: 28px !important;
  font-weight: 300 !important; color: var(--brown) !important;
  line-height: 1 !important; padding: 0 !important; margin: 0 !important;
}
.woocommerce ul.products li.product .price {
  font-family: var(--font-serif) !important; font-size: 22px !important;
  font-weight: 600 !important; color: var(--brown) !important; margin: 0 !important;
}
.woocommerce ul.products li.product .button {
  margin-top: auto !important; display: inline-block !important;
  padding: 10px 20px !important; border-radius: var(--radius-pill) !important;
  background: var(--ambar) !important; color: var(--brown) !important;
  border: none !important; font-weight: 600 !important;
  font-family: var(--font-sans) !important; font-size: 12px !important;
  transition: all var(--transition-fast) !important;
}
.woocommerce ul.products li.product .button:hover { background: var(--rosa) !important; color: var(--cream) !important; }
@media (max-width: 960px) { .woocommerce ul.products { grid-template-columns: repeat(2,1fr) !important; } }
@media (max-width: 600px) { .woocommerce ul.products { grid-template-columns: 1fr !important; } }
/* === contact === */
.ldm-contact-hero {
  background: var(--rosa-bebe);
  padding: 80px 0 100px; position: relative;
}
.ldm-contact-hero::after {
  content: ''; position: absolute; left: 0; right: 0; height: 40px;
  background: var(--rosa-bebe);
  -webkit-mask-image: radial-gradient(circle at 20px 0, transparent 20px, black 21px);
  mask-image: radial-gradient(circle at 20px 0, transparent 20px, black 21px);
  -webkit-mask-size: 40px 40px; mask-size: 40px 40px;
  -webkit-mask-repeat: repeat-x; mask-repeat: repeat-x;
  bottom: -39px; transform: scaleY(-1);
  filter: drop-shadow(0 0 1.5px rgba(43,31,26,0.14)) drop-shadow(0 2px 4px rgba(43,31,26,0.1));
}
/* Two-column grid: text left, form card right */
.ldm-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 60px;
  align-items: start;
}
.ldm-contact-text { padding-top: 12px; }
.ldm-contact-hero h1 {
  font-family: var(--font-hand); font-weight: 300;
  font-size: clamp(36px, 6vw, 80px); line-height: 1.1; color: var(--brown);
}
.ldm-contact-hero h1 .t-ambar { color: var(--ambar); }
.ldm-contact-hero .ldm-contact-text p { font-size: 19px; line-height: 1.55; color: var(--brown); margin-top: 40px; }
.ldm-contact-form-section { padding: 80px 0; background: var(--cream); }
.ldm-form-card {
  background: var(--cream-2); border-radius: var(--radius-card);
  padding: 50px; max-width: 680px;
  box-shadow: 0 20px 60px -20px rgba(43,31,26,0.15);
}
.ldm-form-title { font-family: var(--font-hand); font-size: clamp(28px, 4vw, 44px); font-weight: 300; color: var(--brown); margin-bottom: 8px; }
.ldm-form-title .t-rosa { color: var(--rosa); }
.ldm-form-sub { font-size: 16px; color: #6b564a; margin-bottom: 32px; }
/* CF7 overrides */
.wpcf7 .wpcf7-form-control-wrap input,
.wpcf7 .wpcf7-form-control-wrap textarea,
.wpcf7 .wpcf7-form-control-wrap select {
  width: 100%; padding: 14px 18px;
  border: 1.5px solid rgba(64,46,38,0.25);
  border-radius: 10px; background: var(--cream);
  font-family: var(--font-sans); font-size: 15px; color: var(--brown);
  transition: border-color var(--transition-fast);
  margin-bottom: 20px;
}
.wpcf7 .wpcf7-form-control-wrap input:focus,
.wpcf7 .wpcf7-form-control-wrap textarea:focus {
  border-color: var(--rosa); outline: none;
}
.wpcf7 .wpcf7-form-control-wrap textarea { min-height: 140px; resize: vertical; }
.wpcf7 label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brown); display: block; margin-bottom: 6px; }
.wpcf7 input[type="submit"] {
  padding: 16px 32px; border-radius: var(--radius-pill);
  background: var(--ambar); color: var(--brown); border: none;
  font-family: var(--font-sans); font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all var(--transition-normal);
}
.wpcf7 input[type="submit"]:hover { background: var(--rosa); color: var(--cream); transform: translateY(-2px); }
/* === responsive === */
@media (max-width: 960px) {
  .ldm-hero-grid { grid-template-columns: 1fr; gap: 0; }
  /* Mobile stacking: copy (no CTAs) → candle → CTAs */
  .ldm-hero-copy  { order: 1; }
  .ldm-hero-visual { order: 2; height: 350px; }
  .ldm-hero-cta-mobile { order: 3; }
  /* Hide desktop CTAs, show mobile CTAs */
  .ldm-hero-cta-desktop { display: none  !important; }
  .ldm-hero-cta-mobile  { display: flex  !important; padding: 24px 0 8px; }
  .ldm-hero-cta-mobile .wp-block-buttons,
  .ldm-hero-cta-mobile .wp-block-button { width: 100%; }
  .ldm-hero-cta-mobile .wp-block-button__link { width: 100%; text-align: center; box-sizing: border-box; }
  /* Blob: both dimensions as % of stage so ratio stays 300:250 = 6:5 at all sizes.
     Stage is 350px tall → height=71%, width=86% keeps the organic shape. */
  /* blob now uses % sizing — no override needed at this breakpoint */
  .ldm-products { grid-template-columns: repeat(2,1fr); gap: 20px; }
  .ldm-story-grid { grid-template-columns: 1fr; gap: 28px; }
  .ldm-story-img { max-width: 280px; margin: 0 auto; }
  .ldm-steps { grid-template-columns: 1fr; gap: 24px; }
  .ldm-cta-inner { grid-template-columns: 1fr; gap: 60px; }
  .ldm-contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .ldm-envelope { max-width: 360px; margin: 0 auto; }
  .ldm-cta-row { flex-direction: column; align-items: stretch; }
  .ldm-cta-row .wp-block-buttons,
  .ldm-cta-row .wp-block-button { width: 100%; }
  .ldm-cta-row .wp-block-button__link,
  .ldm-cta-row .ldm-btn-outline { width: 100%; text-align: center; box-sizing: border-box; display: block; }
  .ldm-footer-grid { grid-template-columns: 1fr 1fr; }
  .ldm-nav { display: none; }
  .ldm-hamburger { display: flex; }
  .ldm-mobile-nav { display: flex; }
  /* Account lives inside the hamburger menu on mobile — hide the icon */
  .ldm-account-link { display: none; }
  .ldm-header > .ldm-header-inner:first-child {
    padding-top: 14px; padding-bottom: 8px; padding-left: 16px; padding-right: 16px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }
  .ldm-header > .ldm-header-inner:first-child .ldm-logo {
    grid-column: 2;
    justify-self: center;
    font-size: 20px;
    gap: 6px;
  }
  .ldm-header > .ldm-header-inner:first-child .ldm-header-actions {
    grid-column: 3;
    justify-self: end;
  }
  .ldm-ticker-outer { padding: 6px 16px 8px; }
}
@media (max-width: 768px) {
  .ldm-hero { padding: 40px 0; }
  .ldm-hero-title { font-size: clamp(36px, 10vw, 52px); }
  .ldm-hero-sub { font-size: 17px; margin-top: 20px; }
  .ldm-hero-visual { height: 400px; }
  .ldm-section-title { font-size: clamp(28px, 8vw, 40px); }
  .ldm-ritual-title  { font-size: clamp(28px, 8vw, 40px); }
  .ldm-faq-title     { font-size: clamp(28px, 8vw, 40px); }
  .ldm-story-title { font-size: clamp(28px, 7vw, 38px); }
  .ldm-story-text p { font-size: 16px; }
  .ldm-step { padding: 24px; }
  .ldm-step-num { font-size: 56px; }
  .ldm-step h3 { font-size: 28px; }
  .ldm-cta-title { font-size: clamp(44px, 10vw, 72px); }
  .ldm-cta-sub { font-size: 17px; }
  .ldm-footer { padding: 60px 0 24px; }
  .ldm-footer-hero { font-size: clamp(36px, 10vw, 56px); }
  .ldm-footer-grid { grid-template-columns: 1fr; gap: 30px; }
  /* On mobile the two link columns stack — remove the gap between them
     so all footer links feel like one evenly-spaced list */
  .ldm-footer-grid > .ldm-footer-col:nth-child(3) { margin-top: -22px !important; }
  .ldm-faq-q { font-size: 18px; }
  .is-layout-constrained > :not(.alignleft):not(.alignright):not(.alignfull) { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 600px) {
  .ldm-products { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .ldm-hero-visual { height: 350px; }
  .ldm-candle-wrap { width: 280px; }
  .ldm-flame { width: 24px; height: 38px !important; }
  .ldm-footer { padding: 40px 0 20px; }
  .ldm-footer-hero { font-size: clamp(28px, 10vw, 40px); }
  .is-layout-constrained > :not(.alignleft):not(.alignright):not(.alignfull) { padding-left: 16px; padding-right: 16px; }
  .ldm-form-card { padding: 28px 20px; }
  .ldm-btn-primary, .ldm-btn-outline { width: 100%; justify-content: center; }
}
/* === woocommerce checkout (blocks) === */

/* Page wrapper */
.woocommerce-checkout .entry-content,
.page-id-8 .entry-content,
.wp-block-woocommerce-checkout {
  background: transparent;
}

/* ── Outer layout ── */
.wc-block-checkout.is-loading,
.wc-block-checkout {
  max-width: 1080px !important;
  margin: 0 auto !important;
  padding: 40px 40px 80px !important;
}
.wc-block-checkout__main  { flex: 1 1 58% !important; min-width: 0 !important; }
.wc-block-checkout__sidebar {
  flex: 0 0 360px !important; max-width: 360px !important;
  position: sticky !important; top: 110px !important; align-self: flex-start !important;
}

/* ── One unified card wrapping all steps ── */
.wc-block-checkout__main {
  background: var(--cream-2) !important;
  border-radius: 24px !important;
  border: 1.5px solid rgba(64,46,38,0.14) !important;
  padding: 8px 0 !important;
  overflow: hidden !important;
}

/* ── Individual steps: no card of their own ── */
.wc-block-components-checkout-step {
  background: transparent !important;
  border-radius: 0 !important;
  padding: 32px 36px !important;
  margin-bottom: 0 !important;
  border: none !important;
  border-bottom: 1px solid rgba(64,46,38,0.10) !important;
  box-shadow: none !important;
}
.wc-block-components-checkout-step:last-of-type {
  border-bottom: none !important;
}
/* Actions block sits outside the steps but inside the main — give it padding */
.wc-block-checkout__actions {
  padding: 24px 36px 32px !important;
}

/* Section title — handwritten, no divider, no step number */
.wc-block-components-checkout-step__title {
  font-family: var(--font-hand) !important;
  font-weight: 300 !important;
  font-size: 34px !important;
  color: var(--brown) !important;
  line-height: 1.2 !important;
  margin-bottom: 28px !important;
  padding-bottom: 0 !important;
  border-bottom: none !important;
}
.wc-block-components-checkout-step__heading-number { display: none !important; }

/* ── Float-label → static label above input ──
   WC Blocks uses position:absolute floating labels inside a
   position:relative wrapper. We flip the wrapper to flex-column
   and reset the label to a normal static block above the input. */
.wc-block-components-text-input {
  position: static !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  margin-bottom: 16px !important;
  height: auto !important;
}
/* Undo WC's absolute positioning of the label */
.wc-block-components-text-input label {
  position: static !important;
  display: block !important;
  transform: none !important;
  font-family: var(--font-mono) !important;
  font-size: 10px !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: var(--brown) !important;
  opacity: 0.7 !important;
  margin-bottom: 8px !important;
  padding: 0 4px !important;
  max-width: none !important;
  line-height: 1 !important;
  transition: none !important;
  order: -1 !important; /* label always above input */
}
/* Pill inputs */
.wc-block-components-text-input input {
  border: 1.5px solid rgba(64,46,38,0.22) !important;
  border-radius: var(--radius-pill) !important;
  padding: 15px 22px !important;
  font-family: var(--font-sans) !important;
  font-size: 15px !important;
  color: var(--brown) !important;
  background: var(--cream) !important;
  transition: border-color var(--transition-fast) !important;
  width: 100% !important;
  box-shadow: none !important;
  height: auto !important;
}
.wc-block-components-text-input input:focus {
  border-color: var(--rosa) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(197,110,107,0.10) !important;
}
/* Textarea (note) — large radius, not pill */
.wc-block-checkout textarea,
.wc-block-components-textarea textarea {
  border: 1.5px solid rgba(64,46,38,0.22) !important;
  border-radius: 18px !important;
  padding: 15px 22px !important;
  font-family: var(--font-sans) !important;
  font-size: 15px !important;
  color: var(--brown) !important;
  background: var(--cream) !important;
  width: 100% !important;
  min-height: 120px !important;
  resize: vertical !important;
  box-shadow: none !important;
}
.wc-block-checkout textarea:focus,
.wc-block-components-textarea textarea:focus {
  border-color: var(--rosa) !important;
  outline: none !important;
}
/* Country/Region — WC renders a floating-label select with its own
   absolutely-positioned chevron SVG. We promote the label above the
   select (flex-column on the container) and use the native OS arrow
   so the chevron sits correctly inside the pill. */
.wc-blocks-components-select {
  margin-bottom: 16px !important;
}
.wc-blocks-components-select__container {
  background: transparent !important;
  border-radius: 0 !important;
  position: static !important;
  display: flex !important;
  flex-direction: column !important;
  height: auto !important;
  line-height: normal !important;
}
.wc-blocks-components-select__label {
  position: static !important;
  display: block !important;
  transform: none !important;
  font-family: var(--font-mono) !important;
  font-size: 10px !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: var(--brown) !important;
  opacity: 0.7 !important;
  margin-bottom: 8px !important;
  padding: 0 4px !important;
  line-height: 1 !important;
  order: -1 !important;
}
.wc-blocks-components-select__select {
  border: 1.5px solid rgba(64,46,38,0.22) !important;
  border-radius: var(--radius-pill) !important;
  padding: 14px 44px 14px 22px !important;
  font-family: var(--font-sans) !important;
  font-size: 15px !important;
  color: var(--brown) !important;
  background-color: var(--cream) !important;
  width: 100% !important;
  box-shadow: none !important;
  height: auto !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23402e26' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  background-size: 16px !important;
}
/* Keep WC's container relative so our bg-image arrow is inside the pill */
.wc-blocks-components-select__container { position: relative !important; }
/* Hide ALL SVG chevrons inside the select container — we use a single bg-image arrow */
.wc-blocks-components-select__expand-icon,
.wc-blocks-components-select__container svg,
.wc-blocks-components-select__container .wc-blocks-components-select__expand-icon {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
/* Suppress browser autocomplete suggestion icon inside pill inputs */
.wc-block-components-text-input input::-webkit-calendar-picker-indicator {
  display: none !important;
  opacity: 0 !important;
}
/* Remove the stray dropdown/chevron icon that WC Blocks injects on text
   inputs like Endereço — it only applies to <select> elements, not inputs */
.wc-block-components-text-input .wc-blocks-components-select__expand-icon,
.wc-block-components-text-input input + svg,
.wc-block-components-text-input input ~ svg {
  display: none !important;
}

/* ── Address form row spacing ── */
.wc-block-components-address-form { display: flex; flex-direction: column; gap: 0; }
.wc-block-components-address-form .wc-block-components-text-input { margin-bottom: 16px !important; }
/* Two-up rows (first+last name, postcode+city) already use CSS columns — keep gap */
.wc-block-components-address-form .wc-block-components-address-form__address_2 { margin-top: 0 !important; }

/* ── Sidebar order summary card ──
   The whole summary block is one cream card, matching the form card on the
   left. WC's current markup nests an inner `.wc-block-components-order-summary
   .is-large` box around the items — we flatten that so items sit directly
   inside the card instead of in a second bordered box. */
.wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block {
  background: var(--cream-2) !important;
  border-radius: 24px !important;
  border: 1.5px solid rgba(64,46,38,0.14) !important;
  box-shadow: none !important;
  padding: 30px 28px !important;
  overflow: hidden !important;
}
/* Flatten the inner items box (no nested border/background) */
.wc-block-checkout__sidebar .wc-block-components-order-summary,
.wc-block-checkout__sidebar .wc-block-components-order-summary.is-large {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}
/* Inner panel wrapper — transparent, no double border */
.wc-block-checkout__sidebar .wc-block-components-panel {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}
/* Coupon totals-wrapper — also transparent, sits inside the card */
.wc-block-checkout__sidebar .wc-block-components-totals-wrapper,
.wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-coupon-form-block {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}
/* ─ Order summary heading: large handwritten “O teu cesto” ─ */
.wc-block-components-checkout-order-summary__title {
  display: flex !important;
  align-items: center !important;
  margin: 0 0 22px 0 !important;
  padding: 0 !important;
}
.wc-block-components-checkout-order-summary__title-text {
  font-family: var(--font-hand) !important;
  font-weight: 400 !important;
  font-size: 32px !important;
  color: var(--brown) !important;
  line-height: 1.1 !important;
  margin: 0 !important;
}
/* Hide the icon that sits next to the heading */
.wc-block-components-checkout-order-summary__title-icon { display: none !important; }
/* Coupon toggle — smaller, mono link style */
.wc-block-components-totals-coupon .wc-block-components-panel__button {
  font-family: var(--font-mono) !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--brown) !important;
  opacity: 0.65 !important;
  background: none !important;
  border: none !important;
  border-bottom: none !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
  cursor: pointer !important;
}
/* ─ Each order item row ─ */
.wc-block-components-order-summary-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  padding: 16px 0 !important;
  margin: 0 !important;
  border-bottom: 1px solid rgba(64,46,38,0.08) !important;
  position: relative !important;
}
.wc-block-components-order-summary-item:last-child { border-bottom: none !important; }

/* Thumbnail — soft rounded square with the quantity bubble pinned to it */
.wc-block-components-order-summary-item__image {
  position: relative !important;
  flex-shrink: 0 !important;
  width: 50px !important;
  height: 50px !important;
  margin: 0 !important;
}
.wc-block-components-order-summary-item__image img {
  width: 50px !important;
  height: 50px !important;
  object-fit: cover !important;
  border-radius: 12px !important;
  border: 1px solid rgba(64,46,38,0.10) !important;
}
/* Quantity bubble — soft amber, top-right of the thumbnail */
.wc-block-components-order-summary-item__quantity {
  position: absolute !important;
  top: -7px !important;
  right: -7px !important;
  min-width: 21px !important;
  height: 21px !important;
  padding: 0 5px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--ambar) !important;
  color: var(--brown) !important;
  border: 2px solid var(--cream-2) !important;
  border-radius: 999px !important;
  font-family: var(--font-mono) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}
/* Name + price column */
.wc-block-components-order-summary-item__description {
  flex: 1 !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
}
.wc-block-components-order-summary-item .wc-block-components-product-name {
  font-family: var(--font-hand) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  color: var(--brown) !important;
  line-height: 1.25 !important;
  margin: 0 !important;
}
/* Per-unit price — small muted mono */
.wc-block-components-order-summary-item__individual-prices {
  font-family: var(--font-mono) !important;
  font-size: 11px !important;
  color: var(--brown) !important;
  opacity: 0.5 !important;
  letter-spacing: 0.04em !important;
}
/* Hide the long product description inside the summary — keep rows tidy */
.wc-block-components-order-summary-item .wc-block-components-product-metadata {
  display: none !important;
}
/* Line total on the right — serif */
.wc-block-components-order-summary-item__total-price {
  flex-shrink: 0 !important;
  text-align: right !important;
  white-space: nowrap !important;
}
.wc-block-components-order-summary-item__total-price .wc-block-formatted-money-amount {
  font-family: var(--font-serif) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--brown) !important;
}
/* Divider above totals — targets the subtotal wrapper specifically */
.wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-totals-block {
  border-top: 1.5px solid rgba(64,46,38,0.22) !important;
  margin-top: 12px !important;
  padding-top: 8px !important;
}
/* Totals */
.wc-block-components-totals-item {
  display: flex !important; justify-content: space-between !important;
  align-items: center !important; padding: 10px 0 !important;
  border-bottom: 1px solid rgba(64,46,38,0.07) !important;
}
.wc-block-components-totals-item__label {
  font-family: var(--font-mono) !important; font-size: 11px !important;
  letter-spacing: 0.08em !important; text-transform: uppercase !important; opacity: 0.7 !important;
}
.wc-block-components-totals-item__value {
  font-family: var(--font-serif) !important; font-size: 16px !important;
  font-weight: 600 !important; color: var(--brown) !important;
}
.wc-block-components-totals-footer-item {
  border-top: 1.5px solid rgba(64,46,38,0.22) !important;
  margin-top: 8px !important; padding-top: 18px !important; border-bottom: none !important;
}
/* On the cart the total sits alone in a totals-wrapper that carries WC's own
   1px top border, while the footer total already has its 1.5px border-top —
   producing a double separator. Drop the redundant wrapper border on the cart. */
.wp-block-woocommerce-cart .wc-block-components-totals-wrapper:has(> .wc-block-components-totals-footer-item) {
  border-top: none !important;
}
/* On the checkout the Subtotal row's bottom border abuts the TOTAL row's
   1.5px top border, producing a double line between them. Drop the subtotal's
   bottom border — the TOTAL row's top border is the single separator. */
.wp-block-woocommerce-checkout-order-summary-subtotal-block .wc-block-components-totals-item {
  border-bottom: none !important;
}
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
  font-family: var(--font-mono) !important; font-size: 12px !important;
  font-weight: 400 !important; opacity: 0.7 !important;
  text-transform: uppercase !important; letter-spacing: 0.14em !important;
}
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  font-family: var(--font-serif) !important; font-size: 32px !important; font-weight: 700 !important; color: var(--brown) !important;
}
/* ── Payment note below totals (CSS-injected italic line) ── */
.wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block::after {
  content: 'O pagamento é feito por transferência bancária após confirmação por email.' !important;
  display: block !important;
  font-family: var(--font-sans) !important;
  font-style: italic !important;
  font-size: 13px !important;
  color: var(--brown) !important;
  opacity: 0.6 !important;
  margin-top: 20px !important;
  padding-top: 16px !important;
  border-top: 1px solid rgba(64,46,38,0.12) !important;
  line-height: 1.5 !important;
}

/* ── Coupon: input + apply button on one tidy row ──
   WC renames the apply button to `.wc-block-components-button`, so we target
   the button inside the coupon form/content rather than the old
   `.wc-block-components-totals-coupon__button` class. */
.wc-block-components-totals-coupon__form {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 10px !important;
  margin-top: 14px !important;
}
.wc-block-components-totals-coupon__input {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  margin: 0 !important;
}
/* Redundant floating label — the toggle already reads “Adicionar cupão” */
.wc-block-components-totals-coupon__input label {
  display: none !important;
}
.wc-block-components-totals-coupon__form input {
  border: 1.5px solid rgba(64,46,38,0.22) !important;
  border-radius: var(--radius-pill) !important;
  padding: 12px 18px !important;
  font-family: var(--font-sans) !important;
  font-size: 14px !important;
  color: var(--brown) !important;
  background: var(--cream) !important;
  width: 100% !important;
  height: auto !important;
  box-shadow: none !important;
}
.wc-block-components-totals-coupon__form input:focus {
  border-color: var(--rosa) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(197,110,107,0.10) !important;
}
/* Apply button — compact amber pill that matches the input height */
.wc-block-components-totals-coupon__form button,
.wc-block-components-totals-coupon__content button {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: var(--radius-pill) !important;
  background: var(--ambar) !important;
  color: var(--brown) !important;
  border: none !important;
  font-family: var(--font-sans) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  padding: 12px 22px !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  box-shadow: none !important;
  transition: all var(--transition-fast) !important;
}
.wc-block-components-totals-coupon__form button .wc-block-components-button__text {
  display: inline !important;
  position: static !important;
  clip: auto !important;
  overflow: visible !important;
  width: auto !important;
  height: auto !important;
}
.wc-block-components-totals-coupon__form button svg { display: none !important; }
.wc-block-components-totals-coupon__form button:hover,
.wc-block-components-totals-coupon__content button:hover {
  background: var(--rosa) !important;
  color: var(--cream) !important;
}

/* ── Payment methods ── */
.wc-block-components-radio-control-accordion-option,
.wc-block-components-payment-method-label {
  font-family: var(--font-sans) !important; font-size: 15px !important; color: var(--brown) !important;
}
.wc-block-components-radio-control-accordion-option--checked {
  background: var(--ambar-bebe) !important; border-radius: 12px !important;
}
.wc-block-components-shipping-rates-control__package {
  background: var(--cream) !important; border-radius: 14px !important;
  padding: 16px !important; border: 1px solid rgba(64,46,38,0.1) !important;
}

/* ── Place Order button — amber, full-width pill ── */
.wc-block-components-checkout-place-order-button {
  width: 100% !important;
  padding: 20px 32px !important;
  border-radius: var(--radius-pill) !important;
  background: var(--ambar) !important;
  color: var(--brown) !important;
  border: none !important;
  font-family: var(--font-sans) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
  transition: all var(--transition-normal) !important;
  cursor: pointer !important;
  margin-top: 8px !important;
  box-shadow: 0 4px 20px -6px rgba(222,150,57,0.4) !important;
}
.wc-block-components-checkout-place-order-button:hover {
  background: var(--rosa) !important;
  color: var(--cream) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px -6px rgba(197,110,107,0.4) !important;
}

/* ── Return to cart link ── */
.wc-block-components-checkout-return-to-cart-button {
  font-family: var(--font-mono) !important; font-size: 11px !important;
  letter-spacing: 0.12em !important; text-transform: uppercase !important;
  color: var(--brown) !important; opacity: 0.45 !important;
  text-decoration: none !important; display: block !important;
  text-align: center !important; margin-top: 14px !important;
  transition: opacity var(--transition-fast) !important; background: none !important; border: none !important;
}
.wc-block-components-checkout-return-to-cart-button:hover { opacity: 1 !important; color: var(--rosa) !important; }

/* ── Checkbox ── */
.wc-block-components-checkbox input[type=checkbox] { accent-color: var(--rosa) !important; }
.wc-block-components-checkbox__label {
  font-family: var(--font-sans) !important; font-size: 13px !important; color: var(--brown) !important;
}

/* The order-note block ships with a bottom border that doubles up with the
   terms separator directly below it (a double line above the place-order
   button). Remove it — the terms block's top border is the single separator. */
.wc-block-checkout__order-notes {
  border-bottom: none !important;
}

/* ── Terms disclaimer ── */
.wc-block-checkout__terms,
.wc-block-checkout__terms--with-separator {
  font-family: var(--font-mono) !important; font-size: 10px !important;
  letter-spacing: 0.08em !important; text-transform: uppercase !important;
  color: var(--brown) !important; opacity: 0.55 !important;
  text-align: center !important;
  margin: 28px 0 8px !important;
  padding: 20px 0 0 !important;
  border-top: 1px solid rgba(64,46,38,0.1) !important;
}
.wc-block-checkout__terms a { color: var(--brown) !important; opacity: 1 !important; }
/* Give the checkbox label itself some breathing room */
.wc-block-checkout__terms .wc-block-components-checkbox {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  justify-content: center !important;
  padding: 8px 16px !important;
}
.wc-block-checkout__terms .wc-block-components-checkbox__label {
  display: inline-block !important;
  line-height: 1.5 !important;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .wc-block-checkout.is-loading, .wc-block-checkout {
    padding: 20px 16px 60px !important; flex-direction: column !important;
  }
  .wc-block-checkout__sidebar {
    flex: none !important; max-width: 100% !important; width: 100% !important; position: static !important;
  }
  .wc-block-checkout__main { flex: none !important; width: 100% !important; }
  .wc-block-components-checkout-step { padding: 24px 20px !important; border-radius: 18px !important; }
  .wc-block-components-checkout-step__title { font-size: 26px !important; }
}

/* Small screens: icon-only below 360px (strict) */
@media (max-width: 359px) {
  .ldm-header > .ldm-header-inner:first-child .ldm-logo {
    font-size: 0;
    gap: 0;
  }
  .ldm-header > .ldm-header-inner:first-child .ldm-logo svg:first-child {
    display: block;
    width: 26px;
    height: 26px;
  }
  .ldm-header > .ldm-header-inner:first-child .ldm-logo svg:last-child {
    display: none;
  }
}
