:root {
    --ink: #0f2a43;
    --ink-soft: #40566d;
    --muted: #728397;
    --paper: #fffaf3;
    --surface: #ffffff;
    --line: #e7edf1;
    --teal: #11a8a4;
    --teal-dark: #087f7c;
    --coral: #ff5d67;
    --coral-dark: #e74854;
    --yellow: #ffc857;
    --green: #66b86b;
    --blue-soft: #dff5ff;
    --green-soft: #e8f8dc;
    --coral-soft: #fff0ed;
    --dog-soft: #fff2df;
    --cat-soft: #f5efff;
    --shadow: 0 14px 34px rgba(15, 42, 67, 0.08);
    --radius-lg: 26px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --bottom-nav-height: 78px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--paper);
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 9% 9%, rgba(255, 200, 87, 0.08), transparent 20rem),
        linear-gradient(180deg, #fffdf9 0%, #f8fbfc 45%, #fffdf9 100%);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    padding-bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom));
}

button,
input {
    font: inherit;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

.shell {
    width: min(100% - 24px, 1120px);
    margin-inline: auto;
}

.site-header {
    position: sticky;
    z-index: 40;
    top: 0;
    border-bottom: 1px solid rgba(231, 237, 241, 0.72);
    background: rgba(255, 253, 249, 0.92);
    backdrop-filter: blur(16px);
}

.header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.brand {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
}

.brand-animals {
    width: 52px;
    height: 42px;
    position: relative;
    flex: 0 0 auto;
}

.brand-animals span {
    position: absolute;
    top: 2px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #fff4e8;
    box-shadow: 0 5px 12px rgba(15, 42, 67, 0.08);
    font-size: 21px;
}

.brand-animals span:first-child {
    left: 0;
}

.brand-animals span:last-child {
    right: 0;
    top: 7px;
    background: #f6efff;
}

.brand-copy {
    min-width: 0;
    display: grid;
    grid-template-columns: auto auto;
    align-items: baseline;
    column-gap: 4px;
    line-height: 1;
}

.brand-copy .brand-kicker,
.brand-copy strong {
    font-family: "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
    font-size: 1.16rem;
    font-weight: 900;
    letter-spacing: -0.045em;
}

.brand-copy .brand-kicker {
    color: var(--teal-dark);
}

.brand-copy strong {
    color: var(--coral);
}

.brand-copy small {
    grid-column: 1 / -1;
    overflow: hidden;
    max-width: 170px;
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.62rem;
    font-weight: 650;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-button {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #f1f6f8;
    color: var(--ink);
    cursor: pointer;
    text-decoration: none;
}

.icon-button svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.lab-pill {
    padding: 6px 8px;
    border-radius: 9px;
    background: #152a3d;
    color: white;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.main-content {
    padding-top: 18px;
}

.hero-banner {
    position: relative;
    min-height: 186px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 110px;
    align-items: center;
    gap: 8px;
    padding: 24px 20px;
    border: 1px solid rgba(17, 168, 164, 0.1);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(120deg, rgba(226, 249, 247, 0.98), rgba(255, 250, 226, 0.96));
    box-shadow: 0 12px 30px rgba(15, 42, 67, 0.06);
}

.hero-banner::after {
    content: "";
    position: absolute;
    right: -50px;
    bottom: -85px;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.48);
}

.lab-hero {
    background: linear-gradient(120deg, #edf8ff, #fff6e6);
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.hero-eyebrow,
.section-kicker {
    display: block;
    color: var(--teal-dark);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-copy h1 {
    margin: 7px 0 8px;
    font-family: "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
    font-size: clamp(2rem, 9vw, 3.75rem);
    line-height: 0.94;
    letter-spacing: -0.06em;
}

.hero-copy h1 span {
    color: var(--teal-dark);
}

.hero-copy p {
    max-width: 520px;
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.85rem;
    font-weight: 580;
    line-height: 1.45;
}

.hero-status {
    margin-top: 13px;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
}

.live-dot {
    width: 7px;
    height: 7px;
    display: inline-block;
    margin-right: 5px;
    border-radius: 50%;
    background: #5fbe72;
    box-shadow: 0 0 0 4px rgba(95, 190, 114, 0.13);
}

.hero-art {
    position: relative;
    z-index: 1;
    align-self: stretch;
}

.hero-pet-pair {
    position: absolute;
    right: 2px;
    bottom: 16px;
    display: flex;
    align-items: end;
    font-size: 40px;
    filter: drop-shadow(0 6px 5px rgba(15, 42, 67, 0.09));
}

.hero-pet-pair span:last-child {
    margin-left: -11px;
    transform: translateY(6px) scale(0.9);
}

.hero-paw {
    position: absolute;
    color: rgba(17, 168, 164, 0.18);
    font-size: 22px;
}

.paw-one {
    top: 20px;
    right: 0;
    transform: rotate(18deg);
}

.paw-two {
    right: 70px;
    bottom: 8px;
    color: rgba(255, 93, 103, 0.14);
    transform: rotate(-24deg);
}

.hero-orbit {
    position: absolute;
    border: 1px solid rgba(17, 168, 164, 0.16);
    border-radius: 50%;
}

.orbit-one {
    width: 68px;
    height: 68px;
    top: 20px;
    right: 22px;
}

.orbit-two {
    width: 100px;
    height: 100px;
    right: -18px;
    bottom: 0;
    border-color: rgba(255, 200, 87, 0.22);
}

.quick-filters {
    overflow-x: auto;
    display: flex;
    gap: 9px;
    margin: 16px -12px 0;
    padding: 2px 12px 7px;
    scrollbar-width: none;
}

.quick-filters::-webkit-scrollbar {
    display: none;
}

.filter-chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid #e8eef1;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 5px 15px rgba(15, 42, 67, 0.04);
    color: var(--ink-soft);
    font-size: 0.84rem;
    font-weight: 760;
    text-decoration: none;
    white-space: nowrap;
}

.filter-chip.active {
    border-color: transparent;
    background: var(--teal);
    color: #fff;
    box-shadow: 0 8px 20px rgba(17, 168, 164, 0.22);
}

.feed-section {
    padding: 22px 0 32px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 13px;
}

.section-heading h2,
.page-intro h1 {
    margin: 3px 0 0;
    font-family: "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
    font-size: 1.72rem;
    letter-spacing: -0.045em;
}

.section-count {
    min-width: 34px;
    height: 30px;
    display: grid;
    place-items: center;
    padding-inline: 9px;
    border-radius: 999px;
    background: #eef6f7;
    color: var(--teal-dark);
    font-size: 0.76rem;
    font-weight: 900;
}

.offer-feed {
    display: grid;
    gap: 13px;
}

.offer-card {
    position: relative;
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px;
    overflow: hidden;
    padding: 13px;
    border: 1px solid rgba(224, 233, 238, 0.9);
    border-radius: 23px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
}

.product-visual {
    position: relative;
    min-height: 148px;
    align-self: stretch;
    overflow: hidden;
    display: grid;
    place-items: center;
    border-radius: 17px;
    background: linear-gradient(145deg, #faf7f2, #f3f7f8);
}

.animal-dog .product-visual {
    background: linear-gradient(145deg, #fff8ee, #fff1dc);
}

.animal-cat .product-visual {
    background: linear-gradient(145deg, #fbf8ff, #f3ecff);
}

.product-visual img {
    width: 100%;
    height: 100%;
    min-height: 148px;
    display: block;
    padding: 8px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.product-placeholder {
    min-height: 148px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 5px;
    color: var(--muted);
}

.product-placeholder span {
    font-size: 48px;
}

.product-placeholder small {
    font-size: 0.65rem;
    font-weight: 750;
}

.animal-corner {
    position: absolute;
    right: 7px;
    bottom: 7px;
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border: 2px solid white;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 5px 10px rgba(15, 42, 67, 0.12);
    font-size: 17px;
}

.offer-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.offer-topline {
    min-height: 30px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding-right: 33px;
}

.animal-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 26px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #f5f7f8;
    color: var(--ink-soft);
    font-size: 0.69rem;
    font-weight: 850;
}

.animal-dog .animal-chip {
    background: var(--dog-soft);
}

.animal-cat .animal-chip {
    background: var(--cat-soft);
}

.subcategory-label {
    overflow: hidden;
    color: var(--muted);
    font-size: 0.67rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.favorite-button {
    position: absolute;
    top: 13px;
    right: 13px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #446078;
    cursor: pointer;
}

.favorite-button svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    transition: transform 160ms ease, fill 160ms ease, color 160ms ease;
}

.favorite-button.is-favorite {
    color: var(--coral);
}

.favorite-button.is-favorite svg {
    fill: currentColor;
    transform: scale(1.06);
}

.offer-card h3 {
    margin: 8px 0 7px;
    color: var(--ink);
    font-size: 0.98rem;
    font-weight: 880;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.price-area {
    margin-top: 1px;
}

.price-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 9px;
}

.price-line strong {
    color: var(--coral);
    font-size: 1.55rem;
    line-height: 1;
    letter-spacing: -0.055em;
}

.price-line del {
    color: #8392a2;
    font-size: 0.72rem;
}

.best-store {
    margin-top: 4px;
    color: #238146;
    font-size: 0.8rem;
    font-weight: 900;
}

.price-pending {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 750;
}

.other-prices {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.68rem;
}

.other-prices strong {
    color: var(--ink-soft);
    font-weight: 800;
}

.card-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}

.signal-badge,
.discount-pill {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 0.66rem;
    font-weight: 850;
}

.signal-badge {
    background: #edf3f4;
    color: #516575;
}

.signal-badge.best {
    background: var(--green-soft);
    color: #347a33;
}

.signal-badge.verified {
    background: var(--blue-soft);
    color: #1a77a0;
}

.signal-badge.merchant {
    background: #fff2cc;
    color: #8a6614;
}

.signal-badge.pending {
    background: #f2f3f4;
    color: #7b858d;
}

.discount-pill {
    background: var(--coral);
    color: white;
}

.offer-cta {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: auto;
    padding: 10px 13px;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--coral), #ff6e5c);
    box-shadow: 0 9px 18px rgba(255, 93, 103, 0.2);
    color: white;
    font-size: 0.82rem;
    font-weight: 900;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.offer-cta:active {
    transform: scale(0.985);
}

.offer-cta.disabled {
    background: #edf0f2;
    box-shadow: none;
    color: #8b959e;
}

.card-time {
    margin-top: 5px;
    color: #9aa5ae;
    font-size: 0.58rem;
    text-align: center;
}

.lab-source-details {
    margin-top: 8px;
    border-top: 1px solid #edf1f3;
    padding-top: 7px;
}

.lab-source-details summary {
    color: var(--muted);
    font-size: 0.65rem;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.lab-source-details summary::-webkit-details-marker {
    display: none;
}

.lab-source-details summary::after {
    content: " +";
    color: var(--teal);
}

.lab-source-details[open] summary::after {
    content: " −";
}

.lab-source-list {
    display: grid;
    gap: 5px;
    margin-top: 7px;
}

.lab-source-row {
    display: grid;
    grid-template-columns: 8px auto 1fr auto;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 0.61rem;
}

.lab-source-row strong {
    color: var(--ink-soft);
    font-size: 0.65rem;
}

.source-result {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.source-price {
    color: var(--ink-soft);
    font-weight: 800;
}

.source-price.muted {
    color: #9ba6ae;
    font-weight: 650;
}

.source-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #adb7bd;
}

.source-dot.found { background: #58b56a; }
.source-dot.error { background: #e46767; }
.source-dot.deferred { background: #eab64f; }
.source-dot.variant_mismatch { background: #aa7bd6; }
.source-dot.not_found { background: #80909d; }

.lab-note {
    margin-bottom: 13px;
    padding: 12px 14px;
    border: 1px solid #d7e8f2;
    border-radius: 16px;
    background: #f1f9ff;
    color: #4b677d;
    font-size: 0.75rem;
    line-height: 1.45;
}

.lab-note strong {
    margin-right: 6px;
    color: var(--ink);
    letter-spacing: 0.08em;
}

.empty-state {
    padding: 42px 24px;
    border: 1px dashed #cfdce2;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.empty-state h2 {
    margin: 10px 0 6px;
    font-size: 1.2rem;
}

.empty-state p {
    max-width: 520px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.55;
}

.empty-pets {
    font-size: 40px;
}

.empty-pets span {
    margin-left: -6px;
}

.empty-note {
    display: inline-block;
    margin-top: 14px;
    color: var(--teal-dark);
    font-size: 0.78rem;
    font-weight: 850;
}

.simple-page {
    padding-top: 30px;
}

.page-intro {
    padding: 8px 2px 22px;
}

.page-intro h1 {
    font-size: 2.1rem;
}

.page-intro p {
    max-width: 650px;
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.55;
}

.animal-category-list {
    display: grid;
    gap: 12px;
    padding-bottom: 28px;
}

.animal-category-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 9px 24px rgba(15, 42, 67, 0.05);
}

.animal-category-head {
    display: grid;
    grid-template-columns: 48px 1fr 30px;
    align-items: center;
    gap: 10px;
    padding: 15px;
    text-decoration: none;
}

.animal-category-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: #f3f6f7;
    font-size: 28px;
}

.animal-dog .animal-category-icon {
    background: var(--dog-soft);
}

.animal-cat .animal-category-icon {
    background: var(--cat-soft);
}

.animal-category-head strong {
    display: block;
    font-size: 1rem;
}

.animal-category-head small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.69rem;
}

.category-arrow {
    color: var(--teal);
    font-size: 1.3rem;
    font-weight: 900;
}

.category-links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 0 15px 15px;
}

.category-links a {
    padding: 7px 10px;
    border-radius: 999px;
    background: #f5f8f9;
    color: var(--ink-soft);
    font-size: 0.72rem;
    font-weight: 740;
    text-decoration: none;
}

.search-page-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    margin-top: 18px;
}

.search-page-form input,
.search-input-wrap input {
    min-width: 0;
    border: 1px solid #dce6eb;
    outline: none;
    background: #fff;
    color: var(--ink);
}

.search-page-form input {
    min-height: 48px;
    padding: 0 14px;
    border-radius: 14px;
}

.search-page-form button,
.search-submit,
.secondary-button {
    min-height: 46px;
    border: 0;
    border-radius: 13px;
    background: var(--teal);
    color: white;
    font-weight: 850;
    cursor: pointer;
}

.search-page-form button {
    padding-inline: 18px;
}

.search-results {
    padding-top: 0;
}

.favorites-grid {
    display: grid;
    gap: 13px;
    padding-bottom: 26px;
}

.favorite-snapshot {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: white;
    box-shadow: 0 10px 28px rgba(15, 42, 67, 0.06);
}

.favorite-snapshot-image {
    min-height: 110px;
    overflow: hidden;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: #f6f7f7;
}

.favorite-snapshot-image img {
    width: 100%;
    height: 110px;
    padding: 6px;
    object-fit: contain;
}

.favorite-snapshot-image span {
    font-size: 38px;
}

.favorite-snapshot h3 {
    margin: 5px 0;
    font-size: 0.92rem;
    line-height: 1.25;
}

.favorite-meta {
    color: var(--muted);
    font-size: 0.68rem;
}

.favorite-price {
    margin-top: 6px;
    color: var(--coral);
    font-size: 1.2rem;
    font-weight: 900;
}

.favorite-actions {
    display: flex;
    gap: 7px;
    margin-top: 10px;
}

.favorite-actions a,
.favorite-actions button {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 11px;
    border: 0;
    border-radius: 11px;
    font-size: 0.7rem;
    font-weight: 850;
    text-decoration: none;
    cursor: pointer;
}

.favorite-actions a {
    background: var(--coral);
    color: white;
}

.favorite-actions button {
    background: #f1f4f5;
    color: var(--ink-soft);
}

.favorite-affiliate-note {
    margin-top: 6px;
    color: #657789;
    font-size: 0.64rem;
    font-weight: 760;
    line-height: 1.35;
}

.big-heart {
    color: var(--coral);
    font-size: 60px;
    line-height: 1;
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    padding: 0 16px;
    text-decoration: none;
}

.bottom-nav {
    position: fixed;
    z-index: 60;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 7px 8px env(safe-area-inset-bottom);
    border-top: 1px solid rgba(222, 231, 236, 0.95);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -8px 28px rgba(15, 42, 67, 0.08);
    backdrop-filter: blur(18px);
}

.bottom-link {
    position: relative;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 3px;
    color: #5d7488;
    font-size: 0.68rem;
    font-weight: 750;
    text-decoration: none;
}

.bottom-link svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.bottom-link.active {
    color: var(--teal);
}

.bottom-link.active svg {
    fill: rgba(17, 168, 164, 0.11);
    stroke-width: 2.2;
}

.favorite-count {
    position: absolute;
    top: 1px;
    left: calc(50% + 10px);
    min-width: 17px;
    height: 17px;
    display: grid;
    place-items: center;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--coral);
    color: white;
    font-size: 0.55rem;
    font-weight: 900;
}

.search-dialog {
    width: min(calc(100% - 22px), 520px);
    padding: 0;
    border: 0;
    border-radius: 24px;
    background: transparent;
}

.search-dialog::backdrop {
    background: rgba(12, 31, 48, 0.38);
    backdrop-filter: blur(7px);
}

.search-panel {
    padding: 18px;
    border-radius: 24px;
    background: white;
    box-shadow: 0 25px 80px rgba(8, 28, 45, 0.22);
}

.search-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.search-panel-head label {
    font-size: 1.1rem;
    font-weight: 900;
}

.dialog-close {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #f2f5f6;
    color: var(--ink);
    font-size: 1.3rem;
    cursor: pointer;
}

.search-input-wrap {
    display: grid;
    grid-template-columns: 22px 1fr;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    padding: 0 12px;
    border: 1px solid #dce6eb;
    border-radius: 14px;
}

.search-input-wrap svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: var(--muted);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.search-input-wrap input {
    min-height: 46px;
    border: 0;
}

.search-submit {
    width: 100%;
    margin-top: 10px;
}

.search-panel p {
    margin: 10px 2px 0;
    color: var(--muted);
    font-size: 0.69rem;
    line-height: 1.4;
}

.pet-flight-layer {
    position: fixed;
    z-index: 999;
    inset: 0;
    pointer-events: none;
}

.flying-pet {
    position: fixed;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border: 3px solid white;
    border-radius: 50%;
    background: #fff4e7;
    box-shadow: 0 12px 28px rgba(15, 42, 67, 0.18);
    font-size: 31px;
    animation: pet-rise 520ms cubic-bezier(0.15, 0.75, 0.3, 1) forwards;
}

@keyframes pet-rise {
    0% {
        opacity: 0;
        transform: translate(-50%, 12px) scale(0.72) rotate(-5deg);
    }
    25% {
        opacity: 1;
    }
    70% {
        opacity: 1;
        transform: translate(-50%, -55px) scale(1.08) rotate(5deg);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -105px) scale(1.18) rotate(0deg);
    }
}

@media (min-width: 560px) {
    .shell {
        width: min(100% - 36px, 1120px);
    }

    .offer-card {
        grid-template-columns: 145px minmax(0, 1fr);
        padding: 15px;
    }

    .product-visual,
    .product-visual img,
    .product-placeholder {
        min-height: 180px;
    }

    .offer-card h3 {
        font-size: 1.08rem;
    }

    .price-line strong {
        font-size: 1.75rem;
    }
}

@media (min-width: 760px) {
    body {
        padding-bottom: 28px;
    }

    .header-inner {
        min-height: 80px;
    }

    .brand-copy .brand-kicker,
    .brand-copy strong {
        font-size: 1.35rem;
    }

    .hero-banner {
        min-height: 220px;
        grid-template-columns: 1fr 210px;
        padding: 32px 36px;
    }

    .hero-pet-pair {
        right: 38px;
        bottom: 28px;
        font-size: 66px;
    }

    .offer-feed,
    .favorites-grid,
    .animal-category-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bottom-nav {
        position: static;
        width: min(100% - 36px, 720px);
        height: 64px;
        margin: 16px auto 26px;
        padding: 0;
        border: 1px solid var(--line);
        border-radius: 22px;
        box-shadow: 0 10px 28px rgba(15, 42, 67, 0.06);
    }
}

@media (min-width: 1180px) {
    .offer-feed {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (max-width: 370px) {
    .brand-copy small {
        display: none;
    }

    .brand-animals {
        width: 46px;
    }

    .offer-card {
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 10px;
        padding: 10px;
    }

    .product-visual,
    .product-visual img,
    .product-placeholder {
        min-height: 137px;
    }

    .price-line strong {
        font-size: 1.38rem;
    }

    .offer-cta {
        min-height: 39px;
        padding-block: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* ==========================================================
   MOCKUP-EXACT V2
   Uses the approved graphic assets directly.
   ========================================================== */

.site-header {
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid #edf1f4;
    backdrop-filter: blur(14px);
}

.header-inner {
    min-height: 92px;
}

.brand-image-link {
    flex: 0 1 auto;
}

.brand-lockup {
    display: block;
    width: min(440px, 52vw);
    max-height: 76px;
    object-fit: contain;
    object-position: left center;
}

.header-actions {
    gap: 10px;
}

.icon-button {
    width: 54px;
    height: 54px;
    background: #f0f5f8;
    color: #173753;
}

.icon-button svg {
    width: 27px;
    height: 27px;
    stroke-width: 1.9;
}

.lab-pill {
    padding: 9px 11px;
    border-radius: 12px;
    background: #173047;
    font-size: .72rem;
}

.main-content {
    padding-top: 18px;
}

.hero-image-banner {
    width: 100%;
    overflow: hidden;
    border-radius: 28px;
    background: #eaf8f5;
    box-shadow: 0 14px 34px rgba(15,42,67,.06);
}

.hero-image-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.lab-status-strip {
    display: grid;
    gap: 4px;
    margin-top: 13px;
    padding: 13px 16px;
    border: 1px solid #dcecf0;
    border-radius: 17px;
    background: rgba(247,252,253,.96);
    color: var(--ink-soft);
}

.lab-status-title {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--ink);
    font-size: .82rem;
}

.lab-status-meta {
    color: var(--teal-dark);
    font-size: .72rem;
    font-weight: 800;
}

.lab-status-strip p {
    margin: 2px 0 0;
    color: var(--muted);
    font-size: .69rem;
    line-height: 1.4;
}

.quick-filters {
    margin-top: 13px;
}

.filter-chip {
    min-height: 44px;
    padding-inline: 15px;
    background: #fff;
    font-weight: 800;
}

.filter-chip.active {
    background: #10aaa9;
}

.feed-section {
    padding-top: 18px;
}

.section-heading h2 {
    font-size: 1.9rem;
}

.offer-feed {
    max-width: 900px;
    margin-inline: auto;
}

.offer-card {
    border-radius: 25px;
    border-color: #eaf0f3;
    box-shadow: 0 13px 30px rgba(15,42,67,.08);
}

.animal-corner {
    overflow: hidden;
    padding: 0;
    background: white;
}

.animal-corner img {
    width: 100%;
    height: 100%;
    display: block;
    padding: 0;
    object-fit: cover;
    mix-blend-mode: normal;
}

.animal-chip {
    min-height: 30px;
    padding: 3px 9px 3px 5px;
}

.animal-chip-image {
    width: 26px;
    height: 26px;
    flex: 0 0 auto;
    border-radius: 50%;
    object-fit: cover;
}

.flying-pet {
    overflow: hidden;
    padding: 0;
    background: white;
}

.flying-pet img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

@media (min-width: 760px) {
    .header-inner {
        min-height: 104px;
    }

    .brand-lockup {
        width: 450px;
        max-height: 82px;
    }

    .hero-image-banner {
        border-radius: 30px;
    }

    .offer-feed {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1180px) {
    .offer-feed {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .shell {
        width: min(100% - 18px, 1120px);
    }

    .header-inner {
        min-height: 76px;
    }

    .brand-lockup {
        width: min(270px, 61vw);
        max-height: 62px;
    }

    .header-actions {
        gap: 6px;
    }

    .icon-button {
        width: 44px;
        height: 44px;
    }

    .icon-button svg {
        width: 22px;
        height: 22px;
    }

    .lab-pill {
        display: none;
    }

    .hero-image-banner {
        border-radius: 19px;
    }

    .section-heading h2 {
        font-size: 1.65rem;
    }

    .lab-status-strip {
        padding: 11px 13px;
    }
}


/* ==========================================================
   V2.1 visual fixes
   - slightly smaller hero banner
   - overlay pet icons without white circle
   - centered cat/dog launch animation
   ========================================================== */

.hero-image-banner {
    max-width: 1020px;
    margin-inline: auto;
}

.hero-image-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.animal-corner {
    width: 36px;
    height: 36px;
    right: 8px;
    bottom: 8px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.animal-corner img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(15, 42, 67, 0.16));
}

.animal-chip-image {
    width: 24px;
    height: 24px;
    border-radius: 0;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(15, 42, 67, 0.12));
}

.flying-pet {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.flying-pet img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 10px 20px rgba(15, 42, 67, 0.20));
}

@media (max-width: 560px) {
    .hero-image-banner {
        max-width: 100%;
    }

    .animal-corner {
        width: 34px;
        height: 34px;
    }

    .flying-pet {
        width: 54px;
        height: 54px;
    }
}

/* ŁapPromki public trust/navigation footer */
.site-footer {
    margin-top: 42px;
    padding: 26px 0 calc(var(--bottom-nav-height) + 24px);
    border-top: 1px solid var(--line);
    color: var(--ink-soft);
    background: rgba(255, 255, 255, 0.55);
}
.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 24px;
}
.footer-inner strong {
    color: var(--ink);
}
.footer-inner nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    font-size: 0.86rem;
}
.footer-inner a {
    color: inherit;
    text-decoration: none;
}
.footer-inner a:hover {
    text-decoration: underline;
}
.hero-banner h1 {
    margin: 8px 0 10px;
    font-size: clamp(1.7rem, 5vw, 2.45rem);
    line-height: 1.05;
}
.hero-banner p {
    margin: 0;
    max-width: 640px;
    color: var(--ink-soft);
    line-height: 1.55;
}


/* ==========================================================
   ŁapPromki FRONTEND V3
   Public home aligned with the richer LAB composition.
   No publication/business logic is changed here.
   ========================================================== */

.brand {
    gap: 11px;
}

.brand-mark {
    width: 52px;
    height: 48px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
}

.brand-mark svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.paw-toe {
    fill: #0c9894;
}

.paw-toe-2,
.paw-toe-4 {
    fill: #11aaa6;
}

.paw-tag {
    fill: #ff5d67;
    filter: drop-shadow(0 5px 8px rgba(15, 42, 67, 0.12));
}

.tag-hole {
    fill: #fffaf3;
}

.tag-spark {
    fill: none;
    stroke: white;
    stroke-width: 2.4;
    stroke-linecap: round;
}

.brand-copy-v3 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.brand-wordmark {
    display: flex;
    align-items: baseline;
    gap: 4px;
    line-height: 0.95;
}

.brand-copy-v3 .brand-kicker,
.brand-copy-v3 strong {
    font-family: "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
    font-size: 1.32rem;
    font-weight: 900;
    letter-spacing: -0.055em;
}

.brand-copy-v3 small {
    max-width: none;
    margin: 0;
    font-size: 0.61rem;
    font-weight: 720;
    letter-spacing: 0.01em;
}

.hero-banner-public {
    min-height: 205px;
}

.hero-pet-images {
    right: 8px;
    bottom: 14px;
    align-items: end;
    gap: 0;
    filter: none;
}

.hero-pet-images img {
    width: 76px;
    height: 76px;
    object-fit: contain;
    filter: drop-shadow(0 8px 12px rgba(15, 42, 67, 0.15));
}

.hero-pet-images img:last-child {
    width: 67px;
    height: 67px;
    margin-left: -18px;
    transform: translateY(7px);
}

.status-strip {
    display: grid;
    gap: 4px;
    margin-top: 13px;
    padding: 13px 16px;
    border: 1px solid #dcecf0;
    border-radius: 17px;
    background: rgba(247, 252, 253, 0.96);
    color: var(--ink-soft);
    box-shadow: 0 7px 20px rgba(15, 42, 67, 0.035);
}

.status-strip-title {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--ink);
    font-size: 0.82rem;
}

.status-strip-meta {
    color: var(--teal-dark);
    font-size: 0.72rem;
    font-weight: 850;
}

.status-strip p {
    margin: 2px 0 0;
    max-width: 800px;
    color: var(--muted);
    font-size: 0.69rem;
    line-height: 1.45;
}

.public-empty-state {
    max-width: 900px;
    margin-inline: auto;
    padding-block: 34px;
}

.empty-paw-mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin: 0 auto 4px;
    border-radius: 16px;
    background: linear-gradient(135deg, #e3f8f5, #fff0ed);
    font-size: 25px;
    transform: rotate(-5deg);
}

.empty-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px 18px;
    margin-top: 18px;
}

.compact-button {
    min-height: 42px;
    margin-top: 0;
    border-radius: 13px;
    background: var(--teal);
    color: white;
    font-size: 0.78rem;
    font-weight: 900;
}

.text-button {
    color: var(--teal-dark);
    font-size: 0.78rem;
    font-weight: 850;
    text-decoration: none;
}

.home-trust {
    padding: 4px 0 36px;
}

.trust-heading {
    margin-bottom: 14px;
}

.trust-grid {
    display: grid;
    gap: 12px;
}

.trust-card {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 9px 24px rgba(15, 42, 67, 0.045);
}

.trust-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    margin-bottom: 12px;
    border-radius: 13px;
    background: #e9f8f7;
    color: var(--teal-dark);
    font-size: 1rem;
    font-weight: 950;
}

.trust-card:nth-child(2) .trust-icon {
    background: #eef5ff;
    color: #3776a6;
}

.trust-card:nth-child(3) .trust-icon {
    background: #fff0ed;
    color: var(--coral-dark);
}

.trust-card strong {
    display: block;
    font-size: 0.94rem;
}

.trust-card p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.5;
}

@media (min-width: 760px) {
    .brand-mark {
        width: 58px;
        height: 52px;
    }

    .brand-copy-v3 .brand-kicker,
    .brand-copy-v3 strong {
        font-size: 1.48rem;
    }

    .hero-banner-public {
        min-height: 240px;
    }

    .hero-pet-images img {
        width: 112px;
        height: 112px;
    }

    .hero-pet-images img:last-child {
        width: 96px;
        height: 96px;
        margin-left: -25px;
    }

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

    .site-footer {
        padding-bottom: 30px;
    }
}

@media (max-width: 559px) {
    .brand-mark {
        width: 46px;
        height: 42px;
    }

    .brand-copy-v3 .brand-kicker,
    .brand-copy-v3 strong {
        font-size: 1.16rem;
    }

    .hero-pet-images img {
        width: 62px;
        height: 62px;
    }

    .hero-pet-images img:last-child {
        width: 55px;
        height: 55px;
        margin-left: -15px;
    }

    .hero-banner-public {
        min-height: 196px;
    }

    .status-strip {
        padding: 11px 13px;
    }
}

/* Legal/information pages: intentionally minimal, aligned with the approved V5 UI. */
.legal-page {
    padding-bottom: 34px;
}

.legal-section {
    max-width: 760px;
    margin: 0 0 24px;
}

.legal-section h2 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    line-height: 1.3;
}

