/* Patch 39: simple category title, compact navigation and catalogue toolbar. */
body.phn-theme .phn11-category.phn39-category .phn11-category-heading {display:block!important;min-height:0!important;background:none!important;border:0!important;border-radius:0!important;padding:0!important;margin:4px 0 28px!important;}
body.phn-theme .phn11-category.phn39-category .phn11-category-copy {padding:0!important;width:100%!important;}
body.phn-theme .phn11-category.phn39-category .phn11-category-heading h1 {font-size:34px!important;line-height:1.2!important;margin:0!important;}
body.phn-theme .phn11-category.phn39-category .phn39-subtitle {font-size:15px;line-height:1.6;color:#657260;margin:10px 0 0;}
body.phn-theme .phn11-category.phn39-category .phn11-category-heading .categoryDescription {margin:10px 0 0!important;max-width:850px;}
body.phn-theme .phn11-category.phn39-category #sidebar .categorytree {background:transparent!important;border:0!important;padding:0!important;border-radius:0;}
body.phn-theme .phn11-category.phn39-category #sidebar .categorytree-header {font-size:14px!important;padding:0 12px 12px!important;margin:0 0 6px!important;border-bottom:1px solid #e1e7de;}
body.phn-theme .phn11-category.phn39-category #sidebar .phn13-categorybox {display:block!important;}
body.phn-theme .phn11-category.phn39-category #sidebar .phn13-tree ul {padding:0!important;margin:0!important;border:0!important;}
body.phn-theme .phn11-category.phn39-category #sidebar .phn13-tree ul ul {padding-left:12px!important;}
body.phn-theme .phn11-category.phn39-category #sidebar .phn13-tree li > a {display:flex!important;align-items:center;gap:10px;padding:11px 12px!important;margin:2px 0!important;min-height:42px;border:0!important;border-radius:6px;font-size:14px!important;line-height:1.45!important;}
body.phn-theme .phn11-category.phn39-category #sidebar .phn13-tree > li.exp > a:before {content:"←";display:inline-block;color:#657260;}
body.phn-theme .phn11-category.phn39-category #sidebar .phn13-tree > li.exp > a {margin-bottom:6px!important;font-weight:500;}
body.phn-theme .phn11-category.phn39-category #sidebar .phn13-tree li.active > a {background:#edf3e7!important;color:#17642b!important;font-weight:600;}
body.phn-theme .phn11-category.phn39-category #sidebar .phn14-cat-count {background:transparent!important;padding:0!important;min-width:24px;text-align:right;font-size:12px!important;}
body.phn-theme .phn11-category.phn39-category .phn39-toolbar {display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:0 0 20px;padding:0 0 14px;border-bottom:1px solid #e1e7de;}
body.phn-theme .phn11-category.phn39-category .phn39-count {font-size:13px;color:#657260;}
body.phn-theme .phn11-category.phn39-category .phn39-toolbar .listRefine {flex:1 1 auto;min-width:0;margin:0!important;padding:0!important;}
body.phn-theme .phn11-category.phn39-category .phn39-toolbar .refineParams {margin:0!important;padding:0!important;}
body.phn-theme .phn11-category.phn39-category .phn39-toolbar .pagination-options {padding:0!important;}
body.phn-theme .phn11-category.phn39-category .phn39-toolbar .pagination {margin:0;}
body.phn-theme .phn11-category.phn39-category .phn39-toolbar .options .btn {font-size:13px;min-height:40px;padding:9px 12px;}
body.phn-theme .phn11-category.phn39-category .phn39-category-toggle {display:none;}
@media(max-width:991px){
body.phn-theme .phn11-category.phn39-category #sidebar {display:block!important;}
body.phn-theme .phn11-category.phn39-category .phn39-category-toggle {display:flex;width:100%;justify-content:space-between;align-items:center;min-height:44px;margin:0 0 12px;padding:10px 14px;border:1px solid #e1e7de;border-radius:7px;background:#fff;color:#203e2b;font-size:14px;}
body.phn-theme .phn11-category.phn39-category #sidebar .categorytree-wrapper {display:block!important;}
body.phn-theme .phn11-category.phn39-category #sidebar .categorytree-wrapper[hidden] {display:none!important;}
body.phn-theme .phn11-category.phn39-category #sidebar .categorytree-header {display:none;}
body.phn-theme .phn11-category.phn39-category #sidebar .categorytree {padding:0 0 10px!important;}
body.phn-theme .phn11-category.phn39-category .phn11-category-heading {margin-bottom:20px!important;}
body.phn-theme .phn11-category.phn39-category .phn11-category-heading h1 {font-size:28px!important;}
body.phn-theme .phn11-category.phn39-category .phn39-toolbar {gap:10px;margin-top:12px;}
}

/* Patch 41: compact banner with editable text and a decorative photo. */
body.phn-theme .phn11-category.phn39-category .phn11-category-heading.phn41-heading {display:grid!important;grid-template-columns:minmax(0,1fr);min-height:160px!important;background:#f1f6ee!important;border-radius:10px!important;overflow:hidden;margin:4px 0 24px!important;}
body.phn-theme .phn11-category.phn39-category .phn11-category-heading.phn41-with-image {grid-template-columns:minmax(0,2fr) minmax(0,1fr);}
body.phn-theme .phn11-category.phn39-category .phn41-heading .phn11-category-copy {padding:26px 32px!important;align-self:center;min-width:0;}
body.phn-theme .phn11-category.phn39-category .phn41-heading h1 {font-size:32px!important;line-height:1.2!important;color:#163b26;margin:0!important;}
body.phn-theme .phn11-category.phn39-category .phn41-heading .phn39-subtitle, body.phn-theme .phn11-category.phn39-category .phn41-heading .categoryDescription {font-size:15px!important;line-height:1.5!important;margin:10px 0 0!important;color:#62705e;}
body.phn-theme .phn11-category.phn39-category .phn41-heading .categoryDescription p {margin:0;}
body.phn-theme .phn11-category.phn39-category .phn41-visual {position:relative;min-height:160px;overflow:hidden;}
body.phn-theme .phn11-category.phn39-category .phn41-visual > a {display:block;position:absolute;inset:0;}
body.phn-theme .phn11-category.phn39-category .phn41-visual img {display:block;position:absolute!important;inset:0!important;width:100%!important;max-width:none!important;height:100%!important;max-height:none!important;object-fit:cover!important;object-position:center;margin:0!important;border-radius:0!important;}
body.phn-theme .phn11-category.phn39-category .phn41-composite img {left:auto!important;right:0!important;width:250%!important;object-position:right center!important;}
@media(max-width:600px){
body.phn-theme .phn11-category.phn39-category .phn11-category-heading.phn41-heading {min-height:130px!important;}
body.phn-theme .phn11-category.phn39-category .phn11-category-heading.phn41-with-image {grid-template-columns:minmax(0,1fr) 28%;}
body.phn-theme .phn11-category.phn39-category .phn41-heading .phn11-category-copy {padding:18px!important;}
body.phn-theme .phn11-category.phn39-category .phn41-heading h1 {font-size:25px!important;}
body.phn-theme .phn11-category.phn39-category .phn41-heading .phn39-subtitle, body.phn-theme .phn11-category.phn39-category .phn41-heading .categoryDescription {font-size:13px!important;}
body.phn-theme .phn11-category.phn39-category .phn41-visual {min-height:130px;}
}
