/*
Theme Name: PrintForge Shop
Author: Custom Development
Description: Warm minimalistisch WooCommerce thema met koraaloranje accenten, ontworpen voor de PrintForge Page Builder.
Version: 0.6.0
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: printforge-shop
*/
/* PrintForge Shop v0.3 — warm minimal theme */
:root {
  --pf-ink: #1B2028;
  --pf-accent: #F45132;
  --pf-accent-hover: #DC3F23;
  --pf-paper: #F5F2EC;
  --pf-surface: #FFFCF8;
  --pf-sand: #EAE5DB;
  --pf-border: #DFD9CF;
  --pf-muted: #646B75;
  --pf-radius: 16px;
  --pf-radius-sm: 10px;
  --pf-shadow: 0 10px 32px rgba(27,32,40,.055);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--pf-ink); background: var(--pf-paper); font: 16px/1.65 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; transition: color .16s ease; }
a:hover { color: var(--pf-accent-hover); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--pf-accent); outline-offset: 3px; }
img { max-width: 100%; height: auto; }
h1,h2,h3,h4 { letter-spacing: -.035em; line-height: 1.18; }
p { margin-block: 0 1em; }
.pf-container { width: min(1200px,calc(100% - 40px)); margin-inline: auto; }
.pf-main { min-height: 50vh; }
.pf-page { padding-block: 56px 72px; }
.pf-page > h1:first-child { margin-top: 0; }
.pf-page article { background: var(--pf-surface); padding: 28px; border-radius: var(--pf-radius); border: 1px solid var(--pf-border); margin-bottom: 18px; }
/* Header */
.pf-header { background: var(--pf-surface); border-bottom: 1px solid var(--pf-border); position: relative; z-index: 5; }
.pf-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 82px; }
.pf-brand { font-size: 1.4rem; font-weight: 800; letter-spacing: -.045em; color: var(--pf-ink); }
.pf-brand img { max-height: 60px; width: auto; }
.pf-menu { display: flex; align-items: center; gap: 24px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.pf-menu a { font-weight: 650; }
.pf-menu .current-menu-item > a { color: var(--pf-accent-hover); }
.pf-cart { white-space: nowrap; font-weight: 750; border: 1px solid var(--pf-border); border-radius: 999px; background: var(--pf-paper); padding: 8px 14px; }
/* Footer */
.pf-footer { background: var(--pf-ink); color: #fff; padding: 46px 0; margin-top: 50px; }
.pf-footer a { color: #F7DDD5; }
.pf-footer a:hover { color: #fff; }
.pf-footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
/* HERO: preserves existing Page Builder markup and options */
.pf-hero { position: relative; isolation: isolate; display: flex; align-items: center; overflow: hidden; min-height: 280px; background: #1B2028; color: #fff; }
.pf-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.pf-hero-overlay { position: absolute; inset: 0; z-index: -1; background: rgba(18,22,28,var(--pf-overlay,.35)); }
.pf-hero-content { width: min(1150px,calc(100% - 40px)); margin-inline: auto; padding: 60px 0; }
.pf-hero[data-align="center"] .pf-hero-content { text-align: center; }
.pf-hero[data-align="right"] .pf-hero-content { text-align: right; }
.pf-hero h1,.pf-hero h2 { font-size: clamp(2.25rem,5vw,4.5rem); line-height: 1.1; letter-spacing: -.05em; margin: 0 0 16px; }
.pf-hero-subtitle { font-size: clamp(1.1rem,2vw,1.5rem); font-weight: 650; margin: 0 0 16px; }
.pf-hero-body { max-width: 730px; margin-bottom: 26px; }
.pf-hero[data-align="center"] .pf-hero-body { margin-inline: auto; }
.pf-hero[data-align="right"] .pf-hero-body { margin-left: auto; }
.pf-hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.pf-hero[data-align="center"] .pf-hero-buttons { justify-content: center; }
.pf-hero[data-align="right"] .pf-hero-buttons { justify-content: flex-end; }
/* Buttons */
.pf-button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .wp-block-button__link, .wc-block-components-button:not(.is-link) { display: inline-flex; align-items: center; justify-content: center; padding: 12px 22px; border-radius: var(--pf-radius-sm); background: var(--pf-accent); color: #fff; font-weight: 750; border: 1px solid var(--pf-accent); line-height: 1.35; cursor: pointer; transition: background .16s ease, transform .16s ease, border-color .16s ease; }
.pf-button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce #respond input#submit:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover, .wp-block-button__link:hover, .wc-block-components-button:not(.is-link):hover { background: var(--pf-accent-hover); border-color: var(--pf-accent-hover); color: #fff; transform: translateY(-1px); }
.pf-button--secondary { background: transparent; border: 1px solid rgba(255,255,255,.85); color: #fff; }
.pf-button--secondary:hover { background: #fff; border-color: #fff; color: var(--pf-ink); }
/* Content and forms */
.pf-empty { padding: 70px 0; }
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),select,textarea { max-width: 100%; border: 1px solid var(--pf-border); background: #fff; border-radius: 9px; padding: 10px 12px; color: var(--pf-ink); }
/* WooCommerce classic product grids */
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; }
.woocommerce ul.products::before,.woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { float: none; width: auto; margin: 0; background: var(--pf-surface); border: 1px solid var(--pf-border); border-radius: var(--pf-radius); padding: 14px; overflow: hidden; box-shadow: var(--pf-shadow); }
.woocommerce ul.products li.product img { border-radius: var(--pf-radius-sm); background: var(--pf-sand); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { color: var(--pf-ink); font-weight: 750; }
.woocommerce ul.products li.product .price, .woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--pf-ink); font-weight: 800; }
.woocommerce span.onsale { background: var(--pf-accent); color: #fff; min-height: auto; min-width: auto; padding: 4px 11px; line-height: 1.8; border-radius: 999px; }
.woocommerce .quantity .qty { width: 5em; }
.woocommerce .woocommerce-message, .woocommerce .woocommerce-info { border-top-color: var(--pf-accent); background: var(--pf-surface); }
.woocommerce .woocommerce-message::before, .woocommerce .woocommerce-info::before, .woocommerce a { color: var(--pf-accent-hover); }
.woocommerce nav.woocommerce-pagination ul li a:hover, .woocommerce nav.woocommerce-pagination ul li span.current { background: var(--pf-accent); color: #fff; }
/* WooCommerce blocks */
.wc-block-grid__product, .wc-block-components-product-list li, .wc-block-cart, .wc-block-checkout { color: var(--pf-ink); }
.wc-block-grid__product-link { color: var(--pf-ink); }
.wc-block-grid__product-price { font-weight: 750; }
/* Responsive */
@media (max-width: 1000px) { .woocommerce ul.products { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 760px) {
 .pf-container { width: min(1200px,calc(100% - 28px)); }
 .pf-header-inner { min-height: 72px; flex-wrap: wrap; padding-block: 14px; gap: 12px; }
 .pf-nav { order: 3; width: 100%; }
 .pf-menu { gap: 12px 18px; font-size: .9rem; }
 .pf-hero { height: var(--pf-mobile-height,auto)!important; min-height: 260px; }
 .pf-hero-content { padding-block: 48px; }
 .pf-hero[data-mobile-center="1"] .pf-hero-content { text-align: center; }
 .pf-hero[data-mobile-center="1"] .pf-hero-body { margin-inline: auto; }
 .pf-hero[data-mobile-center="1"] .pf-hero-buttons { justify-content: center; }
 .woocommerce ul.products { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
 .woocommerce ul.products li.product { padding: 10px; }
 .pf-page { padding-block: 34px 50px; }
}
@media (max-width: 400px) { .pf-hero-buttons { flex-direction: column; } .pf-hero-buttons .pf-button { width: 100%; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } a,.pf-button,.woocommerce a.button,.woocommerce button.button { transition: none; } }


/* v0.4 — compact hero with the original dark, adjustable overlay.
   The title is always charcoal on a content-sized white label. */
.pf-hero {
  min-height: 0;
  background: #eedbd0;
  color: #fff;
}
.pf-hero-content {
  position: relative;
  z-index: 1;
  padding-block: 12px;
}
.pf-hero-overlay {
  background: rgba(18, 22, 28, var(--pf-overlay, .35));
}
.pf-hero h1, .pf-hero h2 {
  display: table;
  width: max-content;
  max-width: 100%;
  padding: 9px 22px;
  margin: 0 0 10px;
  border-radius: 2px;
  background: #fff;
  color: #1B2028;
  font-size: clamp(1.4rem, 3vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
  box-shadow: 0 3px 14px rgba(18,22,28,.08);
}
.pf-hero[data-align="center"] h1, .pf-hero[data-align="center"] h2 { margin-inline: auto; }
.pf-hero[data-align="right"] h1, .pf-hero[data-align="right"] h2 { margin-left: auto; }
.pf-hero-subtitle { font-size: clamp(.95rem, 1.5vw, 1.2rem); margin-bottom: 9px; }
.pf-hero-body { margin-bottom: 10px; }
.pf-hero-buttons .pf-button { padding: 9px 16px; }

/* When a hero is exactly 25vh, show the whole banner rather than zooming/cropping.
   The photo is pinned to the right, leaving the matching warm backdrop on the left.
   Other hero heights retain the normal cover/contain editor settings. */
.pf-hero[style*="height:25vh"] .pf-hero-image {
  object-fit: contain !important;
  object-position: right center !important;
}
/* Let 25vh be 25vh, instead of being overridden by old mobile min-heights. */
@media (max-width: 760px) {
  .pf-hero { min-height: 0; }
  .pf-hero[style*="height:25vh"] { height: 25vh !important; min-height: 0; }
  .pf-hero-content { padding-block: 8px; }
  .pf-hero h1, .pf-hero h2 { font-size: clamp(1.1rem, 4.5vw, 1.7rem); padding: 7px 11px; }
  .pf-hero-subtitle { font-size: .85rem; }
  .pf-hero-body { display: none; }
  .pf-hero-buttons .pf-button { padding: 7px 11px; font-size: .8rem; }
}

/* Default PrintForge brand mark; customer logo always overrides. */
.pf-brand img.pf-default-logo{width:auto;max-width:230px;max-height:57px;height:auto;object-fit:contain;display:block}
