/* Search overlay: full-screen, site typography, instant product results; search results page. */
.yol-search{--sr-gutter:60px;--sr-ease:cubic-bezier(.22,1,.36,1);--sr-line:rgba(0,0,0,.12)}
@media(min-width:1967px){.yol-search{--sr-gutter:80px}}
@media(max-width:1024px){.yol-search{--sr-gutter:40px}}
@media(max-width:767px){.yol-search{--sr-gutter:30px}}
@media(max-width:479px){.yol-search{--sr-gutter:20px}}
.yol-site .yol-search{position:fixed;inset:0;z-index:400;display:flex;flex-direction:column;place-items:initial;padding:0;background:#efefef;color:#1b1b1b;overflow-y:auto;overscroll-behavior:contain;font-family:Arial,"Helvetica Neue",sans-serif}
.yol-site .yol-search[hidden]{display:none}
.yol-search [hidden]{display:none!important}
.yol-site .yol-search:not([hidden]){animation:yol-search-in .4s ease both}
.yol-site .yol-search:not([hidden]) .yol-search__body{animation:yol-search-rise .8s var(--sr-ease) .05s both}
@keyframes yol-search-in{from{opacity:0}to{opacity:1}}
@keyframes yol-search-rise{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:none}}
html.yol-search-open,html.yol-search-open body{overflow:hidden}

