/* Department browsing and buyer tools, in the approved Christmas palette. */
.enhanced-catalog {grid-template-columns:245px minmax(0,1fr);gap:24px;align-items:start;padding-bottom:45px}
.catalog-sidebar {min-width:0;background:white;border:1px solid var(--line);border-radius:5px}
.department-switcher {padding:16px 18px;border-bottom:1px solid var(--line)}
.department-switcher summary {cursor:pointer;font-weight:700;font-size:13px}
.department-switcher nav {display:grid;gap:9px;padding-top:15px;max-height:370px;overflow:auto}
.department-switcher a {font-size:13px;line-height:1.45}
.department-switcher a[aria-current] {color:var(--pine);font-weight:750}
#department-filter-panel {padding:20px 18px}
.filter-panel-title {display:flex;align-items:start;justify-content:space-between;gap:9px}
.filter-panel-title h2 {font-size:18px;line-height:1.25;letter-spacing:-.3px}
.clear-filter-button {border:0;background:transparent;color:#1763a6;font:inherit;font-size:12px;text-decoration:underline;text-underline-offset:3px;cursor:pointer;padding:4px 0}
.clear-filter-button:hover {color:#104d86}
.filter-guidance {font-size:11px;line-height:1.6;color:var(--muted);margin:12px 0 16px}
.facet-group {padding:14px 0;border-top:1px solid #e4edf2}
.facet-group summary {cursor:pointer;display:flex;align-items:center;gap:6px;justify-content:space-between;font-size:13px;font-weight:700;list-style:none}
.facet-group summary::after {content:'+';font-size:18px;color:#1763a6;font-weight:400}
.facet-group[open] summary::after {content:'−'}
.facet-group summary>span {margin-left:auto;font-size:11px;background:#e8f5ee;color:#08724b;padding:1px 5px;border-radius:3px}
.facet-group summary>span:empty {display:none}
.facet-values {display:grid;gap:3px;margin-top:12px;max-height:240px;overflow:auto;overscroll-behavior:contain;padding-right:3px;scrollbar-width:thin}
.facet-option {display:flex;align-items:center;gap:9px;line-height:1.4;font-size:12px;padding:5px 0;cursor:pointer}
.facet-option[hidden] {display:none}
.facet-option input,.compare-choice input {appearance:auto;width:16px;height:16px;min-height:0;padding:0;margin:0;accent-color:#08724b;flex-shrink:0}
.facet-option small {margin-left:auto;color:#637e8e;font-size:11px;padding-left:6px}
.facet-unavailable {color:#8498a4;cursor:default}
.facet-option-search {width:100%;min-height:34px;padding:7px 9px;font-size:12px;margin-top:12px;border:1px solid #cbdde6;border-radius:3px}
.price-filter {display:flex;align-items:end;gap:7px;margin:13px 0 11px}
.price-filter label {min-width:0;font-size:11px;display:grid;gap:5px}
.price-filter input {width:100%;min-height:35px;font-size:12px;padding:7px 6px;border:1px solid #cbdde6;border-radius:3px}
.price-filter>span {align-self:center;padding-top:16px;color:#648190}
.catalog-search-row {display:flex;align-items:end;gap:18px;margin-bottom:20px}
.catalog-search-row>label {display:grid;gap:8px;min-width:0;flex:1;font-size:13px;font-weight:700}
.catalog-search-row input,.catalog-search-row select {width:100%;border:1px solid #b9d2df;background:white;border-radius:4px;padding:12px;font-size:14px;min-height:45px;color:var(--ink)}
.catalog-search-row .mobile-department-label {max-width:260px}
.catalog-toolbar {display:flex;align-items:center;gap:15px;padding:16px 0;border-top:1px solid #e4edf2;border-bottom:1px solid #e4edf2;margin-bottom:18px}
.catalog-toolbar>strong {font-size:14px;font-weight:700;white-space:nowrap}
.sort-label {margin-left:auto;display:flex;align-items:center;gap:10px;font-size:12px;color:var(--muted)}
.sort-label select {font-size:12px;min-height:36px;border-radius:3px;border:1px solid #cbdde6;padding:8px;color:var(--ink);background:white;max-width:180px}
.mobile-filter-button {display:none}
.active-filters {display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-bottom:20px}
.active-filters:empty {display:none}
.filter-chip {border:1px solid #bdd8c9;border-radius:4px;background:#edf8f2;color:#075438;display:flex;gap:8px;align-items:center;font-size:12px;line-height:1.5;padding:6px 9px;text-align:left;cursor:pointer;max-width:100%;overflow-wrap:anywhere}
.filter-chip>span {font-size:18px;line-height:1}
.catalog-empty {grid-column:1/-1;text-align:center;padding:55px 30px;background:#f4f9fc;border:1px dashed #bfd8e7}
.catalog-empty h2 {font-size:25px}
.catalog-empty p {font-size:14px;line-height:1.7;margin:15px 0 22px}
.catalog-empty .clear-filter-button {display:block;margin:15px auto 0}
.load-more p {font-size:13px;color:var(--muted);margin-bottom:14px}
.card-specs {font-size:11px;line-height:1.5;color:#4b6a7b;margin-top:5px}
.card-bottom {display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:11px}
.card-bottom .sku-caption {margin:0;font-size:10px}
.compare-choice {display:flex;align-items:center;gap:5px;font-size:11px;color:#4b6a7b;cursor:pointer}
.product-info {min-width:0}
.product-info h3 {overflow-wrap:anywhere}
.comparison-bar {position:fixed;bottom:18px;left:50%;transform:translateX(-50%);z-index:70;display:flex;align-items:center;gap:24px;max-width:calc(100% - 32px);padding:14px 22px;background:white;border:1px solid #a8c9ba;box-shadow:0 6px 32px #17324230;border-radius:6px}
.comparison-bar[hidden] {display:none}
.comparison-bar strong {display:block;font-size:14px;white-space:nowrap}
.comparison-bar span {display:block;font-size:12px;color:var(--muted);margin-top:3px;white-space:nowrap}
.comparison-bar .btn {white-space:nowrap;min-height:40px}
body.has-comparison {padding-bottom:100px}
.comparison-dialog,.mobile-filter-dialog {border:1px solid #b9d2df;border-radius:7px;background:white;color:var(--ink);padding:0;max-height:90dvh}
.comparison-dialog {width:min(1120px,calc(100% - 40px))}
.comparison-dialog>.dialog-heading {position:sticky;top:0;z-index:3}
.comparison-dialog::backdrop,.mobile-filter-dialog::backdrop {background:#102f46a6}
.dialog-heading {display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 26px;border-bottom:1px solid var(--line);background:#f3f9fd}
.dialog-heading h2 {font-size:25px;line-height:1.2}
.dialog-heading .eyebrow {font-size:10px;color:#1763a6;margin-bottom:5px}
.dialog-close {border:1px solid #c2d9e6;border-radius:4px;background:white;width:40px;height:40px;flex-shrink:0;font-size:28px;color:#16476a;cursor:pointer}
.compare-intro {margin:20px 26px;font-size:13px;line-height:1.7;color:var(--muted)}
.comparison-scroll {overflow:auto;padding:0 26px 26px}
.comparison-hint {display:none}
.comparison-table {width:100%;border-collapse:collapse;table-layout:fixed;font-size:13px;min-width:600px}
.comparison-table th,.comparison-table td {vertical-align:top;text-align:left;border:1px solid #dbe6eb;padding:13px 15px;overflow-wrap:anywhere}
.comparison-table thead th {background:white}
.comparison-table th:first-child {width:150px;background:#f3f8fb;font-size:12px;position:sticky;left:0;z-index:1}
.comparison-table thead img {display:block;width:100%;height:130px;object-fit:contain;margin-bottom:13px}
.comparison-table thead a {display:block;font-size:13px;line-height:1.5;color:#1763a6}
.comparison-table .clear-filter-button {margin-top:10px}
.comparison-table .btn {font-size:12px;min-height:38px;padding:8px 11px}
.recently-viewed {background:white;border:1px solid var(--line);border-top:3px solid #1763a6;border-radius:4px;padding:25px;margin-bottom:35px;max-width:1450px;width:calc(100% - 60px)}
.recently-viewed[hidden] {display:none}
#catalog-products:has(>.product-card:only-child) {grid-template-columns:minmax(0,330px)}
.recently-viewed .eyebrow {font-size:10px;color:#1763a6}
.recently-viewed h2 {font-size:25px;margin-top:6px}
.toast {max-width:min(500px,calc(100vw - 32px));font-size:13px;line-height:1.5}
.toast-cart-link {display:block;color:white!important;text-decoration:underline;text-underline-offset:3px;font-weight:700;margin-top:7px}
.mobile-filter-dialog {width:min(440px,100%);margin:0 0 0 auto;height:100dvh;max-height:100dvh;border-radius:0}
.mobile-filter-dialog .dialog-heading {position:sticky;top:0;z-index:2;padding:16px 20px}
.mobile-filter-dialog .dialog-heading h2 {font-size:22px}
.mobile-filter-footer {position:sticky;bottom:0;background:white;border-top:1px solid var(--line);padding:14px 20px}
.mobile-filter-dialog #department-filter-panel {padding:20px}
@media(max-width:1200px) {.enhanced-catalog {grid-template-columns:220px minmax(0,1fr)}.enhanced-catalog .products {grid-template-columns:repeat(3,minmax(0,1fr))}.catalog-search-row .mobile-department-label {max-width:210px}}
@media(max-width:800px) {
 .enhanced-catalog {display:block}.catalog-sidebar {display:none}.mobile-filter-button {display:inline-flex;gap:3px;min-height:40px;font-size:13px;padding:9px 13px}
 .catalog-toolbar {gap:12px;position:sticky;top:0;z-index:25;background:white;margin-left:-20px;margin-right:-20px;padding:12px 20px}
 .catalog-search-row {display:grid;grid-template-columns:1fr 1fr;gap:13px}
 .catalog-search-row .mobile-department-label {max-width:none}.catalog-search-row label {font-size:12px}
 .catalog-search-row input,.catalog-search-row select {font-size:13px;padding:11px 9px;min-height:43px}
 .sort-label span {display:none}.sort-label select {max-width:155px}
 .enhanced-catalog .products {grid-template-columns:repeat(3,minmax(0,1fr))}
 .filter-panel-title h2 {font-size:21px}.filter-guidance {font-size:13px}.facet-group summary {font-size:15px}.facet-option {font-size:14px;padding:8px 0}
 .facet-option small {font-size:12px}.facet-values {max-height:250px}.facet-option-search {font-size:14px;min-height:40px}
 .clear-filter-button {font-size:13px}.price-filter label {font-size:13px}.price-filter input {font-size:16px;min-height:42px}
}
@media(max-width:540px) {
 .enhanced-catalog .catalog-main {padding:16px 14px}.enhanced-catalog .products {grid-template-columns:repeat(2,minmax(0,1fr));gap:27px 14px}
 .catalog-toolbar {margin-left:-14px;margin-right:-14px;padding:11px 14px;gap:9px;flex-wrap:wrap}.catalog-toolbar>strong {font-size:12px}
 .sort-label {margin-left:auto}.sort-label select {max-width:132px;font-size:11px}
 .catalog-search-row {grid-template-columns:1fr}.catalog-search-row .mobile-department-label {display:flex;align-items:center;gap:10px}.catalog-search-row .mobile-department-label select {flex:1;min-width:0}
 .filter-chip {font-size:11px;padding:5px 7px}.active-filters {gap:6px}
 .card-bottom {flex-wrap:wrap;gap:8px}.card-bottom .sku-caption {font-size:10px}.compare-choice {font-size:12px;min-height:30px}.compare-choice input {width:18px;height:18px}.card-specs {font-size:11px}
 .comparison-bar {left:10px;right:10px;bottom:10px;transform:none;max-width:none;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 12px;padding:12px}
 .comparison-bar>div {grid-column:1;grid-row:1;min-width:0}.comparison-bar strong {font-size:12px;white-space:normal}.comparison-bar span {display:none}.comparison-bar .btn {grid-column:2;grid-row:1/3;margin:0;font-size:12px;padding:9px 10px;min-height:42px}.comparison-bar .clear-filter-button {grid-column:1;grid-row:2;justify-self:start;font-size:11px;padding:2px 0}
 .comparison-dialog {width:calc(100% - 16px);max-height:94dvh}.dialog-heading {padding:16px}.dialog-heading h2 {font-size:21px}.compare-intro {margin:16px;font-size:12px}.comparison-scroll {padding:0 16px 16px}
 .comparison-table {min-width:720px}.comparison-table th:first-child {width:120px}
 .comparison-hint {display:block;font-size:12px;color:#1763a6;margin:0 16px 14px}
 .header-search input,.catalog-search-row input,.catalog-search-row select,.facet-option-search,.sort-label select {font-size:16px}
 .recently-viewed {width:calc(100% - 32px);padding:20px 14px}.recently-viewed h2 {font-size:23px}
 .catalog-empty {padding:30px 15px}.catalog-empty h2 {font-size:22px}
}

/* Phone rhythm: full-width fields, two equal actions, and a separate count. */
@media(max-width:600px) {
 .breadcrumbs {padding-top:15px;padding-bottom:10px;font-size:11px}
 .page-intro {padding-top:15px;padding-bottom:24px}
 .page-intro .eyebrow {font-size:10px;letter-spacing:.11em;line-height:1.5;margin:0 0 10px}
 .page-intro h1 {font-size:29px;line-height:1.16;letter-spacing:-.8px;margin:0 0 12px}
 .page-intro p {font-size:14px;line-height:1.65;max-width:none}.page-intro>p:not(.eyebrow) {margin:0}
 .enhanced-catalog .catalog-main {padding:16px;border-radius:6px}
 .catalog-search-row {display:grid;grid-template-columns:minmax(0,1fr);gap:15px;margin-bottom:16px}
 .catalog-search-row>label,.catalog-search-row .mobile-department-label {display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;gap:7px;max-width:none;width:100%;font-size:13px;font-weight:650}
 .catalog-search-row input,.catalog-search-row select {display:block;width:100%;min-width:0;min-height:46px;font-size:16px;line-height:1.3;font-weight:400;border-radius:4px;padding:11px 12px;background:white}
 .catalog-search-row input::placeholder {font-size:13px;font-weight:400;color:#738896;opacity:1}
 .catalog-toolbar {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px 12px;margin:0 -16px 14px;padding:14px 16px 12px;border-top:1px solid #e4edf2;border-bottom:1px solid #e4edf2}
 .mobile-filter-button {grid-column:1;grid-row:1;display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 12px;margin:0;width:100%;font-size:14px;line-height:1.25;white-space:nowrap;border-radius:4px}
 .sort-label {grid-column:2;grid-row:1;display:block;margin:0;min-width:0;width:100%}
 .sort-label select {display:block;width:100%;max-width:none;min-width:0;min-height:44px;font-size:16px;line-height:1.25;padding:10px 9px;font-weight:400;border-radius:4px;background:white}
 .catalog-toolbar>strong {grid-column:1/-1;grid-row:2;display:block;text-align:center;font-size:12px;line-height:1.5;font-weight:500;color:var(--muted);white-space:normal}
 .active-filters {margin-bottom:17px;gap:7px}
 .active-filters .clear-filter-button {font-size:12px;min-height:26px}
 .enhanced-catalog .products {gap:25px 14px}
 .enhanced-catalog .product-image {aspect-ratio:1;background:white}
 .enhanced-catalog .product-image img {padding:7px}
 .enhanced-catalog .product-info>.eyebrow {font-size:10px;line-height:1.4;min-height:2.8em;letter-spacing:.015em;margin-bottom:6px}
 .enhanced-catalog .product-info h3 {font-size:13px;line-height:1.45;min-height:4.35em;-webkit-line-clamp:3}
 .enhanced-catalog .product-facts {font-size:11px;line-height:1.5;min-height:3em;margin-top:8px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
 .enhanced-catalog .card-specs {font-size:10px;line-height:1.5;min-height:3em;margin-top:4px}
 .enhanced-catalog .product-price {font-size:22px;line-height:1.3;margin-top:9px}
 .enhanced-catalog .product-price small {display:block;font-size:11px;line-height:1.5;margin-top:3px}
 .enhanced-catalog .card-actions {margin-top:12px;gap:7px}
 .enhanced-catalog .card-actions .btn {min-height:42px;width:100%;font-size:12px;padding:10px 8px}
 .enhanced-catalog .card-actions>a {font-size:12px;min-height:28px}
 .enhanced-catalog .card-bottom {display:grid;grid-template-columns:minmax(0,1fr);margin-top:7px;padding-top:8px;border-top:1px solid #edf2f5;gap:4px;align-items:start}
 .enhanced-catalog .compare-choice {min-height:30px}
 .catalog-empty {padding:30px 13px}
 .recently-viewed {margin-bottom:24px}
}

.catalog-pagination {display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px;margin:25px 0 35px}.catalog-pagination[hidden]{display:none}.catalog-pagination a{display:flex;align-items:center;justify-content:center;min-width:42px;min-height:42px;padding:9px 12px;border:1px solid #bdd4df;border-radius:4px;font-size:14px;background:white}.catalog-pagination a[aria-current]{background:#08724b;color:white;border-color:#08724b}
/* Secure commerce keeps the same quiet grid on every screen. */
.payment-option summary{cursor:pointer;font-weight:750;padding:18px 0}.payment-option summary small{display:block;font-size:13px;font-weight:500;margin-top:7px}.payment-option form{padding:8px 0 18px}.check-control{display:flex!important;align-items:center;gap:10px;margin:20px 0}.check-control input{width:20px!important;min-height:20px;height:20px}.account-order-line{display:flex;align-items:center;gap:15px;padding:17px 0;border-bottom:1px solid #d4e6ef}.account-order-line img{object-fit:contain;flex:0 0 70px}.account-order-line div{flex:1;min-width:0}.account-order-line strong{overflow-wrap:anywhere}.account-signed-in:after{content:'●';color:#08724b;font-size:10px;margin-left:4px}.cookie-choice{position:fixed;z-index:70;bottom:16px;left:16px;right:16px;max-width:650px;background:white;border:1px solid #c9dfe9;box-shadow:0 6px 35px #17324225;padding:20px}.cookie-choice p{font-size:14px;margin:0 0 14px}.cookie-choice div{display:flex;gap:12px;flex-wrap:wrap}
@media(max-width:600px){.account-order-line{flex-wrap:wrap}.checkout-layout{gap:24px}.form-panel{padding:22px!important}.checkout-layout .summary-box{position:static}.cookie-choice{bottom:8px;left:8px;right:8px}.form-grid input{width:100%;min-width:0}}
.checkout-summary-line{display:grid;grid-template-columns:52px minmax(0,1fr);gap:12px;padding:15px 0;border-bottom:1px solid #d4e6ef}.checkout-summary-line img{width:52px;height:52px;object-fit:contain;background:white}.checkout-summary-line strong{font-size:13px;line-height:1.45;display:block}.checkout-summary-line p{font-size:12px;margin:6px 0;color:#597484}.checkout-summary-line b{font-size:14px}
/* Authored display rules must never override hidden form sections or controls. */
[hidden]{display:none!important}
