/* Archive table view (option A "Clean ledger", 3 Dec 2026). Loaded only while the table is on (shop-archive.php).
   Classes are prefixed gplt-ct-: Flatsome has short helper classes (.ml, .box ...) that would collide. */

/* Phones: a compact title band, breadcrumb and title only (owner, 3 Dec 2026). */
@media (max-width:549px){body.gplt-sa .gplt-sa-chips,body.gplt-sa .gplt-sa-sub{display:none!important}}

.gplt-ct,.gplt-ct *{box-sizing:border-box}
.gplt-ct{--ct-ink:#0f1b2a;--ct-text:#334155;--ct-muted:#6b7a8f;--ct-line:#edf2f7;--ct-blue:#1a8fc4;--ct-head:#eaf4fb;
	margin:0 0 30px;border:1px solid #e1e9f1;border-radius:16px;overflow:hidden;background:#fff;
	box-shadow:0 18px 40px -32px rgba(15,27,42,.35);color:var(--ct-text);font-family:var(--gplt-font,'Manrope',sans-serif);
	font-variant-numeric:tabular-nums;line-height:1.35}
.gplt-ct a{text-decoration:none}
.gplt-ct .gplt-ct-rows{display:block;margin:0;padding:0}

.gplt-ct-hr,.gplt-ct-row{display:grid;grid-template-columns:minmax(0,1fr) 140px 176px 150px;align-items:center}

