/*
 * Delivery Proof — proof wall (filter row, tile grid, load-more)
 * Depends on: design-tokens.css, log-dp-stats.css
 * Page: body.log-delivery-proof-page
 */

.wall-wrap {
	max-width: 1160px;
	margin: 0 auto !important;
	padding: 70px 20px 20px;
}

.wall-head { text-align: center; margin-bottom: 24px; }
.wall-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; line-height: 1.2; letter-spacing: .12em; text-transform: uppercase; color: var(--sage-700); margin-bottom: 8px; }
.wall-eyebrow::before, .wall-eyebrow::after { content: ''; width: 18px; height: 2px; background: var(--sage-600); display: inline-block; }
/* !important: beats Blocksy's body,h1-h6{line-height:var(--theme-line-height)} on the bare h2 */
.wall-title { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 3vw, 32px); color: var(--ink-900); line-height: 1.2 !important; }
.wall-title em { font-style: italic; color: var(--plum-700); }
/* !important: beats log-parent-reset.css's entry-content p{line-height:inherit} reset */
.wall-sub { color: var(--gray-600); font-size: 13.5px; margin-top: 8px; max-width: 520px; margin-left: auto; margin-right: auto; line-height: 1.5 !important; }

.filter-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; padding-bottom: 4px; margin: 20px 0; justify-content: center; flex-wrap: wrap; }
.filter-row::-webkit-scrollbar { display: none; height: 0; }

.filter-btn {
	flex-shrink: 0;
	background: var(--white);
	border: 1.4px solid var(--line);
	color: var(--ink-700);
	padding: 9px 16px;
	border-radius: var(--r-pill);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	transition: all .25s var(--ease);
}

.filter-btn:hover { border-color: var(--plum-600); color: var(--plum-700); }
.filter-btn.active { background: var(--ink-900); border-color: var(--ink-900); color: #fdf8f4; }

.wall-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
@media(max-width:640px) { .wall-grid { grid-template-columns: 1fr 1fr; gap: 10px; } }

.proof-tile {
	break-inside: avoid;
	background: var(--white);
	border: 1px solid var(--line);
	border-top: 3px solid var(--sage-500);
	border-radius: 16px;
	overflow: hidden;
	cursor: pointer;
	transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
	position: relative;
}

.proof-tile[data-cat="adhd"] { border-top-color: var(--plum-600); }
.proof-tile[data-cat="anxiety"] { border-top-color: var(--sage-600); }
.proof-tile[data-cat="pain"] { border-top-color: var(--plum-500); }
.proof-tile[data-cat="ed"] { border-top-color: var(--sage-700); }
.proof-tile[data-cat="weight"] { border-top-color: var(--plum-700); }
.proof-tile:hover { transform: translateY(-5px); box-shadow: 0 20px 36px -16px rgba(31, 58, 52, .24); border-color: rgba(138, 106, 46, .35); }
.proof-tile.hidden-filter { display: none; }

.pt-chrome { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--paper); border-bottom: 1px solid var(--line); }
.pt-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gray-400); }
.pt-url { margin-left: 6px; font-size: 9px; color: var(--gray-600); font-weight: 600; line-height: 1.2; }
.pt-body { padding: 14px; }

.pt-verified { display: inline-flex; align-items: center; gap: 5px; background: var(--blush-100); color: var(--plum-700); font-size: 9px; font-weight: 800; line-height: 1.2; padding: 4px 9px; border-radius: var(--r-pill); margin-bottom: 10px; }
.pt-verified .icon { width: 9px; height: 9px; }
.pt-tn { font-size: 10px; color: #1a5fb4; font-weight: 700; line-height: 1.2; word-break: break-all; margin-bottom: 10px; }

.pt-status-row { display: flex; align-items: flex-start; gap: 8px; }
.pt-check-circle { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(150deg, var(--sage-500), var(--plum-700)); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .3s var(--ease); }
.proof-tile[data-cat="adhd"] .pt-check-circle { background: linear-gradient(150deg, var(--plum-500), var(--plum-800)); }
.proof-tile[data-cat="anxiety"] .pt-check-circle { background: linear-gradient(150deg, var(--sage-400), var(--sage-700)); }
.proof-tile[data-cat="pain"] .pt-check-circle { background: linear-gradient(150deg, var(--plum-500), var(--plum-700)); }
.proof-tile[data-cat="ed"] .pt-check-circle { background: linear-gradient(150deg, var(--sage-500), var(--sage-700)); }
.proof-tile[data-cat="weight"] .pt-check-circle { background: linear-gradient(150deg, var(--plum-600), var(--plum-900)); }
.proof-tile:hover .pt-check-circle { transform: scale(1.1) rotate(-6deg); }
.pt-check-circle .icon { width: 12px; height: 12px; }

.pt-status-title { font-size: 11.5px; font-weight: 700; line-height: 1.2; color: var(--ink-900); }
.pt-status-loc { font-size: 10.5px; line-height: 1.2; color: var(--gray-600); margin-top: 2px; }
.pt-status-date { font-size: 9.5px; line-height: 1.2; color: var(--gray-400); margin-top: 2px; }

.pt-cat-tag { display: inline-flex; align-items: center; gap: 5px; margin-top: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 5px 11px; font-size: 10px; font-weight: 700; line-height: 1.2; color: var(--ink-700); }

.pt-expand-hint { position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, .9); display: flex; align-items: center; justify-content: center; color: var(--plum-700); opacity: .55; transition: opacity .25s var(--ease), transform .25s var(--ease); box-shadow: var(--shadow-sm); }
.proof-tile:hover .pt-expand-hint { opacity: 1; transform: scale(1.1); }
.pt-expand-hint .icon { width: 12px; height: 12px; }

.wall-swipe-hint { display: flex; text-align: center; font-size: 11px; font-weight: 700; line-height: 1.2; color: var(--gray-600); margin-top: 8px; align-items: center; justify-content: center; gap: 6px; }

.load-row { text-align: center; margin-top: 10px; }

.btn-outline-plum {
	border: 1.4px solid var(--plum-700);
	color: var(--plum-700);
	font-weight: 700;
	font-size: 12.5px;
	line-height: 1.2;
	padding: 12px 24px;
	border-radius: var(--r-pill);
	/* No sitewide button{background:none} reset exists on this theme —
	   without this, Chrome's raw buttonface gray wins by default. */
	background: none;
	transition: all .25s var(--ease);
}

.btn-outline-plum:hover { background: var(--plum-700); color: #fff; }
