/* Snowcat For Sale · Corduroy: a bright, app-like marketplace in blue. The home page, header and footer are this
   theme's own; the rest restyles Yummo's pages (listings, ads, posting, accounts). */
:root {
    --cd-bg: #fff; --cd-soft: #f3f6fa; --cd-line: #e3e8ef; --cd-ink: #0f1720; --cd-ink-2: #47515e; --cd-ink-3: #667085;
    --cd-blue: #1f8ef1; --cd-blue-d: #1677d2; --cd-blue-dd: #1166c6; --cd-blue-s: #e8f3fe; --cd-night: #141414; --cd-mint: #7cf0b0;
    --cd-r: 18px; --cd-shadow: 0 1px 2px rgba(15,23,32,.05), 0 14px 32px -18px rgba(15,23,32,.25);
}
html, body { overflow-x: hidden; }
body.corduroy { margin: 0; padding: 0; background: var(--cd-bg); color: var(--cd-ink); font: 400 15px/1.5 'Plus Jakarta Sans', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
body.corduroy h1, body.corduroy h2, body.corduroy h3, body.corduroy h4, body.corduroy h5, body.corduroy h6 { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }
body.corduroy h1:after, body.corduroy h2:after, body.corduroy h3:before, body.corduroy h4:before, body.corduroy h5:before, body.corduroy h6:before { display: none; }
/* Yummo centres h1/h2 and gives h3-h6 a fixed 60px line; the design's own headings don't want either */
:is(.cd-header, .cd-chips, .cd-hero, .cd-sec, .cd-footer, .cd-related, .cd-lhead, .cd-ad, .cd-empty) :is(h1, h2, h3, h4, h5, h6) { width: auto; height: auto; line-height: 1.2; overflow: visible; padding: 0; text-align: left; color: var(--cd-ink); }
/* plain links; :where() keeps this weaker than every component's own colour */
body.corduroy :where(a:not(.btn)) { color: var(--cd-blue-d); }
body.corduroy :where(a:not(.btn)):hover, body.corduroy :where(a:not(.btn)):focus { color: var(--cd-blue-dd); }
.cd-wrap { max-width: 1320px; margin: 0 auto; padding: 0 36px; }
.cd-i { width: 18px; height: 18px; flex: none; }
body.corduroy .cd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 12px; font-weight: 700; font-size: 14.5px; white-space: nowrap; border: 0; background: var(--cd-soft); color: var(--cd-ink); text-decoration: none; cursor: pointer; }
body.corduroy .cd-btn-blue { background: var(--cd-blue); color: #fff; }
body.corduroy .cd-btn-blue:hover, body.corduroy .cd-btn-blue:focus { background: var(--cd-blue-d); color: #fff; }

/* header */
.cd-header { background: #fff; border-bottom: 1px solid var(--cd-line); position: relative; z-index: 20; }
.cd-bar { display: flex; align-items: center; gap: 36px; height: 78px; }
.cd-logo { display: block; flex: none; }
.cd-logo img { height: 42px; width: auto; border-radius: 8px; display: block; }
.cd-logo b { font-size: 21px; color: var(--cd-ink); }
.cd-nav { display: flex; gap: 28px; font-weight: 600; font-size: 14.5px; }
body.corduroy .cd-nav a { color: var(--cd-ink-2); text-decoration: none; white-space: nowrap; position: relative; padding: 6px 0; }
body.corduroy .cd-nav a:hover { color: var(--cd-ink); }
body.corduroy .cd-nav a.on { color: var(--cd-ink); }
.cd-nav a.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--cd-blue); }
.cd-hr { margin-left: auto; display: flex; align-items: center; gap: 22px; font-weight: 600; font-size: 14.5px; }
body.corduroy .cd-lg { display: flex; gap: 7px; align-items: center; color: var(--cd-ink-2); text-decoration: none; }
.cd-account { margin: 0; padding: 0; list-style: none; display: flex; align-items: center; }
.cd-account > li > a { padding: 8px 10px; }
.cd-account .dropdown-menu { right: 0; left: auto; }
.cd-burger { display: none; position: relative; }
.cd-burger summary { list-style: none; cursor: pointer; width: 40px; height: 40px; border-radius: 10px; background: var(--cd-soft); display: grid; place-items: center; color: var(--cd-ink); }
.cd-burger summary::-webkit-details-marker { display: none; }
.cd-drop { position: absolute; right: 0; top: 48px; width: 230px; background: #fff; border: 1px solid var(--cd-line); border-radius: 14px; box-shadow: var(--cd-shadow); padding: 8px; display: grid; z-index: 40; }
body.corduroy .cd-drop a { padding: 10px 12px; border-radius: 9px; color: var(--cd-ink); text-decoration: none; font-weight: 600; }
body.corduroy .cd-drop a.on, body.corduroy .cd-drop a:hover { background: var(--cd-soft); }
.cd-chips { border-bottom: 1px solid var(--cd-line); background: #fff; }
.cd-chips .cd-wrap { display: flex; gap: 8px; height: 58px; align-items: center; overflow-x: auto; scrollbar-width: none; }
.cd-chips .cd-wrap::-webkit-scrollbar { display: none; }
body.corduroy .cd-chip { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 15px; border-radius: 99px; border: 1px solid var(--cd-line); font-weight: 600; font-size: 13.5px; white-space: nowrap; color: var(--cd-ink-2); text-decoration: none; flex: none; }
body.corduroy .cd-chip:hover { border-color: var(--cd-ink-3); }
.cd-chip b { color: var(--cd-ink-3); font-weight: 600; }
body.corduroy .cd-chip.on { background: var(--cd-ink); color: #fff; border-color: var(--cd-ink); }
.cd-chip.on b { color: #aeb6c1; }

/* hero */
.cd-hero { padding: 28px 0 0; }
.cd-box { position: relative; border-radius: 28px; overflow: hidden; display: grid; grid-template-columns: 1.05fr 1fr; min-height: 470px; background: linear-gradient(135deg, var(--cd-blue) 0%, var(--cd-blue-dd) 100%); color: #fff; }
.cd-box::before { content: ''; position: absolute; inset: 0; opacity: .12; background: repeating-linear-gradient(90deg, #fff 0 2px, transparent 2px 14px); -webkit-mask: linear-gradient(90deg, #000, transparent 55%); mask: linear-gradient(90deg, #000, transparent 55%); pointer-events: none; }
.cd-txt { position: relative; padding: 56px 56px 50px; display: flex; flex-direction: column; justify-content: center; }
.cd-pill { align-self: flex-start; display: inline-flex; gap: 8px; align-items: center; height: 32px; padding: 0 14px; border-radius: 99px; background: rgba(255,255,255,.18); font-size: 13px; font-weight: 700; }
.cd-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--cd-mint); }
body.corduroy .cd-box h1 { font-size: 58px; line-height: 1.02; letter-spacing: -.03em; font-weight: 800; margin: 20px 0 16px; color: #fff; }
.cd-box p { font-size: 17px; color: #dcecfd; margin: 0 0 30px; max-width: 500px; }
.cd-sbox { background: #fff; border-radius: 16px; padding: 8px; display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 6px; color: var(--cd-ink); box-shadow: 0 20px 40px -20px rgba(0,20,60,.5); margin: 0; }
.cd-f { display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 52px; border-radius: 10px; background: var(--cd-soft); color: var(--cd-ink-3); margin: 0; font-weight: 400; min-width: 0; }
.cd-f input, .cd-f select { flex: 1; min-width: 0; border: 0; background: transparent; outline: 0; font: inherit; font-size: 14.5px; color: var(--cd-ink); height: 100%; padding: 0; box-shadow: none; -webkit-appearance: none; appearance: none; }
.cd-f input::placeholder { color: var(--cd-ink-2); }
body.corduroy .cd-sbox .cd-btn { height: 52px; }
.cd-pop { margin-top: 18px; display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; color: #cfe5fc; align-items: center; }
body.corduroy .cd-pop a { background: rgba(255,255,255,.14); padding: 5px 12px; border-radius: 99px; color: #fff; font-weight: 600; text-decoration: none; }
body.corduroy .cd-pop a:hover { background: rgba(255,255,255,.24); }
.cd-col { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; padding: 22px 22px 22px 0; }
.cd-p { border-radius: 18px; overflow: hidden; position: relative; background: #0d4f9a; display: block; }
.cd-p img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cd-p:first-child { grid-row: span 2; }
body.corduroy .cd-lb { position: absolute; left: 12px; bottom: 12px; right: 12px; background: rgba(255,255,255,.95); color: var(--cd-ink-2); border-radius: 12px; padding: 9px 12px; font-size: 13px; line-height: 1.3; box-shadow: var(--cd-shadow); }
.cd-lb b { display: block; font-size: 14px; color: var(--cd-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cd-lb span { color: var(--cd-blue-d); font-weight: 700; }
.cd-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 22px; }
.cd-tr { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: 16px; background: var(--cd-soft); }
.cd-tr .cd-ic { width: 44px; height: 44px; border-radius: 12px; background: #fff; display: grid; place-items: center; color: var(--cd-blue); box-shadow: var(--cd-shadow); flex: none; }
.cd-tr b { display: block; font-size: 15px; }
.cd-tr span { color: var(--cd-ink-2); font-size: 13px; }

/* sections */
.cd-sec { padding: 70px 0 0; }
.cd-sh { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 24px; gap: 20px; }
body.corduroy .cd-sh h2 { color: var(--cd-ink); font-size: 32px; letter-spacing: -.02em; margin: 0; font-weight: 800; }
.cd-sh p { margin: 4px 0 0; color: var(--cd-ink-2); }
body.corduroy .cd-sh a { color: var(--cd-blue-d); font-weight: 700; font-size: 14.5px; display: flex; gap: 6px; align-items: center; white-space: nowrap; text-decoration: none; }

.cd-makes { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
body.corduroy .cd-mk { border: 1px solid var(--cd-line); border-radius: var(--cd-r); padding: 12px; display: flex; flex-direction: column; gap: 12px; color: var(--cd-ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
body.corduroy .cd-mk:hover { border-color: var(--cd-blue); box-shadow: var(--cd-shadow); }
.cd-mk .cd-ph { aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; display: block; background: var(--cd-soft); }
.cd-mk .cd-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cd-mk .cd-mono { display: grid; place-items: center; font-size: 30px; font-weight: 800; color: var(--cd-blue); background: var(--cd-blue-s); }
.cd-mk b { font-size: 15px; padding: 0 4px; display: block; }
.cd-mk small { font-size: 13px; color: var(--cd-ink-3); padding: 0 4px; }

.cd-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
body.corduroy .cd-card { border-radius: var(--cd-r); overflow: hidden; background: #fff; border: 1px solid var(--cd-line); display: flex; flex-direction: column; color: var(--cd-ink); text-decoration: none; transition: box-shadow .15s; }
body.corduroy .cd-card:hover { box-shadow: var(--cd-shadow); }
.cd-im { aspect-ratio: 4 / 3; position: relative; overflow: hidden; display: block; background: var(--cd-soft); }
.cd-im img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cd-badge { position: absolute; left: 12px; top: 12px; background: #fff; border-radius: 99px; padding: 4px 11px; font-size: 12px; font-weight: 700; box-shadow: var(--cd-shadow); }
.cd-badge.cd-new { background: var(--cd-blue); color: #fff; }
.cd-bd { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.cd-pr { font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.cd-t { margin: 3px 0 12px; font-size: 14.5px; font-weight: 600; color: var(--cd-ink-2); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cd-mt { margin-top: auto; display: flex; gap: 6px; flex-wrap: wrap; }
.cd-mt span { display: inline-flex; gap: 5px; align-items: center; background: var(--cd-soft); border-radius: 8px; padding: 4px 9px; font-size: 12.5px; font-weight: 600; color: var(--cd-ink-2); white-space: nowrap; }
.cd-mt .cd-i { width: 13px; height: 13px; color: var(--cd-ink-3); }

.cd-split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; }
.cd-locs { border: 1px solid var(--cd-line); border-radius: 24px; padding: 30px; }
body.corduroy .cd-locs h3, body.corduroy .cd-sell h3 { font-size: 24px; letter-spacing: -.02em; margin: 0 0 6px; font-weight: 800; }
.cd-locs p { margin: 0 0 22px; color: var(--cd-ink-2); }
.cd-lg2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
body.corduroy .cd-lg2 h6 { margin: 0 0 10px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--cd-ink-3); }
.cd-lc { display: flex; flex-wrap: wrap; gap: 8px; }
body.corduroy .cd-lc a { border: 1px solid var(--cd-line); border-radius: 99px; padding: 6px 12px; font-size: 13.5px; font-weight: 600; color: var(--cd-ink); text-decoration: none; }
body.corduroy .cd-lc a:hover { border-color: var(--cd-blue); }
.cd-lc b { color: var(--cd-blue-d); margin-left: 4px; }
.cd-sell { border-radius: 24px; padding: 34px; background: var(--cd-night); color: #fff; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.cd-free { align-self: flex-start; background: var(--cd-mint); color: #08311d; font-weight: 800; font-size: 12.5px; border-radius: 99px; padding: 5px 12px; margin-bottom: 18px; }
body.corduroy .cd-sell h3 { font-size: 32px; line-height: 1.1; color: #fff; }
.cd-sell p { color: #b8c0ca; margin: 6px 0 22px; max-width: 420px; }
.cd-sell ul { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; }
.cd-sell li { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: 14.5px; }
.cd-sell li .cd-i { color: var(--cd-mint); }
body.corduroy .cd-sell .cd-btn { align-self: flex-start; margin-top: auto; }

.cd-guides { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
body.corduroy .cd-gd { display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: 18px; background: var(--cd-soft); color: var(--cd-ink); text-decoration: none; }
body.corduroy .cd-gd:hover { background: var(--cd-blue-s); }
.cd-gd .cd-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--cd-blue-s); color: var(--cd-blue-d); display: grid; place-items: center; flex: none; }
.cd-gd b { display: block; font-size: 15px; line-height: 1.3; }
.cd-gd small { font-size: 13px; color: var(--cd-ink-3); }

/* footer */
.cd-footer { margin-top: 80px; background: var(--cd-soft); border-top: 1px solid var(--cd-line); }
.cd-fg { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-top: 52px; padding-bottom: 36px; }
.cd-footer .cd-logo img { height: 38px; border-radius: 6px; margin-bottom: 16px; }
.cd-footer p { margin: 0; color: var(--cd-ink-2); font-size: 14px; max-width: 330px; }
body.corduroy .cd-footer h5 { margin: 4px 0 14px; font-size: 14px; font-weight: 700; }
.cd-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
body.corduroy .cd-footer ul a { color: var(--cd-ink-2); text-decoration: none; }
body.corduroy .cd-footer ul a:hover { color: var(--cd-blue-d); }
.cd-copy { border-top: 1px solid var(--cd-line); }
.cd-copy .cd-wrap { display: flex; justify-content: space-between; padding-top: 20px; padding-bottom: 24px; font-size: 13px; color: var(--cd-ink-3); }
.cd-footer-min { margin-top: 40px; }
.cd-footer-min .cd-copy { border-top: 0; }
.cd-footer-min .cd-wrap { justify-content: center; gap: 6px; }

/* Yummo's own pages, restyled */
.cd-page { padding-top: 26px; }
body.corduroy .btn-primary, body.corduroy .btn-success { background: var(--cd-blue); border-color: var(--cd-blue); color: #fff; }
body.corduroy .btn-primary:hover, body.corduroy .btn-primary:focus, body.corduroy .btn-success:hover, body.corduroy .btn-success:focus { background: var(--cd-blue-d); border-color: var(--cd-blue-d); color: #fff; }
body.corduroy .btn { border-radius: 10px; font-weight: 600; }
body.corduroy .label-primary, body.corduroy .badge-primary, body.corduroy .progress-bar { background-color: var(--cd-blue); }
body.corduroy .pagination > .active > a, body.corduroy .pagination > .active > span { background: var(--cd-blue); border-color: var(--cd-blue); }
body.corduroy .pagination > li > a { color: var(--cd-blue-d); }
body.corduroy .well, body.corduroy .panel, body.corduroy .thumbnail { border-radius: 16px; border-color: var(--cd-line); box-shadow: none; }
body.corduroy .cd-page .thumbnail { overflow: hidden; }
body.corduroy .breadcrumb { background: transparent; padding-left: 0; }
body.corduroy .form-control { border-radius: 10px; }
body.corduroy .form-control:focus { border-color: var(--cd-blue); box-shadow: 0 0 0 3px rgba(31,142,241,.15); }
body.corduroy .nav-pills > li.active > a, body.corduroy .nav-pills > li.active > a:hover { background: var(--cd-blue); }
body.corduroy .page-header { border-bottom-color: var(--cd-line); }

@media (max-width: 1100px) {
    .cd-bar { gap: 24px; }
    .cd-nav { gap: 18px; font-size: 14px; }
    .cd-makes { grid-template-columns: repeat(4, 1fr); }
    .cd-grid { grid-template-columns: repeat(3, 1fr); }
    .cd-trust { grid-template-columns: 1fr 1fr; }
    body.corduroy .cd-box h1 { font-size: 46px; }
}

@media (max-width: 900px) {
    .cd-nav, .cd-lg, .cd-account { display: none !important; }
    .cd-burger { display: block; }
}

@media (max-width: 700px) {
    .cd-wrap { padding: 0 16px; }
    .cd-bar { height: 64px; gap: 10px; }
    .cd-logo img { height: 32px; }
    .cd-hr { gap: 10px; }
    body.corduroy .cd-hr .cd-btn { height: 40px; padding: 0 14px; font-size: 13.5px; }
    .cd-chips .cd-wrap { height: 54px; }
    .cd-hero { padding-top: 14px; }
    .cd-box { grid-template-columns: 1fr; border-radius: 22px; min-height: 0; }
    .cd-txt { padding: 30px 20px 22px; }
    body.corduroy .cd-box h1 { font-size: 36px; margin: 16px 0 12px; }
    .cd-box p { font-size: 15px; margin-bottom: 22px; }
    .cd-sbox { grid-template-columns: 1fr; }
    .cd-col { padding: 0 12px 12px; height: 300px; }
    body.corduroy .cd-lb { left: 8px; right: 8px; bottom: 8px; padding: 7px 9px; font-size: 12px; }
    .cd-lb b { font-size: 12.5px; }
    .cd-trust { grid-template-columns: 1fr 1fr; gap: 10px; }
    .cd-tr { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
    .cd-sec { padding-top: 48px; }
    body.corduroy .cd-sh h2 { font-size: 25px; }
    .cd-sh p { font-size: 14px; }
    .cd-makes { display: flex; overflow-x: auto; padding-bottom: 4px; margin-right: -16px; padding-right: 16px; scrollbar-width: none; }
    .cd-makes::-webkit-scrollbar { display: none; }
    body.corduroy .cd-mk { flex: 0 0 132px; }
    .cd-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .cd-bd { padding: 11px 12px 12px; }
    .cd-pr { font-size: 17px; }
    .cd-t { font-size: 13.5px; }
    .cd-hide-m { display: none !important; }
    .cd-split { grid-template-columns: 1fr; }
    .cd-locs, .cd-sell { padding: 24px 20px; border-radius: 20px; }
    .cd-lg2 { grid-template-columns: 1fr; gap: 18px; }
    body.corduroy .cd-sell h3 { font-size: 27px; }
    .cd-guides { grid-template-columns: 1fr; gap: 10px; }
    .cd-footer { margin-top: 56px; }
    .cd-fg { grid-template-columns: 1fr 1fr; gap: 26px; padding-top: 36px; }
    .cd-fg > div:first-child { grid-column: span 2; }
    .cd-copy .cd-wrap { flex-direction: column; gap: 4px; }
}

/* polish: sticky header, focus rings, numbers, motion */
html { scroll-behavior: smooth; }
.cd-header { position: sticky; top: 0; background: rgba(255,255,255,.92); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); }
body.yclas-bar .cd-header { top: 40px; }
body.corduroy :is(a, button, input, select, summary, textarea):focus-visible { outline: 3px solid rgba(31,142,241,.45); outline-offset: 2px; border-radius: 10px; }
body.corduroy :is(h1, h2, h3) { text-wrap: balance; }
.cd-pr, .cd-bprice, .cd-lb span, .cd-chip b, .cd-lc b, .cd-specs td { font-variant-numeric: tabular-nums; }
::selection { background: rgba(31,142,241,.2); }
body.corduroy .cd-card, body.corduroy .cd-mk { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
body.corduroy .cd-card:hover, body.corduroy .cd-mk:hover { transform: translateY(-2px); }
.cd-im img, .cd-mk .cd-ph img, .cd-p img, .cd-g img { transition: transform .4s ease; }
.cd-card:hover .cd-im img, .cd-mk:hover .cd-ph img, .cd-p:hover img, .cd-g:hover img { transform: scale(1.035); }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    body.corduroy *, body.corduroy *::before, body.corduroy *::after { transition: none !important; animation: none !important; }
}
.cd-when { margin-top: 10px; font-size: 12px; color: var(--cd-ink-3); }
.cd-badge.cd-feat { background: #ffd666; color: #3d2b00; }
.cd-noimg { position: absolute; inset: 0; display: grid; place-items: center; color: var(--cd-ink-3); }
.cd-noimg .cd-i { width: 34px; height: 34px; }
.cd-pr.cd-ask, .cd-bprice.cd-ask { font-size: 16px; color: var(--cd-ink-2); }
.cd-cardwrap { position: relative; display: flex; }
.cd-cardwrap > .cd-card { flex: 1; }
.cd-fav { position: absolute; top: 10px; right: 10px; z-index: 2; }
body.corduroy .cd-fav a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.94); display: grid; place-items: center; color: var(--cd-ink); box-shadow: var(--cd-shadow); text-decoration: none; font-size: 15px; }
body.corduroy .cd-fav a:hover { color: #e5484d; }
body.corduroy .cd-fav .remove-favorite, body.corduroy .cd-fav .glyphicon-heart { color: #e5484d; }
body.corduroy .cd-btn-soft { background: var(--cd-soft); color: var(--cd-ink); }
body.corduroy .cd-btn-soft:hover { background: var(--cd-line); color: var(--cd-ink); }
.cd-wide { width: 100%; }

/* the pages around the content */
body.corduroy-wide .cd-page { padding-top: 22px; }
body.corduroy .cd-page .breadcrumb { margin: 0 0 6px; padding: 0; font-size: 13px; text-align: left; float: none; }
body.corduroy .cd-page .breadcrumb > li + li::before { color: var(--cd-ink-3); }
body.corduroy .cd-page .breadcrumb a { color: var(--cd-ink-2); }
body.corduroy .cd-page :is(h1, h2) { text-align: left; width: auto; }
/* Yummo's own headings on the search page ("Search", "7 advertisements for …") */
body.corduroy-wide .cd-page :is(h1, h2, h3) { color: var(--cd-ink); }
body.corduroy-wide .cd-page h3 { height: auto; line-height: 1.3; padding: 0; margin: 26px 0 14px; font-size: 20px; overflow: visible; }
body.corduroy-wide .cd-page h3::before { display: none; }
body.corduroy .cd-page :is(h1, h2)::after { display: none; }
body.corduroy .pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; width: auto; margin: 34px 0 0; }
body.corduroy .pagination > li { margin: 0; display: block; }
body.corduroy .pagination > li > a { color: var(--cd-ink-2); }
body.corduroy .pagination > .active > a, body.corduroy .pagination > .active > span { color: #fff; }
body.corduroy .pagination > li > a, body.corduroy .pagination > li > span { border-radius: 10px !important; border: 1px solid var(--cd-line); min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 12px; font-weight: 600; margin: 0; }
.cd-pages { display: flex; justify-content: center; }
body.corduroy .modal-content { border-radius: 20px; border: 0; box-shadow: 0 30px 80px -20px rgba(15,23,32,.45); }
body.corduroy .modal-header { border-bottom: 0; padding: 22px 26px 6px; }
body.corduroy .modal-header :is(h3, .modal-title) { height: auto; line-height: 1.25; padding: 0; margin: 0; font-size: 21px; font-weight: 800; color: var(--cd-ink); }
body.corduroy .modal-header :is(h3, .modal-title)::before { display: none; }
body.corduroy .modal-body { padding: 10px 26px 24px; }
body.corduroy .modal .modal-body .well { background: transparent; border: 0; padding: 0; margin: 0; box-shadow: none; border-radius: 0; }
body.corduroy .modal-footer { border-top: 0; padding: 10px 0 0; }
body.corduroy .form-control { height: 46px; border-color: var(--cd-line); box-shadow: none; }
body.corduroy textarea.form-control { height: auto; }
/* selectize copies the select's form-control class onto its list (and a multi box grows with its picks) */
body.corduroy .selectize-dropdown.form-control, body.corduroy .selectize-control.multi.form-control { height: auto; }

/* listing */
.cd-lhead { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 4px 0 20px; }
body.corduroy .cd-lhead h1 { font-size: 36px; letter-spacing: -.025em; font-weight: 800; margin: 0; color: var(--cd-ink); line-height: 1.1; height: auto; }
.cd-lhead p { margin: 6px 0 0; color: var(--cd-ink-2); }
.cd-tools { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding: 10px; border-radius: 16px; background: var(--cd-soft); margin-bottom: 24px; }
.cd-tsearch { flex: 1 1 300px; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; background: #fff; border-radius: 11px; border: 1px solid var(--cd-line); color: var(--cd-ink-3); margin: 0; }
.cd-tsearch input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; color: var(--cd-ink); height: 100%; }
.cd-tsel { position: relative; display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 12px; background: #fff; border-radius: 11px; border: 1px solid var(--cd-line); color: var(--cd-ink-3); margin: 0; font-weight: 500; }
.cd-tsel select { border: 0; outline: 0; background: transparent; font: inherit; font-weight: 600; font-size: 14px; color: var(--cd-ink); height: 100%; padding-right: 4px; cursor: pointer; max-width: 220px; }
.cd-searched { margin: -8px 0 20px; color: var(--cd-ink-2); font-size: 14px; }
.cd-lgrid { grid-template-columns: repeat(4, 1fr); }
.cd-adslot { grid-column: 1 / -1; }
.cd-empty { text-align: center; padding: 56px 24px; border: 1px dashed var(--cd-line); border-radius: 24px; }
.cd-empty .cd-ic { width: 60px; height: 60px; border-radius: 18px; background: var(--cd-blue-s); color: var(--cd-blue-d); display: inline-grid; place-items: center; }
.cd-empty .cd-ic .cd-i { width: 26px; height: 26px; }
body.corduroy .cd-empty h2 { font-size: 24px; font-weight: 800; margin: 16px 0 6px; color: var(--cd-ink); text-align: center; height: auto; }
.cd-empty p { color: var(--cd-ink-2); max-width: 460px; margin: 0 auto 22px; }
.cd-empty div { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ad page */
.cd-adhead { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 20px; }
.cd-adhead .cd-fav { position: static; flex: none; margin-top: 30px; }
body.corduroy .cd-adhead h1 { font-size: 38px; line-height: 1.1; letter-spacing: -.025em; font-weight: 800; color: var(--cd-ink); margin: 6px 0 0; height: auto; }
.cd-kick { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; margin: 0; font-size: 14px; color: var(--cd-ink-2); }
.cd-kick a { font-weight: 700; }
.cd-kick span { display: inline-flex; align-items: center; gap: 5px; }
.cd-kick .cd-i { width: 15px; height: 15px; color: var(--cd-ink-3); }
.cd-sold { background: var(--cd-ink); color: #fff; border-radius: 99px; padding: 2px 10px; font-size: 12px; }
.cd-adgrid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; column-gap: 32px; align-items: start; }
.cd-admedia, .cd-admain { grid-column: 1; min-width: 0; }
.cd-adside { grid-column: 2; grid-row: 1 / span 2; }
.cd-gal { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 130px; gap: 10px; }
.cd-g { position: relative; overflow: hidden; border-radius: 14px; background: var(--cd-soft); display: block; }
.cd-g img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cd-gmain { grid-column: 1 / -1; grid-row: span 4; border-radius: 22px; }
.cd-ghide { display: none; }
.cd-gcount { position: absolute; left: 14px; bottom: 14px; display: inline-flex; gap: 7px; align-items: center; background: rgba(15,23,32,.72); color: #fff; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 99px; }
.cd-gcount .cd-i { width: 16px; height: 16px; }
.cd-gmore { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(15,23,32,.55); color: #fff; font-size: 22px; font-weight: 800; }
.cd-nophoto { aspect-ratio: 16 / 10; border-radius: 22px; background: var(--cd-soft); display: grid; place-items: center; align-content: center; gap: 8px; color: var(--cd-ink-3); }
.cd-nophoto .cd-i { width: 40px; height: 40px; }
.cd-panel { margin-top: 30px; }
body.corduroy .cd-panel h2 { font-size: 22px; font-weight: 800; letter-spacing: -.015em; margin: 0 0 14px; color: var(--cd-ink); text-align: left; width: auto; height: auto; }
body.corduroy .cd-panel h2::after { display: none; }
.cd-specs { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--cd-line); border-radius: 16px; overflow: hidden; }
.cd-specs th, .cd-specs td { padding: 13px 18px; border-bottom: 1px solid var(--cd-line); vertical-align: top; }
.cd-specs tr:last-child th, .cd-specs tr:last-child td { border-bottom: 0; }
.cd-specs th { width: 38%; background: var(--cd-soft); font-weight: 600; color: var(--cd-ink-2); font-size: 14px; }
.cd-specs td { font-weight: 600; }
.cd-desc, body.corduroy .cd-desc p { font-size: 15.5px; line-height: 1.7; color: var(--cd-ink); }
.cd-desc p { margin: 0 0 12px; }
.cd-muted { color: var(--cd-ink-3); }
.cd-adside { position: sticky; top: 100px; display: grid; gap: 14px; }
body.yclas-bar .cd-adside { top: 140px; }
.cd-buy { border: 1px solid var(--cd-line); border-radius: 22px; padding: 24px; box-shadow: var(--cd-shadow); display: grid; gap: 10px; background: #fff; }
.cd-bprice { color: var(--cd-ink); font-size: 34px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.cd-bfacts { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.cd-bfacts span { display: inline-flex; gap: 6px; align-items: center; background: var(--cd-soft); border-radius: 9px; padding: 6px 10px; font-size: 13.5px; font-weight: 600; color: var(--cd-ink-2); }
.cd-bfacts .cd-i { width: 15px; height: 15px; color: var(--cd-ink-3); }
body.corduroy .cd-buy .cd-btn { height: 50px; font-size: 15px; }
.cd-seller { margin: 6px 0 0; font-size: 14px; color: var(--cd-ink-2); }
.cd-safe { display: flex; gap: 12px; padding: 16px 18px; border-radius: 18px; background: var(--cd-blue-s); color: var(--cd-ink-2); font-size: 13.5px; line-height: 1.5; }
.cd-safe > .cd-i { color: var(--cd-blue-d); width: 22px; height: 22px; margin-top: 1px; }
.cd-safe p { margin: 0; }
.cd-safe b { display: block; color: var(--cd-ink); font-size: 14.5px; margin-bottom: 2px; }
.cd-mbar { display: none; }
.cd-adfoot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--cd-line); }
.cd-adfoot:empty { display: none; }
body.corduroy .cd-adfoot .btn { background: transparent; border: 1px solid var(--cd-line); color: var(--cd-ink-2); font-size: 13px; }
body.corduroy .cd-adfoot .btn:hover { color: #c62828; border-color: #f2b8b5; }
.cd-share { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--cd-ink-2); }
.cd-related { margin-top: 52px; }
.cd-rgrid { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1100px) {
    .cd-lgrid, .cd-rgrid { grid-template-columns: repeat(3, 1fr); }
    .cd-adgrid { grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; }
}
@media (max-width: 900px) {
    .cd-adgrid { grid-template-columns: 1fr; }
    .cd-adside { position: static; grid-column: 1; grid-row: auto; margin-top: 20px; order: 1; }
    .cd-admain { order: 2; }
}
@media (max-width: 700px) {
    body.corduroy-wide .cd-page { padding-top: 14px; }
    body.corduroy-wide .cd-page .breadcrumb { display: none; }
    .cd-lhead { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
    body.corduroy .cd-lhead h1 { font-size: 27px; }
    .cd-lhead .cd-btn { display: none; }
    .cd-tools { padding: 8px; gap: 8px; border-radius: 14px; }
    .cd-tsearch { flex-basis: 100%; }
    .cd-tsel { flex: 1 1 calc(50% - 4px); min-width: 0; }
    .cd-tsel select { max-width: none; width: 100%; font-size: 13.5px; }
    .cd-lgrid, .cd-rgrid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .cd-fav { top: 8px; right: 8px; }
    body.corduroy .cd-fav a { width: 32px; height: 32px; }
    .cd-when { margin-top: 6px; font-size: 11.5px; }
    body.corduroy .cd-adhead h1 { font-size: 27px; }
    .cd-adhead .cd-fav { margin-top: 26px; }
    .cd-gal { grid-auto-rows: 72px; gap: 6px; }
    .cd-gmain { border-radius: 16px; }
    .cd-g:not(.cd-gmain) { border-radius: 10px; }
    .cd-specs th, .cd-specs td { padding: 11px 14px; font-size: 14px; }
    .cd-buy { padding: 20px; }
    .cd-bprice { font-size: 30px; }
    .cd-mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; gap: 8px; align-items: center; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--cd-line); }
    .cd-mbar > div { flex: 1; font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; }
    body.corduroy .cd-mbar .cd-btn { height: 46px; }
    body.corduroy-wide .cd-footer { padding-bottom: 70px; }
    .cd-adfoot { flex-direction: column; align-items: flex-start; }
}

/* Yummo's remaining pages (posting, sign-in, profile, info pages): its type in the design's (:where keeps these
   weaker than the design's own headings) */
body.corduroy .cd-page { color: var(--cd-ink-2); }
body.corduroy .cd-page p { color: inherit; line-height: 1.65; }
body.corduroy :where(.cd-page) h1 { font-size: 34px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: var(--cd-ink); margin: 6px 0 18px; }
body.corduroy :where(.cd-page) :is(h3, h4, h5, h6) { height: auto; line-height: 1.3; overflow: visible; padding-left: 0; color: var(--cd-ink); }
body.corduroy :where(.cd-page) :is(h3, h4, h5, h6)::before { display: none; }
body.corduroy .cd-page .page-header { border: 0; padding: 0; margin: 0 0 10px; }
body.corduroy .cd-page .well { background: #fff; border: 1px solid var(--cd-line); border-radius: 20px; box-shadow: var(--cd-shadow); padding: 26px; }
body.corduroy .cd-page label, body.corduroy .cd-page .control-label { color: var(--cd-ink); font-weight: 600; }
body.corduroy .wizard .round-tab { border: 2px solid var(--cd-line); color: var(--cd-ink-3); background: #fff; }
body.corduroy .wizard li.active .round-tab, body.corduroy .wizard .round-tab:hover { border-color: var(--cd-blue); color: var(--cd-blue); background: var(--cd-blue-s); }
body.corduroy .wizard .connecting-line { background: var(--cd-line); }
body.cd-c-auth .cd-page #content { max-width: 1040px; margin: 0 auto; }
/* sign-in, blog, FAQ and contact have their own way back ("All guides", the menu), so no breadcrumb */
:is(body.cd-c-auth, body.cd-c-blog, body.cd-c-faq, body.cd-c-contact) .cd-page .breadcrumb { display: none; }

/* shared bits of the info pages */
.cd-eyebrow { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cd-blue-d); }
.cd-eyebrow a { display: inline-flex; gap: 6px; align-items: center; text-transform: none; letter-spacing: 0; font-size: 14px; }
.cd-eyebrow .cd-i { width: 16px; height: 16px; }
.cd-lead { font-size: 17px; line-height: 1.6; color: var(--cd-ink-2); margin: 0 0 22px; }
.cd-two { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; padding-top: 10px; }
.cd-two-faq { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); }
.cd-intro { position: sticky; top: 110px; }
body.corduroy .cd-intro h1 { font-size: 42px; margin: 0 0 14px; }
.cd-quick { display: grid; gap: 10px; }
body.corduroy .cd-quick a { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--cd-soft); color: var(--cd-ink); text-decoration: none; }
body.corduroy .cd-quick a:hover { background: var(--cd-blue-s); }
.cd-quick b { display: block; font-size: 15px; }
.cd-quick small { color: var(--cd-ink-3); font-size: 13px; }
.cd-quick .cd-ic, .cd-ask .cd-ic { width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--cd-blue); display: grid; place-items: center; flex: none; box-shadow: var(--cd-shadow); }
.cd-formcard { border: 1px solid var(--cd-line); border-radius: 24px; padding: 30px; box-shadow: var(--cd-shadow); background: #fff; }
.cd-form .form-group { margin-bottom: 16px; }
.cd-form label { display: block; margin-bottom: 6px; font-size: 14px; }
.cd-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
body.corduroy .cd-submit { width: 100%; height: 52px; font-size: 15.5px; font-weight: 700; border-radius: 12px; }
.cd-form .yc-captcha { display: flex; margin-bottom: 8px; }
.cd-ask { margin-top: 26px; padding: 22px; border-radius: 20px; background: var(--cd-soft); }
.cd-ask b { display: block; font-size: 17px; margin: 14px 0 4px; color: var(--cd-ink); }
body.corduroy .cd-ask p { margin: 0 0 16px; }
.cd-acc { display: grid; gap: 10px; }
.cd-acc details { border: 1px solid var(--cd-line); border-radius: 18px; background: #fff; transition: box-shadow .18s ease, border-color .18s ease; }
.cd-acc details[open] { border-color: #cfe3fb; box-shadow: var(--cd-shadow); }
.cd-acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-size: 17px; font-weight: 700; color: var(--cd-ink); }
.cd-acc summary::-webkit-details-marker { display: none; }
.cd-plus { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--cd-soft); flex: none; }
.cd-plus::before, .cd-plus::after { content: ''; position: absolute; left: 8px; right: 8px; top: 13px; height: 2px; border-radius: 2px; background: var(--cd-ink-2); transition: transform .18s ease; }
.cd-plus::after { transform: rotate(90deg); }
.cd-acc details[open] .cd-plus { background: var(--cd-blue-s); }
.cd-acc details[open] .cd-plus::after { transform: rotate(0); }
.cd-acc .cd-prose { padding: 0 22px 20px; }

/* articles (blog posts, single questions) */
.cd-article { max-width: 760px; margin: 0 auto; }
body.corduroy .cd-article h1 { font-size: 44px; line-height: 1.1; margin: 0 0 12px; }
.cd-pmeta { font-size: 13.5px; color: var(--cd-ink-3); margin: 0 0 8px; }
.cd-article > .cd-pmeta { margin-bottom: 30px; padding-bottom: 22px; border-bottom: 1px solid var(--cd-line); }
.cd-prose { font-size: 17px; line-height: 1.75; color: var(--cd-ink); }
body.corduroy .cd-prose p { margin: 0 0 18px; color: var(--cd-ink); line-height: 1.75; }
.cd-prose span[style*="font-size"] { font-size: inherit !important; }
/* the editor's headings: a paragraph that is only bold text, larger */
.cd-prose p > b:only-child, .cd-prose p > span:only-child > b:only-child { display: block; font-size: 23px; line-height: 1.25; letter-spacing: -.015em; margin-top: 34px; }
.cd-prose :is(h2, h3) { margin: 34px 0 12px; }
.cd-prose img { max-width: 100%; height: auto !important; border-radius: 18px; margin: 10px 0; }
.cd-prose ul, .cd-prose ol { padding-left: 22px; margin: 0 0 18px; }
.cd-prose a { text-decoration: underline; text-decoration-color: rgba(31,142,241,.35); text-underline-offset: 3px; }
.cd-cta { margin: 40px 0 0; padding: 26px 28px; border-radius: 22px; background: var(--cd-night); color: #fff; display: flex; gap: 22px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cd-cta b { display: block; font-size: 21px; }
body.corduroy .cd-cta p { margin: 4px 0 0; color: #b8c0ca; }
.cd-ctab { display: flex; gap: 10px; flex-wrap: wrap; }
.cd-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
body.corduroy .cd-pn a { display: block; padding: 16px 18px; border: 1px solid var(--cd-line); border-radius: 16px; color: var(--cd-ink); font-weight: 700; text-decoration: none; line-height: 1.35; }
body.corduroy .cd-pn a:hover { border-color: var(--cd-blue); }
.cd-pn small { display: block; font-weight: 600; font-size: 12.5px; color: var(--cd-ink-3); margin-bottom: 4px; }
.cd-pn .cd-pnext { grid-column: 2; text-align: right; }

/* blog cards */
.cd-bsearch { flex: 0 1 320px; }
.cd-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cd-postcard { border: 1px solid var(--cd-line); border-radius: var(--cd-r); overflow: hidden; display: flex; flex-direction: column; background: #fff; transition: box-shadow .18s ease, transform .18s ease; }
.cd-postcard:hover { box-shadow: var(--cd-shadow); transform: translateY(-2px); }
.cd-pim { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, var(--cd-blue) 0%, var(--cd-blue-dd) 100%); position: relative; }
.cd-pim img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.cd-postcard:hover .cd-pim img { transform: scale(1.035); }
.cd-pnone { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.85); background: repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 2px, transparent 2px 14px); }
.cd-pnone .cd-i { width: 40px; height: 40px; }
.cd-pbd { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
body.corduroy .cd-postcard h2 { font-size: 19px; line-height: 1.3; font-weight: 800; letter-spacing: -.01em; margin: 0 0 8px; }
body.corduroy .cd-postcard h2 a { color: var(--cd-ink); text-decoration: none; }
body.corduroy .cd-postcard .cd-pbd > p:not(.cd-pmeta):not(.cd-admin) { font-size: 14.5px; color: var(--cd-ink-2); margin: 0 0 14px; }
body.corduroy .cd-more { margin-top: auto; display: inline-flex; gap: 6px; align-items: center; font-weight: 700; font-size: 14.5px; text-decoration: none; }
.cd-more .cd-i { width: 16px; height: 16px; }
body.corduroy .cd-admin { margin: 10px 0 0; font-size: 13px; }

/* the band inviting sellers above the footer */
.cd-band { margin-top: 72px; }
.cd-band .cd-wrap > * { position: relative; }
.cd-band .cd-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 30px; padding-bottom: 30px; border-radius: 24px; background: linear-gradient(135deg, var(--cd-blue) 0%, var(--cd-blue-dd) 100%); color: #fff; max-width: 1248px; position: relative; overflow: hidden; }
.cd-band .cd-wrap::before { content: ''; position: absolute; inset: 0; opacity: .1; background: repeating-linear-gradient(90deg, #fff 0 2px, transparent 2px 14px); -webkit-mask: linear-gradient(90deg, #000, transparent 60%); mask: linear-gradient(90deg, #000, transparent 60%); }
.cd-band b { display: block; font-size: 22px; letter-spacing: -.015em; }
.cd-band span { color: #dcecfd; }
body.corduroy .cd-band .cd-btn { background: #fff; color: var(--cd-blue-d); flex: none; }
body.corduroy .cd-band .cd-btn:hover { background: var(--cd-blue-s); color: var(--cd-blue-dd); }
.cd-band + .cd-footer { margin-top: 40px; }

@media (max-width: 1100px) {
    .cd-posts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .cd-two, .cd-two-faq { grid-template-columns: 1fr; gap: 26px; }
    .cd-intro { position: static; }
}
@media (max-width: 700px) {
    body.corduroy :where(.cd-page) h1 { font-size: 27px; }
    body.corduroy .cd-intro h1 { font-size: 31px; }
    body.corduroy .cd-article h1 { font-size: 31px; }
    .cd-lead { font-size: 15.5px; }
    .cd-formcard { padding: 20px; border-radius: 20px; }
    .cd-row2 { grid-template-columns: 1fr; gap: 0; }
    .cd-acc summary { padding: 16px 18px; font-size: 16px; }
    .cd-acc .cd-prose { padding: 0 18px 16px; }
    .cd-prose { font-size: 16px; }
    .cd-prose p > b:only-child, .cd-prose p > span:only-child > b:only-child { font-size: 20px; }
    .cd-pn { grid-template-columns: 1fr; }
    .cd-pn .cd-pnext { grid-column: 1; text-align: left; }
    .cd-posts { grid-template-columns: 1fr; gap: 14px; }
    .cd-bsearch { flex-basis: 100%; }
    .cd-cta { padding: 22px 20px; }
    .cd-band { margin-top: 48px; }
    .cd-band .cd-wrap { flex-direction: column; align-items: flex-start; margin: 0 16px; padding: 24px 20px; }
}

/* round 4: skip link, header shadow, alerts, not-found page, phone gallery, quick questions, sharing, print */
.cd-skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--cd-ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
body.corduroy .cd-skip:focus { top: 12px; color: #fff; }
#cd-main:focus { outline: 0; }
.cd-header { transition: box-shadow .2s ease, border-color .2s ease; }
.cd-header.cd-scrolled { box-shadow: 0 6px 24px -14px rgba(15,23,32,.28); border-bottom-color: transparent; }
body.corduroy .alert { border: 0; border-radius: 16px; padding: 16px 20px; margin: 0 0 20px; font-size: 15px; box-shadow: none; }
body.corduroy .alert .alert-heading { height: auto; line-height: 1.3; padding: 0; margin: 0 0 2px; font-size: 16px; font-weight: 700; color: inherit; }
body.corduroy .alert .alert-heading::before { display: none; }
body.corduroy .alert p { margin: 0; color: inherit; }
body.corduroy .alert .close { opacity: .45; text-shadow: none; }
body.corduroy .alert-success { background: #e7f8ef; color: #0d5132; }
body.corduroy .alert-info { background: var(--cd-blue-s); color: #0b4a8b; }
body.corduroy .alert-warning { background: #fff5dc; color: #6b4a00; }
body.corduroy .alert-danger { background: #fdecec; color: #8a1c1c; }
body.corduroy .alert.off-line { margin: 12px 36px 0; }
.cd-404 { text-align: center; max-width: 640px; margin: 30px auto 0; }
.cd-404 .cd-ic { width: 64px; height: 64px; border-radius: 20px; background: var(--cd-blue-s); color: var(--cd-blue-d); display: inline-grid; place-items: center; margin-bottom: 18px; }
.cd-404 .cd-ic .cd-i { width: 28px; height: 28px; }
body.corduroy .cd-404 h1 { font-size: 40px; text-align: center; margin: 0 0 10px; }
.cd-404s { max-width: 520px; margin: 0 auto; height: 56px; padding: 0 6px 0 16px; box-shadow: var(--cd-shadow); }
body.corduroy .cd-404s .cd-btn { height: 44px; }
.cd-404l { margin-top: 16px; font-size: 14.5px; font-weight: 600; }
.cd-gpos { display: none; }
.cd-chipsq { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
body.corduroy .cd-q { border: 1px solid var(--cd-line); background: #fff; border-radius: 99px; padding: 7px 13px; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--cd-ink-2); cursor: pointer; }
body.corduroy .cd-q:hover { border-color: var(--cd-blue); color: var(--cd-ink); }
body.corduroy .cd-q.on { background: var(--cd-blue-s); border-color: var(--cd-blue); color: var(--cd-blue-dd); }
.cd-share { flex-wrap: wrap; }
body.corduroy .cd-sh-btn { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--cd-line); background: #fff; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--cd-ink-2); text-decoration: none; cursor: pointer; }
body.corduroy .cd-sh-btn:hover { border-color: var(--cd-blue); color: var(--cd-ink); }
.cd-sh-btn .cd-i { width: 15px; height: 15px; }
.cd-sh-btn[hidden] { display: none; }

@media (max-width: 700px) {
    /* the ad photos become a full-width row to swipe through, with "3 / 9" over them */
    .cd-gal { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; margin: 0 -16px; scrollbar-width: none; position: relative; }
    .cd-gal::-webkit-scrollbar { display: none; }
    .cd-gal .cd-g, .cd-gal .cd-ghide { display: block; flex: 0 0 100%; height: 300px; border-radius: 0 !important; scroll-snap-align: center; margin: 0 !important; }
    .cd-gal .cd-gmore { display: none; }
    .cd-gcount { display: none; }
    .cd-admedia { position: relative; }
    .cd-gpos { display: block; position: absolute; right: 0; top: 262px; background: rgba(15,23,32,.72); color: #fff; font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 99px; z-index: 2; font-variant-numeric: tabular-nums; pointer-events: none; }
    body.corduroy .cd-404 h1 { font-size: 29px; }
    .cd-share > span:first-child { width: 100%; }
}

@media print {
    .cd-header, .cd-chips, .cd-band, .cd-footer, .cd-mbar, .cd-fav, .cd-share, .cd-adfoot, .cd-related, .cd-safe, .cd-buy .cd-btn, #topbar-yclas, .breadcrumb { display: none !important; }
    body.corduroy { background: #fff; }
    .cd-adgrid { grid-template-columns: 1fr 260px; }
    .cd-adside { position: static; }
    .cd-ghide { display: none !important; }
    a[href]::after { content: none !important; }
}

/* round 5: forms with their labels above the fields (sign-in, register, contact pop-ups, posting) */
body.corduroy :is(form.auth, form.register, .modal form.form-horizontal, form.post_new) .form-group { margin-left: 0; margin-right: 0; margin-bottom: 16px; }
body.corduroy :is(form.auth, form.register, .modal form.form-horizontal, form.post_new) .form-group > [class*="col-"] { width: 100%; float: none; margin-left: 0; padding-left: 0; padding-right: 0; }
body.corduroy :is(form.auth, form.register, .modal form.form-horizontal, form.post_new) .control-label { text-align: left; padding-top: 0; margin-bottom: 6px; font-size: 14px; }
body.corduroy :is(form.auth, form.register) hr { margin: 8px 0 18px; border-color: var(--cd-line); }
body.corduroy :is(form.auth, form.register) .list-inline { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; }
body.corduroy :is(form.auth, form.register) .list-inline > li { padding: 0; color: var(--cd-ink-2); font-size: 14px; text-align: center; }
body.corduroy :is(form.auth, form.register) button[type="submit"] { width: 100%; height: 48px; border-radius: 12px; font-weight: 700; font-size: 15px; }
body.corduroy :is(form.auth, form.register) .help-block { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 4px 16px; }
body.corduroy :is(form.auth, form.register) .help-block br { display: none; }
body.corduroy .modal .modal-footer { padding: 16px 0 0; border: 0; }
body.corduroy .modal .modal-footer .btn { width: 100%; height: 48px; border-radius: 12px; font-weight: 700; }

/* the sign-in pages: the form card beside what an account is for */
.cd-auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 28px; align-items: stretch; padding: 12px 0 24px; }
.cd-auth-one { grid-template-columns: minmax(0, 520px); justify-content: center; }
.cd-acard { background: #fff; border: 1px solid var(--cd-line); border-radius: 24px; box-shadow: var(--cd-shadow); padding: 36px 38px; }
body.corduroy .cd-acard h1 { font-size: 32px; margin: 0 0 6px; }
.cd-acard .cd-lead { font-size: 15.5px; margin-bottom: 22px; }
body.corduroy .cd-acard .well { border: 0; box-shadow: none; padding: 0; margin: 0; background: transparent; border-radius: 0; }
.cd-aside { border-radius: 24px; padding: 38px; color: #fff; background: radial-gradient(120% 90% at 100% 0%, rgba(124,240,176,.22) 0%, rgba(124,240,176,0) 55%), linear-gradient(150deg, var(--cd-blue) 0%, var(--cd-blue-dd) 100%); }
body.corduroy .cd-aside h2 { color: #fff; font-size: 24px; font-weight: 800; letter-spacing: -.01em; margin: 0 0 24px; text-align: left; height: auto; line-height: 1.25; }
.cd-aside ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.cd-aside li { display: flex; gap: 14px; align-items: flex-start; }
.cd-aside .cd-ic { width: 42px; height: 42px; border-radius: 12px; flex: none; display: grid; place-items: center; background: rgba(255,255,255,.16); }
.cd-aside b { display: block; font-size: 15.5px; }
.cd-aside li span:not(.cd-ic) { display: block; color: rgba(255,255,255,.82); font-size: 14px; margin-top: 2px; }

/* the seller page */
.cd-shead { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 26px; align-items: start; background: #fff; border: 1px solid var(--cd-line); border-radius: 24px; box-shadow: var(--cd-shadow); padding: 30px; margin: 6px 0 44px; }
.cd-sav img, .cd-sav .cd-mono { width: 104px; height: 104px; border-radius: 26px; object-fit: cover; display: grid; place-items: center; }
.cd-sav .cd-mono { background: var(--cd-blue-s); color: var(--cd-blue-d); font-size: 42px; font-weight: 800; }
.cd-sav .gallery-item { display: block; }
body.corduroy .cd-sinfo h1 { font-size: 32px; margin: 4px 0 12px; }
.cd-sinfo .cd-kick { font-weight: 700; color: var(--cd-blue-d); }
.cd-sfacts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--cd-ink-2); font-size: 14.5px; }
.cd-sfacts li { display: inline-flex; align-items: center; gap: 7px; }
.cd-sfacts .cd-i { width: 16px; height: 16px; color: var(--cd-ink-3); }
.cd-sdesc { margin-top: 16px; max-width: 70ch; color: var(--cd-ink-2); line-height: 1.65; }
.cd-scf { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cd-scf:empty { display: none; }
.cd-scf li { background: var(--cd-soft); border-radius: 10px; padding: 6px 12px; font-size: 13.5px; display: inline-flex; gap: 6px; align-items: center; }
.cd-scf .cd-i { width: 15px; height: 15px; color: var(--cd-blue-d); }
.cd-sact { display: flex; flex-direction: column; gap: 10px; min-width: 200px; }
.cd-smap { margin: -20px 0 44px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cd-smap img { width: 100%; max-height: 300px; object-fit: cover; border-radius: 20px; }
.cd-pitem { display: flex; flex-direction: column; min-width: 0; }
.cd-pitem > .cd-cardwrap { flex: 1; }
.cd-own { display: flex; gap: 14px; flex-wrap: wrap; margin: 8px 4px 0; font-size: 13px; font-weight: 600; }
.cd-seller .pagination { margin-top: 28px; }

/* "Recently viewed" */
.cd-recent[hidden] { display: none !important; }
.cd-recent:not(.cd-sec) { margin-top: 56px; }
body.corduroy .cd-rclear { border: 0; background: none; padding: 0; font: inherit; font-size: 14px; font-weight: 600; color: var(--cd-ink-3); cursor: pointer; }
body.corduroy .cd-rclear:hover { color: var(--cd-ink); }

/* posting: the step names under the round icons, the form in a card */
body.corduroy .wizard .nav-tabs > li > a { position: relative; overflow: visible; }
body.corduroy .wizard .nav-tabs > li > a::after { content: attr(title); position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 8px; font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--cd-ink-3); white-space: nowrap; }
body.corduroy .wizard .nav-tabs > li.active > a::after { color: var(--cd-blue-d); }
body.corduroy .wizard .wizard-inner { margin-bottom: 40px; }
body.corduroy form.post_new .tab-content { background: #fff; border: 1px solid var(--cd-line); border-radius: 24px; box-shadow: var(--cd-shadow); padding: 30px 34px; max-width: 860px; margin: 0 auto; }
body.corduroy form.post_new .tab-pane > h3 { font-size: 22px; font-weight: 800; margin: 0 0 20px; }
body.corduroy form.post_new .list-inline { display: flex; gap: 10px; justify-content: flex-end; margin: 10px 0 0; padding: 0; float: none !important; }
body.corduroy form.post_new .list-inline > li { padding: 0; }
body.corduroy form.post_new .btn { height: 46px; padding: 0 22px; border-radius: 12px; font-weight: 700; }
body.corduroy form.post_new .btn.hvr-icon-forward { display: inline-flex; align-items: center; flex-direction: row-reverse; gap: 10px; padding-right: 22px; }
body.corduroy form.post_new .btn.hvr-icon-forward::before { position: static; }

@media (max-width: 900px) {
    .cd-auth { grid-template-columns: minmax(0, 1fr); }
    .cd-aside { padding: 28px; }
    .cd-shead { grid-template-columns: auto minmax(0, 1fr); }
    .cd-sact { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; min-width: 0; }
}
@media (max-width: 700px) {
    .cd-acard { padding: 26px 20px; border-radius: 20px; }
    body.corduroy .cd-acard h1, body.corduroy .cd-sinfo h1 { font-size: 26px; }
    .cd-shead { grid-template-columns: minmax(0, 1fr); padding: 22px; gap: 16px; margin-bottom: 32px; }
    .cd-sav img, .cd-sav .cd-mono { width: 76px; height: 76px; border-radius: 20px; font-size: 32px; }
    .cd-sact .cd-btn { flex: 1; }
    body.corduroy .wizard .nav-tabs > li > a::after { display: none; }
    body.corduroy form.post_new .tab-content { padding: 22px 18px; border-radius: 20px; }
}
body.corduroy .cd-recent .cd-sh h2 { font-size: 24px; }

/* round 6: every page lines up with the header and footer (Bootstrap's container was 1170px, the header 1320px) */
body.corduroy .cd-page > .container { width: auto; max-width: 1320px; padding-left: 36px; padding-right: 36px; }
.cd-flip { display: inline-flex; transform: scaleX(-1); }

/* the photo count on a card */
.cd-pc { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 5px; background: rgba(15,23,32,.68); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 99px; font-variant-numeric: tabular-nums; }
.cd-pc .cd-i { width: 13px; height: 13px; }
.cd-pr, .cd-bprice, .cd-mt, .cd-chip { font-variant-numeric: tabular-nums; }

/* lists don't need "Home / Page 1": the title and the make chips say where you are */
:is(body.cd-a-listing, body.cd-a-advanced_search) .cd-page .breadcrumb { display: none; }

/* "Back to results" on an ad opened from a list */
body.corduroy .cd-kick .cd-back { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--cd-blue-d); text-decoration: none; padding-right: 14px; border-right: 1px solid var(--cd-line); }
body.corduroy .cd-kick .cd-back[hidden] { display: none; }
.cd-back .cd-i { width: 15px; height: 15px; color: currentColor; }

/* pages: Previous 1 2 [3] … 9 Next */
.cd-pager { display: flex; justify-content: center; margin: 40px 0 8px; }
body.corduroy .cd-pager .pagination { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; flex-wrap: wrap; justify-content: center; }
body.corduroy .cd-pager .pagination > li { display: block; float: none; }
body.corduroy .cd-pager .pagination > li > :is(a, span) { float: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 42px; height: 42px; padding: 0 12px; margin: 0; border: 1px solid var(--cd-line); border-radius: 12px !important; background: #fff; color: var(--cd-ink); font-weight: 600; font-size: 14.5px; line-height: 1; text-decoration: none; }
body.corduroy .cd-pager .pagination > li > a:hover { border-color: var(--cd-blue); color: var(--cd-blue-d); background: #fff; }
body.corduroy .cd-pager .pagination > li.active > span { background: var(--cd-ink); border-color: var(--cd-ink); color: #fff; }
body.corduroy .cd-pager .pagination > li.disabled > span { color: var(--cd-ink-3); background: var(--cd-soft); border-color: transparent; }
body.corduroy .cd-pager .pagination > li.cd-pgap > span { border-color: transparent; background: none; min-width: 20px; padding: 0; color: var(--cd-ink-3); }
body.corduroy .cd-pager .cd-pprev > :is(a, span) { margin-right: 8px; padding: 0 16px; }
body.corduroy .cd-pager .cd-pnext > :is(a, span) { margin-left: 8px; padding: 0 16px; }
.cd-pager .cd-i { width: 16px; height: 16px; }
body.corduroy .cd-pager .pagination > li:is(.cd-pof, [hidden]) { display: none; }
body.corduroy .cd-pager .cd-pof > span { border: 0; background: none; color: var(--cd-ink-2); font-weight: 600; }

@media (max-width: 700px) {
    body.corduroy .cd-page > .container { padding-left: 16px; padding-right: 16px; }
    body.corduroy .cd-pager .pagination > li:is(.cd-pnum, .cd-pgap, .active) { display: none; }
    body.corduroy .cd-pager .pagination > li.cd-pof { display: block; }
    body.corduroy .cd-pager .pagination { flex-wrap: nowrap; width: 100%; justify-content: space-between; }
    body.corduroy .cd-kick .cd-back { width: 100%; border-right: 0; padding-right: 0; }
}
body.corduroy .cd-pager .cd-plabel { color: inherit; }

/* round 7: a search box in the header on computers (not on the home page, which has its own), and in the phone menu */
.cd-hsearch { flex: 1 1 220px; max-width: 300px; min-width: 0; display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; margin: 0 0 0 auto; border-radius: 99px; background: var(--cd-soft); border: 1px solid transparent; color: var(--cd-ink-3); transition: border-color .15s, background .15s; }
.cd-hsearch:focus-within { background: #fff; border-color: var(--cd-blue); }
.cd-hsearch input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 14px; color: var(--cd-ink); height: 100%; }
.cd-hsearch .cd-i { width: 16px; height: 16px; }
.cd-hsearch + .cd-hr { margin-left: 0; }
.cd-dsearch { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px; margin: 0 0 6px; border-radius: 10px; background: var(--cd-soft); color: var(--cd-ink-3); }
.cd-dsearch input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 15px; color: var(--cd-ink); height: 100%; }
.cd-dsearch .cd-i { width: 16px; height: 16px; }

/* features a seller typed as "- New tracks" lines */
.cd-feats { list-style: none; margin: 4px 0 16px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }
.cd-feats li { position: relative; padding-left: 26px; line-height: 1.5; }
.cd-feats li::before { content: ''; position: absolute; left: 0; top: 3px; width: 17px; height: 17px; border-radius: 50%; background: var(--cd-blue-s) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231677d2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; }

/* card photos fade in over a soft shimmer */
.cd-js .cd-im img { opacity: 0; transition: opacity .35s ease, transform .4s ease; }
.cd-js .cd-im img.cd-in { opacity: 1; }
.cd-js .cd-im:has(img:not(.cd-in)) { background: linear-gradient(100deg, var(--cd-soft) 30%, #fbfcfe 50%, var(--cd-soft) 70%) 0 0 / 300% 100%; animation: cd-shimmer 1.4s linear infinite; }
@keyframes cd-shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }

@media (max-width: 1240px) {
    .cd-hsearch { display: none; }
    .cd-hsearch + .cd-hr { margin-left: auto; }
}
@media (max-width: 700px) {
    .cd-feats { grid-template-columns: minmax(0, 1fr); }
}
@media print {
    .cd-js .cd-im img { opacity: 1; }
}
/* the search boxes show focus on the whole box, not on the bare field inside it */
body.corduroy :is(.cd-hsearch, .cd-dsearch, .cd-tsearch) input:focus-visible { outline: 0; }
:is(.cd-dsearch, .cd-tsearch):focus-within { box-shadow: 0 0 0 3px rgba(31,142,241,.25); }

/* round 8: the home page's latest machines end with a way to all of them (8 of them on phones) */
body.corduroy .cd-seeall { display: flex; justify-content: center; margin: 28px 0 0; }
body.corduroy .cd-seeall .cd-btn { padding: 0 26px; }
.cd-seeall .cd-i { width: 16px; height: 16px; }

@media (max-width: 700px) {
    body.corduroy .cd-hgrid > :nth-child(n+9) { display: none; }
    body.corduroy .cd-seeall .cd-btn { width: 100%; }
    /* the bar slides away while the price card itself is on screen */
    .cd-mbar { transition: transform .25s ease, visibility 0s; }
    .cd-js body.cd-buy-in .cd-mbar { transform: translateY(110%); visibility: hidden; transition: transform .25s ease, visibility 0s .25s; }
    /* the make chips fade at the edge, so they read as a row to swipe */
    .cd-chips .cd-wrap { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); padding-right: 36px; }
    /* a shorter footer: the links run on as rows */
    .cd-footer ul { display: flex; flex-wrap: wrap; gap: 6px 18px; }
    .cd-fg > div:nth-child(2) { grid-column: 1 / -1; }
}

/* round 9: the search page */
.cd-shead2 { margin: 6px 0 18px; }
body.corduroy .cd-shead2 h1 { margin: 0 0 6px; }
.cd-shead2 .cd-lead { margin: 0; }
.cd-sform { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; padding: 20px; margin: 0 0 32px; background: #fff; border: 1px solid var(--cd-line); border-radius: 22px; box-shadow: var(--cd-shadow); }
.cd-sf { flex: 1 1 180px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.cd-sf-key { flex: 2 1 280px; }
.cd-sf-price { flex: 1.3 1 220px; }
.cd-sf-go { flex: 0 0 auto; }
body.corduroy .cd-sf label { margin: 0; font-size: 13px; font-weight: 700; color: var(--cd-ink); }
.cd-sin { position: relative; }
.cd-sin .cd-i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--cd-ink-3); pointer-events: none; }
body.corduroy .cd-sin .form-control { padding-left: 40px; }
.cd-prange { display: flex; align-items: center; gap: 8px; }
.cd-prange span { color: var(--cd-ink-3); }
body.corduroy .cd-sf .form-control { width: 100%; height: 48px; }
body.corduroy .cd-sf-go .cd-btn { height: 48px; padding: 0 24px; }
.cd-sf-extra:empty, .cd-sf-extra:not(:has(.form-group:not(.hidden))) { display: none; }
.cd-sres { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 18px; }
body.corduroy .cd-sres h2 { font-size: 22px; font-weight: 800; margin: 0; color: var(--cd-ink); }
body.corduroy .cd-sres a { font-weight: 700; font-size: 14px; white-space: nowrap; }
.cd-snone { margin-bottom: 8px; }
.cd-snone div { margin-top: 4px; }

@media (max-width: 700px) {
    .cd-sform { padding: 16px; gap: 12px; border-radius: 18px; }
    .cd-sf, .cd-sf-key, .cd-sf-price, .cd-sf-go { flex-basis: 100%; }
    body.corduroy .cd-sf-go .cd-btn { width: 100%; }
    .cd-sres { flex-direction: column; gap: 4px; }
}

/* the home search: the hero's text column is too narrow for three controls side by side ("State or province" was
   cut off even at 1440px), so the keyword gets its own row with the state beside Search under it, and on tablets
   (701-900px) the three stack as on phones */
@media (min-width: 701px) {
    .cd-sbox { grid-template-columns: minmax(0, 1fr) auto; }
    .cd-sbox > .cd-f:first-child { grid-column: 1 / -1; }
    body.corduroy .cd-sbox .cd-btn { padding: 0 28px; }
}
@media (min-width: 701px) and (max-width: 1240px) {
    .cd-txt { padding: 44px 36px 40px; }
}
@media (min-width: 701px) and (max-width: 900px) {
    .cd-sbox { grid-template-columns: minmax(0, 1fr); }
}
