/* ХочуКоня — premium equestrian UI kit */
:root {
    --wh-green-deep: #1b3d2f;
    --wh-green: #2d5a47;
    --wh-green-soft: #3d735c;
    --wh-cream: #faf8f5;
    --wh-beige: #e8e0d4;
    --wh-sand: #d4c9b8;
    --wh-graphite: #2a2f33;
    --wh-graphite-muted: #5c656d;
    --wh-white: #ffffff;
    --wh-gold: #b8956a;
    --wh-danger: #9e3d3d;
    --wh-radius: 14px;
    --wh-radius-lg: 22px;
    --wh-shadow: 0 12px 40px rgba(27, 61, 47, 0.08);
    --wh-shadow-hover: 0 20px 50px rgba(27, 61, 47, 0.14);
    --wh-transition: 0.22s ease;
    --wh-font: "DM Sans", system-ui, sans-serif;
    --wh-font-display: "Cormorant Garamond", Georgia, serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--wh-font);
    font-size: 1rem;
    line-height: 1.55;
    color: var(--wh-graphite);
    background: var(--wh-cream);
}

main {
    margin: 0;
    padding: 0;
}

img { max-width: 100%; height: auto; }

.wh-display {
    font-family: var(--wh-font-display);
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* Header */
.wh-header {
    background: rgba(250, 248, 245, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--wh-beige);
    position: sticky;
    top: 0;
    z-index: 1030;
    margin-bottom: 0;
}

.wh-header__inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0.85rem 0;
}

.wh-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: var(--wh-green-deep);
    flex-shrink: 0;
}

.wh-logo__img {
    display: block;
    height: 44px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    flex-shrink: 0;
}

.wh-logo__mark {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--wh-green) 0%, var(--wh-green-deep) 100%);
    display: grid;
    place-items: center;
    color: var(--wh-cream);
    font-family: var(--wh-font-display);
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
}

.wh-logo__text strong {
    display: block;
    font-family: var(--wh-font-display);
    font-size: 1.15rem;
    line-height: 1.1;
}

.wh-logo__text span {
    font-size: 0.72rem;
    color: var(--wh-graphite-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.wh-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wh-nav a {
    color: var(--wh-graphite);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color var(--wh-transition);
}

.wh-nav a:hover { color: var(--wh-green); }

.wh-header__actions {
    margin-left: auto;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

/* Buttons */
.btn-wh-primary {
    background: var(--wh-green-deep);
    border: none;
    color: var(--wh-cream);
    padding: 0.65rem 1.35rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.35rem;
    transition: transform var(--wh-transition), background var(--wh-transition), box-shadow var(--wh-transition);
}

.btn-wh-primary:hover {
    background: var(--wh-green);
    color: var(--wh-white);
    transform: translateY(-1px);
    box-shadow: var(--wh-shadow);
}

.btn-wh-outline {
    background: transparent;
    border: 1.5px solid var(--wh-green-deep);
    color: var(--wh-green-deep);
    padding: 0.6rem 1.25rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: background var(--wh-transition), color var(--wh-transition);
}

.btn-wh-outline:hover {
    background: var(--wh-green-deep);
    color: var(--wh-cream);
}

/* Hero fullscreen (home) */
.wh-header:has(+ main > .wh-hero--home),
body.wh-page-home .wh-header {
    border-bottom: none;
    margin-bottom: 0;
}

main > .wh-hero--home,
body.wh-page-home main > .wh-hero--home {
    margin: 0 !important;
    padding: 0 !important;
}

body:has(.wh-hero--home) .wh-header + main,
body.wh-page-home .wh-header + main {
    margin: 0 !important;
    padding: 0 !important;
}

body.wh-page-home main {
    font-size: inherit;
}

.wh-hero {
    min-height: min(92vh, 900px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--wh-cream);
    overflow: hidden;
    margin: 0;
}

.wh-hero--home .wh-hero__bg {
    background-color: var(--wh-green-deep);
}

.wh-hero--home .wh-hero__bg-image {
    position: absolute;
    inset: 0;
    background: url("../img/stock/hero.png") center/cover no-repeat;
    opacity: 0.5;
}

.wh-hero--home .wh-hero__bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(45, 90, 71, 0.4) 0%,
        rgba(27, 61, 47, 0.55) 45%,
        rgba(27, 61, 47, 0.68) 100%
    );
    pointer-events: none;
}

.wh-hero__bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(27, 61, 47, 0.35) 0%, rgba(27, 61, 47, 0.82) 70%),
        url("../img/stock/hero.png") center/cover no-repeat;
    z-index: 0;
}

