/* Desi Shaadi & Co. — vendors by state (.vd-) + search results (.sr-); shared vendor card */
[data-ic] { display: inline-flex; }
[hidden] { display: none !important; }
.vd-ic .ic { width: 20px; height: 20px; color: var(--ink-2); }

/* state / category / city bar */
.vd-bar { display: grid; grid-template-columns: 1fr 1fr 1.1fr auto; gap: 10px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); }
.vd-cell { display: flex; align-items: center; gap: 12px; height: 54px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; cursor: text; min-width: 0; }
.vd-cell .lab { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.vd-cell .lab small { font-size: 11.5px; color: var(--mut); line-height: 1.2; }
.vd-cell select, .vd-cell input { border: 0; outline: 0; background: none; width: 100%; font-size: 15px; padding: 0; height: 22px; line-height: 22px; min-width: 0; }
.vd-cell select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234A4A52' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0 center; padding-right: 22px; }
.vd-cell input::placeholder { color: var(--mut-2); }
.vd-bar .btn { height: 54px; padding: 0 26px; }

/* browse by state */
.vd-states { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 20px; align-items: center; margin-top: 24px; }
.vd-states-h h3 { font-size: 24px; }
.vd-states-h p { color: var(--ink-2); font-size: 14.5px; margin-top: 2px; }
.vd-state-row { display: flex; gap: 10px; }
.vd-st { flex: 1; height: 38px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); white-space: nowrap; }
.vd-st:hover { border-color: var(--ink-2); }
.vd-st.on { background: var(--blush); border-color: var(--rose); color: var(--rose); box-shadow: 0 0 0 1px var(--rose) inset; }
.vd-st-all { flex: 1.3; position: relative; }
.vd-st-all select { width: 100%; height: 38px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; font-size: 14px; padding: 0 30px 0 0; text-align: center; text-align-last: center; appearance: none; outline: 0; }
.vd-st-all .ic { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; pointer-events: none; color: var(--ink-2); }

/* category row */
.vd-cats { display: flex; gap: 10px; margin-top: 26px; }
.vd-cat { flex: 1; height: 38px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; color: var(--ink); padding: 0 12px; }
.vd-cat:hover { border-color: var(--ink-2); }
.vd-cat.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.vd-cat .ic { width: 16px; height: 16px; }
.vd-cats .vd-more { position: relative; }
.vd-cats .vd-more .dd-m { position: absolute; top: 100%; right: 0; margin-top: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-2); padding: 8px; min-width: 220px; display: none; z-index: 20; }
.vd-cats .vd-more.open .dd-m { display: block; }
.vd-cats .vd-more .dd-m button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 10px 12px; border-radius: var(--r-sm); font-size: 14px; }
.vd-cats .vd-more .dd-m button:hover { background: var(--cream); }