/* Top bar lines up with the header */
.yol-search__bar{flex:none;display:flex;align-items:center;justify-content:space-between;height:100px;padding:0 var(--sr-gutter);border-bottom:1px solid var(--sr-line)}
.yol-search__eyebrow{font-size:11px;line-height:16px;letter-spacing:.16em;text-transform:uppercase;opacity:.55}
.yol-site .yol-search .yol-search__close{position:static;display:grid;place-items:center;width:48px;height:48px;padding:0;border:1px solid rgba(0,0,0,.2);border-radius:50%;background:transparent;color:inherit;font-size:0;cursor:pointer;transition:background-color .3s ease,color .3s ease,border-color .3s ease,transform .5s var(--sr-ease)}
.yol-site .yol-search .yol-search__close:hover{background:#1b1b1b;border-color:#1b1b1b;color:#fff;transform:rotate(90deg)}
.yol-search__close:focus{outline:none}
.yol-search__close:focus-visible{outline:1px solid #1b1b1b;outline-offset:3px}
@media(max-width:1024px){.yol-search__bar{height:80px}}

/* Query field */
.yol-search__body{flex:1 0 auto;padding:9vh var(--sr-gutter) 90px}
.yol-site .yol-search .yol-search__form{display:flex;align-items:center;gap:20px;width:100%;max-width:none;grid-template-columns:none;padding-bottom:18px;border-bottom:1px solid #1b1b1b}
.yol-site .yol-search .yol-search__form input[type=search]{flex:1;min-width:0;padding:0;border:0;border-radius:0;background:transparent;color:inherit;font:500 calc(1.25rem + 2.6vw)/1.15 Arial,"Helvetica Neue",sans-serif;letter-spacing:-.015em;-webkit-appearance:none;appearance:none}
.yol-search__form input[type=search]::placeholder{color:rgba(0,0,0,.28)}
.yol-search__form input[type=search]:focus{outline:none}
.yol-search__form input[type=search]::-webkit-search-cancel-button,.yol-search__form input[type=search]::-webkit-search-decoration{-webkit-appearance:none;appearance:none}
.yol-site .yol-search .yol-search__form button{flex:none;display:grid;place-items:center;width:58px;height:58px;padding:0;border:0;border-radius:50%;background:#1b1b1b;color:#fff;cursor:pointer;transition:transform .5s var(--sr-ease),background-color .3s ease}
.yol-site .yol-search .yol-search__form button:hover{background:#333;transform:translateX(4px)}
[dir=rtl] .yol-site .yol-search .yol-search__form button:hover{transform:translateX(-4px)}
/* The icon sits alone in the circle: no text gap, 1px optical nudge against the arrow head. */
.yol-site .yol-search .yol-search__form button .yol-arrow{position:relative;margin:0;inset-inline-start:-1px}
.yol-search__form button:focus-visible{outline:1px solid #1b1b1b;outline-offset:3px}
@media(min-width:1967px){.yol-site .yol-search .yol-search__form button{width:72px;height:72px}}
@media(max-width:767px){.yol-search__body{padding-top:6vh}.yol-site .yol-search .yol-search__form{gap:12px;padding-bottom:14px}.yol-site .yol-search .yol-search__form input[type=search]{font-size:26px}.yol-site .yol-search .yol-search__form button{width:46px;height:46px}}

/* Suggestions (empty query) */
.yol-search__results{margin-top:52px}
.yol-search__suggest{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:40px 60px}
.yol-search__group h2,.yol-search__count{margin:0 0 18px;font-size:11px;line-height:16px;font-weight:500;letter-spacing:.16em;text-transform:uppercase;opacity:.55}
.yol-search__group ul{display:flex;flex-wrap:wrap;gap:10px;margin:0;padding:0;list-style:none}
.yol-site .yol-search__group a{display:inline-flex;align-items:center;height:40px;padding:0 18px;border:1px solid rgba(0,0,0,.18);border-radius:20px;color:inherit;text-decoration:none;font-size:14px;line-height:1;white-space:nowrap;transition:background-color .3s ease,border-color .3s ease,color .3s ease}
.yol-site .yol-search__group a:hover,.yol-site .yol-search__group a:focus-visible{background:#1b1b1b;border-color:#1b1b1b;color:#fff;outline:none}
@media(max-width:767px){.yol-search__results{margin-top:36px}.yol-search__suggest{grid-template-columns:minmax(0,1fr);gap:32px}.yol-site .yol-search__group a{height:36px;padding:0 14px;font-size:13px}}

/* Instant results */
.yol-search__list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px 32px;margin:0;padding:0;list-style:none}
.yol-site .yol-search__item{display:block;color:inherit;text-decoration:none}
.yol-search__thumb{display:block;position:relative;overflow:hidden;aspect-ratio:4/3;background:#e3e0db}
.yol-site .yol-search__thumb img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;transition:transform 1.2s var(--sr-ease)}
.yol-search__name{display:block;margin-top:14px;font-size:calc(1rem + .5vw);line-height:1.2;font-weight:500}
.yol-search__meta{display:block;margin-top:4px;font-size:13px;line-height:18px;opacity:.55}
.yol-site .yol-search__item:hover .yol-search__thumb img{transform:scale(1.04)}
.yol-search__item:focus{outline:none}
.yol-search__item:focus-visible .yol-search__thumb{outline:1px solid #1b1b1b;outline-offset:4px}
.yol-site .yol-search__all{display:inline-flex;align-items:center;gap:12px;margin-top:40px;color:inherit;text-decoration:none;font-size:12px;line-height:16px;letter-spacing:.14em;text-transform:uppercase;border-bottom:1px solid currentColor;padding-bottom:6px}
.yol-search__empty{margin:0;font-size:calc(1rem + .3vw);line-height:1.5;opacity:.7}
@media(max-width:1024px){.yol-search__list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){
  .yol-search__list{grid-template-columns:minmax(0,1fr);gap:14px}
  .yol-site .yol-search__item{display:grid;grid-template-columns:104px minmax(0,1fr);align-items:center;column-gap:16px}
  .yol-search__thumb{grid-row:1/3}
  .yol-search__name{margin-top:0;font-size:18px}
  .yol-search__meta{align-self:start}
  .yol-search__empty{font-size:16px}
}

/* Search results page */
.yol-shop-search__empty{padding:0 var(--shop-gutter) 140px}
.yol-shop-search__empty p{margin:0 0 20px;font-size:calc(1rem + .3vw);opacity:.7}
.yol-shop-search__empty ul{display:flex;flex-wrap:wrap;gap:10px;margin:0;padding:0;list-style:none}
.yol-site .yol-shop-search__empty a{display:inline-flex;align-items:center;height:40px;padding:0 18px;border:1px solid rgba(0,0,0,.18);border-radius:20px;color:inherit;text-decoration:none;font-size:14px;transition:background-color .3s ease,color .3s ease,border-color .3s ease}
.yol-site .yol-shop-search__empty a:hover{background:#1b1b1b;border-color:#1b1b1b;color:#fff}

@media(prefers-reduced-motion:reduce){.yol-site .yol-search:not([hidden]),.yol-site .yol-search:not([hidden]) .yol-search__body{animation:none}.yol-search__thumb img,.yol-search__close{transition:none}}
