/* =====================================================================================================
   Tailo shop: UI fixes (Oct 2026). Loaded LAST on every shop page, so these rules win over the older
   theme layers (tailo-theme / glass / organic / palette / light). Grouped by screen.
   ===================================================================================================== */

/* ---------- Home: "Shops" subtitle (left) under the Top rated / Closest to you switch ---------- */
.hv-shopsub { margin: 14px 2px 10px; text-align: left; font: 800 1.05rem/1.2 var(--hv-font, inherit); color: var(--hv-ink, #22201b); letter-spacing: -.01em; }
.hv-tile-img { position: relative; }
.hv-tile .hv-pp { display: none !important; }   /* the "₹349+" price pill is gone */

/* ---------- Header search: category picker sized to its word + list below at a fixed size ---------- */
.head-search .hc-pick { position: relative; flex: none; display: flex; align-items: center; margin-right: 6px; }
body .site-header .head-search .hc-btn, .head-search .hc-btn {
    all: unset; box-sizing: border-box; cursor: pointer;
    display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
    width: auto !important; height: 34px !important; min-width: 0; padding: 0 10px 0 12px !important;
    border-radius: 999px; background: var(--tl-leaf-soft, #e1f3ec) !important; color: var(--tl-leaf, #0e7c5a) !important;
    font: 700 13.5px/1 var(--hv-body, system-ui, sans-serif);
}
.head-search .hc-btn svg { width: 14px; height: 14px; flex: none; transition: transform .15s ease; }
.head-search .hc-pick.open .hc-btn svg { transform: rotate(180deg); }
.head-search .hc-btn:focus-visible { outline: 2px solid var(--tl-leaf, #0e7c5a); outline-offset: 2px; }
.head-search .hc-list {
    position: absolute; top: calc(100% + 8px); left: 0; z-index: 60;
    width: 200px; max-height: 260px; overflow-y: auto; overscroll-behavior: contain;
    margin: 0; padding: 6px; list-style: none;
    background: #fff; border: 1px solid var(--tl-line, #e4dccd); border-radius: 14px;
    box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .3);
}
.head-search .hc-list[hidden] { display: none; }
.head-search .hc-list li {
    padding: 10px 12px; border-radius: 10px; cursor: pointer;
    font: 600 14.5px/1.2 var(--hv-body, system-ui, sans-serif); color: var(--tl-ink, #22201b);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.head-search .hc-list li:hover { background: var(--tl-sunk, #f4ede1); }
.head-search .hc-list li[aria-selected="true"] { background: var(--tl-leaf-soft, #e1f3ec); color: var(--tl-leaf, #0e7c5a); }
/* the old <select> rule hid the picker between 761 and 960 px; keep the new one visible everywhere */
@media (min-width: 761px) and (max-width: 960px) { .head-search .hc-pick { display: flex; } }

/* no orange ring around the search box or the typing area when it is tapped */
.head-search:focus-within, body .site-header .head-search:focus-within { box-shadow: none !important; border-color: transparent !important; outline: 0 !important; }
.head-search input:focus, .head-search input:focus-visible,
.hv-search input:focus, .hv-search input:focus-visible,
.hv-search:focus-within { outline: 0 !important; box-shadow: none !important; }
.head-search input:focus, .hv-search input:focus { border-color: transparent !important; }

/* ---------- Services: filters ---------- */
.filters { padding: 0 !important; display: flex; flex-direction: column; }
.filters .f-head {
    position: sticky; top: 0; z-index: 2;
    display: flex; align-items: center; gap: 8px; padding: 16px 18px 12px;
    background: inherit; border-bottom: 1px solid var(--tl-line, #e4dccd);
}
.filters .f-head h3 { margin: 0 !important; flex: 1; font-size: 19px; }
.filters .f-reset {
    all: unset; cursor: pointer; padding: 6px 12px; border-radius: 999px;
    font: 700 14px/1 var(--hv-body, system-ui, sans-serif); color: var(--tl-madder, #c53a2f);
    background: var(--tl-madder-soft, #f9e1dd);
}
.filters .f-reset:focus-visible, .filters .f-close:focus-visible { outline: 2px solid var(--tl-leaf, #0e7c5a); outline-offset: 2px; }
.filters .f-close { all: unset; cursor: pointer; display: none; width: 34px; height: 34px; border-radius: 50%; place-items: center; color: var(--tl-ink-2, #4f4a40); background: var(--tl-sunk, #f4ede1); }
.filters .f-close svg { width: 18px; height: 18px; }
.filters .f-body { padding: 6px 18px 4px; overflow-y: auto; }
.filters .fgroup { margin: 0 !important; padding: 14px 0 !important; border-bottom: 1px dashed var(--tl-line-2, #cfc4b0) !important; border-top: 0 !important; }
.filters .gpick { display: flex; flex-wrap: wrap; gap: 8px; }
.filters .gpick button {
    margin: 0 !important; padding: 7px 16px !important; min-height: 0 !important; border-radius: 999px !important;
    border: 1.5px solid var(--tl-line-2, #cfc4b0) !important; background: var(--tl-card, #fffdf9) !important; color: var(--tl-ink-2, #4f4a40) !important;
    font: 700 14px/1.2 var(--hv-body, system-ui, sans-serif) !important; box-shadow: none !important; cursor: pointer;
}
.filters .gpick button.sel { background: var(--tl-leaf, #0e7c5a) !important; border-color: var(--tl-leaf, #0e7c5a) !important; color: #fff !important; }
.filters .fgroup:last-child { border-bottom: 0 !important; }
.filters .fgroup h4, .filters .f-label { display: block; margin: 0 0 9px !important; font: 800 13px/1.2 var(--hv-body, system-ui, sans-serif) !important; text-transform: uppercase; letter-spacing: .05em; color: var(--tl-ink-3, #6e685c) !important; }
.filters .f-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filters .f-chips .fopt, .filters .f-chips .flink {
    display: inline-flex !important; align-items: center; gap: 0 !important; width: auto !important;
    margin: 0 !important; padding: 7px 14px !important; min-height: 0 !important;
    border: 1.5px solid var(--tl-line-2, #cfc4b0) !important; border-radius: 999px !important;
    background: var(--tl-card, #fffdf9) !important; color: var(--tl-ink-2, #4f4a40) !important;
    font: 700 14px/1.2 var(--hv-body, system-ui, sans-serif) !important; cursor: pointer; box-shadow: none !important;
}
.filters .f-chips .fopt input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.filters .f-chips .fopt.on, .filters .f-chips .flink.on {
    background: var(--tl-leaf, #0e7c5a) !important; border-color: var(--tl-leaf, #0e7c5a) !important; color: #fff !important;
}
.filters .f-chips .fopt:has(input:focus-visible) { outline: 2px solid var(--tl-leaf, #0e7c5a); outline-offset: 2px; }
.filters .f-chips .see-more { padding: 7px 4px !important; }
.filters .fprice { display: flex !important; align-items: center; gap: 8px; margin-top: 10px; }
.filters .fprice input { flex: 1; min-width: 0; height: 40px; border-radius: 10px; }
.filters .fprice span { color: var(--tl-ink-3, #6e685c); font-size: 13px; }
.filters .f-foot { position: sticky; bottom: 0; padding: 12px 18px 16px; background: inherit; border-top: 1px solid var(--tl-line, #e4dccd); }
.filters .f-foot .btn { min-height: 48px; font-size: 16px; }
.f-backdrop { display: none; }

@media (max-width: 960px) {
    /* the filters become a sheet that slides up from the bottom */
    .filters, .filters.open {
        position: fixed !important; left: 0; right: 0; bottom: 0; top: auto !important; z-index: 10001;
        display: flex !important; max-height: 86vh !important; max-height: 86dvh !important;
        margin: 0 !important; border-radius: 22px 22px 0 0 !important; overflow: hidden !important;
        background: var(--tl-card, #fffdf9) !important;
        transform: translateY(105%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s;
        box-shadow: 0 -12px 40px -10px rgba(0, 0, 0, .35) !important;
    }
    .filters.open { transform: none; visibility: visible; transition: transform .25s ease; }
    .filters .f-head::before { content: ""; position: absolute; top: 6px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: var(--tl-line-2, #cfc4b0); }
    .filters .f-close { display: grid; }
    .filters .f-body { flex: 1; }
    .filters .f-foot { padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
    .f-backdrop { display: block; position: fixed; inset: 0; z-index: 10000; background: rgba(15, 25, 20, .45); }
    .f-backdrop[hidden] { display: none; }
    body.f-lock { overflow: hidden; }
    body.f-lock .tabbar, body.f-lock .cart-bar, body.f-lock .tsup-fab { visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) { .filters, .filters.open { transition: none !important; } }

/* results bar: tidy rows on a phone */
@media (max-width: 760px) {
    .results-bar > div { width: 100%; justify-content: flex-start !important; }
    .results-bar select { flex: 1 1 140px; min-width: 0; }
}

/* ---------- Service page: "Add to cart" (outlined, so "Order now" stays the main action) ---------- */
.btn.btn-cart {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: #fff !important; color: var(--tl-leaf, #0e7c5a) !important;
    border: 2px solid var(--tl-leaf, #0e7c5a) !important; box-shadow: none !important;
}
.btn.btn-cart svg { width: 19px; height: 19px; flex: none; }
.btn.btn-cart:hover { background: var(--tl-leaf-soft, #e1f3ec) !important; }
.btn.btn-cart:active { transform: translateY(1px); }

/* ---------- Help: a round button with a headset ---------- */
.tsup-fab {
    width: 54px !important; height: 54px !important; padding: 0 !important; border-radius: 50% !important;
    display: grid !important; place-items: center !important; gap: 0 !important; font-size: 0 !important;
    background: var(--tl-haldi, #f28b3d) !important; color: #fff !important;
    border: 3px solid #fff !important; box-shadow: 0 8px 20px -6px rgba(0, 0, 0, .35) !important;
}
.tsup-fab svg { width: 26px; height: 26px; }
.tsup-fab .tsup-sr, .sr-tsup { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 760px) { .tsup-fab { width: 48px !important; height: 48px !important; right: 14px !important; } .tsup-fab svg { width: 23px; height: 23px; } }

/* ---------- Checkout ---------- */
/* summary rows: label on the left, value on the right, never squeezed into two columns */
.sum-row { align-items: baseline; }
.sum-row > span:first-child { flex: 1 0 auto; max-width: 70%; }
.sum-row > span:last-child { flex: 0 1 auto; min-width: 0; text-align: right; }
.cx-side .sum-row.total { align-items: center; }

/* "Deliver to" / "Visit window" in the summary: padded, with an icon, never touching the border */
.cx-side .side-info {
    display: flex; gap: 12px; align-items: flex-start;
    margin-top: 12px; padding: 12px 14px;
    background: var(--tl-sunk, #f4ede1); border: 0 !important; border-radius: 14px; box-shadow: none !important;
}
.cx-side .side-info .si-ic { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--tl-leaf, #0e7c5a); }
.cx-side .side-info .si-ic svg { width: 17px; height: 17px; }
.cx-side .side-info h4 { margin: 0 0 2px !important; font-size: 13px !important; text-transform: uppercase; letter-spacing: .05em; color: var(--tl-ink-3, #6e685c) !important; }
.cx-side .side-info .meta { font-size: 14px; line-height: 1.45; color: var(--tl-ink-2, #4f4a40); overflow-wrap: anywhere; }
.cx-side .side-info .meta b { color: var(--tl-ink, #22201b); }
.cx-side .note { margin-top: 12px; }

/* Back / Next row: never wider than the screen */
.cx-actions { flex-wrap: nowrap !important; }
.cx-actions .btn { white-space: nowrap; }
.cx-actions .btn-ghost { flex: none; }
.cx-actions .cx-next { min-width: 140px; }
@media (max-width: 480px) { .cx-actions .cx-next { flex: 1; } }
.cx-side .cx-next { width: 100%; }

/* saved size profiles: tappable chips inside one tidy card */
.profile-pick {
    margin: 14px 0 6px; padding: 14px; border-radius: 16px;
    background: var(--tl-leaf-soft, #e1f3ec); border: 1px solid color-mix(in srgb, var(--tl-leaf, #0e7c5a) 22%, transparent);
}
.profile-pick .sp-head { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.profile-pick .sp-ic { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #fff; color: var(--tl-leaf, #0e7c5a); }
.profile-pick .sp-ic svg { width: 18px; height: 18px; }
.profile-pick .sp-head b { display: block; font-size: 15px; color: var(--tl-forest, #0b4f3c); }
.profile-pick .sp-head small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--tl-ink-2, #4f4a40); }
.profile-pick .sp-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.profile-pick .sp-chip {
    position: relative; display: flex; align-items: center; gap: 10px; cursor: pointer; min-width: 0;
    padding: 10px 12px; border-radius: 14px; background: #fff; border: 1.5px solid var(--tl-line-2, #cfc4b0);
    font: 600 14px/1.25 var(--hv-body, system-ui, sans-serif); color: var(--tl-ink-2, #4f4a40);
    transition: border-color .15s, box-shadow .15s, background .15s;
}
.profile-pick .sp-chip:hover { border-color: var(--tl-leaf, #0e7c5a); }
.profile-pick .sp-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.profile-pick .sp-av {
    flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
    background: var(--tl-mint, #e3f1ea); color: var(--tl-forest, #0b4f3c); font: 800 15px/1 var(--hv-body, system-ui, sans-serif);
}
.profile-pick .sp-av svg { width: 17px; height: 17px; }
.profile-pick .sp-txt { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.profile-pick .sp-txt b { font-size: 14.5px; color: var(--tl-forest, #0b4f3c); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.profile-pick .sp-txt small { font-size: 12.5px; font-weight: 600; color: var(--tl-ink-2, #6b6457); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.profile-pick .sp-chip.on, .profile-pick .sp-chip:has(input:checked) {
    background: var(--tl-mint, #e8f4ee); border-color: var(--tl-leaf, #0e7c5a); box-shadow: 0 0 0 2px var(--tl-leaf, #0e7c5a) inset;
}
.profile-pick .sp-chip.on .sp-av, .profile-pick .sp-chip:has(input:checked) .sp-av { background: var(--tl-leaf, #0e7c5a); color: #fff; }
.profile-pick .sp-chip:has(input:focus-visible) { outline: 2px solid var(--tl-forest, #0b4f3c); outline-offset: 2px; }

/* step 6 "Please check your order": label on the left, details on the right, all lined up */
.rev-block.rev-kv { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 4px 14px; align-items: start; padding: 12px 0 !important; background: none !important; border-left: 0 !important; border-right: 0 !important; border-bottom: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.rev-block.rev-kv h4 { margin: 0 !important; padding-top: 1px; font-size: 13px !important; text-transform: uppercase; letter-spacing: .05em; color: var(--tl-ink-3, #6e685c) !important; }
.rev-block.rev-kv .rev-v { display: flex; flex-direction: column; gap: 2px; font-size: 15px; line-height: 1.45; color: var(--tl-ink-2, #4f4a40); overflow-wrap: anywhere; }
.rev-block.rev-kv .rev-v b { color: var(--tl-ink, #22201b); }
@media (max-width: 420px) { .rev-block.rev-kv { grid-template-columns: 1fr; } }

/* order placed: "Track my orders" and "Keep shopping" spaced and lined up */
.done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.done-actions .btn { margin: 0 !important; min-width: 200px; }
@media (max-width: 480px) { .done-actions { flex-direction: column; align-items: stretch; } .done-actions .btn { width: 100%; } }

/* ---------- Orders: cancel ---------- */
.oc-cancel { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0; padding: 12px 70px 16px 20px; border-top: 1px dashed var(--tl-line-2, #cfc4b0); }
.oc.open .oc-cancel { margin-top: -50px; }   /* the open card keeps room for the arrow at its bottom: sit inside that room */
.oc-cancel .note { margin: 0; flex: 1 1 200px; font-size: 13px; }
.btn.btn-cancel { background: #fff !important; color: var(--tl-madder, #c53a2f) !important; border: 1.5px solid var(--tl-madder, #c53a2f) !important; box-shadow: none !important; }
.btn.btn-cancel:hover { background: var(--tl-madder-soft, #f9e1dd) !important; }
.cx-dialog-back { position: fixed; inset: 0; z-index: 10002; display: grid; place-items: end center; background: rgba(15, 25, 20, .45); padding: 0; }
@media (min-width: 640px) { .cx-dialog-back { place-items: center; padding: 20px; } }
.cx-dialog { width: 100%; max-width: 460px; max-height: 90vh; overflow-y: auto; background: var(--tl-card, #fffdf9); border-radius: 22px 22px 0 0; padding: 20px 20px calc(20px + env(safe-area-inset-bottom)); box-shadow: 0 -10px 40px -10px rgba(0, 0, 0, .35); }
@media (min-width: 640px) { .cx-dialog { border-radius: 22px; } }
.cx-dialog h3 { margin: 0 0 6px; font-size: 20px; }
.cx-dialog p { margin: 0 0 12px; color: var(--tl-ink-2, #4f4a40); }
.cx-dialog .reasons { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.cx-dialog .reasons label { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; border: 1.5px solid var(--tl-line-2, #cfc4b0); cursor: pointer; font-weight: 600; font-size: 14px; }
.cx-dialog .reasons label:has(input:checked) { border-color: var(--tl-madder, #c53a2f); background: var(--tl-madder-soft, #f9e1dd); color: var(--tl-madder, #c53a2f); }
.cx-dialog .row { display: flex; gap: 10px; margin-top: 14px; }
.cx-dialog .row .btn { flex: 1; }

/* every block inside "Please check your order" (and the order-placed card) is a plain row with a divider,
   not a box inside a box whose text touches the border */
.card .rev-block, .success-box .rev-block {
    background: none !important; box-shadow: none !important; border: 0 !important; border-radius: 0 !important;
    border-top: 1px dashed var(--tl-line-2, #cfc4b0) !important; padding: 12px 0 !important; margin: 0 !important;
}
.card .rev-block h4 { color: var(--tl-forest, #0b4f3c); }
.card .fee-box { margin-top: 12px; padding: 14px 16px !important; }
.cx-actions #placeBtn { flex: 1 1 auto; min-width: 0; white-space: normal; line-height: 1.25; }

.btn.btn-danger-solid { background: var(--tl-madder, #c53a2f) !important; color: #fff !important; border: 0 !important; box-shadow: none !important; }
.cx-dialog-back { background: rgba(15, 25, 20, .5) !important; }

/* ---------- "Order from any tailor shop" ---------- */
.sr-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
@media (max-width: 900px) { .sr-layout { grid-template-columns: minmax(0, 1fr); } }
.sr-card { padding: 18px !important; margin-bottom: 16px; }
.sr-card h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 19px; }
.sr-n { display: inline-grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--tl-leaf, #0e7c5a); color: #fff; font-size: 14px; font-weight: 800; }
.sr-maprow { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 10px; }
.sr-map { height: 260px; border-radius: 14px; overflow: hidden; border: 1px solid var(--tl-line, #e4dccd); }
.sr-toggles { display: grid; gap: 10px; margin-bottom: 14px; }
.sr-tog { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--tl-line-2, #cfc4b0); background: var(--tl-card, #fffdf9); cursor: pointer; }
.sr-tog input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--tl-leaf, #0e7c5a); }
.sr-tog b { display: block; font-size: 15px; color: var(--tl-ink, #22201b); }
.sr-tog small { display: block; margin-top: 2px; font-size: 13px; color: var(--tl-ink-3, #6e685c); }
.sr-tog:has(input:checked) { border-color: var(--tl-leaf, #0e7c5a); background: var(--tl-leaf-soft, #e1f3ec); }
.sr-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.sr-chips .fopt { position: relative; display: inline-flex; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--tl-line-2, #cfc4b0); background: var(--tl-card, #fffdf9); font-weight: 700; font-size: 14px; cursor: pointer; }
.sr-chips .fopt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sr-chips .fopt.on, .sr-chips .fopt:has(input:checked) { background: var(--tl-leaf, #0e7c5a); border-color: var(--tl-leaf, #0e7c5a); color: #fff; }
.sr-side { position: sticky; top: 100px; }
@media (max-width: 900px) { .sr-side { position: static; } }
.sr-steps { margin: 4px 0 14px; padding-left: 20px; display: grid; gap: 6px; font-size: 14.5px; color: var(--tl-ink-2, #4f4a40); }

/* the request's place on My orders */
.sj-wrap { margin-bottom: 24px; }
.sj-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.sj-head h2 { margin: 0; font-size: 20px; }
.sj-card { padding: 16px 18px !important; margin-bottom: 12px; }
.sj-card h3 { margin: 8px 0 2px; font-size: 18px; }
.sj-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; }
.sj-track { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin: 12px 0; padding: 0; list-style: none; }
.sj-track li { height: 6px; border-radius: 6px; background: var(--tl-line, #e4dccd); }
.sj-track li.done { background: var(--tl-leaf, #0e7c5a); }
.sj-track li.now { background: var(--tl-haldi, #f28b3d); }
.sj-quote { margin-top: 12px; padding: 14px; border-radius: 14px; background: var(--tl-sunk, #f4ede1); }
.sj-quote h4 { margin: 0 0 6px; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--tl-ink-3, #6e685c); }
.sj-quote p { margin: 0 0 8px; color: var(--tl-ink, #22201b); white-space: pre-line; }
.oc-cancel.sj-cancel { padding: 12px 0 0 !important; margin-top: 12px !important; }

/* home: "your tailor is not on Tailo?" */
.hv-anyshop { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 16px 18px; border-radius: 18px; background: var(--tl-forest, #0b4f3c); color: #fff; text-decoration: none; }
.hv-anyshop .ic { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, .14); }
.hv-anyshop .ic svg { width: 26px; height: 26px; }
.hv-anyshop b { display: block; font-size: 16.5px; }
.hv-anyshop span { display: block; font-size: 13.5px; opacity: .85; margin-top: 2px; }
.hv-anyshop .go { margin-left: auto; flex: none; padding: 8px 14px; border-radius: 999px; background: var(--tl-haldi, #f28b3d); color: #2b1405; font-weight: 800; font-size: 14px; }
@media (max-width: 480px) { .hv-anyshop .go { display: none; } }
.sj-card .next-step { margin: 10px 0 !important; }

/* ---------- My account: profile and password side by side, addresses and sizes full width below ---------- */
.account-grid.account-grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }

/* ---------- Tablet header (761-1100 px): the search got squeezed to "Search blo". Logo, Men/Women/All and the
   round icons on the first row, the search across the whole second row. ---------- */
@media (min-width: 761px) and (max-width: 1100px) {
    body .site-header .header-row {
        display: grid !important; grid-template-columns: auto minmax(0, 1fr) auto auto auto; align-items: center;
        grid-template-areas: "logo mode cart user menu" "search search search search search";
        column-gap: 12px; row-gap: 10px; height: auto !important; padding-top: 10px; padding-bottom: 12px;
    }
    body .site-header .header-row::before { display: none !important; }
    body .site-header .header-row:not(:has(.user-menu)) { grid-template-columns: auto minmax(0, 1fr) auto auto; grid-template-areas: "logo mode cart menu" "search search search search"; }
    body .site-header .header-actions { display: contents; }
    body .site-header .header-spacer { display: none !important; }
    body .site-header .logo { grid-area: logo; }
    body .site-header .head-search { grid-area: search; width: 100%; max-width: none !important; margin: 0; }
    body .site-header .mode-switch { grid-area: mode; justify-self: end; margin: 0; }
    body .site-header .cart-btn { grid-area: cart; }
    body .site-header .user-menu { grid-area: user; position: relative; }
    body .site-header .menu-toggle { grid-area: menu; }
}

/* ---------- small alignment fixes found across the pages ---------- */
/* home: the four section tabs fit on a 320-360 px phone now that they are text only */
.hv-sections a { justify-content: center; text-align: center; white-space: nowrap; }
@media (max-width: 400px) { .hv-sections { gap: 4px; } .hv-sections a { padding-left: 6px !important; padding-right: 6px !important; font-size: 14px !important; } }
/* home quick picks: the text used three short lines next to the picture */
.hv-pick b, .hv-pick span { max-width: 75%; }
/* My orders: "+ New request" stays on one line */
.sj-head .link-btn { white-space: nowrap; flex: none; }
.sj-head h2 { min-width: 0; }
/* Designs page bar on phones: the two drop-downs share the row without cutting their text */
@media (max-width: 760px) {
    .results-bar select { font-size: 15px; padding-left: 12px; padding-right: 28px; text-overflow: ellipsis; }
}
/* tailor page: the facts row wraps instead of being cut at the right edge */
.ts-tags { flex-wrap: wrap; overflow: visible; }
/* checkout step label uses the same font as the rest of the page */
.cx-now { font-family: inherit !important; }
/* fabric store: "Sort" sits with the other filters instead of a full-width row */
.fab-filters { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); align-items: end; border-radius: 18px !important; }
.fab-filters > div { min-width: 0 !important; }
.fab-filters .field { margin: 0; }
@media (max-width: 420px) { .fab-filters { grid-template-columns: 1fr 1fr; } .fab-filters .field:first-child { grid-column: 1 / -1; } }

/* ---- Payment step: "Please check your order" and "When will it reach you?" (Oct 2026) ---- */
.rev-card { padding: 18px !important; margin-top: 16px; }
.rev-card > h3 { font-size: 18px; margin: 0 0 12px; }
.rev-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.rev-tile { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px;
    background: var(--tl-cream-2, #f6f1e7); border: 1px solid var(--tl-line, #e6dccb); min-width: 0; }
.rev-ic { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
    background: #fff; color: var(--tl-leaf, #0e7c5a); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.rev-ic svg { width: 18px; height: 18px; }
.rev-tv { min-width: 0; display: flex; flex-direction: column; gap: 2px; line-height: 1.4; }
.rev-tv small { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--tl-ink-3, #6e685c); }
.rev-tv b { font-size: 15.5px; color: var(--tl-ink, #22201b); }
.rev-tv span { font-size: 14px; color: var(--tl-ink-2, #4f4a40); overflow-wrap: anywhere; }
.rev-items { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.rev-item { padding: 12px 14px; border-radius: 14px; border: 1px dashed var(--tl-line-2, #cfc4b0); }
.rev-item-h { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.rev-item-h b { color: var(--tl-forest, #0b4f3c); font-size: 15px; }
.rev-item-h span { font-weight: 700; color: var(--tl-ink-2, #4f4a40); }
.rev-item .meta { margin-top: 2px; }
.rev-card .fee-box { margin: 14px 0 0 !important; }
.eta-card { padding: 18px !important; margin-top: 16px; }
.eta-card:empty { display: none; }
.eta-card .eta-h { font-size: 18px; margin: 0 0 4px; }
.eta-card .eta-box { margin: 12px 0 0; }
.eta-card > p { margin: 12px 0 0; }
@media (max-width: 420px) { .rev-card, .eta-card { padding: 14px !important; } .rev-tiles { grid-template-columns: 1fr; } }

/* ---- Top rated tiles: "Shop" tag top-left, rating top-right (Oct 2026) ---- */
.hv-tile-img { position: relative; }
.hv-tile-img .hv-kind {
    position: absolute; top: 10px; left: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 5px;
    padding: 4px 10px 4px 8px; border-radius: 999px; background: var(--tl-forest, #0b4f3c); color: #fff;
    font: 800 12.5px/1.2 var(--hv-body, system-ui, sans-serif); letter-spacing: .02em; box-shadow: 0 2px 6px rgba(0,0,0,.18);
}
.hv-tile-img .hv-kind svg { width: 15px; height: 15px; }
.hv-tile-img .hv-rate { left: auto !important; right: 10px !important; }

/* ---- "Add to cart": solid green so it reads as a real button next to the gold "Order now" ---- */
.btn.btn-cart {
    background: var(--tl-leaf, #0e7c5a) !important; color: #fff !important;
    border: 2px solid var(--tl-leaf, #0e7c5a) !important; box-shadow: 0 3px 10px rgba(14, 124, 90, .25) !important;
}
.btn.btn-cart:hover { background: var(--tl-forest, #0b4f3c) !important; border-color: var(--tl-forest, #0b4f3c) !important; }
.quick-add { border-color: var(--tl-leaf, #0e7c5a) !important; color: var(--tl-leaf, #0e7c5a) !important; background: var(--tl-mint, #e8f4ee) !important; }
.quick-add:hover { background: var(--tl-leaf, #0e7c5a) !important; color: #fff !important; }
.quick-add.done { background: var(--tl-leaf, #0e7c5a) !important; color: #fff !important; }

/* ---- Help button: a true circle with the help bubble icon (Oct 2026) ---- */
.tsup-fab {
    width: 56px !important; height: 56px !important; min-width: 0 !important; padding: 0 !important; aspect-ratio: 1 / 1;
    border-radius: 50% !important; display: grid !important; place-items: center !important; gap: 0 !important;
    background: var(--tl-haldi, #f28b3d) !important; color: #fff !important; border: 3px solid #fff !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .28) !important;
}
.tsup-fab:hover { background: #e0762a !important; }
.tsup-fab svg { width: 27px !important; height: 27px !important; }
@media (max-width: 760px) { .tsup-fab { width: 50px !important; height: 50px !important; } .tsup-fab svg { width: 24px !important; height: 24px !important; } }

/* ---- Home: "See all tailor shops" after the first 36 (Oct 2026) ---- */
#hvMore { text-align: center; }
#hvMore a.hv-morebtn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px;
    border-radius: 999px; font-weight: 800; text-decoration: none; color: var(--tl-forest, #0b4f3c); }
#hvMore .hv-morenote { margin: 8px 0 0; font-size: 13px; color: var(--tl-ink-3, #6e685c); }
