/* One card layout for the catalog, related products and recommendations. */
.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:38px 24px;margin:0;padding:0;list-style:none;clear:both}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}
.woocommerce ul.products li.product{float:none!important;width:auto!important;margin:0!important;padding:0;min-width:0;text-align:left}
.woocommerce ul.products li.product a{text-decoration:none}
.gm-card-image{position:relative;aspect-ratio:1/1;background:#fafaf8;overflow:hidden;margin-bottom:14px}
.woocommerce ul.products li.product .gm-card-image img{display:block;width:100%;height:100%;object-fit:contain;margin:0;mix-blend-mode:multiply}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-family:inherit;font-size:19px;line-height:1.35;font-weight:400;color:#444;padding:0;margin:0 0 8px}
.woocommerce ul.products li.product .price{font-size:17px;font-weight:500;color:#444;display:block;margin:0;line-height:1.4}
.woocommerce ul.products li.product .price del{font-weight:400;color:#888;font-size:.9em}
.woocommerce ul.products li.product .price ins{font-weight:500;text-decoration:none;color:var(--gm-accent)}
.woocommerce ul.products li.product .onsale{position:absolute;top:10px;left:10px;right:auto;margin:0;min-height:0;min-width:0;padding:4px 9px;border-radius:0;background:var(--gm-accent);color:white;line-height:1.4;font-weight:400;font-size:13px;z-index:1}
.woocommerce-content>.page-title{font-weight:400;font-size:36px;color:#444;margin:0 0 28px}
.gm-catalog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:26px;padding-bottom:16px;border-bottom:1px solid var(--gm-line)}
.woocommerce .gm-catalog-toolbar .woocommerce-result-count,.woocommerce .gm-catalog-toolbar .woocommerce-ordering{float:none;margin:0}
.woocommerce .gm-catalog-toolbar .woocommerce-result-count{font-size:15px;color:var(--gm-muted)}
.woocommerce .gm-catalog-toolbar .woocommerce-ordering select{max-width:100%;font-size:15px;color:#444;background:#fff;border:1px solid var(--gm-line);padding:8px 30px 8px 10px;border-radius:0}
.single-product .related.products,.single-product .upsells.products{padding-top:28px;border-top:1px solid var(--gm-line);margin-top:8px}
.single-product .related.products>h2,.single-product .upsells.products>h2{font-weight:400;font-size:27px;margin:0 0 24px;color:#444}
@media(max-width:1000px) and (min-width:761px){.woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 14px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:17px}.woocommerce ul.products li.product .price{font-size:16px}.gm-card-image{margin-bottom:10px}.woocommerce-content>.page-title{font-size:30px;margin-bottom:22px}.gm-catalog-toolbar{gap:10px;align-items:center}.woocommerce .gm-catalog-toolbar .woocommerce-ordering{min-width:0;max-width:64%}.woocommerce .gm-catalog-toolbar .woocommerce-ordering select{font-size:14px;padding-right:16px}.single-product .related.products>h2{font-size:25px}}

.woocommerce ul.products li.product .gm-card-brand{display:flex;align-items:center;width:fit-content;max-width:100%;height:25px;margin:0 0 8px;padding:0;text-decoration:none}
.woocommerce ul.products li.product .gm-card-brand img.gm-card-brand-logo{display:block;height:20px;width:auto;max-width:110px;object-fit:contain;margin:0;padding:0}
.gm-card-brand-name{font-size:13px;font-weight:400;letter-spacing:.08em;text-transform:uppercase;color:#777;line-height:1.2}

.gm-catalog-layout{display:grid;grid-template-columns:200px minmax(0,1fr);gap:32px;align-items:start}
.gm-catalog-results{min-width:0}
.gm-filter-panel{border-top:1px solid var(--gm-line)}
.gm-filter-panel>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;list-style:none;padding:14px 0;font-size:20px;cursor:pointer}
.gm-filter-panel>summary::-webkit-details-marker{display:none}
.gm-filter-panel>summary::after{content:'+';font-size:22px;font-weight:300;margin-left:auto}
.gm-filter-panel[open]>summary::after{content:'−'}
.gm-filter-count{font-size:13px;color:#777}
.gm-filter-panel form{padding-bottom:18px}
.gm-filter-panel fieldset{border:0;padding:16px 0;margin:0;border-top:1px solid var(--gm-line)}
.gm-filter-panel legend{font-size:17px;font-weight:500;padding:0 0 10px}
.gm-filter-option{display:flex;align-items:center;gap:9px;padding:7px 0;font-size:16px;line-height:1.35;cursor:pointer}
.gm-filter-option input{accent-color:var(--gm-ink);width:17px;height:17px;margin:0;flex-shrink:0}
.gm-filter-apply{background:#333;color:white;border:1px solid #333;padding:9px 22px;font-size:16px;min-height:44px;width:100%;border-radius:0}
.gm-filter-clear{display:block;text-align:center;font-size:14px;margin-top:12px;color:#666}
.gm-active-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px}
.gm-active-filters a{font-size:14px;text-decoration:none;border:1px solid var(--gm-line);padding:5px 10px;color:#555}
.gm-active-filters a span{margin-left:6px}
@media(min-width:761px) and (max-width:1200px){.gm-catalog-layout ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.gm-catalog-layout{display:block}.gm-filter-sidebar{margin-bottom:20px}.gm-filter-panel{border-bottom:1px solid var(--gm-line)}.gm-filter-panel>summary{font-size:18px;padding:12px 0}.gm-filter-panel form{max-width:420px}.gm-filter-panel fieldset{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px}.gm-filter-panel legend{grid-column:1/-1}.gm-active-filters{margin-bottom:16px}}

.gm-size-options{display:flex;flex-wrap:wrap;gap:7px}
.gm-size-options label{position:relative;cursor:pointer}
.gm-size-options input{position:absolute;opacity:0;width:1px;height:1px}
.gm-size-options span{display:flex;align-items:center;justify-content:center;min-width:40px;min-height:42px;border:1px solid var(--gm-line);padding:6px;font-size:16px;background:#fff;color:#444}
.gm-size-options input:checked+span{background:#333;border-color:#333;color:white}
.gm-size-options input:focus-visible+span{outline:2px solid #555;outline-offset:3px}
@media(max-width:760px){.gm-filter-panel fieldset.gm-size-filter{display:block}}

.gm-heel-ruler{position:relative;height:44px;margin:0 9px 10px;background:repeating-linear-gradient(to right,#ccc 0,#ccc 1px,transparent 1px,transparent 10%) left 31px/100% 6px no-repeat}
.gm-heel-ruler[hidden]{display:none}
.gm-heel-track{position:absolute;inset:17px 0 auto;height:3px;background:linear-gradient(to right,#ddd var(--heel-start,0%),#444 var(--heel-start,0%),#444 var(--heel-end,100%),#ddd var(--heel-end,100%))}
.gm-heel-slider{appearance:none;-webkit-appearance:none;position:absolute;left:0;top:17px;width:100%;height:3px;padding:0;margin:0;background:transparent;pointer-events:none}
.gm-heel-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:20px;height:20px;border:2px solid #444;border-radius:50%;background:white;cursor:grab;pointer-events:auto}
.gm-heel-slider::-moz-range-thumb{width:16px;height:16px;border:2px solid #444;border-radius:50%;background:white;cursor:grab;pointer-events:auto}
.gm-heel-slider:focus-visible{outline:none;z-index:3}
.gm-heel-slider:focus-visible::-webkit-slider-thumb{outline:2px solid #666;outline-offset:3px}
.gm-heel-slider:focus-visible::-moz-range-thumb{outline:2px solid #666;outline-offset:3px}
.gm-heel-fields{display:flex;gap:12px}
.gm-heel-fields label{flex:1;min-width:0;font-size:14px;color:#666}
.gm-heel-fields span{display:block;margin-bottom:6px}
.gm-heel-fields input{box-sizing:border-box;width:100%;min-height:42px;padding:8px;border:1px solid var(--gm-line);border-radius:0;background:white;font:inherit;font-size:16px;color:#444}
@media(max-width:760px){.gm-filter-panel fieldset.gm-heel-filter{display:block}.gm-heel-control{max-width:320px}}

@media(max-width:760px){.gm-filter-panel fieldset.gm-price-filter{display:block}.gm-price-control{max-width:320px}}

/* Keep the current results visible while a new selection is loading. */
.gm-catalog-layout[aria-busy="true"] .gm-catalog-results { opacity: .55; cursor: progress; }
@media (min-width: 761px) { .js-gm-filters .gm-filter-apply { display: none; } }

/* Compact brand introduction: one heading, products immediately below. */
.gm-brand-hero{display:grid;grid-template-columns:30% 70%;grid-template-rows:minmax(0,1fr);height:280px;background:#b9b9bb;overflow:hidden;margin:0 0 36px}
.gm-brand-hero-copy{display:flex;flex-direction:column;justify-content:center;padding:28px 32px;position:relative;z-index:1}
.gm-brand-hero h1{font-size:48px;line-height:1.1;font-weight:400;color:#303030;margin:0 0 12px}
.gm-brand-hero p{font-size:21px;line-height:1.4;color:#3d3d3d;margin:0;max-width:220px}
.gm-brand-hero-media{min-width:0;min-height:0;height:100%;position:relative}
.gm-brand-hero-media:before{content:"";position:absolute;inset:0 auto 0 0;width:90px;background:linear-gradient(90deg,#b9b9bb,transparent);z-index:1;pointer-events:none}
.gm-brand-hero-media img{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 78%}
@media(max-width:760px){
 .gm-brand-hero{height:190px;grid-template-columns:34% 66%;margin-bottom:24px}
 .gm-brand-hero-copy{padding:16px 0 16px 16px}
 .gm-brand-hero h1{font-size:32px;margin-bottom:8px}
 .gm-brand-hero p{font-size:16px;line-height:1.35}
 .gm-brand-hero-media:before{width:30px}
 .gm-brand-hero-media img{object-position:58% 80%}
}

/* Shared catalog description typography: pages, categories, tags and brands. */
.gm-catalog-description{margin:52px 0 12px;padding:20px 0;border-top:1px solid #e9e9e6;color:#666}
.gm-catalog-description-body{max-width:none;width:100%;padding-top:0;font-size:16px;line-height:1.5;color:var(--gm-muted)}
.gm-catalog-description-body h2,.gm-catalog-description-body h3,.gm-catalog-description-body h4{font-size:21px;line-height:1.2;font-weight:400;color:var(--gm-ink);margin:22px 0 10px}
.gm-catalog-description-body h2{font-size:25px;line-height:1.2}
.gm-catalog-description-body h2:first-child{margin-top:0}
.gm-catalog-description-body p{margin:0 0 14px}
.gm-catalog-description-body b,.gm-catalog-description-body strong{font-weight:500}
.gm-catalog-description-body a{color:var(--gm-accent);text-decoration-color:currentColor;text-underline-offset:3px}
.gm-catalog-description-body>:last-child{margin-bottom:0}
.gm-catalog-toolbar{border-bottom:0;padding-bottom:0;margin-bottom:24px}
.woocommerce .gm-catalog-toolbar .woocommerce-ordering select{border-color:#e9e9e6;color:#666;font-size:14px;padding-top:9px;padding-bottom:9px}
.gm-filter-panel>summary{font-size:18px;color:#555}
.gm-filter-panel legend{color:#555}
@media(max-width:760px){
 .gm-catalog-description{margin-top:36px;padding-top:17px}
 .gm-catalog-description-body{font-size:16px;padding-top:0}
}

/* Full-width brand scene extends behind the transparent store header. */
.gm-has-hero .gm-brand-hero{width:100%;height:clamp(440px,58vh,600px);margin:0;background:#b9b9bb;grid-template-columns:30% 70%}
.gm-has-hero .gm-brand-hero-copy{justify-content:flex-end;padding:190px 24px 60px clamp(20px,3.3vw,64px)}
.gm-has-hero .gm-brand-hero h1{font-size:54px}
.gm-has-hero .gm-brand-hero-media img{object-position:50% 78%}
.gm-has-hero .page-content{padding-top:36px}
@media(max-width:1000px){
 .gm-has-hero .gm-brand-hero{height:430px;grid-template-columns:35% 65%}
 .gm-has-hero .gm-brand-hero-copy{padding:220px 0 32px 20px}
 .gm-has-hero .gm-brand-hero h1{font-size:36px}
 .gm-has-hero .gm-brand-hero p{font-size:17px}
 .gm-has-hero .gm-brand-hero-media img{object-position:55% 76%}
 .gm-has-hero .page-content{padding-top:24px}
}
.gm-has-hero .gm-brand-hero{position:relative}
.gm-has-hero .gm-brand-hero:after{content:"";position:absolute;z-index:1;inset:0 0 auto;height:220px;background:linear-gradient(180deg,#ffffffd9 0,#ffffff70 65%,transparent);pointer-events:none}
.gm-has-hero .gm-brand-hero-copy{z-index:2}
@media(max-width:1000px){.gm-has-hero .gm-brand-hero:after{height:250px}}
/* Uniform photographic treatment, without a veil over the left shoe. */
.gm-has-hero .gm-brand-hero{background:#aaa;display:block}
.gm-has-hero .gm-brand-hero-media{position:absolute;inset:0;width:100%;height:100%}
.gm-has-hero .gm-brand-hero-media:before{display:none}
.gm-has-hero .gm-brand-hero:after{inset:0;height:auto;background:rgba(0,0,0,.26)}
.gm-has-hero .gm-brand-hero-copy{height:100%;width:34%;padding-top:190px}
.gm-has-hero .gm-brand-hero h1,.gm-has-hero .gm-brand-hero p{color:#fff}
@media(max-width:1000px){
 .gm-has-hero .gm-brand-hero{height:430px}
 .gm-has-hero .gm-brand-hero:after{height:auto}
 .gm-has-hero .gm-brand-hero-copy{width:55%;padding-top:220px;padding-bottom:28px}
 .gm-has-hero .gm-brand-hero-media img{object-position:50% 78%}
}
@media(max-width:600px){
 .gm-has-hero .gm-brand-hero{height:360px}
 .gm-has-hero .gm-brand-hero-copy{width:100%;padding:200px 20px 14px}
 .gm-has-hero .gm-brand-hero h1{font-size:32px;margin-bottom:4px}
 .gm-has-hero .gm-brand-hero p{font-size:16px;max-width:none}
}

/* Progressive disclosure keeps the desktop sidebar short. */
.gm-filter-group{border-top:1px solid var(--gm-line)}
.gm-filter-group>summary{display:flex;justify-content:space-between;align-items:center;gap:12px;list-style:none;cursor:pointer;padding:14px 0;font-size:16px;line-height:1.4;color:#444}
.gm-filter-group>summary::-webkit-details-marker{display:none}
.gm-filter-group>summary:after{content:'+';font-size:20px;font-weight:300;color:#777}
.gm-filter-group[open]>summary:after{content:'−'}
.gm-filter-panel .gm-filter-group fieldset{border:0;padding:2px 0 18px;margin:0}
.gm-filter-group legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
/* Give four-column catalog photography more room on large displays. */
@media(min-width:1201px){
 body:not(.single-product) .woocommerce-content:has(.gm-catalog-layout){width:min(1520px,100%);padding-inline:clamp(32px,3vw,46px)}
}

/* Card sale prices follow the single-product hierarchy. */
.woocommerce ul.products li.product .price{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 9px}
.woocommerce ul.products li.product .price ins{order:0;color:#444;font-weight:500}
.woocommerce ul.products li.product .price del{order:1;color:#999;font-size:.83em;font-weight:400;opacity:1}
.woocommerce ul.products li.product .gm-card-savings{font-size:14px;line-height:1.45;color:#777;margin-top:6px}
.woocommerce ul.products li.product .gm-card-savings strong{display:inline;font-weight:500;color:var(--gm-accent)}
.woocommerce ul.products li.product .onsale{left:auto;right:10px}

/* Visible progress while AJAX filters, pagination or sorting load. */
.gm-filter-loading:not([hidden]){position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:1000;display:flex;align-items:center;gap:10px;padding:12px 20px;border:1px solid var(--gm-line);border-radius:30px;background:#fff;color:#333;box-shadow:0 3px 18px rgb(0 0 0 / 12%);font-size:16px;white-space:nowrap;pointer-events:none}
.gm-filter-loading>span{width:18px;height:18px;flex:none;border:2px solid #ddd;border-top-color:var(--gm-accent,#ff4f40);border-radius:50%;animation:gm-filter-spin .75s linear infinite}
@keyframes gm-filter-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.gm-filter-loading>span{animation:none}}

/* Spaced native Woo pagination, shared by archives and dedicated catalogs. */
.woocommerce nav.woocommerce-pagination{clear:both;margin:36px 0 12px;padding-top:24px;border-top:1px solid var(--gm-line);text-align:center}
.woocommerce nav.woocommerce-pagination ul.page-numbers{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px;width:100%;margin:0;padding:0;border:0;list-style:none;white-space:normal}
.woocommerce nav.woocommerce-pagination ul.page-numbers li{display:block;float:none;overflow:visible;margin:0;padding:0;border:0;list-style:none}
.woocommerce nav.woocommerce-pagination ul.page-numbers li a,.woocommerce nav.woocommerce-pagination ul.page-numbers li span.page-numbers{display:flex;align-items:center;justify-content:center;min-width:44px;height:44px;box-sizing:border-box;margin:0;padding:0 10px;border:1px solid #ddd;border-radius:3px;background:#f1f1f1;color:#333;font-family:inherit;font-size:17px;font-weight:400;line-height:1;text-decoration:none;transition:color .15s,border-color .15s,background-color .15s}
.woocommerce nav.woocommerce-pagination ul.page-numbers li span.current{border-color:#333;background:#333;color:#fff;font-weight:500}
.woocommerce nav.woocommerce-pagination ul.page-numbers li a:hover{border-color:#ccc;background:#e1e1e1;color:#333}
.woocommerce nav.woocommerce-pagination ul.page-numbers li a:focus-visible{outline:2px solid #555;outline-offset:3px}
.woocommerce nav.woocommerce-pagination ul.page-numbers li span.dots{min-width:18px;padding:0;border-color:transparent;background:transparent;color:#888}
.woocommerce nav.woocommerce-pagination svg{display:block;flex:none}
@media(max-width:760px){.woocommerce nav.woocommerce-pagination{margin-top:28px;padding-top:20px}.woocommerce nav.woocommerce-pagination ul.page-numbers{gap:6px}.woocommerce nav.woocommerce-pagination ul.page-numbers li a,.woocommerce nav.woocommerce-pagination ul.page-numbers li span.page-numbers{min-width:40px;height:42px;padding:0 9px;font-size:16px}.woocommerce nav.woocommerce-pagination ul.page-numbers li span.dots{min-width:14px;padding:0}}
@media(prefers-reduced-motion:reduce){.woocommerce nav.woocommerce-pagination ul.page-numbers li a{transition:none}}

.woocommerce nav.woocommerce-pagination ul.page-numbers::before,.woocommerce nav.woocommerce-pagination ul.page-numbers::after{display:none;content:none}
@media(max-width:360px){.woocommerce nav.woocommerce-pagination ul.page-numbers{gap:2px}.woocommerce nav.woocommerce-pagination ul.page-numbers li a,.woocommerce nav.woocommerce-pagination ul.page-numbers li span.page-numbers{min-width:32px;padding:0 4px}.woocommerce nav.woocommerce-pagination ul.page-numbers li span.dots{min-width:10px;padding:0}}

/* Stock/material labels occupy the photo, away from price and wishlist controls. */
.gm-card-image{position:relative}
.gm-merch-badges{position:absolute;top:10px;left:10px;z-index:2;display:flex;flex-direction:column;align-items:flex-start;gap:5px;max-width:calc(100% - 76px);pointer-events:none}
.gm-merch-badge{display:block;max-width:100%;font-size:12px;line-height:1.35;font-weight:500;padding:4px 7px;border-radius:2px;overflow-wrap:anywhere}
.gm-merch-backorder{background:var(--gm-accent,#ff4f40);color:#fff}
.gm-merch-badge.gm-merch-deerskin{background:transparent;border:0;padding:0;border-radius:0}
.gm-merch-badge[hidden]{display:none}
.gm-gallery>.gm-merch-badges{top:12px;left:12px;max-width:calc(100% - 100px)}
@media(max-width:760px){.gm-merch-badges{top:7px;left:7px;gap:4px}.gm-merch-badge{font-size:11px;padding:3px 5px}}

/* Use the existing manufacturer badge without cropping or a text-label frame. */
.gm-merch-badges{--gm-deerskin-width:72px}
.gm-gallery>.gm-merch-badges{--gm-deerskin-width:90px}
.gm-merch-badges .gm-merch-deerskin img,
.woocommerce ul.products li.product .gm-card-image .gm-merch-deerskin img{display:block;width:var(--gm-deerskin-width)!important;max-width:100%;height:auto!important;object-fit:contain;margin:0;padding:0;border:0;background:transparent;mix-blend-mode:normal}
@media(max-width:760px){.gm-merch-badges{--gm-deerskin-width:60px}}
