/*
Theme Name:     Tailwag Progression Child
Description:    Child Theme for Tailwag Theme
Author:         Progression Studios
Template:       tailwag-progression

*/
.hitch-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 20px;
}

.hitch-grid-two {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 40px;
    align-items: start;
}

.hitch-section {
    margin-top: 42px;
}

.hitch-section h2 {
    margin-bottom: 14px;
}

.hitch-card-box,
.hitch-section-content,
.hitch-contact-box,
.hitch-parent-card,
.hitch-child-card,
.hitch-meta-item {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 18px;
}

.hitch-parent-card, .hitch-child-card{
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.hitch-parent-card h3, .hitch-parent-card p ,.hitch-child-card h3, .hitch-child-card p {
    margin:0;
}

.hitch-parent-card p, .hitch-child-card p{
    margin: auto 0 0;
    display: flex;
}

.hitch-parent-card p a, .hitch-child-card p a {
    background-color: #fa524f;
    padding: 10px 16px;
    border-radius: 32px;
    color:#fff;
}
.hitch-card-media a {
    display:flex;
}

.hitch-card-media {
    position: relative;
}

.hitch-card-status-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.hitch-section-content,
.hitch-contact-box,
.hitch-parent-card,
.hitch-child-card {
    padding: 22px;
}

.hitch-badges,
.hitch-card-badges,
.hitch-parent-badges,
.hitch-animal-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hitch-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 13px;
    background: #f3f3f3;
}

.hitch-meta-grid,
.hitch-animal-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.hitch-meta-item {
    padding: 14px 16px;
}

.hitch-meta-label {
    display: block;
    font-size: 13px;
    opacity: 0.7;
    margin-bottom: 4px;
}

.hitch-meta-value {
    font-weight: 600;
}

.hitch-media img,
.hitch-card-media img,
.hitch-parent-card img,
.hitch-child-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
}
.hitch-card img {
    border-radius: 14px 14px 0 0;
    aspect-ratio: 1.25/1;
    object-fit: cover;
}

.hitch-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.hitch-card {
    border: 1px solid #ececec;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
}

.hitch-card-body {
    padding: 18px;
    display:flex;
    flex-direction: column;
    gap:15px;
    height: 100%;
    container-type: inline-size;
}
.hitch-card-body h2{
    margin:0;
}

.hitch-card-title {
    margin: 0 0 10px;
    font-size: 22px;
}

.hitch-card-price {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    white-space: nowrap;
}

.hitch-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}

.hitch-card-footer .hitch-card-link {
    margin: 0 0 0 auto;
    flex-shrink: 0;
}

.hitch-card-footer .hitch-card-price + .hitch-card-link {
    margin-left: 0;
}

.hitch-slider-track .hitch-card-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}

.hitch-slider-track .hitch-card-footer .hitch-card-link {
    margin: 0;
    width: 100%;
}

.hitch-slider-track .hitch-card-footer .hitch-card-link a {
    width: 100%;
    justify-content: center;
}

