/* 1.4.103 · Shared product card extras (wishlists, registries, gift exchanges, Shelly's Shortlists).
   The card itself is the Find a Gift search card (.tgs-catalog-result-card); this sheet only adds the
   context rows below the price: chips, need/quantity line, group-gift progress, action row and the ⋯ menu.
   Search result cards never carry .tgs-card, so nothing here changes them. */
.tgs70 .tgs-card-grid{margin-top:18px}
.tgs70 .tgs-card .tgs-catalog-card-copy{gap:9px}
.tgs70 .tgs-card.is-fulfilled .tgs-catalog-card-media{opacity:.78}
.tgs70 .tgs-card .ph{font-size:64px;line-height:1}
.tgs70 .tgs-card-chips{display:flex;flex-wrap:wrap;gap:6px}
.tgs70 .tgs-chip{display:inline-flex;align-items:center;gap:4px;min-height:24px;padding:3px 10px;border-radius:var(--tgs-r-pill,999px);font-size:12px;font-weight:700;letter-spacing:.02em;line-height:1.2;border:1px solid transparent;white-space:nowrap}
.tgs70 .tgs-chip--available{background:var(--tgs-teal-50,#f0f8f6);color:var(--tgs-teal-800,#07545c);border-color:var(--tgs-line,#d8e7e5)}
.tgs70 .tgs-chip--claimed{background:var(--tgs-gold-50,#fff4dc);color:var(--tgs-gold-700,#8a5811);border-color:var(--tgs-gold-200,#f1cc7c)}
.tgs70 .tgs-chip--purchased{background:var(--tgs-success-soft,#e7f5f1);color:var(--tgs-success,#13776f);border-color:#bfe3d9}
.tgs70 .tgs-chip--most{background:var(--tgs-action,#a66c19);color:#fff}
.tgs70 .tgs-chip--group{background:#fff;color:var(--tgs-teal-700,#0c6870);border-color:var(--tgs-line-strong,#b9d3cf)}
.tgs70 .tgs-card-need{margin:0;font-weight:700;color:var(--tgs-ink-2,#265963);font-size:14px}
.tgs70 .tgs-card-facts{display:flex;flex-wrap:wrap;gap:4px 12px;margin:0;font-size:13px;color:var(--tgs-muted,#5c757a)}
.tgs70 .tgs-card-note{margin:0;font-size:14px;color:var(--tgs-ink-2,#265963);font-style:italic}
.tgs70 .tgs-card-progress{width:100%;display:grid;gap:5px}
.tgs70 .tgs-card-progress .meter{height:10px}
.tgs70 .tgs-card-progress small{color:var(--tgs-muted,#5c757a);font-size:13px}
.tgs70 .tgs-card-actions{width:100%;display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:auto;padding-top:8px}
.tgs70 .tgs-card-actions>.btn-primary{flex:1 1 auto;justify-content:center}
.tgs70 .tgs-card-actions .claim{font-size:14px;font-weight:600;color:var(--tgs-muted,#5c757a)}
.tgs70 .tgs-card .tgs-catalog-product-actions{margin-top:0;padding-top:0}
/* ⋯ More menu */
.tgs70 .tgs-card-menu{position:relative}
.tgs70 .tgs-card-menu>summary{list-style:none;cursor:pointer}
.tgs70 .tgs-card-menu>summary::-webkit-details-marker{display:none}
.tgs70 .tgs-card-menu__list{position:absolute;right:0;bottom:calc(100% + 6px);z-index:30;min-width:220px;max-height:460px;overflow:auto;display:grid;gap:2px;padding:6px;background:#fff;border:1px solid var(--tgs-line,#d8e7e5);border-radius:var(--tgs-r-md,12px);box-shadow:var(--tgs-shadow-3,0 24px 60px -24px rgba(4,50,58,.4))}
.tgs70 .tgs-card-menu__item{display:block;width:100%;text-align:left;padding:9px 12px;border:0;border-radius:8px;background:transparent;color:var(--tgs-ink,#073d46);font:inherit;font-size:14px;cursor:pointer}
.tgs70 .tgs-card-menu__item:hover,.tgs70 .tgs-card-menu__item:focus-visible{background:var(--tgs-teal-50,#f0f8f6)}
.tgs70 .tgs-card-menu__item[disabled]{opacity:.45;cursor:default}
.tgs70 .tgs-card-menu__item.is-danger{color:var(--tgs-danger,#a3404c)}
.tgs70 .tgs-card-menu__label{margin:6px 12px 2px;font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--tgs-muted,#5c757a)}
/* Shelly's Shortlists page */
.tgs70 .tgs-shelly-jump{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 6px}
.tgs70 .tgs-shelly-jump a{display:inline-flex;gap:6px;align-items:center;padding:7px 14px;border-radius:999px;border:1px solid var(--tgs-line-strong,#b9d3cf);background:#fff;color:var(--tgs-teal-800,#07545c);font-weight:600;text-decoration:none;font-size:14px}
.tgs70 .tgs-shelly-jump a small{color:var(--tgs-gold-700,#8a5811);font-weight:700}
.tgs70 .tgs-shelly-list{margin:34px 0;scroll-margin-top:20px}
.tgs70 .tgs-shelly-list__head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px;border-bottom:1px solid var(--tgs-line,#d8e7e5);padding-bottom:12px}
.tgs70 .tgs-shelly-list__head h2,.tgs70 .tgs-shelly-list__head h3{margin:0}
.tgs70 .tgs-shelly-more{display:flex;justify-content:center;margin-top:18px}
.tgs-shelly-browser{max-width:1180px;margin:0 auto}
.tgs-shelly-browser .tgs-catalog-card-copy>.btn{width:100%;justify-content:center}
@media(max-width:700px){
 .tgs70 .tgs-card-menu__list{position:fixed;left:12px;right:12px;bottom:76px;min-width:0;max-height:60vh}
 .tgs70 .tgs-card-actions>.btn{flex:1 1 auto;justify-content:center}
}
/* the ⋯ menu must not be clipped by the card */
.tgs70 .tgs-catalog-result-card.tgs-card{overflow:visible}
.tgs70 .tgs-card .tgs-catalog-card-media{border-radius:15px 15px 0 0;overflow:hidden}
.tgs70 .tgs-card-menu[open]{z-index:31}
/* Disabled "done" primary (Purchased / Fully funded / Claimed) */
.tgs70 .tgs-card-actions .btn.is-done,.tgs70 .tgs-card-actions .btn.is-done:hover{background:var(--tgs-success-soft,#e7f5f1)!important;color:var(--tgs-success,#13776f)!important;border-color:#bfe3d9!important;box-shadow:none!important;cursor:default;opacity:1}
/* Shelly's Shortlists landing tiles */
.tgs70 .tgs-shelly-dept,.tgs-shelly-browser .tgs-shelly-dept{margin:28px 0 10px}
.tgs70 .tgs-shelly-tiles,.tgs-shelly-browser .tgs-shelly-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:20px;margin-top:18px}
.tgs70 .tgs-shelly-tile{position:relative;display:flex;flex-direction:column;background:#fff;border:1px solid #e1e9e4;border-radius:15px;box-shadow:0 3px 13px #123b3a0c;transition:box-shadow .2s,transform .2s}
.tgs70 .tgs-shelly-tile:hover{box-shadow:var(--tgs-shadow-2,0 14px 36px -18px rgba(0,80,89,.28));transform:translateY(-2px)}
.tgs70 .tgs-shelly-tile__link{display:flex;flex-direction:column;color:inherit;text-decoration:none;flex:1}
.tgs70 .tgs-shelly-tile__cover{display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;background:#fff;border-radius:15px 15px 0 0;overflow:hidden;border-bottom:4px solid var(--tgs-gold-500,#c99336);padding:16px;box-sizing:border-box}
.tgs70 .tgs-shelly-tile__cover img{width:100%;height:100%;object-fit:contain}
.tgs70 .tgs-shelly-tile__cover .ph{font-size:56px;color:var(--tgs-gold-500,#c99336)}
.tgs70 .tgs-shelly-tile__body{display:grid;gap:4px;padding:14px 16px 52px}
.tgs70 .tgs-shelly-tile__body strong{font-family:var(--tgs-font-display);font-weight:400;font-size:24px;line-height:1.1;color:var(--tgs-ink,#073d46)}
.tgs70 .tgs-shelly-tile__body small{font-weight:700;color:var(--tgs-gold-700,#8a5811);letter-spacing:.04em}
.tgs70 .tgs-shelly-tile__desc{font-size:13px;color:var(--tgs-muted,#5c757a)}
.tgs70 .tgs-shelly-tile__actions{position:absolute;right:10px;bottom:10px}
.tgs70 .tgs-shelly-tile .tgs-card-menu__list{bottom:calc(100% + 6px)}
.tgs-shelly-browser .tgs-shelly-tile__actions{position:static;padding:0 16px 14px}
.tgs-shelly-browser .tgs-shelly-tile__body{padding-bottom:10px}
@media(max-width:700px){.tgs70 .tgs-shelly-tiles,.tgs-shelly-browser .tgs-shelly-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tgs70 .tgs-shelly-tile__body strong{font-size:19px}.tgs70 .tgs-shelly-tile__body{padding:10px 12px 48px}}
/* Public [tgs_shelly_shortlists] wrapper: plain block, not the app shell grid */
.tgs70.tgs-shelly-browser{display:block!important;grid-template-columns:none!important;background:transparent;padding:22px 24px 28px;box-sizing:border-box;min-height:0;max-width:1180px;margin:0 auto}
.tgs-shelly-browser .tgs-shelly-browser__head h2,.tgs-shelly-browser .tgs-shelly-list__head h2{font-family:var(--tgs-font-display);font-weight:400;font-size:clamp(32px,4vw,48px);line-height:1.05;margin:4px 0 0;color:var(--tgs-ink,#073d46)}
.tgs-shelly-browser .kicker{font-size:11px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--tgs-gold-700,#8a5811);margin:0}
.tgs-shelly-browser .tgs-shelly-list__head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap;margin:8px 0 14px}
.tgs-shelly-browser .tgs-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:20px}
/* 1.4.104: close / back controls on an opened Shelly's Shortlist */
.tgs70 .tgs-shelly-close{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 6px}
.tgs70 .tgs-shelly-close .btn{text-decoration:none}

/* 1.4.105: owner/admin 3-way status toggle on registry cards */
.tgs70 .tgs-status-seg{display:flex;width:100%;max-width:340px;margin:8px 0 4px;padding:3px;gap:3px;border-radius:999px;background:var(--tgs-surface-2,#f1ede6);border:1px solid var(--tgs-line,#e3ddd3)}
.tgs70 .tgs-status-seg__btn{flex:1 1 0;min-width:0;min-height:36px;padding:6px 8px;border:0;border-radius:999px;background:transparent;color:var(--tgs-ink-2,#4a4f52);font:inherit;font-size:13px;font-weight:700;line-height:1.1;cursor:pointer;white-space:nowrap;transition:background .15s,color .15s,box-shadow .15s}
.tgs70 .tgs-status-seg__btn:hover{background:rgba(0,0,0,.05)}
.tgs70 .tgs-status-seg__btn:focus-visible{outline:2px solid var(--tgs-primary,#1f6b5c);outline-offset:1px}
.tgs70 .tgs-status-seg__btn.is-on{background:#fff;color:var(--tgs-primary,#1f6b5c);box-shadow:0 1px 3px rgba(0,0,0,.14)}
.tgs70 .tgs-status-seg[data-seg-current="claimed"] .is-on{color:#8a5a00}
.tgs70 .tgs-status-seg[data-seg-current="purchased"] .is-on{color:#1d6a3a}
.tgs70 .tgs-status-seg.is-saving{opacity:.7;pointer-events:none}
@media(max-width:480px){.tgs70 .tgs-status-seg{max-width:none}.tgs70 .tgs-status-seg__btn{min-height:40px;font-size:12.5px;padding:6px 4px}}
