.graham-browse-bar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:12px 0 18px;clear:both}.graham-browse-bar label{display:flex;align-items:center;gap:8px;font-size:14px}.graham-browse-bar select{width:auto;min-height:40px;border:1px solid #bacddd;border-radius:7px;background:#fff;padding:6px 10px}.graham-browse-bar .graham-filter-toggle{border:1px solid #bdcedc;border-radius:20px;background:#fff;color:#34546c;padding:9px 14px;font-size:13px;cursor:pointer}.graham-browse-bar .graham-filter-toggle[aria-checked=true]{background:#075b9d;color:#fff;border-color:#075b9d}.graham-catalog-footer-controls{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;clear:both;padding:24px 0}.graham-catalog-footer-controls>.graham-page-size-control{display:inline-flex;align-items:center;gap:8px;margin:0!important;font-size:14px;white-space:nowrap}.graham-catalog-footer-controls .graham-page-size-control select{box-sizing:border-box;width:auto;min-height:38px;margin:0!important;border:1px solid #bacddd;border-radius:7px;background:#fff;padding:6px 10px}.graham-catalog-footer-controls>.woocommerce-pagination,.graham-catalog-footer-controls>.wp-block-query-pagination{margin:0!important}.graham-load-more{display:inline-flex;align-items:center;gap:10px;text-align:center;clear:both;padding:0}.graham-load-more button{min-width:140px;border-radius:8px;background:#075b9d;color:#fff;padding:10px 20px;border:0;cursor:pointer}.graham-load-more p{margin:0;font-size:13px;color:#526a7d}
body.graham-product-detail .graham-identity-category{font-size:13px;order:1;max-width:100%;overflow-wrap:anywhere}body.graham-product-detail .product_meta .posted_in{display:none!important}
body.graham-product-detail .graham-product-overview .woocommerce-tabs{width:100%;margin:0;padding:0;clear:both}body.graham-product-detail .graham-product-overview ul.tabs{display:flex;flex-wrap:wrap;gap:4px;padding:0!important;margin:0 0 16px!important;border-bottom:1px solid #d1dfe8}body.graham-product-detail .graham-product-overview ul.tabs:before,body.graham-product-detail .graham-product-overview ul.tabs li:before,body.graham-product-detail .graham-product-overview ul.tabs li:after{display:none!important}body.graham-product-detail .graham-product-overview ul.tabs li{border:0!important;border-radius:0!important;background:transparent!important;margin:0!important;padding:0!important}body.graham-product-detail .graham-product-overview ul.tabs li a{display:block;padding:10px 14px!important;color:#526a7d}body.graham-product-detail .graham-product-overview ul.tabs li.active a{color:#075b9d;border-bottom:3px solid #075b9d}body.graham-product-detail .graham-product-overview .panel{margin:0!important}body.graham-product-detail .graham-product-overview .panel>h2{display:none}
@media(max-width:767px){body .graham-header-branding-inner{justify-content:flex-start!important;text-align:left!important}body .graham-header-logo{margin-left:0!important;margin-right:auto!important;justify-content:flex-start!important;text-align:left!important}body .graham-header-logo-image{width:230px!important;max-width:70vw!important;height:auto!important;max-height:none!important;object-fit:contain;object-position:left}.graham-browse-bar{gap:8px}.graham-browse-bar .graham-filter-toggle{font-size:12px}}
body.graham-product-detail .graham-product-overview ul.tabs,body.graham-product-detail .graham-product-overview ul.tabs li{list-style:none!important}body.graham-product-detail .taxonomy-product_cat.wp-block-post-terms{display:none!important}

.graham-browse-bar .graham-filter-toggle{display:inline-flex;align-items:center;gap:9px}.graham-switch-track{display:inline-block;position:relative;width:32px;height:18px;border-radius:12px;background:#82909b;flex-shrink:0}.graham-switch-track:after{content:"";position:absolute;left:3px;top:3px;width:12px;height:12px;border-radius:50%;background:#fff}.graham-filter-toggle[aria-checked=true] .graham-switch-track{background:#fff}.graham-filter-toggle[aria-checked=true] .graham-switch-track:after{left:17px;background:#075b9d}.graham-filter-toggle:focus-visible{outline:3px solid #16863f;outline-offset:3px}

/* Reset theme form margins so switches and page size share one centre line. */
body .graham-browse-bar > label{margin:0!important;padding:0;min-height:40px;line-height:20px;align-self:center}
body .graham-browse-bar select,body .graham-browse-bar .graham-filter-toggle{box-sizing:border-box;height:40px;min-height:40px;margin:0!important;line-height:20px;align-self:center;vertical-align:middle}
body .graham-browse-bar .graham-filter-toggle{padding:9px 14px;white-space:nowrap;justify-content:center}
body .graham-product-filter-bar{width:100%;max-width:1240px;box-sizing:border-box;margin:0 auto;grid-column:1/-1}

/* Keep the bottom catalogue controls compact and non-wrapping on phones. */
@media(max-width:767px){
 .graham-mobile-departments{display:none!important}
 body .graham-browse-bar{align-items:center;gap:6px;padding:6px 0 10px}
 body .graham-browse-bar.graham-browse-bar-mobile-empty{display:none!important}
 body .graham-catalog-footer-controls{gap:8px;padding:16px 0}
 body .graham-catalog-footer-controls>label.graham-page-size-control{align-items:center;display:inline-flex;flex:0 0 auto;gap:4px;min-height:34px!important;white-space:nowrap}
 .graham-page-size-prefix{display:none}
 .graham-page-size-suffix{font-size:0;white-space:nowrap}
 .graham-page-size-suffix:after{content:"/ page";font-size:11px;font-weight:700}
 body .graham-catalog-footer-controls .graham-page-size-control select{font-size:14px;height:36px!important;min-height:36px!important;padding:4px 20px 4px 9px;width:72px!important}
 body .graham-catalog-footer-controls .graham-load-more button{min-width:auto;height:34px;padding:5px 12px;font-size:12px}
 body .graham-catalog-footer-controls .graham-load-more p{flex-basis:100%;font-size:11px}
}

/* 0.13.453: compact catalogue switches and omit list filters on a chosen product. */
body.graham-product-detail .graham-product-filter-bar {
    display: none !important;
}

@media (max-width: 1280px) {
    body.graham-catalog-view .graham-browse-bar {
        padding-bottom: 5px;
        padding-top: 2px;
    }
}

/* Keep each phone filter switch and its help button together. */
@media(max-width:960px){
 body .graham-product-filter-bar{display:grid;gap:6px;padding:4px 2px 7px;width:100%}
 body .graham-product-filter-bar>.graham-feature-control{display:flex;width:100%}
 body .graham-product-filter-bar>.graham-feature-control:has(.graham-filter-toggle[aria-label="In stock"]){display:none!important}
 body .graham-product-filter-bar .graham-filter-toggle{flex:1 1 auto;height:36px;min-height:36px;padding:6px 10px}
 body .graham-product-filter-bar .graham-feature-help{flex:0 0 22px!important}
}
@media(min-width:560px) and (max-width:960px){
 body .graham-product-filter-bar{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Quiet account catalogue filters: compact enough for repeated daily use. */
body .graham-browse-bar{gap:6px;padding:6px 0 10px}
body .graham-browse-bar>.graham-feature-control{gap:4px}
body .graham-browse-bar .graham-filter-toggle{height:30px;min-height:30px;padding:4px 9px;border-radius:16px;gap:6px;font-size:12px;font-weight:600;line-height:18px}
body .graham-browse-bar .graham-filter-caption{display:inline-flex;align-items:center;gap:4px;min-width:0;white-space:nowrap}
body .graham-browse-bar .graham-filter-state{color:#60798a;font-size:10px;font-weight:800;text-transform:uppercase}
body .graham-browse-bar .graham-filter-toggle[aria-checked=true]{background:#e8f6ed;color:#087a37;border-color:#72b98d}
body .graham-browse-bar .graham-filter-toggle[aria-checked=true] .graham-filter-state{color:inherit}
body .graham-browse-bar .graham-switch-track{width:26px;height:14px;border-radius:9px;background:#82909b}
body .graham-browse-bar .graham-switch-track:after{left:2px;top:2px;width:10px;height:10px}
body .graham-browse-bar .graham-filter-toggle[aria-checked=true] .graham-switch-track{background:#16863f}
body .graham-browse-bar .graham-filter-toggle[aria-checked=true] .graham-switch-track:after{left:14px;background:#fff}
body .graham-browse-bar .graham-filter-toggle:focus-visible{outline:2px solid #16863f;outline-offset:2px}

.graham-preferences-toggle{align-items:center;background:#fff;border:1px solid #b8cfdd;border-radius:16px;color:#163d59;cursor:pointer;display:inline-flex;font-size:12px;font-weight:700;height:30px;justify-content:center;padding:4px 12px;white-space:nowrap}
.graham-preferences-toggle[aria-expanded=true]{background:#e8f6ed;border-color:#72b98d;color:#087a37}
.graham-preferences-panel{align-items:center;background:#fff;border:1px solid #b8cfdd;border-radius:8px;box-shadow:0 6px 16px rgba(22,61,89,.08);display:flex;flex-wrap:wrap;gap:8px;margin-top:4px;padding:8px;width:100%}
.graham-preferences-panel .graham-feature-control{display:inline-flex}
.graham-preferences-sort{align-items:center;color:#526878;display:inline-flex;gap:6px;font-size:12px;font-weight:600}
.graham-preferences-sort select{height:30px;min-height:30px;padding:3px 24px 3px 8px}
.graham-filter-lock{align-items:center;color:#60798a;display:inline-flex;gap:3px;font-size:10px;font-weight:700;margin-left:1px;white-space:nowrap}.graham-filter-lock input{accent-color:#16863f;margin:0}
@media(max-width:767px){.graham-preferences-panel{align-items:stretch;display:grid;grid-template-columns:1fr;width:100%}.graham-preferences-panel .graham-feature-control{display:flex;width:100%}.graham-preferences-sort select{flex:1;min-width:0}}
@media(max-width:960px){
 body .graham-product-filter-bar{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:3px 2px 6px}
 body .graham-product-filter-bar .graham-filter-toggle{height:30px;min-height:30px;padding:4px 7px;font-size:11px}
 body .graham-product-filter-bar .graham-feature-help{flex:0 0 20px!important;width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;font-size:11px!important}
}

/* Phone catalogue filters: one compact row with no orphaned stock help icon. */
@media(max-width:767px){
 body .graham-browse-bar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;width:100%}
 body .graham-browse-bar>.graham-feature-control{display:grid;grid-template-columns:minmax(0,1fr) 20px;align-items:center;gap:4px;min-width:0;width:100%}
 body .graham-browse-bar>.graham-feature-control:has(.graham-filter-toggle[aria-label="In stock"]){display:none!important}
 body .graham-browse-bar .graham-filter-toggle{width:100%;min-width:0;padding:4px 6px;gap:5px;overflow:hidden}
 body .graham-browse-bar .graham-filter-caption{gap:3px;overflow:hidden}
 body .graham-browse-bar .graham-filter-label{overflow:hidden;text-overflow:ellipsis}
 body .graham-browse-bar .graham-switch-track{flex:0 0 24px;width:24px}
 body .graham-browse-bar .graham-feature-help{margin:0!important}
}

/* My View dropdown: compact account-menu treatment with a viewport-safe phone layout. */
body .graham-browse-bar{position:relative}
body .graham-preferences-panel{align-items:stretch;background:#fff;border:1px solid #d5e1e8;border-radius:7px;box-shadow:0 8px 20px rgba(18,63,96,.14);display:grid;gap:0;grid-template-columns:1fr;left:0;margin:0;padding:5px;position:absolute;right:auto;top:calc(100% + 6px);width:min(390px,calc(100vw - 32px));z-index:60}
body .graham-preferences-panel .graham-preferences-sort{align-items:center;border-bottom:1px solid #e5edf1;display:grid;gap:8px;grid-template-columns:auto minmax(0,1fr) auto;padding:9px 8px;width:auto}
body .graham-preferences-panel .graham-preferences-sort select{box-sizing:border-box;min-width:0;width:100%}
body .graham-preferences-panel .graham-feature-control{align-items:center;border-bottom:1px solid #e5edf1;display:grid;gap:7px;grid-template-columns:minmax(0,1fr) 22px auto;padding:5px 3px;width:auto}
body .graham-preferences-panel .graham-feature-control:last-child{border-bottom:0}
body .graham-preferences-panel .graham-feature-control .graham-filter-toggle{background:#fff;border:0;border-radius:4px;color:#163d59;justify-content:flex-start;width:100%}
body .graham-preferences-panel .graham-feature-control .graham-filter-toggle[aria-checked=true]{background:#e8f6ed;color:#087a37}
body .graham-preferences-panel .graham-feature-help{margin:0!important}
body .graham-preferences-panel .graham-filter-lock{justify-self:end}

@media(max-width:767px){
 body .graham-preferences-panel{border-radius:7px;left:12px;margin:0;position:fixed;right:12px;top:8px;width:auto;z-index:1000}
 body .graham-preferences-panel .graham-feature-control{grid-template-columns:minmax(0,1fr) 22px auto}
}

/* Final My View row alignment and spacing. */
body .graham-preferences-panel .graham-feature-control{align-items:center;grid-template-columns:minmax(0,1fr) 30px 58px;min-height:44px;padding:5px 8px}
body .graham-preferences-panel .graham-filter-toggle{align-items:center;min-height:34px}
body .graham-preferences-panel .graham-feature-help{align-self:center;justify-self:center}
body .graham-preferences-panel .graham-filter-lock{align-items:center;justify-content:flex-start;min-width:54px}
body .graham-preferences-panel .graham-feature-control:has(.graham-filter-toggle[aria-label="In stock"]){display:grid!important}
@media(max-width:767px){body .graham-preferences-panel .graham-feature-control{grid-template-columns:minmax(0,1fr) 30px 58px}}

/* Keep bulk ordering in the compact browse toolbar instead of opening a large panel. */
body .graham-browse-bar .graham-add-selected-inline,
body .graham-browse-bar .graham-add-selected-inline:hover,
body .graham-browse-bar .graham-add-selected-inline:focus{
  align-items:center;
  background:#e9f0f4;
  border:1px solid #b8cfdd;
  border-radius:7px;
  color:#7890a0;
  display:inline-flex;
  flex:0 0 auto;
  font-size:12px;
  font-weight:700;
  gap:5px;
  height:36px;
  justify-content:center;
  margin:0;
  min-width:0;
  padding:7px 13px;
  white-space:nowrap;
}
body .graham-browse-bar .graham-add-selected-inline[hidden]{display:none!important}
body .graham-browse-bar .graham-add-selected-inline.is-selection-ready:not(:disabled),
body .graham-browse-bar .graham-add-selected-inline.is-selection-ready:not(:disabled):hover,
body .graham-browse-bar .graham-add-selected-inline.is-selection-ready:not(:disabled):focus{
  background:#138f3d;
  border-color:#138f3d;
  color:#fff;
}
body .graham-browse-bar .graham-add-selected-inline .dashicons{font-size:16px;height:16px;line-height:16px;width:16px}