@container (max-width: 300px) {
    .hitch-card-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .hitch-card-footer .hitch-card-link {
        margin: 0;
        width: 100%;
    }

    .hitch-card-footer .hitch-card-link a {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 400px) {
    .hitch-card-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .hitch-card-footer .hitch-card-link {
        margin: 0;
        width: 100%;
    }

    .hitch-card-footer .hitch-card-link a {
        width: 100%;
        justify-content: center;
    }
}
.hitch-price{
    font-size: 24px;
    font-weight: 700;
    color: #111;
}

.hitch-animal-title, .hitch-price{
    margin:0
}

.hitch-animal-summary-intro {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hitch-animal-summary{
    display: flex;
    flex-direction: column;
    gap:15px;
    min-width: 0;
}

.hitch-animal-age {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #555;
}

.hitch-animal-age-card,
.hitch-animal-facts-card,
.hitch-animal-teaser-card {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hitch-animal-facts-card.has-two-cols {
    flex-direction: row;
    align-items: stretch;
    gap: 0;
}

.hitch-animal-facts-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hitch-animal-facts-divider {
    width: 1px;
    background: #ececec;
    margin: 0 18px;
    flex-shrink: 0;
    align-self: stretch;
}

.hitch-animal-age-value {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    color: #111;
}

.hitch-animal-age-born {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.hitch-animal-teaser-text {
    margin: 0;
    line-height: 1.65;
    color: #333;
}

.hitch-animal-teaser-link {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: 4px;
    font-size: 14px;
    font-weight: 600;
    color: #fa524f;
    text-decoration: none;
}

.hitch-animal-teaser-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hitch-animal-summary-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
}

.hitch-card-interest-cta--static {
    cursor: default;
}

.hitch-card-interest-cta--static:hover {
    background: #fff5f4;
    border-color: #fde0de;
    color: #c93d39;
}

.hitch-card-interest-cta--static.is-first:hover {
    background: #ecf8ef;
    border-color: #cfe9d6;
    color: #1a5c32;
}

.hitch-animal-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #fa524f;
    color: #fff;
    padding: 12px 22px;
    border-radius: 32px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.hitch-animal-cta:hover {
    opacity: 0.9;
    color: #fff;
}

.hitch-animal-booking-access-cta {
    background-color: #1a5c32;
}

.hitch-animal-booking-access-cta:hover {
    color: #fff;
}

.hitch-animal-response-guarantee {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    gap: 8px;
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    opacity: 0.72;
}

.hitch-animal-response-guarantee svg {
    flex-shrink: 0;
    color: #2d8a4e;
    opacity: 0.85;
}

#hitch-animal-detail,
#hitch-animal-inquiry {
    scroll-margin-top: 110px;
}

html {
    scroll-behavior: smooth;
}

.hitch-grid-two > * {
    min-width: 0;
}

.hitch-parents-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.hitch-animal-parents-card {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hitch-animal-parents-title {
    margin: 0;
    font-size: 18px;
    line-height: 1.3;
}

.hitch-animal-parents-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.hitch-animal-parent-item {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.hitch-animal-parent-media {
    flex-shrink: 0;
    width: 84px;
    height: 84px;
    border-radius: 14px;
    overflow: hidden;
}

.hitch-animal-parent-media img,
.hitch-animal-parent-media .hitch-media-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    display: block;
}

.hitch-animal-parent-media .hitch-media-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    padding: 8px;
    text-align: center;
    box-sizing: border-box;
}

.hitch-animal-parent-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
}

.hitch-animal-parent-role {
    font-size: 13px;
    font-weight: 600;
    color: #777;
}

.hitch-animal-parent-name {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    color: #111;
}

.hitch-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 32px;
    border: 1px solid #ddd;
    background: #fff;
    color: #111;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.hitch-btn-secondary:hover {
    background: #f7f7f7;
    border-color: #ccc;
    color: #111;
}

.hitch-parent-summary {
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 0;
}

.hitch-parent-title {
    margin: 0;
}

.hitch-parent-presentation-card,
.hitch-parent-excerpt {
    padding: 18px 20px;
}

.hitch-parent-presentation-title {
    margin: 0 0 12px;
    font-size: 18px;
    line-height: 1.3;
}

.hitch-parent-presentation-body {
    color: #444;
    line-height: 1.65;
}

.hitch-parent-presentation-body > :first-child {
    margin-top: 0;
}

.hitch-parent-presentation-body > :last-child {
    margin-bottom: 0;
}

.hitch-parent-excerpt p {
    margin: 0;
    line-height: 1.65;
    color: #444;
}

.hitch-children-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.hitch-filters-form {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    align-items: end;
}

.hitch-filter-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hitch-filter-field label {
    font-size: 12px;
    font-weight: 600;
}

.hitch-filter-field select {
    width: 100%;
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    color: #111;
    font-size: 13px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
}

.hitch-filter-field select:focus {
    outline: 2px solid #fa524f;
    outline-offset: 1px;
    border-color: #fa524f;
}

.hitch-empty {
    padding: 32px;
    border: 1px solid #ececec;
    border-radius: 18px;
    background: #fff;
}

.hitch-animal-filter-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 36px 28px;
}

.hitch-animal-filter-empty-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #222;
}

.hitch-animal-filter-empty-hint {
    margin: 0;
    max-width: 40ch;
    font-size: 15px;
    line-height: 1.55;
    color: #555;
}

