/* Nostra Casa visual preferences: never remove stored WordPress page or widget data. */
.nc-logo-forced header .nc-managed-header-logo .nc-managed-header-logo-image {
  width: auto !important; max-width: 180px !important;
  max-height: 52px !important; height: auto !important; object-fit: contain !important;
}
.nc-logo-forced header .nc-managed-header-title-hidden { display: none !important; }
@media(max-width: 699px){
  .nc-logo-forced header .nc-managed-header-logo .nc-managed-header-logo-image{max-width: 134px !important; max-height: 43px !important;}
}
/* Hide demo footer if owner enables the cleaned replacement. */
.nc-clean-footer-enabled .ct-footer,
.nc-clean-footer-enabled footer#footer,
.nc-clean-footer-enabled footer.site-footer { display: none !important; }
.nc-custom-footer { background: #141312; color: #f8f5f0; margin-top: 40px; padding: 34px 20px 15px; }
.nc-footer-inner{max-width:1140px;margin:0 auto;display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:38px;}
.nc-custom-footer h2,.nc-custom-footer h3{color:#f3e6d3;margin:0 0 15px;font-size:18px;}
.nc-custom-footer p{margin:0 0 10px;color:#e0dcd5;font-size:14px;line-height:1.6;}
.nc-custom-footer a{display:block;margin:0 0 10px;color:#e0dcd5;text-decoration:none;font-size:14px;}
.nc-custom-footer a:hover{color:#bea37d;text-decoration:underline;}
.nc-footer-bottom{max-width:1140px;margin:24px auto 0;padding-top:15px;border-top:1px solid #3b3732;color:#b8ae9f;font-size:12px;}
.nc-no-customer-accounts .ct-header-account,
.nc-no-customer-accounts [data-id="account"],
.nc-no-customer-accounts .woocommerce-MyAccount-navigation {display:none !important;}
/* Only two categories, real featured products, and current/trending products on front page. */
.nc-homepage{max-width:1200px;margin:0 auto;padding:26px 18px 40px;}
.nc-home-section{margin:0 0 42px;}
.nc-home-section h2{margin:0 0 24px;text-align:center;font-size:clamp(22px,3vw,32px);line-height:1.3;letter-spacing:.015em;color:#1d1b19;}
.nc-category-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;}
.nc-category-card{text-decoration:none;display:flex;flex-direction:column;align-items:center;text-align:center;border:1px solid #eee9e2;border-radius:9px;padding:15px;background:#faf8f5;color:#1e1d1b;overflow:hidden;}
.nc-category-cover{display:block;width:100%;aspect-ratio:16/10;overflow:hidden;border-radius:7px;background:#f0ede7;}
.nc-category-card img,.nc-category-placeholder{height:100%;width:100%;object-fit:cover;display:grid;place-items:center;}
.nc-category-placeholder{font-size:68px;color:#b29b77;}
.nc-category-card strong{margin-top:13px;text-transform:uppercase;letter-spacing:.04em;font-size:17px;}
.nc-category-card span:last-child{margin:7px 0 2px;color:#9e8157;font-size:13px;}
.nc-product-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;}
.nc-product-card{min-width:0;text-align:center;}
.nc-product-card-image{display:block;aspect-ratio:1;background:#f8f7f5;overflow:hidden;border-radius:6px;}
.nc-product-card-image img{width:100%;height:100%;object-fit:contain;transition:transform .2s ease;}
.nc-product-card-image:hover img{transform:scale(1.03);}
.nc-product-card-details{padding:12px 4px;}
.nc-product-card-details>a{display:block;color:#1f1b16;font-size:15px;font-weight:600;line-height:1.4;text-decoration:none;}
.nc-price{margin-top:9px;color:#ad8f65;font-size:15px;}
.nc-price del{color:#777;font-size:12px;}
@media(max-width:700px){
  .nc-custom-footer{margin-top:30px;padding:28px 18px 13px;}
  .nc-footer-inner{grid-template-columns:1fr 1fr;gap:25px 15px;}
  .nc-footer-inner>div:first-child{grid-column:1/-1;}
  .nc-homepage{padding:16px 12px 28px;}
  .nc-home-section{margin-bottom:29px;}
  .nc-home-section h2{margin-bottom:15px;}
  .nc-category-cards{gap:10px;}
  .nc-category-card{padding:9px;}
  .nc-category-cover{aspect-ratio:4/3;}
  .nc-category-card img,.nc-category-placeholder{height:100%;}
  .nc-category-card strong{font-size:13px;}
  .nc-product-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
  .nc-product-card-details>a{font-size:13px;}
}

.nc-home-clean .entry-header:not(.ct-header), .nc-home-clean .page-title:not(.product_title) { display: none; }

/* Nostra Casa readable storefront typography and accessible interactive controls. */
.nc-homepage, .nc-custom-footer, .nc-product-layout, .nc-order-below-landing{font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;}
.nc-homepage a:focus-visible, .nc-custom-footer a:focus-visible{outline:2px solid #b49a71;outline-offset:3px;}
.nc-no-customer-accounts header a[href*="my-account"],.nc-no-customer-accounts header a[href*="mon-compte"]{display:none!important;}

/* Footer social icons, independent of WooCommerce checkout and the Blocksy menu socials. */
.nc-footer-socials{display:flex;align-items:center;gap:12px;margin-top:13px;}
.nc-custom-footer .nc-footer-social{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;margin:0;padding:8px;border:1px solid #6a5b4e;border-radius:50%;color:#f3e6d3;background:transparent;text-decoration:none;transition:background .2s ease,border-color .2s ease;}
.nc-custom-footer .nc-footer-social:hover{background:#504536;border-color:#c0a585;color:#fff;text-decoration:none;}
.nc-custom-footer .nc-footer-social:focus-visible{outline:2px solid #c0a585;outline-offset:3px;}
.nc-footer-social svg{display:block;width:20px;height:20px;flex:0 0 20px;}