.wh-hero--home .wh-hero__title,
.wh-hero--home .wh-hero__lead {
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.55), 0 0 40px rgba(27, 61, 47, 0.35);
}

.wh-hero--home .wh-badge {
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.wh-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 720px;
    padding: 2rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wh-hero__title {
    font-family: var(--wh-font-display);
    font-size: clamp(2.5rem, 6vw, 4.25rem);
    line-height: 1.05;
    margin: 0 0 1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.wh-hero__lead {
    font-size: 1.15rem;
    line-height: 1.5;
    opacity: 0.92;
    margin: 0 auto 2rem;
    max-width: 540px;
}

.wh-hero__cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

/* Cards */
.wh-card-premium {
    background: var(--wh-white);
    border-radius: var(--wh-radius-lg);
    overflow: hidden;
    box-shadow: var(--wh-shadow);
    border: 1px solid rgba(232, 224, 212, 0.8);
    transition: transform var(--wh-transition), box-shadow var(--wh-transition);
    height: 100%;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.wh-card-premium:hover {
    transform: translateY(-4px);
    box-shadow: var(--wh-shadow-hover);
    color: inherit;
}

.wh-card-premium__img {
    aspect-ratio: 4/3;
    object-fit: cover;
    width: 100%;
}

.wh-card-premium__body { padding: 1.15rem 1.25rem 1.35rem; flex: 1; display: flex; flex-direction: column; }

.wh-card-premium__price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--wh-green-deep);
    margin-bottom: 0.35rem;
}

.wh-card-premium__meta {
    font-size: 0.85rem;
    color: var(--wh-graphite-muted);
    margin: 0;
}

.wh-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(45, 90, 71, 0.12);
    color: var(--wh-green-deep);
}

.wh-badge--verified {
    background: rgba(184, 149, 106, 0.2);
    color: #6b5438;
}

/* Sections */
.wh-section {
    padding: 4rem 0;
}

.wh-section--alt {
    background: var(--wh-white);
}

.wh-section__title {
    font-family: var(--wh-font-display);
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    color: var(--wh-green-deep);
    margin: 0 0 0.5rem;
}

.wh-section__sub {
    color: var(--wh-graphite-muted);
    margin: 0 0 2rem;
    max-width: 560px;
}

/* Search filters */
.wh-filters {
    background: var(--wh-white);
    border-radius: var(--wh-radius-lg);
    padding: 1.65rem 1.75rem;
    box-shadow: var(--wh-shadow);
    border: 1px solid var(--wh-beige);
    margin-bottom: 3rem;
}

.wh-filters__title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--wh-green-deep);
    margin: 0 0 1.25rem;
    line-height: 1.3;
}

.wh-filters .form-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--wh-graphite);
    margin-bottom: 0.4rem;
}

.wh-filters .form-control,
.wh-filters .form-select {
    font-size: 1rem;
}

.wh-filters__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem 1rem;
    margin-top: 1.75rem;
    padding-top: 0.65rem;
}

.wh-filters__actions .btn-wh-primary,
.wh-filters__actions .btn-wh-outline {
    min-width: 10rem;
    justify-content: center;
}

/* Stable card */
.wh-stable-row {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    background: var(--wh-white);
    border-radius: var(--wh-radius);
    border: 1px solid var(--wh-beige);
    transition: box-shadow var(--wh-transition);
    text-decoration: none;
    color: inherit;
}

.wh-stable-row:hover {
    box-shadow: var(--wh-shadow);
    color: inherit;
}

.wh-stable-row__img {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    object-fit: cover;
}

/* Detail page */
.wh-detail-hero {
    border-radius: var(--wh-radius-lg);
    overflow: hidden;
    margin-bottom: 2rem;
}

