/* The sticky header sizes itself to its controls on both one and two rows. */
.site-header {height:auto;min-height:0}
.site-header .header-inner {height:auto;min-height:62px;box-sizing:border-box;padding:8px clamp(14px,2vw,30px);gap:clamp(9px,1.4vw,22px);margin:auto}
.header-inner .search-tools,.header-inner .search {min-width:0}
.site-header .header-cart,.site-header .toolbar-button {min-height:42px}
.storefront-shell {padding-top:10px}
.diet-section {margin-bottom:12px}
.diet-heading {padding:0;margin:0 2px 4px}
.diet-heading button {min-height:28px}
.diet-strip {padding:0 0 2px;gap:6px;scrollbar-width:none}
.diet-strip .diet-tab {min-height:47px;gap:6px;font-size:13px;padding:3px 9px;transition:background-color .16s,box-shadow .16s}
.diet-strip .diet-art,.diet-tab.active .diet-art,.mode-choice-icon {width:39px;height:39px;object-fit:contain;background:none;mix-blend-mode:normal;filter:none;border-radius:0}
.diet-strip .diet-tab.active {box-shadow:inset 0 -3px 0 currentColor}
.market-spread {margin-bottom:18px}
.market-kicker {font-size:14px;gap:7px}
.market-kicker:before {content:none}
.market-kicker img {width:29px;height:29px;object-fit:contain}
.market-copy {padding:clamp(19px,2.1vw,34px)}
.market-copy h1 {font-size:clamp(33px,3.5vw,62px);line-height:1.02;letter-spacing:-.055em;margin:11px 0 12px;overflow-wrap:break-word}
.market-copy p {max-width:42ch;margin-bottom:16px}
.market-cta {flex-wrap:wrap;justify-content:center;gap:7px 9px;line-height:1.16}
.market-cta>span {font-size:.8em;font-weight:600;border-left:1px solid #b4b6a7;padding-left:8px;white-space:nowrap}
.market-pick-photo {mix-blend-mode:normal;min-height:105px}
.market-pick-photo img {max-height:176px;max-width:92%;padding:3px;filter:drop-shadow(0 8px 5px #463c2617)}
.pick-score {background:#f3fcff;color:#005c88}
.category-section,.featured-section {margin-bottom:17px}
.section-heading {margin:0 0 9px;gap:12px;min-height:0}
.category-section .section-heading {align-items:center}
.category-tools,.rail-buttons {display:flex;align-items:center;gap:8px}
.rail-buttons button {height:34px;width:34px;border-radius:50%;border:1px solid #d7e3d9;background:#fff;font:600 24px/1 Onest,sans-serif;color:#375341;display:grid;place-items:center}
.rail-buttons button:hover {background:#dcf5c8}
.catalog-navigation {scrollbar-width:none;scroll-snap-type:none;padding:0 0 2px;align-items:stretch}
.catalog-navigation::-webkit-scrollbar {display:none}
.catalog-navigation .catalog-entry {height:auto;min-height:112px;gap:4px;padding:5px 5px 8px}
.catalog-navigation .catalog-entry.active {padding:4px 4px 7px}
.catalog-entry .market-triptych,.catalog-entry .all-category-art,.catalog-entry .photo-stack.category-photos {height:74px;min-height:0}
.theme-filters .featured-card {min-height:228px!important;padding:16px!important;display:flex;flex-direction:column;justify-content:space-between}
.collection-caption {min-height:0}
.collection-caption b {font-size:clamp(19px,1.5vw,25px)}
.collection-caption small {font-size:13px;line-height:1.25}
.featured-card .collection-photos {background:transparent;border:0;box-shadow:none;width:100%;height:132px;min-height:106px;margin:3px 0;mix-blend-mode:normal;isolation:isolate;overflow:visible}
.featured-card .collection-photos img {display:block;position:absolute;top:8%;left:1%;width:41%;height:85%;border:0;border-radius:0;object-fit:contain;opacity:1;background:transparent;mix-blend-mode:normal;box-shadow:none;filter:drop-shadow(0 7px 4px #362c1822);transform:rotate(-9deg);z-index:1}
.featured-card .collection-photos img:nth-child(2) {left:59%;top:8%;width:39%;height:84%;transform:rotate(9deg);z-index:2}
.featured-card .collection-photos img:nth-child(3) {left:28%;top:0;width:45%;height:101%;transform:rotate(-2deg);z-index:3}
.featured-card .collection-photos img:only-of-type {left:21%;width:58%;height:95%;transform:none}
.product-card .product-photo {aspect-ratio:1/1;height:auto;min-height:0;padding:0}
.product-photo .photo-link{padding:0;overflow:hidden;background:#f4f5f1}
.product-photo .photo-link img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;padding:0;max-width:none;max-height:none;border-radius:0;transform:scale(var(--hover-zoom,1));transition:transform .28s ease-out}
.product-photo .photo-link .fitted-product {top:50%;left:50%;right:auto;bottom:auto;height:auto;width:var(--product-width);transform-origin:var(--product-center-x) var(--product-center-y);transform:translate(calc(-1 * var(--product-center-x)),calc(-1 * var(--product-center-y))) scale(var(--hover-zoom,1))}
@media (hover:hover) and (pointer:fine) {
 .product-card .photo-link:hover,.product-card .photo-link:focus-visible {--hover-zoom:1.2}
 .featured-card:hover .collection-photos img:nth-child(3) {transform:translateY(-4px) rotate(1deg)}
}
.card-ratings {align-items:center;gap:5px}
.our-rating {min-height:42px;align-items:flex-start}
.our-rating .score,.detail-score .score {display:inline-flex;gap:3px;align-items:baseline;color:#006c9c;font:700 clamp(22px,2.05vw,31px)/1 Onest,sans-serif;letter-spacing:-.052em;white-space:nowrap}
.score-leaf {box-sizing:border-box;width:18px;height:18px;border-radius:6px;align-self:center;max-width:none}
.our-rating>small {font-size:11px;color:#245c73;font-weight:600}
.our-rating .score>small,.detail-score .score>small {font-size:11px;color:#317294;letter-spacing:normal}
.store-rating .vv-mark,.vv-rating .vv-mark {background:#e7f2e8;color:#486b50;box-shadow:none}
.store-rating .vv-mark {width:23px;height:23px;font-size:11px}
.store-rating b,.vv-rating b {color:#4c6253}
.store-rating>span>small {color:#59675e;font-size:10px}
.detail-score .score {font-size:34px;color:#006c9c;background:#e1f6ff;border-radius:12px;padding:9px 12px}
.detail-score .score-leaf {width:24px;height:24px}
.product-grid[data-window-grid]{position:relative}
.product-start[data-product-start] {position:absolute;top:0;left:0;width:1px;height:1px;min-height:0;padding:0;pointer-events:none}
.products-area {scroll-margin-top:calc(var(--header-height) + 10px)}
.section-heading.products-heading {flex-direction:row;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:5px 14px;margin:0 0 3px}
.result-title,.results-toolbar,.diet-only {display:flex;align-items:center}
.result-title {flex-wrap:wrap;gap:3px 10px}
.result-count {color:#52645a;font-size:13px}
.diet-only {gap:7px;cursor:pointer;font-size:13px;font-weight:550;min-height:36px;position:relative;line-height:1.18}
.diet-only input {position:absolute;opacity:0;width:1px;height:1px}
.diet-only>span {border-radius:15px;background:#b7c4be;width:32px;height:18px;border:1px solid #9caea2}
.diet-only>span:after {content:"";display:block;width:12px;height:12px;background:white;margin:2px;border-radius:50%;box-shadow:0 1px 2px #3045383d;transition:transform .15s}
.diet-only input:checked+span {background:#1482a9;border-color:#1482a9}
.diet-only input:checked+span:after{transform:translateX(13px)}
.diet-only input:focus-visible+span {outline:2px solid #1576bb;outline-offset:2px}
.results-toolbar {flex-wrap:wrap;gap:3px 15px;margin:0 0 8px;min-height:27px}
.results-toolbar button {min-height:30px;font-size:12px;display:inline-flex;align-items:center;gap:5px}
.result-sort {color:#374d40}
.results-toolbar .return-diet {color:#126485;text-decoration:underline;text-underline-offset:3px}
.results-toolbar .score-help {margin-left:auto}
.results-toolbar .ui-icon {width:16px;height:16px}
.lens-gallery {display:flex;align-items:stretch;gap:8px;overflow-x:auto;scrollbar-width:thin;padding:2px 0 7px;margin:0 0 6px}
.lens-card {display:flex;align-items:center;gap:8px;padding:6px 12px 6px 6px;text-align:left;background:var(--lens-bg,#ffdb81);border:1px solid transparent;border-radius:13px;min-width:142px;min-height:66px;flex:1 0 145px;max-width:270px}
.lens-1{--lens-bg:#b9e1ff}.lens-2{--lens-bg:#d5ee9f}.lens-3{--lens-bg:#ffc0b0}
.lens-card[aria-pressed=true]{border-color:#254b42;box-shadow:inset 0 0 0 1px #254b42}
.lens-card>img{width:54px;height:54px;object-fit:cover;border-radius:9px;flex:none}
.lens-card>span {display:grid;gap:3px}
.lens-card b {font-size:14px;line-height:1.14}
.lens-card small {font-size:12px;color:#354a42}
.active-selection {display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:5px 0;background:transparent;border:0}
.active-selection>b {font-size:14px}
.product-modal .product-gallery {display:block;align-self:center;padding:0;min-width:0}
.gallery-open {width:100%;position:relative;display:block;background:#f5f5f2;border-radius:15px;overflow:hidden;cursor:zoom-in}
.detail-image .gallery-open img {display:block;width:100%;height:auto;aspect-ratio:1.15;object-fit:contain}
.gallery-zoom {position:absolute;right:9px;bottom:9px;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;font-size:23px;background:#fff;color:#213b40}
.gallery-thumbs {display:flex;gap:5px;margin-top:6px;overflow-x:auto;scrollbar-width:thin;padding:2px}
.gallery-thumbs button {width:46px;height:46px;flex:none;border-radius:8px;overflow:hidden;border:2px solid transparent;background:#f4f5f2}
.gallery-thumbs button[aria-pressed=true]{border-color:#087ea9}
.detail-image .gallery-thumbs img{width:100%;height:100%;object-fit:cover}
.photo-viewer {position:fixed;inset:0;height:100dvh;width:100vw;max-height:none;max-width:none;padding:0;margin:0;border:0;background:#fff;overflow:hidden}
.photo-viewer::backdrop {background:#fff}
.viewer-center {position:absolute;inset:0;width:100%;height:100%;cursor:zoom-out}
.viewer-image {width:100%;height:100%;object-fit:contain;display:block}
.viewer-side {position:absolute;top:0;bottom:0;width:22%;display:grid;align-items:center;z-index:1;touch-action:pan-y}
.viewer-side[hidden]{display:none}
.viewer-side.prev{left:0;justify-items:start;padding-left:clamp(10px,2vw,32px)}.viewer-side.next{right:0;justify-items:end;padding-right:clamp(10px,2vw,32px)}
.viewer-side span,.viewer-close {width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:#fffefaed;border:1px solid #d8dfd9;color:#304b41;font:500 31px/1 Onest,sans-serif;box-shadow:0 2px 8px #14251812}
.viewer-close {position:absolute;right:max(14px,env(safe-area-inset-right));top:max(14px,env(safe-area-inset-top));z-index:3}
.viewer-count {position:absolute;z-index:2;top:max(14px,env(safe-area-inset-top));left:50%;transform:translateX(-50%);background:#fffffff0;color:#2a463d;padding:6px 12px;border-radius:20px;font-size:14px;pointer-events:none}
@keyframes diet-arrive{from{opacity:.6;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:no-preference){.market-spread .market-copy,.market-spread .market-pick-photo {animation:diet-arrive .3s ease-out both}}
@media(max-width:900px){.market-copy h1{font-size:clamp(30px,4.1vw,44px)}.storefront-shell{padding-top:7px}}
@media(max-width:760px){
 .rail-buttons {display:none}
 .market-copy {padding:16px}.market-cover {min-height:245px}
 .market-pick-photo {min-height:0}
 .diet-strip .diet-art {width:35px;height:35px}
 .market-spread,.market-spread.with-pick,.category-section,.featured-section {margin-bottom:14px}
 .catalog-navigation .catalog-entry {min-height:105px}
 .theme-filters .featured-card {min-height:215px!important;padding:13px!important}
 .result-title{gap:3px 7px}
}
@media(max-width:600px){
 .site-header .header-inner {display:flex;flex-wrap:wrap;padding:6px 12px;min-height:0;gap:5px 8px}
 .header-inner .search-tools {margin:0;flex-basis:100%;gap:5px}
 .header-inner .search {margin:0}
 .header-inner .header-links{max-width:55%}
 .diet-section{margin-bottom:8px}.diet-heading button{min-height:24px}
 .diet-strip .diet-tab{min-height:44px;font-size:13px}
 .diet-strip{margin-right:0}
 .market-copy h1{font-size:clamp(26px,6.3vw,37px);letter-spacing:-.055em;margin:7px 0 8px}
 .market-copy p{font-size:13px;line-height:1.32;margin-bottom:11px}
 .market-cta{font-size:13px;min-height:40px;padding:7px 10px;justify-content:flex-start;gap:4px}
 .market-kicker{font-size:12px;gap:4px}.market-kicker img{width:24px;height:24px}
 .market-cover {grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}
 .market-copy{padding:14px 10px 14px 14px}
 .product-info{padding:4px 8px 10px}
 .our-rating .score {font-size:23px}
 .score-leaf {width:16px;height:16px}
 .our-rating>small{font-size:10px}.store-rating .vv-mark{width:19px;height:19px;font-size:9px}
 .store-rating>span>small{font-size:9px}
 .card-ratings{gap:3px}
 .result-count{font-size:12px}
 .results-toolbar {gap:2px 9px;margin:0 0 5px}
 .lens-card{min-width:145px;flex:0 0 148px}
 .diet-only{min-height:30px;font-size:12px}
 .lens-gallery {margin:0 0 5px}
 .product-modal .product-gallery {max-width:100%;width:100%}
 .gallery-open {max-width:310px;margin:auto}
}
@media(prefers-reduced-motion:reduce){.product-photo .photo-link img,.diet-only>span:after{transition:none}.product-card .photo-link:hover{--hover-zoom:1}}
.rating-body .factor-column h3,.rating-body .factor-column h4{line-height:1.3}
.rating-body .factor-points{white-space:nowrap;margin-inline-start:.45em;font-variant-numeric:tabular-nums;font-weight:700}
.rating-body .score-formula{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:.95rem;color:inherit}
.rating-body .score-qualification{padding:.7rem 1rem;border-radius:12px;background:#edf5fb}
.rating-body .factor-column:only-child{grid-column:1/-1}

.lens-card .lens-description{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:11px;line-height:1.25}
.rating-body .score-placement{padding:10px 12px;background:#e6f6fc;border-radius:12px;line-height:1.4;color:#183c4b}
.diet-tab,.lens-card{scroll-margin-block-start:calc(var(--header-height,64px) + 8px)}
