/* Circle tiles (homepage shop-by and search browse) and the search sheet. */
.seere-tiles { display: flex; gap: 14px; margin: 0; padding: 4px 16px 10px; list-style: none; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: 16px; scrollbar-width: none; }
.seere-tiles::-webkit-scrollbar { display: none; }
.seere-tiles > li { flex: 0 0 auto; margin: 0; scroll-snap-align: start; }
.seere-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 88px; color: #241f1b; text-align: center; text-decoration: none; }
.seere-tiles--handloom .seere-tile { width: 100px; }
.seere-tile-circle { display: block; width: 76px; height: 76px; overflow: hidden; border: 2px solid #fff; border-radius: 50%; background: #e8dad4; box-shadow: 0 0 0 1px #d9c9bf; transition: box-shadow .15s ease; }
.seere-tile-circle img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.seere-tile-circle--swatch { background: var(--swatch,#cfc6bd); box-shadow: inset 0 0 0 1px rgba(0,0,0,.18), 0 0 0 1px #d9c9bf; }
.seere-tile-name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; font-size: 13px; font-weight: 500; line-height: 1.25; }
.seere-tile small { color: #7a6358; font-size: 11.5px; line-height: 1.2; }
.seere-tile:hover .seere-tile-circle { box-shadow: 0 0 0 2px var(--seere-wine,#6a1f2b); }
.seere-tile:focus-visible { outline: 3px solid var(--seere-wine,#6a1f2b); outline-offset: 4px; border-radius: 8px; }
@media (min-width: 768px) {
  /* Always one row: auto margins centre a short row and collapse to scrolling when it overflows. */
  .seere-rail { --seere-circle: 96px; }
  .seere-tiles { padding-inline: 24px; scroll-padding-inline: 24px; }
  .seere-tiles > li:first-child { margin-left: auto; }
  .seere-tiles > li:last-child { margin-right: auto; }
  .seere-tile { width: 112px; }
  .seere-tiles--handloom .seere-tile { width: 124px; }
  .seere-tile-circle { width: 96px; height: 96px; }
  .seere-tile-name { font-size: 14px; }
  .seere-tile small { font-size: 12px; }
  .seere-rail.can-prev .seere-rail-btn--prev, .seere-rail.can-next .seere-rail-btn--next { display: flex; }
  .seere-rail.can-next .seere-tiles { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 64px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 64px), transparent); }
  .seere-rail.can-prev .seere-tiles { -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 64px), transparent); mask-image: linear-gradient(to left, #000 calc(100% - 64px), transparent); }
  .seere-rail.can-prev.can-next .seere-tiles { -webkit-mask-image: linear-gradient(to right, transparent, #000 64px, #000 calc(100% - 64px), transparent); mask-image: linear-gradient(to right, transparent, #000 64px, #000 calc(100% - 64px), transparent); }
}
@media (min-width: 1024px) {
  .seere-rail { --seere-circle: 112px; }
  .seere-tile { width: 130px; }
  .seere-tiles--handloom .seere-tile { width: 140px; }
  .seere-tile-circle { width: 112px; height: 112px; }
  .seere-tile-name { font-size: 15px; }
  .seere-tile small { font-size: 12.5px; }
}
.seere-rail { position: relative; --seere-circle: 76px; }
.seere-rail-btn { position: absolute; top: calc(var(--seere-circle) / 2 + 4px); z-index: 2; display: none; align-items: center; justify-content: center; width: 40px; height: 40px; margin: -20px 0 0; padding: 0; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 2px 12px rgba(36,31,27,.28); color: #241f1b; cursor: pointer; }
.seere-rail-btn:hover { color: var(--seere-wine,#6a1f2b); }
.seere-rail-btn:focus-visible { outline: 3px solid var(--seere-wine,#6a1f2b); outline-offset: 2px; }
.seere-rail-btn--prev { left: 8px; }
.seere-rail-btn--next { right: 8px; }

/* Search sheet: full screen on phones, a centred panel on larger screens. */
html.seere-search-lock, html.seere-search-lock body { overflow: hidden; }
.seere-search { position: fixed; inset: 0; z-index: 1000; display: flex; justify-content: center; }
.seere-search[hidden] { display: none; }
.seere-search-backdrop { position: absolute; inset: 0; background: rgba(36,20,20,.5); opacity: 0; transition: opacity .2s ease; }
.seere-search-panel { position: relative; display: flex; flex-direction: column; width: 100%; height: 100%; background: #fff; opacity: 0; transform: translateY(14px); transition: opacity .2s ease, transform .22s ease; }
.seere-search.is-open .seere-search-backdrop { opacity: 1; }
.seere-search.is-open .seere-search-panel { opacity: 1; transform: none; }
.seere-search .seere-search-form { position: relative; display: flex; flex: none; align-items: center; gap: 10px; margin: 0; padding: 12px 16px; border-bottom: 1px solid #eadfd5; }
.seere-search .seere-search-field { position: relative; flex: 1 1 auto; min-width: 0; }
.seere-search .seere-search-icon { position: absolute; left: 16px; top: 50%; margin-top: -10px; color: #7a6358; pointer-events: none; }
.seere-search .seere-search-input { display: block; width: 100%; height: 48px; margin: 0; padding: 0 48px 0 44px; border: 1px solid transparent; border-radius: 999px; background: #f4eee8; box-shadow: none; color: #241f1b; font: inherit; font-size: 16px; -webkit-appearance: none; appearance: none; }
.seere-search .seere-search-input:focus { border-color: var(--seere-wine,#6a1f2b); outline: none; background: #fff; box-shadow: 0 0 0 3px rgba(106,31,43,.14); }
.seere-search .seere-search-input::-webkit-search-cancel-button { display: none; }
.seere-search .seere-search-clear { position: absolute; right: 8px; top: 50%; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin: -16px 0 0; padding: 0; border: 0; border-radius: 50%; background: #e4d9cf; box-shadow: none; color: #49302d; cursor: pointer; }
.seere-search .seere-search-clear[hidden] { display: none; }
.seere-search .seere-search-cancel { flex: none; min-height: 44px; margin: 0; padding: 0 4px; border: 0; background: transparent; box-shadow: none; color: var(--seere-wine,#6a1f2b); font: inherit; font-size: 15px; font-weight: 600; text-transform: none; cursor: pointer; }
.seere-search button:focus-visible, .seere-search a:focus-visible { outline: 3px solid var(--seere-wine,#6a1f2b); outline-offset: 2px; }
.seere-search-scroll { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 14px 0 28px; }
.seere-search-status { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); }
.seere-search-hint { margin: 0 16px 16px; color: #7a6358; font-size: 14px; line-height: 1.5; }
.seere-search-group { margin: 0 0 18px; }
.seere-search-group h3, .seere-search-links h3 { margin: 0 16px 8px; color: #8a5151; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.seere-search-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 16px 18px; }
.seere-search-chip { display: inline-flex; align-items: baseline; gap: 6px; padding: 8px 14px; border: 1px solid #d9c9bf; border-radius: 999px; background: #fff; color: #241f1b; font-size: 14px; text-decoration: none; }
.seere-search-chip small { color: #8a5151; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.seere-search-list { margin: 0; padding: 0 16px; list-style: none; }
.seere-search-list > li { margin: 0; border-bottom: 1px solid #f0e8e0; }
.seere-result { display: flex; align-items: center; gap: 14px; padding: 12px 0; color: #241f1b; text-decoration: none; }
.seere-result-thumb { flex: none; width: 56px; height: 84px; overflow: hidden; border-radius: 6px; background: #f1ebe4; }
.seere-result-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.seere-result-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.seere-result-body strong { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 15px; font-weight: 600; line-height: 1.3; }
.seere-result-body small { overflow: hidden; color: #7a6358; font-size: 13px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.seere-result-price { font-size: 14px; font-weight: 600; }
.seere-result-price del { color: #8b7d74; font-weight: 400; }
.seere-result-price em { margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: #efe4dc; color: #6a1f2b; font-size: 11px; font-style: normal; font-weight: 600; }
.seere-result.is-sold-out .seere-result-thumb img { opacity: .45; }
.seere-search-all { display: block; margin: 14px 16px 0; padding: 14px; border-radius: 999px; background: var(--seere-wine,#6a1f2b); color: #fff; font-weight: 600; text-align: center; text-decoration: none; }
.seere-search-empty { margin: 8px 16px 6px; font-size: 16px; font-weight: 600; }
.seere-search-results[hidden], .seere-search-browse[hidden] { display: none; }
@media (min-width: 768px) {
  .seere-search { align-items: flex-start; padding-top: 7vh; }
  .seere-search-panel { width: min(760px,92vw); height: auto; max-height: 84vh; border-radius: 18px; box-shadow: 0 30px 80px rgba(36,20,20,.35); }
  .seere-search-group .seere-tiles > li:first-child { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .seere-search-backdrop, .seere-search-panel { transition: none; } }