.wh-detail-hero img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

.wh-spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
}

.wh-spec-item {
    background: var(--wh-white);
    border: 1px solid var(--wh-beige);
    border-radius: var(--wh-radius);
    padding: 0.85rem;
}

.wh-spec-item dt {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--wh-graphite-muted);
    margin: 0 0 0.25rem;
}

.wh-spec-item dd {
    margin: 0;
    font-weight: 600;
    color: var(--wh-green-deep);
}

/* Static / legal pages */
.wh-legal h2 {
    font-family: var(--wh-font-display);
    font-size: 1.35rem;
    color: var(--wh-green-deep);
    margin: 2rem 0 0.75rem;
}

.wh-legal h2:first-of-type { margin-top: 1rem; }

.wh-legal p, .wh-legal li {
    color: var(--wh-graphite);
}

.wh-legal a {
    color: var(--wh-green);
    font-weight: 500;
}

.wh-legal__mono {
    font-family: ui-monospace, monospace;
    font-size: 0.92em;
}

.wh-contacts-dl {
    display: grid;
    gap: 0.75rem;
    max-width: 480px;
}

.wh-contacts-dl dt {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--wh-graphite-muted);
    margin: 0;
}

.wh-contacts-dl dd {
    margin: 0 0 0.5rem;
    font-weight: 600;
}

.wh-footer-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    margin-bottom: 0;
}

.wh-footer-legal a {
    color: rgba(250, 248, 245, 0.92);
    text-decoration: none;
}

.wh-footer-legal a:hover {
    color: #fff;
    text-decoration: underline;
}

.wh-footer-legal__sep {
    opacity: 0.45;
    user-select: none;
}

.wh-form-check {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    font-size: 0.9rem;
    margin: 1.25rem 0;
    cursor: pointer;
}

.wh-form-check input { margin-top: 0.2rem; flex-shrink: 0; }

.wh-form-check a { color: var(--wh-green-deep); }

.form-wrap {
    max-width: 420px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--wh-white);
    border-radius: var(--wh-radius-lg);
    box-shadow: var(--wh-shadow);
    border: 1px solid var(--wh-beige);
}

.form-wrap label { display: block; font-weight: 600; margin: 0.75rem 0 0.35rem; font-size: 0.9rem; }

.form-wrap input[type="text"],
.form-wrap input[type="email"],
.form-wrap input[type="password"] {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--wh-beige);
    border-radius: var(--wh-radius);
}

.form-wrap button[type="submit"] { margin-top: 1rem; width: 100%; justify-content: center; }

/* Rescue / slaughter — calm, human */
.wh-rescue-intro,
.wh-slaughter-intro {
    background: linear-gradient(135deg, #f5f2ec 0%, #ebe6dc 100%);
    border-radius: var(--wh-radius-lg);
    padding: 2rem;
    border-left: 4px solid var(--wh-green-soft);
}

.wh-slaughter-intro {
    border-left-color: #8b7355;
}

.wh-badge--slaughter {
    background: rgba(139, 115, 85, 0.15);
    color: #5c4a32;
    border: 1px solid rgba(139, 115, 85, 0.35);
}

.wh-slaughter-notice {
    background: #f8f5ef;
    border-radius: var(--wh-radius);
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border-left: 3px solid #8b7355;
}

/* Footer */
.wh-footer {
    background: var(--wh-green-deep);
    color: rgba(250, 248, 245, 0.88);
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.wh-footer a {
    color: rgba(250, 248, 245, 0.9);
    text-decoration: none;
}

.wh-footer a:hover { color: var(--wh-white); text-decoration: underline; }

.wh-footer h3 {
    font-family: var(--wh-font-display);
    font-size: 1rem;
    color: var(--wh-cream);
    margin-bottom: 0.75rem;
}

.wh-footer-links li + li {
    margin-top: 0.4rem;
}

.wh-footer-links a {
    font-weight: 500;
}

.wh-ecosystem-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: 1rem;
}

/* Inner pages (not home hero) */
.wh-page-main {
    background: var(--wh-cream);
    --bs-link-color: var(--wh-green-deep);
    --bs-link-hover-color: var(--wh-green);
}

.wh-link {
    color: var(--wh-green-deep);
    font-weight: 600;
    text-decoration: none;
}

.wh-link:hover {
    color: var(--wh-green);
    text-decoration: underline;
}

.wh-header:has(+ main > .wh-inner-hero) {
    border-bottom: none;
}

main > .wh-inner-hero {
    margin-top: 0;
}

.wh-inner-hero {
    position: relative;
    min-height: 220px;
    display: flex;
    align-items: flex-end;
    color: var(--wh-cream);
    overflow: hidden;
    background-color: var(--wh-green-deep);
    background-image: var(--wh-inner-hero-image);
    background-size: cover;
    background-position: center;
    margin: 0;
    --bs-link-color: rgba(250, 248, 245, 0.95);
    --bs-link-hover-color: #fff;
}

.wh-inner-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(27, 61, 47, 0.92) 0%, rgba(27, 61, 47, 0.72) 55%, rgba(27, 61, 47, 0.45) 100%);
}