.hitch-animal-filter-empty .hitch-not-found-illustration {
    margin-bottom: 4px;
}

@media (max-width: 980px) {
    .hitch-grid-two,
    .hitch-cards,
    .hitch-children-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hitch-filters-form {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .hitch-grid-two,
    .hitch-meta-grid,
    .hitch-animal-meta,
    .hitch-parents-grid,
    .hitch-animal-parents-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hitch-cards,
    .hitch-children-grid,
    .hitch-filters-form {
        grid-template-columns: 1fr;
    }

    .hitch-filters-bar {
        grid-template-columns: 1fr;
    }

    .hitch-archive-toolbar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .hitch-archive-results {
        flex: 1;
        min-width: 0;
        font-size: 13px;
    }

    .hitch-archive-toolbar-actions {
        justify-content: flex-end;
        flex-shrink: 0;
        margin-left: auto;
    }

    .hitch-archive-sort-label {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .hitch-cards.is-list-view .hitch-card {
        flex-direction: column;
    }

    .hitch-cards.is-list-view .hitch-card-media {
        width: 100%;
        border-radius: 14px 14px 0 0;
    }

    .hitch-cards.is-list-view .hitch-card img,
    .hitch-cards.is-list-view .hitch-media-placeholder {
        min-height: 220px;
        border-radius: 0;
    }

    .hitch-quick-filters {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .hitch-quick-filter-group {
        flex-wrap: wrap;
    }

    .hitch-filters-actions {
        margin-left: 0;
        justify-content: flex-end;
    }
}

.hitch-badge-status-disponible {
    background: #cfe9d6;
    color: #1a5c32;
}

.hitch-badge-status-reserve,
.hitch-badge-status-reservee {
    background: #fff5e8;
    color: #9a5d10;
}

.hitch-badge-status-adopte,
.hitch-badge-status-adoptee {
    background: #fde0de;
    color: #a8322f;
}

.hitch-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hitch-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.hitch-card-title a {
    text-decoration: none;
    color: inherit;
}

.hitch-card-interest-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #fff5f4;
    border: 1px solid #fde0de;
    color: #c93d39;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.hitch-card-interest-cta:hover {
    background: #ffeceb;
    border-color: #fac5c2;
    color: #a8322f;
}

.hitch-card-interest-cta.is-first {
    background: #ecf8ef;
    border-color: #cfe9d6;
    color: #1a5c32;
}

.hitch-card-interest-cta.is-first:hover {
    background: #dff0e4;
    border-color: #b8ddc4;
    color: #145028;
}

.hitch-card-interest-cta-icon {
    display: inline-flex;
    flex-shrink: 0;
    color: #fa524f;
}

.hitch-card-interest-cta.is-first .hitch-card-interest-cta-icon {
    color: #2d8a4e;
}

.hitch-card-interest-cta.is-sent,
.hitch-card-interest-cta.is-sent:hover {
    background: #ecf8ef;
    border-color: #cfe9d6;
    color: #1a5c32;
    cursor: default;
}

.hitch-card-interest-cta.is-sent .hitch-card-interest-cta-icon {
    color: #2d8a4e;
}

.hitch-card-interest-cta-icon svg {
    display: block;
}

.hitch-card-interest-cta-text {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
}

.hitch-card-link {
    margin: auto 0 0;
    display: flex;
}

.hitch-card-link a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #fa524f;
    padding: 9px 14px;
    border-radius: 32px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.hitch-card-link-icon {
    flex-shrink: 0;
}

.hitch-card-excerpt p:last-child {
    margin-bottom: 0;
}

.hitch-adopted-note {
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #f7f7f7;
    border: 1px solid #e5e5e5;
    color: #555;
}

.hitch-media-placeholder {
    width: 100%;
    min-height: 215px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #f5f5f5;
    color: #777;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

.hitch-contact-box h2 {
    margin-top: 0;
    margin-bottom: 10px;
}

.hitch-contact-box {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    overflow-x: clip;
    container-type: inline-size;
    container-name: hitch-contact;
}

.hitch-contact-box .hitch-animal-inquiry-form-wrapper,
.hitch-contact-box .hitch-animal-inquiry-form {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.hitch-contact-box p:last-of-type {
    margin-bottom: 0;
}

.hitch-animal-inquiry-section {
    margin-top: 48px;
}

.hitch-animal-inquiry-section .hitch-contact-box {
    padding: 28px;
}

.hitch-media {
    display: flex;
}

.hitch-filters-card {
    margin-bottom: 18px;
    padding: 10px 12px;
    border: 1px solid #ececec;
    border-radius: 12px;
    background: #fff;
}

.hitch-filters-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px 14px;
}

.hitch-archive-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 18px;
    padding: 0 2px;
}

.hitch-archive-results {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #444;
}

.hitch-archive-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.hitch-archive-sort {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hitch-archive-sort-label {
    font-size: 12px;
    font-weight: 600;
    color: #777;
}

.hitch-archive-sort select {
    border: 1px solid #ddd;
    border-radius: 999px;
    padding: 6px 28px 6px 12px;
    background: #fff;
    color: #333;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
}

.hitch-archive-sort select:focus {
    outline: 2px solid #fa524f;
    outline-offset: 1px;
    border-color: #fa524f;
}

.hitch-view-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px;
    border: 1px solid #ddd;
    border-radius: 999px;
    background: #fff;
}

.hitch-view-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    padding: 0;
    background: transparent;
    color: #666;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.hitch-view-toggle-btn:hover {
    color: #111;
}

.hitch-view-toggle-btn.is-active {
    background: #111;
    color: #fff;
}

.hitch-cards.is-list-view {
    grid-template-columns: 1fr;
    gap: 16px;
}

.hitch-cards.is-list-view .hitch-card {
    flex-direction: row;
    align-items: stretch;
}

.hitch-cards.is-list-view .hitch-card-media {
    width: min(220px, 38%);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    overflow: hidden;
    border-radius: 14px 0 0 14px;
}

.hitch-cards.is-list-view .hitch-card-media a {
    display: flex;
    flex: 1;
    min-height: 0;
    width: 100%;
}

.hitch-cards.is-list-view .hitch-card img,
.hitch-cards.is-list-view .hitch-media-placeholder {
    width: 100%;
    height: 100%;
    min-height: 100%;
    aspect-ratio: unset;
    object-fit: cover;
    border-radius: 0;
}

.hitch-cards.is-list-view .hitch-media-placeholder {
    min-height: 0;
    flex: 1;
    box-sizing: border-box;
}

.hitch-cards.is-list-view .hitch-card-body {
    flex: 1;
    min-width: 0;
    min-height: 0;
    height: auto;
    align-self: stretch;
}

.hitch-cards.is-list-view .hitch-card-body > * {
    min-width: 0;
}

.hitch-cards.is-list-view .hitch-card-footer {
    margin-top: auto;
    min-width: 0;
    width: 100%;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.hitch-cards.is-list-view .hitch-card-footer .hitch-card-link {
    margin: 0 0 0 auto;
}

.hitch-cards.is-list-view .hitch-card-price {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hitch-filters-results {
    margin: 0;
    font-size: 12px;
    color: #777;
    white-space: nowrap;
}

.hitch-quick-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    min-width: 0;
    margin-bottom:0!important;
}

.hitch-quick-filter-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 0;
}

.hitch-quick-filter-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #999;
}

