/* PlantPorium Collection. Colours fall back to the PlantPorium palette; the theme can redefine them. */
:root {
	--ppcol-ink: #173b2c;
	--ppcol-muted: #5c6f64;
	--ppcol-line: #dfe8e2;
	--ppcol-panel: #f1f6f2;
	--ppcol-card: #fff;
	--ppcol-accent: #2f6b4a;
	--ppcol-petal: #b5446e;
}

.ppcol { color: var(--ppcol-ink); }
.ppcol-h1 { font-family: var(--wp--preset--font-family--heading, Fraunces, Georgia, serif); font-size: 2.2rem; margin: 0 0 .25rem; line-height: 1.15; }
.ppcol-h2 { font-family: var(--wp--preset--font-family--heading, Fraunces, Georgia, serif); font-size: 1.5rem; margin: 2rem 0 .75rem; }
.ppcol-muted { color: var(--ppcol-muted); margin: .15rem 0 .5rem; font-size: .95rem; }

.ppcol-head { display: flex; align-items: center; gap: 1.25rem; padding: 1.25rem 1.5rem; background: var(--ppcol-panel); border: 1px solid var(--ppcol-line); border-radius: 18px; flex-wrap: wrap; }
.ppcol-head-link { margin-left: auto; }
.ppcol-who { flex: 0 0 auto; padding: 10px; }
.ppcol-who img { border-radius: 50%; display: block; }

.ppcol-banner { margin-top: 1rem; border-radius: 18px; overflow: hidden; }
.ppcol-banner img { display: block; width: 100%; height: auto; max-height: 220px; object-fit: cover; }