/* filters + results */
.vd-two { margin-top: 26px; grid-template-columns: 236px minmax(0, 1fr); gap: 28px; }
.vd-filters .fg .fl .ic { margin-left: auto; }
.vd-filters .fl small { font-size: 12.5px; }
.vd-filters .inw .ic { width: 18px; height: 18px; }
.vd-filters .inw input[type="date"] { padding-right: 10px; color: var(--ink); }
.vd-filters .inw input[type="date"]:invalid, .vd-filters .inw input[type="date"]:not(:valid) { color: var(--mut); }
.vd-sort { width: auto; height: 40px; min-width: 170px; }
.lhead .tools .seg button .ic { width: 16px; height: 16px; }
.vd-foot { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.vd-foot .pager { margin: 22px 0; }
.vd-empty { grid-column: 1 / -1; padding: 60px 20px; text-align: center; border: 1px dashed var(--line); border-radius: var(--r); color: var(--ink-2); }
.vd-empty h3 { font-size: 28px; margin-bottom: 6px; }
/* the closing tile of the list: list your business (vendors.html + search.html) */
.vd-join { display: flex; flex-direction: column; justify-content: center; gap: 10px; min-height: 280px; padding: 26px 24px; border: 1px dashed var(--rose); border-radius: var(--r); background: var(--blush); color: var(--ink); text-decoration: none; }
.vd-join b { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.15; }
.vd-join p { color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.vd-join .btn { align-self: flex-start; margin-top: 6px; }
.vd-join:hover .btn { filter: brightness(.95); }
.vd-map { background: var(--cream); border-radius: var(--r); padding: 28px; min-height: 420px; }
.vd-map h3 { font-size: 26px; }
.vd-map p { color: var(--ink-2); margin-top: 4px; }
.vd-map ul { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.vd-map li { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; display: flex; align-items: center; gap: 10px; font-size: 14px; }
.vd-map li .ic { color: var(--rose); width: 16px; height: 16px; }
.vd-map li b { margin-left: auto; font-weight: 500; }

/* dsh.css .vc has no position, so its absolute .heart/.badge would escape the card */
.vc { position: relative; }

/* vendor card — vendors page */
.vc.vd-card .ph { aspect-ratio: 2 / 1; }
.vc.vd-card .vb { padding: 16px 18px 16px; }
.vc.vd-card h3 { font-size: 23px; }
.vc.vd-card .meta { margin-top: 8px; gap: 14px; }
.vc.vd-card .meta .pin { display: inline-flex; align-items: center; gap: 5px; }
.vc.vd-card .meta .rate .stars { color: var(--rose); }
.vc.vd-card .meta .rate .stars .ic { width: 14px; height: 14px; }
.vc.vd-card .row { margin-top: 10px; }
.vc.vd-card .from { font-size: 14.5px; }
.vc.vd-card .lnk { font-size: 13px; }
.vc.vd-card .badge { background: rgba(255,255,255,.92); color: var(--ink); }

/* vendor card — search page (distance, tags) */
.vc.sr-card .ph { aspect-ratio: 2 / 1; }
.vc.sr-card .vb { padding: 16px 18px 16px; }
.vc.sr-card h3 { font-size: 23px; }
.vc.sr-card .row { margin-top: 6px; }
.vc.sr-card .row .meta { gap: 5px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: inline-block; }
.vc.sr-card .row .meta .ic { vertical-align: -3px; margin-right: 4px; }
.vc.sr-card .row .from { white-space: nowrap; flex: none; }
.vc.sr-card .row .from { font-weight: 600; font-size: 15px; }
.vc.sr-card .rate { margin-top: 6px; font-size: 13.5px; }
.vc.sr-card .rate .stars .ic { width: 14px; height: 14px; }
.vc.sr-card .rate span { color: var(--ink-2); }
.vc.sr-card .foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.vc.sr-card .tags { margin: 0; gap: 4px; }
.vc.sr-card .tags .tag { height: 22px; padding: 0 8px; font-size: 11.5px; }
.vc.sr-card .lnk { color: var(--ink); font-size: 13px; font-weight: 600; flex: none; }

/* search results page */
.sr-hero { background: var(--cream); padding: 10px 0 36px; }
.sr-hero .crumbs { padding-top: 18px; }
.sr-hero h1 { font-size: 58px; text-align: center; margin-top: 8px; }
.sr-hero .sub { text-align: center; max-width: 980px; margin: 8px auto 0; font-size: 18px; }
.sr-sbar { max-width: 760px; margin: 28px auto 0; }
.sr-sbar .btn { padding: 0 42px; }
.sr-two { margin-top: 28px; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; }
.sr-filters { border: 0; padding: 0; border-radius: 0; background: none; }
.sr-filters .fh { border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 4px; }
.sr-filters .fh h3 { font-size: 26px; }
.sr-filters .fg { border-top: 0; border-bottom: 1px solid var(--line-2); padding: 14px 0 16px; }
.sr-filters .fg:last-child { border-bottom: 0; }
.sr-filters .fg .fl { font-size: 15px; }
.sr-filters .inw .ic { width: 16px; height: 16px; }
.sr-filters .sel + .sel { margin-top: 10px; }
.sr-filters .inw + .sel { margin-top: 10px; }
.sr-more { display: inline-block; margin-top: 10px; font-size: 13px; color: var(--rose); text-decoration: underline; text-underline-offset: 3px; }
.sr-range { position: relative; height: 24px; margin: 10px 0 2px; }
.sr-range .track { position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: var(--line); border-radius: 2px; }
.sr-range .fill { position: absolute; top: 11px; height: 2px; background: var(--rose); border-radius: 2px; }
.sr-range input[type="range"] { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 24px; margin: 0; background: none; appearance: none; pointer-events: none; outline: 0; }
.sr-range input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: transparent; }
.sr-range input[type="range"]::-webkit-slider-thumb { appearance: none; pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: var(--rose); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--rose); margin-top: -7px; cursor: pointer; }
.sr-range input[type="range"]::-moz-range-track { height: 2px; background: transparent; }
.sr-range input[type="range"]::-moz-range-thumb { pointer-events: auto; width: 14px; height: 14px; border-radius: 50%; background: var(--rose); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--rose); cursor: pointer; }
.sr-range-l { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-2); }
.sr-results .lhead { align-items: flex-start; }
.sr-results .lhead h2 { font-size: 40px; }
.sr-results .lhead .tools { margin-top: 6px; }
.sr-results .seg button { height: 44px; padding: 0 22px; }
.sr-results .seg button .ic { width: 18px; height: 18px; }
.sr-sort { width: auto; height: 44px; min-width: 150px; }
.sr-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.sr-foot .pager { margin: 14px 0 26px; }
.sr-foot .pager .arr { border-color: var(--line); color: var(--ink-2); }

@media (max-width: 1080px) {
  .vd-bar { grid-template-columns: 1fr 1fr; }
  .vd-states { grid-template-columns: 1fr; gap: 12px; }
  .vd-state-row, .vd-cats { flex-wrap: wrap; }
  .vd-st, .vd-cat { flex: 1 1 auto; }
  .vd-two, .sr-two { grid-template-columns: 1fr; gap: 24px; }
  .sr-hero h1 { font-size: 42px; }
  .vd-map ul { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .vd-bar { grid-template-columns: 1fr; padding: 10px; }
  .vd-bar .btn { width: 100%; }
  .vd-state-row, .vd-cats { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 6px; scrollbar-width: none; }
  .vd-state-row::-webkit-scrollbar, .vd-cats::-webkit-scrollbar { display: none; }
  .vd-st, .vd-cat { flex: none; padding: 0 16px; }
  .vd-st-all { flex: none; min-width: 130px; }
  .vd-cats { margin-top: 18px; }
  .lhead .tools { width: 100%; flex-wrap: wrap; }
  .vd-sort, .sr-sort { flex: 1; }
  .vd-foot, .sr-foot { flex-direction: column; align-items: center; }
  .sr-hero h1 { font-size: 34px; }
  .sr-hero .sub { font-size: 15.5px; }
  .sr-results .lhead h2 { font-size: 30px; }
  .vd-map ul { grid-template-columns: 1fr; }
  .vd-map { padding: 18px; min-height: 0; }
}