.hitch-quick-filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.hitch-filter-pill {
    border: 1px solid #ddd;
    border-radius: 999px;
    padding: 4px 10px;
    background: #fff;
    color: #333;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.hitch-filter-pill:hover {
    border-color: #fa524f;
    color: #fa524f;
}

.hitch-filter-pill.is-active {
    background: #fa524f;
    border-color: #fa524f;
    color: #fff;
}

.hitch-filters-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.hitch-advanced-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid #ddd;
    border-radius: 999px;
    padding: 4px 10px;
    background: #fff;
    color: #111;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.hitch-advanced-toggle-icon {
    transition: transform 0.2s ease;
}

.hitch-advanced-toggle.is-active .hitch-advanced-toggle-icon {
    transform: rotate(180deg);
}

.hitch-advanced-toggle.is-active,
.hitch-advanced-toggle:hover {
    background: #111;
    color: #fff;
    border-color: #111;
}

.hitch-filters-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid #ddd;
    border-radius: 999px;
    padding: 0;
    background: #fff;
    color: #333;
    cursor: pointer;
    transition: 0.2s ease;
}

.hitch-filters-reset:hover:not(:disabled) {
    border-color: #111;
    color: #111;
}

.hitch-filters-reset:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.hitch-advanced-filters {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #eee;
}

