/* V3.6: targeted fixes based on real desktop screenshots. Loaded LAST. */
:root{--k36-gold:#b78b3c;--k36-gold-dark:#866021;--k36-ink:#21190f;--k36-paper:#f7f5f0;--k36-border:#e6d9c3}
body.kalbo-public-lux{background:var(--k36-paper)!important}
/* All pages share the same navigation geometry. */
body .kalbo-unified-header .nav-links a{min-height:40px!important}
body .kalbo-unified-header .nav-links a.active{background:linear-gradient(135deg,#c49a4c,#96712e)!important;color:#fff!important}
/* Preserve four columns and left filters on wide screens. */
@media(min-width:1300px){body.kalbo-catalog .catalog-shell{grid-template-columns:200px minmax(0,1fr)!important;gap:16px!important}body.kalbo-catalog .products-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}}
body.kalbo-catalog .product-card{min-width:0!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;padding:12px!important;box-sizing:border-box!important}
body.kalbo-catalog .product-card .product-name{overflow-wrap:anywhere!important;line-height:1.4!important;min-height:3.9em!important}
body.kalbo-catalog .product-card .price-info{margin-top:auto!important}
body.kalbo-catalog .product-card .sf-card-actions{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)!important;gap:7px!important;align-items:stretch!important;width:100%!important;margin-top:12px!important}
body.kalbo-catalog .product-card .sf-card-actions .sf-btn{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-width:0!important;max-width:100%!important;min-height:43px!important;height:auto!important;box-sizing:border-box!important;margin:0!important;padding:9px 6px!important;font:700 11px/1.25 Arial,sans-serif!important;text-align:center!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;letter-spacing:0!important;transform:none!important;border-radius:9px!important}
body.kalbo-catalog .product-card .sf-card-actions .sf-btn.primary,body.kalbo-catalog .product-card .sf-card-actions button.add-btn{flex:auto!important;background:linear-gradient(135deg,#c9a258,#9d742e)!important;border:1px solid #a17c36!important;color:#fff!important;box-shadow:none!important}
body.kalbo-catalog .product-card .sf-card-actions .sf-btn:not(.primary){background:#fffaf1!important;border:1px solid #d9be8a!important;color:#6a4b1e!important}
body.kalbo-catalog .product-card .sf-compare-check{max-width:92px!important;min-width:0!important;white-space:normal!important;line-height:1.3!important;padding:7px!important}
body.kalbo-catalog .product-card .sf-watch{right:10px!important;top:10px!important}
body.kalbo-catalog .product-card .status{font-size:11px!important;line-height:1.4!important;overflow-wrap:anywhere!important}
/* Cart / checkout: replace inherited bright orange and blue CTAs with consistent gold. */
body.page-cart :is(.checkout-btn,.btn-primary,.btn-submit,.btn-next,.continue-btn,.primary-btn),
body.page-checkout :is(.checkout-btn,.btn-primary,.btn-submit,.btn-next,.continue-btn,.primary-btn){background:linear-gradient(135deg,#c8a056,#97702d)!important;border-color:#a17b36!important;color:#fff!important;box-shadow:none!important}
body.page-cart :is(.checkout-btn,.btn-primary,.btn-submit,.btn-next,.continue-btn,.primary-btn):hover,
body.page-checkout :is(.checkout-btn,.btn-primary,.btn-submit,.btn-next,.continue-btn,.primary-btn):hover{background:#8b672c!important}
body.page-cart :is(h1,h2,h3,.topbar),body.page-checkout :is(h1,h2,h3,.topbar){color:#352510!important}
/* Profile: warm neutral header and gold actions instead of mismatched navy-blue. */
body.page-profile :is(.profile-header,.profile-hero,.user-header){background:linear-gradient(115deg,#20170d,#544020)!important;color:#fff7e8!important;border-color:#ac8139!important}
body.page-profile :is(.profile-header,.profile-hero,.user-header) :is(h1,h2,h3,p,span){color:inherit!important}
body.page-profile :is(.btn-primary,.primary-btn,button[type=submit]){background:linear-gradient(135deg,#c8a056,#97702d)!important;border-color:#a17b36!important;color:#fff!important}
body.page-profile :is(th,thead){background:#f2ebdc!important;color:#49351b!important}
/* Currency calculator: compact, controlled width. */
body.page-currency .currency-page{max-width:1250px!important;margin-left:auto!important;margin-right:auto!important}
body.page-currency :is(.currency-converter,.currency-wrapper){min-width:0!important;max-width:100%!important}
body.page-currency .currency-converter :is(input,select,button){max-width:100%;box-sizing:border-box}
@media(max-width:900px){body.kalbo-catalog .product-card .sf-card-actions{grid-template-columns:1fr!important}}
@media(max-width:480px){body.kalbo-catalog .product-card .sf-card-actions .sf-btn{font-size:11px!important}}

body.kalbo-catalog .product-card .sf-card-actions .sf-qty-input{grid-column:1/-1!important;grid-row:1!important;width:100%!important;max-width:100%!important;height:34px!important;min-height:34px!important;padding:4px 8px!important;margin:0!important;border:1px solid #d7c7a7!important;border-radius:7px!important;text-align:center!important;font-size:12px!important}

body.kalbo-catalog .product-card .sf-card-actions>a.sf-btn,body.kalbo-catalog .product-card .sf-card-actions>button.sf-btn{grid-row:2!important}
