/* Casa Floresta / v0.3.7 — iterative e-commerce refinement.
   Only affects the public [mpcf_home]; preserves Astra and management styles.
   Previous approved full-bleed Hero, dark dashboard palette, room hover,
   catalog mode and the compact back-to-top button are unchanged. */
.mpcf-home{--mpcf-line:#e7eae4;--mpcf-foreground:#153e26}
.mpcf-home :is(.mpcf-brand,.mpcf-header-search-inline,.mpcf-product-filters){min-width:0}
.mpcf-home .mpcf-header-inner{gap:clamp(16px,2vw,34px)}
.mpcf-home .mpcf-header-tools{gap:clamp(8px,1.2vw,16px);flex:0 0 auto}
.mpcf-home .mpcf-desktop-nav{min-width:0}
/* Search is submitted to WordPress/WooCommerce, not a decorative field. */
.mpcf-home .mpcf-header-search-inline{display:flex;align-items:center;gap:9px;width:clamp(150px,14vw,205px);height:39px;padding:0 9px 0 12px;border:1px solid #e6e9e3;border-radius:22px;background:#f7f7f3;color:#586d5e;transition:border-color .2s,background .2s,box-shadow .2s}
.mpcf-home .mpcf-header-search-inline:focus-within{border-color:#319130;box-shadow:0 0 0 3px #31913019;background:#fff}
.mpcf-home .mpcf-header-search-inline svg{flex:none}
.mpcf-home .mpcf-header-search-inline input{flex:1;width:1px;min-width:0;min-height:0!important;height:34px;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;font:400 12px Arial,Helvetica,sans-serif;color:#173f2a!important;outline:0!important}
.mpcf-home .mpcf-header-search-inline input::placeholder{color:#687269;opacity:1}
.mpcf-home .mpcf-header-search-inline button{display:grid;place-items:center;flex:none;width:27px;height:27px;padding:0!important;border:0!important;border-radius:50%;color:#fff;background:#319130;cursor:pointer;transition:background .16s}
.mpcf-home .mpcf-header-search-inline button:hover{background:#216d2a}
.mpcf-home .mpcf-site-search{display:none}
.mpcf-home .mpcf-header-icon{border-radius:50%;transition:background .18s ease!important}
.mpcf-home .mpcf-header-icon:hover{background:#f1f6ee}
/* Descriptive and useful micro-details: no false payment, delivery or cart promises. */
.mpcf-home .mpcf-hero-notes{display:flex;align-items:center;gap:clamp(12px,1.7vw,25px);flex-wrap:wrap;margin-top:clamp(22px,2.9vw,34px);font-size:11px;color:#24462f;line-height:1.4}
.mpcf-home .mpcf-hero-notes span{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
.mpcf-home .mpcf-hero-notes span:before{content:'';width:7px;height:7px;border:1.5px solid #319130;border-radius:50%;background:#ffffff90}
.mpcf-home .mpcf-section-heading--action{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;text-align:left;margin-bottom:26px}
.mpcf-home .mpcf-section-heading--action>div{min-width:0}
.mpcf-home .mpcf-section-heading--action h2{margin:4px 0 6px}
.mpcf-home .mpcf-section-link{display:inline-flex;align-items:center;gap:10px;color:#216a30!important;font:700 12px Arial,Helvetica,sans-serif;text-decoration:none!important;white-space:nowrap;transition:gap .2s ease}
.mpcf-home .mpcf-section-link:hover{gap:15px;text-decoration:underline!important}
.mpcf-home .mpcf-room-info{transition:background-color .2s ease}
.mpcf-home .mpcf-room:hover .mpcf-room-info{background:#f3f8f1}
/* The existing restrained image-only room hover stays intact. */
.mpcf-home .mpcf-featured-section{background:linear-gradient(180deg,#f7f8f4 0%,#fff 95%);padding-bottom:clamp(48px,4vw,68px)}
.mpcf-home .mpcf-product-filters{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:0 0 22px}
.mpcf-home .mpcf-product-filter{appearance:none;border:1px solid #d8e5d8;background:#fff;color:#32553a;padding:9px 16px;min-height:36px;border-radius:30px;font:600 12px Arial,Helvetica,sans-serif;cursor:pointer;transition:background .18s,border-color .18s,color .18s}
.mpcf-home .mpcf-product-filter:hover{border-color:#319130}
.mpcf-home .mpcf-product-filter[aria-pressed="true"]{color:white;background:#26812e;border-color:#26812e}
.mpcf-home .mpcf-product[hidden]{display:none!important}
.mpcf-home .mpcf-product{border:1px solid #e9ebe5;background:#fff;border-radius:5px;overflow:hidden}
.mpcf-home .mpcf-product-image{aspect-ratio:1.16;background:#f5f4ee}
.mpcf-home .mpcf-product-image img{object-fit:cover;object-position:center}
.mpcf-home .mpcf-product-link{display:inline-flex;gap:6px;align-items:center;font-weight:700}
.mpcf-home .mpcf-product-body{background:#fff}
.mpcf-home .mpcf-empty-products{padding:23px 24px;border:1px dashed #c8d8c8;background:#fff;display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:11px 20px;text-align:center;color:#4e5c4f;font-size:13px}
.mpcf-home .mpcf-empty-products strong{color:#1b5130;font-size:14px}
.mpcf-home .mpcf-empty-products p{color:#667367;font-size:12px}
.mpcf-home .mpcf-custom-qualities{display:flex;flex-wrap:wrap;gap:7px 13px;margin-top:16px;color:#3b5b42;font-size:11px}
.mpcf-home .mpcf-custom-qualities span{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.mpcf-home .mpcf-custom-qualities span:before{content:'✓';color:#319130;font-size:13px;font-weight:800}
/* Keep the editorial image rows exactly the agreed restrained desktop height. */
.mpcf-home .mpcf-story,.mpcf-home .mpcf-custom-split{height:clamp(300px,24vw,350px)}
.mpcf-home .mpcf-story-body,.mpcf-home .mpcf-custom-copy{overflow:visible}
.mpcf-home .mpcf-room,.mpcf-home .mpcf-product,.mpcf-home .mpcf-button{will-change:auto}
/* Motion is strictly progressive. Without JS nothing is hidden. */
@media (prefers-reduced-motion:no-preference){
  .mpcf-home.mpcf-enhanced .mpcf-inview{animation:mpcf-refine-enter .6s cubic-bezier(.22,1,.36,1) both}
  @keyframes mpcf-refine-enter{from{opacity:.84;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
}
@media(max-width:1340px){
 .mpcf-home .mpcf-header-search-inline{display:none}
 .mpcf-home .mpcf-site-search{display:block}
}
@media(max-width:1100px){
 .mpcf-home .mpcf-hero-notes{gap:14px;font-size:10px}
 .mpcf-home .mpcf-custom-qualities{font-size:10px}
}
@media(max-width:920px){
 .mpcf-home .mpcf-section-heading--action{align-items:flex-end}
 .mpcf-home .mpcf-section-heading--action h2{font-size:clamp(25px,4vw,37px)}
}
@media(max-width:700px){
 .mpcf-home .mpcf-hero-notes{display:none}
 .mpcf-home .mpcf-section-heading--action{display:flex;flex-wrap:wrap;gap:10px;text-align:left;margin-bottom:20px}
 .mpcf-home .mpcf-section-link{font-size:11px}
 .mpcf-home .mpcf-room-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .mpcf-home .mpcf-featured-section{padding-top:38px}
 .mpcf-home .mpcf-product-filters{flex-wrap:nowrap;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:thin;max-width:100%;padding-bottom:5px}
 .mpcf-home .mpcf-product-filter{flex:0 0 auto;scroll-snap-align:start}
 .mpcf-home .mpcf-custom-split,.mpcf-home .mpcf-story{height:auto}
 .mpcf-home .mpcf-custom-qualities{line-height:1.4;gap:8px 12px}
 .mpcf-home .mpcf-empty-products{flex-direction:column;gap:7px;padding:19px 14px}
}
@media(max-width:380px){.mpcf-home .mpcf-room-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mpcf-home .mpcf-room-info{padding:9px 8px}.mpcf-home .mpcf-room-info>span:not(.mpcf-room-arrow){font-size:10px}}
@media(prefers-reduced-motion:reduce){.mpcf-home .mpcf-product-filter,.mpcf-home .mpcf-header-search-inline,.mpcf-home .mpcf-section-link{transition:none!important}}

/* v0.3.8 — restore approved centred editorial headings without removing real links. */
@media(min-width:1081px){
 .mpcf-home .mpcf-section-heading--action{position:relative;justify-content:center;text-align:center;min-height:94px}
 .mpcf-home .mpcf-section-heading--action>div{margin-inline:auto;text-align:center;max-width:min(100%,680px)}
 .mpcf-home .mpcf-section-heading--action>.mpcf-section-link{position:absolute;right:0;top:50%;transform:translateY(-50%)}
}
@media(min-width:701px) and (max-width:1080px){
 .mpcf-home .mpcf-section-heading--action{flex-direction:column;align-items:center;text-align:center;gap:12px}
 .mpcf-home .mpcf-section-heading--action>div{text-align:center;margin-inline:auto}
 .mpcf-home .mpcf-section-heading--action>.mpcf-section-link{align-self:center}
}
@media(max-width:700px){
 .mpcf-home .mpcf-section-heading--action{flex-direction:column;align-items:center;text-align:center}
 .mpcf-home .mpcf-section-heading--action>div{text-align:center;max-width:100%}
 .mpcf-home .mpcf-section-heading--action>.mpcf-section-link{align-self:center}
}
/* Keep the category hover as approved before v0.3.7; no tinted card background. */
.mpcf-home .mpcf-room:hover .mpcf-room-info{background:#fafaf8}
/* Unconfigured highlights: useful next action for a manager, honest catalog link for visitors. */
.mpcf-home .mpcf-empty-products{gap:18px;min-height:82px;border-color:#d9e4d8;background:#fff}
.mpcf-home .mpcf-empty-copy{display:flex;flex-direction:column;gap:4px}
.mpcf-home .mpcf-empty-copy p{margin:0}
.mpcf-home a.mpcf-empty-manage{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:9px 14px;border-radius:4px;background:#319130;color:#fff!important;font:700 12px Arial,Helvetica,sans-serif;text-decoration:none!important;white-space:nowrap}
.mpcf-home a.mpcf-empty-manage:hover{background:#226e26}
.mpcf-home a.mpcf-empty-manage:focus-visible{outline:3px solid #73bd7b;outline-offset:2px}
@media(max-width:700px){.mpcf-home .mpcf-empty-products{min-height:0}}