.hitch-advanced-filters[hidden] {
    display: none !important;
}

.hitch-animal-gallery {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.hitch-animal-gallery-main img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
}

.hitch-animal-gallery-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hitch-animal-thumb {
    background: transparent;
    padding: 0;
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    opacity: 0.7;
    transition: 0.2s ease;
    aspect-ratio: 1/1;
    border: 2px solid transparent;
}

.hitch-animal-thumb img {
    width: 78px;
    height: 78px;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.hitch-animal-thumb:hover,
.hitch-animal-thumb.is-active {
    opacity: 1;
    border: 2px solid #fa524f;
}

.hitch-animal-traits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 20px;
}

.hitch-animal-trait {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    line-height: 1.4;
}

.hitch-animal-trait-icon {
    flex: 0 0 auto;
    width:15px;
    font-size: 18px;
}
.hitch-animal-trait-icon svg{
    fill: #FBAE02;
}

.hitch-animal-trait-text {
    font-weight: 500;
}

@media (max-width: 980px) {
    .hitch-animal-traits {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .hitch-animal-traits {
        grid-template-columns: 1fr;
    }
}

.hitch-404 {
    text-align: center;
    padding-top: 72px;
    padding-bottom: 96px;
}

.hitch-404-header {
    max-width: 640px;
    margin: 0 auto;
}

.hitch-not-found-illustration--404 {
    margin: 0 auto 20px;
}

.hitch-404-code {
    margin: 0 0 12px;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    line-height: 1;
    color: #fa524f;
    opacity: 0.85;
}

.hitch-404-title {
    margin: 0 0 16px;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
}

.hitch-404-description {
    margin: 0;
    color: #555;
    line-height: 1.6;
}

.hitch-404-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.hitch-404-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 32px;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.hitch-404-btn:hover {
    opacity: 0.9;
}

.hitch-404-btn-primary {
    background-color: #fa524f;
    color: #fff;
}

.hitch-404-btn-secondary {
    background: #fff;
    color: #222;
    border: 1px solid #ececec;
}

.hitch-animal-info-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hitch-animal-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.hitch-animal-info-card {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hitch-animal-info-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hitch-animal-info-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    flex-shrink: 0;
    background: #f5f5f5;
    color: #444;
}

.hitch-animal-info-card-icon svg {
    display: block;
    width: 20px;
    height: 20px;
}

.hitch-animal-info-card-icon--bowl svg {
    width: 22px;
    height: 22px;
}

.hitch-animal-info-card-icon--syringe svg {
    width: 22px;
    height: 22px;
}

.hitch-animal-info-card-icon--paw {
    background: #fff6e6;
    color: #c47d00;
}

.hitch-animal-info-card-icon--syringe {
    background: #eef4ff;
    color: #3b63b8;
}

.hitch-animal-info-card-icon--bowl {
    background: #ecf8ef;
    color: #2d8a4e;
}

.hitch-animal-info-card-icon--stethoscope {
    background: #f3eef9;
    color: #7b4fae;
}

.hitch-animal-info-card-icon--home {
    background: #fde8e7;
    color: #c93d39;
}

.hitch-animal-info-card-icon--breed {
    background: #e6f6f3;
    color: #0f766e;
}

.hitch-animal-info-card-title {
    margin: 0;
    font-size: 18px;
    line-height: 1.3;
}

.hitch-animal-info-card-body {
    color: #444;
    line-height: 1.65;
}

.hitch-animal-info-card-body p {
    margin: 0;
}

.hitch-animal-info-card--home {
    background: #fff7f6;
    border-color: #fde0de;
}

.hitch-animal-info-card--breed {
    width: 100%;
}

@media (max-width: 768px) {
    .hitch-animal-info-grid {
        grid-template-columns: 1fr;
    }
}
