/* v19: product summary, graphic details grid, logged-in checkout note */
.td-buy-summary{margin:14px 0 4px;font-size:14px;line-height:1.55;color:var(--muted-foreground,#475569)}
.td-co-as{font-size:14px;line-height:1.5}
.td-co-as p{margin:0}
.td-gfx-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 18px;margin-top:14px}
.td-gfx-cell{display:flex;align-items:center;gap:12px;min-width:0}
.td-gfx-ic{flex:none;width:48px;height:48px;border:1.5px solid #2563eb;border-radius:14px;display:grid;place-items:center;color:#2563eb;background:rgba(37,99,235,.06);box-shadow:0 3px 8px rgba(37,99,235,.12)}
.td-gfx-ic svg{width:22px;height:22px}
.td-gfx-cell b{display:block;font-size:16px;font-weight:700;line-height:1.2}
.td-gfx-cell span:not(.td-gfx-ic),.td-gfx-cell a{display:block;font-size:15px;opacity:.85;overflow-wrap:anywhere}
@media(max-width:420px){.td-gfx-grid{gap:12px 10px}.td-gfx-ic{width:42px;height:42px}}
.td-gfx-in{margin:16px 0 14px;padding-top:14px;border-top:1px dashed rgba(100,116,139,.35)}
.td-gfx-in h3{margin:0 0 4px;font-size:16px;font-weight:700}
.td-gfx-in .td-gfx-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));margin-top:10px}
.td-gfx-in .td-gfx-ic{width:42px;height:42px;border-radius:12px}
.td-gfx-in .td-gfx-cell b{font-size:14px}
.td-gfx-in .td-gfx-cell span:not(.td-gfx-ic),.td-gfx-in .td-gfx-cell a{font-size:14px}

/* v10: smaller price, vendor chip under price, tighter spacing */
.td-buy-now{font-size:26px!important;line-height:1.15!important}
.td-buy-old{font-size:14px!important}
.td-buy-price{margin-bottom:8px!important;gap:8px!important}
.td-buy-top{margin-bottom:0!important}
.td-soldby{display:flex;align-items:center;gap:10px;margin:2px 0 10px;padding:8px 10px;border:1px solid rgba(100,116,139,.3);border-radius:10px;text-decoration:none;color:inherit;background:rgba(37,99,235,.05)}
.td-soldby img{width:34px;height:34px;border-radius:50%;object-fit:cover;background:#fff;flex:none}
.td-soldby span{flex:1;min-width:0;display:block;line-height:1.2}
.td-soldby small{display:block;font-size:11px;opacity:.65;text-transform:uppercase;letter-spacing:.04em}
.td-soldby b{display:block;font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.td-soldby i{font-style:normal;font-size:22px;opacity:.6}
.td-gfx-in{margin:6px 0 10px!important;padding-top:8px!important}
.td-buy-summary{margin:6px 0 2px!important}
/* v12: bigger preview image, smaller price, slim version strip */
.td-buy-now{font-size:20px!important}
.td-buy-old{font-size:13px!important}
.td-gallery-main{aspect-ratio:1/1!important;object-fit:contain!important;background:hsl(var(--muted,210 20% 96%))}
@media(min-width:768px){.td-gallery-main{aspect-ratio:4/3!important}}
.td-ver>div{padding:6px 10px!important}
.td-ver dt{font-size:10px!important;letter-spacing:.06em!important;line-height:1.2!important}
.td-ver dd{font-size:13px!important;font-weight:600!important;margin-top:2px!important;line-height:1.25!important}
/* v13: taller preview (beats the v17 16:10 rule), price card closer to the version strip */
html body .td-gallery-box .td-gallery-btn{aspect-ratio:5/4!important}
html body .td-gallery-box img.td-gallery-main{object-fit:contain!important;object-position:center!important;aspect-ratio:auto!important;width:100%!important;height:100%!important}
@media(min-width:768px){html body .td-gallery-box .td-gallery-btn{aspect-ratio:4/3!important}}
@media(max-width:1023px){html body .td-buy{margin-top:-22px!important}html body .td-ver{margin-bottom:0!important}}

/* v14: seller chip with Follow button, price up */
.td-soldby{display:flex;align-items:center;gap:10px;padding:8px 10px}
.td-soldby .td-sb-link{display:flex;align-items:center;gap:10px;flex:1;min-width:0;text-decoration:none;color:inherit}
.td-soldby .td-sb-link img{width:34px;height:34px;border-radius:50%;object-fit:cover;background:#fff;flex:none}
.td-soldby .td-sb-link span{flex:1;min-width:0;display:block;line-height:1.2}
.td-soldby .td-sb-link small{display:block;font-size:11px;opacity:.65;text-transform:uppercase;letter-spacing:.04em}
.td-soldby .td-sb-link b{display:block;font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.td-follow{flex:none;background:#f97316!important;color:#fff!important;border:1.5px solid #f97316!important;border-radius:8px!important;padding:8px 14px!important;font-weight:700;font-size:13px;cursor:pointer;white-space:nowrap}
.td-follow.on{background:#fff!important;color:#f97316!important}
.td-follow:disabled{opacity:.6}
html body .td-buy-price{margin-top:-14px!important}

/* v15: small blue Follow button */
.td-follow{background:#2563eb!important;border:1.5px solid #2563eb!important;color:#fff!important;padding:5px 11px!important;font-size:12px!important;border-radius:7px!important}
.td-follow.on{background:#fff!important;color:#2563eb!important}

/* v16: red pending count in admin menu */
.td-red{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;margin-left:auto;border-radius:99px;background:#dc2626;color:#fff;font-size:12px;font-weight:800;line-height:1}

/* v17: home sellers carousel */
.td-sellers{padding:34px 0}.td-sellers-in{max-width:80rem;margin:0 auto;padding:0 16px}
.td-sel-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:16px;border-left:4px solid #2563eb;padding-left:14px}
.td-sel-head h2{margin:0;font-size:30px;font-weight:800;line-height:1.15}.td-sel-head p{margin:4px 0 0;color:#64748b}
.td-sel-head a{color:#2563eb;font-weight:700;white-space:nowrap;text-decoration:none}
.td-sel-wrap{position:relative}
.td-sel-track{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:4px 2px 10px;cursor:grab;-webkit-overflow-scrolling:touch}
.td-sel-track::-webkit-scrollbar{display:none}.td-sel-track.drag{cursor:grabbing;scroll-snap-type:none;user-select:none}
.td-sel-card{flex:0 0 190px;scroll-snap-align:start;display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;padding:16px 10px;border:1px solid rgba(100,116,139,.28);border-radius:16px;background:#fff;color:inherit;text-decoration:none}
.td-sel-card img,.td-sel-ph{width:72px;height:72px;border-radius:50%;object-fit:cover;background:#e0e7ff;display:grid;place-items:center;font-size:28px;font-weight:800;color:#4338ca;pointer-events:none}
.td-sel-card b{font-size:15px;margin-top:4px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.td-sel-card small{color:#64748b}
.td-sel-nav{position:absolute;top:42%;transform:translateY(-50%);width:38px;height:38px;border-radius:50%;border:1px solid rgba(100,116,139,.35);background:#fff;box-shadow:0 8px 20px -10px rgba(15,23,42,.5);font-size:20px;line-height:1;cursor:pointer;display:none;z-index:2}
.td-sel-nav.l{left:-10px}.td-sel-nav.r{right:-10px}
@media(min-width:768px){.td-sel-nav{display:block}.td-sel-card{flex-basis:210px}}
@media(max-width:640px){.td-sel-head h2{font-size:24px}}