.legal-section p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.62;
}

.legal-section a {
    color: var(--teal-dark);
    font-weight: 750;
}

.provider-data dl {
    margin: 0;
}

.provider-data dl > div {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.provider-data dt {
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.provider-data dd {
    margin: 4px 0 0;
    font-size: 0.92rem;
    line-height: 1.5;
}

.legal-setup-warning {
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}


/* ==========================================================
   PUBLIC READINESS: keyboard/accessibility essentials
   ========================================================== */

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.skip-link {
    position: fixed;
    z-index: 10000;
    top: 10px;
    left: 10px;
    transform: translateY(-160%);
    padding: 10px 14px;
    border-radius: 10px;
    background: #ffffff;
    color: #12313b;
    font-weight: 850;
    text-decoration: none;
    box-shadow: 0 6px 22px rgba(18, 49, 59, 0.18);
}

.skip-link:focus {
    transform: translateY(0);
}

:where(a, button, input, select, textarea, summary):focus-visible {
    outline: 3px solid var(--teal);
    outline-offset: 3px;
}

.search-page-form input:focus-visible,
.search-input-wrap input:focus-visible {
    outline: 3px solid var(--teal);
    outline-offset: 2px;
}

/* Home/mobile polish — 2026-10-03 */
.favorite-count[hidden] {
    display: none !important;
}

@media (max-width: 759px) {
    .site-footer {
        margin-top: 20px;
        padding: 16px 0 calc(var(--bottom-nav-height) + 6px);
    }

    .footer-inner {
        gap: 10px 18px;
    }

    .footer-inner nav {
        gap: 8px 14px;
        font-size: .78rem;
        line-height: 1.35;
    }
}