.wh-inner-hero__inner {
    position: relative;
    z-index: 1;
    padding: 3.75rem 0 3.75rem;
    max-width: 760px;
}

.wh-inner-hero__crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    font-size: 0.82rem;
    margin-top: 1rem;
    margin-bottom: 2.25rem;
    padding: 0.5rem 0;
    opacity: 0.9;
}

.wh-inner-hero__crumbs a,
.wh-inner-hero__crumbs a:link,
.wh-inner-hero__crumbs a:visited {
    color: rgba(250, 248, 245, 0.95);
    text-decoration: none;
}

.wh-inner-hero__crumbs a:hover {
    color: #fff;
    text-decoration: underline;
}

.wh-inner-hero__crumbs span[aria-current="page"] {
    color: rgba(250, 248, 245, 0.72);
}

.wh-inner-hero__crumbs-sep {
    opacity: 0.55;
    color: rgba(250, 248, 245, 0.55);
}

.wh-inner-hero__badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    margin-bottom: 0.75rem;
}

.wh-inner-hero__title {
    font-family: var(--wh-font-display);
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    line-height: 1.1;
    margin: 0 0 0.85rem;
    font-weight: 600;
}

.wh-inner-hero__lead {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.5;
    opacity: 0.92;
    max-width: 640px;
}

.wh-page-content {
    padding: 3.25rem 0 3.75rem;
}

.wh-page-content--article {
    padding-top: 2.75rem;
}

.wh-page-content--tight {
    padding-top: 1.75rem;
}

.wh-breed-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1.5rem;
}

.wh-breed-list__item {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.25rem 0;
}

.wh-breed-list__link {
    font-weight: 650;
    color: var(--wh-green-deep);
    text-decoration: none;
}

.wh-breed-list__link:hover {
    color: var(--wh-green);
    text-decoration: underline;
}

.wh-breed-list__meta {
    color: var(--wh-graphite-muted);
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wh-breed-list__badge,
.wh-breed-badge {
    display: inline-block;
    flex-shrink: 0;
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 650;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--wh-green-deep);
    background: rgba(45, 90, 61, 0.1);
    border: 1px solid rgba(45, 90, 61, 0.18);
}

.wh-breed-badge {
    margin-right: 0.5rem;
    vertical-align: middle;
}

.wh-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.wh-spec {
    background: var(--wh-white);
    border: 1px solid var(--wh-beige);
    border-radius: var(--wh-radius);
    padding: 0.9rem 1rem;
    box-shadow: 0 10px 24px rgba(27, 61, 47, 0.06);
}

