/* ============ HOME ============ */
.hero{
  margin:28px 0 8px;border-radius:20px;overflow:hidden;position:relative;isolation:isolate;
  background:linear-gradient(115deg,#0E3D31 0%,#17594A 48%,#2A7A60 100%);
  color:#F2F8F4;padding:60px 52px 64px;
  box-shadow:var(--shadow-lg),inset 0 1px 0 rgba(255,255,255,.18);
}
/* Two soft lights, so the panel has a surface rather than being a slab of green. */
.hero::before{
  content:'';position:absolute;inset:-40% -10% auto auto;width:70%;aspect-ratio:1;z-index:-1;
  background:radial-gradient(circle at 60% 40%,rgba(150,255,210,.55),transparent 64%);
  animation:heroDrift 22s var(--ease-out) infinite alternate;
}
.hero::after{
  content:'';position:absolute;inset:auto auto -45% -12%;width:58%;aspect-ratio:1;z-index:-1;
  background:radial-gradient(circle at 40% 60%,rgba(6,38,30,.8),transparent 68%);
}
@keyframes heroDrift{from{transform:translate3d(0,0,0)}to{transform:translate3d(-4%,5%,0)}}
@media (prefers-reduced-motion:reduce){.hero::before{animation:none}}
:root[data-theme="dark"] .hero{background:linear-gradient(115deg,#0C2E26 0%,#14493D 48%,#1F5F4C 100%)}
.hero .eyebrow{
  font-size:12.5px;letter-spacing:.14em;text-transform:uppercase;font-weight:650;
  color:#A8D4BF;margin-bottom:14px;
}
.hero h1{font-size:clamp(30px,4.6vw,50px);font-weight:750;letter-spacing:-.02em;max-width:15ch}
.hero p.sub{font-size:17px;color:#CBE4D6;max-width:52ch;margin:16px 0 28px}
.hero-search{
  display:flex;gap:0;background:#fff;border-radius:12px;overflow:hidden;
  max-width:640px;box-shadow:var(--shadow-lg);
  color-scheme:light;   /* a white bar in both themes, controls included */
}
.hero-search select{
  border:none;outline:none;background:#F1F3EE;color:#212722;padding:0 16px;
  font-weight:600;font-size:14px;border-right:1px solid #E2E3DB;cursor:pointer;
}
.hero-search input{
  flex:1;border:none;outline:none;padding:16px 18px;font-size:15.5px;color:#212722;min-width:0;
  background:#fff;   /* without it, dark mode paints the browser's grey */
}
.hero-search .btn{border-radius:0;padding:0 26px}
.hero-stats{display:flex;gap:40px;margin-top:38px;flex-wrap:wrap}
.hero-stats .stat{position:relative;padding-left:14px}
.hero-stats .stat::before{
  content:'';position:absolute;left:0;top:4px;bottom:4px;width:2px;border-radius:2px;
  background:linear-gradient(180deg,rgba(146,240,201,.9),rgba(146,240,201,.15));
}
.hero-stats .stat b{font-family:'Bricolage';font-size:27px;font-weight:750;display:block;
  letter-spacing:-.015em;font-variant-numeric:tabular-nums}
.hero-stats .stat span{font-size:13px;color:#A8D4BF}
.hero .boat{position:absolute;right:-30px;bottom:-40px;opacity:.14;pointer-events:none}

.section{margin:44px 0}
.sec-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:18px}
.sec-head h2{font-size:23px;font-weight:700;letter-spacing:-.01em}
.sec-head .more{font-size:14px;font-weight:600;color:var(--brand);background:none;padding:0}
.sec-head .more:hover{text-decoration:underline}
.sec-head p{margin:4px 0 0;color:var(--muted);font-size:14px}

.cat-row{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:12px}
.cat-tile{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  padding:18px 14px;text-align:center;transition:border-color .15s, transform .15s;
}
.cat-tile:hover{border-color:var(--brand);transform:translateY(-2px)}
.cat-tile .ic{
  width:44px;height:44px;border-radius:12px;background:var(--brand-soft);color:var(--brand);
  display:flex;align-items:center;justify-content:center;margin:0 auto 10px;
}
.cat-tile b{font-size:13.5px;font-weight:600;display:block}
.cat-tile span{font-size:12px;color:var(--faint)}

/* cards */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:18px}
/* Results settle in rather than snapping, staggered across the first row or two.
   Capped at 10 so a long grid doesn't leave the last cards visibly waiting. */
.grid .card{animation:cardIn .42s var(--ease-out) both}
.grid .card:nth-child(1){animation-delay:.02s}
.grid .card:nth-child(2){animation-delay:.05s}
.grid .card:nth-child(3){animation-delay:.08s}
.grid .card:nth-child(4){animation-delay:.11s}
.grid .card:nth-child(5){animation-delay:.14s}
.grid .card:nth-child(6){animation-delay:.17s}
.grid .card:nth-child(7){animation-delay:.20s}
.grid .card:nth-child(8){animation-delay:.23s}
.grid .card:nth-child(9){animation-delay:.26s}
.grid .card:nth-child(n+10){animation-delay:.28s}
@keyframes cardIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.grid .card{animation:none}}
.grid.wide{grid-template-columns:repeat(auto-fill,minmax(270px,1fr))}
.card{
  background:var(--surface);border:1px solid var(--line);border-radius:12px;overflow:hidden;
  cursor:pointer;position:relative;
  transition:box-shadow .24s var(--ease-out),border-color .24s var(--ease-out),transform .24s var(--ease-out);
  display:flex;flex-direction:column;
}
.card:hover{box-shadow:var(--lift);border-color:var(--brand);transform:translateY(-4px)}
.card .art img{transition:transform .5s var(--ease-out)}
.card:hover .art img{transform:scale(1.06)}
.card .art svg.pic{transition:transform .45s var(--ease-out)}
.card:hover .art svg.pic{transform:scale(1.08) rotate(-1.5deg)}
.card .name{transition:color .16s var(--ease-out)}
.card:hover .name{color:var(--brand)}
.card .art{position:relative;aspect-ratio:4/3;display:flex;align-items:center;justify-content:center;overflow:hidden}
.card .art svg.pic{width:38%;height:auto;opacity:.9}
.card .art .tag{
  position:absolute;top:10px;left:10px;font-size:11px;font-weight:700;letter-spacing:.04em;
  padding:4px 9px;border-radius:7px;text-transform:uppercase;
  backdrop-filter:saturate(1.4) blur(6px);box-shadow:0 2px 8px rgba(0,0,0,.16);
}
.tag.deal{background:var(--accent);color:#fff}
.tag.auction{background:#3B3266;color:#EDEAFB}
.tag.new{background:var(--good);color:#fff}
.tag.super{background:#fff;color:#212722;box-shadow:0 1px 4px rgba(0,0,0,.2)}
.heart{
  position:absolute;top:8px;right:8px;width:34px;height:34px;border-radius:50%;
  background:rgba(255,255,255,.88);display:flex;align-items:center;justify-content:center;
  color:#57605A;transition:transform .12s;
}
.heart:hover{transform:scale(1.1)}
.heart.on{color:var(--bad)}
.heart.on svg{fill:currentColor}
.card .body{padding:13px 15px 15px;display:flex;flex-direction:column;gap:5px;flex:1}
.card .seller{font-size:12px;color:var(--faint);display:flex;align-items:center;gap:5px}
.card .seller .vdot{width:13px;height:13px;color:var(--brand)}
.card .name{font-weight:600;font-size:14.5px;line-height:1.35;color:var(--ink)}
.card .meta{font-size:12.5px;color:var(--muted)}
.card .rating{display:flex;align-items:center;gap:5px;font-size:13px;color:var(--muted)}
.card .rating .st{color:var(--accent)}
.card .pricerow{display:flex;align-items:baseline;gap:7px;margin-top:auto;padding-top:6px}
.card .price{font-family:'Bricolage';font-weight:700;font-size:17px}
.card .unit{font-size:12.5px;color:var(--muted)}
.card .was{font-size:13px;color:var(--faint);text-decoration:line-through}
.card .bid-meta{font-size:12.5px;color:var(--warn);font-weight:600}

/* gradient art */
.g0{background:linear-gradient(135deg,#D8E4DC,#A9C6B4)}
.g1{background:linear-gradient(135deg,#EBDDC8,#D9B98C)}
.g2{background:linear-gradient(135deg,#CBD9E4,#93AFC4)}
.g3{background:linear-gradient(135deg,#E4D5D0,#C79E92)}
.g4{background:linear-gradient(135deg,#D5D9C8,#A9B285)}
.g5{background:linear-gradient(135deg,#DED2E2,#AB93BC)}
.g6{background:linear-gradient(135deg,#F0E3CE,#E0B771)}
.g7{background:linear-gradient(135deg,#CFE0E0,#8FB8B4)}
.g8{background:linear-gradient(135deg,#E7D8C2,#B98F62)}
.g9{background:linear-gradient(135deg,#D2DCEA,#7E96BC)}
/* listing "photos" stay light in both themes, like real product photography */
.art svg.pic{color:rgba(28,36,30,.55)}

/* dual CTA band */
.band{
  display:grid;grid-template-columns:1fr 1fr;gap:18px;
}
.band .cell{
  border-radius:14px;padding:34px 32px;position:relative;overflow:hidden;
  border:1px solid var(--line);background:var(--surface);
}
.band .cell.tint{background:var(--brand-soft);border-color:transparent}
.band h3{font-size:20px;font-weight:700;margin-bottom:8px}
.band p{color:var(--muted);font-size:14.5px;max-width:40ch;margin:0 0 18px}

.trust{
  display:grid;grid-template-columns:repeat(4,1fr);gap:14px;
  border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:26px 0;
}
.trust .t{display:flex;gap:13px;align-items:flex-start}
.trust .t .ic{color:var(--brand);flex-shrink:0;margin-top:2px}
.trust b{font-size:14px;display:block}
.trust span{font-size:12.5px;color:var(--muted)}

/* ============ BROWSE ============ */
.browse-head{margin:26px 0 18px}
.browse-head h1{font-size:26px;font-weight:700}
.browse-head p{color:var(--muted);margin:5px 0 0;font-size:14px}
.browse-layout{display:grid;grid-template-columns:220px 1fr;gap:28px;align-items:start}
.filters{
  position:sticky;top:130px;display:flex;flex-direction:column;gap:22px;
  font-size:14px;
}
.filters h4{font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--faint);margin-bottom:9px;font-weight:650}
.filters label{display:flex;align-items:center;gap:9px;padding:4px 0;color:var(--muted);cursor:pointer}
.filters label:hover{color:var(--ink)}
.filters input[type=checkbox]{accent-color:var(--brand);width:15px;height:15px}
.pricefld{display:flex;gap:8px;align-items:center}
.pricefld input{
  width:70px;padding:7px 9px;border:1px solid var(--line-strong);border-radius:7px;
  background:var(--surface);outline:none;font-size:13px;
}
/* The button that opens the filters. Desktop has the room for a sidebar and
   never sees this; a phone gets the button and the results, and the panel when
   it asks for it. */
.filtertoggle{display:none;align-items:center;gap:9px;width:100%;margin:0 0 14px;
  padding:11px 14px;border:1px solid var(--line-strong);border-radius:10px;
  background:var(--surface);color:var(--ink);font:inherit;font-size:14px;font-weight:650;cursor:pointer}
.filtertoggle .chev{margin-left:auto;transition:transform .15s}
.filtertoggle[aria-expanded="true"] .chev{transform:rotate(180deg)}
/* A filter you cannot see is a filter you forget you set, so the count stays
   on the button whether the panel is open or shut. */
.filtertoggle .n{background:var(--brand);color:#fff;border-radius:999px;
  min-width:20px;padding:1px 7px;font-size:12px;font-weight:700;text-align:center}
.toolbar{display:flex;align-items:center;gap:12px;margin-bottom:16px;flex-wrap:wrap}
.toolbar .count{font-size:13.5px;color:var(--muted)}
.toolbar select{
  margin-left:auto;padding:8px 12px;border:1px solid var(--line-strong);border-radius:8px;
  background:var(--surface);outline:none;font-size:13.5px;cursor:pointer;
}
.chip{
  padding:7px 14px;border-radius:99px;border:1px solid var(--line-strong);font-size:13px;
  font-weight:550;color:var(--muted);background:var(--surface);
}
.chip:hover{border-color:var(--faint);color:var(--ink)}
.chip.on{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.empty{
  text-align:center;padding:70px 20px;color:var(--muted);
  border:1px dashed var(--line-strong);border-radius:14px;
}

/* ============ DETAIL ============ */
.crumbs{font-size:13px;color:var(--faint);margin:22px 0 18px;display:flex;gap:7px;align-items:center;flex-wrap:wrap}
.crumbs button{color:var(--muted);padding:0}
.crumbs button:hover{color:var(--brand);text-decoration:underline}
.detail{display:grid;grid-template-columns:minmax(0,7fr) minmax(320px,5fr);gap:36px;align-items:start}
.gallery .main{
  aspect-ratio:4/3;border-radius:14px;display:flex;align-items:center;justify-content:center;
  position:relative;overflow:hidden;
}
.gallery .main svg.pic{width:32%;height:auto}
.gallery .thumbs{display:grid;grid-template-columns:repeat(5,1fr);gap:9px;margin-top:10px}
.gallery .thumbs .th{
  aspect-ratio:1;border-radius:9px;cursor:pointer;border:2px solid transparent;opacity:.75;
  display:flex;align-items:center;justify-content:center;
}
.gallery .thumbs .th svg{width:40%;height:auto}
.gallery .thumbs .th.on{border-color:var(--brand);opacity:1}
.buybox h1{font-size:26px;font-weight:700;letter-spacing:-.015em}
.buybox .subrow{display:flex;align-items:center;gap:14px;margin:10px 0 4px;font-size:13.5px;color:var(--muted);flex-wrap:wrap}
.buybox .subrow .st{color:var(--accent)}
.pricebig{display:flex;align-items:baseline;gap:10px;margin:16px 0 4px}
.pricebig .p{font-family:'Bricolage';font-weight:750;font-size:32px}
.pricebig .u{color:var(--muted)}
.pricebig .was{color:var(--faint);text-decoration:line-through;font-size:17px}
.pricebig .off{background:var(--accent-soft);color:var(--accent);font-size:12.5px;font-weight:700;padding:3px 8px;border-radius:6px}
.stockline{font-size:13.5px;color:var(--good);font-weight:600;margin-bottom:14px}
.stockline.low{color:var(--warn)}
.stockline.out{color:var(--bad)}
/* A real date the buyer picks, replacing three dates we invented months ago. */
.datepick{
  padding:11px 13px;border:1px solid var(--line-strong);border-radius:9px;
  background:var(--surface);outline:none;font-size:14.5px;font-family:inherit;color:var(--ink);
  transition:border-color .16s var(--ease-out);
}
.datepick:focus{border-color:var(--brand)}
.optgroup .help{display:block;font-size:12px;color:var(--faint)}
.optgroup{margin:14px 0}
.optgroup .lbl{font-size:13px;font-weight:650;margin-bottom:8px;display:block}
.optgroup .lbl span{color:var(--muted);font-weight:500}
.opts{display:flex;gap:8px;flex-wrap:wrap}
.opts button{
  padding:8px 16px;border:1px solid var(--line-strong);border-radius:8px;font-size:13.5px;
  background:var(--surface);font-weight:550;
}
.opts button.on{border-color:var(--brand);background:var(--brand-soft);color:var(--brand);font-weight:650}
.qty{display:inline-flex;align-items:center;border:1px solid var(--line-strong);border-radius:8px;overflow:hidden}
.qty button{width:36px;height:38px;font-size:17px;color:var(--muted)}
.qty button:hover{background:var(--surface2);color:var(--ink)}
.qty span{min-width:34px;text-align:center;font-weight:650}
.buy-actions{display:flex;gap:10px;margin:20px 0 6px;flex-wrap:wrap}
.buy-actions .btn{flex:1;min-width:140px}
.assure{display:flex;flex-direction:column;gap:8px;margin:18px 0;padding:16px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}
.assure .a{display:flex;gap:10px;font-size:13px;color:var(--muted);align-items:center}
.assure .a svg{color:var(--brand);flex-shrink:0}
.sellercard{
  display:flex;align-items:center;gap:13px;padding:15px;border:1px solid var(--line);
  border-radius:10px;background:var(--surface);margin-top:6px;
}
.avatar{
  width:44px;height:44px;border-radius:50%;background:var(--brand);color:var(--brand-ink);
  display:flex;align-items:center;justify-content:center;font-weight:700;font-family:'Bricolage';
  font-size:16px;flex-shrink:0;
}
.sellercard .info{flex:1;min-width:0}
.sellercard b{font-size:14px;display:flex;align-items:center;gap:6px}
.sellercard span{font-size:12.5px;color:var(--muted)}
.vbadge{color:var(--brand);width:15px;height:15px;flex-shrink:0}

/* auction box */
.auctionbox{
  border:1px solid var(--line-strong);border-radius:12px;padding:18px;margin:14px 0;
  background:var(--surface);
}
.auctionbox .row{display:flex;justify-content:space-between;font-size:13.5px;color:var(--muted);padding:4px 0}
.auctionbox .row b{color:var(--ink)}
.auctionbox .timer{
  font-family:'Bricolage';font-weight:700;font-size:20px;color:var(--warn);
}
.bidrow{display:flex;gap:9px;margin-top:12px}
.bidrow input{
  flex:1;padding:11px 13px;border:1px solid var(--line-strong);border-radius:8px;
  background:var(--bg);outline:none;font-size:15px;min-width:0;
}

/* detail tabs */
.dtabs{display:flex;gap:2px;border-bottom:1px solid var(--line);margin:44px 0 22px;overflow-x:auto;scrollbar-width:none}   /* four tabs outgrow a phone */
.dtabs button{white-space:nowrap;flex-shrink:0}
.dtabs button{
  padding:11px 18px;font-size:14.5px;font-weight:550;color:var(--muted);
  border-bottom:2px solid transparent;margin-bottom:-1px;
}
.dtabs button.on{color:var(--ink);border-bottom-color:var(--brand);font-weight:650}
.dpanel{display:none;max-width:70ch}
.dpanel.on{display:block}
.dpanel p{color:var(--muted)}
.dpanel table{width:100%;border-collapse:collapse;font-size:14px}
.dpanel td{padding:9px 0;border-bottom:1px solid var(--line)}
.dpanel td:first-child{color:var(--muted);width:180px}

/* reviews */
.rev-sum{display:flex;gap:38px;align-items:flex-start;margin-bottom:26px;flex-wrap:wrap}
.rev-score{text-align:center}
.rev-score .big{font-family:'Bricolage';font-size:46px;font-weight:750;line-height:1}
.rev-score .stars{color:var(--accent);font-size:15px;margin:6px 0 3px}
.rev-score span{font-size:12.5px;color:var(--muted)}
.rev-bars{flex:1;max-width:340px;display:flex;flex-direction:column;gap:6px}
.rbar{display:flex;align-items:center;gap:10px;font-size:12.5px;color:var(--muted)}
.rbar .track{flex:1;height:7px;background:var(--surface2);border-radius:4px;overflow:hidden}
.rbar .fill{height:100%;background:var(--accent);border-radius:4px}
.review{border-top:1px solid var(--line);padding:18px 0}
.review .rhead{display:flex;align-items:center;gap:11px;margin-bottom:8px}
.review .rhead .avatar{width:34px;height:34px;font-size:13px}
.review .rhead b{font-size:13.5px;display:block}
.review .rhead span{font-size:12px;color:var(--faint)}
.review .stars{color:var(--accent);font-size:12.5px;letter-spacing:1px}
.review p{margin:8px 0 0;font-size:14px;color:var(--muted);max-width:65ch}

/* ============ STAY DETAIL ============ */
.stay-gallery{display:grid;grid-template-columns:2fr 1fr 1fr;grid-template-rows:1fr 1fr;gap:10px;border-radius:16px;overflow:hidden;height:380px;margin-bottom:26px}
.stay-gallery .ph{display:flex;align-items:center;justify-content:center;cursor:pointer;transition:filter .15s}
.stay-gallery .ph:hover{filter:brightness(1.05)}
.stay-gallery .ph:first-child{grid-row:span 2}
.stay-gallery .ph svg{width:26%;height:auto}
.stay-layout{display:grid;grid-template-columns:minmax(0,7fr) minmax(330px,5fr);gap:40px;align-items:start}
.stay-info h1{font-size:26px;font-weight:700}
.stay-info .locrow{color:var(--muted);font-size:14px;margin:8px 0 16px}
.hostrow{display:flex;align-items:center;gap:13px;padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:18px 0}
.amenities{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin:18px 0}
.amenities .am{display:flex;gap:11px;align-items:center;font-size:14px;color:var(--muted)}
.amenities .am svg{color:var(--ink);flex-shrink:0}
.bookbox{
  position:sticky;top:140px;border:1px solid var(--line);border-radius:14px;padding:22px;
  background:var(--surface);box-shadow:var(--shadow);
}
.bookbox .top{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:14px}
.bookbox .top .p{font-family:'Bricolage';font-weight:750;font-size:24px}
.bookbox .top .p span{font-family:inherit;font-size:14px;color:var(--muted);font-weight:500}
.cal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.cal-head b{font-size:14px}
.cal-head button{width:30px;height:30px;border-radius:8px;color:var(--muted)}
.cal-head button:hover{background:var(--surface2)}
.cal{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;font-size:12.5px}
.cal .dow{text-align:center;color:var(--faint);font-size:11px;padding:5px 0;font-weight:600}
.cal .day{
  aspect-ratio:1;display:flex;align-items:center;justify-content:center;border-radius:8px;
  cursor:pointer;color:var(--ink);position:relative;
}
.cal .day:hover:not(.dis):not(.sel){background:var(--surface2)}
.cal .day.dis{color:var(--line-strong);cursor:default;text-decoration:line-through}
.cal .day.inrange{background:var(--brand-soft);border-radius:0}
.cal .day.sel{background:var(--brand);color:var(--brand-ink);font-weight:700}
/* A day the seller can't work at all, and one they're out for part of.
   Struck out and un-clickable, or marked with a dot and still pickable —
   see js/schedule.js dayState(). */
.cal .day.off{
  color:var(--line-strong);cursor:default;text-decoration:line-through;
  background:var(--surface2);border-radius:7px;
}
.cal .day.part{position:relative}
.cal .day.part::after{
  content:'';position:absolute;left:50%;bottom:4px;transform:translateX(-50%);
  width:4px;height:4px;border-radius:50%;background:var(--warn);
}
.callegend{display:flex;flex-wrap:wrap;gap:12px;margin-top:10px;font-size:11.5px;color:var(--muted)}
.callegend .lg{width:10px;height:10px;border-radius:3px;display:inline-block;margin-right:5px;vertical-align:-1px}
.callegend .lg.off{background:var(--surface2);border:1px solid var(--line-strong)}
.callegend .lg.part{background:var(--warn)}
.callegend .lg.sel{background:var(--brand)}
/* The times a service is offered, under the calendar. */
.slots{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.slot{
  padding:7px 12px;border-radius:8px;font-size:13px;font-weight:600;cursor:pointer;
  border:1px solid var(--line-strong);background:var(--surface);color:var(--ink);
}
.slot:hover{border-color:var(--brand);color:var(--brand)}
.slot.on{background:var(--brand);border-color:var(--brand);color:var(--brand-ink)}
.bookbox .calc{margin-top:14px;display:flex;flex-direction:column;gap:8px;font-size:14px}
.bookbox .calc .l{display:flex;justify-content:space-between;color:var(--muted)}
.bookbox .calc .l.total{border-top:1px solid var(--line);padding-top:10px;margin-top:4px;color:var(--ink);font-weight:700}
.bookbox .hint{text-align:center;font-size:12.5px;color:var(--faint);margin-top:10px}

/* ---- feature block on the detail page ---- */
.featureblock{margin:0 0 22px}
.featureblock h3{font-size:17px;margin:0 0 12px}
.featureblock .fgroup{margin-bottom:12px}
.featureblock .fgroup-h{
  display:block;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
  color:var(--faint);margin-bottom:6px;
}
.featureblock .flist{display:flex;flex-wrap:wrap;gap:6px}
.featureblock .fchip{
  display:inline-block;padding:5px 11px;border-radius:99px;font-size:13px;
  background:var(--surface2);border:1px solid var(--line);color:var(--ink);
}

/* ---- feature facets in browse filters ---- */
.filters h4 .facet-clear{
  float:right;font-size:11.5px;font-weight:600;color:var(--brand);
  text-transform:none;letter-spacing:0;
}
.facets{max-height:300px;overflow-y:auto;padding-right:4px;display:flex;flex-direction:column;gap:12px}
.facet-g .facet-h{
  display:block;font-size:10.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
  color:var(--faint);margin-bottom:4px;
}
label.facet{
  display:flex;align-items:center;gap:8px;padding:4px 6px;border-radius:6px;
  font-size:13px;cursor:pointer;color:var(--muted);
}
label.facet:hover{background:var(--surface2)}
label.facet.on{color:var(--brand);font-weight:600}
label.facet input{accent-color:var(--brand);width:14px;height:14px;flex-shrink:0;margin:0}
label.facet .facet-n{flex:1;min-width:0}
label.facet .facet-c{font-size:11.5px;color:var(--faint);flex-shrink:0}

/* A listing its seller has paused, opened by someone who has the link. */
.pausednote{
  background:var(--warn-soft);color:var(--warn);border-radius:11px;
  padding:11px 14px;font-size:13px;line-height:1.5;margin-bottom:14px;
}
.pausednote b{font-weight:700}

/* ============ SHOPS ============
   Shop tiles (search results, the directory), a shop's public page, and the
   seller link on listing cards. */
.card .seller .sellerlink{
  display:inline-flex;align-items:center;gap:5px;background:none;border:0;padding:0;
  font:inherit;color:inherit;cursor:pointer;text-align:left;
}
.card .seller .sellerlink:hover{color:var(--brand);text-decoration:underline}

.shophits{margin-bottom:18px}
.shophits-h{font-size:11.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--faint);font-weight:650;margin-bottom:8px}
.shoprow{display:flex;gap:10px;overflow-x:auto;padding-bottom:4px}
.shoprow .shoptile{min-width:240px;max-width:300px}
.shopgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px;margin-top:16px}
.shoptile{
  display:flex;align-items:center;gap:12px;padding:14px;border:1px solid var(--line);border-radius:12px;
  background:var(--surface);text-align:left;cursor:pointer;font:inherit;color:inherit;width:100%;
  transition:border-color .15s var(--ease-out),box-shadow .15s var(--ease-out);
}
.shoptile:hover{border-color:var(--line-strong);box-shadow:var(--shadow)}
.shoptile-b{display:flex;flex-direction:column;min-width:0}
.shoptile-b b{font-size:14.5px;font-family:'Bricolage';font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.shoptile-b .tg{font-size:12.5px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.shoptile-b .mt{font-size:12px;color:var(--faint)}

.shophead{border:1px solid var(--line);border-radius:14px;background:var(--surface);overflow:hidden;margin:18px 0 26px}
.shophead .banner{height:110px}
.shophead-b{display:flex;align-items:flex-end;gap:16px;padding:0 22px;flex-wrap:wrap}
.shophead .avatar.big{width:76px;height:76px;margin-top:-38px;border:4px solid var(--surface);font-size:26px}
.shophead-t{flex:1;min-width:200px;padding-top:12px}
.shophead-t h1{margin:0;font-size:clamp(24px,4vw,32px)}
.shophead-t .tg{margin:4px 0 0;color:var(--muted)}
.shophead-t .mt{margin:4px 0 0;font-size:13px;color:var(--faint)}
.shophead-b .btn{margin-bottom:6px}
.shopstory{padding:14px 22px 22px;margin:0;color:var(--muted);max-width:70ch;white-space:pre-line}
.shopcount{font-size:18px;margin:0 0 14px}
.empty-state{text-align:center;padding:60px 16px}
.empty-state p{color:var(--muted)}
.linkbtn{background:none;border:0;padding:0;font:inherit;font-weight:650;color:var(--brand);cursor:pointer;text-decoration:underline}

/* ============ COLOURS ============ */
.swatch{
  display:inline-block;width:16px;height:16px;border-radius:50%;flex-shrink:0;
  box-shadow:inset 0 0 0 1px rgba(128,128,128,.55);vertical-align:-3px;   /* visible on black and white, light and dark */
}
.swatch.sm{width:11px;height:11px;margin-right:6px;vertical-align:-1px}
.colourgrid{display:flex;flex-wrap:wrap;gap:8px}
.colourchip,.opts button.colouropt{display:inline-flex;align-items:center;gap:8px}
.colourchip{
  padding:6px 12px 6px 8px;border:1px solid var(--line-strong);border-radius:99px;background:var(--surface);
  font:inherit;font-size:13px;font-weight:550;cursor:pointer;color:var(--ink);
}
.colourchip.on{border-color:var(--brand);background:var(--brand-soft);color:var(--brand);font-weight:650}
.opts button.colouropt{padding:7px 14px 7px 10px}
/* .amadd input stretches every input in the row; the swatch well must not. */
.amadd input.colourwell{flex:0 0 44px;width:44px;min-width:0;height:40px;padding:3px;border:1px solid var(--line-strong);
  border-radius:8px;background:var(--surface);cursor:pointer}

/* ============ ADMIN: REVIEWING A SHOP ============ */
.afilter{
  width:100%;max-width:420px;padding:10px 12px;border:1px solid var(--line-strong);border-radius:9px;
  background:var(--surface);color:var(--ink);font:inherit;font-size:14px;margin:4px 0 14px;
}
.tablewrap{overflow-x:auto}
.atable .arow{cursor:pointer}
.atable .arow:hover td{background:var(--surface2)}
.atable .sub,.sub{font-size:12px;color:var(--faint);font-weight:500}
.aowner{font-size:13.5px;margin:10px 0 12px;color:var(--muted)}
.aowner a{color:var(--brand)}
.afacts{border-collapse:collapse;font-size:13px;margin:8px 0}
.afacts td{padding:4px 14px 4px 0;vertical-align:top}
.afacts td:first-child{color:var(--faint);white-space:nowrap}
.alist{border:1px solid var(--line);border-radius:12px;padding:14px 16px;margin:12px 0;background:var(--surface)}
.alist-h{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.alist-h b{font-size:15px;flex:1;min-width:160px}
.aphotos{display:flex;gap:8px;overflow-x:auto;margin:10px 0}
.aphotos img{width:92px;height:92px;object-fit:cover;border-radius:8px;border:1px solid var(--line);display:block}
.adesc{font-size:13.5px;color:var(--ink);white-space:pre-line;max-width:75ch;margin:10px 0}
.modrow{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.modrow input{
  flex:1;min-width:200px;padding:8px 10px;border:1px solid var(--line-strong);border-radius:8px;
  background:var(--surface);color:var(--ink);font:inherit;font-size:13px;
}
.alog{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:10px;font-size:13px}
.alog span{color:var(--muted)}

/* ---- photo arrows (js/views/gallery.js) ----
   On a listing they are always there; on a card they wait for a hover, and on
   a touch screen — which has no hover — they stay put. */
.parrow{
  position:absolute;top:50%;transform:translateY(-50%);z-index:2;
  width:30px;height:30px;border-radius:50%;border:none;cursor:pointer;
  background:rgba(255,255,255,.93);color:#212722;font-size:18px;line-height:1;
  display:flex;align-items:center;justify-content:center;padding:0 0 2px;
  box-shadow:0 2px 8px rgba(0,0,0,.22);
  opacity:0;transition:opacity .15s var(--ease-out),transform .15s var(--ease-out);
}
.parrow.prev{left:9px}
.parrow.next{right:9px}
.parrow:hover{transform:translateY(-50%) scale(1.09)}
.parrow:focus-visible{opacity:1;outline:2px solid var(--brand);outline-offset:2px}
.galcount{
  position:absolute;right:10px;bottom:10px;z-index:2;
  background:rgba(18,23,20,.74);color:#fff;font-size:11.5px;font-weight:600;
  padding:2px 8px;border-radius:99px;opacity:0;transition:opacity .15s var(--ease-out);
}
.gallery .main .parrow,.gallery .main .galcount,
.stay-main .parrow,.stay-main .galcount{opacity:1}
.card:hover .parrow,.card:focus-within .parrow,
.card:hover .galcount,.card:focus-within .galcount{opacity:1}
@media (hover:none){.card .parrow,.card .galcount{opacity:1}}
.stay-main{position:relative}
.stay-main img.photo{width:100%;height:100%;object-fit:cover}

/* ---- saved listings ---- */
.wishbtn svg{fill:none}
.wishgone{
  display:flex;align-items:center;gap:12px;flex-wrap:wrap;
  border:1px solid var(--line);border-radius:12px;padding:12px 14px;margin-bottom:18px;
  background:var(--surface);font-size:14px;
}
.wishgone span{color:var(--muted);flex:1;min-width:200px}
