/**
 * Studio Alma do Lar — Páginas institucionais (privacidade, termos, FAQ etc.)
 * Carregado só onde algum shortcode institucional é usado (ver
 * inc/static-pages.php).
 */

.studioalmadolar-legal-page {
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.65;
}

.studioalmadolar-legal-page section {
    margin-bottom: 28px;
}

.studioalmadolar-legal-page__updated {
    opacity: 0.7;
    font-size: 0.9rem;
}

.studioalmadolar-table-wrap {
    overflow-x: auto;
    margin: 16px 0;
}

.studioalmadolar-legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.studioalmadolar-legal-table th,
.studioalmadolar-legal-table td {
    border: 1px solid var(--studioalmadolar-accent-soft, #efe9e3);
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}

.studioalmadolar-legal-table th {
    background: var(--studioalmadolar-accent-soft, #efe9e3);
}

.studioalmadolar-placeholder-note {
    background: #fff8e6;
    border: 1px dashed #d9b34d;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 0.9rem;
}

.studioalmadolar-faq__item {
    border-bottom: 1px solid var(--studioalmadolar-accent-soft, #efe9e3);
    padding: 14px 0;
}

.studioalmadolar-faq__question {
    cursor: pointer;
    font-weight: 600;
}

.studioalmadolar-faq__answer {
    margin-top: 10px;
    opacity: 0.85;
}

.studioalmadolar-home {
    overflow: hidden;
    background: var(--studioalmadolar-surface, #ffffff);
}

.studioalmadolar-home__hero {
    text-align: center;
    padding: clamp(5rem, 10vw, 8rem) 1.25rem;
}

.studioalmadolar-home__hero--fallback {
    width: min(calc(100% - 2rem), 920px);
    margin: clamp(1.5rem, 4vw, 4.5rem) auto 0;
    border-radius: clamp(0.75rem, 1.8vw, 1.35rem);
    background: var(--studioalmadolar-paper, #faf8f5);
}

.studioalmadolar-home__eyebrow {
    margin: 0 0 0.85rem;
    color: var(--studioalmadolar-muted, #6e625a);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    line-height: 1.4;
    text-transform: uppercase;
}

.studioalmadolar-home__hero h1,
.studioalmadolar-home__hero p {
    max-width: 680px;
    margin-right: auto;
    margin-left: auto;
}

.studioalmadolar-home__hero h1 {
    margin-top: 0;
    margin-bottom: 0.45em;
    font-size: clamp(2.6rem, 6vw, 5.8rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.studioalmadolar-home__hero p:not(.studioalmadolar-home__eyebrow) {
    margin-bottom: 2rem;
    color: var(--studioalmadolar-ink-soft, rgba(47, 42, 38, 0.68));
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.6;
}

.studioalmadolar-home__explore,
.studioalmadolar-home__manifesto,
.studioalmadolar-home__benefits {
    width: min(calc(100% - 2rem), 1440px);
    margin-right: auto;
    margin-left: auto;
}

.studioalmadolar-home__explore {
    padding: clamp(4.5rem, 9vw, 8rem) 0 clamp(3.5rem, 7vw, 6rem);
}

.studioalmadolar-home__section-heading {
    max-width: 660px;
}

.studioalmadolar-home__section-heading h2,
.studioalmadolar-home__manifesto h2 {
    max-width: 760px;
    margin: 0 0 0.55em;
    font-size: clamp(2.1rem, 4.5vw, 4.2rem);
    line-height: 1;
    letter-spacing: -0.05em;
    text-wrap: balance;
}

.studioalmadolar-home__section-heading p:not(.studioalmadolar-home__eyebrow),
.studioalmadolar-home__manifesto p:not(.studioalmadolar-home__eyebrow) {
    max-width: 600px;
    margin: 0;
    color: var(--studioalmadolar-ink-soft, rgba(47, 42, 38, 0.68));
    font-size: 1.05rem;
    line-height: 1.65;
}

.studioalmadolar-home-categories {
    margin-top: clamp(2.5rem, 5vw, 4.5rem);
}

.studioalmadolar-home-categories__controls {
    display: flex;
    justify-content: flex-end;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.studioalmadolar-home-categories__arrow {
    display: inline-grid;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    border: 1px solid var(--studioalmadolar-line-strong, rgba(47, 42, 38, 0.35));
    border-radius: 50%;
    background: transparent;
    color: var(--studioalmadolar-ink, #2f2a26);
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.studioalmadolar-home-categories__arrow:hover,
.studioalmadolar-home-categories__arrow:focus-visible {
    border-color: var(--studioalmadolar-accent, #2f2a26);
    background: var(--studioalmadolar-accent, #2f2a26);
    color: var(--studioalmadolar-paper, #faf8f5);
}

.studioalmadolar-home-categories__arrow:focus-visible,
.studioalmadolar-home-categories__dot:focus-visible {
    outline: 2px solid var(--studioalmadolar-link, #5d3c28);
    outline-offset: 3px;
}

.studioalmadolar-home-categories__viewport {
    overflow: hidden;
    touch-action: pan-y;
}

.studioalmadolar-home-categories__track {
    --category-slider-gap: clamp(0.75rem, 1.8vw, 1.5rem);
    display: flex;
    gap: var(--category-slider-gap);
    transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.studioalmadolar-home-categories__slide {
    min-width: 0;
    flex: 0 0 100%;
}

.studioalmadolar-home-categories__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    text-decoration: none;
}

.studioalmadolar-home-categories__card:hover,
.studioalmadolar-home-categories__card:focus-visible {
    transform: none;
}

.studioalmadolar-home-categories__card:focus-visible {
    outline: 2px solid var(--studioalmadolar-link, #5d3c28);
    outline-offset: 4px;
}

.studioalmadolar-home-categories__media {
    position: relative;
    display: block;
    width: clamp(8.5rem, 18vw, 14rem);
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 50%;
    background: var(--studioalmadolar-surface-muted, #d5d0cb);
}

.studioalmadolar-home-categories__media.is-placeholder {
    background: #d5d0cb;
}

.studioalmadolar-home-categories__placeholder {
    position: absolute;
    inset: 0;
    display: block;
    background: linear-gradient(145deg, #e2ded9 0%, #c8c1ba 100%);
}

.studioalmadolar-home-categories__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.studioalmadolar-home-categories__card:hover .studioalmadolar-home-categories__image,
.studioalmadolar-home-categories__card:focus-visible .studioalmadolar-home-categories__image {
    transform: scale(1.04);
}

.studioalmadolar-home-categories__shade {
    display: none;
}

.studioalmadolar-home-categories__card-footer {
    display: block;
    min-height: 0;
    padding: 0.65rem 0 0;
    text-align: center;
}

.studioalmadolar-home-categories__name {
    display: block;
    color: var(--studioalmadolar-ink, #2f2a26);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
}

.studioalmadolar-home-categories__link-icon {
    display: none;
}

.studioalmadolar-home-categories__dots {
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 1.25rem;
}

.studioalmadolar-home-categories__dot {
    width: 0.45rem;
    height: 0.45rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--studioalmadolar-line-strong, rgba(47, 42, 38, 0.35));
    cursor: pointer;
    opacity: 0.55;
    transition: background-color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.studioalmadolar-home-categories__dot.is-active {
    background: var(--studioalmadolar-accent, #2f2a26);
    opacity: 1;
    transform: scale(1.25);
}

@media (min-width: 783px) {
    .studioalmadolar-home-categories__slide {
        flex-basis: calc((100% - var(--category-slider-gap)) / 2);
    }
}

@media (min-width: 1101px) {
    .studioalmadolar-home-categories__slide {
        flex-basis: calc((100% - var(--category-slider-gap) - var(--category-slider-gap)) / 3);
    }
}

.studioalmadolar-home__text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1.75rem;
    color: var(--studioalmadolar-link, #5d3c28);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
}

.studioalmadolar-home__text-link span {
    font-size: 1.15em;
    transition: transform 180ms ease;
}

.studioalmadolar-home__text-link:hover span {
    transform: translate(3px, -3px);
}

.studioalmadolar-home__empty-state {
    margin: 2rem 0 0;
    color: var(--studioalmadolar-muted, #6e625a);
    font-size: 0.95rem;
}

.studioalmadolar-home__manifesto {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 2rem;
    box-sizing: border-box;
    padding: clamp(2rem, 5vw, 5rem);
    background: var(--studioalmadolar-paper, #faf8f5);
}

.studioalmadolar-home__manifesto-copy {
    max-width: 740px;
}

.studioalmadolar-home__manifesto h2 {
    max-width: 690px;
}

.studioalmadolar-home__manifesto .studioalmadolar-btn {
    margin-top: 2rem;
}

.studioalmadolar-home__manifesto-mark {
    color: var(--studioalmadolar-accent, #2f2a26);
    font-size: clamp(5rem, 15vw, 13rem);
    font-weight: 600;
    letter-spacing: -0.12em;
    line-height: 0.72;
    opacity: 0.12;
}

.studioalmadolar-home__benefits {
    padding: clamp(4.5rem, 9vw, 8rem) 0 clamp(5rem, 10vw, 9rem);
}

.studioalmadolar-home__section-heading--compact {
    max-width: 780px;
}

.studioalmadolar-home__benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin-top: clamp(2.5rem, 5vw, 4.5rem);
    border-top: 1px solid var(--studioalmadolar-line, rgba(47, 42, 38, 0.14));
    border-bottom: 1px solid var(--studioalmadolar-line, rgba(47, 42, 38, 0.14));
}

.studioalmadolar-home__benefit {
    min-height: 220px;
    padding: 2rem 1.5rem 2.25rem 0;
    border-right: 1px solid var(--studioalmadolar-line, rgba(47, 42, 38, 0.14));
}

.studioalmadolar-home__benefit:not(:first-child) {
    padding-left: 1.5rem;
}

.studioalmadolar-home__benefit:last-child {
    border-right: 0;
}

.studioalmadolar-home__benefit-number {
    display: block;
    margin-bottom: 2.5rem;
    color: var(--studioalmadolar-muted, #6e625a);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
}

.studioalmadolar-home__benefit h3 {
    margin: 0 0 0.55rem;
    font-size: 1.2rem;
}

.studioalmadolar-home__benefit p {
    max-width: 290px;
    margin: 0;
    color: var(--studioalmadolar-ink-soft, rgba(47, 42, 38, 0.68));
    line-height: 1.6;
}

@media (max-width: 782px) {
    .studioalmadolar-home__hero {
        padding: 4.5rem 1rem;
    }

    .studioalmadolar-home__hero h1 {
        font-size: clamp(2.4rem, 12vw, 4rem);
    }

    .studioalmadolar-home__explore,
    .studioalmadolar-home__manifesto,
    .studioalmadolar-home__benefits {
        width: calc(100% - 2rem);
    }

    .studioalmadolar-home__explore {
        padding-top: 4rem;
        padding-bottom: 3.5rem;
    }

    .studioalmadolar-home__manifesto {
        grid-template-columns: 1fr;
        padding: 2rem 1.25rem;
    }

    .studioalmadolar-home__manifesto-mark {
        display: none;
    }

    .studioalmadolar-home__benefits {
        padding-top: 4rem;
        padding-bottom: 5rem;
    }

    .studioalmadolar-home__benefits-grid {
        grid-template-columns: 1fr;
    }

    .studioalmadolar-home__benefit,
    .studioalmadolar-home__benefit:not(:first-child) {
        min-height: 0;
        padding: 1.5rem 0;
        border-right: 0;
        border-bottom: 1px solid var(--studioalmadolar-line, rgba(47, 42, 38, 0.14));
    }

    .studioalmadolar-home__benefit:last-child {
        border-bottom: 0;
    }

    .studioalmadolar-home__benefit-number {
        margin-bottom: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .studioalmadolar-home__text-link span,
    .studioalmadolar-home-categories__track,
    .studioalmadolar-home-categories__image,
    .studioalmadolar-home-categories__card,
    .studioalmadolar-home-categories__arrow,
    .studioalmadolar-home-categories__dot,
    .studioalmadolar-home-categories__link-icon {
        transition: none;
    }
}

.studioalmadolar-trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.studioalmadolar-trust-item {
    text-align: center;
    padding: 20px;
    border: 1px solid var(--studioalmadolar-accent-soft, #efe9e3);
    border-radius: 10px;
}

.studioalmadolar-rastreio-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: end;
    margin-bottom: 20px;
}

.studioalmadolar-rastreio-form label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.studioalmadolar-rastreio-erro {
    color: var(--studioalmadolar-danger, #a33);
}

.studioalmadolar-rastreio-resultado {
    border: 1px solid var(--studioalmadolar-accent-soft, #efe9e3);
    border-radius: 10px;
    padding: 20px;
}

.studioalmadolar-legal-page--mapa ul {
    columns: 2;
}

@media (max-width: 600px) {
    .studioalmadolar-legal-page--mapa ul {
        columns: 1;
    }
}


/* ==========================================================================
   Animalart home — renderer independente, ativado pelo template Animalart.
   O legado Studio permanece no mesmo arquivo para rollback seguro.
   ========================================================================== */
.animalart-home {
	--animalart-home-content: min(1440px, calc(100% - 48px));
	--animalart-home-gap: clamp(2.5rem, 6vw, 6rem);
	box-sizing: border-box;
	color: var(--animalart-ink, #171717);
	background: var(--animalart-paper, #fff);
	overflow: clip;
}

.animalart-home *,
.animalart-home *::before,
.animalart-home *::after {
	box-sizing: border-box;
}

.animalart-home__hero,
.animalart-home__products,
.animalart-home__height,
.animalart-home__benefits,
.animalart-home__cats,
.animalart-home__gallery {
	width: var(--animalart-home-content);
	margin-inline: auto;
}

.animalart-home__hero {
	display: grid;
	grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
	align-items: center;
	gap: clamp(2rem, 6vw, 6rem);
	min-height: min(640px, 72vw);
	padding-block: clamp(2.5rem, 7vw, 6rem);
}

.animalart-home__hero-copy {
	max-width: 34rem;
}

.animalart-home__eyebrow {
	margin: 0 0 0.9rem;
	color: var(--animalart-muted, #666);
	font-size: clamp(0.72rem, 1.1vw, 0.9rem);
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1.3;
	text-transform: uppercase;
}

.animalart-home h1,
.animalart-home h2,
.animalart-home h3 {
	color: var(--animalart-ink, #171717);
	font-family: var(--animalart-font-display, Arial, sans-serif);
	font-weight: 700;
}

.animalart-home h1 {
	max-width: 12ch;
	margin: 0;
	font-size: clamp(2rem, 5vw, 4.4rem);
	line-height: 0.98;
	letter-spacing: -0.04em;
}

.animalart-home h2 {
	margin: 0;
	font-size: clamp(1.7rem, 3.8vw, 3.1rem);
	line-height: 1;
	letter-spacing: -0.035em;
	text-transform: uppercase;
}

.animalart-home h3 {
	margin: 0;
	font-size: clamp(1.1rem, 2vw, 1.45rem);
	line-height: 1.1;
	text-transform: uppercase;
}

.animalart-home p {
	line-height: 1.65;
}

.animalart-home__hero-copy > p:not(.animalart-home__eyebrow) {
	max-width: 31rem;
	margin: 1.5rem 0 0;
	font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.animalart-home__hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 2rem;
}

.animalart-home__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0.8rem 1.25rem;
	border: 2px solid transparent;
	border-radius: var(--animalart-radius-sm, 4px);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.animalart-home__button:hover {
	transform: translateY(-1px);
}

.animalart-home__button--primary {
	color: var(--animalart-ink, #171717);
	background: var(--animalart-yellow, #ffcd00);
	border-color: var(--animalart-yellow, #ffcd00);
}

.animalart-home__button--primary:hover,
.animalart-home__button--primary:focus-visible {
	color: var(--animalart-ink, #171717);
	background: #f1bf00;
}

.animalart-home__button--outline {
	color: var(--animalart-ink, #171717);
	background: transparent;
	border-color: var(--animalart-ink, #171717);
}

.animalart-home__button--outline:hover,
.animalart-home__button--outline:focus-visible {
	color: var(--animalart-paper, #fff);
	background: var(--animalart-ink, #171717);
}

.animalart-home__button:focus-visible,
.animalart-home a:focus-visible {
	outline: 3px solid var(--animalart-yellow, #ffcd00);
	outline-offset: 3px;
}

.animalart-home__hero-media {
	position: relative;
	min-width: 0;
}

.animalart-home__hero-image {
	display: block;
	width: min(100%, 640px);
	margin-inline: auto;
	border-radius: 50%;
	background: var(--animalart-surface-muted, #f7f7f7);
}

.animalart-home__hero-seal {
	position: absolute;
	top: 6%;
	left: 3%;
	z-index: 2;
	width: clamp(72px, 13vw, 150px);
	height: auto;
}

.animalart-home__section-heading {
	max-width: 44rem;
	margin-bottom: 2rem;
	text-align: center;
}

.animalart-home__section-heading .animalart-home__eyebrow {
	margin-bottom: 0.5rem;
}

.animalart-home__products,
.animalart-home__benefits,
.animalart-home__gallery {
	padding-block: var(--animalart-home-gap);
}

.animalart-home__product-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1rem, 3vw, 2rem);
}

.animalart-home-product-card {
	min-width: 0;
	text-align: center;
}

.animalart-home-product-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.animalart-home-product-card__media {
	display: grid;
	place-items: center;
	aspect-ratio: 1;
	padding: clamp(1rem, 3vw, 2rem);
	border-radius: 50%;
	background: var(--animalart-surface-muted, #f7f7f7);
}

.animalart-home-product-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.animalart-home-product-card__copy {
	display: grid;
	gap: 0.5rem;
	justify-items: center;
	padding: 1rem 0.5rem 0;
}

.animalart-home-product-card__eyebrow {
	color: var(--animalart-muted, #666);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.animalart-home-product-card__title {
	font-size: clamp(1rem, 1.8vw, 1.35rem);
	line-height: 1.1;
	text-transform: uppercase;
}

.animalart-home-product-card__description {
	max-width: 24rem;
	color: var(--animalart-muted, #666);
	font-size: 0.92rem;
	line-height: 1.5;
}

.animalart-home-product-card__cta {
	margin-top: 0.25rem;
	padding: 0.6rem 1rem;
	color: var(--animalart-ink, #171717);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	background: var(--animalart-yellow, #ffcd00);
	border-radius: var(--animalart-radius-sm, 4px);
}

.animalart-home__height,
.animalart-home__cats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: center;
	gap: clamp(2rem, 7vw, 7rem);
	padding-block: var(--animalart-home-gap);
}

.animalart-home__height-copy,
.animalart-home__cats-copy {
	max-width: 34rem;
}

.animalart-home__height-copy > p:not(.animalart-home__eyebrow),
.animalart-home__cats-copy > p:not(.animalart-home__eyebrow) {
	margin: 1.25rem 0 1.5rem;
	color: var(--animalart-muted, #555);
}

.animalart-home__height-media {
	padding: clamp(1rem, 4vw, 3rem);
	background: var(--animalart-surface-muted, #f7f7f7);
	border-radius: 50%;
}

.animalart-home__height-media img {
	display: block;
	width: 100%;
}

.animalart-home__benefit-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
}

.animalart-home__benefit {
	padding: 1.5rem;
	text-align: center;
	border: 1px solid var(--animalart-line, #e5e5e5);
	border-radius: var(--animalart-radius-md, 8px);
}

.animalart-home__benefit img {
	display: block;
	width: min(100%, 150px);
	height: 150px;
	margin: 0 auto 1rem;
	object-fit: contain;
}

.animalart-home__benefit p {
	margin: 0.75rem 0 0;
	color: var(--animalart-muted, #555);
}

.animalart-home__cats {
	padding-inline: clamp(1.25rem, 4vw, 4rem);
	background: var(--animalart-yellow-soft, #fff9d6);
}

.animalart-home__cats-media {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: end;
	gap: 1rem;
}

.animalart-home__cats-media img:first-child {
	border-radius: 50%;
}

.animalart-home__cats-media img:last-child {
	align-self: center;
}

.animalart-home__gallery-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 0.5rem;
}

.animalart-home__gallery-grid img {
	display: block;
	width: 100%;
	aspect-ratio: 0.72;
	object-fit: cover;
}

@media (max-width: 782px) {
	.animalart-home {
		--animalart-home-content: min(100% - 24px, 540px);
	}

	.animalart-home__hero {
		grid-template-columns: 1fr;
		gap: 2rem;
		min-height: 0;
		padding-top: 2.25rem;
		text-align: center;
	}

	.animalart-home__hero-copy {
		max-width: none;
	}

	.animalart-home h1 {
		max-width: 18ch;
		margin-inline: auto;
		font-size: clamp(2rem, 10vw, 3.1rem);
	}

	.animalart-home__hero-copy > p:not(.animalart-home__eyebrow) {
		max-width: 32rem;
		margin-inline: auto;
	}

	.animalart-home__hero-actions {
		justify-content: center;
	}

	.animalart-home__hero-media {
		order: -1;
	}

	.animalart-home__hero-seal {
		top: 5%;
		left: 4%;
	}

	.animalart-home__section-heading {
		margin-inline: auto;
	}

	.animalart-home__product-grid,
	.animalart-home__benefit-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.animalart-home__height,
	.animalart-home__cats {
		grid-template-columns: 1fr;
		gap: 1.5rem;
		padding-inline: 1rem;
	}

	.animalart-home__cats-copy {
		order: -1;
	}

	.animalart-home__gallery-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 420px) {
	.animalart-home {
		--animalart-home-content: calc(100% - 20px);
	}

	.animalart-home__hero-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.animalart-home__button {
		width: 100%;
	}

	.animalart-home__cats-media {
		gap: 0.4rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.animalart-home__button,
	.animalart-home-product-card__cta {
		transition: none;
	}
}


/* ==========================================================================
   Animalart height calculator — independent SafeWidget layer.
   ========================================================================== */
.animalart-height-calculator {
	width: min(1440px, calc(100% - 48px));
	margin: 0 auto;
	padding: clamp(2rem, 6vw, 5rem) 0;
	color: var(--animalart-ink, #171717);
}

.animalart-height-calculator__header {
	max-width: 760px;
	margin: 0 auto clamp(2rem, 5vw, 4rem);
	text-align: center;
}

.animalart-height-calculator__eyebrow {
	margin: 0 0 0.75rem;
	color: var(--animalart-muted, #666);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.animalart-height-calculator h1,
.animalart-height-calculator h2 {
	margin: 0;
	color: var(--animalart-ink, #171717);
	font-family: var(--animalart-font-display, Arial, sans-serif);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.04em;
	text-transform: uppercase;
}

.animalart-height-calculator h1 {
	font-size: clamp(2rem, 5vw, 4.5rem);
}

.animalart-height-calculator h2 {
	font-size: clamp(1.5rem, 3vw, 2.8rem);
}

.animalart-height-calculator__header > p:last-child {
	max-width: 620px;
	margin: 1.25rem auto 0;
	color: var(--animalart-muted, #555);
	line-height: 1.65;
}

.animalart-height-calculator__education {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(1.5rem, 6vw, 5rem);
	margin-bottom: clamp(2rem, 6vw, 5rem);
	padding: clamp(1.25rem, 4vw, 3rem);
	background: var(--animalart-yellow-soft, #fff9d6);
}

.animalart-height-calculator__education p {
	color: var(--animalart-muted, #555);
	line-height: 1.65;
}

.animalart-height-calculator__education-media img {
	display: block;
	width: 100%;
	height: auto;
}

.animalart-height-calculator__form {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin-bottom: clamp(2rem, 5vw, 4rem);
}

.animalart-height-calculator__fieldset {
	min-width: 0;
	margin: 0;
	padding: 1.25rem;
	border: 1px solid var(--animalart-line, #e5e5e5);
	border-radius: var(--animalart-radius-md, 8px);
}

.animalart-height-calculator__fieldset legend {
	padding-inline: 0.35rem;
	color: var(--animalart-ink, #171717);
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
}

.animalart-height-calculator__fieldset label {
	display: block;
	margin: 0.75rem 0 0.4rem;
	color: var(--animalart-muted, #555);
	font-size: 0.85rem;
	font-weight: 600;
}

.animalart-height-calculator__fieldset select,
.animalart-height-calculator__fieldset input {
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
	padding: 0.7rem 0.8rem;
	color: var(--animalart-ink, #171717);
	font: inherit;
	background: var(--animalart-paper, #fff);
	border: 1px solid var(--animalart-line, #cfcfcf);
	border-radius: var(--animalart-radius-sm, 4px);
}

.animalart-height-calculator__fieldset :is(select, input):focus-visible,
.animalart-height-calculator__submit:focus-visible,
.animalart-height-calculator__result-card:focus-visible {
	outline: 3px solid var(--animalart-yellow, #ffcd00);
	outline-offset: 3px;
}

.animalart-height-calculator__measurement-row {
	display: flex;
	gap: 0.5rem;
	align-items: stretch;
}

.animalart-height-calculator__measurement-row input {
	min-width: 0;
}

.animalart-height-calculator__submit {
	min-width: 112px;
	min-height: 48px;
	padding: 0.7rem 1rem;
	color: var(--animalart-ink, #171717);
	font: inherit;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	background: var(--animalart-yellow, #ffcd00);
	border: 2px solid var(--animalart-yellow, #ffcd00);
	border-radius: var(--animalart-radius-sm, 4px);
	cursor: pointer;
}

.animalart-height-calculator__submit:hover {
	background: #f1bf00;
}

.animalart-height-calculator__hint,
.animalart-height-calculator__disclaimer {
	margin: 0.75rem 0 0;
	color: var(--animalart-muted, #666);
	font-size: 0.8rem;
	line-height: 1.5;
}

.animalart-height-calculator__results {
	padding: clamp(1.25rem, 4vw, 3rem);
	background: var(--animalart-surface-muted, #f7f7f7);
}

.animalart-height-calculator__results h2 {
	margin-bottom: 1rem;
}

.animalart-height-calculator__results-placeholder {
	color: var(--animalart-muted, #666);
}

.animalart-height-calculator__results-placeholder[hidden] {
	display: none;
}

.animalart-height-calculator__results-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 1rem;
}

.animalart-height-calculator__result-card {
	display: grid;
	gap: 0.5rem;
	justify-items: center;
	padding: 0.75rem;
	color: var(--animalart-ink, #171717);
	text-align: center;
	text-decoration: none;
	background: var(--animalart-paper, #fff);
	border: 1px solid var(--animalart-line, #e5e5e5);
	border-radius: var(--animalart-radius-sm, 4px);
}

.animalart-height-calculator__result-card:hover {
	border-color: var(--animalart-yellow, #ffcd00);
}

.animalart-height-calculator__result-card img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: contain;
}

.animalart-height-calculator__result-card strong {
	font-size: 0.8rem;
	line-height: 1.2;
	text-transform: uppercase;
}

.animalart-height-calculator__result-note,
.animalart-height-calculator__result-message {
	grid-column: 1 / -1;
	margin: 1rem 0 0;
	color: var(--animalart-muted, #555);
	line-height: 1.5;
}

.animalart-height-calculator__result-message.is-error {
	color: #8b1e1e;
	font-weight: 600;
}

@media (max-width: 782px) {
	.animalart-height-calculator {
		width: calc(100% - 24px);
	}

	.animalart-height-calculator__education,
	.animalart-height-calculator__form {
		grid-template-columns: 1fr;
	}

	.animalart-height-calculator__education-media {
		order: -1;
	}

	.animalart-height-calculator__measurement-row {
		flex-direction: column;
	}

	.animalart-height-calculator__submit {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.animalart-height-calculator__result-card {
		transition: none;
	}
}