.wh-spec__k {
    font-size: 0.8rem;
    color: var(--wh-graphite-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.wh-spec__v {
    margin-top: 0.25rem;
    font-weight: 650;
    color: var(--wh-graphite);
}

@media (max-width: 767px) {
    .wh-breed-list { grid-template-columns: 1fr; }
    .wh-spec-grid { grid-template-columns: 1fr; }
}

.wh-info-panel {
    background: var(--wh-white);
    border: 1px solid var(--wh-beige);
    border-radius: var(--wh-radius-lg);
    padding: 1.5rem 1.75rem;
    box-shadow: var(--wh-shadow);
    margin-bottom: 2rem;
}

.wh-info-panel--accent {
    border-left: 4px solid var(--wh-green-soft);
}

.wh-aside-card {
    background: var(--wh-white);
    border: 1px solid var(--wh-beige);
    border-radius: var(--wh-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--wh-shadow);
}

.wh-aside-card__price {
    font-family: var(--wh-font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--wh-green-deep);
    margin: 0 0 1rem;
    line-height: 1.1;
}

.wh-trust-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    padding: 2rem 0 0;
    margin: 0 0 2.25rem;
    border-top: 1px solid var(--wh-beige);
    font-size: 0.95rem;
    line-height: 1.45;
    color: var(--wh-graphite-muted);
}

.wh-trust-bar strong {
    color: var(--wh-green-deep);
}

.wh-cat-grid {
    margin-bottom: 2rem;
}

.wh-cat-grid--compact {
    margin-bottom: 3rem;
}

.wh-cat-grid.row {
    align-items: stretch;
}

.wh-cat-grid > [class*="col-"] {
    display: flex;
    align-items: stretch;
}

.wh-cat-tile--rich {
    padding: 1.25rem 1.35rem;
    min-height: 100%;
}

.wh-cat-tile--rich small {
    display: block;
    font-weight: 400;
    color: var(--wh-graphite-muted);
    margin-top: 0.35rem;
    font-size: 0.85rem;
    line-height: 1.4;
}

.wh-cat-tile--photo {
    display: block;
    padding: 0;
    overflow: hidden;
    border: none;
    min-height: 160px;
    position: relative;
    text-decoration: none;
    background: var(--wh-green-deep);
}

.wh-cat-tile--photo:hover {
    color: var(--wh-cream);
    border-color: transparent;
}

.wh-cat-tile__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wh-cat-tile--photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(27, 61, 47, 0.1) 0%, rgba(27, 61, 47, 0.82) 100%);
    pointer-events: none;
}

.wh-cat-tile__body {
    position: relative;
    z-index: 1;
    padding: 1rem 1.1rem 1.15rem;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: var(--wh-cream);
}

.wh-cat-tile__title {
    display: block;
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.25;
}

.wh-cat-tile--yard-photo {
    min-height: 168px;
}

.wh-cat-tile--yard-photo::after {
    background: linear-gradient(
        180deg,
        rgba(27, 61, 47, 0.2) 0%,
        rgba(27, 61, 47, 0.55) 50%,
        rgba(27, 61, 47, 0.82) 100%
    );
}

.wh-cat-tile--yard-photo .wh-cat-tile__body {
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 168px;
    padding: 1rem;
}

.wh-cat-tile--yard-photo .wh-cat-tile__title {
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.wh-cat-tile__desc {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.8rem;
    line-height: 1.35;
    opacity: 0.92;
    color: rgba(250, 248, 245, 0.9);
}

.wh-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin: 2rem 0;
}

.wh-feature-card {
    background: var(--wh-white);
    border: 1px solid var(--wh-beige);
    border-radius: var(--wh-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--wh-shadow);
}

.wh-feature-card__icon {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.wh-feature-card h3 {
    font-family: var(--wh-font-display);
    font-size: 1.2rem;
    color: var(--wh-green-deep);
    margin: 0 0 0.5rem;
}

.wh-empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    background: var(--wh-white);
    border-radius: var(--wh-radius-lg);
    border: 1px dashed var(--wh-beige);
}

.wh-empty-state__icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.85;
}

.wh-empty-state__title {
    font-family: var(--wh-font-display);
    font-size: 1.5rem;
    color: var(--wh-green-deep);
    margin: 0 0 0.5rem;
}

.wh-empty-state__text {
    color: var(--wh-graphite-muted);
    max-width: 420px;
    margin: 0 auto 1.25rem;
}

.wh-prose {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--wh-graphite);
}

.wh-prose h2 {
    font-family: var(--wh-font-display);
    color: var(--wh-green-deep);
    margin: 2rem 0 0.75rem;
    font-size: 1.45rem;
}

