:root {
  --kalki-ink: #0f0d1a;
  --kalki-muted: #4f4f4f;
  --kalki-line: #e6e6e6;
  --kalki-bg: #f7f6f4;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--kalki-bg);
  color: var(--kalki-ink);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
}
.kalki-header {
  background: #111;
  color: #fff;
  padding: 18px 16px 22px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.kalki-brand {
  font-size: 13px;
  letter-spacing: 0.28em;
  margin: 0 auto 14px;
  width: 100%;
  max-width: 720px;
}
.search_main_new {
  display: flex;
  align-items: center;
  height: 42px;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  border-radius: 5px;
  background: rgba(221, 221, 221, 0.4);
  position: relative;
}
.search_main_new .field { flex: 1; height: 100%; position: relative; }
.search__input {
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 0 12px;
  font: inherit;
  font-size: 14px;
  outline: none;
}
.search__input::placeholder { color: rgba(255,255,255,0.72); }
.search_main_right_new {
  width: 40px;
  height: 100%;
  background: #000;
  border: 0;
  border-radius: 0 4px 4px 0;
  color: #fff;
  cursor: pointer;
}
.kalki-panel {
  position: absolute;
  z-index: 20;
  top: 48px;
  left: 0;
  right: 0;
  background: #fff;
  color: var(--kalki-ink);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.16);
  padding: 8px;
  max-height: 70vh;
  overflow: auto;
}
.kalki-results-count { margin: 0 0 8px; }
.kalki-hit {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 8px;
  text-decoration: none;
  color: inherit;
  border-radius: 6px;
}
.kalki-hit.is-active, .kalki-hit:hover { background: #f3f1ee; }
.kalki-swatch { width: 48px; height: 64px; border-radius: 4px; background: #ddd; display: block; }
.kalki-swatch-pink { background: #e7a3b5; }
.kalki-swatch-red { background: #8e2f3a; }
.kalki-swatch-white { background: #f4efe6; border: 1px solid #e4e0d8; }
.kalki-swatch-blue { background: #31557a; }
.kalki-swatch-green { background: #2f6b4f; }
.kalki-swatch-purple { background: #b7a4c9; }
.kalki-swatch-black { background: #1c1c1c; }
.kalki-swatch-gold { background: #c4a35a; }
.kalki-hit-title { display: block; font-size: 14px; }
.kalki-hit-meta, .kalki-hit-price { color: var(--kalki-muted); font-size: 12px; }
[data-kalki-results]:not(:empty) {
  background: #fff;
  border-radius: 8px;
  padding: 8px 8px 4px;
}
.kalki-wrap { max-width: 720px; margin: 0 auto; padding: 20px 16px 48px; }
.kalki-examples { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 16px; }
.kalki-examples button {
  border: 1px solid var(--kalki-line);
  background: #fff;
  border-radius: 99px;
  padding: 8px 12px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.kalki-note { font-size: 13px; color: var(--kalki-muted); line-height: 1.5; }
.kalki-photo { width: 48px; height: 64px; object-fit: cover; border-radius: 4px; display: block; background: #eee; }
.kalki-see-all { display: block; padding: 12px 8px 8px; font-size: 13px; color: inherit; }
.kalki-brand { color: inherit; text-decoration: none; }
body[data-kalki-page="listing"] .kalki-wrap { max-width: 1280px; }
.kalki-plp { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: start; }
.kalki-plp:has(.kalki-facets[hidden]) { grid-template-columns: minmax(0, 1fr); }
.kalki-main { min-width: 0; }
.kalki-facets { position: sticky; top: 12px; max-height: calc(100vh - 24px); overflow: auto; padding-right: 8px; }
.kalki-filters-title { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; }
.kalki-applied { border: 1px solid #ececec; background: #f7f7f7; padding: 12px; margin: 0 0 16px; }
.kalki-applied-title { margin: 0 0 10px; font-size: 13px; font-weight: 600; }
.kalki-applied-item { margin: 0 0 10px; }
.kalki-applied-head { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 600; }
.kalki-applied-head button { border: 0; background: none; padding: 0; font-size: 16px; line-height: 1; cursor: pointer; }
.kalki-applied-value { font-size: 13px; }
.kalki-clear { display: inline-block; margin-top: 2px; font-size: 13px; color: inherit; text-decoration: underline; }
.kalki-heading { display: flex; align-items: baseline; gap: 10px; margin: 0 0 14px; }
.kalki-heading h1 { margin: 0; font-size: 18px; font-weight: 600; }
.kalki-heading span { color: #6d6d6d; font-size: 14px; }
.kalki-toolbar { display: flex; justify-content: space-between; gap: 16px; margin: 0 0 18px; }
.kalki-top-facets { display: flex; flex-wrap: wrap; gap: 10px; }
.kalki-chip { position: relative; }
.kalki-chip summary { list-style: none; cursor: pointer; border: 1px solid #2e2e33; border-radius: 20px; padding: 6px 28px 6px 14px; font-size: 14px; background: #fff; }
.kalki-chip-panel { position: absolute; z-index: 5; top: calc(100% + 6px); left: 0; min-width: 220px; max-height: 280px; overflow: auto; background: #fff; border: 1px solid #e5e5e5; border-radius: 8px; padding: 10px 12px; }
.kalki-sort { display: flex; align-items: center; gap: 8px; margin-left: auto; font-size: 13px; }
.kalki-sort select { font: inherit; padding: 8px 10px; }
.kalki-facet { border-bottom: 1px solid #ececec; }
.kalki-facet summary { cursor: pointer; display: flex; justify-content: space-between; padding: 14px 0; font-size: 15px; font-weight: 500; list-style: none; }
.kalki-facet summary::after { content: "+"; }
.kalki-facet[open] summary::after { content: "−"; }
.kalki-choice, .kalki-price-option { display: flex; width: 100%; background: none; border: 0; padding: 4px 0; font: inherit; font-size: 13px; cursor: pointer; text-align: left; }
.kalki-choice em { margin-left: auto; color: #8a8a8a; font-style: normal; }
.kalki-choice.is-selected, .kalki-price-option.is-selected { font-weight: 600; }
.kalki-choice.is-extra { display: none; }
.kalki-facet-body.is-expanded .kalki-choice.is-extra { display: flex; }
.kalki-price-range { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
.kalki-price-range input { width: 78px; padding: 8px; font: inherit; }
.kalki-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.kalki-pill { border: 1px solid #d7d7d7; border-radius: 20px; background: #fff; padding: 6px 12px; font: inherit; font-size: 13px; cursor: pointer; }
.kalki-pill.is-extra { display: none; }
.kalki-pills.is-expanded .kalki-pill.is-extra { display: inline-flex; }
.kalki-pill.is-selected { background: #111; color: #fff; border-color: #111; }
.kalki-more { background: none; border: 0; padding: 8px 0 0; font: inherit; cursor: pointer; }
.kalki-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 14px; row-gap: 28px; }
.kalki-grid .kalki-notice, .kalki-grid .kalki-empty { grid-column: 1 / -1; }
.kalki-card-media { position: relative; display: block; }
.kalki-gallery { position: relative; }
.kalki-card-photo { width: 100%; aspect-ratio: 3 / 4.15; object-fit: cover; display: block; background: #f4f1ee; }
.kalki-gallery-nav { position: absolute; top: 50%; width: 28px; height: 28px; margin-top: -14px; border: 0; border-radius: 50%; background: #fff; cursor: pointer; }
.kalki-gallery-prev { left: 8px; }
.kalki-gallery-next { right: 8px; }
.kalki-gallery-dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.kalki-gallery-dots button { width: 8px; height: 8px; border: 0; border-radius: 50%; background: #fff; }
.kalki-gallery-dots button.is-active { background: #111; }
.kalki-card-badge { position: absolute; top: 10px; left: 10px; background: #fff; border-radius: 4px; padding: 4px 8px; font-size: 11px; }
.kalki-card-heart { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; }
.kalki-card-title { display: block; margin-top: 8px; color: inherit; text-decoration: none; font-size: 13px; }
.kalki-card-price { margin: 4px 0 0; font-size: 14px; font-weight: 600; }
.kalki-card-price.is-sale { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.kalki-card-price s { color: rgba(15, 13, 26, 0.5); font-size: 13px; font-weight: 500; text-decoration: line-through; }
.kalki-card-price em { font-style: normal; font-size: 13px; font-weight: 500; color: #cc2936; }
.kalki-card-ship { margin: 4px 0 0; font-size: 12px; }
.kalki-card-ship.is-ready { color: #1d7a45; }
@media (max-width: 900px) {
  .kalki-plp, .kalki-grid { grid-template-columns: 1fr; }
  .kalki-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kalki-facets { position: static; max-height: none; }
}
.kalki-suggest {
  position: fixed;
  left: 50%;
  z-index: 30;
  transform: translateX(-50%);
  width: min(1180px, calc(100vw - 32px));
  max-height: min(78vh, 760px);
  overflow: auto;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 28px;
  padding: 22px 28px 32px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 13, 26, 0.18);
}
.kalki-suggest[hidden] { display: none; }
.kalki-suggest-label { margin: 18px 0 8px; color: #8a8494; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; }
.kalki-suggest-label:first-child { margin-top: 0; }
.kalki-suggest-side button { display: block; width: 100%; margin: 0; padding: 7px 0; border: 0; background: none; color: inherit; font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.kalki-suggest-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.kalki-suggest-card { color: inherit; text-decoration: none; }
.kalki-suggest-card img, .kalki-suggest-photo { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: #f3f1f4; }
.kalki-suggest-card p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 8px 0 0; font-size: 13px; line-height: 1.35; }
.kalki-suggest-price { font-weight: 600; }
.kalki-suggest-price s { margin-left: 6px; color: rgba(15, 13, 26, 0.5); font-weight: 500; }
.kalki-suggest-price em { margin-left: 6px; color: #cc2936; font-style: normal; font-weight: 500; }
@media (max-width: 700px) {
  .kalki-header { padding: 14px 12px 16px; }
  .kalki-hit { grid-template-columns: 40px 1fr; }
  .kalki-hit-price { grid-column: 2; }
  .kalki-suggest { grid-template-columns: 1fr; }
  .kalki-suggest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
