/* The shop uses the theme's Customizer colors, fonts and WooCommerce actions. */
.ph-catalog.content-area{background:var(--paper);padding:54px 0 80px}
.ph-catalog-intro{display:flex;justify-content:space-between;align-items:center;gap:30px;margin-bottom:38px}
.ph-catalog-kicker{color:var(--orange);font-size:12px;font-weight:850;text-transform:uppercase;letter-spacing:.13em;margin-bottom:10px}
.ph-catalog-intro h1{font-size:clamp(38px,4.5vw,58px);margin:0 0 12px;letter-spacing:-.045em;line-height:1.08}
.ph-catalog-intro p{margin:0;max-width:600px;color:var(--muted);font-size:17px}
.ph-catalog-quote{display:inline-flex;gap:10px;align-items:center;padding:13px 20px;border:1px solid var(--line);border-radius:10px;background:var(--paper);font-weight:800;white-space:nowrap;min-height:48px}
.ph-catalog-quote:hover{border-color:var(--orange);color:var(--orange)}
.ph-catalog-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:32px}
.ph-catalog-rail{border-right:1px solid var(--line);padding-right:24px;min-width:0}
.ph-catalog-sidebar{min-width:0}
.ph-catalog-filter-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}
.ph-catalog-filter-heading strong{font-size:18px}
.ph-catalog-filter-heading button{border:0;padding:8px 0;background:none;color:var(--muted);font:inherit;font-size:12px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.ph-catalog-filter-group{border-bottom:1px solid var(--line);padding-bottom:24px;margin-bottom:24px}
.ph-catalog-filter-group h2{font-size:12px;letter-spacing:.07em;text-transform:uppercase;margin:0 0 13px;color:var(--ink)}
.ph-catalog-category{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 12px;margin-bottom:4px;border-radius:8px;color:var(--muted);font-size:14px;min-height:44px}
.ph-catalog-category span{font-size:12px;color:var(--muted)}
.ph-catalog-category:hover{background:var(--soft);color:var(--ink)}
.ph-catalog-category.is-active{background:var(--soft);box-shadow:inset 3px 0 var(--orange);font-weight:800;color:var(--ink)}
.ph-catalog-filter-group label{display:flex;justify-content:space-between;gap:8px;font-size:13px;color:var(--muted)}
.ph-catalog-filter-group input[type=range]{width:100%;margin-top:16px;accent-color:var(--orange)}
.ph-catalog-filter-group label.ph-catalog-stock{justify-content:flex-start;align-items:center;color:var(--ink);min-height:44px}
.ph-catalog-stock input{accent-color:var(--orange);width:17px;height:17px}
.ph-catalog-help{padding:18px;border-radius:12px;background:var(--soft)}
.ph-catalog-help strong{display:block;font-size:15px}
.ph-catalog-help p{color:var(--muted);font-size:13px;margin:8px 0 16px}
.ph-catalog-help a{font-size:13px;font-weight:850;color:var(--orange)}
.ph-catalog-results{min-width:0}
.ph-catalog-toolbar{display:flex;gap:14px;align-items:center;margin-bottom:16px}
.ph-catalog-search{display:flex;flex:1;min-width:0;align-items:center;gap:10px;border:1px solid var(--line);background:var(--soft);border-radius:10px;padding:0 15px;min-height:50px}
.ph-catalog-search>span[aria-hidden]{font-size:26px;color:var(--muted)}
.ph-catalog-search:focus-within{outline:2px solid var(--orange);outline-offset:2px}
.ph-catalog-search input[type=search]{width:100%;min-width:0;border:0;background:none;padding:13px 0;color:var(--ink);font:inherit;font-size:16px;outline:none}
.ph-catalog-sort select{height:50px;border:1px solid var(--line);background:var(--paper);border-radius:10px;padding:0 14px;font:inherit;font-size:13px;max-width:185px;color:var(--ink)}
.ph-catalog-count{font-size:13px;color:var(--muted);margin:0 0 22px}
.ph-catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:0!important;padding:0!important;list-style:none}
.ph-catalog-card{display:flex;flex-direction:column;min-width:0;margin:0!important;padding:0!important;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:var(--paper);transition:box-shadow .2s,border-color .2s}
.ph-catalog [hidden]{display:none!important}
.ph-catalog-card:hover{border-color:#cbd3dd;box-shadow:0 12px 32px rgba(8,31,58,.08)}
.ph-catalog-image{display:block;aspect-ratio:1;background:var(--soft);overflow:hidden}
.ph-catalog-image img{display:block;width:100%!important;height:100%!important;margin:0!important;padding:0!important;object-fit:cover;border-radius:0}
.ph-catalog-copy{display:flex;flex-direction:column;flex:1;padding:19px;min-width:0}
.ph-catalog-product-category{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);min-height:18px;margin-bottom:8px}
.ph-catalog-copy h2{font-size:18px!important;line-height:1.35;letter-spacing:-.02em;margin:0 0 12px!important;min-height:49px;font-weight:850;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ph-catalog-copy h2 a{color:var(--ink)}
.ph-catalog-copy h2 a:hover{color:var(--orange)}
.ph-catalog-product-price{color:var(--orange);font-size:17px;font-weight:850;line-height:1.4;min-height:48px;margin-bottom:15px}
.ph-catalog-product-price .price{font-size:inherit!important;color:inherit!important;margin:0!important}
.ph-catalog-product-price del{color:var(--muted);font-weight:500}
.ph-catalog-product-price ins{background:none;text-decoration:none}
.ph-catalog-product-action{margin-top:auto}
.ph-catalog-product-action .button{display:flex!important;justify-content:center;align-items:center;min-height:46px;width:100%!important;margin:0!important;font-size:14px!important;padding:11px 12px!important;border-radius:9px!important;line-height:1.3;text-align:center}
.ph-catalog-product-action .added_to_cart{display:block;margin-top:8px;font-size:13px;text-align:center;color:var(--navy)}
.ph-catalog-price-note{font-size:12px;color:var(--muted);text-align:center;margin:26px 0 0}
.ph-catalog-empty{text-align:center;padding:60px 20px;background:var(--soft);border-radius:14px}
.ph-catalog-empty h2{font-size:24px;margin:0 0 12px}.ph-catalog-empty p{color:var(--muted)}
.ph-catalog-empty button{border:1px solid var(--line);border-radius:10px;padding:13px 20px;font:inherit;font-weight:800;background:var(--paper);color:var(--ink);cursor:pointer;min-height:46px}

.ph-catalog-filter-toggle,.ph-catalog-js-control,.ph-catalog-filter-heading{display:none}
.ph-catalog.is-enhanced .ph-catalog-js-control{display:block}.ph-catalog.is-enhanced .ph-catalog-filter-heading{display:flex}
@media(max-width:1050px){.ph-catalog-layout{grid-template-columns:190px minmax(0,1fr);gap:24px}.ph-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.ph-catalog.content-area{padding:30px 0 55px}.ph-catalog-intro{margin-bottom:26px;align-items:flex-start}.ph-catalog-intro p{font-size:15px}.ph-catalog-quote{display:none}.ph-catalog-layout{display:block}.ph-catalog-sidebar{border:0;padding:0 0 24px}.ph-catalog.is-enhanced .ph-catalog-sidebar{display:none}.ph-catalog.is-enhanced .ph-catalog-sidebar.is-open{display:block}.ph-catalog.is-enhanced .ph-catalog-filter-toggle{display:block;width:100%;border:1px solid var(--line);border-radius:10px;background:var(--paper);font:inherit;font-weight:800;padding:13px;margin:0 0 18px;min-height:46px}.ph-catalog-toolbar{flex-wrap:wrap}.ph-catalog-search{flex-basis:100%}.ph-catalog-sort{width:100%}.ph-catalog-sort select{max-width:none;width:100%}.ph-catalog-grid{gap:14px}.ph-catalog-copy{padding:14px}.ph-catalog-copy h2{font-size:16px!important;min-height:44px}.ph-catalog-product-price{font-size:15px}.ph-catalog-product-action .button{font-size:13px!important}.ph-catalog-help{margin-top:16px}}
@media(max-width:370px){.ph-catalog-grid{grid-template-columns:1fr}.ph-catalog-copy h2{min-height:0}.ph-catalog-product-price{min-height:0}}
@media(prefers-reduced-motion:reduce){.ph-catalog-card{transition:none}}

/* The project callout is a sibling of the collapsible filters. */
@media(max-width:700px){.ph-catalog-rail{border:0;padding:0 0 24px}.ph-catalog-help{display:block}.ph-catalog-sidebar{padding-bottom:0}}

/* Compact mobile cards and an animated, accessible filter disclosure. */
@media(max-width:700px){
 .ph-catalog.is-enhanced .ph-catalog-sidebar,
 .ph-catalog.is-enhanced .ph-catalog-sidebar.is-open{display:block;height:0;overflow:hidden;}
 .ph-catalog.is-enhanced .ph-catalog-sidebar.is-open{height:auto;}
 .ph-catalog-filter-toggle{transition:border-color .18s,background-color .18s,transform .18s;}
 .ph-catalog-filter-toggle:active{transform:scale(.985);}
 .ph-catalog-filter-toggle[aria-expanded=true]{border-color:var(--orange)!important;background:var(--soft)!important;}
 .ph-catalog-image{aspect-ratio:1.08;}
 .ph-catalog-copy{padding:11px;}
 .ph-catalog-product-category{font-size:10px;min-height:14px;margin-bottom:5px;}
 .ph-catalog-copy h2{font-size:15px!important;min-height:41px;margin-bottom:8px!important;}
 .ph-catalog-product-price{font-size:13px;white-space:nowrap;min-height:19px;margin-bottom:12px;letter-spacing:-.025em;}
 .ph-catalog-product-price .price{white-space:nowrap;}
 .ph-catalog-product-action .button{min-height:44px;padding:9px 5px!important;font-size:12px!important;}
}
@media(prefers-reduced-motion:reduce){.ph-catalog-filter-toggle{transition:none;}}

.ph-catalog-search .ph-catalog-search-icon{display:block;width:20px;height:20px;flex:0 0 20px;color:var(--muted);pointer-events:none}

/* Match the search and sort controls exactly, including their borders. */
html body .ph-catalog-toolbar .ph-catalog-search{height:50px;min-height:50px;box-sizing:border-box}
html body .ph-catalog-toolbar .ph-catalog-search input[type=search]{height:100%;min-height:0;box-sizing:border-box;padding:0;line-height:normal;margin:0}
html body .ph-catalog-toolbar .ph-catalog-sort select{height:50px;min-height:50px;box-sizing:border-box;margin:0}

/* Numbered catalog pages retain instant search/filtering and compact touch targets. */
.ph-catalog-pagination{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px;margin:28px 0 0}
.ph-catalog-pagination a,.ph-catalog-pagination span{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:8px 12px;box-sizing:border-box;border-radius:0;font-weight:750;line-height:1.2}
.ph-catalog-pagination a{border:0;background:transparent;color:var(--ink);text-decoration:none;box-shadow:none;transition:color .15s}
.ph-catalog-pagination a:hover{background:transparent;color:#b91c2c;box-shadow:none}
.ph-catalog-pagination [aria-current=page]{background:transparent;border:0;color:var(--orange);font-weight:900}
.ph-catalog-pagination a:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.ph-catalog-toolbar{scroll-margin-top:120px}
@media(prefers-reduced-motion:reduce){.ph-catalog-pagination a{transition:none}}

/* Only the hovered product plays its gallery; the main frame stays underneath. */
.ph-catalog-image{position:relative}
.ph-catalog-image img.ph-catalog-hover-frame{position:absolute;inset:0;background-color:var(--soft,#f4f6f8);opacity:0;pointer-events:none;transition:opacity .2s ease}
.ph-catalog-image img.ph-catalog-hover-frame.is-visible{opacity:1}
@media(prefers-reduced-motion:reduce){.ph-catalog-image img.ph-catalog-hover-frame{transition:none}}

/* Customer-controlled card galleries; no timed image changes. */
.ph-card-gallery{position:relative;min-width:0}
.ph-card-gallery .ph-catalog-image{touch-action:pan-y pinch-zoom}
.ph-catalog .ph-card-gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:36px;height:36px;min-height:36px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.94);color:#171717;box-shadow:0 1px 5px #0002;opacity:0;cursor:pointer;transition:opacity .15s,color .15s}
.ph-card-gallery-arrow.is-previous{left:8px}.ph-card-gallery-arrow.is-next{right:8px}
.ph-card-gallery-arrow svg{display:block;flex:none;margin:0;pointer-events:none}
.ph-card-gallery:hover .ph-card-gallery-arrow,.ph-card-gallery:focus-within .ph-card-gallery-arrow{opacity:1}
.ph-catalog .ph-card-gallery-arrow:hover{background:#fff;color:#b91c2c}
.ph-card-gallery-arrow:focus-visible{outline:2px solid #b91c2c;outline-offset:2px}
@media(hover:none),(pointer:coarse){.ph-catalog .ph-card-gallery-arrow{opacity:.85;width:44px;height:44px;min-height:44px}.ph-card-gallery-arrow.is-previous{left:2px}.ph-card-gallery-arrow.is-next{right:2px}}
@media(prefers-reduced-motion:reduce){.ph-catalog .ph-card-gallery-arrow{transition:none}}

.ph-card-gallery .ph-catalog-image{position:relative;overflow:hidden}
.ph-card-gallery .ph-catalog-image img.ph-card-gallery-outgoing{position:absolute;inset:0;z-index:1;background:var(--soft,#f4f6f8);pointer-events:none}
