.home-products .animal-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 3px 0 12px; margin-bottom: 6px; }
.home-products .animal-tabs button { flex: 0 0 auto; font: inherit; font-size: 13px; cursor: pointer; }
.home-products [hidden] { display: none !important; }
.home-products [role="tab"]:focus-visible, .home-products [role="tabpanel"]:focus-visible { outline: 2px solid #4F171B; outline-offset: 2px; }
.home-products .dz-card { height: 100%; border: 1px solid #4F171B; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: none; }
.home-products .dz-card .dz-media { border-bottom: 1px solid #4F171B; border-radius: 0; margin: 0; }
.home-products .dz-card .dz-content { padding: 9px 10px 10px; background: #fff; }
.home-products .product-price-row { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 7px; row-gap: 2px; font-size: 12px; line-height: 1.5; }
.home-products .product-price-row .dz-price { font-size: inherit; font-weight: 400; color: #4F171B; }
.home-products .product-delivery { color: #008a38; white-space: nowrap; }
.home-products .dz-media img { width: 100%; aspect-ratio: 245 / 210; height: auto; object-fit: contain; background: #fff; }
.home-products .title { overflow-wrap: anywhere; }
.home-products .dz-card .title { max-width: none; font-size: 13px; line-height: 1.5; font-weight: 400; color: #4F171B; margin: 0 0 4px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.home-products .product-image-empty { aspect-ratio: 245 / 210; display: grid; place-items: center; padding: 12px; background: #ccc; color: #666; font-size: 12px; }
.home-products .animal-products-empty { margin: 0; padding: 28px 16px; color: #715b5d; text-align: center; }

/* Center the section heading and tab group without clipping narrow screens. */
.home-products > .title-bar { justify-content: center; text-align: center; }
.home-products > .title-bar .title { width: 100%; text-align: center; }
.home-products .animal-tabs > button:first-child { margin-left: auto; }
.home-products .animal-tabs > button:last-child { margin-right: auto; }
.home-products .home-wishlist-button { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: #4F171B; cursor: pointer; }
.home-wishlist-button svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.home-wishlist-button[aria-pressed="true"] svg { fill: currentColor; }
.home-products .home-cart-button { position: absolute; right: 0; bottom: 0; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 10px 0 0 0; background: #4F171B; color: #fff; font-size: 17px; cursor: pointer; }
.home-products .home-cart-button:hover { background: #381014; }
.home-products .dz-card:has(.home-cart-button) .product-price-row { padding-right: 32px; min-height: 26px; }

/* Show catalog names on up to three lines and anchor prices below them. */
.home-products .dz-card { display: flex; flex-direction: column; }
.home-products .dz-card .dz-content { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.home-products .dz-card .title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; white-space: normal; overflow: hidden; min-height: 58.5px; max-height: 58.5px; margin-bottom: 8px; }
.home-products .product-price-row { flex-direction: column; align-items: flex-start; flex-wrap: nowrap; margin-top: auto; }
.home-products .product-price-row .product-delivery { display: none; }
.home-products .product-price-row .dz-price { font-size: 16px; font-weight: 700; line-height: 1.4; text-align: left; }
