/* WP Breeds - Public Styles */

/* Archive wrap */
.wpb-archive-wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
}

.wpb-archive-header {
	margin-bottom: 24px;
}

.wpb-archive-title {
	font-size: 2em;
	margin: 0 0 8px;
}

/* Puppy grid */
.wpb-puppy-grid {
	display: grid;
	gap: 24px;
}

.wpb-columns-1 { grid-template-columns: 1fr; }
.wpb-columns-2 { grid-template-columns: repeat(2, 1fr); }
.wpb-columns-3 { grid-template-columns: repeat(3, 1fr); }
.wpb-columns-4 { grid-template-columns: repeat(4, 1fr); }
.wpb-columns-5 { grid-template-columns: repeat(5, 1fr); }
.wpb-columns-6 { grid-template-columns: repeat(6, 1fr); }

@media (max-width: 1100px) {
	.wpb-columns-5,
	.wpb-columns-6 {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 900px) {
	.wpb-columns-3,
	.wpb-columns-4,
	.wpb-columns-5,
	.wpb-columns-6 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.wpb-puppy-grid {
		grid-template-columns: 1fr;
	}
}

/* Puppy card */
.wpb-puppy-card {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	transition: box-shadow 0.2s, transform 0.2s;
}

.wpb-puppy-card:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
	transform: translateY(-2px);
}

/* Card image */
.wpb-card-image {
	position: relative;
	overflow: hidden;
}

.wpb-ratio-square {
	aspect-ratio: 1 / 1;
}

.wpb-ratio-4-3 {
	aspect-ratio: 4 / 3;
}

.wpb-ratio-16-9 {
	aspect-ratio: 16 / 9;
}

.wpb-card-image a {
	display: block;
	width: 100%;
	height: 100%;
}

.wpb-card-thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.wpb-placeholder {
	padding: 20%;
	background: #f0f0f1;
}

/* Badge overlay */
.wpb-badge {
	position: absolute;
	top: 12px;
	left: 0;
	padding: 6px 16px 6px 12px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #fff;
	z-index: 2;
}

.wpb-badge::after {
	content: '';
	position: absolute;
	top: 0;
	right: -12px;
	border-style: solid;
	border-width: 15px 12px 15px 0;
	border-color: transparent;
}

.wpb-badge--sold {
	background: #d63638;
}

.wpb-badge--sold::after {
	border-left-color: #d63638;
}

.wpb-badge--reserved {
	background: #dba617;
	color: #1d2327;
}

.wpb-badge--reserved::after {
	border-left-color: #dba617;
}

/* Diagonal corner ribbon (e.g. Price Reduced) */
.wpb-ribbon {
	position: absolute;
	top: 0;
	right: 0;
	width: 110px;
	height: 110px;
	overflow: hidden;
	pointer-events: none;
	z-index: 3;
}

.wpb-ribbon-text {
	position: absolute;
	display: block;
	width: 160px;
	padding: 6px 0;
	background: linear-gradient(135deg, #f5b041 0%, #d4a017 100%);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	text-align: center;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
	transform: rotate(45deg);
	top: 24px;
	right: -42px;
}

/* Strike-through original + bold sale price */
.wpb-price-original {
	text-decoration: line-through;
	color: #8c8f94;
	font-weight: 400;
	margin-right: 6px;
}

.wpb-price-sale {
	color: #d63638;
	font-weight: 700;
}

/* Card body */
.wpb-card-body {
	padding: 16px;
}

.wpb-card-title {
	font-size: 1.2em;
	margin: 0 0 8px;
}

.wpb-card-title a {
	color: inherit;
	text-decoration: none;
}

.wpb-card-title a:hover {
	color: #2271b1;
}

/* Card meta */
.wpb-card-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 12px;
	margin-bottom: 12px;
	font-size: 0.9em;
	color: #50575e;
}

.wpb-card-meta span {
	display: inline-block;
}

.wpb-card-price {
	font-weight: 700;
	color: #1d2327;
	font-size: 1.1em;
}

/* CTA button */
.wpb-card-cta,
.wpb-btn {
	display: inline-block;
	padding: 10px 20px;
	border-radius: 6px;
	font-size: 0.9em;
	font-weight: 600;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
	border: none;
}

.wpb-card-cta,
.wpb-btn-primary {
	background: #2271b1;
	color: #fff;
}

.wpb-card-cta:hover,
.wpb-btn-primary:hover {
	background: #135e96;
	color: #fff;
}

.wpb-btn-secondary {
	background: #f0f0f1;
	color: #1d2327;
}

.wpb-btn-secondary:hover {
	background: #dcdcde;
}

/* No results */
.wpb-no-results {
	text-align: center;
	padding: 40px 20px;
	color: #50575e;
	font-size: 1.1em;
}

/* Pagination */
.wpb-archive-wrap .nav-links {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 32px;
}

.wpb-archive-wrap .page-numbers {
	display: inline-block;
	padding: 8px 14px;
	border-radius: 4px;
	text-decoration: none;
	color: #1d2327;
	background: #f0f0f1;
}

.wpb-archive-wrap .page-numbers.current {
	background: #2271b1;
	color: #fff;
}

/* Single post content area wrapper */
.wpb-content-area {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
	box-sizing: border-box;
}

/* Single post layout — image left, details right */
.wpb-single-header {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
	align-items: start;
}

@media (max-width: 768px) {
	.wpb-single-header {
		grid-template-columns: 1fr;
	}
}

.wpb-single-media .wpb-single-image {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 8px;
}

.wpb-single-details .wpb-single-content {
	margin-top: 20px;
}

/* Parent cards */
.wpb-single-parentage {
	margin-top: 24px;
}

.wpb-single-parentage h3 {
	margin: 0 0 12px;
}

.wpb-parent-cards {
	display: flex;
	gap: 24px;
}

.wpb-parent-card {
	display: flex;
	align-items: center;
	gap: 12px;
}

.wpb-parent-photo {
	flex-shrink: 0;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	overflow: hidden;
}

.wpb-parent-photo a {
	display: block;
	width: 100%;
	height: 100%;
}

.wpb-parent-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.wpb-parent-info {
	display: flex;
	flex-direction: column;
	gap: 1px;
}

.wpb-parent-role {
	font-size: 0.75em;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #757575;
	font-weight: 600;
}

.wpb-parent-name {
	font-size: 1.05em;
	color: #1d2327;
}

.wpb-parent-meta {
	font-size: 0.85em;
	color: #50575e;
}

.wpb-parent-meta a {
	color: #50575e;
	text-decoration: none;
}

/* Inquiry form */
.wpb-inquiry-form {
	margin-top: 40px;
	padding-top: 32px;
	border-top: 1px solid #e0e0e0;
}

.wpb-inquiry-form h2 {
	font-size: 1.5em;
	margin: 0 0 20px;
}

/* Feed wrapper */
.wpb-feed {
	max-width: 1200px;
	margin: 0 auto;
}
