/* Faza 4E / v0.8.0. ONLY the three catalogue menu pages (body.page-products).
   Home page, navigation, product teaser, footer and other pages are unchanged. */
body.page-products #sp-top-c.delicious-section-catalog{background:#fff;padding:24px 0 37px;display:block;width:100%;}
body.page-products #sp-top-c.delicious-section-catalog>.delicious-container{width:calc(100% - 30px);max-width:var(--delicious-max);margin-inline:auto;}
body.page-products #sp-top-c.delicious-section-catalog .delicious-section-grid{display:block;width:100%;margin:0;}
body.page-products #sp-top-c.delicious-section-catalog .delicious-slot-top11{display:block;flex:0 0 100%!important;max-width:100%!important;width:100%;padding:0!important;}
body.page-products .delicious-catalogue{width:100%;max-width:100%;margin-inline:auto;}
body.page-products .delicious-catalogue-heading{min-height:68px;display:flex;justify-content:center;align-items:center;position:relative;padding:3px 0 16px;}
body.page-products .delicious-catalogue-heading h1{font-family:"Delicious Kepler",Georgia,'Times New Roman',serif;font-size:clamp(28px,2.8vw,42px);font-weight:700;color:#6f3625;margin:0;line-height:1.2;text-align:center;}
body.page-products .delicious-catalogue-trigger{position:absolute;right:0;top:50%;transform:translateY(-60%);border:0;border-radius:0;background:#ed241b;color:#fff;padding:10px 17px;font-size:13px;font-family:"Delicious Kepler",Georgia,serif;font-weight:700;text-transform:uppercase;letter-spacing:0;cursor:pointer;line-height:1.25;}
body.page-products .delicious-catalogue-trigger:is(:hover,:focus-visible){background:#bd1c15;color:#fff;}
body.page-products .delicious-catalogue-group{display:block;margin:0 0 7px;clear:both;}
body.page-products .delicious-catalogue-group h2{font-family:"Delicious Kepler",Georgia,'Times New Roman',serif;font-weight:700;font-size:clamp(25px,2.4vw,34px);line-height:1.2;color:#6f3625;margin:13px 0 9px;padding:0;}
body.page-products .delicious-catalogue-group-delicious h2{display:none;}
body.page-products .delicious-catalogue-group .dl6wk{display:block;width:100%;max-width:none;margin:0;}
body.page-products .delicious-catalogue-group .dl6wk-grid .dl6wk-list{display:grid!important;width:100%;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;align-items:stretch;margin:0;}
body.page-products .delicious-catalogue-group .dl6wk-grid .dl6wk-item{display:flex;flex-direction:column;align-items:stretch;text-align:center;background:#fdfbed;min-width:0;min-height:320px;overflow:hidden;transition:background-color .3s ease,box-shadow .3s ease;}
body.page-products .delicious-catalogue-group .dl6wk-grid .dl6wk-item:hover,
body.page-products .delicious-catalogue-group .dl6wk-grid .dl6wk-item:focus-within{background:#fff8cf;box-shadow:0 0 0 1px rgba(109,71,39,.14) inset;}
body.page-products .delicious-catalogue-group .dl6wk-grid .dl6wk-target{display:flex;flex:1;flex-direction:column;height:100%;text-decoration:none;}
body.page-products .delicious-catalogue-group .dl6wk-grid .dl6wk-media{width:100%;height:auto;aspect-ratio:1.17;display:flex;justify-content:center;align-items:center;line-height:0;overflow:hidden;padding:14px 14px 2px;}
body.page-products .delicious-catalogue-group .dl6wk-grid .dl6wk-media img{max-height:225px;width:100%;height:100%;object-fit:contain;transition:transform .33s ease,opacity .3s ease;}
body.page-products .delicious-catalogue-group .dl6wk-grid .dl6wk-item:hover .dl6wk-primary{transform:scale(1.045);opacity:1!important;}
body.page-products .delicious-catalogue-group .dl6wk-grid .dl6wk-text{display:block;flex:1;padding:7px 11px 16px;}
body.page-products .delicious-catalogue-group .dl6wk-grid .dl6wk-title{font-family:"Delicious Kepler",Georgia,'Times New Roman',serif;font-size:19px;line-height:1.28;color:#6f3625;font-weight:700;margin:0 0 8px;}
body.page-products .delicious-catalogue-group .dl6wk-grid .dl6wk-content{font-family:"Open Sans",Arial,sans-serif;font-size:13px;line-height:1.3;color:#967f69;}
/* Disable the old blank-component gap only on our three known catalogue pages. */
body.page-products .delicious-content.modules-only:not(.has-left):not(.has-right){min-height:0!important;padding:0!important;gap:0!important;}
body.page-products .delicious-content.modules-only .delicious-main{min-height:0!important;}
/* Native <dialog> has focus trapping, Escape closing and backdrop semantics. */
body.page-products .delicious-catalogue-modal{border:1px solid #c7c7c7;border-radius:0;box-shadow:0 14px 55px #0006;box-sizing:border-box;width:min(94vw,545px);max-height:min(88vh,780px);padding:0;background:#fff;color:#333;overflow-y:auto;}
body.page-products .delicious-catalogue-modal::backdrop{background:rgba(0,0,0,.56);}
body.page-products .delicious-catalogue-modal-bar{position:relative;display:flex;align-items:center;justify-content:center;border-bottom:1px solid #ddd;min-height:51px;padding:12px 52px 10px;}
body.page-products .delicious-catalogue-modal-bar h2{font-family:"Delicious Kepler",Georgia,serif;font-size:21px;font-weight:700;margin:0;text-align:center;color:#4f3d34;line-height:1.3;}
body.page-products .delicious-catalogue-close{position:absolute;right:12px;top:7px;width:33px;height:33px;border:0;background:transparent!important;color:#555!important;font-size:30px;line-height:1;cursor:pointer;padding:0;}
body.page-products .delicious-catalogue-close:hover{color:#d72920!important;}
body.page-products .delicious-catalogue-modal-body{padding:18px 24px 24px;}
body.page-products .delicious-catalogue-modal .dl6forms{max-width:100%;margin:0;padding:0;}
body.page-products .delicious-catalogue-modal .dl6forms h2{display:none;}
body.page-products .delicious-catalogue-modal .dl6forms form{display:grid;gap:12px;}
body.page-products .delicious-catalogue-modal .dl6forms label{font-weight:600;font-size:14px;}
body.page-products .delicious-catalogue-modal .dl6forms input:not([type="hidden"]){min-height:42px;padding:10px 12px;border-radius:0;}
body.page-products .delicious-catalogue-modal .dl6forms button[type="submit"]{background:#ed241b;border:0;border-radius:0;color:white;font-family:"Delicious Kepler",Georgia,serif;font-size:16px;padding:11px 25px;justify-self:end;}
body.page-products .delicious-catalogue-modal .dl6forms-status.dl6forms-ok{color:#454545;line-height:1.6;background:#fff;border:0;text-align:center;font-size:15px;padding:24px 10px;}
body.page-products .delicious-catalogue-modal .dl6forms form:has(.dl6forms-status.dl6forms-ok)>:not(.dl6forms-status){display:none!important;}
/* Unaltered site homepage uses .page-home selectors; no new global widget styles. */
@media(max-width:991px){
 body.page-products .delicious-catalogue-group .dl6wk-grid .dl6wk-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;}
 body.page-products .delicious-catalogue-group .dl6wk-grid .dl6wk-item{min-height:280px;}
 body.page-products .delicious-catalogue-group .dl6wk-grid .dl6wk-media{aspect-ratio:1.14;}
 body.page-products .delicious-catalogue-group .dl6wk-grid .dl6wk-media img{max-height:205px;}
}
@media(max-width:600px){
 body.page-products #sp-top-c.delicious-section-catalog{padding-top:22px;}
 body.page-products .delicious-catalogue-heading{display:flex;flex-direction:column;gap:12px;padding:0 0 18px;}
 body.page-products .delicious-catalogue-trigger{position:static;transform:none;}
 body.page-products .delicious-catalogue-group h2{font-size:25px;margin:18px 0 8px;}
 body.page-products .delicious-catalogue-group .dl6wk-grid .dl6wk-item{min-height:250px;}
 body.page-products .delicious-catalogue-group .dl6wk-grid .dl6wk-title{font-size:16px;}
 body.page-products .delicious-catalogue-group .dl6wk-grid .dl6wk-content{font-size:12px;}
 body.page-products .delicious-catalogue-group .dl6wk-grid .dl6wk-media{padding:9px 8px 0;}
 body.page-products .delicious-catalogue-modal-body{padding:16px;}
}
@media(prefers-reduced-motion:reduce){body.page-products .delicious-catalogue-group *{animation:none!important;transition:none!important;}}
@media(prefers-reduced-motion:no-preference){
 body.page-products .delicious-catalogue-group .dl6wk-item.dl6catalog-pending{opacity:0;transform:translateY(12px);}
 body.page-products .delicious-catalogue-group .dl6wk-item.dl6catalog-pending.dl6catalog-visible{opacity:1;transform:none;transition:opacity .45s ease,transform .45s ease,background-color .3s ease;}
}
