/* JBL Feed Store — main styles */
:root {
	--green: #0f5a3e;
	--green-d: #0a4430;
	--blue: #1763d1;
	--orange: #ee7a14;
	--purple: #6a3fb5;
	--teal: #12968f;
	--rose: #c2185b;
	--ink: #1d2b24;
	--muted: #55655d;
	--bg: #ffffff;
	--bg-alt: #f2f8f4;
	--line: #d9e5dd;
	--radius: 12px;
	--shadow: 0 2px 10px rgba(15, 60, 40, .10);
	--accent: var(--green);
	--font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.accent-green { --accent: var(--green); }
.accent-blue { --accent: var(--blue); }
.accent-orange { --accent: var(--orange); }
.accent-purple { --accent: var(--purple); }
.accent-teal { --accent: var(--teal); }
.accent-rose { --accent: var(--rose); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { text-decoration: none; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: var(--green-d); }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
small { font-weight: 400; opacity: .85; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: #000; color: #fff; padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid #ffb703; outline-offset: 2px; }

/* Top bar */
.topbar { background: var(--green-d); color: #e7f3ec; font-size: .82rem; }
.topbar-inner { display: flex; flex-wrap: wrap; gap: 4px 22px; padding: 6px 0; justify-content: space-between; }
.topbar-contact { opacity: .95; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--green); }
.brand-logo { max-height: 64px; width: auto; }
.brand-name { display: block; font-weight: 800; font-size: 1.55rem; letter-spacing: .01em; line-height: 1.05; color: var(--green-d); }
.brand-sub { display: block; font-weight: 700; font-size: .82rem; color: var(--green); }
.brand-sub i { font-style: normal; padding: 0 .25em; }

.main-nav .menu { list-style: none; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.main-nav a {
	display: block; padding: 9px 16px; border-radius: 10px; color: #fff; text-decoration: none;
	font-weight: 700; font-size: .95rem; background: var(--green); border: 2px solid transparent; transition: transform .15s, box-shadow .15s;
}
.main-nav li:nth-child(1) a { background: var(--green); }
.main-nav li:nth-child(2) a { background: var(--blue); }
.main-nav li:nth-child(3) a { background: var(--orange); }
.main-nav li:nth-child(4) a { background: var(--rose); }
.main-nav li:nth-child(5) a { background: var(--purple); }
.main-nav li:nth-child(6) a { background: var(--teal); }
.main-nav a:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.main-nav .current-menu-item a, .main-nav .current_page_item a { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); }
.nav-toggle { display: none; background: var(--green); border: 0; border-radius: 10px; width: 46px; height: 42px; cursor: pointer; position: relative; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 12px; right: 12px; height: 3px; background: #fff; border-radius: 2px; }
.nav-toggle-bars { top: 19px; }
.nav-toggle-bars::before { left: 0; right: 0; top: -8px; }
.nav-toggle-bars::after { left: 0; right: 0; top: 8px; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--accent), var(--green-d)); background-size: cover; background-position: center; color: #fff; padding: 46px 0; }
.hero h1 { color: #fff; margin-bottom: .25em; }
.hero-inner { display: flex; align-items: center; gap: 20px; }
.hero-icon { font-size: 3.2rem; line-height: 1; background: rgba(255,255,255,.15); border-radius: 18px; padding: 14px 18px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; opacity: .85; margin-bottom: .4em; }
.hero-sub { font-size: 1.15rem; opacity: .95; margin: 0; max-width: 60ch; }
.hero-home { padding: 64px 0; background: linear-gradient(120deg, #0f5a3e 0%, #14764f 55%, #1d8a5d 100%); }
.hero-home-inner { justify-content: space-between; }
.hero-art { font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.3; text-align: center; background: rgba(255,255,255,.12); border-radius: 24px; padding: 22px 30px; letter-spacing: .1em; }
.hero-actions { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }

/* Sections */
.section { padding: 48px 0; }
.section-tight { padding: 24px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { text-align: center; margin-bottom: 1.1em; }
.prose { font-size: 1.05rem; }
.prose img { border-radius: var(--radius); }
.cta-line { margin-top: 26px; }

/* Buttons */
.btn { display: inline-block; padding: 11px 22px; border-radius: 10px; font-weight: 700; text-decoration: none; color: #fff; background: var(--green); border: 0; cursor: pointer; line-height: 1.3; transition: filter .15s, transform .15s; }
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-green { background: var(--green); }
.btn-blue { background: var(--blue); }
.btn-orange { background: var(--orange); }
.btn-purple { background: var(--purple); }
.btn-teal { background: var(--teal); }
.btn-rose { background: var(--rose); }
.btn-sm { padding: 7px 14px; font-size: .88rem; }
.btn-lg { padding: 15px 34px; font-size: 1.15rem; }
.btn-lg small { display: block; font-size: .78rem; font-weight: 600; }

/* Badges row */
.badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.badge-box { display: flex; align-items: center; gap: 14px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; }
.badge-box span { font-size: 2rem; }

/* Grids and cards */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); gap: 16px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card-media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--bg-alt); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-body .btn { margin-top: auto; align-self: flex-start; }
.card-title { margin: 0; font-size: 1.05rem; }
.card-title a { color: var(--green-d); text-decoration: none; }
.card-title a:hover { text-decoration: underline; }
.card-kicker { margin: 0; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--blue); }
.card-meta { margin: 0; font-size: .86rem; color: var(--muted); }
.card-price { margin: 4px 0 10px; font-size: .88rem; font-weight: 600; color: var(--ink); }
.pet-card .card-body { margin-bottom: 0; }
.pet-card .btn { margin-top: 10px; }
.badge { position: absolute; top: 10px; left: 10px; background: #333; color: #fff; font-size: .74rem; font-weight: 700; border-radius: 99px; padding: 3px 10px; }
.badge-pending { background: var(--orange); }
.badge-adopted { background: var(--purple); }

/* Placeholder pictures */
.ph { position: absolute; inset: 0; display: grid; place-items: center; }
.detail-media .ph { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); }
.ph span { font-size: clamp(2.6rem, 6vw, 4rem); filter: drop-shadow(0 2px 4px rgba(0,0,0,.18)); }
.ph-green { background: linear-gradient(135deg, #dff0e6, #b9dcc7); }
.ph-blue { background: linear-gradient(135deg, #dce9fb, #b4cff5); }
.ph-orange { background: linear-gradient(135deg, #fde7d0, #f8c796); }
.ph-purple { background: linear-gradient(135deg, #e8defa, #cdb9f0); }
.ph-teal { background: linear-gradient(135deg, #d4f1ef, #a4ded9); }

/* Feature tiles (home) */
.feature { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 18px; border-radius: var(--radius); text-decoration: none; color: #fff; text-align: center; box-shadow: var(--shadow); transition: transform .15s; }
.feature:hover { transform: translateY(-3px); }
.feature-icon { font-size: 3rem; line-height: 1; }
.feature strong { font-size: 1.2rem; }
.feature-blue { background: var(--blue); }
.feature-orange { background: var(--orange); }
.feature-green { background: var(--green); }
.feature-rose { background: var(--rose); }

/* Tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.tab { padding: 9px 18px; background: #fff; border: 2px solid var(--line); color: var(--ink); border-radius: 99px; text-decoration: none; font-weight: 700; font-size: .92rem; }
.tab:hover { border-color: var(--accent); }
.tab.is-current { background: var(--accent); border-color: var(--accent); color: #fff; }
.tab-green.is-current { background: var(--green); border-color: var(--green); }
.tab-orange.is-current { background: var(--orange); border-color: var(--orange); }
.tab-blue.is-current { background: var(--blue); border-color: var(--blue); }
.tab-purple.is-current { background: var(--purple); border-color: var(--purple); }
.tab-teal.is-current { background: var(--teal); border-color: var(--teal); }
.tab-rose.is-current { background: var(--rose); border-color: var(--rose); }

/* Wholesale tiles */
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin: 8px 0 28px; }
.tile { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 18px 10px; border: 1px solid #f6d3b0; background: #fff7ee; border-radius: var(--radius); text-decoration: none; color: var(--ink); font-weight: 700; font-size: .92rem; transition: transform .15s, box-shadow .15s; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tile-icon { font-size: 2.2rem; line-height: 1; }

/* Store cards */
.store-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.store-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: #fff; border: 2px solid var(--sc); border-radius: var(--radius); overflow: hidden; text-align: center; box-shadow: var(--shadow); transition: transform .15s; }
.store-card:hover { transform: translateY(-3px); }
.store-green { --sc: var(--green); }
.store-orange { --sc: var(--orange); }
.store-blue { --sc: var(--blue); }
.store-purple { --sc: var(--purple); }
.store-teal { --sc: var(--teal); }
.store-rose { --sc: var(--rose); }
.store-head { background: var(--sc); color: #fff; font-weight: 700; padding: 10px 8px; font-size: .95rem; }
.store-icon { font-size: 3rem; padding: 16px 0 4px; line-height: 1; }
.store-desc { padding: 6px 14px 14px; font-size: .88rem; color: var(--muted); flex: 1; }
.store-cta { margin: 0 14px 14px; background: var(--sc); color: #fff; font-weight: 700; padding: 8px; border-radius: 8px; font-size: .9rem; }

/* Info cards / About / Contact */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; align-items: start; }
.info-stack, .side-stack { display: grid; gap: 20px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.info-card h2 { font-size: 1.25rem; color: var(--accent); }
.info-accent { background: #f4eefc; border-color: #d9c9f3; }
.checks { list-style: none; display: grid; gap: 8px; }
.checks li::before { content: "✔"; color: var(--accent); font-weight: 700; margin-right: 10px; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; }
.facts-lines { margin-bottom: 20px; border-top: 1px solid var(--line); }
.facts-lines dt, .facts-lines dd { padding: 9px 0; border-bottom: 1px solid var(--line); }
.contact-list { list-style: none; display: grid; gap: 18px; margin-bottom: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list li > span { font-size: 1.6rem; line-height: 1.2; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.detail-media img { width: 100%; border-radius: var(--radius); }

/* Forms (plugin output) */
.jbl-form-wrap { position: relative; }
.jbl-form { display: grid; gap: 4px; }
.jbl-field { margin: 0 0 12px; display: flex; flex-direction: column; gap: 5px; }
.jbl-field label { font-weight: 700; font-size: .92rem; }
.jbl-field .req { color: #c0392b; }
.jbl-form input[type="text"], .jbl-form input[type="email"], .jbl-form input[type="tel"], .jbl-form select, .jbl-form textarea {
	width: 100%; padding: 11px 13px; border: 2px solid var(--line); border-radius: 8px; font: inherit; background: #fff; color: var(--ink);
}
.jbl-form input:focus, .jbl-form select:focus, .jbl-form textarea:focus { border-color: var(--accent); outline: none; }
.jbl-submit { background: var(--accent); color: #fff; border: 0; border-radius: 10px; padding: 13px 26px; font: inherit; font-weight: 700; cursor: pointer; width: 100%; }
.jbl-submit:hover { filter: brightness(1.1); }
.jbl-notice { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; font-weight: 600; }
.jbl-notice-success { background: #e3f6e9; color: #14532d; border: 1px solid #a7dcb8; }
.jbl-notice-error { background: #fdeaea; color: #7f1d1d; border: 1px solid #f3b4b4; }
.notice-box { background: #fff8e6; border: 1px solid #f1d98c; border-radius: 8px; padding: 14px 18px; }

/* Compliance strip */
.compliance { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 30px 0; }
.compliance-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: 18px; }
.compliance-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; font-size: .86rem; }
.compliance-card h2, .compliance-card h3 { font-size: .95rem; color: var(--green-d); margin-bottom: .5em; }
.compliance-card ul { list-style: disc; padding-left: 18px; color: var(--muted); }
.compliance-lead { display: flex; gap: 14px; align-items: flex-start; background: #e6f3ec; }
.compliance-lead h2 { font-size: 1.1rem; }
.compliance-lead p { margin: 0; color: var(--muted); }
.c-icon { font-size: 2.4rem; line-height: 1; }

/* Footer */
.site-footer { background: var(--green-d); color: #dbeee3; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr .8fr; gap: 28px; padding: 38px 0 26px; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: .6em; }
.footer-title { color: #fff; font-size: 1.5rem; margin-bottom: .3em; }
.footer-tag { color: #b8dcc8; }
.site-footer p { font-size: .92rem; }
.site-footer a { color: #fff; }
.footer-links .menu { list-style: none; display: grid; gap: 6px; font-size: .92rem; }
.footer-bar { background: #083524; }
.footer-bar-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 14px 0; font-size: .9rem; }
.footer-motto em { font-style: italic; }
.copyright { padding: 0 0 16px; font-size: .8rem; opacity: .7; }

/* Pagination, posts */
.pagination .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.pagination .page-numbers { padding: 8px 14px; border: 2px solid var(--line); border-radius: 8px; text-decoration: none; font-weight: 700; }
.pagination .current { background: var(--accent); border-color: var(--accent); color: #fff; }
.post-item { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }

/* Responsive */
@media (max-width: 1080px) {
	.grid-5, .store-grid { grid-template-columns: repeat(3, 1fr); }
	.tiles { grid-template-columns: repeat(3, 1fr); }
	.compliance-grid { grid-template-columns: 1fr 1fr; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
	.nav-toggle { display: block; }
	.main-nav { display: none; width: 100%; order: 3; }
	.main-nav.is-open { display: block; }
	.header-inner { flex-wrap: wrap; }
	.main-nav .menu { flex-direction: column; gap: 8px; padding: 8px 0 12px; }
	.grid-4 { grid-template-columns: repeat(2, 1fr); }
	.grid-3 { grid-template-columns: 1fr; }
	.about-grid, .contact-grid, .detail-grid { grid-template-columns: 1fr; }
	.badges { grid-template-columns: 1fr; }
	.hero-home-inner { flex-direction: column; align-items: flex-start; }
	.topbar-contact { display: none; }
}
@media (max-width: 560px) {
	body { font-size: 16px; }
	.grid-4, .grid-5, .store-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.tiles { grid-template-columns: repeat(2, 1fr); }
	.compliance-grid, .footer-grid { grid-template-columns: 1fr; }
	.hero { padding: 32px 0; }
	.hero-icon { display: none; }
	.brand-name { font-size: 1.2rem; }
	.brand-sub { font-size: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}

/* Spacing for buttons that follow a grid */
.grid + .center, .grid + p.center, .tiles + .center { margin-top: 28px; }


/* ---- Pet prices, retail shop (v1.1) ---- */
.card-price .price-now, .detail-price .price-now { font-weight: 800; color: var(--accent); font-size: 1.15rem; }
.price-was { color: var(--muted); font-weight: 400; margin-left: 4px; }
.detail-price { margin: 0 0 14px; font-size: 1.1rem; }
.detail-price .price-now { font-size: 1.8rem; }
.price-summary { margin: -8px 0 22px; color: var(--muted); }
.price-summary strong { color: var(--blue); }
.badge-sale { background: var(--rose); }
.jbl-field-check { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 10px; align-items: flex-start; }
.jbl-field-check label { font-weight: 400; }
.jbl-field-check input[type="checkbox"] { width: auto; margin-top: 4px; flex: none; }
.grid-4 .feature { height: 100%; }
.store-grid-4 { grid-template-columns: repeat(4, 1fr); }
.tiles-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 900px) {
	.store-grid-4, .tiles-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
	.store-grid-4 { grid-template-columns: 1fr; }
}

/* ---- Puppy cards & profile (v1.2) ---- */
.btn-block { display: block; width: 100%; text-align: center; }
.btn-disabled { background: #9aa3a0; color: #fff; cursor: not-allowed; }
.btn-outline, .btn-outline-green, .btn-outline-purple { background: #fff; border: 2px solid var(--line); color: var(--text); }
.btn-outline-green { border-color: var(--green); color: var(--green-d); }
.btn-outline-purple { border-color: var(--purple); color: var(--purple); }
.card-media-wrap { position: relative; }
.badge-available { background: var(--green); }
.badge-reserved { background: var(--orange); }
.badge-video { top: auto; bottom: 10px; background: rgba(0,0,0,.65); }
.badge-role { background: var(--purple); }
.badge-inline { display: inline-block; padding: 3px 12px; border-radius: 99px; color: #fff; font-weight: 700; font-size: .85rem; background: #333; }
.badge-inline.badge-available { background: var(--green); }
.badge-inline.badge-reserved, .badge-inline.badge-pending { background: var(--orange); }
.badge-inline.badge-adopted { background: var(--purple); }
.share-btn { border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.share-float { position: absolute; top: 8px; right: 8px; background: rgba(255,255,255,.94); color: var(--purple); border-radius: 99px; padding: 5px 11px; font-size: .78rem; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.puppy-card { border-radius: 18px; box-shadow: 0 2px 10px rgba(60,40,90,.1); }
.puppy-card .card-breed { margin: 0 0 4px; color: var(--purple); font-weight: 600; font-size: .9rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 8px 0 12px; padding: 0; }
.chips li { background: #f0eafb; color: #4b2f8a; border-radius: 99px; padding: 3px 10px; font-size: .78rem; font-weight: 600; }
.chips-lg li { font-size: .92rem; padding: 5px 14px; }

.puppy-page { background: #fbf7ef; padding: 20px 0 48px; }
.puppy-back { margin: 0 0 14px; }
.puppy-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.puppy-gallery .gal-main { position: relative; border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 2px 14px rgba(60,40,90,.12); aspect-ratio: 4 / 3; }
.puppy-gallery .gal-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.puppy-gallery .ph { position: absolute; inset: 0; }
.gal-video, .gal-video video, .gal-embed, .gal-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.gal-video[hidden] { display: none; }
.gal-thumbs { display: flex; gap: 8px; list-style: none; margin: 12px 0 0; padding: 0 0 4px; overflow-x: auto; }
.gal-thumb { flex: none; width: 74px; height: 74px; padding: 0; border: 3px solid transparent; border-radius: 12px; overflow: hidden; background: #fff; cursor: pointer; }
.gal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-thumb.is-active { border-color: var(--purple); }
.gal-thumb:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.gal-thumb-video { display: grid; place-items: center; background: #2b2140; color: #fff; font-size: 1.3rem; }
.gal-thumb-text { font-size: .7rem; }
.puppy-breed { margin: 0; color: var(--purple); font-weight: 700; }
.puppy-summary h1 { margin: 2px 0 8px; font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.1; }
.puppy-price { margin: 0 0 10px; }
.puppy-price .price-now { font-size: 2rem; font-weight: 800; color: var(--purple); }
.price-note { color: var(--muted); font-size: .85rem; }
.puppy-meta-line { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin: 12px 0 18px; color: var(--muted); font-size: .92rem; }
.puppy-ref { margin-left: auto; font-size: .8rem; }
.puppy-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.puppy-actions .btn { flex: 1 1 200px; text-align: center; }
.puppy-fine { color: var(--muted); font-size: .85rem; margin: 10px 0 0; }
.puppy-block { background: #fff; border-radius: 20px; padding: 24px; margin-top: 24px; box-shadow: 0 1px 8px rgba(60,40,90,.08); }
.puppy-block h2 { margin: 0 0 14px; font-size: 1.35rem; }
.specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin: 0; }
.spec { background: #f7f3fd; border-radius: 14px; padding: 12px 14px; }
.spec dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; color: var(--purple); font-weight: 700; }
.spec dd { margin: 4px 0 0; font-weight: 700; }
.spec dd.is-empty { color: var(--muted); font-weight: 400; font-style: italic; }
.health-panel { background: #eefaf4; border: 2px solid #b7e2c8; }
.health-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.health-item { display: grid; grid-template-columns: 30px 1fr; grid-template-rows: auto auto; column-gap: 10px; background: #fff; border-radius: 14px; padding: 12px; border: 1px solid var(--line); }
.health-icon { grid-row: span 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #e4e7e6; color: #666; font-weight: 800; }
.health-good .health-icon { background: var(--green); color: #fff; }
.health-mid .health-icon { background: var(--orange); color: #fff; }
.health-label { font-size: .8rem; color: var(--muted); }
.health-value { font-weight: 700; }
.health-none .health-value { color: var(--muted); font-weight: 400; font-style: italic; }
.health-docs { margin: 4px 0 0; padding-left: 20px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 14px; padding: 0; }
.tags li { background: var(--purple); color: #fff; border-radius: 99px; padding: 4px 14px; font-size: .85rem; font-weight: 600; }
.more-btn { margin-top: 8px; background: none; border: 0; color: var(--purple); font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; padding: 6px 0; }
.js .more.is-clamped:not(.is-open) .more-body { max-height: 9.5em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.parent-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.parent-card .card-media { aspect-ratio: 4 / 3; position: relative; }
.parent-desc { font-size: .9rem; margin-top: 8px; }
.benefit-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.benefit { display: flex; flex-direction: column; gap: 4px; background: #f7f3fd; border-radius: 14px; padding: 14px; font-size: .92rem; }
.benefit-icon { color: var(--green); font-weight: 800; }
.breed-block { border: 2px solid #e1d6f6; }
.breed-highlights { margin-top: 12px; }

.puppy-filters { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 16px; margin: 0 0 20px; }
.puppy-filters summary { cursor: pointer; font-weight: 700; color: var(--purple); padding: 4px 0; }
.filter-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px 14px; margin-top: 10px; }
.filter-grid p { margin: 0; }
.filter-grid label { display: block; font-size: .8rem; font-weight: 700; margin-bottom: 3px; }
.filter-grid select, .filter-grid input { width: 100%; padding: 8px; border: 1px solid #c9ccd1; border-radius: 8px; font: inherit; background: #fff; }
.filter-actions { align-self: end; display: flex; gap: 8px; }

.jbl-modal { display: none; position: fixed; inset: 0; z-index: 100; align-items: center; justify-content: center; padding: 16px; }
.jbl-modal:target, .jbl-modal.is-open { display: flex; }
.jbl-modal:has(:target) { display: flex; }
.jbl-modal-bg { position: absolute; inset: 0; background: rgba(15,25,20,.6); }
.jbl-modal-box { position: relative; background: #fff; border-radius: 18px; width: min(560px, 100%); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 24px; box-shadow: 0 10px 40px rgba(0,0,0,.35); }
.jbl-modal-box h2 { margin: 0 36px 4px 0; }
.jbl-modal-close { position: absolute; top: 8px; right: 12px; font-size: 2rem; line-height: 1; text-decoration: none; color: var(--muted); padding: 4px 8px; }
.modal-ref { margin: 0 0 12px; color: var(--purple); font-weight: 600; }
.modal-alt { margin: 14px 0 0; font-size: .9rem; }
html.modal-open { overflow: hidden; }

.sticky-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0,0,0,.1); }
.sticky-bar .btn { flex: 1; text-align: center; padding: 13px 10px; font-size: 1rem; min-height: 48px; }

@media (max-width: 860px) {
	.puppy-top { grid-template-columns: 1fr; gap: 20px; }
	.sticky-bar { display: flex; }
	.puppy-page { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
	.puppy-block { padding: 18px; border-radius: 16px; }
	.puppy-actions .btn-lg { padding: 13px 16px; font-size: 1rem; }
}
@media (max-width: 560px) {
	.puppy-card .card-body { padding: 10px; }
	.puppy-card .card-title { font-size: 1rem; }
	.puppy-card .btn-sm { padding: 9px 8px; }
	.share-float .share-label { display: none; }
}
@media (max-width: 359px) {
	.grid-4 { grid-template-columns: 1fr; }
}