.ppcol-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1rem; }
.ppcol-grid--cards { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.ppcol-card { background: var(--ppcol-card); border: 1px solid var(--ppcol-line); border-radius: 16px; padding: .9rem; display: flex; flex-direction: column; gap: .25rem; text-align: center; }
.ppcol-card.is-on { border-color: var(--ppcol-accent); box-shadow: 0 0 0 2px rgba(47, 107, 74, .18); }
.ppcol-pic { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; background: var(--ppcol-panel); border-radius: 12px; overflow: hidden; margin-bottom: .4rem; }
.ppcol-pic img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.ppcol-noimg { width: 40%; aspect-ratio: 1; border-radius: 50%; background: var(--ppcol-line); }
.ppcol-name { font-size: 1.05rem; margin: 0; }
.ppcol-card form { margin-top: auto; }

.ppcol-btn { display: inline-block; width: 100%; padding: .55rem 1rem; border-radius: 999px; border: 1px solid var(--ppcol-accent); background: var(--ppcol-accent); color: #fff; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; text-align: center; }
.ppcol-btn:hover { filter: brightness(1.08); }
.ppcol-btn--ghost { background: transparent; color: var(--ppcol-accent); }
.ppcol-head-link { width: auto; }

.ppcol-card--trading { border-width: 2px; }
.ppcol-r-uncommon { border-color: #7aa98d; }
.ppcol-r-rare { border-color: #4f7fb5; }
.ppcol-r-epic { border-color: #b5446e; background: linear-gradient(135deg, #fff 55%, #fbeaf1); }

.ppcol-notice { margin: 0 0 1rem; padding: .8rem 1rem; border-radius: 12px; background: var(--ppcol-panel); border: 1px solid var(--ppcol-line); }
.ppcol-notice--error { background: #fdeeee; border-color: #efc1c1; }

.ppcol-reveal { text-align: center; padding: 1.5rem; margin-bottom: 1.25rem; background: linear-gradient(135deg, var(--ppcol-panel), #fff); border: 1px solid var(--ppcol-line); border-radius: 20px; animation: ppcol-pop .5s ease-out both; }
.ppcol-reveal-kicker { margin: 0; color: var(--ppcol-muted); letter-spacing: .04em; text-transform: uppercase; font-size: .8rem; }
.ppcol-reveal-prize { width: 180px; max-width: 60%; margin: .75rem auto; }
.ppcol-reveal-prize img { width: 100%; height: auto; display: block; border-radius: 14px; }
.ppcol-reveal-title { font-family: var(--wp--preset--font-family--heading, Fraunces, Georgia, serif); margin: .25rem 0; }
@keyframes ppcol-pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ppcol-reveal { animation: none; } }

/* Flair under a name */
.ppcol-flair { display: inline-flex; align-items: center; gap: .4rem; margin-left: .4rem; vertical-align: middle; }
.ppcol-title { font-size: .8rem; font-weight: 600; color: var(--ppcol-accent); background: var(--ppcol-panel); border: 1px solid var(--ppcol-line); border-radius: 999px; padding: .1rem .55rem; }
.ppcol-badge img { display: block; width: 24px; height: 24px; }

/* A frame sits over the avatar and grows slightly beyond it */
.ppcol-framed { position: relative; display: inline-block; line-height: 0; }
.ppcol-framed > img:first-child, .ppcol-framed .avatar { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.ppcol-frame { position: absolute; top: -14%; left: -14%; width: 128%; height: 128%; max-width: none; pointer-events: none; }

/* A title shown on a nameplate: the plate picture is the background, the words sit in its panel */
.ppcol-title--plate { display: inline-flex; align-items: center; justify-content: center; min-width: 150px; min-height: 46px; padding: .55rem 1.6rem .45rem; background-color: transparent; background-repeat: no-repeat; background-position: center; background-size: 100% 100%; border: 0; border-radius: 0; color: #3a2a12; text-shadow: 0 1px 0 rgba(255, 255, 255, .6); }
.ppcol-title--plate > span { position: relative; top: 3px; }

/* ------------------------------------------------------- Shop layout (1.2) --- */

/* Artwork is circular or framed, so show all of it instead of cropping to a 4:3 box. */
.pps-card-media {
	display: flex !important;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1 !important;
	padding: 14px;
	box-sizing: border-box;
}
.pps-card-media img {
	width: 100% !important;
	height: 100% !important;
	object-fit: contain !important;
}

.ppcol-sec {
	margin: 0 0 44px !important;
}
.ppcol-sec-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--pps-green-200, #cfe5d8);
}
.ppcol-sec-title {
	margin: 0 !important;
	font-size: 1.5rem !important;
	line-height: 1.2 !important;
	color: var(--pps-green-900, #14372a);
}
.ppcol-sec-blurb {
	margin: 4px 0 0 !important;
	font-size: .92rem;
	color: var(--pps-muted, #6b7a72);
}
.ppcol-sec-link {
	flex: 0 0 auto;
	font-size: .9rem;
	font-weight: 700;
	text-decoration: none;
	color: var(--pps-green-700, #1f5f45);
	white-space: nowrap;
}
.ppcol-sec-link:hover {
	text-decoration: underline;
}
.ppcol-sec--featured .ppcol-sec-head,
.ppcol-sec--seasonal .ppcol-sec-head {
	border-bottom-color: var(--pps-petal, #c2568a);
}
.ppcol-shop > .ppcol-sec-head {
	margin-top: 4px;
}
.ppcol-group {
	margin: 0 0 34px;
}
.ppcol-group-title {
	margin: 0 0 12px !important;
	font-size: 1.1rem !important;
	color: var(--pps-green-700, #1f5f45);
}
.ppcol-group-title span {
	display: inline-block;
	margin-left: 6px;
	padding: 1px 8px;
	border-radius: 999px;
	background: var(--pps-green-50, #f1f7f2);
	font-size: .75rem;
	color: var(--pps-muted, #6b7a72);
}
.ppcol-more {
	margin-top: 16px;
}
.ppcol-more summary {
	display: inline-block;
	margin-bottom: 16px;
	padding: 8px 16px;
	border: 1px solid var(--pps-green-500, #2d7a57);
	border-radius: 999px;
	cursor: pointer;
	font-size: .88rem;
	font-weight: 700;
	color: var(--pps-green-900, #14372a);
}
.ppcol-more[open] summary {
	background: var(--pps-green-50, #f1f7f2);
}
@media (max-width: 600px) {
	.ppcol-sec-head { flex-direction: column; align-items: flex-start; gap: 6px; }
	.ppcol-sec-title { font-size: 1.25rem !important; }
}

.ppcol-sample { display: flex; align-items: center; justify-content: center; width: 70%; aspect-ratio: 4 / 3; box-sizing: border-box; box-shadow: 0 2px 8px rgba(0,0,0,.15); } .ppcol-sample b { font-size: 1.6rem; }

/* Legendary and mythic cards (1.3.1) */
.ppcol-r-legendary { border-color: #c79a2b; background: linear-gradient(135deg, #fff 55%, #fbf1d6); }
.ppcol-r-mythic { border-color: #7b3fb5; background: linear-gradient(135deg, #fff 50%, #f0e4fa); }