.wh-prose h2:first-child {
    margin-top: 0;
}

.wh-prose ul {
    padding-left: 1.25rem;
}

.wh-prose a {
    color: var(--wh-green);
}

.wh-article-cover {
    border-radius: var(--wh-radius-lg);
    overflow: hidden;
    margin: 0 auto 2.75rem;
    max-width: 720px;
    box-shadow: var(--wh-shadow);
}

.wh-article-cover img {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    display: block;
}

.wh-breed-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    margin: 0 0 1.75rem;
}

.wh-breed-gallery__item {
    border-radius: var(--wh-radius-lg);
    overflow: hidden;
    margin: 0;
    background: var(--wh-white);
    border: 1px solid var(--wh-beige);
    box-shadow: var(--wh-shadow);
}

.wh-breed-gallery__item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.wh-page-content--breed .wh-article-lead,
.wh-page-content--breed .wh-article-body,
.wh-page-content--breed .wh-article-back {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

@media (max-width: 991px) {
    .wh-breed-gallery { grid-template-columns: 1fr; }
    .wh-breed-gallery__item img { height: 260px; }
}

.wh-article-lead {
    max-width: 720px;
    margin: 0 auto 2.25rem;
    font-size: 1.2rem;
    line-height: 1.55;
    color: var(--wh-graphite-muted);
}

.wh-article-body {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.08rem;
    line-height: 1.7;
}

.wh-article-body h2 {
    font-family: var(--wh-font-display);
    font-size: 1.5rem;
    color: var(--wh-green-deep);
    margin: 2rem 0 0.85rem;
}

.wh-article-body h2:first-child {
    margin-top: 0;
}

.wh-article-body p {
    margin-bottom: 1.1rem;
}

.wh-article-body ul {
    padding-left: 1.25rem;
    margin-bottom: 1.25rem;
}

.wh-article-body li {
    margin-bottom: 0.45rem;
}

.wh-article-body a {
    color: var(--wh-green);
}

.wh-article-back {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.wh-contacts-dl dt {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--wh-graphite-muted);
}

.wh-contacts-dl dd {
    margin-bottom: 1rem;
}

.wh-auth-card {
    max-width: none;
    margin: 0;
    padding: 2rem 2.25rem;
}

.wh-auth-card.form-wrap input[type="text"],
.wh-auth-card.form-wrap input[type="email"],
.wh-auth-card.form-wrap input[type="password"] {
    border-radius: var(--wh-radius);
}

.wh-error-panel {
    text-align: center;
    max-width: 520px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background: var(--wh-white);
    border-radius: var(--wh-radius-lg);
    border: 1px solid var(--wh-beige);
    box-shadow: var(--wh-shadow);
}

.wh-error-panel__code {
    font-family: var(--wh-font-display);
    font-size: clamp(4rem, 12vw, 6rem);
    line-height: 1;
    color: var(--wh-green-soft);
    margin: 0 0 0.5rem;
    font-weight: 600;
}

.wh-error-panel__message {
    font-size: 1.1rem;
    color: var(--wh-graphite-muted);
    margin: 0 0 1.75rem;
}

.wh-error-panel__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.wh-page-content--chat {
    padding-top: 1.25rem;
    padding-bottom: 2rem;
}

.wh-page-content--chat .msg-app {
    min-height: min(72vh, 640px);
    border-radius: var(--wh-radius-lg);
    overflow: hidden;
    box-shadow: var(--wh-shadow);
    border: 1px solid var(--wh-beige);
}

.wh-listing-form-shell.form-wrap {
    max-width: 720px;
    margin: 0 auto;
}

.wh-equipment-hub {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--wh-white);
    border: 1px solid var(--wh-beige);
    border-radius: var(--wh-radius-lg);
    padding: 2rem 1.75rem;
    box-shadow: var(--wh-shadow);
    transition: border-color var(--wh-transition), transform var(--wh-transition);
}

.wh-equipment-hub:hover {
    border-color: var(--wh-green-soft);
    transform: translateY(-2px);
    color: inherit;
}

.wh-equipment-hub--photo {
    min-height: 280px;
    padding: 0;
    border: none;
    position: relative;
    overflow: hidden;
    display: block;
    background: var(--wh-green-deep);
}

