/* Search-only layout. Load after the shared shell/card contract. */
body[data-page-kind="search"] .review-banner{display:none}
body[data-page-kind="search"] .search-page{width:100%;max-width:none;padding-block:0;color:var(--ink)}
body[data-page-kind="search"] .search-page-hero,
body[data-page-kind="search"] [data-search-content]>:is(.search-page-filters,.search-utility-strip,.discovery-results-heading,#search-results,.search-featured-recipe,.search-browse-panel),
body[data-page-kind="search"] .search-hidden-results{width:100%;margin-inline:auto}
body[data-page-kind="search"] .search-page-hero{position:relative;display:flex;flex-direction:column;align-items:flex-start;min-height:219px;padding:56px 0 49px}
body[data-page-kind="search"] .search-hero-detective{position:absolute;right:0;top:24px;width:220px}
body[data-page-kind="search"] .search-page-hero-expanded .search-hero-detective{top:12px;width:175px}
body[data-page-kind="search"] .search-hero-detective .recipe-detective{--detective-size:100%}
@media (min-width:701px) and (max-width:1100px){body[data-page-kind="search"] .search-hidden-actions{max-width:calc(100% - 230px)}}
body[data-page-kind="search"] .search-page-back{display:inline-flex;align-items:center;min-height:16px}
body[data-page-kind="search"] .search-page-back .ui-icon{transition:transform 180ms var(--ease)}
@media(hover:hover) and (pointer:fine){body[data-page-kind="search"] .search-page-back:hover .ui-icon{transform:translateX(-5px) scaleX(-1)}}
body[data-page-kind="search"] .search-page-back:focus-visible .ui-icon{transform:translateX(-5px) scaleX(-1)}
body[data-page-kind="search"] .search-page-intro{display:flex;flex-direction:column;gap:8px;margin-top:18px}
body[data-page-kind="search"] .search-page-intro h1{margin:0;font:400 32px/1.2 var(--serif);letter-spacing:0}
body[data-page-kind="search"] .search-page-intro p{margin:0;max-width:660px;color:var(--muted);font:400 18px/1.5 var(--sans)}
body[data-page-kind="search"] .search-page-hero:not(.search-page-hero-expanded){min-height:357px}
body[data-page-kind="search"] .search-hidden-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:32px;width:100%}
body[data-page-kind="search"] .search-hidden-actions .search-page-form{display:none;flex:1 1 480px;min-width:0;max-width:727px}
body[data-page-kind="search"] .search-ready .search-hidden-actions .search-page-form{display:flex}
body[data-page-kind="search"] .search-hidden-actions .button{height:53px;min-height:53px;padding:13px 19px;font:600 16px/1.313 var(--sans);letter-spacing:.063em;white-space:nowrap}
body[data-page-kind="search"] .search-hidden-actions .button.primary{background:var(--burgundy);color:#f2e1da}
body[data-page-kind="search"] .search-page-filters{display:flex;flex-direction:column;gap:32px;padding-block:28px 24px;border-bottom:1px solid var(--line)}
body[data-page-kind="search"] .search-filter-desktop{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;width:100%}
body[data-page-kind="search"] .search-filter-desktop label,
body[data-page-kind="search"] .search-filter-mobile label{display:grid;gap:7px;min-width:0}
body[data-page-kind="search"] .search-filter-desktop label>span,
body[data-page-kind="search"] .search-filter-mobile label>span{font:400 14px/1.143 var(--hand);letter-spacing:.1em;text-transform:uppercase}
body[data-page-kind="search"] .search-filter-desktop select,
body[data-page-kind="search"] .search-filter-mobile select{width:100%;height:48px;min-width:0;padding:0 12px;border:0;border-bottom:1px solid var(--ink);border-radius:0;background:var(--paper);font:600 16px/1.313 var(--sans);letter-spacing:.063em;color:var(--ink)}
body[data-page-kind="search"] .search-filter-mobile{display:none}
body[data-page-kind="search"] .search-page-form{width:727px;max-width:100%;margin:0;background:var(--paper);border-bottom:1px solid var(--ink)}
body[data-page-kind="search"] .search-page-form input{height:53px;min-height:53px;margin:0;padding:12px 0;background:var(--paper);font:400 16px/1.55 var(--serif)}
body[data-page-kind="search"] .search-page-form button{display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;flex:none;height:53px;margin:0;padding:12px;border:0;background:transparent;font:600 16px/1.313 var(--sans);letter-spacing:.063em;color:var(--ink)}
body[data-page-kind="search"] .search-results-spacer{height:31px}
body[data-page-kind="search"] .search-utility-strip+#search-results{padding-top:31px}
body[data-page-kind="search"] .search-page #search-results>.recipe-grid,
body[data-page-kind="search"] .search-hidden-results>.recipe-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:52px 24px}
body[data-page-kind="search"] .search-page #search-results .recipe-card-compact .photo-stage,
body[data-page-kind="search"] .search-hidden-results .recipe-card-compact .photo-stage{aspect-ratio:350.66/450}
body[data-page-kind="search"] .search-page #search-results .recipe-card-compact h3,
body[data-page-kind="search"] .search-hidden-results .recipe-card-compact h3{font:400 20px/1.35 var(--serif);letter-spacing:0}
body[data-page-kind="search"] .search-page #search-results .recipe-card-compact .recipe-card-tags,
body[data-page-kind="search"] .search-hidden-results .recipe-card-compact .recipe-card-tags{display:flex;flex-wrap:wrap;gap:4px;margin-top:8px}
body[data-page-kind="search"] .recipe-card-tag{display:inline-flex;align-items:center;padding:3px 4px;background:var(--paper);font:400 16px/1.05 var(--hand);letter-spacing:.06em;text-transform:uppercase;text-decoration:none;color:var(--brick);border-bottom:1px solid var(--brick)}
body[data-page-kind="search"] .recipe-card-tag-blue{color:var(--tag-blue);border-bottom-color:var(--tag-blue)}
body[data-page-kind="search"] .search-random-card{min-width:0}
body[data-page-kind="search"] .search-random-card-link{display:block;color:var(--ink);text-decoration:none}
body[data-page-kind="search"] .search-random-card-photo{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;aspect-ratio:348/253;padding:20px;overflow:hidden;background:var(--wheat);border-bottom:1px solid var(--brick)}
body[data-page-kind="search"] .search-random-card-art{display:block;width:100px;height:128px;object-fit:contain;flex:none}
body[data-page-kind="search"] .search-random-card-art-caption{margin:6px 0 0;font:400 14px/1 var(--hand);letter-spacing:.08em;text-transform:uppercase;color:var(--brick)}
body[data-page-kind="search"] .search-random-card-caption{margin:16px 0 0;font:400 20px/1.35 var(--serif);letter-spacing:0}
body[data-page-kind="search"] .search-utility-strip{display:flex;align-items:center;justify-content:space-between;min-height:59px;padding-inline:20px}
body[data-page-kind="search"] .search-utility-tags{display:flex;align-items:center;gap:14px;min-width:0}
body[data-page-kind="search"] .search-utility-tags>span:first-child,
body[data-page-kind="search"] .search-utility-count{font:400 18px/1.15 var(--hand);letter-spacing:.08em;text-transform:uppercase;color:var(--muted);white-space:nowrap}
body[data-page-kind="search"] .search-utility-mobile-count{display:none;font:400 16px/1.15 var(--hand);letter-spacing:.04em;color:var(--muted);white-space:nowrap}
body[data-page-kind="search"] .search-utility-tag-list{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
body[data-page-kind="search"] .search-utility-tag{display:inline-flex;align-items:center;gap:3px;padding:3px 6px;border:0;border-bottom:1px solid var(--brick);background:var(--paper);font:400 16px/1.05 var(--hand);text-transform:uppercase;color:var(--brick);cursor:pointer}
body[data-page-kind="search"] .search-utility-tag-blue{color:var(--tag-blue);border-bottom-color:var(--tag-blue)}
body[data-page-kind="search"] .search-utility-clear{display:inline-flex;align-items:center;min-height:32px;margin-left:14px;padding:4px 0;border:0;background:transparent;color:var(--brick);font:600 14px/1.313 var(--sans);letter-spacing:.063em;text-transform:uppercase;white-space:nowrap}
body[data-page-kind="search"] .discovery-results-heading{display:flex;align-items:baseline;justify-content:space-between;gap:24px;margin:0;padding:0 20px 24px}
body[data-page-kind="search"] .discovery-results-heading h2{margin:0;font:400 24px/1.2 var(--serif);letter-spacing:0}
body[data-page-kind="search"] .discovery-results-heading span{font:400 14px/1.5 var(--sans);color:var(--muted)}
body[data-page-kind="search"] .search-featured-copy{display:flex;flex-direction:column;align-items:flex-start;gap:24px;min-width:0}
body[data-page-kind="search"] .search-featured-tags{display:flex;flex-wrap:wrap;gap:4px}
body[data-page-kind="search"] .search-featured-tags .recipe-tag{padding:3px 6px;background:var(--paper);font:400 16px/1.05 var(--hand);letter-spacing:.06em;text-transform:uppercase;text-decoration:none}
body[data-page-kind="search"] .search-featured-tags .recipe-tag-brick{border-bottom:1px solid var(--brick);color:var(--brick)}
body[data-page-kind="search"] .search-featured-tags .recipe-tag-blue{border-bottom:1px solid var(--tag-blue);color:var(--tag-blue)}
body[data-page-kind="search"] .search-browse-panel{display:flex;flex-direction:column;align-items:stretch;padding-block:56px;min-height:817px}
body[data-page-kind="search"] .search-browse-heading{display:flex;justify-content:center;text-align:center}
body[data-page-kind="search"] .search-browse-heading h2{margin:0 0 16px;font:400 28px/1.2 var(--serif)}
body[data-page-kind="search"] .search-browse-tabs{display:flex;height:60px;align-items:flex-end;justify-content:center;gap:0;margin-top:0}
body[data-page-kind="search"] .search-browse-tabs a{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;flex:0 0 230px;min-width:0;height:52px;padding:0 14px;background:transparent;font:400 18px/1.15 var(--hand);letter-spacing:.1em;text-align:center;text-transform:uppercase;color:var(--muted);text-decoration:none;overflow:hidden}
body[data-page-kind="search"] .search-browse-tabs a::before{content:"";position:absolute;z-index:-1;inset:0;background:var(--tab-fill);-webkit-mask:url('/assets/recipes/folder-tab-ingredients.svg') center / 100% 100% no-repeat;mask:url('/assets/recipes/folder-tab-ingredients.svg') center / 100% 100% no-repeat;pointer-events:none}
body[data-page-kind="search"] .search-browse-tabs a[data-search-browse-tab="occasions"]{--tab-fill:#F2E1DA}
body[data-page-kind="search"] .search-browse-tabs a[data-search-browse-tab="ingredients"]{--tab-fill:#EBE3D2}
body[data-page-kind="search"] .search-browse-tabs a[data-search-browse-tab="types"]{--tab-fill:#F5E6C8}
body[data-page-kind="search"] .search-browse-tabs a[aria-selected=true]{z-index:3;height:60px;flex-basis:220px;background:transparent;color:var(--brick)}
body[data-page-kind="search"] .search-browse-tabs a[aria-selected=true]::before{-webkit-mask-image:url('/assets/recipes/folder-tab-active.svg');mask-image:url('/assets/recipes/folder-tab-active.svg')}
body[data-page-kind="search"] .search-browse-tabs a+a{margin-left:-24px}
body[data-page-kind="search"] .search-browse-tab-panel[hidden]{display:none}
body[data-page-kind="search"] .search-browse-tab-panel{background:#EBE3D2;padding:24px}
body[data-page-kind="search"] .search-browse-tab-panel[data-search-browse-panel="occasions"]{background:#F2E1DA}
body[data-page-kind="search"] .search-browse-tab-panel[data-search-browse-panel="ingredients"]{background:#EBE3D2}
body[data-page-kind="search"] .search-browse-tab-panel[data-search-browse-panel="types"]{background:#F5E6C8}
body[data-page-kind="search"] .search-browse-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0}
body[data-page-kind="search"] .search-browse-tile{position:relative;display:flex;min-height:230px;padding:14px 12px;flex-direction:column;align-items:flex-end;justify-content:space-between;overflow:hidden;background:#fffaf0;color:var(--burgundy);text-decoration:none;font:400 1.25rem/1.2 var(--hand);text-transform:uppercase}
body[data-page-kind="search"] .search-browse-tile-label{padding-right:24px;position:relative;z-index:1;align-self:stretch}
body[data-page-kind="search"] .search-browse-tile sup{font:400 14px/1 var(--hand);color:var(--muted)}
body[data-page-kind="search"] .search-browse-tile-art{display:block;width:88px;height:88px;object-fit:contain;pointer-events:none}
body[data-page-kind="search"] .search-browse-tile-motion{background:transparent}
body[data-page-kind="search"] .search-browse-tile-art-discovery{width:88px;height:88px}
body[data-page-kind="search"] .search-browse-tile-art-discovery{object-fit:initial}
body[data-page-kind="search"] .search-browse-tile-arrow{width:18px;height:18px;position:absolute;top:12px;right:14px;z-index:1}
body[data-page-kind="search"] .search-browse-all{display:inline-flex;align-items:center;justify-content:center;gap:10px;white-space:nowrap;align-self:center;padding-top:24px;color:var(--brick);font-size:18px;letter-spacing:.055em;text-transform:uppercase}
@media (min-width:701px) and (max-width:1000px){
  body[data-page-kind="search"] .search-page-form{width:100%}
  body[data-page-kind="search"] .search-filter-desktop select{height:45px}
  body[data-page-kind="search"] .search-filter-desktop label>span{display:none}
  body[data-page-kind="search"] .search-page-filters{min-height:183px}
  body[data-page-kind="search"] .search-page #search-results>.recipe-grid,
  body[data-page-kind="search"] .search-hidden-results>.recipe-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:52px 24px}
  body[data-page-kind="search"] .search-featured-copy{width:100%;gap:24px}
  body[data-page-kind="search"] .search-browse-panel{min-height:714px;padding-block:56px}
  body[data-page-kind="search"] .search-browse-tiles{margin-inline:0}
  body[data-page-kind="search"] .search-browse-tile{min-height:180px}
}
@media (max-width:700px){
  body[data-page-kind="search"] .search-page-hero{min-height:196px;padding:32px 0 26px}
  body[data-page-kind="search"] .search-page-hero:not(.search-page-hero-expanded){min-height:334px}
  body[data-page-kind="search"] .search-page-intro{gap:8px;margin-top:20px}
  body[data-page-kind="search"] .search-page-hero:not(.search-page-hero-expanded) .search-page-intro{gap:24px}
  body[data-page-kind="search"] .search-page-intro h1{max-width:100%;font-size:28px;letter-spacing:-.02em;white-space:normal;overflow-wrap:normal}
  body[data-page-kind="search"] .search-page-intro p{font-size:18px}
  body[data-page-kind="search"] .search-hidden-actions{width:100%;margin-top:24px}
  body[data-page-kind="search"] .search-hidden-actions .search-page-form{flex-basis:100%}
  body[data-page-kind="search"] .search-hidden-actions .button{align-self:flex-start;padding-inline:12px}
  body[data-page-kind="search"] .search-page-filters{gap:14px;min-height:285px;padding:28px 0 16px}
  body[data-page-kind="search"] .search-filter-desktop{display:none}
  body[data-page-kind="search"] .search-filter-mobile{display:block;width:100%}
  body[data-page-kind="search"] .search-filter-mobile summary{display:none}
  body[data-page-kind="search"] .search-filter-mobile>div{display:grid;gap:12px;padding-top:6px}
  body[data-page-kind="search"] .search-filter-mobile select{height:48px}
  body[data-page-kind="search"] .search-page-form{width:100%}
  body[data-page-kind="search"] .search-page-form button{display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;flex:none;padding-inline:0}
  body[data-page-kind="search"] .search-page #search-results>.recipe-grid,
  body[data-page-kind="search"] .search-hidden-results>.recipe-grid{grid-template-columns:1fr;gap:24px}
  body[data-page-kind="search"] .search-page #search-results .recipe-card-compact h3,
  body[data-page-kind="search"] .search-hidden-results .recipe-card-compact h3{font-size:18px}
  body[data-page-kind="search"] .search-random-card-caption{font-size:18px}
  body[data-page-kind="search"] .search-utility-strip{min-height:73px;padding:14px 0}
  body[data-page-kind="search"] .search-utility-tags{align-items:flex-start;gap:14px;flex-wrap:wrap}
  body[data-page-kind="search"] .search-utility-count{display:none}
  body[data-page-kind="search"] .search-utility-mobile-count{display:inline}
  body[data-page-kind="search"] .search-utility-tags>span:first-child{font-size:18px}
  body[data-page-kind="search"] .search-utility-clear{align-self:flex-start;margin-left:0}
  body[data-page-kind="search"] .discovery-results-heading{padding-inline:0}
  body[data-page-kind="search"] .discovery-results-heading h2{font-size:20px}
  body[data-page-kind="search"] .search-featured-copy{gap:24px}
  body[data-page-kind="search"] .search-browse-panel{min-height:0;padding-block:56px 32px}
  body[data-page-kind="search"] .search-browse-tabs{gap:2px;margin-top:0}
  body[data-page-kind="search"] .search-browse-tabs a{flex:1 1 0;height:42px;min-height:0;padding:7px 4px;font-size:18px;letter-spacing:.05em}
  body[data-page-kind="search"] .search-browse-tabs a[aria-selected=true]{height:60px;flex-basis:0}
  body[data-page-kind="search"] .search-browse-tabs a+a{margin-left:0}
  body[data-page-kind="search"] .search-browse-tab-panel{padding:12px}
  body[data-page-kind="search"] .search-browse-tiles{grid-template-columns:1fr;gap:8px;margin:0}
  body[data-page-kind="search"] .search-browse-tile{min-height:120px;padding:12px;font-size:18px}
}
@media (prefers-reduced-motion:reduce){body[data-page-kind="search"] .search-page *{scroll-behavior:auto!important;transition-duration:0s!important}body[data-page-kind="search"] .search-page-back:is(:hover,:focus-visible) .ui-icon{transform:scaleX(-1)}}

/* Six cards, a photo-led featured pause, then the rest of the recipe box. */
body[data-page-kind="search"] .search-featured-carousel{margin:64px 0;padding:32px clamp(20px,4vw,48px) 24px;background:var(--wheat);border-block:1px solid var(--line);scroll-margin-top:110px}
body[data-page-kind="search"] .search-featured-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;padding-bottom:12px;border-bottom:1px solid var(--line)}
body[data-page-kind="search"] .search-featured-heading .eyebrow{margin:0 0 8px;color:var(--brick);font-size:16px;text-transform:uppercase}
body[data-page-kind="search"] .search-featured-heading h2{margin:0;font:400 28px/1.2 var(--serif)}
body[data-page-kind="search"] .search-featured-stack-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(32px,5vw,72px);align-items:center;padding:20px 0 28px}
body[data-page-kind="search"] .search-featured-stack{position:relative;isolation:isolate;min-width:0;height:520px;outline-offset:5px}
body[data-page-kind="search"] .search-featured-stack:focus-visible{outline:2px solid var(--brick)}
body[data-page-kind="search"] .search-featured-card{position:absolute;left:50%;top:50%;width:min(68%,330px);margin:0;padding:0 0 12px;background:var(--paper);box-shadow:0 9px 22px #3524182e;transition:transform 520ms cubic-bezier(.22,1,.36,1),box-shadow 300ms ease-out;transform-origin:center;cursor:pointer}
body[data-page-kind="search"] .search-featured-card.is-active{z-index:3;transform:translate(-50%,-50%) rotate(-3deg) scale(1);box-shadow:0 13px 30px #35241835}
body[data-page-kind="search"] .search-featured-card.is-next{z-index:2;transform:translate(calc(-50% + 57px),calc(-50% + 12px)) rotate(7deg) scale(.95)}
body[data-page-kind="search"] .search-featured-card.is-previous{z-index:1;transform:translate(calc(-50% - 57px),calc(-50% + 9px)) rotate(-10deg) scale(.94)}
body[data-page-kind="search"] .search-featured-card a{display:block;color:var(--ink);text-decoration:none}
body[data-page-kind="search"] .search-featured-card:not(.is-active) a{pointer-events:none}
body[data-page-kind="search"] .search-featured-card a:focus-visible{outline:2px solid var(--brick);outline-offset:5px}
body[data-page-kind="search"] .search-featured-photo{display:block;width:100%;aspect-ratio:4/5;object-fit:cover}
body[data-page-kind="search"] .search-featured-card a>span{display:block;margin:10px 12px 2px;color:var(--brick);font-size:17px;text-transform:uppercase}
body[data-page-kind="search"] .search-featured-card .search-featured-stamp{display:none;position:absolute;left:auto;right:-24px;top:22px;width:73px;height:93px;object-fit:contain;pointer-events:none}
body[data-page-kind="search"] .search-featured-card.is-active .search-featured-stamp{display:block}
body[data-page-kind="search"] .search-featured-copy-stage{min-width:0}
body[data-page-kind="search"] .search-featured-copy[hidden]{display:none}
body[data-page-kind="search"] .search-featured-copy{gap:22px}
body[data-page-kind="search"] .search-featured-copy h3{margin:0;font:400 clamp(28px,3vw,40px)/1.18 var(--serif)}
body[data-page-kind="search"] .search-featured-pages{padding-top:16px;border-top:1px solid var(--line)}
body[data-page-kind="search"] .search-more-recipes{margin:64px 0 0}
body[data-page-kind="search"] .search-more-heading{margin-bottom:32px;padding-bottom:16px;border-bottom:1px solid var(--line)}
body[data-page-kind="search"] .search-more-heading .eyebrow{margin:0 0 8px;color:var(--brick);font-size:16px;text-transform:uppercase}
body[data-page-kind="search"] .search-more-heading h2{margin:0;font:400 28px/1.2 var(--serif)}
body[data-page-kind="search"] .search-more-recipes .recipe-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:52px 24px}
.search-random-postcard .eyebrow{margin:0 0 10px;color:var(--brick);font-size:16px;text-transform:uppercase}
.search-random-postcard h2{margin:0;font:400 28px/1.2 var(--serif)}
.search-random-postcard-copy>p:not(.eyebrow){margin:12px 0 0;color:var(--muted);font:16px/1.55 var(--sans)}
.search-random-postcard{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(0,1fr);gap:32px;align-items:center;margin:56px 0;padding:32px;background:var(--wheat);border:8px solid var(--wheat);outline:2px dashed var(--ground);outline-offset:-5px}
.search-random-postcard-art{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:200px;background:var(--paper);transform:rotate(-2deg)}
.search-random-postcard-art img{width:130px;height:130px;object-fit:contain}
.search-random-postcard-art p{margin:0;color:var(--brick);font-size:17px;text-transform:uppercase}
.search-random-postcard-copy .button{display:inline-flex;width:max-content;max-width:100%;margin-top:24px}
.search-more-recipes .search-random-postcard+.recipe-grid{margin-top:56px}
@media(min-width:701px) and (max-width:1000px){body[data-page-kind="search"] .search-more-recipes .recipe-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
  .search-random-postcard{grid-template-columns:1fr;gap:20px;margin-top:40px;padding:24px 18px}
  .search-random-postcard-art{min-height:150px}
  .search-random-postcard-art img{width:96px;height:96px}
  .search-more-recipes .search-random-postcard+.recipe-grid{margin-top:40px}
  body[data-page-kind="search"] .search-featured-carousel{margin:44px 0;padding:24px 16px 20px}
  body[data-page-kind="search"] .search-featured-heading h2,body[data-page-kind="search"] .search-more-heading h2{font-size:24px}
  body[data-page-kind="search"] .search-featured-stack-layout{grid-template-columns:1fr;gap:10px;padding:12px 0 28px}
  body[data-page-kind="search"] .search-featured-stack{height:390px}
  body[data-page-kind="search"] .search-featured-card{width:min(66%,245px)}
  body[data-page-kind="search"] .search-featured-card.is-next{transform:translate(calc(-50% + 38px),calc(-50% + 10px)) rotate(7deg) scale(.95)}
  body[data-page-kind="search"] .search-featured-card.is-previous{transform:translate(calc(-50% - 38px),calc(-50% + 8px)) rotate(-9deg) scale(.94)}
  body[data-page-kind="search"] .search-featured-copy h3{font-size:28px}
  body[data-page-kind="search"] .search-more-recipes{margin-top:44px}
  body[data-page-kind="search"] .search-more-recipes .recipe-grid{grid-template-columns:1fr;gap:24px}
}
@media(max-width:1000px) and (min-width:701px){body[data-page-kind="search"] .search-featured-stack-layout{grid-template-columns:1fr;gap:16px}body[data-page-kind="search"] .search-featured-stack{height:500px}body[data-page-kind="search"] .search-featured-card{width:min(62%,340px)}}
@media(prefers-reduced-motion:reduce){body[data-page-kind="search"] .search-featured-card{transition:none}}
body[data-page-kind="search"] .search-utility-strip { gap:24px;flex-wrap:wrap;padding:16px 20px; }
body[data-page-kind="search"] .search-utility-tags { flex:1;flex-wrap:wrap;gap:12px; }
body[data-page-kind="search"] .search-utility-tag { gap:6px;min-height:32px;padding:4px 8px; }
body[data-page-kind="search"] .search-utility-tag .ui-icon { width:16px;height:16px;max-width:16px;max-height:16px; }
body[data-page-kind="search"] .search-utility-clear { margin:0;min-height:44px; }
body[data-page-kind="search"] .empty-state-guided { padding:32px 24px;text-align:left;background:var(--cream); }
body[data-page-kind="search"] .empty-state-guided .eyebrow { font-size:18px;letter-spacing:.08em;text-transform:uppercase;margin:0 0 12px; }
body[data-page-kind="search"] .empty-state-guided>p:not(.eyebrow) { margin:12px 0 20px; }
body[data-page-kind="search"] .empty-state-actions { display:flex;justify-content:flex-start;margin:20px 0 32px; }
body[data-page-kind="search"] .empty-state-nearby { border-top:1px solid var(--line);padding-top:28px; }
body[data-page-kind="search"] .empty-state-nearby .recipe-grid { margin-top:24px; }
body[data-page-kind="search"] .recipe-card h3 { text-align:left; }
@media(max-width:600px) { body[data-page-kind="search"] .search-utility-strip { gap:12px;padding:12px; }body[data-page-kind="search"] .empty-state-guided { padding:24px 16px; } }
@media(max-width:700px){body[data-page-kind="search"] .search-hero-detective,body[data-page-kind="search"] .search-page-hero-expanded .search-hero-detective{position:static;align-self:center;width:160px;margin-top:12px}}

/* Folder tabs rise into their selected state without changing layout width. */
body[data-page-kind='search'] .search-browse-tab,body[data-page-kind='search'] .search-browse-tab[aria-selected='true'],body[data-page-kind='search'] .search-browse-tab:not([aria-selected='true']) { height:60px;flex:1 1 0;transition:color 180ms ease-out; }
body[data-page-kind='search'] .search-browse-tab::before { transform:scaleY(.86);transform-origin:bottom;transition:transform 220ms cubic-bezier(.22,1,.36,1); }
body[data-page-kind='search'] .search-browse-tab[aria-selected='true']::before { transform:scaleY(1); }
@media(hover:hover) and (pointer:fine) { body[data-page-kind='search'] .search-browse-tab:hover { color:var(--brick); }body[data-page-kind='search'] .search-browse-tab:not([aria-selected='true']):hover::before { transform:scaleY(.94); } }
body[data-page-kind='search'] .search-browse-tab:active::before { transform:scaleY(.96); }
@media(max-width:600px) { body[data-page-kind='search'] .search-browse-tab,body[data-page-kind='search'] .search-browse-tab[aria-selected='true'],body[data-page-kind='search'] .search-browse-tab:not([aria-selected='true']) { height:48px; } }
@media(prefers-reduced-motion:reduce) { body[data-page-kind='search'] .search-browse-tab,body[data-page-kind='search'] .search-browse-tab::before { transition:none; } }
body[data-page-kind='search'] .search-browse-tabs:has(:focus-visible) .search-browse-tab::before{transition:none}
body[data-page-kind='search'] .search-browse-tile-art,body[data-page-kind='search'] .search-browse-tile-art-discovery{width:48px;height:48px}
@media(min-width:1001px){body[data-page-kind='search'] .search-browse-tile-art,body[data-page-kind='search'] .search-browse-tile-art-discovery{width:96px;height:96px}}