/* Head */
.gplt-ct-hr{background:var(--ct-head);color:var(--ct-ink);font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;line-height:1}
.gplt-ct-h{display:flex;align-items:center;height:50px;padding:0 18px}
.gplt-ct-h+.gplt-ct-h{box-shadow:inset 1px 0 0 rgba(26,143,196,.1)}
.gplt-ct-h--s{padding:0}
.gplt-ct-h.is-asc,.gplt-ct-h.is-desc{background:#d9ecf8;color:#1a7fb0}
.gplt-ct-sort{display:flex;align-items:center;gap:10px;flex:1;height:100%;padding:0 18px;color:inherit;white-space:nowrap}
.gplt-ct-sort:hover,.gplt-ct-sort:focus-visible{color:var(--ct-blue)}
.gplt-ct-arr{display:inline-flex;flex-direction:column;gap:2px;margin-left:auto}
.gplt-ct-arr i{display:block;width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;opacity:.35}
.gplt-ct-arr i:first-child{border-bottom:5px solid currentColor}
.gplt-ct-arr i:last-child{border-top:5px solid currentColor}
.gplt-ct-sort.is-asc .gplt-ct-arr i:first-child,.gplt-ct-sort.is-desc .gplt-ct-arr i:last-child{opacity:1}
.gplt-ct-msort{display:none}

/* Rows */
.gplt-ct-row{border-top:1px solid var(--ct-line);transition:background .15s}
.gplt-ct-rows>.gplt-ct-row:nth-child(even){background:#fafcfe}
.gplt-ct-rows>.gplt-ct-row:hover{background:#f0f7fc}
.gplt-ct-c{padding:13px 18px;font-size:14.5px}
.gplt-ct-c--p{display:flex;align-items:center;gap:14px;min-width:0}
.gplt-ct-thumb{flex:none;display:block;width:64px;height:40px;border-radius:8px;overflow:hidden;background:#eef3f8;box-shadow:0 0 0 1px rgba(15,27,42,.06)}
.gplt-ct-thumb img{display:block;width:100%!important;height:100%!important;margin:0;object-fit:cover}
.gplt-ct-id{min-width:0}
.gplt-ct-name{display:block;color:var(--ct-ink);font-size:15px;font-weight:700}
.gplt-ct-row:hover .gplt-ct-name,.gplt-ct-name:focus-visible{color:var(--ct-blue)}
.gplt-ct-dev{display:block;margin-top:3px;color:var(--ct-muted);font-size:12.5px;font-weight:600}
.gplt-ct-mm{display:none}
.gplt-ct-c--v{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.gplt-ct-ver{display:inline-flex;align-items:center;height:24px;padding:0 9px;border-radius:999px;background:#ecfdf3;color:#067647;font:600 12.5px/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:nowrap}
.gplt-ct-note{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:999px;background:#eef3f8;color:#46556a;font-size:11.5px;font-weight:700;white-space:nowrap}
.gplt-ct-none{color:#b4c0cd}
.gplt-ct-c--d{color:#46556a;white-space:nowrap}

/* Download / Join now */
.gplt-ct .gplt-ct-btn{position:static;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:0;height:36px;margin:0;padding:0 16px;border:0;border-radius:999px;font-size:13.5px;font-weight:800;line-height:1;letter-spacing:normal;text-transform:none;white-space:nowrap;transition:background .15s,box-shadow .15s,color .15s}
.gplt-ct .gplt-ct-btn--dl{background:linear-gradient(#23a3dc,#1a8fc4);color:#fff;box-shadow:0 10px 20px -12px #1a8fc4}
.gplt-ct .gplt-ct-btn--dl:hover,.gplt-ct .gplt-ct-btn--dl:focus-visible{color:#fff;box-shadow:0 12px 24px -10px #1a8fc4}
.gplt-ct .gplt-ct-btn--dl::before{content:"";flex:none;width:15px;height:15px;background:currentColor;
	-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7 10l5 5 5-5M5 20h14'/%3E%3C/svg%3E") center/contain no-repeat;
	mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7 10l5 5 5-5M5 20h14'/%3E%3C/svg%3E") center/contain no-repeat}
.gplt-ct .gplt-ct-btn .yith-wcmbs-download-button__name{display:inline;max-width:none;overflow:visible}
.gplt-ct .gplt-ct-btn .yith-wcmbs-download-button__name::before,.gplt-ct .gplt-ct-btn .yith-wcmbs-download-button__credits{display:none!important}
.gplt-ct .gplt-ct-btn--join{background:transparent;box-shadow:inset 0 0 0 1px #cfe3f1;color:var(--ct-blue)}
.gplt-ct-row:hover .gplt-ct-btn--join,.gplt-ct .gplt-ct-btn--join:hover,.gplt-ct .gplt-ct-btn--join:focus-visible{background:linear-gradient(#23a3dc,#1a8fc4);box-shadow:0 10px 20px -12px #1a8fc4;color:#fff}
.gplt-ct-out{display:inline-flex;align-items:center;height:36px;padding:0 14px;border-radius:999px;background:#f2f5f8;color:var(--ct-muted);font-size:12.5px;font-weight:700;white-space:nowrap;cursor:help}

/* FiboFilters' loading row */
.gplt-ct-row--skel .gplt-ct-c--p{grid-column:1/-1}
.gplt-ct-skl{display:block;width:40%;height:12px;border-radius:6px;background:#eef3f8}

/* Narrow screens: name, then version and date under it; the button stays on the right. */
@media (max-width:699px){
	.gplt-ct{border-radius:14px}
	.gplt-ct-hr{display:none}
	.gplt-ct-msort{display:flex;align-items:center;gap:6px;height:46px;padding:0 8px 0 14px;background:var(--ct-head);color:var(--ct-ink);font-size:11.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;line-height:1}
	.gplt-ct-msort>span{margin-right:auto}
	.gplt-ct-msort .gplt-ct-sort{flex:none;gap:7px;height:30px;padding:0 11px;border-radius:999px}
	.gplt-ct-msort .gplt-ct-sort.is-asc,.gplt-ct-msort .gplt-ct-sort.is-desc{background:#fff;color:#1a7fb0;box-shadow:0 1px 3px rgba(15,27,42,.12)}
	.gplt-ct-row{grid-template-columns:minmax(0,1fr) auto}
	.gplt-ct-c--v,.gplt-ct-c--d,.gplt-ct-dev{display:none}
	.gplt-ct-c{padding:12px 14px}
	.gplt-ct-c--p{gap:12px;padding-right:8px}
	.gplt-ct-c--a{padding-left:0}
	.gplt-ct-thumb{width:56px;height:35px}
	.gplt-ct-name{font-size:14.5px}
	.gplt-ct-mm{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin-top:6px;color:var(--ct-muted);font-size:12.5px;font-weight:600}
	.gplt-ct .gplt-ct-btn{height:32px;padding:0 12px;font-size:12.5px}
	.gplt-ct .gplt-ct-btn--dl{width:36px;padding:0;font-size:0;gap:0}
	.gplt-ct .gplt-ct-btn--dl::before{width:16px;height:16px}
	.gplt-ct-out{height:32px;padding:0 10px;font-size:11.5px}
}

/* In-place sorting (cat-table.js 1.1): rows fade while the new order loads. */
.gplt-ct .gplt-ct-rows{transition:opacity .15s}
.gplt-ct.is-loading .gplt-ct-rows{opacity:.45;pointer-events:none}
.gplt-ct.is-loading .gplt-ct-head{cursor:progress}