.wh-equipment-hub__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.wh-equipment-hub--photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(27, 61, 47, 0.12) 0%, rgba(27, 61, 47, 0.88) 100%);
    z-index: 1;
    pointer-events: none;
}

.wh-equipment-hub__body {
    position: relative;
    z-index: 2;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem 1.75rem;
    color: var(--wh-cream);
}

.wh-equipment-hub--photo .wh-equipment-hub__title,
.wh-equipment-hub--photo .wh-equipment-hub__cta {
    color: var(--wh-cream);
}

.wh-equipment-hub--photo .wh-equipment-hub__lead {
    color: rgba(250, 248, 245, 0.9);
}

.wh-equipment-hub__icon {
    font-size: 2.25rem;
    display: block;
    margin-bottom: 0.75rem;
}

.wh-equipment-hub__title {
    font-family: var(--wh-font-display);
    font-size: 1.65rem;
    color: var(--wh-green-deep);
    margin: 0 0 0.5rem;
}

.wh-equipment-hub__lead {
    color: var(--wh-graphite-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.wh-equipment-hub__cta {
    display: inline-block;
    margin-top: 1.25rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--wh-green);
}

/* Category tiles */
.wh-cat-tile {
    display: block;
    padding: 1.5rem;
    background: var(--wh-white);
    border-radius: var(--wh-radius);
    border: 1px solid var(--wh-beige);
    text-decoration: none;
    color: var(--wh-green-deep);
    font-weight: 600;
    transition: background var(--wh-transition), border-color var(--wh-transition);
}

.wh-cat-tile:hover {
    background: #f0ebe3;
    border-color: var(--wh-green-soft);
    color: var(--wh-green-deep);
}

a.wh-cat-tile.wh-cat-tile--compact {
    display: grid;
    place-items: center;
    text-align: center;
    width: 100%;
    min-height: 5.5rem;
    height: 100%;
    padding: 1rem 0.75rem;
    font-size: 0.95rem;
    line-height: 1.3;
    box-sizing: border-box;
}

a.wh-cat-tile.wh-cat-tile--compact.wh-equipment-hub-tile {
    min-height: 7rem;
}

/* Video embed */
.wh-video-panel__title {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--wh-green-deep);
    margin: 0 0 1.15rem;
    line-height: 1.3;
}

.wh-video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: var(--wh-radius);
    overflow: hidden;
    background: #000;
}

.wh-video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Utilities */
.wh-breadcrumb {
    font-size: 0.85rem;
    margin: 1rem 0 2rem;
    padding: 0.5rem 0;
}

.wh-breadcrumb a,
.wh-breadcrumb a:link,
.wh-breadcrumb a:visited {
    color: var(--wh-green-deep);
    text-decoration: none;
    font-weight: 500;
}

.wh-breadcrumb a:hover {
    color: var(--wh-green);
    text-decoration: underline;
}

.wh-header { position: sticky; }
.wh-header .container { position: relative; }

@media (min-width: 992px) {
    .wh-header__inner {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 1.5rem;
        position: relative;
    }

    #wh-nav-toggle {
        display: none;
    }

    .wh-logo {
        grid-column: 1;
        justify-self: start;
    }

    .wh-header__nav-wrap {
        grid-column: 2;
        display: flex;
        justify-content: center;
        align-items: center;
        min-width: 0;
        position: static;
        transform: none;
        width: auto;
        max-width: none;
        pointer-events: auto;
    }

    .wh-header__actions {
        grid-column: 3;
        justify-self: end;
        margin-left: 0;
        flex-shrink: 0;
    }
}

@media (max-width: 991px) {
    .wh-header__inner { flex-wrap: wrap; }
    #wh-nav-toggle { margin-left: auto; }
    .wh-header__nav-wrap {
        display: none;
        position: static;
        transform: none;
        width: 100%;
        order: 3;
        max-width: none;
        pointer-events: auto;
    }
    .wh-header__nav-wrap.is-open {
        display: block;
        padding: 0.5rem 0 1rem;
        border-top: 1px solid var(--wh-beige);
    }
}
