/* BuyFurniture editorial theme */
:root{
  --bf-bg:#fbf9f5;
  --bf-fg:#1a1814;
  --bf-muted:#7a7066;
  --bf-border:#e8e2d8;
  --bf-card:#ffffff;
  --bf-cta:#8b7355;
  --bf-cta-fg:#ffffff;
  --bf-accent:#c8553d;
  --bf-shadow:0 1px 2px rgba(26,24,20,.04),0 8px 24px -12px rgba(26,24,20,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bf-bg);color:var(--bf-fg);font-family:'Jost',system-ui,-apple-system,sans-serif;-webkit-font-smoothing:antialiased;line-height:1.6}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none;transition:color .15s}
a:hover{color:var(--bf-accent)}
h1,h2,h3,h4,h5,h6{font-family:'Jost',sans-serif;font-weight:500;letter-spacing:-.02em;line-height:1.2;margin:0 0 .75em}
h1{font-size:2.5rem}
h2{font-size:2rem}
h3{font-size:1.5rem}
p{margin:0 0 1em}

.editorial-container{width:100%;max-width:1240px;margin-inline:auto;padding-inline:1.25rem}
.skip-link{position:absolute;left:-9999px}
.skip-link:focus{left:0;top:0;background:#000;color:#fff;padding:.5rem 1rem;z-index:9999}

/* Promo bar */
.bf-promo-bar{background:#1a1814;color:#fbf9f5;font-size:.8rem;padding:.5rem 0;text-align:center;letter-spacing:.05em;text-transform:uppercase}

/* Header */
.bf-site-header{background:var(--bf-bg);border-bottom:1px solid var(--bf-border);position:sticky;top:0;z-index:50}
.bf-header-row{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.25rem;gap:2rem}
.bf-brand-text{font-size:1.5rem;font-weight:600;letter-spacing:-.03em}
.bf-brand img{max-height:48px;width:auto}
.bf-nav-desktop{display:none;flex:1;justify-content:center}
@media(min-width:900px){.bf-nav-desktop{display:flex}}
.bf-nav-list{display:flex;gap:2rem;list-style:none;margin:0;padding:0;font-size:.95rem}
.bf-nav-list a{font-weight:500}
.bf-header-actions{display:flex;align-items:center;gap:1rem}
.bf-cart-link{display:inline-flex;align-items:center;gap:.35rem;font-weight:500}
.bf-cart-count{display:inline-flex;align-items:center;justify-content:center;background:var(--bf-cta);color:var(--bf-cta-fg);font-size:.7rem;border-radius:999px;min-width:1.25rem;height:1.25rem;padding:0 .35rem}
.bf-menu-toggle{background:none;border:1px solid var(--bf-border);font-size:1.25rem;padding:.4rem .65rem;cursor:pointer;border-radius:6px}
@media(min-width:900px){.bf-menu-toggle{display:none}}
.bf-mobile-menu{padding:1rem 1.25rem;border-top:1px solid var(--bf-border);background:var(--bf-bg)}
.bf-nav-mobile-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:1rem;font-size:1.05rem}

/* Hero (homepage demo) */
.bf-hero{background:linear-gradient(135deg,#f5efe6 0%,#fbf9f5 100%);padding:6rem 1.5rem;text-align:center;border-radius:1rem;margin-bottom:3rem}
.bf-hero h1{font-size:clamp(2.5rem,5vw,4rem);margin-bottom:1rem}
.bf-hero p{font-size:1.15rem;color:var(--bf-muted);max-width:540px;margin:0 auto 2rem}

/* Buttons */
.bf-btn,.button,.wp-block-button__link,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.woocommerce #content input.button,.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt,.woocommerce #respond input#submit.alt{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.85rem 1.75rem;background:var(--bf-cta);color:var(--bf-cta-fg)!important;font-weight:600;font-size:.95rem;border-radius:6px;border:none;cursor:pointer;transition:filter .15s,transform .15s;text-decoration:none}
.bf-btn:hover,.button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover{filter:brightness(1.08);color:var(--bf-cta-fg)!important;transform:translateY(-1px)}
.bf-link{font-weight:600;color:var(--bf-cta);border-bottom:1px solid currentColor;padding-bottom:1px}

/* Posts grid */
.bf-post-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:2rem;margin-top:1rem}
.bf-post-card{background:var(--bf-card);border:1px solid var(--bf-border);border-radius:.75rem;overflow:hidden;box-shadow:var(--bf-shadow);transition:transform .2s,box-shadow .2s}
.bf-post-card:hover{transform:translateY(-3px);box-shadow:0 4px 12px -4px rgba(26,24,20,.1),0 24px 48px -16px rgba(26,24,20,.15)}
.bf-post-thumb img{aspect-ratio:16/10;object-fit:cover;width:100%}
.bf-post-body{padding:1.5rem}
.bf-post-title{font-size:1.25rem;margin-bottom:.5rem}
.bf-post-meta{font-size:.8rem;color:var(--bf-muted);margin-bottom:.75rem}
.bf-post-excerpt{color:var(--bf-muted);font-size:.95rem;margin-bottom:1rem}

/* Single */
.bf-single{max-width:740px;margin:0 auto}
.bf-single .entry-title{font-size:2.5rem}
.bf-single-thumb{margin:2rem 0;border-radius:.75rem;overflow:hidden}
.prose-editorial{font-size:1.1rem;line-height:1.75}
.prose-editorial p{margin-bottom:1.25em}
.prose-editorial h2{margin-top:2.5em}

/* Footer */
.bf-site-footer{background:#1a1814;color:#fbf9f5;padding:4rem 0 2rem;margin-top:4rem}
.bf-footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:3rem;margin-bottom:3rem}
.bf-footer-title{color:#fbf9f5;font-size:1rem;text-transform:uppercase;letter-spacing:.1em;margin-bottom:1rem}
.bf-footer-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.5rem;font-size:.95rem}
.bf-footer-list a{color:#bdb5a8}
.bf-footer-list a:hover{color:#fff}
.bf-footer-bottom{border-top:1px solid #3a352f;padding-top:2rem;font-size:.85rem;color:#8a8278;text-align:center}

/* WooCommerce overrides */
.woocommerce ul.products li.product .price{color:var(--bf-fg);font-weight:600;font-size:1.1rem}
.woocommerce ul.products li.product h2.woocommerce-loop-product__title,.woocommerce ul.products li.product h3.woocommerce-loop-product__title{font-size:1rem;font-weight:500;padding:.5rem 0!important}
.woocommerce ul.products li.product .star-rating{color:#d4a017}
.woocommerce-product-gallery{border-radius:.75rem;overflow:hidden}
.woocommerce div.product .product_title{font-size:2rem}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--bf-fg);font-size:1.5rem}
.woocommerce-tabs ul.tabs li.active{border-color:var(--bf-cta)!important}
.woocommerce-message,.woocommerce-info{border-top-color:var(--bf-cta)!important}
.woocommerce-message::before,.woocommerce-info::before{color:var(--bf-cta)!important}
.woocommerce nav.woocommerce-pagination ul li a:focus,.woocommerce nav.woocommerce-pagination ul li a:hover,.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--bf-cta);color:#fff}

/* Page header */
.page-header{margin-bottom:2.5rem;padding-bottom:1.5rem;border-bottom:1px solid var(--bf-border)}
.page-title{font-size:2.25rem;margin:0}

/* Pagination */
.navigation.pagination{margin-top:3rem}
.nav-links{display:flex;gap:.5rem;justify-content:center;flex-wrap:wrap}
.page-numbers{padding:.5rem 1rem;border:1px solid var(--bf-border);border-radius:6px;color:var(--bf-fg);font-weight:500}
.page-numbers.current,.page-numbers:hover{background:var(--bf-cta);color:#fff;border-color:var(--bf-cta)}
